import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; /** * How the path filter is matched. CONTAINS matches the path anywhere; STARTS_WITH / ENDS_WITH anchor the match; EXACT requires the whole path to match. Only applied when path is set. */ export declare const PathMatchMode: { readonly Contains: "CONTAINS"; readonly StartsWith: "STARTS_WITH"; readonly EndsWith: "ENDS_WITH"; readonly Exact: "EXACT"; }; /** * How the path filter is matched. CONTAINS matches the path anywhere; STARTS_WITH / ENDS_WITH anchor the match; EXACT requires the whole path to match. Only applied when path is set. */ export type PathMatchMode = OpenEnum; export type LogsFilter = { /** * Filter by connector ID. Known limitation: this field is not currently applied at the log query resolver — connector filtering is performed via the service identifier internally (see GH-10099). */ connectorId?: string | null | undefined; /** * Filter by request path. Match behavior is controlled by path_match_mode (defaults to CONTAINS). */ path?: string | null | undefined; /** * How the path filter is matched. CONTAINS matches the path anywhere; STARTS_WITH / ENDS_WITH anchor the match; EXACT requires the whole path to match. Only applied when path is set. */ pathMatchMode?: PathMatchMode | null | undefined; /** * Filter by a single HTTP method. */ httpMethod?: string | null | undefined; /** * Filter by multiple HTTP methods. */ httpMethods?: Array | null | undefined; /** * Filter logs at or after this ISO 8601 date-time (inclusive). */ startDate?: Date | null | undefined; /** * Filter logs at or before this ISO 8601 date-time (inclusive). Must be on or after start_date. */ endDate?: Date | null | undefined; /** * Filter by a single HTTP status code. For backward compatibility - use status_codes for multiple values. */ statusCode?: number | null | undefined; /** * Filter by multiple HTTP status codes. Values must be between 100-599. Maximum 50 status codes allowed. */ statusCodes?: Array | null | undefined; excludeUnifiedApis?: string | null | undefined; }; /** @internal */ export declare const PathMatchMode$outboundSchema: z.ZodType; /** @internal */ export type LogsFilter$Outbound = { connector_id?: string | null | undefined; path?: string | null | undefined; path_match_mode: string | null; http_method?: string | null | undefined; http_methods?: Array | null | undefined; start_date?: string | null | undefined; end_date?: string | null | undefined; status_code?: number | null | undefined; status_codes?: Array | null | undefined; exclude_unified_apis?: string | null | undefined; }; /** @internal */ export declare const LogsFilter$outboundSchema: z.ZodType; export declare function logsFilterToJSON(logsFilter: LogsFilter): string; //# sourceMappingURL=logsfilter.d.ts.map