import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { DocumentSpecUnion, DocumentSpecUnion$Outbound } from "./documentspecunion.js"; import { FacetFilter, FacetFilter$Outbound } from "./facetfilter.js"; import { StructuredTextMutableProperties, StructuredTextMutableProperties$Outbound } from "./structuredtextmutableproperties.js"; import { UserRoleSpecification, UserRoleSpecification$Outbound } from "./userrolespecification.js"; export declare const AnswerCreationDataSourceType: { readonly Document: "DOCUMENT"; readonly Assistant: "ASSISTANT"; }; export type AnswerCreationDataSourceType = ClosedEnum; export type AnswerCreationData = { question?: string | undefined; /** * Additional ways of phrasing this question. */ questionVariations?: Array | undefined; /** * The plain text answer to the question. */ bodyText?: string | undefined; /** * The parent board ID of this Answer, or 0 if it's a floating Answer. Adding Answers to Answer Boards is no longer permitted. * * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Answer Boards no longer supported. */ boardId?: number | undefined; /** * Filters which restrict who should see the answer. Values are taken from the corresponding filters in people search. */ audienceFilters?: Array | undefined; /** * A list of user roles for the answer added by the owner. */ addedRoles?: Array | undefined; /** * A list of user roles for the answer removed by the owner. */ removedRoles?: Array | undefined; /** * A list of roles for this answer explicitly granted by an owner, editor, or admin. */ roles?: Array | undefined; sourceDocumentSpec?: DocumentSpecUnion | undefined; sourceType?: AnswerCreationDataSourceType | undefined; /** * IDs of Collections to which a document is added. */ addedCollections?: Array | undefined; combinedAnswerText?: StructuredTextMutableProperties | undefined; }; /** @internal */ export declare const AnswerCreationDataSourceType$outboundSchema: z.ZodNativeEnum; /** @internal */ export type AnswerCreationData$Outbound = { question?: string | undefined; questionVariations?: Array | undefined; bodyText?: string | undefined; boardId?: number | undefined; audienceFilters?: Array | undefined; addedRoles?: Array | undefined; removedRoles?: Array | undefined; roles?: Array | undefined; sourceDocumentSpec?: DocumentSpecUnion$Outbound | undefined; sourceType?: string | undefined; addedCollections?: Array | undefined; combinedAnswerText?: StructuredTextMutableProperties$Outbound | undefined; }; /** @internal */ export declare const AnswerCreationData$outboundSchema: z.ZodType; export declare function answerCreationDataToJSON(answerCreationData: AnswerCreationData): string; //# sourceMappingURL=answercreationdata.d.ts.map