import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { IconConfig, IconConfig$Outbound } from "./iconconfig.js"; import { Person, Person$Outbound } from "./person.js"; /** * Metadata of a Chat a user had with Glean Assistant. This contains no actual conversational content. */ export type ChatMetadata = { /** * The opaque id of the Chat. */ id?: string | undefined; /** * Server Unix timestamp of the creation time (in seconds since epoch UTC). */ createTime?: number | undefined; createdBy?: Person | undefined; /** * Server Unix timestamp of the update time (in seconds since epoch UTC). */ updateTime?: number | undefined; /** * The name of the Chat. */ name?: string | undefined; /** * The ID of the AI App that this Chat is associated to. */ applicationId?: string | undefined; /** * The display name of the AI App that this Chat is associated to. */ applicationName?: string | undefined; /** * Defines how to render an icon */ icon?: IconConfig | undefined; }; /** @internal */ export declare const ChatMetadata$inboundSchema: z.ZodType; /** @internal */ export type ChatMetadata$Outbound = { id?: string | undefined; createTime?: number | undefined; createdBy?: Person$Outbound | undefined; updateTime?: number | undefined; name?: string | undefined; applicationId?: string | undefined; applicationName?: string | undefined; icon?: IconConfig$Outbound | undefined; }; /** @internal */ export declare const ChatMetadata$outboundSchema: z.ZodType; export declare function chatMetadataToJSON(chatMetadata: ChatMetadata): string; export declare function chatMetadataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=chatmetadata.d.ts.map