UNPKG

@vercel/sdk

Version:

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

1,634 lines 81 kB
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod/v3";
import { safeParse } from "../lib/schemas.js";
import * as types from "../types/primitives.js";
import { smartUnion } from "../types/smartUnion.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, OneHundredAndSeventyFour$inboundSchema, OneHundredAndSeventyNine$inboundSchema, OneHundredAndSeventyOne$inboundSchema, OneHundredAndSeventySeven$inboundSchema, OneHundredAndSeventySix$inboundSchema, OneHundredAndSeventyThree$inboundSchema, OneHundredAndSeventyTwo$inboundSchema, TwoHundred$inboundSchema, TwoHundredAndEight$inboundSchema, TwoHundredAndFive$inboundSchema, TwoHundredAndFour$inboundSchema, TwoHundredAndOne$inboundSchema, TwoHundredAndSeven$inboundSchema, TwoHundredAndSix$inboundSchema, TwoHundredAndThree$inboundSchema, TwoHundredAndTwo$inboundSchema, } from "./analyticsusage.js";
import { Categories$inboundSchema, Entities$inboundSchema, FourHundredAndEight$inboundSchema, FourHundredAndEighteen$inboundSchema, FourHundredAndEleven$inboundSchema, FourHundredAndFifteen$inboundSchema, FourHundredAndFifty$inboundSchema, FourHundredAndForty$inboundSchema, FourHundredAndFortyEight$inboundSchema, FourHundredAndFortyFive$inboundSchema, FourHundredAndFortyFour$inboundSchema, FourHundredAndFortyNine$inboundSchema, FourHundredAndFortyOne$inboundSchema, FourHundredAndFortySeven$inboundSchema, FourHundredAndFortySix$inboundSchema, FourHundredAndFortyThree$inboundSchema, FourHundredAndFortyTwo$inboundSchema, FourHundredAndFourteen$inboundSchema, FourHundredAndNine$inboundSchema, FourHundredAndNineteen$inboundSchema, FourHundredAndSeventeen$inboundSchema, FourHundredAndSixteen$inboundSchema, FourHundredAndTen$inboundSchema, FourHundredAndThirteen$inboundSchema, FourHundredAndThirty$inboundSchema, FourHundredAndThirtyEight$inboundSchema, FourHundredAndThirtyFive$inboundSchema, FourHundredAndThirtyFour$inboundSchema, FourHundredAndThirtyNine$inboundSchema, FourHundredAndThirtyOne$inboundSchema, FourHundredAndThirtySeven$inboundSchema, FourHundredAndThirtySix$inboundSchema, FourHundredAndThirtyThree$inboundSchema, FourHundredAndThirtyTwo$inboundSchema, FourHundredAndTwelve$inboundSchema, FourHundredAndTwenty$inboundSchema, FourHundredAndTwentyEight$inboundSchema, FourHundredAndTwentyFive$inboundSchema, FourHundredAndTwentyFour$inboundSchema, FourHundredAndTwentyNine$inboundSchema, FourHundredAndTwentyOne$inboundSchema, FourHundredAndTwentySeven$inboundSchema, FourHundredAndTwentySix$inboundSchema, FourHundredAndTwentyThree$inboundSchema, FourHundredAndTwentyTwo$inboundSchema, Principal$inboundSchema, User$inboundSchema, UserEventType$inboundSchema, Via$inboundSchema, } from "./fourhundredandeight.js";
import { OneHundredAndEight$inboundSchema, OneHundredAndEighteen$inboundSchema, OneHundredAndEleven$inboundSchema, OneHundredAndFifteen$inboundSchema, OneHundredAndFifty$inboundSchema, OneHundredAndForty$inboundSchema, OneHundredAndFortyEight$inboundSchema, OneHundredAndFortyFive$inboundSchema, OneHundredAndFortyFour$inboundSchema, OneHundredAndFortyNine$inboundSchema, OneHundredAndFortyOne$inboundSchema, OneHundredAndFortySeven$inboundSchema, OneHundredAndFortySix$inboundSchema, OneHundredAndFortyThree$inboundSchema, OneHundredAndFortyTwo$inboundSchema, OneHundredAndFourteen$inboundSchema, OneHundredAndNine$inboundSchema, OneHundredAndNineteen$inboundSchema, OneHundredAndSeven$inboundSchema, OneHundredAndSeventeen$inboundSchema, OneHundredAndSix$inboundSchema, OneHundredAndSixteen$inboundSchema, OneHundredAndTen$inboundSchema, OneHundredAndThirteen$inboundSchema, OneHundredAndThirty$inboundSchema, OneHundredAndThirtyEight$inboundSchema, OneHundredAndThirtyFive$inboundSchema, OneHundredAndThirtyFour$inboundSchema, OneHundredAndThirtyNine$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 "./gitcredentialsource.js";
import { OneHundredAndFiftyEight$inboundSchema, OneHundredAndFiftyFive$inboundSchema, OneHundredAndFiftyFour$inboundSchema, OneHundredAndFiftyNine$inboundSchema, OneHundredAndFiftyOne$inboundSchema, OneHundredAndFiftySeven$inboundSchema, OneHundredAndFiftySix$inboundSchema, OneHundredAndFiftyThree$inboundSchema, OneHundredAndFiftyTwo$inboundSchema, OneHundredAndSeventy$inboundSchema, OneHundredAndSixty$inboundSchema, OneHundredAndSixtyEight$inboundSchema, OneHundredAndSixtyFive$inboundSchema, OneHundredAndSixtyFour$inboundSchema, OneHundredAndSixtyNine$inboundSchema, OneHundredAndSixtyOne$inboundSchema, OneHundredAndSixtySeven$inboundSchema, OneHundredAndSixtySix$inboundSchema, OneHundredAndSixtyThree$inboundSchema, OneHundredAndSixtyTwo$inboundSchema, } from "./onehundredandfiftyone.js";
import { TwoHundredAndEighteen$inboundSchema, TwoHundredAndEleven$inboundSchema, TwoHundredAndFifteen$inboundSchema, TwoHundredAndFifty$inboundSchema, TwoHundredAndFiftyEight$inboundSchema, TwoHundredAndFiftyFive$inboundSchema, TwoHundredAndFiftyFour$inboundSchema, TwoHundredAndFiftyNine$inboundSchema, TwoHundredAndFiftyOne$inboundSchema, TwoHundredAndFiftySeven$inboundSchema, TwoHundredAndFiftySix$inboundSchema, TwoHundredAndFiftyThree$inboundSchema, TwoHundredAndFiftyTwo$inboundSchema, TwoHundredAndForty$inboundSchema, TwoHundredAndFortyEight$inboundSchema, TwoHundredAndFortyFive$inboundSchema, TwoHundredAndFortyFour$inboundSchema, TwoHundredAndFortyNine$inboundSchema, TwoHundredAndFortyOne$inboundSchema, TwoHundredAndFortySeven$inboundSchema, TwoHundredAndFortySix$inboundSchema, TwoHundredAndFortyThree$inboundSchema, TwoHundredAndFortyTwo$inboundSchema, TwoHundredAndFourteen$inboundSchema, TwoHundredAndNine$inboundSchema, TwoHundredAndNineteen$inboundSchema, TwoHundredAndSeventeen$inboundSchema, TwoHundredAndSeventy$inboundSchema, TwoHundredAndSeventyFive$inboundSchema, TwoHundredAndSeventyFour$inboundSchema, TwoHundredAndSeventyOne$inboundSchema, TwoHundredAndSeventySix$inboundSchema, TwoHundredAndSeventyThree$inboundSchema, TwoHundredAndSeventyTwo$inboundSchema, TwoHundredAndSixteen$inboundSchema, TwoHundredAndSixty$inboundSchema, TwoHundredAndSixtyEight$inboundSchema, TwoHundredAndSixtyFive$inboundSchema, TwoHundredAndSixtyFour$inboundSchema, TwoHundredAndSixtyNine$inboundSchema, TwoHundredAndSixtyOne$inboundSchema, TwoHundredAndSixtySeven$inboundSchema, TwoHundredAndSixtySix$inboundSchema, TwoHundredAndSixtyThree$inboundSchema, TwoHundredAndSixtyTwo$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, TwoHundredAndTwelve$inboundSchema, TwoHundredAndTwenty$inboundSchema, TwoHundredAndTwentyEight$inboundSchema, TwoHundredAndTwentyFive$inboundSchema, TwoHundredAndTwentyFour$inboundSchema, TwoHundredAndTwentyNine$inboundSchema, TwoHundredAndTwentyOne$inboundSchema, TwoHundredAndTwentySeven$inboundSchema, TwoHundredAndTwentySix$inboundSchema, TwoHundredAndTwentyThree$inboundSchema, TwoHundredAndTwentyTwo$inboundSchema, } from "./siftroute.js";
import { Eighty$inboundSchema, EightyEight$inboundSchema, EightyFive$inboundSchema, EightyFour$inboundSchema, EightyNine$inboundSchema, EightyOne$inboundSchema, EightySeven$inboundSchema, EightySix$inboundSchema, EightyThree$inboundSchema, EightyTwo$inboundSchema, Fifty$inboundSchema, FiftyEight$inboundSchema, FiftyFive$inboundSchema, FiftyFour$inboundSchema, FiftyNine$inboundSchema, FiftyOne$inboundSchema, FiftySeven$inboundSchema, FiftySix$inboundSchema, FiftyThree$inboundSchema, FiftyTwo$inboundSchema, Forty$inboundSchema, FortyEight$inboundSchema, FortyFive$inboundSchema, FortyFour$inboundSchema, FortyNine$inboundSchema, FortyOne$inboundSchema, FortySeven$inboundSchema, FortySix$inboundSchema, FortyThree$inboundSchema, FortyTwo$inboundSchema, Ninety$inboundSchema, NinetyEight$inboundSchema, NinetyFive$inboundSchema, NinetyFour$inboundSchema, NinetyNine$inboundSchema, NinetyOne$inboundSchema, NinetySeven$inboundSchema, NinetySix$inboundSchema, NinetyThree$inboundSchema, NinetyTwo$inboundSchema, OneHundred$inboundSchema, OneHundredAndFive$inboundSchema, OneHundredAndFour$inboundSchema, OneHundredAndOne$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, ThirtyEight$inboundSchema, ThirtyFive$inboundSchema, ThirtyFour$inboundSchema, ThirtyNine$inboundSchema, ThirtySeven$inboundSchema, ThirtySix$inboundSchema, ThirtyThree$inboundSchema, } from "./thirtythree.js";
import { ThreeHundred$inboundSchema, ThreeHundredAndEight$inboundSchema, ThreeHundredAndEighteen$inboundSchema, ThreeHundredAndEleven$inboundSchema, ThreeHundredAndFifteen$inboundSchema, ThreeHundredAndFive$inboundSchema, ThreeHundredAndForty$inboundSchema, ThreeHundredAndFour$inboundSchema, ThreeHundredAndFourteen$inboundSchema, ThreeHundredAndNine$inboundSchema, ThreeHundredAndNineteen$inboundSchema, ThreeHundredAndOne$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, ThreeHundredAndThree$inboundSchema, ThreeHundredAndTwelve$inboundSchema, ThreeHundredAndTwenty$inboundSchema, ThreeHundredAndTwentyEight$inboundSchema, ThreeHundredAndTwentyFive$inboundSchema, ThreeHundredAndTwentyFour$inboundSchema, ThreeHundredAndTwentyNine$inboundSchema, ThreeHundredAndTwentyOne$inboundSchema, ThreeHundredAndTwentySeven$inboundSchema, ThreeHundredAndTwentySix$inboundSchema, ThreeHundredAndTwentyThree$inboundSchema, ThreeHundredAndTwentyTwo$inboundSchema, ThreeHundredAndTwo$inboundSchema, TwoHundredAndEighty$inboundSchema, TwoHundredAndEightyEight$inboundSchema, TwoHundredAndEightyFive$inboundSchema, TwoHundredAndEightyFour$inboundSchema, TwoHundredAndEightyNine$inboundSchema, TwoHundredAndEightyOne$inboundSchema, TwoHundredAndEightySeven$inboundSchema, TwoHundredAndEightySix$inboundSchema, TwoHundredAndEightyThree$inboundSchema, TwoHundredAndEightyTwo$inboundSchema, TwoHundredAndNinety$inboundSchema, TwoHundredAndNinetyEight$inboundSchema, TwoHundredAndNinetyFive$inboundSchema, TwoHundredAndNinetyFour$inboundSchema, TwoHundredAndNinetyNine$inboundSchema, TwoHundredAndNinetyOne$inboundSchema, TwoHundredAndNinetySeven$inboundSchema, TwoHundredAndNinetySix$inboundSchema, TwoHundredAndNinetyThree$inboundSchema, TwoHundredAndNinetyTwo$inboundSchema, TwoHundredAndSeventyEight$inboundSchema, TwoHundredAndSeventyNine$inboundSchema, TwoHundredAndSeventySeven$inboundSchema, } from "./twohundredandseventyseven.js";
import { FourHundred$inboundSchema, FourHundredAndFive$inboundSchema, FourHundredAndFour$inboundSchema, FourHundredAndOne$inboundSchema, FourHundredAndSeven$inboundSchema, FourHundredAndSix$inboundSchema, FourHundredAndThree$inboundSchema, FourHundredAndTwo$inboundSchema, ThreeHundredAndEighty$inboundSchema, ThreeHundredAndEightyEight$inboundSchema, ThreeHundredAndEightyFive$inboundSchema, ThreeHundredAndEightyFour$inboundSchema, ThreeHundredAndEightyNine$inboundSchema, ThreeHundredAndEightyOne$inboundSchema, ThreeHundredAndEightySeven$inboundSchema, ThreeHundredAndEightySix$inboundSchema, ThreeHundredAndEightyThree$inboundSchema, ThreeHundredAndEightyTwo$inboundSchema, ThreeHundredAndFifty$inboundSchema, ThreeHundredAndFiftyEight$inboundSchema, ThreeHundredAndFiftyFive$inboundSchema, ThreeHundredAndFiftyFour$inboundSchema, ThreeHundredAndFiftyNine$inboundSchema, ThreeHundredAndFiftyOne$inboundSchema, ThreeHundredAndFiftySeven$inboundSchema, ThreeHundredAndFiftySix$inboundSchema, ThreeHundredAndFiftyThree$inboundSchema, ThreeHundredAndFiftyTwo$inboundSchema, ThreeHundredAndFortyEight$inboundSchema, ThreeHundredAndFortyFive$inboundSchema, ThreeHundredAndFortyFour$inboundSchema, ThreeHundredAndFortyNine$inboundSchema, ThreeHundredAndFortyOne$inboundSchema, ThreeHundredAndFortySeven$inboundSchema, ThreeHundredAndFortySix$inboundSchema, ThreeHundredAndFortyThree$inboundSchema, ThreeHundredAndFortyTwo$inboundSchema, ThreeHundredAndNinety$inboundSchema, ThreeHundredAndNinetyEight$inboundSchema, ThreeHundredAndNinetyFive$inboundSchema, ThreeHundredAndNinetyFour$inboundSchema, ThreeHundredAndNinetyNine$inboundSchema, ThreeHundredAndNinetyOne$inboundSchema, ThreeHundredAndNinetySeven$inboundSchema, ThreeHundredAndNinetySix$inboundSchema, ThreeHundredAndNinetyThree$inboundSchema, ThreeHundredAndNinetyTwo$inboundSchema, ThreeHundredAndSeventy$inboundSchema, ThreeHundredAndSeventyEight$inboundSchema, ThreeHundredAndSeventyFive$inboundSchema, ThreeHundredAndSeventyFour$inboundSchema, ThreeHundredAndSeventyNine$inboundSchema, ThreeHundredAndSeventyOne$inboundSchema, ThreeHundredAndSeventySeven$inboundSchema, ThreeHundredAndSeventySix$inboundSchema, ThreeHundredAndSeventyThree$inboundSchema, ThreeHundredAndSeventyTwo$inboundSchema, ThreeHundredAndSixty$inboundSchema, ThreeHundredAndSixtyEight$inboundSchema, ThreeHundredAndSixtyFive$inboundSchema, ThreeHundredAndSixtyFour$inboundSchema, ThreeHundredAndSixtyNine$inboundSchema, ThreeHundredAndSixtyOne$inboundSchema, ThreeHundredAndSixtySeven$inboundSchema, ThreeHundredAndSixtySix$inboundSchema, ThreeHundredAndSixtyThree$inboundSchema, ThreeHundredAndSixtyTwo$inboundSchema, } from "./usereventpayload340budget.js";
export const DefaultMode = {
    Days: "days",
    UntilRequested: "until-requested",
};
export const CeilingMode = {
    Days: "days",
    UntilRequested: "until-requested",
};
export const PayloadScopeType = {
    Project: "project",
    Team: "team",
    User: "user",
};
export const UserEventPayload19RefreshPeriod = {
    Daily: "daily",
    Monthly: "monthly",
    None: "none",
    Weekly: "weekly",
};
export const UserEventPayload19Change = {
    Disable: "disable",
    Enable: "enable",
    Remove: "remove",
    Set: "set",
};
export const ScopeType = {
    ApiKey: "api-key",
    Project: "project",
    Team: "team",
    User: "user",
};
export const UserEventPayloadRefreshPeriod = {
    Daily: "daily",
    Monthly: "monthly",
    None: "none",
    Weekly: "weekly",
};
export const UserEventPayloadChange = {
    Disable: "disable",
    Enable: "enable",
    Remove: "remove",
    Set: "set",
};
export const PayloadChange = {
    Disable: "disable",
    DisableCommitment: "disable-commitment",
    Enable: "enable",
    EnableCommitment: "enable-commitment",
    Update: "update",
};
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 UserEventPayload13Provider = {
    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 UserEventPayload12Provider = {
    Chatgpt: "chatgpt",
    Stripe: "stripe",
};
export const ActorType = {
    Admin: "admin",
};
/**
 * Present on new events only. Equivalent to "stripe" when absent.
 */
export const UserEventPayload11Provider = {
    Chatgpt: "chatgpt",
    Stripe: "stripe",
};
/**
 * Present on new events only. Equivalent to "stripe" when absent.
 */
export const UserEventPayload10Provider = {
    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 UserEventPayload5Action = {
    Read: "read",
};
export const UserEventPayload4Action = {
    Added: "added",
    Deleted: "deleted",
    Rotated: "rotated",
};
export const UserEventPayloadAction = {
    Created: "created",
    Deleted: "deleted",
    Transitioned: "transitioned",
    Updated: "updated",
};
export const PayloadAction = {
    Archived: "archived",
    Created: "created",
    Deleted: "deleted",
    Unarchived: "unarchived",
    Updated: "updated",
};
/** @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 ThirtyTwo$inboundSchema = z.object({
    rule: z.lazy(() => PayloadRule$inboundSchema),
});
export function thirtyTwoFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ThirtyTwo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyTwo' 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 ThirtyOne$inboundSchema = z.object({
    rule: z.lazy(() => Rule$inboundSchema),
});
export function thirtyOneFromJSON(jsonString) {
    return safeParse(jsonString, (x) => ThirtyOne$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ThirtyOne' from JSON`);
}
/** @internal */
export const DefaultMode$inboundSchema = z
    .nativeEnum(DefaultMode);
/** @internal */
export const CeilingMode$inboundSchema = z
    .nativeEnum(CeilingMode);
/** @internal */
export const Retention$inboundSchema = z.object({
    defaultMode: DefaultMode$inboundSchema,
    defaultDays: types.optional(types.number()),
    ceilingMode: CeilingMode$inboundSchema,
    ceilingDays: types.optional(types.number()),
});
export function retentionFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Retention$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Retention' from JSON`);
}
/** @internal */
export const Thirty$inboundSchema = z
    .object({
    retention: z.lazy(() => Retention$inboundSchema),
});
export function thirtyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Thirty$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Thirty' from JSON`);
}
/** @internal */
export const TwentyNine$inboundSchema = z.object({
    regions: z.array(types.string()),
});
export function twentyNineFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TwentyNine$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyNine' from JSON`);
}
/** @internal */
export const PiiRedaction$inboundSchema = z.object({
    from: types.boolean(),
    to: types.boolean(),
});
export function piiRedactionFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PiiRedaction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PiiRedaction' from JSON`);
}
/** @internal */
export const TwentyEight$inboundSchema = z.object({
    piiRedaction: z.lazy(() => PiiRedaction$inboundSchema),
    moderationPolicyCount: types.number(),
    policiesAdded: z.array(types.string()),
    policiesRemoved: z.array(types.string()),
    policiesModified: z.array(types.string()),
});
export function twentyEightFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TwentyEight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyEight' from JSON`);
}
/** @internal */
export const PrivateProvider$inboundSchema = z.object({
    slug: types.string(),
});
export function privateProviderFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PrivateProvider$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PrivateProvider' from JSON`);
}
/** @internal */
export const TwentySeven$inboundSchema = z.object({
    privateProvider: z.lazy(() => PrivateProvider$inboundSchema),
});
export function twentySevenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TwentySeven$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentySeven' from JSON`);
}
/** @internal */
export const PayloadPrivateModel$inboundSchema = z.object({
    slug: types.string(),
});
export function payloadPrivateModelFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PayloadPrivateModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadPrivateModel' from JSON`);
}
/** @internal */
export const TwentySix$inboundSchema = z.object({
    privateModel: z.lazy(() => PayloadPrivateModel$inboundSchema),
});
export function twentySixFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TwentySix$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentySix' from JSON`);
}
/** @internal */
export const PrivateModel$inboundSchema = z.object({
    slug: types.string(),
    providerSlug: types.string(),
});
export function privateModelFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PrivateModel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PrivateModel' from JSON`);
}
/** @internal */
export const TwentyFive$inboundSchema = z.object({
    privateModel: z.lazy(() => PrivateModel$inboundSchema),
});
export function twentyFiveFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TwentyFive$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyFive' from JSON`);
}
/** @internal */
export const TwentyFour$inboundSchema = z.object({
    added: z.array(types.string()),
    removed: 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 TwentyThree$inboundSchema = z.object({
    amount: types.string(),
    purchaseIntentId: types.string(),
});
export function twentyThreeFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TwentyThree$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyThree' from JSON`);
}
/** @internal */
export const TwentyTwo$inboundSchema = z.object({
    enabled: types.boolean(),
});
export function twentyTwoFromJSON(jsonString) {
    return safeParse(jsonString, (x) => TwentyTwo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TwentyTwo' from JSON`);
}
/** @internal */
export const PayloadCredential$inboundSchema = z.object({
    id: types.string(),
    name: types.string(),
    providerSlug: types.string(),
});
export function payloadCredentialFromJSON(jsonString) {
    return safeParse(jsonString, (x) => PayloadCredential$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadCredential' from JSON`);
}
/** @internal */
export const TwentyOne$inboundSchema = z.object({
    credential: z.lazy(() => PayloadCredential$inboundSchema),
    added: z.array(types.string()),
    removed: z.array(types.string()),
    changed: 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 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 Twenty$inboundSchema = z
    .object({
    credential: z.lazy(() => Credential$inboundSchema),
});
export function twentyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Twenty$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Twenty' from JSON`);
}
/** @internal */
export const PayloadScopeType$inboundSchema = z.nativeEnum(PayloadScopeType);
/** @internal */
export const UserEventPayload19RefreshPeriod$inboundSchema = z.nativeEnum(UserEventPayload19RefreshPeriod);
/** @internal */
export const UserEventPayload19Budget$inboundSchema = z.object({
    limitAmount: types.number(),
    refreshPeriod: UserEventPayload19RefreshPeriod$inboundSchema,
    alertThresholds: types.optional(z.array(types.number())),
});
export function userEventPayload19BudgetFromJSON(jsonString) {
    return safeParse(jsonString, (x) => UserEventPayload19Budget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayload19Budget' from JSON`);
}
/** @internal */
export const UserEventPayload19Change$inboundSchema = z.nativeEnum(UserEventPayload19Change);
/** @internal */
export const Nineteen$inboundSchema = z.object({
    scopeType: PayloadScopeType$inboundSchema,
    projectId: types.optional(types.string()),
    projectName: types.optional(types.string()),
    userId: types.optional(types.string()),
    userName: types.optional(types.string()),
    budget: z.nullable(z.lazy(() => UserEventPayload19Budget$inboundSchema))
        .optional(),
    change: UserEventPayload19Change$inboundSchema,
});
export function nineteenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Nineteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Nineteen' from JSON`);
}
/** @internal */
export const ScopeType$inboundSchema = z
    .nativeEnum(ScopeType);
/** @internal */
export const UserEventPayloadRefreshPeriod$inboundSchema = z.nativeEnum(UserEventPayloadRefreshPeriod);
/** @internal */
export const UserEventPayloadBudget$inboundSchema = z.object({
    limitAmount: types.number(),
    refreshPeriod: UserEventPayloadRefreshPeriod$inboundSchema,
    alertThresholds: types.optional(z.array(types.number())),
});
export function userEventPayloadBudgetFromJSON(jsonString) {
    return safeParse(jsonString, (x) => UserEventPayloadBudget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayloadBudget' from JSON`);
}
/** @internal */
export const UserEventPayloadChange$inboundSchema = z.nativeEnum(UserEventPayloadChange);
/** @internal */
export const Eighteen$inboundSchema = z.object({
    scopeType: ScopeType$inboundSchema,
    budget: z.nullable(z.lazy(() => UserEventPayloadBudget$inboundSchema))
        .optional(),
    change: UserEventPayloadChange$inboundSchema,
});
export function eighteenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Eighteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Eighteen' from JSON`);
}
/** @internal */
export const PayloadChange$inboundSchema = z.nativeEnum(PayloadChange);
/** @internal */
export const Settings$inboundSchema = z.object({
    minimumBalance: types.string(),
    targetBalance: types.string(),
    maximumMonthlySpend: types.nullable(types.string()),
});
export function settingsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Settings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Settings' from JSON`);
}
/** @internal */
export const Previous$inboundSchema = z.object({
    minimumBalance: types.string(),
    targetBalance: types.string(),
    maximumMonthlySpend: types.nullable(types.string()),
});
export function previousFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Previous$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Previous' from JSON`);
}
/** @internal */
export const Commitment$inboundSchema = z.object({
    maximumMonthlySpend: types.nullable(types.string()),
    deferredInvoiceTargetBalance: types.string(),
});
export function commitmentFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Commitment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Commitment' from JSON`);
}
/** @internal */
export const Seventeen$inboundSchema = z.object({
    change: PayloadChange$inboundSchema,
    settings: types.optional(z.lazy(() => Settings$inboundSchema)),
    previous: types.optional(z.lazy(() => Previous$inboundSchema)),
    commitment: types.optional(z.lazy(() => Commitment$inboundSchema)),
});
export function seventeenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Seventeen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Seventeen' 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,
    alertThresholds: types.optional(z.array(types.number())),
});
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 Sixteen$inboundSchema = z.object({
    apiKey: z.lazy(() => UserEventPayloadApiKey$inboundSchema),
    budget: z.nullable(z.lazy(() => PayloadBudget$inboundSchema)).optional(),
    change: Change$inboundSchema,
});
export function sixteenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Sixteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Sixteen' 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 Fifteen$inboundSchema = z.object({
    apiKey: z.lazy(() => PayloadApiKey$inboundSchema),
});
export function fifteenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Fifteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Fifteen' from JSON`);
}
/** @internal */
export const UserEventPayload14ApiKey$inboundSchema = z.object({
    id: types.string(),
    name: types.string(),
});
export function userEventPayload14ApiKeyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => UserEventPayload14ApiKey$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserEventPayload14ApiKey' from JSON`);
}
/** @internal */
export const RefreshPeriod$inboundSchema = z.nativeEnum(RefreshPeriod);
/** @internal */
export const Budget$inboundSchema = z
    .object({
    limitAmount: types.number(),
    refreshPeriod: RefreshPeriod$inboundSchema,
    alertThresholds: types.optional(z.array(types.number())),
});
export function budgetFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Budget$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Budget' from JSON`);
}
/** @internal */
export const Fourteen$inboundSchema = z.object({
    apiKey: z.lazy(() => UserEventPayload14ApiKey$inboundSchema),
    budget: z.nullable(z.lazy(() => Budget$inboundSchema)).optional(),
    zdrExemption: types.optional(types.boolean()),
    bypassAll: types.optional(types.boolean()),
});
export function fourteenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Fourteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Fourteen' from JSON`);
}
/** @internal */
export const UserEventPayload13Provider$inboundSchema = z.nativeEnum(UserEventPayload13Provider);
/** @internal */
export const FromPlan$inboundSchema = z
    .nativeEnum(FromPlan);
/** @internal */
export const ToPlan$inboundSchema = z
    .nativeEnum(ToPlan);
/** @internal */
export const Thirteen$inboundSchema = z.object({
    provider: types.optional(UserEventPayload13Provider$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 thirteenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Thirteen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Thirteen' from JSON`);
}
/** @internal */
export const UserEventPayload12Provider$inboundSchema = z.nativeEnum(UserEventPayload12Provider);
/** @internal */
export const ActorType$inboundSchema = z
    .nativeEnum(ActorType);
/** @internal */
export const Twelve$inboundSchema = z
    .object({
    provider: types.optional(UserEventPayload12Provider$inboundSchema),
    providerAccount: types.optional(types.string()),
    stripeAccount: types.optional(types.string()),
    stripeOrganisation: types.optional(types.string()),
    teamId: types.string(),
    actorId: types.string(),
    actorType: ActorType$inboundSchema,
    actorName: types.optional(types.string()),
});
export function twelveFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Twelve$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Twelve' from JSON`);
}
/** @internal */
export const UserEventPayload11Provider$inboundSchema = z.nativeEnum(UserEventPayload11Provider);
/** @internal */
export const Eleven$inboundSchema = z
    .object({
    provider: types.optional(UserEventPayload11Provider$inboundSchema),
    providerAccount: types.optional(types.string()),
    stripeAccount: types.optional(types.string()),
    resourceId: types.string(),
    projectName: types.string(),
});
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 Ten$inboundSchema = z
    .object({
    provider: types.optional(UserEventPayload10Provider$inboundSchema),
    providerAccount: types.optional(types.string()),
    stripeAccount: types.optional(types.string()),
    stripeOrganisation: types.optional(types.string()),
    reason: types.string(),
    blockCode: types.string(),
});
export function tenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Ten$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Ten' from JSON`);
}
/** @internal */
export const UserEventPayloadProvider$inboundSchema = z.nativeEnum(UserEventPayloadProvider);
/** @internal */
export const Nine$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 nineFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Nine$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Nine' from JSON`);
}
/** @internal */
export const PayloadProvider$inboundSchema = z.nativeEnum(PayloadProvider);
/** @internal */
export const Eight$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 eightFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Eight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Eight' from JSON`);
}
/** @internal */
export const Provider$inboundSchema = z
    .nativeEnum(Provider);
/** @internal */
export const Seven$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 sevenFromJSON(jsonString) {
    return safeParse(jsonString, (x) => Seven$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Seven' from JSON`);
}
/** @internal */
export const Six$inboundSchema = z
    .object({
    projectId: types.string(),
    projectName: types.string(),
    policyId: 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 UserEventPayload5Action$inboundSchema = z.nativeEnum(UserEventPayload5Action);
/** @internal */
export const Five$inboundSchema = z
    .object({
    action: UserEventPayload5Action$inboundSchema,
    projectName: types.optional(types.string()),
    projectId: types.optional(types.string()),
    environment: z.array(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 UserEventPayload4Action$inboundSchema = z.nativeEnum(UserEventPayload4Action);
/** @internal */
export const Payload4$inboundSchema = z.object({
    action: UserEventPayload4Action$inboundSchema,
    label: types.optional(types.string()),
    projectName: types.optional(types.string()),
    projectId: types.optional(types.string()),
    environment: types.string(),
});
export function payload4FromJSON(jsonString) {
    return safeParse(jsonString, (x) => Payload4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Payload4' from JSON`);
}
/** @internal */
export const UserEventPayloadAction$inboundSchema = z.nativeEnum(UserEventPayloadAction);
/** @internal */
export const Payload3$inboundSchema = z.object({
    action: UserEventPayloadAction$inboundSchema,
    id: types.string(),
    name: types.string(),
    slug: types.string(),
    state: types.string(),
    projectId: types.string(),
    projectName: types.optional(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 PayloadAction$inboundSchema = z.nativeEnum(PayloadAction);
/** @internal */
export const Payload2$inboundSchema = z.object({
    action: PayloadAction$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([
    ThreeHundredAndFiftySeven$inboundSchema,
    OneHundredAndSeventySeven$inboundSchema,
    OneHundredAndSixtySeven$inboundSchema,
    TwoHundredAndTwentyThree$inboundSchema,
    OneHundredAndSeventyEight$inboundSchema,
    FourHundredAndFortyTwo$inboundSchema,
    OneHundredAndFourteen$inboundSchema,
    OneHundredAndEighty$inboundSchema,
    OneHundredAndEightyOne$inboundSchema,
    TwoHundredAndFifteen$inboundSchema,
    TwoHundredAndSeventyEight$inboundSchema,
    z.lazy(() => Payload3$inboundSchema),
    OneHundredAndFiftyFour$inboundSchema,
    OneHundredAndSeventyOne$inboundSchema,
    OneHundredAndSeventyFive$inboundSchema,
    OneHundredAndSeventyNine$inboundSchema,
    TwoHundredAndFiftySix$inboundSchema,
    ThreeHundredAndEighteen$inboundSchema,
    ThreeHundredAndThirtySix$inboundSchema,
    ThreeHundredAndThirtyEight$inboundSchema,
    z.lazy(() => TwentyEight$inboundSchema),
    OneHundredAndEight$inboundSchema,
    OneHundredAndEleven$inboundSchema,
    OneHundredAndTwelve$inboundSchema,
    OneHundredAndThirteen$inboundSchema,
    OneHundredAndFifteen$inboundSchema,
    OneHundredAndTwentyTwo$inboundSchema,
    OneHundredAndSixtyOne$inboundSchema,
    OneHundredAndSeventy$inboundSchema,
    OneHundredAndSeventySix$inboundSchema,
    TwoHundredAndThree$inboundSchema,
    TwoHundredAndSeven$inboundSchema,
    TwoHundredAndSixtySix$inboundSchema,
    TwoHundredAndEighty$inboundSchema,
    TwoHundredAndNinety$inboundSchema,
    ThreeHundredAndFiftySix$inboundSchema,
    FourHundredAndTwentySix$inboundSchema,
    FourHundredAndTwentyEight$inboundSchema,
    FourHundredAndFortyFive$inboundSchema,
    z.lazy(() => Payload2$inboundSchema),
    z.lazy(() => Thirteen$inboundSchema),
    z.lazy(() => TwentyOne$inboundSchema),
    SixtyThree$inboundSchema,
    SixtyFour$inboundSchema,
    EightyOne$inboundSchema,
    EightyTwo$inboundSchema,
    OneHundredAndTwo$inboundSchema,
    OneHundredAndFour$inboundSchema,
    OneHundredAndTen$inboundSchema,
    OneHundredAndTwenty$inboundSchema,
    OneHundredAndFortyOne$inboundSchema,
    OneHundredAndFortyFive$inboundSchema,
    OneHundredAndSixtyEight$inboundSchema,
    OneHundredAndSixtyNine$inboundSchema,
    OneHundredAndEightyThree$inboundSchema,
    OneHundredAndEightySeven$inboundSchema,
    TwoHundredAndTwo$inboundSchema,
    TwoHundredAndThirteen$inboundSchema,
    TwoHundredAndFourteen$inboundSchema,
    TwoHundredAndSixteen$inboundSchema,
    TwoHundredAndTwentyOne$inboundSchema,
    TwoHundredAndTwentyFour$inboundSchema,
    TwoHundredAndFortyTwo$inboundSchema,
    TwoHundredAndFortyFive$inboundSchema,
    TwoHundredAndFiftyThree$inboundSchema,
    TwoHundredAndFiftySeven$inboundSchema,
    TwoHundredAndFiftyNine$inboundSchema,
    TwoHundredAndSixty$inboundSchema,
    TwoHundredAndSixtyOne$inboundSchema,
    TwoHundredAndSixtyTwo$inboundSchema,
    TwoHundredAndSeventySeven$inboundSchema,
    TwoHundredAndSeventyNine$inboundSchema,
    TwoHundredAndEightyThree$inboundSchema,
    TwoHundredAndNinetyNine$inboundSchema,
    ThreeHundredAndThree$inboundSchema,
    ThreeHundredAndFive$inboundSchema,
    ThreeHundredAndTwelve$inboundSchema,
    ThreeHundredAndThirteen$inboundSchema,
    ThreeHundredAndFourteen$inboundSchema,
    ThreeHundredAndSixteen$inboundSchema,
    ThreeHundredAndTwentyFour$inboundSchema,
    ThreeHundredAndTwentyFive$inboundSchema,
    ThreeHundredAndTwentyEight$inboundSchema,
    ThreeHundredAndThirtyFour$inboundSchema,
    ThreeHundredAndThirtySeven$inboundSchema,
    ThreeHundredAndFortySeven$inboundSchema,
    ThreeHundredAndFortyEight$inboundSchema,
    ThreeHundredAndFiftyFive$inboundSchema,
    ThreeHundredAndSixtyThree$inboundSchema,
    ThreeHundredAndSeventyEight$inboundSchema,
    ThreeHundredAndNinetyFive$inboundSchema,
    FourHundredAndTwentyOne$inboundSchema,
    FourHundredAndTwentyThree$inboundSchema,
    FourHundredAndTwentySeven$inboundSchema,
    FourHundredAndTwentyNine$inboundSchema,
    FourHundredAndThirty$inboundSchema,
    FourHundredAndThirtyOne$inboundSchema,
    FourHundredAndFortyEight$inboundSchema,
    FourHundredAndFortyNine$inboundSchema,
    z.lazy(() => Six$inboundSchema),
    z.lazy(() => Twelve$inboundSchema),
    FortyFour$inboundSchema,
    FortyNine$inboundSchema,
    SeventyTwo$inboundSchema,
    SeventyFive$inboundSchema,
    EightyFive$inboundSchema,
    EightySix$inboundSchema,
    EightySeven$inboundSchema,
    EightyEight$inboundSchema,
    NinetySeven$inboundSchema,
    OneHundredAndNine$inboundSchema,
    OneHundredAndTwentyThree$inboundSchema,
    OneHundredAndTwentyFive$inboundSchema,
    OneHundredAndTwentySeven$inboundSchema,
    OneHundredAndTwentyEight$inboundSchema,
    OneHundredAndTwentyNine$inboundSchema,
    OneHundredAndThirty$inboundSchema,
    OneHundredAndThirtySix$inboundSchema,
    OneHundredAndThirtySeven$inboundSchema,
    OneHundredAndThirtyEight$inboundSchema,
    OneHundredAndForty$inboundSchema,
    OneHundredAndFortyFour$inboundSchema,
    OneHundredAndFortySix$inboundSchema,
    OneHundredAndFiftySix$inboundSchema,
    OneHundredAndFiftySeven$inboundSchema,
    OneHundredAndFiftyEight$inboundSchema,
    OneHundredAndSixtyTwo$inboundSchema,
    OneHundredAndSixtyThree$inboundSchema,
    OneHundredAndSixtyFour$inboundSchema,
    OneHundredAndSeventyTwo$inboundSchema,
    OneHundredAndSeventyThree$inboundSchema,
    OneHundredAndEightyTwo$inboundSchema,
    OneHundredAndEightySix$inboundSchema,
    OneHundredAndNinetyThree$inboundSchema,
    OneHundredAndNinetySix$inboundSchema,
    OneHundredAndNinetyNine$inboundSchema,
    TwoHundredAndFour$inboundSchema,
    TwoHundredAndSix$inboundSchema,
    TwoHundredAndEight$inboundSchema,
    TwoHundredAndNine$inboundSchema,
    TwoHundredAndTen$inboundSchema,
    TwoHundredAndEleven$inboundSchema,
    TwoHundredAndTwelve$inboundSchema,
    TwoHundredAndSeventeen$inboundSchema,
    TwoHundredAndEighteen$inboundSchema,
    TwoHundredAndNineteen$inboundSchema,
    TwoHundredAndTwenty$inboundSchema,
    TwoHundredAndTwentySeven$inboundSchema,
    TwoHundredAndThirtyThree$inboundSchema,
    TwoHundredAndThirtyFive$inboundSchema,
    TwoHundredAndThirtySix$inboundSchema,
    TwoHundredAndThirtyEight$inboundSchema,
    TwoHundredAndForty$inboundSchema,
    TwoHundredAndFortyOne$inboundSchema,
    TwoHundredAndFortyThree$inboundSchema,
    TwoHundredAndFortyFour$inboundSchema,
    TwoHundredAndFortySix$inboundSchema,
    TwoHundredAndFiftyOne$inboundSchema,
    TwoHundredAndFiftyFour$inboundSchema,
    TwoHundredAndFiftyFive$inboundSchema,
    TwoHundredAndSixtyThree$inboundSchema,
    TwoHundredAndSixtyFour$inboundSchema,
    TwoHundredAndSixtyFive$inboundSchema,
    TwoHundredAndSixtySeven$inboundSchema,
    TwoHundredAndSixtyEight$inboundSchema,
    TwoHundredAndSixtyNine$inboundSchema,
    TwoHundredAndSeventy$inboundSchema,
    TwoHundredAndSeventyOne$inboundSchema,
    TwoHundredAndSeventyFour$inboundSchema,
    TwoHundredAndSeventyFive$inboundSchema,
    TwoHundredAndSeventySix$inboundSchema,
    TwoHundredAndEightyOne$inboundSchema,
    TwoHundredAndEightyEight$inboundSchema,
    TwoHundredAndNinetyOne$inboundSchema,
    TwoHundredAndNinetyTwo$inboundSchema,
    ThreeHundredAndSix$inboundSchema,
    ThreeHundredAndSeven$inboundSchema,
    ThreeHundredAndEight$inboundSchema,
    ThreeHundredAndNine$inboundSchema,
    ThreeHundredAndTen$inboundSchema,
    ThreeHundredAndTwentyOne$inboundSchema,
    ThreeHundredAndThirtyNine$inboundSchema,
    ThreeHundredAndFiftyOne$inboundSchema,
    ThreeHundredAndSixty$inboundSchema,
    ThreeHundredAndEightyTwo$inboundSchema,
    FourHundredAndFour$inboundSchema,
    FourHundredAndTen$inboundSchema,
    FourHundredAndEleven$inboundSchema,
    FourHundredAndThirteen$inboundSchema,
    FourHundredAndTwentyFour$inboundSchema,
    FourHundredAndTwentyFive$inboundSchema,
    FourHundredAndThirtyFive$inboundSchema,
    FourHundredAndThirtySix$inboundSchema,
    FourHundredAndThirtySeven$inboundSchema,
    FourHundredAndThirtyEight$inboundSchema,
    FourHundredAndFortyFour$inboundSchema,
    z.lazy(() => Payload4$inboundSchema),
    z.lazy(() => Five$inboundSchema),
    z.lazy(() => Seven$inboundSchema),
    z.lazy(() => Nine$inboundSchema),
    z.lazy(() => Ten$inboundSchema),
    z.lazy(() => Eleven$inboundSchema),
    z.lazy(() => Sixteen$inboundSchema),
    z.lazy(() => Eighteen$inboundSchema),
    z.lazy(() => Nineteen$inboundSchema),
    z.lazy(() => TwentyThree$inboundSchema),
    z.lazy(() => TwentyFour$inboundSchema),
    ThirtySix$inboundSchema,
    ThirtySeven$inboundSchema,
    ThirtyNine$inboundSchema,
    FortyTwo$inboundSchema,
    Fifty$inboundSchema,
    FiftyThree$inboundSchema,
    FiftyFive$inboundSchema,
    Sixty$inboundSchema,
    SixtyOne$inboundSchema,
    SixtyEight$inboundSchema,
    SixtyNine$inboundSchema,
    Seventy$inboundSchema,
    SeventyThree$inboundSchema,
    SeventyEight$inboundSchema,
    EightyThree$inboundSchema,
    NinetyOne$inboundSchema,
    NinetyTwo$inboundSchema,
    NinetyThree$inboundSchema,
    NinetyFour$inboundSchema,
    NinetyFive$inboundSchema,
    OneHundred$inboundSchema,
    OneHundredAndThree$inboundSchema,
    OneHundredAndSeventeen$inboundSchema,
    OneHundredAndEighteen$inboundSchema,
    OneHundredAndTwentyOne$inboundSchema,
    OneHundredAndTwentySix$inboundSchema,
    OneHundredAndThirtyFour$inboundSchema,
    OneHundredAndThirtyNine$inboundSchema,
    OneHundredAndFortyTwo$inboundSchema,
    OneHundredAndFortyThree$inboundSchema,
    OneHundredAndFortySeven$inboundSchema,
    OneHundredAndFortyEight$inboundSchema,
    OneHundredAndFiftyTwo$inboundSchema,
    OneHundredAndSeventyFour$inboundSchema,
    OneHundredAndEightyFour$inboundSchema,
    OneHundredAndEightyFive$inboundSchema,
    OneHundredAndNinety$inboundSchema,
    OneHundredAndNinetySeven$inboundSchema,
    OneHundredAndNinetyEight$inboundSchema,
    TwoHundred$inboundSchema,
    TwoHundredAndFive$inboundSchema,
    TwoHundredAndTwentyTwo$inboundSchema,
    TwoHundredAndTwentyFive$inboundSchema,
    TwoHundredAndThirtyOne$inboundSchema,
    TwoHundredAndThirtyTwo$inboundSchema,
    TwoHundredAndThirtyFour$inboundSchema,
    TwoHundredAndThirtyNine$inboundSchema,
    TwoHundredAndFortyNine$inboundSchema,
    TwoHundredAndFiftyTwo$inboundSchema,
    TwoHundredAndFiftyEight$inboundSchema,
    TwoHundredAndEightyFour$inboundSchema,
    TwoHundredAndEightySix$inboundSchema,
    TwoHundredAndEightySeven$inboundSchema,
    TwoHundredAndEightyNine$inboundSchema,
    TwoHundredAndNinetyThree$inboundSchema,
    TwoHundredAndNinetyFour$inboundSchema,
    TwoHundredAndNinetySix$inboundSchema,
    TwoHundredAndNinetyEight$inboundSchema,
    ThreeHundred$inboundSchema,
    ThreeHundredAndOne$inboundSchema,
    ThreeHundredAndTwo$inboundSchema,
    ThreeHundredAndFour$inboundSchema,
    ThreeHundredAndEleven$inboundSchema,
    ThreeHundredAndFifteen$inboundSchema,
    ThreeHundredAndSeventeen$inboundSchema,
    ThreeHundredAndTwenty$inboundSchema,
    ThreeHundredAndTwentyTwo$inboundSchema,
    ThreeHundredAndTwentyThree$inboundSchema,
    ThreeHundredAndTwentySix$inboundSchema,
    ThreeHundredAndTwentySeven$inboundSchema,
    ThreeHundredAndThirty$inboundSchema,
    ThreeHundredAndThirtyOne$inboundSchema,
    ThreeHundredAndThirtyTwo$inboundSchema,
    ThreeHundredAndFortySix$inboundSchema,
    ThreeHundredAndFortyNine$inboundSchema,
    ThreeHundredAndFiftyEight$inboundSchema,
    ThreeHundredAndSixtyOne$inboundSchema,
    ThreeHundredAndSixtyFour$inboundSchema,
    ThreeHundredAndSixtySix$inboundSchema,
    ThreeHundredAndSeventyOne$inboundSchema,
    ThreeHundredAndSeventyTwo$inboundSchema,
    ThreeHundredAndEighty$inboundSchema,
    ThreeHundredAndEightyFive$inboundSchema,
    ThreeHundredAndEightySix$inboundSchema,
    ThreeHundredAndNinetyOne$inboundSchema,
    ThreeHundredAndNinetyThree$inboundSchema,
    ThreeHundredAndNinetyEight$inboundSchema,
    ThreeHundredAndNinetyNine$inboundSchema,
    FourHundredAndTwo$inboundSchema,
    FourHundredAndSeven$inboundSchema,
    FourHundredAndEight$inboundSchema,
    FourHundredAndNine$inboundSchema,
    FourHundredAndTwelve$inboundSchema,
    FourHundredAndFourteen$inboundSchema,
    FourHundredAndFifteen$inboundSchema,
    FourHundredAndNineteen$inboundSchema,
    FourHundredAndTwenty$inboundSchema,
    FourHundredAndTwentyTwo$inboundSchema,
    FourHundredAndThirtyThree$inboundSchema,
    FourHundredAndForty$inboundSchema,
    FourHundredAndFortyThree$inboundSchema,
    FourHundredAndFortySeven$inboundSchema,
    FourHundredAndFifty$inboundSchema,
    z.lazy(() => Eight$inboundSchema),
    z.lazy(() => Fourteen$inboundSchema),
    z.lazy(() => Fifteen$inboundSchema),
    z.lazy(() => Seventeen$inboundSchema),
    z.lazy(() => Twenty$inboundSchema),
    z.lazy(() => TwentyTwo$inboundSchema),
    z.lazy(() => TwentyFive$inboundSchema),
    z.lazy(() => TwentySix$inboundSchema),
    z.lazy(() => TwentySeven$inboundSchema),
    z.lazy(() => TwentyNine$inboundSchema),
    z.lazy(() => Thirty$inboundSchema),
    z.lazy(() => ThirtyOne$inboundSchema),
    z.lazy(() => ThirtyTwo$inboundSchema),
    ThirtyThree$inboundSchema,
    ThirtyFour$inboundSchema,
    ThirtyFive$inboundSchema,
    ThirtyEight$inboundSchema,
    FortyThree$inboundSchema,
    FiftyFour$inboundSchema,
    FiftySix$inboundSchema,
    FiftySeven$inboundSchema,
    FiftyEight$inboundSchema,
    FiftyNine$inboundSchema,
    SixtyFive$inboundSchema,
    SixtySix$inboundSchema,
    SixtySeven$inboundSchema,
    SeventyOne$inboundSchema,
    SeventyFour$inboundSchema,
    SeventySeven$inboundSchema,
    SeventyNine$inboundSchema,
    EightyFour$inboundSchema,
    EightyNine$inboundSchema,
    Ninety$inboundSchema,
    NinetyEight$inboundSchema,
    NinetyNine$inboundSchema,
    OneHundredAndOne$inboundSchema,
    OneHundredAndFive$inboundSchema,
    OneHundredAndSix$inboundSchema,
    OneHundredAndSeven$inboundSchema,
    OneHundredAndSixteen$inboundSchema,
    OneHundredAndNineteen$inboundSchema,
    OneHundredAndTwentyFour$inboundSchema,
    OneHundredAndThirtyOne$inboundSchema,
    OneHundredAndThirtyTwo$inboundSchema,
    OneHundredAndThirtyThree$inboundSchema,
    OneHundredAndThirtyFive$inboundSchema,
    OneHundredAndFortyNine$inboundSchema,
    OneHundredAndFiftyNine$inboundSchema,
    OneHundredAndSixty$inboundSchema,
    OneHundredAndSixtyFive$inboundSchema,
    OneHundredAndSixtySix$inboundSchema,
    OneHundredAndEightyEight$inboundSchema,
    OneHundredAndEightyNine$inboundSchema,
    OneHundredAndNinetyOne$inboundSchema,
    OneHundredAndNinetyFour$inboundSchema,
    OneHundredAndNinetyFive$inboundSchema,
    TwoHundredAndOne$inboundSchema,
    TwoHundredAndTwentySix$inboundSchema,
    TwoHundredAndThirty$inboundSchema,
    TwoHundredAndThirtySeven$inboundSchema,
    TwoHundredAndFifty$inboundSchema,
    TwoHundredAndSeventyTwo$inboundSchema,
    TwoHundredAndSeventyThree$inboundSchema,
    TwoHundredAndEightyTwo$inboundSchema,
    TwoHundredAndEightyFive$inboundSchema,
    TwoHundredAndNinetyFive$inboundSchema,
    TwoHundredAndNinetySeven$inboundSchema,
    ThreeHundredAndNineteen$inboundSchema,
    ThreeHundredAndTwentyNine$inboundSchema,
    ThreeHundredAndThirtyThree$inboundSchema,
    ThreeHundredAndForty$inboundSchema,
    ThreeHundredAndFortyOne$inboundSchema,
    ThreeHundredAndFortyTwo$inboundSchema,
    ThreeHundredAndFortyThree$inboundSchema,
    ThreeHundredAndFortyFive$inboundSchema,
    ThreeHundredAndFifty$inboundSchema,
    ThreeHundredAndFiftyThree$inboundSchema,
    ThreeHundredAndFiftyFour$inboundSchema,
    ThreeHundredAndSixtyTwo$inboundSchema,
    ThreeHundredAndSixtyEight$inboundSchema,
    ThreeHundredAndSixtyNine$inboundSchema,
    ThreeHundredAndSeventyFour$inboundSchema,
    ThreeHundredAndSeventyFive$inboundSchema,
    ThreeHundredAndSeventySix$inboundSchema,
    ThreeHundredAndSeventySeven$inboundSchema,
    ThreeHundredAndSeventyNine$inboundSchema,
    ThreeHundredAndEightyOne$inboundSchema,
    ThreeHundredAndEightySeven$inboundSchema,
    ThreeHundredAndEightyNine$inboundSchema,
    ThreeHundredAndNinety$inboundSchema,
    ThreeHundredAndNinetyFour$inboundSchema,
    ThreeHundredAndNinetySix$inboundSchema,
    FourHundred$inboundSchema,
    FourHundredAndThree$inboundSchema,
    FourHundredAndFive$inboundSchema,
    FourHundredAndSix$inboundSchema,
    FourHundredAndSixteen$inboundSchema,
    FourHundredAndSeventeen$inboundSchema,
    FourHundredAndEighteen$inboundSchema,
    FourHundredAndThirtyTwo$inboundSchema,
    FourHundredAndThirtyFour$inboundSchema,
    FourHundredAndThirtyNine$inboundSchema,
    FourHundredAndFortyOne$inboundSchema,
    FourHundredAndFortySix$inboundSchema,
    z.lazy(() => Payload1$inboundSchema),
    Forty$inboundSchema,
    FortyOne$inboundSchema,
    FortyFive$inboundSchema,
    FortySix$inboundSchema,
    FortySeven$inboundSchema,
    FortyEight$inboundSchema,
    FiftyOne$inboundSchema,
    FiftyTwo$inboundSchema,
    SixtyTwo$inboundSchema,
    SeventySix$inboundSchema,
    Eighty$inboundSchema,
    NinetySix$inboundSchema,
    OneHundredAndFifty$inboundSchema,
    OneHundredAndFiftyOne$inboundSchema,
    OneHundredAndFiftyThree$inboundSchema,
    OneHundredAndFiftyFive$inboundSchema,
    OneHundredAndNinetyTwo$inboundSchema,
    TwoHundredAndTwentyEight$inboundSchema,
    TwoHundredAndTwentyNine$inboundSchema,
    TwoHundredAndFortySeven$inboundSchema,
    TwoHundredAndFortyEight$inboundSchema,
    ThreeHundredAndThirtyFive$inboundSchema,
    ThreeHundredAndFortyFour$inboundSchema,
    ThreeHundredAndFiftyTwo$inboundSchema,
    ThreeHundredAndFiftyNine$inboundSchema,
    ThreeHundredAndSixtyFive$inboundSchema,
    ThreeHundredAndSixtySeven$inboundSchema,
    ThreeHundredAndSeventy$inboundSchema,
    ThreeHundredAndSeventyThree$inboundSchema,
    ThreeHundredAndEightyThree$inboundSchema,
    ThreeHundredAndEightyFour$inboundSchema,
    ThreeHundredAndEightyEight$inboundSchema,
    ThreeHundredAndNinetyTwo$inboundSchema,
    ThreeHundredAndNinetySeven$inboundSchema,
    FourHundredAndOne$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(UserEventType$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())),
    tokenId: types.optional(types.string()),
    sessionId: types.optional(types.string()),
    requestId: types.optional(types.string()),
    payload: types.optional(smartUnion([
        ThreeHundredAndFiftySeven$inboundSchema,
        OneHundredAndSeventySeven$inboundSchema,
        OneHundredAndSixtySeven$inboundSchema,
        TwoHundredAndTwentyThree$inboundSchema,
        OneHundredAndSeventyEight$inboundSchema,
        FourHundredAndFortyTwo$inboundSchema,
        OneHundredAndFourteen$inboundSchema,
        OneHundredAndEighty$inboundSchema,
        OneHundredAndEightyOne$inboundSchema,
        TwoHundredAndFifteen$inboundSchema,
        TwoHundredAndSeventyEight$inboundSchema,
        z.lazy(() => Payload3$inboundSchema),
        OneHundredAndFiftyFour$inboundSchema,
        OneHundredAndSeventyOne$inboundSchema,
        OneHundredAndSeventyFive$inboundSchema,
        OneHundredAndSeventyNine$inboundSchema,
        TwoHundredAndFiftySix$inboundSchema,
        ThreeHundredAndEighteen$inboundSchema,
        ThreeHundredAndThirtySix$inboundSchema,
        ThreeHundredAndThirtyEight$inboundSchema,
        z.lazy(() => TwentyEight$inboundSchema),
        OneHundredAndEight$inboundSchema,
        OneHundredAndEleven$inboundSchema,
        OneHundredAndTwelve$inboundSchema,
        OneHundredAndThirteen$inboundSchema,
        OneHundredAndFifteen$inboundSchema,
        OneHundredAndTwentyTwo$inboundSchema,
        OneHundredAndSixtyOne$inboundSchema,
        OneHundredAndSeventy$inboundSchema,
        OneHundredAndSeventySix$inboundSchema,
        TwoHundredAndThree$inboundSchema,
        TwoHundredAndSeven$inboundSchema,
        TwoHundredAndSixtySix$inboundSchema,
        TwoHundredAndEighty$inboundSchema,
        TwoHundredAndNinety$inboundSchema,
        ThreeHundredAndFiftySix$inboundSchema,
        FourHundredAndTwentySix$inboundSchema,
        FourHundredAndTwentyEight$inboundSchema,
        FourHundredAndFortyFive$inboundSchema,
        z.lazy(() => Payload2$inboundSchema),
        z.lazy(() => Thirteen$inboundSchema),
        z.lazy(() => TwentyOne$inboundSchema),
        SixtyThree$inboundSchema,
        SixtyFour$inboundSchema,
        EightyOne$inboundSchema,
        EightyTwo$inboundSchema,
        OneHundredAndTwo$inboundSchema,
        OneHundredAndFour$inboundSchema,
        OneHundredAndTen$inboundSchema,
        OneHundredAndTwenty$inboundSchema,
        OneHundredAndFortyOne$inboundSchema,
        OneHundredAndFortyFive$inboundSchema,
        OneHundredAndSixtyEight$inboundSchema,
        OneHundredAndSixtyNine$inboundSchema,
        OneHundredAndEightyThree$inboundSchema,
        OneHundredAndEightySeven$inboundSchema,
        TwoHundredAndTwo$inboundSchema,
        TwoHundredAndThirteen$inboundSchema,
        TwoHundredAndFourteen$inboundSchema,
        TwoHundredAndSixteen$inboundSchema,
        TwoHundredAndTwentyOne$inboundSchema,
        TwoHundredAndTwentyFour$inboundSchema,
        TwoHundredAndFortyTwo$inboundSchema,
        TwoHundredAndFortyFive$inboundSchema,
        TwoHundredAndFiftyThree$inboundSchema,
        TwoHundredAndFiftySeven$inboundSchema,
        TwoHundredAndFiftyNine$inboundSchema,
        TwoHundredAndSixty$inboundSchema,
        TwoHundredAndSixtyOne$inboundSchema,
        TwoHundredAndSixtyTwo$inboundSchema,
        TwoHundredAndSeventySeven$inboundSchema,
        TwoHundredAndSeventyNine$inboundSchema,
        TwoHundredAndEightyThree$inboundSchema,
        TwoHundredAndNinetyNine$inboundSchema,
        ThreeHundredAndThree$inboundSchema,
        ThreeHundredAndFive$inboundSchema,
        ThreeHundredAndTwelve$inboundSchema,
        ThreeHundredAndThirteen$inboundSchema,
        ThreeHundredAndFourteen$inboundSchema,
        ThreeHundredAndSixteen$inboundSchema,
        ThreeHundredAndTwentyFour$inboundSchema,
        ThreeHundredAndTwentyFive$inboundSchema,
        ThreeHundredAndTwentyEight$inboundSchema,
        ThreeHundredAndThirtyFour$inboundSchema,
        ThreeHundredAndThirtySeven$inboundSchema,
        ThreeHundredAndFortySeven$inboundSchema,
        ThreeHundredAndFortyEight$inboundSchema,
        ThreeHundredAndFiftyFive$inboundSchema,
        ThreeHundredAndSixtyThree$inboundSchema,
        ThreeHundredAndSeventyEight$inboundSchema,
        ThreeHundredAndNinetyFive$inboundSchema,
        FourHundredAndTwentyOne$inboundSchema,
        FourHundredAndTwentyThree$inboundSchema,
        FourHundredAndTwentySeven$inboundSchema,
        FourHundredAndTwentyNine$inboundSchema,
        FourHundredAndThirty$inboundSchema,
        FourHundredAndThirtyOne$inboundSchema,
        FourHundredAndFortyEight$inboundSchema,
        FourHundredAndFortyNine$inboundSchema,
        z.lazy(() => Six$inboundSchema),
        z.lazy(() => Twelve$inboundSchema),
        FortyFour$inboundSchema,
        FortyNine$inboundSchema,
        SeventyTwo$inboundSchema,
        SeventyFive$inboundSchema,
        EightyFive$inboundSchema,
        EightySix$inboundSchema,
        EightySeven$inboundSchema,
        EightyEight$inboundSchema,
        NinetySeven$inboundSchema,
        OneHundredAndNine$inboundSchema,
        OneHundredAndTwentyThree$inboundSchema,
        OneHundredAndTwentyFive$inboundSchema,
        OneHundredAndTwentySeven$inboundSchema,
        OneHundredAndTwentyEight$inboundSchema,
        OneHundredAndTwentyNine$inboundSchema,
        OneHundredAndThirty$inboundSchema,
        OneHundredAndThirtySix$inboundSchema,
        OneHundredAndThirtySeven$inboundSchema,
        OneHundredAndThirtyEight$inboundSchema,
        OneHundredAndForty$inboundSchema,
        OneHundredAndFortyFour$inboundSchema,
        OneHundredAndFortySix$inboundSchema,
        OneHundredAndFiftySix$inboundSchema,
        OneHundredAndFiftySeven$inboundSchema,
        OneHundredAndFiftyEight$inboundSchema,
        OneHundredAndSixtyTwo$inboundSchema,
        OneHundredAndSixtyThree$inboundSchema,
        OneHundredAndSixtyFour$inboundSchema,
        OneHundredAndSeventyTwo$inboundSchema,
        OneHundredAndSeventyThree$inboundSchema,
        OneHundredAndEightyTwo$inboundSchema,
        OneHundredAndEightySix$inboundSchema,
        OneHundredAndNinetyThree$inboundSchema,
        OneHundredAndNinetySix$inboundSchema,
        OneHundredAndNinetyNine$inboundSchema,
        TwoHundredAndFour$inboundSchema,
        TwoHundredAndSix$inboundSchema,
        TwoHundredAndEight$inboundSchema,
        TwoHundredAndNine$inboundSchema,
        TwoHundredAndTen$inboundSchema,
        TwoHundredAndEleven$inboundSchema,
        TwoHundredAndTwelve$inboundSchema,
        TwoHundredAndSeventeen$inboundSchema,
        TwoHundredAndEighteen$inboundSchema,
        TwoHundredAndNineteen$inboundSchema,
        TwoHundredAndTwenty$inboundSchema,
        TwoHundredAndTwentySeven$inboundSchema,
        TwoHundredAndThirtyThree$inboundSchema,
        TwoHundredAndThirtyFive$inboundSchema,
        TwoHundredAndThirtySix$inboundSchema,
        TwoHundredAndThirtyEight$inboundSchema,
        TwoHundredAndForty$inboundSchema,
        TwoHundredAndFortyOne$inboundSchema,
        TwoHundredAndFortyThree$inboundSchema,
        TwoHundredAndFortyFour$inboundSchema,
        TwoHundredAndFortySix$inboundSchema,
        TwoHundredAndFiftyOne$inboundSchema,
        TwoHundredAndFiftyFour$inboundSchema,
        TwoHundredAndFiftyFive$inboundSchema,
        TwoHundredAndSixtyThree$inboundSchema,
        TwoHundredAndSixtyFour$inboundSchema,
        TwoHundredAndSixtyFive$inboundSchema,
        TwoHundredAndSixtySeven$inboundSchema,
        TwoHundredAndSixtyEight$inboundSchema,
        TwoHundredAndSixtyNine$inboundSchema,
        TwoHundredAndSeventy$inboundSchema,
        TwoHundredAndSeventyOne$inboundSchema,
        TwoHundredAndSeventyFour$inboundSchema,
        TwoHundredAndSeventyFive$inboundSchema,
        TwoHundredAndSeventySix$inboundSchema,
        TwoHundredAndEightyOne$inboundSchema,
        TwoHundredAndEightyEight$inboundSchema,
        TwoHundredAndNinetyOne$inboundSchema,
        TwoHundredAndNinetyTwo$inboundSchema,
        ThreeHundredAndSix$inboundSchema,
        ThreeHundredAndSeven$inboundSchema,
        ThreeHundredAndEight$inboundSchema,
        ThreeHundredAndNine$inboundSchema,
        ThreeHundredAndTen$inboundSchema,
        ThreeHundredAndTwentyOne$inboundSchema,
        ThreeHundredAndThirtyNine$inboundSchema,
        ThreeHundredAndFiftyOne$inboundSchema,
        ThreeHundredAndSixty$inboundSchema,
        ThreeHundredAndEightyTwo$inboundSchema,
        FourHundredAndFour$inboundSchema,
        FourHundredAndTen$inboundSchema,
        FourHundredAndEleven$inboundSchema,
        FourHundredAndThirteen$inboundSchema,
        FourHundredAndTwentyFour$inboundSchema,
        FourHundredAndTwentyFive$inboundSchema,
        FourHundredAndThirtyFive$inboundSchema,
        FourHundredAndThirtySix$inboundSchema,
        FourHundredAndThirtySeven$inboundSchema,
        FourHundredAndThirtyEight$inboundSchema,
        FourHundredAndFortyFour$inboundSchema,
        z.lazy(() => Payload4$inboundSchema),
        z.lazy(() => Five$inboundSchema),
        z.lazy(() => Seven$inboundSchema),
        z.lazy(() => Nine$inboundSchema),
        z.lazy(() => Ten$inboundSchema),
        z.lazy(() => Eleven$inboundSchema),
        z.lazy(() => Sixteen$inboundSchema),
        z.lazy(() => Eighteen$inboundSchema),
        z.lazy(() => Nineteen$inboundSchema),
        z.lazy(() => TwentyThree$inboundSchema),
        z.lazy(() => TwentyFour$inboundSchema),
        ThirtySix$inboundSchema,
        ThirtySeven$inboundSchema,
        ThirtyNine$inboundSchema,
        FortyTwo$inboundSchema,
        Fifty$inboundSchema,
        FiftyThree$inboundSchema,
        FiftyFive$inboundSchema,
        Sixty$inboundSchema,
        SixtyOne$inboundSchema,
        SixtyEight$inboundSchema,
        SixtyNine$inboundSchema,
        Seventy$inboundSchema,
        SeventyThree$inboundSchema,
        SeventyEight$inboundSchema,
        EightyThree$inboundSchema,
        NinetyOne$inboundSchema,
        NinetyTwo$inboundSchema,
        NinetyThree$inboundSchema,
        NinetyFour$inboundSchema,
        NinetyFive$inboundSchema,
        OneHundred$inboundSchema,
        OneHundredAndThree$inboundSchema,
        OneHundredAndSeventeen$inboundSchema,
        OneHundredAndEighteen$inboundSchema,
        OneHundredAndTwentyOne$inboundSchema,
        OneHundredAndTwentySix$inboundSchema,
        OneHundredAndThirtyFour$inboundSchema,
        OneHundredAndThirtyNine$inboundSchema,
        OneHundredAndFortyTwo$inboundSchema,
        OneHundredAndFortyThree$inboundSchema,
        OneHundredAndFortySeven$inboundSchema,
        OneHundredAndFortyEight$inboundSchema,
        OneHundredAndFiftyTwo$inboundSchema,
        OneHundredAndSeventyFour$inboundSchema,
        OneHundredAndEightyFour$inboundSchema,
        OneHundredAndEightyFive$inboundSchema,
        OneHundredAndNinety$inboundSchema,
        OneHundredAndNinetySeven$inboundSchema,
        OneHundredAndNinetyEight$inboundSchema,
        TwoHundred$inboundSchema,
        TwoHundredAndFive$inboundSchema,
        TwoHundredAndTwentyTwo$inboundSchema,
        TwoHundredAndTwentyFive$inboundSchema,
        TwoHundredAndThirtyOne$inboundSchema,
        TwoHundredAndThirtyTwo$inboundSchema,
        TwoHundredAndThirtyFour$inboundSchema,
        TwoHundredAndThirtyNine$inboundSchema,
        TwoHundredAndFortyNine$inboundSchema,
        TwoHundredAndFiftyTwo$inboundSchema,
        TwoHundredAndFiftyEight$inboundSchema,
        TwoHundredAndEightyFour$inboundSchema,
        TwoHundredAndEightySix$inboundSchema,
        TwoHundredAndEightySeven$inboundSchema,
        TwoHundredAndEightyNine$inboundSchema,
        TwoHundredAndNinetyThree$inboundSchema,
        TwoHundredAndNinetyFour$inboundSchema,
        TwoHundredAndNinetySix$inboundSchema,
        TwoHundredAndNinetyEight$inboundSchema,
        ThreeHundred$inboundSchema,
        ThreeHundredAndOne$inboundSchema,
        ThreeHundredAndTwo$inboundSchema,
        ThreeHundredAndFour$inboundSchema,
        ThreeHundredAndEleven$inboundSchema,
        ThreeHundredAndFifteen$inboundSchema,
        ThreeHundredAndSeventeen$inboundSchema,
        ThreeHundredAndTwenty$inboundSchema,
        ThreeHundredAndTwentyTwo$inboundSchema,
        ThreeHundredAndTwentyThree$inboundSchema,
        ThreeHundredAndTwentySix$inboundSchema,
        ThreeHundredAndTwentySeven$inboundSchema,
        ThreeHundredAndThirty$inboundSchema,
        ThreeHundredAndThirtyOne$inboundSchema,
        ThreeHundredAndThirtyTwo$inboundSchema,
        ThreeHundredAndFortySix$inboundSchema,
        ThreeHundredAndFortyNine$inboundSchema,
        ThreeHundredAndFiftyEight$inboundSchema,
        ThreeHundredAndSixtyOne$inboundSchema,
        ThreeHundredAndSixtyFour$inboundSchema,
        ThreeHundredAndSixtySix$inboundSchema,
        ThreeHundredAndSeventyOne$inboundSchema,
        ThreeHundredAndSeventyTwo$inboundSchema,
        ThreeHundredAndEighty$inboundSchema,
        ThreeHundredAndEightyFive$inboundSchema,
        ThreeHundredAndEightySix$inboundSchema,
        ThreeHundredAndNinetyOne$inboundSchema,
        ThreeHundredAndNinetyThree$inboundSchema,
        ThreeHundredAndNinetyEight$inboundSchema,
        ThreeHundredAndNinetyNine$inboundSchema,
        FourHundredAndTwo$inboundSchema,
        FourHundredAndSeven$inboundSchema,
        FourHundredAndEight$inboundSchema,
        FourHundredAndNine$inboundSchema,
        FourHundredAndTwelve$inboundSchema,
        FourHundredAndFourteen$inboundSchema,
        FourHundredAndFifteen$inboundSchema,
        FourHundredAndNineteen$inboundSchema,
        FourHundredAndTwenty$inboundSchema,
        FourHundredAndTwentyTwo$inboundSchema,
        FourHundredAndThirtyThree$inboundSchema,
        FourHundredAndForty$inboundSchema,
        FourHundredAndFortyThree$inboundSchema,
        FourHundredAndFortySeven$inboundSchema,
        FourHundredAndFifty$inboundSchema,
        z.lazy(() => Eight$inboundSchema),
        z.lazy(() => Fourteen$inboundSchema),
        z.lazy(() => Fifteen$inboundSchema),
        z.lazy(() => Seventeen$inboundSchema),
        z.lazy(() => Twenty$inboundSchema),
        z.lazy(() => TwentyTwo$inboundSchema),
        z.lazy(() => TwentyFive$inboundSchema),
        z.lazy(() => TwentySix$inboundSchema),
        z.lazy(() => TwentySeven$inboundSchema),
        z.lazy(() => TwentyNine$inboundSchema),
        z.lazy(() => Thirty$inboundSchema),
        z.lazy(() => ThirtyOne$inboundSchema),
        z.lazy(() => ThirtyTwo$inboundSchema),
        ThirtyThree$inboundSchema,
        ThirtyFour$inboundSchema,
        ThirtyFive$inboundSchema,
        ThirtyEight$inboundSchema,
        FortyThree$inboundSchema,
        FiftyFour$inboundSchema,
        FiftySix$inboundSchema,
        FiftySeven$inboundSchema,
        FiftyEight$inboundSchema,
        FiftyNine$inboundSchema,
        SixtyFive$inboundSchema,
        SixtySix$inboundSchema,
        SixtySeven$inboundSchema,
        SeventyOne$inboundSchema,
        SeventyFour$inboundSchema,
        SeventySeven$inboundSchema,
        SeventyNine$inboundSchema,
        EightyFour$inboundSchema,
        EightyNine$inboundSchema,
        Ninety$inboundSchema,
        NinetyEight$inboundSchema,
        NinetyNine$inboundSchema,
        OneHundredAndOne$inboundSchema,
        OneHundredAndFive$inboundSchema,
        OneHundredAndSix$inboundSchema,
        OneHundredAndSeven$inboundSchema,
        OneHundredAndSixteen$inboundSchema,
        OneHundredAndNineteen$inboundSchema,
        OneHundredAndTwentyFour$inboundSchema,
        OneHundredAndThirtyOne$inboundSchema,
        OneHundredAndThirtyTwo$inboundSchema,
        OneHundredAndThirtyThree$inboundSchema,
        OneHundredAndThirtyFive$inboundSchema,
        OneHundredAndFortyNine$inboundSchema,
        OneHundredAndFiftyNine$inboundSchema,
        OneHundredAndSixty$inboundSchema,
        OneHundredAndSixtyFive$inboundSchema,
        OneHundredAndSixtySix$inboundSchema,
        OneHundredAndEightyEight$inboundSchema,
        OneHundredAndEightyNine$inboundSchema,
        OneHundredAndNinetyOne$inboundSchema,
        OneHundredAndNinetyFour$inboundSchema,
        OneHundredAndNinetyFive$inboundSchema,
        TwoHundredAndOne$inboundSchema,
        TwoHundredAndTwentySix$inboundSchema,
        TwoHundredAndThirty$inboundSchema,
        TwoHundredAndThirtySeven$inboundSchema,
        TwoHundredAndFifty$inboundSchema,
        TwoHundredAndSeventyTwo$inboundSchema,
        TwoHundredAndSeventyThree$inboundSchema,
        TwoHundredAndEightyTwo$inboundSchema,
        TwoHundredAndEightyFive$inboundSchema,
        TwoHundredAndNinetyFive$inboundSchema,
        TwoHundredAndNinetySeven$inboundSchema,
        ThreeHundredAndNineteen$inboundSchema,
        ThreeHundredAndTwentyNine$inboundSchema,
        ThreeHundredAndThirtyThree$inboundSchema,
        ThreeHundredAndForty$inboundSchema,
        ThreeHundredAndFortyOne$inboundSchema,
        ThreeHundredAndFortyTwo$inboundSchema,
        ThreeHundredAndFortyThree$inboundSchema,
        ThreeHundredAndFortyFive$inboundSchema,
        ThreeHundredAndFifty$inboundSchema,
        ThreeHundredAndFiftyThree$inboundSchema,
        ThreeHundredAndFiftyFour$inboundSchema,
        ThreeHundredAndSixtyTwo$inboundSchema,
        ThreeHundredAndSixtyEight$inboundSchema,
        ThreeHundredAndSixtyNine$inboundSchema,
        ThreeHundredAndSeventyFour$inboundSchema,
        ThreeHundredAndSeventyFive$inboundSchema,
        ThreeHundredAndSeventySix$inboundSchema,
        ThreeHundredAndSeventySeven$inboundSchema,
        ThreeHundredAndSeventyNine$inboundSchema,
        ThreeHundredAndEightyOne$inboundSchema,
        ThreeHundredAndEightySeven$inboundSchema,
        ThreeHundredAndEightyNine$inboundSchema,
        ThreeHundredAndNinety$inboundSchema,
        ThreeHundredAndNinetyFour$inboundSchema,
        ThreeHundredAndNinetySix$inboundSchema,
        FourHundred$inboundSchema,
        FourHundredAndThree$inboundSchema,
        FourHundredAndFive$inboundSchema,
        FourHundredAndSix$inboundSchema,
        FourHundredAndSixteen$inboundSchema,
        FourHundredAndSeventeen$inboundSchema,
        FourHundredAndEighteen$inboundSchema,
        FourHundredAndThirtyTwo$inboundSchema,
        FourHundredAndThirtyFour$inboundSchema,
        FourHundredAndThirtyNine$inboundSchema,
        FourHundredAndFortyOne$inboundSchema,
        FourHundredAndFortySix$inboundSchema,
        z.lazy(() => Payload1$inboundSchema),
        Forty$inboundSchema,
        FortyOne$inboundSchema,
        FortyFive$inboundSchema,
        FortySix$inboundSchema,
        FortySeven$inboundSchema,
        FortyEight$inboundSchema,
        FiftyOne$inboundSchema,
        FiftyTwo$inboundSchema,
        SixtyTwo$inboundSchema,
        SeventySix$inboundSchema,
        Eighty$inboundSchema,
        NinetySix$inboundSchema,
        OneHundredAndFifty$inboundSchema,
        OneHundredAndFiftyOne$inboundSchema,
        OneHundredAndFiftyThree$inboundSchema,
        OneHundredAndFiftyFive$inboundSchema,
        OneHundredAndNinetyTwo$inboundSchema,
        TwoHundredAndTwentyEight$inboundSchema,
        TwoHundredAndTwentyNine$inboundSchema,
        TwoHundredAndFortySeven$inboundSchema,
        TwoHundredAndFortyEight$inboundSchema,
        ThreeHundredAndThirtyFive$inboundSchema,
        ThreeHundredAndFortyFour$inboundSchema,
        ThreeHundredAndFiftyTwo$inboundSchema,
        ThreeHundredAndFiftyNine$inboundSchema,
        ThreeHundredAndSixtyFive$inboundSchema,
        ThreeHundredAndSixtySeven$inboundSchema,
        ThreeHundredAndSeventy$inboundSchema,
        ThreeHundredAndSeventyThree$inboundSchema,
        ThreeHundredAndEightyThree$inboundSchema,
        ThreeHundredAndEightyFour$inboundSchema,
        ThreeHundredAndEightyEight$inboundSchema,
        ThreeHundredAndNinetyTwo$inboundSchema,
        ThreeHundredAndNinetySeven$inboundSchema,
        FourHundredAndOne$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