import * as z from "zod/v4-mini"; import { AddAddonToSubscriptionRequest, AddAddonToSubscriptionRequest$Outbound } from "./add-addon-to-subscription-request.js"; import { BillingPeriod } from "./billing-period.js"; import { CreateCreditGrantRequest, CreateCreditGrantRequest$Outbound } from "./create-credit-grant-request.js"; import { CreateSubscriptionLineItemRequest, CreateSubscriptionLineItemRequest$Outbound } from "./create-subscription-line-item-request.js"; import { LineItemCommitmentConfig, LineItemCommitmentConfig$Outbound } from "./line-item-commitment-config.js"; import { OverrideEntitlementRequest, OverrideEntitlementRequest$Outbound } from "./override-entitlement-request.js"; import { OverrideLineItemRequest, OverrideLineItemRequest$Outbound } from "./override-line-item-request.js"; import { SubscriptionCouponInput, SubscriptionCouponInput$Outbound } from "./subscription-coupon-input.js"; import { SubscriptionPhaseCreateRequest, SubscriptionPhaseCreateRequest$Outbound } from "./subscription-phase-create-request.js"; import { TaxRateOverride, TaxRateOverride$Outbound } from "./tax-rate-override.js"; export type GroupedInvoicingChildRequest = { addons?: Array | undefined; commitmentAmount?: string | undefined; commitmentDuration?: BillingPeriod | undefined; /** * Deprecated: use SubscriptionCoupons instead. */ coupons?: Array | undefined; creditGrants?: Array | undefined; enableTrueUp?: boolean | undefined; externalCustomerId: string; /** * LineItemCommitments sets per-line-item commitment config, keyed by price_id. */ lineItemCommitments?: { [k: string]: LineItemCommitmentConfig; } | undefined; /** * Deprecated: use SubscriptionCoupons instead. */ lineItemCoupons?: { [k: string]: Array; } | undefined; /** * LineItems are extra (non-plan) line items added at creation. */ lineItems?: Array | undefined; overageFactor?: string | undefined; overrideEntitlements?: Array | undefined; /** * OverrideLineItems overrides specific plan prices for this subscription. */ overrideLineItems?: Array | undefined; phases?: Array | undefined; planId: string; /** * SubscriptionCoupons is the preferred way to attach coupons at creation. * * @remarks * Accepts coupon_code; optionally targets a line item via price_id. */ subscriptionCoupons?: Array | undefined; taxRateOverrides?: Array | undefined; /** * TrialPeriodDays: nil = inherit from plan prices, 0 = no trial, >0 = override in days. */ trialPeriodDays?: number | undefined; }; /** @internal */ export type GroupedInvoicingChildRequest$Outbound = { addons?: Array | undefined; commitment_amount?: string | undefined; commitment_duration?: string | undefined; coupons?: Array | undefined; credit_grants?: Array | undefined; enable_true_up?: boolean | undefined; external_customer_id: string; line_item_commitments?: { [k: string]: LineItemCommitmentConfig$Outbound; } | undefined; line_item_coupons?: { [k: string]: Array; } | undefined; line_items?: Array | undefined; overage_factor?: string | undefined; override_entitlements?: Array | undefined; override_line_items?: Array | undefined; phases?: Array | undefined; plan_id: string; subscription_coupons?: Array | undefined; tax_rate_overrides?: Array | undefined; trial_period_days?: number | undefined; }; /** @internal */ export declare const GroupedInvoicingChildRequest$outboundSchema: z.ZodMiniType; export declare function groupedInvoicingChildRequestToJSON(groupedInvoicingChildRequest: GroupedInvoicingChildRequest): string; //# sourceMappingURL=grouped-invoicing-child-request.d.ts.map