import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { TicketContact, TicketContact$Outbound } from "./ticketcontact.js"; import { TicketStatus } from "./ticketstatus.js"; export type Ticket = { ticketID: string; number: number; title: string; contact: TicketContact; status: TicketStatus; createdOn: Date; updatedOn: Date; latestMessageOn?: Date | undefined; closedOn?: Date | undefined; foreignID?: string | undefined; }; /** @internal */ export declare const Ticket$inboundSchema: z.ZodType; /** @internal */ export type Ticket$Outbound = { ticketID: string; number: number; title: string; contact: TicketContact$Outbound; status: string; createdOn: string; updatedOn: string; latestMessageOn?: string | undefined; closedOn?: string | undefined; foreignID?: string | undefined; }; /** @internal */ export declare const Ticket$outboundSchema: z.ZodType; export declare function ticketToJSON(ticket: Ticket): string; export declare function ticketFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=ticket.d.ts.map