# 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