@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>
4,928 lines • 145 kB
text/typescript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod/v3";
import { safeParse } from "../lib/schemas.js";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import * as types from "../types/primitives.js";
import { smartUnion } from "../types/smartUnion.js";
import {
Categories,
Categories$inboundSchema,
Entities,
Entities$inboundSchema,
FourHundredAndEighteen,
FourHundredAndEighteen$inboundSchema,
FourHundredAndEleven,
FourHundredAndEleven$inboundSchema,
FourHundredAndFifteen,
FourHundredAndFifteen$inboundSchema,
FourHundredAndFifty,
FourHundredAndFifty$inboundSchema,
FourHundredAndFiftyOne,
FourHundredAndFiftyOne$inboundSchema,
FourHundredAndForty,
FourHundredAndForty$inboundSchema,
FourHundredAndFortyEight,
FourHundredAndFortyEight$inboundSchema,
FourHundredAndFortyFive,
FourHundredAndFortyFive$inboundSchema,
FourHundredAndFortyFour,
FourHundredAndFortyFour$inboundSchema,
FourHundredAndFortyNine,
FourHundredAndFortyNine$inboundSchema,
FourHundredAndFortyOne,
FourHundredAndFortyOne$inboundSchema,
FourHundredAndFortySeven,
FourHundredAndFortySeven$inboundSchema,
FourHundredAndFortySix,
FourHundredAndFortySix$inboundSchema,
FourHundredAndFortyThree,
FourHundredAndFortyThree$inboundSchema,
FourHundredAndFortyTwo,
FourHundredAndFortyTwo$inboundSchema,
FourHundredAndFourteen,
FourHundredAndFourteen$inboundSchema,
FourHundredAndNine,
FourHundredAndNine$inboundSchema,
FourHundredAndNineteen,
FourHundredAndNineteen$inboundSchema,
FourHundredAndSeventeen,
FourHundredAndSeventeen$inboundSchema,
FourHundredAndSixteen,
FourHundredAndSixteen$inboundSchema,
FourHundredAndTen,
FourHundredAndTen$inboundSchema,
FourHundredAndThirteen,
FourHundredAndThirteen$inboundSchema,
FourHundredAndThirty,
FourHundredAndThirty$inboundSchema,
FourHundredAndThirtyEight,
FourHundredAndThirtyEight$inboundSchema,
FourHundredAndThirtyFive,
FourHundredAndThirtyFive$inboundSchema,
FourHundredAndThirtyFour,
FourHundredAndThirtyFour$inboundSchema,
FourHundredAndThirtyNine,
FourHundredAndThirtyNine$inboundSchema,
FourHundredAndThirtyOne,
FourHundredAndThirtyOne$inboundSchema,
FourHundredAndThirtySeven,
FourHundredAndThirtySeven$inboundSchema,
FourHundredAndThirtySix,
FourHundredAndThirtySix$inboundSchema,
FourHundredAndThirtyThree,
FourHundredAndThirtyThree$inboundSchema,
FourHundredAndThirtyTwo,
FourHundredAndThirtyTwo$inboundSchema,
FourHundredAndTwelve,
FourHundredAndTwelve$inboundSchema,
FourHundredAndTwenty,
FourHundredAndTwenty$inboundSchema,
FourHundredAndTwentyEight,
FourHundredAndTwentyEight$inboundSchema,
FourHundredAndTwentyFive,
FourHundredAndTwentyFive$inboundSchema,
FourHundredAndTwentyFour,
FourHundredAndTwentyFour$inboundSchema,
FourHundredAndTwentyNine,
FourHundredAndTwentyNine$inboundSchema,
FourHundredAndTwentyOne,
FourHundredAndTwentyOne$inboundSchema,
FourHundredAndTwentySeven,
FourHundredAndTwentySeven$inboundSchema,
FourHundredAndTwentySix,
FourHundredAndTwentySix$inboundSchema,
FourHundredAndTwentyThree,
FourHundredAndTwentyThree$inboundSchema,
FourHundredAndTwentyTwo,
FourHundredAndTwentyTwo$inboundSchema,
Principal,
Principal$inboundSchema,
User,
User$inboundSchema,
UserEventType,
UserEventType$inboundSchema,
Via,
Via$inboundSchema,
} from "./fourhundredandnine.js";
import {
OneHundredAndEight,
OneHundredAndEight$inboundSchema,
OneHundredAndEighteen,
OneHundredAndEighteen$inboundSchema,
OneHundredAndEleven,
OneHundredAndEleven$inboundSchema,
OneHundredAndFifteen,
OneHundredAndFifteen$inboundSchema,
OneHundredAndFifty,
OneHundredAndFifty$inboundSchema,
OneHundredAndFiftyFour,
OneHundredAndFiftyFour$inboundSchema,
OneHundredAndFiftyOne,
OneHundredAndFiftyOne$inboundSchema,
OneHundredAndFiftyThree,
OneHundredAndFiftyThree$inboundSchema,
OneHundredAndFiftyTwo,
OneHundredAndFiftyTwo$inboundSchema,
OneHundredAndForty,
OneHundredAndForty$inboundSchema,
OneHundredAndFortyEight,
OneHundredAndFortyEight$inboundSchema,
OneHundredAndFortyFive,
OneHundredAndFortyFive$inboundSchema,
OneHundredAndFortyFour,
OneHundredAndFortyFour$inboundSchema,
OneHundredAndFortyNine,
OneHundredAndFortyNine$inboundSchema,
OneHundredAndFortyOne,
OneHundredAndFortyOne$inboundSchema,
OneHundredAndFortySeven,
OneHundredAndFortySeven$inboundSchema,
OneHundredAndFortySix,
OneHundredAndFortySix$inboundSchema,
OneHundredAndFortyThree,
OneHundredAndFortyThree$inboundSchema,
OneHundredAndFortyTwo,
OneHundredAndFortyTwo$inboundSchema,
OneHundredAndFourteen,
OneHundredAndFourteen$inboundSchema,
OneHundredAndNine,
OneHundredAndNine$inboundSchema,
OneHundredAndNineteen,
OneHundredAndNineteen$inboundSchema,
OneHundredAndSeven,
OneHundredAndSeven$inboundSchema,
OneHundredAndSeventeen,
OneHundredAndSeventeen$inboundSchema,
OneHundredAndSixteen,
OneHundredAndSixteen$inboundSchema,
OneHundredAndTen,
OneHundredAndTen$inboundSchema,
OneHundredAndThirteen,
OneHundredAndThirteen$inboundSchema,
OneHundredAndThirty,
OneHundredAndThirty$inboundSchema,
OneHundredAndThirtyEight,
OneHundredAndThirtyEight$inboundSchema,
OneHundredAndThirtyFive,
OneHundredAndThirtyFive$inboundSchema,
OneHundredAndThirtyFour,
OneHundredAndThirtyFour$inboundSchema,
OneHundredAndThirtyNine,
OneHundredAndThirtyNine$inboundSchema,
OneHundredAndThirtyOne,
OneHundredAndThirtyOne$inboundSchema,
OneHundredAndThirtySeven,
OneHundredAndThirtySeven$inboundSchema,
OneHundredAndThirtySix,
OneHundredAndThirtySix$inboundSchema,
OneHundredAndThirtyThree,
OneHundredAndThirtyThree$inboundSchema,
OneHundredAndThirtyTwo,
OneHundredAndThirtyTwo$inboundSchema,
OneHundredAndTwelve,
OneHundredAndTwelve$inboundSchema,
OneHundredAndTwenty,
OneHundredAndTwenty$inboundSchema,
OneHundredAndTwentyEight,
OneHundredAndTwentyEight$inboundSchema,
OneHundredAndTwentyFive,
OneHundredAndTwentyFive$inboundSchema,
OneHundredAndTwentyFour,
OneHundredAndTwentyFour$inboundSchema,
OneHundredAndTwentyNine,
OneHundredAndTwentyNine$inboundSchema,
OneHundredAndTwentyOne,
OneHundredAndTwentyOne$inboundSchema,
OneHundredAndTwentySeven,
OneHundredAndTwentySeven$inboundSchema,
OneHundredAndTwentySix,
OneHundredAndTwentySix$inboundSchema,
OneHundredAndTwentyThree,
OneHundredAndTwentyThree$inboundSchema,
OneHundredAndTwentyTwo,
OneHundredAndTwentyTwo$inboundSchema,
} from "./headinfo.js";
import {
Eighty,
Eighty$inboundSchema,
EightyEight,
EightyEight$inboundSchema,
EightyFive,
EightyFive$inboundSchema,
EightyFour,
EightyFour$inboundSchema,
EightyNine,
EightyNine$inboundSchema,
EightyOne,
EightyOne$inboundSchema,
EightySeven,
EightySeven$inboundSchema,
EightySix,
EightySix$inboundSchema,
EightyThree,
EightyThree$inboundSchema,
EightyTwo,
EightyTwo$inboundSchema,
Fifty,
Fifty$inboundSchema,
FiftyEight,
FiftyEight$inboundSchema,
FiftyFive,
FiftyFive$inboundSchema,
FiftyFour,
FiftyFour$inboundSchema,
FiftyNine,
FiftyNine$inboundSchema,
FiftyOne,
FiftyOne$inboundSchema,
FiftySeven,
FiftySeven$inboundSchema,
FiftySix,
FiftySix$inboundSchema,
FiftyThree,
FiftyThree$inboundSchema,
FiftyTwo,
FiftyTwo$inboundSchema,
Forty,
Forty$inboundSchema,
FortyEight,
FortyEight$inboundSchema,
FortyFive,
FortyFive$inboundSchema,
FortyFour,
FortyFour$inboundSchema,
FortyNine,
FortyNine$inboundSchema,
FortyOne,
FortyOne$inboundSchema,
FortySeven,
FortySeven$inboundSchema,
FortySix,
FortySix$inboundSchema,
FortyThree,
FortyThree$inboundSchema,
FortyTwo,
FortyTwo$inboundSchema,
Ninety,
Ninety$inboundSchema,
NinetyEight,
NinetyEight$inboundSchema,
NinetyFive,
NinetyFive$inboundSchema,
NinetyFour,
NinetyFour$inboundSchema,
NinetyNine,
NinetyNine$inboundSchema,
NinetyOne,
NinetyOne$inboundSchema,
NinetySeven,
NinetySeven$inboundSchema,
NinetySix,
NinetySix$inboundSchema,
NinetyThree,
NinetyThree$inboundSchema,
NinetyTwo,
NinetyTwo$inboundSchema,
OneHundred,
OneHundred$inboundSchema,
OneHundredAndFive,
OneHundredAndFive$inboundSchema,
OneHundredAndFour,
OneHundredAndFour$inboundSchema,
OneHundredAndOne,
OneHundredAndOne$inboundSchema,
OneHundredAndSix,
OneHundredAndSix$inboundSchema,
OneHundredAndThree,
OneHundredAndThree$inboundSchema,
OneHundredAndTwo,
OneHundredAndTwo$inboundSchema,
PayloadAccessGroup,
PayloadAccessGroup$inboundSchema,
Seventy,
Seventy$inboundSchema,
SeventyEight,
SeventyEight$inboundSchema,
SeventyFive,
SeventyFive$inboundSchema,
SeventyFour,
SeventyFour$inboundSchema,
SeventyNine,
SeventyNine$inboundSchema,
SeventyOne,
SeventyOne$inboundSchema,
SeventySeven,
SeventySeven$inboundSchema,
SeventySix,
SeventySix$inboundSchema,
SeventyThree,
SeventyThree$inboundSchema,
SeventyTwo,
SeventyTwo$inboundSchema,
Sixty,
Sixty$inboundSchema,
SixtyEight,
SixtyEight$inboundSchema,
SixtyFive,
SixtyFive$inboundSchema,
SixtyFour,
SixtyFour$inboundSchema,
SixtyNine,
SixtyNine$inboundSchema,
SixtyOne,
SixtyOne$inboundSchema,
SixtySeven,
SixtySeven$inboundSchema,
SixtySix,
SixtySix$inboundSchema,
SixtyThree,
SixtyThree$inboundSchema,
SixtyTwo,
SixtyTwo$inboundSchema,
ThirtyEight,
ThirtyEight$inboundSchema,
ThirtyNine,
ThirtyNine$inboundSchema,
ThirtySeven,
ThirtySeven$inboundSchema,
} from "./payloadaccessgroup.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
import {
FourHundred,
FourHundred$inboundSchema,
FourHundredAndEight,
FourHundredAndEight$inboundSchema,
FourHundredAndFive,
FourHundredAndFive$inboundSchema,
FourHundredAndFour,
FourHundredAndFour$inboundSchema,
FourHundredAndOne,
FourHundredAndOne$inboundSchema,
FourHundredAndSeven,
FourHundredAndSeven$inboundSchema,
FourHundredAndSix,
FourHundredAndSix$inboundSchema,
FourHundredAndThree,
FourHundredAndThree$inboundSchema,
FourHundredAndTwo,
FourHundredAndTwo$inboundSchema,
ThreeHundredAndEighty,
ThreeHundredAndEighty$inboundSchema,
ThreeHundredAndEightyEight,
ThreeHundredAndEightyEight$inboundSchema,
ThreeHundredAndEightyFive,
ThreeHundredAndEightyFive$inboundSchema,
ThreeHundredAndEightyFour,
ThreeHundredAndEightyFour$inboundSchema,
ThreeHundredAndEightyNine,
ThreeHundredAndEightyNine$inboundSchema,
ThreeHundredAndEightyOne,
ThreeHundredAndEightyOne$inboundSchema,
ThreeHundredAndEightySeven,
ThreeHundredAndEightySeven$inboundSchema,
ThreeHundredAndEightySix,
ThreeHundredAndEightySix$inboundSchema,
ThreeHundredAndEightyThree,
ThreeHundredAndEightyThree$inboundSchema,
ThreeHundredAndEightyTwo,
ThreeHundredAndEightyTwo$inboundSchema,
ThreeHundredAndFifty,
ThreeHundredAndFifty$inboundSchema,
ThreeHundredAndFiftyEight,
ThreeHundredAndFiftyEight$inboundSchema,
ThreeHundredAndFiftyFive,
ThreeHundredAndFiftyFive$inboundSchema,
ThreeHundredAndFiftyFour,
ThreeHundredAndFiftyFour$inboundSchema,
ThreeHundredAndFiftyNine,
ThreeHundredAndFiftyNine$inboundSchema,
ThreeHundredAndFiftyOne,
ThreeHundredAndFiftyOne$inboundSchema,
ThreeHundredAndFiftySeven,
ThreeHundredAndFiftySeven$inboundSchema,
ThreeHundredAndFiftySix,
ThreeHundredAndFiftySix$inboundSchema,
ThreeHundredAndFiftyThree,
ThreeHundredAndFiftyThree$inboundSchema,
ThreeHundredAndFiftyTwo,
ThreeHundredAndFiftyTwo$inboundSchema,
ThreeHundredAndFortyEight,
ThreeHundredAndFortyEight$inboundSchema,
ThreeHundredAndFortyFive,
ThreeHundredAndFortyFive$inboundSchema,
ThreeHundredAndFortyFour,
ThreeHundredAndFortyFour$inboundSchema,
ThreeHundredAndFortyNine,
ThreeHundredAndFortyNine$inboundSchema,
ThreeHundredAndFortySeven,
ThreeHundredAndFortySeven$inboundSchema,
ThreeHundredAndFortySix,
ThreeHundredAndFortySix$inboundSchema,
ThreeHundredAndFortyThree,
ThreeHundredAndFortyThree$inboundSchema,
ThreeHundredAndFortyTwo,
ThreeHundredAndFortyTwo$inboundSchema,
ThreeHundredAndNinety,
ThreeHundredAndNinety$inboundSchema,
ThreeHundredAndNinetyEight,
ThreeHundredAndNinetyEight$inboundSchema,
ThreeHundredAndNinetyFive,
ThreeHundredAndNinetyFive$inboundSchema,
ThreeHundredAndNinetyFour,
ThreeHundredAndNinetyFour$inboundSchema,
ThreeHundredAndNinetyNine,
ThreeHundredAndNinetyNine$inboundSchema,
ThreeHundredAndNinetyOne,
ThreeHundredAndNinetyOne$inboundSchema,
ThreeHundredAndNinetySeven,
ThreeHundredAndNinetySeven$inboundSchema,
ThreeHundredAndNinetySix,
ThreeHundredAndNinetySix$inboundSchema,
ThreeHundredAndNinetyThree,
ThreeHundredAndNinetyThree$inboundSchema,
ThreeHundredAndNinetyTwo,
ThreeHundredAndNinetyTwo$inboundSchema,
ThreeHundredAndSeventy,
ThreeHundredAndSeventy$inboundSchema,
ThreeHundredAndSeventyEight,
ThreeHundredAndSeventyEight$inboundSchema,
ThreeHundredAndSeventyFive,
ThreeHundredAndSeventyFive$inboundSchema,
ThreeHundredAndSeventyFour,
ThreeHundredAndSeventyFour$inboundSchema,
ThreeHundredAndSeventyNine,
ThreeHundredAndSeventyNine$inboundSchema,
ThreeHundredAndSeventyOne,
ThreeHundredAndSeventyOne$inboundSchema,
ThreeHundredAndSeventySeven,
ThreeHundredAndSeventySeven$inboundSchema,
ThreeHundredAndSeventySix,
ThreeHundredAndSeventySix$inboundSchema,
ThreeHundredAndSeventyThree,
ThreeHundredAndSeventyThree$inboundSchema,
ThreeHundredAndSeventyTwo,
ThreeHundredAndSeventyTwo$inboundSchema,
ThreeHundredAndSixty,
ThreeHundredAndSixty$inboundSchema,
ThreeHundredAndSixtyEight,
ThreeHundredAndSixtyEight$inboundSchema,
ThreeHundredAndSixtyFive,
ThreeHundredAndSixtyFive$inboundSchema,
ThreeHundredAndSixtyFour,
ThreeHundredAndSixtyFour$inboundSchema,
ThreeHundredAndSixtyNine,
ThreeHundredAndSixtyNine$inboundSchema,
ThreeHundredAndSixtyOne,
ThreeHundredAndSixtyOne$inboundSchema,
ThreeHundredAndSixtySeven,
ThreeHundredAndSixtySeven$inboundSchema,
ThreeHundredAndSixtySix,
ThreeHundredAndSixtySix$inboundSchema,
ThreeHundredAndSixtyThree,
ThreeHundredAndSixtyThree$inboundSchema,
ThreeHundredAndSixtyTwo,
ThreeHundredAndSixtyTwo$inboundSchema,
} from "./threehundredandfortytwo.js";
import {
ThreeHundred,
ThreeHundred$inboundSchema,
ThreeHundredAndEight,
ThreeHundredAndEight$inboundSchema,
ThreeHundredAndEighteen,
ThreeHundredAndEighteen$inboundSchema,
ThreeHundredAndEleven,
ThreeHundredAndEleven$inboundSchema,
ThreeHundredAndFifteen,
ThreeHundredAndFifteen$inboundSchema,
ThreeHundredAndFive,
ThreeHundredAndFive$inboundSchema,
ThreeHundredAndForty,
ThreeHundredAndForty$inboundSchema,
ThreeHundredAndFortyOne,
ThreeHundredAndFortyOne$inboundSchema,
ThreeHundredAndFour,
ThreeHundredAndFour$inboundSchema,
ThreeHundredAndFourteen,
ThreeHundredAndFourteen$inboundSchema,
ThreeHundredAndNine,
ThreeHundredAndNine$inboundSchema,
ThreeHundredAndNineteen,
ThreeHundredAndNineteen$inboundSchema,
ThreeHundredAndOne,
ThreeHundredAndOne$inboundSchema,
ThreeHundredAndSeven,
ThreeHundredAndSeven$inboundSchema,
ThreeHundredAndSeventeen,
ThreeHundredAndSeventeen$inboundSchema,
ThreeHundredAndSix,
ThreeHundredAndSix$inboundSchema,
ThreeHundredAndSixteen,
ThreeHundredAndSixteen$inboundSchema,
ThreeHundredAndTen,
ThreeHundredAndTen$inboundSchema,
ThreeHundredAndThirteen,
ThreeHundredAndThirteen$inboundSchema,
ThreeHundredAndThirty,
ThreeHundredAndThirty$inboundSchema,
ThreeHundredAndThirtyEight,
ThreeHundredAndThirtyEight$inboundSchema,
ThreeHundredAndThirtyFive,
ThreeHundredAndThirtyFive$inboundSchema,
ThreeHundredAndThirtyFour,
ThreeHundredAndThirtyFour$inboundSchema,
ThreeHundredAndThirtyNine,
ThreeHundredAndThirtyNine$inboundSchema,
ThreeHundredAndThirtyOne,
ThreeHundredAndThirtyOne$inboundSchema,
ThreeHundredAndThirtySeven,
ThreeHundredAndThirtySeven$inboundSchema,
ThreeHundredAndThirtySix,
ThreeHundredAndThirtySix$inboundSchema,
ThreeHundredAndThirtyThree,
ThreeHundredAndThirtyThree$inboundSchema,
ThreeHundredAndThirtyTwo,
ThreeHundredAndThirtyTwo$inboundSchema,
ThreeHundredAndThree,
ThreeHundredAndThree$inboundSchema,
ThreeHundredAndTwelve,
ThreeHundredAndTwelve$inboundSchema,
ThreeHundredAndTwenty,
ThreeHundredAndTwenty$inboundSchema,
ThreeHundredAndTwentyEight,
ThreeHundredAndTwentyEight$inboundSchema,
ThreeHundredAndTwentyFive,
ThreeHundredAndTwentyFive$inboundSchema,
ThreeHundredAndTwentyFour,
ThreeHundredAndTwentyFour$inboundSchema,
ThreeHundredAndTwentyNine,
ThreeHundredAndTwentyNine$inboundSchema,
ThreeHundredAndTwentyOne,
ThreeHundredAndTwentyOne$inboundSchema,
ThreeHundredAndTwentySeven,
ThreeHundredAndTwentySeven$inboundSchema,
ThreeHundredAndTwentySix,
ThreeHundredAndTwentySix$inboundSchema,
ThreeHundredAndTwentyThree,
ThreeHundredAndTwentyThree$inboundSchema,
ThreeHundredAndTwentyTwo,
ThreeHundredAndTwentyTwo$inboundSchema,
ThreeHundredAndTwo,
ThreeHundredAndTwo$inboundSchema,
TwoHundredAndEightyEight,
TwoHundredAndEightyEight$inboundSchema,
TwoHundredAndEightyFive,
TwoHundredAndEightyFive$inboundSchema,
TwoHundredAndEightyFour,
TwoHundredAndEightyFour$inboundSchema,
TwoHundredAndEightyNine,
TwoHundredAndEightyNine$inboundSchema,
TwoHundredAndEightyOne,
TwoHundredAndEightyOne$inboundSchema,
TwoHundredAndEightySeven,
TwoHundredAndEightySeven$inboundSchema,
TwoHundredAndEightySix,
TwoHundredAndEightySix$inboundSchema,
TwoHundredAndEightyThree,
TwoHundredAndEightyThree$inboundSchema,
TwoHundredAndEightyTwo,
TwoHundredAndEightyTwo$inboundSchema,
TwoHundredAndNinety,
TwoHundredAndNinety$inboundSchema,
TwoHundredAndNinetyEight,
TwoHundredAndNinetyEight$inboundSchema,
TwoHundredAndNinetyFive,
TwoHundredAndNinetyFive$inboundSchema,
TwoHundredAndNinetyFour,
TwoHundredAndNinetyFour$inboundSchema,
TwoHundredAndNinetyNine,
TwoHundredAndNinetyNine$inboundSchema,
TwoHundredAndNinetyOne,
TwoHundredAndNinetyOne$inboundSchema,
TwoHundredAndNinetySeven,
TwoHundredAndNinetySeven$inboundSchema,
TwoHundredAndNinetySix,
TwoHundredAndNinetySix$inboundSchema,
TwoHundredAndNinetyThree,
TwoHundredAndNinetyThree$inboundSchema,
TwoHundredAndNinetyTwo,
TwoHundredAndNinetyTwo$inboundSchema,
} from "./twohundredandeightyone.js";
import {
OneHundredAndEighty,
OneHundredAndEighty$inboundSchema,
OneHundredAndEightyEight,
OneHundredAndEightyEight$inboundSchema,
OneHundredAndEightyFive,
OneHundredAndEightyFive$inboundSchema,
OneHundredAndEightyFour,
OneHundredAndEightyFour$inboundSchema,
OneHundredAndEightyNine,
OneHundredAndEightyNine$inboundSchema,
OneHundredAndEightyOne,
OneHundredAndEightyOne$inboundSchema,
OneHundredAndEightySeven,
OneHundredAndEightySeven$inboundSchema,
OneHundredAndEightySix,
OneHundredAndEightySix$inboundSchema,
OneHundredAndEightyThree,
OneHundredAndEightyThree$inboundSchema,
OneHundredAndEightyTwo,
OneHundredAndEightyTwo$inboundSchema,
OneHundredAndNinety,
OneHundredAndNinety$inboundSchema,
OneHundredAndNinetyEight,
OneHundredAndNinetyEight$inboundSchema,
OneHundredAndNinetyFive,
OneHundredAndNinetyFive$inboundSchema,
OneHundredAndNinetyFour,
OneHundredAndNinetyFour$inboundSchema,
OneHundredAndNinetyNine,
OneHundredAndNinetyNine$inboundSchema,
OneHundredAndNinetyOne,
OneHundredAndNinetyOne$inboundSchema,
OneHundredAndNinetySeven,
OneHundredAndNinetySeven$inboundSchema,
OneHundredAndNinetySix,
OneHundredAndNinetySix$inboundSchema,
OneHundredAndNinetyThree,
OneHundredAndNinetyThree$inboundSchema,
OneHundredAndNinetyTwo,
OneHundredAndNinetyTwo$inboundSchema,
OneHundredAndSeventyEight,
OneHundredAndSeventyEight$inboundSchema,
OneHundredAndSeventyFive,
OneHundredAndSeventyFive$inboundSchema,
OneHundredAndSeventyFour,
OneHundredAndSeventyFour$inboundSchema,
OneHundredAndSeventyNine,
OneHundredAndSeventyNine$inboundSchema,
OneHundredAndSeventySeven,
OneHundredAndSeventySeven$inboundSchema,
OneHundredAndSeventySix,
OneHundredAndSeventySix$inboundSchema,
OneHundredAndSeventyThree,
OneHundredAndSeventyThree$inboundSchema,
OneHundredAndSeventyTwo,
OneHundredAndSeventyTwo$inboundSchema,
TwoHundred,
TwoHundred$inboundSchema,
TwoHundredAndEight,
TwoHundredAndEight$inboundSchema,
TwoHundredAndEleven,
TwoHundredAndEleven$inboundSchema,
TwoHundredAndFive,
TwoHundredAndFive$inboundSchema,
TwoHundredAndFour,
TwoHundredAndFour$inboundSchema,
TwoHundredAndNine,
TwoHundredAndNine$inboundSchema,
TwoHundredAndOne,
TwoHundredAndOne$inboundSchema,
TwoHundredAndSeven,
TwoHundredAndSeven$inboundSchema,
TwoHundredAndSix,
TwoHundredAndSix$inboundSchema,
TwoHundredAndTen,
TwoHundredAndTen$inboundSchema,
TwoHundredAndThirteen,
TwoHundredAndThirteen$inboundSchema,
TwoHundredAndThree,
TwoHundredAndThree$inboundSchema,
TwoHundredAndTwelve,
TwoHundredAndTwelve$inboundSchema,
TwoHundredAndTwo,
TwoHundredAndTwo$inboundSchema,
} from "./usereventpayload171gituserid.js";
import {
TwoHundredAndEighteen,
TwoHundredAndEighteen$inboundSchema,
TwoHundredAndEighty,
TwoHundredAndEighty$inboundSchema,
TwoHundredAndFifteen,
TwoHundredAndFifteen$inboundSchema,
TwoHundredAndFifty,
TwoHundredAndFifty$inboundSchema,
TwoHundredAndFiftyEight,
TwoHundredAndFiftyEight$inboundSchema,
TwoHundredAndFiftyFive,
TwoHundredAndFiftyFive$inboundSchema,
TwoHundredAndFiftyFour,
TwoHundredAndFiftyFour$inboundSchema,
TwoHundredAndFiftyNine,
TwoHundredAndFiftyNine$inboundSchema,
TwoHundredAndFiftyOne,
TwoHundredAndFiftyOne$inboundSchema,
TwoHundredAndFiftySeven,
TwoHundredAndFiftySeven$inboundSchema,
TwoHundredAndFiftySix,
TwoHundredAndFiftySix$inboundSchema,
TwoHundredAndFiftyThree,
TwoHundredAndFiftyThree$inboundSchema,
TwoHundredAndFiftyTwo,
TwoHundredAndFiftyTwo$inboundSchema,
TwoHundredAndForty,
TwoHundredAndForty$inboundSchema,
TwoHundredAndFortyEight,
TwoHundredAndFortyEight$inboundSchema,
TwoHundredAndFortyFive,
TwoHundredAndFortyFive$inboundSchema,
TwoHundredAndFortyFour,
TwoHundredAndFortyFour$inboundSchema,
TwoHundredAndFortyNine,
TwoHundredAndFortyNine$inboundSchema,
TwoHundredAndFortyOne,
TwoHundredAndFortyOne$inboundSchema,
TwoHundredAndFortySeven,
TwoHundredAndFortySeven$inboundSchema,
TwoHundredAndFortySix,
TwoHundredAndFortySix$inboundSchema,
TwoHundredAndFortyThree,
TwoHundredAndFortyThree$inboundSchema,
TwoHundredAndFortyTwo,
TwoHundredAndFortyTwo$inboundSchema,
TwoHundredAndFourteen,
TwoHundredAndFourteen$inboundSchema,
TwoHundredAndNineteen,
TwoHundredAndNineteen$inboundSchema,
TwoHundredAndSeventeen,
TwoHundredAndSeventeen$inboundSchema,
TwoHundredAndSeventy,
TwoHundredAndSeventy$inboundSchema,
TwoHundredAndSeventyEight,
TwoHundredAndSeventyEight$inboundSchema,
TwoHundredAndSeventyFive,
TwoHundredAndSeventyFive$inboundSchema,
TwoHundredAndSeventyFour,
TwoHundredAndSeventyFour$inboundSchema,
TwoHundredAndSeventyNine,
TwoHundredAndSeventyNine$inboundSchema,
TwoHundredAndSeventyOne,
TwoHundredAndSeventyOne$inboundSchema,
TwoHundredAndSeventySeven,
TwoHundredAndSeventySeven$inboundSchema,
TwoHundredAndSeventySix,
TwoHundredAndSeventySix$inboundSchema,
TwoHundredAndSeventyThree,
TwoHundredAndSeventyThree$inboundSchema,
TwoHundredAndSeventyTwo,
TwoHundredAndSeventyTwo$inboundSchema,
TwoHundredAndSixteen,
TwoHundredAndSixteen$inboundSchema,
TwoHundredAndSixty,
TwoHundredAndSixty$inboundSchema,
TwoHundredAndSixtyEight,
TwoHundredAndSixtyEight$inboundSchema,
TwoHundredAndSixtyFive,
TwoHundredAndSixtyFive$inboundSchema,
TwoHundredAndSixtyFour,
TwoHundredAndSixtyFour$inboundSchema,
TwoHundredAndSixtyNine,
TwoHundredAndSixtyNine$inboundSchema,
TwoHundredAndSixtyOne,
TwoHundredAndSixtyOne$inboundSchema,
TwoHundredAndSixtySeven,
TwoHundredAndSixtySeven$inboundSchema,
TwoHundredAndSixtySix,
TwoHundredAndSixtySix$inboundSchema,
TwoHundredAndSixtyThree,
TwoHundredAndSixtyThree$inboundSchema,
TwoHundredAndSixtyTwo,
TwoHundredAndSixtyTwo$inboundSchema,
TwoHundredAndThirty,
TwoHundredAndThirty$inboundSchema,
TwoHundredAndThirtyEight,
TwoHundredAndThirtyEight$inboundSchema,
TwoHundredAndThirtyFive,
TwoHundredAndThirtyFive$inboundSchema,
TwoHundredAndThirtyFour,
TwoHundredAndThirtyFour$inboundSchema,
TwoHundredAndThirtyNine,
TwoHundredAndThirtyNine$inboundSchema,
TwoHundredAndThirtyOne,
TwoHundredAndThirtyOne$inboundSchema,
TwoHundredAndThirtySeven,
TwoHundredAndThirtySeven$inboundSchema,
TwoHundredAndThirtySix,
TwoHundredAndThirtySix$inboundSchema,
TwoHundredAndThirtyThree,
TwoHundredAndThirtyThree$inboundSchema,
TwoHundredAndThirtyTwo,
TwoHundredAndThirtyTwo$inboundSchema,
TwoHundredAndTwenty,
TwoHundredAndTwenty$inboundSchema,
TwoHundredAndTwentyEight,
TwoHundredAndTwentyEight$inboundSchema,
TwoHundredAndTwentyFive,
TwoHundredAndTwentyFive$inboundSchema,
TwoHundredAndTwentyFour,
TwoHundredAndTwentyFour$inboundSchema,
TwoHundredAndTwentyNine,
TwoHundredAndTwentyNine$inboundSchema,
TwoHundredAndTwentyOne,
TwoHundredAndTwentyOne$inboundSchema,
TwoHundredAndTwentySeven,
TwoHundredAndTwentySeven$inboundSchema,
TwoHundredAndTwentySix,
TwoHundredAndTwentySix$inboundSchema,
TwoHundredAndTwentyThree,
TwoHundredAndTwentyThree$inboundSchema,
TwoHundredAndTwentyTwo,
TwoHundredAndTwentyTwo$inboundSchema,
} from "./usereventpayloadnext.js";
import {
OneHundredAndFiftyEight,
OneHundredAndFiftyEight$inboundSchema,
OneHundredAndFiftyFive,
OneHundredAndFiftyFive$inboundSchema,
OneHundredAndFiftyNine,
OneHundredAndFiftyNine$inboundSchema,
OneHundredAndFiftySeven,
OneHundredAndFiftySeven$inboundSchema,
OneHundredAndFiftySix,
OneHundredAndFiftySix$inboundSchema,
OneHundredAndSeventy,
OneHundredAndSeventy$inboundSchema,
OneHundredAndSeventyOne,
OneHundredAndSeventyOne$inboundSchema,
OneHundredAndSixty,
OneHundredAndSixty$inboundSchema,
OneHundredAndSixtyEight,
OneHundredAndSixtyEight$inboundSchema,
OneHundredAndSixtyFive,
OneHundredAndSixtyFive$inboundSchema,
OneHundredAndSixtyFour,
OneHundredAndSixtyFour$inboundSchema,
OneHundredAndSixtyNine,
OneHundredAndSixtyNine$inboundSchema,
OneHundredAndSixtyOne,
OneHundredAndSixtyOne$inboundSchema,
OneHundredAndSixtySeven,
OneHundredAndSixtySeven$inboundSchema,
OneHundredAndSixtySix,
OneHundredAndSixtySix$inboundSchema,
OneHundredAndSixtyThree,
OneHundredAndSixtyThree$inboundSchema,
OneHundredAndSixtyTwo,
OneHundredAndSixtyTwo$inboundSchema,
} from "./usereventpayloadtarget.js";
/**
* The payload of the event, if requested.
*/
export type ThirtySix = {
author: string;
accessGroup: PayloadAccessGroup;
};
export type AccessGroup = {
id: string;
name: string;
};
/**
* The payload of the event, if requested.
*/
export type ThirtyFive = {
accessGroup: AccessGroup;
teamRoles?: Array<string> | undefined;
teamPermissions?: Array<string> | undefined;
entitlements?: Array<string> | undefined;
};
export type VirtualModelConfig = {
id: string;
displayName?: string | undefined;
modelSlug?: string | undefined;
};
/**
* The payload of the event, if requested.
*/
export type ThirtyFour = {
virtualModelConfig: VirtualModelConfig;
};
export type UserEventPayloadRule = {
id: string;
type: string;
model?: string | undefined;
};
/**
* The payload of the event, if requested.
*/
export type ThirtyThree = {
rule: UserEventPayloadRule;
enabled?: boolean | undefined;
};
export type PayloadRule = {
id: string;
type: string;
model?: string | undefined;
};
/**
* The payload of the event, if requested.
*/
export type ThirtyTwo = {
rule: PayloadRule;
};
export type Rule = {
id: string;
type: string;
model?: string | undefined;
rewriteModel?: string | undefined;
};
/**
* The payload of the event, if requested.
*/
export type ThirtyOne = {
rule: Rule;
};
export const DefaultMode = {
Days: "days",
UntilRequested: "until-requested",
} as const;
export type DefaultMode = ClosedEnum<typeof DefaultMode>;
export const CeilingMode = {
Days: "days",
UntilRequested: "until-requested",
} as const;
export type CeilingMode = ClosedEnum<typeof CeilingMode>;
export type Retention = {
defaultMode: DefaultMode;
defaultDays?: number | undefined;
ceilingMode: CeilingMode;
ceilingDays?: number | undefined;
};
/**
* The payload of the event, if requested.
*/
export type Thirty = {
retention: Retention;
};
/**
* The payload of the event, if requested.
*/
export type TwentyNine = {
regions: Array<string>;
};
export type PiiRedaction = {
from: boolean;
to: boolean;
};
/**
* The payload of the event, if requested.
*/
export type TwentyEight = {
piiRedaction: PiiRedaction;
moderationPolicyCount: number;
policiesAdded: Array<string>;
policiesRemoved: Array<string>;
policiesModified: Array<string>;
};
export type PrivateProvider = {
slug: string;
};
/**
* The payload of the event, if requested.
*/
export type TwentySeven = {
privateProvider: PrivateProvider;
};
export type PayloadPrivateModel = {
slug: string;
};
/**
* The payload of the event, if requested.
*/
export type TwentySix = {
privateModel: PayloadPrivateModel;
};
export type PrivateModel = {
slug: string;
providerSlug: string;
};
/**
* The payload of the event, if requested.
*/
export type TwentyFive = {
privateModel: PrivateModel;
};
/**
* The payload of the event, if requested.
*/
export type TwentyFour = {
added: Array<string>;
removed: Array<string>;
};
/**
* The payload of the event, if requested.
*/
export type TwentyThree = {
amount: string;
purchaseIntentId: string;
};
/**
* The payload of the event, if requested.
*/
export type TwentyTwo = {
enabled: boolean;
};
export type PayloadCredential = {
id: string;
name: string;
providerSlug: string;
};
/**
* The payload of the event, if requested.
*/
export type TwentyOne = {
credential: PayloadCredential;
added: Array<string>;
removed: Array<string>;
changed: Array<string>;
};
export type Credential = {
id: string;
name: string;
providerSlug: string;
};
/**
* The payload of the event, if requested.
*/
export type Twenty = {
credential: Credential;
};
export const PayloadScopeType = {
Project: "project",
Team: "team",
User: "user",
} as const;
export type PayloadScopeType = ClosedEnum<typeof PayloadScopeType>;
export const UserEventPayload19RefreshPeriod = {
Daily: "daily",
Monthly: "monthly",
None: "none",
Weekly: "weekly",
} as const;
export type UserEventPayload19RefreshPeriod = ClosedEnum<
typeof UserEventPayload19RefreshPeriod
>;
/**
* Spend budget on an AI Gateway API key, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`.
*/
export type UserEventPayload19Budget = {
/**
* Spend cap, in dollars.
*/
limitAmount: number;
refreshPeriod: UserEventPayload19RefreshPeriod;
alertThresholds?: Array<number> | undefined;
};
export const UserEventPayload19Change = {
Disable: "disable",
Enable: "enable",
Remove: "remove",
Set: "set",
} as const;
export type UserEventPayload19Change = ClosedEnum<
typeof UserEventPayload19Change
>;
/**
* The payload of the event, if requested.
*/
export type Nineteen = {
scopeType: PayloadScopeType;
/**
* Associates the event with a project for filtering; not rendered.
*/
projectId?: string | undefined;
projectName?: string | undefined;
/**
* Associates the event with a member for filtering; not rendered.
*/
userId?: string | undefined;
userName?: string | undefined;
/**
* Spend budget on an AI Gateway API key, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`.
*/
budget?: UserEventPayload19Budget | null | undefined;
change: UserEventPayload19Change;
};
export const ScopeType = {
ApiKey: "api-key",
Project: "project",
Team: "team",
User: "user",
} as const;
export type ScopeType = ClosedEnum<typeof ScopeType>;
export const UserEventPayloadRefreshPeriod = {
Daily: "daily",
Monthly: "monthly",
None: "none",
Weekly: "weekly",
} as const;
export type UserEventPayloadRefreshPeriod = ClosedEnum<
typeof UserEventPayloadRefreshPeriod
>;
/**
* Spend budget on an AI Gateway API key, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`.
*/
export type UserEventPayloadBudget = {
/**
* Spend cap, in dollars.
*/
limitAmount: number;
refreshPeriod: UserEventPayloadRefreshPeriod;
alertThresholds?: Array<number> | undefined;
};
export const UserEventPayloadChange = {
Disable: "disable",
Enable: "enable",
Remove: "remove",
Set: "set",
} as const;
export type UserEventPayloadChange = ClosedEnum<typeof UserEventPayloadChange>;
/**
* The payload of the event, if requested.
*/
export type Eighteen = {
scopeType: ScopeType;
/**
* Spend budget on an AI Gateway API key, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`.
*/
budget?: UserEventPayloadBudget | null | undefined;
change: UserEventPayloadChange;
};
export const PayloadChange = {
Disable: "disable",
DisableCommitment: "disable-commitment",
Enable: "enable",
EnableCommitment: "enable-commitment",
Update: "update",
} as const;
export type PayloadChange = ClosedEnum<typeof PayloadChange>;
export type Settings = {
minimumBalance: string;
targetBalance: string;
maximumMonthlySpend: string | null;
};
export type Previous = {
minimumBalance: string;
targetBalance: string;
maximumMonthlySpend: string | null;
};
export type Commitment = {
maximumMonthlySpend: string | null;
deferredInvoiceTargetBalance: string;
};
/**
* The payload of the event, if requested.
*/
export type Seventeen = {
change: PayloadChange;
settings?: Settings | undefined;
previous?: Previous | undefined;
commitment?: Commitment | undefined;
};
export type UserEventPayloadApiKey = {
id: string;
name: string;
};
export const PayloadRefreshPeriod = {
Daily: "daily",
Monthly: "monthly",
None: "none",
Weekly: "weekly",
} as const;
export type PayloadRefreshPeriod = ClosedEnum<typeof PayloadRefreshPeriod>;
/**
* Spend budget on an AI Gateway API key, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`.
*/
export type PayloadBudget = {
/**
* Spend cap, in dollars.
*/
limitAmount: number;
refreshPeriod: PayloadRefreshPeriod;
alertThresholds?: Array<number> | undefined;
};
export const Change = {
Disable: "disable",
Enable: "enable",
Remove: "remove",
Set: "set",
} as const;
export type Change = ClosedEnum<typeof Change>;
/**
* The payload of the event, if requested.
*/
export type Sixteen = {
apiKey: UserEventPayloadApiKey;
/**
* Spend budget on an AI Gateway API key, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`.
*/
budget?: PayloadBudget | null | undefined;
change: Change;
};
export type PayloadApiKey = {
id: string;
name: string;
};
/**
* The payload of the event, if requested.
*/
export type Fifteen = {
apiKey: PayloadApiKey;
};
export type UserEventPayload14ApiKey = {
id: string;
name: string;
};
export const RefreshPeriod = {
Daily: "daily",
Monthly: "monthly",
None: "none",
Weekly: "weekly",
} as const;
export type RefreshPeriod = ClosedEnum<typeof RefreshPeriod>;
/**
* Spend budget on an AI Gateway API key, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`.
*/
export type Budget = {
/**
* Spend cap, in dollars.
*/
limitAmount: number;
refreshPeriod: RefreshPeriod;
alertThresholds?: Array<number> | undefined;
};
/**
* The payload of the event, if requested.
*/
export type Fourteen = {
apiKey: UserEventPayload14ApiKey;
/**
* Spend budget on an AI Gateway API key, as surfaced in activity messages. Defined locally (rather than imported from `@api/pubsub-types`) because `@api/pubsub-types` already depends on `@api/events`; importing it here would create a circular dependency. Must stay structurally aligned with `APIKeyBudget` in `@api/pubsub-types/event-payloads/api-keys`.
*/
budget?: Budget | null | undefined;
/**
* True when the key was created with a ZDR exemption.
*/
zdrExemption?: boolean | undefined;
/**
* True when the key was created to bypass all of the team's restrictions (the ZDR-only model restriction and the provider/model allowlist).
*/
bypassAll?: boolean | undefined;
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayload13Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
} as const;
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export type UserEventPayload13Provider = ClosedEnum<
typeof UserEventPayload13Provider
>;
export const FromPlan = {
Hobby: "hobby",
Pro: "pro",
} as const;
export type FromPlan = ClosedEnum<typeof FromPlan>;
export const ToPlan = {
Hobby: "hobby",
Pro: "pro",
} as const;
export type ToPlan = ClosedEnum<typeof ToPlan>;
/**
* The payload of the event, if requested.
*/
export type Thirteen = {
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
provider?: UserEventPayload13Provider | undefined;
/**
* Present on new events only. Equivalent to `stripeAccount` when absent.
*/
providerAccount?: string | undefined;
/**
* Present when `provider` is "stripe". Equivalent to `providerAccount`.
*/
stripeAccount?: string | undefined;
/**
* Present when `provider` is "stripe".
*/
stripeOrganisation?: string | undefined;
teamId: string;
resourceId: string;
fromPlan: FromPlan;
toPlan: ToPlan;
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayload12Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
} as const;
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export type UserEventPayload12Provider = ClosedEnum<
typeof UserEventPayload12Provider
>;
export const ActorType = {
Admin: "admin",
} as const;
export type ActorType = ClosedEnum<typeof ActorType>;
/**
* The payload of the event, if requested.
*/
export type Twelve = {
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
provider?: UserEventPayload12Provider | undefined;
/**
* Present on new events only. Equivalent to `stripeAccount` when absent.
*/
providerAccount?: string | undefined;
/**
* Present when `provider` is "stripe". Equivalent to `providerAccount`.
*/
stripeAccount?: string | undefined;
/**
* Present when `provider` is "stripe".
*/
stripeOrganisation?: string | undefined;
teamId: string;
/**
* Okta user id.
*/
actorId: string;
actorType: ActorType;
actorName?: string | undefined;
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayload11Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
} as const;
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export type UserEventPayload11Provider = ClosedEnum<
typeof UserEventPayload11Provider
>;
/**
* The payload of the event, if requested.
*/
export type Eleven = {
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
provider?: UserEventPayload11Provider | undefined;
/**
* Present on new events only. Equivalent to `stripeAccount` when absent.
*/
providerAccount?: string | undefined;
/**
* Present when `provider` is "stripe". Equivalent to `providerAccount`.
*/
stripeAccount?: string | undefined;
resourceId: string;
projectName: string;
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayload10Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
} as const;
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export type UserEventPayload10Provider = ClosedEnum<
typeof UserEventPayload10Provider
>;
/**
* The payload of the event, if requested.
*/
export type Ten = {
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
provider?: UserEventPayload10Provider | undefined;
/**
* Present on new events only. Equivalent to `stripeAccount` when absent.
*/
providerAccount?: string | undefined;
/**
* Present when `provider` is "stripe". Equivalent to `providerAccount`.
*/
stripeAccount?: string | undefined;
/**
* Present when `provider` is "stripe".
*/
stripeOrganisation?: string | undefined;
reason: string;
blockCode: string;
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const UserEventPayloadProvider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
} as const;
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export type UserEventPayloadProvider = ClosedEnum<
typeof UserEventPayloadProvider
>;
/**
* The payload of the event, if requested.
*/
export type Nine = {
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
provider?: UserEventPayloadProvider | undefined;
/**
* Present on new events only. Equivalent to `stripeAccount` when absent.
*/
providerAccount?: string | undefined;
/**
* Present when `provider` is "stripe". Equivalent to `providerAccount`.
*/
stripeAccount?: string | undefined;
/**
* Present when `provider` is "stripe".
*/
stripeOrganisation?: string | undefined;
teamId: string;
teamSlug: string;
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const PayloadProvider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
} as const;
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export type PayloadProvider = ClosedEnum<typeof PayloadProvider>;
/**
* The payload of the event, if requested.
*/
export type Eight = {
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
provider?: PayloadProvider | undefined;
/**
* Present on new events only. Equivalent to `stripeAccount` when absent.
*/
providerAccount?: string | undefined;
/**
* Present when `provider` is "stripe". Equivalent to `providerAccount`.
*/
stripeAccount?: string | undefined;
/**
* Present when `provider` is "stripe".
*/
stripeOrganisation?: string | undefined;
teamId: string;
};
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export const Provider = {
Chatgpt: "chatgpt",
Stripe: "stripe",
} as const;
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
export type Provider = ClosedEnum<typeof Provider>;
/**
* The payload of the event, if requested.
*/
export type Seven = {
/**
* Present on new events only. Equivalent to "stripe" when absent.
*/
provider?: Provider | undefined;
/**
* Present on new events only. Equivalent to `stripeAccount` when absent.
*/
providerAccount?: string | undefined;
/**
* Present when `provider` is "stripe". Equivalent to `providerAccount`.
*/
stripeAccount?: string | undefined;
/**
* Present when `provider` is "stripe".
*/
stripeOrganisation?: string | undefined;
teamId: string;
accountRequestId: string;
};
/**
* The payload of the event, if requested.
*/
export type Six = {
projectId: string;
projectName: string;
policyId: string;
};
export const UserEventPayload5Action = {
Read: "read",
} as const;
export type UserEventPayload5Action = ClosedEnum<
typeof UserEventPayload5Action
>;
/**
* The payload of the event, if requested.
*/
export type Five = {
action: UserEventPayload5Action;
projectName?: string | undefined;
projectId?: string | undefined;
environment: Array<string>;
};
export const UserEventPayload4Action = {
Added: "added",
Deleted: "deleted",
Rotated: "rotated",
} as const;
export type UserEventPayload4Action = ClosedEnum<
typeof UserEventPayload4Action
>;
/**
* The payload of the event, if requested.
*/
export type Payload4 = {
action: UserEventPayload4Action;
label?: string | undefined;
projectName?: string | undefined;
projectId?: string | undefined;
environment: string;
};
export const UserEventPayloadAction = {
Created: "created",
Deleted: "deleted",
Transitioned: "transitioned",
Updated: "updated",
} as const;
export type UserEventPayloadAction = ClosedEnum<typeof UserEventPayloadAction>;
/**
* The payload of the event, if requested.
*/
export type Payload3 = {
action: UserEventPayloadAction;
id: string;
name: string;
slug: string;
state: string;
projectId: string;
projectName?: string | undefined;
};
export const PayloadAction = {
Archived: "archived",
Created: "created",
Deleted: "deleted",
Unarchived: "unarchived",
Updated: "updated",
} as const;
export type PayloadAction = ClosedEnum<typeof PayloadAction>;
/**
* The payload of the event, if requested.
*/
export type Payload2 = {
action: PayloadAction;
id: string;
slug: string;
projectId: string;
projectName?: string | undefined;
};
/**
* The payload of the event, if requested.
*/
export type Payload1 = {};
export type Payload =
| ThreeHundredAndFiftyEight
| OneHundredAndSeventyEight
| OneHundredAndSixtyEight
| TwoHundredAndTwentyFour
| OneHundredAndSeventyNine
| FourHundredAndFortyThree
| OneHundredAndFourteen
| OneHundredAndEightyOne
| OneHundredAndEightyTwo
| TwoHundredAndSixteen
| TwoHundredAndSeventyNine
| Payload3
| OneHundredAndFiftyFive
| OneHundredAndSeventyTwo
| OneHundredAndSeventySix
| OneHundredAndEighty
| TwoHundredAndFiftySeven
| ThreeHundredAndNineteen
| ThreeHundredAndThirtySeven
| ThreeHundredAndThirtyNine
| TwentyEight
| OneHundredAndEight
| OneHundredAndEleven
| OneHundredAndTwelve
| OneHundredAndThirteen
| OneHundredAndFifteen
| OneHundredAndTwentyTwo
| OneHundredAndFiftyThree
| OneHundredAndSixtyTwo
| OneHundredAndSeventyOne
| OneHundredAndSeventySeven
| TwoHundredAndFour
| TwoHundredAndEight
| TwoHundredAndSixtySeven
| TwoHundredAndEightyOne
| TwoHundredAndNinetyOne
| ThreeHundredAndFiftySeven
| FourHundredAndTwentySeven
| FourHundredAndTwentyNine
| FourHundredAndFortySix
| Payload2
| Thirteen
| TwentyOne
| SixtyThree
| SixtyFour
| EightyOne
| EightyTwo
| OneHundredAndTwo
| OneHundredAndFour
| OneHundredAndTen
| OneHundredAndTwenty
| OneHundredAndFortyOne
| OneHundredAndFortyFive
| OneHundredAndSixtyNine
| OneHundredAndSeventy
| OneHundredAndEightyFour
| OneHundredAndEightyEight
| TwoHundredAndThree
| TwoHundredAndFourteen
| TwoHundredAndFifteen
| TwoHundredAndSeventeen
| TwoHundredAndTwentyTwo
| TwoHundredAndTwentyFive
| TwoHundredAndFortyThree
| TwoHundredAndFortySix
| TwoHundredAndFiftyFour
| TwoHundredAndFiftyEight
| TwoHundredAndSixty
| TwoHundredAndSixtyOne
| TwoHundredAndSixtyTwo
| TwoHundredAndSixtyThree
| TwoHundredAndSeventyEight
| TwoHundredAndEighty
| TwoHundredAndEightyFour
| ThreeHundred
| ThreeHundredAndFour
| ThreeHundredAndSix
| ThreeHundredAndThirteen
| ThreeHundredAndFourteen
| ThreeHundredAndFifteen
| ThreeHundredAndSeventeen
| ThreeHundredAndTwentyFive
| ThreeHundredAndTwentySix
| ThreeHundredAndTwentyNine
| ThreeHundredAndThirtyFive
| ThreeHundredAndThirtyEight
| ThreeHundredAndFortyEight
| ThreeHundredAndFortyNine
| ThreeHundredAndFiftySix
| ThreeHundredAndSixtyFour
| ThreeHundredAndSeventyNine
| ThreeHundredAndNinetySix
| FourHundredAndTwentyTwo
| FourHundredAndTwentyFour
| FourHundredAndTwentyEight
| FourHundredAndThirty
| FourHundredAndThirtyOne
| FourHundredAndThirtyTwo
| FourHundredAndFortyNine
| FourHundredAndFifty
| Six
| Twelve
| FortyFour
| FortyNine
| SeventyTwo
| SeventyFive
| EightyFive
| EightySix
| EightySeven
| EightyEight
| NinetySeven
| OneHundredAndNine
| OneHundredAndTwentyThree
| OneHundredAndTwentyFive
| OneHundredAndTwentySeven
| OneHundredAndTwentyEight
| OneHundredAndTwentyNine
| OneHundredAndThirty
| OneHundredAndThirtySix
| OneHundredAndThirtySeven
| OneHundredAndThirtyEight
| OneHundredAndForty
| OneHundredAndFortyFour
| OneHundredAndFortySix
| OneHundredAndFiftySeven
| OneHundredAndFiftyEight
| OneHundredAndFiftyNine
| OneHundredAndSixtyThree
| OneHundredAndSixtyFour
| OneHundredAndSixtyFive
| OneHundredAndSeventyThree
| OneHundredAndSeventyFour
| OneHundredAndEightyThree
| OneHundredAndEightySeven
| OneHundredAndNinetyFour
| OneHundredAndNinetySeven
| TwoHundred
| TwoHundredAndFive
| TwoHundredAndSeven
| TwoHundredAndNine
| TwoHundredAndTen
| TwoHundredAndEleven
| TwoHundredAndTwelve
| TwoHundredAndThirteen
| TwoHundredAndEighteen
| TwoHundredAndNineteen
| TwoHundredAndTwenty
| TwoHundredAndTwentyOne
| TwoHundredAndTwentyEight
| TwoHundredAndThirtyFour
| TwoHundredAndThirtySix
| TwoHundredAndThirtySeven
| TwoHundredAndThirtyNine
| TwoHundredAndFortyOne
| TwoHundredAndFortyTwo
| TwoHundredAndFortyFour
| TwoHundredAndFortyFive
| TwoHundredAndFortySeven
| TwoHundredAndFiftyTwo
| TwoHundredAndFiftyFive
| TwoHundredAndFiftySix
| TwoHundredAndSixtyFour
| TwoHundredAndSixtyFive
| TwoHundredAndSixtySix
| TwoHundredAndSixtyEight
| TwoHundredAndSixtyNine
| TwoHundredAndSeventy
| TwoHundredAndSeventyOne
| TwoHundredAndSeventyTwo
| TwoHundredAndSeventyFive
| TwoHundredAndSeventySix
| TwoHundredAndSeventySeven
| TwoHundredAndEightyTwo
| TwoHundredAndEightyNine
| TwoHundredAndNinetyTwo
| TwoHundredAndNinetyThree
| ThreeHundredAndSeven
| ThreeHundredAndEight
| ThreeHundredAndNine
| ThreeHundredAndTen
| ThreeHundredAndEleven
| ThreeHundredAndTwentyTwo
| ThreeHundredAndForty
| ThreeHundredAndFiftyTwo
| ThreeHundredAndSixtyOne
| ThreeHundredAndEightyThree
| FourHundredAndFive
| FourHundredAndEleven
| FourHundredAndTwelve
| FourHundredAndFourteen
| FourHundredAndTwentyFive
| FourHundredAndTwentySix
| FourHundredAndThirtySix
| FourHundredAndThirtySeven
| FourHundredAndThirtyEight
| FourHundredAndThirtyNine
| FourHundredAndFortyFive
| Payload4
| Five
| Seven
| Nine
| Ten
| Eleven
| Sixteen
| Eighteen
| Nineteen
| TwentyThree
| TwentyFour
| ThirtySix
| ThirtySeven
| ThirtyNine
| FortyTwo
| Fifty
| FiftyThree
| FiftyFive
| Sixty
| SixtyOne
| SixtyEight
| SixtyNine
| Seventy
| SeventyThree
| SeventyEight
| EightyThree
| NinetyOne
| NinetyTwo
| NinetyThree
| NinetyFour
| NinetyFive
| OneHundred
| OneHundredAndThree
| OneHundredAndSeventeen
| OneHundredAndEighteen
| OneHundredAndTwentyOne
| OneHundredAndTwentySix
| OneHundredAndThirtyFour
| OneHundredAndThirtyNine
| OneHundredAndFortyTwo
| OneHundredAndFortyThree
| OneHundredAndFortySeven
| OneHundredAndFortyEight
| OneHundredAndFiftyTwo
| OneHundredAndSeventyFive
| OneHundredAndEightyFive
| OneHundredAndEightySix
| OneHundredAndNinetyOne
| OneHundredAndNinetyEight
| OneHundredAndNinetyNine
| TwoHundredAndOne
| TwoHundredAndSix
| TwoHundredAndTwentyThree
| TwoHundredAndTwentySix
| TwoHundredAndThirtyTwo
| TwoHundredAndThirtyThree
| TwoHundredAndThirtyFive
| TwoHundredAndForty
| TwoHundredAndFifty
| TwoHundredAndFiftyThree
| TwoHundredAndFiftyNine
| TwoHundredAndEightyFive
| TwoHundredAndEightySeven
| TwoHundredAndEightyEight
| TwoHundredAndNinety
| TwoHundredAndNinetyFour
| TwoHundredAndNinetyFive
| TwoHundredAndNinetySeven
| TwoHundredAndNinetyNine
| ThreeHundredAndOne
| ThreeHundredAndTwo
| ThreeHundredAndThree
| ThreeHundredAndFive
| ThreeHundredAndTwelve
| ThreeHundredAndSixteen
| ThreeHundredAndEighteen
| ThreeHundredAndTwentyOne
| ThreeHundredAndTwentyThree
| ThreeHundredAndTwentyFour
| ThreeHundredAndTwentySeven
| ThreeHundredAndTwentyEight
| ThreeHundredAndThirtyOne
| ThreeHundredAndThirtyTwo
| ThreeHundredAndThirtyThree
| ThreeHundredAndFortySeven
| ThreeHundredAndFifty
| ThreeHundredAndFiftyNine
| ThreeHundredAndSixtyTwo
| ThreeHundredAndSixtyFive
| ThreeHundredAndSixtySeven
| ThreeHundredAndSeventyTwo
| ThreeHundredAndSeventyThree
| ThreeHundredAndEightyOne
| ThreeHundredAndEightySix
| ThreeHundredAndEightySeven
| ThreeHundredAndNinetyTwo
| ThreeHundredAndNinetyFour
| ThreeHundredAndNinetyNine
| FourHundred
| FourHundredAndThree
| FourHundredAndEight
| FourHundredAndNine
| FourHundredAndTen
| FourHundredAndThirteen
| FourHundredAndFifteen
| FourHundredAndSixteen
| FourHundredAndTwenty
| FourHundredAndTwentyOne
| FourHundredAndTwentyThree
| FourHundredAndThirtyFour
| FourHundredAndFortyOne
| FourHundredAndFortyFour
| FourHundredAndFortyEight
| FourHundredAndFiftyOne
| Eight
| Fourteen
| Fifteen
| Seventeen
| Twenty
| TwentyTwo
| TwentyFive
| TwentySix
| TwentySeven
| TwentyNine
| Thirty
| ThirtyOne
| ThirtyTwo
| ThirtyThree
| ThirtyFour
| ThirtyFive
| ThirtyEight
| FortyThree
| FiftyFour
| FiftySix
| FiftySeven
| FiftyEight
| FiftyNine
| SixtyFive
| SixtySix
| SixtySeven
| SeventyOne
| SeventyFour
| SeventySeven
| SeventyNine
| EightyFour
| EightyNine
| Ninety
| NinetyEight
| NinetyNine
| OneHundredAndOne
| OneHundredAndFive
| OneHundredAndSix
| OneHundredAndSeven
| OneHundredAndSixteen
| OneHundredAndNineteen
| OneHundredAndTwentyFour
| OneHundredAndThirtyOne
| OneHundredAndThirtyTwo
| OneHundredAndThirtyThree
| OneHundredAndThirtyFive
| OneHundredAndFortyNine
| OneHundredAndSixty
| OneHundredAndSixtyOne
| OneHundredAndSixtySix
| OneHundredAndSixtySeven
| OneHundredAndEightyNine
| OneHundredAndNinety
| OneHundredAndNinetyTwo
| OneHundredAndNinetyFive
| OneHundredAndNinetySix
| TwoHundredAndTwo
| TwoHundredAndTwentySeven
| TwoHundredAndThirtyOne
| TwoHundredAndThirtyEight
| TwoHundredAndFiftyOne
| TwoHundredAndSeventyThree
| TwoHundredAndSeventyFour
| TwoHundredAndEightyThree
| TwoHundredAndEightySix
| TwoHundredAndNinetySix
| TwoHundredAndNinetyEight
| ThreeHundredAndTwenty
| ThreeHundredAndThirty
| ThreeHundredAndThirtyFour
| ThreeHundredAndFortyOne
| ThreeHundredAndFortyTwo
| ThreeHundredAndFortyThree
| ThreeHundredAndFortyFour
| ThreeHundredAndFortySix
| ThreeHundredAndFiftyOne
| ThreeHundredAndFiftyFour
| ThreeHundredAndFiftyFive
| ThreeHundredAndSixtyThree
| ThreeHundredAndSixtyNine
| ThreeHundredAndSeventy
| ThreeHundredAndSeventyFive
| ThreeHundredAndSeventySix
| ThreeHundredAndSeventySeven
| ThreeHundredAndSeventyEight
| ThreeHundredAndEighty
| ThreeHundredAndEightyTwo
| ThreeHundredAndEightyEight
| ThreeHundredAndNinety
| ThreeHundredAndNinetyOne
| ThreeHundredAndNinetyFive
| ThreeHundredAndNinetySeven
| FourHundredAndOne
| FourHundredAndFour
| FourHundredAndSix
| FourHundredAndSeven
| FourHundredAndSeventeen
| FourHundredAndEighteen
| FourHundredAndNineteen
| FourHundredAndThirtyThree
| FourHundredAndThirtyFive
| FourHundredAndForty
| FourHundredAndFortyTwo
| FourHundredAndFortySeven
| Payload1
| Forty
| FortyOne
| FortyFive
| FortySix
| FortySeven
| FortyEight
| FiftyOne
| FiftyTwo
| SixtyTwo
| SeventySix
| Eighty
| NinetySix
| OneHundredAndFifty
| OneHundredAndFiftyOne
| OneHundredAndFiftyFour
| OneHundredAndFiftySix
| OneHundredAndNinetyThree
| TwoHundredAndTwentyNine
| TwoHundredAndThirty
| TwoHundredAndFortyEight
| TwoHundredAndFortyNine
| ThreeHundredAndThirtySix
| ThreeHundredAndFortyFive
| ThreeHundredAndFiftyThree
| ThreeHundredAndSixty
| ThreeHundredAndSixtySix
| ThreeHundredAndSixtyEight
| ThreeHundredAndSeventyOne
| ThreeHundredAndSeventyFour
| ThreeHundredAndEightyFour
| ThreeHundredAndEightyFive
| ThreeHundredAndEightyNine
| ThreeHundredAndNinetyThree
| ThreeHundredAndNinetyEight
| FourHundredAndTwo;
/**
* Array of events generated by the User.
*/
export type UserEvent = {
/**
* The unique identifier of the Event.
*/
id: string;
/**
* The human-readable text of the Event.
*/
text: string;
/**
* A list of "entities" within the event `text`. Useful for enhancing the displayed text with additional styling and links.
*/
entities: Array<Entities>;
/**
* The type of the event.
*/
type?: UserEventType | undefined;
/**
* The categories that group this event with related event types. An event can belong to multiple categories (e.g. a firewall event is both Firewall and Security). The first entry is the "primary" category. Use the `/events/types` endpoint to discover the full list of categories.
*/
categories?: Array<Categories> | undefined;
/**
* Timestamp (in milliseconds) of when the event was generated.
*/
createdAt: number;
/**
* Metadata for {@link userId}.
*/
user?: User | undefined;
principal?: Principal | undefined;
/**
* Metadata for {@link viaIds}.
*/
via?: Array<Via> | undefined;
/**
* When the principal who generated the event is a user, this is their ID; otherwise, it is empty.
*/
userId?: string | undefined;
/**
* The ID of the principal who generated the event. The principal is typically a user, but it could also be an app, an integration, etc. The principal may have delegated its authority to an acting party, and so {@link viaIds} should be checked as well.
*/
principalId: string;
/**
* If the principal delegated its authority (for example, a user delegating to an app), then this array contains the ID of the current actor. For example, if `principalId` is "user123" and `viaIds` is `["app456"]`, we can say the event was triggered by - "app456 on behalf of user123", or - "user123 via app4556". Both are equivalent. Arbitrarily long chains of delegation can be represented. For example, if `principalId` is "user123" and `viaIds` is `["service1", "service2"]`, we can say the event was triggered by "user123 via service1 via service2".
*/
viaIds?: Array<string> | undefined;
/**
* The public ID of the token that the principal authenticated with, when the request behind this event carried one.
*/
tokenId?: string | undefined;
/**
* The ID of the session that the principal's token belongs to, when it belongs to one.
*/
sessionId?: string | undefined;
requestId?: string | undefined;
payload?:
| ThreeHundredAndFiftyEight
| OneHundredAndSeventyEight
| OneHundredAndSixtyEight
| TwoHundredAndTwentyFour
| OneHundredAndSeventyNine
| FourHundredAndFortyThree
| OneHundredAndFourteen
| OneHundredAndEightyOne
| OneHundredAndEightyTwo
| TwoHundredAndSixteen
| TwoHundredAndSeventyNine
| Payload3
| OneHundredAndFiftyFive
| OneHundredAndSeventyTwo
| OneHundredAndSeventySix
| OneHundredAndEighty
| TwoHundredAndFiftySeven
| ThreeHundredAndNineteen
| ThreeHundredAndThirtySeven
| ThreeHundredAndThirtyNine
| TwentyEight
| OneHundredAndEight
| OneHundredAndEleven
| OneHundredAndTwelve
| OneHundredAndThirteen
| OneHundredAndFifteen
| OneHundredAndTwentyTwo
| OneHundredAndFiftyThree
| OneHundredAndSixtyTwo
| OneHundredAndSeventyOne
| OneHundredAndSeventySeven
| TwoHundredAndFour
| TwoHundredAndEight
| TwoHundredAndSixtySeven
| TwoHundredAndEightyOne
| TwoHundredAndNinetyOne
| ThreeHundredAndFiftySeven
| FourHundredAndTwentySeven
| FourHundredAndTwentyNine
| FourHundredAndFortySix
| Payload2
| Thirteen
| TwentyOne
| SixtyThree
| SixtyFour
| EightyOne
| EightyTwo
| OneHundredAndTwo
| OneHundredAndFour
| OneHundredAndTen
| OneHundredAndTwenty
| OneHundredAndFortyOne
| OneHundredAndFortyFive
| OneHundredAndSixtyNine
| OneHundredAndSeventy
| OneHundredAndEightyFour
| OneHundredAndEightyEight
| TwoHundredAndThree
| TwoHundredAndFourteen
| TwoHundredAndFifteen
| TwoHundredAndSeventeen
| TwoHundredAndTwentyTwo
| TwoHundredAndTwentyFive
| TwoHundredAndFortyThree
| TwoHundredAndFortySix
| TwoHundredAndFiftyFour
| TwoHundredAndFiftyEight
| TwoHundredAndSixty
| TwoHundredAndSixtyOne
| TwoHundredAndSixtyTwo
| TwoHundredAndSixtyThree
| TwoHundredAndSeventyEight
| TwoHundredAndEighty
| TwoHundredAndEightyFour
| ThreeHundred
| ThreeHundredAndFour
| ThreeHundredAndSix
| ThreeHundredAndThirteen
| ThreeHundredAndFourteen
| ThreeHundredAndFifteen
| ThreeHundredAndSeventeen
| ThreeHundredAndTwentyFive
| ThreeHundredAndTwentySix
| ThreeHundredAndTwentyNine
| ThreeHundredAndThirtyFive
| ThreeHundredAndThirtyEight
| ThreeHundredAndFortyEight
| ThreeHundredAndFortyNine
| ThreeHundredAndFiftySix
| ThreeHundredAndSixtyFour
| ThreeHundredAndSeventyNine
| ThreeHundredAndNinetySix
| FourHundredAndTwentyTwo
| FourHundredAndTwentyFour
| FourHundredAndTwentyEight
| FourHundredAndThirty
| FourHundredAndThirtyOne
| FourHundredAndThirtyTwo
| FourHundredAndFortyNine
| FourHundredAndFifty
| Six
| Twelve
| FortyFour
| FortyNine
| SeventyTwo
| SeventyFive
| EightyFive
| EightySix
| EightySeven
| EightyEight
| NinetySeven
| OneHundredAndNine
| OneHundredAndTwentyThree
| OneHundredAndTwentyFive
| OneHundredAndTwentySeven
| OneHundredAndTwentyEight
| OneHundredAndTwentyNine
| OneHundredAndThirty
| OneHundredAndThirtySix
| OneHundredAndThirtySeven
| OneHundredAndThirtyEight
| OneHundredAndForty
| OneHundredAndFortyFour
| OneHundredAndFortySix
| OneHundredAndFiftySeven
| OneHundredAndFiftyEight
| OneHundredAndFiftyNine
| OneHundredAndSixtyThree
| OneHundredAndSixtyFour
| OneHundredAndSixtyFive
| OneHundredAndSeventyThree
| OneHundredAndSeventyFour
| OneHundredAndEightyThree
| OneHundredAndEightySeven
| OneHundredAndNinetyFour
| OneHundredAndNinetySeven
| TwoHundred
| TwoHundredAndFive
| TwoHundredAndSeven
| TwoHundredAndNine
| TwoHundredAndTen
| TwoHundredAndEleven
| TwoHundredAndTwelve
| TwoHundredAndThirteen
| TwoHundredAndEighteen
| TwoHundredAndNineteen
| TwoHundredAndTwenty
| TwoHundredAndTwentyOne
| TwoHundredAndTwentyEight
| TwoHundredAndThirtyFour
| TwoHundredAndThirtySix
| TwoHundredAndThirtySeven
| TwoHundredAndThirtyNine
| TwoHundredAndFortyOne
| TwoHundredAndFortyTwo
| TwoHundredAndFortyFour
| TwoHundredAndFortyFive
| TwoHundredAndFortySeven
| TwoHundredAndFiftyTwo
| TwoHundredAndFiftyFive
| TwoHundredAndFiftySix
| TwoHundredAndSixtyFour
| TwoHundredAndSixtyFive
| TwoHundredAndSixtySix
| TwoHundredAndSixtyEight
| TwoHundredAndSixtyNine
| TwoHundredAndSeventy
| TwoHundredAndSeventyOne
| TwoHundredAndSeventyTwo
| TwoHundredAndSeventyFive
| TwoHundredAndSeventySix
| TwoHundredAndSeventySeven
| TwoHundredAndEightyTwo
| TwoHundredAndEightyNine
| TwoHundredAndNinetyTwo
| TwoHundredAndNinetyThree
| ThreeHundredAndSeven
| ThreeHundredAndEight
| ThreeHundredAndNine
| ThreeHundredAndTen
| ThreeHundredAndEleven
| ThreeHundredAndTwentyTwo
| ThreeHundredAndForty
| ThreeHundredAndFiftyTwo
| ThreeHundredAndSixtyOne
| ThreeHundredAndEightyThree
| FourHundredAndFive
| FourHundredAndEleven
| FourHundredAndTwelve
| FourHundredAndFourteen
| FourHundredAndTwentyFive
| FourHundredAndTwentySix
| FourHundredAndThirtySix
| FourHundredAndThirtySeven
| FourHundredAndThirtyEight
| FourHundredAndThirtyNine
| FourHundredAndFortyFive
| Payload4
| Five
| Seven
| Nine
| Ten
| Eleven
| Sixteen
| Eighteen
| Nineteen
| TwentyThree
| TwentyFour
| ThirtySix
| ThirtySeven
| ThirtyNine
| FortyTwo
| Fifty
| FiftyThree
| FiftyFive
| Sixty
| SixtyOne
| SixtyEight
| SixtyNine
| Seventy
| SeventyThree
| SeventyEight
| EightyThree
| NinetyOne
| NinetyTwo
| NinetyThree
| NinetyFour
| NinetyFive
| OneHundred
| OneHundredAndThree
| OneHundredAndSeventeen
| OneHundredAndEighteen
| OneHundredAndTwentyOne
| OneHundredAndTwentySix
| OneHundredAndThirtyFour
| OneHundredAndThirtyNine
| OneHundredAndFortyTwo
| OneHundredAndFortyThree
| OneHundredAndFortySeven
| OneHundredAndFortyEight
| OneHundredAndFiftyTwo
| OneHundredAndSeventyFive
| OneHundredAndEightyFive
| OneHundredAndEightySix
| OneHundredAndNinetyOne
| OneHundredAndNinetyEight
| OneHundredAndNinetyNine
| TwoHundredAndOne
| TwoHundredAndSix
| TwoHundredAndTwentyThree
| TwoHundredAndTwentySix
| TwoHundredAndThirtyTwo
| TwoHundredAndThirtyThree
| TwoHundredAndThirtyFive
| TwoHundredAndForty
| TwoHundredAndFifty
| TwoHundredAndFiftyThree
| TwoHundredAndFiftyNine
| TwoHundredAndEightyFive
| TwoHundredAndEightySeven
| TwoHundredAndEightyEight
| TwoHundredAndNinety
| TwoHundredAndNinetyFour
| TwoHundredAndNinetyFive
| TwoHundredAndNinetySeven
| TwoHundredAndNinetyNine
| ThreeHundredAndOne
| ThreeHundredAndTwo
| ThreeHundredAndThree
| ThreeHundredAndFive
| ThreeHundredAndTwelve
| ThreeHundredAndSixteen
| ThreeHundredAndEighteen
| ThreeHundredAndTwentyOne
| ThreeHundredAndTwentyThree
| ThreeHundredAndTwentyFour
| ThreeHundredAndTwentySeven
| ThreeHundredAndTwentyEight
| ThreeHundredAndThirtyOne
| ThreeHundredAndThirtyTwo
| ThreeHundredAndThirtyThree
| ThreeHundredAndFortySeven
| ThreeHundredAndFifty
| ThreeHundredAndFiftyNine
| ThreeHundredAndSixtyTwo
| ThreeHundredAndSixtyFive
| ThreeHundredAndSixtySeven
| ThreeHundredAndSeventyTwo
| ThreeHundredAndSeventyThree
| ThreeHundredAndEightyOne
| ThreeHundredAndEightySix
| ThreeHundredAndEightySeven
| ThreeHundredAndNinetyTwo
| ThreeHundredAndNinetyFour
| ThreeHundredAndNinetyNine
| FourHundred
| FourHundredAndThree
| FourHundredAndEight
| FourHundredAndNine
| FourHundredAndTen
| FourHundredAndThirteen
| FourHundredAndFifteen
| FourHundredAndSixteen
| FourHundredAndTwenty
| FourHundredAndTwentyOne
| FourHundredAndTwentyThree
| FourHundredAndThirtyFour
| FourHundredAndFortyOne
| FourHundredAndFortyFour
| FourHundredAndFortyEight
| FourHundredAndFiftyOne
| Eight
| Fourteen
| Fifteen
| Seventeen
| Twenty
| TwentyTwo
| TwentyFive
| TwentySix
| TwentySeven
| TwentyNine
| Thirty
| ThirtyOne
| ThirtyTwo
| ThirtyThree
| ThirtyFour
| ThirtyFive
| ThirtyEight
| FortyThree
| FiftyFour
| FiftySix
| FiftySeven
| FiftyEight
| FiftyNine
| SixtyFive
| SixtySix
| SixtySeven
| SeventyOne
| SeventyFour
| SeventySeven
| SeventyNine
| EightyFour
| EightyNine
| Ninety
| NinetyEight
| NinetyNine
| OneHundredAndOne
| OneHundredAndFive
| OneHundredAndSix
| OneHundredAndSeven
| OneHundredAndSixteen
| OneHundredAndNineteen
| OneHundredAndTwentyFour
| OneHundredAndThirtyOne
| OneHundredAndThirtyTwo
| OneHundredAndThirtyThree
| OneHundredAndThirtyFive
| OneHundredAndFortyNine
| OneHundredAndSixty
| OneHundredAndSixtyOne
| OneHundredAndSixtySix
| OneHundredAndSixtySeven
| OneHundredAndEightyNine
| OneHundredAndNinety
| OneHundredAndNinetyTwo
| OneHundredAndNinetyFive
| OneHundredAndNinetySix
| TwoHundredAndTwo
| TwoHundredAndTwentySeven
| TwoHundredAndThirtyOne
| TwoHundredAndThirtyEight
| TwoHundredAndFiftyOne
| TwoHundredAndSeventyThree
| TwoHundredAndSeventyFour
| TwoHundredAndEightyThree
| TwoHundredAndEightySix
| TwoHundredAndNinetySix
| TwoHundredAndNinetyEight
| ThreeHundredAndTwenty
| ThreeHundredAndThirty
| ThreeHundredAndThirtyFour
| ThreeHundredAndFortyOne
| ThreeHundredAndFortyTwo
| ThreeHundredAndFortyThree
| ThreeHundredAndFortyFour
| ThreeHundredAndFortySix
| ThreeHundredAndFiftyOne
| ThreeHundredAndFiftyFour
| ThreeHundredAndFiftyFive
| ThreeHundredAndSixtyThree
| ThreeHundredAndSixtyNine
| ThreeHundredAndSeventy
| ThreeHundredAndSeventyFive
| ThreeHundredAndSeventySix
| ThreeHundredAndSeventySeven
| ThreeHundredAndSeventyEight
| ThreeHundredAndEighty
| ThreeHundredAndEightyTwo
| ThreeHundredAndEightyEight
| ThreeHundredAndNinety
| ThreeHundredAndNinetyOne
| ThreeHundredAndNinetyFive
| ThreeHundredAndNinetySeven
| FourHundredAndOne
| FourHundredAndFour
| FourHundredAndSix
| FourHundredAndSeven
| FourHundredAndSeventeen
| FourHundredAndEighteen
| FourHundredAndNineteen
| FourHundredAndThirtyThree
| FourHundredAndThirtyFive
| FourHundredAndForty
| FourHundredAndFortyTwo
| FourHundredAndFortySeven
| Payload1
| Forty
| FortyOne
| FortyFive
| FortySix
| FortySeven
| FortyEight
| FiftyOne
| FiftyTwo
| SixtyTwo
| SeventySix
| Eighty
| NinetySix
| OneHundredAndFifty
| OneHundredAndFiftyOne
| OneHundredAndFiftyFour
| OneHundredAndFiftySix
| OneHundredAndNinetyThree
| TwoHundredAndTwentyNine
| TwoHundredAndThirty
| TwoHundredAndFortyEight
| TwoHundredAndFortyNine
| ThreeHundredAndThirtySix
| ThreeHundredAndFortyFive
| ThreeHundredAndFiftyThree
| ThreeHundredAndSixty
| ThreeHundredAndSixtySix
| ThreeHundredAndSixtyEight
| ThreeHundredAndSeventyOne
| ThreeHundredAndSeventyFour
| ThreeHundredAndEightyFour
| ThreeHundredAndEightyFive
| ThreeHundredAndEightyNine
| ThreeHundredAndNinetyThree
| ThreeHundredAndNinetyEight
| FourHundredAndTwo
| undefined;
};
/** @internal */
export const ThirtySix$inboundSchema: z.ZodType<
ThirtySix,
z.ZodTypeDef,
unknown
> = z.object({
author: types.string(),
accessGroup: PayloadAccessGroup$inboundSchema,
});
export function thirtySixFromJSON(
jsonString: string,
): SafeParseResult<ThirtySix, SDKValidationError> {
return safeParse(
jsonString,
(x) => ThirtySix$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'ThirtySix' from JSON`,
);
}
/** @internal */
export const AccessGroup$inboundSchema: z.ZodType<
AccessGroup,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
name: types.string(),
});
export function accessGroupFromJSON(
jsonString: string,
): SafeParseResult<AccessGroup, SDKValidationError> {
return safeParse(
jsonString,
(x) => AccessGroup$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'AccessGroup' from JSON`,
);
}
/** @internal */
export const ThirtyFive$inboundSchema: z.ZodType<
ThirtyFive,
z.ZodTypeDef,
unknown
> = 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 thirtyFiveFromJSON(
jsonString: string,
): SafeParseResult<ThirtyFive, SDKValidationError> {
return safeParse(
jsonString,
(x) => ThirtyFive$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'ThirtyFive' from JSON`,
);
}
/** @internal */
export const VirtualModelConfig$inboundSchema: z.ZodType<
VirtualModelConfig,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
displayName: types.optional(types.string()),
modelSlug: types.optional(types.string()),
});
export function virtualModelConfigFromJSON(
jsonString: string,
): SafeParseResult<VirtualModelConfig, SDKValidationError> {
return safeParse(
jsonString,
(x) => VirtualModelConfig$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'VirtualModelConfig' from JSON`,
);
}
/** @internal */
export const ThirtyFour$inboundSchema: z.ZodType<
ThirtyFour,
z.ZodTypeDef,
unknown
> = z.object({
virtualModelConfig: z.lazy(() => VirtualModelConfig$inboundSchema),
});
export function thirtyFourFromJSON(
jsonString: string,
): SafeParseResult<ThirtyFour, SDKValidationError> {
return safeParse(
jsonString,
(x) => ThirtyFour$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'ThirtyFour' from JSON`,
);
}
/** @internal */
export const UserEventPayloadRule$inboundSchema: z.ZodType<
UserEventPayloadRule,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
type: types.string(),
model: types.optional(types.string()),
});
export function userEventPayloadRuleFromJSON(
jsonString: string,
): SafeParseResult<UserEventPayloadRule, SDKValidationError> {
return safeParse(
jsonString,
(x) => UserEventPayloadRule$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'UserEventPayloadRule' from JSON`,
);
}
/** @internal */
export const ThirtyThree$inboundSchema: z.ZodType<
ThirtyThree,
z.ZodTypeDef,
unknown
> = z.object({
rule: z.lazy(() => UserEventPayloadRule$inboundSchema),
enabled: types.optional(types.boolean()),
});
export function thirtyThreeFromJSON(
jsonString: string,
): SafeParseResult<ThirtyThree, SDKValidationError> {
return safeParse(
jsonString,
(x) => ThirtyThree$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'ThirtyThree' from JSON`,
);
}
/** @internal */
export const PayloadRule$inboundSchema: z.ZodType<
PayloadRule,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
type: types.string(),
model: types.optional(types.string()),
});
export function payloadRuleFromJSON(
jsonString: string,
): SafeParseResult<PayloadRule, SDKValidationError> {
return safeParse(
jsonString,
(x) => PayloadRule$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'PayloadRule' from JSON`,
);
}
/** @internal */
export const ThirtyTwo$inboundSchema: z.ZodType<
ThirtyTwo,
z.ZodTypeDef,
unknown
> = z.object({
rule: z.lazy(() => PayloadRule$inboundSchema),
});
export function thirtyTwoFromJSON(
jsonString: string,
): SafeParseResult<ThirtyTwo, SDKValidationError> {
return safeParse(
jsonString,
(x) => ThirtyTwo$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'ThirtyTwo' from JSON`,
);
}
/** @internal */
export const Rule$inboundSchema: z.ZodType<Rule, z.ZodTypeDef, unknown> = z
.object({
id: types.string(),
type: types.string(),
model: types.optional(types.string()),
rewriteModel: types.optional(types.string()),
});
export function ruleFromJSON(
jsonString: string,
): SafeParseResult<Rule, SDKValidationError> {
return safeParse(
jsonString,
(x) => Rule$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Rule' from JSON`,
);
}
/** @internal */
export const ThirtyOne$inboundSchema: z.ZodType<
ThirtyOne,
z.ZodTypeDef,
unknown
> = z.object({
rule: z.lazy(() => Rule$inboundSchema),
});
export function thirtyOneFromJSON(
jsonString: string,
): SafeParseResult<ThirtyOne, SDKValidationError> {
return safeParse(
jsonString,
(x) => ThirtyOne$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'ThirtyOne' from JSON`,
);
}
/** @internal */
export const DefaultMode$inboundSchema: z.ZodNativeEnum<typeof DefaultMode> = z
.nativeEnum(DefaultMode);
/** @internal */
export const CeilingMode$inboundSchema: z.ZodNativeEnum<typeof CeilingMode> = z
.nativeEnum(CeilingMode);
/** @internal */
export const Retention$inboundSchema: z.ZodType<
Retention,
z.ZodTypeDef,
unknown
> = z.object({
defaultMode: DefaultMode$inboundSchema,
defaultDays: types.optional(types.number()),
ceilingMode: CeilingMode$inboundSchema,
ceilingDays: types.optional(types.number()),
});
export function retentionFromJSON(
jsonString: string,
): SafeParseResult<Retention, SDKValidationError> {
return safeParse(
jsonString,
(x) => Retention$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Retention' from JSON`,
);
}
/** @internal */
export const Thirty$inboundSchema: z.ZodType<Thirty, z.ZodTypeDef, unknown> = z
.object({
retention: z.lazy(() => Retention$inboundSchema),
});
export function thirtyFromJSON(
jsonString: string,
): SafeParseResult<Thirty, SDKValidationError> {
return safeParse(
jsonString,
(x) => Thirty$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Thirty' from JSON`,
);
}
/** @internal */
export const TwentyNine$inboundSchema: z.ZodType<
TwentyNine,
z.ZodTypeDef,
unknown
> = z.object({
regions: z.array(types.string()),
});
export function twentyNineFromJSON(
jsonString: string,
): SafeParseResult<TwentyNine, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentyNine$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentyNine' from JSON`,
);
}
/** @internal */
export const PiiRedaction$inboundSchema: z.ZodType<
PiiRedaction,
z.ZodTypeDef,
unknown
> = z.object({
from: types.boolean(),
to: types.boolean(),
});
export function piiRedactionFromJSON(
jsonString: string,
): SafeParseResult<PiiRedaction, SDKValidationError> {
return safeParse(
jsonString,
(x) => PiiRedaction$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'PiiRedaction' from JSON`,
);
}
/** @internal */
export const TwentyEight$inboundSchema: z.ZodType<
TwentyEight,
z.ZodTypeDef,
unknown
> = 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: string,
): SafeParseResult<TwentyEight, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentyEight$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentyEight' from JSON`,
);
}
/** @internal */
export const PrivateProvider$inboundSchema: z.ZodType<
PrivateProvider,
z.ZodTypeDef,
unknown
> = z.object({
slug: types.string(),
});
export function privateProviderFromJSON(
jsonString: string,
): SafeParseResult<PrivateProvider, SDKValidationError> {
return safeParse(
jsonString,
(x) => PrivateProvider$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'PrivateProvider' from JSON`,
);
}
/** @internal */
export const TwentySeven$inboundSchema: z.ZodType<
TwentySeven,
z.ZodTypeDef,
unknown
> = z.object({
privateProvider: z.lazy(() => PrivateProvider$inboundSchema),
});
export function twentySevenFromJSON(
jsonString: string,
): SafeParseResult<TwentySeven, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentySeven$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentySeven' from JSON`,
);
}
/** @internal */
export const PayloadPrivateModel$inboundSchema: z.ZodType<
PayloadPrivateModel,
z.ZodTypeDef,
unknown
> = z.object({
slug: types.string(),
});
export function payloadPrivateModelFromJSON(
jsonString: string,
): SafeParseResult<PayloadPrivateModel, SDKValidationError> {
return safeParse(
jsonString,
(x) => PayloadPrivateModel$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'PayloadPrivateModel' from JSON`,
);
}
/** @internal */
export const TwentySix$inboundSchema: z.ZodType<
TwentySix,
z.ZodTypeDef,
unknown
> = z.object({
privateModel: z.lazy(() => PayloadPrivateModel$inboundSchema),
});
export function twentySixFromJSON(
jsonString: string,
): SafeParseResult<TwentySix, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentySix$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentySix' from JSON`,
);
}
/** @internal */
export const PrivateModel$inboundSchema: z.ZodType<
PrivateModel,
z.ZodTypeDef,
unknown
> = z.object({
slug: types.string(),
providerSlug: types.string(),
});
export function privateModelFromJSON(
jsonString: string,
): SafeParseResult<PrivateModel, SDKValidationError> {
return safeParse(
jsonString,
(x) => PrivateModel$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'PrivateModel' from JSON`,
);
}
/** @internal */
export const TwentyFive$inboundSchema: z.ZodType<
TwentyFive,
z.ZodTypeDef,
unknown
> = z.object({
privateModel: z.lazy(() => PrivateModel$inboundSchema),
});
export function twentyFiveFromJSON(
jsonString: string,
): SafeParseResult<TwentyFive, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentyFive$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentyFive' from JSON`,
);
}
/** @internal */
export const TwentyFour$inboundSchema: z.ZodType<
TwentyFour,
z.ZodTypeDef,
unknown
> = z.object({
added: z.array(types.string()),
removed: z.array(types.string()),
});
export function twentyFourFromJSON(
jsonString: string,
): SafeParseResult<TwentyFour, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentyFour$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentyFour' from JSON`,
);
}
/** @internal */
export const TwentyThree$inboundSchema: z.ZodType<
TwentyThree,
z.ZodTypeDef,
unknown
> = z.object({
amount: types.string(),
purchaseIntentId: types.string(),
});
export function twentyThreeFromJSON(
jsonString: string,
): SafeParseResult<TwentyThree, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentyThree$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentyThree' from JSON`,
);
}
/** @internal */
export const TwentyTwo$inboundSchema: z.ZodType<
TwentyTwo,
z.ZodTypeDef,
unknown
> = z.object({
enabled: types.boolean(),
});
export function twentyTwoFromJSON(
jsonString: string,
): SafeParseResult<TwentyTwo, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentyTwo$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentyTwo' from JSON`,
);
}
/** @internal */
export const PayloadCredential$inboundSchema: z.ZodType<
PayloadCredential,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
name: types.string(),
providerSlug: types.string(),
});
export function payloadCredentialFromJSON(
jsonString: string,
): SafeParseResult<PayloadCredential, SDKValidationError> {
return safeParse(
jsonString,
(x) => PayloadCredential$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'PayloadCredential' from JSON`,
);
}
/** @internal */
export const TwentyOne$inboundSchema: z.ZodType<
TwentyOne,
z.ZodTypeDef,
unknown
> = 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: string,
): SafeParseResult<TwentyOne, SDKValidationError> {
return safeParse(
jsonString,
(x) => TwentyOne$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'TwentyOne' from JSON`,
);
}
/** @internal */
export const Credential$inboundSchema: z.ZodType<
Credential,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
name: types.string(),
providerSlug: types.string(),
});
export function credentialFromJSON(
jsonString: string,
): SafeParseResult<Credential, SDKValidationError> {
return safeParse(
jsonString,
(x) => Credential$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Credential' from JSON`,
);
}
/** @internal */
export const Twenty$inboundSchema: z.ZodType<Twenty, z.ZodTypeDef, unknown> = z
.object({
credential: z.lazy(() => Credential$inboundSchema),
});
export function twentyFromJSON(
jsonString: string,
): SafeParseResult<Twenty, SDKValidationError> {
return safeParse(
jsonString,
(x) => Twenty$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Twenty' from JSON`,
);
}
/** @internal */
export const PayloadScopeType$inboundSchema: z.ZodNativeEnum<
typeof PayloadScopeType
> = z.nativeEnum(PayloadScopeType);
/** @internal */
export const UserEventPayload19RefreshPeriod$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayload19RefreshPeriod
> = z.nativeEnum(UserEventPayload19RefreshPeriod);
/** @internal */
export const UserEventPayload19Budget$inboundSchema: z.ZodType<
UserEventPayload19Budget,
z.ZodTypeDef,
unknown
> = z.object({
limitAmount: types.number(),
refreshPeriod: UserEventPayload19RefreshPeriod$inboundSchema,
alertThresholds: types.optional(z.array(types.number())),
});
export function userEventPayload19BudgetFromJSON(
jsonString: string,
): SafeParseResult<UserEventPayload19Budget, SDKValidationError> {
return safeParse(
jsonString,
(x) => UserEventPayload19Budget$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'UserEventPayload19Budget' from JSON`,
);
}
/** @internal */
export const UserEventPayload19Change$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayload19Change
> = z.nativeEnum(UserEventPayload19Change);
/** @internal */
export const Nineteen$inboundSchema: z.ZodType<
Nineteen,
z.ZodTypeDef,
unknown
> = 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: string,
): SafeParseResult<Nineteen, SDKValidationError> {
return safeParse(
jsonString,
(x) => Nineteen$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Nineteen' from JSON`,
);
}
/** @internal */
export const ScopeType$inboundSchema: z.ZodNativeEnum<typeof ScopeType> = z
.nativeEnum(ScopeType);
/** @internal */
export const UserEventPayloadRefreshPeriod$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayloadRefreshPeriod
> = z.nativeEnum(UserEventPayloadRefreshPeriod);
/** @internal */
export const UserEventPayloadBudget$inboundSchema: z.ZodType<
UserEventPayloadBudget,
z.ZodTypeDef,
unknown
> = z.object({
limitAmount: types.number(),
refreshPeriod: UserEventPayloadRefreshPeriod$inboundSchema,
alertThresholds: types.optional(z.array(types.number())),
});
export function userEventPayloadBudgetFromJSON(
jsonString: string,
): SafeParseResult<UserEventPayloadBudget, SDKValidationError> {
return safeParse(
jsonString,
(x) => UserEventPayloadBudget$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'UserEventPayloadBudget' from JSON`,
);
}
/** @internal */
export const UserEventPayloadChange$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayloadChange
> = z.nativeEnum(UserEventPayloadChange);
/** @internal */
export const Eighteen$inboundSchema: z.ZodType<
Eighteen,
z.ZodTypeDef,
unknown
> = z.object({
scopeType: ScopeType$inboundSchema,
budget: z.nullable(z.lazy(() => UserEventPayloadBudget$inboundSchema))
.optional(),
change: UserEventPayloadChange$inboundSchema,
});
export function eighteenFromJSON(
jsonString: string,
): SafeParseResult<Eighteen, SDKValidationError> {
return safeParse(
jsonString,
(x) => Eighteen$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Eighteen' from JSON`,
);
}
/** @internal */
export const PayloadChange$inboundSchema: z.ZodNativeEnum<
typeof PayloadChange
> = z.nativeEnum(PayloadChange);
/** @internal */
export const Settings$inboundSchema: z.ZodType<
Settings,
z.ZodTypeDef,
unknown
> = z.object({
minimumBalance: types.string(),
targetBalance: types.string(),
maximumMonthlySpend: types.nullable(types.string()),
});
export function settingsFromJSON(
jsonString: string,
): SafeParseResult<Settings, SDKValidationError> {
return safeParse(
jsonString,
(x) => Settings$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Settings' from JSON`,
);
}
/** @internal */
export const Previous$inboundSchema: z.ZodType<
Previous,
z.ZodTypeDef,
unknown
> = z.object({
minimumBalance: types.string(),
targetBalance: types.string(),
maximumMonthlySpend: types.nullable(types.string()),
});
export function previousFromJSON(
jsonString: string,
): SafeParseResult<Previous, SDKValidationError> {
return safeParse(
jsonString,
(x) => Previous$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Previous' from JSON`,
);
}
/** @internal */
export const Commitment$inboundSchema: z.ZodType<
Commitment,
z.ZodTypeDef,
unknown
> = z.object({
maximumMonthlySpend: types.nullable(types.string()),
deferredInvoiceTargetBalance: types.string(),
});
export function commitmentFromJSON(
jsonString: string,
): SafeParseResult<Commitment, SDKValidationError> {
return safeParse(
jsonString,
(x) => Commitment$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Commitment' from JSON`,
);
}
/** @internal */
export const Seventeen$inboundSchema: z.ZodType<
Seventeen,
z.ZodTypeDef,
unknown
> = 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: string,
): SafeParseResult<Seventeen, SDKValidationError> {
return safeParse(
jsonString,
(x) => Seventeen$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Seventeen' from JSON`,
);
}
/** @internal */
export const UserEventPayloadApiKey$inboundSchema: z.ZodType<
UserEventPayloadApiKey,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
name: types.string(),
});
export function userEventPayloadApiKeyFromJSON(
jsonString: string,
): SafeParseResult<UserEventPayloadApiKey, SDKValidationError> {
return safeParse(
jsonString,
(x) => UserEventPayloadApiKey$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'UserEventPayloadApiKey' from JSON`,
);
}
/** @internal */
export const PayloadRefreshPeriod$inboundSchema: z.ZodNativeEnum<
typeof PayloadRefreshPeriod
> = z.nativeEnum(PayloadRefreshPeriod);
/** @internal */
export const PayloadBudget$inboundSchema: z.ZodType<
PayloadBudget,
z.ZodTypeDef,
unknown
> = z.object({
limitAmount: types.number(),
refreshPeriod: PayloadRefreshPeriod$inboundSchema,
alertThresholds: types.optional(z.array(types.number())),
});
export function payloadBudgetFromJSON(
jsonString: string,
): SafeParseResult<PayloadBudget, SDKValidationError> {
return safeParse(
jsonString,
(x) => PayloadBudget$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'PayloadBudget' from JSON`,
);
}
/** @internal */
export const Change$inboundSchema: z.ZodNativeEnum<typeof Change> = z
.nativeEnum(Change);
/** @internal */
export const Sixteen$inboundSchema: z.ZodType<Sixteen, z.ZodTypeDef, unknown> =
z.object({
apiKey: z.lazy(() => UserEventPayloadApiKey$inboundSchema),
budget: z.nullable(z.lazy(() => PayloadBudget$inboundSchema)).optional(),
change: Change$inboundSchema,
});
export function sixteenFromJSON(
jsonString: string,
): SafeParseResult<Sixteen, SDKValidationError> {
return safeParse(
jsonString,
(x) => Sixteen$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Sixteen' from JSON`,
);
}
/** @internal */
export const PayloadApiKey$inboundSchema: z.ZodType<
PayloadApiKey,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
name: types.string(),
});
export function payloadApiKeyFromJSON(
jsonString: string,
): SafeParseResult<PayloadApiKey, SDKValidationError> {
return safeParse(
jsonString,
(x) => PayloadApiKey$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'PayloadApiKey' from JSON`,
);
}
/** @internal */
export const Fifteen$inboundSchema: z.ZodType<Fifteen, z.ZodTypeDef, unknown> =
z.object({
apiKey: z.lazy(() => PayloadApiKey$inboundSchema),
});
export function fifteenFromJSON(
jsonString: string,
): SafeParseResult<Fifteen, SDKValidationError> {
return safeParse(
jsonString,
(x) => Fifteen$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Fifteen' from JSON`,
);
}
/** @internal */
export const UserEventPayload14ApiKey$inboundSchema: z.ZodType<
UserEventPayload14ApiKey,
z.ZodTypeDef,
unknown
> = z.object({
id: types.string(),
name: types.string(),
});
export function userEventPayload14ApiKeyFromJSON(
jsonString: string,
): SafeParseResult<UserEventPayload14ApiKey, SDKValidationError> {
return safeParse(
jsonString,
(x) => UserEventPayload14ApiKey$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'UserEventPayload14ApiKey' from JSON`,
);
}
/** @internal */
export const RefreshPeriod$inboundSchema: z.ZodNativeEnum<
typeof RefreshPeriod
> = z.nativeEnum(RefreshPeriod);
/** @internal */
export const Budget$inboundSchema: z.ZodType<Budget, z.ZodTypeDef, unknown> = z
.object({
limitAmount: types.number(),
refreshPeriod: RefreshPeriod$inboundSchema,
alertThresholds: types.optional(z.array(types.number())),
});
export function budgetFromJSON(
jsonString: string,
): SafeParseResult<Budget, SDKValidationError> {
return safeParse(
jsonString,
(x) => Budget$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Budget' from JSON`,
);
}
/** @internal */
export const Fourteen$inboundSchema: z.ZodType<
Fourteen,
z.ZodTypeDef,
unknown
> = 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: string,
): SafeParseResult<Fourteen, SDKValidationError> {
return safeParse(
jsonString,
(x) => Fourteen$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Fourteen' from JSON`,
);
}
/** @internal */
export const UserEventPayload13Provider$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayload13Provider
> = z.nativeEnum(UserEventPayload13Provider);
/** @internal */
export const FromPlan$inboundSchema: z.ZodNativeEnum<typeof FromPlan> = z
.nativeEnum(FromPlan);
/** @internal */
export const ToPlan$inboundSchema: z.ZodNativeEnum<typeof ToPlan> = z
.nativeEnum(ToPlan);
/** @internal */
export const Thirteen$inboundSchema: z.ZodType<
Thirteen,
z.ZodTypeDef,
unknown
> = 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: string,
): SafeParseResult<Thirteen, SDKValidationError> {
return safeParse(
jsonString,
(x) => Thirteen$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Thirteen' from JSON`,
);
}
/** @internal */
export const UserEventPayload12Provider$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayload12Provider
> = z.nativeEnum(UserEventPayload12Provider);
/** @internal */
export const ActorType$inboundSchema: z.ZodNativeEnum<typeof ActorType> = z
.nativeEnum(ActorType);
/** @internal */
export const Twelve$inboundSchema: z.ZodType<Twelve, z.ZodTypeDef, unknown> = 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: string,
): SafeParseResult<Twelve, SDKValidationError> {
return safeParse(
jsonString,
(x) => Twelve$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Twelve' from JSON`,
);
}
/** @internal */
export const UserEventPayload11Provider$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayload11Provider
> = z.nativeEnum(UserEventPayload11Provider);
/** @internal */
export const Eleven$inboundSchema: z.ZodType<Eleven, z.ZodTypeDef, unknown> = 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: string,
): SafeParseResult<Eleven, SDKValidationError> {
return safeParse(
jsonString,
(x) => Eleven$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Eleven' from JSON`,
);
}
/** @internal */
export const UserEventPayload10Provider$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayload10Provider
> = z.nativeEnum(UserEventPayload10Provider);
/** @internal */
export const Ten$inboundSchema: z.ZodType<Ten, z.ZodTypeDef, unknown> = 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: string,
): SafeParseResult<Ten, SDKValidationError> {
return safeParse(
jsonString,
(x) => Ten$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Ten' from JSON`,
);
}
/** @internal */
export const UserEventPayloadProvider$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayloadProvider
> = z.nativeEnum(UserEventPayloadProvider);
/** @internal */
export const Nine$inboundSchema: z.ZodType<Nine, z.ZodTypeDef, unknown> = 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: string,
): SafeParseResult<Nine, SDKValidationError> {
return safeParse(
jsonString,
(x) => Nine$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Nine' from JSON`,
);
}
/** @internal */
export const PayloadProvider$inboundSchema: z.ZodNativeEnum<
typeof PayloadProvider
> = z.nativeEnum(PayloadProvider);
/** @internal */
export const Eight$inboundSchema: z.ZodType<Eight, z.ZodTypeDef, unknown> = 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: string,
): SafeParseResult<Eight, SDKValidationError> {
return safeParse(
jsonString,
(x) => Eight$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Eight' from JSON`,
);
}
/** @internal */
export const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider> = z
.nativeEnum(Provider);
/** @internal */
export const Seven$inboundSchema: z.ZodType<Seven, z.ZodTypeDef, unknown> = 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: string,
): SafeParseResult<Seven, SDKValidationError> {
return safeParse(
jsonString,
(x) => Seven$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Seven' from JSON`,
);
}
/** @internal */
export const Six$inboundSchema: z.ZodType<Six, z.ZodTypeDef, unknown> = z
.object({
projectId: types.string(),
projectName: types.string(),
policyId: types.string(),
});
export function sixFromJSON(
jsonString: string,
): SafeParseResult<Six, SDKValidationError> {
return safeParse(
jsonString,
(x) => Six$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Six' from JSON`,
);
}
/** @internal */
export const UserEventPayload5Action$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayload5Action
> = z.nativeEnum(UserEventPayload5Action);
/** @internal */
export const Five$inboundSchema: z.ZodType<Five, z.ZodTypeDef, unknown> = z
.object({
action: UserEventPayload5Action$inboundSchema,
projectName: types.optional(types.string()),
projectId: types.optional(types.string()),
environment: z.array(types.string()),
});
export function fiveFromJSON(
jsonString: string,
): SafeParseResult<Five, SDKValidationError> {
return safeParse(
jsonString,
(x) => Five$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Five' from JSON`,
);
}
/** @internal */
export const UserEventPayload4Action$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayload4Action
> = z.nativeEnum(UserEventPayload4Action);
/** @internal */
export const Payload4$inboundSchema: z.ZodType<
Payload4,
z.ZodTypeDef,
unknown
> = 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: string,
): SafeParseResult<Payload4, SDKValidationError> {
return safeParse(
jsonString,
(x) => Payload4$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Payload4' from JSON`,
);
}
/** @internal */
export const UserEventPayloadAction$inboundSchema: z.ZodNativeEnum<
typeof UserEventPayloadAction
> = z.nativeEnum(UserEventPayloadAction);
/** @internal */
export const Payload3$inboundSchema: z.ZodType<
Payload3,
z.ZodTypeDef,
unknown
> = 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: string,
): SafeParseResult<Payload3, SDKValidationError> {
return safeParse(
jsonString,
(x) => Payload3$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Payload3' from JSON`,
);
}
/** @internal */
export const PayloadAction$inboundSchema: z.ZodNativeEnum<
typeof PayloadAction
> = z.nativeEnum(PayloadAction);
/** @internal */
export const Payload2$inboundSchema: z.ZodType<
Payload2,
z.ZodTypeDef,
unknown
> = z.object({
action: PayloadAction$inboundSchema,
id: types.string(),
slug: types.string(),
projectId: types.string(),
projectName: types.optional(types.string()),
});
export function payload2FromJSON(
jsonString: string,
): SafeParseResult<Payload2, SDKValidationError> {
return safeParse(
jsonString,
(x) => Payload2$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Payload2' from JSON`,
);
}
/** @internal */
export const Payload1$inboundSchema: z.ZodType<
Payload1,
z.ZodTypeDef,
unknown
> = z.object({});
export function payload1FromJSON(
jsonString: string,
): SafeParseResult<Payload1, SDKValidationError> {
return safeParse(
jsonString,
(x) => Payload1$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Payload1' from JSON`,
);
}
/** @internal */
export const Payload$inboundSchema: z.ZodType<Payload, z.ZodTypeDef, unknown> =
smartUnion([
ThreeHundredAndFiftyEight$inboundSchema,
OneHundredAndSeventyEight$inboundSchema,
OneHundredAndSixtyEight$inboundSchema,
TwoHundredAndTwentyFour$inboundSchema,
OneHundredAndSeventyNine$inboundSchema,
FourHundredAndFortyThree$inboundSchema,
OneHundredAndFourteen$inboundSchema,
OneHundredAndEightyOne$inboundSchema,
OneHundredAndEightyTwo$inboundSchema,
TwoHundredAndSixteen$inboundSchema,
TwoHundredAndSeventyNine$inboundSchema,
z.lazy(() => Payload3$inboundSchema),
OneHundredAndFiftyFive$inboundSchema,
OneHundredAndSeventyTwo$inboundSchema,
OneHundredAndSeventySix$inboundSchema,
OneHundredAndEighty$inboundSchema,
TwoHundredAndFiftySeven$inboundSchema,
ThreeHundredAndNineteen$inboundSchema,
ThreeHundredAndThirtySeven$inboundSchema,
ThreeHundredAndThirtyNine$inboundSchema,
z.lazy(() => TwentyEight$inboundSchema),
OneHundredAndEight$inboundSchema,
OneHundredAndEleven$inboundSchema,
OneHundredAndTwelve$inboundSchema,
OneHundredAndThirteen$inboundSchema,
OneHundredAndFifteen$inboundSchema,
OneHundredAndTwentyTwo$inboundSchema,
OneHundredAndFiftyThree$inboundSchema,
OneHundredAndSixtyTwo$inboundSchema,
OneHundredAndSeventyOne$inboundSchema,
OneHundredAndSeventySeven$inboundSchema,
TwoHundredAndFour$inboundSchema,
TwoHundredAndEight$inboundSchema,
TwoHundredAndSixtySeven$inboundSchema,
TwoHundredAndEightyOne$inboundSchema,
TwoHundredAndNinetyOne$inboundSchema,
ThreeHundredAndFiftySeven$inboundSchema,
FourHundredAndTwentySeven$inboundSchema,
FourHundredAndTwentyNine$inboundSchema,
FourHundredAndFortySix$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,
OneHundredAndSixtyNine$inboundSchema,
OneHundredAndSeventy$inboundSchema,
OneHundredAndEightyFour$inboundSchema,
OneHundredAndEightyEight$inboundSchema,
TwoHundredAndThree$inboundSchema,
TwoHundredAndFourteen$inboundSchema,
TwoHundredAndFifteen$inboundSchema,
TwoHundredAndSeventeen$inboundSchema,
TwoHundredAndTwentyTwo$inboundSchema,
TwoHundredAndTwentyFive$inboundSchema,
TwoHundredAndFortyThree$inboundSchema,
TwoHundredAndFortySix$inboundSchema,
TwoHundredAndFiftyFour$inboundSchema,
TwoHundredAndFiftyEight$inboundSchema,
TwoHundredAndSixty$inboundSchema,
TwoHundredAndSixtyOne$inboundSchema,
TwoHundredAndSixtyTwo$inboundSchema,
TwoHundredAndSixtyThree$inboundSchema,
TwoHundredAndSeventyEight$inboundSchema,
TwoHundredAndEighty$inboundSchema,
TwoHundredAndEightyFour$inboundSchema,
ThreeHundred$inboundSchema,
ThreeHundredAndFour$inboundSchema,
ThreeHundredAndSix$inboundSchema,
ThreeHundredAndThirteen$inboundSchema,
ThreeHundredAndFourteen$inboundSchema,
ThreeHundredAndFifteen$inboundSchema,
ThreeHundredAndSeventeen$inboundSchema,
ThreeHundredAndTwentyFive$inboundSchema,
ThreeHundredAndTwentySix$inboundSchema,
ThreeHundredAndTwentyNine$inboundSchema,
ThreeHundredAndThirtyFive$inboundSchema,
ThreeHundredAndThirtyEight$inboundSchema,
ThreeHundredAndFortyEight$inboundSchema,
ThreeHundredAndFortyNine$inboundSchema,
ThreeHundredAndFiftySix$inboundSchema,
ThreeHundredAndSixtyFour$inboundSchema,
ThreeHundredAndSeventyNine$inboundSchema,
ThreeHundredAndNinetySix$inboundSchema,
FourHundredAndTwentyTwo$inboundSchema,
FourHundredAndTwentyFour$inboundSchema,
FourHundredAndTwentyEight$inboundSchema,
FourHundredAndThirty$inboundSchema,
FourHundredAndThirtyOne$inboundSchema,
FourHundredAndThirtyTwo$inboundSchema,
FourHundredAndFortyNine$inboundSchema,
FourHundredAndFifty$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,
OneHundredAndFiftySeven$inboundSchema,
OneHundredAndFiftyEight$inboundSchema,
OneHundredAndFiftyNine$inboundSchema,
OneHundredAndSixtyThree$inboundSchema,
OneHundredAndSixtyFour$inboundSchema,
OneHundredAndSixtyFive$inboundSchema,
OneHundredAndSeventyThree$inboundSchema,
OneHundredAndSeventyFour$inboundSchema,
OneHundredAndEightyThree$inboundSchema,
OneHundredAndEightySeven$inboundSchema,
OneHundredAndNinetyFour$inboundSchema,
OneHundredAndNinetySeven$inboundSchema,
TwoHundred$inboundSchema,
TwoHundredAndFive$inboundSchema,
TwoHundredAndSeven$inboundSchema,
TwoHundredAndNine$inboundSchema,
TwoHundredAndTen$inboundSchema,
TwoHundredAndEleven$inboundSchema,
TwoHundredAndTwelve$inboundSchema,
TwoHundredAndThirteen$inboundSchema,
TwoHundredAndEighteen$inboundSchema,
TwoHundredAndNineteen$inboundSchema,
TwoHundredAndTwenty$inboundSchema,
TwoHundredAndTwentyOne$inboundSchema,
TwoHundredAndTwentyEight$inboundSchema,
TwoHundredAndThirtyFour$inboundSchema,
TwoHundredAndThirtySix$inboundSchema,
TwoHundredAndThirtySeven$inboundSchema,
TwoHundredAndThirtyNine$inboundSchema,
TwoHundredAndFortyOne$inboundSchema,
TwoHundredAndFortyTwo$inboundSchema,
TwoHundredAndFortyFour$inboundSchema,
TwoHundredAndFortyFive$inboundSchema,
TwoHundredAndFortySeven$inboundSchema,
TwoHundredAndFiftyTwo$inboundSchema,
TwoHundredAndFiftyFive$inboundSchema,
TwoHundredAndFiftySix$inboundSchema,
TwoHundredAndSixtyFour$inboundSchema,
TwoHundredAndSixtyFive$inboundSchema,
TwoHundredAndSixtySix$inboundSchema,
TwoHundredAndSixtyEight$inboundSchema,
TwoHundredAndSixtyNine$inboundSchema,
TwoHundredAndSeventy$inboundSchema,
TwoHundredAndSeventyOne$inboundSchema,
TwoHundredAndSeventyTwo$inboundSchema,
TwoHundredAndSeventyFive$inboundSchema,
TwoHundredAndSeventySix$inboundSchema,
TwoHundredAndSeventySeven$inboundSchema,
TwoHundredAndEightyTwo$inboundSchema,
TwoHundredAndEightyNine$inboundSchema,
TwoHundredAndNinetyTwo$inboundSchema,
TwoHundredAndNinetyThree$inboundSchema,
ThreeHundredAndSeven$inboundSchema,
ThreeHundredAndEight$inboundSchema,
ThreeHundredAndNine$inboundSchema,
ThreeHundredAndTen$inboundSchema,
ThreeHundredAndEleven$inboundSchema,
ThreeHundredAndTwentyTwo$inboundSchema,
ThreeHundredAndForty$inboundSchema,
ThreeHundredAndFiftyTwo$inboundSchema,
ThreeHundredAndSixtyOne$inboundSchema,
ThreeHundredAndEightyThree$inboundSchema,
FourHundredAndFive$inboundSchema,
FourHundredAndEleven$inboundSchema,
FourHundredAndTwelve$inboundSchema,
FourHundredAndFourteen$inboundSchema,
FourHundredAndTwentyFive$inboundSchema,
FourHundredAndTwentySix$inboundSchema,
FourHundredAndThirtySix$inboundSchema,
FourHundredAndThirtySeven$inboundSchema,
FourHundredAndThirtyEight$inboundSchema,
FourHundredAndThirtyNine$inboundSchema,
FourHundredAndFortyFive$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),
z.lazy(() => 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,
OneHundredAndSeventyFive$inboundSchema,
OneHundredAndEightyFive$inboundSchema,
OneHundredAndEightySix$inboundSchema,
OneHundredAndNinetyOne$inboundSchema,
OneHundredAndNinetyEight$inboundSchema,
OneHundredAndNinetyNine$inboundSchema,
TwoHundredAndOne$inboundSchema,
TwoHundredAndSix$inboundSchema,
TwoHundredAndTwentyThree$inboundSchema,
TwoHundredAndTwentySix$inboundSchema,
TwoHundredAndThirtyTwo$inboundSchema,
TwoHundredAndThirtyThree$inboundSchema,
TwoHundredAndThirtyFive$inboundSchema,
TwoHundredAndForty$inboundSchema,
TwoHundredAndFifty$inboundSchema,
TwoHundredAndFiftyThree$inboundSchema,
TwoHundredAndFiftyNine$inboundSchema,
TwoHundredAndEightyFive$inboundSchema,
TwoHundredAndEightySeven$inboundSchema,
TwoHundredAndEightyEight$inboundSchema,
TwoHundredAndNinety$inboundSchema,
TwoHundredAndNinetyFour$inboundSchema,
TwoHundredAndNinetyFive$inboundSchema,
TwoHundredAndNinetySeven$inboundSchema,
TwoHundredAndNinetyNine$inboundSchema,
ThreeHundredAndOne$inboundSchema,
ThreeHundredAndTwo$inboundSchema,
ThreeHundredAndThree$inboundSchema,
ThreeHundredAndFive$inboundSchema,
ThreeHundredAndTwelve$inboundSchema,
ThreeHundredAndSixteen$inboundSchema,
ThreeHundredAndEighteen$inboundSchema,
ThreeHundredAndTwentyOne$inboundSchema,
ThreeHundredAndTwentyThree$inboundSchema,
ThreeHundredAndTwentyFour$inboundSchema,
ThreeHundredAndTwentySeven$inboundSchema,
ThreeHundredAndTwentyEight$inboundSchema,
ThreeHundredAndThirtyOne$inboundSchema,
ThreeHundredAndThirtyTwo$inboundSchema,
ThreeHundredAndThirtyThree$inboundSchema,
ThreeHundredAndFortySeven$inboundSchema,
ThreeHundredAndFifty$inboundSchema,
ThreeHundredAndFiftyNine$inboundSchema,
ThreeHundredAndSixtyTwo$inboundSchema,
ThreeHundredAndSixtyFive$inboundSchema,
ThreeHundredAndSixtySeven$inboundSchema,
ThreeHundredAndSeventyTwo$inboundSchema,
ThreeHundredAndSeventyThree$inboundSchema,
ThreeHundredAndEightyOne$inboundSchema,
ThreeHundredAndEightySix$inboundSchema,
ThreeHundredAndEightySeven$inboundSchema,
ThreeHundredAndNinetyTwo$inboundSchema,
ThreeHundredAndNinetyFour$inboundSchema,
ThreeHundredAndNinetyNine$inboundSchema,
FourHundred$inboundSchema,
FourHundredAndThree$inboundSchema,
FourHundredAndEight$inboundSchema,
FourHundredAndNine$inboundSchema,
FourHundredAndTen$inboundSchema,
FourHundredAndThirteen$inboundSchema,
FourHundredAndFifteen$inboundSchema,
FourHundredAndSixteen$inboundSchema,
FourHundredAndTwenty$inboundSchema,
FourHundredAndTwentyOne$inboundSchema,
FourHundredAndTwentyThree$inboundSchema,
FourHundredAndThirtyFour$inboundSchema,
FourHundredAndFortyOne$inboundSchema,
FourHundredAndFortyFour$inboundSchema,
FourHundredAndFortyEight$inboundSchema,
FourHundredAndFiftyOne$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),
z.lazy(() => ThirtyThree$inboundSchema),
z.lazy(() => ThirtyFour$inboundSchema),
z.lazy(() => 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,
OneHundredAndSixty$inboundSchema,
OneHundredAndSixtyOne$inboundSchema,
OneHundredAndSixtySix$inboundSchema,
OneHundredAndSixtySeven$inboundSchema,
OneHundredAndEightyNine$inboundSchema,
OneHundredAndNinety$inboundSchema,
OneHundredAndNinetyTwo$inboundSchema,
OneHundredAndNinetyFive$inboundSchema,
OneHundredAndNinetySix$inboundSchema,
TwoHundredAndTwo$inboundSchema,
TwoHundredAndTwentySeven$inboundSchema,
TwoHundredAndThirtyOne$inboundSchema,
TwoHundredAndThirtyEight$inboundSchema,
TwoHundredAndFiftyOne$inboundSchema,
TwoHundredAndSeventyThree$inboundSchema,
TwoHundredAndSeventyFour$inboundSchema,
TwoHundredAndEightyThree$inboundSchema,
TwoHundredAndEightySix$inboundSchema,
TwoHundredAndNinetySix$inboundSchema,
TwoHundredAndNinetyEight$inboundSchema,
ThreeHundredAndTwenty$inboundSchema,
ThreeHundredAndThirty$inboundSchema,
ThreeHundredAndThirtyFour$inboundSchema,
ThreeHundredAndFortyOne$inboundSchema,
ThreeHundredAndFortyTwo$inboundSchema,
ThreeHundredAndFortyThree$inboundSchema,
ThreeHundredAndFortyFour$inboundSchema,
ThreeHundredAndFortySix$inboundSchema,
ThreeHundredAndFiftyOne$inboundSchema,
ThreeHundredAndFiftyFour$inboundSchema,
ThreeHundredAndFiftyFive$inboundSchema,
ThreeHundredAndSixtyThree$inboundSchema,
ThreeHundredAndSixtyNine$inboundSchema,
ThreeHundredAndSeventy$inboundSchema,
ThreeHundredAndSeventyFive$inboundSchema,
ThreeHundredAndSeventySix$inboundSchema,
ThreeHundredAndSeventySeven$inboundSchema,
ThreeHundredAndSeventyEight$inboundSchema,
ThreeHundredAndEighty$inboundSchema,
ThreeHundredAndEightyTwo$inboundSchema,
ThreeHundredAndEightyEight$inboundSchema,
ThreeHundredAndNinety$inboundSchema,
ThreeHundredAndNinetyOne$inboundSchema,
ThreeHundredAndNinetyFive$inboundSchema,
ThreeHundredAndNinetySeven$inboundSchema,
FourHundredAndOne$inboundSchema,
FourHundredAndFour$inboundSchema,
FourHundredAndSix$inboundSchema,
FourHundredAndSeven$inboundSchema,
FourHundredAndSeventeen$inboundSchema,
FourHundredAndEighteen$inboundSchema,
FourHundredAndNineteen$inboundSchema,
FourHundredAndThirtyThree$inboundSchema,
FourHundredAndThirtyFive$inboundSchema,
FourHundredAndForty$inboundSchema,
FourHundredAndFortyTwo$inboundSchema,
FourHundredAndFortySeven$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,
OneHundredAndFiftyFour$inboundSchema,
OneHundredAndFiftySix$inboundSchema,
OneHundredAndNinetyThree$inboundSchema,
TwoHundredAndTwentyNine$inboundSchema,
TwoHundredAndThirty$inboundSchema,
TwoHundredAndFortyEight$inboundSchema,
TwoHundredAndFortyNine$inboundSchema,
ThreeHundredAndThirtySix$inboundSchema,
ThreeHundredAndFortyFive$inboundSchema,
ThreeHundredAndFiftyThree$inboundSchema,
ThreeHundredAndSixty$inboundSchema,
ThreeHundredAndSixtySix$inboundSchema,
ThreeHundredAndSixtyEight$inboundSchema,
ThreeHundredAndSeventyOne$inboundSchema,
ThreeHundredAndSeventyFour$inboundSchema,
ThreeHundredAndEightyFour$inboundSchema,
ThreeHundredAndEightyFive$inboundSchema,
ThreeHundredAndEightyNine$inboundSchema,
ThreeHundredAndNinetyThree$inboundSchema,
ThreeHundredAndNinetyEight$inboundSchema,
FourHundredAndTwo$inboundSchema,
]);
export function payloadFromJSON(
jsonString: string,
): SafeParseResult<Payload, SDKValidationError> {
return safeParse(
jsonString,
(x) => Payload$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'Payload' from JSON`,
);
}
/** @internal */
export const UserEvent$inboundSchema: z.ZodType<
UserEvent,
z.ZodTypeDef,
unknown
> = 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([
ThreeHundredAndFiftyEight$inboundSchema,
OneHundredAndSeventyEight$inboundSchema,
OneHundredAndSixtyEight$inboundSchema,
TwoHundredAndTwentyFour$inboundSchema,
OneHundredAndSeventyNine$inboundSchema,
FourHundredAndFortyThree$inboundSchema,
OneHundredAndFourteen$inboundSchema,
OneHundredAndEightyOne$inboundSchema,
OneHundredAndEightyTwo$inboundSchema,
TwoHundredAndSixteen$inboundSchema,
TwoHundredAndSeventyNine$inboundSchema,
z.lazy(() => Payload3$inboundSchema),
OneHundredAndFiftyFive$inboundSchema,
OneHundredAndSeventyTwo$inboundSchema,
OneHundredAndSeventySix$inboundSchema,
OneHundredAndEighty$inboundSchema,
TwoHundredAndFiftySeven$inboundSchema,
ThreeHundredAndNineteen$inboundSchema,
ThreeHundredAndThirtySeven$inboundSchema,
ThreeHundredAndThirtyNine$inboundSchema,
z.lazy(() => TwentyEight$inboundSchema),
OneHundredAndEight$inboundSchema,
OneHundredAndEleven$inboundSchema,
OneHundredAndTwelve$inboundSchema,
OneHundredAndThirteen$inboundSchema,
OneHundredAndFifteen$inboundSchema,
OneHundredAndTwentyTwo$inboundSchema,
OneHundredAndFiftyThree$inboundSchema,
OneHundredAndSixtyTwo$inboundSchema,
OneHundredAndSeventyOne$inboundSchema,
OneHundredAndSeventySeven$inboundSchema,
TwoHundredAndFour$inboundSchema,
TwoHundredAndEight$inboundSchema,
TwoHundredAndSixtySeven$inboundSchema,
TwoHundredAndEightyOne$inboundSchema,
TwoHundredAndNinetyOne$inboundSchema,
ThreeHundredAndFiftySeven$inboundSchema,
FourHundredAndTwentySeven$inboundSchema,
FourHundredAndTwentyNine$inboundSchema,
FourHundredAndFortySix$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,
OneHundredAndSixtyNine$inboundSchema,
OneHundredAndSeventy$inboundSchema,
OneHundredAndEightyFour$inboundSchema,
OneHundredAndEightyEight$inboundSchema,
TwoHundredAndThree$inboundSchema,
TwoHundredAndFourteen$inboundSchema,
TwoHundredAndFifteen$inboundSchema,
TwoHundredAndSeventeen$inboundSchema,
TwoHundredAndTwentyTwo$inboundSchema,
TwoHundredAndTwentyFive$inboundSchema,
TwoHundredAndFortyThree$inboundSchema,
TwoHundredAndFortySix$inboundSchema,
TwoHundredAndFiftyFour$inboundSchema,
TwoHundredAndFiftyEight$inboundSchema,
TwoHundredAndSixty$inboundSchema,
TwoHundredAndSixtyOne$inboundSchema,
TwoHundredAndSixtyTwo$inboundSchema,
TwoHundredAndSixtyThree$inboundSchema,
TwoHundredAndSeventyEight$inboundSchema,
TwoHundredAndEighty$inboundSchema,
TwoHundredAndEightyFour$inboundSchema,
ThreeHundred$inboundSchema,
ThreeHundredAndFour$inboundSchema,
ThreeHundredAndSix$inboundSchema,
ThreeHundredAndThirteen$inboundSchema,
ThreeHundredAndFourteen$inboundSchema,
ThreeHundredAndFifteen$inboundSchema,
ThreeHundredAndSeventeen$inboundSchema,
ThreeHundredAndTwentyFive$inboundSchema,
ThreeHundredAndTwentySix$inboundSchema,
ThreeHundredAndTwentyNine$inboundSchema,
ThreeHundredAndThirtyFive$inboundSchema,
ThreeHundredAndThirtyEight$inboundSchema,
ThreeHundredAndFortyEight$inboundSchema,
ThreeHundredAndFortyNine$inboundSchema,
ThreeHundredAndFiftySix$inboundSchema,
ThreeHundredAndSixtyFour$inboundSchema,
ThreeHundredAndSeventyNine$inboundSchema,
ThreeHundredAndNinetySix$inboundSchema,
FourHundredAndTwentyTwo$inboundSchema,
FourHundredAndTwentyFour$inboundSchema,
FourHundredAndTwentyEight$inboundSchema,
FourHundredAndThirty$inboundSchema,
FourHundredAndThirtyOne$inboundSchema,
FourHundredAndThirtyTwo$inboundSchema,
FourHundredAndFortyNine$inboundSchema,
FourHundredAndFifty$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,
OneHundredAndFiftySeven$inboundSchema,
OneHundredAndFiftyEight$inboundSchema,
OneHundredAndFiftyNine$inboundSchema,
OneHundredAndSixtyThree$inboundSchema,
OneHundredAndSixtyFour$inboundSchema,
OneHundredAndSixtyFive$inboundSchema,
OneHundredAndSeventyThree$inboundSchema,
OneHundredAndSeventyFour$inboundSchema,
OneHundredAndEightyThree$inboundSchema,
OneHundredAndEightySeven$inboundSchema,
OneHundredAndNinetyFour$inboundSchema,
OneHundredAndNinetySeven$inboundSchema,
TwoHundred$inboundSchema,
TwoHundredAndFive$inboundSchema,
TwoHundredAndSeven$inboundSchema,
TwoHundredAndNine$inboundSchema,
TwoHundredAndTen$inboundSchema,
TwoHundredAndEleven$inboundSchema,
TwoHundredAndTwelve$inboundSchema,
TwoHundredAndThirteen$inboundSchema,
TwoHundredAndEighteen$inboundSchema,
TwoHundredAndNineteen$inboundSchema,
TwoHundredAndTwenty$inboundSchema,
TwoHundredAndTwentyOne$inboundSchema,
TwoHundredAndTwentyEight$inboundSchema,
TwoHundredAndThirtyFour$inboundSchema,
TwoHundredAndThirtySix$inboundSchema,
TwoHundredAndThirtySeven$inboundSchema,
TwoHundredAndThirtyNine$inboundSchema,
TwoHundredAndFortyOne$inboundSchema,
TwoHundredAndFortyTwo$inboundSchema,
TwoHundredAndFortyFour$inboundSchema,
TwoHundredAndFortyFive$inboundSchema,
TwoHundredAndFortySeven$inboundSchema,
TwoHundredAndFiftyTwo$inboundSchema,
TwoHundredAndFiftyFive$inboundSchema,
TwoHundredAndFiftySix$inboundSchema,
TwoHundredAndSixtyFour$inboundSchema,
TwoHundredAndSixtyFive$inboundSchema,
TwoHundredAndSixtySix$inboundSchema,
TwoHundredAndSixtyEight$inboundSchema,
TwoHundredAndSixtyNine$inboundSchema,
TwoHundredAndSeventy$inboundSchema,
TwoHundredAndSeventyOne$inboundSchema,
TwoHundredAndSeventyTwo$inboundSchema,
TwoHundredAndSeventyFive$inboundSchema,
TwoHundredAndSeventySix$inboundSchema,
TwoHundredAndSeventySeven$inboundSchema,
TwoHundredAndEightyTwo$inboundSchema,
TwoHundredAndEightyNine$inboundSchema,
TwoHundredAndNinetyTwo$inboundSchema,
TwoHundredAndNinetyThree$inboundSchema,
ThreeHundredAndSeven$inboundSchema,
ThreeHundredAndEight$inboundSchema,
ThreeHundredAndNine$inboundSchema,
ThreeHundredAndTen$inboundSchema,
ThreeHundredAndEleven$inboundSchema,
ThreeHundredAndTwentyTwo$inboundSchema,
ThreeHundredAndForty$inboundSchema,
ThreeHundredAndFiftyTwo$inboundSchema,
ThreeHundredAndSixtyOne$inboundSchema,
ThreeHundredAndEightyThree$inboundSchema,
FourHundredAndFive$inboundSchema,
FourHundredAndEleven$inboundSchema,
FourHundredAndTwelve$inboundSchema,
FourHundredAndFourteen$inboundSchema,
FourHundredAndTwentyFive$inboundSchema,
FourHundredAndTwentySix$inboundSchema,
FourHundredAndThirtySix$inboundSchema,
FourHundredAndThirtySeven$inboundSchema,
FourHundredAndThirtyEight$inboundSchema,
FourHundredAndThirtyNine$inboundSchema,
FourHundredAndFortyFive$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),
z.lazy(() => 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,
OneHundredAndSeventyFive$inboundSchema,
OneHundredAndEightyFive$inboundSchema,
OneHundredAndEightySix$inboundSchema,
OneHundredAndNinetyOne$inboundSchema,
OneHundredAndNinetyEight$inboundSchema,
OneHundredAndNinetyNine$inboundSchema,
TwoHundredAndOne$inboundSchema,
TwoHundredAndSix$inboundSchema,
TwoHundredAndTwentyThree$inboundSchema,
TwoHundredAndTwentySix$inboundSchema,
TwoHundredAndThirtyTwo$inboundSchema,
TwoHundredAndThirtyThree$inboundSchema,
TwoHundredAndThirtyFive$inboundSchema,
TwoHundredAndForty$inboundSchema,
TwoHundredAndFifty$inboundSchema,
TwoHundredAndFiftyThree$inboundSchema,
TwoHundredAndFiftyNine$inboundSchema,
TwoHundredAndEightyFive$inboundSchema,
TwoHundredAndEightySeven$inboundSchema,
TwoHundredAndEightyEight$inboundSchema,
TwoHundredAndNinety$inboundSchema,
TwoHundredAndNinetyFour$inboundSchema,
TwoHundredAndNinetyFive$inboundSchema,
TwoHundredAndNinetySeven$inboundSchema,
TwoHundredAndNinetyNine$inboundSchema,
ThreeHundredAndOne$inboundSchema,
ThreeHundredAndTwo$inboundSchema,
ThreeHundredAndThree$inboundSchema,
ThreeHundredAndFive$inboundSchema,
ThreeHundredAndTwelve$inboundSchema,
ThreeHundredAndSixteen$inboundSchema,
ThreeHundredAndEighteen$inboundSchema,
ThreeHundredAndTwentyOne$inboundSchema,
ThreeHundredAndTwentyThree$inboundSchema,
ThreeHundredAndTwentyFour$inboundSchema,
ThreeHundredAndTwentySeven$inboundSchema,
ThreeHundredAndTwentyEight$inboundSchema,
ThreeHundredAndThirtyOne$inboundSchema,
ThreeHundredAndThirtyTwo$inboundSchema,
ThreeHundredAndThirtyThree$inboundSchema,
ThreeHundredAndFortySeven$inboundSchema,
ThreeHundredAndFifty$inboundSchema,
ThreeHundredAndFiftyNine$inboundSchema,
ThreeHundredAndSixtyTwo$inboundSchema,
ThreeHundredAndSixtyFive$inboundSchema,
ThreeHundredAndSixtySeven$inboundSchema,
ThreeHundredAndSeventyTwo$inboundSchema,
ThreeHundredAndSeventyThree$inboundSchema,
ThreeHundredAndEightyOne$inboundSchema,
ThreeHundredAndEightySix$inboundSchema,
ThreeHundredAndEightySeven$inboundSchema,
ThreeHundredAndNinetyTwo$inboundSchema,
ThreeHundredAndNinetyFour$inboundSchema,
ThreeHundredAndNinetyNine$inboundSchema,
FourHundred$inboundSchema,
FourHundredAndThree$inboundSchema,
FourHundredAndEight$inboundSchema,
FourHundredAndNine$inboundSchema,
FourHundredAndTen$inboundSchema,
FourHundredAndThirteen$inboundSchema,
FourHundredAndFifteen$inboundSchema,
FourHundredAndSixteen$inboundSchema,
FourHundredAndTwenty$inboundSchema,
FourHundredAndTwentyOne$inboundSchema,
FourHundredAndTwentyThree$inboundSchema,
FourHundredAndThirtyFour$inboundSchema,
FourHundredAndFortyOne$inboundSchema,
FourHundredAndFortyFour$inboundSchema,
FourHundredAndFortyEight$inboundSchema,
FourHundredAndFiftyOne$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),
z.lazy(() => ThirtyThree$inboundSchema),
z.lazy(() => ThirtyFour$inboundSchema),
z.lazy(() => 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,
OneHundredAndSixty$inboundSchema,
OneHundredAndSixtyOne$inboundSchema,
OneHundredAndSixtySix$inboundSchema,
OneHundredAndSixtySeven$inboundSchema,
OneHundredAndEightyNine$inboundSchema,
OneHundredAndNinety$inboundSchema,
OneHundredAndNinetyTwo$inboundSchema,
OneHundredAndNinetyFive$inboundSchema,
OneHundredAndNinetySix$inboundSchema,
TwoHundredAndTwo$inboundSchema,
TwoHundredAndTwentySeven$inboundSchema,
TwoHundredAndThirtyOne$inboundSchema,
TwoHundredAndThirtyEight$inboundSchema,
TwoHundredAndFiftyOne$inboundSchema,
TwoHundredAndSeventyThree$inboundSchema,
TwoHundredAndSeventyFour$inboundSchema,
TwoHundredAndEightyThree$inboundSchema,
TwoHundredAndEightySix$inboundSchema,
TwoHundredAndNinetySix$inboundSchema,
TwoHundredAndNinetyEight$inboundSchema,
ThreeHundredAndTwenty$inboundSchema,
ThreeHundredAndThirty$inboundSchema,
ThreeHundredAndThirtyFour$inboundSchema,
ThreeHundredAndFortyOne$inboundSchema,
ThreeHundredAndFortyTwo$inboundSchema,
ThreeHundredAndFortyThree$inboundSchema,
ThreeHundredAndFortyFour$inboundSchema,
ThreeHundredAndFortySix$inboundSchema,
ThreeHundredAndFiftyOne$inboundSchema,
ThreeHundredAndFiftyFour$inboundSchema,
ThreeHundredAndFiftyFive$inboundSchema,
ThreeHundredAndSixtyThree$inboundSchema,
ThreeHundredAndSixtyNine$inboundSchema,
ThreeHundredAndSeventy$inboundSchema,
ThreeHundredAndSeventyFive$inboundSchema,
ThreeHundredAndSeventySix$inboundSchema,
ThreeHundredAndSeventySeven$inboundSchema,
ThreeHundredAndSeventyEight$inboundSchema,
ThreeHundredAndEighty$inboundSchema,
ThreeHundredAndEightyTwo$inboundSchema,
ThreeHundredAndEightyEight$inboundSchema,
ThreeHundredAndNinety$inboundSchema,
ThreeHundredAndNinetyOne$inboundSchema,
ThreeHundredAndNinetyFive$inboundSchema,
ThreeHundredAndNinetySeven$inboundSchema,
FourHundredAndOne$inboundSchema,
FourHundredAndFour$inboundSchema,
FourHundredAndSix$inboundSchema,
FourHundredAndSeven$inboundSchema,
FourHundredAndSeventeen$inboundSchema,
FourHundredAndEighteen$inboundSchema,
FourHundredAndNineteen$inboundSchema,
FourHundredAndThirtyThree$inboundSchema,
FourHundredAndThirtyFive$inboundSchema,
FourHundredAndForty$inboundSchema,
FourHundredAndFortyTwo$inboundSchema,
FourHundredAndFortySeven$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,
OneHundredAndFiftyFour$inboundSchema,
OneHundredAndFiftySix$inboundSchema,
OneHundredAndNinetyThree$inboundSchema,
TwoHundredAndTwentyNine$inboundSchema,
TwoHundredAndThirty$inboundSchema,
TwoHundredAndFortyEight$inboundSchema,
TwoHundredAndFortyNine$inboundSchema,
ThreeHundredAndThirtySix$inboundSchema,
ThreeHundredAndFortyFive$inboundSchema,
ThreeHundredAndFiftyThree$inboundSchema,
ThreeHundredAndSixty$inboundSchema,
ThreeHundredAndSixtySix$inboundSchema,
ThreeHundredAndSixtyEight$inboundSchema,
ThreeHundredAndSeventyOne$inboundSchema,
ThreeHundredAndSeventyFour$inboundSchema,
ThreeHundredAndEightyFour$inboundSchema,
ThreeHundredAndEightyFive$inboundSchema,
ThreeHundredAndEightyNine$inboundSchema,
ThreeHundredAndNinetyThree$inboundSchema,
ThreeHundredAndNinetyEight$inboundSchema,
FourHundredAndTwo$inboundSchema,
]),
),
});
export function userEventFromJSON(
jsonString: string,
): SafeParseResult<UserEvent, SDKValidationError> {
return safeParse(
jsonString,
(x) => UserEvent$inboundSchema.parse(JSON.parse(x)),
`Failed to parse 'UserEvent' from JSON`,
);
}