export class Delivery {
/** Unique identifier for the delivery */
id: string;
/** When the delivery was created in the system */
createdAt?: Date;
/** Last time the delivery was updated */
updatedAt?: Date;
/** Order ID */
orderId: string;
/** Service provider handling the delivery ('store' | 'chaskis' | 'uberDirect') */
provider: DeliveryProvider;
/** ID of the order/delivery in the provider's system */
providerIdentifier?: string;
/** Current status in the delivery lifecycle */
status: DeliveryStatus;
/** Information about where to pick up the order */
pickUp: PickUp;
/** Information about where to deliver the order */
dropOff: DropOff;
/** Information about the assigned delivery person, if available */
courrier?: Courrier;
/** URL to track the delivery on the provider's platform */
trackingUrl?: string;
/** Delivery cost details */
fees: Price;
/** Code required to collect the order, if applicable */
collectionCode?: string;
/** Refund information if the delivery was refunded */
refund?: Refund;
}