import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomEntityMetadata, CustomEntityMetadata$Outbound } from "./customentitymetadata.js"; import { ObjectPermissions, ObjectPermissions$Outbound } from "./objectpermissions.js"; import { UserRoleSpecification, UserRoleSpecification$Outbound } from "./userrolespecification.js"; export type CustomEntity = { permissions?: ObjectPermissions | undefined; /** * Unique identifier. */ id?: string | undefined; /** * Title or name of the custom entity. */ title?: string | undefined; /** * The datasource the custom entity is from. */ datasource?: string | undefined; /** * The type of the entity. Interpretation is specific to each datasource */ objectType?: string | undefined; metadata?: CustomEntityMetadata | undefined; /** * A list of user roles for the custom entity explicitly granted by the owner. */ roles?: Array | undefined; }; /** @internal */ export declare const CustomEntity$inboundSchema: z.ZodType; /** @internal */ export type CustomEntity$Outbound = { permissions?: ObjectPermissions$Outbound | undefined; id?: string | undefined; title?: string | undefined; datasource?: string | undefined; objectType?: string | undefined; metadata?: CustomEntityMetadata$Outbound | undefined; roles?: Array | undefined; }; /** @internal */ export declare const CustomEntity$outboundSchema: z.ZodType; export declare function customEntityToJSON(customEntity: CustomEntity): string; export declare function customEntityFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customentity.d.ts.map