import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { MeterAggregation } from "./meter-aggregation.js"; import { MeterFilter } from "./meter-filter.js"; import { ResetUsage } from "./reset-usage.js"; import { SDKValidationError } from "./sdk-validation-error.js"; import { Status } from "./status.js"; export type MeterMeter = { aggregation?: MeterAggregation | undefined; createdAt?: Date | undefined; createdBy?: string | undefined; /** * EnvironmentID is the environment identifier for the meter */ environmentId?: string | undefined; /** * EventName is the unique identifier for the event that this meter is tracking * * @remarks * It is a mandatory field in the events table and hence being used as the primary matching field * We can have multiple meters tracking the same event but with different filters and aggregation */ eventName?: string | undefined; /** * Filters define the criteria for the meter to be applied on the events before aggregation * * @remarks * It also defines the possible values on which later the charges will be applied */ filters?: Array | undefined; /** * ID is the unique identifier for the meter */ id?: string | undefined; /** * Name is the display name of the meter */ name?: string | undefined; resetUsage?: ResetUsage | undefined; status?: Status | undefined; tenantId?: string | undefined; updatedAt?: Date | undefined; updatedBy?: string | undefined; }; /** @internal */ export declare const MeterMeter$inboundSchema: z.ZodMiniType; export declare function meterMeterFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=meter-meter.d.ts.map