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 ListUserBudgetEventsRequest = { id: string; orgId?: string | undefined; }; export declare const ListUserBudgetEventsType: { readonly ThresholdAlert: "threshold_alert"; readonly Blocked: "blocked"; }; export type ListUserBudgetEventsType = ClosedEnum; export type ListUserBudgetEventsData = { id: string; budgetId: string; type: ListUserBudgetEventsType; pct: number | null; periodKey: string; targetId: string; spendSnapshot: number; limitSnapshot: number; createdAt: string; }; /** * OK */ export type ListUserBudgetEventsResponseBody = { object: "list"; data: Array; }; /** @internal */ export declare const ListUserBudgetEventsRequest$inboundSchema: z.ZodType; /** @internal */ export type ListUserBudgetEventsRequest$Outbound = { id: string; org_id?: string | undefined; }; /** @internal */ export declare const ListUserBudgetEventsRequest$outboundSchema: z.ZodType; export declare function listUserBudgetEventsRequestToJSON(listUserBudgetEventsRequest: ListUserBudgetEventsRequest): string; export declare function listUserBudgetEventsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListUserBudgetEventsType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListUserBudgetEventsType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListUserBudgetEventsData$inboundSchema: z.ZodType; /** @internal */ export type ListUserBudgetEventsData$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 ListUserBudgetEventsData$outboundSchema: z.ZodType; export declare function listUserBudgetEventsDataToJSON(listUserBudgetEventsData: ListUserBudgetEventsData): string; export declare function listUserBudgetEventsDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListUserBudgetEventsResponseBody$inboundSchema: z.ZodType; /** @internal */ export type ListUserBudgetEventsResponseBody$Outbound = { object: "list"; data: Array; }; /** @internal */ export declare const ListUserBudgetEventsResponseBody$outboundSchema: z.ZodType; export declare function listUserBudgetEventsResponseBodyToJSON(listUserBudgetEventsResponseBody: ListUserBudgetEventsResponseBody): string; export declare function listUserBudgetEventsResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listuserbudgetevents.d.ts.map