/** * Zod Schemas for Validation * * Runtime validation schemas for adapter contracts and test specifications. * These schemas provide detailed validation with helpful error messages. */ import { z } from "zod"; /** * Test specification schema * * Validates the structure of a test spec including operation, params, and assertions. */ export declare const TestSpecSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; operation: z.ZodString; params: z.ZodRecord; assertions: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "success"; }, { type: "success"; }>, z.ZodObject<{ type: z.ZodLiteral<"error">; messageContains: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "error"; messageContains?: string | undefined; }, { type: "error"; messageContains?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"contains_text">; text: z.ZodString; caseInsensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; }, { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"not_contains_text">; text: z.ZodString; caseInsensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; }, { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response_time_ms">; max: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response_time_ms"; max: number; }, { type: "response_time_ms"; max: number; }>, z.ZodObject<{ type: z.ZodLiteral<"json_path">; path: z.ZodString; expected: z.ZodOptional, z.ZodObject<{ equals: z.ZodOptional>; contains: z.ZodOptional, "many">>; matches: z.ZodOptional; }, "strip", z.ZodTypeAny, { equals?: any; contains?: any[] | undefined; matches?: string | undefined; }, { equals?: any; contains?: any[] | undefined; matches?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "json_path"; path: string; expected?: any; }, { type: "json_path"; path: string; expected?: any; }>, z.ZodObject<{ type: z.ZodLiteral<"regex_match">; pattern: z.ZodString; flags: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "regex_match"; pattern: string; flags?: string | undefined; }, { type: "regex_match"; pattern: string; flags?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"snapshot">; file: z.ZodString; ignoreFields: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; }, { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; schema: z.ZodString; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: string; }, { type: "json_schema"; schema: string; }>, z.ZodObject<{ type: z.ZodLiteral<"custom">; module: z.ZodString; function: z.ZodString; params: z.ZodOptional>; }, "strip", z.ZodTypeAny, { function: string; type: "custom"; module: string; params?: Record | undefined; }, { function: string; type: "custom"; module: string; params?: Record | undefined; }>]>, "many">; timeout: z.ZodOptional; skip: z.ZodOptional; only: z.ZodOptional; saveAs: z.ZodOptional; setup: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; teardown: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; tags: z.ZodOptional>; priority: z.ZodOptional>; category: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; }, { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; }>; /** * Suite config schema */ export declare const SuiteConfigSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; adapter: z.ZodOptional; tests: z.ZodArray; operation: z.ZodString; params: z.ZodRecord; assertions: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "success"; }, { type: "success"; }>, z.ZodObject<{ type: z.ZodLiteral<"error">; messageContains: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "error"; messageContains?: string | undefined; }, { type: "error"; messageContains?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"contains_text">; text: z.ZodString; caseInsensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; }, { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"not_contains_text">; text: z.ZodString; caseInsensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; }, { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response_time_ms">; max: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response_time_ms"; max: number; }, { type: "response_time_ms"; max: number; }>, z.ZodObject<{ type: z.ZodLiteral<"json_path">; path: z.ZodString; expected: z.ZodOptional, z.ZodObject<{ equals: z.ZodOptional>; contains: z.ZodOptional, "many">>; matches: z.ZodOptional; }, "strip", z.ZodTypeAny, { equals?: any; contains?: any[] | undefined; matches?: string | undefined; }, { equals?: any; contains?: any[] | undefined; matches?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "json_path"; path: string; expected?: any; }, { type: "json_path"; path: string; expected?: any; }>, z.ZodObject<{ type: z.ZodLiteral<"regex_match">; pattern: z.ZodString; flags: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "regex_match"; pattern: string; flags?: string | undefined; }, { type: "regex_match"; pattern: string; flags?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"snapshot">; file: z.ZodString; ignoreFields: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; }, { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; schema: z.ZodString; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: string; }, { type: "json_schema"; schema: string; }>, z.ZodObject<{ type: z.ZodLiteral<"custom">; module: z.ZodString; function: z.ZodString; params: z.ZodOptional>; }, "strip", z.ZodTypeAny, { function: string; type: "custom"; module: string; params?: Record | undefined; }, { function: string; type: "custom"; module: string; params?: Record | undefined; }>]>, "many">; timeout: z.ZodOptional; skip: z.ZodOptional; only: z.ZodOptional; saveAs: z.ZodOptional; setup: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; teardown: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; tags: z.ZodOptional>; priority: z.ZodOptional>; category: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; }, { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; }>]>, "many">; server: z.ZodOptional>; execution: z.ZodOptional>; timeout: z.ZodOptional; isolation: z.ZodOptional>; stopOnFailure: z.ZodOptional; filters: z.ZodOptional>; includeTags: z.ZodOptional>; excludeTags: z.ZodOptional>; dryRun: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; }, { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; }>>; recording: z.ZodOptional; redaction: z.ZodOptional>; json_paths: z.ZodOptional>; }, "strip", z.ZodTypeAny, { headers?: string[] | undefined; json_paths?: string[] | undefined; }, { headers?: string[] | undefined; json_paths?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; }, { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; }>>; tags: z.ZodOptional>; config: z.ZodOptional>>; beforeAll: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; afterAll: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; tests: (string | { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; })[]; tags?: string[] | undefined; description?: string | undefined; server?: Record | undefined; adapter?: string | undefined; execution?: { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; } | undefined; recording?: { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; } | undefined; config?: Record | undefined; beforeAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; afterAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; }, { name: string; tests: (string | { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; })[]; tags?: string[] | undefined; description?: string | undefined; server?: Record | undefined; adapter?: string | undefined; execution?: { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; } | undefined; recording?: { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; } | undefined; config?: Record | undefined; beforeAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; afterAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; }>; /** * Suite spec schema */ export declare const SuiteSpecSchema: z.ZodObject<{ version: z.ZodString; suite: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; adapter: z.ZodOptional; tests: z.ZodArray; operation: z.ZodString; params: z.ZodRecord; assertions: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "success"; }, { type: "success"; }>, z.ZodObject<{ type: z.ZodLiteral<"error">; messageContains: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "error"; messageContains?: string | undefined; }, { type: "error"; messageContains?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"contains_text">; text: z.ZodString; caseInsensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; }, { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"not_contains_text">; text: z.ZodString; caseInsensitive: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; }, { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"response_time_ms">; max: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "response_time_ms"; max: number; }, { type: "response_time_ms"; max: number; }>, z.ZodObject<{ type: z.ZodLiteral<"json_path">; path: z.ZodString; expected: z.ZodOptional, z.ZodObject<{ equals: z.ZodOptional>; contains: z.ZodOptional, "many">>; matches: z.ZodOptional; }, "strip", z.ZodTypeAny, { equals?: any; contains?: any[] | undefined; matches?: string | undefined; }, { equals?: any; contains?: any[] | undefined; matches?: string | undefined; }>]>>; }, "strip", z.ZodTypeAny, { type: "json_path"; path: string; expected?: any; }, { type: "json_path"; path: string; expected?: any; }>, z.ZodObject<{ type: z.ZodLiteral<"regex_match">; pattern: z.ZodString; flags: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "regex_match"; pattern: string; flags?: string | undefined; }, { type: "regex_match"; pattern: string; flags?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"snapshot">; file: z.ZodString; ignoreFields: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; }, { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"json_schema">; schema: z.ZodString; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: string; }, { type: "json_schema"; schema: string; }>, z.ZodObject<{ type: z.ZodLiteral<"custom">; module: z.ZodString; function: z.ZodString; params: z.ZodOptional>; }, "strip", z.ZodTypeAny, { function: string; type: "custom"; module: string; params?: Record | undefined; }, { function: string; type: "custom"; module: string; params?: Record | undefined; }>]>, "many">; timeout: z.ZodOptional; skip: z.ZodOptional; only: z.ZodOptional; saveAs: z.ZodOptional; setup: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; teardown: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; tags: z.ZodOptional>; priority: z.ZodOptional>; category: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; }, { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; }>]>, "many">; server: z.ZodOptional>; execution: z.ZodOptional>; timeout: z.ZodOptional; isolation: z.ZodOptional>; stopOnFailure: z.ZodOptional; filters: z.ZodOptional>; includeTags: z.ZodOptional>; excludeTags: z.ZodOptional>; dryRun: z.ZodOptional; }, "strip", z.ZodTypeAny, { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; }, { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; }>>; recording: z.ZodOptional; redaction: z.ZodOptional>; json_paths: z.ZodOptional>; }, "strip", z.ZodTypeAny, { headers?: string[] | undefined; json_paths?: string[] | undefined; }, { headers?: string[] | undefined; json_paths?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; }, { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; }>>; tags: z.ZodOptional>; config: z.ZodOptional>>; beforeAll: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; afterAll: z.ZodOptional; saveAs: z.ZodOptional; }, "strip", z.ZodTypeAny, { operation: string; params: Record; saveAs?: string | undefined; }, { operation: string; params: Record; saveAs?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; tests: (string | { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; })[]; tags?: string[] | undefined; description?: string | undefined; server?: Record | undefined; adapter?: string | undefined; execution?: { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; } | undefined; recording?: { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; } | undefined; config?: Record | undefined; beforeAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; afterAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; }, { name: string; tests: (string | { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; })[]; tags?: string[] | undefined; description?: string | undefined; server?: Record | undefined; adapter?: string | undefined; execution?: { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; } | undefined; recording?: { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; } | undefined; config?: Record | undefined; beforeAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; afterAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; }>; }, "strip", z.ZodTypeAny, { version: string; suite: { name: string; tests: (string | { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; })[]; tags?: string[] | undefined; description?: string | undefined; server?: Record | undefined; adapter?: string | undefined; execution?: { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; } | undefined; recording?: { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; } | undefined; config?: Record | undefined; beforeAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; afterAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; }; }, { version: string; suite: { name: string; tests: (string | { operation: string; name: string; params: Record; assertions: ({ type: "success"; } | { type: "error"; messageContains?: string | undefined; } | { type: "contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "not_contains_text"; text: string; caseInsensitive?: boolean | undefined; } | { type: "response_time_ms"; max: number; } | { type: "json_path"; path: string; expected?: any; } | { type: "regex_match"; pattern: string; flags?: string | undefined; } | { type: "snapshot"; file: string; ignoreFields?: string[] | undefined; } | { type: "json_schema"; schema: string; } | { function: string; type: "custom"; module: string; params?: Record | undefined; })[]; skip?: boolean | undefined; timeout?: number | undefined; saveAs?: string | undefined; setup?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; teardown?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; tags?: string[] | undefined; priority?: "critical" | "high" | "medium" | "low" | undefined; category?: string | undefined; description?: string | undefined; only?: boolean | undefined; })[]; tags?: string[] | undefined; description?: string | undefined; server?: Record | undefined; adapter?: string | undefined; execution?: { timeout?: number | undefined; mode?: "record" | "replay" | "passthrough" | undefined; isolation?: "none" | "per_test" | "per_suite" | undefined; stopOnFailure?: boolean | undefined; filters?: string[] | undefined; includeTags?: string[] | undefined; excludeTags?: string[] | undefined; dryRun?: boolean | undefined; } | undefined; recording?: { cassette_dir?: string | undefined; redaction?: { headers?: string[] | undefined; json_paths?: string[] | undefined; } | undefined; } | undefined; config?: Record | undefined; beforeAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; afterAll?: { operation: string; params: Record; saveAs?: string | undefined; }[] | undefined; }; }>; /** * Type exports for schema types */ export type TestSpecSchemaType = z.infer; export type SuiteConfigSchemaType = z.infer; export type SuiteSpecSchemaType = z.infer; //# sourceMappingURL=schemas.d.ts.map