/** * Zod schemas for Test Case operations */ import { z } from "zod"; /** * Schema for listing test cases */ export declare const listTestCasesSchema: { projectKey: z.ZodString; folderId: z.ZodOptional; maxResults: z.ZodOptional; startAt: z.ZodOptional; }; /** * Schema for creating a test case */ export declare const createTestCaseSchema: { projectKey: z.ZodString; name: z.ZodString; objective: z.ZodOptional; precondition: z.ZodOptional; estimatedTime: z.ZodOptional; folderId: z.ZodOptional; statusName: z.ZodOptional; priorityName: z.ZodOptional; labels: z.ZodOptional>; customFields: z.ZodOptional>; }; /** * Schema for getting a test case */ export declare const getTestCaseSchema: { testCaseKey: z.ZodString; }; /** * Schema for updating a test case * Note: status and priority cannot be updated via this endpoint (use existing values) */ export declare const updateTestCaseSchema: { testCaseKey: z.ZodString; name: z.ZodOptional; objective: z.ZodOptional; precondition: z.ZodOptional; estimatedTime: z.ZodOptional; labels: z.ZodOptional>; customFields: z.ZodOptional>; }; /** * Schema for getting test steps */ export declare const getTestCaseTestStepsSchema: { testCaseKey: z.ZodString; maxResults: z.ZodOptional; startAt: z.ZodOptional; }; /** * Schema for creating test steps */ export declare const createTestCaseTestStepsSchema: { testCaseKey: z.ZodString; mode: z.ZodEnum<["APPEND", "OVERWRITE"]>; items: z.ZodArray; expectedResult: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; expectedResult: string; testData?: string | undefined; }, { description: string; expectedResult: string; testData?: string | undefined; }>; }, "strip", z.ZodTypeAny, { inline: { description: string; expectedResult: string; testData?: string | undefined; }; }, { inline: { description: string; expectedResult: string; testData?: string | undefined; }; }>, "many">; }; /** * Schema for creating a test case web link */ export declare const createTestCaseWebLinkSchema: { testCaseKey: z.ZodString; url: z.ZodString; description: z.ZodOptional; }; /** * Schema for creating a test case issue link */ export declare const createTestCaseIssueLinkSchema: { testCaseKey: z.ZodString; issueId: z.ZodNumber; }; export declare const ListTestCasesInput: z.ZodObject<{ projectKey: z.ZodString; folderId: z.ZodOptional; maxResults: z.ZodOptional; startAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { projectKey: string; folderId?: number | undefined; maxResults?: number | undefined; startAt?: number | undefined; }, { projectKey: string; folderId?: number | undefined; maxResults?: number | undefined; startAt?: number | undefined; }>; export declare const CreateTestCaseInput: z.ZodObject<{ projectKey: z.ZodString; name: z.ZodString; objective: z.ZodOptional; precondition: z.ZodOptional; estimatedTime: z.ZodOptional; folderId: z.ZodOptional; statusName: z.ZodOptional; priorityName: z.ZodOptional; labels: z.ZodOptional>; customFields: z.ZodOptional>; }, "strip", z.ZodTypeAny, { projectKey: string; name: string; folderId?: number | undefined; objective?: string | undefined; precondition?: string | undefined; estimatedTime?: number | undefined; statusName?: string | undefined; priorityName?: string | undefined; labels?: string[] | undefined; customFields?: Record | undefined; }, { projectKey: string; name: string; folderId?: number | undefined; objective?: string | undefined; precondition?: string | undefined; estimatedTime?: number | undefined; statusName?: string | undefined; priorityName?: string | undefined; labels?: string[] | undefined; customFields?: Record | undefined; }>; export declare const GetTestCaseInput: z.ZodObject<{ testCaseKey: z.ZodString; }, "strip", z.ZodTypeAny, { testCaseKey: string; }, { testCaseKey: string; }>; export declare const UpdateTestCaseInput: z.ZodObject<{ testCaseKey: z.ZodString; name: z.ZodOptional; objective: z.ZodOptional; precondition: z.ZodOptional; estimatedTime: z.ZodOptional; labels: z.ZodOptional>; customFields: z.ZodOptional>; }, "strip", z.ZodTypeAny, { testCaseKey: string; name?: string | undefined; objective?: string | undefined; precondition?: string | undefined; estimatedTime?: number | undefined; labels?: string[] | undefined; customFields?: Record | undefined; }, { testCaseKey: string; name?: string | undefined; objective?: string | undefined; precondition?: string | undefined; estimatedTime?: number | undefined; labels?: string[] | undefined; customFields?: Record | undefined; }>; export declare const GetTestCaseTestStepsInput: z.ZodObject<{ testCaseKey: z.ZodString; maxResults: z.ZodOptional; startAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { testCaseKey: string; maxResults?: number | undefined; startAt?: number | undefined; }, { testCaseKey: string; maxResults?: number | undefined; startAt?: number | undefined; }>; export declare const CreateTestCaseTestStepsInput: z.ZodObject<{ testCaseKey: z.ZodString; mode: z.ZodEnum<["APPEND", "OVERWRITE"]>; items: z.ZodArray; expectedResult: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; expectedResult: string; testData?: string | undefined; }, { description: string; expectedResult: string; testData?: string | undefined; }>; }, "strip", z.ZodTypeAny, { inline: { description: string; expectedResult: string; testData?: string | undefined; }; }, { inline: { description: string; expectedResult: string; testData?: string | undefined; }; }>, "many">; }, "strip", z.ZodTypeAny, { testCaseKey: string; mode: "APPEND" | "OVERWRITE"; items: { inline: { description: string; expectedResult: string; testData?: string | undefined; }; }[]; }, { testCaseKey: string; mode: "APPEND" | "OVERWRITE"; items: { inline: { description: string; expectedResult: string; testData?: string | undefined; }; }[]; }>; export type ListTestCasesInputType = z.infer; export type CreateTestCaseInputType = z.infer; export type GetTestCaseInputType = z.infer; export type UpdateTestCaseInputType = z.infer; export type GetTestCaseTestStepsInputType = z.infer; export type CreateTestCaseTestStepsInputType = z.infer;