import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PropertyDefinition, PropertyDefinition$Outbound } from "./propertydefinition.js"; import { PropertyGroup, PropertyGroup$Outbound } from "./propertygroup.js"; /** * The document category of this object type. */ export declare const DocCategory: { readonly Uncategorized: "UNCATEGORIZED"; readonly Tickets: "TICKETS"; readonly Crm: "CRM"; readonly PublishedContent: "PUBLISHED_CONTENT"; readonly CollaborativeContent: "COLLABORATIVE_CONTENT"; readonly QuestionAnswer: "QUESTION_ANSWER"; readonly Messaging: "MESSAGING"; readonly CodeRepository: "CODE_REPOSITORY"; readonly ChangeManagement: "CHANGE_MANAGEMENT"; readonly People: "PEOPLE"; readonly Email: "EMAIL"; readonly Sso: "SSO"; readonly Ats: "ATS"; readonly KnowledgeHub: "KNOWLEDGE_HUB"; readonly ExternalShortcut: "EXTERNAL_SHORTCUT"; readonly Entity: "ENTITY"; readonly Calendar: "CALENDAR"; readonly Agents: "AGENTS"; }; /** * The document category of this object type. */ export type DocCategory = OpenEnum; /** * The definition for an `DocumentMetadata.objectType` within a datasource. */ export type ObjectDefinition = { /** * Unique identifier for this `DocumentMetadata.objectType`. If omitted, this definition is used as a default for all unmatched `DocumentMetadata.objectType`s in this datasource. */ name?: string | undefined; /** * The user-friendly name of the object for display. */ displayLabel?: string | undefined; /** * The document category of this object type. */ docCategory?: DocCategory | undefined; propertyDefinitions?: Array | undefined; /** * A list of `PropertyGroup`s belonging to this object type, which will group properties to be displayed together in the UI. */ propertyGroups?: Array | undefined; /** * Whether or not the object is summarizable */ summarizable?: boolean | undefined; }; /** @internal */ export declare const DocCategory$inboundSchema: z.ZodType; /** @internal */ export declare const DocCategory$outboundSchema: z.ZodType; /** @internal */ export declare const ObjectDefinition$inboundSchema: z.ZodType; /** @internal */ export type ObjectDefinition$Outbound = { name?: string | undefined; displayLabel?: string | undefined; docCategory?: string | undefined; propertyDefinitions?: Array | undefined; propertyGroups?: Array | undefined; summarizable?: boolean | undefined; }; /** @internal */ export declare const ObjectDefinition$outboundSchema: z.ZodType; export declare function objectDefinitionToJSON(objectDefinition: ObjectDefinition): string; export declare function objectDefinitionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=objectdefinition.d.ts.map