import { AppointmentStatus, AppointmentSubtype, AppointmentType, DeliveryType, ScServiceCode } from '@secondcloset/types/src/fulfillment'; export type Address = { addresss: string; line_1: string; line_2: string; city: string; province: string; country: string; postal_code: string; nickname: string | null; is_primary: boolean | null; coordinates: { x: number; y: number; }; }; export type Customer = { id: string; name: string; phone_number: string | null; user_id: string | null; }; export type PackageWeight = { weight_unit: string; weight_value: number; }; export type Appointment = { id: string; date: string; timeslot: string; number: string; job_type: AppointmentType; job_subtype: AppointmentSubtype; status: AppointmentStatus; air_skip: string | null; delivery_service_level: ScServiceCode; delivery_type: DeliveryType; service_area: string; organization_name: string | null; timezone: string | null; state: "assigned" | "unassigned"; recommended_route_user_count: number; order_id: string; organization_id: string; transport_work_order_id: string | null; route_id: string | null; parcel_service_level: string | null; order_number: string; external_order_number: string | null; order_platform: string | null; external_platform_version: string | null; arrival_eta: string | null; estimated_duration_seconds: number | null; range_of_days_start_date: string | null; range_of_days_end_date: string | null; type: string | null; package_count: number; package_weights: PackageWeight[] | null; package_ids: string[] | null; tracking_numbers: string[] | null; master_tracking_number: string | null; customer: Customer | null; address: Address | null; };