Variable GenericPretixOrderSchemaConst
GenericPretixOrderSchema: ZodObject<{
code: ZodString;
email: ZodString;
name: ZodOptional<ZodNullable<ZodString>>;
positions: ZodArray<ZodObject<{
answers: ZodOptional<ZodArray<ZodObject<{
answer: ZodString;
option_identifiers: ZodArray<ZodString, "many">;
options: ZodArray<ZodNumber, "many">;
question: ZodNumber;
question_identifier: ZodString;
}, "strip", ZodTypeAny, {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}, {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}>, "many">>;
attendee_email: ZodNullable<ZodString>;
attendee_name: ZodNullable<ZodOptional<ZodString>>;
checkins: ZodArray<ZodObject<{
datetime: ZodString;
type: ZodEnum<["entry", "exit"]>;
}, "strip", ZodTypeAny, {
datetime: string;
type: "entry" | "exit";
}, {
datetime: string;
type: "entry" | "exit";
}>, "many">;
id: ZodNumber;
item: ZodNumber;
order: ZodString;
positionid: ZodNumber;
price: ZodString;
secret: ZodString;
subevent: ZodNullable<ZodNumber>;
}, "strip", ZodTypeAny, {
answers?: {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}[];
attendee_email: null | string;
attendee_name?: null | string;
checkins: {
datetime: string;
type: "entry" | "exit";
}[];
id: number;
item: number;
order: string;
positionid: number;
price: string;
secret: string;
subevent: null | number;
}, {
answers?: {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}[];
attendee_email: null | string;
attendee_name?: null | string;
checkins: {
datetime: string;
type: "entry" | "exit";
}[];
id: number;
item: number;
order: string;
positionid: number;
price: string;
secret: string;
subevent: null | number;
}>, "many">;
secret: ZodString;
status: ZodString;
testmode: ZodBoolean;
}, "strip", ZodTypeAny, {
code: string;
email: string;
name?: null | string;
positions: {
answers?: {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}[];
attendee_email: null | string;
attendee_name?: null | string;
checkins: {
datetime: string;
type: "entry" | "exit";
}[];
id: number;
item: number;
order: string;
positionid: number;
price: string;
secret: string;
subevent: null | number;
}[];
secret: string;
status: string;
testmode: boolean;
}, {
code: string;
email: string;
name?: null | string;
positions: {
answers?: {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}[];
attendee_email: null | string;
attendee_name?: null | string;
checkins: {
datetime: string;
type: "entry" | "exit";
}[];
id: number;
item: number;
order: string;
positionid: number;
price: string;
secret: string;
subevent: null | number;
}[];
secret: string;
status: string;
testmode: boolean;
}> = ...
Type declaration
code: ZodString
email: ZodString
name: ZodOptional<ZodNullable<ZodString>>
positions: ZodArray<ZodObject<{
answers: ZodOptional<ZodArray<ZodObject<{
answer: ZodString;
option_identifiers: ZodArray<ZodString, "many">;
options: ZodArray<ZodNumber, "many">;
question: ZodNumber;
question_identifier: ZodString;
}, "strip", ZodTypeAny, {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}, {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}>, "many">>;
attendee_email: ZodNullable<ZodString>;
attendee_name: ZodNullable<ZodOptional<ZodString>>;
checkins: ZodArray<ZodObject<{
datetime: ZodString;
type: ZodEnum<["entry", "exit"]>;
}, "strip", ZodTypeAny, {
datetime: string;
type: "entry" | "exit";
}, {
datetime: string;
type: "entry" | "exit";
}>, "many">;
id: ZodNumber;
item: ZodNumber;
order: ZodString;
positionid: ZodNumber;
price: ZodString;
secret: ZodString;
subevent: ZodNullable<ZodNumber>;
}, "strip", ZodTypeAny, {
answers?: {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}[];
attendee_email: null | string;
attendee_name?: null | string;
checkins: {
datetime: string;
type: "entry" | "exit";
}[];
id: number;
item: number;
order: string;
positionid: number;
price: string;
secret: string;
subevent: null | number;
}, {
answers?: {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}[];
attendee_email: null | string;
attendee_name?: null | string;
checkins: {
datetime: string;
type: "entry" | "exit";
}[];
id: number;
item: number;
order: string;
positionid: number;
price: string;
secret: string;
subevent: null | number;
}>, "many">
secret: ZodString
status: ZodString
testmode: ZodBoolean
Type declaration
code: string
email: string
Optional
name?: null | string
positions: {
answers?: {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}[];
attendee_email: null | string;
attendee_name?: null | string;
checkins: {
datetime: string;
type: "entry" | "exit";
}[];
id: number;
item: number;
order: string;
positionid: number;
price: string;
secret: string;
subevent: null | number;
}[]
secret: string
status: string
testmode: boolean
Type declaration
code: string
email: string
Optional
name?: null | string
positions: {
answers?: {
answer: string;
option_identifiers: string[];
options: number[];
question: number;
question_identifier: string;
}[];
attendee_email: null | string;
attendee_name?: null | string;
checkins: {
datetime: string;
type: "entry" | "exit";
}[];
id: number;
item: number;
order: string;
positionid: number;
price: string;
secret: string;
subevent: null | number;
}[]
secret: string
status: string
testmode: boolean