import type * as Whop from "../index.js"; /** * A physical shipment associated with a payment, including carrier details and tracking information. */ export interface ShipmentLegacy { /** The datetime the shipment was created. */ created_at: string; /** The estimated delivery date for this shipment. Null if the carrier has not provided an estimate. */ delivery_estimate: string | null; /** The unique identifier for the shipment. */ id: string; /** The payment associated with this shipment. Null if the payment has been deleted or is inaccessible. */ payment: ShipmentLegacy.Payment | null; /** The shipping service level used for this shipment. Null if the carrier does not specify a service tier. */ service: string | null; /** The current delivery status of this shipment. */ status: Whop.ShipmentStatuses; /** A more granular status providing additional detail about the shipment's current state. Null if no substatus applies. */ substatus: Whop.ShipmentSubstatuses | null; /** The carrier-assigned tracking number used to look up shipment progress. */ tracking_code: string; /** The datetime the shipment was last updated. */ updated_at: string; } export declare namespace ShipmentLegacy { /** * The payment associated with this shipment. Null if the payment has been deleted or is inaccessible. */ interface Payment { /** The unique identifier for the payment. */ id: string; } }