@kohost/api-client 4.11.0 → 4.11.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/amqpClient.cjs.map +1 -1
- package/dist/amqpClient.js +1 -1
- package/dist/{chunk-4RGKXRCC.js → chunk-3T7O6SSX.js} +1 -1
- package/dist/chunk-3T7O6SSX.js.map +1 -0
- package/dist/{chunk-EFDNWLMA.js → chunk-44FUQXMY.js} +1 -1
- package/dist/chunk-44FUQXMY.js.map +1 -0
- package/dist/{chunk-HAZA2CC4.js → chunk-4JPS6JAG.js} +1 -1
- package/dist/chunk-4JPS6JAG.js.map +1 -0
- package/dist/{chunk-VWZZQPYF.js → chunk-5GYG24VQ.js} +1 -1
- package/dist/{chunk-R7LFTNN3.js → chunk-5QBIGY4H.js} +1 -1
- package/dist/{chunk-R7LFTNN3.js.map → chunk-5QBIGY4H.js.map} +1 -1
- package/dist/{chunk-4E6X4AWF.js → chunk-5UTH7OAH.js} +1 -1
- package/dist/chunk-5UTH7OAH.js.map +1 -0
- package/dist/{chunk-UBBFO4DV.js → chunk-7AFOPOH6.js} +1 -1
- package/dist/chunk-7AFOPOH6.js.map +1 -0
- package/dist/{chunk-5IUMCO6K.js → chunk-AHC2WGJE.js} +1 -1
- package/dist/chunk-AHC2WGJE.js.map +1 -0
- package/dist/{chunk-AT5O6OJM.js → chunk-BDSQQ6HP.js} +1 -1
- package/dist/chunk-BDSQQ6HP.js.map +1 -0
- package/dist/{chunk-CW272SBN.js → chunk-BHKQEUCN.js} +1 -1
- package/dist/{chunk-CW272SBN.js.map → chunk-BHKQEUCN.js.map} +1 -1
- package/dist/{chunk-KE6CXWXD.js → chunk-BSJSKTKW.js} +1 -1
- package/dist/chunk-BSJSKTKW.js.map +1 -0
- package/dist/{chunk-QUHOFRXV.js → chunk-C5BVAUUD.js} +1 -1
- package/dist/chunk-C5BVAUUD.js.map +1 -0
- package/dist/{chunk-2UB3LUDU.js → chunk-DYI5AGYE.js} +1 -1
- package/dist/chunk-DYI5AGYE.js.map +1 -0
- package/dist/{chunk-E74W6L7V.js → chunk-EQRRWEUV.js} +1 -1
- package/dist/chunk-EQRRWEUV.js.map +1 -0
- package/dist/{chunk-5QKL3YIQ.js → chunk-GGDJAKJZ.js} +1 -1
- package/dist/{chunk-5QKL3YIQ.js.map → chunk-GGDJAKJZ.js.map} +1 -1
- package/dist/{chunk-IDRUXPFD.js → chunk-GOX3QHII.js} +1 -1
- package/dist/{chunk-IDRUXPFD.js.map → chunk-GOX3QHII.js.map} +1 -1
- package/dist/{chunk-IVOUXLE7.js → chunk-GXHDNNEZ.js} +1 -1
- package/dist/chunk-GXHDNNEZ.js.map +1 -0
- package/dist/{chunk-3AH7ESNC.js → chunk-J2AC6RFR.js} +1 -1
- package/dist/chunk-J2AC6RFR.js.map +1 -0
- package/dist/{chunk-3JL7QMK4.js → chunk-JF2EVZYA.js} +1 -1
- package/dist/chunk-JF2EVZYA.js.map +1 -0
- package/dist/{chunk-VX4FUPNL.js → chunk-JGB2IDZ6.js} +1 -1
- package/dist/chunk-JGB2IDZ6.js.map +1 -0
- package/dist/{chunk-4JJEZYIX.js → chunk-LKIPRLBQ.js} +1 -1
- package/dist/chunk-LKIPRLBQ.js.map +1 -0
- package/dist/{chunk-TLXGHYP5.js → chunk-M7J5VN2K.js} +1 -1
- package/dist/{chunk-TLXGHYP5.js.map → chunk-M7J5VN2K.js.map} +1 -1
- package/dist/{chunk-WNUSIEB4.js → chunk-NVHDJTCZ.js} +1 -1
- package/dist/{chunk-ZZMM3QTI.js → chunk-O3T2FO7O.js} +1 -1
- package/dist/{chunk-ZZMM3QTI.js.map → chunk-O3T2FO7O.js.map} +1 -1
- package/dist/{chunk-XO5U52AY.js → chunk-OEO6RXVP.js} +1 -1
- package/dist/chunk-OEO6RXVP.js.map +1 -0
- package/dist/{chunk-BRMQZWQQ.js → chunk-QAOGHEYG.js} +1 -1
- package/dist/chunk-QAOGHEYG.js.map +1 -0
- package/dist/{chunk-OYGGJUZ2.js → chunk-S5OTB2OU.js} +1 -1
- package/dist/chunk-S5OTB2OU.js.map +1 -0
- package/dist/{chunk-O3P2AKRX.js → chunk-STZLODEY.js} +1 -1
- package/dist/chunk-STZLODEY.js.map +1 -0
- package/dist/{chunk-BORTGG46.js → chunk-T7ZYREDK.js} +1 -1
- package/dist/chunk-T7ZYREDK.js.map +1 -0
- package/dist/{chunk-CEYKBJZW.js → chunk-TI3ILTHZ.js} +1 -1
- package/dist/chunk-TI3ILTHZ.js.map +1 -0
- package/dist/{chunk-RXY4LNO4.js → chunk-W7P3OFBI.js} +1 -1
- package/dist/chunk-W7P3OFBI.js.map +1 -0
- package/dist/{chunk-U2AGLPI4.js → chunk-WJWT5H6X.js} +1 -1
- package/dist/chunk-WJWT5H6X.js.map +1 -0
- package/dist/{chunk-QC6E54KG.js → chunk-WSJEJ7RX.js} +1 -1
- package/dist/chunk-WSJEJ7RX.js.map +1 -0
- package/dist/{chunk-QDDBU2BV.js → chunk-X2VO5SPG.js} +1 -1
- package/dist/chunk-X2VO5SPG.js.map +1 -0
- package/dist/{chunk-KY6X4QAD.js → chunk-X42K4JVV.js} +1 -1
- package/dist/chunk-X42K4JVV.js.map +1 -0
- package/dist/{chunk-K3NN32XK.js → chunk-XNM55KLN.js} +1 -1
- package/dist/chunk-XNM55KLN.js.map +1 -0
- package/dist/{chunk-YMVHMEXG.js → chunk-XYTZBG4S.js} +1 -1
- package/dist/chunk-XYTZBG4S.js.map +1 -0
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.js +1 -1
- package/dist/errors/index.cjs.map +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/events/index.cjs.map +1 -1
- package/dist/events/index.js +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/models/alarm.cjs.map +1 -1
- package/dist/models/alarm.d.cts +8 -8
- package/dist/models/alarm.d.ts +8 -8
- package/dist/models/alarm.js +1 -1
- package/dist/models/announcement.cjs.map +1 -1
- package/dist/models/announcement.d.cts +13 -13
- package/dist/models/announcement.d.ts +13 -13
- package/dist/models/announcement.js +1 -1
- package/dist/models/camera.cjs.map +1 -1
- package/dist/models/camera.d.cts +23 -23
- package/dist/models/camera.d.ts +23 -23
- package/dist/models/camera.js +1 -1
- package/dist/models/category.cjs.map +1 -1
- package/dist/models/category.d.cts +13 -13
- package/dist/models/category.d.ts +13 -13
- package/dist/models/category.js +1 -1
- package/dist/models/courtesy.cjs.map +1 -1
- package/dist/models/courtesy.d.cts +6 -6
- package/dist/models/courtesy.d.ts +6 -6
- package/dist/models/courtesy.js +1 -1
- package/dist/models/credential.cjs.map +1 -1
- package/dist/models/credential.d.cts +2 -2
- package/dist/models/credential.d.ts +2 -2
- package/dist/models/credential.js +1 -1
- package/dist/models/deviceRouter.cjs.map +1 -1
- package/dist/models/deviceRouter.d.cts +3 -3
- package/dist/models/deviceRouter.d.ts +3 -3
- package/dist/models/deviceRouter.js +1 -1
- package/dist/models/dimmer.cjs.map +1 -1
- package/dist/models/dimmer.d.cts +6 -6
- package/dist/models/dimmer.d.ts +6 -6
- package/dist/models/dimmer.js +1 -1
- package/dist/models/discoveredDevice.cjs.map +1 -1
- package/dist/models/discoveredDevice.d.cts +6 -6
- package/dist/models/discoveredDevice.d.ts +6 -6
- package/dist/models/discoveredDevice.js +1 -1
- package/dist/models/gateway.cjs.map +1 -1
- package/dist/models/gateway.d.cts +3 -3
- package/dist/models/gateway.d.ts +3 -3
- package/dist/models/gateway.js +1 -1
- package/dist/models/identification.cjs.map +1 -1
- package/dist/models/identification.d.cts +2 -2
- package/dist/models/identification.d.ts +2 -2
- package/dist/models/identification.js +1 -1
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/lock.cjs.map +1 -1
- package/dist/models/lock.d.cts +3 -3
- package/dist/models/lock.d.ts +3 -3
- package/dist/models/lock.js +1 -1
- package/dist/models/mediaSource.cjs.map +1 -1
- package/dist/models/mediaSource.d.cts +8 -8
- package/dist/models/mediaSource.d.ts +8 -8
- package/dist/models/mediaSource.js +1 -1
- package/dist/models/motionSensor.cjs.map +1 -1
- package/dist/models/motionSensor.d.cts +3 -3
- package/dist/models/motionSensor.d.ts +3 -3
- package/dist/models/motionSensor.js +1 -1
- package/dist/models/organization.cjs.map +1 -1
- package/dist/models/organization.d.cts +6 -6
- package/dist/models/organization.d.ts +6 -6
- package/dist/models/organization.js +1 -1
- package/dist/models/payment.cjs.map +1 -1
- package/dist/models/payment.d.cts +6 -6
- package/dist/models/payment.d.ts +6 -6
- package/dist/models/payment.js +1 -1
- package/dist/models/product.cjs.map +1 -1
- package/dist/models/product.d.cts +16 -16
- package/dist/models/product.d.ts +16 -16
- package/dist/models/product.js +1 -1
- package/dist/models/property.cjs.map +1 -1
- package/dist/models/property.d.cts +3 -3
- package/dist/models/property.d.ts +3 -3
- package/dist/models/property.js +1 -1
- package/dist/models/reservation.cjs.map +1 -1
- package/dist/models/reservation.d.cts +9 -9
- package/dist/models/reservation.d.ts +9 -9
- package/dist/models/reservation.js +1 -1
- package/dist/models/room.cjs.map +1 -1
- package/dist/models/room.d.cts +304 -182
- package/dist/models/room.d.ts +304 -182
- package/dist/models/room.js +1 -1
- package/dist/models/scene.cjs.map +1 -1
- package/dist/models/scene.d.cts +39 -15
- package/dist/models/scene.d.ts +39 -15
- package/dist/models/scene.js +1 -1
- package/dist/models/session.cjs.map +1 -1
- package/dist/models/session.d.cts +2 -2
- package/dist/models/session.d.ts +2 -2
- package/dist/models/session.js +1 -1
- package/dist/models/space.cjs.map +1 -1
- package/dist/models/space.d.cts +3 -3
- package/dist/models/space.d.ts +3 -3
- package/dist/models/space.js +1 -1
- package/dist/models/switch.cjs.map +1 -1
- package/dist/models/switch.d.cts +3 -3
- package/dist/models/switch.d.ts +3 -3
- package/dist/models/switch.js +1 -1
- package/dist/models/system.cjs.map +1 -1
- package/dist/models/system.d.cts +13 -13
- package/dist/models/system.d.ts +13 -13
- package/dist/models/system.js +1 -1
- package/dist/models/systemUser.cjs.map +1 -1
- package/dist/models/systemUser.d.cts +38 -38
- package/dist/models/systemUser.d.ts +38 -38
- package/dist/models/systemUser.js +1 -1
- package/dist/models/thermostat.cjs.map +1 -1
- package/dist/models/thermostat.d.cts +40 -16
- package/dist/models/thermostat.d.ts +40 -16
- package/dist/models/thermostat.js +1 -1
- package/dist/models/user.cjs.map +1 -1
- package/dist/models/user.d.cts +105 -93
- package/dist/models/user.d.ts +105 -93
- package/dist/models/user.js +1 -1
- package/dist/models/vendor.cjs.map +1 -1
- package/dist/models/vendor.d.cts +19 -19
- package/dist/models/vendor.d.ts +19 -19
- package/dist/models/vendor.js +1 -1
- package/dist/models/windowCovering.cjs.map +1 -1
- package/dist/models/windowCovering.d.cts +6 -6
- package/dist/models/windowCovering.d.ts +6 -6
- package/dist/models/windowCovering.js +1 -1
- package/dist/useCases/index.cjs.map +1 -1
- package/dist/useCases/index.js +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2UB3LUDU.js.map +0 -1
- package/dist/chunk-3AH7ESNC.js.map +0 -1
- package/dist/chunk-3JL7QMK4.js.map +0 -1
- package/dist/chunk-4E6X4AWF.js.map +0 -1
- package/dist/chunk-4JJEZYIX.js.map +0 -1
- package/dist/chunk-4RGKXRCC.js.map +0 -1
- package/dist/chunk-5IUMCO6K.js.map +0 -1
- package/dist/chunk-AT5O6OJM.js.map +0 -1
- package/dist/chunk-BORTGG46.js.map +0 -1
- package/dist/chunk-BRMQZWQQ.js.map +0 -1
- package/dist/chunk-CEYKBJZW.js.map +0 -1
- package/dist/chunk-E74W6L7V.js.map +0 -1
- package/dist/chunk-EFDNWLMA.js.map +0 -1
- package/dist/chunk-HAZA2CC4.js.map +0 -1
- package/dist/chunk-IVOUXLE7.js.map +0 -1
- package/dist/chunk-K3NN32XK.js.map +0 -1
- package/dist/chunk-KE6CXWXD.js.map +0 -1
- package/dist/chunk-KY6X4QAD.js.map +0 -1
- package/dist/chunk-O3P2AKRX.js.map +0 -1
- package/dist/chunk-OYGGJUZ2.js.map +0 -1
- package/dist/chunk-QC6E54KG.js.map +0 -1
- package/dist/chunk-QDDBU2BV.js.map +0 -1
- package/dist/chunk-QUHOFRXV.js.map +0 -1
- package/dist/chunk-RXY4LNO4.js.map +0 -1
- package/dist/chunk-U2AGLPI4.js.map +0 -1
- package/dist/chunk-UBBFO4DV.js.map +0 -1
- package/dist/chunk-VX4FUPNL.js.map +0 -1
- package/dist/chunk-XO5U52AY.js.map +0 -1
- package/dist/chunk-YMVHMEXG.js.map +0 -1
- /package/dist/{chunk-VWZZQPYF.js.map → chunk-5GYG24VQ.js.map} +0 -0
- /package/dist/{chunk-WNUSIEB4.js.map → chunk-NVHDJTCZ.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/dimmer.js"],"sourcesContent":["/* @ts-nocheck */\n/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity\";\nimport { validateDimmer as validate } from \"../validate\";\n\n/**\n * @typedef {Object} DimmerData Any smart dimmer\n * @property {string} id - Identifier of the object.\n * @property {string} [name]\n * @property {\"dimmer\"} type - Default: \"dimmer\"\n * @property {(\"button 1\"|\"button 2\"|\"button 3\"|\"button 4\"|\"button 5\"|\"idle\"|\"powerHasBeedApplied\"|\"acMainsDisconnected\"|\"acMainsReconnected\"|\"replaceBatterySoon\"|\"replaceBatteryNow\"|\"batteryOk\"|\"hardwareFailure\"|\"softwareFailure\"|\"hardwareFailureWithCode\"|\"softwareFailureWithCode\"|\"motionDetection\"|\"airFilterNeedsCleaned\"|\"airFilterNeedsReplaced\"|\"smokeDetected\"|\"outsideSafeTemperatureRange\"|\"outsideSafeHumidityRange\"|\"scheduleMaintenance\"|\"doorAjar\"|\"communicationFailure\"|\"communicationOk\"|\"burglarAlarm\"|\"fireAlarm\")[]} [supportedNotifications]\n * @property {{name?: (\"button 1\"|\"button 2\"|\"button 3\"|\"button 4\"|\"button 5\"|\"idle\"|\"powerHasBeedApplied\"|\"acMainsDisconnected\"|\"acMainsReconnected\"|\"replaceBatterySoon\"|\"replaceBatteryNow\"|\"batteryOk\"|\"hardwareFailure\"|\"softwareFailure\"|\"hardwareFailureWithCode\"|\"softwareFailureWithCode\"|\"motionDetection\"|\"airFilterNeedsCleaned\"|\"airFilterNeedsReplaced\"|\"smokeDetected\"|\"outsideSafeTemperatureRange\"|\"outsideSafeHumidityRange\"|\"scheduleMaintenance\"|\"doorAjar\"|\"communicationFailure\"|\"communicationOk\"|\"burglarAlarm\"|\"fireAlarm\"), timestamp?: number, description?: string}} [notification]\n * @property {(\"adlink\"|\"aws-kinesis\"|\"bacnet\"|\"benq\"|\"butler\"|\"comelit\"|\"crestron\"|\"dell\"|\"digital-watchdog\"|\"distech\"|\"dmp\"|\"doorbird\"|\"dormakaba\"|\"dsc\"|\"ecobee\"|\"epson\"|\"geovision-rs\"|\"geovision-as-manager\"|\"honeywell-vista\"|\"igor\"|\"inncom\"|\"isapi\"|\"kohost-k7\"|\"kohost\"|\"lg\"|\"lg-webos\"|\"lapi\"|\"lirc\"|\"mews\"|\"mht\"|\"newline\"|\"paxton\"|\"pelican-wireless\"|\"power-shades\"|\"rachio\"|\"rebrandly\"|\"relay\"|\"rtsp\"|\"salto\"|\"salto-irn\"|\"samsung\"|\"se\"|\"sendgrid\"|\"smartboard\"|\"sonifi\"|\"stay-n-touch\"|\"storable\"|\"twilio\"|\"unifi\"|\"valcom\"|\"veracross\"|\"vivotek\"|\"vizio\"|\"wisenet\"|\"cloudflare-images\"|\"cloudflare-stream\"|\"insperia-privacy\")} driver - Driver used to communicate with the object.\n * @property {boolean} [offline]\n * @property {(number|null)} level\n * @property {string} [systemId] - Identifier of the object, directly related to the system.\n * @property {number} [watts]\n * @property {string} [icon]\n * @property {string} [manufacturer]\n * @property {string} [modelNumber]\n * @property {string} [serialNumber]\n * @property {string} [firmwareVersion]\n */\n\n/**\n * Any smart dimmer\n * @class Dimmer\n * @extends {Entity}\n */\nexport class Dimmer extends Entity {\n /**\n * @constructor\n * @param {DimmerData} data - The data to initialize the Dimmer with\n */\n constructor(data) {\n super(data);\n this.id = data.id;\n if (data.name !== undefined) this.name = data.name;\n this.type = data.type;\n if (data.supportedNotifications !== undefined)\n this.supportedNotifications = data.supportedNotifications;\n if (data.notification !== undefined) this.notification = data.notification;\n this.driver = data.driver;\n if (data.offline !== undefined) this.offline = data.offline;\n this.level = data.level;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n if (data.watts !== undefined) this.watts = data.watts;\n if (data.icon !== undefined) this.icon = data.icon;\n if (data.manufacturer !== undefined) this.manufacturer = data.manufacturer;\n if (data.modelNumber !== undefined) this.modelNumber = data.modelNumber;\n if (data.serialNumber !== undefined) this.serialNumber = data.serialNumber;\n if (data.firmwareVersion !== undefined)\n this.firmwareVersion = data.firmwareVersion;\n }\n}\n\nObject.defineProperty(Dimmer.prototype, \"schema\", {\n value: {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"dimmer.json\",\n title: \"Dimmer\",\n description: \"Any smart dimmer\",\n type: \"object\",\n properties: {\n id: { $ref: \"definitions.json#/definitions/id\" },\n name: { type: \"string\" },\n type: { type: \"string\", enum: [\"dimmer\"], default: \"dimmer\" },\n supportedNotifications: {\n $ref: \"definitions.json#/definitions/supportedNotifications\",\n },\n notification: { $ref: \"definitions.json#/definitions/notification\" },\n driver: { $ref: \"definitions.json#/definitions/driver\" },\n offline: { type: \"boolean\" },\n level: { type: [\"number\", \"null\"], minimum: 0, maximum: 100 },\n systemId: { $ref: \"definitions.json#/definitions/systemId\" },\n watts: { $ref: \"definitions.json#/definitions/watts\" },\n icon: { type: \"string\" },\n manufacturer: { type: \"string\" },\n modelNumber: { type: \"string\" },\n serialNumber: { type: \"string\" },\n firmwareVersion: { type: \"string\" },\n },\n required: [\"id\", \"type\", \"level\", \"driver\"],\n },\n});\n\nObject.defineProperty(Dimmer.prototype, \"validator\", {\n get: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AA6C;AAAA,MACnE,QAAQ,EAAE,MAAM,uCAAuC;AAAA,MACvD,SAAS,EAAE,MAAM,UAAU;AAAA,MAC3B,OAAO,EAAE,MAAM,CAAC,UAAU,MAAM,GAAG,SAAS,GAAG,SAAS,IAAI;AAAA,MAC5D,UAAU,EAAE,MAAM,yCAAyC;AAAA,MAC3D,OAAO,EAAE,MAAM,sCAAsC;AAAA,MACrD,MAAM,EAAE,MAAM,SAAS;AAAA,MACvB,cAAc,EAAE,MAAM,SAAS;AAAA,MAC/B,aAAa,EAAE,MAAM,SAAS;AAAA,MAC9B,cAAc,EAAE,MAAM,SAAS;AAAA,MAC/B,iBAAiB,EAAE,MAAM,SAAS;AAAA,IACpC;AAAA,IACA,UAAU,CAAC,MAAM,QAAQ,SAAS,QAAQ;AAAA,EAC5C;AACF,CAAC;AAED,OAAO,eAAe,OAAO,WAAW,aAAa;AAAA,EACnD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{UpsertDiscoveredDeviceCommand}from"./chunk-C7JSBZLV.js";import{ValidateAuthCommand}from"./chunk-M7TATPQR.js";import{UpdateTicketCommand}from"./chunk-P4533SBS.js";import{UpdateTicketStatusCommand}from"./chunk-CHCXUUXJ.js";import{UpdateTimeSheetCommand}from"./chunk-A7TILMKI.js";import{UpdateTimeSheetTimeEntryCommand}from"./chunk-XONP4FEK.js";import{UpdateUserCommand}from"./chunk-Y4PZ75PT.js";import{UpdateVendorCommand}from"./chunk-NAF3FABJ.js";import{UpdateWindowCoveringCommand}from"./chunk-5DNQU2FN.js";import{UploadImageCommand}from"./chunk-B24C6J7O.js";import{UpdateReservationExpectedArrivalTimeCommand}from"./chunk-HJ3XIRBN.js";import{UpdateRoomCommand}from"./chunk-OFXNOUCM.js";import{UpdateSelfCommand}from"./chunk-Q6F3LF22.js";import{UpdateSessionCommand}from"./chunk-TLH5ASMS.js";import{UpdateSpaceCommand}from"./chunk-IZXI2SOG.js";import{UpdateSwitchCommand}from"./chunk-PVABPG43.js";import{UpdateSystemCommand}from"./chunk-YLPT5STR.js";import{UpdateThermostatCommand}from"./chunk-LW2F4XCH.js";import{UpdateMediaSourceCommand}from"./chunk-53VNMIPT.js";import{UpdateMessageReadStatusCommand}from"./chunk-3QGQ3HFU.js";import{UpdateNotificationCommand}from"./chunk-3ZPDPK4Y.js";import{UpdateOrganizationCommand}from"./chunk-DWBKLSPD.js";import{UpdatePolicyCommand}from"./chunk-TYVI7KFK.js";import{UpdatePropertyCommand}from"./chunk-YIKGFPRH.js";import{UpdatePropertySettingsCommand}from"./chunk-TPG477WA.js";import{UpdateReservationCommand}from"./chunk-FDLJ6AZF.js";import{UpdateAutomationCommand}from"./chunk-WN4RUVLM.js";import{UpdateCameraCommand}from"./chunk-HWTJDXGP.js";import{UpdateCategoryCommand}from"./chunk-77I2U6PG.js";import{UpdateCourtesyCommand}from"./chunk-IMHSYHFF.js";import{UpdateDimmerCommand}from"./chunk-VBNNVQT5.js";import{UpdateDiscoveredDeviceCommand}from"./chunk-7G55RCQJ.js";import{UpdateIssueCommand}from"./chunk-26JNDUBE.js";import{UpdateLockCommand}from"./chunk-RPBCUIRI.js";import{SetThermostatCommand}from"./chunk-5H6YOMFN.js";import{SetWindowCoveringCommand}from"./chunk-W5VXITWL.js";import{StartRegisterPasskeyCommand}from"./chunk-P6ZNG2FS.js";import{StartSOSCommand}from"./chunk-6SSD62CE.js";import{StopSOSCommand}from"./chunk-P4CFH3SZ.js";import{TipUserCommand}from"./chunk-PJ3NI4YA.js";import{UpdateAlarmCommand}from"./chunk-EK4UYIKD.js";import{UpdateAnnouncementCommand}from"./chunk-GDXSWCUH.js";import{SetDevicesCommand}from"./chunk-DD4IQL2S.js";import{SetDimmerCommand}from"./chunk-PMAZE76W.js";import{SetLockCommand}from"./chunk-ZSOV3MQ6.js";import{SetMediaSourceCommand}from"./chunk-2IL6K5TD.js";import{SetRoomSceneCommand}from"./chunk-QA5BF6ZN.js";import{SetSceneCommand}from"./chunk-KJBFB44G.js";import{SetSpaceSceneCommand}from"./chunk-4PYVYVQC.js";import{SetSwitchCommand}from"./chunk-OUD7C6CI.js";import{SendPreArrivalEmailCommand}from"./chunk-PXREMXKS.js";import{SendPreArrivalSMSCommand}from"./chunk-XOUKFXHJ.js";import{SendRoomControlSMSCommand}from"./chunk-GSFLZ3SM.js";import{SendSMSCommand}from"./chunk-D57GBQ2F.js";import{SendVerificationCodeCommand}from"./chunk-JCALXIJJ.js";import{SetAlarmCommand}from"./chunk-BWKXL2MB.js";import{SetCameraCommand}from"./chunk-S57VOMUR.js";import{SetCourtesyCommand}from"./chunk-BZPVH7WA.js";import{PurchaseReservationPetProductsCommand}from"./chunk-PZKGEYSH.js";import{PurchaseReservationPromosCommand}from"./chunk-5UDBLHPJ.js";import{PurchaseReservationRoomUpgradesCommand}from"./chunk-I3B5XZER.js";import{RequestLoginTokenCommand}from"./chunk-OBPX7U4O.js";import{SendCheckInSMSCommand}from"./chunk-IK3TFIWL.js";import{SendCheckOutSMSCommand}from"./chunk-OMC5UKAS.js";import{SendNotificationCommand}from"./chunk-T2ZSG7LG.js";import{MoveLockCommand}from"./chunk-DTVM7B6N.js";import{MoveMediaSourceCommand}from"./chunk-2QDHY4WA.js";import{MoveSwitchCommand}from"./chunk-UUDDCROP.js";import{MoveThermostatCommand}from"./chunk-HTK4UK2R.js";import{MoveWindowCoveringCommand}from"./chunk-D7FXORN4.js";import{OCRDocumentCommand}from"./chunk-R4MV37ZN.js";import{PurchaseReservationEarlyCheckInProductsCommand}from"./chunk-FNY2LSAT.js";import{PurchaseReservationLateCheckOutProductsCommand}from"./chunk-2O7UQOQH.js";import{LoginStartCommand}from"./chunk-7BRNTSSZ.js";import{LogoutSelfCommand}from"./chunk-G5D4MILJ.js";import{LogoutUserCommand}from"./chunk-XHEZRTFT.js";import{MatchUserIdentificationCommand}from"./chunk-EUP7CZPE.js";import{MoveAlarmCommand}from"./chunk-B7G35LSC.js";import{MoveCameraCommand}from"./chunk-2WIOD3PU.js";import{MoveCourtesyCommand}from"./chunk-XDVJ2R44.js";import{MoveDimmerCommand}from"./chunk-ENCV5ZK6.js";import{ListUserMobileKeysCommand}from"./chunk-77HHVUF3.js";import{ListUserOrdersCommand}from"./chunk-PXZILSHB.js";import{ListUserReservationsCommand}from"./chunk-6QADWWZT.js";import{ListUserSpacesCommand}from"./chunk-QI5A6GSC.js";import{ListUsersCommand}from"./chunk-FTQDS5SO.js";import{ListVendorsCommand}from"./chunk-YTABCOF6.js";import{ListWindowCoveringsCommand}from"./chunk-23PUJHN7.js";import{LoginFinishCommand}from"./chunk-5HJJTLVN.js";import{ListSpacesCommand}from"./chunk-YBLCXCZY.js";import{ListSwitchesCommand}from"./chunk-ITUMVA55.js";import{ListSystemsCommand}from"./chunk-4X7DJFHA.js";import{ListTeamCommand}from"./chunk-LAUKT2AE.js";import{ListThermostatsCommand}from"./chunk-GGOXEJ3W.js";import{ListTicketLocationsCommand}from"./chunk-YFSA7DES.js";import{ListTicketsCommand}from"./chunk-HNQEFJ2F.js";import{ListTimeSheetsCommand}from"./chunk-LVXKLQ7V.js";import{ListPoliciesCommand}from"./chunk-5QXCTJ5F.js";import{ListProductsCommand}from"./chunk-BERYA3VH.js";import{ListPropertiesCommand}from"./chunk-BRZPCV4O.js";import{ListReservationsCommand}from"./chunk-GYJIZPGL.js";import{ListRoomsCommand}from"./chunk-ZB3SCFNR.js";import{ListRoomsInSpaceCommand}from"./chunk-32UWMHVN.js";import{ListScenesCommand}from"./chunk-J45O4NYB.js";import{ListSessionsCommand}from"./chunk-C5DHLA4E.js";import{ListMyPropertiesCommand}from"./chunk-T7BXKWFO.js";import{ListMyReservationsCommand}from"./chunk-LFSXBJUW.js";import{ListMySpacesCommand}from"./chunk-NY2EFLRO.js";import{ListMyTicketsCommand}from"./chunk-E4UBP742.js";import{ListMyTimeSheetsCommand}from"./chunk-PQZMUNKU.js";import{ListNotificationsCommand}from"./chunk-3CEPEOCR.js";import{ListOrdersCommand}from"./chunk-HGKTO2NG.js";import{ListOrganizationsCommand}from"./chunk-HL5GAGNI.js";import{ListCategoriesCommand}from"./chunk-M573TBJP.js";import{ListCourtesyCommand}from"./chunk-WJCGFY5Q.js";import{ListDimmersCommand}from"./chunk-KY3YNTQ2.js";import{ListDiscoveredDevicesCommand}from"./chunk-CU3YQYRP.js";import{ListIssuesCommand}from"./chunk-NNX5L5M2.js";import{ListLocksCommand}from"./chunk-RK3ITEDR.js";import{ListMediaSourcesCommand}from"./chunk-55D5A6DP.js";import{ListMyOrdersCommand}from"./chunk-4O2TKMSA.js";import{FinishRegisterPasskeyCommand}from"./chunk-TLL7LIXS.js";import{LeaveTicketCommand}from"./chunk-LISQ4HEZ.js";import{ListAlarmsCommand}from"./chunk-SKNUKGDB.js";import{ListAnnouncementsCommand}from"./chunk-L7T4I4SQ.js";import{ListAutomationsCommand}from"./chunk-R2FWHPQA.js";import{ListCameraStreamPreviewsCommand}from"./chunk-DAHTKF26.js";import{ListCamerasCommand}from"./chunk-R4QVB3LQ.js";import{DescribeTicketStatsCommand}from"./chunk-RHNIGNOZ.js";import{DescribeTimeSheetCommand}from"./chunk-A7GG2TVC.js";import{DescribeTimeSheetStatsCommand}from"./chunk-7DC2ARL4.js";import{DescribeUserCommand}from"./chunk-Y2CIEUOO.js";import{DescribeVendorCommand}from"./chunk-B5TQWVBJ.js";import{DescribeWindowCoveringCommand}from"./chunk-URK7XA4J.js";import{DiscoverReservationsCommand}from"./chunk-CQGHT4XO.js";import{EmailUserAccountSetupCommand}from"./chunk-FGYCDBKH.js";import{DescribeSelfCommand}from"./chunk-LNHXUQYL.js";import{DescribeSessionCommand}from"./chunk-2QM7Z4UX.js";import{DescribeSpaceCommand}from"./chunk-ORI2H4NU.js";import{DescribeSwitchCommand}from"./chunk-4PW2QIOA.js";import{DescribeSystemCommand}from"./chunk-A3CQTI3Q.js";import{DescribeThermostatCommand}from"./chunk-BPYEOZO4.js";import{DescribeTicketCommand}from"./chunk-DIH5R3XM.js";import{DescribeTicketFiltersCommand}from"./chunk-2SY6P677.js";import{DescribeReservationCommand}from"./chunk-AVVJQTRJ.js";import{DescribeReservationEarlyCheckInProductsCommand}from"./chunk-JXRQFP6D.js";import{DescribeReservationLateCheckOutProductsCommand}from"./chunk-27NTA47W.js";import{DescribeReservationPetProductsCommand}from"./chunk-VJ6CYCB4.js";import{DescribeReservationPromosCommand}from"./chunk-Z4UI2Z3T.js";import{DescribeReservationRoomUpgradesCommand}from"./chunk-GRW6OZF2.js";import{DescribeRoomCommand}from"./chunk-YJX6IXAC.js";import{DescribeSOSCommand}from"./chunk-N3O2RPY7.js";import{DescribeMyMobileKeyAppCommand}from"./chunk-NNDIIZGC.js";import{DescribeMyOrganizationCommand}from"./chunk-XP5SG7L2.js";import{DescribeMyPasskeyRegistrationsCommand}from"./chunk-PI4IZNDZ.js";import{DescribeNotificationCommand}from"./chunk-ZPG5QZTP.js";import{DescribeOrganizationCommand}from"./chunk-MJYJ2KAE.js";import{DescribePolicyCommand}from"./chunk-FLCOZN5W.js";import{DescribeProductCommand}from"./chunk-AQCEJOKW.js";import{DescribePropertyCommand}from"./chunk-OETCIQSK.js";import{DescribeCourtesyCommand}from"./chunk-S4ZGFVGN.js";import{DescribeDimmerCommand}from"./chunk-AIQCCGVA.js";import{DescribeDiscoveredDeviceCommand}from"./chunk-CRN7VQQF.js";import{DescribeIssueCommand}from"./chunk-4OUA3LJX.js";import{DescribeLockCommand}from"./chunk-BTFAQXPT.js";import{DescribeLockCredentialCommand}from"./chunk-LG4PH7OT.js";import{DescribeMediaSourceCommand}from"./chunk-AMFJLADB.js";import{DescribeMyAuthCommand}from"./chunk-M5B55VKO.js";import{DeleteWindowCoveringCommand}from"./chunk-ICACX25E.js";import{DescribeAlarmCommand}from"./chunk-VKJ6PHC7.js";import{DescribeAlarmConfigCommand}from"./chunk-53WND32I.js";import{DescribeAnnouncementCommand}from"./chunk-PRM5U7XZ.js";import{DescribeAutomationCommand}from"./chunk-5I2ISSKC.js";import{DescribeCameraCommand}from"./chunk-7HMF3YCM.js";import{DescribeCameraConfigCommand}from"./chunk-AKE6AWIP.js";import{DescribeCategoryCommand}from"./chunk-WC6KBQAQ.js";import{DeleteSystemCommand}from"./chunk-35CCYEYM.js";import{DeleteThermostatCommand}from"./chunk-CF7MXNFK.js";import{DeleteTicketCommand}from"./chunk-36262U4E.js";import{DeleteTimeSheetCommand}from"./chunk-TZJL7VU4.js";import{DeleteTimeSheetTimeEntryCommand}from"./chunk-YEMC6WGZ.js";import{DeleteUserCommand}from"./chunk-D5DOI5MQ.js";import{DeleteUserCredentialCommand}from"./chunk-VIUVXWCB.js";import{DeleteVendorCommand}from"./chunk-IJPU72AM.js";import{DeleteMediaSourceCommand}from"./chunk-N7CJZZ7U.js";import{DeleteNotificationCommand}from"./chunk-2JNC542E.js";import{DeletePolicyCommand}from"./chunk-OHBI4WE7.js";import{DeleteReservationCommand}from"./chunk-W6CKPKGU.js";import{DeleteRoomCommand}from"./chunk-AO4TTSCE.js";import{DeleteSessionCommand}from"./chunk-DQRFHYJO.js";import{DeleteSpaceCommand}from"./chunk-3LIZA4WP.js";import{DeleteSwitchCommand}from"./chunk-ZVMC2YQ5.js";import{DeleteCameraCommand}from"./chunk-JFFWUOTH.js";import{DeleteCategoryCommand}from"./chunk-O3ALFKOU.js";import{DeleteCourtesyCommand}from"./chunk-ZFZ4LD23.js";import{DeleteDimmerCommand}from"./chunk-3YCXS45T.js";import{DeleteDiscoveredDeviceCommand}from"./chunk-H6XT22OW.js";import{DeleteIssueCommand}from"./chunk-WWZH5VUV.js";import{DeleteLockCommand}from"./chunk-4KQ5F6UH.js";import{DeleteMediaFileCommand}from"./chunk-TEP5NPXV.js";import{CreateTimeSheetTimeEntryCommand}from"./chunk-LWFL4WTZ.js";import{CreateUserCommand}from"./chunk-TGR7EWI5.js";import{CreateUserMobileKeyCommand}from"./chunk-HGP2QVKS.js";import{CreateVendorCommand}from"./chunk-G6BCPGDF.js";import{CreateWindowCoveringCommand}from"./chunk-DTYCYZBU.js";import{DeleteAlarmCommand}from"./chunk-7E7N4I6Q.js";import{DeleteAnnouncementCommand}from"./chunk-KO6QTUYQ.js";import{DeleteAutomationCommand}from"./chunk-EMF6OWI7.js";import{CreateSessionCommand}from"./chunk-N4ZPDN33.js";import{CreateSpaceCommand}from"./chunk-2T47BIBX.js";import{CreateSwitchCommand}from"./chunk-I66VL3NG.js";import{CreateSystemCommand}from"./chunk-RHMZ26GV.js";import{CreateThermostatCommand}from"./chunk-PM3N4CT2.js";import{CreateTicketCommand}from"./chunk-KBS25CSR.js";import{CreateTicketMessageCommand}from"./chunk-5DX2OPHX.js";import{CreateTimeSheetCommand}from"./chunk-2CB47PCP.js";import{CreateNotificationCommand}from"./chunk-RJ4LV7PB.js";import{CreateOrganizationCommand}from"./chunk-TEUMAFZH.js";import{CreatePolicyCommand}from"./chunk-7OADEXAB.js";import{CreatePropertyCommand}from"./chunk-ECT6N4V6.js";import{CreateReservationCommand}from"./chunk-JARDOYE6.js";import{CreateRoomCommand}from"./chunk-JKIH5JC7.js";import{CreateRoomInSpaceCommand}from"./chunk-HTRYMGCE.js";import{CreateSceneCommand}from"./chunk-TPKROBGV.js";import{CreateDimmerCommand}from"./chunk-MWI43I5I.js";import{CreateDiscoveredDeviceCommand}from"./chunk-CTYQCN7S.js";import{CreateDiscoveredDeviceAssociationCommand}from"./chunk-R7S3S3GL.js";import{CreateDiscoveredDeviceAssociationMapCommand}from"./chunk-ST6AUNOP.js";import{CreateImageUploadEndpointCommand}from"./chunk-TWGO4A5Y.js";import{CreateIssueCommand}from"./chunk-4AECNH3F.js";import{CreateLockCommand}from"./chunk-OXUASXM7.js";import{CreateMediaSourceCommand}from"./chunk-3WJYMSNN.js";import{CreateAlarmCommand}from"./chunk-N2MJA4TZ.js";import{CreateAnnouncementCommand}from"./chunk-BRAAKAMQ.js";import{CreateAutomationCommand}from"./chunk-IFCZ6ZQM.js";import{CreateCameraCommand}from"./chunk-YNJWQVHP.js";import{CreateCategoryCommand}from"./chunk-73ZQAT3C.js";import{CreateCourtesyCommand}from"./chunk-SK7IEZ5Z.js";import{CreateDefaultAutomationsCommand}from"./chunk-ON35QBFF.js";import{CreateDefaultScenesCommand}from"./chunk-5H2DUCBY.js";import{BatchNotifyCheckInCommand}from"./chunk-52WY7JLC.js";import{BatchNotifyCheckOutCommand}from"./chunk-RKY3LNNR.js";import{BatchNotifyMissedCheckOutCommand}from"./chunk-NEMLMGQO.js";import{BatchNotifyPreArrivalCommand}from"./chunk-AXUQ2QWL.js";import{BulkUpdateIssueCommand}from"./chunk-SKVW66UZ.js";import{CheckInReservationCommand}from"./chunk-3CDZBSNN.js";import{CheckOutReservationCommand}from"./chunk-V3VRHSYR.js";import{CheckVerificationCodeCommand}from"./chunk-A4ZR7HMD.js";import{AssignSpaceToReservationCommand}from"./chunk-3UC7ONO5.js";import{AutoAssociateDiscoveredDevicesCommand}from"./chunk-FYYOKPDT.js";import{AutoCloseTicketsCommand}from"./chunk-WVSPCDJ3.js";import{RefreshTokenCommand}from"./chunk-XY46T6DS.js";import{__export}from"./chunk-XE4OXN2W.js";var useCases_exports={};__export(useCases_exports,{AssignSpaceToReservationCommand:()=>AssignSpaceToReservationCommand,AutoAssociateDiscoveredDevicesCommand:()=>AutoAssociateDiscoveredDevicesCommand,AutoCloseTicketsCommand:()=>AutoCloseTicketsCommand,BatchNotifyCheckInCommand:()=>BatchNotifyCheckInCommand,BatchNotifyCheckOutCommand:()=>BatchNotifyCheckOutCommand,BatchNotifyMissedCheckOutCommand:()=>BatchNotifyMissedCheckOutCommand,BatchNotifyPreArrivalCommand:()=>BatchNotifyPreArrivalCommand,BulkUpdateIssueCommand:()=>BulkUpdateIssueCommand,CheckInReservationCommand:()=>CheckInReservationCommand,CheckOutReservationCommand:()=>CheckOutReservationCommand,CheckVerificationCodeCommand:()=>CheckVerificationCodeCommand,CreateAlarmCommand:()=>CreateAlarmCommand,CreateAnnouncementCommand:()=>CreateAnnouncementCommand,CreateAutomationCommand:()=>CreateAutomationCommand,CreateCameraCommand:()=>CreateCameraCommand,CreateCategoryCommand:()=>CreateCategoryCommand,CreateCourtesyCommand:()=>CreateCourtesyCommand,CreateDefaultAutomationsCommand:()=>CreateDefaultAutomationsCommand,CreateDefaultScenesCommand:()=>CreateDefaultScenesCommand,CreateDimmerCommand:()=>CreateDimmerCommand,CreateDiscoveredDeviceAssociationCommand:()=>CreateDiscoveredDeviceAssociationCommand,CreateDiscoveredDeviceAssociationMapCommand:()=>CreateDiscoveredDeviceAssociationMapCommand,CreateDiscoveredDeviceCommand:()=>CreateDiscoveredDeviceCommand,CreateImageUploadEndpointCommand:()=>CreateImageUploadEndpointCommand,CreateIssueCommand:()=>CreateIssueCommand,CreateLockCommand:()=>CreateLockCommand,CreateMediaSourceCommand:()=>CreateMediaSourceCommand,CreateNotificationCommand:()=>CreateNotificationCommand,CreateOrganizationCommand:()=>CreateOrganizationCommand,CreatePolicyCommand:()=>CreatePolicyCommand,CreatePropertyCommand:()=>CreatePropertyCommand,CreateReservationCommand:()=>CreateReservationCommand,CreateRoomCommand:()=>CreateRoomCommand,CreateRoomInSpaceCommand:()=>CreateRoomInSpaceCommand,CreateSceneCommand:()=>CreateSceneCommand,CreateSessionCommand:()=>CreateSessionCommand,CreateSpaceCommand:()=>CreateSpaceCommand,CreateSwitchCommand:()=>CreateSwitchCommand,CreateSystemCommand:()=>CreateSystemCommand,CreateThermostatCommand:()=>CreateThermostatCommand,CreateTicketCommand:()=>CreateTicketCommand,CreateTicketMessageCommand:()=>CreateTicketMessageCommand,CreateTimeSheetCommand:()=>CreateTimeSheetCommand,CreateTimeSheetTimeEntryCommand:()=>CreateTimeSheetTimeEntryCommand,CreateUserCommand:()=>CreateUserCommand,CreateUserMobileKeyCommand:()=>CreateUserMobileKeyCommand,CreateVendorCommand:()=>CreateVendorCommand,CreateWindowCoveringCommand:()=>CreateWindowCoveringCommand,DeleteAlarmCommand:()=>DeleteAlarmCommand,DeleteAnnouncementCommand:()=>DeleteAnnouncementCommand,DeleteAutomationCommand:()=>DeleteAutomationCommand,DeleteCameraCommand:()=>DeleteCameraCommand,DeleteCategoryCommand:()=>DeleteCategoryCommand,DeleteCourtesyCommand:()=>DeleteCourtesyCommand,DeleteDimmerCommand:()=>DeleteDimmerCommand,DeleteDiscoveredDeviceCommand:()=>DeleteDiscoveredDeviceCommand,DeleteIssueCommand:()=>DeleteIssueCommand,DeleteLockCommand:()=>DeleteLockCommand,DeleteMediaFileCommand:()=>DeleteMediaFileCommand,DeleteMediaSourceCommand:()=>DeleteMediaSourceCommand,DeleteNotificationCommand:()=>DeleteNotificationCommand,DeletePolicyCommand:()=>DeletePolicyCommand,DeleteReservationCommand:()=>DeleteReservationCommand,DeleteRoomCommand:()=>DeleteRoomCommand,DeleteSessionCommand:()=>DeleteSessionCommand,DeleteSpaceCommand:()=>DeleteSpaceCommand,DeleteSwitchCommand:()=>DeleteSwitchCommand,DeleteSystemCommand:()=>DeleteSystemCommand,DeleteThermostatCommand:()=>DeleteThermostatCommand,DeleteTicketCommand:()=>DeleteTicketCommand,DeleteTimeSheetCommand:()=>DeleteTimeSheetCommand,DeleteTimeSheetTimeEntryCommand:()=>DeleteTimeSheetTimeEntryCommand,DeleteUserCommand:()=>DeleteUserCommand,DeleteUserCredentialCommand:()=>DeleteUserCredentialCommand,DeleteVendorCommand:()=>DeleteVendorCommand,DeleteWindowCoveringCommand:()=>DeleteWindowCoveringCommand,DescribeAlarmCommand:()=>DescribeAlarmCommand,DescribeAlarmConfigCommand:()=>DescribeAlarmConfigCommand,DescribeAnnouncementCommand:()=>DescribeAnnouncementCommand,DescribeAutomationCommand:()=>DescribeAutomationCommand,DescribeCameraCommand:()=>DescribeCameraCommand,DescribeCameraConfigCommand:()=>DescribeCameraConfigCommand,DescribeCategoryCommand:()=>DescribeCategoryCommand,DescribeCourtesyCommand:()=>DescribeCourtesyCommand,DescribeDimmerCommand:()=>DescribeDimmerCommand,DescribeDiscoveredDeviceCommand:()=>DescribeDiscoveredDeviceCommand,DescribeIssueCommand:()=>DescribeIssueCommand,DescribeLockCommand:()=>DescribeLockCommand,DescribeLockCredentialCommand:()=>DescribeLockCredentialCommand,DescribeMediaSourceCommand:()=>DescribeMediaSourceCommand,DescribeMyAuthCommand:()=>DescribeMyAuthCommand,DescribeMyMobileKeyAppCommand:()=>DescribeMyMobileKeyAppCommand,DescribeMyOrganizationCommand:()=>DescribeMyOrganizationCommand,DescribeMyPasskeyRegistrationsCommand:()=>DescribeMyPasskeyRegistrationsCommand,DescribeNotificationCommand:()=>DescribeNotificationCommand,DescribeOrganizationCommand:()=>DescribeOrganizationCommand,DescribePolicyCommand:()=>DescribePolicyCommand,DescribeProductCommand:()=>DescribeProductCommand,DescribePropertyCommand:()=>DescribePropertyCommand,DescribeReservationCommand:()=>DescribeReservationCommand,DescribeReservationEarlyCheckInProductsCommand:()=>DescribeReservationEarlyCheckInProductsCommand,DescribeReservationLateCheckOutProductsCommand:()=>DescribeReservationLateCheckOutProductsCommand,DescribeReservationPetProductsCommand:()=>DescribeReservationPetProductsCommand,DescribeReservationPromosCommand:()=>DescribeReservationPromosCommand,DescribeReservationRoomUpgradesCommand:()=>DescribeReservationRoomUpgradesCommand,DescribeRoomCommand:()=>DescribeRoomCommand,DescribeSOSCommand:()=>DescribeSOSCommand,DescribeSelfCommand:()=>DescribeSelfCommand,DescribeSessionCommand:()=>DescribeSessionCommand,DescribeSpaceCommand:()=>DescribeSpaceCommand,DescribeSwitchCommand:()=>DescribeSwitchCommand,DescribeSystemCommand:()=>DescribeSystemCommand,DescribeThermostatCommand:()=>DescribeThermostatCommand,DescribeTicketCommand:()=>DescribeTicketCommand,DescribeTicketFiltersCommand:()=>DescribeTicketFiltersCommand,DescribeTicketStatsCommand:()=>DescribeTicketStatsCommand,DescribeTimeSheetCommand:()=>DescribeTimeSheetCommand,DescribeTimeSheetStatsCommand:()=>DescribeTimeSheetStatsCommand,DescribeUserCommand:()=>DescribeUserCommand,DescribeVendorCommand:()=>DescribeVendorCommand,DescribeWindowCoveringCommand:()=>DescribeWindowCoveringCommand,DiscoverReservationsCommand:()=>DiscoverReservationsCommand,EmailUserAccountSetupCommand:()=>EmailUserAccountSetupCommand,FinishRegisterPasskeyCommand:()=>FinishRegisterPasskeyCommand,LeaveTicketCommand:()=>LeaveTicketCommand,ListAlarmsCommand:()=>ListAlarmsCommand,ListAnnouncementsCommand:()=>ListAnnouncementsCommand,ListAutomationsCommand:()=>ListAutomationsCommand,ListCameraStreamPreviewsCommand:()=>ListCameraStreamPreviewsCommand,ListCamerasCommand:()=>ListCamerasCommand,ListCategoriesCommand:()=>ListCategoriesCommand,ListCourtesyCommand:()=>ListCourtesyCommand,ListDimmersCommand:()=>ListDimmersCommand,ListDiscoveredDevicesCommand:()=>ListDiscoveredDevicesCommand,ListIssuesCommand:()=>ListIssuesCommand,ListLocksCommand:()=>ListLocksCommand,ListMediaSourcesCommand:()=>ListMediaSourcesCommand,ListMyOrdersCommand:()=>ListMyOrdersCommand,ListMyPropertiesCommand:()=>ListMyPropertiesCommand,ListMyReservationsCommand:()=>ListMyReservationsCommand,ListMySpacesCommand:()=>ListMySpacesCommand,ListMyTicketsCommand:()=>ListMyTicketsCommand,ListMyTimeSheetsCommand:()=>ListMyTimeSheetsCommand,ListNotificationsCommand:()=>ListNotificationsCommand,ListOrdersCommand:()=>ListOrdersCommand,ListOrganizationsCommand:()=>ListOrganizationsCommand,ListPoliciesCommand:()=>ListPoliciesCommand,ListProductsCommand:()=>ListProductsCommand,ListPropertiesCommand:()=>ListPropertiesCommand,ListReservationsCommand:()=>ListReservationsCommand,ListRoomsCommand:()=>ListRoomsCommand,ListRoomsInSpaceCommand:()=>ListRoomsInSpaceCommand,ListScenesCommand:()=>ListScenesCommand,ListSessionsCommand:()=>ListSessionsCommand,ListSpacesCommand:()=>ListSpacesCommand,ListSwitchesCommand:()=>ListSwitchesCommand,ListSystemsCommand:()=>ListSystemsCommand,ListTeamCommand:()=>ListTeamCommand,ListThermostatsCommand:()=>ListThermostatsCommand,ListTicketLocationsCommand:()=>ListTicketLocationsCommand,ListTicketsCommand:()=>ListTicketsCommand,ListTimeSheetsCommand:()=>ListTimeSheetsCommand,ListUserMobileKeysCommand:()=>ListUserMobileKeysCommand,ListUserOrdersCommand:()=>ListUserOrdersCommand,ListUserReservationsCommand:()=>ListUserReservationsCommand,ListUserSpacesCommand:()=>ListUserSpacesCommand,ListUsersCommand:()=>ListUsersCommand,ListVendorsCommand:()=>ListVendorsCommand,ListWindowCoveringsCommand:()=>ListWindowCoveringsCommand,LoginFinishCommand:()=>LoginFinishCommand,LoginStartCommand:()=>LoginStartCommand,LogoutSelfCommand:()=>LogoutSelfCommand,LogoutUserCommand:()=>LogoutUserCommand,MatchUserIdentificationCommand:()=>MatchUserIdentificationCommand,MoveAlarmCommand:()=>MoveAlarmCommand,MoveCameraCommand:()=>MoveCameraCommand,MoveCourtesyCommand:()=>MoveCourtesyCommand,MoveDimmerCommand:()=>MoveDimmerCommand,MoveLockCommand:()=>MoveLockCommand,MoveMediaSourceCommand:()=>MoveMediaSourceCommand,MoveSwitchCommand:()=>MoveSwitchCommand,MoveThermostatCommand:()=>MoveThermostatCommand,MoveWindowCoveringCommand:()=>MoveWindowCoveringCommand,OCRDocumentCommand:()=>OCRDocumentCommand,PurchaseReservationEarlyCheckInProductsCommand:()=>PurchaseReservationEarlyCheckInProductsCommand,PurchaseReservationLateCheckOutProductsCommand:()=>PurchaseReservationLateCheckOutProductsCommand,PurchaseReservationPetProductsCommand:()=>PurchaseReservationPetProductsCommand,PurchaseReservationPromosCommand:()=>PurchaseReservationPromosCommand,PurchaseReservationRoomUpgradesCommand:()=>PurchaseReservationRoomUpgradesCommand,RefreshTokenCommand:()=>RefreshTokenCommand,RequestLoginTokenCommand:()=>RequestLoginTokenCommand,SendCheckInSMSCommand:()=>SendCheckInSMSCommand,SendCheckOutSMSCommand:()=>SendCheckOutSMSCommand,SendNotificationCommand:()=>SendNotificationCommand,SendPreArrivalEmailCommand:()=>SendPreArrivalEmailCommand,SendPreArrivalSMSCommand:()=>SendPreArrivalSMSCommand,SendRoomControlSMSCommand:()=>SendRoomControlSMSCommand,SendSMSCommand:()=>SendSMSCommand,SendVerificationCodeCommand:()=>SendVerificationCodeCommand,SetAlarmCommand:()=>SetAlarmCommand,SetCameraCommand:()=>SetCameraCommand,SetCourtesyCommand:()=>SetCourtesyCommand,SetDevicesCommand:()=>SetDevicesCommand,SetDimmerCommand:()=>SetDimmerCommand,SetLockCommand:()=>SetLockCommand,SetMediaSourceCommand:()=>SetMediaSourceCommand,SetRoomSceneCommand:()=>SetRoomSceneCommand,SetSceneCommand:()=>SetSceneCommand,SetSpaceSceneCommand:()=>SetSpaceSceneCommand,SetSwitchCommand:()=>SetSwitchCommand,SetThermostatCommand:()=>SetThermostatCommand,SetWindowCoveringCommand:()=>SetWindowCoveringCommand,StartRegisterPasskeyCommand:()=>StartRegisterPasskeyCommand,StartSOSCommand:()=>StartSOSCommand,StopSOSCommand:()=>StopSOSCommand,TipUserCommand:()=>TipUserCommand,UpdateAlarmCommand:()=>UpdateAlarmCommand,UpdateAnnouncementCommand:()=>UpdateAnnouncementCommand,UpdateAutomationCommand:()=>UpdateAutomationCommand,UpdateCameraCommand:()=>UpdateCameraCommand,UpdateCategoryCommand:()=>UpdateCategoryCommand,UpdateCourtesyCommand:()=>UpdateCourtesyCommand,UpdateDimmerCommand:()=>UpdateDimmerCommand,UpdateDiscoveredDeviceCommand:()=>UpdateDiscoveredDeviceCommand,UpdateIssueCommand:()=>UpdateIssueCommand,UpdateLockCommand:()=>UpdateLockCommand,UpdateMediaSourceCommand:()=>UpdateMediaSourceCommand,UpdateMessageReadStatusCommand:()=>UpdateMessageReadStatusCommand,UpdateNotificationCommand:()=>UpdateNotificationCommand,UpdateOrganizationCommand:()=>UpdateOrganizationCommand,UpdatePolicyCommand:()=>UpdatePolicyCommand,UpdatePropertyCommand:()=>UpdatePropertyCommand,UpdatePropertySettingsCommand:()=>UpdatePropertySettingsCommand,UpdateReservationCommand:()=>UpdateReservationCommand,UpdateReservationExpectedArrivalTimeCommand:()=>UpdateReservationExpectedArrivalTimeCommand,UpdateRoomCommand:()=>UpdateRoomCommand,UpdateSelfCommand:()=>UpdateSelfCommand,UpdateSessionCommand:()=>UpdateSessionCommand,UpdateSpaceCommand:()=>UpdateSpaceCommand,UpdateSwitchCommand:()=>UpdateSwitchCommand,UpdateSystemCommand:()=>UpdateSystemCommand,UpdateThermostatCommand:()=>UpdateThermostatCommand,UpdateTicketCommand:()=>UpdateTicketCommand,UpdateTicketStatusCommand:()=>UpdateTicketStatusCommand,UpdateTimeSheetCommand:()=>UpdateTimeSheetCommand,UpdateTimeSheetTimeEntryCommand:()=>UpdateTimeSheetTimeEntryCommand,UpdateUserCommand:()=>UpdateUserCommand,UpdateVendorCommand:()=>UpdateVendorCommand,UpdateWindowCoveringCommand:()=>UpdateWindowCoveringCommand,UploadImageCommand:()=>UploadImageCommand,UpsertDiscoveredDeviceCommand:()=>UpsertDiscoveredDeviceCommand,ValidateAuthCommand:()=>ValidateAuthCommand});export{useCases_exports};//# sourceMappingURL=chunk-TLXGHYP5.js.map
|
|
1
|
+
import{UpsertDiscoveredDeviceCommand}from"./chunk-C7JSBZLV.js";import{ValidateAuthCommand}from"./chunk-M7TATPQR.js";import{UpdateTicketCommand}from"./chunk-P4533SBS.js";import{UpdateTicketStatusCommand}from"./chunk-CHCXUUXJ.js";import{UpdateTimeSheetCommand}from"./chunk-A7TILMKI.js";import{UpdateTimeSheetTimeEntryCommand}from"./chunk-XONP4FEK.js";import{UpdateUserCommand}from"./chunk-Y4PZ75PT.js";import{UpdateVendorCommand}from"./chunk-NAF3FABJ.js";import{UpdateWindowCoveringCommand}from"./chunk-5DNQU2FN.js";import{UploadImageCommand}from"./chunk-B24C6J7O.js";import{UpdateReservationExpectedArrivalTimeCommand}from"./chunk-HJ3XIRBN.js";import{UpdateRoomCommand}from"./chunk-OFXNOUCM.js";import{UpdateSelfCommand}from"./chunk-Q6F3LF22.js";import{UpdateSessionCommand}from"./chunk-TLH5ASMS.js";import{UpdateSpaceCommand}from"./chunk-IZXI2SOG.js";import{UpdateSwitchCommand}from"./chunk-PVABPG43.js";import{UpdateSystemCommand}from"./chunk-YLPT5STR.js";import{UpdateThermostatCommand}from"./chunk-LW2F4XCH.js";import{UpdateMediaSourceCommand}from"./chunk-53VNMIPT.js";import{UpdateMessageReadStatusCommand}from"./chunk-3QGQ3HFU.js";import{UpdateNotificationCommand}from"./chunk-3ZPDPK4Y.js";import{UpdateOrganizationCommand}from"./chunk-DWBKLSPD.js";import{UpdatePolicyCommand}from"./chunk-TYVI7KFK.js";import{UpdatePropertyCommand}from"./chunk-YIKGFPRH.js";import{UpdatePropertySettingsCommand}from"./chunk-TPG477WA.js";import{UpdateReservationCommand}from"./chunk-FDLJ6AZF.js";import{UpdateAutomationCommand}from"./chunk-WN4RUVLM.js";import{UpdateCameraCommand}from"./chunk-HWTJDXGP.js";import{UpdateCategoryCommand}from"./chunk-77I2U6PG.js";import{UpdateCourtesyCommand}from"./chunk-IMHSYHFF.js";import{UpdateDimmerCommand}from"./chunk-VBNNVQT5.js";import{UpdateDiscoveredDeviceCommand}from"./chunk-7G55RCQJ.js";import{UpdateIssueCommand}from"./chunk-26JNDUBE.js";import{UpdateLockCommand}from"./chunk-RPBCUIRI.js";import{SetThermostatCommand}from"./chunk-5H6YOMFN.js";import{SetWindowCoveringCommand}from"./chunk-W5VXITWL.js";import{StartRegisterPasskeyCommand}from"./chunk-P6ZNG2FS.js";import{StartSOSCommand}from"./chunk-6SSD62CE.js";import{StopSOSCommand}from"./chunk-P4CFH3SZ.js";import{TipUserCommand}from"./chunk-PJ3NI4YA.js";import{UpdateAlarmCommand}from"./chunk-EK4UYIKD.js";import{UpdateAnnouncementCommand}from"./chunk-GDXSWCUH.js";import{SetDevicesCommand}from"./chunk-DD4IQL2S.js";import{SetDimmerCommand}from"./chunk-PMAZE76W.js";import{SetLockCommand}from"./chunk-ZSOV3MQ6.js";import{SetMediaSourceCommand}from"./chunk-2IL6K5TD.js";import{SetRoomSceneCommand}from"./chunk-QA5BF6ZN.js";import{SetSceneCommand}from"./chunk-KJBFB44G.js";import{SetSpaceSceneCommand}from"./chunk-4PYVYVQC.js";import{SetSwitchCommand}from"./chunk-OUD7C6CI.js";import{SendPreArrivalEmailCommand}from"./chunk-PXREMXKS.js";import{SendPreArrivalSMSCommand}from"./chunk-XOUKFXHJ.js";import{SendRoomControlSMSCommand}from"./chunk-GSFLZ3SM.js";import{SendSMSCommand}from"./chunk-D57GBQ2F.js";import{SendVerificationCodeCommand}from"./chunk-JCALXIJJ.js";import{SetAlarmCommand}from"./chunk-BWKXL2MB.js";import{SetCameraCommand}from"./chunk-S57VOMUR.js";import{SetCourtesyCommand}from"./chunk-BZPVH7WA.js";import{PurchaseReservationPetProductsCommand}from"./chunk-PZKGEYSH.js";import{PurchaseReservationPromosCommand}from"./chunk-5UDBLHPJ.js";import{PurchaseReservationRoomUpgradesCommand}from"./chunk-I3B5XZER.js";import{RequestLoginTokenCommand}from"./chunk-OBPX7U4O.js";import{SendCheckInSMSCommand}from"./chunk-IK3TFIWL.js";import{SendCheckOutSMSCommand}from"./chunk-OMC5UKAS.js";import{SendNotificationCommand}from"./chunk-T2ZSG7LG.js";import{MoveLockCommand}from"./chunk-DTVM7B6N.js";import{MoveMediaSourceCommand}from"./chunk-2QDHY4WA.js";import{MoveSwitchCommand}from"./chunk-UUDDCROP.js";import{MoveThermostatCommand}from"./chunk-HTK4UK2R.js";import{MoveWindowCoveringCommand}from"./chunk-D7FXORN4.js";import{OCRDocumentCommand}from"./chunk-R4MV37ZN.js";import{PurchaseReservationEarlyCheckInProductsCommand}from"./chunk-FNY2LSAT.js";import{PurchaseReservationLateCheckOutProductsCommand}from"./chunk-2O7UQOQH.js";import{LoginStartCommand}from"./chunk-7BRNTSSZ.js";import{LogoutSelfCommand}from"./chunk-G5D4MILJ.js";import{LogoutUserCommand}from"./chunk-XHEZRTFT.js";import{MatchUserIdentificationCommand}from"./chunk-EUP7CZPE.js";import{MoveAlarmCommand}from"./chunk-B7G35LSC.js";import{MoveCameraCommand}from"./chunk-2WIOD3PU.js";import{MoveCourtesyCommand}from"./chunk-XDVJ2R44.js";import{MoveDimmerCommand}from"./chunk-ENCV5ZK6.js";import{ListUserMobileKeysCommand}from"./chunk-77HHVUF3.js";import{ListUserOrdersCommand}from"./chunk-PXZILSHB.js";import{ListUserReservationsCommand}from"./chunk-6QADWWZT.js";import{ListUserSpacesCommand}from"./chunk-QI5A6GSC.js";import{ListUsersCommand}from"./chunk-FTQDS5SO.js";import{ListVendorsCommand}from"./chunk-YTABCOF6.js";import{ListWindowCoveringsCommand}from"./chunk-23PUJHN7.js";import{LoginFinishCommand}from"./chunk-5HJJTLVN.js";import{ListSpacesCommand}from"./chunk-YBLCXCZY.js";import{ListSwitchesCommand}from"./chunk-ITUMVA55.js";import{ListSystemsCommand}from"./chunk-4X7DJFHA.js";import{ListTeamCommand}from"./chunk-LAUKT2AE.js";import{ListThermostatsCommand}from"./chunk-GGOXEJ3W.js";import{ListTicketLocationsCommand}from"./chunk-YFSA7DES.js";import{ListTicketsCommand}from"./chunk-HNQEFJ2F.js";import{ListTimeSheetsCommand}from"./chunk-LVXKLQ7V.js";import{ListPoliciesCommand}from"./chunk-5QXCTJ5F.js";import{ListProductsCommand}from"./chunk-BERYA3VH.js";import{ListPropertiesCommand}from"./chunk-BRZPCV4O.js";import{ListReservationsCommand}from"./chunk-GYJIZPGL.js";import{ListRoomsCommand}from"./chunk-ZB3SCFNR.js";import{ListRoomsInSpaceCommand}from"./chunk-32UWMHVN.js";import{ListScenesCommand}from"./chunk-J45O4NYB.js";import{ListSessionsCommand}from"./chunk-C5DHLA4E.js";import{ListMyPropertiesCommand}from"./chunk-T7BXKWFO.js";import{ListMyReservationsCommand}from"./chunk-LFSXBJUW.js";import{ListMySpacesCommand}from"./chunk-NY2EFLRO.js";import{ListMyTicketsCommand}from"./chunk-E4UBP742.js";import{ListMyTimeSheetsCommand}from"./chunk-PQZMUNKU.js";import{ListNotificationsCommand}from"./chunk-3CEPEOCR.js";import{ListOrdersCommand}from"./chunk-HGKTO2NG.js";import{ListOrganizationsCommand}from"./chunk-HL5GAGNI.js";import{ListCategoriesCommand}from"./chunk-M573TBJP.js";import{ListCourtesyCommand}from"./chunk-WJCGFY5Q.js";import{ListDimmersCommand}from"./chunk-KY3YNTQ2.js";import{ListDiscoveredDevicesCommand}from"./chunk-CU3YQYRP.js";import{ListIssuesCommand}from"./chunk-NNX5L5M2.js";import{ListLocksCommand}from"./chunk-RK3ITEDR.js";import{ListMediaSourcesCommand}from"./chunk-55D5A6DP.js";import{ListMyOrdersCommand}from"./chunk-4O2TKMSA.js";import{FinishRegisterPasskeyCommand}from"./chunk-TLL7LIXS.js";import{LeaveTicketCommand}from"./chunk-LISQ4HEZ.js";import{ListAlarmsCommand}from"./chunk-SKNUKGDB.js";import{ListAnnouncementsCommand}from"./chunk-L7T4I4SQ.js";import{ListAutomationsCommand}from"./chunk-R2FWHPQA.js";import{ListCameraStreamPreviewsCommand}from"./chunk-DAHTKF26.js";import{ListCamerasCommand}from"./chunk-R4QVB3LQ.js";import{DescribeTicketStatsCommand}from"./chunk-RHNIGNOZ.js";import{DescribeTimeSheetCommand}from"./chunk-A7GG2TVC.js";import{DescribeTimeSheetStatsCommand}from"./chunk-7DC2ARL4.js";import{DescribeUserCommand}from"./chunk-Y2CIEUOO.js";import{DescribeVendorCommand}from"./chunk-B5TQWVBJ.js";import{DescribeWindowCoveringCommand}from"./chunk-URK7XA4J.js";import{DiscoverReservationsCommand}from"./chunk-CQGHT4XO.js";import{EmailUserAccountSetupCommand}from"./chunk-FGYCDBKH.js";import{DescribeSelfCommand}from"./chunk-LNHXUQYL.js";import{DescribeSessionCommand}from"./chunk-2QM7Z4UX.js";import{DescribeSpaceCommand}from"./chunk-ORI2H4NU.js";import{DescribeSwitchCommand}from"./chunk-4PW2QIOA.js";import{DescribeSystemCommand}from"./chunk-A3CQTI3Q.js";import{DescribeThermostatCommand}from"./chunk-BPYEOZO4.js";import{DescribeTicketCommand}from"./chunk-DIH5R3XM.js";import{DescribeTicketFiltersCommand}from"./chunk-2SY6P677.js";import{DescribeReservationCommand}from"./chunk-AVVJQTRJ.js";import{DescribeReservationEarlyCheckInProductsCommand}from"./chunk-JXRQFP6D.js";import{DescribeReservationLateCheckOutProductsCommand}from"./chunk-27NTA47W.js";import{DescribeReservationPetProductsCommand}from"./chunk-VJ6CYCB4.js";import{DescribeReservationPromosCommand}from"./chunk-Z4UI2Z3T.js";import{DescribeReservationRoomUpgradesCommand}from"./chunk-GRW6OZF2.js";import{DescribeRoomCommand}from"./chunk-YJX6IXAC.js";import{DescribeSOSCommand}from"./chunk-N3O2RPY7.js";import{DescribeMyMobileKeyAppCommand}from"./chunk-NNDIIZGC.js";import{DescribeMyOrganizationCommand}from"./chunk-XP5SG7L2.js";import{DescribeMyPasskeyRegistrationsCommand}from"./chunk-PI4IZNDZ.js";import{DescribeNotificationCommand}from"./chunk-ZPG5QZTP.js";import{DescribeOrganizationCommand}from"./chunk-MJYJ2KAE.js";import{DescribePolicyCommand}from"./chunk-FLCOZN5W.js";import{DescribeProductCommand}from"./chunk-AQCEJOKW.js";import{DescribePropertyCommand}from"./chunk-OETCIQSK.js";import{DescribeCourtesyCommand}from"./chunk-S4ZGFVGN.js";import{DescribeDimmerCommand}from"./chunk-AIQCCGVA.js";import{DescribeDiscoveredDeviceCommand}from"./chunk-CRN7VQQF.js";import{DescribeIssueCommand}from"./chunk-4OUA3LJX.js";import{DescribeLockCommand}from"./chunk-BTFAQXPT.js";import{DescribeLockCredentialCommand}from"./chunk-LG4PH7OT.js";import{DescribeMediaSourceCommand}from"./chunk-AMFJLADB.js";import{DescribeMyAuthCommand}from"./chunk-M5B55VKO.js";import{DeleteWindowCoveringCommand}from"./chunk-ICACX25E.js";import{DescribeAlarmCommand}from"./chunk-VKJ6PHC7.js";import{DescribeAlarmConfigCommand}from"./chunk-53WND32I.js";import{DescribeAnnouncementCommand}from"./chunk-PRM5U7XZ.js";import{DescribeAutomationCommand}from"./chunk-5I2ISSKC.js";import{DescribeCameraCommand}from"./chunk-7HMF3YCM.js";import{DescribeCameraConfigCommand}from"./chunk-AKE6AWIP.js";import{DescribeCategoryCommand}from"./chunk-WC6KBQAQ.js";import{DeleteSystemCommand}from"./chunk-35CCYEYM.js";import{DeleteThermostatCommand}from"./chunk-CF7MXNFK.js";import{DeleteTicketCommand}from"./chunk-36262U4E.js";import{DeleteTimeSheetCommand}from"./chunk-TZJL7VU4.js";import{DeleteTimeSheetTimeEntryCommand}from"./chunk-YEMC6WGZ.js";import{DeleteUserCommand}from"./chunk-D5DOI5MQ.js";import{DeleteUserCredentialCommand}from"./chunk-VIUVXWCB.js";import{DeleteVendorCommand}from"./chunk-IJPU72AM.js";import{DeleteMediaSourceCommand}from"./chunk-N7CJZZ7U.js";import{DeleteNotificationCommand}from"./chunk-2JNC542E.js";import{DeletePolicyCommand}from"./chunk-OHBI4WE7.js";import{DeleteReservationCommand}from"./chunk-W6CKPKGU.js";import{DeleteRoomCommand}from"./chunk-AO4TTSCE.js";import{DeleteSessionCommand}from"./chunk-DQRFHYJO.js";import{DeleteSpaceCommand}from"./chunk-3LIZA4WP.js";import{DeleteSwitchCommand}from"./chunk-ZVMC2YQ5.js";import{DeleteCameraCommand}from"./chunk-JFFWUOTH.js";import{DeleteCategoryCommand}from"./chunk-O3ALFKOU.js";import{DeleteCourtesyCommand}from"./chunk-ZFZ4LD23.js";import{DeleteDimmerCommand}from"./chunk-3YCXS45T.js";import{DeleteDiscoveredDeviceCommand}from"./chunk-H6XT22OW.js";import{DeleteIssueCommand}from"./chunk-WWZH5VUV.js";import{DeleteLockCommand}from"./chunk-4KQ5F6UH.js";import{DeleteMediaFileCommand}from"./chunk-TEP5NPXV.js";import{CreateTimeSheetTimeEntryCommand}from"./chunk-LWFL4WTZ.js";import{CreateUserCommand}from"./chunk-TGR7EWI5.js";import{CreateUserMobileKeyCommand}from"./chunk-HGP2QVKS.js";import{CreateVendorCommand}from"./chunk-G6BCPGDF.js";import{CreateWindowCoveringCommand}from"./chunk-DTYCYZBU.js";import{DeleteAlarmCommand}from"./chunk-7E7N4I6Q.js";import{DeleteAnnouncementCommand}from"./chunk-KO6QTUYQ.js";import{DeleteAutomationCommand}from"./chunk-EMF6OWI7.js";import{CreateSessionCommand}from"./chunk-N4ZPDN33.js";import{CreateSpaceCommand}from"./chunk-2T47BIBX.js";import{CreateSwitchCommand}from"./chunk-I66VL3NG.js";import{CreateSystemCommand}from"./chunk-RHMZ26GV.js";import{CreateThermostatCommand}from"./chunk-PM3N4CT2.js";import{CreateTicketCommand}from"./chunk-KBS25CSR.js";import{CreateTicketMessageCommand}from"./chunk-5DX2OPHX.js";import{CreateTimeSheetCommand}from"./chunk-2CB47PCP.js";import{CreateNotificationCommand}from"./chunk-RJ4LV7PB.js";import{CreateOrganizationCommand}from"./chunk-TEUMAFZH.js";import{CreatePolicyCommand}from"./chunk-7OADEXAB.js";import{CreatePropertyCommand}from"./chunk-ECT6N4V6.js";import{CreateReservationCommand}from"./chunk-JARDOYE6.js";import{CreateRoomCommand}from"./chunk-JKIH5JC7.js";import{CreateRoomInSpaceCommand}from"./chunk-HTRYMGCE.js";import{CreateSceneCommand}from"./chunk-TPKROBGV.js";import{CreateDimmerCommand}from"./chunk-MWI43I5I.js";import{CreateDiscoveredDeviceCommand}from"./chunk-CTYQCN7S.js";import{CreateDiscoveredDeviceAssociationCommand}from"./chunk-R7S3S3GL.js";import{CreateDiscoveredDeviceAssociationMapCommand}from"./chunk-ST6AUNOP.js";import{CreateImageUploadEndpointCommand}from"./chunk-TWGO4A5Y.js";import{CreateIssueCommand}from"./chunk-4AECNH3F.js";import{CreateLockCommand}from"./chunk-OXUASXM7.js";import{CreateMediaSourceCommand}from"./chunk-3WJYMSNN.js";import{CreateAlarmCommand}from"./chunk-N2MJA4TZ.js";import{CreateAnnouncementCommand}from"./chunk-BRAAKAMQ.js";import{CreateAutomationCommand}from"./chunk-IFCZ6ZQM.js";import{CreateCameraCommand}from"./chunk-YNJWQVHP.js";import{CreateCategoryCommand}from"./chunk-73ZQAT3C.js";import{CreateCourtesyCommand}from"./chunk-SK7IEZ5Z.js";import{CreateDefaultAutomationsCommand}from"./chunk-ON35QBFF.js";import{CreateDefaultScenesCommand}from"./chunk-5H2DUCBY.js";import{BatchNotifyCheckInCommand}from"./chunk-52WY7JLC.js";import{BatchNotifyCheckOutCommand}from"./chunk-RKY3LNNR.js";import{BatchNotifyMissedCheckOutCommand}from"./chunk-NEMLMGQO.js";import{BatchNotifyPreArrivalCommand}from"./chunk-AXUQ2QWL.js";import{BulkUpdateIssueCommand}from"./chunk-SKVW66UZ.js";import{CheckInReservationCommand}from"./chunk-3CDZBSNN.js";import{CheckOutReservationCommand}from"./chunk-V3VRHSYR.js";import{CheckVerificationCodeCommand}from"./chunk-A4ZR7HMD.js";import{AssignSpaceToReservationCommand}from"./chunk-3UC7ONO5.js";import{AutoAssociateDiscoveredDevicesCommand}from"./chunk-FYYOKPDT.js";import{AutoCloseTicketsCommand}from"./chunk-WVSPCDJ3.js";import{RefreshTokenCommand}from"./chunk-XY46T6DS.js";import{__export}from"./chunk-XE4OXN2W.js";var useCases_exports={};__export(useCases_exports,{AssignSpaceToReservationCommand:()=>AssignSpaceToReservationCommand,AutoAssociateDiscoveredDevicesCommand:()=>AutoAssociateDiscoveredDevicesCommand,AutoCloseTicketsCommand:()=>AutoCloseTicketsCommand,BatchNotifyCheckInCommand:()=>BatchNotifyCheckInCommand,BatchNotifyCheckOutCommand:()=>BatchNotifyCheckOutCommand,BatchNotifyMissedCheckOutCommand:()=>BatchNotifyMissedCheckOutCommand,BatchNotifyPreArrivalCommand:()=>BatchNotifyPreArrivalCommand,BulkUpdateIssueCommand:()=>BulkUpdateIssueCommand,CheckInReservationCommand:()=>CheckInReservationCommand,CheckOutReservationCommand:()=>CheckOutReservationCommand,CheckVerificationCodeCommand:()=>CheckVerificationCodeCommand,CreateAlarmCommand:()=>CreateAlarmCommand,CreateAnnouncementCommand:()=>CreateAnnouncementCommand,CreateAutomationCommand:()=>CreateAutomationCommand,CreateCameraCommand:()=>CreateCameraCommand,CreateCategoryCommand:()=>CreateCategoryCommand,CreateCourtesyCommand:()=>CreateCourtesyCommand,CreateDefaultAutomationsCommand:()=>CreateDefaultAutomationsCommand,CreateDefaultScenesCommand:()=>CreateDefaultScenesCommand,CreateDimmerCommand:()=>CreateDimmerCommand,CreateDiscoveredDeviceAssociationCommand:()=>CreateDiscoveredDeviceAssociationCommand,CreateDiscoveredDeviceAssociationMapCommand:()=>CreateDiscoveredDeviceAssociationMapCommand,CreateDiscoveredDeviceCommand:()=>CreateDiscoveredDeviceCommand,CreateImageUploadEndpointCommand:()=>CreateImageUploadEndpointCommand,CreateIssueCommand:()=>CreateIssueCommand,CreateLockCommand:()=>CreateLockCommand,CreateMediaSourceCommand:()=>CreateMediaSourceCommand,CreateNotificationCommand:()=>CreateNotificationCommand,CreateOrganizationCommand:()=>CreateOrganizationCommand,CreatePolicyCommand:()=>CreatePolicyCommand,CreatePropertyCommand:()=>CreatePropertyCommand,CreateReservationCommand:()=>CreateReservationCommand,CreateRoomCommand:()=>CreateRoomCommand,CreateRoomInSpaceCommand:()=>CreateRoomInSpaceCommand,CreateSceneCommand:()=>CreateSceneCommand,CreateSessionCommand:()=>CreateSessionCommand,CreateSpaceCommand:()=>CreateSpaceCommand,CreateSwitchCommand:()=>CreateSwitchCommand,CreateSystemCommand:()=>CreateSystemCommand,CreateThermostatCommand:()=>CreateThermostatCommand,CreateTicketCommand:()=>CreateTicketCommand,CreateTicketMessageCommand:()=>CreateTicketMessageCommand,CreateTimeSheetCommand:()=>CreateTimeSheetCommand,CreateTimeSheetTimeEntryCommand:()=>CreateTimeSheetTimeEntryCommand,CreateUserCommand:()=>CreateUserCommand,CreateUserMobileKeyCommand:()=>CreateUserMobileKeyCommand,CreateVendorCommand:()=>CreateVendorCommand,CreateWindowCoveringCommand:()=>CreateWindowCoveringCommand,DeleteAlarmCommand:()=>DeleteAlarmCommand,DeleteAnnouncementCommand:()=>DeleteAnnouncementCommand,DeleteAutomationCommand:()=>DeleteAutomationCommand,DeleteCameraCommand:()=>DeleteCameraCommand,DeleteCategoryCommand:()=>DeleteCategoryCommand,DeleteCourtesyCommand:()=>DeleteCourtesyCommand,DeleteDimmerCommand:()=>DeleteDimmerCommand,DeleteDiscoveredDeviceCommand:()=>DeleteDiscoveredDeviceCommand,DeleteIssueCommand:()=>DeleteIssueCommand,DeleteLockCommand:()=>DeleteLockCommand,DeleteMediaFileCommand:()=>DeleteMediaFileCommand,DeleteMediaSourceCommand:()=>DeleteMediaSourceCommand,DeleteNotificationCommand:()=>DeleteNotificationCommand,DeletePolicyCommand:()=>DeletePolicyCommand,DeleteReservationCommand:()=>DeleteReservationCommand,DeleteRoomCommand:()=>DeleteRoomCommand,DeleteSessionCommand:()=>DeleteSessionCommand,DeleteSpaceCommand:()=>DeleteSpaceCommand,DeleteSwitchCommand:()=>DeleteSwitchCommand,DeleteSystemCommand:()=>DeleteSystemCommand,DeleteThermostatCommand:()=>DeleteThermostatCommand,DeleteTicketCommand:()=>DeleteTicketCommand,DeleteTimeSheetCommand:()=>DeleteTimeSheetCommand,DeleteTimeSheetTimeEntryCommand:()=>DeleteTimeSheetTimeEntryCommand,DeleteUserCommand:()=>DeleteUserCommand,DeleteUserCredentialCommand:()=>DeleteUserCredentialCommand,DeleteVendorCommand:()=>DeleteVendorCommand,DeleteWindowCoveringCommand:()=>DeleteWindowCoveringCommand,DescribeAlarmCommand:()=>DescribeAlarmCommand,DescribeAlarmConfigCommand:()=>DescribeAlarmConfigCommand,DescribeAnnouncementCommand:()=>DescribeAnnouncementCommand,DescribeAutomationCommand:()=>DescribeAutomationCommand,DescribeCameraCommand:()=>DescribeCameraCommand,DescribeCameraConfigCommand:()=>DescribeCameraConfigCommand,DescribeCategoryCommand:()=>DescribeCategoryCommand,DescribeCourtesyCommand:()=>DescribeCourtesyCommand,DescribeDimmerCommand:()=>DescribeDimmerCommand,DescribeDiscoveredDeviceCommand:()=>DescribeDiscoveredDeviceCommand,DescribeIssueCommand:()=>DescribeIssueCommand,DescribeLockCommand:()=>DescribeLockCommand,DescribeLockCredentialCommand:()=>DescribeLockCredentialCommand,DescribeMediaSourceCommand:()=>DescribeMediaSourceCommand,DescribeMyAuthCommand:()=>DescribeMyAuthCommand,DescribeMyMobileKeyAppCommand:()=>DescribeMyMobileKeyAppCommand,DescribeMyOrganizationCommand:()=>DescribeMyOrganizationCommand,DescribeMyPasskeyRegistrationsCommand:()=>DescribeMyPasskeyRegistrationsCommand,DescribeNotificationCommand:()=>DescribeNotificationCommand,DescribeOrganizationCommand:()=>DescribeOrganizationCommand,DescribePolicyCommand:()=>DescribePolicyCommand,DescribeProductCommand:()=>DescribeProductCommand,DescribePropertyCommand:()=>DescribePropertyCommand,DescribeReservationCommand:()=>DescribeReservationCommand,DescribeReservationEarlyCheckInProductsCommand:()=>DescribeReservationEarlyCheckInProductsCommand,DescribeReservationLateCheckOutProductsCommand:()=>DescribeReservationLateCheckOutProductsCommand,DescribeReservationPetProductsCommand:()=>DescribeReservationPetProductsCommand,DescribeReservationPromosCommand:()=>DescribeReservationPromosCommand,DescribeReservationRoomUpgradesCommand:()=>DescribeReservationRoomUpgradesCommand,DescribeRoomCommand:()=>DescribeRoomCommand,DescribeSOSCommand:()=>DescribeSOSCommand,DescribeSelfCommand:()=>DescribeSelfCommand,DescribeSessionCommand:()=>DescribeSessionCommand,DescribeSpaceCommand:()=>DescribeSpaceCommand,DescribeSwitchCommand:()=>DescribeSwitchCommand,DescribeSystemCommand:()=>DescribeSystemCommand,DescribeThermostatCommand:()=>DescribeThermostatCommand,DescribeTicketCommand:()=>DescribeTicketCommand,DescribeTicketFiltersCommand:()=>DescribeTicketFiltersCommand,DescribeTicketStatsCommand:()=>DescribeTicketStatsCommand,DescribeTimeSheetCommand:()=>DescribeTimeSheetCommand,DescribeTimeSheetStatsCommand:()=>DescribeTimeSheetStatsCommand,DescribeUserCommand:()=>DescribeUserCommand,DescribeVendorCommand:()=>DescribeVendorCommand,DescribeWindowCoveringCommand:()=>DescribeWindowCoveringCommand,DiscoverReservationsCommand:()=>DiscoverReservationsCommand,EmailUserAccountSetupCommand:()=>EmailUserAccountSetupCommand,FinishRegisterPasskeyCommand:()=>FinishRegisterPasskeyCommand,LeaveTicketCommand:()=>LeaveTicketCommand,ListAlarmsCommand:()=>ListAlarmsCommand,ListAnnouncementsCommand:()=>ListAnnouncementsCommand,ListAutomationsCommand:()=>ListAutomationsCommand,ListCameraStreamPreviewsCommand:()=>ListCameraStreamPreviewsCommand,ListCamerasCommand:()=>ListCamerasCommand,ListCategoriesCommand:()=>ListCategoriesCommand,ListCourtesyCommand:()=>ListCourtesyCommand,ListDimmersCommand:()=>ListDimmersCommand,ListDiscoveredDevicesCommand:()=>ListDiscoveredDevicesCommand,ListIssuesCommand:()=>ListIssuesCommand,ListLocksCommand:()=>ListLocksCommand,ListMediaSourcesCommand:()=>ListMediaSourcesCommand,ListMyOrdersCommand:()=>ListMyOrdersCommand,ListMyPropertiesCommand:()=>ListMyPropertiesCommand,ListMyReservationsCommand:()=>ListMyReservationsCommand,ListMySpacesCommand:()=>ListMySpacesCommand,ListMyTicketsCommand:()=>ListMyTicketsCommand,ListMyTimeSheetsCommand:()=>ListMyTimeSheetsCommand,ListNotificationsCommand:()=>ListNotificationsCommand,ListOrdersCommand:()=>ListOrdersCommand,ListOrganizationsCommand:()=>ListOrganizationsCommand,ListPoliciesCommand:()=>ListPoliciesCommand,ListProductsCommand:()=>ListProductsCommand,ListPropertiesCommand:()=>ListPropertiesCommand,ListReservationsCommand:()=>ListReservationsCommand,ListRoomsCommand:()=>ListRoomsCommand,ListRoomsInSpaceCommand:()=>ListRoomsInSpaceCommand,ListScenesCommand:()=>ListScenesCommand,ListSessionsCommand:()=>ListSessionsCommand,ListSpacesCommand:()=>ListSpacesCommand,ListSwitchesCommand:()=>ListSwitchesCommand,ListSystemsCommand:()=>ListSystemsCommand,ListTeamCommand:()=>ListTeamCommand,ListThermostatsCommand:()=>ListThermostatsCommand,ListTicketLocationsCommand:()=>ListTicketLocationsCommand,ListTicketsCommand:()=>ListTicketsCommand,ListTimeSheetsCommand:()=>ListTimeSheetsCommand,ListUserMobileKeysCommand:()=>ListUserMobileKeysCommand,ListUserOrdersCommand:()=>ListUserOrdersCommand,ListUserReservationsCommand:()=>ListUserReservationsCommand,ListUserSpacesCommand:()=>ListUserSpacesCommand,ListUsersCommand:()=>ListUsersCommand,ListVendorsCommand:()=>ListVendorsCommand,ListWindowCoveringsCommand:()=>ListWindowCoveringsCommand,LoginFinishCommand:()=>LoginFinishCommand,LoginStartCommand:()=>LoginStartCommand,LogoutSelfCommand:()=>LogoutSelfCommand,LogoutUserCommand:()=>LogoutUserCommand,MatchUserIdentificationCommand:()=>MatchUserIdentificationCommand,MoveAlarmCommand:()=>MoveAlarmCommand,MoveCameraCommand:()=>MoveCameraCommand,MoveCourtesyCommand:()=>MoveCourtesyCommand,MoveDimmerCommand:()=>MoveDimmerCommand,MoveLockCommand:()=>MoveLockCommand,MoveMediaSourceCommand:()=>MoveMediaSourceCommand,MoveSwitchCommand:()=>MoveSwitchCommand,MoveThermostatCommand:()=>MoveThermostatCommand,MoveWindowCoveringCommand:()=>MoveWindowCoveringCommand,OCRDocumentCommand:()=>OCRDocumentCommand,PurchaseReservationEarlyCheckInProductsCommand:()=>PurchaseReservationEarlyCheckInProductsCommand,PurchaseReservationLateCheckOutProductsCommand:()=>PurchaseReservationLateCheckOutProductsCommand,PurchaseReservationPetProductsCommand:()=>PurchaseReservationPetProductsCommand,PurchaseReservationPromosCommand:()=>PurchaseReservationPromosCommand,PurchaseReservationRoomUpgradesCommand:()=>PurchaseReservationRoomUpgradesCommand,RefreshTokenCommand:()=>RefreshTokenCommand,RequestLoginTokenCommand:()=>RequestLoginTokenCommand,SendCheckInSMSCommand:()=>SendCheckInSMSCommand,SendCheckOutSMSCommand:()=>SendCheckOutSMSCommand,SendNotificationCommand:()=>SendNotificationCommand,SendPreArrivalEmailCommand:()=>SendPreArrivalEmailCommand,SendPreArrivalSMSCommand:()=>SendPreArrivalSMSCommand,SendRoomControlSMSCommand:()=>SendRoomControlSMSCommand,SendSMSCommand:()=>SendSMSCommand,SendVerificationCodeCommand:()=>SendVerificationCodeCommand,SetAlarmCommand:()=>SetAlarmCommand,SetCameraCommand:()=>SetCameraCommand,SetCourtesyCommand:()=>SetCourtesyCommand,SetDevicesCommand:()=>SetDevicesCommand,SetDimmerCommand:()=>SetDimmerCommand,SetLockCommand:()=>SetLockCommand,SetMediaSourceCommand:()=>SetMediaSourceCommand,SetRoomSceneCommand:()=>SetRoomSceneCommand,SetSceneCommand:()=>SetSceneCommand,SetSpaceSceneCommand:()=>SetSpaceSceneCommand,SetSwitchCommand:()=>SetSwitchCommand,SetThermostatCommand:()=>SetThermostatCommand,SetWindowCoveringCommand:()=>SetWindowCoveringCommand,StartRegisterPasskeyCommand:()=>StartRegisterPasskeyCommand,StartSOSCommand:()=>StartSOSCommand,StopSOSCommand:()=>StopSOSCommand,TipUserCommand:()=>TipUserCommand,UpdateAlarmCommand:()=>UpdateAlarmCommand,UpdateAnnouncementCommand:()=>UpdateAnnouncementCommand,UpdateAutomationCommand:()=>UpdateAutomationCommand,UpdateCameraCommand:()=>UpdateCameraCommand,UpdateCategoryCommand:()=>UpdateCategoryCommand,UpdateCourtesyCommand:()=>UpdateCourtesyCommand,UpdateDimmerCommand:()=>UpdateDimmerCommand,UpdateDiscoveredDeviceCommand:()=>UpdateDiscoveredDeviceCommand,UpdateIssueCommand:()=>UpdateIssueCommand,UpdateLockCommand:()=>UpdateLockCommand,UpdateMediaSourceCommand:()=>UpdateMediaSourceCommand,UpdateMessageReadStatusCommand:()=>UpdateMessageReadStatusCommand,UpdateNotificationCommand:()=>UpdateNotificationCommand,UpdateOrganizationCommand:()=>UpdateOrganizationCommand,UpdatePolicyCommand:()=>UpdatePolicyCommand,UpdatePropertyCommand:()=>UpdatePropertyCommand,UpdatePropertySettingsCommand:()=>UpdatePropertySettingsCommand,UpdateReservationCommand:()=>UpdateReservationCommand,UpdateReservationExpectedArrivalTimeCommand:()=>UpdateReservationExpectedArrivalTimeCommand,UpdateRoomCommand:()=>UpdateRoomCommand,UpdateSelfCommand:()=>UpdateSelfCommand,UpdateSessionCommand:()=>UpdateSessionCommand,UpdateSpaceCommand:()=>UpdateSpaceCommand,UpdateSwitchCommand:()=>UpdateSwitchCommand,UpdateSystemCommand:()=>UpdateSystemCommand,UpdateThermostatCommand:()=>UpdateThermostatCommand,UpdateTicketCommand:()=>UpdateTicketCommand,UpdateTicketStatusCommand:()=>UpdateTicketStatusCommand,UpdateTimeSheetCommand:()=>UpdateTimeSheetCommand,UpdateTimeSheetTimeEntryCommand:()=>UpdateTimeSheetTimeEntryCommand,UpdateUserCommand:()=>UpdateUserCommand,UpdateVendorCommand:()=>UpdateVendorCommand,UpdateWindowCoveringCommand:()=>UpdateWindowCoveringCommand,UploadImageCommand:()=>UploadImageCommand,UpsertDiscoveredDeviceCommand:()=>UpsertDiscoveredDeviceCommand,ValidateAuthCommand:()=>ValidateAuthCommand});export{useCases_exports};//# sourceMappingURL=chunk-M7J5VN2K.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/useCases/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-11-03T19:54:18.024Z\n\nexport * from \"./assignSpaceToReservation\";\nexport * from \"./autoAssociateDiscoveredDevices\";\nexport * from \"./autoCloseTickets\";\nexport * from \"./batchNotifyCheckIn\";\nexport * from \"./batchNotifyCheckOut\";\nexport * from \"./batchNotifyMissedCheckOut\";\nexport * from \"./batchNotifyPreArrival\";\nexport * from \"./bulkUpdateIssue\";\nexport * from \"./checkInReservation\";\nexport * from \"./checkOutReservation\";\nexport * from \"./checkVerificationCode\";\nexport * from \"./createAlarm\";\nexport * from \"./createAnnouncement\";\nexport * from \"./createAutomation\";\nexport * from \"./createCamera\";\nexport * from \"./createCategory\";\nexport * from \"./createCourtesy\";\nexport * from \"./createDefaultAutomations\";\nexport * from \"./createDefaultScenes\";\nexport * from \"./createDimmer\";\nexport * from \"./createDiscoveredDevice\";\nexport * from \"./createDiscoveredDeviceAssociation\";\nexport * from \"./createDiscoveredDeviceAssociationMap\";\nexport * from \"./createImageUploadEndpoint\";\nexport * from \"./createIssue\";\nexport * from \"./createLock\";\nexport * from \"./createMediaSource\";\nexport * from \"./createNotification\";\nexport * from \"./createOrganization\";\nexport * from \"./createPolicy\";\nexport * from \"./createProperty\";\nexport * from \"./createReservation\";\nexport * from \"./createRoom\";\nexport * from \"./createRoomInSpace\";\nexport * from \"./createScene\";\nexport * from \"./createSession\";\nexport * from \"./createSpace\";\nexport * from \"./createSwitch\";\nexport * from \"./createSystem\";\nexport * from \"./createThermostat\";\nexport * from \"./createTicket\";\nexport * from \"./createTicketMessage\";\nexport * from \"./createTimeSheet\";\nexport * from \"./createTimeSheetTimeEntry\";\nexport * from \"./createUser\";\nexport * from \"./createUserMobileKey\";\nexport * from \"./createVendor\";\nexport * from \"./createWindowCovering\";\nexport * from \"./deleteAlarm\";\nexport * from \"./deleteAnnouncement\";\nexport * from \"./deleteAutomation\";\nexport * from \"./deleteCamera\";\nexport * from \"./deleteCategory\";\nexport * from \"./deleteCourtesy\";\nexport * from \"./deleteDimmer\";\nexport * from \"./deleteDiscoveredDevice\";\nexport * from \"./deleteIssue\";\nexport * from \"./deleteLock\";\nexport * from \"./deleteMediaFile\";\nexport * from \"./deleteMediaSource\";\nexport * from \"./deleteNotification\";\nexport * from \"./deletePolicy\";\nexport * from \"./deleteReservation\";\nexport * from \"./deleteRoom\";\nexport * from \"./deleteSession\";\nexport * from \"./deleteSpace\";\nexport * from \"./deleteSwitch\";\nexport * from \"./deleteSystem\";\nexport * from \"./deleteThermostat\";\nexport * from \"./deleteTicket\";\nexport * from \"./deleteTimeSheet\";\nexport * from \"./deleteTimeSheetTimeEntry\";\nexport * from \"./deleteUser\";\nexport * from \"./deleteUserCredential\";\nexport * from \"./deleteVendor\";\nexport * from \"./deleteWindowCovering\";\nexport * from \"./describeAlarm\";\nexport * from \"./describeAlarmConfig\";\nexport * from \"./describeAnnouncement\";\nexport * from \"./describeAutomation\";\nexport * from \"./describeCamera\";\nexport * from \"./describeCameraConfig\";\nexport * from \"./describeCategory\";\nexport * from \"./describeCourtesy\";\nexport * from \"./describeDimmer\";\nexport * from \"./describeDiscoveredDevice\";\nexport * from \"./describeIssue\";\nexport * from \"./describeLock\";\nexport * from \"./describeLockCredential\";\nexport * from \"./describeMediaSource\";\nexport * from \"./describeMyAuth\";\nexport * from \"./describeMyMobileKeyApp\";\nexport * from \"./describeMyOrganization\";\nexport * from \"./describeMyPasskeyRegistrations\";\nexport * from \"./describeNotification\";\nexport * from \"./describeOrganization\";\nexport * from \"./describePolicy\";\nexport * from \"./describeProduct\";\nexport * from \"./describeProperty\";\nexport * from \"./describeReservation\";\nexport * from \"./describeReservationEarlyCheckInProducts\";\nexport * from \"./describeReservationLateCheckOutProducts\";\nexport * from \"./describeReservationPetProducts\";\nexport * from \"./describeReservationPromos\";\nexport * from \"./describeReservationRoomUpgrades\";\nexport * from \"./describeRoom\";\nexport * from \"./describeSOS\";\nexport * from \"./describeSelf\";\nexport * from \"./describeSession\";\nexport * from \"./describeSpace\";\nexport * from \"./describeSwitch\";\nexport * from \"./describeSystem\";\nexport * from \"./describeThermostat\";\nexport * from \"./describeTicket\";\nexport * from \"./describeTicketFilters\";\nexport * from \"./describeTicketStats\";\nexport * from \"./describeTimeSheet\";\nexport * from \"./describeTimeSheetStats\";\nexport * from \"./describeUser\";\nexport * from \"./describeVendor\";\nexport * from \"./describeWindowCovering\";\nexport * from \"./discoverReservations\";\nexport * from \"./emailUserAccountSetup\";\nexport * from \"./finishRegisterPasskey\";\nexport * from \"./leaveTicket\";\nexport * from \"./listAlarms\";\nexport * from \"./listAnnouncements\";\nexport * from \"./listAutomations\";\nexport * from \"./listCameraStreamPreviews\";\nexport * from \"./listCameras\";\nexport * from \"./listCategories\";\nexport * from \"./listCourtesy\";\nexport * from \"./listDimmers\";\nexport * from \"./listDiscoveredDevices\";\nexport * from \"./listIssues\";\nexport * from \"./listLocks\";\nexport * from \"./listMediaSources\";\nexport * from \"./listMyOrders\";\nexport * from \"./listMyProperties\";\nexport * from \"./listMyReservations\";\nexport * from \"./listMySpaces\";\nexport * from \"./listMyTickets\";\nexport * from \"./listMyTimeSheets\";\nexport * from \"./listNotifications\";\nexport * from \"./listOrders\";\nexport * from \"./listOrganizations\";\nexport * from \"./listPolicies\";\nexport * from \"./listProducts\";\nexport * from \"./listProperties\";\nexport * from \"./listReservations\";\nexport * from \"./listRooms\";\nexport * from \"./listRoomsInSpace\";\nexport * from \"./listScenes\";\nexport * from \"./listSessions\";\nexport * from \"./listSpaces\";\nexport * from \"./listSwitches\";\nexport * from \"./listSystems\";\nexport * from \"./listTeam\";\nexport * from \"./listThermostats\";\nexport * from \"./listTicketLocations\";\nexport * from \"./listTickets\";\nexport * from \"./listTimeSheets\";\nexport * from \"./listUserMobileKeys\";\nexport * from \"./listUserOrders\";\nexport * from \"./listUserReservations\";\nexport * from \"./listUserSpaces\";\nexport * from \"./listUsers\";\nexport * from \"./listVendors\";\nexport * from \"./listWindowCoverings\";\nexport * from \"./loginFinish\";\nexport * from \"./loginStart\";\nexport * from \"./logoutSelf\";\nexport * from \"./logoutUser\";\nexport * from \"./matchUserIdentification\";\nexport * from \"./moveAlarm\";\nexport * from \"./moveCamera\";\nexport * from \"./moveCourtesy\";\nexport * from \"./moveDimmer\";\nexport * from \"./moveLock\";\nexport * from \"./moveMediaSource\";\nexport * from \"./moveSwitch\";\nexport * from \"./moveThermostat\";\nexport * from \"./moveWindowCovering\";\nexport * from \"./oCRDocument\";\nexport * from \"./purchaseReservationEarlyCheckInProducts\";\nexport * from \"./purchaseReservationLateCheckOutProducts\";\nexport * from \"./purchaseReservationPetProducts\";\nexport * from \"./purchaseReservationPromos\";\nexport * from \"./purchaseReservationRoomUpgrades\";\nexport * from \"./refreshToken\";\nexport * from \"./requestLoginToken\";\nexport * from \"./sendCheckInSMS\";\nexport * from \"./sendCheckOutSMS\";\nexport * from \"./sendNotification\";\nexport * from \"./sendPreArrivalEmail\";\nexport * from \"./sendPreArrivalSMS\";\nexport * from \"./sendRoomControlSMS\";\nexport * from \"./sendSMS\";\nexport * from \"./sendVerificationCode\";\nexport * from \"./setAlarm\";\nexport * from \"./setCamera\";\nexport * from \"./setCourtesy\";\nexport * from \"./setDevices\";\nexport * from \"./setDimmer\";\nexport * from \"./setLock\";\nexport * from \"./setMediaSource\";\nexport * from \"./setRoomScene\";\nexport * from \"./setScene\";\nexport * from \"./setSpaceScene\";\nexport * from \"./setSwitch\";\nexport * from \"./setThermostat\";\nexport * from \"./setWindowCovering\";\nexport * from \"./startRegisterPasskey\";\nexport * from \"./startSOS\";\nexport * from \"./stopSOS\";\nexport * from \"./tipUser\";\nexport * from \"./updateAlarm\";\nexport * from \"./updateAnnouncement\";\nexport * from \"./updateAutomation\";\nexport * from \"./updateCamera\";\nexport * from \"./updateCategory\";\nexport * from \"./updateCourtesy\";\nexport * from \"./updateDimmer\";\nexport * from \"./updateDiscoveredDevice\";\nexport * from \"./updateIssue\";\nexport * from \"./updateLock\";\nexport * from \"./updateMediaSource\";\nexport * from \"./updateMessageReadStatus\";\nexport * from \"./updateNotification\";\nexport * from \"./updateOrganization\";\nexport * from \"./updatePolicy\";\nexport * from \"./updateProperty\";\nexport * from \"./updatePropertySettings\";\nexport * from \"./updateReservation\";\nexport * from \"./updateReservationExpectedArrivalTime\";\nexport * from \"./updateRoom\";\nexport * from \"./updateSelf\";\nexport * from \"./updateSession\";\nexport * from \"./updateSpace\";\nexport * from \"./updateSwitch\";\nexport * from \"./updateSystem\";\nexport * from \"./updateThermostat\";\nexport * from \"./updateTicket\";\nexport * from \"./updateTicketStatus\";\nexport * from \"./updateTimeSheet\";\nexport * from \"./updateTimeSheetTimeEntry\";\nexport * from \"./updateUser\";\nexport * from \"./updateVendor\";\nexport * from \"./updateWindowCovering\";\nexport * from \"./uploadImage\";\nexport * from \"./upsertDiscoveredDevice\";\nexport * from \"./validateAuth\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/useCases/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-11-05T14:27:49.895Z\n\nexport * from \"./assignSpaceToReservation\";\nexport * from \"./autoAssociateDiscoveredDevices\";\nexport * from \"./autoCloseTickets\";\nexport * from \"./batchNotifyCheckIn\";\nexport * from \"./batchNotifyCheckOut\";\nexport * from \"./batchNotifyMissedCheckOut\";\nexport * from \"./batchNotifyPreArrival\";\nexport * from \"./bulkUpdateIssue\";\nexport * from \"./checkInReservation\";\nexport * from \"./checkOutReservation\";\nexport * from \"./checkVerificationCode\";\nexport * from \"./createAlarm\";\nexport * from \"./createAnnouncement\";\nexport * from \"./createAutomation\";\nexport * from \"./createCamera\";\nexport * from \"./createCategory\";\nexport * from \"./createCourtesy\";\nexport * from \"./createDefaultAutomations\";\nexport * from \"./createDefaultScenes\";\nexport * from \"./createDimmer\";\nexport * from \"./createDiscoveredDevice\";\nexport * from \"./createDiscoveredDeviceAssociation\";\nexport * from \"./createDiscoveredDeviceAssociationMap\";\nexport * from \"./createImageUploadEndpoint\";\nexport * from \"./createIssue\";\nexport * from \"./createLock\";\nexport * from \"./createMediaSource\";\nexport * from \"./createNotification\";\nexport * from \"./createOrganization\";\nexport * from \"./createPolicy\";\nexport * from \"./createProperty\";\nexport * from \"./createReservation\";\nexport * from \"./createRoom\";\nexport * from \"./createRoomInSpace\";\nexport * from \"./createScene\";\nexport * from \"./createSession\";\nexport * from \"./createSpace\";\nexport * from \"./createSwitch\";\nexport * from \"./createSystem\";\nexport * from \"./createThermostat\";\nexport * from \"./createTicket\";\nexport * from \"./createTicketMessage\";\nexport * from \"./createTimeSheet\";\nexport * from \"./createTimeSheetTimeEntry\";\nexport * from \"./createUser\";\nexport * from \"./createUserMobileKey\";\nexport * from \"./createVendor\";\nexport * from \"./createWindowCovering\";\nexport * from \"./deleteAlarm\";\nexport * from \"./deleteAnnouncement\";\nexport * from \"./deleteAutomation\";\nexport * from \"./deleteCamera\";\nexport * from \"./deleteCategory\";\nexport * from \"./deleteCourtesy\";\nexport * from \"./deleteDimmer\";\nexport * from \"./deleteDiscoveredDevice\";\nexport * from \"./deleteIssue\";\nexport * from \"./deleteLock\";\nexport * from \"./deleteMediaFile\";\nexport * from \"./deleteMediaSource\";\nexport * from \"./deleteNotification\";\nexport * from \"./deletePolicy\";\nexport * from \"./deleteReservation\";\nexport * from \"./deleteRoom\";\nexport * from \"./deleteSession\";\nexport * from \"./deleteSpace\";\nexport * from \"./deleteSwitch\";\nexport * from \"./deleteSystem\";\nexport * from \"./deleteThermostat\";\nexport * from \"./deleteTicket\";\nexport * from \"./deleteTimeSheet\";\nexport * from \"./deleteTimeSheetTimeEntry\";\nexport * from \"./deleteUser\";\nexport * from \"./deleteUserCredential\";\nexport * from \"./deleteVendor\";\nexport * from \"./deleteWindowCovering\";\nexport * from \"./describeAlarm\";\nexport * from \"./describeAlarmConfig\";\nexport * from \"./describeAnnouncement\";\nexport * from \"./describeAutomation\";\nexport * from \"./describeCamera\";\nexport * from \"./describeCameraConfig\";\nexport * from \"./describeCategory\";\nexport * from \"./describeCourtesy\";\nexport * from \"./describeDimmer\";\nexport * from \"./describeDiscoveredDevice\";\nexport * from \"./describeIssue\";\nexport * from \"./describeLock\";\nexport * from \"./describeLockCredential\";\nexport * from \"./describeMediaSource\";\nexport * from \"./describeMyAuth\";\nexport * from \"./describeMyMobileKeyApp\";\nexport * from \"./describeMyOrganization\";\nexport * from \"./describeMyPasskeyRegistrations\";\nexport * from \"./describeNotification\";\nexport * from \"./describeOrganization\";\nexport * from \"./describePolicy\";\nexport * from \"./describeProduct\";\nexport * from \"./describeProperty\";\nexport * from \"./describeReservation\";\nexport * from \"./describeReservationEarlyCheckInProducts\";\nexport * from \"./describeReservationLateCheckOutProducts\";\nexport * from \"./describeReservationPetProducts\";\nexport * from \"./describeReservationPromos\";\nexport * from \"./describeReservationRoomUpgrades\";\nexport * from \"./describeRoom\";\nexport * from \"./describeSOS\";\nexport * from \"./describeSelf\";\nexport * from \"./describeSession\";\nexport * from \"./describeSpace\";\nexport * from \"./describeSwitch\";\nexport * from \"./describeSystem\";\nexport * from \"./describeThermostat\";\nexport * from \"./describeTicket\";\nexport * from \"./describeTicketFilters\";\nexport * from \"./describeTicketStats\";\nexport * from \"./describeTimeSheet\";\nexport * from \"./describeTimeSheetStats\";\nexport * from \"./describeUser\";\nexport * from \"./describeVendor\";\nexport * from \"./describeWindowCovering\";\nexport * from \"./discoverReservations\";\nexport * from \"./emailUserAccountSetup\";\nexport * from \"./finishRegisterPasskey\";\nexport * from \"./leaveTicket\";\nexport * from \"./listAlarms\";\nexport * from \"./listAnnouncements\";\nexport * from \"./listAutomations\";\nexport * from \"./listCameraStreamPreviews\";\nexport * from \"./listCameras\";\nexport * from \"./listCategories\";\nexport * from \"./listCourtesy\";\nexport * from \"./listDimmers\";\nexport * from \"./listDiscoveredDevices\";\nexport * from \"./listIssues\";\nexport * from \"./listLocks\";\nexport * from \"./listMediaSources\";\nexport * from \"./listMyOrders\";\nexport * from \"./listMyProperties\";\nexport * from \"./listMyReservations\";\nexport * from \"./listMySpaces\";\nexport * from \"./listMyTickets\";\nexport * from \"./listMyTimeSheets\";\nexport * from \"./listNotifications\";\nexport * from \"./listOrders\";\nexport * from \"./listOrganizations\";\nexport * from \"./listPolicies\";\nexport * from \"./listProducts\";\nexport * from \"./listProperties\";\nexport * from \"./listReservations\";\nexport * from \"./listRooms\";\nexport * from \"./listRoomsInSpace\";\nexport * from \"./listScenes\";\nexport * from \"./listSessions\";\nexport * from \"./listSpaces\";\nexport * from \"./listSwitches\";\nexport * from \"./listSystems\";\nexport * from \"./listTeam\";\nexport * from \"./listThermostats\";\nexport * from \"./listTicketLocations\";\nexport * from \"./listTickets\";\nexport * from \"./listTimeSheets\";\nexport * from \"./listUserMobileKeys\";\nexport * from \"./listUserOrders\";\nexport * from \"./listUserReservations\";\nexport * from \"./listUserSpaces\";\nexport * from \"./listUsers\";\nexport * from \"./listVendors\";\nexport * from \"./listWindowCoverings\";\nexport * from \"./loginFinish\";\nexport * from \"./loginStart\";\nexport * from \"./logoutSelf\";\nexport * from \"./logoutUser\";\nexport * from \"./matchUserIdentification\";\nexport * from \"./moveAlarm\";\nexport * from \"./moveCamera\";\nexport * from \"./moveCourtesy\";\nexport * from \"./moveDimmer\";\nexport * from \"./moveLock\";\nexport * from \"./moveMediaSource\";\nexport * from \"./moveSwitch\";\nexport * from \"./moveThermostat\";\nexport * from \"./moveWindowCovering\";\nexport * from \"./oCRDocument\";\nexport * from \"./purchaseReservationEarlyCheckInProducts\";\nexport * from \"./purchaseReservationLateCheckOutProducts\";\nexport * from \"./purchaseReservationPetProducts\";\nexport * from \"./purchaseReservationPromos\";\nexport * from \"./purchaseReservationRoomUpgrades\";\nexport * from \"./refreshToken\";\nexport * from \"./requestLoginToken\";\nexport * from \"./sendCheckInSMS\";\nexport * from \"./sendCheckOutSMS\";\nexport * from \"./sendNotification\";\nexport * from \"./sendPreArrivalEmail\";\nexport * from \"./sendPreArrivalSMS\";\nexport * from \"./sendRoomControlSMS\";\nexport * from \"./sendSMS\";\nexport * from \"./sendVerificationCode\";\nexport * from \"./setAlarm\";\nexport * from \"./setCamera\";\nexport * from \"./setCourtesy\";\nexport * from \"./setDevices\";\nexport * from \"./setDimmer\";\nexport * from \"./setLock\";\nexport * from \"./setMediaSource\";\nexport * from \"./setRoomScene\";\nexport * from \"./setScene\";\nexport * from \"./setSpaceScene\";\nexport * from \"./setSwitch\";\nexport * from \"./setThermostat\";\nexport * from \"./setWindowCovering\";\nexport * from \"./startRegisterPasskey\";\nexport * from \"./startSOS\";\nexport * from \"./stopSOS\";\nexport * from \"./tipUser\";\nexport * from \"./updateAlarm\";\nexport * from \"./updateAnnouncement\";\nexport * from \"./updateAutomation\";\nexport * from \"./updateCamera\";\nexport * from \"./updateCategory\";\nexport * from \"./updateCourtesy\";\nexport * from \"./updateDimmer\";\nexport * from \"./updateDiscoveredDevice\";\nexport * from \"./updateIssue\";\nexport * from \"./updateLock\";\nexport * from \"./updateMediaSource\";\nexport * from \"./updateMessageReadStatus\";\nexport * from \"./updateNotification\";\nexport * from \"./updateOrganization\";\nexport * from \"./updatePolicy\";\nexport * from \"./updateProperty\";\nexport * from \"./updatePropertySettings\";\nexport * from \"./updateReservation\";\nexport * from \"./updateReservationExpectedArrivalTime\";\nexport * from \"./updateRoom\";\nexport * from \"./updateSelf\";\nexport * from \"./updateSession\";\nexport * from \"./updateSpace\";\nexport * from \"./updateSwitch\";\nexport * from \"./updateSystem\";\nexport * from \"./updateThermostat\";\nexport * from \"./updateTicket\";\nexport * from \"./updateTicketStatus\";\nexport * from \"./updateTimeSheet\";\nexport * from \"./updateTimeSheetTimeEntry\";\nexport * from \"./updateUser\";\nexport * from \"./updateVendor\";\nexport * from \"./updateWindowCovering\";\nexport * from \"./uploadImage\";\nexport * from \"./upsertDiscoveredDevice\";\nexport * from \"./validateAuth\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{errors_exports}from"./chunk-
|
|
1
|
+
import{errors_exports}from"./chunk-5QBIGY4H.js";import{amqpExchanges}from"./chunk-THXOWLL3.js";import{__name}from"./chunk-XE4OXN2W.js";import{connect}from"amqplib";import dbg from"debug";import{Buffer}from"buffer";import*as crypto from"crypto";var randomUUID2=crypto.randomUUID,debug=dbg("kohost:amqp-client"),KohostAMQPClient=class{static{__name(this,"KohostAMQPClient")}static get Message(){return Message}static get exchanges(){return amqpExchanges}static generateCorrelationId(){return randomUUID2()}static validateMessage(message){if(!message)throw new Error("Message is required")}static parseError(err){let type,message,options={};if(err.message&&err.type){const{message:errMessage,type:errType,...rest}=err;type=errType,message=errMessage,options=rest}else message=err.message||"Unknown Error";return debug("parseError",type,message,options),type&&errors_exports[type]?new errors_exports[type](message,options):new Error(message,options)}static parseMessage(message){let error=null,data={},query={},context={},headers={};const isCommand="Command"===message?.properties?.type,isEvent="Event"===message?.properties?.type,messageHeaders=message?.properties?.headers||{},commandName=messageHeaders["X-Command-Name"]||null,eventName=messageHeaders["X-Event-Name"]||null;if(message.content)try{const payload="application/json"===message.properties?.contentType?JSON.parse(message.content.toString()):message.content.toString();data=payload?.data||{},error=payload?.error,query=payload?.query||{},context=payload?.context||{}}catch(error2){debug("error parsing content",error2),data=message.content.toString()}if(message?.properties?.headers){const orgHeader=message.properties.headers["X-Organization-Id"],propertyHeader=message.properties.headers["X-Property-Id"],driverHeader=message.properties.headers["X-Driver"];orgHeader&&(context.organizationId=orgHeader,headers["X-Organization-Id"]=orgHeader),propertyHeader&&(context.propertyId=propertyHeader,headers["X-Property-Id"]=propertyHeader),driverHeader&&(context.driver=driverHeader,headers["X-Driver"]=driverHeader)}const parsed={};return error&&(parsed.error=this.parseError(error)),parsed.data=data,parsed.query=query,parsed.context=context,parsed.headers=headers,isEvent&&eventName?parsed.event=eventName:isCommand&&commandName&&(parsed.command=commandName),debug("amqp parsed %o",parsed),parsed}static getMessage(message){if(!message?.content)return null;const payload=JSON.parse(message.content.toString()),data=payload?.data;return data}static isFatalError(err){return isFatalError(err)}async createConnection(connection,options={}){return await connect(connection,options)}static createMessage(content){return new Message(content)}async createChannel(connection){return await connection.createChannel()}async assertExchange(channel,{exchange:exchange,type:type,options:options}){return await channel.assertExchange(exchange,type,options)}async assertQueue(channel,{queue:queue,options:options}){return await channel.assertQueue(queue,options)}async bindQueue(channel,{queue:queue,exchange:exchange,routingKey:routingKey,args:args}){return await channel.bindQueue(queue,exchange,routingKey,args)}async bindExchange(channel,{source:source,destination:destination,routingKey:routingKey,args:args}){return await channel.bindExchange(destination,source,routingKey,args)}async subscribeToQueue(channel,{queue:queue,cb:cb,options:options}){return await channel.consume(queue,cb,options)}publishToExchange(channel,{exchange:exchange,routingKey:routingKey,content:content,options:options}){return channel.publish(exchange,routingKey,content,options)}},Message=class{static{__name(this,"Message")}constructor(content){this.toExchange=null,this.content=content,this.options={contentType:"application/json",timestamp:Date.now()},this.routingKey=""}get correlationId(){return this.options.correlationId||null}to({exchange:exchange}){if(void 0===exchange)throw new Error("Exchange is required");return this.toExchange=exchange,this}withType(type){return this.options.type=type,this}withRoutingKey(routingKey){return this.routingKey=routingKey,this}withHeaders(headers){return this.options.headers||(this.options.headers={}),this.options.headers={...this.options.headers,...headers},this}withContext(context){for(let key in context)this.withHeaders({[key]:context[key]});return this}withCorrelationId(correlationId){return this.options.correlationId=correlationId,this}withReplyTo(queue){return this.options.replyTo=queue,this}build(){let content=this.content;return content.build&&"function"==typeof content.build&&(content=content.build()),{exchange:this.toExchange,content:Buffer.from(JSON.stringify(content)),options:this.options,routingKey:this.routingKey}}};function isFatalError(err){switch(err&&err.code){case 320:case 200:return!1;default:return!0}}__name(isFatalError,"isFatalError");export{KohostAMQPClient};//# sourceMappingURL=chunk-NVHDJTCZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{UpdateReservation}from"./chunk-FTCH2YVK.js";import{UpdateUser}from"./chunk-25TS7WQK.js";import{UploadImage}from"./chunk-BHG5VJNQ.js";import{SetCourtesy}from"./chunk-JKB4GVXZ.js";import{SetDimmer}from"./chunk-PVVJAJ2U.js";import{SetLock}from"./chunk-ANEFCLND.js";import{SetMedia}from"./chunk-F7RJAXJ3.js";import{SetScene}from"./chunk-HQAVS73L.js";import{SetSwitch}from"./chunk-AXJW3S5W.js";import{SetThermostat}from"./chunk-4PPJAXMZ.js";import{SetWindowCovering}from"./chunk-XYE4QWAL.js";import{GetRooms}from"./chunk-QGACPW7L.js";import{GetUsers}from"./chunk-RP66PVLU.js";import{OCRDocument}from"./chunk-2YCWOIUR.js";import{SellProducts}from"./chunk-DOX5ZOSZ.js";import{SendEmail}from"./chunk-RBVPAANY.js";import{SendSMS}from"./chunk-RMDNQAV4.js";import{SetAlarm}from"./chunk-XURK32UQ.js";import{CreateImageUploadEndpoint}from"./chunk-K3ERMR2X.js";import{CreateShortLink}from"./chunk-2C6SKQY6.js";import{GetCategories}from"./chunk-XFXENMXN.js";import{GetMobileKey}from"./chunk-J3KAHJ7Z.js";import{GetProducts}from"./chunk-5Z3DQU4I.js";import{GetReservationSpaceCategoryAvailabilities}from"./chunk-VE45ITDQ.js";import{GetReservations}from"./chunk-6D6FRQCU.js";import{CheckInReservation}from"./chunk-RIWQUPNT.js";import{CheckOutReservation}from"./chunk-HF3F4KLM.js";import{Command}from"./chunk-4FR6LYG3.js";import{__export}from"./chunk-XE4OXN2W.js";var commands_exports={};__export(commands_exports,{CheckInReservation:()=>CheckInReservation,CheckOutReservation:()=>CheckOutReservation,Command:()=>Command,CreateImageUploadEndpoint:()=>CreateImageUploadEndpoint,CreateShortLink:()=>CreateShortLink,GetCategories:()=>GetCategories,GetMobileKey:()=>GetMobileKey,GetProducts:()=>GetProducts,GetReservationSpaceCategoryAvailabilities:()=>GetReservationSpaceCategoryAvailabilities,GetReservations:()=>GetReservations,GetRooms:()=>GetRooms,GetUsers:()=>GetUsers,OCRDocument:()=>OCRDocument,SellProducts:()=>SellProducts,SendEmail:()=>SendEmail,SendSMS:()=>SendSMS,SetAlarm:()=>SetAlarm,SetCourtesy:()=>SetCourtesy,SetDimmer:()=>SetDimmer,SetLock:()=>SetLock,SetMedia:()=>SetMedia,SetScene:()=>SetScene,SetSwitch:()=>SetSwitch,SetThermostat:()=>SetThermostat,SetWindowCovering:()=>SetWindowCovering,UpdateReservation:()=>UpdateReservation,UpdateUser:()=>UpdateUser,UploadImage:()=>UploadImage});export{commands_exports};//# sourceMappingURL=chunk-
|
|
1
|
+
import{UpdateReservation}from"./chunk-FTCH2YVK.js";import{UpdateUser}from"./chunk-25TS7WQK.js";import{UploadImage}from"./chunk-BHG5VJNQ.js";import{SetCourtesy}from"./chunk-JKB4GVXZ.js";import{SetDimmer}from"./chunk-PVVJAJ2U.js";import{SetLock}from"./chunk-ANEFCLND.js";import{SetMedia}from"./chunk-F7RJAXJ3.js";import{SetScene}from"./chunk-HQAVS73L.js";import{SetSwitch}from"./chunk-AXJW3S5W.js";import{SetThermostat}from"./chunk-4PPJAXMZ.js";import{SetWindowCovering}from"./chunk-XYE4QWAL.js";import{GetRooms}from"./chunk-QGACPW7L.js";import{GetUsers}from"./chunk-RP66PVLU.js";import{OCRDocument}from"./chunk-2YCWOIUR.js";import{SellProducts}from"./chunk-DOX5ZOSZ.js";import{SendEmail}from"./chunk-RBVPAANY.js";import{SendSMS}from"./chunk-RMDNQAV4.js";import{SetAlarm}from"./chunk-XURK32UQ.js";import{CreateImageUploadEndpoint}from"./chunk-K3ERMR2X.js";import{CreateShortLink}from"./chunk-2C6SKQY6.js";import{GetCategories}from"./chunk-XFXENMXN.js";import{GetMobileKey}from"./chunk-J3KAHJ7Z.js";import{GetProducts}from"./chunk-5Z3DQU4I.js";import{GetReservationSpaceCategoryAvailabilities}from"./chunk-VE45ITDQ.js";import{GetReservations}from"./chunk-6D6FRQCU.js";import{CheckInReservation}from"./chunk-RIWQUPNT.js";import{CheckOutReservation}from"./chunk-HF3F4KLM.js";import{Command}from"./chunk-4FR6LYG3.js";import{__export}from"./chunk-XE4OXN2W.js";var commands_exports={};__export(commands_exports,{CheckInReservation:()=>CheckInReservation,CheckOutReservation:()=>CheckOutReservation,Command:()=>Command,CreateImageUploadEndpoint:()=>CreateImageUploadEndpoint,CreateShortLink:()=>CreateShortLink,GetCategories:()=>GetCategories,GetMobileKey:()=>GetMobileKey,GetProducts:()=>GetProducts,GetReservationSpaceCategoryAvailabilities:()=>GetReservationSpaceCategoryAvailabilities,GetReservations:()=>GetReservations,GetRooms:()=>GetRooms,GetUsers:()=>GetUsers,OCRDocument:()=>OCRDocument,SellProducts:()=>SellProducts,SendEmail:()=>SendEmail,SendSMS:()=>SendSMS,SetAlarm:()=>SetAlarm,SetCourtesy:()=>SetCourtesy,SetDimmer:()=>SetDimmer,SetLock:()=>SetLock,SetMedia:()=>SetMedia,SetScene:()=>SetScene,SetSwitch:()=>SetSwitch,SetThermostat:()=>SetThermostat,SetWindowCovering:()=>SetWindowCovering,UpdateReservation:()=>UpdateReservation,UpdateUser:()=>UpdateUser,UploadImage:()=>UploadImage});export{commands_exports};//# sourceMappingURL=chunk-O3T2FO7O.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-11-
|
|
1
|
+
{"version":3,"sources":["../src/commands/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-11-05T14:27:49.885Z\n\nexport * from \"./checkInReservation\";\nexport * from \"./checkOutReservation\";\nexport * from \"./command\";\nexport * from \"./createImageUploadEndpoint\";\nexport * from \"./createShortLink\";\nexport * from \"./getCategories\";\nexport * from \"./getMobileKey\";\nexport * from \"./getProducts\";\nexport * from \"./getReservationSpaceCategoryAvailabilities\";\nexport * from \"./getReservations\";\nexport * from \"./getRooms\";\nexport * from \"./getUsers\";\nexport * from \"./ocrDocument\";\nexport * from \"./sellProducts\";\nexport * from \"./sendEmail\";\nexport * from \"./sendSMS\";\nexport * from \"./setAlarm\";\nexport * from \"./setCourtesy\";\nexport * from \"./setDimmer\";\nexport * from \"./setLock\";\nexport * from \"./setMedia\";\nexport * from \"./setScene\";\nexport * from \"./setSwitch\";\nexport * from \"./setThermostat\";\nexport * from \"./setWindowCovering\";\nexport * from \"./updateReservation\";\nexport * from \"./updateUser\";\nexport * from \"./uploadImage\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{validateMotionSensor}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var MotionSensor=class extends Entity{static{__name(this,"MotionSensor")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),this.type=data.type,void 0!==data.offline&&(this.offline=data.offline),this.driver=data.driver,void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),void 0!==data.occupied&&(this.occupied=data.occupied),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.manufacturer&&(this.manufacturer=data.manufacturer),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion)}};Object.defineProperty(MotionSensor.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"motionSensor.json",title:"Motion Sensor",description:"Any smart motion sensor",type:"object",required:["id","type","driver"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string"},type:{type:"string",default:"motionSensor",enum:["motionSensor"]},offline:{type:"boolean"},driver:{$ref:"definitions.json#/definitions/driver"},systemId:{$ref:"definitions.json#/definitions/systemId"},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},occupied:{type:"boolean"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},manufacturer:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"}}}}),Object.defineProperty(MotionSensor.prototype,"validator",{get:__name(function(){return validateMotionSensor},"get")});export{MotionSensor};//# sourceMappingURL=chunk-
|
|
1
|
+
import{validateMotionSensor}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var MotionSensor=class extends Entity{static{__name(this,"MotionSensor")}constructor(data){super(data),this.id=data.id,void 0!==data.name&&(this.name=data.name),this.type=data.type,void 0!==data.offline&&(this.offline=data.offline),this.driver=data.driver,void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),void 0!==data.occupied&&(this.occupied=data.occupied),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.manufacturer&&(this.manufacturer=data.manufacturer),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion)}};Object.defineProperty(MotionSensor.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"motionSensor.json",title:"Motion Sensor",description:"Any smart motion sensor",type:"object",required:["id","type","driver"],additionalProperties:!1,properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string"},type:{type:"string",default:"motionSensor",enum:["motionSensor"]},offline:{type:"boolean"},driver:{$ref:"definitions.json#/definitions/driver"},systemId:{$ref:"definitions.json#/definitions/systemId"},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},occupied:{type:"boolean"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},manufacturer:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"}}}}),Object.defineProperty(MotionSensor.prototype,"validator",{get:__name(function(){return validateMotionSensor},"get")});export{MotionSensor};//# sourceMappingURL=chunk-OEO6RXVP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/motionSensor.js"],"sourcesContent":["/* @ts-nocheck */\n/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity\";\nimport { validateMotionSensor as validate } from \"../validate\";\n\n/**\n * @typedef {Object} MotionSensorData Any smart motion sensor\n * @property {string} id - Identifier of the object.\n * @property {string} [name]\n * @property {\"motionSensor\"} type - Default: \"motionSensor\"\n * @property {boolean} [offline]\n * @property {(\"adlink\"|\"aws-kinesis\"|\"bacnet\"|\"benq\"|\"butler\"|\"comelit\"|\"crestron\"|\"dell\"|\"digital-watchdog\"|\"distech\"|\"dmp\"|\"doorbird\"|\"dormakaba\"|\"dsc\"|\"ecobee\"|\"epson\"|\"geovision-rs\"|\"geovision-as-manager\"|\"honeywell-vista\"|\"igor\"|\"inncom\"|\"isapi\"|\"kohost-k7\"|\"kohost\"|\"lg\"|\"lg-webos\"|\"lapi\"|\"lirc\"|\"mews\"|\"mht\"|\"newline\"|\"paxton\"|\"pelican-wireless\"|\"power-shades\"|\"rachio\"|\"rebrandly\"|\"relay\"|\"rtsp\"|\"salto\"|\"salto-irn\"|\"samsung\"|\"se\"|\"sendgrid\"|\"smartboard\"|\"sonifi\"|\"stay-n-touch\"|\"storable\"|\"twilio\"|\"unifi\"|\"valcom\"|\"veracross\"|\"vivotek\"|\"vizio\"|\"wisenet\"|\"cloudflare-images\"|\"cloudflare-stream\"|\"insperia-privacy\")} driver - Driver used to communicate with the object.\n * @property {string} [systemId] - Identifier of the object, directly related to the system.\n * @property {(\"button 1\"|\"button 2\"|\"button 3\"|\"button 4\"|\"button 5\"|\"idle\"|\"powerHasBeedApplied\"|\"acMainsDisconnected\"|\"acMainsReconnected\"|\"replaceBatterySoon\"|\"replaceBatteryNow\"|\"batteryOk\"|\"hardwareFailure\"|\"softwareFailure\"|\"hardwareFailureWithCode\"|\"softwareFailureWithCode\"|\"motionDetection\"|\"airFilterNeedsCleaned\"|\"airFilterNeedsReplaced\"|\"smokeDetected\"|\"outsideSafeTemperatureRange\"|\"outsideSafeHumidityRange\"|\"scheduleMaintenance\"|\"doorAjar\"|\"communicationFailure\"|\"communicationOk\"|\"burglarAlarm\"|\"fireAlarm\")[]} [supportedNotifications]\n * @property {{name?: (\"button 1\"|\"button 2\"|\"button 3\"|\"button 4\"|\"button 5\"|\"idle\"|\"powerHasBeedApplied\"|\"acMainsDisconnected\"|\"acMainsReconnected\"|\"replaceBatterySoon\"|\"replaceBatteryNow\"|\"batteryOk\"|\"hardwareFailure\"|\"softwareFailure\"|\"hardwareFailureWithCode\"|\"softwareFailureWithCode\"|\"motionDetection\"|\"airFilterNeedsCleaned\"|\"airFilterNeedsReplaced\"|\"smokeDetected\"|\"outsideSafeTemperatureRange\"|\"outsideSafeHumidityRange\"|\"scheduleMaintenance\"|\"doorAjar\"|\"communicationFailure\"|\"communicationOk\"|\"burglarAlarm\"|\"fireAlarm\"), timestamp?: number, description?: string}} [notification]\n * @property {boolean} [occupied]\n * @property {number} [watts]\n * @property {string} [icon]\n * @property {string} [manufacturer]\n * @property {string} [modelNumber]\n * @property {string} [serialNumber]\n * @property {string} [firmwareVersion]\n */\n\n/**\n * Any smart motion sensor\n * @class MotionSensor\n * @extends {Entity}\n */\nexport class MotionSensor extends Entity {\n /**\n * @constructor\n * @param {MotionSensorData} data - The data to initialize the MotionSensor with\n */\n constructor(data) {\n super(data);\n this.id = data.id;\n if (data.name !== undefined) this.name = data.name;\n this.type = data.type;\n if (data.offline !== undefined) this.offline = data.offline;\n this.driver = data.driver;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n if (data.supportedNotifications !== undefined)\n this.supportedNotifications = data.supportedNotifications;\n if (data.notification !== undefined) this.notification = data.notification;\n if (data.occupied !== undefined) this.occupied = data.occupied;\n if (data.watts !== undefined) this.watts = data.watts;\n if (data.icon !== undefined) this.icon = data.icon;\n if (data.manufacturer !== undefined) this.manufacturer = data.manufacturer;\n if (data.modelNumber !== undefined) this.modelNumber = data.modelNumber;\n if (data.serialNumber !== undefined) this.serialNumber = data.serialNumber;\n if (data.firmwareVersion !== undefined)\n this.firmwareVersion = data.firmwareVersion;\n }\n}\n\nObject.defineProperty(MotionSensor.prototype, \"schema\", {\n value: {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"motionSensor.json\",\n title: \"Motion Sensor\",\n description: \"Any smart motion sensor\",\n type: \"object\",\n required: [\"id\", \"type\", \"driver\"],\n additionalProperties: false,\n properties: {\n id: { $ref: \"definitions.json#/definitions/id\" },\n name: { type: \"string\" },\n type: { type: \"string\", default: \"motionSensor\", enum: [\"motionSensor\"] },\n offline: { type: \"boolean\" },\n driver: { $ref: \"definitions.json#/definitions/driver\" },\n systemId: { $ref: \"definitions.json#/definitions/systemId\" },\n supportedNotifications: {\n $ref: \"definitions.json#/definitions/supportedNotifications\",\n },\n notification: { $ref: \"definitions.json#/definitions/notification\" },\n occupied: { type: \"boolean\" },\n watts: { $ref: \"definitions.json#/definitions/watts\" },\n icon: { type: \"string\" },\n manufacturer: { type: \"string\" },\n modelNumber: { type: \"string\" },\n serialNumber: { type: \"string\" },\n firmwareVersion: { type: \"string\" },\n },\n },\n});\n\nObject.defineProperty(MotionSensor.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;AA8BO,IAAM,eAAN,cAA2B,OAAO;AAAA,EA9BzC,OA8ByC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKvC,YAAY,MAAM;AAChB,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,SAAK,OAAO,KAAK;AACjB,QAAI,KAAK,YAAY,OAAW,MAAK,UAAU,KAAK;AACpD,SAAK,SAAS,KAAK;AACnB,QAAI,KAAK,aAAa,OAAW,MAAK,WAAW,KAAK;AACtD,QAAI,KAAK,2BAA2B;AAClC,WAAK,yBAAyB,KAAK;AACrC,QAAI,KAAK,iBAAiB,OAAW,MAAK,eAAe,KAAK;AAC9D,QAAI,KAAK,aA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eAAe,aAAa,WAAW,aAAa;AAAA,EACzD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{validateDiscoveredDevice}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var DiscoveredDevice=class extends Entity{static{__name(this,"DiscoveredDevice")}constructor(data){super(data),this.id=data.id,this.name=data.name,this.deviceId=data.deviceId,void 0!==data.type&&(this.type=data.type),void 0!==data.discriminator&&(this.discriminator=data.discriminator),void 0!==data.driver&&(this.driver=data.driver),this.deviceData=data.deviceData,void 0!==data.ignore&&(this.ignore=data.ignore),void 0!==data.organizationId&&(this.organizationId=data.organizationId),void 0!==data.propertyId&&(this.propertyId=data.propertyId),void 0!==data.createdAt&&(this.createdAt=data.createdAt),void 0!==data.updatedAt&&(this.updatedAt=data.updatedAt)}};Object.defineProperty(DiscoveredDevice.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"discoveredDevice.json",title:"Discovered Device",description:"A device that has been discovered by Kohost, but not yet added to the Kohost system.",type:"object",required:["id","name","deviceId","deviceData"],properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string"},deviceId:{type:"string"},type:{type:"string",enum:["discoveredDevice"],default:"discoveredDevice"},discriminator:{$ref:"definitions.json#/definitions/type"},driver:{type:"string"},deviceData:{type:"object"},ignore:{type:"boolean"},organizationId:{type:["string","null"],description:"Reference (id) to the organization that owns this device"},propertyId:{type:["string","null"],description:"Reference (id) to the property that this device belongs to"},createdAt:{$ref:"definitions.json#/definitions/date"},updatedAt:{$ref:"definitions.json#/definitions/date"}}}}),Object.defineProperty(DiscoveredDevice.prototype,"validator",{get:__name(function(){return validateDiscoveredDevice},"get")});export{DiscoveredDevice};//# sourceMappingURL=chunk-
|
|
1
|
+
import{validateDiscoveredDevice}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var DiscoveredDevice=class extends Entity{static{__name(this,"DiscoveredDevice")}constructor(data){super(data),this.id=data.id,this.name=data.name,this.deviceId=data.deviceId,void 0!==data.type&&(this.type=data.type),void 0!==data.discriminator&&(this.discriminator=data.discriminator),void 0!==data.driver&&(this.driver=data.driver),this.deviceData=data.deviceData,void 0!==data.ignore&&(this.ignore=data.ignore),void 0!==data.organizationId&&(this.organizationId=data.organizationId),void 0!==data.propertyId&&(this.propertyId=data.propertyId),void 0!==data.createdAt&&(this.createdAt=data.createdAt),void 0!==data.updatedAt&&(this.updatedAt=data.updatedAt)}};Object.defineProperty(DiscoveredDevice.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"discoveredDevice.json",title:"Discovered Device",description:"A device that has been discovered by Kohost, but not yet added to the Kohost system.",type:"object",required:["id","name","deviceId","deviceData"],properties:{id:{$ref:"definitions.json#/definitions/id"},name:{type:"string"},deviceId:{type:"string"},type:{type:"string",enum:["discoveredDevice"],default:"discoveredDevice"},discriminator:{$ref:"definitions.json#/definitions/type"},driver:{type:"string"},deviceData:{type:"object"},ignore:{type:"boolean"},organizationId:{type:["string","null"],description:"Reference (id) to the organization that owns this device"},propertyId:{type:["string","null"],description:"Reference (id) to the property that this device belongs to"},createdAt:{$ref:"definitions.json#/definitions/date"},updatedAt:{$ref:"definitions.json#/definitions/date"}}}}),Object.defineProperty(DiscoveredDevice.prototype,"validator",{get:__name(function(){return validateDiscoveredDevice},"get")});export{DiscoveredDevice};//# sourceMappingURL=chunk-QAOGHEYG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/discoveredDevice.js"],"sourcesContent":["/* @ts-nocheck */\n/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity\";\nimport { validateDiscoveredDevice as validate } from \"../validate\";\n\n/**\n * @typedef {Object} DiscoveredDeviceData A device that has been discovered by Kohost, but not yet added to the Kohost system.\n * @property {string} id - Identifier of the object.\n * @property {string} name\n * @property {string} deviceId\n * @property {\"discoveredDevice\"} [type] - Default: \"discoveredDevice\"\n * @property {(\"alarm\"|\"dimmer\"|\"switch\"|\"motionSensor\"|\"windowCovering\"|\"camera\"|\"mediaSource\"|\"thermostat\"|\"lock\"|\"courtesy\"|\"gateway\"|\"tv\"|\"dvr\"|\"appleTv\"|\"discPlayer\"|\"mediaPlayer\"|\"uncontrolledDevice\")} [discriminator]\n * @property {string} [driver]\n * @property {object} deviceData\n * @property {boolean} [ignore]\n * @property {(string|null)} [organizationId] - Reference (id) to the organization that owns this device\n * @property {(string|null)} [propertyId] - Reference (id) to the property that this device belongs to\n * @property {(string|object)} [createdAt]\n * @property {(string|object)} [updatedAt]\n */\n\n/**\n * A device that has been discovered by Kohost, but not yet added to the Kohost system.\n * @class DiscoveredDevice\n * @extends {Entity}\n */\nexport class DiscoveredDevice extends Entity {\n /**\n * @constructor\n * @param {DiscoveredDeviceData} data - The data to initialize the DiscoveredDevice with\n */\n constructor(data) {\n super(data);\n this.id = data.id;\n this.name = data.name;\n this.deviceId = data.deviceId;\n if (data.type !== undefined) this.type = data.type;\n if (data.discriminator !== undefined)\n this.discriminator = data.discriminator;\n if (data.driver !== undefined) this.driver = data.driver;\n this.deviceData = data.deviceData;\n if (data.ignore !== undefined) this.ignore = data.ignore;\n if (data.organizationId !== undefined)\n this.organizationId = data.organizationId;\n if (data.propertyId !== undefined) this.propertyId = data.propertyId;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n }\n}\n\nObject.defineProperty(DiscoveredDevice.prototype, \"schema\", {\n value: {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"discoveredDevice.json\",\n title: \"Discovered Device\",\n description:\n \"A device that has been discovered by Kohost, but not yet added to the Kohost system.\",\n type: \"object\",\n required: [\"id\", \"name\", \"deviceId\", \"deviceData\"],\n properties: {\n id: { $ref: \"definitions.json#/definitions/id\" },\n name: { type: \"string\" },\n deviceId: { type: \"string\" },\n type: {\n type: \"string\",\n enum: [\"discoveredDevice\"],\n default: \"discoveredDevice\",\n },\n discriminator: { $ref: \"definitions.json#/definitions/type\" },\n driver: { type: \"string\" },\n deviceData: { type: \"object\" },\n ignore: { type: \"boolean\" },\n organizationId: {\n type: [\"string\", \"null\"],\n description: \"Reference (id) to the organization that owns this device\",\n },\n propertyId: {\n type: [\"string\", \"null\"],\n description:\n \"Reference (id) to the property that this device belongs to\",\n },\n createdAt: { $ref: \"definitions.json#/definitions/date\" },\n updatedAt: { $ref: \"definitions.json#/definitions/date\" },\n },\n },\n});\n\nObject.defineProperty(DiscoveredDevice.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;AA2BO,IAAM,mBAAN,cAA+B,OAAO;AAAA,EA3B7C,OA2B6C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAK3C,YAAY,MAAM;AAChB,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,SAAK,WAAW,KAAK;AACrB,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,QAAI,KAAK,kBAAkB;AACzB,WAAK,gBAAgB,KAAK;AAC5B,QAAI,KAAK,WAAW,OAAW,MAAK,SAAS,KAAK;AAClD,SAAK,aAAa,KAAK;AACvB,QAAI,KAAK,WAAW,OAAW,MAAK,SAAS,KAAK;AAClD,QAAI,KAAK,mBAAmB;AAC1B,WAAK,iBAAiB,KAAK;AAC7B,QAAI,KAAK,eAAe,OAAW,MAAK,aAAa,KAAK;AAC1D,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AAAA,EAC1D;AACF;AAEA,OAAO,eAAe,iBAAiB,WAAW,UAAU;AAAA,EAC1D,OAAO;AAAA,IACL,SAAS;AAAA,IACT,KAAK;AAAA,IACL,OAAO;AAAA,IACP,aACE;AAAA,IACF,MAAM;AAAA,IACN,UAAU,CAAC,MAAM,QAAQ,YAAY,YAAY;AAAA,IACjD,YAAY;AAAA,MACV,IAAI,EAAE,MAAM,mCAAmC;AAAA,MAC/C,MAAM,EAAE,MAAM,SAAS;AAAA,MACvB,UAAU,EAAE,MAAM,SAAS;AAAA,MAC3B,MAAM;AAAA,QACJ,MAAM;AAAA,QACN,MAAM,CAAC,kBAAkB;AAAA,QACzB,SAAS;AAAA,MACX;AAAA,MACA,eAAe,EAAE,MAAM,qCAAqC;AAAA,MAC5D,QAAQ,EAAE,MAAM,SAAS;AAAA,MACzB,YAAY,EAAE,MAAM,SAAS;AAAA,MAC7B,QAAQ,EAAE,MAAM,UAAU;AAAA,MAC1B,gBAAgB;AAAA,QACd,MAAM,CAAC,UAAU,MAAM;AAAA,QACvB,aAAa;AAAA,MACf;AAAA,MACA,YAAY;AAAA,QACV,MAAM,CAAC,UAAU,MAAM;AAAA,QACvB,aACE;AAAA,MACJ;AAAA,MACA,WAAW,EAAE,MAAM,qCAAqC;AAAA,MACxD,WAAW,EAAE,MAAM,qCAAqC;AAAA,IAC1D;AAAA,EACF;AACF,CAAC;AAED,OAAO,eAAe,iBAAiB,WAAW,aAAa;AAAA,EAC7D,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{validateReservation}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Reservation=class extends Entity{static{__name(this,"Reservation")}constructor(data){super(data),void 0!==data.id&&(this.id=data.id),void 0!==data.driver&&(this.driver=data.driver),void 0!==data.primaryGuest&&(this.primaryGuest=data.primaryGuest),this.type=data.type,void 0!==data.sharedGuests&&(this.sharedGuests=data.sharedGuests),void 0!==data.spaceCategory&&(this.spaceCategory=data.spaceCategory),void 0!==data.space&&(this.space=data.space),void 0!==data.previousSpace&&(this.previousSpace=data.previousSpace),this.status=data.status,void 0!==data.mobileCheckInSpaceCategoryChanged&&(this.mobileCheckInSpaceCategoryChanged=data.mobileCheckInSpaceCategoryChanged),void 0!==data.mobileCheckInSpaceChanged&&(this.mobileCheckInSpaceChanged=data.mobileCheckInSpaceChanged),void 0!==data.mobileCheckInStatus&&(this.mobileCheckInStatus=data.mobileCheckInStatus),void 0!==data.mobileCheckInStatusMessage&&(this.mobileCheckInStatusMessage=data.mobileCheckInStatusMessage),void 0!==data.confirmationNumber&&(this.confirmationNumber=data.confirmationNumber),void 0!==data.expectedCheckInDateTime&&(this.expectedCheckInDateTime=data.expectedCheckInDateTime),this.checkInDateTime=data.checkInDateTime,this.checkOutDateTime=data.checkOutDateTime,void 0!==data.adultCount&&(this.adultCount=data.adultCount),void 0!==data.childCount&&(this.childCount=data.childCount),void 0!==data.spaceCategoryAvailabilites&&(this.spaceCategoryAvailabilites=data.spaceCategoryAvailabilites),void 0!==data.revenue&&(this.revenue=data.revenue),void 0!==data.rateSuppressed&&(this.rateSuppressed=data.rateSuppressed),void 0!==data.payment&&(this.payment=data.payment),void 0!==data.company&&(this.company=data.company),void 0!==data.travelAgent&&(this.travelAgent=data.travelAgent),void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.metadata&&(this.metadata=data.metadata),void 0!==data.createdAt&&(this.createdAt=data.createdAt),void 0!==data.updatedAt&&(this.updatedAt=data.updatedAt),void 0!==data.deletedAt&&(this.deletedAt=data.deletedAt)}checkInTime(tz){return new Date(this.checkInDateTime).toLocaleString("default",{hour:"numeric",minute:"numeric",timeZone:tz})}checkOutTime(tz){return new Date(this.checkOutDateTime).toLocaleString("default",{hour:"numeric",minute:"numeric",timeZone:tz})}getNights(){const start=new Date(this.checkInDateTime),end=new Date(this.checkOutDateTime);let nights=Math.round((end-start)/864e5);return nights<=0&&(nights=1),nights}};Object.defineProperty(Reservation.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"reservation.json",title:"Reservation",type:"object",required:["type","status","checkInDateTime","checkOutDateTime"],properties:{id:{$ref:"definitions.json#/definitions/id"},driver:{$ref:"definitions.json#/definitions/driver"},primaryGuest:{type:"string"},type:{type:"string",default:"reservation",enum:["reservation"]},sharedGuests:{type:"array",items:{type:"string"}},spaceCategory:{type:"string"},space:{type:["string","null"]},previousSpace:{type:["string","null"],default:null,description:"Used when there was a space assigned and it changes"},status:{type:"string",enum:["reserved","checkedIn","checkedOut","cancelled","noShow","enquired","requested","optional"],description:" reserved - confirmed by both parties, before check-in\n checkedIn - checked in\n checkedOut - checked out\n cancelled - Cancelled\n noShow - No show\n enquired - Confirmed neither by the customer nor enterprise\n requested - Confirmed by the customer but not the enterprise (waitlist)\n optional - Confirmed by the enterprise but not the customer (holding)"},mobileCheckInSpaceCategoryChanged:{type:"boolean",description:"spaceCategory has changed from original."},mobileCheckInSpaceChanged:{type:"boolean"},mobileCheckInStatus:{type:"string",enum:["ready","blocked","preArrivalStepsRequired","spaceNotAssigned","spaceNotReady","checkInTimeNotStarted"]},mobileCheckInStatusMessage:{type:"string"},confirmationNumber:{type:"string"},expectedCheckInDateTime:{type:["string","object"],format:"date-time",description:"Expected arrival time of guest."},checkInDateTime:{type:["string","object"],format:"date-time"},checkOutDateTime:{type:["string","object"],format:"date-time"},adultCount:{type:"number",default:1,minimum:1},childCount:{type:"number",default:0},spaceCategoryAvailabilites:{type:"array",items:{type:"object",properties:{id:{type:"string"},price:{type:"number"},unit:{type:"string",enum:["night","stay","hour"]},isUpgrade:{type:"boolean"}}}},revenue:{$ref:"definitions.json#/definitions/revenue"},rateSuppressed:{type:"boolean"},payment:{type:"string"},company:{type:"string"},travelAgent:{type:"string"},systemId:{$ref:"definitions.json#/definitions/systemId"},metadata:{$ref:"definitions.json#/definitions/metadata"},createdAt:{$ref:"definitions.json#/definitions/date"},updatedAt:{$ref:"definitions.json#/definitions/updatedAt"},deletedAt:{$ref:"definitions.json#/definitions/date"}}}}),Object.defineProperty(Reservation.prototype,"validator",{get:__name(function(){return validateReservation},"get")});export{Reservation};//# sourceMappingURL=chunk-
|
|
1
|
+
import{validateReservation}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Reservation=class extends Entity{static{__name(this,"Reservation")}constructor(data){super(data),void 0!==data.id&&(this.id=data.id),void 0!==data.driver&&(this.driver=data.driver),void 0!==data.primaryGuest&&(this.primaryGuest=data.primaryGuest),this.type=data.type,void 0!==data.sharedGuests&&(this.sharedGuests=data.sharedGuests),void 0!==data.spaceCategory&&(this.spaceCategory=data.spaceCategory),void 0!==data.space&&(this.space=data.space),void 0!==data.previousSpace&&(this.previousSpace=data.previousSpace),this.status=data.status,void 0!==data.mobileCheckInSpaceCategoryChanged&&(this.mobileCheckInSpaceCategoryChanged=data.mobileCheckInSpaceCategoryChanged),void 0!==data.mobileCheckInSpaceChanged&&(this.mobileCheckInSpaceChanged=data.mobileCheckInSpaceChanged),void 0!==data.mobileCheckInStatus&&(this.mobileCheckInStatus=data.mobileCheckInStatus),void 0!==data.mobileCheckInStatusMessage&&(this.mobileCheckInStatusMessage=data.mobileCheckInStatusMessage),void 0!==data.confirmationNumber&&(this.confirmationNumber=data.confirmationNumber),void 0!==data.expectedCheckInDateTime&&(this.expectedCheckInDateTime=data.expectedCheckInDateTime),this.checkInDateTime=data.checkInDateTime,this.checkOutDateTime=data.checkOutDateTime,void 0!==data.adultCount&&(this.adultCount=data.adultCount),void 0!==data.childCount&&(this.childCount=data.childCount),void 0!==data.spaceCategoryAvailabilites&&(this.spaceCategoryAvailabilites=data.spaceCategoryAvailabilites),void 0!==data.revenue&&(this.revenue=data.revenue),void 0!==data.rateSuppressed&&(this.rateSuppressed=data.rateSuppressed),void 0!==data.payment&&(this.payment=data.payment),void 0!==data.company&&(this.company=data.company),void 0!==data.travelAgent&&(this.travelAgent=data.travelAgent),void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.metadata&&(this.metadata=data.metadata),void 0!==data.createdAt&&(this.createdAt=data.createdAt),void 0!==data.updatedAt&&(this.updatedAt=data.updatedAt),void 0!==data.deletedAt&&(this.deletedAt=data.deletedAt)}checkInTime(tz){return new Date(this.checkInDateTime).toLocaleString("default",{hour:"numeric",minute:"numeric",timeZone:tz})}checkOutTime(tz){return new Date(this.checkOutDateTime).toLocaleString("default",{hour:"numeric",minute:"numeric",timeZone:tz})}getNights(){const start=new Date(this.checkInDateTime),end=new Date(this.checkOutDateTime);let nights=Math.round((end-start)/864e5);return nights<=0&&(nights=1),nights}};Object.defineProperty(Reservation.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"reservation.json",title:"Reservation",type:"object",required:["type","status","checkInDateTime","checkOutDateTime"],properties:{id:{$ref:"definitions.json#/definitions/id"},driver:{$ref:"definitions.json#/definitions/driver"},primaryGuest:{type:"string"},type:{type:"string",default:"reservation",enum:["reservation"]},sharedGuests:{type:"array",items:{type:"string"}},spaceCategory:{type:"string"},space:{type:["string","null"]},previousSpace:{type:["string","null"],default:null,description:"Used when there was a space assigned and it changes"},status:{type:"string",enum:["reserved","checkedIn","checkedOut","cancelled","noShow","enquired","requested","optional"],description:" reserved - confirmed by both parties, before check-in\n checkedIn - checked in\n checkedOut - checked out\n cancelled - Cancelled\n noShow - No show\n enquired - Confirmed neither by the customer nor enterprise\n requested - Confirmed by the customer but not the enterprise (waitlist)\n optional - Confirmed by the enterprise but not the customer (holding)"},mobileCheckInSpaceCategoryChanged:{type:"boolean",description:"spaceCategory has changed from original."},mobileCheckInSpaceChanged:{type:"boolean"},mobileCheckInStatus:{type:"string",enum:["ready","blocked","preArrivalStepsRequired","spaceNotAssigned","spaceNotReady","checkInTimeNotStarted"]},mobileCheckInStatusMessage:{type:"string"},confirmationNumber:{type:"string"},expectedCheckInDateTime:{type:["string","object"],format:"date-time",description:"Expected arrival time of guest."},checkInDateTime:{type:["string","object"],format:"date-time"},checkOutDateTime:{type:["string","object"],format:"date-time"},adultCount:{type:"number",default:1,minimum:1},childCount:{type:"number",default:0},spaceCategoryAvailabilites:{type:"array",items:{type:"object",properties:{id:{type:"string"},price:{type:"number"},unit:{type:"string",enum:["night","stay","hour"]},isUpgrade:{type:"boolean"}}}},revenue:{$ref:"definitions.json#/definitions/revenue"},rateSuppressed:{type:"boolean"},payment:{type:"string"},company:{type:"string"},travelAgent:{type:"string"},systemId:{$ref:"definitions.json#/definitions/systemId"},metadata:{$ref:"definitions.json#/definitions/metadata"},createdAt:{$ref:"definitions.json#/definitions/date"},updatedAt:{$ref:"definitions.json#/definitions/updatedAt"},deletedAt:{$ref:"definitions.json#/definitions/date"}}}}),Object.defineProperty(Reservation.prototype,"validator",{get:__name(function(){return validateReservation},"get")});export{Reservation};//# sourceMappingURL=chunk-S5OTB2OU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/reservation.js"],"sourcesContent":["/* @ts-nocheck */\n/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity\";\nimport { validateReservation as validate } from \"../validate\";\n\n/**\n * @typedef {Object} ReservationData \n * @property {string} [id] - Identifier of the object.\n * @property {(\"adlink\"|\"aws-kinesis\"|\"bacnet\"|\"benq\"|\"butler\"|\"comelit\"|\"crestron\"|\"dell\"|\"digital-watchdog\"|\"distech\"|\"dmp\"|\"doorbird\"|\"dormakaba\"|\"dsc\"|\"ecobee\"|\"epson\"|\"geovision-rs\"|\"geovision-as-manager\"|\"honeywell-vista\"|\"igor\"|\"inncom\"|\"isapi\"|\"kohost-k7\"|\"kohost\"|\"lg\"|\"lg-webos\"|\"lapi\"|\"lirc\"|\"mews\"|\"mht\"|\"newline\"|\"paxton\"|\"pelican-wireless\"|\"power-shades\"|\"rachio\"|\"rebrandly\"|\"relay\"|\"rtsp\"|\"salto\"|\"salto-irn\"|\"samsung\"|\"se\"|\"sendgrid\"|\"smartboard\"|\"sonifi\"|\"stay-n-touch\"|\"storable\"|\"twilio\"|\"unifi\"|\"valcom\"|\"veracross\"|\"vivotek\"|\"vizio\"|\"wisenet\"|\"cloudflare-images\"|\"cloudflare-stream\"|\"insperia-privacy\")} [driver] - Driver used to communicate with the object.\n * @property {string} [primaryGuest]\n * @property {\"reservation\"} type - Default: \"reservation\"\n * @property {string[]} [sharedGuests]\n * @property {string} [spaceCategory]\n * @property {(string|null)} [space]\n * @property {(string|null)} [previousSpace] - Used when there was a space assigned and it changes. Default: null\n * @property {(\"reserved\"|\"checkedIn\"|\"checkedOut\"|\"cancelled\"|\"noShow\"|\"enquired\"|\"requested\"|\"optional\")} status - reserved - confirmed by both parties, before check-in\n checkedIn - checked in\n checkedOut - checked out\n cancelled - Cancelled\n noShow - No show\n enquired - Confirmed neither by the customer nor enterprise\n requested - Confirmed by the customer but not the enterprise (waitlist)\n optional - Confirmed by the enterprise but not the customer (holding)\n * @property {boolean} [mobileCheckInSpaceCategoryChanged] - spaceCategory has changed from original.\n * @property {boolean} [mobileCheckInSpaceChanged]\n * @property {(\"ready\"|\"blocked\"|\"preArrivalStepsRequired\"|\"spaceNotAssigned\"|\"spaceNotReady\"|\"checkInTimeNotStarted\")} [mobileCheckInStatus]\n * @property {string} [mobileCheckInStatusMessage]\n * @property {string} [confirmationNumber]\n * @property {(string|object)} [expectedCheckInDateTime] - Expected arrival time of guest.\n * @property {(string|object)} checkInDateTime\n * @property {(string|object)} checkOutDateTime\n * @property {number} [adultCount] - Default: 1\n * @property {number} [childCount] - Default: 0\n * @property {{id?: string, price?: number, unit?: (\"night\"|\"stay\"|\"hour\"), isUpgrade?: boolean}[]} [spaceCategoryAvailabilites]\n * @property {{id?: string, name?: string, date?: string, price?: number, tax?: (number|null)}[]} [revenue]\n * @property {boolean} [rateSuppressed]\n * @property {string} [payment]\n * @property {string} [company]\n * @property {string} [travelAgent]\n * @property {string} [systemId] - Identifier of the object, directly related to the system.\n * @property {{}} [metadata]\n * @property {(string|object)} [createdAt]\n * @property {(string|object)} [updatedAt]\n * @property {(string|object)} [deletedAt]\n */\n\n/**\n *\n * @class Reservation\n * @extends {Entity}\n */\nexport class Reservation extends Entity {\n /**\n * @constructor\n * @param {ReservationData} data - The data to initialize the Reservation with\n */\n constructor(data) {\n super(data);\n if (data.id !== undefined) this.id = data.id;\n if (data.driver !== undefined) this.driver = data.driver;\n if (data.primaryGuest !== undefined) this.primaryGuest = data.primaryGuest;\n this.type = data.type;\n if (data.sharedGuests !== undefined) this.sharedGuests = data.sharedGuests;\n if (data.spaceCategory !== undefined)\n this.spaceCategory = data.spaceCategory;\n if (data.space !== undefined) this.space = data.space;\n if (data.previousSpace !== undefined)\n this.previousSpace = data.previousSpace;\n this.status = data.status;\n if (data.mobileCheckInSpaceCategoryChanged !== undefined)\n this.mobileCheckInSpaceCategoryChanged =\n data.mobileCheckInSpaceCategoryChanged;\n if (data.mobileCheckInSpaceChanged !== undefined)\n this.mobileCheckInSpaceChanged = data.mobileCheckInSpaceChanged;\n if (data.mobileCheckInStatus !== undefined)\n this.mobileCheckInStatus = data.mobileCheckInStatus;\n if (data.mobileCheckInStatusMessage !== undefined)\n this.mobileCheckInStatusMessage = data.mobileCheckInStatusMessage;\n if (data.confirmationNumber !== undefined)\n this.confirmationNumber = data.confirmationNumber;\n if (data.expectedCheckInDateTime !== undefined)\n this.expectedCheckInDateTime = data.expectedCheckInDateTime;\n this.checkInDateTime = data.checkInDateTime;\n this.checkOutDateTime = data.checkOutDateTime;\n if (data.adultCount !== undefined) this.adultCount = data.adultCount;\n if (data.childCount !== undefined) this.childCount = data.childCount;\n if (data.spaceCategoryAvailabilites !== undefined)\n this.spaceCategoryAvailabilites = data.spaceCategoryAvailabilites;\n if (data.revenue !== undefined) this.revenue = data.revenue;\n if (data.rateSuppressed !== undefined)\n this.rateSuppressed = data.rateSuppressed;\n if (data.payment !== undefined) this.payment = data.payment;\n if (data.company !== undefined) this.company = data.company;\n if (data.travelAgent !== undefined) this.travelAgent = data.travelAgent;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n if (data.metadata !== undefined) this.metadata = data.metadata;\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 checkInTime(tz) {\n return new Date(this.checkInDateTime).toLocaleString(\"default\", {\n hour: \"numeric\",\n minute: \"numeric\",\n timeZone: tz,\n });\n }\n checkOutTime(tz) {\n return new Date(this.checkOutDateTime).toLocaleString(\"default\", {\n hour: \"numeric\",\n minute: \"numeric\",\n timeZone: tz,\n });\n }\n getNights() {\n const start = new Date(this.checkInDateTime);\n const end = new Date(this.checkOutDateTime);\n let nights = Math.round((end - start) / (1000 * 60 * 60 * 24));\n if (nights <= 0) {\n nights = 1;\n }\n return nights;\n }\n}\n\nObject.defineProperty(Reservation.prototype, \"schema\", {\n value: {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"reservation.json\",\n title: \"Reservation\",\n type: \"object\",\n required: [\"type\", \"status\", \"checkInDateTime\", \"checkOutDateTime\"],\n properties: {\n id: { $ref: \"definitions.json#/definitions/id\" },\n driver: { $ref: \"definitions.json#/definitions/driver\" },\n primaryGuest: { type: \"string\" },\n type: { type: \"string\", default: \"reservation\", enum: [\"reservation\"] },\n sharedGuests: { type: \"array\", items: { type: \"string\" } },\n spaceCategory: { type: \"string\" },\n space: { type: [\"string\", \"null\"] },\n previousSpace: {\n type: [\"string\", \"null\"],\n default: null,\n description: \"Used when there was a space assigned and it changes\",\n },\n status: {\n type: \"string\",\n enum: [\n \"reserved\",\n \"checkedIn\",\n \"checkedOut\",\n \"cancelled\",\n \"noShow\",\n \"enquired\",\n \"requested\",\n \"optional\",\n ],\n description:\n \" reserved - confirmed by both parties, before check-in\\n checkedIn - checked in\\n checkedOut - checked out\\n cancelled - Cancelled\\n noShow - No show\\n enquired - Confirmed neither by the customer nor enterprise\\n requested - Confirmed by the customer but not the enterprise (waitlist)\\n optional - Confirmed by the enterprise but not the customer (holding)\",\n },\n mobileCheckInSpaceCategoryChanged: {\n type: \"boolean\",\n description: \"spaceCategory has changed from original.\",\n },\n mobileCheckInSpaceChanged: { type: \"boolean\" },\n mobileCheckInStatus: {\n type: \"string\",\n enum: [\n \"ready\",\n \"blocked\",\n \"preArrivalStepsRequired\",\n \"spaceNotAssigned\",\n \"spaceNotReady\",\n \"checkInTimeNotStarted\",\n ],\n },\n mobileCheckInStatusMessage: { type: \"string\" },\n confirmationNumber: { type: \"string\" },\n expectedCheckInDateTime: {\n type: [\"string\", \"object\"],\n format: \"date-time\",\n description: \"Expected arrival time of guest.\",\n },\n checkInDateTime: { type: [\"string\", \"object\"], format: \"date-time\" },\n checkOutDateTime: { type: [\"string\", \"object\"], format: \"date-time\" },\n adultCount: { type: \"number\", default: 1, minimum: 1 },\n childCount: { type: \"number\", default: 0 },\n spaceCategoryAvailabilites: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n id: { type: \"string\" },\n price: { type: \"number\" },\n unit: { type: \"string\", enum: [\"night\", \"stay\", \"hour\"] },\n isUpgrade: { type: \"boolean\" },\n },\n },\n },\n revenue: { $ref: \"definitions.json#/definitions/revenue\" },\n rateSuppressed: { type: \"boolean\" },\n payment: { type: \"string\" },\n company: { type: \"string\" },\n travelAgent: { type: \"string\" },\n systemId: { $ref: \"definitions.json#/definitions/systemId\" },\n metadata: { $ref: \"definitions.json#/definitions/metadata\" },\n createdAt: { $ref: \"definitions.json#/definitions/date\" },\n updatedAt: { $ref: \"definitions.json#/definitions/updatedAt\" },\n deletedAt: { $ref: \"definitions.json#/definitions/date\" },\n },\n },\n});\n\nObject.defineProperty(Reservation.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;AAoDO,IAAM,cAAN,cAA0B,OAAO;AAAA,EApDxC,OAoDwC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtC,YAAY,MAAM;AAChB,UAAM,IAAI;AACV,QAAI,KAAK,OAAO,OAA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AAE;AAAA,YACxD,WAAW,EAAE,MAAM,UAAU;AAAA,UAC/B;AAAA,QACF;AAAA,MACF;AAAA,MACA,SAAS,EAAE,MAAM,wCAAwC;AAAA,MACzD,gBAAgB,EAAE,MAAM,UAAU;AAAA,MAClC,SAAS,EAAE,MAAM,SAAS;AAAA,MAC1B,SAAS,EAAE,MAAM,SAAS;AAAA,MAC1B,aAAa,EAAE,MAAM,SAAS;AAAA,MAC9B,UAAU,EAAE,MAAM,yCAAyC;AAAA,MAC3D,UAAU,EAAE,MAAM,yCAAyC;AAAA,MAC3D,WAAW,EAAE,MAAM,qCAAqC;AAAA,MACxD,WAAW,EAAE,MAAM,0CAA0C;AAAA,MAC7D,WAAW,EAAE,MAAM,qCAAqC;AAAA,IAC1D;AAAA,EACF;AACF,CAAC;AAED,OAAO,eAAe,YAAY,WAAW,aAAa;AAAA,EACxD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{validateMediaSource}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var MediaSource=class extends Entity{static{__name(this,"MediaSource")}constructor(data){super(data),this.id=data.id,this.type=data.type,this.discriminator=data.discriminator,void 0!==data.playlists&&(this.playlists=data.playlists),void 0!==data.remote&&(this.remote=data.remote),void 0!==data.name&&(this.name=data.name),this.driver=data.driver,void 0!==data.offline&&(this.offline=data.offline),this.audio=data.audio,this.video=data.video,void 0!==data.powerFeedback&&(this.powerFeedback=data.powerFeedback),void 0!==data.volumeFeedback&&(this.volumeFeedback=data.volumeFeedback),void 0!==data.muted&&(this.muted=data.muted),void 0!==data.volume&&(this.volume=data.volume),void 0!==data.brightness&&(this.brightness=data.brightness),void 0!==data.contrast&&(this.contrast=data.contrast),void 0!==data.power&&(this.power=data.power),void 0!==data.input&&(this.input=data.input),void 0!==data.supportedInputs&&(this.supportedInputs=data.supportedInputs),void 0!==data.output&&(this.output=data.output),void 0!==data.supportedOutputs&&(this.supportedOutputs=data.supportedOutputs),void 0!==data.content&&(this.content=data.content),void 0!==data.command&&(this.command=data.command),void 0!==data.supportedCommands&&(this.supportedCommands=data.supportedCommands),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.manufacturer&&(this.manufacturer=data.manufacturer),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion)}};Object.defineProperty(MediaSource.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"mediaSource.json",title:"Media Source",description:"Any media source",type:"object",required:["id","type","discriminator","audio","video","driver"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",default:"mediaSource",enum:["mediaSource"]},discriminator:{type:"string",enum:["tv","dvr","appleTv","discPlayer","mediaPlayer","paSystem","uncontrolledDevice"]},playlists:{type:"array",items:{type:"object",properties:{id:{$ref:"definitions.json#/definitions/id"},name:{$ref:"definitions.json#/definitions/name"}}}},remote:{type:"string",enum:["MR22GA","XRT260","XRT270","HOF-16K 1.2","219863500","SONIFI","AKB76039803","BN59-01388A","TRY01","1035792"]},name:{$ref:"definitions.json#/definitions/name"},driver:{$ref:"definitions.json#/definitions/driver"},offline:{type:"boolean"},audio:{type:"boolean"},video:{type:"boolean"},powerFeedback:{type:"boolean"},volumeFeedback:{type:"boolean"},muted:{type:"boolean"},volume:{type:"number",minimum:0,maximum:100},brightness:{type:"number",minimum:0,maximum:100},contrast:{type:"number",minimum:0,maximum:100},power:{type:"string",enum:["on","off"]},input:{type:"string"},supportedInputs:{type:"array",items:{type:"string"}},output:{type:"array",items:{type:"string"}},supportedOutputs:{type:"array",items:{type:"string"}},content:{type:["object","null"],additionalProperties:!1,properties:{playlistId:{type:"string"},title:{type:"string"},message:{type:"string"},url:{type:"string"}}},command:{type:["string","null"],enum:["content","output","mute","muted","volumeUp","volume","volumeDown","enterBrightness","brightness","brightnessUp","brightnessDown","channelUp","channelDown","number0","number1","number2","number3","number4","number5","number6","number7","number8","number9","lastChannel","display","favoriteChannel","play","playing","stop","stopped","pause","paused","fastForward","fastForwarding","rewind","rewinding","instantReplay","record","ac3","pvrMenu","guide","menu","menuUp","menuDown","menuLeft","menuRight","pageUp","pageDown","select","exit","input","power","enterChannel","enterVolume","enterContrast","number10","number11","number12","number13","number14","number15","number16","number10Plus","number20Plus","number100","dash","threeChan","threeD","sixChan","a","add","alarm","am","analog","angle","antenna","antennaEast","antennaWest","aspect","audio1","audio2","audio3","audioDumming","audioLevelDown","audioLevelUp","b","back","c","component1","component2","component3","d","home","list","liveTv","discreteInputCable","powerOff","powerOn","setupMenu","skipForward","skipReverse","video1","video2","video3","video4","video5","details","hdmi1","hdmi2","hdmi3","cecDeviceList","mtsSap","red","green","yellow","blue","alert","order"]},supportedCommands:{type:"array",items:{$ref:"#/properties/command"}},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},systemId:{$ref:"definitions.json#/definitions/systemId"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},manufacturer:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"}},additionalProperties:!1}}),Object.defineProperty(MediaSource.prototype,"validator",{get:__name(function(){return validateMediaSource},"get")});export{MediaSource};//# sourceMappingURL=chunk-
|
|
1
|
+
import{validateMediaSource}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var MediaSource=class extends Entity{static{__name(this,"MediaSource")}constructor(data){super(data),this.id=data.id,this.type=data.type,this.discriminator=data.discriminator,void 0!==data.playlists&&(this.playlists=data.playlists),void 0!==data.remote&&(this.remote=data.remote),void 0!==data.name&&(this.name=data.name),this.driver=data.driver,void 0!==data.offline&&(this.offline=data.offline),this.audio=data.audio,this.video=data.video,void 0!==data.powerFeedback&&(this.powerFeedback=data.powerFeedback),void 0!==data.volumeFeedback&&(this.volumeFeedback=data.volumeFeedback),void 0!==data.muted&&(this.muted=data.muted),void 0!==data.volume&&(this.volume=data.volume),void 0!==data.brightness&&(this.brightness=data.brightness),void 0!==data.contrast&&(this.contrast=data.contrast),void 0!==data.power&&(this.power=data.power),void 0!==data.input&&(this.input=data.input),void 0!==data.supportedInputs&&(this.supportedInputs=data.supportedInputs),void 0!==data.output&&(this.output=data.output),void 0!==data.supportedOutputs&&(this.supportedOutputs=data.supportedOutputs),void 0!==data.content&&(this.content=data.content),void 0!==data.command&&(this.command=data.command),void 0!==data.supportedCommands&&(this.supportedCommands=data.supportedCommands),void 0!==data.supportedNotifications&&(this.supportedNotifications=data.supportedNotifications),void 0!==data.notification&&(this.notification=data.notification),void 0!==data.systemId&&(this.systemId=data.systemId),void 0!==data.watts&&(this.watts=data.watts),void 0!==data.icon&&(this.icon=data.icon),void 0!==data.manufacturer&&(this.manufacturer=data.manufacturer),void 0!==data.modelNumber&&(this.modelNumber=data.modelNumber),void 0!==data.serialNumber&&(this.serialNumber=data.serialNumber),void 0!==data.firmwareVersion&&(this.firmwareVersion=data.firmwareVersion)}};Object.defineProperty(MediaSource.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"mediaSource.json",title:"Media Source",description:"Any media source",type:"object",required:["id","type","discriminator","audio","video","driver"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",default:"mediaSource",enum:["mediaSource"]},discriminator:{type:"string",enum:["tv","dvr","appleTv","discPlayer","mediaPlayer","paSystem","uncontrolledDevice"]},playlists:{type:"array",items:{type:"object",properties:{id:{$ref:"definitions.json#/definitions/id"},name:{$ref:"definitions.json#/definitions/name"}}}},remote:{type:"string",enum:["MR22GA","XRT260","XRT270","HOF-16K 1.2","219863500","SONIFI","AKB76039803","BN59-01388A","TRY01","1035792"]},name:{$ref:"definitions.json#/definitions/name"},driver:{$ref:"definitions.json#/definitions/driver"},offline:{type:"boolean"},audio:{type:"boolean"},video:{type:"boolean"},powerFeedback:{type:"boolean"},volumeFeedback:{type:"boolean"},muted:{type:"boolean"},volume:{type:"number",minimum:0,maximum:100},brightness:{type:"number",minimum:0,maximum:100},contrast:{type:"number",minimum:0,maximum:100},power:{type:"string",enum:["on","off"]},input:{type:"string"},supportedInputs:{type:"array",items:{type:"string"}},output:{type:"array",items:{type:"string"}},supportedOutputs:{type:"array",items:{type:"string"}},content:{type:["object","null"],additionalProperties:!1,properties:{playlistId:{type:"string"},title:{type:"string"},message:{type:"string"},url:{type:"string"}}},command:{type:["string","null"],enum:["content","output","mute","muted","volumeUp","volume","volumeDown","enterBrightness","brightness","brightnessUp","brightnessDown","channelUp","channelDown","number0","number1","number2","number3","number4","number5","number6","number7","number8","number9","lastChannel","display","favoriteChannel","play","playing","stop","stopped","pause","paused","fastForward","fastForwarding","rewind","rewinding","instantReplay","record","ac3","pvrMenu","guide","menu","menuUp","menuDown","menuLeft","menuRight","pageUp","pageDown","select","exit","input","power","enterChannel","enterVolume","enterContrast","number10","number11","number12","number13","number14","number15","number16","number10Plus","number20Plus","number100","dash","threeChan","threeD","sixChan","a","add","alarm","am","analog","angle","antenna","antennaEast","antennaWest","aspect","audio1","audio2","audio3","audioDumming","audioLevelDown","audioLevelUp","b","back","c","component1","component2","component3","d","home","list","liveTv","discreteInputCable","powerOff","powerOn","setupMenu","skipForward","skipReverse","video1","video2","video3","video4","video5","details","hdmi1","hdmi2","hdmi3","cecDeviceList","mtsSap","red","green","yellow","blue","alert","order"]},supportedCommands:{type:"array",items:{$ref:"#/properties/command"}},supportedNotifications:{$ref:"definitions.json#/definitions/supportedNotifications"},notification:{$ref:"definitions.json#/definitions/notification"},systemId:{$ref:"definitions.json#/definitions/systemId"},watts:{$ref:"definitions.json#/definitions/watts"},icon:{type:"string"},manufacturer:{type:"string"},modelNumber:{type:"string"},serialNumber:{type:"string"},firmwareVersion:{type:"string"}},additionalProperties:!1}}),Object.defineProperty(MediaSource.prototype,"validator",{get:__name(function(){return validateMediaSource},"get")});export{MediaSource};//# sourceMappingURL=chunk-STZLODEY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/mediaSource.js"],"sourcesContent":["/* @ts-nocheck */\n/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity\";\nimport { validateMediaSource as validate } from \"../validate\";\n\n/**\n * @typedef {Object} MediaSourceData Any media source\n * @property {string} id - Identifier of the object.\n * @property {\"mediaSource\"} type - Default: \"mediaSource\"\n * @property {(\"tv\"|\"dvr\"|\"appleTv\"|\"discPlayer\"|\"mediaPlayer\"|\"paSystem\"|\"uncontrolledDevice\")} discriminator\n * @property {{id?: string, name?: string}[]} [playlists]\n * @property {(\"MR22GA\"|\"XRT260\"|\"XRT270\"|\"HOF-16K 1.2\"|\"219863500\"|\"SONIFI\"|\"AKB76039803\"|\"BN59-01388A\"|\"TRY01\"|\"1035792\")} [remote]\n * @property {string} [name]\n * @property {(\"adlink\"|\"aws-kinesis\"|\"bacnet\"|\"benq\"|\"butler\"|\"comelit\"|\"crestron\"|\"dell\"|\"digital-watchdog\"|\"distech\"|\"dmp\"|\"doorbird\"|\"dormakaba\"|\"dsc\"|\"ecobee\"|\"epson\"|\"geovision-rs\"|\"geovision-as-manager\"|\"honeywell-vista\"|\"igor\"|\"inncom\"|\"isapi\"|\"kohost-k7\"|\"kohost\"|\"lg\"|\"lg-webos\"|\"lapi\"|\"lirc\"|\"mews\"|\"mht\"|\"newline\"|\"paxton\"|\"pelican-wireless\"|\"power-shades\"|\"rachio\"|\"rebrandly\"|\"relay\"|\"rtsp\"|\"salto\"|\"salto-irn\"|\"samsung\"|\"se\"|\"sendgrid\"|\"smartboard\"|\"sonifi\"|\"stay-n-touch\"|\"storable\"|\"twilio\"|\"unifi\"|\"valcom\"|\"veracross\"|\"vivotek\"|\"vizio\"|\"wisenet\"|\"cloudflare-images\"|\"cloudflare-stream\"|\"insperia-privacy\")} driver - Driver used to communicate with the object.\n * @property {boolean} [offline]\n * @property {boolean} audio\n * @property {boolean} video\n * @property {boolean} [powerFeedback]\n * @property {boolean} [volumeFeedback]\n * @property {boolean} [muted]\n * @property {number} [volume]\n * @property {number} [brightness]\n * @property {number} [contrast]\n * @property {(\"on\"|\"off\")} [power]\n * @property {string} [input]\n * @property {string[]} [supportedInputs]\n * @property {string[]} [output]\n * @property {string[]} [supportedOutputs]\n * @property {(object|null)} [content]\n * @property {(\"content\"|\"output\"|\"mute\"|\"muted\"|\"volumeUp\"|\"volume\"|\"volumeDown\"|\"enterBrightness\"|\"brightness\"|\"brightnessUp\"|\"brightnessDown\"|\"channelUp\"|\"channelDown\"|\"number0\"|\"number1\"|\"number2\"|\"number3\"|\"number4\"|\"number5\"|\"number6\"|\"number7\"|\"number8\"|\"number9\"|\"lastChannel\"|\"display\"|\"favoriteChannel\"|\"play\"|\"playing\"|\"stop\"|\"stopped\"|\"pause\"|\"paused\"|\"fastForward\"|\"fastForwarding\"|\"rewind\"|\"rewinding\"|\"instantReplay\"|\"record\"|\"ac3\"|\"pvrMenu\"|\"guide\"|\"menu\"|\"menuUp\"|\"menuDown\"|\"menuLeft\"|\"menuRight\"|\"pageUp\"|\"pageDown\"|\"select\"|\"exit\"|\"input\"|\"power\"|\"enterChannel\"|\"enterVolume\"|\"enterContrast\"|\"number10\"|\"number11\"|\"number12\"|\"number13\"|\"number14\"|\"number15\"|\"number16\"|\"number10Plus\"|\"number20Plus\"|\"number100\"|\"dash\"|\"threeChan\"|\"threeD\"|\"sixChan\"|\"a\"|\"add\"|\"alarm\"|\"am\"|\"analog\"|\"angle\"|\"antenna\"|\"antennaEast\"|\"antennaWest\"|\"aspect\"|\"audio1\"|\"audio2\"|\"audio3\"|\"audioDumming\"|\"audioLevelDown\"|\"audioLevelUp\"|\"b\"|\"back\"|\"c\"|\"component1\"|\"component2\"|\"component3\"|\"d\"|\"home\"|\"list\"|\"liveTv\"|\"discreteInputCable\"|\"powerOff\"|\"powerOn\"|\"setupMenu\"|\"skipForward\"|\"skipReverse\"|\"video1\"|\"video2\"|\"video3\"|\"video4\"|\"video5\"|\"details\"|\"hdmi1\"|\"hdmi2\"|\"hdmi3\"|\"cecDeviceList\"|\"mtsSap\"|\"red\"|\"green\"|\"yellow\"|\"blue\"|\"alert\"|\"order\")} [command]\n * @property {(\"content\"|\"output\"|\"mute\"|\"muted\"|\"volumeUp\"|\"volume\"|\"volumeDown\"|\"enterBrightness\"|\"brightness\"|\"brightnessUp\"|\"brightnessDown\"|\"channelUp\"|\"channelDown\"|\"number0\"|\"number1\"|\"number2\"|\"number3\"|\"number4\"|\"number5\"|\"number6\"|\"number7\"|\"number8\"|\"number9\"|\"lastChannel\"|\"display\"|\"favoriteChannel\"|\"play\"|\"playing\"|\"stop\"|\"stopped\"|\"pause\"|\"paused\"|\"fastForward\"|\"fastForwarding\"|\"rewind\"|\"rewinding\"|\"instantReplay\"|\"record\"|\"ac3\"|\"pvrMenu\"|\"guide\"|\"menu\"|\"menuUp\"|\"menuDown\"|\"menuLeft\"|\"menuRight\"|\"pageUp\"|\"pageDown\"|\"select\"|\"exit\"|\"input\"|\"power\"|\"enterChannel\"|\"enterVolume\"|\"enterContrast\"|\"number10\"|\"number11\"|\"number12\"|\"number13\"|\"number14\"|\"number15\"|\"number16\"|\"number10Plus\"|\"number20Plus\"|\"number100\"|\"dash\"|\"threeChan\"|\"threeD\"|\"sixChan\"|\"a\"|\"add\"|\"alarm\"|\"am\"|\"analog\"|\"angle\"|\"antenna\"|\"antennaEast\"|\"antennaWest\"|\"aspect\"|\"audio1\"|\"audio2\"|\"audio3\"|\"audioDumming\"|\"audioLevelDown\"|\"audioLevelUp\"|\"b\"|\"back\"|\"c\"|\"component1\"|\"component2\"|\"component3\"|\"d\"|\"home\"|\"list\"|\"liveTv\"|\"discreteInputCable\"|\"powerOff\"|\"powerOn\"|\"setupMenu\"|\"skipForward\"|\"skipReverse\"|\"video1\"|\"video2\"|\"video3\"|\"video4\"|\"video5\"|\"details\"|\"hdmi1\"|\"hdmi2\"|\"hdmi3\"|\"cecDeviceList\"|\"mtsSap\"|\"red\"|\"green\"|\"yellow\"|\"blue\"|\"alert\"|\"order\")[]} [supportedCommands]\n * @property {(\"button 1\"|\"button 2\"|\"button 3\"|\"button 4\"|\"button 5\"|\"idle\"|\"powerHasBeedApplied\"|\"acMainsDisconnected\"|\"acMainsReconnected\"|\"replaceBatterySoon\"|\"replaceBatteryNow\"|\"batteryOk\"|\"hardwareFailure\"|\"softwareFailure\"|\"hardwareFailureWithCode\"|\"softwareFailureWithCode\"|\"motionDetection\"|\"airFilterNeedsCleaned\"|\"airFilterNeedsReplaced\"|\"smokeDetected\"|\"outsideSafeTemperatureRange\"|\"outsideSafeHumidityRange\"|\"scheduleMaintenance\"|\"doorAjar\"|\"communicationFailure\"|\"communicationOk\"|\"burglarAlarm\"|\"fireAlarm\")[]} [supportedNotifications]\n * @property {{name?: (\"button 1\"|\"button 2\"|\"button 3\"|\"button 4\"|\"button 5\"|\"idle\"|\"powerHasBeedApplied\"|\"acMainsDisconnected\"|\"acMainsReconnected\"|\"replaceBatterySoon\"|\"replaceBatteryNow\"|\"batteryOk\"|\"hardwareFailure\"|\"softwareFailure\"|\"hardwareFailureWithCode\"|\"softwareFailureWithCode\"|\"motionDetection\"|\"airFilterNeedsCleaned\"|\"airFilterNeedsReplaced\"|\"smokeDetected\"|\"outsideSafeTemperatureRange\"|\"outsideSafeHumidityRange\"|\"scheduleMaintenance\"|\"doorAjar\"|\"communicationFailure\"|\"communicationOk\"|\"burglarAlarm\"|\"fireAlarm\"), timestamp?: number, description?: string}} [notification]\n * @property {string} [systemId] - Identifier of the object, directly related to the system.\n * @property {number} [watts]\n * @property {string} [icon]\n * @property {string} [manufacturer]\n * @property {string} [modelNumber]\n * @property {string} [serialNumber]\n * @property {string} [firmwareVersion]\n */\n\n/**\n * Any media source\n * @class MediaSource\n * @extends {Entity}\n */\nexport class MediaSource extends Entity {\n /**\n * @constructor\n * @param {MediaSourceData} data - The data to initialize the MediaSource with\n */\n constructor(data) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.discriminator = data.discriminator;\n if (data.playlists !== undefined) this.playlists = data.playlists;\n if (data.remote !== undefined) this.remote = data.remote;\n if (data.name !== undefined) this.name = data.name;\n this.driver = data.driver;\n if (data.offline !== undefined) this.offline = data.offline;\n this.audio = data.audio;\n this.video = data.video;\n if (data.powerFeedback !== undefined)\n this.powerFeedback = data.powerFeedback;\n if (data.volumeFeedback !== undefined)\n this.volumeFeedback = data.volumeFeedback;\n if (data.muted !== undefined) this.muted = data.muted;\n if (data.volume !== undefined) this.volume = data.volume;\n if (data.brightness !== undefined) this.brightness = data.brightness;\n if (data.contrast !== undefined) this.contrast = data.contrast;\n if (data.power !== undefined) this.power = data.power;\n if (data.input !== undefined) this.input = data.input;\n if (data.supportedInputs !== undefined)\n this.supportedInputs = data.supportedInputs;\n if (data.output !== undefined) this.output = data.output;\n if (data.supportedOutputs !== undefined)\n this.supportedOutputs = data.supportedOutputs;\n if (data.content !== undefined) this.content = data.content;\n if (data.command !== undefined) this.command = data.command;\n if (data.supportedCommands !== undefined)\n this.supportedCommands = data.supportedCommands;\n if (data.supportedNotifications !== undefined)\n this.supportedNotifications = data.supportedNotifications;\n if (data.notification !== undefined) this.notification = data.notification;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n if (data.watts !== undefined) this.watts = data.watts;\n if (data.icon !== undefined) this.icon = data.icon;\n if (data.manufacturer !== undefined) this.manufacturer = data.manufacturer;\n if (data.modelNumber !== undefined) this.modelNumber = data.modelNumber;\n if (data.serialNumber !== undefined) this.serialNumber = data.serialNumber;\n if (data.firmwareVersion !== undefined)\n this.firmwareVersion = data.firmwareVersion;\n }\n}\n\nObject.defineProperty(MediaSource.prototype, \"schema\", {\n value: {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"mediaSource.json\",\n title: \"Media Source\",\n description: \"Any media source\",\n type: \"object\",\n required: [\"id\", \"type\", \"discriminator\", \"audio\", \"video\", \"driver\"],\n properties: {\n id: { $ref: \"definitions.json#/definitions/id\" },\n type: { type: \"string\", default: \"mediaSource\", enum: [\"mediaSource\"] },\n discriminator: {\n type: \"string\",\n enum: [\n \"tv\",\n \"dvr\",\n \"appleTv\",\n \"discPlayer\",\n \"mediaPlayer\",\n \"paSystem\",\n \"uncontrolledDevice\",\n ],\n },\n playlists: {\n type: \"array\",\n items: {\n type: \"object\",\n properties: {\n id: { $ref: \"definitions.json#/definitions/id\" },\n name: { $ref: \"definitions.json#/definitions/name\" },\n },\n },\n },\n remote: {\n type: \"string\",\n enum: [\n \"MR22GA\",\n \"XRT260\",\n \"XRT270\",\n \"HOF-16K 1.2\",\n \"219863500\",\n \"SONIFI\",\n \"AKB76039803\",\n \"BN59-01388A\",\n \"TRY01\",\n \"1035792\",\n ],\n },\n name: { $ref: \"definitions.json#/definitions/name\" },\n driver: { $ref: \"definitions.json#/definitions/driver\" },\n offline: { type: \"boolean\" },\n audio: { type: \"boolean\" },\n video: { type: \"boolean\" },\n powerFeedback: { type: \"boolean\" },\n volumeFeedback: { type: \"boolean\" },\n muted: { type: \"boolean\" },\n volume: { type: \"number\", minimum: 0, maximum: 100 },\n brightness: { type: \"number\", minimum: 0, maximum: 100 },\n contrast: { type: \"number\", minimum: 0, maximum: 100 },\n power: { type: \"string\", enum: [\"on\", \"off\"] },\n input: { type: \"string\" },\n supportedInputs: { type: \"array\", items: { type: \"string\" } },\n output: { type: \"array\", items: { type: \"string\" } },\n supportedOutputs: { type: \"array\", items: { type: \"string\" } },\n content: {\n type: [\"object\", \"null\"],\n additionalProperties: false,\n properties: {\n playlistId: { type: \"string\" },\n title: { type: \"string\" },\n message: { type: \"string\" },\n url: { type: \"string\" },\n },\n },\n command: {\n type: [\"string\", \"null\"],\n enum: [\n \"content\",\n \"output\",\n \"mute\",\n \"muted\",\n \"volumeUp\",\n \"volume\",\n \"volumeDown\",\n \"enterBrightness\",\n \"brightness\",\n \"brightnessUp\",\n \"brightnessDown\",\n \"channelUp\",\n \"channelDown\",\n \"number0\",\n \"number1\",\n \"number2\",\n \"number3\",\n \"number4\",\n \"number5\",\n \"number6\",\n \"number7\",\n \"number8\",\n \"number9\",\n \"lastChannel\",\n \"display\",\n \"favoriteChannel\",\n \"play\",\n \"playing\",\n \"stop\",\n \"stopped\",\n \"pause\",\n \"paused\",\n \"fastForward\",\n \"fastForwarding\",\n \"rewind\",\n \"rewinding\",\n \"instantReplay\",\n \"record\",\n \"ac3\",\n \"pvrMenu\",\n \"guide\",\n \"menu\",\n \"menuUp\",\n \"menuDown\",\n \"menuLeft\",\n \"menuRight\",\n \"pageUp\",\n \"pageDown\",\n \"select\",\n \"exit\",\n \"input\",\n \"power\",\n \"enterChannel\",\n \"enterVolume\",\n \"enterContrast\",\n \"number10\",\n \"number11\",\n \"number12\",\n \"number13\",\n \"number14\",\n \"number15\",\n \"number16\",\n \"number10Plus\",\n \"number20Plus\",\n \"number100\",\n \"dash\",\n \"threeChan\",\n \"threeD\",\n \"sixChan\",\n \"a\",\n \"add\",\n \"alarm\",\n \"am\",\n \"analog\",\n \"angle\",\n \"antenna\",\n \"antennaEast\",\n \"antennaWest\",\n \"aspect\",\n \"audio1\",\n \"audio2\",\n \"audio3\",\n \"audioDumming\",\n \"audioLevelDown\",\n \"audioLevelUp\",\n \"b\",\n \"back\",\n \"c\",\n \"component1\",\n \"component2\",\n \"component3\",\n \"d\",\n \"home\",\n \"list\",\n \"liveTv\",\n \"discreteInputCable\",\n \"powerOff\",\n \"powerOn\",\n \"setupMenu\",\n \"skipForward\",\n \"skipReverse\",\n \"video1\",\n \"video2\",\n \"video3\",\n \"video4\",\n \"video5\",\n \"details\",\n \"hdmi1\",\n \"hdmi2\",\n \"hdmi3\",\n \"cecDeviceList\",\n \"mtsSap\",\n \"red\",\n \"green\",\n \"yellow\",\n \"blue\",\n \"alert\",\n \"order\",\n ],\n },\n supportedCommands: {\n type: \"array\",\n items: { $ref: \"#/properties/command\" },\n },\n supportedNotifications: {\n $ref: \"definitions.json#/definitions/supportedNotifications\",\n },\n notification: { $ref: \"definitions.json#/definitions/notification\" },\n systemId: { $ref: \"definitions.json#/definitions/systemId\" },\n watts: { $ref: \"definitions.json#/definitions/watts\" },\n icon: { type: \"string\" },\n manufacturer: { type: \"string\" },\n modelNumber: { type: \"string\" },\n serialNumber: { type: \"string\" },\n firmwareVersion: { type: \"string\" },\n },\n additionalProperties: false,\n },\n});\n\nObject.defineProperty(MediaSource.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;AAgDO,IAAM,cAAN,cAA0B,OAAO;AAAA,EAhDxC,OAgDwC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtC,YAAY,MAAM;AAChB,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,SAAK,gBAAgB,KAAK;AAC1B,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,WAAW,OAAW,MAAK,SAAS,KAAK;AAClD,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,SAAK,SAAS,KAAK;AACnB,QAAI,KAAK,YAAY,OAAW,MAAK,UAAU,KAAK;AACpD,SAAK,QAAQ,KAAK;AAClB,SAAK,QAAQ,KAAK;AAClB,QAAI,KAAK,kBAAkB;AACzB,WAAK,gBAAgB,KAAK;AAC5B,QAAI,KAAK,mBAAmB;AAC1B,WAAK,iBAAiB,KAAK;AAC7B,QAAI,KAAK,UAAU,OAAW,MAAK,QAAQ,KAAK;AAChD,QAAI,KAAK,WAAW,OAAW,MAAK,SAAS,KAAK;AAClD,QAAI,KAAK,eAAe,OAAW,MAAK,aAAa,KAAK;AAC1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ACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA,MACF;AAAA,MACA,mBAAmB;AAAA,QACjB,MAAM;AAAA,QACN,OAAO,EAAE,MAAM,uBAAuB;AAAA,MACxC;AAAA,MACA,wBAAwB;AAAA,QACtB,MAAM;AAAA,MACR;AAAA,MACA,cAAc,EAAE,MAAM,6CAA6C;AAAA,MACnE,UAAU,EAAE,MAAM,yCAAyC;AAAA,MAC3D,OAAO,EAAE,MAAM,sCAAsC;AAAA,MACrD,MAAM,EAAE,MAAM,SAAS;AAAA,MACvB,cAAc,EAAE,MAAM,SAAS;AAAA,MAC/B,aAAa,EAAE,MAAM,SAAS;AAAA,MAC9B,cAAc,EAAE,MAAM,SAAS;AAAA,MAC/B,iBAAiB,EAAE,MAAM,SAAS;AAAA,IACpC;AAAA,IACA,sBAAsB;AAAA,EACxB;AACF,CAAC;AAED,OAAO,eAAe,YAAY,WAAW,aAAa;AAAA,EACxD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{validateAnnouncement}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Announcement=class extends Entity{static{__name(this,"Announcement")}constructor(data){super(data),this.id=data.id,this.type=data.type,void 0!==data.users&&(this.users=data.users),void 0!==data.group&&(this.group=data.group),this.body=data.body,void 0!==data.media&&(this.media=data.media),void 0!==data.sentBy&&(this.sentBy=data.sentBy),void 0!==data.tags&&(this.tags=data.tags),void 0!==data.createdAt&&(this.createdAt=data.createdAt),void 0!==data.updatedAt&&(this.updatedAt=data.updatedAt),void 0!==data.deletedAt&&(this.deletedAt=data.deletedAt)}};Object.defineProperty(Announcement.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"announcement.json",title:"Announcement",description:"Announcement message sent to users",type:"object",required:["id","type","body"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["announcement"],default:"announcement"},users:{type:"array",items:{type:"string"},minItems:1},group:{type:"string"},body:{type:"string"},media:{$ref:"mediaFile.json"},sentBy:{type:"string"},tags:{type:"array",items:{type:"string"}},createdAt:{$ref:"definitions.json#/definitions/date"},updatedAt:{$ref:"definitions.json#/definitions/date"},deletedAt:{$ref:"definitions.json#/definitions/date"}},additionalProperties:!1}}),Object.defineProperty(Announcement.prototype,"validator",{get:__name(function(){return validateAnnouncement},"get")});export{Announcement};//# sourceMappingURL=chunk-
|
|
1
|
+
import{validateAnnouncement}from"./chunk-OX6FTZ5L.js";import{Entity}from"./chunk-YPJMXYGL.js";import{__name}from"./chunk-XE4OXN2W.js";var Announcement=class extends Entity{static{__name(this,"Announcement")}constructor(data){super(data),this.id=data.id,this.type=data.type,void 0!==data.users&&(this.users=data.users),void 0!==data.group&&(this.group=data.group),this.body=data.body,void 0!==data.media&&(this.media=data.media),void 0!==data.sentBy&&(this.sentBy=data.sentBy),void 0!==data.tags&&(this.tags=data.tags),void 0!==data.createdAt&&(this.createdAt=data.createdAt),void 0!==data.updatedAt&&(this.updatedAt=data.updatedAt),void 0!==data.deletedAt&&(this.deletedAt=data.deletedAt)}};Object.defineProperty(Announcement.prototype,"schema",{value:{$schema:"http://json-schema.org/draft-07/schema",$id:"announcement.json",title:"Announcement",description:"Announcement message sent to users",type:"object",required:["id","type","body"],properties:{id:{$ref:"definitions.json#/definitions/id"},type:{type:"string",enum:["announcement"],default:"announcement"},users:{type:"array",items:{type:"string"},minItems:1},group:{type:"string"},body:{type:"string"},media:{$ref:"mediaFile.json"},sentBy:{type:"string"},tags:{type:"array",items:{type:"string"}},createdAt:{$ref:"definitions.json#/definitions/date"},updatedAt:{$ref:"definitions.json#/definitions/date"},deletedAt:{$ref:"definitions.json#/definitions/date"}},additionalProperties:!1}}),Object.defineProperty(Announcement.prototype,"validator",{get:__name(function(){return validateAnnouncement},"get")});export{Announcement};//# sourceMappingURL=chunk-T7ZYREDK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/announcement.js"],"sourcesContent":["/* @ts-nocheck */\n/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity\";\nimport { validateAnnouncement as validate } from \"../validate\";\n\n/**\n * @typedef {Object} AnnouncementData Announcement message sent to users\n * @property {string} id - Identifier of the object.\n * @property {\"announcement\"} type - Default: \"announcement\"\n * @property {string[]} [users]\n * @property {string} [group]\n * @property {string} body\n * @property {{id?: string, type: \"mediaFile\", name?: string, fileHash?: string, category?: string, mimeType?: (\"image/*\"|\"image/jpeg\"|\"image/png\"|\"image/gif\"|\"image/webp\"|\"image/avif\"|\"image/svg+xml\"|\"application/pdf\"), data?: string, url?: string, width?: number, height?: number, size?: number, uploadUrl?: string, uploadUrlExpires?: (string|object), createdBy?: string, systemId?: string, createdAt?: (string|object), updatedAt?: (string|object), deletedAt?: (string|object)}} [media] - Any media file\n * @property {string} [sentBy]\n * @property {string[]} [tags]\n * @property {(string|object)} [createdAt]\n * @property {(string|object)} [updatedAt]\n * @property {(string|object)} [deletedAt]\n */\n\n/**\n * Announcement message sent to users\n * @class Announcement\n * @extends {Entity}\n */\nexport class Announcement extends Entity {\n /**\n * @constructor\n * @param {AnnouncementData} data - The data to initialize the Announcement with\n */\n constructor(data) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n if (data.users !== undefined) this.users = data.users;\n if (data.group !== undefined) this.group = data.group;\n this.body = data.body;\n if (data.media !== undefined) this.media = data.media;\n if (data.sentBy !== undefined) this.sentBy = data.sentBy;\n if (data.tags !== undefined) this.tags = data.tags;\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(Announcement.prototype, \"schema\", {\n value: {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"announcement.json\",\n title: \"Announcement\",\n description: \"Announcement message sent to users\",\n type: \"object\",\n required: [\"id\", \"type\", \"body\"],\n properties: {\n id: { $ref: \"definitions.json#/definitions/id\" },\n type: { type: \"string\", enum: [\"announcement\"], default: \"announcement\" },\n users: { type: \"array\", items: { type: \"string\" }, minItems: 1 },\n group: { type: \"string\" },\n body: { type: \"string\" },\n media: { $ref: \"mediaFile.json\" },\n sentBy: { type: \"string\" },\n tags: { type: \"array\", items: { type: \"string\" } },\n createdAt: { $ref: \"definitions.json#/definitions/date\" },\n updatedAt: { $ref: \"definitions.json#/definitions/date\" },\n deletedAt: { $ref: \"definitions.json#/definitions/date\" },\n },\n additionalProperties: false,\n },\n});\n\nObject.defineProperty(Announcement.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;AA0BO,IAAM,eAAN,cAA2B,OAAO;AAAA,EA1BzC,OA0ByC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKvC,YAAY,MAAM;AAChB,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,QAAI,KAAK,UAAU,OAAW,MAAK,QAAQ,KAAK;AAChD,QAAI,KAAK,UAAU,OAAW,MAAK,QAAQ,KAAK;AA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