import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetSandboxUsageRequest = { /** * Start time as Unix seconds, inclusive */ startTime: number; /** * End time as Unix seconds, exclusive. Defaults to now. */ endTime?: number | null | undefined; /** * Time bucket width. */ bucketWidth?: components.SandboxUsageBucketWidth | undefined; /** * Repeat or comma-separate grouping dimensions. */ groupBy?: Array | null | undefined; /** * Aggregate usage across all organizations (cluster admins only). */ allOrgs?: boolean | undefined; /** * Filter by organization IDs (cluster admins only, implies cluster scope). */ orgIds?: Array | null | undefined; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; /** @internal */ export declare const GetSandboxUsageRequest$inboundSchema: z.ZodType; /** @internal */ export type GetSandboxUsageRequest$Outbound = { start_time: number; end_time?: number | null | undefined; bucket_width?: string | undefined; group_by?: Array | null | undefined; all_orgs: boolean; org_ids?: Array | null | undefined; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const GetSandboxUsageRequest$outboundSchema: z.ZodType; export declare function getSandboxUsageRequestToJSON(getSandboxUsageRequest: GetSandboxUsageRequest): string; export declare function getSandboxUsageRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getsandboxusage.d.ts.map