@kohost/api-client 4.20.1-beta.0 → 4.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/httpClient.d.cts +78 -12
- package/dist/cjs/index-1ZtkIYkt.d.cts +426 -0
- package/dist/cjs/index.d.cts +77 -11
- package/dist/cjs/schemas/space.cjs +1 -2
- package/dist/cjs/schemas/space.cjs.map +1 -1
- package/dist/cjs/schemas/space.d.cts +1 -4
- package/dist/cjs/schemas/ticket.cjs +2 -1
- package/dist/cjs/schemas/ticket.cjs.map +1 -1
- package/dist/cjs/schemas/ticket.d.cts +1 -1
- package/dist/cjs/useCases/{moveDevice.cjs → createAlarm.cjs} +13 -13
- package/dist/cjs/useCases/createAlarm.cjs.map +1 -0
- package/dist/cjs/useCases/createAlarm.d.cts +38 -0
- package/dist/cjs/useCases/{createDevice.cjs → createCamera.cjs} +13 -13
- package/dist/cjs/useCases/createCamera.cjs.map +1 -0
- package/dist/{esm/useCases/createDevice.d.ts → cjs/useCases/createCamera.d.cts} +10 -10
- package/dist/cjs/useCases/createCourtesy.cjs +72 -0
- package/dist/cjs/useCases/createCourtesy.cjs.map +1 -0
- package/dist/cjs/useCases/createCourtesy.d.cts +38 -0
- package/dist/cjs/useCases/createDimmer.cjs +72 -0
- package/dist/cjs/useCases/createDimmer.cjs.map +1 -0
- package/dist/cjs/useCases/{createDevice.d.cts → createDimmer.d.cts} +10 -10
- package/dist/cjs/useCases/{setDevice.cjs → createLock.cjs} +13 -13
- package/dist/cjs/useCases/createLock.cjs.map +1 -0
- package/dist/cjs/useCases/createLock.d.cts +38 -0
- package/dist/cjs/useCases/createMediaSource.cjs +72 -0
- package/dist/cjs/useCases/createMediaSource.cjs.map +1 -0
- package/dist/cjs/useCases/createMediaSource.d.cts +38 -0
- package/dist/cjs/useCases/createRoom.cjs +72 -0
- package/dist/cjs/useCases/createRoom.cjs.map +1 -0
- package/dist/cjs/useCases/createRoom.d.cts +29 -0
- package/dist/cjs/useCases/createRoomInSpace.cjs +72 -0
- package/dist/cjs/useCases/createRoomInSpace.cjs.map +1 -0
- package/dist/cjs/useCases/createRoomInSpace.d.cts +38 -0
- package/dist/cjs/useCases/createSwitch.cjs +72 -0
- package/dist/cjs/useCases/createSwitch.cjs.map +1 -0
- package/dist/cjs/useCases/createSwitch.d.cts +38 -0
- package/dist/cjs/useCases/createThermostat.cjs +72 -0
- package/dist/cjs/useCases/createThermostat.cjs.map +1 -0
- package/dist/cjs/useCases/createThermostat.d.cts +38 -0
- package/dist/cjs/useCases/createWindowCovering.cjs +72 -0
- package/dist/cjs/useCases/createWindowCovering.cjs.map +1 -0
- package/dist/cjs/useCases/createWindowCovering.d.cts +38 -0
- package/dist/cjs/useCases/deleteAlarm.cjs +72 -0
- package/dist/cjs/useCases/deleteAlarm.cjs.map +1 -0
- package/dist/cjs/useCases/deleteAlarm.d.cts +41 -0
- package/dist/cjs/useCases/deleteCamera.cjs +72 -0
- package/dist/cjs/useCases/{updateDevice.cjs.map → deleteCamera.cjs.map} +1 -1
- package/dist/cjs/useCases/{deleteDevice.d.cts → deleteCamera.d.cts} +10 -10
- package/dist/cjs/useCases/{deleteOrganization.cjs → deleteCourtesy.cjs} +13 -13
- package/dist/cjs/useCases/deleteCourtesy.cjs.map +1 -0
- package/dist/cjs/useCases/deleteCourtesy.d.cts +41 -0
- package/dist/cjs/useCases/deleteDimmer.cjs +72 -0
- package/dist/cjs/useCases/deleteDimmer.cjs.map +1 -0
- package/dist/{esm/useCases/deleteDevice.d.ts → cjs/useCases/deleteDimmer.d.cts} +10 -10
- package/dist/cjs/useCases/deleteLock.cjs +72 -0
- package/dist/cjs/useCases/deleteLock.cjs.map +1 -0
- package/dist/cjs/useCases/deleteLock.d.cts +41 -0
- package/dist/cjs/useCases/deleteMediaSource.cjs +72 -0
- package/dist/cjs/useCases/deleteMediaSource.cjs.map +1 -0
- package/dist/cjs/useCases/deleteMediaSource.d.cts +41 -0
- package/dist/cjs/useCases/deleteRoom.cjs +72 -0
- package/dist/cjs/useCases/deleteRoom.cjs.map +1 -0
- package/dist/cjs/useCases/{deleteOrganization.d.cts → deleteRoom.d.cts} +6 -6
- package/dist/cjs/useCases/deleteSwitch.cjs +72 -0
- package/dist/cjs/useCases/deleteSwitch.cjs.map +1 -0
- package/dist/cjs/useCases/deleteSwitch.d.cts +41 -0
- package/dist/cjs/useCases/deleteThermostat.cjs +72 -0
- package/dist/cjs/useCases/deleteThermostat.cjs.map +1 -0
- package/dist/cjs/useCases/deleteThermostat.d.cts +41 -0
- package/dist/cjs/useCases/deleteWindowCovering.cjs +72 -0
- package/dist/cjs/useCases/deleteWindowCovering.cjs.map +1 -0
- package/dist/cjs/useCases/deleteWindowCovering.d.cts +41 -0
- package/dist/cjs/useCases/{describeDevice.cjs → describeAlarm.cjs} +13 -13
- package/dist/cjs/useCases/describeAlarm.cjs.map +1 -0
- package/dist/cjs/useCases/describeAlarm.d.cts +41 -0
- package/dist/cjs/useCases/describeAlarmConfig.cjs +72 -0
- package/dist/cjs/useCases/describeAlarmConfig.cjs.map +1 -0
- package/dist/cjs/useCases/describeAlarmConfig.d.cts +41 -0
- package/dist/cjs/useCases/describeCamera.cjs +72 -0
- package/dist/cjs/useCases/describeCamera.cjs.map +1 -0
- package/dist/{esm/useCases/describeDevice.d.ts → cjs/useCases/describeCamera.d.cts} +10 -10
- package/dist/cjs/useCases/{describeDeviceConfig.cjs → describeCameraConfig.cjs} +13 -13
- package/dist/cjs/useCases/describeCameraConfig.cjs.map +1 -0
- package/dist/{esm/useCases/describeDeviceConfig.d.ts → cjs/useCases/describeCameraConfig.d.cts} +10 -10
- package/dist/cjs/useCases/describeCourtesy.cjs +72 -0
- package/dist/cjs/useCases/describeCourtesy.cjs.map +1 -0
- package/dist/cjs/useCases/describeCourtesy.d.cts +41 -0
- package/dist/cjs/useCases/describeDimmer.cjs +72 -0
- package/dist/cjs/useCases/describeDimmer.cjs.map +1 -0
- package/dist/cjs/useCases/{describeDevice.d.cts → describeDimmer.d.cts} +10 -10
- package/dist/cjs/useCases/describeLock.cjs +72 -0
- package/dist/cjs/useCases/describeLock.cjs.map +1 -0
- package/dist/cjs/useCases/describeLock.d.cts +41 -0
- package/dist/cjs/useCases/describeMediaSource.cjs +72 -0
- package/dist/cjs/useCases/describeMediaSource.cjs.map +1 -0
- package/dist/cjs/useCases/describeMediaSource.d.cts +41 -0
- package/dist/cjs/useCases/{listDevices.cjs → describeRoom.cjs} +13 -13
- package/dist/cjs/useCases/describeRoom.cjs.map +1 -0
- package/dist/cjs/useCases/describeRoom.d.cts +38 -0
- package/dist/cjs/useCases/describeSwitch.cjs +72 -0
- package/dist/cjs/useCases/describeSwitch.cjs.map +1 -0
- package/dist/cjs/useCases/describeSwitch.d.cts +41 -0
- package/dist/cjs/useCases/describeThermostat.cjs +72 -0
- package/dist/cjs/useCases/describeThermostat.cjs.map +1 -0
- package/dist/cjs/useCases/describeThermostat.d.cts +41 -0
- package/dist/cjs/useCases/describeWindowCovering.cjs +72 -0
- package/dist/cjs/useCases/describeWindowCovering.cjs.map +1 -0
- package/dist/cjs/useCases/describeWindowCovering.d.cts +41 -0
- package/dist/cjs/useCases/index.cjs +226 -28
- package/dist/cjs/useCases/index.cjs.map +1 -1
- package/dist/cjs/useCases/index.d.cts +76 -10
- package/dist/cjs/useCases/listAlarms.cjs +72 -0
- package/dist/cjs/useCases/listAlarms.cjs.map +1 -0
- package/dist/cjs/useCases/listAlarms.d.cts +38 -0
- package/dist/cjs/useCases/listCameraStreamPreviews.cjs +2 -2
- package/dist/cjs/useCases/listCameraStreamPreviews.cjs.map +1 -1
- package/dist/cjs/useCases/listCameraStreamPreviews.d.cts +4 -4
- package/dist/cjs/useCases/listCameras.cjs +72 -0
- package/dist/cjs/useCases/listCameras.cjs.map +1 -0
- package/dist/cjs/useCases/{listDevices.d.cts → listCameras.d.cts} +10 -10
- package/dist/cjs/useCases/listCourtesy.cjs +72 -0
- package/dist/cjs/useCases/listCourtesy.cjs.map +1 -0
- package/dist/cjs/useCases/listCourtesy.d.cts +38 -0
- package/dist/cjs/useCases/listDimmers.cjs +72 -0
- package/dist/cjs/useCases/listDimmers.cjs.map +1 -0
- package/dist/{esm/useCases/listDevices.d.ts → cjs/useCases/listDimmers.d.cts} +10 -10
- package/dist/cjs/useCases/listLocks.cjs +72 -0
- package/dist/cjs/useCases/listLocks.cjs.map +1 -0
- package/dist/cjs/useCases/listLocks.d.cts +38 -0
- package/dist/cjs/useCases/listMediaSources.cjs +72 -0
- package/dist/cjs/useCases/listMediaSources.cjs.map +1 -0
- package/dist/cjs/useCases/listMediaSources.d.cts +38 -0
- package/dist/cjs/useCases/listRooms.cjs +72 -0
- package/dist/cjs/useCases/listRooms.cjs.map +1 -0
- package/dist/cjs/useCases/listRooms.d.cts +29 -0
- package/dist/cjs/useCases/listRoomsInSpace.cjs +72 -0
- package/dist/cjs/useCases/listRoomsInSpace.cjs.map +1 -0
- package/dist/cjs/useCases/listRoomsInSpace.d.cts +38 -0
- package/dist/cjs/useCases/listScenes.cjs +72 -0
- package/dist/cjs/useCases/listScenes.cjs.map +1 -0
- package/dist/cjs/useCases/listScenes.d.cts +29 -0
- package/dist/cjs/useCases/listSwitches.cjs +72 -0
- package/dist/cjs/useCases/listSwitches.cjs.map +1 -0
- package/dist/cjs/useCases/listSwitches.d.cts +38 -0
- package/dist/cjs/useCases/listThermostats.cjs +72 -0
- package/dist/cjs/useCases/listThermostats.cjs.map +1 -0
- package/dist/cjs/useCases/listThermostats.d.cts +38 -0
- package/dist/cjs/useCases/listWindowCoverings.cjs +72 -0
- package/dist/cjs/useCases/listWindowCoverings.cjs.map +1 -0
- package/dist/cjs/useCases/listWindowCoverings.d.cts +38 -0
- package/dist/cjs/useCases/moveAlarm.cjs +72 -0
- package/dist/cjs/useCases/moveAlarm.cjs.map +1 -0
- package/dist/cjs/useCases/{setDevice.d.cts → moveAlarm.d.cts} +10 -10
- package/dist/cjs/useCases/moveCamera.cjs +72 -0
- package/dist/cjs/useCases/moveCamera.cjs.map +1 -0
- package/dist/{esm/useCases/moveDevice.d.ts → cjs/useCases/moveCamera.d.cts} +10 -10
- package/dist/cjs/useCases/moveCourtesy.cjs +72 -0
- package/dist/cjs/useCases/moveCourtesy.cjs.map +1 -0
- package/dist/cjs/useCases/moveCourtesy.d.cts +41 -0
- package/dist/cjs/useCases/moveDimmer.cjs +72 -0
- package/dist/cjs/useCases/moveDimmer.cjs.map +1 -0
- package/dist/cjs/useCases/{moveDevice.d.cts → moveDimmer.d.cts} +10 -10
- package/dist/cjs/useCases/moveLock.cjs +72 -0
- package/dist/cjs/useCases/moveLock.cjs.map +1 -0
- package/dist/cjs/useCases/moveLock.d.cts +41 -0
- package/dist/cjs/useCases/moveMediaSource.cjs +72 -0
- package/dist/cjs/useCases/moveMediaSource.cjs.map +1 -0
- package/dist/cjs/useCases/moveMediaSource.d.cts +41 -0
- package/dist/cjs/useCases/moveSwitch.cjs +72 -0
- package/dist/cjs/useCases/moveSwitch.cjs.map +1 -0
- package/dist/cjs/useCases/moveSwitch.d.cts +41 -0
- package/dist/cjs/useCases/moveThermostat.cjs +72 -0
- package/dist/cjs/useCases/moveThermostat.cjs.map +1 -0
- package/dist/cjs/useCases/moveThermostat.d.cts +41 -0
- package/dist/cjs/useCases/moveWindowCovering.cjs +72 -0
- package/dist/cjs/useCases/moveWindowCovering.cjs.map +1 -0
- package/dist/cjs/useCases/moveWindowCovering.d.cts +41 -0
- package/dist/cjs/useCases/setAlarm.cjs +72 -0
- package/dist/cjs/useCases/setAlarm.cjs.map +1 -0
- package/dist/cjs/useCases/setAlarm.d.cts +41 -0
- package/dist/cjs/useCases/setCamera.cjs +72 -0
- package/dist/cjs/useCases/setCamera.cjs.map +1 -0
- package/dist/{esm/useCases/setDevice.d.ts → cjs/useCases/setCamera.d.cts} +10 -10
- package/dist/cjs/useCases/setCourtesy.cjs +72 -0
- package/dist/cjs/useCases/setCourtesy.cjs.map +1 -0
- package/dist/cjs/useCases/setCourtesy.d.cts +41 -0
- package/dist/cjs/useCases/setDimmer.cjs +72 -0
- package/dist/cjs/useCases/setDimmer.cjs.map +1 -0
- package/dist/cjs/useCases/setDimmer.d.cts +41 -0
- package/dist/cjs/useCases/setLock.cjs +72 -0
- package/dist/cjs/useCases/setLock.cjs.map +1 -0
- package/dist/cjs/useCases/setLock.d.cts +41 -0
- package/dist/cjs/useCases/setMediaSource.cjs +72 -0
- package/dist/cjs/useCases/setMediaSource.cjs.map +1 -0
- package/dist/cjs/useCases/setMediaSource.d.cts +41 -0
- package/dist/cjs/useCases/setRoomScene.cjs +72 -0
- package/dist/cjs/useCases/setRoomScene.cjs.map +1 -0
- package/dist/cjs/useCases/setRoomScene.d.cts +41 -0
- package/dist/cjs/useCases/setScene.cjs +72 -0
- package/dist/cjs/useCases/setScene.cjs.map +1 -0
- package/dist/cjs/useCases/setScene.d.cts +38 -0
- package/dist/cjs/useCases/setSwitch.cjs +72 -0
- package/dist/cjs/useCases/setSwitch.cjs.map +1 -0
- package/dist/cjs/useCases/setSwitch.d.cts +41 -0
- package/dist/cjs/useCases/setThermostat.cjs +72 -0
- package/dist/cjs/useCases/setThermostat.cjs.map +1 -0
- package/dist/cjs/useCases/setThermostat.d.cts +41 -0
- package/dist/cjs/useCases/setWindowCovering.cjs +72 -0
- package/dist/cjs/useCases/setWindowCovering.cjs.map +1 -0
- package/dist/cjs/useCases/setWindowCovering.d.cts +41 -0
- package/dist/cjs/useCases/{updateDevice.cjs → updateAlarm.cjs} +13 -13
- package/dist/cjs/useCases/updateAlarm.cjs.map +1 -0
- package/dist/cjs/useCases/updateAlarm.d.cts +41 -0
- package/dist/cjs/useCases/updateCamera.cjs +72 -0
- package/dist/cjs/useCases/updateCamera.cjs.map +1 -0
- package/dist/cjs/useCases/{updateDevice.d.cts → updateCamera.d.cts} +10 -10
- package/dist/cjs/useCases/updateCourtesy.cjs +72 -0
- package/dist/cjs/useCases/updateCourtesy.cjs.map +1 -0
- package/dist/cjs/useCases/updateCourtesy.d.cts +41 -0
- package/dist/cjs/useCases/updateDimmer.cjs +72 -0
- package/dist/cjs/useCases/updateDimmer.cjs.map +1 -0
- package/dist/{esm/useCases/updateDevice.d.ts → cjs/useCases/updateDimmer.d.cts} +10 -10
- package/dist/cjs/useCases/updateLock.cjs +72 -0
- package/dist/cjs/useCases/updateLock.cjs.map +1 -0
- package/dist/cjs/useCases/updateLock.d.cts +41 -0
- package/dist/cjs/useCases/updateMediaSource.cjs +72 -0
- package/dist/cjs/useCases/updateMediaSource.cjs.map +1 -0
- package/dist/cjs/useCases/updateMediaSource.d.cts +41 -0
- package/dist/cjs/useCases/{deleteDevice.cjs → updateRoom.cjs} +14 -14
- package/dist/cjs/useCases/updateRoom.cjs.map +1 -0
- package/dist/cjs/useCases/updateRoom.d.cts +38 -0
- package/dist/cjs/useCases/updateSwitch.cjs +72 -0
- package/dist/cjs/useCases/updateSwitch.cjs.map +1 -0
- package/dist/cjs/useCases/updateSwitch.d.cts +41 -0
- package/dist/cjs/useCases/updateThermostat.cjs +72 -0
- package/dist/cjs/useCases/updateThermostat.cjs.map +1 -0
- package/dist/cjs/useCases/updateThermostat.d.cts +41 -0
- package/dist/cjs/useCases/updateWindowCovering.cjs +72 -0
- package/dist/cjs/useCases/updateWindowCovering.cjs.map +1 -0
- package/dist/cjs/useCases/updateWindowCovering.d.cts +41 -0
- package/dist/cjs/validate.cjs +0 -1
- package/dist/cjs/validate.cjs.map +1 -1
- package/dist/cjs/validate.d.cts +6 -6
- package/dist/esm/httpClient.d.ts +78 -12
- package/dist/esm/index-GPnaIdEY.d.ts +426 -0
- package/dist/esm/index.d.ts +77 -11
- package/dist/esm/schemas/space.d.ts +1 -4
- package/dist/esm/schemas/space.js +1 -2
- package/dist/esm/schemas/space.js.map +1 -1
- package/dist/esm/schemas/ticket.d.ts +1 -1
- package/dist/esm/schemas/ticket.js +2 -1
- package/dist/esm/schemas/ticket.js.map +1 -1
- package/dist/esm/useCases/createAlarm.d.ts +38 -0
- package/dist/esm/useCases/{setDevice.js → createAlarm.js} +9 -9
- package/dist/esm/useCases/createAlarm.js.map +1 -0
- package/dist/esm/useCases/createCamera.d.ts +38 -0
- package/dist/esm/useCases/{createDevice.js → createCamera.js} +9 -9
- package/dist/esm/useCases/createCamera.js.map +1 -0
- package/dist/esm/useCases/createCourtesy.d.ts +38 -0
- package/dist/esm/useCases/createCourtesy.js +50 -0
- package/dist/esm/useCases/createCourtesy.js.map +1 -0
- package/dist/esm/useCases/createDimmer.d.ts +38 -0
- package/dist/esm/useCases/{moveDevice.js → createDimmer.js} +9 -9
- package/dist/esm/useCases/createDimmer.js.map +1 -0
- package/dist/esm/useCases/createLock.d.ts +38 -0
- package/dist/esm/useCases/createLock.js +50 -0
- package/dist/esm/useCases/createLock.js.map +1 -0
- package/dist/esm/useCases/createMediaSource.d.ts +38 -0
- package/dist/esm/useCases/createMediaSource.js +50 -0
- package/dist/esm/useCases/createMediaSource.js.map +1 -0
- package/dist/esm/useCases/createRoom.d.ts +29 -0
- package/dist/esm/useCases/createRoom.js +50 -0
- package/dist/esm/useCases/createRoom.js.map +1 -0
- package/dist/esm/useCases/createRoomInSpace.d.ts +38 -0
- package/dist/esm/useCases/createRoomInSpace.js +50 -0
- package/dist/esm/useCases/createRoomInSpace.js.map +1 -0
- package/dist/esm/useCases/createSwitch.d.ts +38 -0
- package/dist/esm/useCases/createSwitch.js +50 -0
- package/dist/esm/useCases/createSwitch.js.map +1 -0
- package/dist/esm/useCases/createThermostat.d.ts +38 -0
- package/dist/esm/useCases/createThermostat.js +50 -0
- package/dist/esm/useCases/createThermostat.js.map +1 -0
- package/dist/esm/useCases/createWindowCovering.d.ts +38 -0
- package/dist/esm/useCases/createWindowCovering.js +50 -0
- package/dist/esm/useCases/createWindowCovering.js.map +1 -0
- package/dist/esm/useCases/deleteAlarm.d.ts +41 -0
- package/dist/esm/useCases/deleteAlarm.js +50 -0
- package/dist/esm/useCases/deleteAlarm.js.map +1 -0
- package/dist/esm/useCases/deleteCamera.d.ts +41 -0
- package/dist/esm/useCases/deleteCamera.js +50 -0
- package/dist/esm/useCases/{updateDevice.js.map → deleteCamera.js.map} +1 -1
- package/dist/esm/useCases/deleteCourtesy.d.ts +41 -0
- package/dist/esm/useCases/deleteCourtesy.js +50 -0
- package/dist/esm/useCases/deleteCourtesy.js.map +1 -0
- package/dist/esm/useCases/deleteDimmer.d.ts +41 -0
- package/dist/esm/useCases/deleteDimmer.js +50 -0
- package/dist/esm/useCases/deleteDimmer.js.map +1 -0
- package/dist/esm/useCases/deleteLock.d.ts +41 -0
- package/dist/esm/useCases/deleteLock.js +50 -0
- package/dist/esm/useCases/deleteLock.js.map +1 -0
- package/dist/esm/useCases/deleteMediaSource.d.ts +41 -0
- package/dist/esm/useCases/deleteMediaSource.js +50 -0
- package/dist/esm/useCases/deleteMediaSource.js.map +1 -0
- package/dist/esm/useCases/{deleteOrganization.d.ts → deleteRoom.d.ts} +6 -6
- package/dist/esm/useCases/{deleteOrganization.js → deleteRoom.js} +8 -8
- package/dist/esm/useCases/deleteRoom.js.map +1 -0
- package/dist/esm/useCases/deleteSwitch.d.ts +41 -0
- package/dist/esm/useCases/deleteSwitch.js +50 -0
- package/dist/esm/useCases/deleteSwitch.js.map +1 -0
- package/dist/esm/useCases/deleteThermostat.d.ts +41 -0
- package/dist/esm/useCases/deleteThermostat.js +50 -0
- package/dist/esm/useCases/deleteThermostat.js.map +1 -0
- package/dist/esm/useCases/deleteWindowCovering.d.ts +41 -0
- package/dist/esm/useCases/deleteWindowCovering.js +50 -0
- package/dist/esm/useCases/deleteWindowCovering.js.map +1 -0
- package/dist/esm/useCases/describeAlarm.d.ts +41 -0
- package/dist/esm/useCases/{describeDevice.js → describeAlarm.js} +9 -9
- package/dist/esm/useCases/describeAlarm.js.map +1 -0
- package/dist/esm/useCases/describeAlarmConfig.d.ts +41 -0
- package/dist/esm/useCases/{describeDeviceConfig.js → describeAlarmConfig.js} +9 -9
- package/dist/esm/useCases/describeAlarmConfig.js.map +1 -0
- package/dist/esm/useCases/describeCamera.d.ts +41 -0
- package/dist/esm/useCases/describeCamera.js +50 -0
- package/dist/esm/useCases/describeCamera.js.map +1 -0
- package/dist/{cjs/useCases/describeDeviceConfig.d.cts → esm/useCases/describeCameraConfig.d.ts} +10 -10
- package/dist/esm/useCases/describeCameraConfig.js +50 -0
- package/dist/esm/useCases/describeCameraConfig.js.map +1 -0
- package/dist/esm/useCases/describeCourtesy.d.ts +41 -0
- package/dist/esm/useCases/describeCourtesy.js +50 -0
- package/dist/esm/useCases/describeCourtesy.js.map +1 -0
- package/dist/esm/useCases/describeDimmer.d.ts +41 -0
- package/dist/esm/useCases/describeDimmer.js +50 -0
- package/dist/esm/useCases/describeDimmer.js.map +1 -0
- package/dist/esm/useCases/describeLock.d.ts +41 -0
- package/dist/esm/useCases/describeLock.js +50 -0
- package/dist/esm/useCases/describeLock.js.map +1 -0
- package/dist/esm/useCases/describeMediaSource.d.ts +41 -0
- package/dist/esm/useCases/describeMediaSource.js +50 -0
- package/dist/esm/useCases/describeMediaSource.js.map +1 -0
- package/dist/esm/useCases/describeRoom.d.ts +38 -0
- package/dist/esm/useCases/{listDevices.js → describeRoom.js} +9 -9
- package/dist/esm/useCases/describeRoom.js.map +1 -0
- package/dist/esm/useCases/describeSwitch.d.ts +41 -0
- package/dist/esm/useCases/describeSwitch.js +50 -0
- package/dist/esm/useCases/describeSwitch.js.map +1 -0
- package/dist/esm/useCases/describeThermostat.d.ts +41 -0
- package/dist/esm/useCases/describeThermostat.js +50 -0
- package/dist/esm/useCases/describeThermostat.js.map +1 -0
- package/dist/esm/useCases/describeWindowCovering.d.ts +41 -0
- package/dist/esm/useCases/describeWindowCovering.js +50 -0
- package/dist/esm/useCases/describeWindowCovering.js.map +1 -0
- package/dist/esm/useCases/index.d.ts +76 -10
- package/dist/esm/useCases/index.js +151 -19
- package/dist/esm/useCases/index.js.map +1 -1
- package/dist/esm/useCases/listAlarms.d.ts +38 -0
- package/dist/esm/useCases/listAlarms.js +50 -0
- package/dist/esm/useCases/listAlarms.js.map +1 -0
- package/dist/esm/useCases/listCameraStreamPreviews.d.ts +4 -4
- package/dist/esm/useCases/listCameraStreamPreviews.js +2 -2
- package/dist/esm/useCases/listCameraStreamPreviews.js.map +1 -1
- package/dist/esm/useCases/listCameras.d.ts +38 -0
- package/dist/esm/useCases/listCameras.js +50 -0
- package/dist/esm/useCases/listCameras.js.map +1 -0
- package/dist/esm/useCases/listCourtesy.d.ts +38 -0
- package/dist/esm/useCases/listCourtesy.js +50 -0
- package/dist/esm/useCases/listCourtesy.js.map +1 -0
- package/dist/esm/useCases/listDimmers.d.ts +38 -0
- package/dist/esm/useCases/listDimmers.js +50 -0
- package/dist/esm/useCases/listDimmers.js.map +1 -0
- package/dist/esm/useCases/listLocks.d.ts +38 -0
- package/dist/esm/useCases/listLocks.js +50 -0
- package/dist/esm/useCases/listLocks.js.map +1 -0
- package/dist/esm/useCases/listMediaSources.d.ts +38 -0
- package/dist/esm/useCases/listMediaSources.js +50 -0
- package/dist/esm/useCases/listMediaSources.js.map +1 -0
- package/dist/esm/useCases/listRooms.d.ts +29 -0
- package/dist/esm/useCases/listRooms.js +50 -0
- package/dist/esm/useCases/listRooms.js.map +1 -0
- package/dist/esm/useCases/listRoomsInSpace.d.ts +38 -0
- package/dist/esm/useCases/listRoomsInSpace.js +50 -0
- package/dist/esm/useCases/listRoomsInSpace.js.map +1 -0
- package/dist/esm/useCases/listScenes.d.ts +29 -0
- package/dist/esm/useCases/listScenes.js +50 -0
- package/dist/esm/useCases/listScenes.js.map +1 -0
- package/dist/esm/useCases/listSwitches.d.ts +38 -0
- package/dist/esm/useCases/listSwitches.js +50 -0
- package/dist/esm/useCases/listSwitches.js.map +1 -0
- package/dist/esm/useCases/listThermostats.d.ts +38 -0
- package/dist/esm/useCases/listThermostats.js +50 -0
- package/dist/esm/useCases/listThermostats.js.map +1 -0
- package/dist/esm/useCases/listWindowCoverings.d.ts +38 -0
- package/dist/esm/useCases/listWindowCoverings.js +50 -0
- package/dist/esm/useCases/listWindowCoverings.js.map +1 -0
- package/dist/esm/useCases/moveAlarm.d.ts +41 -0
- package/dist/esm/useCases/moveAlarm.js +50 -0
- package/dist/esm/useCases/moveAlarm.js.map +1 -0
- package/dist/esm/useCases/moveCamera.d.ts +41 -0
- package/dist/esm/useCases/moveCamera.js +50 -0
- package/dist/esm/useCases/moveCamera.js.map +1 -0
- package/dist/esm/useCases/moveCourtesy.d.ts +41 -0
- package/dist/esm/useCases/moveCourtesy.js +50 -0
- package/dist/esm/useCases/moveCourtesy.js.map +1 -0
- package/dist/esm/useCases/moveDimmer.d.ts +41 -0
- package/dist/esm/useCases/moveDimmer.js +50 -0
- package/dist/esm/useCases/moveDimmer.js.map +1 -0
- package/dist/esm/useCases/moveLock.d.ts +41 -0
- package/dist/esm/useCases/moveLock.js +50 -0
- package/dist/esm/useCases/moveLock.js.map +1 -0
- package/dist/esm/useCases/moveMediaSource.d.ts +41 -0
- package/dist/esm/useCases/moveMediaSource.js +50 -0
- package/dist/esm/useCases/moveMediaSource.js.map +1 -0
- package/dist/esm/useCases/moveSwitch.d.ts +41 -0
- package/dist/esm/useCases/moveSwitch.js +50 -0
- package/dist/esm/useCases/moveSwitch.js.map +1 -0
- package/dist/esm/useCases/moveThermostat.d.ts +41 -0
- package/dist/esm/useCases/moveThermostat.js +50 -0
- package/dist/esm/useCases/moveThermostat.js.map +1 -0
- package/dist/esm/useCases/moveWindowCovering.d.ts +41 -0
- package/dist/esm/useCases/moveWindowCovering.js +50 -0
- package/dist/esm/useCases/moveWindowCovering.js.map +1 -0
- package/dist/esm/useCases/setAlarm.d.ts +41 -0
- package/dist/esm/useCases/setAlarm.js +50 -0
- package/dist/esm/useCases/setAlarm.js.map +1 -0
- package/dist/esm/useCases/setCamera.d.ts +41 -0
- package/dist/esm/useCases/setCamera.js +50 -0
- package/dist/esm/useCases/setCamera.js.map +1 -0
- package/dist/esm/useCases/setCourtesy.d.ts +41 -0
- package/dist/esm/useCases/setCourtesy.js +50 -0
- package/dist/esm/useCases/setCourtesy.js.map +1 -0
- package/dist/esm/useCases/setDimmer.d.ts +41 -0
- package/dist/esm/useCases/setDimmer.js +50 -0
- package/dist/esm/useCases/setDimmer.js.map +1 -0
- package/dist/esm/useCases/setLock.d.ts +41 -0
- package/dist/esm/useCases/setLock.js +50 -0
- package/dist/esm/useCases/setLock.js.map +1 -0
- package/dist/esm/useCases/setMediaSource.d.ts +41 -0
- package/dist/esm/useCases/setMediaSource.js +50 -0
- package/dist/esm/useCases/setMediaSource.js.map +1 -0
- package/dist/esm/useCases/setRoomScene.d.ts +41 -0
- package/dist/esm/useCases/setRoomScene.js +50 -0
- package/dist/esm/useCases/setRoomScene.js.map +1 -0
- package/dist/esm/useCases/setScene.d.ts +38 -0
- package/dist/esm/useCases/setScene.js +50 -0
- package/dist/esm/useCases/setScene.js.map +1 -0
- package/dist/esm/useCases/setSwitch.d.ts +41 -0
- package/dist/esm/useCases/setSwitch.js +50 -0
- package/dist/esm/useCases/setSwitch.js.map +1 -0
- package/dist/esm/useCases/setThermostat.d.ts +41 -0
- package/dist/esm/useCases/setThermostat.js +50 -0
- package/dist/esm/useCases/setThermostat.js.map +1 -0
- package/dist/esm/useCases/setWindowCovering.d.ts +41 -0
- package/dist/esm/useCases/setWindowCovering.js +50 -0
- package/dist/esm/useCases/setWindowCovering.js.map +1 -0
- package/dist/esm/useCases/updateAlarm.d.ts +41 -0
- package/dist/esm/useCases/{updateDevice.js → updateAlarm.js} +9 -9
- package/dist/esm/useCases/updateAlarm.js.map +1 -0
- package/dist/esm/useCases/updateCamera.d.ts +41 -0
- package/dist/esm/useCases/updateCamera.js +50 -0
- package/dist/esm/useCases/updateCamera.js.map +1 -0
- package/dist/esm/useCases/updateCourtesy.d.ts +41 -0
- package/dist/esm/useCases/updateCourtesy.js +50 -0
- package/dist/esm/useCases/updateCourtesy.js.map +1 -0
- package/dist/esm/useCases/updateDimmer.d.ts +41 -0
- package/dist/esm/useCases/updateDimmer.js +50 -0
- package/dist/esm/useCases/updateDimmer.js.map +1 -0
- package/dist/esm/useCases/updateLock.d.ts +41 -0
- package/dist/esm/useCases/updateLock.js +50 -0
- package/dist/esm/useCases/updateLock.js.map +1 -0
- package/dist/esm/useCases/updateMediaSource.d.ts +41 -0
- package/dist/esm/useCases/updateMediaSource.js +50 -0
- package/dist/esm/useCases/updateMediaSource.js.map +1 -0
- package/dist/esm/useCases/updateRoom.d.ts +38 -0
- package/dist/esm/useCases/{deleteDevice.js → updateRoom.js} +10 -10
- package/dist/esm/useCases/updateRoom.js.map +1 -0
- package/dist/esm/useCases/updateSwitch.d.ts +41 -0
- package/dist/esm/useCases/updateSwitch.js +50 -0
- package/dist/esm/useCases/updateSwitch.js.map +1 -0
- package/dist/esm/useCases/updateThermostat.d.ts +41 -0
- package/dist/esm/useCases/updateThermostat.js +50 -0
- package/dist/esm/useCases/updateThermostat.js.map +1 -0
- package/dist/esm/useCases/updateWindowCovering.d.ts +41 -0
- package/dist/esm/useCases/updateWindowCovering.js +50 -0
- package/dist/esm/useCases/updateWindowCovering.js.map +1 -0
- package/dist/esm/validate.d.ts +6 -6
- package/dist/esm/validate.js +0 -1
- package/dist/esm/validate.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-Cod_aB5g.d.cts +0 -294
- package/dist/cjs/useCases/createDevice.cjs.map +0 -1
- package/dist/cjs/useCases/deleteDevice.cjs.map +0 -1
- package/dist/cjs/useCases/deleteOrganization.cjs.map +0 -1
- package/dist/cjs/useCases/describeDevice.cjs.map +0 -1
- package/dist/cjs/useCases/describeDeviceConfig.cjs.map +0 -1
- package/dist/cjs/useCases/listDevices.cjs.map +0 -1
- package/dist/cjs/useCases/moveDevice.cjs.map +0 -1
- package/dist/cjs/useCases/setDevice.cjs.map +0 -1
- package/dist/esm/index-BfbsxLD2.d.ts +0 -294
- package/dist/esm/useCases/createDevice.js.map +0 -1
- package/dist/esm/useCases/deleteDevice.js.map +0 -1
- package/dist/esm/useCases/deleteOrganization.js.map +0 -1
- package/dist/esm/useCases/describeDevice.js.map +0 -1
- package/dist/esm/useCases/describeDeviceConfig.js.map +0 -1
- package/dist/esm/useCases/listDevices.js.map +0 -1
- package/dist/esm/useCases/moveDevice.js.map +0 -1
- package/dist/esm/useCases/setDevice.js.map +0 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
class UpdateThermostatCommand {
|
|
4
|
+
static {
|
|
5
|
+
__name(this, "UpdateThermostatCommand");
|
|
6
|
+
}
|
|
7
|
+
url;
|
|
8
|
+
data;
|
|
9
|
+
query;
|
|
10
|
+
headers;
|
|
11
|
+
config;
|
|
12
|
+
static params = ["roomId", "id"];
|
|
13
|
+
static url = "/rooms/:roomId/thermostats/:id";
|
|
14
|
+
static method = "put";
|
|
15
|
+
constructor(commandConfig, options = {}) {
|
|
16
|
+
const pathParams = UpdateThermostatCommand.params;
|
|
17
|
+
let { data, query, headers } = commandConfig ?? {};
|
|
18
|
+
if (typeof data === "undefined") data = null;
|
|
19
|
+
if (typeof query === "undefined") query = null;
|
|
20
|
+
if (typeof headers === "undefined") headers = null;
|
|
21
|
+
let url = UpdateThermostatCommand.url;
|
|
22
|
+
if (pathParams && data) {
|
|
23
|
+
for (const param of pathParams) {
|
|
24
|
+
const urlParam = ":" + param;
|
|
25
|
+
url = url.replace(urlParam, data[param]);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
29
|
+
if (missingParams) {
|
|
30
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
31
|
+
throw new Error("Missing parameters: " + missing.join(", "));
|
|
32
|
+
}
|
|
33
|
+
this.url = url;
|
|
34
|
+
this.data = data;
|
|
35
|
+
this.query = query;
|
|
36
|
+
this.headers = headers;
|
|
37
|
+
this.config = {
|
|
38
|
+
method: UpdateThermostatCommand.method,
|
|
39
|
+
url,
|
|
40
|
+
data,
|
|
41
|
+
params: query,
|
|
42
|
+
headers,
|
|
43
|
+
...options
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
UpdateThermostatCommand
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=updateThermostat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../.generated/useCases/updateThermostat.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface UpdateThermostatCommandConfig {\n data?: { roomId: string; id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface UpdateThermostatCommandRequestConfig {\n method: \"put\";\n url: string;\n data: { roomId: string; id: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class UpdateThermostatCommand {\n url: string;\n data: { roomId: string; id: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: UpdateThermostatCommandRequestConfig;\n\n static params = [\"roomId\", \"id\"] as const;\n static url = \"/rooms/:roomId/thermostats/:id\";\n static method = \"put\" as const;\n\n constructor(\n commandConfig: UpdateThermostatCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = UpdateThermostatCommand.params;\n\n let { data, query, headers } = commandConfig ?? {};\n\n if (typeof data === \"undefined\") data = null;\n if (typeof query === \"undefined\") query = null;\n if (typeof headers === \"undefined\") headers = null;\n\n // Replace path parameters with values from data\n let url: string = UpdateThermostatCommand.url;\n\n if (pathParams && data) {\n for (const param of pathParams) {\n const urlParam = \":\" + param;\n url = url.replace(urlParam, (data as Record<string, string>)[param]);\n }\n }\n\n // Make sure all parameters have been replaced\n const missingParams = url.match(/:[a-zA-Z0-9]+/g);\n if (missingParams) {\n const missing = missingParams.map((param) => param.replace(\":\", \"\"));\n throw new Error(\"Missing parameters: \" + missing.join(\", \"));\n }\n\n this.url = url;\n this.data = data;\n this.query = query;\n this.headers = headers;\n\n this.config = {\n method: UpdateThermostatCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;AAoBO,MAAM,wBAAwB;AAAA,EApBrC,OAoBqC;AAAA;AAAA;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,UAAU,IAAI;AAAA,EAC/B,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,wBAAwB;AAE3C,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,wBAAwB;AAE1C,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,wBAAwB;AAAA,MAChC;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
interface UpdateWindowCoveringCommandConfig {
|
|
2
|
+
data?: {
|
|
3
|
+
roomId: string;
|
|
4
|
+
id: string;
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
} | null;
|
|
7
|
+
headers?: Record<string, string> | null;
|
|
8
|
+
query?: Record<string, unknown> | null;
|
|
9
|
+
}
|
|
10
|
+
interface UpdateWindowCoveringCommandRequestConfig {
|
|
11
|
+
method: "put";
|
|
12
|
+
url: string;
|
|
13
|
+
data: {
|
|
14
|
+
roomId: string;
|
|
15
|
+
id: string;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
} | null;
|
|
18
|
+
params: Record<string, unknown> | null;
|
|
19
|
+
headers: Record<string, string> | null;
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
declare class UpdateWindowCoveringCommand {
|
|
26
|
+
url: string;
|
|
27
|
+
data: {
|
|
28
|
+
roomId: string;
|
|
29
|
+
id: string;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
} | null;
|
|
32
|
+
query: Record<string, unknown> | null;
|
|
33
|
+
headers: Record<string, string> | null;
|
|
34
|
+
config: UpdateWindowCoveringCommandRequestConfig;
|
|
35
|
+
static params: readonly ["roomId", "id"];
|
|
36
|
+
static url: string;
|
|
37
|
+
static method: "put";
|
|
38
|
+
constructor(commandConfig: UpdateWindowCoveringCommandConfig, options?: Record<string, unknown>);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { UpdateWindowCoveringCommand, type UpdateWindowCoveringCommandConfig, type UpdateWindowCoveringCommandRequestConfig };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
class UpdateWindowCoveringCommand {
|
|
4
|
+
static {
|
|
5
|
+
__name(this, "UpdateWindowCoveringCommand");
|
|
6
|
+
}
|
|
7
|
+
url;
|
|
8
|
+
data;
|
|
9
|
+
query;
|
|
10
|
+
headers;
|
|
11
|
+
config;
|
|
12
|
+
static params = ["roomId", "id"];
|
|
13
|
+
static url = "/rooms/:roomId/windowCoverings/:id";
|
|
14
|
+
static method = "put";
|
|
15
|
+
constructor(commandConfig, options = {}) {
|
|
16
|
+
const pathParams = UpdateWindowCoveringCommand.params;
|
|
17
|
+
let { data, query, headers } = commandConfig ?? {};
|
|
18
|
+
if (typeof data === "undefined") data = null;
|
|
19
|
+
if (typeof query === "undefined") query = null;
|
|
20
|
+
if (typeof headers === "undefined") headers = null;
|
|
21
|
+
let url = UpdateWindowCoveringCommand.url;
|
|
22
|
+
if (pathParams && data) {
|
|
23
|
+
for (const param of pathParams) {
|
|
24
|
+
const urlParam = ":" + param;
|
|
25
|
+
url = url.replace(urlParam, data[param]);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const missingParams = url.match(/:[a-zA-Z0-9]+/g);
|
|
29
|
+
if (missingParams) {
|
|
30
|
+
const missing = missingParams.map((param) => param.replace(":", ""));
|
|
31
|
+
throw new Error("Missing parameters: " + missing.join(", "));
|
|
32
|
+
}
|
|
33
|
+
this.url = url;
|
|
34
|
+
this.data = data;
|
|
35
|
+
this.query = query;
|
|
36
|
+
this.headers = headers;
|
|
37
|
+
this.config = {
|
|
38
|
+
method: UpdateWindowCoveringCommand.method,
|
|
39
|
+
url,
|
|
40
|
+
data,
|
|
41
|
+
params: query,
|
|
42
|
+
headers,
|
|
43
|
+
...options
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
UpdateWindowCoveringCommand
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=updateWindowCovering.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../.generated/useCases/updateWindowCovering.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface UpdateWindowCoveringCommandConfig {\n data?: { roomId: string; id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface UpdateWindowCoveringCommandRequestConfig {\n method: \"put\";\n url: string;\n data: { roomId: string; id: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class UpdateWindowCoveringCommand {\n url: string;\n data: { roomId: string; id: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: UpdateWindowCoveringCommandRequestConfig;\n\n static params = [\"roomId\", \"id\"] as const;\n static url = \"/rooms/:roomId/windowCoverings/:id\";\n static method = \"put\" as const;\n\n constructor(\n commandConfig: UpdateWindowCoveringCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = UpdateWindowCoveringCommand.params;\n\n let { data, query, headers } = commandConfig ?? {};\n\n if (typeof data === \"undefined\") data = null;\n if (typeof query === \"undefined\") query = null;\n if (typeof headers === \"undefined\") headers = null;\n\n // Replace path parameters with values from data\n let url: string = UpdateWindowCoveringCommand.url;\n\n if (pathParams && data) {\n for (const param of pathParams) {\n const urlParam = \":\" + param;\n url = url.replace(urlParam, (data as Record<string, string>)[param]);\n }\n }\n\n // Make sure all parameters have been replaced\n const missingParams = url.match(/:[a-zA-Z0-9]+/g);\n if (missingParams) {\n const missing = missingParams.map((param) => param.replace(\":\", \"\"));\n throw new Error(\"Missing parameters: \" + missing.join(\", \"));\n }\n\n this.url = url;\n this.data = data;\n this.query = query;\n this.headers = headers;\n\n this.config = {\n method: UpdateWindowCoveringCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;AAoBO,MAAM,4BAA4B;AAAA,EApBzC,OAoByC;AAAA;AAAA;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,UAAU,IAAI;AAAA,EAC/B,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,4BAA4B;AAE/C,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,4BAA4B;AAE9C,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,4BAA4B;AAAA,MACpC;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
package/dist/esm/validate.d.ts
CHANGED
|
@@ -173,8 +173,8 @@ declare const validateEmailMessage: ajv.ValidateFunction<{
|
|
|
173
173
|
}>;
|
|
174
174
|
declare const validateEnergyReport: ajv.ValidateFunction<{
|
|
175
175
|
id: any;
|
|
176
|
-
type: any;
|
|
177
176
|
roomId: any;
|
|
177
|
+
type: any;
|
|
178
178
|
first: any;
|
|
179
179
|
last: any;
|
|
180
180
|
consumption: any;
|
|
@@ -182,10 +182,10 @@ declare const validateEnergyReport: ajv.ValidateFunction<{
|
|
|
182
182
|
costPerKw: any;
|
|
183
183
|
} & {
|
|
184
184
|
id: any;
|
|
185
|
-
} & {
|
|
186
|
-
type: any;
|
|
187
185
|
} & {
|
|
188
186
|
roomId: any;
|
|
187
|
+
} & {
|
|
188
|
+
type: any;
|
|
189
189
|
} & {
|
|
190
190
|
first: any;
|
|
191
191
|
} & {
|
|
@@ -200,9 +200,9 @@ declare const validateEnergyReport: ajv.ValidateFunction<{
|
|
|
200
200
|
declare const validateEnergyReportShard: ajv.ValidateFunction<{
|
|
201
201
|
data: any;
|
|
202
202
|
id: any;
|
|
203
|
+
roomId: any;
|
|
203
204
|
type: any;
|
|
204
205
|
expires: any;
|
|
205
|
-
roomId: any;
|
|
206
206
|
first: any;
|
|
207
207
|
last: any;
|
|
208
208
|
ndata: any;
|
|
@@ -210,12 +210,12 @@ declare const validateEnergyReportShard: ajv.ValidateFunction<{
|
|
|
210
210
|
data: any;
|
|
211
211
|
} & {
|
|
212
212
|
id: any;
|
|
213
|
+
} & {
|
|
214
|
+
roomId: any;
|
|
213
215
|
} & {
|
|
214
216
|
type: any;
|
|
215
217
|
} & {
|
|
216
218
|
expires: any;
|
|
217
|
-
} & {
|
|
218
|
-
roomId: any;
|
|
219
219
|
} & {
|
|
220
220
|
first: any;
|
|
221
221
|
} & {
|
package/dist/esm/validate.js
CHANGED
package/dist/esm/validate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../.generated/validate.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\nimport { Ajv } from \"ajv\";\nimport addFormats from \"ajv-formats\";\n\nimport { definitionsSchema as defs } from \"./schemas/definitions.js\";\nimport { alarmSchema } from \"./schemas/alarm.js\";\nimport { announcementSchema } from \"./schemas/announcement.js\";\nimport { automationSchema } from \"./schemas/automation.js\";\nimport { cameraSchema } from \"./schemas/camera.js\";\nimport { categorySchema } from \"./schemas/category.js\";\nimport { courtesySchema } from \"./schemas/courtesy.js\";\nimport { credentialSchema } from \"./schemas/credential.js\";\nimport { departmentSchema } from \"./schemas/department.js\";\nimport { deviceRouterSchema } from \"./schemas/deviceRouter.js\";\nimport { dimmerSchema } from \"./schemas/dimmer.js\";\nimport { discoveredDeviceSchema } from \"./schemas/discoveredDevice.js\";\nimport { emailMessageSchema } from \"./schemas/emailMessage.js\";\nimport { energyReportSchema } from \"./schemas/energyReport.js\";\nimport { energyReportShardSchema } from \"./schemas/energyReportShard.js\";\nimport { gatewaySchema } from \"./schemas/gateway.js\";\nimport { identificationSchema } from \"./schemas/identification.js\";\nimport { issueSchema } from \"./schemas/issue.js\";\nimport { lockSchema } from \"./schemas/lock.js\";\nimport { logSchema } from \"./schemas/log.js\";\nimport { mediaFileSchema } from \"./schemas/mediaFile.js\";\nimport { mediaSourceSchema } from \"./schemas/mediaSource.js\";\nimport { motionSensorSchema } from \"./schemas/motionSensor.js\";\nimport { notificationSchema } from \"./schemas/notification.js\";\nimport { orderSchema } from \"./schemas/order.js\";\nimport { organizationSchema } from \"./schemas/organization.js\";\nimport { paymentSchema } from \"./schemas/payment.js\";\nimport { policySchema } from \"./schemas/policy.js\";\nimport { productSchema } from \"./schemas/product.js\";\nimport { propertySchema } from \"./schemas/property.js\";\nimport { reservationSchema } from \"./schemas/reservation.js\";\nimport { roomSchema } from \"./schemas/room.js\";\nimport { sceneSchema } from \"./schemas/scene.js\";\nimport { serverSchema } from \"./schemas/server.js\";\nimport { sessionSchema } from \"./schemas/session.js\";\nimport { shortLinkSchema } from \"./schemas/shortLink.js\";\nimport { smsMessageSchema } from \"./schemas/smsMessage.js\";\nimport { spaceSchema } from \"./schemas/space.js\";\nimport { switchSchema } from \"./schemas/switch.js\";\nimport { systemSchema } from \"./schemas/system.js\";\nimport { systemUserSchema } from \"./schemas/systemUser.js\";\nimport { thermostatSchema } from \"./schemas/thermostat.js\";\nimport { ticketSchema } from \"./schemas/ticket.js\";\nimport { timeSheetSchema } from \"./schemas/timeSheet.js\";\nimport { userSchema } from \"./schemas/user.js\";\nimport { vendorSchema } from \"./schemas/vendor.js\";\nimport { windowCoveringSchema } from \"./schemas/windowCovering.js\";\n\nconst schemas = [\n defs,\n alarmSchema,\n announcementSchema,\n automationSchema,\n cameraSchema,\n categorySchema,\n courtesySchema,\n credentialSchema,\n departmentSchema,\n deviceRouterSchema,\n dimmerSchema,\n discoveredDeviceSchema,\n emailMessageSchema,\n energyReportSchema,\n energyReportShardSchema,\n gatewaySchema,\n identificationSchema,\n issueSchema,\n lockSchema,\n logSchema,\n mediaFileSchema,\n mediaSourceSchema,\n motionSensorSchema,\n notificationSchema,\n orderSchema,\n organizationSchema,\n paymentSchema,\n policySchema,\n productSchema,\n propertySchema,\n reservationSchema,\n roomSchema,\n sceneSchema,\n serverSchema,\n sessionSchema,\n shortLinkSchema,\n smsMessageSchema,\n spaceSchema,\n switchSchema,\n systemSchema,\n systemUserSchema,\n thermostatSchema,\n ticketSchema,\n timeSheetSchema,\n userSchema,\n vendorSchema,\n windowCoveringSchema,\n];\n\nconst ajv = new Ajv({\n allErrors: true,\n useDefaults: true,\n strict: false,\n allowMatchingProperties: true,\n allowUnionTypes: true,\n strictRequired: false,\n discriminator: true,\n schemas: schemas,\n});\n\naddFormats(ajv);\n\nexport const validateAlarm = ajv.compile(alarmSchema);\nexport const validateAnnouncement = ajv.compile(announcementSchema);\nexport const validateAutomation = ajv.compile(automationSchema);\nexport const validateCamera = ajv.compile(cameraSchema);\nexport const validateCategory = ajv.compile(categorySchema);\nexport const validateCourtesy = ajv.compile(courtesySchema);\nexport const validateCredential = ajv.compile(credentialSchema);\nexport const validateDepartment = ajv.compile(departmentSchema);\nexport const validateDeviceRouter = ajv.compile(deviceRouterSchema);\nexport const validateDimmer = ajv.compile(dimmerSchema);\nexport const validateDiscoveredDevice = ajv.compile(discoveredDeviceSchema);\nexport const validateEmailMessage = ajv.compile(emailMessageSchema);\nexport const validateEnergyReport = ajv.compile(energyReportSchema);\nexport const validateEnergyReportShard = ajv.compile(energyReportShardSchema);\nexport const validateGateway = ajv.compile(gatewaySchema);\nexport const validateIdentification = ajv.compile(identificationSchema);\nexport const validateIssue = ajv.compile(issueSchema);\nexport const validateLock = ajv.compile(lockSchema);\nexport const validateLog = ajv.compile(logSchema);\nexport const validateMediaFile = ajv.compile(mediaFileSchema);\nexport const validateMediaSource = ajv.compile(mediaSourceSchema);\nexport const validateMotionSensor = ajv.compile(motionSensorSchema);\nexport const validateNotification = ajv.compile(notificationSchema);\nexport const validateOrder = ajv.compile(orderSchema);\nexport const validateOrganization = ajv.compile(organizationSchema);\nexport const validatePayment = ajv.compile(paymentSchema);\nexport const validatePolicy = ajv.compile(policySchema);\nexport const validateProduct = ajv.compile(productSchema);\nexport const validateProperty = ajv.compile(propertySchema);\nexport const validateReservation = ajv.compile(reservationSchema);\nexport const validateRoom = ajv.compile(roomSchema);\nexport const validateScene = ajv.compile(sceneSchema);\nexport const validateServer = ajv.compile(serverSchema);\nexport const validateSession = ajv.compile(sessionSchema);\nexport const validateShortLink = ajv.compile(shortLinkSchema);\nexport const validateSmsMessage = ajv.compile(smsMessageSchema);\nexport const validateSpace = ajv.compile(spaceSchema);\nexport const validateSwitch = ajv.compile(switchSchema);\nexport const validateSystem = ajv.compile(systemSchema);\nexport const validateSystemUser = ajv.compile(systemUserSchema);\nexport const validateThermostat = ajv.compile(thermostatSchema);\nexport const validateTicket = ajv.compile(ticketSchema);\nexport const validateTimeSheet = ajv.compile(timeSheetSchema);\nexport const validateUser = ajv.compile(userSchema);\nexport const validateVendor = ajv.compile(vendorSchema);\nexport const validateWindowCovering = ajv.compile(windowCoveringSchema);\n"],"mappings":"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","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../.generated/validate.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\nimport { Ajv } from \"ajv\";\nimport addFormats from \"ajv-formats\";\n\nimport { definitionsSchema as defs } from \"./schemas/definitions.js\";\nimport { alarmSchema } from \"./schemas/alarm.js\";\nimport { announcementSchema } from \"./schemas/announcement.js\";\nimport { automationSchema } from \"./schemas/automation.js\";\nimport { cameraSchema } from \"./schemas/camera.js\";\nimport { categorySchema } from \"./schemas/category.js\";\nimport { courtesySchema } from \"./schemas/courtesy.js\";\nimport { credentialSchema } from \"./schemas/credential.js\";\nimport { departmentSchema } from \"./schemas/department.js\";\nimport { deviceRouterSchema } from \"./schemas/deviceRouter.js\";\nimport { dimmerSchema } from \"./schemas/dimmer.js\";\nimport { discoveredDeviceSchema } from \"./schemas/discoveredDevice.js\";\nimport { emailMessageSchema } from \"./schemas/emailMessage.js\";\nimport { energyReportSchema } from \"./schemas/energyReport.js\";\nimport { energyReportShardSchema } from \"./schemas/energyReportShard.js\";\nimport { gatewaySchema } from \"./schemas/gateway.js\";\nimport { identificationSchema } from \"./schemas/identification.js\";\nimport { issueSchema } from \"./schemas/issue.js\";\nimport { lockSchema } from \"./schemas/lock.js\";\nimport { logSchema } from \"./schemas/log.js\";\nimport { mediaFileSchema } from \"./schemas/mediaFile.js\";\nimport { mediaSourceSchema } from \"./schemas/mediaSource.js\";\nimport { motionSensorSchema } from \"./schemas/motionSensor.js\";\nimport { notificationSchema } from \"./schemas/notification.js\";\nimport { orderSchema } from \"./schemas/order.js\";\nimport { organizationSchema } from \"./schemas/organization.js\";\nimport { paymentSchema } from \"./schemas/payment.js\";\nimport { policySchema } from \"./schemas/policy.js\";\nimport { productSchema } from \"./schemas/product.js\";\nimport { propertySchema } from \"./schemas/property.js\";\nimport { reservationSchema } from \"./schemas/reservation.js\";\nimport { roomSchema } from \"./schemas/room.js\";\nimport { sceneSchema } from \"./schemas/scene.js\";\nimport { serverSchema } from \"./schemas/server.js\";\nimport { sessionSchema } from \"./schemas/session.js\";\nimport { shortLinkSchema } from \"./schemas/shortLink.js\";\nimport { smsMessageSchema } from \"./schemas/smsMessage.js\";\nimport { spaceSchema } from \"./schemas/space.js\";\nimport { switchSchema } from \"./schemas/switch.js\";\nimport { systemSchema } from \"./schemas/system.js\";\nimport { systemUserSchema } from \"./schemas/systemUser.js\";\nimport { thermostatSchema } from \"./schemas/thermostat.js\";\nimport { ticketSchema } from \"./schemas/ticket.js\";\nimport { timeSheetSchema } from \"./schemas/timeSheet.js\";\nimport { userSchema } from \"./schemas/user.js\";\nimport { vendorSchema } from \"./schemas/vendor.js\";\nimport { windowCoveringSchema } from \"./schemas/windowCovering.js\";\n\nconst schemas = [\n defs,\n alarmSchema,\n announcementSchema,\n automationSchema,\n cameraSchema,\n categorySchema,\n courtesySchema,\n credentialSchema,\n departmentSchema,\n deviceRouterSchema,\n dimmerSchema,\n discoveredDeviceSchema,\n emailMessageSchema,\n energyReportSchema,\n energyReportShardSchema,\n gatewaySchema,\n identificationSchema,\n issueSchema,\n lockSchema,\n logSchema,\n mediaFileSchema,\n mediaSourceSchema,\n motionSensorSchema,\n notificationSchema,\n orderSchema,\n organizationSchema,\n paymentSchema,\n policySchema,\n productSchema,\n propertySchema,\n reservationSchema,\n roomSchema,\n sceneSchema,\n serverSchema,\n sessionSchema,\n shortLinkSchema,\n smsMessageSchema,\n spaceSchema,\n switchSchema,\n systemSchema,\n systemUserSchema,\n thermostatSchema,\n ticketSchema,\n timeSheetSchema,\n userSchema,\n vendorSchema,\n windowCoveringSchema,\n];\n\nconst ajv = new Ajv({\n allErrors: true,\n useDefaults: true,\n strict: false,\n allowMatchingProperties: true,\n allowUnionTypes: true,\n strictRequired: false,\n schemas: schemas,\n});\n\naddFormats(ajv);\n\nexport const validateAlarm = ajv.compile(alarmSchema);\nexport const validateAnnouncement = ajv.compile(announcementSchema);\nexport const validateAutomation = ajv.compile(automationSchema);\nexport const validateCamera = ajv.compile(cameraSchema);\nexport const validateCategory = ajv.compile(categorySchema);\nexport const validateCourtesy = ajv.compile(courtesySchema);\nexport const validateCredential = ajv.compile(credentialSchema);\nexport const validateDepartment = ajv.compile(departmentSchema);\nexport const validateDeviceRouter = ajv.compile(deviceRouterSchema);\nexport const validateDimmer = ajv.compile(dimmerSchema);\nexport const validateDiscoveredDevice = ajv.compile(discoveredDeviceSchema);\nexport const validateEmailMessage = ajv.compile(emailMessageSchema);\nexport const validateEnergyReport = ajv.compile(energyReportSchema);\nexport const validateEnergyReportShard = ajv.compile(energyReportShardSchema);\nexport const validateGateway = ajv.compile(gatewaySchema);\nexport const validateIdentification = ajv.compile(identificationSchema);\nexport const validateIssue = ajv.compile(issueSchema);\nexport const validateLock = ajv.compile(lockSchema);\nexport const validateLog = ajv.compile(logSchema);\nexport const validateMediaFile = ajv.compile(mediaFileSchema);\nexport const validateMediaSource = ajv.compile(mediaSourceSchema);\nexport const validateMotionSensor = ajv.compile(motionSensorSchema);\nexport const validateNotification = ajv.compile(notificationSchema);\nexport const validateOrder = ajv.compile(orderSchema);\nexport const validateOrganization = ajv.compile(organizationSchema);\nexport const validatePayment = ajv.compile(paymentSchema);\nexport const validatePolicy = ajv.compile(policySchema);\nexport const validateProduct = ajv.compile(productSchema);\nexport const validateProperty = ajv.compile(propertySchema);\nexport const validateReservation = ajv.compile(reservationSchema);\nexport const validateRoom = ajv.compile(roomSchema);\nexport const validateScene = ajv.compile(sceneSchema);\nexport const validateServer = ajv.compile(serverSchema);\nexport const validateSession = ajv.compile(sessionSchema);\nexport const validateShortLink = ajv.compile(shortLinkSchema);\nexport const validateSmsMessage = ajv.compile(smsMessageSchema);\nexport const validateSpace = ajv.compile(spaceSchema);\nexport const validateSwitch = ajv.compile(switchSchema);\nexport const validateSystem = ajv.compile(systemSchema);\nexport const validateSystemUser = ajv.compile(systemUserSchema);\nexport const validateThermostat = ajv.compile(thermostatSchema);\nexport const validateTicket = ajv.compile(ticketSchema);\nexport const validateTimeSheet = ajv.compile(timeSheetSchema);\nexport const validateUser = ajv.compile(userSchema);\nexport const validateVendor = ajv.compile(vendorSchema);\nexport const validateWindowCovering = ajv.compile(windowCoveringSchema);\n"],"mappings":"AACA,SAAS,WAAW;AACpB,OAAO,gBAAgB;AAEvB,SAAS,qBAAqB,YAAY;AAC1C,SAAS,mBAAmB;AAC5B,SAAS,0BAA0B;AACnC,SAAS,wBAAwB;AACjC,SAAS,oBAAoB;AAC7B,SAAS,sBAAsB;AAC/B,SAAS,sBAAsB;AAC/B,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,0BAA0B;AACnC,SAAS,oBAAoB;AAC7B,SAAS,8BAA8B;AACvC,SAAS,0BAA0B;AACnC,SAAS,0BAA0B;AACnC,SAAS,+BAA+B;AACxC,SAAS,qBAAqB;AAC9B,SAAS,4BAA4B;AACrC,SAAS,mBAAmB;AAC5B,SAAS,kBAAkB;AAC3B,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;AAChC,SAAS,yBAAyB;AAClC,SAAS,0BAA0B;AACnC,SAAS,0BAA0B;AACnC,SAAS,mBAAmB;AAC5B,SAAS,0BAA0B;AACnC,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAC7B,SAAS,qBAAqB;AAC9B,SAAS,sBAAsB;AAC/B,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,qBAAqB;AAC9B,SAAS,uBAAuB;AAChC,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAC7B,SAAS,oBAAoB;AAC7B,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,4BAA4B;AAErC,MAAM,UAAU;AAAA,EACd;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,MAAM,IAAI,IAAI;AAAA,EAClB,WAAW;AAAA,EACX,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,yBAAyB;AAAA,EACzB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB;AACF,CAAC;AAED,WAAW,GAAG;AAEP,MAAM,gBAAgB,IAAI,QAAQ,WAAW;AAC7C,MAAM,uBAAuB,IAAI,QAAQ,kBAAkB;AAC3D,MAAM,qBAAqB,IAAI,QAAQ,gBAAgB;AACvD,MAAM,iBAAiB,IAAI,QAAQ,YAAY;AAC/C,MAAM,mBAAmB,IAAI,QAAQ,cAAc;AACnD,MAAM,mBAAmB,IAAI,QAAQ,cAAc;AACnD,MAAM,qBAAqB,IAAI,QAAQ,gBAAgB;AACvD,MAAM,qBAAqB,IAAI,QAAQ,gBAAgB;AACvD,MAAM,uBAAuB,IAAI,QAAQ,kBAAkB;AAC3D,MAAM,iBAAiB,IAAI,QAAQ,YAAY;AAC/C,MAAM,2BAA2B,IAAI,QAAQ,sBAAsB;AACnE,MAAM,uBAAuB,IAAI,QAAQ,kBAAkB;AAC3D,MAAM,uBAAuB,IAAI,QAAQ,kBAAkB;AAC3D,MAAM,4BAA4B,IAAI,QAAQ,uBAAuB;AACrE,MAAM,kBAAkB,IAAI,QAAQ,aAAa;AACjD,MAAM,yBAAyB,IAAI,QAAQ,oBAAoB;AAC/D,MAAM,gBAAgB,IAAI,QAAQ,WAAW;AAC7C,MAAM,eAAe,IAAI,QAAQ,UAAU;AAC3C,MAAM,cAAc,IAAI,QAAQ,SAAS;AACzC,MAAM,oBAAoB,IAAI,QAAQ,eAAe;AACrD,MAAM,sBAAsB,IAAI,QAAQ,iBAAiB;AACzD,MAAM,uBAAuB,IAAI,QAAQ,kBAAkB;AAC3D,MAAM,uBAAuB,IAAI,QAAQ,kBAAkB;AAC3D,MAAM,gBAAgB,IAAI,QAAQ,WAAW;AAC7C,MAAM,uBAAuB,IAAI,QAAQ,kBAAkB;AAC3D,MAAM,kBAAkB,IAAI,QAAQ,aAAa;AACjD,MAAM,iBAAiB,IAAI,QAAQ,YAAY;AAC/C,MAAM,kBAAkB,IAAI,QAAQ,aAAa;AACjD,MAAM,mBAAmB,IAAI,QAAQ,cAAc;AACnD,MAAM,sBAAsB,IAAI,QAAQ,iBAAiB;AACzD,MAAM,eAAe,IAAI,QAAQ,UAAU;AAC3C,MAAM,gBAAgB,IAAI,QAAQ,WAAW;AAC7C,MAAM,iBAAiB,IAAI,QAAQ,YAAY;AAC/C,MAAM,kBAAkB,IAAI,QAAQ,aAAa;AACjD,MAAM,oBAAoB,IAAI,QAAQ,eAAe;AACrD,MAAM,qBAAqB,IAAI,QAAQ,gBAAgB;AACvD,MAAM,gBAAgB,IAAI,QAAQ,WAAW;AAC7C,MAAM,iBAAiB,IAAI,QAAQ,YAAY;AAC/C,MAAM,iBAAiB,IAAI,QAAQ,YAAY;AAC/C,MAAM,qBAAqB,IAAI,QAAQ,gBAAgB;AACvD,MAAM,qBAAqB,IAAI,QAAQ,gBAAgB;AACvD,MAAM,iBAAiB,IAAI,QAAQ,YAAY;AAC/C,MAAM,oBAAoB,IAAI,QAAQ,eAAe;AACrD,MAAM,eAAe,IAAI,QAAQ,UAAU;AAC3C,MAAM,iBAAiB,IAAI,QAAQ,YAAY;AAC/C,MAAM,yBAAyB,IAAI,QAAQ,oBAAoB;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
import { LoginStartCommand } from './useCases/loginStart.cjs';
|
|
2
|
-
import { RefreshTokenCommand } from './useCases/refreshToken.cjs';
|
|
3
|
-
import { LoginFinishCommand } from './useCases/loginFinish.cjs';
|
|
4
|
-
import { RequestLoginTokenCommand } from './useCases/requestLoginToken.cjs';
|
|
5
|
-
import { LogoutSelfCommand } from './useCases/logoutSelf.cjs';
|
|
6
|
-
import { LogoutUserCommand } from './useCases/logoutUser.cjs';
|
|
7
|
-
import { StartRegisterPasskeyCommand } from './useCases/startRegisterPasskey.cjs';
|
|
8
|
-
import { FinishRegisterPasskeyCommand } from './useCases/finishRegisterPasskey.cjs';
|
|
9
|
-
import { DescribeMyAuthCommand } from './useCases/describeMyAuth.cjs';
|
|
10
|
-
import { ValidateAuthCommand } from './useCases/validateAuth.cjs';
|
|
11
|
-
import { DescribeSelfCommand } from './useCases/describeSelf.cjs';
|
|
12
|
-
import { DescribeUserCommand } from './useCases/describeUser.cjs';
|
|
13
|
-
import { CreateUserCommand } from './useCases/createUser.cjs';
|
|
14
|
-
import { ListUsersCommand } from './useCases/listUsers.cjs';
|
|
15
|
-
import { UpdateSelfCommand } from './useCases/updateSelf.cjs';
|
|
16
|
-
import { UpdateUserCommand } from './useCases/updateUser.cjs';
|
|
17
|
-
import { DeleteUserCommand } from './useCases/deleteUser.cjs';
|
|
18
|
-
import { SendVerificationCodeCommand } from './useCases/sendVerificationCode.cjs';
|
|
19
|
-
import { CheckVerificationCodeCommand } from './useCases/checkVerificationCode.cjs';
|
|
20
|
-
import { ListUserSpacesCommand } from './useCases/listUserSpaces.cjs';
|
|
21
|
-
import { DescribeMyPasskeyRegistrationsCommand } from './useCases/describeMyPasskeyRegistrations.cjs';
|
|
22
|
-
import { DeleteUserCredentialCommand } from './useCases/deleteUserCredential.cjs';
|
|
23
|
-
import { CreatePolicyCommand } from './useCases/createPolicy.cjs';
|
|
24
|
-
import { ListPoliciesCommand } from './useCases/listPolicies.cjs';
|
|
25
|
-
import { UpdatePolicyCommand } from './useCases/updatePolicy.cjs';
|
|
26
|
-
import { DeletePolicyCommand } from './useCases/deletePolicy.cjs';
|
|
27
|
-
import { DescribePolicyCommand } from './useCases/describePolicy.cjs';
|
|
28
|
-
import { ListSpacesCommand } from './useCases/listSpaces.cjs';
|
|
29
|
-
import { UpdateSpaceCommand } from './useCases/updateSpace.cjs';
|
|
30
|
-
import { CreateSpaceCommand } from './useCases/createSpace.cjs';
|
|
31
|
-
import { DescribeSpaceCommand } from './useCases/describeSpace.cjs';
|
|
32
|
-
import { DeleteSpaceCommand } from './useCases/deleteSpace.cjs';
|
|
33
|
-
import { CreateDeviceCommand } from './useCases/createDevice.cjs';
|
|
34
|
-
import { ListDevicesCommand } from './useCases/listDevices.cjs';
|
|
35
|
-
import { DescribeDeviceCommand } from './useCases/describeDevice.cjs';
|
|
36
|
-
import { UpdateDeviceCommand } from './useCases/updateDevice.cjs';
|
|
37
|
-
import { SetDeviceCommand } from './useCases/setDevice.cjs';
|
|
38
|
-
import { DeleteDeviceCommand } from './useCases/deleteDevice.cjs';
|
|
39
|
-
import { MoveDeviceCommand } from './useCases/moveDevice.cjs';
|
|
40
|
-
import { DescribeDeviceConfigCommand } from './useCases/describeDeviceConfig.cjs';
|
|
41
|
-
import { ListCameraStreamPreviewsCommand } from './useCases/listCameraStreamPreviews.cjs';
|
|
42
|
-
import { CreateCategoryCommand } from './useCases/createCategory.cjs';
|
|
43
|
-
import { DeleteCategoryCommand } from './useCases/deleteCategory.cjs';
|
|
44
|
-
import { DescribeCategoryCommand } from './useCases/describeCategory.cjs';
|
|
45
|
-
import { ListCategoriesCommand } from './useCases/listCategories.cjs';
|
|
46
|
-
import { UpdateCategoryCommand } from './useCases/updateCategory.cjs';
|
|
47
|
-
import { DescribeDepartmentCommand } from './useCases/describeDepartment.cjs';
|
|
48
|
-
import { ListDepartmentsCommand } from './useCases/listDepartments.cjs';
|
|
49
|
-
import { DeleteDepartmentCommand } from './useCases/deleteDepartment.cjs';
|
|
50
|
-
import { CreateDepartmentCommand } from './useCases/createDepartment.cjs';
|
|
51
|
-
import { UpdateDepartmentCommand } from './useCases/updateDepartment.cjs';
|
|
52
|
-
import { AutoCloseTicketsCommand } from './useCases/autoCloseTickets.cjs';
|
|
53
|
-
import { DescribeTicketStatsCommand } from './useCases/describeTicketStats.cjs';
|
|
54
|
-
import { CreateTicketCommand } from './useCases/createTicket.cjs';
|
|
55
|
-
import { CreateTicketMessageCommand } from './useCases/createTicketMessage.cjs';
|
|
56
|
-
import { DeleteTicketCommand } from './useCases/deleteTicket.cjs';
|
|
57
|
-
import { ListTicketLocationsCommand } from './useCases/listTicketLocations.cjs';
|
|
58
|
-
import { DescribeTicketFiltersCommand } from './useCases/describeTicketFilters.cjs';
|
|
59
|
-
import { DescribeTicketCommand } from './useCases/describeTicket.cjs';
|
|
60
|
-
import { ListTicketsCommand } from './useCases/listTickets.cjs';
|
|
61
|
-
import { UpdateMessageReadStatusCommand } from './useCases/updateMessageReadStatus.cjs';
|
|
62
|
-
import { UpdateTicketCommand } from './useCases/updateTicket.cjs';
|
|
63
|
-
import { UpdateTicketStatusCommand } from './useCases/updateTicketStatus.cjs';
|
|
64
|
-
import { LeaveTicketCommand } from './useCases/leaveTicket.cjs';
|
|
65
|
-
import { CreateDiscoveredDeviceAssociationMapCommand } from './useCases/createDiscoveredDeviceAssociationMap.cjs';
|
|
66
|
-
import { AutoAssociateDiscoveredDevicesCommand } from './useCases/autoAssociateDiscoveredDevices.cjs';
|
|
67
|
-
import { CreateDiscoveredDeviceCommand } from './useCases/createDiscoveredDevice.cjs';
|
|
68
|
-
import { ListDiscoveredDevicesCommand } from './useCases/listDiscoveredDevices.cjs';
|
|
69
|
-
import { UpdateDiscoveredDeviceCommand } from './useCases/updateDiscoveredDevice.cjs';
|
|
70
|
-
import { DeleteDiscoveredDeviceCommand } from './useCases/deleteDiscoveredDevice.cjs';
|
|
71
|
-
import { DescribeDiscoveredDeviceCommand } from './useCases/describeDiscoveredDevice.cjs';
|
|
72
|
-
import { UpsertDiscoveredDeviceCommand } from './useCases/upsertDiscoveredDevice.cjs';
|
|
73
|
-
import { CreateDiscoveredDeviceAssociationCommand } from './useCases/createDiscoveredDeviceAssociation.cjs';
|
|
74
|
-
import { ListIntegrationsCommand } from './useCases/listIntegrations.cjs';
|
|
75
|
-
import { DescribeMyOrganizationCommand } from './useCases/describeMyOrganization.cjs';
|
|
76
|
-
import { CreateOrganizationCommand } from './useCases/createOrganization.cjs';
|
|
77
|
-
import { UpdateOrganizationCommand } from './useCases/updateOrganization.cjs';
|
|
78
|
-
import { DeleteOrganizationCommand } from './useCases/deleteOrganization.cjs';
|
|
79
|
-
import { DescribeOrganizationCommand } from './useCases/describeOrganization.cjs';
|
|
80
|
-
import { ListOrganizationsCommand } from './useCases/listOrganizations.cjs';
|
|
81
|
-
import { ListPropertiesCommand } from './useCases/listProperties.cjs';
|
|
82
|
-
import { ListMyPropertiesCommand } from './useCases/listMyProperties.cjs';
|
|
83
|
-
import { CreatePropertyCommand } from './useCases/createProperty.cjs';
|
|
84
|
-
import { UpdatePropertyCommand } from './useCases/updateProperty.cjs';
|
|
85
|
-
import { DescribePropertyCommand } from './useCases/describeProperty.cjs';
|
|
86
|
-
import { UpdatePropertySettingsCommand } from './useCases/updatePropertySettings.cjs';
|
|
87
|
-
import { EmailUserAccountSetupCommand } from './useCases/emailUserAccountSetup.cjs';
|
|
88
|
-
import { CreateImageUploadEndpointCommand } from './useCases/createImageUploadEndpoint.cjs';
|
|
89
|
-
import { DeleteMediaFileCommand } from './useCases/deleteMediaFile.cjs';
|
|
90
|
-
import { UploadImageCommand } from './useCases/uploadImage.cjs';
|
|
91
|
-
import { CreateAnnouncementCommand } from './useCases/createAnnouncement.cjs';
|
|
92
|
-
import { UpdateAnnouncementCommand } from './useCases/updateAnnouncement.cjs';
|
|
93
|
-
import { DescribeAnnouncementCommand } from './useCases/describeAnnouncement.cjs';
|
|
94
|
-
import { DeleteAnnouncementCommand } from './useCases/deleteAnnouncement.cjs';
|
|
95
|
-
import { ListAnnouncementsCommand } from './useCases/listAnnouncements.cjs';
|
|
96
|
-
import { DescribeTimeSheetStatsCommand } from './useCases/describeTimeSheetStats.cjs';
|
|
97
|
-
import { ListMyTimeSheetsCommand } from './useCases/listMyTimeSheets.cjs';
|
|
98
|
-
import { DescribeTimeSheetCommand } from './useCases/describeTimeSheet.cjs';
|
|
99
|
-
import { ListTimeSheetsCommand } from './useCases/listTimeSheets.cjs';
|
|
100
|
-
import { CreateTimeSheetCommand } from './useCases/createTimeSheet.cjs';
|
|
101
|
-
import { DeleteTimeSheetCommand } from './useCases/deleteTimeSheet.cjs';
|
|
102
|
-
import { UpdateTimeSheetCommand } from './useCases/updateTimeSheet.cjs';
|
|
103
|
-
import { CreateTimeSheetTimeEntryCommand } from './useCases/createTimeSheetTimeEntry.cjs';
|
|
104
|
-
import { DeleteTimeSheetTimeEntryCommand } from './useCases/deleteTimeSheetTimeEntry.cjs';
|
|
105
|
-
import { UpdateTimeSheetTimeEntryCommand } from './useCases/updateTimeSheetTimeEntry.cjs';
|
|
106
|
-
import { StartSOSCommand } from './useCases/startSOS.cjs';
|
|
107
|
-
import { StopSOSCommand } from './useCases/stopSOS.cjs';
|
|
108
|
-
import { DescribeSOSCommand } from './useCases/describeSOS.cjs';
|
|
109
|
-
import { DescribeIssueCommand } from './useCases/describeIssue.cjs';
|
|
110
|
-
import { ListIssuesCommand } from './useCases/listIssues.cjs';
|
|
111
|
-
import { DeleteIssueCommand } from './useCases/deleteIssue.cjs';
|
|
112
|
-
import { CreateIssueCommand } from './useCases/createIssue.cjs';
|
|
113
|
-
import { UpdateIssueCommand } from './useCases/updateIssue.cjs';
|
|
114
|
-
import { BulkUpdateIssueCommand } from './useCases/bulkUpdateIssue.cjs';
|
|
115
|
-
import { DescribeVendorCommand } from './useCases/describeVendor.cjs';
|
|
116
|
-
import { ListVendorsCommand } from './useCases/listVendors.cjs';
|
|
117
|
-
import { DeleteVendorCommand } from './useCases/deleteVendor.cjs';
|
|
118
|
-
import { CreateVendorCommand } from './useCases/createVendor.cjs';
|
|
119
|
-
import { UpdateVendorCommand } from './useCases/updateVendor.cjs';
|
|
120
|
-
import { CreateAutomationCommand } from './useCases/createAutomation.cjs';
|
|
121
|
-
import { ListAutomationsCommand } from './useCases/listAutomations.cjs';
|
|
122
|
-
import { DescribeAutomationCommand } from './useCases/describeAutomation.cjs';
|
|
123
|
-
import { UpdateAutomationCommand } from './useCases/updateAutomation.cjs';
|
|
124
|
-
import { DeleteAutomationCommand } from './useCases/deleteAutomation.cjs';
|
|
125
|
-
import { CreateDefaultAutomationsCommand } from './useCases/createDefaultAutomations.cjs';
|
|
126
|
-
import { RunAutomationCommand } from './useCases/runAutomation.cjs';
|
|
127
|
-
import { SendNotificationCommand } from './useCases/sendNotification.cjs';
|
|
128
|
-
import { SendSMSCommand } from './useCases/sendSMS.cjs';
|
|
129
|
-
import { CreateSessionCommand } from './useCases/createSession.cjs';
|
|
130
|
-
import { ListSessionsCommand } from './useCases/listSessions.cjs';
|
|
131
|
-
import { DescribeSessionCommand } from './useCases/describeSession.cjs';
|
|
132
|
-
import { UpdateSessionCommand } from './useCases/updateSession.cjs';
|
|
133
|
-
import { DeleteSessionCommand } from './useCases/deleteSession.cjs';
|
|
134
|
-
import { SetDevicesCommand } from './useCases/setDevices.cjs';
|
|
135
|
-
import { CreateSystemCommand } from './useCases/createSystem.cjs';
|
|
136
|
-
import { DeleteSystemCommand } from './useCases/deleteSystem.cjs';
|
|
137
|
-
import { DescribeSystemCommand } from './useCases/describeSystem.cjs';
|
|
138
|
-
import { ListSystemsCommand } from './useCases/listSystems.cjs';
|
|
139
|
-
import { UpdateSystemCommand } from './useCases/updateSystem.cjs';
|
|
140
|
-
import { CreateServerCommand } from './useCases/createServer.cjs';
|
|
141
|
-
import { DeleteServerCommand } from './useCases/deleteServer.cjs';
|
|
142
|
-
import { DescribeServerCommand } from './useCases/describeServer.cjs';
|
|
143
|
-
import { ListServersCommand } from './useCases/listServers.cjs';
|
|
144
|
-
import { UpdateServerCommand } from './useCases/updateServer.cjs';
|
|
145
|
-
|
|
146
|
-
declare const index_AutoAssociateDiscoveredDevicesCommand: typeof AutoAssociateDiscoveredDevicesCommand;
|
|
147
|
-
declare const index_AutoCloseTicketsCommand: typeof AutoCloseTicketsCommand;
|
|
148
|
-
declare const index_BulkUpdateIssueCommand: typeof BulkUpdateIssueCommand;
|
|
149
|
-
declare const index_CheckVerificationCodeCommand: typeof CheckVerificationCodeCommand;
|
|
150
|
-
declare const index_CreateAnnouncementCommand: typeof CreateAnnouncementCommand;
|
|
151
|
-
declare const index_CreateAutomationCommand: typeof CreateAutomationCommand;
|
|
152
|
-
declare const index_CreateCategoryCommand: typeof CreateCategoryCommand;
|
|
153
|
-
declare const index_CreateDefaultAutomationsCommand: typeof CreateDefaultAutomationsCommand;
|
|
154
|
-
declare const index_CreateDepartmentCommand: typeof CreateDepartmentCommand;
|
|
155
|
-
declare const index_CreateDeviceCommand: typeof CreateDeviceCommand;
|
|
156
|
-
declare const index_CreateDiscoveredDeviceAssociationCommand: typeof CreateDiscoveredDeviceAssociationCommand;
|
|
157
|
-
declare const index_CreateDiscoveredDeviceAssociationMapCommand: typeof CreateDiscoveredDeviceAssociationMapCommand;
|
|
158
|
-
declare const index_CreateDiscoveredDeviceCommand: typeof CreateDiscoveredDeviceCommand;
|
|
159
|
-
declare const index_CreateImageUploadEndpointCommand: typeof CreateImageUploadEndpointCommand;
|
|
160
|
-
declare const index_CreateIssueCommand: typeof CreateIssueCommand;
|
|
161
|
-
declare const index_CreateOrganizationCommand: typeof CreateOrganizationCommand;
|
|
162
|
-
declare const index_CreatePolicyCommand: typeof CreatePolicyCommand;
|
|
163
|
-
declare const index_CreatePropertyCommand: typeof CreatePropertyCommand;
|
|
164
|
-
declare const index_CreateServerCommand: typeof CreateServerCommand;
|
|
165
|
-
declare const index_CreateSessionCommand: typeof CreateSessionCommand;
|
|
166
|
-
declare const index_CreateSpaceCommand: typeof CreateSpaceCommand;
|
|
167
|
-
declare const index_CreateSystemCommand: typeof CreateSystemCommand;
|
|
168
|
-
declare const index_CreateTicketCommand: typeof CreateTicketCommand;
|
|
169
|
-
declare const index_CreateTicketMessageCommand: typeof CreateTicketMessageCommand;
|
|
170
|
-
declare const index_CreateTimeSheetCommand: typeof CreateTimeSheetCommand;
|
|
171
|
-
declare const index_CreateTimeSheetTimeEntryCommand: typeof CreateTimeSheetTimeEntryCommand;
|
|
172
|
-
declare const index_CreateUserCommand: typeof CreateUserCommand;
|
|
173
|
-
declare const index_CreateVendorCommand: typeof CreateVendorCommand;
|
|
174
|
-
declare const index_DeleteAnnouncementCommand: typeof DeleteAnnouncementCommand;
|
|
175
|
-
declare const index_DeleteAutomationCommand: typeof DeleteAutomationCommand;
|
|
176
|
-
declare const index_DeleteCategoryCommand: typeof DeleteCategoryCommand;
|
|
177
|
-
declare const index_DeleteDepartmentCommand: typeof DeleteDepartmentCommand;
|
|
178
|
-
declare const index_DeleteDeviceCommand: typeof DeleteDeviceCommand;
|
|
179
|
-
declare const index_DeleteDiscoveredDeviceCommand: typeof DeleteDiscoveredDeviceCommand;
|
|
180
|
-
declare const index_DeleteIssueCommand: typeof DeleteIssueCommand;
|
|
181
|
-
declare const index_DeleteMediaFileCommand: typeof DeleteMediaFileCommand;
|
|
182
|
-
declare const index_DeleteOrganizationCommand: typeof DeleteOrganizationCommand;
|
|
183
|
-
declare const index_DeletePolicyCommand: typeof DeletePolicyCommand;
|
|
184
|
-
declare const index_DeleteServerCommand: typeof DeleteServerCommand;
|
|
185
|
-
declare const index_DeleteSessionCommand: typeof DeleteSessionCommand;
|
|
186
|
-
declare const index_DeleteSpaceCommand: typeof DeleteSpaceCommand;
|
|
187
|
-
declare const index_DeleteSystemCommand: typeof DeleteSystemCommand;
|
|
188
|
-
declare const index_DeleteTicketCommand: typeof DeleteTicketCommand;
|
|
189
|
-
declare const index_DeleteTimeSheetCommand: typeof DeleteTimeSheetCommand;
|
|
190
|
-
declare const index_DeleteTimeSheetTimeEntryCommand: typeof DeleteTimeSheetTimeEntryCommand;
|
|
191
|
-
declare const index_DeleteUserCommand: typeof DeleteUserCommand;
|
|
192
|
-
declare const index_DeleteUserCredentialCommand: typeof DeleteUserCredentialCommand;
|
|
193
|
-
declare const index_DeleteVendorCommand: typeof DeleteVendorCommand;
|
|
194
|
-
declare const index_DescribeAnnouncementCommand: typeof DescribeAnnouncementCommand;
|
|
195
|
-
declare const index_DescribeAutomationCommand: typeof DescribeAutomationCommand;
|
|
196
|
-
declare const index_DescribeCategoryCommand: typeof DescribeCategoryCommand;
|
|
197
|
-
declare const index_DescribeDepartmentCommand: typeof DescribeDepartmentCommand;
|
|
198
|
-
declare const index_DescribeDeviceCommand: typeof DescribeDeviceCommand;
|
|
199
|
-
declare const index_DescribeDeviceConfigCommand: typeof DescribeDeviceConfigCommand;
|
|
200
|
-
declare const index_DescribeDiscoveredDeviceCommand: typeof DescribeDiscoveredDeviceCommand;
|
|
201
|
-
declare const index_DescribeIssueCommand: typeof DescribeIssueCommand;
|
|
202
|
-
declare const index_DescribeMyAuthCommand: typeof DescribeMyAuthCommand;
|
|
203
|
-
declare const index_DescribeMyOrganizationCommand: typeof DescribeMyOrganizationCommand;
|
|
204
|
-
declare const index_DescribeMyPasskeyRegistrationsCommand: typeof DescribeMyPasskeyRegistrationsCommand;
|
|
205
|
-
declare const index_DescribeOrganizationCommand: typeof DescribeOrganizationCommand;
|
|
206
|
-
declare const index_DescribePolicyCommand: typeof DescribePolicyCommand;
|
|
207
|
-
declare const index_DescribePropertyCommand: typeof DescribePropertyCommand;
|
|
208
|
-
declare const index_DescribeSOSCommand: typeof DescribeSOSCommand;
|
|
209
|
-
declare const index_DescribeSelfCommand: typeof DescribeSelfCommand;
|
|
210
|
-
declare const index_DescribeServerCommand: typeof DescribeServerCommand;
|
|
211
|
-
declare const index_DescribeSessionCommand: typeof DescribeSessionCommand;
|
|
212
|
-
declare const index_DescribeSpaceCommand: typeof DescribeSpaceCommand;
|
|
213
|
-
declare const index_DescribeSystemCommand: typeof DescribeSystemCommand;
|
|
214
|
-
declare const index_DescribeTicketCommand: typeof DescribeTicketCommand;
|
|
215
|
-
declare const index_DescribeTicketFiltersCommand: typeof DescribeTicketFiltersCommand;
|
|
216
|
-
declare const index_DescribeTicketStatsCommand: typeof DescribeTicketStatsCommand;
|
|
217
|
-
declare const index_DescribeTimeSheetCommand: typeof DescribeTimeSheetCommand;
|
|
218
|
-
declare const index_DescribeTimeSheetStatsCommand: typeof DescribeTimeSheetStatsCommand;
|
|
219
|
-
declare const index_DescribeUserCommand: typeof DescribeUserCommand;
|
|
220
|
-
declare const index_DescribeVendorCommand: typeof DescribeVendorCommand;
|
|
221
|
-
declare const index_EmailUserAccountSetupCommand: typeof EmailUserAccountSetupCommand;
|
|
222
|
-
declare const index_FinishRegisterPasskeyCommand: typeof FinishRegisterPasskeyCommand;
|
|
223
|
-
declare const index_LeaveTicketCommand: typeof LeaveTicketCommand;
|
|
224
|
-
declare const index_ListAnnouncementsCommand: typeof ListAnnouncementsCommand;
|
|
225
|
-
declare const index_ListAutomationsCommand: typeof ListAutomationsCommand;
|
|
226
|
-
declare const index_ListCameraStreamPreviewsCommand: typeof ListCameraStreamPreviewsCommand;
|
|
227
|
-
declare const index_ListCategoriesCommand: typeof ListCategoriesCommand;
|
|
228
|
-
declare const index_ListDepartmentsCommand: typeof ListDepartmentsCommand;
|
|
229
|
-
declare const index_ListDevicesCommand: typeof ListDevicesCommand;
|
|
230
|
-
declare const index_ListDiscoveredDevicesCommand: typeof ListDiscoveredDevicesCommand;
|
|
231
|
-
declare const index_ListIntegrationsCommand: typeof ListIntegrationsCommand;
|
|
232
|
-
declare const index_ListIssuesCommand: typeof ListIssuesCommand;
|
|
233
|
-
declare const index_ListMyPropertiesCommand: typeof ListMyPropertiesCommand;
|
|
234
|
-
declare const index_ListMyTimeSheetsCommand: typeof ListMyTimeSheetsCommand;
|
|
235
|
-
declare const index_ListOrganizationsCommand: typeof ListOrganizationsCommand;
|
|
236
|
-
declare const index_ListPoliciesCommand: typeof ListPoliciesCommand;
|
|
237
|
-
declare const index_ListPropertiesCommand: typeof ListPropertiesCommand;
|
|
238
|
-
declare const index_ListServersCommand: typeof ListServersCommand;
|
|
239
|
-
declare const index_ListSessionsCommand: typeof ListSessionsCommand;
|
|
240
|
-
declare const index_ListSpacesCommand: typeof ListSpacesCommand;
|
|
241
|
-
declare const index_ListSystemsCommand: typeof ListSystemsCommand;
|
|
242
|
-
declare const index_ListTicketLocationsCommand: typeof ListTicketLocationsCommand;
|
|
243
|
-
declare const index_ListTicketsCommand: typeof ListTicketsCommand;
|
|
244
|
-
declare const index_ListTimeSheetsCommand: typeof ListTimeSheetsCommand;
|
|
245
|
-
declare const index_ListUserSpacesCommand: typeof ListUserSpacesCommand;
|
|
246
|
-
declare const index_ListUsersCommand: typeof ListUsersCommand;
|
|
247
|
-
declare const index_ListVendorsCommand: typeof ListVendorsCommand;
|
|
248
|
-
declare const index_LoginFinishCommand: typeof LoginFinishCommand;
|
|
249
|
-
declare const index_LoginStartCommand: typeof LoginStartCommand;
|
|
250
|
-
declare const index_LogoutSelfCommand: typeof LogoutSelfCommand;
|
|
251
|
-
declare const index_LogoutUserCommand: typeof LogoutUserCommand;
|
|
252
|
-
declare const index_MoveDeviceCommand: typeof MoveDeviceCommand;
|
|
253
|
-
declare const index_RefreshTokenCommand: typeof RefreshTokenCommand;
|
|
254
|
-
declare const index_RequestLoginTokenCommand: typeof RequestLoginTokenCommand;
|
|
255
|
-
declare const index_RunAutomationCommand: typeof RunAutomationCommand;
|
|
256
|
-
declare const index_SendNotificationCommand: typeof SendNotificationCommand;
|
|
257
|
-
declare const index_SendSMSCommand: typeof SendSMSCommand;
|
|
258
|
-
declare const index_SendVerificationCodeCommand: typeof SendVerificationCodeCommand;
|
|
259
|
-
declare const index_SetDeviceCommand: typeof SetDeviceCommand;
|
|
260
|
-
declare const index_SetDevicesCommand: typeof SetDevicesCommand;
|
|
261
|
-
declare const index_StartRegisterPasskeyCommand: typeof StartRegisterPasskeyCommand;
|
|
262
|
-
declare const index_StartSOSCommand: typeof StartSOSCommand;
|
|
263
|
-
declare const index_StopSOSCommand: typeof StopSOSCommand;
|
|
264
|
-
declare const index_UpdateAnnouncementCommand: typeof UpdateAnnouncementCommand;
|
|
265
|
-
declare const index_UpdateAutomationCommand: typeof UpdateAutomationCommand;
|
|
266
|
-
declare const index_UpdateCategoryCommand: typeof UpdateCategoryCommand;
|
|
267
|
-
declare const index_UpdateDepartmentCommand: typeof UpdateDepartmentCommand;
|
|
268
|
-
declare const index_UpdateDeviceCommand: typeof UpdateDeviceCommand;
|
|
269
|
-
declare const index_UpdateDiscoveredDeviceCommand: typeof UpdateDiscoveredDeviceCommand;
|
|
270
|
-
declare const index_UpdateIssueCommand: typeof UpdateIssueCommand;
|
|
271
|
-
declare const index_UpdateMessageReadStatusCommand: typeof UpdateMessageReadStatusCommand;
|
|
272
|
-
declare const index_UpdateOrganizationCommand: typeof UpdateOrganizationCommand;
|
|
273
|
-
declare const index_UpdatePolicyCommand: typeof UpdatePolicyCommand;
|
|
274
|
-
declare const index_UpdatePropertyCommand: typeof UpdatePropertyCommand;
|
|
275
|
-
declare const index_UpdatePropertySettingsCommand: typeof UpdatePropertySettingsCommand;
|
|
276
|
-
declare const index_UpdateSelfCommand: typeof UpdateSelfCommand;
|
|
277
|
-
declare const index_UpdateServerCommand: typeof UpdateServerCommand;
|
|
278
|
-
declare const index_UpdateSessionCommand: typeof UpdateSessionCommand;
|
|
279
|
-
declare const index_UpdateSpaceCommand: typeof UpdateSpaceCommand;
|
|
280
|
-
declare const index_UpdateSystemCommand: typeof UpdateSystemCommand;
|
|
281
|
-
declare const index_UpdateTicketCommand: typeof UpdateTicketCommand;
|
|
282
|
-
declare const index_UpdateTicketStatusCommand: typeof UpdateTicketStatusCommand;
|
|
283
|
-
declare const index_UpdateTimeSheetCommand: typeof UpdateTimeSheetCommand;
|
|
284
|
-
declare const index_UpdateTimeSheetTimeEntryCommand: typeof UpdateTimeSheetTimeEntryCommand;
|
|
285
|
-
declare const index_UpdateUserCommand: typeof UpdateUserCommand;
|
|
286
|
-
declare const index_UpdateVendorCommand: typeof UpdateVendorCommand;
|
|
287
|
-
declare const index_UploadImageCommand: typeof UploadImageCommand;
|
|
288
|
-
declare const index_UpsertDiscoveredDeviceCommand: typeof UpsertDiscoveredDeviceCommand;
|
|
289
|
-
declare const index_ValidateAuthCommand: typeof ValidateAuthCommand;
|
|
290
|
-
declare namespace index {
|
|
291
|
-
export { index_AutoAssociateDiscoveredDevicesCommand as AutoAssociateDiscoveredDevicesCommand, index_AutoCloseTicketsCommand as AutoCloseTicketsCommand, index_BulkUpdateIssueCommand as BulkUpdateIssueCommand, index_CheckVerificationCodeCommand as CheckVerificationCodeCommand, index_CreateAnnouncementCommand as CreateAnnouncementCommand, index_CreateAutomationCommand as CreateAutomationCommand, index_CreateCategoryCommand as CreateCategoryCommand, index_CreateDefaultAutomationsCommand as CreateDefaultAutomationsCommand, index_CreateDepartmentCommand as CreateDepartmentCommand, index_CreateDeviceCommand as CreateDeviceCommand, index_CreateDiscoveredDeviceAssociationCommand as CreateDiscoveredDeviceAssociationCommand, index_CreateDiscoveredDeviceAssociationMapCommand as CreateDiscoveredDeviceAssociationMapCommand, index_CreateDiscoveredDeviceCommand as CreateDiscoveredDeviceCommand, index_CreateImageUploadEndpointCommand as CreateImageUploadEndpointCommand, index_CreateIssueCommand as CreateIssueCommand, index_CreateOrganizationCommand as CreateOrganizationCommand, index_CreatePolicyCommand as CreatePolicyCommand, index_CreatePropertyCommand as CreatePropertyCommand, index_CreateServerCommand as CreateServerCommand, index_CreateSessionCommand as CreateSessionCommand, index_CreateSpaceCommand as CreateSpaceCommand, index_CreateSystemCommand as CreateSystemCommand, index_CreateTicketCommand as CreateTicketCommand, index_CreateTicketMessageCommand as CreateTicketMessageCommand, index_CreateTimeSheetCommand as CreateTimeSheetCommand, index_CreateTimeSheetTimeEntryCommand as CreateTimeSheetTimeEntryCommand, index_CreateUserCommand as CreateUserCommand, index_CreateVendorCommand as CreateVendorCommand, index_DeleteAnnouncementCommand as DeleteAnnouncementCommand, index_DeleteAutomationCommand as DeleteAutomationCommand, index_DeleteCategoryCommand as DeleteCategoryCommand, index_DeleteDepartmentCommand as DeleteDepartmentCommand, index_DeleteDeviceCommand as DeleteDeviceCommand, index_DeleteDiscoveredDeviceCommand as DeleteDiscoveredDeviceCommand, index_DeleteIssueCommand as DeleteIssueCommand, index_DeleteMediaFileCommand as DeleteMediaFileCommand, index_DeleteOrganizationCommand as DeleteOrganizationCommand, index_DeletePolicyCommand as DeletePolicyCommand, index_DeleteServerCommand as DeleteServerCommand, index_DeleteSessionCommand as DeleteSessionCommand, index_DeleteSpaceCommand as DeleteSpaceCommand, index_DeleteSystemCommand as DeleteSystemCommand, index_DeleteTicketCommand as DeleteTicketCommand, index_DeleteTimeSheetCommand as DeleteTimeSheetCommand, index_DeleteTimeSheetTimeEntryCommand as DeleteTimeSheetTimeEntryCommand, index_DeleteUserCommand as DeleteUserCommand, index_DeleteUserCredentialCommand as DeleteUserCredentialCommand, index_DeleteVendorCommand as DeleteVendorCommand, index_DescribeAnnouncementCommand as DescribeAnnouncementCommand, index_DescribeAutomationCommand as DescribeAutomationCommand, index_DescribeCategoryCommand as DescribeCategoryCommand, index_DescribeDepartmentCommand as DescribeDepartmentCommand, index_DescribeDeviceCommand as DescribeDeviceCommand, index_DescribeDeviceConfigCommand as DescribeDeviceConfigCommand, index_DescribeDiscoveredDeviceCommand as DescribeDiscoveredDeviceCommand, index_DescribeIssueCommand as DescribeIssueCommand, index_DescribeMyAuthCommand as DescribeMyAuthCommand, index_DescribeMyOrganizationCommand as DescribeMyOrganizationCommand, index_DescribeMyPasskeyRegistrationsCommand as DescribeMyPasskeyRegistrationsCommand, index_DescribeOrganizationCommand as DescribeOrganizationCommand, index_DescribePolicyCommand as DescribePolicyCommand, index_DescribePropertyCommand as DescribePropertyCommand, index_DescribeSOSCommand as DescribeSOSCommand, index_DescribeSelfCommand as DescribeSelfCommand, index_DescribeServerCommand as DescribeServerCommand, index_DescribeSessionCommand as DescribeSessionCommand, index_DescribeSpaceCommand as DescribeSpaceCommand, index_DescribeSystemCommand as DescribeSystemCommand, index_DescribeTicketCommand as DescribeTicketCommand, index_DescribeTicketFiltersCommand as DescribeTicketFiltersCommand, index_DescribeTicketStatsCommand as DescribeTicketStatsCommand, index_DescribeTimeSheetCommand as DescribeTimeSheetCommand, index_DescribeTimeSheetStatsCommand as DescribeTimeSheetStatsCommand, index_DescribeUserCommand as DescribeUserCommand, index_DescribeVendorCommand as DescribeVendorCommand, index_EmailUserAccountSetupCommand as EmailUserAccountSetupCommand, index_FinishRegisterPasskeyCommand as FinishRegisterPasskeyCommand, index_LeaveTicketCommand as LeaveTicketCommand, index_ListAnnouncementsCommand as ListAnnouncementsCommand, index_ListAutomationsCommand as ListAutomationsCommand, index_ListCameraStreamPreviewsCommand as ListCameraStreamPreviewsCommand, index_ListCategoriesCommand as ListCategoriesCommand, index_ListDepartmentsCommand as ListDepartmentsCommand, index_ListDevicesCommand as ListDevicesCommand, index_ListDiscoveredDevicesCommand as ListDiscoveredDevicesCommand, index_ListIntegrationsCommand as ListIntegrationsCommand, index_ListIssuesCommand as ListIssuesCommand, index_ListMyPropertiesCommand as ListMyPropertiesCommand, index_ListMyTimeSheetsCommand as ListMyTimeSheetsCommand, index_ListOrganizationsCommand as ListOrganizationsCommand, index_ListPoliciesCommand as ListPoliciesCommand, index_ListPropertiesCommand as ListPropertiesCommand, index_ListServersCommand as ListServersCommand, index_ListSessionsCommand as ListSessionsCommand, index_ListSpacesCommand as ListSpacesCommand, index_ListSystemsCommand as ListSystemsCommand, index_ListTicketLocationsCommand as ListTicketLocationsCommand, index_ListTicketsCommand as ListTicketsCommand, index_ListTimeSheetsCommand as ListTimeSheetsCommand, index_ListUserSpacesCommand as ListUserSpacesCommand, index_ListUsersCommand as ListUsersCommand, index_ListVendorsCommand as ListVendorsCommand, index_LoginFinishCommand as LoginFinishCommand, index_LoginStartCommand as LoginStartCommand, index_LogoutSelfCommand as LogoutSelfCommand, index_LogoutUserCommand as LogoutUserCommand, index_MoveDeviceCommand as MoveDeviceCommand, index_RefreshTokenCommand as RefreshTokenCommand, index_RequestLoginTokenCommand as RequestLoginTokenCommand, index_RunAutomationCommand as RunAutomationCommand, index_SendNotificationCommand as SendNotificationCommand, index_SendSMSCommand as SendSMSCommand, index_SendVerificationCodeCommand as SendVerificationCodeCommand, index_SetDeviceCommand as SetDeviceCommand, index_SetDevicesCommand as SetDevicesCommand, index_StartRegisterPasskeyCommand as StartRegisterPasskeyCommand, index_StartSOSCommand as StartSOSCommand, index_StopSOSCommand as StopSOSCommand, index_UpdateAnnouncementCommand as UpdateAnnouncementCommand, index_UpdateAutomationCommand as UpdateAutomationCommand, index_UpdateCategoryCommand as UpdateCategoryCommand, index_UpdateDepartmentCommand as UpdateDepartmentCommand, index_UpdateDeviceCommand as UpdateDeviceCommand, index_UpdateDiscoveredDeviceCommand as UpdateDiscoveredDeviceCommand, index_UpdateIssueCommand as UpdateIssueCommand, index_UpdateMessageReadStatusCommand as UpdateMessageReadStatusCommand, index_UpdateOrganizationCommand as UpdateOrganizationCommand, index_UpdatePolicyCommand as UpdatePolicyCommand, index_UpdatePropertyCommand as UpdatePropertyCommand, index_UpdatePropertySettingsCommand as UpdatePropertySettingsCommand, index_UpdateSelfCommand as UpdateSelfCommand, index_UpdateServerCommand as UpdateServerCommand, index_UpdateSessionCommand as UpdateSessionCommand, index_UpdateSpaceCommand as UpdateSpaceCommand, index_UpdateSystemCommand as UpdateSystemCommand, index_UpdateTicketCommand as UpdateTicketCommand, index_UpdateTicketStatusCommand as UpdateTicketStatusCommand, index_UpdateTimeSheetCommand as UpdateTimeSheetCommand, index_UpdateTimeSheetTimeEntryCommand as UpdateTimeSheetTimeEntryCommand, index_UpdateUserCommand as UpdateUserCommand, index_UpdateVendorCommand as UpdateVendorCommand, index_UploadImageCommand as UploadImageCommand, index_UpsertDiscoveredDeviceCommand as UpsertDiscoveredDeviceCommand, index_ValidateAuthCommand as ValidateAuthCommand };
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export { index as i };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../.generated/useCases/createDevice.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface CreateDeviceCommandConfig {\n data?: { spaceId: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface CreateDeviceCommandRequestConfig {\n method: \"post\";\n url: string;\n data: { spaceId: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class CreateDeviceCommand {\n url: string;\n data: { spaceId: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: CreateDeviceCommandRequestConfig;\n\n static params = [\"spaceId\"] as const;\n static url = \"/spaces/:spaceId/devices\";\n static method = \"post\" as const;\n\n constructor(\n commandConfig: CreateDeviceCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = CreateDeviceCommand.params;\n\n let { data, query, headers } = commandConfig ?? {};\n\n if (typeof data === \"undefined\") data = null;\n if (typeof query === \"undefined\") query = null;\n if (typeof headers === \"undefined\") headers = null;\n\n // Replace path parameters with values from data\n let url: string = CreateDeviceCommand.url;\n\n if (pathParams && data) {\n for (const param of pathParams) {\n const urlParam = \":\" + param;\n url = url.replace(urlParam, (data as Record<string, string>)[param]);\n }\n }\n\n // Make sure all parameters have been replaced\n const missingParams = url.match(/:[a-zA-Z0-9]+/g);\n if (missingParams) {\n const missing = missingParams.map((param) => param.replace(\":\", \"\"));\n throw new Error(\"Missing parameters: \" + missing.join(\", \"));\n }\n\n this.url = url;\n this.data = data;\n this.query = query;\n this.headers = headers;\n\n this.config = {\n method: CreateDeviceCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBO,MAAM,oBAAoB;AAAA,EApBjC,OAoBiC;AAAA;AAAA;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,SAAS;AAAA,EAC1B,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,oBAAoB;AAEvC,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,oBAAoB;AAEtC,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,oBAAoB;AAAA,MAC5B;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../.generated/useCases/deleteDevice.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface DeleteDeviceCommandConfig {\n data?: { spaceId: string; id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface DeleteDeviceCommandRequestConfig {\n method: \"delete\";\n url: string;\n data: { spaceId: string; id: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class DeleteDeviceCommand {\n url: string;\n data: { spaceId: string; id: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: DeleteDeviceCommandRequestConfig;\n\n static params = [\"spaceId\", \"id\"] as const;\n static url = \"/spaces/:spaceId/devices/:id\";\n static method = \"delete\" as const;\n\n constructor(\n commandConfig: DeleteDeviceCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = DeleteDeviceCommand.params;\n\n let { data, query, headers } = commandConfig ?? {};\n\n if (typeof data === \"undefined\") data = null;\n if (typeof query === \"undefined\") query = null;\n if (typeof headers === \"undefined\") headers = null;\n\n // Replace path parameters with values from data\n let url: string = DeleteDeviceCommand.url;\n\n if (pathParams && data) {\n for (const param of pathParams) {\n const urlParam = \":\" + param;\n url = url.replace(urlParam, (data as Record<string, string>)[param]);\n }\n }\n\n // Make sure all parameters have been replaced\n const missingParams = url.match(/:[a-zA-Z0-9]+/g);\n if (missingParams) {\n const missing = missingParams.map((param) => param.replace(\":\", \"\"));\n throw new Error(\"Missing parameters: \" + missing.join(\", \"));\n }\n\n this.url = url;\n this.data = data;\n this.query = query;\n this.headers = headers;\n\n this.config = {\n method: DeleteDeviceCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBO,MAAM,oBAAoB;AAAA,EApBjC,OAoBiC;AAAA;AAAA;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,WAAW,IAAI;AAAA,EAChC,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,oBAAoB;AAEvC,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,oBAAoB;AAEtC,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,oBAAoB;AAAA,MAC5B;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../.generated/useCases/deleteOrganization.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface DeleteOrganizationCommandConfig {\n data?: { id: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface DeleteOrganizationCommandRequestConfig {\n method: \"delete\";\n url: string;\n data: { id: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n *\n */\nexport class DeleteOrganizationCommand {\n url: string;\n data: { id: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: DeleteOrganizationCommandRequestConfig;\n\n static params = [\"id\"] as const;\n static url = \"/organizations/:id\";\n static method = \"delete\" as const;\n\n constructor(\n commandConfig: DeleteOrganizationCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = DeleteOrganizationCommand.params;\n\n let { data, query, headers } = commandConfig ?? {};\n\n if (typeof data === \"undefined\") data = null;\n if (typeof query === \"undefined\") query = null;\n if (typeof headers === \"undefined\") headers = null;\n\n // Replace path parameters with values from data\n let url: string = DeleteOrganizationCommand.url;\n\n if (pathParams && data) {\n for (const param of pathParams) {\n const urlParam = \":\" + param;\n url = url.replace(urlParam, (data as Record<string, string>)[param]);\n }\n }\n\n // Make sure all parameters have been replaced\n const missingParams = url.match(/:[a-zA-Z0-9]+/g);\n if (missingParams) {\n const missing = missingParams.map((param) => param.replace(\":\", \"\"));\n throw new Error(\"Missing parameters: \" + missing.join(\", \"));\n }\n\n this.url = url;\n this.data = data;\n this.query = query;\n this.headers = headers;\n\n this.config = {\n method: DeleteOrganizationCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBO,MAAM,0BAA0B;AAAA,EApBvC,OAoBuC;AAAA;AAAA;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA,OAAO,SAAS,CAAC,IAAI;AAAA,EACrB,OAAO,MAAM;AAAA,EACb,OAAO,SAAS;AAAA,EAEhB,YACE,eACA,UAAmC,CAAC,GACpC;AACA,UAAM,aAAa,0BAA0B;AAE7C,QAAI,EAAE,MAAM,OAAO,QAAQ,IAAI,iBAAiB,CAAC;AAEjD,QAAI,OAAO,SAAS,YAAa,QAAO;AACxC,QAAI,OAAO,UAAU,YAAa,SAAQ;AAC1C,QAAI,OAAO,YAAY,YAAa,WAAU;AAG9C,QAAI,MAAc,0BAA0B;AAE5C,QAAI,cAAc,MAAM;AACtB,iBAAW,SAAS,YAAY;AAC9B,cAAM,WAAW,MAAM;AACvB,cAAM,IAAI,QAAQ,UAAW,KAAgC,KAAK,CAAC;AAAA,MACrE;AAAA,IACF;AAGA,UAAM,gBAAgB,IAAI,MAAM,gBAAgB;AAChD,QAAI,eAAe;AACjB,YAAM,UAAU,cAAc,IAAI,CAAC,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;AACnE,YAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;AAAA,IAC7D;AAEA,SAAK,MAAM;AACX,SAAK,OAAO;AACZ,SAAK,QAAQ;AACb,SAAK,UAAU;AAEf,SAAK,SAAS;AAAA,MACZ,QAAQ,0BAA0B;AAAA,MAClC;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA,GAAG;AAAA,IACL;AAAA,EACF;AACF;","names":[]}
|