import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ProductPriceSeatTiersOutput, ProductPriceSeatTiersOutput$Outbound } from "./productpriceseattiersoutput.js"; import { ProductPriceSource } from "./productpricesource.js"; import { TaxBehaviorOption } from "./taxbehavioroption.js"; /** * A seat-based price for a product. */ export type ProductPriceSeatBased = { /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; /** * The ID of the price. */ id: string; source: ProductPriceSource; amountType: "seat_based"; /** * The currency in which the customer will be charged. */ priceCurrency: string; /** * The tax behavior of the price. If null, it defaults to the organization's default tax behavior. */ taxBehavior: TaxBehaviorOption | null; /** * Whether the price is archived and no longer available. */ isArchived: boolean; /** * The ID of the product owning the price. */ productId: string; /** * List of pricing tiers for seat-based pricing. * * @remarks * * The minimum and maximum seat limits are derived from the tiers: * - minimum_seats = first tier's min_seats * - maximum_seats = last tier's max_seats (None for unlimited) */ seatTiers: ProductPriceSeatTiersOutput; }; /** @internal */ export declare const ProductPriceSeatBased$inboundSchema: z.ZodMiniType; /** @internal */ export type ProductPriceSeatBased$Outbound = { created_at: string; modified_at: string | null; id: string; source: string; amount_type: "seat_based"; price_currency: string; tax_behavior: string | null; is_archived: boolean; product_id: string; seat_tiers: ProductPriceSeatTiersOutput$Outbound; }; /** @internal */ export declare const ProductPriceSeatBased$outboundSchema: z.ZodMiniType; export declare function productPriceSeatBasedToJSON(productPriceSeatBased: ProductPriceSeatBased): string; export declare function productPriceSeatBasedFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=productpriceseatbased.d.ts.map