import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ConversationObject = { /** * The unique ID of the conversation */ id: string; /** * The object type, always 'conversation' */ object: "conversation"; /** * Unix timestamp of when the conversation was created */ createdAt: number; /** * Set of 16 key-value pairs. Keys max 64 chars, values max 512 chars. */ metadata?: { [k: string]: string; } | null | undefined; /** * Identity of the conversation owner. Either a SHA256 hash or raw userId:externalUserId depending on IDENTITY_MODE. */ identity?: string | undefined; /** * Unix timestamp of when the conversation was soft-deleted, or null if not deleted. */ deletedAt: number | null; }; /** @internal */ export declare const ConversationObject$inboundSchema: z.ZodType; /** @internal */ export type ConversationObject$Outbound = { id: string; object: "conversation"; created_at: number; metadata?: { [k: string]: string; } | null | undefined; identity?: string | undefined; deleted_at: number | null; }; /** @internal */ export declare const ConversationObject$outboundSchema: z.ZodType; export declare function conversationObjectToJSON(conversationObject: ConversationObject): string; export declare function conversationObjectFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=conversationobject.d.ts.map