import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { TestFailureDetails, TestFailureDetails$Outbound } from "./testfailuredetails.js"; export declare const Status: { readonly Pending: "PENDING"; readonly Running: "RUNNING"; readonly Passed: "PASSED"; readonly Failed: "FAILED"; readonly Cancelled: "CANCELLED"; readonly Retrying: "RETRYING"; readonly WaitingForUser: "WAITING_FOR_USER"; }; export type Status = ClosedEnum; export type GetRunStatusesResponseViewport = { width: number; height: number; }; export declare const GetRunStatusesResponseBrowserType: { readonly Chromium: "Chromium"; readonly GoogleChrome: "Google Chrome"; }; export type GetRunStatusesResponseBrowserType = ClosedEnum; export type GetRunStatusesResponseBasicAuthorization = { username: string; password: string; }; export type GetRunStatusesResponseAdvanced = { disableAICaching?: boolean | undefined; viewport?: GetRunStatusesResponseViewport | undefined; browserType?: GetRunStatusesResponseBrowserType | undefined; pageLoadTimeoutMs?: number | undefined; smartWaitingTimeoutMs?: number | undefined; /** * HTTP headers to be sent on every request */ extraHeaders?: { [k: string]: string; } | undefined; userAgent?: string | undefined; basicAuthorization?: GetRunStatusesResponseBasicAuthorization | undefined; localChromeExtensionPaths?: Array | undefined; }; export type Test = { name: string; id: string; baseUrl?: string | null | undefined; advanced?: GetRunStatusesResponseAdvanced | null | undefined; }; export declare const FailureReason: { readonly AIProviderError: "AIProviderError"; readonly ActionFailureError: "ActionFailureError"; readonly AssertionFailureError: "AssertionFailureError"; readonly UserConfigurationError: "UserConfigurationError"; readonly JobTimeoutError: "JobTimeoutError"; readonly InternalWebAgentError: "InternalWebAgentError"; readonly InternalPlatformError: "InternalPlatformError"; readonly UnknownError: "UnknownError"; }; export type FailureReason = ClosedEnum; export type GetRunStatusesResponse = { id: string; status: Status; testName?: string | null | undefined; testId: string | null; test?: Test | null | undefined; failureReason?: FailureReason | null | undefined; failureDetails?: TestFailureDetails | null | undefined; }; /** @internal */ export declare const Status$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Status$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Status$ { /** @deprecated use `Status$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Pending: "PENDING"; readonly Running: "RUNNING"; readonly Passed: "PASSED"; readonly Failed: "FAILED"; readonly Cancelled: "CANCELLED"; readonly Retrying: "RETRYING"; readonly WaitingForUser: "WAITING_FOR_USER"; }>; /** @deprecated use `Status$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Pending: "PENDING"; readonly Running: "RUNNING"; readonly Passed: "PASSED"; readonly Failed: "FAILED"; readonly Cancelled: "CANCELLED"; readonly Retrying: "RETRYING"; readonly WaitingForUser: "WAITING_FOR_USER"; }>; } /** @internal */ export declare const GetRunStatusesResponseViewport$inboundSchema: z.ZodType; /** @internal */ export type GetRunStatusesResponseViewport$Outbound = { width: number; height: number; }; /** @internal */ export declare const GetRunStatusesResponseViewport$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetRunStatusesResponseViewport$ { /** @deprecated use `GetRunStatusesResponseViewport$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetRunStatusesResponseViewport$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetRunStatusesResponseViewport$Outbound` instead. */ type Outbound = GetRunStatusesResponseViewport$Outbound; } /** @internal */ export declare const GetRunStatusesResponseBrowserType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetRunStatusesResponseBrowserType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetRunStatusesResponseBrowserType$ { /** @deprecated use `GetRunStatusesResponseBrowserType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Chromium: "Chromium"; readonly GoogleChrome: "Google Chrome"; }>; /** @deprecated use `GetRunStatusesResponseBrowserType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Chromium: "Chromium"; readonly GoogleChrome: "Google Chrome"; }>; } /** @internal */ export declare const GetRunStatusesResponseBasicAuthorization$inboundSchema: z.ZodType; /** @internal */ export type GetRunStatusesResponseBasicAuthorization$Outbound = { username: string; password: string; }; /** @internal */ export declare const GetRunStatusesResponseBasicAuthorization$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetRunStatusesResponseBasicAuthorization$ { /** @deprecated use `GetRunStatusesResponseBasicAuthorization$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetRunStatusesResponseBasicAuthorization$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetRunStatusesResponseBasicAuthorization$Outbound` instead. */ type Outbound = GetRunStatusesResponseBasicAuthorization$Outbound; } /** @internal */ export declare const GetRunStatusesResponseAdvanced$inboundSchema: z.ZodType; /** @internal */ export type GetRunStatusesResponseAdvanced$Outbound = { disableAICaching: boolean; viewport?: GetRunStatusesResponseViewport$Outbound | undefined; browserType: string; pageLoadTimeoutMs?: number | undefined; smartWaitingTimeoutMs?: number | undefined; extraHeaders?: { [k: string]: string; } | undefined; userAgent?: string | undefined; basicAuthorization?: GetRunStatusesResponseBasicAuthorization$Outbound | undefined; localChromeExtensionPaths?: Array | undefined; }; /** @internal */ export declare const GetRunStatusesResponseAdvanced$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetRunStatusesResponseAdvanced$ { /** @deprecated use `GetRunStatusesResponseAdvanced$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetRunStatusesResponseAdvanced$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetRunStatusesResponseAdvanced$Outbound` instead. */ type Outbound = GetRunStatusesResponseAdvanced$Outbound; } /** @internal */ export declare const Test$inboundSchema: z.ZodType; /** @internal */ export type Test$Outbound = { name: string; id: string; baseUrl?: string | null | undefined; advanced?: GetRunStatusesResponseAdvanced$Outbound | null | undefined; }; /** @internal */ export declare const Test$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Test$ { /** @deprecated use `Test$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Test$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Test$Outbound` instead. */ type Outbound = Test$Outbound; } /** @internal */ export declare const FailureReason$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FailureReason$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace FailureReason$ { /** @deprecated use `FailureReason$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly AIProviderError: "AIProviderError"; readonly ActionFailureError: "ActionFailureError"; readonly AssertionFailureError: "AssertionFailureError"; readonly UserConfigurationError: "UserConfigurationError"; readonly JobTimeoutError: "JobTimeoutError"; readonly InternalWebAgentError: "InternalWebAgentError"; readonly InternalPlatformError: "InternalPlatformError"; readonly UnknownError: "UnknownError"; }>; /** @deprecated use `FailureReason$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly AIProviderError: "AIProviderError"; readonly ActionFailureError: "ActionFailureError"; readonly AssertionFailureError: "AssertionFailureError"; readonly UserConfigurationError: "UserConfigurationError"; readonly JobTimeoutError: "JobTimeoutError"; readonly InternalWebAgentError: "InternalWebAgentError"; readonly InternalPlatformError: "InternalPlatformError"; readonly UnknownError: "UnknownError"; }>; } /** @internal */ export declare const GetRunStatusesResponse$inboundSchema: z.ZodType; /** @internal */ export type GetRunStatusesResponse$Outbound = { id: string; status: string; testName?: string | null | undefined; testId: string | null; test?: Test$Outbound | null | undefined; failureReason?: string | null | undefined; failureDetails?: TestFailureDetails$Outbound | null | undefined; }; /** @internal */ export declare const GetRunStatusesResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetRunStatusesResponse$ { /** @deprecated use `GetRunStatusesResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetRunStatusesResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetRunStatusesResponse$Outbound` instead. */ type Outbound = GetRunStatusesResponse$Outbound; } //# sourceMappingURL=getrunstatusesresponse.d.ts.map