@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>
2,060 lines • 97.3 kB
JavaScript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod/v3";
import { remap as remap$ } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
import * as types from "../types/primitives.js";
import { smartUnion } from "../types/smartUnion.js";
import { ThreeHundred$inboundSchema, ThreeHundredAndOne$inboundSchema, ThreeHundredAndThree$inboundSchema, ThreeHundredAndTwo$inboundSchema, TwoHundredAndEighty$inboundSchema, TwoHundredAndEightyEight$inboundSchema, TwoHundredAndEightyFive$inboundSchema, TwoHundredAndEightyFour$inboundSchema, TwoHundredAndEightyNine$inboundSchema, TwoHundredAndEightyOne$inboundSchema, TwoHundredAndEightySeven$inboundSchema, TwoHundredAndEightySix$inboundSchema, TwoHundredAndEightyThree$inboundSchema, TwoHundredAndEightyTwo$inboundSchema, TwoHundredAndFifty$inboundSchema, TwoHundredAndFiftyEight$inboundSchema, TwoHundredAndFiftyFive$inboundSchema, TwoHundredAndFiftyFour$inboundSchema, TwoHundredAndFiftyNine$inboundSchema, TwoHundredAndFiftyOne$inboundSchema, TwoHundredAndFiftySeven$inboundSchema, TwoHundredAndFiftySix$inboundSchema, TwoHundredAndFiftyThree$inboundSchema, TwoHundredAndFiftyTwo$inboundSchema, TwoHundredAndFortyEight$inboundSchema, TwoHundredAndFortyFive$inboundSchema, TwoHundredAndFortyNine$inboundSchema, TwoHundredAndFortySeven$inboundSchema, TwoHundredAndFortySix$inboundSchema, TwoHundredAndNinety$inboundSchema, TwoHundredAndNinetyEight$inboundSchema, TwoHundredAndNinetyFive$inboundSchema, TwoHundredAndNinetyFour$inboundSchema, TwoHundredAndNinetyNine$inboundSchema, TwoHundredAndNinetyOne$inboundSchema, TwoHundredAndNinetySeven$inboundSchema, TwoHundredAndNinetySix$inboundSchema, TwoHundredAndNinetyThree$inboundSchema, TwoHundredAndNinetyTwo$inboundSchema, TwoHundredAndSeventy$inboundSchema, TwoHundredAndSeventyEight$inboundSchema, TwoHundredAndSeventyFive$inboundSchema, TwoHundredAndSeventyFour$inboundSchema, TwoHundredAndSeventyNine$inboundSchema, TwoHundredAndSeventyOne$inboundSchema, TwoHundredAndSeventySeven$inboundSchema, TwoHundredAndSeventySix$inboundSchema, TwoHundredAndSeventyThree$inboundSchema, TwoHundredAndSeventyTwo$inboundSchema, TwoHundredAndSixty$inboundSchema, TwoHundredAndSixtyEight$inboundSchema, TwoHundredAndSixtyFive$inboundSchema, TwoHundredAndSixtyFour$inboundSchema, TwoHundredAndSixtyNine$inboundSchema, TwoHundredAndSixtyOne$inboundSchema, TwoHundredAndSixtySeven$inboundSchema, TwoHundredAndSixtySix$inboundSchema, TwoHundredAndSixtyThree$inboundSchema, TwoHundredAndSixtyTwo$inboundSchema, } from "./consent.js";
import { Eighty$inboundSchema, EightyEight$inboundSchema, EightyFive$inboundSchema, EightyFour$inboundSchema, EightyNine$inboundSchema, EightyOne$inboundSchema, EightySeven$inboundSchema, EightySix$inboundSchema, EightyThree$inboundSchema, EightyTwo$inboundSchema, FiftyEight$inboundSchema, FiftyNine$inboundSchema, FiftySeven$inboundSchema, FiftySix$inboundSchema, Ninety$inboundSchema, NinetyEight$inboundSchema, NinetyFive$inboundSchema, NinetyFour$inboundSchema, NinetyNine$inboundSchema, NinetyOne$inboundSchema, NinetySeven$inboundSchema, NinetySix$inboundSchema, NinetyThree$inboundSchema, NinetyTwo$inboundSchema, OneHundred$inboundSchema, OneHundredAndEight$inboundSchema, OneHundredAndFive$inboundSchema, OneHundredAndFour$inboundSchema, OneHundredAndNine$inboundSchema, OneHundredAndOne$inboundSchema, OneHundredAndSeven$inboundSchema, OneHundredAndSix$inboundSchema, OneHundredAndTen$inboundSchema, OneHundredAndThree$inboundSchema, OneHundredAndTwo$inboundSchema, Seventy$inboundSchema, SeventyEight$inboundSchema, SeventyFive$inboundSchema, SeventyFour$inboundSchema, SeventyNine$inboundSchema, SeventyOne$inboundSchema, SeventySeven$inboundSchema, SeventySix$inboundSchema, SeventyThree$inboundSchema, SeventyTwo$inboundSchema, Sixty$inboundSchema, SixtyEight$inboundSchema, SixtyFive$inboundSchema, SixtyFour$inboundSchema, SixtyNine$inboundSchema, SixtyOne$inboundSchema, SixtySeven$inboundSchema, SixtySix$inboundSchema, SixtyThree$inboundSchema, SixtyTwo$inboundSchema, } from "./fiftysix.js";
import { OneHundredAndEighteen$inboundSchema, OneHundredAndEleven$inboundSchema, OneHundredAndFifteen$inboundSchema, OneHundredAndFourteen$inboundSchema, OneHundredAndNineteen$inboundSchema, OneHundredAndSeventeen$inboundSchema, OneHundredAndSixteen$inboundSchema, OneHundredAndThirteen$inboundSchema, OneHundredAndThirty$inboundSchema, OneHundredAndThirtyEight$inboundSchema, OneHundredAndThirtyFive$inboundSchema, OneHundredAndThirtyFour$inboundSchema, OneHundredAndThirtyOne$inboundSchema, OneHundredAndThirtySeven$inboundSchema, OneHundredAndThirtySix$inboundSchema, OneHundredAndThirtyThree$inboundSchema, OneHundredAndThirtyTwo$inboundSchema, OneHundredAndTwelve$inboundSchema, OneHundredAndTwenty$inboundSchema, OneHundredAndTwentyEight$inboundSchema, OneHundredAndTwentyFive$inboundSchema, OneHundredAndTwentyFour$inboundSchema, OneHundredAndTwentyNine$inboundSchema, OneHundredAndTwentyOne$inboundSchema, OneHundredAndTwentySeven$inboundSchema, OneHundredAndTwentySix$inboundSchema, OneHundredAndTwentyThree$inboundSchema, OneHundredAndTwentyTwo$inboundSchema, } from "./onehundredandeleven.js";
import { OneHundredAndEighty$inboundSchema, OneHundredAndEightyEight$inboundSchema, OneHundredAndEightyFive$inboundSchema, OneHundredAndEightyFour$inboundSchema, OneHundredAndEightyNine$inboundSchema, OneHundredAndEightyOne$inboundSchema, OneHundredAndEightySeven$inboundSchema, OneHundredAndEightySix$inboundSchema, OneHundredAndEightyThree$inboundSchema, OneHundredAndEightyTwo$inboundSchema, OneHundredAndNinety$inboundSchema, OneHundredAndNinetyEight$inboundSchema, OneHundredAndNinetyFive$inboundSchema, OneHundredAndNinetyFour$inboundSchema, OneHundredAndNinetyNine$inboundSchema, OneHundredAndNinetyOne$inboundSchema, OneHundredAndNinetySeven$inboundSchema, OneHundredAndNinetySix$inboundSchema, OneHundredAndNinetyThree$inboundSchema, OneHundredAndNinetyTwo$inboundSchema, OneHundredAndSeventyEight$inboundSchema, OneHundredAndSeventyFive$inboundSchema, OneHundredAndSeventyNine$inboundSchema, OneHundredAndSeventySeven$inboundSchema, OneHundredAndSeventySix$inboundSchema, TwoHundred$inboundSchema, TwoHundredAndEight$inboundSchema, TwoHundredAndEighteen$inboundSchema, TwoHundredAndEleven$inboundSchema, TwoHundredAndFifteen$inboundSchema, TwoHundredAndFive$inboundSchema, TwoHundredAndForty$inboundSchema, TwoHundredAndFortyFour$inboundSchema, TwoHundredAndFortyOne$inboundSchema, TwoHundredAndFortyThree$inboundSchema, TwoHundredAndFortyTwo$inboundSchema, TwoHundredAndFour$inboundSchema, TwoHundredAndFourteen$inboundSchema, TwoHundredAndNine$inboundSchema, TwoHundredAndNineteen$inboundSchema, TwoHundredAndOne$inboundSchema, TwoHundredAndSeven$inboundSchema, TwoHundredAndSeventeen$inboundSchema, TwoHundredAndSix$inboundSchema, TwoHundredAndSixteen$inboundSchema, TwoHundredAndTen$inboundSchema, TwoHundredAndThirteen$inboundSchema, TwoHundredAndThirty$inboundSchema, TwoHundredAndThirtyEight$inboundSchema, TwoHundredAndThirtyFive$inboundSchema, TwoHundredAndThirtyFour$inboundSchema, TwoHundredAndThirtyNine$inboundSchema, TwoHundredAndThirtyOne$inboundSchema, TwoHundredAndThirtySeven$inboundSchema, TwoHundredAndThirtySix$inboundSchema, TwoHundredAndThirtyThree$inboundSchema, TwoHundredAndThirtyTwo$inboundSchema, TwoHundredAndThree$inboundSchema, TwoHundredAndTwelve$inboundSchema, TwoHundredAndTwenty$inboundSchema, TwoHundredAndTwentyEight$inboundSchema, TwoHundredAndTwentyFive$inboundSchema, TwoHundredAndTwentyFour$inboundSchema, TwoHundredAndTwentyNine$inboundSchema, TwoHundredAndTwentyOne$inboundSchema, TwoHundredAndTwentySeven$inboundSchema, TwoHundredAndTwentySix$inboundSchema, TwoHundredAndTwentyThree$inboundSchema, TwoHundredAndTwentyTwo$inboundSchema, TwoHundredAndTwo$inboundSchema, } from "./removedusers.js";
import { Categories$inboundSchema, Entities$inboundSchema, Principal$inboundSchema, ThreeHundredAndEight$inboundSchema, ThreeHundredAndEighteen$inboundSchema, ThreeHundredAndEleven$inboundSchema, ThreeHundredAndFifteen$inboundSchema, ThreeHundredAndFifty$inboundSchema, ThreeHundredAndFiftyFive$inboundSchema, ThreeHundredAndFiftyFour$inboundSchema, ThreeHundredAndFiftyOne$inboundSchema, ThreeHundredAndFiftySix$inboundSchema, ThreeHundredAndFiftyThree$inboundSchema, ThreeHundredAndFiftyTwo$inboundSchema, ThreeHundredAndFive$inboundSchema, ThreeHundredAndForty$inboundSchema, ThreeHundredAndFortyEight$inboundSchema, ThreeHundredAndFortyFive$inboundSchema, ThreeHundredAndFortyFour$inboundSchema, ThreeHundredAndFortyNine$inboundSchema, ThreeHundredAndFortyOne$inboundSchema, ThreeHundredAndFortySeven$inboundSchema, ThreeHundredAndFortySix$inboundSchema, ThreeHundredAndFortyThree$inboundSchema, ThreeHundredAndFortyTwo$inboundSchema, ThreeHundredAndFour$inboundSchema, ThreeHundredAndFourteen$inboundSchema, ThreeHundredAndNine$inboundSchema, ThreeHundredAndNineteen$inboundSchema, ThreeHundredAndSeven$inboundSchema, ThreeHundredAndSeventeen$inboundSchema, ThreeHundredAndSix$inboundSchema, ThreeHundredAndSixteen$inboundSchema, ThreeHundredAndTen$inboundSchema, ThreeHundredAndThirteen$inboundSchema, ThreeHundredAndThirty$inboundSchema, ThreeHundredAndThirtyEight$inboundSchema, ThreeHundredAndThirtyFive$inboundSchema, ThreeHundredAndThirtyFour$inboundSchema, ThreeHundredAndThirtyNine$inboundSchema, ThreeHundredAndThirtyOne$inboundSchema, ThreeHundredAndThirtySeven$inboundSchema, ThreeHundredAndThirtySix$inboundSchema, ThreeHundredAndThirtyThree$inboundSchema, ThreeHundredAndThirtyTwo$inboundSchema, ThreeHundredAndTwelve$inboundSchema, ThreeHundredAndTwenty$inboundSchema, ThreeHundredAndTwentyEight$inboundSchema, ThreeHundredAndTwentyFive$inboundSchema, ThreeHundredAndTwentyFour$inboundSchema, ThreeHundredAndTwentyNine$inboundSchema, ThreeHundredAndTwentyOne$inboundSchema, ThreeHundredAndTwentySeven$inboundSchema, ThreeHundredAndTwentySix$inboundSchema, ThreeHundredAndTwentyThree$inboundSchema, ThreeHundredAndTwentyTwo$inboundSchema, Type$inboundSchema, User$inboundSchema, Via$inboundSchema, } from "./threehundredandfour.js";
import { OneHundredAndFifty$inboundSchema, OneHundredAndFiftyEight$inboundSchema, OneHundredAndFiftyFive$inboundSchema, OneHundredAndFiftyFour$inboundSchema, OneHundredAndFiftyNine$inboundSchema, OneHundredAndFiftyOne$inboundSchema, OneHundredAndFiftySeven$inboundSchema, OneHundredAndFiftySix$inboundSchema, OneHundredAndFiftyThree$inboundSchema, OneHundredAndFiftyTwo$inboundSchema, OneHundredAndForty$inboundSchema, OneHundredAndFortyEight$inboundSchema, OneHundredAndFortyFive$inboundSchema, OneHundredAndFortyFour$inboundSchema, OneHundredAndFortyNine$inboundSchema, OneHundredAndFortyOne$inboundSchema, OneHundredAndFortySeven$inboundSchema, OneHundredAndFortySix$inboundSchema, OneHundredAndFortyThree$inboundSchema, OneHundredAndFortyTwo$inboundSchema, OneHundredAndSeventy$inboundSchema, OneHundredAndSeventyFour$inboundSchema, OneHundredAndSeventyOne$inboundSchema, OneHundredAndSeventyThree$inboundSchema, OneHundredAndSeventyTwo$inboundSchema, OneHundredAndSixty$inboundSchema, OneHundredAndSixtyEight$inboundSchema, OneHundredAndSixtyFive$inboundSchema, OneHundredAndSixtyFour$inboundSchema, OneHundredAndSixtyNine$inboundSchema, OneHundredAndSixtyOne$inboundSchema, OneHundredAndSixtySeven$inboundSchema, OneHundredAndSixtySix$inboundSchema, OneHundredAndSixtyThree$inboundSchema, OneHundredAndSixtyTwo$inboundSchema, OneHundredAndThirtyNine$inboundSchema, } from "./usereventpayload138type.js";
export const UserEventPayload55Action = {
Mutate: "mutate",
};
export const UserEventPayload54Action = {
ResumePlan: "resume_plan",
};
export const PayloadPlanSlug = {
V0Business: "v0_business",
V0Teams: "v0_teams",
};
export const UserEventPayload53Action = {
CancelPlan: "cancel_plan",
};
export const PlanSlug = {
V0Business: "v0_business",
V0Teams: "v0_teams",
};
export const PayloadReason = {
NonPayment: "non-payment",
};
export const SettlementMethod = {
CreditedPaid: "credited-paid",
CreditedPaymentPending: "credited-payment-pending",
RefundedPaid: "refunded-paid",
RefundedPaymentPending: "refunded-payment-pending",
};
export const UserEventPayload43Type = {
List: "list",
};
export const UserEventPayload43ResourcesType = {
String: "string",
};
export const PayloadPermissions = {
ReadWriteAiGatewayApiKey: "read-write:ai-gateway-api-key",
ReadWriteAiGatewayRules: "read-write:ai-gateway-rules",
ReadWriteAlerts: "read-write:alerts",
ReadWriteBilling: "read-write:billing",
ReadWriteBlob: "read-write:blob",
ReadWriteDeployment: "read-write:deployment",
ReadWriteDomain: "read-write:domain",
ReadWriteDomainRegistrar: "read-write:domain-registrar",
ReadWriteDrains: "read-write:drains",
ReadWriteEdgeCache: "read-write:edge-cache",
ReadWriteEdgeConfig: "read-write:edge-config",
ReadWriteIntegrationConfiguration: "read-write:integration-configuration",
ReadWriteIntegrationResource: "read-write:integration-resource",
ReadWriteKms: "read-write:kms",
ReadWriteProject: "read-write:project",
ReadWriteProjectEnvVars: "read-write:project-env-vars",
ReadWriteProjectEnvVarsNonProduction: "read-write:project-env-vars-non-production",
ReadWriteProjectEnvVarsProduction: "read-write:project-env-vars-production",
ReadWriteProjectFlagsNonProduction: "read-write:project-flags-non-production",
ReadWriteProjectFlagsProduction: "read-write:project-flags-production",
ReadWriteProjectProtectionBypass: "read-write:project-protection-bypass",
ReadWriteRemoteCache: "read-write:remote-cache",
ReadWriteSandbox: "read-write:sandbox",
ReadAccessGroup: "read:access-group",
ReadAiGatewayRules: "read:ai-gateway-rules",
ReadAlerts: "read:alerts",
ReadBilling: "read:billing",
ReadDeployment: "read:deployment",
ReadDomain: "read:domain",
ReadEvent: "read:event",
ReadIntegrationConfiguration: "read:integration-configuration",
ReadKms: "read:kms",
ReadMonitoring: "read:monitoring",
ReadProject: "read:project",
ReadProjectEnvVarsNonProduction: "read:project-env-vars-non-production",
ReadProjectEnvVarsProduction: "read:project-env-vars-production",
ReadSandbox: "read:sandbox",
ReadTeam: "read:team",
UseAiGateway: "use:ai-gateway",
};
export const UserEventPayload42Type = {
List: "list",
};
export const UserEventPayload42BeforeType = {
String: "string",
};
export const UserEventPayload42Permissions = {
ReadWriteAiGatewayApiKey: "read-write:ai-gateway-api-key",
ReadWriteAiGatewayRules: "read-write:ai-gateway-rules",
ReadWriteAlerts: "read-write:alerts",
ReadWriteBilling: "read-write:billing",
ReadWriteBlob: "read-write:blob",
ReadWriteDeployment: "read-write:deployment",
ReadWriteDomain: "read-write:domain",
ReadWriteDomainRegistrar: "read-write:domain-registrar",
ReadWriteDrains: "read-write:drains",
ReadWriteEdgeCache: "read-write:edge-cache",
ReadWriteEdgeConfig: "read-write:edge-config",
ReadWriteIntegrationConfiguration: "read-write:integration-configuration",
ReadWriteIntegrationResource: "read-write:integration-resource",
ReadWriteKms: "read-write:kms",
ReadWriteProject: "read-write:project",
ReadWriteProjectEnvVars: "read-write:project-env-vars",
ReadWriteProjectEnvVarsNonProduction: "read-write:project-env-vars-non-production",
ReadWriteProjectEnvVarsProduction: "read-write:project-env-vars-production",
ReadWriteProjectFlagsNonProduction: "read-write:project-flags-non-production",
ReadWriteProjectFlagsProduction: "read-write:project-flags-production",
ReadWriteProjectProtectionBypass: "read-write:project-protection-bypass",
ReadWriteRemoteCache: "read-write:remote-cache",
ReadWriteSandbox: "read-write:sandbox",
ReadAccessGroup: "read:access-group",
ReadAiGatewayRules: "read:ai-gateway-rules",
ReadAlerts: "read:alerts",
ReadBilling: "read:billing",
ReadDeployment: "read:deployment",
ReadDomain: "read:domain",
ReadEvent: "read:event",
ReadIntegrationConfiguration: "read:integration-configuration",
ReadKms: "read:kms",
ReadMonitoring: "read:monitoring",
ReadProject: "read:project",
ReadProjectEnvVarsNonProduction: "read:project-env-vars-non-production",
ReadProjectEnvVarsProduction: "read:project-env-vars-production",
ReadSandbox: "read:sandbox",
ReadTeam: "read:team",
UseAiGateway: "use:ai-gateway",
};
export const UserEventPayload42AfterType = {
List: "list",
};
export const UserEventPayload42AfterResourcesType = {
String: "string",
};
export const UserEventPayloadPermissions = {
ReadWriteAiGatewayApiKey: "read-write:ai-gateway-api-key",
ReadWriteAiGatewayRules: "read-write:ai-gateway-rules",
ReadWriteAlerts: "read-write:alerts",
ReadWriteBilling: "read-write:billing",
ReadWriteBlob: "read-write:blob",
ReadWriteDeployment: "read-write:deployment",
ReadWriteDomain: "read-write:domain",
ReadWriteDomainRegistrar: "read-write:domain-registrar",
ReadWriteDrains: "read-write:drains",
ReadWriteEdgeCache: "read-write:edge-cache",
ReadWriteEdgeConfig: "read-write:edge-config",
ReadWriteIntegrationConfiguration: "read-write:integration-configuration",
ReadWriteIntegrationResource: "read-write:integration-resource",
ReadWriteKms: "read-write:kms",
ReadWriteProject: "read-write:project",
ReadWriteProjectEnvVars: "read-write:project-env-vars",
ReadWriteProjectEnvVarsNonProduction: "read-write:project-env-vars-non-production",
ReadWriteProjectEnvVarsProduction: "read-write:project-env-vars-production",
ReadWriteProjectFlagsNonProduction: "read-write:project-flags-non-production",
ReadWriteProjectFlagsProduction: "read-write:project-flags-production",
ReadWriteProjectProtectionBypass: "read-write:project-protection-bypass",
ReadWriteRemoteCache: "read-write:remote-cache",
ReadWriteSandbox: "read-write:sandbox",
ReadAccessGroup: "read:access-group",
ReadAiGatewayRules: "read:ai-gateway-rules",
ReadAlerts: "read:alerts",
ReadBilling: "read:billing",
ReadDeployment: "read:deployment",
ReadDomain: "read:domain",
ReadEvent: "read:event",
ReadIntegrationConfiguration: "read:integration-configuration",
ReadKms: "read:kms",
ReadMonitoring: "read:monitoring",
ReadProject: "read:project",
ReadProjectEnvVarsNonProduction: "read:project-env-vars-non-production",
ReadProjectEnvVarsProduction: "read:project-env-vars-production",
ReadSandbox: "read:sandbox",
ReadTeam: "read:team",
UseAiGateway: "use:ai-gateway",
};
export const NextScopes = {
Email: "email",
OfflineAccess: "offline_access",
Openid: "openid",
Profile: "profile",
};
export const NextPermissions = {
Wildcard: "*",
ReadWriteAiGatewayApiKey: "read-write:ai-gateway-api-key",
ReadWriteAiGatewayRules: "read-write:ai-gateway-rules",
ReadWriteAlerts: "read-write:alerts",
ReadWriteBilling: "read-write:billing",
ReadWriteBlob: "read-write:blob",
ReadWriteDeployment: "read-write:deployment",
ReadWriteDomain: "read-write:domain",
ReadWriteDomainRegistrar: "read-write:domain-registrar",
ReadWriteDrains: "read-write:drains",
ReadWriteEdgeCache: "read-write:edge-cache",
ReadWriteEdgeConfig: "read-write:edge-config",
ReadWriteIntegrationConfiguration: "read-write:integration-configuration",
ReadWriteIntegrationResource: "read-write:integration-resource",
ReadWriteKms: "read-write:kms",
ReadWriteProject: "read-write:project",
ReadWriteProjectEnvVars: "read-write:project-env-vars",
ReadWriteProjectEnvVarsNonProduction: "read-write:project-env-vars-non-production",
ReadWriteProjectEnvVarsProduction: "read-write:project-env-vars-production",
ReadWriteProjectFlagsNonProduction: "read-write:project-flags-non-production",
ReadWriteProjectFlagsProduction: "read-write:project-flags-production",
ReadWriteProjectProtectionBypass: "read-write:project-protection-bypass",
ReadWriteRemoteCache: "read-write:remote-cache",
ReadWriteSandbox: "read-write:sandbox",
ReadAccessGroup: "read:access-group",
ReadAiGatewayRules: "read:ai-gateway-rules",
ReadAlerts: "read:alerts",
ReadBilling: "read:billing",
ReadDeployment: "read:deployment",
ReadDomain: "read:domain",
ReadEvent: "read:event",
ReadIntegrationConfiguration: "read:integration-configuration",
ReadKms: "read:kms",
ReadMonitoring: "read:monitoring",
ReadProject: "read:project",
ReadProjectEnvVarsNonProduction: "read:project-env-vars-non-production",
ReadProjectEnvVarsProduction: "read:project-env-vars-production",
ReadSandbox: "read:sandbox",
ReadTeam: "read:team",
ReadUser: "read:user",
UseAiGateway: "use:ai-gateway",
};
export const PayloadScopes = {
Email: "email",
OfflineAccess: "offline_access",
Openid: "openid",
Profile: "profile",
};
export const Permissions = {
Wildcard: "*",
ReadWriteAiGatewayApiKey: "read-write:ai-gateway-api-key",
ReadWriteAiGatewayRules: "read-write:ai-gateway-rules",
ReadWriteAlerts: "read-write:alerts",
ReadWriteBilling: "read-write:billing",
ReadWriteBlob: "read-write:blob",
ReadWriteDeployment: "read-write:deployment",
ReadWriteDomain: "read-write:domain",
ReadWriteDomainRegistrar: "read-write:domain-registrar",
ReadWriteDrains: "read-write:drains",
ReadWriteEdgeCache: "read-write:edge-cache",
ReadWriteEdgeConfig: "read-write:edge-config",
ReadWriteIntegrationConfiguration: "read-write:integration-configuration",
ReadWriteIntegrationResource: "read-write:integration-resource",
ReadWriteKms: "read-write:kms",
ReadWriteProject: "read-write:project",
ReadWriteProjectEnvVars: "read-write:project-env-vars",
ReadWriteProjectEnvVarsNonProduction: "read-write:project-env-vars-non-production",
ReadWriteProjectEnvVarsProduction: "read-write:project-env-vars-production",
ReadWriteProjectFlagsNonProduction: "read-write:project-flags-non-production",
ReadWriteProjectFlagsProduction: "read-write:project-flags-production",
ReadWriteProjectProtectionBypass: "read-write:project-protection-bypass",
ReadWriteRemoteCache: "read-write:remote-cache",
ReadWriteSandbox: "read-write:sandbox",
ReadAccessGroup: "read:access-group",
ReadAiGatewayRules: "read:ai-gateway-rules",
ReadAlerts: "read:alerts",
ReadBilling: "read:billing",
ReadDeployment: "read:deployment",
ReadDomain: "read:domain",
ReadEvent: "read:event",
ReadIntegrationConfiguration: "read:integration-configuration",
ReadKms: "read:kms",
ReadMonitoring: "read:monitoring",
ReadProject: "read:project",
ReadProjectEnvVarsNonProduction: "read:project-env-vars-non-production",
ReadProjectEnvVarsProduction: "read:project-env-vars-production",
ReadSandbox: "read:sandbox",
ReadTeam: "read:team",
ReadUser: "read:user",
UseAiGateway: "use:ai-gateway",
};
export const UserEventPayload35Action = {
Created: "created",
Removed: "removed",
};
/**
* A narrowed subset of the deployment's `readyStateReasonInternal` — only values in the public allowlist are permitted here. Callers should run their raw reason through `toAllowListedReadyStateReasonInternal` from `@api/events` before assigning. This keeps abuse / moderation / admin reasons out of the public activity log.
*/
export const PayloadAllowListedReadyStateReasonInternal = {
EarlyIgnoreStep: "EARLY_IGNORE_STEP",
IgnoreStep: "IGNORE_STEP",
NamespacePruned: "NAMESPACE_PRUNED",
UnaffectedProject: "UNAFFECTED_PROJECT",
UnverifiedCommit: "UNVERIFIED_COMMIT",
};
/**
* A narrowed subset of the deployment's `readyStateReasonInternal` — only values in the public allowlist are permitted here. Callers should run their raw reason through `toAllowListedReadyStateReasonInternal` from `@api/events` before assigning. This keeps abuse / moderation / admin reasons out of the public activity log.
*/
export const AllowListedReadyStateReasonInternal = {
EarlyIgnoreStep: "EARLY_IGNORE_STEP",
IgnoreStep: "IGNORE_STEP",
NamespacePruned: "NAMESPACE_PRUNED",
UnaffectedProject: "UNAFFECTED_PROJECT",
UnverifiedCommit: "UNVERIFIED_COMMIT",
};
export const NextRole = {
Admin: "ADMIN",
ProjectDeveloper: "PROJECT_DEVELOPER",
ProjectGuest: "PROJECT_GUEST",
ProjectViewer: "PROJECT_VIEWER",
};
export const PreviousRole = {
Admin: "ADMIN",
ProjectDeveloper: "PROJECT_DEVELOPER",
ProjectGuest: "PROJECT_GUEST",
ProjectViewer: "PROJECT_VIEWER",
};
export const PayloadRefreshPeriod = {
Daily: "daily",
Monthly: "monthly",
None: "none",
Weekly: "weekly",
};
export const Change = {
Disable: "disable",
Enable: "enable",
Remove: "remove",
Set: "set",
};
export const RefreshPeriod = {
Daily: "daily",
Monthly: "monthly",
None: "none",
Weekly: "weekly",
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayload10Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
};
export const FromPlan = {
Hobby: "hobby",
Pro: "pro",
};
export const ToPlan = {
Hobby: "hobby",
Pro: "pro",
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayload9Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayload8Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayloadProvider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const PayloadProvider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
};
export const UserEventPayloadAction = {
Read: "read",
};
export const PayloadAction = {
Added: "added",
Deleted: "deleted",
Rotated: "rotated",
};
export const Action = {
Archived: "archived",
Created: "created",
Deleted: "deleted",
Unarchived: "unarchived",
Updated: "updated",
};
/** @internal */
export const UserEventPayload55Action$inboundSchema = z.nativeEnum(UserEventPayload55Action);
/** @internal */
export const FiftyFive$inboundSchema = z.object({
subscriptionId: types.optional(types.string()),
action: UserEventPayload55Action$inboundSchema,
data: z.record(z.any()),
});
export function fiftyFiveFromJSON(jsonString) {
return safeParse(jsonString, (x) => FiftyFive$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FiftyFive' from JSON`);
}
/** @internal */
export const UserEventPayload54Action$inboundSchema = z.nativeEnum(UserEventPayload54Action);
/** @internal */
export const PayloadPlanSlug$inboundSchema = z.nativeEnum(PayloadPlanSlug);
/** @internal */
export const PayloadData$inboundSchema = z.object({
planSlug: PayloadPlanSlug$inboundSchema,
});
export function payloadDataFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadData' from JSON`);
}
/** @internal */
export const FiftyFour$inboundSchema = z.object({
subscriptionId: types.optional(types.string()),
action: UserEventPayload54Action$inboundSchema,
data: z.lazy(() => PayloadData$inboundSchema),
});
export function fiftyFourFromJSON(jsonString) {
return safeParse(jsonString, (x) => FiftyFour$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FiftyFour' from JSON`);
}
/** @internal */
export const UserEventPayload53Action$inboundSchema = z.nativeEnum(UserEventPayload53Action);
/** @internal */
export const PlanSlug$inboundSchema = z
.nativeEnum(PlanSlug);
/** @internal */
export const PayloadReason$inboundSchema = z.nativeEnum(PayloadReason);
/** @internal */
export const UserEventPayloadData$inboundSchema = z.object({
planSlug: PlanSlug$inboundSchema,
reason: types.optional(PayloadReason$inboundSchema),
});
export function userEventPayloadDataFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayloadData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayloadData' from JSON`);
}
/** @internal */
export const FiftyThree$inboundSchema = z.object({
subscriptionId: types.optional(types.string()),
action: UserEventPayload53Action$inboundSchema,
data: z.lazy(() => UserEventPayloadData$inboundSchema),
});
export function fiftyThreeFromJSON(jsonString) {
return safeParse(jsonString, (x) => FiftyThree$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FiftyThree' from JSON`);
}
/** @internal */
export const FiftyTwo$inboundSchema = z.object({
subscriptionId: types.optional(types.string()),
planSlug: types.string(),
});
export function fiftyTwoFromJSON(jsonString) {
return safeParse(jsonString, (x) => FiftyTwo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FiftyTwo' from JSON`);
}
/** @internal */
export const FiftyOne$inboundSchema = z.object({
paymentMethodId: types.string(),
brand: types.optional(types.string()),
last4: types.optional(types.string()),
});
export function fiftyOneFromJSON(jsonString) {
return safeParse(jsonString, (x) => FiftyOne$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FiftyOne' from JSON`);
}
/** @internal */
export const SettlementMethod$inboundSchema = z.nativeEnum(SettlementMethod);
/** @internal */
export const Fifty$inboundSchema = z
.object({
invoiceId: types.string(),
newInvoiceId: types.string(),
settlementMethod: SettlementMethod$inboundSchema,
amount: types.number(),
});
export function fiftyFromJSON(jsonString) {
return safeParse(jsonString, (x) => Fifty$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Fifty' from JSON`);
}
/** @internal */
export const FortyNine$inboundSchema = z.object({
invoiceId: types.string(),
amount: types.number(),
refundReason: types.string(),
lineItemCount: types.number(),
});
export function fortyNineFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortyNine$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortyNine' from JSON`);
}
/** @internal */
export const FortyEight$inboundSchema = z.object({
avatar: types.optional(types.string()),
});
export function fortyEightFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortyEight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortyEight' from JSON`);
}
/** @internal */
export const FortySeven$inboundSchema = z.object({
projectId: types.optional(types.string()),
projectName: types.string(),
autoExposeSystemEnvs: types.boolean(),
});
export function fortySevenFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortySeven$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortySeven' from JSON`);
}
/** @internal */
export const FortySix$inboundSchema = z.object({
projectId: types.string(),
prevAttackModeEnabled: types.optional(types.boolean()),
prevAttackModeActiveUntil: z.nullable(types.number()).optional(),
attackModeEnabled: types.boolean(),
attackModeActiveUntil: z.nullable(types.number()).optional(),
});
export function fortySixFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortySix$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortySix' from JSON`);
}
/** @internal */
export const App$inboundSchema = z
.object({
id: types.string(),
name: types.string(),
});
export function appFromJSON(jsonString) {
return safeParse(jsonString, (x) => App$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'App' from JSON`);
}
/** @internal */
export const FortyFive$inboundSchema = z.object({
appName: types.string(),
appId: types.optional(types.string()),
app: types.optional(z.lazy(() => App$inboundSchema)),
issuedBefore: types.optional(types.number()),
});
export function fortyFiveFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortyFive$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortyFive' from JSON`);
}
/** @internal */
export const FortyFour$inboundSchema = z.object({
appName: types.string(),
appId: types.optional(types.string()),
secretLastFourChars: types.optional(types.string()),
});
export function fortyFourFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortyFour$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortyFour' from JSON`);
}
/** @internal */
export const UserEventPayload43Type$inboundSchema = z.nativeEnum(UserEventPayload43Type);
/** @internal */
export const UserEventPayload43ResourcesType$inboundSchema = z.nativeEnum(UserEventPayload43ResourcesType);
/** @internal */
export const Items$inboundSchema = z
.object({
type: UserEventPayload43ResourcesType$inboundSchema,
});
export function itemsFromJSON(jsonString) {
return safeParse(jsonString, (x) => Items$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Items' from JSON`);
}
/** @internal */
export const PayloadProjectIds$inboundSchema = z.object({
type: UserEventPayload43Type$inboundSchema,
required: types.literal(true),
items: z.lazy(() => Items$inboundSchema),
});
export function payloadProjectIdsFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadProjectIds$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadProjectIds' from JSON`);
}
/** @internal */
export const Resources$inboundSchema = z.object({
projectIds: z.lazy(() => PayloadProjectIds$inboundSchema),
});
export function resourcesFromJSON(jsonString) {
return safeParse(jsonString, (x) => Resources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Resources' from JSON`);
}
/** @internal */
export const PayloadPermissions$inboundSchema = z.nativeEnum(PayloadPermissions);
/** @internal */
export const FortyThree$inboundSchema = z.object({
appName: types.string(),
appId: types.optional(types.string()),
resources: types.optional(z.lazy(() => Resources$inboundSchema)),
permissions: types.optional(z.array(PayloadPermissions$inboundSchema)),
});
export function fortyThreeFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortyThree$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortyThree' from JSON`);
}
/** @internal */
export const UserEventPayload42Type$inboundSchema = z.nativeEnum(UserEventPayload42Type);
/** @internal */
export const UserEventPayload42BeforeType$inboundSchema = z.nativeEnum(UserEventPayload42BeforeType);
/** @internal */
export const UserEventPayloadItems$inboundSchema = z.object({
type: UserEventPayload42BeforeType$inboundSchema,
});
export function userEventPayloadItemsFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayloadItems$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayloadItems' from JSON`);
}
/** @internal */
export const UserEventPayloadProjectIds$inboundSchema = z.object({
type: UserEventPayload42Type$inboundSchema,
required: types.literal(true),
items: z.lazy(() => UserEventPayloadItems$inboundSchema),
});
export function userEventPayloadProjectIdsFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayloadProjectIds$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayloadProjectIds' from JSON`);
}
/** @internal */
export const UserEventPayloadResources$inboundSchema = z.object({
projectIds: z.lazy(() => UserEventPayloadProjectIds$inboundSchema),
});
export function userEventPayloadResourcesFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayloadResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayloadResources' from JSON`);
}
/** @internal */
export const UserEventPayload42Permissions$inboundSchema = z.nativeEnum(UserEventPayload42Permissions);
/** @internal */
export const Before$inboundSchema = z
.object({
resources: types.optional(z.lazy(() => UserEventPayloadResources$inboundSchema)),
permissions: types.optional(z.array(UserEventPayload42Permissions$inboundSchema)),
});
export function beforeFromJSON(jsonString) {
return safeParse(jsonString, (x) => Before$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Before' from JSON`);
}
/** @internal */
export const UserEventPayload42AfterType$inboundSchema = z.nativeEnum(UserEventPayload42AfterType);
/** @internal */
export const UserEventPayload42AfterResourcesType$inboundSchema = z.nativeEnum(UserEventPayload42AfterResourcesType);
/** @internal */
export const PayloadItems$inboundSchema = z.object({
type: UserEventPayload42AfterResourcesType$inboundSchema,
});
export function payloadItemsFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadItems$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadItems' from JSON`);
}
/** @internal */
export const UserEventPayload42ProjectIds$inboundSchema = z.object({
type: UserEventPayload42AfterType$inboundSchema,
required: types.literal(true),
items: z.lazy(() => PayloadItems$inboundSchema),
});
export function userEventPayload42ProjectIdsFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayload42ProjectIds$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayload42ProjectIds' from JSON`);
}
/** @internal */
export const PayloadResources$inboundSchema = z.object({
projectIds: z.lazy(() => UserEventPayload42ProjectIds$inboundSchema),
});
export function payloadResourcesFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadResources' from JSON`);
}
/** @internal */
export const UserEventPayloadPermissions$inboundSchema = z.nativeEnum(UserEventPayloadPermissions);
/** @internal */
export const After$inboundSchema = z
.object({
resources: types.optional(z.lazy(() => PayloadResources$inboundSchema)),
permissions: types.optional(z.array(UserEventPayloadPermissions$inboundSchema)),
});
export function afterFromJSON(jsonString) {
return safeParse(jsonString, (x) => After$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'After' from JSON`);
}
/** @internal */
export const FortyTwo$inboundSchema = z.object({
appName: types.string(),
appId: types.optional(types.string()),
installationId: types.optional(types.string()),
before: types.optional(z.lazy(() => Before$inboundSchema)),
after: types.optional(z.lazy(() => After$inboundSchema)),
});
export function fortyTwoFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortyTwo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortyTwo' from JSON`);
}
/** @internal */
export const NextScopes$inboundSchema = z
.nativeEnum(NextScopes);
/** @internal */
export const NextPermissions$inboundSchema = z.nativeEnum(NextPermissions);
/** @internal */
export const FortyOne$inboundSchema = z.object({
appName: types.string(),
appId: types.optional(types.string()),
nextScopes: z.array(NextScopes$inboundSchema),
nextPermissions: types.optional(z.array(NextPermissions$inboundSchema)),
});
export function fortyOneFromJSON(jsonString) {
return safeParse(jsonString, (x) => FortyOne$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FortyOne' from JSON`);
}
/** @internal */
export const Forty$inboundSchema = z
.object({
appName: types.string(),
appId: types.optional(types.string()),
});
export function fortyFromJSON(jsonString) {
return safeParse(jsonString, (x) => Forty$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Forty' from JSON`);
}
/** @internal */
export const PayloadScopes$inboundSchema = z.nativeEnum(PayloadScopes);
/** @internal */
export const Permissions$inboundSchema = z
.nativeEnum(Permissions);
/** @internal */
export const ThirtyNine$inboundSchema = z.object({
appName: types.string(),
appId: types.optional(types.string()),
scopes: z.array(PayloadScopes$inboundSchema),
permissions: types.optional(z.array(Permissions$inboundSchema)),
});
export function thirtyNineFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtyNine$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyNine' from JSON`);
}
/** @internal */
export const ThirtyEight$inboundSchema = z.object({
alias: types.optional(types.string()),
aliasId: types.optional(types.string()),
userId: types.optional(types.string()),
username: types.optional(types.string()),
});
export function thirtyEightFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtyEight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyEight' from JSON`);
}
/** @internal */
export const ThirtySeven$inboundSchema = z.object({
alias: types.optional(types.string()),
userId: types.optional(types.string()),
username: types.optional(types.string()),
});
export function thirtySevenFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtySeven$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtySeven' from JSON`);
}
/** @internal */
export const ThirtySix$inboundSchema = z.object({
alias: types.string(),
deploymentUrl: types.string(),
});
export function thirtySixFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtySix$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtySix' from JSON`);
}
/** @internal */
export const UserEventPayload35Action$inboundSchema = z.nativeEnum(UserEventPayload35Action);
/** @internal */
export const ThirtyFive$inboundSchema = z.object({
projectId: types.optional(types.string()),
projectName: types.string(),
alias: types.string(),
action: UserEventPayload35Action$inboundSchema,
});
export function thirtyFiveFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtyFive$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyFive' from JSON`);
}
/** @internal */
export const ThirtyFour$inboundSchema = z.object({
aliasId: types.optional(types.string()),
alias: types.optional(types.string()),
projectId: types.optional(types.string()),
projectName: types.optional(types.string()),
});
export function thirtyFourFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtyFour$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyFour' from JSON`);
}
/** @internal */
export const ThirtyThree$inboundSchema = z.object({
alias: types.optional(types.string()),
email: types.optional(types.string()),
});
export function thirtyThreeFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtyThree$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyThree' from JSON`);
}
/** @internal */
export const ThirtyTwo$inboundSchema = z.object({
alias: types.optional(types.string()),
});
export function thirtyTwoFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtyTwo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyTwo' from JSON`);
}
/** @internal */
export const ThirtyOne$inboundSchema = z.object({
alias: types.optional(types.string()),
email: types.optional(types.string()),
username: types.optional(types.string()),
});
export function thirtyOneFromJSON(jsonString) {
return safeParse(jsonString, (x) => ThirtyOne$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyOne' from JSON`);
}
/** @internal */
export const Thirty$inboundSchema = z
.object({
name: types.optional(types.string()),
alias: types.string(),
aliasId: types.string(),
deploymentId: types.nullable(types.string()),
});
export function thirtyFromJSON(jsonString) {
return safeParse(jsonString, (x) => Thirty$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Thirty' from JSON`);
}
/** @internal */
export const OldTeam$inboundSchema = z.object({
name: types.string(),
});
export function oldTeamFromJSON(jsonString) {
return safeParse(jsonString, (x) => OldTeam$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OldTeam' from JSON`);
}
/** @internal */
export const NewTeam$inboundSchema = z.object({
name: types.string(),
});
export function newTeamFromJSON(jsonString) {
return safeParse(jsonString, (x) => NewTeam$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NewTeam' from JSON`);
}
/** @internal */
export const TwentyNine$inboundSchema = z.object({
name: types.optional(types.string()),
alias: types.string(),
oldTeam: types.optional(z.lazy(() => OldTeam$inboundSchema)),
newTeam: types.optional(z.lazy(() => NewTeam$inboundSchema)),
});
export function twentyNineFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentyNine$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyNine' from JSON`);
}
/** @internal */
export const PayloadAllowListedReadyStateReasonInternal$inboundSchema = z
.nativeEnum(PayloadAllowListedReadyStateReasonInternal);
/** @internal */
export const PayloadDeployment$inboundSchema = z.object({
id: types.string(),
name: types.string(),
url: types.string(),
meta: z.record(types.string()),
readyState: types.optional(types.string()),
allowListedReadyStateReasonInternal: types.optional(PayloadAllowListedReadyStateReasonInternal$inboundSchema),
});
export function payloadDeploymentFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadDeployment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadDeployment' from JSON`);
}
/** @internal */
export const TwentyEight$inboundSchema = z.object({
projectId: types.string(),
aliasCount: types.number(),
deployment: z.nullable(z.lazy(() => PayloadDeployment$inboundSchema))
.optional(),
});
export function twentyEightFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentyEight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyEight' from JSON`);
}
/** @internal */
export const AllowListedReadyStateReasonInternal$inboundSchema = z.nativeEnum(AllowListedReadyStateReasonInternal);
/** @internal */
export const Deployment$inboundSchema = z.object({
id: types.string(),
name: types.string(),
url: types.string(),
meta: z.record(types.string()),
readyState: types.optional(types.string()),
allowListedReadyStateReasonInternal: types.optional(AllowListedReadyStateReasonInternal$inboundSchema),
});
export function deploymentFromJSON(jsonString) {
return safeParse(jsonString, (x) => Deployment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Deployment' from JSON`);
}
/** @internal */
export const TwentySeven$inboundSchema = z.object({
alias: types.optional(types.string()),
deployment: z.nullable(z.lazy(() => Deployment$inboundSchema)).optional(),
ruleCount: types.optional(types.number()),
deploymentUrl: types.optional(types.string()),
aliasId: types.optional(types.string()),
deploymentId: z.nullable(types.string()).optional(),
oldDeploymentId: z.nullable(types.string()).optional(),
redirect: types.optional(types.string()),
redirectStatusCode: z.nullable(types.number()).optional(),
target: z.nullable(types.string()).optional(),
system: types.optional(types.boolean()),
aliasUpdatedAt: types.optional(types.number()),
});
export function twentySevenFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentySeven$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentySeven' from JSON`);
}
/** @internal */
export const TwentySix$inboundSchema = z.object({
price: types.optional(types.number()),
currency: types.optional(types.string()),
});
export function twentySixFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentySix$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentySix' from JSON`);
}
/** @internal */
export const UserEventPayload25AccessGroup$inboundSchema = z.object({
id: types.string(),
name: types.optional(types.string()),
});
export function userEventPayload25AccessGroupFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayload25AccessGroup$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayload25AccessGroup' from JSON`);
}
/** @internal */
export const PayloadUser$inboundSchema = z.object({
id: types.string(),
username: types.optional(types.string()),
});
export function payloadUserFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadUser$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadUser' from JSON`);
}
/** @internal */
export const TwentyFive$inboundSchema = z.object({
accessGroup: z.lazy(() => UserEventPayload25AccessGroup$inboundSchema),
user: z.lazy(() => PayloadUser$inboundSchema),
directoryType: types.optional(types.string()),
});
export function twentyFiveFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentyFive$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyFive' from JSON`);
}
/** @internal */
export const UserEventPayload24AccessGroup$inboundSchema = z.object({
id: types.string(),
name: types.string(),
});
export function userEventPayload24AccessGroupFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayload24AccessGroup$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayload24AccessGroup' from JSON`);
}
/** @internal */
export const TwentyFour$inboundSchema = z.object({
accessGroup: z.lazy(() => UserEventPayload24AccessGroup$inboundSchema),
name: types.optional(types.string()),
previousName: types.optional(types.string()),
teamRoles: types.optional(z.array(types.string())),
previousTeamRoles: types.optional(z.array(types.string())),
teamPermissions: types.optional(z.array(types.string())),
previousTeamPermissions: types.optional(z.array(types.string())),
entitlementsAdded: types.optional(z.array(types.string())),
entitlementsRemoved: types.optional(z.array(types.string())),
});
export function twentyFourFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentyFour$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyFour' from JSON`);
}
/** @internal */
export const UserEventPayloadAccessGroup$inboundSchema = z.object({
id: types.string(),
name: types.string(),
});
export function userEventPayloadAccessGroupFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayloadAccessGroup$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayloadAccessGroup' from JSON`);
}
/** @internal */
export const Project$inboundSchema = z.object({
id: types.string(),
name: types.optional(types.string()),
});
export function projectFromJSON(jsonString) {
return safeParse(jsonString, (x) => Project$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Project' from JSON`);
}
/** @internal */
export const NextRole$inboundSchema = z
.nativeEnum(NextRole);
/** @internal */
export const PreviousRole$inboundSchema = z.nativeEnum(PreviousRole);
/** @internal */
export const TwentyThree$inboundSchema = z.object({
accessGroup: z.lazy(() => UserEventPayloadAccessGroup$inboundSchema),
project: z.lazy(() => Project$inboundSchema),
next_role: z.nullable(NextRole$inboundSchema).optional(),
previous_role: types.optional(PreviousRole$inboundSchema),
}).transform((v) => {
return remap$(v, {
"next_role": "nextRole",
"previous_role": "previousRole",
});
});
export function twentyThreeFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentyThree$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyThree' from JSON`);
}
/** @internal */
export const PayloadAccessGroup$inboundSchema = z.object({
id: types.string(),
name: types.string(),
});
export function payloadAccessGroupFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadAccessGroup$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadAccessGroup' from JSON`);
}
/** @internal */
export const TwentyTwo$inboundSchema = z.object({
author: types.string(),
accessGroup: z.lazy(() => PayloadAccessGroup$inboundSchema),
});
export function twentyTwoFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentyTwo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyTwo' from JSON`);
}
/** @internal */
export const AccessGroup$inboundSchema = z.object({
id: types.string(),
name: types.string(),
});
export function accessGroupFromJSON(jsonString) {
return safeParse(jsonString, (x) => AccessGroup$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccessGroup' from JSON`);
}
/** @internal */
export const TwentyOne$inboundSchema = z.object({
accessGroup: z.lazy(() => AccessGroup$inboundSchema),
teamRoles: types.optional(z.array(types.string())),
teamPermissions: types.optional(z.array(types.string())),
entitlements: types.optional(z.array(types.string())),
});
export function twentyOneFromJSON(jsonString) {
return safeParse(jsonString, (x) => TwentyOne$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyOne' from JSON`);
}
/** @internal */
export const VirtualModelConfig$inboundSchema = z.object({
id: types.string(),
displayName: types.optional(types.string()),
modelSlug: types.string(),
});
export function virtualModelConfigFromJSON(jsonString) {
return safeParse(jsonString, (x) => VirtualModelConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VirtualModelConfig' from JSON`);
}
/** @internal */
export const Twenty$inboundSchema = z
.object({
virtualModelConfig: z.lazy(() => VirtualModelConfig$inboundSchema),
});
export function twentyFromJSON(jsonString) {
return safeParse(jsonString, (x) => Twenty$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Twenty' from JSON`);
}
/** @internal */
export const UserEventPayloadRule$inboundSchema = z.object({
id: types.string(),
type: types.string(),
model: types.optional(types.string()),
});
export function userEventPayloadRuleFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayloadRule$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayloadRule' from JSON`);
}
/** @internal */
export const Nineteen$inboundSchema = z.object({
rule: z.lazy(() => UserEventPayloadRule$inboundSchema),
enabled: types.optional(types.boolean()),
});
export function nineteenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Nineteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Nineteen' from JSON`);
}
/** @internal */
export const PayloadRule$inboundSchema = z.object({
id: types.string(),
type: types.string(),
model: types.optional(types.string()),
});
export function payloadRuleFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadRule$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadRule' from JSON`);
}
/** @internal */
export const Eighteen$inboundSchema = z.object({
rule: z.lazy(() => PayloadRule$inboundSchema),
});
export function eighteenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Eighteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Eighteen' from JSON`);
}
/** @internal */
export const Rule$inboundSchema = z
.object({
id: types.string(),
type: types.string(),
model: types.optional(types.string()),
rewriteModel: types.optional(types.string()),
});
export function ruleFromJSON(jsonString) {
return safeParse(jsonString, (x) => Rule$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Rule' from JSON`);
}
/** @internal */
export const Seventeen$inboundSchema = z.object({
rule: z.lazy(() => Rule$inboundSchema),
});
export function seventeenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Seventeen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Seventeen' from JSON`);
}
/** @internal */
export const Sixteen$inboundSchema = z.object({
added: z.array(types.string()),
removed: z.array(types.string()),
});
export function sixteenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Sixteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Sixteen' from JSON`);
}
/** @internal */
export const Fifteen$inboundSchema = z.object({
enabled: types.boolean(),
});
export function fifteenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Fifteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Fifteen' from JSON`);
}
/** @internal */
export const Credential$inboundSchema = z.object({
id: types.string(),
name: types.string(),
providerSlug: types.string(),
});
export function credentialFromJSON(jsonString) {
return safeParse(jsonString, (x) => Credential$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Credential' from JSON`);
}
/** @internal */
export const Fourteen$inboundSchema = z.object({
credential: z.lazy(() => Credential$inboundSchema),
});
export function fourteenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Fourteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Fourteen' from JSON`);
}
/** @internal */
export const UserEventPayloadApiKey$inboundSchema = z.object({
id: types.string(),
name: types.string(),
});
export function userEventPayloadApiKeyFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEventPayloadApiKey$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayloadApiKey' from JSON`);
}
/** @internal */
export const PayloadRefreshPeriod$inboundSchema = z.nativeEnum(PayloadRefreshPeriod);
/** @internal */
export const PayloadBudget$inboundSchema = z.object({
limitAmount: types.number(),
refreshPeriod: PayloadRefreshPeriod$inboundSchema,
});
export function payloadBudgetFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadBudget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadBudget' from JSON`);
}
/** @internal */
export const Change$inboundSchema = z
.nativeEnum(Change);
/** @internal */
export const Thirteen$inboundSchema = z.object({
apiKey: z.lazy(() => UserEventPayloadApiKey$inboundSchema),
budget: z.nullable(z.lazy(() => PayloadBudget$inboundSchema)).optional(),
change: Change$inboundSchema,
});
export function thirteenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Thirteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Thirteen' from JSON`);
}
/** @internal */
export const PayloadApiKey$inboundSchema = z.object({
id: types.string(),
name: types.string(),
});
export function payloadApiKeyFromJSON(jsonString) {
return safeParse(jsonString, (x) => PayloadApiKey$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadApiKey' from JSON`);
}
/** @internal */
export const Twelve$inboundSchema = z
.object({
apiKey: z.lazy(() => PayloadApiKey$inboundSchema),
});
export function twelveFromJSON(jsonString) {
return safeParse(jsonString, (x) => Twelve$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Twelve' from JSON`);
}
/** @internal */
export const ApiKey$inboundSchema = z
.object({
id: types.string(),
name: types.string(),
});
export function apiKeyFromJSON(jsonString) {
return safeParse(jsonString, (x) => ApiKey$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ApiKey' from JSON`);
}
/** @internal */
export const RefreshPeriod$inboundSchema = z.nativeEnum(RefreshPeriod);
/** @internal */
export const Budget$inboundSchema = z
.object({
limitAmount: types.number(),
refreshPeriod: RefreshPeriod$inboundSchema,
});
export function budgetFromJSON(jsonString) {
return safeParse(jsonString, (x) => Budget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Budget' from JSON`);
}
/** @internal */
export const Eleven$inboundSchema = z
.object({
apiKey: z.lazy(() => ApiKey$inboundSchema),
budget: z.nullable(z.lazy(() => Budget$inboundSchema)).optional(),
});
export function elevenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Eleven$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Eleven' from JSON`);
}
/** @internal */
export const UserEventPayload10Provider$inboundSchema = z.nativeEnum(UserEventPayload10Provider);
/** @internal */
export const FromPlan$inboundSchema = z
.nativeEnum(FromPlan);
/** @internal */
export const ToPlan$inboundSchema = z
.nativeEnum(ToPlan);
/** @internal */
export const Ten$inboundSchema = z
.object({
provider: types.optional(UserEventPayload10Provider$inboundSchema),
providerAccount: types.optional(types.string()),
stripeAccount: types.optional(types.string()),
stripeOrganisation: types.optional(types.string()),
teamId: types.string(),
resourceId: types.string(),
fromPlan: FromPlan$inboundSchema,
toPlan: ToPlan$inboundSchema,
});
export function tenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Ten$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Ten' from JSON`);
}
/** @internal */
export const UserEventPayload9Provider$inboundSchema = z.nativeEnum(UserEventPayload9Provider);
/** @internal */
export const Nine$inboundSchema = z
.object({
provider: types.optional(UserEventPayload9Provider$inboundSchema),
providerAccount: types.optional(types.string()),
stripeAccount: types.optional(types.string()),
resourceId: types.string(),
projectName: types.string(),
});
export function nineFromJSON(jsonString) {
return safeParse(jsonString, (x) => Nine$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Nine' from JSON`);
}
/** @internal */
export const UserEventPayload8Provider$inboundSchema = z.nativeEnum(UserEventPayload8Provider);
/** @internal */
export const Eight$inboundSchema = z
.object({
provider: types.optional(UserEventPayload8Provider$inboundSchema),
providerAccount: types.optional(types.string()),
stripeAccount: types.optional(types.string()),
stripeOrganisation: types.optional(types.string()),
reason: types.string(),
blockCode: types.string(),
});
export function eightFromJSON(jsonString) {
return safeParse(jsonString, (x) => Eight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Eight' from JSON`);
}
/** @internal */
export const UserEventPayloadProvider$inboundSchema = z.nativeEnum(UserEventPayloadProvider);
/** @internal */
export const Seven$inboundSchema = z
.object({
provider: types.optional(UserEventPayloadProvider$inboundSchema),
providerAccount: types.optional(types.string()),
stripeAccount: types.optional(types.string()),
stripeOrganisation: types.optional(types.string()),
teamId: types.string(),
teamSlug: types.string(),
});
export function sevenFromJSON(jsonString) {
return safeParse(jsonString, (x) => Seven$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Seven' from JSON`);
}
/** @internal */
export const PayloadProvider$inboundSchema = z.nativeEnum(PayloadProvider);
/** @internal */
export const Six$inboundSchema = z
.object({
provider: types.optional(PayloadProvider$inboundSchema),
providerAccount: types.optional(types.string()),
stripeAccount: types.optional(types.string()),
stripeOrganisation: types.optional(types.string()),
teamId: types.string(),
});
export function sixFromJSON(jsonString) {
return safeParse(jsonString, (x) => Six$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Six' from JSON`);
}
/** @internal */
export const Provider$inboundSchema = z
.nativeEnum(Provider);
/** @internal */
export const Five$inboundSchema = z
.object({
provider: types.optional(Provider$inboundSchema),
providerAccount: types.optional(types.string()),
stripeAccount: types.optional(types.string()),
stripeOrganisation: types.optional(types.string()),
teamId: types.string(),
accountRequestId: types.string(),
});
export function fiveFromJSON(jsonString) {
return safeParse(jsonString, (x) => Five$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Five' from JSON`);
}
/** @internal */
export const UserEventPayloadAction$inboundSchema = z.nativeEnum(UserEventPayloadAction);
/** @internal */
export const Four$inboundSchema = z
.object({
action: UserEventPayloadAction$inboundSchema,
projectName: types.optional(types.string()),
projectId: types.optional(types.string()),
environment: z.array(types.string()),
});
export function fourFromJSON(jsonString) {
return safeParse(jsonString, (x) => Four$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Four' from JSON`);
}
/** @internal */
export const PayloadAction$inboundSchema = z.nativeEnum(PayloadAction);
/** @internal */
export const Payload3$inboundSchema = z.object({
action: PayloadAction$inboundSchema,
label: types.optional(types.string()),
projectName: types.optional(types.string()),
projectId: types.optional(types.string()),
environment: types.string(),
});
export function payload3FromJSON(jsonString) {
return safeParse(jsonString, (x) => Payload3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Payload3' from JSON`);
}
/** @internal */
export const Action$inboundSchema = z
.nativeEnum(Action);
/** @internal */
export const Payload2$inboundSchema = z.object({
action: Action$inboundSchema,
id: types.string(),
slug: types.string(),
projectId: types.string(),
projectName: types.optional(types.string()),
});
export function payload2FromJSON(jsonString) {
return safeParse(jsonString, (x) => Payload2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Payload2' from JSON`);
}
/** @internal */
export const Payload1$inboundSchema = z.object({});
export function payload1FromJSON(jsonString) {
return safeParse(jsonString, (x) => Payload1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Payload1' from JSON`);
}
/** @internal */
export const Payload$inboundSchema = smartUnion([
TwoHundredAndNinetySix$inboundSchema,
OneHundredAndFortyFive$inboundSchema,
NinetyFour$inboundSchema,
OneHundredAndSixtyFive$inboundSchema,
TwoHundredAndTwentyFour$inboundSchema,
OneHundredAndThirtyNine$inboundSchema,
OneHundredAndFortyThree$inboundSchema,
TwoHundredAndTwo$inboundSchema,
TwoHundredAndSixtyThree$inboundSchema,
TwoHundredAndSeventySeven$inboundSchema,
TwoHundredAndSeventyNine$inboundSchema,
EightyEight$inboundSchema,
NinetyOne$inboundSchema,
NinetyTwo$inboundSchema,
NinetyThree$inboundSchema,
NinetyFive$inboundSchema,
OneHundredAndTwo$inboundSchema,
OneHundredAndThirtyThree$inboundSchema,
OneHundredAndThirtyEight$inboundSchema,
OneHundredAndFortyFour$inboundSchema,
TwoHundredAndTwelve$inboundSchema,
TwoHundredAndTwentySix$inboundSchema,
TwoHundredAndThirtySix$inboundSchema,
TwoHundredAndNinetyFive$inboundSchema,
ThreeHundredAndFiftyThree$inboundSchema,
z.lazy(() => Payload2$inboundSchema),
z.lazy(() => Ten$inboundSchema),
z.lazy(() => FortyNine$inboundSchema),
z.lazy(() => Fifty$inboundSchema),
EightyTwo$inboundSchema,
EightyFour$inboundSchema,
Ninety$inboundSchema,
OneHundred$inboundSchema,
OneHundredAndSeventeen$inboundSchema,
OneHundredAndTwentyOne$inboundSchema,
OneHundredAndThirtySeven$inboundSchema,
OneHundredAndSixtyFour$inboundSchema,
OneHundredAndSixtySix$inboundSchema,
OneHundredAndSeventyTwo$inboundSchema,
OneHundredAndEightyNine$inboundSchema,
OneHundredAndNinetyTwo$inboundSchema,
OneHundredAndNinetyNine$inboundSchema,
TwoHundredAndThree$inboundSchema,
TwoHundredAndFive$inboundSchema,
TwoHundredAndSix$inboundSchema,
TwoHundredAndSeven$inboundSchema,
TwoHundredAndEight$inboundSchema,
TwoHundredAndTwentyThree$inboundSchema,
TwoHundredAndTwentyFive$inboundSchema,
TwoHundredAndTwentyNine$inboundSchema,
TwoHundredAndFortyFive$inboundSchema,
TwoHundredAndFortyNine$inboundSchema,
TwoHundredAndFifty$inboundSchema,
TwoHundredAndFiftySeven$inboundSchema,
TwoHundredAndFiftyEight$inboundSchema,
TwoHundredAndFiftyNine$inboundSchema,
TwoHundredAndSixtyOne$inboundSchema,
TwoHundredAndSeventyFive$inboundSchema,
TwoHundredAndSeventyEight$inboundSchema,
TwoHundredAndEightySeven$inboundSchema,
TwoHundredAndEightyEight$inboundSchema,
TwoHundredAndNinetyFour$inboundSchema,
ThreeHundredAndOne$inboundSchema,
ThreeHundredAndFifteen$inboundSchema,
ThreeHundredAndTwentyNine$inboundSchema,
ThreeHundredAndFiftyFour$inboundSchema,
ThreeHundredAndFiftyFive$inboundSchema,
z.lazy(() => Thirty$inboundSchema),
z.lazy(() => ThirtyFive$inboundSchema),
FiftySeven$inboundSchema,
Sixty$inboundSchema,
SixtySeven$inboundSchema,
SixtyEight$inboundSchema,
SixtyNine$inboundSchema,
Seventy$inboundSchema,
EightyNine$inboundSchema,
OneHundredAndThree$inboundSchema,
OneHundredAndSix$inboundSchema,
OneHundredAndSeven$inboundSchema,
OneHundredAndEight$inboundSchema,
OneHundredAndThirteen$inboundSchema,
OneHundredAndFourteen$inboundSchema,
OneHundredAndSixteen$inboundSchema,
OneHundredAndTwenty$inboundSchema,
OneHundredAndTwentyTwo$inboundSchema,
OneHundredAndThirty$inboundSchema,
OneHundredAndThirtyOne$inboundSchema,
OneHundredAndThirtyTwo$inboundSchema,
OneHundredAndThirtyFour$inboundSchema,
OneHundredAndThirtyFive$inboundSchema,
OneHundredAndForty$inboundSchema,
OneHundredAndFortyOne$inboundSchema,
OneHundredAndFortySix$inboundSchema,
OneHundredAndFifty$inboundSchema,
OneHundredAndFiftyTwo$inboundSchema,
OneHundredAndFiftyFive$inboundSchema,
OneHundredAndFiftyEight$inboundSchema,
OneHundredAndFiftyNine$inboundSchema,
OneHundredAndSixty$inboundSchema,
OneHundredAndSixtyOne$inboundSchema,
OneHundredAndSixtyTwo$inboundSchema,
OneHundredAndSixtyThree$inboundSchema,
OneHundredAndSixtySeven$inboundSchema,
OneHundredAndSixtyEight$inboundSchema,
OneHundredAndSixtyNine$inboundSchema,
OneHundredAndSeventy$inboundSchema,
OneHundredAndEighty$inboundSchema,
OneHundredAndEightyTwo$inboundSchema,
OneHundredAndEightyThree$inboundSchema,
OneHundredAndEightyFive$inboundSchema,
OneHundredAndEightySeven$inboundSchema,
OneHundredAndEightyEight$inboundSchema,
OneHundredAndNinety$inboundSchema,
OneHundredAndNinetyOne$inboundSchema,
OneHundredAndNinetySeven$inboundSchema,
TwoHundred$inboundSchema,
TwoHundredAndOne$inboundSchema,
TwoHundredAndNine$inboundSchema,
TwoHundredAndTen$inboundSchema,
TwoHundredAndEleven$inboundSchema,
TwoHundredAndThirteen$inboundSchema,
TwoHundredAndFourteen$inboundSchema,
TwoHundredAndFifteen$inboundSchema,
TwoHundredAndSixteen$inboundSchema,
TwoHundredAndSeventeen$inboundSchema,
TwoHundredAndTwenty$inboundSchema,
TwoHundredAndTwentyOne$inboundSchema,
TwoHundredAndTwentyTwo$inboundSchema,
TwoHundredAndTwentySeven$inboundSchema,
TwoHundredAndThirtyFour$inboundSchema,
TwoHundredAndThirtySeven$inboundSchema,
TwoHundredAndThirtyEight$inboundSchema,
TwoHundredAndFiftyOne$inboundSchema,
TwoHundredAndFiftyTwo$inboundSchema,
TwoHundredAndFiftyThree$inboundSchema,
TwoHundredAndFiftyFour$inboundSchema,
TwoHundredAndFiftyFive$inboundSchema,
TwoHundredAndSixtySix$inboundSchema,
TwoHundredAndEighty$inboundSchema,
TwoHundredAndNinetyOne$inboundSchema,
TwoHundredAndNinetyEight$inboundSchema,
ThreeHundredAndNineteen$inboundSchema,
ThreeHundredAndFortyThree$inboundSchema,
ThreeHundredAndFortyFour$inboundSchema,
ThreeHundredAndFortyFive$inboundSchema,
ThreeHundredAndFortySix$inboundSchema,
ThreeHundredAndFiftyTwo$inboundSchema,
z.lazy(() => Payload3$inboundSchema),
z.lazy(() => Four$inboundSchema),
z.lazy(() => Five$inboundSchema),
z.lazy(() => Seven$inboundSchema),
z.lazy(() => Eight$inboundSchema),
z.lazy(() => Nine$inboundSchema),
z.lazy(() => Thirteen$inboundSchema),
z.lazy(() => Sixteen$inboundSchema),
z.lazy(() => TwentyTwo$inboundSchema),
z.lazy(() => TwentyThree$inboundSchema),
z.lazy(() => TwentyFive$inboundSchema),
z.lazy(() => TwentyEight$inboundSchema),
z.lazy(() => ThirtySix$inboundSchema),
z.lazy(() => ThirtyNine$inboundSchema),
z.lazy(() => FortyOne$inboundSchema),
z.lazy(() => FortySix$inboundSchema),
z.lazy(() => FortySeven$inboundSchema),
z.lazy(() => FiftyThree$inboundSchema),
z.lazy(() => FiftyFour$inboundSchema),
z.lazy(() => FiftyFive$inboundSchema),
FiftyEight$inboundSchema,
SixtyThree$inboundSchema,
SeventyThree$inboundSchema,
SeventyFour$inboundSchema,
SeventyFive$inboundSchema,
SeventySix$inboundSchema,
SeventySeven$inboundSchema,
Eighty$inboundSchema,
EightyThree$inboundSchema,
NinetySeven$inboundSchema,
NinetyEight$inboundSchema,
OneHundredAndOne$inboundSchema,
OneHundredAndFive$inboundSchema,
OneHundredAndEleven$inboundSchema,
OneHundredAndFifteen$inboundSchema,
OneHundredAndEighteen$inboundSchema,
OneHundredAndNineteen$inboundSchema,
OneHundredAndTwentyThree$inboundSchema,
OneHundredAndTwentyFour$inboundSchema,
OneHundredAndTwentySeven$inboundSchema,
OneHundredAndFortyTwo$inboundSchema,
OneHundredAndFiftyThree$inboundSchema,
OneHundredAndFiftyFour$inboundSchema,
OneHundredAndFiftySix$inboundSchema,
OneHundredAndSeventyOne$inboundSchema,
OneHundredAndSeventyThree$inboundSchema,
OneHundredAndSeventyEight$inboundSchema,
OneHundredAndSeventyNine$inboundSchema,
OneHundredAndEightyOne$inboundSchema,
OneHundredAndEightySix$inboundSchema,
OneHundredAndNinetyFive$inboundSchema,
OneHundredAndNinetyEight$inboundSchema,
TwoHundredAndFour$inboundSchema,
TwoHundredAndThirty$inboundSchema,
TwoHundredAndThirtyTwo$inboundSchema,
TwoHundredAndThirtyThree$inboundSchema,
TwoHundredAndThirtyFive$inboundSchema,
TwoHundredAndThirtyNine$inboundSchema,
TwoHundredAndForty$inboundSchema,
TwoHundredAndFortyTwo$inboundSchema,
TwoHundredAndFortyFour$inboundSchema,
TwoHundredAndFortySix$inboundSchema,
TwoHundredAndFortySeven$inboundSchema,
TwoHundredAndFortyEight$inboundSchema,
TwoHundredAndFiftySix$inboundSchema,
TwoHundredAndSixty$inboundSchema,
TwoHundredAndSixtyTwo$inboundSchema,
TwoHundredAndSixtyFive$inboundSchema,
TwoHundredAndSixtySeven$inboundSchema,
TwoHundredAndSixtyEight$inboundSchema,
TwoHundredAndSixtyNine$inboundSchema,
TwoHundredAndSeventyOne$inboundSchema,
TwoHundredAndSeventyTwo$inboundSchema,
TwoHundredAndSeventyThree$inboundSchema,
TwoHundredAndEightySix$inboundSchema,
TwoHundredAndEightyNine$inboundSchema,
TwoHundredAndNinetyNine$inboundSchema,
ThreeHundredAndTwo$inboundSchema,
ThreeHundredAndFour$inboundSchema,
ThreeHundredAndNine$inboundSchema,
ThreeHundredAndTen$inboundSchema,
ThreeHundredAndSeventeen$inboundSchema,
ThreeHundredAndTwentyFive$inboundSchema,
ThreeHundredAndTwentySeven$inboundSchema,
ThreeHundredAndThirtyTwo$inboundSchema,
ThreeHundredAndThirtyThree$inboundSchema,
ThreeHundredAndThirtySix$inboundSchema,
ThreeHundredAndThirtyNine$inboundSchema,
ThreeHundredAndForty$inboundSchema,
ThreeHundredAndFortyEight$inboundSchema,
ThreeHundredAndFifty$inboundSchema,
ThreeHundredAndFiftyOne$inboundSchema,
ThreeHundredAndFiftySix$inboundSchema,
z.lazy(() => Six$inboundSchema),
z.lazy(() => Eleven$inboundSchema),
z.lazy(() => Twelve$inboundSchema),
z.lazy(() => Fourteen$inboundSchema),
z.lazy(() => Fifteen$inboundSchema),
z.lazy(() => Seventeen$inboundSchema),
z.lazy(() => Eighteen$inboundSchema),
z.lazy(() => Nineteen$inboundSchema),
z.lazy(() => Twenty$inboundSchema),
z.lazy(() => TwentyOne$inboundSchema),
z.lazy(() => TwentyFour$inboundSchema),
z.lazy(() => TwentyNine$inboundSchema),
z.lazy(() => Forty$inboundSchema),
z.lazy(() => FortyTwo$inboundSchema),
z.lazy(() => FortyThree$inboundSchema),
z.lazy(() => FortyFour$inboundSchema),
z.lazy(() => FortyFive$inboundSchema),
z.lazy(() => FiftyOne$inboundSchema),
z.lazy(() => FiftyTwo$inboundSchema),
FiftySix$inboundSchema,
FiftyNine$inboundSchema,
SixtyTwo$inboundSchema,
SixtyFour$inboundSchema,
SixtySix$inboundSchema,
SeventyOne$inboundSchema,
SeventyTwo$inboundSchema,
SeventyNine$inboundSchema,
EightyOne$inboundSchema,
EightyFive$inboundSchema,
EightySix$inboundSchema,
EightySeven$inboundSchema,
NinetySix$inboundSchema,
NinetyNine$inboundSchema,
OneHundredAndFour$inboundSchema,
OneHundredAndNine$inboundSchema,
OneHundredAndTen$inboundSchema,
OneHundredAndTwelve$inboundSchema,
OneHundredAndTwentyFive$inboundSchema,
OneHundredAndThirtySix$inboundSchema,
OneHundredAndFortySeven$inboundSchema,
OneHundredAndFortyEight$inboundSchema,
OneHundredAndFiftyOne$inboundSchema,
OneHundredAndFiftySeven$inboundSchema,
OneHundredAndSeventyFour$inboundSchema,
OneHundredAndSeventySeven$inboundSchema,
OneHundredAndEightyFour$inboundSchema,
OneHundredAndNinetySix$inboundSchema,
TwoHundredAndEighteen$inboundSchema,
TwoHundredAndNineteen$inboundSchema,
TwoHundredAndTwentyEight$inboundSchema,
TwoHundredAndThirtyOne$inboundSchema,
TwoHundredAndFortyOne$inboundSchema,
TwoHundredAndFortyThree$inboundSchema,
TwoHundredAndSixtyFour$inboundSchema,
TwoHundredAndSeventy$inboundSchema,
TwoHundredAndSeventyFour$inboundSchema,
TwoHundredAndEightyOne$inboundSchema,
TwoHundredAndEightyTwo$inboundSchema,
TwoHundredAndEightyThree$inboundSchema,
TwoHundredAndEightyFive$inboundSchema,
TwoHundredAndNinety$inboundSchema,
TwoHundredAndNinetyTwo$inboundSchema,
TwoHundredAndNinetyThree$inboundSchema,
ThreeHundred$inboundSchema,
ThreeHundredAndSix$inboundSchema,
ThreeHundredAndSeven$inboundSchema,
ThreeHundredAndTwelve$inboundSchema,
ThreeHundredAndThirteen$inboundSchema,
ThreeHundredAndFourteen$inboundSchema,
ThreeHundredAndSixteen$inboundSchema,
ThreeHundredAndEighteen$inboundSchema,
ThreeHundredAndTwentyTwo$inboundSchema,
ThreeHundredAndTwentyFour$inboundSchema,
ThreeHundredAndTwentyEight$inboundSchema,
ThreeHundredAndThirty$inboundSchema,
ThreeHundredAndThirtyFour$inboundSchema,
ThreeHundredAndThirtyFive$inboundSchema,
ThreeHundredAndThirtySeven$inboundSchema,
ThreeHundredAndThirtyEight$inboundSchema,
ThreeHundredAndFortyOne$inboundSchema,
ThreeHundredAndFortyTwo$inboundSchema,
ThreeHundredAndFortySeven$inboundSchema,
ThreeHundredAndFortyNine$inboundSchema,
z.lazy(() => Payload1$inboundSchema),
z.lazy(() => TwentySix$inboundSchema),
z.lazy(() => TwentySeven$inboundSchema),
z.lazy(() => ThirtyOne$inboundSchema),
z.lazy(() => ThirtyTwo$inboundSchema),
z.lazy(() => ThirtyThree$inboundSchema),
z.lazy(() => ThirtyFour$inboundSchema),
z.lazy(() => ThirtySeven$inboundSchema),
z.lazy(() => ThirtyEight$inboundSchema),
z.lazy(() => FortyEight$inboundSchema),
SixtyOne$inboundSchema,
SixtyFive$inboundSchema,
SeventyEight$inboundSchema,
OneHundredAndTwentySix$inboundSchema,
OneHundredAndTwentyEight$inboundSchema,
OneHundredAndTwentyNine$inboundSchema,
OneHundredAndFortyNine$inboundSchema,
OneHundredAndSeventyFive$inboundSchema,
OneHundredAndSeventySix$inboundSchema,
OneHundredAndNinetyThree$inboundSchema,
OneHundredAndNinetyFour$inboundSchema,
TwoHundredAndSeventySix$inboundSchema,
TwoHundredAndEightyFour$inboundSchema,
TwoHundredAndNinetySeven$inboundSchema,
ThreeHundredAndThree$inboundSchema,
ThreeHundredAndFive$inboundSchema,
ThreeHundredAndEight$inboundSchema,
ThreeHundredAndEleven$inboundSchema,
ThreeHundredAndTwenty$inboundSchema,
ThreeHundredAndTwentyOne$inboundSchema,
ThreeHundredAndTwentyThree$inboundSchema,
ThreeHundredAndTwentySix$inboundSchema,
ThreeHundredAndThirtyOne$inboundSchema,
]);
export function payloadFromJSON(jsonString) {
return safeParse(jsonString, (x) => Payload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Payload' from JSON`);
}
/** @internal */
export const UserEvent$inboundSchema = z.object({
id: types.string(),
text: types.string(),
entities: z.array(Entities$inboundSchema),
type: types.optional(Type$inboundSchema),
categories: types.optional(z.array(Categories$inboundSchema)),
createdAt: types.number(),
user: types.optional(User$inboundSchema),
principal: types.optional(Principal$inboundSchema),
via: types.optional(z.array(Via$inboundSchema)),
userId: types.optional(types.string()),
principalId: types.string(),
viaIds: types.optional(z.array(types.string())),
payload: types.optional(smartUnion([
TwoHundredAndNinetySix$inboundSchema,
OneHundredAndFortyFive$inboundSchema,
NinetyFour$inboundSchema,
OneHundredAndSixtyFive$inboundSchema,
TwoHundredAndTwentyFour$inboundSchema,
OneHundredAndThirtyNine$inboundSchema,
OneHundredAndFortyThree$inboundSchema,
TwoHundredAndTwo$inboundSchema,
TwoHundredAndSixtyThree$inboundSchema,
TwoHundredAndSeventySeven$inboundSchema,
TwoHundredAndSeventyNine$inboundSchema,
EightyEight$inboundSchema,
NinetyOne$inboundSchema,
NinetyTwo$inboundSchema,
NinetyThree$inboundSchema,
NinetyFive$inboundSchema,
OneHundredAndTwo$inboundSchema,
OneHundredAndThirtyThree$inboundSchema,
OneHundredAndThirtyEight$inboundSchema,
OneHundredAndFortyFour$inboundSchema,
TwoHundredAndTwelve$inboundSchema,
TwoHundredAndTwentySix$inboundSchema,
TwoHundredAndThirtySix$inboundSchema,
TwoHundredAndNinetyFive$inboundSchema,
ThreeHundredAndFiftyThree$inboundSchema,
z.lazy(() => Payload2$inboundSchema),
z.lazy(() => Ten$inboundSchema),
z.lazy(() => FortyNine$inboundSchema),
z.lazy(() => Fifty$inboundSchema),
EightyTwo$inboundSchema,
EightyFour$inboundSchema,
Ninety$inboundSchema,
OneHundred$inboundSchema,
OneHundredAndSeventeen$inboundSchema,
OneHundredAndTwentyOne$inboundSchema,
OneHundredAndThirtySeven$inboundSchema,
OneHundredAndSixtyFour$inboundSchema,
OneHundredAndSixtySix$inboundSchema,
OneHundredAndSeventyTwo$inboundSchema,
OneHundredAndEightyNine$inboundSchema,
OneHundredAndNinetyTwo$inboundSchema,
OneHundredAndNinetyNine$inboundSchema,
TwoHundredAndThree$inboundSchema,
TwoHundredAndFive$inboundSchema,
TwoHundredAndSix$inboundSchema,
TwoHundredAndSeven$inboundSchema,
TwoHundredAndEight$inboundSchema,
TwoHundredAndTwentyThree$inboundSchema,
TwoHundredAndTwentyFive$inboundSchema,
TwoHundredAndTwentyNine$inboundSchema,
TwoHundredAndFortyFive$inboundSchema,
TwoHundredAndFortyNine$inboundSchema,
TwoHundredAndFifty$inboundSchema,
TwoHundredAndFiftySeven$inboundSchema,
TwoHundredAndFiftyEight$inboundSchema,
TwoHundredAndFiftyNine$inboundSchema,
TwoHundredAndSixtyOne$inboundSchema,
TwoHundredAndSeventyFive$inboundSchema,
TwoHundredAndSeventyEight$inboundSchema,
TwoHundredAndEightySeven$inboundSchema,
TwoHundredAndEightyEight$inboundSchema,
TwoHundredAndNinetyFour$inboundSchema,
ThreeHundredAndOne$inboundSchema,
ThreeHundredAndFifteen$inboundSchema,
ThreeHundredAndTwentyNine$inboundSchema,
ThreeHundredAndFiftyFour$inboundSchema,
ThreeHundredAndFiftyFive$inboundSchema,
z.lazy(() => Thirty$inboundSchema),
z.lazy(() => ThirtyFive$inboundSchema),
FiftySeven$inboundSchema,
Sixty$inboundSchema,
SixtySeven$inboundSchema,
SixtyEight$inboundSchema,
SixtyNine$inboundSchema,
Seventy$inboundSchema,
EightyNine$inboundSchema,
OneHundredAndThree$inboundSchema,
OneHundredAndSix$inboundSchema,
OneHundredAndSeven$inboundSchema,
OneHundredAndEight$inboundSchema,
OneHundredAndThirteen$inboundSchema,
OneHundredAndFourteen$inboundSchema,
OneHundredAndSixteen$inboundSchema,
OneHundredAndTwenty$inboundSchema,
OneHundredAndTwentyTwo$inboundSchema,
OneHundredAndThirty$inboundSchema,
OneHundredAndThirtyOne$inboundSchema,
OneHundredAndThirtyTwo$inboundSchema,
OneHundredAndThirtyFour$inboundSchema,
OneHundredAndThirtyFive$inboundSchema,
OneHundredAndForty$inboundSchema,
OneHundredAndFortyOne$inboundSchema,
OneHundredAndFortySix$inboundSchema,
OneHundredAndFifty$inboundSchema,
OneHundredAndFiftyTwo$inboundSchema,
OneHundredAndFiftyFive$inboundSchema,
OneHundredAndFiftyEight$inboundSchema,
OneHundredAndFiftyNine$inboundSchema,
OneHundredAndSixty$inboundSchema,
OneHundredAndSixtyOne$inboundSchema,
OneHundredAndSixtyTwo$inboundSchema,
OneHundredAndSixtyThree$inboundSchema,
OneHundredAndSixtySeven$inboundSchema,
OneHundredAndSixtyEight$inboundSchema,
OneHundredAndSixtyNine$inboundSchema,
OneHundredAndSeventy$inboundSchema,
OneHundredAndEighty$inboundSchema,
OneHundredAndEightyTwo$inboundSchema,
OneHundredAndEightyThree$inboundSchema,
OneHundredAndEightyFive$inboundSchema,
OneHundredAndEightySeven$inboundSchema,
OneHundredAndEightyEight$inboundSchema,
OneHundredAndNinety$inboundSchema,
OneHundredAndNinetyOne$inboundSchema,
OneHundredAndNinetySeven$inboundSchema,
TwoHundred$inboundSchema,
TwoHundredAndOne$inboundSchema,
TwoHundredAndNine$inboundSchema,
TwoHundredAndTen$inboundSchema,
TwoHundredAndEleven$inboundSchema,
TwoHundredAndThirteen$inboundSchema,
TwoHundredAndFourteen$inboundSchema,
TwoHundredAndFifteen$inboundSchema,
TwoHundredAndSixteen$inboundSchema,
TwoHundredAndSeventeen$inboundSchema,
TwoHundredAndTwenty$inboundSchema,
TwoHundredAndTwentyOne$inboundSchema,
TwoHundredAndTwentyTwo$inboundSchema,
TwoHundredAndTwentySeven$inboundSchema,
TwoHundredAndThirtyFour$inboundSchema,
TwoHundredAndThirtySeven$inboundSchema,
TwoHundredAndThirtyEight$inboundSchema,
TwoHundredAndFiftyOne$inboundSchema,
TwoHundredAndFiftyTwo$inboundSchema,
TwoHundredAndFiftyThree$inboundSchema,
TwoHundredAndFiftyFour$inboundSchema,
TwoHundredAndFiftyFive$inboundSchema,
TwoHundredAndSixtySix$inboundSchema,
TwoHundredAndEighty$inboundSchema,
TwoHundredAndNinetyOne$inboundSchema,
TwoHundredAndNinetyEight$inboundSchema,
ThreeHundredAndNineteen$inboundSchema,
ThreeHundredAndFortyThree$inboundSchema,
ThreeHundredAndFortyFour$inboundSchema,
ThreeHundredAndFortyFive$inboundSchema,
ThreeHundredAndFortySix$inboundSchema,
ThreeHundredAndFiftyTwo$inboundSchema,
z.lazy(() => Payload3$inboundSchema),
z.lazy(() => Four$inboundSchema),
z.lazy(() => Five$inboundSchema),
z.lazy(() => Seven$inboundSchema),
z.lazy(() => Eight$inboundSchema),
z.lazy(() => Nine$inboundSchema),
z.lazy(() => Thirteen$inboundSchema),
z.lazy(() => Sixteen$inboundSchema),
z.lazy(() => TwentyTwo$inboundSchema),
z.lazy(() => TwentyThree$inboundSchema),
z.lazy(() => TwentyFive$inboundSchema),
z.lazy(() => TwentyEight$inboundSchema),
z.lazy(() => ThirtySix$inboundSchema),
z.lazy(() => ThirtyNine$inboundSchema),
z.lazy(() => FortyOne$inboundSchema),
z.lazy(() => FortySix$inboundSchema),
z.lazy(() => FortySeven$inboundSchema),
z.lazy(() => FiftyThree$inboundSchema),
z.lazy(() => FiftyFour$inboundSchema),
z.lazy(() => FiftyFive$inboundSchema),
FiftyEight$inboundSchema,
SixtyThree$inboundSchema,
SeventyThree$inboundSchema,
SeventyFour$inboundSchema,
SeventyFive$inboundSchema,
SeventySix$inboundSchema,
SeventySeven$inboundSchema,
Eighty$inboundSchema,
EightyThree$inboundSchema,
NinetySeven$inboundSchema,
NinetyEight$inboundSchema,
OneHundredAndOne$inboundSchema,
OneHundredAndFive$inboundSchema,
OneHundredAndEleven$inboundSchema,
OneHundredAndFifteen$inboundSchema,
OneHundredAndEighteen$inboundSchema,
OneHundredAndNineteen$inboundSchema,
OneHundredAndTwentyThree$inboundSchema,
OneHundredAndTwentyFour$inboundSchema,
OneHundredAndTwentySeven$inboundSchema,
OneHundredAndFortyTwo$inboundSchema,
OneHundredAndFiftyThree$inboundSchema,
OneHundredAndFiftyFour$inboundSchema,
OneHundredAndFiftySix$inboundSchema,
OneHundredAndSeventyOne$inboundSchema,
OneHundredAndSeventyThree$inboundSchema,
OneHundredAndSeventyEight$inboundSchema,
OneHundredAndSeventyNine$inboundSchema,
OneHundredAndEightyOne$inboundSchema,
OneHundredAndEightySix$inboundSchema,
OneHundredAndNinetyFive$inboundSchema,
OneHundredAndNinetyEight$inboundSchema,
TwoHundredAndFour$inboundSchema,
TwoHundredAndThirty$inboundSchema,
TwoHundredAndThirtyTwo$inboundSchema,
TwoHundredAndThirtyThree$inboundSchema,
TwoHundredAndThirtyFive$inboundSchema,
TwoHundredAndThirtyNine$inboundSchema,
TwoHundredAndForty$inboundSchema,
TwoHundredAndFortyTwo$inboundSchema,
TwoHundredAndFortyFour$inboundSchema,
TwoHundredAndFortySix$inboundSchema,
TwoHundredAndFortySeven$inboundSchema,
TwoHundredAndFortyEight$inboundSchema,
TwoHundredAndFiftySix$inboundSchema,
TwoHundredAndSixty$inboundSchema,
TwoHundredAndSixtyTwo$inboundSchema,
TwoHundredAndSixtyFive$inboundSchema,
TwoHundredAndSixtySeven$inboundSchema,
TwoHundredAndSixtyEight$inboundSchema,
TwoHundredAndSixtyNine$inboundSchema,
TwoHundredAndSeventyOne$inboundSchema,
TwoHundredAndSeventyTwo$inboundSchema,
TwoHundredAndSeventyThree$inboundSchema,
TwoHundredAndEightySix$inboundSchema,
TwoHundredAndEightyNine$inboundSchema,
TwoHundredAndNinetyNine$inboundSchema,
ThreeHundredAndTwo$inboundSchema,
ThreeHundredAndFour$inboundSchema,
ThreeHundredAndNine$inboundSchema,
ThreeHundredAndTen$inboundSchema,
ThreeHundredAndSeventeen$inboundSchema,
ThreeHundredAndTwentyFive$inboundSchema,
ThreeHundredAndTwentySeven$inboundSchema,
ThreeHundredAndThirtyTwo$inboundSchema,
ThreeHundredAndThirtyThree$inboundSchema,
ThreeHundredAndThirtySix$inboundSchema,
ThreeHundredAndThirtyNine$inboundSchema,
ThreeHundredAndForty$inboundSchema,
ThreeHundredAndFortyEight$inboundSchema,
ThreeHundredAndFifty$inboundSchema,
ThreeHundredAndFiftyOne$inboundSchema,
ThreeHundredAndFiftySix$inboundSchema,
z.lazy(() => Six$inboundSchema),
z.lazy(() => Eleven$inboundSchema),
z.lazy(() => Twelve$inboundSchema),
z.lazy(() => Fourteen$inboundSchema),
z.lazy(() => Fifteen$inboundSchema),
z.lazy(() => Seventeen$inboundSchema),
z.lazy(() => Eighteen$inboundSchema),
z.lazy(() => Nineteen$inboundSchema),
z.lazy(() => Twenty$inboundSchema),
z.lazy(() => TwentyOne$inboundSchema),
z.lazy(() => TwentyFour$inboundSchema),
z.lazy(() => TwentyNine$inboundSchema),
z.lazy(() => Forty$inboundSchema),
z.lazy(() => FortyTwo$inboundSchema),
z.lazy(() => FortyThree$inboundSchema),
z.lazy(() => FortyFour$inboundSchema),
z.lazy(() => FortyFive$inboundSchema),
z.lazy(() => FiftyOne$inboundSchema),
z.lazy(() => FiftyTwo$inboundSchema),
FiftySix$inboundSchema,
FiftyNine$inboundSchema,
SixtyTwo$inboundSchema,
SixtyFour$inboundSchema,
SixtySix$inboundSchema,
SeventyOne$inboundSchema,
SeventyTwo$inboundSchema,
SeventyNine$inboundSchema,
EightyOne$inboundSchema,
EightyFive$inboundSchema,
EightySix$inboundSchema,
EightySeven$inboundSchema,
NinetySix$inboundSchema,
NinetyNine$inboundSchema,
OneHundredAndFour$inboundSchema,
OneHundredAndNine$inboundSchema,
OneHundredAndTen$inboundSchema,
OneHundredAndTwelve$inboundSchema,
OneHundredAndTwentyFive$inboundSchema,
OneHundredAndThirtySix$inboundSchema,
OneHundredAndFortySeven$inboundSchema,
OneHundredAndFortyEight$inboundSchema,
OneHundredAndFiftyOne$inboundSchema,
OneHundredAndFiftySeven$inboundSchema,
OneHundredAndSeventyFour$inboundSchema,
OneHundredAndSeventySeven$inboundSchema,
OneHundredAndEightyFour$inboundSchema,
OneHundredAndNinetySix$inboundSchema,
TwoHundredAndEighteen$inboundSchema,
TwoHundredAndNineteen$inboundSchema,
TwoHundredAndTwentyEight$inboundSchema,
TwoHundredAndThirtyOne$inboundSchema,
TwoHundredAndFortyOne$inboundSchema,
TwoHundredAndFortyThree$inboundSchema,
TwoHundredAndSixtyFour$inboundSchema,
TwoHundredAndSeventy$inboundSchema,
TwoHundredAndSeventyFour$inboundSchema,
TwoHundredAndEightyOne$inboundSchema,
TwoHundredAndEightyTwo$inboundSchema,
TwoHundredAndEightyThree$inboundSchema,
TwoHundredAndEightyFive$inboundSchema,
TwoHundredAndNinety$inboundSchema,
TwoHundredAndNinetyTwo$inboundSchema,
TwoHundredAndNinetyThree$inboundSchema,
ThreeHundred$inboundSchema,
ThreeHundredAndSix$inboundSchema,
ThreeHundredAndSeven$inboundSchema,
ThreeHundredAndTwelve$inboundSchema,
ThreeHundredAndThirteen$inboundSchema,
ThreeHundredAndFourteen$inboundSchema,
ThreeHundredAndSixteen$inboundSchema,
ThreeHundredAndEighteen$inboundSchema,
ThreeHundredAndTwentyTwo$inboundSchema,
ThreeHundredAndTwentyFour$inboundSchema,
ThreeHundredAndTwentyEight$inboundSchema,
ThreeHundredAndThirty$inboundSchema,
ThreeHundredAndThirtyFour$inboundSchema,
ThreeHundredAndThirtyFive$inboundSchema,
ThreeHundredAndThirtySeven$inboundSchema,
ThreeHundredAndThirtyEight$inboundSchema,
ThreeHundredAndFortyOne$inboundSchema,
ThreeHundredAndFortyTwo$inboundSchema,
ThreeHundredAndFortySeven$inboundSchema,
ThreeHundredAndFortyNine$inboundSchema,
z.lazy(() => Payload1$inboundSchema),
z.lazy(() => TwentySix$inboundSchema),
z.lazy(() => TwentySeven$inboundSchema),
z.lazy(() => ThirtyOne$inboundSchema),
z.lazy(() => ThirtyTwo$inboundSchema),
z.lazy(() => ThirtyThree$inboundSchema),
z.lazy(() => ThirtyFour$inboundSchema),
z.lazy(() => ThirtySeven$inboundSchema),
z.lazy(() => ThirtyEight$inboundSchema),
z.lazy(() => FortyEight$inboundSchema),
SixtyOne$inboundSchema,
SixtyFive$inboundSchema,
SeventyEight$inboundSchema,
OneHundredAndTwentySix$inboundSchema,
OneHundredAndTwentyEight$inboundSchema,
OneHundredAndTwentyNine$inboundSchema,
OneHundredAndFortyNine$inboundSchema,
OneHundredAndSeventyFive$inboundSchema,
OneHundredAndSeventySix$inboundSchema,
OneHundredAndNinetyThree$inboundSchema,
OneHundredAndNinetyFour$inboundSchema,
TwoHundredAndSeventySix$inboundSchema,
TwoHundredAndEightyFour$inboundSchema,
TwoHundredAndNinetySeven$inboundSchema,
ThreeHundredAndThree$inboundSchema,
ThreeHundredAndFive$inboundSchema,
ThreeHundredAndEight$inboundSchema,
ThreeHundredAndEleven$inboundSchema,
ThreeHundredAndTwenty$inboundSchema,
ThreeHundredAndTwentyOne$inboundSchema,
ThreeHundredAndTwentyThree$inboundSchema,
ThreeHundredAndTwentySix$inboundSchema,
ThreeHundredAndThirtyOne$inboundSchema,
])),
});
export function userEventFromJSON(jsonString) {
return safeParse(jsonString, (x) => UserEvent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEvent' from JSON`);
}
//# sourceMappingURL=userevent.js.map