import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ListOrgBudgetEventsRequest = { orgId?: string | undefined; }; export declare const Type: { readonly ThresholdAlert: "threshold_alert"; readonly Blocked: "blocked"; }; export type Type = ClosedEnum; export type ListOrgBudgetEventsData = { id: string; budgetId: string; type: Type; pct: number | null; periodKey: string; targetId: string; spendSnapshot: number; limitSnapshot: number; createdAt: string; }; /** * OK */ export type ListOrgBudgetEventsResponseBody = { object: "list"; data: Array; }; /** @internal */ export declare const ListOrgBudgetEventsRequest$inboundSchema: z.ZodType; /** @internal */ export type ListOrgBudgetEventsRequest$Outbound = { org_id?: string | undefined; }; /** @internal */ export declare const ListOrgBudgetEventsRequest$outboundSchema: z.ZodType; export declare function listOrgBudgetEventsRequestToJSON(listOrgBudgetEventsRequest: ListOrgBudgetEventsRequest): string; export declare function listOrgBudgetEventsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Type$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Type$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListOrgBudgetEventsData$inboundSchema: z.ZodType; /** @internal */ export type ListOrgBudgetEventsData$Outbound = { id: string; budget_id: string; type: string; pct: number | null; period_key: string; target_id: string; spend_snapshot: number; limit_snapshot: number; created_at: string; }; /** @internal */ export declare const ListOrgBudgetEventsData$outboundSchema: z.ZodType; export declare function listOrgBudgetEventsDataToJSON(listOrgBudgetEventsData: ListOrgBudgetEventsData): string; export declare function listOrgBudgetEventsDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListOrgBudgetEventsResponseBody$inboundSchema: z.ZodType; /** @internal */ export type ListOrgBudgetEventsResponseBody$Outbound = { object: "list"; data: Array; }; /** @internal */ export declare const ListOrgBudgetEventsResponseBody$outboundSchema: z.ZodType; export declare function listOrgBudgetEventsResponseBodyToJSON(listOrgBudgetEventsResponseBody: ListOrgBudgetEventsResponseBody): string; export declare function listOrgBudgetEventsResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listorgbudgetevents.d.ts.map