pakdatakit/courier
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| Courier | Couriers that mapCourierStatus knows about. |
| CourierStatus | A courier’s status in one vocabulary, from order to delivery or return. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| mapCourierStatus | Maps a courier’s own status (its name, numeric ID or code, as the courier documents it) to a CourierStatus. |
| normalizeCityForCourier | Maps the way a customer or a courier writes a city to the city’s name in pakdatakit’s city list, so orders can be matched against a courier’s service list. |