import { SimpleLocationDTO } from './location'; import { UserPhoneNumberDTO } from './user-phones'; declare class AssistanceResponseDTO { instruction: string; name: string; type: string; } declare class DispatchLocationResponseDTO { address?: string | null; lat: number; lng: number; notes?: string | null; } declare class MobilityResponseDTO { name: string; note: string; type: string; } declare class PhoneNumberResponseDTO { countryCode: string; number: string; type: string; } declare class ProductDTO { id: string; name: string; integrationId?: string; shouldDispatch?: boolean; } declare class RiderEmailDTO { emailAddress: string; } export declare class DispatchRiderDTO { id: string; firstName: string; lastName: string; phone: UserPhoneNumberDTO; } declare class RiderResponseDTO { id: string; email: RiderEmailDTO | null; firstName: string; lastName: string; phoneNumber: PhoneNumberResponseDTO[]; photo: string; username: string; } declare class StatusResponseDTO { comment: string; createdAt: Date; createdBy: string; status: string; } declare class TelemetryDTO { bearing: number; speed: number; } export declare class CreateDispatchVehicleDTO { vehicleId?: number; make?: string; model?: string; licensePlate?: string; } export declare class DispatchLocationDTO { address?: string; lat: number; lng: number; notes?: string; } export declare class DispatchAcceptedDTO { operatorId: string; tripId: string; } export declare class DispatchCancelledDTO { operatorId?: string; tripId: string; } export declare class DispatchTripDTO { id: string; destination: SimpleLocationDTO; origin: SimpleLocationDTO; product: ProductDTO; rider: DispatchRiderDTO; operatorId?: string; scheduledPickupTime?: string; scheduledDropoffTime?: string; status?: string; lastStatus?: string; notes?: string; } export declare class NotifyAboutTripChangesDTO { trip: string; } export declare class PingDTO { location: DispatchLocationDTO; telemetry: TelemetryDTO; updatedAt: Date; userId: string; wheelchairCapacity?: number; ambulatoryCapacity?: number; cotCapacity?: number; productIds?: string[]; organizationId?: string; tripId?: string; dispatchedTripId?: string; } export declare class PingAvailableTripsRequestDTO { location: DispatchLocationDTO; telemetry: TelemetryDTO; updatedAt: Date; productIds: string[]; } export declare class PingCurrentTripRequestDTO { location: DispatchLocationDTO; telemetry: TelemetryDTO; updatedAt: Date; } export declare class DispatchFullTripResponseDTO { id: string; rider: RiderResponseDTO; pickUpLocation: DispatchLocationResponseDTO; dropOffLocation: DispatchLocationResponseDTO; pickUpTime: Date; estimatedRoutePolyline: string; estimatedTimeTravel: number; statuses: StatusResponseDTO[]; mobilities: MobilityResponseDTO[]; assistances: AssistanceResponseDTO[]; ridersNumber: number; attendantsNumber: number; routeToNextLocation: string; timeToNextLocation: number; } export declare class DispatchTripResponseDTO { operatorId: string; status: string; tripId: string; } export declare class GetAvailableProductsDTO { lat: number; lng: number; productIds?: string[]; } export declare class GetNearbyETAsByProductsIdsRequestDTO { providerProductIds: string[]; lat: number; lng: number; address?: string; notes?: string; } export interface ProviderProductWithETAResponseDTO { providerProductId: string; eta: number; } interface AssignmentTimeRangeDTO { assignedDate: Date; period: number; } export interface AvailableTripsResponseDTO { trip: DispatchTripDTO; assignmentTimeRange: AssignmentTimeRangeDTO; } export interface CurrentTripResponseDTO { trip: DispatchTripDTO | null; } export {};