@kohost/api-client 7.0.0 → 7.1.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/_virtual/_rolldown/runtime.js +13 -0
- package/dist/commands/command.d.ts +1 -3
- package/dist/commands/command.js +23 -30
- package/dist/commands/command.js.map +1 -1
- package/dist/commands/createImageUploadEndpoint.d.ts +2 -5
- package/dist/commands/createImageUploadEndpoint.js +15 -15
- package/dist/commands/createImageUploadEndpoint.js.map +1 -1
- package/dist/commands/createShortLink.d.ts +2 -5
- package/dist/commands/createShortLink.js +15 -15
- package/dist/commands/createShortLink.js.map +1 -1
- package/dist/commands/getCategories.d.ts +2 -5
- package/dist/commands/getCategories.js +14 -15
- package/dist/commands/getCategories.js.map +1 -1
- package/dist/commands/getMobileKey.d.ts +2 -5
- package/dist/commands/getMobileKey.js +18 -22
- package/dist/commands/getMobileKey.js.map +1 -1
- package/dist/commands/getProducts.d.ts +2 -5
- package/dist/commands/getProducts.js +15 -15
- package/dist/commands/getProducts.js.map +1 -1
- package/dist/commands/getRooms.d.ts +2 -5
- package/dist/commands/getRooms.js +20 -33
- package/dist/commands/getRooms.js.map +1 -1
- package/dist/commands/getUsers.d.ts +2 -5
- package/dist/commands/getUsers.js +14 -15
- package/dist/commands/getUsers.js.map +1 -1
- package/dist/commands/index.d.ts +22 -22
- package/dist/commands/index.js +51 -22
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/ocrDocument.d.ts +2 -5
- package/dist/commands/ocrDocument.js +15 -15
- package/dist/commands/ocrDocument.js.map +1 -1
- package/dist/commands/sendEmail.d.ts +2 -5
- package/dist/commands/sendEmail.js +18 -15
- package/dist/commands/sendEmail.js.map +1 -1
- package/dist/commands/sendSMS.d.ts +2 -5
- package/dist/commands/sendSMS.js +18 -15
- package/dist/commands/sendSMS.js.map +1 -1
- package/dist/commands/setAlarm.d.ts +2 -5
- package/dist/commands/setAlarm.js +17 -15
- package/dist/commands/setAlarm.js.map +1 -1
- package/dist/commands/setCourtesy.d.ts +2 -5
- package/dist/commands/setCourtesy.js +15 -15
- package/dist/commands/setCourtesy.js.map +1 -1
- package/dist/commands/setDimmer.d.ts +2 -5
- package/dist/commands/setDimmer.js +15 -15
- package/dist/commands/setDimmer.js.map +1 -1
- package/dist/commands/setLock.d.ts +2 -5
- package/dist/commands/setLock.js +15 -15
- package/dist/commands/setLock.js.map +1 -1
- package/dist/commands/setMedia.d.ts +2 -5
- package/dist/commands/setMedia.js +15 -15
- package/dist/commands/setMedia.js.map +1 -1
- package/dist/commands/setScene.d.ts +2 -5
- package/dist/commands/setScene.js +15 -15
- package/dist/commands/setScene.js.map +1 -1
- package/dist/commands/setSwitch.d.ts +2 -5
- package/dist/commands/setSwitch.js +15 -15
- package/dist/commands/setSwitch.js.map +1 -1
- package/dist/commands/setThermostat.d.ts +2 -5
- package/dist/commands/setThermostat.js +17 -15
- package/dist/commands/setThermostat.js.map +1 -1
- package/dist/commands/setWindowCovering.d.ts +2 -5
- package/dist/commands/setWindowCovering.js +15 -15
- package/dist/commands/setWindowCovering.js.map +1 -1
- package/dist/commands/updateUser.d.ts +2 -5
- package/dist/commands/updateUser.js +22 -37
- package/dist/commands/updateUser.js.map +1 -1
- package/dist/commands/uploadImage.d.ts +2 -5
- package/dist/commands/uploadImage.js +16 -15
- package/dist/commands/uploadImage.js.map +1 -1
- package/dist/errors/appError.d.ts +1 -3
- package/dist/errors/appError.js +12 -16
- package/dist/errors/appError.js.map +1 -1
- package/dist/errors/authenticationError.d.ts +2 -5
- package/dist/errors/authenticationError.js +11 -15
- package/dist/errors/authenticationError.js.map +1 -1
- package/dist/errors/authorizationError.d.ts +2 -5
- package/dist/errors/authorizationError.js +11 -15
- package/dist/errors/authorizationError.js.map +1 -1
- package/dist/errors/conflictError.d.ts +2 -5
- package/dist/errors/conflictError.js +11 -15
- package/dist/errors/conflictError.js.map +1 -1
- package/dist/errors/deviceCommError.d.ts +2 -5
- package/dist/errors/deviceCommError.js +11 -15
- package/dist/errors/deviceCommError.js.map +1 -1
- package/dist/errors/index.d.ts +12 -12
- package/dist/errors/index.js +31 -12
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/loginError.d.ts +2 -5
- package/dist/errors/loginError.js +11 -15
- package/dist/errors/loginError.js.map +1 -1
- package/dist/errors/notFoundError.d.ts +2 -5
- package/dist/errors/notFoundError.js +11 -15
- package/dist/errors/notFoundError.js.map +1 -1
- package/dist/errors/requestError.d.ts +2 -5
- package/dist/errors/requestError.js +11 -15
- package/dist/errors/requestError.js.map +1 -1
- package/dist/errors/systemCommError.d.ts +2 -5
- package/dist/errors/systemCommError.js +11 -15
- package/dist/errors/systemCommError.js.map +1 -1
- package/dist/errors/tokenExpiredError.d.ts +2 -5
- package/dist/errors/tokenExpiredError.js +11 -15
- package/dist/errors/tokenExpiredError.js.map +1 -1
- package/dist/errors/unprocessableRequestError.d.ts +2 -5
- package/dist/errors/unprocessableRequestError.js +11 -15
- package/dist/errors/unprocessableRequestError.js.map +1 -1
- package/dist/errors/validationError.d.ts +2 -5
- package/dist/errors/validationError.js +11 -15
- package/dist/errors/validationError.js.map +1 -1
- package/dist/events/applicationInUse.d.ts +2 -5
- package/dist/events/applicationInUse.js +17 -16
- package/dist/events/applicationInUse.js.map +1 -1
- package/dist/events/applicationOutOfUse.d.ts +2 -5
- package/dist/events/applicationOutOfUse.js +17 -16
- package/dist/events/applicationOutOfUse.js.map +1 -1
- package/dist/events/emailEvent.d.ts +2 -5
- package/dist/events/emailEvent.js +14 -13
- package/dist/events/emailEvent.js.map +1 -1
- package/dist/events/event.d.ts +1 -17
- package/dist/events/event.js +34 -39
- package/dist/events/event.js.map +1 -1
- package/dist/events/index.d.ts +23 -23
- package/dist/events/index.js +53 -23
- package/dist/events/index.js.map +1 -1
- package/dist/events/sceneSet.d.ts +2 -5
- package/dist/events/sceneSet.js +14 -13
- package/dist/events/sceneSet.js.map +1 -1
- package/dist/events/shortLinkCreated.d.ts +2 -5
- package/dist/events/shortLinkCreated.js +14 -13
- package/dist/events/shortLinkCreated.js.map +1 -1
- package/dist/events/smsEvent.d.ts +2 -5
- package/dist/events/smsEvent.js +14 -13
- package/dist/events/smsEvent.js.map +1 -1
- package/dist/events/systemAlarmUpdated.d.ts +2 -5
- package/dist/events/systemAlarmUpdated.js +14 -13
- package/dist/events/systemAlarmUpdated.js.map +1 -1
- package/dist/events/systemCameraUpdated.d.ts +2 -5
- package/dist/events/systemCameraUpdated.js +14 -13
- package/dist/events/systemCameraUpdated.js.map +1 -1
- package/dist/events/systemCategoryUpdated.d.ts +2 -5
- package/dist/events/systemCategoryUpdated.js +14 -13
- package/dist/events/systemCategoryUpdated.js.map +1 -1
- package/dist/events/systemCourtesyUpdated.d.ts +2 -5
- package/dist/events/systemCourtesyUpdated.js +14 -13
- package/dist/events/systemCourtesyUpdated.js.map +1 -1
- package/dist/events/systemCredentialUpdated.d.ts +2 -5
- package/dist/events/systemCredentialUpdated.js +14 -13
- package/dist/events/systemCredentialUpdated.js.map +1 -1
- package/dist/events/systemDimmerUpdated.d.ts +2 -5
- package/dist/events/systemDimmerUpdated.js +14 -13
- package/dist/events/systemDimmerUpdated.js.map +1 -1
- package/dist/events/systemEntityDeleted.d.ts +2 -5
- package/dist/events/systemEntityDeleted.js +14 -13
- package/dist/events/systemEntityDeleted.js.map +1 -1
- package/dist/events/systemGatewayUpdated.d.ts +2 -5
- package/dist/events/systemGatewayUpdated.js +14 -13
- package/dist/events/systemGatewayUpdated.js.map +1 -1
- package/dist/events/systemLockUpdated.d.ts +2 -5
- package/dist/events/systemLockUpdated.js +14 -13
- package/dist/events/systemLockUpdated.js.map +1 -1
- package/dist/events/systemMediaSourceUpdated.d.ts +2 -5
- package/dist/events/systemMediaSourceUpdated.js +14 -13
- package/dist/events/systemMediaSourceUpdated.js.map +1 -1
- package/dist/events/systemMotionSensorUpdated.d.ts +2 -5
- package/dist/events/systemMotionSensorUpdated.js +14 -13
- package/dist/events/systemMotionSensorUpdated.js.map +1 -1
- package/dist/events/systemSpaceUpdated.d.ts +2 -5
- package/dist/events/systemSpaceUpdated.js +14 -13
- package/dist/events/systemSpaceUpdated.js.map +1 -1
- package/dist/events/systemSwitchUpdated.d.ts +2 -5
- package/dist/events/systemSwitchUpdated.js +14 -13
- package/dist/events/systemSwitchUpdated.js.map +1 -1
- package/dist/events/systemThermostatUpdated.d.ts +2 -5
- package/dist/events/systemThermostatUpdated.js +14 -13
- package/dist/events/systemThermostatUpdated.js.map +1 -1
- package/dist/events/systemUserUpdated.d.ts +2 -5
- package/dist/events/systemUserUpdated.js +14 -13
- package/dist/events/systemUserUpdated.js.map +1 -1
- package/dist/events/systemWindowCoveringUpdated.d.ts +2 -5
- package/dist/events/systemWindowCoveringUpdated.js +14 -13
- package/dist/events/systemWindowCoveringUpdated.js.map +1 -1
- package/dist/httpClient.d.ts +5 -151
- package/dist/httpClient.js +172 -205
- package/dist/httpClient.js.map +1 -1
- package/dist/index.d.ts +7 -305
- package/dist/index.js +7 -16
- package/dist/lib/deviceNotifications.d.ts +3 -5
- package/dist/lib/deviceNotifications.js +30 -30
- package/dist/lib/deviceNotifications.js.map +1 -1
- package/dist/lib/index.d.ts +3 -3
- package/dist/lib/index.js +17 -22
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/policy-resolvers.d.ts +5 -7
- package/dist/lib/policy-resolvers.js +39 -67
- package/dist/lib/policy-resolvers.js.map +1 -1
- package/dist/lib/systemCategories.d.ts +5 -7
- package/dist/lib/systemCategories.js +44 -54
- package/dist/lib/systemCategories.js.map +1 -1
- package/dist/models/alarm.d.ts +7 -13
- package/dist/models/alarm.js +38 -49
- package/dist/models/alarm.js.map +1 -1
- package/dist/models/announcement.d.ts +7 -13
- package/dist/models/announcement.js +26 -36
- package/dist/models/announcement.js.map +1 -1
- package/dist/models/automation.d.ts +7 -13
- package/dist/models/automation.js +28 -38
- package/dist/models/automation.js.map +1 -1
- package/dist/models/camera.d.ts +7 -13
- package/dist/models/camera.js +31 -42
- package/dist/models/camera.js.map +1 -1
- package/dist/models/category.d.ts +7 -13
- package/dist/models/category.js +26 -34
- package/dist/models/category.js.map +1 -1
- package/dist/models/courtesy.d.ts +7 -13
- package/dist/models/courtesy.js +30 -40
- package/dist/models/courtesy.js.map +1 -1
- package/dist/models/credential.d.ts +7 -13
- package/dist/models/credential.js +30 -42
- package/dist/models/credential.js.map +1 -1
- package/dist/models/department.d.ts +7 -13
- package/dist/models/department.js +21 -31
- package/dist/models/department.js.map +1 -1
- package/dist/models/dimmer.d.ts +7 -13
- package/dist/models/dimmer.js +30 -40
- package/dist/models/dimmer.js.map +1 -1
- package/dist/models/discoveredDevice.d.ts +7 -13
- package/dist/models/discoveredDevice.js +26 -37
- package/dist/models/discoveredDevice.js.map +1 -1
- package/dist/models/emailMessage.d.ts +7 -13
- package/dist/models/emailMessage.js +32 -43
- package/dist/models/emailMessage.js.map +1 -1
- package/dist/models/energyReport.d.ts +7 -13
- package/dist/models/energyReport.js +24 -34
- package/dist/models/energyReport.js.map +1 -1
- package/dist/models/energyReportShard.d.ts +7 -13
- package/dist/models/energyReportShard.js +22 -32
- package/dist/models/energyReportShard.js.map +1 -1
- package/dist/models/entity.d.ts +2 -5
- package/dist/models/entity.js +18 -33
- package/dist/models/entity.js.map +1 -1
- package/dist/models/gateway.d.ts +7 -13
- package/dist/models/gateway.js +30 -40
- package/dist/models/gateway.js.map +1 -1
- package/dist/models/group.d.ts +7 -13
- package/dist/models/group.js +23 -31
- package/dist/models/group.js.map +1 -1
- package/dist/models/identification.d.ts +6 -12
- package/dist/models/identification.js +31 -40
- package/dist/models/identification.js.map +1 -1
- package/dist/models/index.d.ts +46 -95
- package/dist/models/index.js +55 -54
- package/dist/models/index.js.map +1 -1
- package/dist/models/integration.d.ts +7 -14
- package/dist/models/integration.js +22 -32
- package/dist/models/integration.js.map +1 -1
- package/dist/models/issue.d.ts +7 -15
- package/dist/models/issue.js +23 -31
- package/dist/models/issue.js.map +1 -1
- package/dist/models/lock.d.ts +7 -13
- package/dist/models/lock.js +33 -44
- package/dist/models/lock.js.map +1 -1
- package/dist/models/log.d.ts +7 -13
- package/dist/models/log.js +25 -33
- package/dist/models/log.js.map +1 -1
- package/dist/models/mediaFile.d.ts +7 -13
- package/dist/models/mediaFile.js +38 -48
- package/dist/models/mediaFile.js.map +1 -1
- package/dist/models/mediaSource.d.ts +7 -13
- package/dist/models/mediaSource.js +49 -66
- package/dist/models/mediaSource.js.map +1 -1
- package/dist/models/motionSensor.d.ts +7 -13
- package/dist/models/motionSensor.js +31 -43
- package/dist/models/motionSensor.js.map +1 -1
- package/dist/models/notification.d.ts +7 -13
- package/dist/models/notification.js +25 -35
- package/dist/models/notification.js.map +1 -1
- package/dist/models/order.d.ts +7 -13
- package/dist/models/order.js +29 -38
- package/dist/models/order.js.map +1 -1
- package/dist/models/organization.d.ts +7 -13
- package/dist/models/organization.js +26 -36
- package/dist/models/organization.js.map +1 -1
- package/dist/models/payment.d.ts +7 -13
- package/dist/models/payment.js +22 -30
- package/dist/models/payment.js.map +1 -1
- package/dist/models/policy.d.ts +7 -13
- package/dist/models/policy.js +25 -33
- package/dist/models/policy.js.map +1 -1
- package/dist/models/product.d.ts +7 -13
- package/dist/models/product.js +28 -36
- package/dist/models/product.js.map +1 -1
- package/dist/models/property.d.ts +7 -13
- package/dist/models/property.js +31 -41
- package/dist/models/property.js.map +1 -1
- package/dist/models/reservation.d.ts +7 -13
- package/dist/models/reservation.js +45 -65
- package/dist/models/reservation.js.map +1 -1
- package/dist/models/server.d.ts +7 -13
- package/dist/models/server.js +36 -48
- package/dist/models/server.js.map +1 -1
- package/dist/models/session.d.ts +7 -14
- package/dist/models/session.js +23 -32
- package/dist/models/session.js.map +1 -1
- package/dist/models/shortLink.d.ts +7 -13
- package/dist/models/shortLink.js +23 -31
- package/dist/models/shortLink.js.map +1 -1
- package/dist/models/smsMessage.d.ts +7 -13
- package/dist/models/smsMessage.js +28 -38
- package/dist/models/smsMessage.js.map +1 -1
- package/dist/models/space.d.ts +7 -23
- package/dist/models/space.js +30 -40
- package/dist/models/space.js.map +1 -1
- package/dist/models/switch.d.ts +7 -13
- package/dist/models/switch.js +32 -43
- package/dist/models/switch.js.map +1 -1
- package/dist/models/system.d.ts +7 -14
- package/dist/models/system.js +28 -38
- package/dist/models/system.js.map +1 -1
- package/dist/models/systemUser.d.ts +7 -13
- package/dist/models/systemUser.js +36 -47
- package/dist/models/systemUser.js.map +1 -1
- package/dist/models/thermostat.d.ts +7 -13
- package/dist/models/thermostat.js +52 -71
- package/dist/models/thermostat.js.map +1 -1
- package/dist/models/ticket.d.ts +7 -14
- package/dist/models/ticket.js +41 -50
- package/dist/models/ticket.js.map +1 -1
- package/dist/models/timeSheet.d.ts +7 -13
- package/dist/models/timeSheet.js +23 -31
- package/dist/models/timeSheet.js.map +1 -1
- package/dist/models/user.d.ts +7 -15
- package/dist/models/user.js +58 -73
- package/dist/models/user.js.map +1 -1
- package/dist/models/vendor.d.ts +7 -14
- package/dist/models/vendor.js +25 -33
- package/dist/models/vendor.js.map +1 -1
- package/dist/models/windowCovering.d.ts +7 -13
- package/dist/models/windowCovering.js +32 -45
- package/dist/models/windowCovering.js.map +1 -1
- package/dist/schemas/alarm.d.ts +4 -7
- package/dist/schemas/alarm.js +116 -169
- package/dist/schemas/alarm.js.map +1 -1
- package/dist/schemas/announcement.d.ts +4 -7
- package/dist/schemas/announcement.js +43 -56
- package/dist/schemas/announcement.js.map +1 -1
- package/dist/schemas/automation.d.ts +4 -7
- package/dist/schemas/automation.js +263 -240
- package/dist/schemas/automation.js.map +1 -1
- package/dist/schemas/camera.d.ts +4 -7
- package/dist/schemas/camera.js +86 -127
- package/dist/schemas/camera.js.map +1 -1
- package/dist/schemas/category.d.ts +4 -7
- package/dist/schemas/category.js +53 -58
- package/dist/schemas/category.js.map +1 -1
- package/dist/schemas/courtesy.d.ts +4 -7
- package/dist/schemas/courtesy.js +54 -71
- package/dist/schemas/courtesy.js.map +1 -1
- package/dist/schemas/credential.d.ts +4 -7
- package/dist/schemas/credential.js +56 -72
- package/dist/schemas/credential.js.map +1 -1
- package/dist/schemas/definitions.d.ts +3 -3
- package/dist/schemas/definitions.js +280 -307
- package/dist/schemas/definitions.js.map +1 -1
- package/dist/schemas/department.d.ts +4 -7
- package/dist/schemas/department.js +28 -35
- package/dist/schemas/department.js.map +1 -1
- package/dist/schemas/dimmer.d.ts +4 -7
- package/dist/schemas/dimmer.js +45 -67
- package/dist/schemas/dimmer.js.map +1 -1
- package/dist/schemas/discoveredDevice.d.ts +4 -7
- package/dist/schemas/discoveredDevice.js +40 -51
- package/dist/schemas/discoveredDevice.js.map +1 -1
- package/dist/schemas/emailMessage.d.ts +4 -7
- package/dist/schemas/emailMessage.js +73 -89
- package/dist/schemas/emailMessage.js.map +1 -1
- package/dist/schemas/energyReport.d.ts +4 -7
- package/dist/schemas/energyReport.js +96 -91
- package/dist/schemas/energyReport.js.map +1 -1
- package/dist/schemas/energyReportShard.d.ts +4 -7
- package/dist/schemas/energyReportShard.js +73 -76
- package/dist/schemas/energyReportShard.js.map +1 -1
- package/dist/schemas/gateway.d.ts +4 -7
- package/dist/schemas/gateway.js +38 -64
- package/dist/schemas/gateway.js.map +1 -1
- package/dist/schemas/group.d.ts +4 -7
- package/dist/schemas/group.js +54 -66
- package/dist/schemas/group.js.map +1 -1
- package/dist/schemas/identification.d.ts +4 -7
- package/dist/schemas/identification.js +53 -68
- package/dist/schemas/identification.js.map +1 -1
- package/dist/schemas/index.d.ts +45 -47
- package/dist/schemas/index.js +2 -51
- package/dist/schemas/integration.d.ts +5 -8
- package/dist/schemas/integration.js +46 -44
- package/dist/schemas/integration.js.map +1 -1
- package/dist/schemas/issue.d.ts +5 -9
- package/dist/schemas/issue.js +123 -140
- package/dist/schemas/issue.js.map +1 -1
- package/dist/schemas/lock.d.ts +4 -7
- package/dist/schemas/lock.js +77 -99
- package/dist/schemas/lock.js.map +1 -1
- package/dist/schemas/log.d.ts +4 -7
- package/dist/schemas/log.js +84 -105
- package/dist/schemas/log.js.map +1 -1
- package/dist/schemas/mediaFile.d.ts +6 -8
- package/dist/schemas/mediaFile.js +78 -102
- package/dist/schemas/mediaFile.js.map +1 -1
- package/dist/schemas/mediaSource.d.ts +4 -7
- package/dist/schemas/mediaSource.js +254 -306
- package/dist/schemas/mediaSource.js.map +1 -1
- package/dist/schemas/motionSensor.d.ts +4 -7
- package/dist/schemas/motionSensor.js +41 -66
- package/dist/schemas/motionSensor.js.map +1 -1
- package/dist/schemas/notification.d.ts +4 -7
- package/dist/schemas/notification.js +45 -49
- package/dist/schemas/notification.js.map +1 -1
- package/dist/schemas/order.d.ts +4 -7
- package/dist/schemas/order.js +154 -205
- package/dist/schemas/order.js.map +1 -1
- package/dist/schemas/organization.d.ts +4 -7
- package/dist/schemas/organization.js +155 -206
- package/dist/schemas/organization.js.map +1 -1
- package/dist/schemas/payment.d.ts +4 -7
- package/dist/schemas/payment.js +46 -53
- package/dist/schemas/payment.js.map +1 -1
- package/dist/schemas/policy.d.ts +4 -7
- package/dist/schemas/policy.js +64 -77
- package/dist/schemas/policy.js.map +1 -1
- package/dist/schemas/product.d.ts +4 -7
- package/dist/schemas/product.js +41 -60
- package/dist/schemas/product.js.map +1 -1
- package/dist/schemas/property.d.ts +4 -7
- package/dist/schemas/property.js +240 -308
- package/dist/schemas/property.js.map +1 -1
- package/dist/schemas/reservation.d.ts +4 -7
- package/dist/schemas/reservation.js +122 -156
- package/dist/schemas/reservation.js.map +1 -1
- package/dist/schemas/server.d.ts +4 -7
- package/dist/schemas/server.js +94 -142
- package/dist/schemas/server.js.map +1 -1
- package/dist/schemas/session.d.ts +5 -8
- package/dist/schemas/session.js +70 -95
- package/dist/schemas/session.js.map +1 -1
- package/dist/schemas/shortLink.d.ts +4 -7
- package/dist/schemas/shortLink.js +35 -46
- package/dist/schemas/shortLink.js.map +1 -1
- package/dist/schemas/smsMessage.d.ts +4 -7
- package/dist/schemas/smsMessage.js +56 -69
- package/dist/schemas/smsMessage.js.map +1 -1
- package/dist/schemas/space.d.ts +14 -17
- package/dist/schemas/space.js +155 -182
- package/dist/schemas/space.js.map +1 -1
- package/dist/schemas/switch.d.ts +4 -7
- package/dist/schemas/switch.js +82 -84
- package/dist/schemas/switch.js.map +1 -1
- package/dist/schemas/system.d.ts +5 -8
- package/dist/schemas/system.js +122 -130
- package/dist/schemas/system.js.map +1 -1
- package/dist/schemas/systemUser.d.ts +4 -7
- package/dist/schemas/systemUser.js +93 -116
- package/dist/schemas/systemUser.js.map +1 -1
- package/dist/schemas/thermostat.d.ts +4 -7
- package/dist/schemas/thermostat.js +256 -234
- package/dist/schemas/thermostat.js.map +1 -1
- package/dist/schemas/ticket.d.ts +15 -8
- package/dist/schemas/ticket.js +389 -359
- package/dist/schemas/ticket.js.map +1 -1
- package/dist/schemas/timeSheet.d.ts +4 -7
- package/dist/schemas/timeSheet.js +70 -75
- package/dist/schemas/timeSheet.js.map +1 -1
- package/dist/schemas/user.d.ts +7 -10
- package/dist/schemas/user.js +200 -239
- package/dist/schemas/user.js.map +1 -1
- package/dist/schemas/vendor.d.ts +5 -8
- package/dist/schemas/vendor.js +46 -57
- package/dist/schemas/vendor.js.map +1 -1
- package/dist/schemas/windowCovering.d.ts +4 -7
- package/dist/schemas/windowCovering.js +51 -73
- package/dist/schemas/windowCovering.js.map +1 -1
- package/dist/useCases/autoAssociateDiscoveredDevices.d.ts +3 -5
- package/dist/useCases/autoAssociateDiscoveredDevices.js +45 -48
- package/dist/useCases/autoAssociateDiscoveredDevices.js.map +1 -1
- package/dist/useCases/autoCloseTickets.d.ts +3 -5
- package/dist/useCases/autoCloseTickets.js +45 -48
- package/dist/useCases/autoCloseTickets.js.map +1 -1
- package/dist/useCases/bulkUpdateIssue.d.ts +3 -5
- package/dist/useCases/bulkUpdateIssue.js +45 -48
- package/dist/useCases/bulkUpdateIssue.js.map +1 -1
- package/dist/useCases/checkVerificationCode.d.ts +3 -5
- package/dist/useCases/checkVerificationCode.js +45 -48
- package/dist/useCases/checkVerificationCode.js.map +1 -1
- package/dist/useCases/createApiKey.d.ts +3 -5
- package/dist/useCases/createApiKey.js +45 -48
- package/dist/useCases/createApiKey.js.map +1 -1
- package/dist/useCases/createAutomation.d.ts +3 -5
- package/dist/useCases/createAutomation.js +45 -48
- package/dist/useCases/createAutomation.js.map +1 -1
- package/dist/useCases/createCategory.d.ts +3 -5
- package/dist/useCases/createCategory.js +45 -48
- package/dist/useCases/createCategory.js.map +1 -1
- package/dist/useCases/createDefaultAutomations.d.ts +3 -5
- package/dist/useCases/createDefaultAutomations.js +45 -48
- package/dist/useCases/createDefaultAutomations.js.map +1 -1
- package/dist/useCases/createDepartment.d.ts +3 -5
- package/dist/useCases/createDepartment.js +45 -48
- package/dist/useCases/createDepartment.js.map +1 -1
- package/dist/useCases/createDevice.d.ts +3 -5
- package/dist/useCases/createDevice.js +45 -48
- package/dist/useCases/createDevice.js.map +1 -1
- package/dist/useCases/createDeviceCredential.d.ts +3 -5
- package/dist/useCases/createDeviceCredential.js +45 -48
- package/dist/useCases/createDeviceCredential.js.map +1 -1
- package/dist/useCases/createDiscoveredDevice.d.ts +3 -5
- package/dist/useCases/createDiscoveredDevice.js +45 -48
- package/dist/useCases/createDiscoveredDevice.js.map +1 -1
- package/dist/useCases/createDiscoveredDeviceAssociation.d.ts +3 -5
- package/dist/useCases/createDiscoveredDeviceAssociation.js +45 -48
- package/dist/useCases/createDiscoveredDeviceAssociation.js.map +1 -1
- package/dist/useCases/createDiscoveredDeviceAssociationMap.d.ts +3 -5
- package/dist/useCases/createDiscoveredDeviceAssociationMap.js +45 -48
- package/dist/useCases/createDiscoveredDeviceAssociationMap.js.map +1 -1
- package/dist/useCases/createImageUploadEndpoint.d.ts +3 -5
- package/dist/useCases/createImageUploadEndpoint.js +45 -48
- package/dist/useCases/createImageUploadEndpoint.js.map +1 -1
- package/dist/useCases/createIssue.d.ts +3 -5
- package/dist/useCases/createIssue.js +45 -48
- package/dist/useCases/createIssue.js.map +1 -1
- package/dist/useCases/createOrganization.d.ts +3 -5
- package/dist/useCases/createOrganization.js +45 -48
- package/dist/useCases/createOrganization.js.map +1 -1
- package/dist/useCases/createPolicy.d.ts +3 -5
- package/dist/useCases/createPolicy.js +45 -48
- package/dist/useCases/createPolicy.js.map +1 -1
- package/dist/useCases/createProperty.d.ts +3 -5
- package/dist/useCases/createProperty.js +45 -48
- package/dist/useCases/createProperty.js.map +1 -1
- package/dist/useCases/createPwaHandoffToken.d.ts +3 -5
- package/dist/useCases/createPwaHandoffToken.js +45 -48
- package/dist/useCases/createPwaHandoffToken.js.map +1 -1
- package/dist/useCases/createServer.d.ts +3 -5
- package/dist/useCases/createServer.js +45 -48
- package/dist/useCases/createServer.js.map +1 -1
- package/dist/useCases/createSpace.d.ts +3 -5
- package/dist/useCases/createSpace.js +45 -48
- package/dist/useCases/createSpace.js.map +1 -1
- package/dist/useCases/createSystem.d.ts +3 -5
- package/dist/useCases/createSystem.js +45 -48
- package/dist/useCases/createSystem.js.map +1 -1
- package/dist/useCases/createTicket.d.ts +3 -5
- package/dist/useCases/createTicket.js +45 -48
- package/dist/useCases/createTicket.js.map +1 -1
- package/dist/useCases/createTicketMessage.d.ts +3 -5
- package/dist/useCases/createTicketMessage.js +45 -48
- package/dist/useCases/createTicketMessage.js.map +1 -1
- package/dist/useCases/createTimeSheet.d.ts +3 -5
- package/dist/useCases/createTimeSheet.js +45 -48
- package/dist/useCases/createTimeSheet.js.map +1 -1
- package/dist/useCases/createTimeSheetTimeEntry.d.ts +3 -5
- package/dist/useCases/createTimeSheetTimeEntry.js +45 -48
- package/dist/useCases/createTimeSheetTimeEntry.js.map +1 -1
- package/dist/useCases/createUser.d.ts +3 -5
- package/dist/useCases/createUser.js +45 -48
- package/dist/useCases/createUser.js.map +1 -1
- package/dist/useCases/createVendor.d.ts +3 -5
- package/dist/useCases/createVendor.js +45 -48
- package/dist/useCases/createVendor.js.map +1 -1
- package/dist/useCases/deleteAutomation.d.ts +3 -5
- package/dist/useCases/deleteAutomation.js +45 -48
- package/dist/useCases/deleteAutomation.js.map +1 -1
- package/dist/useCases/deleteCategory.d.ts +3 -5
- package/dist/useCases/deleteCategory.js +45 -48
- package/dist/useCases/deleteCategory.js.map +1 -1
- package/dist/useCases/deleteDepartment.d.ts +3 -5
- package/dist/useCases/deleteDepartment.js +45 -48
- package/dist/useCases/deleteDepartment.js.map +1 -1
- package/dist/useCases/deleteDevice.d.ts +3 -5
- package/dist/useCases/deleteDevice.js +45 -48
- package/dist/useCases/deleteDevice.js.map +1 -1
- package/dist/useCases/deleteDeviceCredential.d.ts +3 -5
- package/dist/useCases/deleteDeviceCredential.js +49 -48
- package/dist/useCases/deleteDeviceCredential.js.map +1 -1
- package/dist/useCases/deleteDiscoveredDevice.d.ts +3 -5
- package/dist/useCases/deleteDiscoveredDevice.js +45 -48
- package/dist/useCases/deleteDiscoveredDevice.js.map +1 -1
- package/dist/useCases/deleteIssue.d.ts +3 -5
- package/dist/useCases/deleteIssue.js +45 -48
- package/dist/useCases/deleteIssue.js.map +1 -1
- package/dist/useCases/deleteMediaFile.d.ts +3 -5
- package/dist/useCases/deleteMediaFile.js +45 -48
- package/dist/useCases/deleteMediaFile.js.map +1 -1
- package/dist/useCases/deleteOrganization.d.ts +3 -5
- package/dist/useCases/deleteOrganization.js +45 -48
- package/dist/useCases/deleteOrganization.js.map +1 -1
- package/dist/useCases/deletePolicy.d.ts +3 -5
- package/dist/useCases/deletePolicy.js +45 -48
- package/dist/useCases/deletePolicy.js.map +1 -1
- package/dist/useCases/deleteProperty.d.ts +3 -5
- package/dist/useCases/deleteProperty.js +45 -48
- package/dist/useCases/deleteProperty.js.map +1 -1
- package/dist/useCases/deleteServer.d.ts +3 -5
- package/dist/useCases/deleteServer.js +45 -48
- package/dist/useCases/deleteServer.js.map +1 -1
- package/dist/useCases/deleteSession.d.ts +3 -5
- package/dist/useCases/deleteSession.js +45 -48
- package/dist/useCases/deleteSession.js.map +1 -1
- package/dist/useCases/deleteSpace.d.ts +3 -5
- package/dist/useCases/deleteSpace.js +45 -48
- package/dist/useCases/deleteSpace.js.map +1 -1
- package/dist/useCases/deleteSystem.d.ts +3 -5
- package/dist/useCases/deleteSystem.js +45 -48
- package/dist/useCases/deleteSystem.js.map +1 -1
- package/dist/useCases/deleteTicket.d.ts +3 -5
- package/dist/useCases/deleteTicket.js +45 -48
- package/dist/useCases/deleteTicket.js.map +1 -1
- package/dist/useCases/deleteTimeSheet.d.ts +3 -5
- package/dist/useCases/deleteTimeSheet.js +45 -48
- package/dist/useCases/deleteTimeSheet.js.map +1 -1
- package/dist/useCases/deleteTimeSheetTimeEntry.d.ts +3 -5
- package/dist/useCases/deleteTimeSheetTimeEntry.js +45 -48
- package/dist/useCases/deleteTimeSheetTimeEntry.js.map +1 -1
- package/dist/useCases/deleteUser.d.ts +3 -5
- package/dist/useCases/deleteUser.js +45 -48
- package/dist/useCases/deleteUser.js.map +1 -1
- package/dist/useCases/deleteUserCredential.d.ts +3 -5
- package/dist/useCases/deleteUserCredential.js +45 -48
- package/dist/useCases/deleteUserCredential.js.map +1 -1
- package/dist/useCases/deleteVendor.d.ts +3 -5
- package/dist/useCases/deleteVendor.js +45 -48
- package/dist/useCases/deleteVendor.js.map +1 -1
- package/dist/useCases/describeAutomation.d.ts +3 -5
- package/dist/useCases/describeAutomation.js +45 -48
- package/dist/useCases/describeAutomation.js.map +1 -1
- package/dist/useCases/describeCategory.d.ts +3 -5
- package/dist/useCases/describeCategory.js +45 -48
- package/dist/useCases/describeCategory.js.map +1 -1
- package/dist/useCases/describeDepartment.d.ts +3 -5
- package/dist/useCases/describeDepartment.js +45 -48
- package/dist/useCases/describeDepartment.js.map +1 -1
- package/dist/useCases/describeDevice.d.ts +3 -5
- package/dist/useCases/describeDevice.js +45 -48
- package/dist/useCases/describeDevice.js.map +1 -1
- package/dist/useCases/describeDeviceConfig.d.ts +3 -5
- package/dist/useCases/describeDeviceConfig.js +45 -48
- package/dist/useCases/describeDeviceConfig.js.map +1 -1
- package/dist/useCases/describeDiscoveredDevice.d.ts +3 -5
- package/dist/useCases/describeDiscoveredDevice.js +45 -48
- package/dist/useCases/describeDiscoveredDevice.js.map +1 -1
- package/dist/useCases/describeIssue.d.ts +3 -5
- package/dist/useCases/describeIssue.js +45 -48
- package/dist/useCases/describeIssue.js.map +1 -1
- package/dist/useCases/describeMyAuth.d.ts +3 -5
- package/dist/useCases/describeMyAuth.js +45 -48
- package/dist/useCases/describeMyAuth.js.map +1 -1
- package/dist/useCases/describeMyOrganization.d.ts +3 -5
- package/dist/useCases/describeMyOrganization.js +45 -48
- package/dist/useCases/describeMyOrganization.js.map +1 -1
- package/dist/useCases/describeMyPasskeyRegistrations.d.ts +3 -5
- package/dist/useCases/describeMyPasskeyRegistrations.js +45 -48
- package/dist/useCases/describeMyPasskeyRegistrations.js.map +1 -1
- package/dist/useCases/describeOrganization.d.ts +3 -5
- package/dist/useCases/describeOrganization.js +45 -48
- package/dist/useCases/describeOrganization.js.map +1 -1
- package/dist/useCases/describePolicy.d.ts +3 -5
- package/dist/useCases/describePolicy.js +45 -48
- package/dist/useCases/describePolicy.js.map +1 -1
- package/dist/useCases/describeProperty.d.ts +3 -5
- package/dist/useCases/describeProperty.js +45 -48
- package/dist/useCases/describeProperty.js.map +1 -1
- package/dist/useCases/describeSOS.d.ts +3 -5
- package/dist/useCases/describeSOS.js +45 -48
- package/dist/useCases/describeSOS.js.map +1 -1
- package/dist/useCases/describeSelf.d.ts +3 -5
- package/dist/useCases/describeSelf.js +45 -48
- package/dist/useCases/describeSelf.js.map +1 -1
- package/dist/useCases/describeServer.d.ts +3 -5
- package/dist/useCases/describeServer.js +45 -48
- package/dist/useCases/describeServer.js.map +1 -1
- package/dist/useCases/describeSession.d.ts +3 -5
- package/dist/useCases/describeSession.js +45 -48
- package/dist/useCases/describeSession.js.map +1 -1
- package/dist/useCases/describeSpace.d.ts +3 -5
- package/dist/useCases/describeSpace.js +45 -48
- package/dist/useCases/describeSpace.js.map +1 -1
- package/dist/useCases/describeSystem.d.ts +3 -5
- package/dist/useCases/describeSystem.js +45 -48
- package/dist/useCases/describeSystem.js.map +1 -1
- package/dist/useCases/describeTicket.d.ts +3 -5
- package/dist/useCases/describeTicket.js +45 -48
- package/dist/useCases/describeTicket.js.map +1 -1
- package/dist/useCases/describeTicketFilters.d.ts +3 -5
- package/dist/useCases/describeTicketFilters.js +45 -48
- package/dist/useCases/describeTicketFilters.js.map +1 -1
- package/dist/useCases/describeTicketStats.d.ts +3 -5
- package/dist/useCases/describeTicketStats.js +45 -48
- package/dist/useCases/describeTicketStats.js.map +1 -1
- package/dist/useCases/describeTimeSheet.d.ts +3 -5
- package/dist/useCases/describeTimeSheet.js +45 -48
- package/dist/useCases/describeTimeSheet.js.map +1 -1
- package/dist/useCases/describeTimeSheetStats.d.ts +3 -5
- package/dist/useCases/describeTimeSheetStats.js +45 -48
- package/dist/useCases/describeTimeSheetStats.js.map +1 -1
- package/dist/useCases/describeUser.d.ts +3 -5
- package/dist/useCases/describeUser.js +45 -48
- package/dist/useCases/describeUser.js.map +1 -1
- package/dist/useCases/describeVendor.d.ts +3 -5
- package/dist/useCases/describeVendor.js +45 -48
- package/dist/useCases/describeVendor.js.map +1 -1
- package/dist/useCases/emailUserAccountSetup.d.ts +3 -5
- package/dist/useCases/emailUserAccountSetup.js +45 -48
- package/dist/useCases/emailUserAccountSetup.js.map +1 -1
- package/dist/useCases/getApiKey.d.ts +3 -5
- package/dist/useCases/getApiKey.js +45 -48
- package/dist/useCases/getApiKey.js.map +1 -1
- package/dist/useCases/index.d.ts +143 -143
- package/dist/useCases/index.js +150 -145
- package/dist/useCases/index.js.map +1 -1
- package/dist/useCases/leaveTicket.d.ts +3 -5
- package/dist/useCases/leaveTicket.js +45 -48
- package/dist/useCases/leaveTicket.js.map +1 -1
- package/dist/useCases/listAutomations.d.ts +3 -5
- package/dist/useCases/listAutomations.js +45 -48
- package/dist/useCases/listAutomations.js.map +1 -1
- package/dist/useCases/listCameraStreamPreviews.d.ts +3 -5
- package/dist/useCases/listCameraStreamPreviews.js +45 -48
- package/dist/useCases/listCameraStreamPreviews.js.map +1 -1
- package/dist/useCases/listCategories.d.ts +3 -5
- package/dist/useCases/listCategories.js +45 -48
- package/dist/useCases/listCategories.js.map +1 -1
- package/dist/useCases/listDepartments.d.ts +3 -5
- package/dist/useCases/listDepartments.js +45 -48
- package/dist/useCases/listDepartments.js.map +1 -1
- package/dist/useCases/listDeviceCredentials.d.ts +3 -5
- package/dist/useCases/listDeviceCredentials.js +45 -48
- package/dist/useCases/listDeviceCredentials.js.map +1 -1
- package/dist/useCases/listDevices.d.ts +3 -5
- package/dist/useCases/listDevices.js +45 -48
- package/dist/useCases/listDevices.js.map +1 -1
- package/dist/useCases/listDiscoveredDevices.d.ts +3 -5
- package/dist/useCases/listDiscoveredDevices.js +45 -48
- package/dist/useCases/listDiscoveredDevices.js.map +1 -1
- package/dist/useCases/listIntegrations.d.ts +3 -5
- package/dist/useCases/listIntegrations.js +45 -48
- package/dist/useCases/listIntegrations.js.map +1 -1
- package/dist/useCases/listIssues.d.ts +3 -5
- package/dist/useCases/listIssues.js +45 -48
- package/dist/useCases/listIssues.js.map +1 -1
- package/dist/useCases/listMyOrganizations.d.ts +3 -5
- package/dist/useCases/listMyOrganizations.js +45 -48
- package/dist/useCases/listMyOrganizations.js.map +1 -1
- package/dist/useCases/listMyProperties.d.ts +3 -5
- package/dist/useCases/listMyProperties.js +45 -48
- package/dist/useCases/listMyProperties.js.map +1 -1
- package/dist/useCases/listMyTimeSheets.d.ts +3 -5
- package/dist/useCases/listMyTimeSheets.js +45 -48
- package/dist/useCases/listMyTimeSheets.js.map +1 -1
- package/dist/useCases/listOrganizations.d.ts +3 -5
- package/dist/useCases/listOrganizations.js +45 -48
- package/dist/useCases/listOrganizations.js.map +1 -1
- package/dist/useCases/listPolicies.d.ts +3 -5
- package/dist/useCases/listPolicies.js +45 -48
- package/dist/useCases/listPolicies.js.map +1 -1
- package/dist/useCases/listProperties.d.ts +3 -5
- package/dist/useCases/listProperties.js +45 -48
- package/dist/useCases/listProperties.js.map +1 -1
- package/dist/useCases/listPropertyCredentials.d.ts +3 -5
- package/dist/useCases/listPropertyCredentials.js +45 -48
- package/dist/useCases/listPropertyCredentials.js.map +1 -1
- package/dist/useCases/listServers.d.ts +3 -5
- package/dist/useCases/listServers.js +45 -48
- package/dist/useCases/listServers.js.map +1 -1
- package/dist/useCases/listSessions.d.ts +3 -5
- package/dist/useCases/listSessions.js +45 -48
- package/dist/useCases/listSessions.js.map +1 -1
- package/dist/useCases/listSpaces.d.ts +3 -5
- package/dist/useCases/listSpaces.js +45 -48
- package/dist/useCases/listSpaces.js.map +1 -1
- package/dist/useCases/listSystems.d.ts +3 -5
- package/dist/useCases/listSystems.js +45 -48
- package/dist/useCases/listSystems.js.map +1 -1
- package/dist/useCases/listTicketLocations.d.ts +3 -5
- package/dist/useCases/listTicketLocations.js +45 -48
- package/dist/useCases/listTicketLocations.js.map +1 -1
- package/dist/useCases/listTickets.d.ts +3 -5
- package/dist/useCases/listTickets.js +45 -48
- package/dist/useCases/listTickets.js.map +1 -1
- package/dist/useCases/listTimeSheets.d.ts +3 -5
- package/dist/useCases/listTimeSheets.js +45 -48
- package/dist/useCases/listTimeSheets.js.map +1 -1
- package/dist/useCases/listUserSpaces.d.ts +3 -5
- package/dist/useCases/listUserSpaces.js +45 -48
- package/dist/useCases/listUserSpaces.js.map +1 -1
- package/dist/useCases/listUsers.d.ts +3 -5
- package/dist/useCases/listUsers.js +45 -48
- package/dist/useCases/listUsers.js.map +1 -1
- package/dist/useCases/listVendors.d.ts +3 -5
- package/dist/useCases/listVendors.js +45 -48
- package/dist/useCases/listVendors.js.map +1 -1
- package/dist/useCases/logoutUser.d.ts +3 -5
- package/dist/useCases/logoutUser.js +45 -48
- package/dist/useCases/logoutUser.js.map +1 -1
- package/dist/useCases/moveDevice.d.ts +3 -5
- package/dist/useCases/moveDevice.js +45 -48
- package/dist/useCases/moveDevice.js.map +1 -1
- package/dist/useCases/revokeApiKey.d.ts +3 -5
- package/dist/useCases/revokeApiKey.js +45 -48
- package/dist/useCases/revokeApiKey.js.map +1 -1
- package/dist/useCases/rotateApiKey.d.ts +3 -5
- package/dist/useCases/rotateApiKey.js +45 -48
- package/dist/useCases/rotateApiKey.js.map +1 -1
- package/dist/useCases/runAutomation.d.ts +3 -5
- package/dist/useCases/runAutomation.js +45 -48
- package/dist/useCases/runAutomation.js.map +1 -1
- package/dist/useCases/selectOrganization.d.ts +3 -5
- package/dist/useCases/selectOrganization.js +45 -48
- package/dist/useCases/selectOrganization.js.map +1 -1
- package/dist/useCases/sendNotification.d.ts +3 -5
- package/dist/useCases/sendNotification.js +45 -48
- package/dist/useCases/sendNotification.js.map +1 -1
- package/dist/useCases/sendVerificationCode.d.ts +3 -5
- package/dist/useCases/sendVerificationCode.js +45 -48
- package/dist/useCases/sendVerificationCode.js.map +1 -1
- package/dist/useCases/setDevice.d.ts +3 -5
- package/dist/useCases/setDevice.js +45 -48
- package/dist/useCases/setDevice.js.map +1 -1
- package/dist/useCases/setDevices.d.ts +3 -5
- package/dist/useCases/setDevices.js +45 -48
- package/dist/useCases/setDevices.js.map +1 -1
- package/dist/useCases/startSOS.d.ts +3 -5
- package/dist/useCases/startSOS.js +45 -48
- package/dist/useCases/startSOS.js.map +1 -1
- package/dist/useCases/stopSOS.d.ts +3 -5
- package/dist/useCases/stopSOS.js +45 -48
- package/dist/useCases/stopSOS.js.map +1 -1
- package/dist/useCases/updateAutomation.d.ts +3 -5
- package/dist/useCases/updateAutomation.js +45 -48
- package/dist/useCases/updateAutomation.js.map +1 -1
- package/dist/useCases/updateCategory.d.ts +3 -5
- package/dist/useCases/updateCategory.js +45 -48
- package/dist/useCases/updateCategory.js.map +1 -1
- package/dist/useCases/updateDepartment.d.ts +3 -5
- package/dist/useCases/updateDepartment.js +45 -48
- package/dist/useCases/updateDepartment.js.map +1 -1
- package/dist/useCases/updateDevice.d.ts +3 -5
- package/dist/useCases/updateDevice.js +45 -48
- package/dist/useCases/updateDevice.js.map +1 -1
- package/dist/useCases/updateDeviceCredential.d.ts +3 -5
- package/dist/useCases/updateDeviceCredential.js +49 -48
- package/dist/useCases/updateDeviceCredential.js.map +1 -1
- package/dist/useCases/updateDiscoveredDevice.d.ts +3 -5
- package/dist/useCases/updateDiscoveredDevice.js +45 -48
- package/dist/useCases/updateDiscoveredDevice.js.map +1 -1
- package/dist/useCases/updateIssue.d.ts +3 -5
- package/dist/useCases/updateIssue.js +45 -48
- package/dist/useCases/updateIssue.js.map +1 -1
- package/dist/useCases/updateMessageReadStatus.d.ts +3 -5
- package/dist/useCases/updateMessageReadStatus.js +45 -48
- package/dist/useCases/updateMessageReadStatus.js.map +1 -1
- package/dist/useCases/updateOrganization.d.ts +3 -5
- package/dist/useCases/updateOrganization.js +45 -48
- package/dist/useCases/updateOrganization.js.map +1 -1
- package/dist/useCases/updateOrganizationFeatures.d.ts +3 -5
- package/dist/useCases/updateOrganizationFeatures.js +45 -48
- package/dist/useCases/updateOrganizationFeatures.js.map +1 -1
- package/dist/useCases/updatePolicy.d.ts +3 -5
- package/dist/useCases/updatePolicy.js +45 -48
- package/dist/useCases/updatePolicy.js.map +1 -1
- package/dist/useCases/updateProperty.d.ts +3 -5
- package/dist/useCases/updateProperty.js +45 -48
- package/dist/useCases/updateProperty.js.map +1 -1
- package/dist/useCases/updatePropertyFeatures.d.ts +3 -5
- package/dist/useCases/updatePropertyFeatures.js +45 -48
- package/dist/useCases/updatePropertyFeatures.js.map +1 -1
- package/dist/useCases/updateSelf.d.ts +3 -5
- package/dist/useCases/updateSelf.js +45 -48
- package/dist/useCases/updateSelf.js.map +1 -1
- package/dist/useCases/updateServer.d.ts +3 -5
- package/dist/useCases/updateServer.js +45 -48
- package/dist/useCases/updateServer.js.map +1 -1
- package/dist/useCases/updateSpace.d.ts +3 -5
- package/dist/useCases/updateSpace.js +45 -48
- package/dist/useCases/updateSpace.js.map +1 -1
- package/dist/useCases/updateSystem.d.ts +3 -5
- package/dist/useCases/updateSystem.js +45 -48
- package/dist/useCases/updateSystem.js.map +1 -1
- package/dist/useCases/updateTicket.d.ts +3 -5
- package/dist/useCases/updateTicket.js +45 -48
- package/dist/useCases/updateTicket.js.map +1 -1
- package/dist/useCases/updateTicketStatus.d.ts +3 -5
- package/dist/useCases/updateTicketStatus.js +45 -48
- package/dist/useCases/updateTicketStatus.js.map +1 -1
- package/dist/useCases/updateTimeSheet.d.ts +3 -5
- package/dist/useCases/updateTimeSheet.js +45 -48
- package/dist/useCases/updateTimeSheet.js.map +1 -1
- package/dist/useCases/updateTimeSheetTimeEntry.d.ts +3 -5
- package/dist/useCases/updateTimeSheetTimeEntry.js +45 -48
- package/dist/useCases/updateTimeSheetTimeEntry.js.map +1 -1
- package/dist/useCases/updateUser.d.ts +3 -5
- package/dist/useCases/updateUser.js +45 -48
- package/dist/useCases/updateUser.js.map +1 -1
- package/dist/useCases/updateVendor.d.ts +3 -5
- package/dist/useCases/updateVendor.js +45 -48
- package/dist/useCases/updateVendor.js.map +1 -1
- package/dist/useCases/uploadImage.d.ts +3 -5
- package/dist/useCases/uploadImage.js +45 -48
- package/dist/useCases/uploadImage.js.map +1 -1
- package/dist/useCases/upsertDiscoveredDevice.d.ts +3 -5
- package/dist/useCases/upsertDiscoveredDevice.js +45 -48
- package/dist/useCases/upsertDiscoveredDevice.js.map +1 -1
- package/dist/useCases/validateAuth.d.ts +3 -5
- package/dist/useCases/validateAuth.js +45 -48
- package/dist/useCases/validateAuth.js.map +1 -1
- package/dist/validate.d.ts +94 -98
- package/dist/validate.js +62 -106
- package/dist/validate.js.map +1 -1
- package/package.json +6 -4
- package/dist/index-7k9xaBaL.d.ts +0 -30
- package/dist/index-B1__8mca.d.ts +0 -52
- package/dist/index-BmUDCO4d.d.ts +0 -143
- package/dist/index-BnWbLEt_.d.ts +0 -22
- package/dist/index-DJzBywIl.d.ts +0 -292
- package/dist/index-PDa8BHjL.d.ts +0 -50
- package/dist/index.js.map +0 -1
- package/dist/schemas/index.js.map +0 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -1,95 +1,46 @@
|
|
|
1
|
-
export { Entity } from
|
|
2
|
-
export { Alarm, AlarmData } from
|
|
3
|
-
export { Announcement, AnnouncementData } from
|
|
4
|
-
export { Automation, AutomationData } from
|
|
5
|
-
export { Camera, CameraData } from
|
|
6
|
-
export { Category, CategoryData } from
|
|
7
|
-
export { Courtesy, CourtesyData } from
|
|
8
|
-
export { Credential, CredentialData } from
|
|
9
|
-
export { Department, DepartmentData } from
|
|
10
|
-
export { Dimmer, DimmerData } from
|
|
11
|
-
export { DiscoveredDevice, DiscoveredDeviceData } from
|
|
12
|
-
export { EmailMessage, EmailMessageData } from
|
|
13
|
-
export { EnergyReport, EnergyReportData } from
|
|
14
|
-
export { EnergyReportShard, EnergyReportShardData } from
|
|
15
|
-
export { Gateway, GatewayData } from
|
|
16
|
-
export { Group, GroupData } from
|
|
17
|
-
export { Identification, IdentificationData } from
|
|
18
|
-
export { Integration, IntegrationData } from
|
|
19
|
-
export { Issue, IssueData } from
|
|
20
|
-
export { Lock, LockData } from
|
|
21
|
-
export { Log, LogData } from
|
|
22
|
-
export { MediaFile, MediaFileData } from
|
|
23
|
-
export { MediaSource, MediaSourceData } from
|
|
24
|
-
export { MotionSensor, MotionSensorData } from
|
|
25
|
-
export { Notification, NotificationData } from
|
|
26
|
-
export { Order, OrderData } from
|
|
27
|
-
export { Organization, OrganizationData } from
|
|
28
|
-
export { Payment, PaymentData } from
|
|
29
|
-
export { Policy, PolicyData } from
|
|
30
|
-
export { Product, ProductData } from
|
|
31
|
-
export { Property, PropertyData } from
|
|
32
|
-
export { Reservation, ReservationData } from
|
|
33
|
-
export { Server, ServerData } from
|
|
34
|
-
export { Session, SessionData } from
|
|
35
|
-
export { ShortLink, ShortLinkData } from
|
|
36
|
-
export { SmsMessage, SmsMessageData } from
|
|
37
|
-
export { Space, SpaceData } from
|
|
38
|
-
export { Switch, SwitchData } from
|
|
39
|
-
export { System, SystemData } from
|
|
40
|
-
export { SystemUser, SystemUserData } from
|
|
41
|
-
export { Thermostat, ThermostatData } from
|
|
42
|
-
export { Ticket, TicketData } from
|
|
43
|
-
export { TimeSheet, TimeSheetData } from
|
|
44
|
-
export { User, UserData } from
|
|
45
|
-
export { Vendor, VendorData } from
|
|
46
|
-
export { WindowCovering, WindowCoveringData } from
|
|
47
|
-
import 'ajv';
|
|
48
|
-
import '../validate.js';
|
|
49
|
-
import '../schemas/alarm.js';
|
|
50
|
-
import '../schemas/definitions.js';
|
|
51
|
-
import 'json-schema-to-ts';
|
|
52
|
-
import '../schemas/announcement.js';
|
|
53
|
-
import '../schemas/automation.js';
|
|
54
|
-
import '../schemas/camera.js';
|
|
55
|
-
import '../schemas/category.js';
|
|
56
|
-
import '../schemas/courtesy.js';
|
|
57
|
-
import '../schemas/credential.js';
|
|
58
|
-
import '../schemas/department.js';
|
|
59
|
-
import '../schemas/dimmer.js';
|
|
60
|
-
import '../schemas/discoveredDevice.js';
|
|
61
|
-
import '../schemas/emailMessage.js';
|
|
62
|
-
import '../schemas/energyReport.js';
|
|
63
|
-
import '../schemas/energyReportShard.js';
|
|
64
|
-
import '../schemas/gateway.js';
|
|
65
|
-
import '../schemas/group.js';
|
|
66
|
-
import '../schemas/identification.js';
|
|
67
|
-
import '../schemas/integration.js';
|
|
68
|
-
import '../schemas/mediaFile.js';
|
|
69
|
-
import '../schemas/issue.js';
|
|
70
|
-
import '../schemas/ticket.js';
|
|
71
|
-
import '../schemas/lock.js';
|
|
72
|
-
import '../schemas/log.js';
|
|
73
|
-
import '../schemas/mediaSource.js';
|
|
74
|
-
import '../schemas/motionSensor.js';
|
|
75
|
-
import '../schemas/notification.js';
|
|
76
|
-
import '../schemas/order.js';
|
|
77
|
-
import '../schemas/organization.js';
|
|
78
|
-
import '../schemas/payment.js';
|
|
79
|
-
import '../schemas/policy.js';
|
|
80
|
-
import '../schemas/product.js';
|
|
81
|
-
import '../schemas/property.js';
|
|
82
|
-
import '../schemas/reservation.js';
|
|
83
|
-
import '../schemas/server.js';
|
|
84
|
-
import '../schemas/session.js';
|
|
85
|
-
import '../schemas/shortLink.js';
|
|
86
|
-
import '../schemas/smsMessage.js';
|
|
87
|
-
import '../schemas/space.js';
|
|
88
|
-
import '../schemas/switch.js';
|
|
89
|
-
import '../schemas/thermostat.js';
|
|
90
|
-
import '../schemas/windowCovering.js';
|
|
91
|
-
import '../schemas/system.js';
|
|
92
|
-
import '../schemas/systemUser.js';
|
|
93
|
-
import '../schemas/timeSheet.js';
|
|
94
|
-
import '../schemas/user.js';
|
|
95
|
-
import '../schemas/vendor.js';
|
|
1
|
+
export { Entity } from "./entity.js";
|
|
2
|
+
export { Alarm, type AlarmData } from "./alarm.js";
|
|
3
|
+
export { Announcement, type AnnouncementData } from "./announcement.js";
|
|
4
|
+
export { Automation, type AutomationData } from "./automation.js";
|
|
5
|
+
export { Camera, type CameraData } from "./camera.js";
|
|
6
|
+
export { Category, type CategoryData } from "./category.js";
|
|
7
|
+
export { Courtesy, type CourtesyData } from "./courtesy.js";
|
|
8
|
+
export { Credential, type CredentialData } from "./credential.js";
|
|
9
|
+
export { Department, type DepartmentData } from "./department.js";
|
|
10
|
+
export { Dimmer, type DimmerData } from "./dimmer.js";
|
|
11
|
+
export { DiscoveredDevice, type DiscoveredDeviceData, } from "./discoveredDevice.js";
|
|
12
|
+
export { EmailMessage, type EmailMessageData } from "./emailMessage.js";
|
|
13
|
+
export { EnergyReport, type EnergyReportData } from "./energyReport.js";
|
|
14
|
+
export { EnergyReportShard, type EnergyReportShardData, } from "./energyReportShard.js";
|
|
15
|
+
export { Gateway, type GatewayData } from "./gateway.js";
|
|
16
|
+
export { Group, type GroupData } from "./group.js";
|
|
17
|
+
export { Identification, type IdentificationData } from "./identification.js";
|
|
18
|
+
export { Integration, type IntegrationData } from "./integration.js";
|
|
19
|
+
export { Issue, type IssueData } from "./issue.js";
|
|
20
|
+
export { Lock, type LockData } from "./lock.js";
|
|
21
|
+
export { Log, type LogData } from "./log.js";
|
|
22
|
+
export { MediaFile, type MediaFileData } from "./mediaFile.js";
|
|
23
|
+
export { MediaSource, type MediaSourceData } from "./mediaSource.js";
|
|
24
|
+
export { MotionSensor, type MotionSensorData } from "./motionSensor.js";
|
|
25
|
+
export { Notification, type NotificationData } from "./notification.js";
|
|
26
|
+
export { Order, type OrderData } from "./order.js";
|
|
27
|
+
export { Organization, type OrganizationData } from "./organization.js";
|
|
28
|
+
export { Payment, type PaymentData } from "./payment.js";
|
|
29
|
+
export { Policy, type PolicyData } from "./policy.js";
|
|
30
|
+
export { Product, type ProductData } from "./product.js";
|
|
31
|
+
export { Property, type PropertyData } from "./property.js";
|
|
32
|
+
export { Reservation, type ReservationData } from "./reservation.js";
|
|
33
|
+
export { Server, type ServerData } from "./server.js";
|
|
34
|
+
export { Session, type SessionData } from "./session.js";
|
|
35
|
+
export { ShortLink, type ShortLinkData } from "./shortLink.js";
|
|
36
|
+
export { SmsMessage, type SmsMessageData } from "./smsMessage.js";
|
|
37
|
+
export { Space, type SpaceData } from "./space.js";
|
|
38
|
+
export { Switch, type SwitchData } from "./switch.js";
|
|
39
|
+
export { System, type SystemData } from "./system.js";
|
|
40
|
+
export { SystemUser, type SystemUserData } from "./systemUser.js";
|
|
41
|
+
export { Thermostat, type ThermostatData } from "./thermostat.js";
|
|
42
|
+
export { Ticket, type TicketData } from "./ticket.js";
|
|
43
|
+
export { TimeSheet, type TimeSheetData } from "./timeSheet.js";
|
|
44
|
+
export { User, type UserData } from "./user.js";
|
|
45
|
+
export { Vendor, type VendorData } from "./vendor.js";
|
|
46
|
+
export { WindowCovering, type WindowCoveringData } from "./windowCovering.js";
|
package/dist/models/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
1
2
|
import { Entity } from "./entity.js";
|
|
2
3
|
import { Alarm } from "./alarm.js";
|
|
3
4
|
import { Announcement } from "./announcement.js";
|
|
@@ -8,14 +9,10 @@ import { Courtesy } from "./courtesy.js";
|
|
|
8
9
|
import { Credential } from "./credential.js";
|
|
9
10
|
import { Department } from "./department.js";
|
|
10
11
|
import { Dimmer } from "./dimmer.js";
|
|
11
|
-
import {
|
|
12
|
-
DiscoveredDevice
|
|
13
|
-
} from "./discoveredDevice.js";
|
|
12
|
+
import { DiscoveredDevice } from "./discoveredDevice.js";
|
|
14
13
|
import { EmailMessage } from "./emailMessage.js";
|
|
15
14
|
import { EnergyReport } from "./energyReport.js";
|
|
16
|
-
import {
|
|
17
|
-
EnergyReportShard
|
|
18
|
-
} from "./energyReportShard.js";
|
|
15
|
+
import { EnergyReportShard } from "./energyReportShard.js";
|
|
19
16
|
import { Gateway } from "./gateway.js";
|
|
20
17
|
import { Group } from "./group.js";
|
|
21
18
|
import { Identification } from "./identification.js";
|
|
@@ -48,52 +45,56 @@ import { TimeSheet } from "./timeSheet.js";
|
|
|
48
45
|
import { User } from "./user.js";
|
|
49
46
|
import { Vendor } from "./vendor.js";
|
|
50
47
|
import { WindowCovering } from "./windowCovering.js";
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
48
|
+
//#region .generated/models/index.ts
|
|
49
|
+
var models_exports = /* @__PURE__ */ __exportAll({
|
|
50
|
+
Alarm: () => Alarm,
|
|
51
|
+
Announcement: () => Announcement,
|
|
52
|
+
Automation: () => Automation,
|
|
53
|
+
Camera: () => Camera,
|
|
54
|
+
Category: () => Category,
|
|
55
|
+
Courtesy: () => Courtesy,
|
|
56
|
+
Credential: () => Credential,
|
|
57
|
+
Department: () => Department,
|
|
58
|
+
Dimmer: () => Dimmer,
|
|
59
|
+
DiscoveredDevice: () => DiscoveredDevice,
|
|
60
|
+
EmailMessage: () => EmailMessage,
|
|
61
|
+
EnergyReport: () => EnergyReport,
|
|
62
|
+
EnergyReportShard: () => EnergyReportShard,
|
|
63
|
+
Entity: () => Entity,
|
|
64
|
+
Gateway: () => Gateway,
|
|
65
|
+
Group: () => Group,
|
|
66
|
+
Identification: () => Identification,
|
|
67
|
+
Integration: () => Integration,
|
|
68
|
+
Issue: () => Issue,
|
|
69
|
+
Lock: () => Lock,
|
|
70
|
+
Log: () => Log,
|
|
71
|
+
MediaFile: () => MediaFile,
|
|
72
|
+
MediaSource: () => MediaSource,
|
|
73
|
+
MotionSensor: () => MotionSensor,
|
|
74
|
+
Notification: () => Notification,
|
|
75
|
+
Order: () => Order,
|
|
76
|
+
Organization: () => Organization,
|
|
77
|
+
Payment: () => Payment,
|
|
78
|
+
Policy: () => Policy,
|
|
79
|
+
Product: () => Product,
|
|
80
|
+
Property: () => Property,
|
|
81
|
+
Reservation: () => Reservation,
|
|
82
|
+
Server: () => Server,
|
|
83
|
+
Session: () => Session,
|
|
84
|
+
ShortLink: () => ShortLink,
|
|
85
|
+
SmsMessage: () => SmsMessage,
|
|
86
|
+
Space: () => Space,
|
|
87
|
+
Switch: () => Switch,
|
|
88
|
+
System: () => System,
|
|
89
|
+
SystemUser: () => SystemUser,
|
|
90
|
+
Thermostat: () => Thermostat,
|
|
91
|
+
Ticket: () => Ticket,
|
|
92
|
+
TimeSheet: () => TimeSheet,
|
|
93
|
+
User: () => User,
|
|
94
|
+
Vendor: () => Vendor,
|
|
95
|
+
WindowCovering: () => WindowCovering
|
|
96
|
+
});
|
|
97
|
+
//#endregion
|
|
98
|
+
export { Alarm, Announcement, Automation, Camera, Category, Courtesy, Credential, Department, Dimmer, DiscoveredDevice, EmailMessage, EnergyReport, EnergyReportShard, Entity, Gateway, Group, Identification, Integration, Issue, Lock, Log, MediaFile, MediaSource, MotionSensor, Notification, Order, Organization, Payment, Policy, Product, Property, Reservation, Server, Session, ShortLink, SmsMessage, Space, Switch, System, SystemUser, Thermostat, Ticket, TimeSheet, User, Vendor, WindowCovering, models_exports };
|
|
99
|
+
|
|
99
100
|
//# sourceMappingURL=index.js.map
|
package/dist/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../.generated/models/index.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport { Entity } from \"./entity.js\";\n\nexport { Alarm, type AlarmData } from \"./alarm.js\";\nexport { Announcement, type AnnouncementData } from \"./announcement.js\";\nexport { Automation, type AutomationData } from \"./automation.js\";\nexport { Camera, type CameraData } from \"./camera.js\";\nexport { Category, type CategoryData } from \"./category.js\";\nexport { Courtesy, type CourtesyData } from \"./courtesy.js\";\nexport { Credential, type CredentialData } from \"./credential.js\";\nexport { Department, type DepartmentData } from \"./department.js\";\nexport { Dimmer, type DimmerData } from \"./dimmer.js\";\nexport {\n DiscoveredDevice,\n type DiscoveredDeviceData,\n} from \"./discoveredDevice.js\";\nexport { EmailMessage, type EmailMessageData } from \"./emailMessage.js\";\nexport { EnergyReport, type EnergyReportData } from \"./energyReport.js\";\nexport {\n EnergyReportShard,\n type EnergyReportShardData,\n} from \"./energyReportShard.js\";\nexport { Gateway, type GatewayData } from \"./gateway.js\";\nexport { Group, type GroupData } from \"./group.js\";\nexport { Identification, type IdentificationData } from \"./identification.js\";\nexport { Integration, type IntegrationData } from \"./integration.js\";\nexport { Issue, type IssueData } from \"./issue.js\";\nexport { Lock, type LockData } from \"./lock.js\";\nexport { Log, type LogData } from \"./log.js\";\nexport { MediaFile, type MediaFileData } from \"./mediaFile.js\";\nexport { MediaSource, type MediaSourceData } from \"./mediaSource.js\";\nexport { MotionSensor, type MotionSensorData } from \"./motionSensor.js\";\nexport { Notification, type NotificationData } from \"./notification.js\";\nexport { Order, type OrderData } from \"./order.js\";\nexport { Organization, type OrganizationData } from \"./organization.js\";\nexport { Payment, type PaymentData } from \"./payment.js\";\nexport { Policy, type PolicyData } from \"./policy.js\";\nexport { Product, type ProductData } from \"./product.js\";\nexport { Property, type PropertyData } from \"./property.js\";\nexport { Reservation, type ReservationData } from \"./reservation.js\";\nexport { Server, type ServerData } from \"./server.js\";\nexport { Session, type SessionData } from \"./session.js\";\nexport { ShortLink, type ShortLinkData } from \"./shortLink.js\";\nexport { SmsMessage, type SmsMessageData } from \"./smsMessage.js\";\nexport { Space, type SpaceData } from \"./space.js\";\nexport { Switch, type SwitchData } from \"./switch.js\";\nexport { System, type SystemData } from \"./system.js\";\nexport { SystemUser, type SystemUserData } from \"./systemUser.js\";\nexport { Thermostat, type ThermostatData } from \"./thermostat.js\";\nexport { Ticket, type TicketData } from \"./ticket.js\";\nexport { TimeSheet, type TimeSheetData } from \"./timeSheet.js\";\nexport { User, type UserData } from \"./user.js\";\nexport { Vendor, type VendorData } from \"./vendor.js\";\nexport { WindowCovering, type WindowCoveringData } from \"./windowCovering.js\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../.generated/models/index.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport { Entity } from \"./entity.js\";\n\nexport { Alarm, type AlarmData } from \"./alarm.js\";\nexport { Announcement, type AnnouncementData } from \"./announcement.js\";\nexport { Automation, type AutomationData } from \"./automation.js\";\nexport { Camera, type CameraData } from \"./camera.js\";\nexport { Category, type CategoryData } from \"./category.js\";\nexport { Courtesy, type CourtesyData } from \"./courtesy.js\";\nexport { Credential, type CredentialData } from \"./credential.js\";\nexport { Department, type DepartmentData } from \"./department.js\";\nexport { Dimmer, type DimmerData } from \"./dimmer.js\";\nexport {\n DiscoveredDevice,\n type DiscoveredDeviceData,\n} from \"./discoveredDevice.js\";\nexport { EmailMessage, type EmailMessageData } from \"./emailMessage.js\";\nexport { EnergyReport, type EnergyReportData } from \"./energyReport.js\";\nexport {\n EnergyReportShard,\n type EnergyReportShardData,\n} from \"./energyReportShard.js\";\nexport { Gateway, type GatewayData } from \"./gateway.js\";\nexport { Group, type GroupData } from \"./group.js\";\nexport { Identification, type IdentificationData } from \"./identification.js\";\nexport { Integration, type IntegrationData } from \"./integration.js\";\nexport { Issue, type IssueData } from \"./issue.js\";\nexport { Lock, type LockData } from \"./lock.js\";\nexport { Log, type LogData } from \"./log.js\";\nexport { MediaFile, type MediaFileData } from \"./mediaFile.js\";\nexport { MediaSource, type MediaSourceData } from \"./mediaSource.js\";\nexport { MotionSensor, type MotionSensorData } from \"./motionSensor.js\";\nexport { Notification, type NotificationData } from \"./notification.js\";\nexport { Order, type OrderData } from \"./order.js\";\nexport { Organization, type OrganizationData } from \"./organization.js\";\nexport { Payment, type PaymentData } from \"./payment.js\";\nexport { Policy, type PolicyData } from \"./policy.js\";\nexport { Product, type ProductData } from \"./product.js\";\nexport { Property, type PropertyData } from \"./property.js\";\nexport { Reservation, type ReservationData } from \"./reservation.js\";\nexport { Server, type ServerData } from \"./server.js\";\nexport { Session, type SessionData } from \"./session.js\";\nexport { ShortLink, type ShortLinkData } from \"./shortLink.js\";\nexport { SmsMessage, type SmsMessageData } from \"./smsMessage.js\";\nexport { Space, type SpaceData } from \"./space.js\";\nexport { Switch, type SwitchData } from \"./switch.js\";\nexport { System, type SystemData } from \"./system.js\";\nexport { SystemUser, type SystemUserData } from \"./systemUser.js\";\nexport { Thermostat, type ThermostatData } from \"./thermostat.js\";\nexport { Ticket, type TicketData } from \"./ticket.js\";\nexport { TimeSheet, type TimeSheetData } from \"./timeSheet.js\";\nexport { User, type UserData } from \"./user.js\";\nexport { Vendor, type VendorData } from \"./vendor.js\";\nexport { WindowCovering, type WindowCoveringData } from \"./windowCovering.js\";\n"],"mappings":""}
|
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
import { Entity } from
|
|
2
|
-
import { validateIntegration } from
|
|
3
|
-
import {
|
|
4
|
-
import 'ajv';
|
|
5
|
-
import '../schemas/definitions.js';
|
|
6
|
-
import 'json-schema-to-ts';
|
|
7
|
-
import '../schemas/mediaFile.js';
|
|
8
|
-
|
|
1
|
+
import { Entity } from "./entity.js";
|
|
2
|
+
import { validateIntegration as validate } from "../validate.js";
|
|
3
|
+
import { integrationSchema, type IntegrationSchema } from "../schemas/integration.js";
|
|
9
4
|
/**
|
|
10
5
|
* Data type for Integration constructor - exported for backwards compatibility
|
|
11
6
|
*/
|
|
12
|
-
type IntegrationData = IntegrationSchema;
|
|
7
|
+
export type IntegrationData = IntegrationSchema;
|
|
13
8
|
/**
|
|
14
9
|
* An entry in the integrations catalog used to display and pre-fill metadata for a driver.
|
|
15
10
|
*/
|
|
16
|
-
interface Integration extends IntegrationSchema {
|
|
11
|
+
export interface Integration extends IntegrationSchema {
|
|
17
12
|
}
|
|
18
|
-
declare class Integration extends Entity {
|
|
13
|
+
export declare class Integration extends Entity {
|
|
19
14
|
schema: typeof integrationSchema;
|
|
20
|
-
validator: typeof
|
|
15
|
+
validator: typeof validate;
|
|
21
16
|
constructor(data: IntegrationSchema);
|
|
22
17
|
}
|
|
23
|
-
|
|
24
|
-
export { Integration, type IntegrationData };
|
|
@@ -1,35 +1,25 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
1
|
import { Entity } from "./entity.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
if (data.googleAppId !== void 0) this.googleAppId = data.googleAppId;
|
|
20
|
-
this.createdAt = data.createdAt;
|
|
21
|
-
this.updatedAt = data.updatedAt;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
Object.defineProperty(Integration.prototype, "schema", {
|
|
25
|
-
value: integrationSchema
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(Integration.prototype, "validator", {
|
|
28
|
-
get: /* @__PURE__ */ __name(function() {
|
|
29
|
-
return validate;
|
|
30
|
-
}, "get")
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
Integration
|
|
2
|
+
import { integrationSchema } from "../schemas/integration.js";
|
|
3
|
+
import { validateIntegration } from "../validate.js";
|
|
4
|
+
//#region .generated/models/integration.ts
|
|
5
|
+
var Integration = class extends Entity {
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
|
+
this.id = data.id;
|
|
9
|
+
this.type = data.type;
|
|
10
|
+
this.systemName = data.systemName;
|
|
11
|
+
this.systemPhoto = data.systemPhoto;
|
|
12
|
+
if (data.itunesAppId !== void 0) this.itunesAppId = data.itunesAppId;
|
|
13
|
+
if (data.googleAppId !== void 0) this.googleAppId = data.googleAppId;
|
|
14
|
+
this.createdAt = data.createdAt;
|
|
15
|
+
this.updatedAt = data.updatedAt;
|
|
16
|
+
}
|
|
34
17
|
};
|
|
18
|
+
Object.defineProperty(Integration.prototype, "schema", { value: integrationSchema });
|
|
19
|
+
Object.defineProperty(Integration.prototype, "validator", { get: function() {
|
|
20
|
+
return validateIntegration;
|
|
21
|
+
} });
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Integration };
|
|
24
|
+
|
|
35
25
|
//# sourceMappingURL=integration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../.generated/models/integration.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateIntegration as validate } from \"../validate.js\";\nimport {\n integrationSchema,\n type IntegrationSchema,\n} from \"../schemas/integration.js\";\n\n/**\n * Data type for Integration constructor - exported for backwards compatibility\n */\nexport type IntegrationData = IntegrationSchema;\n\n/**\n * An entry in the integrations catalog used to display and pre-fill metadata for a driver.\n */\nexport interface Integration extends IntegrationSchema {}\nexport class Integration extends Entity {\n declare schema: typeof integrationSchema;\n declare validator: typeof validate;\n\n constructor(data: IntegrationSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.systemName = data.systemName;\n this.systemPhoto = data.systemPhoto;\n if (data.itunesAppId !== undefined) this.itunesAppId = data.itunesAppId;\n if (data.googleAppId !== undefined) this.googleAppId = data.googleAppId;\n this.createdAt = data.createdAt;\n this.updatedAt = data.updatedAt;\n }\n}\n\nObject.defineProperty(Integration.prototype, \"schema\", {\n value: integrationSchema,\n});\n\nObject.defineProperty(Integration.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"integration.js","names":["validate"],"sources":["../../.generated/models/integration.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateIntegration as validate } from \"../validate.js\";\nimport {\n integrationSchema,\n type IntegrationSchema,\n} from \"../schemas/integration.js\";\n\n/**\n * Data type for Integration constructor - exported for backwards compatibility\n */\nexport type IntegrationData = IntegrationSchema;\n\n/**\n * An entry in the integrations catalog used to display and pre-fill metadata for a driver.\n */\nexport interface Integration extends IntegrationSchema {}\nexport class Integration extends Entity {\n declare schema: typeof integrationSchema;\n declare validator: typeof validate;\n\n constructor(data: IntegrationSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.systemName = data.systemName;\n this.systemPhoto = data.systemPhoto;\n if (data.itunesAppId !== undefined) this.itunesAppId = data.itunesAppId;\n if (data.googleAppId !== undefined) this.googleAppId = data.googleAppId;\n this.createdAt = data.createdAt;\n this.updatedAt = data.updatedAt;\n }\n}\n\nObject.defineProperty(Integration.prototype, \"schema\", {\n value: integrationSchema,\n});\n\nObject.defineProperty(Integration.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;AAkBA,IAAa,cAAb,cAAiC,OAAO;CAItC,YAAY,MAAyB;EACnC,MAAM,IAAI;EACV,KAAK,KAAK,KAAK;EACf,KAAK,OAAO,KAAK;EACjB,KAAK,aAAa,KAAK;EACvB,KAAK,cAAc,KAAK;EACxB,IAAI,KAAK,gBAAgB,KAAA,GAAW,KAAK,cAAc,KAAK;EAC5D,IAAI,KAAK,gBAAgB,KAAA,GAAW,KAAK,cAAc,KAAK;EAC5D,KAAK,YAAY,KAAK;EACtB,KAAK,YAAY,KAAK;CACxB;AACF;AAEA,OAAO,eAAe,YAAY,WAAW,UAAU,EACrD,OAAO,kBACT,CAAC;AAED,OAAO,eAAe,YAAY,WAAW,aAAa,EACxD,KAAK,WAAY;CACf,OAAOA;AACT,EACF,CAAC"}
|
package/dist/models/issue.d.ts
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
|
-
import { Entity } from
|
|
2
|
-
import { validateIssue } from
|
|
3
|
-
import {
|
|
4
|
-
import 'ajv';
|
|
5
|
-
import 'json-schema-to-ts';
|
|
6
|
-
import '../schemas/definitions.js';
|
|
7
|
-
import '../schemas/ticket.js';
|
|
8
|
-
import '../schemas/mediaFile.js';
|
|
9
|
-
|
|
1
|
+
import { Entity } from "./entity.js";
|
|
2
|
+
import { validateIssue as validate } from "../validate.js";
|
|
3
|
+
import { issueSchema, type IssueSchema } from "../schemas/issue.js";
|
|
10
4
|
/**
|
|
11
5
|
* Data type for Issue constructor - exported for backwards compatibility
|
|
12
6
|
*/
|
|
13
|
-
type IssueData = IssueSchema;
|
|
7
|
+
export type IssueData = IssueSchema;
|
|
14
8
|
/**
|
|
15
9
|
* An issue associated with ticketing and concierge.
|
|
16
10
|
*/
|
|
17
|
-
interface Issue extends IssueSchema {
|
|
11
|
+
export interface Issue extends IssueSchema {
|
|
18
12
|
}
|
|
19
|
-
declare class Issue extends Entity {
|
|
13
|
+
export declare class Issue extends Entity {
|
|
20
14
|
schema: typeof issueSchema;
|
|
21
|
-
validator: typeof
|
|
15
|
+
validator: typeof validate;
|
|
22
16
|
constructor(data: IssueSchema);
|
|
23
17
|
}
|
|
24
|
-
|
|
25
|
-
export { Issue, type IssueData };
|
package/dist/models/issue.js
CHANGED
|
@@ -1,35 +1,27 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
1
|
import { Entity } from "./entity.js";
|
|
4
|
-
import { validateIssue as validate } from "../validate.js";
|
|
5
2
|
import { issueSchema } from "../schemas/issue.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
Object.defineProperty(Issue.prototype, "schema", {
|
|
25
|
-
value: issueSchema
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(Issue.prototype, "validator", {
|
|
28
|
-
get: /* @__PURE__ */ __name(function() {
|
|
29
|
-
return validate;
|
|
30
|
-
}, "get")
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
Issue
|
|
3
|
+
import { validateIssue } from "../validate.js";
|
|
4
|
+
//#region .generated/models/issue.ts
|
|
5
|
+
var Issue = class extends Entity {
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
|
+
this.id = data.id;
|
|
9
|
+
this.type = data.type;
|
|
10
|
+
this.name = data.name;
|
|
11
|
+
if (data.description !== void 0) this.description = data.description;
|
|
12
|
+
if (data.departmentId !== void 0) this.departmentId = data.departmentId;
|
|
13
|
+
if (data.system !== void 0) this.system = data.system;
|
|
14
|
+
if (data.routing !== void 0) this.routing = data.routing;
|
|
15
|
+
if (data.createdAt !== void 0) this.createdAt = data.createdAt;
|
|
16
|
+
if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
|
|
17
|
+
if (data.deletedAt !== void 0) this.deletedAt = data.deletedAt;
|
|
18
|
+
}
|
|
34
19
|
};
|
|
20
|
+
Object.defineProperty(Issue.prototype, "schema", { value: issueSchema });
|
|
21
|
+
Object.defineProperty(Issue.prototype, "validator", { get: function() {
|
|
22
|
+
return validateIssue;
|
|
23
|
+
} });
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Issue };
|
|
26
|
+
|
|
35
27
|
//# sourceMappingURL=issue.js.map
|
package/dist/models/issue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../.generated/models/issue.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateIssue as validate } from \"../validate.js\";\nimport { issueSchema, type IssueSchema } from \"../schemas/issue.js\";\n\n/**\n * Data type for Issue constructor - exported for backwards compatibility\n */\nexport type IssueData = IssueSchema;\n\n/**\n * An issue associated with ticketing and concierge.\n */\nexport interface Issue extends IssueSchema {}\nexport class Issue extends Entity {\n declare schema: typeof issueSchema;\n declare validator: typeof validate;\n\n constructor(data: IssueSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.name = data.name;\n if (data.description !== undefined) this.description = data.description;\n if (data.departmentId !== undefined) this.departmentId = data.departmentId;\n if (data.system !== undefined) this.system = data.system;\n if (data.routing !== undefined) this.routing = data.routing;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.deletedAt !== undefined) this.deletedAt = data.deletedAt;\n }\n}\n\nObject.defineProperty(Issue.prototype, \"schema\", {\n value: issueSchema,\n});\n\nObject.defineProperty(Issue.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"issue.js","names":["validate"],"sources":["../../.generated/models/issue.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateIssue as validate } from \"../validate.js\";\nimport { issueSchema, type IssueSchema } from \"../schemas/issue.js\";\n\n/**\n * Data type for Issue constructor - exported for backwards compatibility\n */\nexport type IssueData = IssueSchema;\n\n/**\n * An issue associated with ticketing and concierge.\n */\nexport interface Issue extends IssueSchema {}\nexport class Issue extends Entity {\n declare schema: typeof issueSchema;\n declare validator: typeof validate;\n\n constructor(data: IssueSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.name = data.name;\n if (data.description !== undefined) this.description = data.description;\n if (data.departmentId !== undefined) this.departmentId = data.departmentId;\n if (data.system !== undefined) this.system = data.system;\n if (data.routing !== undefined) this.routing = data.routing;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.deletedAt !== undefined) this.deletedAt = data.deletedAt;\n }\n}\n\nObject.defineProperty(Issue.prototype, \"schema\", {\n value: issueSchema,\n});\n\nObject.defineProperty(Issue.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;AAeA,IAAa,QAAb,cAA2B,OAAO;CAIhC,YAAY,MAAmB;EAC7B,MAAM,IAAI;EACV,KAAK,KAAK,KAAK;EACf,KAAK,OAAO,KAAK;EACjB,KAAK,OAAO,KAAK;EACjB,IAAI,KAAK,gBAAgB,KAAA,GAAW,KAAK,cAAc,KAAK;EAC5D,IAAI,KAAK,iBAAiB,KAAA,GAAW,KAAK,eAAe,KAAK;EAC9D,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,YAAY,KAAA,GAAW,KAAK,UAAU,KAAK;EACpD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;CAC1D;AACF;AAEA,OAAO,eAAe,MAAM,WAAW,UAAU,EAC/C,OAAO,YACT,CAAC;AAED,OAAO,eAAe,MAAM,WAAW,aAAa,EAClD,KAAK,WAAY;CACf,OAAOA;AACT,EACF,CAAC"}
|
package/dist/models/lock.d.ts
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
import { Entity } from
|
|
2
|
-
import { validateLock } from
|
|
3
|
-
import {
|
|
4
|
-
import 'ajv';
|
|
5
|
-
import '../schemas/definitions.js';
|
|
6
|
-
import 'json-schema-to-ts';
|
|
7
|
-
|
|
1
|
+
import { Entity } from "./entity.js";
|
|
2
|
+
import { validateLock as validate } from "../validate.js";
|
|
3
|
+
import { lockSchema, type LockSchema } from "../schemas/lock.js";
|
|
8
4
|
/**
|
|
9
5
|
* Data type for Lock constructor - exported for backwards compatibility
|
|
10
6
|
*/
|
|
11
|
-
type LockData = LockSchema;
|
|
7
|
+
export type LockData = LockSchema;
|
|
12
8
|
/**
|
|
13
9
|
* Any smart lock
|
|
14
10
|
*/
|
|
15
|
-
interface Lock extends LockSchema {
|
|
11
|
+
export interface Lock extends LockSchema {
|
|
16
12
|
}
|
|
17
|
-
declare class Lock extends Entity {
|
|
13
|
+
export declare class Lock extends Entity {
|
|
18
14
|
schema: typeof lockSchema;
|
|
19
|
-
validator: typeof
|
|
15
|
+
validator: typeof validate;
|
|
20
16
|
constructor(data: LockSchema);
|
|
21
17
|
}
|
|
22
|
-
|
|
23
|
-
export { Lock, type LockData };
|
package/dist/models/lock.js
CHANGED
|
@@ -1,48 +1,37 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
1
|
import { Entity } from "./entity.js";
|
|
4
|
-
import { validateLock as validate } from "../validate.js";
|
|
5
2
|
import { lockSchema } from "../schemas/lock.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
|
|
33
|
-
if (data.firmwareVersion !== void 0)
|
|
34
|
-
this.firmwareVersion = data.firmwareVersion;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
Object.defineProperty(Lock.prototype, "schema", {
|
|
38
|
-
value: lockSchema
|
|
39
|
-
});
|
|
40
|
-
Object.defineProperty(Lock.prototype, "validator", {
|
|
41
|
-
get: /* @__PURE__ */ __name(function() {
|
|
42
|
-
return validate;
|
|
43
|
-
}, "get")
|
|
44
|
-
});
|
|
45
|
-
export {
|
|
46
|
-
Lock
|
|
3
|
+
import { validateLock } from "../validate.js";
|
|
4
|
+
//#region .generated/models/lock.ts
|
|
5
|
+
var Lock = class extends Entity {
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
|
+
this.id = data.id;
|
|
9
|
+
if (data.propertyId !== void 0) this.propertyId = data.propertyId;
|
|
10
|
+
if (data.name !== void 0) this.name = data.name;
|
|
11
|
+
this.type = data.type;
|
|
12
|
+
if (data.offline !== void 0) this.offline = data.offline;
|
|
13
|
+
if (data.supportedNotifications !== void 0) this.supportedNotifications = data.supportedNotifications;
|
|
14
|
+
if (data.notification !== void 0) this.notification = data.notification;
|
|
15
|
+
this.driver = data.driver;
|
|
16
|
+
if (data.alerts !== void 0) this.alerts = data.alerts;
|
|
17
|
+
this.state = data.state;
|
|
18
|
+
if (data.mode !== void 0) this.mode = data.mode;
|
|
19
|
+
if (data.supportedModes !== void 0) this.supportedModes = data.supportedModes;
|
|
20
|
+
if (data.batteryLevel !== void 0) this.batteryLevel = data.batteryLevel;
|
|
21
|
+
if (data.systemId !== void 0) this.systemId = data.systemId;
|
|
22
|
+
if (data.watts !== void 0) this.watts = data.watts;
|
|
23
|
+
if (data.icon !== void 0) this.icon = data.icon;
|
|
24
|
+
if (data.manufacturer !== void 0) this.manufacturer = data.manufacturer;
|
|
25
|
+
if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
|
|
26
|
+
if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
|
|
27
|
+
if (data.firmwareVersion !== void 0) this.firmwareVersion = data.firmwareVersion;
|
|
28
|
+
}
|
|
47
29
|
};
|
|
30
|
+
Object.defineProperty(Lock.prototype, "schema", { value: lockSchema });
|
|
31
|
+
Object.defineProperty(Lock.prototype, "validator", { get: function() {
|
|
32
|
+
return validateLock;
|
|
33
|
+
} });
|
|
34
|
+
//#endregion
|
|
35
|
+
export { Lock };
|
|
36
|
+
|
|
48
37
|
//# sourceMappingURL=lock.js.map
|