---
# System prepended metadata

title: Untitled

---

### Calendar slots types


Graphql
```
query outboundSlots(filter!: OutboundSlotsFilter): [OutboundDaySlots]


type OutboundSlotsFilter
    from: Date! (ISO) UTC
    to: Date!

type OutboundSlot
    id: ID!
    from: Datetime! (ISO) UTC
    to: Datetime!
    availableQty: Int!                 // 0 <= x <= 3
    totalQty: Int!                     // always 3
    coefficient: Float!
    
type OutboundDaySlots 
    date: Date!
    slots: OutboundSlot[]!
    
```

const calcPrice = 
(weight, volume, zip, dateCoef) => number

getDateCoef = (date, slot) => {
    // ...smth on back
}