import * as z from "zod/v4-mini"; import { AddonCadence } from "./addon-cadence.js"; import { CheckoutParams, CheckoutParams$Outbound } from "./checkout-params.js"; import { LineItemCommitmentConfig, LineItemCommitmentConfig$Outbound } from "./line-item-commitment-config.js"; import { OverrideLineItemRequest, OverrideLineItemRequest$Outbound } from "./override-line-item-request.js"; import { ProrationBehavior } from "./proration-behavior.js"; export type AddAddonRequest = { addonId: string; cadence?: AddonCadence | undefined; checkout?: CheckoutParams | undefined; /** * LineItemCommitments allows setting commitment configuration per addon line item (keyed by price_id) */ lineItemCommitments?: { [k: string]: LineItemCommitmentConfig; } | undefined; metadata?: { [k: string]: any; } | undefined; /** * OverrideLineItems allows overriding price/quantity/billing model for specific addon prices */ overrideLineItems?: Array | undefined; prorationBehavior?: ProrationBehavior | undefined; startDate?: Date | undefined; subscriptionId: string; }; /** @internal */ export type AddAddonRequest$Outbound = { addon_id: string; cadence?: string | undefined; checkout?: CheckoutParams$Outbound | undefined; line_item_commitments?: { [k: string]: LineItemCommitmentConfig$Outbound; } | undefined; metadata?: { [k: string]: any; } | undefined; override_line_items?: Array | undefined; proration_behavior?: string | undefined; start_date?: string | undefined; subscription_id: string; }; /** @internal */ export declare const AddAddonRequest$outboundSchema: z.ZodMiniType; export declare function addAddonRequestToJSON(addAddonRequest: AddAddonRequest): string; //# sourceMappingURL=add-addon-request.d.ts.map