import * as z from "zod/v4-mini"; import { BillingModel } from "./billing-model.js"; import { BillingPeriod } from "./billing-period.js"; import { BillingTier } from "./billing-tier.js"; import { CommitmentBucketRequest, CommitmentBucketRequest$Outbound } from "./commitment-bucket-request.js"; import { CommitmentType } from "./commitment-type.js"; import { CreatePriceTier, CreatePriceTier$Outbound } from "./create-price-tier.js"; import { PriceTransformQuantity, PriceTransformQuantity$Outbound } from "./price-transform-quantity.js"; export type UpdateSubscriptionLineItemRequest = { /** * Amount is the new price amount that overrides the original price */ amount?: string | undefined; billingModel?: BillingModel | undefined; /** * Commitment fields */ commitmentAmount?: number | undefined; commitmentDuration?: BillingPeriod | undefined; commitmentOverageFactor?: number | undefined; commitmentQuantity?: number | undefined; /** * Pointer so an explicit empty array can clear existing buckets (omission keeps them). */ commitmentTimeBuckets?: Array | undefined; commitmentTrueUpEnabled?: boolean | undefined; commitmentType?: CommitmentType | undefined; commitmentWindowed?: boolean | undefined; /** * EffectiveFrom for the existing line item (if not provided, defaults to now) */ effectiveFrom?: string | undefined; /** * Metadata for the new line item */ metadata?: { [k: string]: string; } | undefined; tierMode?: BillingTier | undefined; /** * Tiers determines the pricing tiers for this line item */ tiers?: Array | undefined; transformQuantity?: PriceTransformQuantity | undefined; }; /** @internal */ export type UpdateSubscriptionLineItemRequest$Outbound = { amount?: string | undefined; billing_model?: string | undefined; 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; effective_from?: string | undefined; metadata?: { [k: string]: string; } | undefined; tier_mode?: string | undefined; tiers?: Array | undefined; transform_quantity?: PriceTransformQuantity$Outbound | undefined; }; /** @internal */ export declare const UpdateSubscriptionLineItemRequest$outboundSchema: z.ZodMiniType; export declare function updateSubscriptionLineItemRequestToJSON(updateSubscriptionLineItemRequest: UpdateSubscriptionLineItemRequest): string; //# sourceMappingURL=update-subscription-line-item-request.d.ts.map