import type * as Whop from "../index.js"; export interface Shipment { /** The account that owns this shipment, prefixed `biz_`. */ account_id: string; /** The shipping carrier detected for this shipment. Null until a tracking update identifies it. */ carrier: string | null; checkpoints: Whop.ShipmentCheckpoint[]; /** The datetime the shipment was created (ISO 8601). */ created_at: string; /** Shipment ID, prefixed `ship_`. */ id: string; /** The payment this shipment fulfills, prefixed `pay_`. */ payment_id: string; /** The current delivery status of this shipment. */ status: Shipment.Status; /** The carrier-assigned tracking number used to look up shipment progress. */ tracking_number: string; /** A customer-facing URL to track this shipment's progress. */ tracking_url: string; /** The datetime the shipment was last updated (ISO 8601). */ updated_at: string; } export declare namespace Shipment { /** The current delivery status of this shipment. */ const Status: { readonly Unknown: "unknown"; readonly PreTransit: "pre_transit"; readonly InTransit: "in_transit"; readonly OutForDelivery: "out_for_delivery"; readonly Delivered: "delivered"; readonly AvailableForPickup: "available_for_pickup"; readonly ReturnToSender: "return_to_sender"; readonly Failure: "failure"; readonly Cancelled: "cancelled"; readonly Error: "error"; }; type Status = (typeof Status)[keyof typeof Status]; }