import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BenefitMeterCreditProperties, BenefitMeterCreditProperties$Outbound } from "./benefitmetercreditproperties.js"; import { MetadataOutputType, MetadataOutputType$Outbound } from "./metadataoutputtype.js"; /** * A benefit of type `meter_unit`. * * @remarks * * Use it to grant a number of units on a specific meter. */ export type BenefitMeterCredit = { /** * The ID of the benefit. */ id: string; /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; type: "meter_credit"; /** * The description of the benefit. */ description: string; /** * Whether the benefit is selectable when creating a product. */ selectable: boolean; /** * Whether the benefit is deletable. */ deletable: boolean; /** * Whether the benefit is deleted. */ isDeleted: boolean; /** * The ID of the organization owning the benefit. */ organizationId: string; metadata: { [k: string]: MetadataOutputType; }; /** * Properties for a benefit of type `meter_unit`. */ properties: BenefitMeterCreditProperties; }; /** @internal */ export declare const BenefitMeterCredit$inboundSchema: z.ZodMiniType; /** @internal */ export type BenefitMeterCredit$Outbound = { id: string; created_at: string; modified_at: string | null; type: "meter_credit"; description: string; selectable: boolean; deletable: boolean; is_deleted: boolean; organization_id: string; metadata: { [k: string]: MetadataOutputType$Outbound; }; properties: BenefitMeterCreditProperties$Outbound; }; /** @internal */ export declare const BenefitMeterCredit$outboundSchema: z.ZodMiniType; export declare function benefitMeterCreditToJSON(benefitMeterCredit: BenefitMeterCredit): string; export declare function benefitMeterCreditFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=benefitmetercredit.d.ts.map