Variable TicketDataSchemaConst

TicketDataSchema: ZodObject<{
    accentColor: ZodOptional<ZodString>;
    attendeeEmail: ZodString;
    attendeeName: ZodString;
    attendeeSemaphoreId: ZodEffects<ZodOptional<ZodEffects<ZodString, string, string>>, undefined | string, undefined | string>;
    checkerEmail: ZodOptional<ZodString>;
    eventEndDate: ZodOptional<ZodString>;
    eventId: ZodString;
    eventLocation: ZodOptional<ZodString>;
    eventName: ZodString;
    eventStartDate: ZodOptional<ZodString>;
    imageAltText: ZodOptional<ZodString>;
    imageUrl: ZodOptional<ZodString>;
    isAddOn: ZodOptional<ZodBoolean>;
    isConsumed: ZodBoolean;
    isRevoked: ZodBoolean;
    owner: ZodEffects<ZodOptional<ZodString>, undefined | string, undefined | string>;
    parentTicketId: ZodOptional<ZodString>;
    productId: ZodString;
    qrCodeOverrideImageUrl: ZodOptional<ZodString>;
    ticketCategory: ZodNativeEnum<typeof TicketCategory>;
    ticketId: ZodString;
    ticketName: ZodString;
    ticketSecret: ZodOptional<ZodString>;
    timestampConsumed: ZodNumber;
    timestampSigned: ZodNumber;
}, "strip", ZodTypeAny, {
    accentColor?: string;
    attendeeEmail: string;
    attendeeName: string;
    attendeeSemaphoreId?: string;
    checkerEmail?: string;
    eventEndDate?: string;
    eventId: string;
    eventLocation?: string;
    eventName: string;
    eventStartDate?: string;
    imageAltText?: string;
    imageUrl?: string;
    isAddOn?: boolean;
    isConsumed: boolean;
    isRevoked: boolean;
    owner?: string;
    parentTicketId?: string;
    productId: string;
    qrCodeOverrideImageUrl?: string;
    ticketCategory: TicketCategory;
    ticketId: string;
    ticketName: string;
    ticketSecret?: string;
    timestampConsumed: number;
    timestampSigned: number;
}, {
    accentColor?: string;
    attendeeEmail: string;
    attendeeName: string;
    attendeeSemaphoreId?: string;
    checkerEmail?: string;
    eventEndDate?: string;
    eventId: string;
    eventLocation?: string;
    eventName: string;
    eventStartDate?: string;
    imageAltText?: string;
    imageUrl?: string;
    isAddOn?: boolean;
    isConsumed: boolean;
    isRevoked: boolean;
    owner?: string;
    parentTicketId?: string;
    productId: string;
    qrCodeOverrideImageUrl?: string;
    ticketCategory: TicketCategory;
    ticketId: string;
    ticketName: string;
    ticketSecret?: string;
    timestampConsumed: number;
    timestampSigned: number;
}> = ...

Type declaration

  • accentColor: ZodOptional<ZodString>
  • attendeeEmail: ZodString
  • attendeeName: ZodString
  • attendeeSemaphoreId: ZodEffects<ZodOptional<ZodEffects<ZodString, string, string>>, undefined | string, undefined | string>

    V3 semaphore commitment. Optional, used only by legacy v3 tickets.

    Deprecated

  • checkerEmail: ZodOptional<ZodString>
  • eventEndDate: ZodOptional<ZodString>
  • eventId: ZodString
  • eventLocation: ZodOptional<ZodString>
  • eventName: ZodString
  • eventStartDate: ZodOptional<ZodString>
  • imageAltText: ZodOptional<ZodString>
  • imageUrl: ZodOptional<ZodString>
  • isAddOn: ZodOptional<ZodBoolean>
  • isConsumed: ZodBoolean
  • isRevoked: ZodBoolean
  • owner: ZodEffects<ZodOptional<ZodString>, undefined | string, undefined | string>

    Semaphore v4 identity commitment.

  • parentTicketId: ZodOptional<ZodString>
  • productId: ZodString
  • qrCodeOverrideImageUrl: ZodOptional<ZodString>
  • ticketCategory: ZodNativeEnum<typeof TicketCategory>
  • ticketId: ZodString
  • ticketName: ZodString
  • ticketSecret: ZodOptional<ZodString>
  • timestampConsumed: ZodNumber
  • timestampSigned: ZodNumber

Type declaration

  • Optional accentColor?: string
  • attendeeEmail: string
  • attendeeName: string
  • Optional attendeeSemaphoreId?: string

    V3 semaphore commitment. Optional, used only by legacy v3 tickets.

    Deprecated

  • Optional checkerEmail?: string
  • Optional eventEndDate?: string
  • eventId: string
  • Optional eventLocation?: string
  • eventName: string
  • Optional eventStartDate?: string
  • Optional imageAltText?: string
  • Optional imageUrl?: string
  • Optional isAddOn?: boolean
  • isConsumed: boolean
  • isRevoked: boolean
  • Optional owner?: string

    Semaphore v4 identity commitment.

  • Optional parentTicketId?: string
  • productId: string
  • Optional qrCodeOverrideImageUrl?: string
  • ticketCategory: TicketCategory
  • ticketId: string
  • ticketName: string
  • Optional ticketSecret?: string
  • timestampConsumed: number
  • timestampSigned: number

Type declaration

  • Optional accentColor?: string
  • attendeeEmail: string
  • attendeeName: string
  • Optional attendeeSemaphoreId?: string

    V3 semaphore commitment. Optional, used only by legacy v3 tickets.

    Deprecated

  • Optional checkerEmail?: string
  • Optional eventEndDate?: string
  • eventId: string
  • Optional eventLocation?: string
  • eventName: string
  • Optional eventStartDate?: string
  • Optional imageAltText?: string
  • Optional imageUrl?: string
  • Optional isAddOn?: boolean
  • isConsumed: boolean
  • isRevoked: boolean
  • Optional owner?: string

    Semaphore v4 identity commitment.

  • Optional parentTicketId?: string
  • productId: string
  • Optional qrCodeOverrideImageUrl?: string
  • ticketCategory: TicketCategory
  • ticketId: string
  • ticketName: string
  • Optional ticketSecret?: string
  • timestampConsumed: number
  • timestampSigned: number

Generated using TypeDoc