Module: ZoneRestModule
Methods
(static) createZone(areaId, data) → {Promise.<Response>}
Parameters:
Name |
Type |
Description |
areaId |
|
|
data |
|
|
- Source:
Returns:
-
Type
-
Promise.<Response>
(static) deleteZone(areaId, zoneId) → {Promise.<Response>}
Parameters:
Name |
Type |
Description |
areaId |
|
|
zoneId |
|
|
- Source:
Returns:
-
Type
-
Promise.<Response>
(static) fetchZone(areaId, zoneId) → {Promise.<({ok}|never)>}
Parameters:
Name |
Type |
Description |
areaId |
|
|
zoneId |
|
|
- Source:
Returns:
-
Type
-
Promise.<({ok}|never)>
(static) fetchZones(areaId) → {Promise.<({ok}|never)>}
Parameters:
Name |
Type |
Description |
areaId |
|
|
- Source:
Returns:
-
Type
-
Promise.<({ok}|never)>
(static) updateZone(areaId, zone) → {Promise.<Response>}
Parameters:
Name |
Type |
Description |
areaId |
|
|
zone |
|
|
- Source:
Returns:
-
Type
-
Promise.<Response>