lml-main
Version:
This is now a mono repository published into many standalone packages.
25 lines (17 loc) • 881 B
Markdown
# cosmo-redux-api
Redux data layer for Cosmo APIs using rxjs
### Allocation
```typescript
type postAllocation: (jobRefId: string, courierRefId: string, username: string, args: any) => RxHttpActionTypes
type postReallocation: (jobRefId: string, courierRefId: string, username: string, args: any) => RxHttpActionTypes
type postDeallocation: (jobRefId: string, courierRefId: string, username: string, args: any) => RxHttpActionTypes
type postTag: (jobRefId: string, courierRefId: string, username: string, args: any) => RxHttpActionTypes
type postUntag: (jobRefId: string, courierRefId: string, username: string, args: any) => RxHttpActionTypes
```
### Couriers
#####Jobs
```typescript
type fetchCourierJobs: (refId: string, date?: string, args: any) => RxHttpActionTypes
type setCourierJobs = (refId: string, jobs: JobStatusModel[]) => SetCourierJobsAction
```
#####Locations