import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Member, Member$Outbound } from "./member.js"; import { SeatStatus } from "./seatstatus.js"; export type CustomerSeat = { /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; /** * The seat ID */ id: string; /** * The subscription ID (for recurring seats) */ subscriptionId?: string | null | undefined; /** * The order ID (for one-time purchase seats) */ orderId?: string | null | undefined; status: SeatStatus; /** * The customer ID. When member_model_enabled is true, this is the billing customer (purchaser). When false, this is the seat member customer. */ customerId?: string | null | undefined; /** * The member ID of the seat occupant */ memberId?: string | null | undefined; /** * The member associated with this seat */ member?: Member | null | undefined; /** * Email of the seat member (set when member_model_enabled is true) */ email?: string | null | undefined; /** * The assigned customer email */ customerEmail?: string | null | undefined; /** * When the invitation token expires */ invitationTokenExpiresAt?: Date | null | undefined; /** * When the seat was claimed */ claimedAt?: Date | null | undefined; /** * When the seat was revoked */ revokedAt?: Date | null | undefined; /** * Additional metadata for the seat */ seatMetadata?: { [k: string]: any; } | null | undefined; }; /** @internal */ export declare const CustomerSeat$inboundSchema: z.ZodMiniType; /** @internal */ export type CustomerSeat$Outbound = { created_at: string; modified_at: string | null; id: string; subscription_id?: string | null | undefined; order_id?: string | null | undefined; status: string; customer_id?: string | null | undefined; member_id?: string | null | undefined; member?: Member$Outbound | null | undefined; email?: string | null | undefined; customer_email?: string | null | undefined; invitation_token_expires_at?: string | null | undefined; claimed_at?: string | null | undefined; revoked_at?: string | null | undefined; seat_metadata?: { [k: string]: any; } | null | undefined; }; /** @internal */ export declare const CustomerSeat$outboundSchema: z.ZodMiniType; export declare function customerSeatToJSON(customerSeat: CustomerSeat): string; export declare function customerSeatFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customerseat.d.ts.map