import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FacetFilter, FacetFilter$Outbound } from "./facetfilter.js"; import { Person, Person$Outbound } from "./person.js"; export type PinDocument = { /** * The query strings for which the pinned result will show. */ queries?: Array | undefined; /** * Filters which restrict who should see the pinned document. Values are taken from the corresponding filters in people search. */ audienceFilters?: Array | undefined; /** * The opaque id of the pin. */ id?: string | undefined; /** * The document which should be a pinned result. */ documentId: string; attribution?: Person | undefined; updatedBy?: Person | undefined; createTime?: Date | undefined; updateTime?: Date | undefined; }; /** @internal */ export declare const PinDocument$inboundSchema: z.ZodType; /** @internal */ export type PinDocument$Outbound = { queries?: Array | undefined; audienceFilters?: Array | undefined; id?: string | undefined; documentId: string; attribution?: Person$Outbound | undefined; updatedBy?: Person$Outbound | undefined; createTime?: string | undefined; updateTime?: string | undefined; }; /** @internal */ export declare const PinDocument$outboundSchema: z.ZodType; export declare function pinDocumentToJSON(pinDocument: PinDocument): string; export declare function pinDocumentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=pindocument.d.ts.map