UNPKG

@heuristical/trackit

Version:

This module allows you to connect to many shipping carriers like UPS and FedEx and download tracking data for your packages in a common schema

24 lines (23 loc) 740 B
import { ShipperClient, STATUS_TYPES } from './shipper'; declare class PrestigeClient extends ShipperClient { private STATUS_MAP; constructor(options: any); validateResponse(response: any, cb: any): any; presentAddress(prefix: any, event: any): string; presentStatus(eventType: any): STATUS_TYPES.UNKNOWN | STATUS_TYPES; getActivitiesAndStatus(shipment: any): { activities: any[]; status: any; }; getEta(shipment: any): Date; getService(): void; getWeight(shipment: any): string; getDestination(shipment: any): string; requestOptions({ trackingNumber }: { trackingNumber: any; }): { method: string; uri: string; }; } export { PrestigeClient };