import * as z from "zod/v4-mini"; import { BillingPeriod } from "./billing-period.js"; import { CommitmentBucketRequest, CommitmentBucketRequest$Outbound } from "./commitment-bucket-request.js"; import { CommitmentType } from "./commitment-type.js"; import { ProrationBehavior } from "./proration-behavior.js"; import { SubscriptionPriceCreateRequest, SubscriptionPriceCreateRequest$Outbound } from "./subscription-price-create-request.js"; export type CreateSubscriptionLineItemRequest = { /** * Commitment fields */ commitmentAmount?: number | undefined; commitmentDuration?: BillingPeriod | undefined; commitmentOverageFactor?: number | undefined; commitmentQuantity?: number | undefined; commitmentTimeBuckets?: Array | undefined; commitmentTrueUpEnabled?: boolean | undefined; commitmentType?: CommitmentType | undefined; commitmentWindowed?: boolean | undefined; displayName?: string | undefined; endDate?: Date | undefined; metadata?: { [k: string]: string; } | undefined; price?: SubscriptionPriceCreateRequest | undefined; /** * PriceID references an existing price (plan, addon, or subscription-scoped). Exactly one of price_id or price must be set. */ priceId?: string | undefined; prorationBehavior?: ProrationBehavior | undefined; quantity?: number | undefined; startDate?: Date | undefined; subscriptionPhaseId?: string | undefined; }; /** @internal */ export type CreateSubscriptionLineItemRequest$Outbound = { commitment_amount?: number | undefined; commitment_duration?: string | undefined; commitment_overage_factor?: number | undefined; commitment_quantity?: number | undefined; commitment_time_buckets?: Array | undefined; commitment_true_up_enabled?: boolean | undefined; commitment_type?: string | undefined; commitment_windowed?: boolean | undefined; display_name?: string | undefined; end_date?: string | undefined; metadata?: { [k: string]: string; } | undefined; price?: SubscriptionPriceCreateRequest$Outbound | undefined; price_id?: string | undefined; proration_behavior?: string | undefined; quantity?: number | undefined; start_date?: string | undefined; subscription_phase_id?: string | undefined; }; /** @internal */ export declare const CreateSubscriptionLineItemRequest$outboundSchema: z.ZodMiniType; export declare function createSubscriptionLineItemRequestToJSON(createSubscriptionLineItemRequest: CreateSubscriptionLineItemRequest): string; //# sourceMappingURL=create-subscription-line-item-request.d.ts.map