import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The initial version created with this prompt */ export type Version = { /** * Unique version identifier */ id: string; /** * Parent prompt identifier */ promptId: string; /** * Version number */ version: number; /** * Object type */ object: "prompt.version"; /** * The prompt template text with {{variable}} placeholders */ template: string; /** * Timestamp when this version was created */ createdAt: Date; }; export type CreatePromptResponse = { /** * Unique prompt identifier */ id: string; /** * Object type */ object: "prompt"; /** * Human-readable prompt name */ name: string; /** * Detailed description of the prompt */ description?: string | undefined; /** * Currently active version number */ activeVersion: number; /** * Most recent version number */ latestVersion: number; /** * Custom metadata key-value pairs */ metadata: { [k: string]: any; }; /** * Timestamp when the prompt was created */ createdAt: Date; /** * Timestamp when the prompt was last updated */ updatedAt: Date; /** * The initial version created with this prompt */ version: Version; }; /** @internal */ export declare const Version$inboundSchema: z.ZodType; /** @internal */ export type Version$Outbound = { id: string; prompt_id: string; version: number; object: "prompt.version"; template: string; created_at: string; }; /** @internal */ export declare const Version$outboundSchema: z.ZodType; export declare function versionToJSON(version: Version): string; export declare function versionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreatePromptResponse$inboundSchema: z.ZodType; /** @internal */ export type CreatePromptResponse$Outbound = { id: string; object: "prompt"; name: string; description?: string | undefined; active_version: number; latest_version: number; metadata: { [k: string]: any; }; created_at: string; updated_at: string; version: Version$Outbound; }; /** @internal */ export declare const CreatePromptResponse$outboundSchema: z.ZodType; export declare function createPromptResponseToJSON(createPromptResponse: CreatePromptResponse): string; export declare function createPromptResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createpromptresponse.d.ts.map