import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ChatRestrictionFilters } from "./chatrestrictionfilters.js"; import { ObjectPermissions } from "./objectpermissions.js"; import { Person } from "./person.js"; import { UserRoleSpecification } from "./userrolespecification.js"; export type PromptTemplate = { /** * The user-given identifier for this prompt template. */ name?: string | undefined; /** * The actual template string. */ template: string; /** * The Application Id the prompt template should be created under. Empty for default assistant. */ applicationId?: string | undefined; inclusions?: ChatRestrictionFilters | undefined; /** * A list of added user roles for the Workflow. */ addedRoles?: Array | undefined; /** * A list of removed user roles for the Workflow. */ removedRoles?: Array | undefined; permissions?: ObjectPermissions | undefined; /** * Opaque id for this prompt template */ id?: string | undefined; author?: Person | undefined; /** * Server Unix timestamp of the creation time. */ createTimestamp?: number | undefined; /** * Server Unix timestamp of the last update time. */ lastUpdateTimestamp?: number | undefined; lastUpdatedBy?: Person | undefined; /** * A list of roles for this prompt template explicitly granted. */ roles?: Array | undefined; }; /** @internal */ export declare const PromptTemplate$inboundSchema: z.ZodType; export declare function promptTemplateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=prompttemplate.d.ts.map