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 ListUserDefaultBudgetEventsRequest = { orgId?: string | undefined; }; export declare const ListUserDefaultBudgetEventsType: { readonly ThresholdAlert: "threshold_alert"; readonly Blocked: "blocked"; }; export type ListUserDefaultBudgetEventsType = ClosedEnum; export type ListUserDefaultBudgetEventsData = { id: string; budgetId: string; type: ListUserDefaultBudgetEventsType; pct: number | null; periodKey: string; targetId: string; spendSnapshot: number; limitSnapshot: number; createdAt: string; }; /** * OK */ export type ListUserDefaultBudgetEventsResponseBody = { object: "list"; data: Array; }; /** @internal */ export declare const ListUserDefaultBudgetEventsRequest$inboundSchema: z.ZodType; /** @internal */ export type ListUserDefaultBudgetEventsRequest$Outbound = { org_id?: string | undefined; }; /** @internal */ export declare const ListUserDefaultBudgetEventsRequest$outboundSchema: z.ZodType; export declare function listUserDefaultBudgetEventsRequestToJSON(listUserDefaultBudgetEventsRequest: ListUserDefaultBudgetEventsRequest): string; export declare function listUserDefaultBudgetEventsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListUserDefaultBudgetEventsType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListUserDefaultBudgetEventsType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListUserDefaultBudgetEventsData$inboundSchema: z.ZodType; /** @internal */ export type ListUserDefaultBudgetEventsData$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 ListUserDefaultBudgetEventsData$outboundSchema: z.ZodType; export declare function listUserDefaultBudgetEventsDataToJSON(listUserDefaultBudgetEventsData: ListUserDefaultBudgetEventsData): string; export declare function listUserDefaultBudgetEventsDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListUserDefaultBudgetEventsResponseBody$inboundSchema: z.ZodType; /** @internal */ export type ListUserDefaultBudgetEventsResponseBody$Outbound = { object: "list"; data: Array; }; /** @internal */ export declare const ListUserDefaultBudgetEventsResponseBody$outboundSchema: z.ZodType; export declare function listUserDefaultBudgetEventsResponseBodyToJSON(listUserDefaultBudgetEventsResponseBody: ListUserDefaultBudgetEventsResponseBody): string; export declare function listUserDefaultBudgetEventsResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listuserdefaultbudgetevents.d.ts.map