@kohost/api-client 4.3.0 → 4.3.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.
Files changed (54) hide show
  1. package/dist/amqpClient.cjs.map +1 -1
  2. package/dist/amqpClient.js +1 -1
  3. package/dist/chunk-34NDMN52.js +1 -0
  4. package/dist/{chunk-KUY2TSXE.js.map → chunk-34NDMN52.js.map} +1 -1
  5. package/dist/{chunk-DVPG2A2G.js → chunk-CGFGSU4J.js} +1 -1
  6. package/dist/{chunk-DVPG2A2G.js.map → chunk-CGFGSU4J.js.map} +1 -1
  7. package/dist/{chunk-WCNLOW6W.js → chunk-FHU77TPD.js} +1 -1
  8. package/dist/{chunk-UQYKUSSV.js → chunk-HTD5D72I.js} +1 -1
  9. package/dist/{chunk-UQYKUSSV.js.map → chunk-HTD5D72I.js.map} +1 -1
  10. package/dist/{chunk-6EIKQ3ZL.js → chunk-MTQEL3QV.js} +1 -1
  11. package/dist/{chunk-6EIKQ3ZL.js.map → chunk-MTQEL3QV.js.map} +1 -1
  12. package/dist/chunk-PQQOKUF3.js +1 -0
  13. package/dist/chunk-PQQOKUF3.js.map +1 -0
  14. package/dist/{chunk-OC45W3N5.js → chunk-QBW2DKGB.js} +1 -1
  15. package/dist/{chunk-OC45W3N5.js.map → chunk-QBW2DKGB.js.map} +1 -1
  16. package/dist/{chunk-LOGVBYL2.js → chunk-ZLZL27XJ.js} +1 -1
  17. package/dist/commands/index.cjs.map +1 -1
  18. package/dist/commands/index.js +1 -1
  19. package/dist/errors/index.cjs.map +1 -1
  20. package/dist/errors/index.js +1 -1
  21. package/dist/events/index.cjs +1 -1
  22. package/dist/events/index.cjs.map +1 -1
  23. package/dist/events/index.d.cts +1 -1
  24. package/dist/events/index.d.ts +1 -1
  25. package/dist/events/index.js +1 -1
  26. package/dist/events/systemSpaceUpdated.cjs +1 -1
  27. package/dist/events/systemSpaceUpdated.cjs.map +1 -1
  28. package/dist/events/systemSpaceUpdated.d.cts +2 -2
  29. package/dist/events/systemSpaceUpdated.d.ts +2 -2
  30. package/dist/events/systemSpaceUpdated.js +1 -1
  31. package/dist/{index-1wlt3uo2.d.ts → index-4PRcoudk.d.ts} +3 -3
  32. package/dist/{index-DrrP0Vfc.d.cts → index-Dwhyy8sC.d.cts} +3 -3
  33. package/dist/index.cjs +1 -1
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.d.cts +2 -2
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +1 -1
  38. package/dist/models/index.cjs.map +1 -1
  39. package/dist/models/index.js +1 -1
  40. package/dist/useCases/index.cjs.map +1 -1
  41. package/dist/useCases/index.js +1 -1
  42. package/dist/{utils-CLXklau8.d.cts → utils-B7hC6BG1.d.cts} +2 -2
  43. package/dist/{utils-BILs4ivQ.d.ts → utils-xPV0sXIk.d.ts} +2 -2
  44. package/dist/utils.cjs +1 -1
  45. package/dist/utils.cjs.map +1 -1
  46. package/dist/utils.d.cts +1 -1
  47. package/dist/utils.d.ts +1 -1
  48. package/dist/utils.js +1 -1
  49. package/package.json +1 -1
  50. package/dist/chunk-F4IGADLD.js +0 -1
  51. package/dist/chunk-F4IGADLD.js.map +0 -1
  52. package/dist/chunk-KUY2TSXE.js +0 -1
  53. /package/dist/{chunk-WCNLOW6W.js.map → chunk-FHU77TPD.js.map} +0 -0
  54. /package/dist/{chunk-LOGVBYL2.js.map → chunk-ZLZL27XJ.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/amqpClient.js","../src/defs.js","../src/errors/index.js","../src/errors/appError.js","../src/errors/authenticationError.js","../src/errors/authorizationError.js","../src/errors/conflictError.js","../src/errors/deviceCommError.js","../src/errors/loginError.js","../src/errors/notFoundError.js","../src/errors/requestError.js","../src/errors/systemCommError.js","../src/errors/tokenExpiredError.js","../src/errors/unprocessableRequestError.js","../src/errors/validationError.js"],"sourcesContent":["import { connect } from \"amqplib\";\nimport { isFatalError } from \"amqplib/lib/connection\";\nimport dbg from \"debug\";\nimport { Buffer } from \"node:buffer\";\nimport * as crypto from \"node:crypto\";\nimport { amqpExchanges as exchanges } from \"./defs\";\nimport * as Errors from \"./errors\";\n\nconst randomUUID = crypto.randomUUID;\n\nconst debug = dbg(\"kohost:amqp-client\");\n\nconst HEADER_KEY_ORGANIZATION_ID = \"X-Organization-Id\";\nconst HEADER_KEY_PROPERTY_ID = \"X-Property-Id\";\nconst HEADER_KEY_DRIVER = \"X-Driver\";\nconst HEADER_KEY_COMMAND_NAME = \"X-Command-Name\";\nconst HEADER_KEY_EVENT_NAME = \"X-Event-Name\";\n\nexport class KohostAMQPClient {\n static get Message() {\n return Message;\n }\n\n static get exchanges() {\n return exchanges;\n }\n static generateCorrelationId() {\n return randomUUID();\n }\n\n static validateMessage(message) {\n if (!message) throw new Error(\"Message is required\");\n }\n\n static parseError(err) {\n let type;\n let message;\n let options = {};\n if (err.message && err.type) {\n const { message: errMessage, type: errType, ...rest } = err;\n type = errType;\n message = errMessage;\n options = rest;\n } else {\n message = err.message || \"Unknown Error\";\n }\n\n debug(\"parseError\", type, message, options);\n\n if (type && Errors[type]) {\n return new Errors[type](message, options);\n }\n\n return new Error(message, options);\n }\n\n static parseMessage(message) {\n let error = null;\n let data = {};\n let query = {};\n let context = {};\n let headers = {};\n\n const isCommand = message?.properties?.type === \"Command\";\n const isEvent = message?.properties?.type === \"Event\";\n\n const messageHeaders = message?.properties?.headers || {};\n\n const commandName = messageHeaders[HEADER_KEY_COMMAND_NAME] || null;\n const eventName = messageHeaders[HEADER_KEY_EVENT_NAME] || null;\n\n if (message.content) {\n try {\n const payload =\n message.properties?.contentType === \"application/json\"\n ? JSON.parse(message.content.toString())\n : message.content.toString();\n data = payload?.data || {};\n error = payload?.error;\n query = payload?.query || {};\n context = payload?.context || {};\n } catch (error) {\n debug(\"error parsing content\", error);\n data = message.content.toString();\n }\n }\n\n if (message?.properties?.headers) {\n const orgHeader = message.properties.headers[HEADER_KEY_ORGANIZATION_ID];\n const propertyHeader = message.properties.headers[HEADER_KEY_PROPERTY_ID];\n const driverHeader = message.properties.headers[HEADER_KEY_DRIVER];\n\n if (orgHeader) {\n context.organizationId = orgHeader;\n headers[HEADER_KEY_ORGANIZATION_ID] = orgHeader;\n }\n\n if (propertyHeader) {\n context.propertyId = propertyHeader;\n headers[HEADER_KEY_PROPERTY_ID] = propertyHeader;\n }\n\n if (driverHeader) {\n context.driver = driverHeader;\n headers[HEADER_KEY_DRIVER] = driverHeader;\n }\n }\n\n const parsed = {};\n\n if (error) parsed.error = this.parseError(error);\n\n parsed.data = data;\n parsed.query = query;\n parsed.context = context;\n parsed.headers = headers;\n\n if (isEvent && eventName) parsed.event = eventName;\n else if (isCommand && commandName) parsed.command = commandName;\n\n debug(\"amqp parsed %o\", parsed);\n\n return parsed;\n }\n\n static getMessage(message) {\n if (!message?.content) return null;\n const payload = JSON.parse(message.content.toString());\n const data = payload?.data;\n return data;\n }\n\n static isFatalError(err) {\n return isFatalError(err);\n }\n\n async createConnection(connection, options = {}) {\n return await connect(connection, options);\n }\n\n static createMessage(content) {\n return new Message(content);\n }\n\n async createChannel(connection) {\n const channel = await connection.createChannel();\n return channel;\n }\n\n async assertExchange(channel, { exchange, type, options }) {\n return await channel.assertExchange(exchange, type, options);\n }\n\n async assertQueue(channel, { queue, options }) {\n return await channel.assertQueue(queue, options);\n }\n\n async bindQueue(channel, { queue, exchange, routingKey, args }) {\n return await channel.bindQueue(queue, exchange, routingKey, args);\n }\n\n async bindExchange(channel, { source, destination, routingKey, args }) {\n return await channel.bindExchange(destination, source, routingKey, args);\n }\n\n async subscribeToQueue(channel, { queue, cb, options }) {\n return await channel.consume(queue, cb, options);\n }\n\n publishToExchange(channel, { exchange, routingKey, content, options }) {\n return channel.publish(exchange, routingKey, content, options);\n }\n}\n\nclass Message {\n constructor(content) {\n this.toExchange = null;\n this.content = content;\n this.options = {\n contentType: \"application/json\",\n timestamp: Date.now(),\n };\n this.routingKey = \"\";\n }\n\n get correlationId() {\n return this.options.correlationId || null;\n }\n\n to({ exchange }) {\n if (typeof exchange === \"undefined\")\n throw new Error(\"Exchange is required\");\n this.toExchange = exchange;\n return this;\n }\n\n withType(type) {\n this.options.type = type;\n return this;\n }\n\n withRoutingKey(routingKey) {\n this.routingKey = routingKey;\n return this;\n }\n\n withHeaders(headers) {\n if (!this.options.headers) this.options.headers = {};\n this.options.headers = { ...this.options.headers, ...headers };\n return this;\n }\n\n withContext(context) {\n for (let key in context) {\n this.withHeaders({ [key]: context[key] });\n }\n return this;\n }\n\n withCorrelationId(correlationId) {\n this.options.correlationId = correlationId;\n return this;\n }\n\n withReplyTo(queue) {\n this.options.replyTo = queue;\n return this;\n }\n\n build() {\n let content = this.content;\n if (content.build && typeof content.build === \"function\")\n content = content.build();\n\n return {\n exchange: this.toExchange,\n content: Buffer.from(JSON.stringify(content)),\n options: this.options,\n routingKey: this.routingKey,\n };\n }\n}\n","export const amqpExchanges = {\n // routes commands based on `command-name` header and in many cases `property-id` header\n Commands: {\n name: \"kohost.commands\",\n type: \"headers\",\n options: {\n durable: true,\n },\n },\n CommandResponses: {\n name: \"kohost.commandResponses\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n // routes events based on routing keys\n DriverEvents: {\n name: \"kohost.events.drivers\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n AppEvents: {\n name: \"kohost.events.app\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n Direct: {\n name: \"kohost.direct\",\n type: \"direct\",\n options: {\n durable: true,\n },\n },\n // dead letter exchange\n dlx: {\n name: \"kohost.dlx\",\n type: \"direct\",\n },\n};\n\nexport const deviceTypes = [\n \"dimmer\",\n \"switch\",\n \"thermostat\",\n \"lock\",\n \"windowCovering\",\n \"courtesy\",\n \"alarm\",\n \"camera\",\n \"mediaSource\",\n \"motionSensor\",\n \"gateway\",\n];\n","// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-20T02:46:47.036Z\n\nexport * from \"./appError\";\nexport * from \"./authenticationError\";\nexport * from \"./authorizationError\";\nexport * from \"./conflictError\";\nexport * from \"./deviceCommError\";\nexport * from \"./loginError\";\nexport * from \"./notFoundError\";\nexport * from \"./requestError\";\nexport * from \"./systemCommError\";\nexport * from \"./tokenExpiredError\";\nexport * from \"./unprocessableRequestError\";\nexport * from \"./validationError\";","export class AppError extends Error {\n constructor(message = \"Internal Server Error\", options) {\n super(message, options);\n this.type = this.constructor.name;\n this.statusCode = 500;\n this.name = \"AppError\";\n Object.setPrototypeOf(this, AppError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class AuthenticationError extends AppError {\n constructor(message = \"Authentication Error\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"AuthenticationError\";\n Object.setPrototypeOf(this, AuthenticationError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class AuthorizationError extends AppError {\n constructor(message = \"Authorization Error\", options = {}) {\n super(message, options);\n this.statusCode = 403;\n this.name = \"AuthorizationError\";\n Object.setPrototypeOf(this, AuthorizationError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class ConflictError extends AppError {\n constructor(message = \"Bad Request\", options = {}) {\n super(message, options);\n this.statusCode = 409;\n this.name = \"ConflictError\";\n Object.setPrototypeOf(this, ConflictError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class DeviceCommError extends AppError {\n constructor(message = \"Device Communication Error\", options = {}) {\n super(message, options);\n this.statusCode = 503;\n this.name = \"DeviceCommError\";\n Object.setPrototypeOf(this, DeviceCommError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class LoginError extends AppError {\n constructor(message = \"Invalid Login information provided\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"LoginError\";\n Object.setPrototypeOf(this, LoginError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class NotFoundError extends AppError {\n constructor(message = \"Resource Not Found\", options = {}) {\n super(message, options);\n this.statusCode = 404;\n this.name = \"NotFoundError\";\n Object.setPrototypeOf(this, NotFoundError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class RequestError extends AppError {\n constructor(message = \"Bad Request\", options = {}) {\n super(message, options);\n this.statusCode = 400;\n this.name = \"RequestError\";\n Object.setPrototypeOf(this, RequestError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class SystemCommError extends AppError {\n constructor(message = \"System Communication Error\", options = {}) {\n super(message, options);\n this.statusCode = 503;\n this.name = \"SystemCommError\";\n Object.setPrototypeOf(this, SystemCommError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class TokenExpiredError extends AppError {\n constructor(message = \"Token Expired\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"TokenExpiredError\";\n Object.setPrototypeOf(this, TokenExpiredError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class UnprocessableRequestError extends AppError {\n constructor(message = \"Unprocessable Request Error\", options = {}) {\n super(message, options);\n this.statusCode = 422;\n this.name = \"UnprocessableRequestError\";\n Object.setPrototypeOf(this, UnprocessableRequestError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class ValidationError extends AppError {\n constructor(message = \"Validation Error\", options = {}) {\n super(message, options);\n this.statusCode = 400;\n this.name = \"ValidationError\";\n Object.setPrototypeOf(this, ValidationError.prototype);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAwB;AACxB,wBAA6B;AAC7B,mBAAgB;AAChB,yBAAuB;AACvB,aAAwB;;;ACJjB,IAAM,gBAAgB;AAAA;AAAA,EAE3B,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA,IAChB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA;AAAA,EAEA,c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,aAAa;AAClB,WAAO;AAAA,EACT;AAAA,EAEA,SAAS,MAAM;AACb,SAAK,QAAQ,OAAO;AACpB,WAAO;AAAA,EACT;AAAA,EAEA,eAAe,YAAY;AACzB,SAAK,aAAa;AAClB,WAAO;AAAA,EACT;AAAA,EAEA,YAAY,SAAS;AACnB,QAAI,CAAC,KAAK,QAAQ,QAAS,MAAK,QAAQ,UAAU,CAAC;AACnD,SAAK,QAAQ,UAAU,EAAE,GAAG,KAAK,QAAQ,SAAS,GAAG,QAAQ;AAC7D,WAAO;AAAA,EACT;AAAA,EAEA,YAAY,SAAS;AACnB,aAAS,OAAO,SAAS;AACvB,WAAK,YAAY,EAAE,CAAC,GAAG,GAAG,QAAQ,GAAG,EAAE,CAAC;AAAA,IAC1C;AACA,WAAO;AAAA,EACT;AAAA,EAEA,kBAAkB,eAAe;AAC/B,SAAK,QAAQ,gBAAgB;AAC7B,WAAO;AAAA,EACT;AAAA,EAEA,YAAY,OAAO;AACjB,SAAK,QAAQ,UAAU;AACvB,WAAO;AAAA,EACT;AAAA,EAEA,QAAQ;AACN,QAAI,UAAU,KAAK;AACnB,QAAI,QAAQ,SAAS,OAAO,QAAQ,UAAU;AAC5C,gBAAU,QAAQ,MAAM;AAE1B,WAAO;AAAA,MACL,UAAU,KAAK;AAAA,MACf,SAAS,0BAAO,KAAK,KAAK,UAAU,OAAO,CAAC;AAAA,MAC5C,SAAS,KAAK;AAAA,MACd,YAAY,KAAK;AAAA,IACnB;AAAA,EACF;AACF;","names":["randomUUID","dbg","error"]}
1
+ {"version":3,"sources":["../src/amqpClient.js","../src/defs.js","../src/errors/index.js","../src/errors/appError.js","../src/errors/authenticationError.js","../src/errors/authorizationError.js","../src/errors/conflictError.js","../src/errors/deviceCommError.js","../src/errors/loginError.js","../src/errors/notFoundError.js","../src/errors/requestError.js","../src/errors/systemCommError.js","../src/errors/tokenExpiredError.js","../src/errors/unprocessableRequestError.js","../src/errors/validationError.js"],"sourcesContent":["import { connect } from \"amqplib\";\nimport { isFatalError } from \"amqplib/lib/connection\";\nimport dbg from \"debug\";\nimport { Buffer } from \"node:buffer\";\nimport * as crypto from \"node:crypto\";\nimport { amqpExchanges as exchanges } from \"./defs\";\nimport * as Errors from \"./errors\";\n\nconst randomUUID = crypto.randomUUID;\n\nconst debug = dbg(\"kohost:amqp-client\");\n\nconst HEADER_KEY_ORGANIZATION_ID = \"X-Organization-Id\";\nconst HEADER_KEY_PROPERTY_ID = \"X-Property-Id\";\nconst HEADER_KEY_DRIVER = \"X-Driver\";\nconst HEADER_KEY_COMMAND_NAME = \"X-Command-Name\";\nconst HEADER_KEY_EVENT_NAME = \"X-Event-Name\";\n\nexport class KohostAMQPClient {\n static get Message() {\n return Message;\n }\n\n static get exchanges() {\n return exchanges;\n }\n static generateCorrelationId() {\n return randomUUID();\n }\n\n static validateMessage(message) {\n if (!message) throw new Error(\"Message is required\");\n }\n\n static parseError(err) {\n let type;\n let message;\n let options = {};\n if (err.message && err.type) {\n const { message: errMessage, type: errType, ...rest } = err;\n type = errType;\n message = errMessage;\n options = rest;\n } else {\n message = err.message || \"Unknown Error\";\n }\n\n debug(\"parseError\", type, message, options);\n\n if (type && Errors[type]) {\n return new Errors[type](message, options);\n }\n\n return new Error(message, options);\n }\n\n static parseMessage(message) {\n let error = null;\n let data = {};\n let query = {};\n let context = {};\n let headers = {};\n\n const isCommand = message?.properties?.type === \"Command\";\n const isEvent = message?.properties?.type === \"Event\";\n\n const messageHeaders = message?.properties?.headers || {};\n\n const commandName = messageHeaders[HEADER_KEY_COMMAND_NAME] || null;\n const eventName = messageHeaders[HEADER_KEY_EVENT_NAME] || null;\n\n if (message.content) {\n try {\n const payload =\n message.properties?.contentType === \"application/json\"\n ? JSON.parse(message.content.toString())\n : message.content.toString();\n data = payload?.data || {};\n error = payload?.error;\n query = payload?.query || {};\n context = payload?.context || {};\n } catch (error) {\n debug(\"error parsing content\", error);\n data = message.content.toString();\n }\n }\n\n if (message?.properties?.headers) {\n const orgHeader = message.properties.headers[HEADER_KEY_ORGANIZATION_ID];\n const propertyHeader = message.properties.headers[HEADER_KEY_PROPERTY_ID];\n const driverHeader = message.properties.headers[HEADER_KEY_DRIVER];\n\n if (orgHeader) {\n context.organizationId = orgHeader;\n headers[HEADER_KEY_ORGANIZATION_ID] = orgHeader;\n }\n\n if (propertyHeader) {\n context.propertyId = propertyHeader;\n headers[HEADER_KEY_PROPERTY_ID] = propertyHeader;\n }\n\n if (driverHeader) {\n context.driver = driverHeader;\n headers[HEADER_KEY_DRIVER] = driverHeader;\n }\n }\n\n const parsed = {};\n\n if (error) parsed.error = this.parseError(error);\n\n parsed.data = data;\n parsed.query = query;\n parsed.context = context;\n parsed.headers = headers;\n\n if (isEvent && eventName) parsed.event = eventName;\n else if (isCommand && commandName) parsed.command = commandName;\n\n debug(\"amqp parsed %o\", parsed);\n\n return parsed;\n }\n\n static getMessage(message) {\n if (!message?.content) return null;\n const payload = JSON.parse(message.content.toString());\n const data = payload?.data;\n return data;\n }\n\n static isFatalError(err) {\n return isFatalError(err);\n }\n\n async createConnection(connection, options = {}) {\n return await connect(connection, options);\n }\n\n static createMessage(content) {\n return new Message(content);\n }\n\n async createChannel(connection) {\n const channel = await connection.createChannel();\n return channel;\n }\n\n async assertExchange(channel, { exchange, type, options }) {\n return await channel.assertExchange(exchange, type, options);\n }\n\n async assertQueue(channel, { queue, options }) {\n return await channel.assertQueue(queue, options);\n }\n\n async bindQueue(channel, { queue, exchange, routingKey, args }) {\n return await channel.bindQueue(queue, exchange, routingKey, args);\n }\n\n async bindExchange(channel, { source, destination, routingKey, args }) {\n return await channel.bindExchange(destination, source, routingKey, args);\n }\n\n async subscribeToQueue(channel, { queue, cb, options }) {\n return await channel.consume(queue, cb, options);\n }\n\n publishToExchange(channel, { exchange, routingKey, content, options }) {\n return channel.publish(exchange, routingKey, content, options);\n }\n}\n\nclass Message {\n constructor(content) {\n this.toExchange = null;\n this.content = content;\n this.options = {\n contentType: \"application/json\",\n timestamp: Date.now(),\n };\n this.routingKey = \"\";\n }\n\n get correlationId() {\n return this.options.correlationId || null;\n }\n\n to({ exchange }) {\n if (typeof exchange === \"undefined\")\n throw new Error(\"Exchange is required\");\n this.toExchange = exchange;\n return this;\n }\n\n withType(type) {\n this.options.type = type;\n return this;\n }\n\n withRoutingKey(routingKey) {\n this.routingKey = routingKey;\n return this;\n }\n\n withHeaders(headers) {\n if (!this.options.headers) this.options.headers = {};\n this.options.headers = { ...this.options.headers, ...headers };\n return this;\n }\n\n withContext(context) {\n for (let key in context) {\n this.withHeaders({ [key]: context[key] });\n }\n return this;\n }\n\n withCorrelationId(correlationId) {\n this.options.correlationId = correlationId;\n return this;\n }\n\n withReplyTo(queue) {\n this.options.replyTo = queue;\n return this;\n }\n\n build() {\n let content = this.content;\n if (content.build && typeof content.build === \"function\")\n content = content.build();\n\n return {\n exchange: this.toExchange,\n content: Buffer.from(JSON.stringify(content)),\n options: this.options,\n routingKey: this.routingKey,\n };\n }\n}\n","export const amqpExchanges = {\n // routes commands based on `command-name` header and in many cases `property-id` header\n Commands: {\n name: \"kohost.commands\",\n type: \"headers\",\n options: {\n durable: true,\n },\n },\n CommandResponses: {\n name: \"kohost.commandResponses\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n // routes events based on routing keys\n DriverEvents: {\n name: \"kohost.events.drivers\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n AppEvents: {\n name: \"kohost.events.app\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n Direct: {\n name: \"kohost.direct\",\n type: \"direct\",\n options: {\n durable: true,\n },\n },\n // dead letter exchange\n dlx: {\n name: \"kohost.dlx\",\n type: \"direct\",\n },\n};\n\nexport const deviceTypes = [\n \"dimmer\",\n \"switch\",\n \"thermostat\",\n \"lock\",\n \"windowCovering\",\n \"courtesy\",\n \"alarm\",\n \"camera\",\n \"mediaSource\",\n \"motionSensor\",\n \"gateway\",\n];\n","// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-23T15:13:49.108Z\n\nexport * from \"./appError\";\nexport * from \"./authenticationError\";\nexport * from \"./authorizationError\";\nexport * from \"./conflictError\";\nexport * from \"./deviceCommError\";\nexport * from \"./loginError\";\nexport * from \"./notFoundError\";\nexport * from \"./requestError\";\nexport * from \"./systemCommError\";\nexport * from \"./tokenExpiredError\";\nexport * from \"./unprocessableRequestError\";\nexport * from \"./validationError\";","export class AppError extends Error {\n constructor(message = \"Internal Server Error\", options) {\n super(message, options);\n this.type = this.constructor.name;\n this.statusCode = 500;\n this.name = \"AppError\";\n Object.setPrototypeOf(this, AppError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class AuthenticationError extends AppError {\n constructor(message = \"Authentication Error\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"AuthenticationError\";\n Object.setPrototypeOf(this, AuthenticationError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class AuthorizationError extends AppError {\n constructor(message = \"Authorization Error\", options = {}) {\n super(message, options);\n this.statusCode = 403;\n this.name = \"AuthorizationError\";\n Object.setPrototypeOf(this, AuthorizationError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class ConflictError extends AppError {\n constructor(message = \"Bad Request\", options = {}) {\n super(message, options);\n this.statusCode = 409;\n this.name = \"ConflictError\";\n Object.setPrototypeOf(this, ConflictError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class DeviceCommError extends AppError {\n constructor(message = \"Device Communication Error\", options = {}) {\n super(message, options);\n this.statusCode = 503;\n this.name = \"DeviceCommError\";\n Object.setPrototypeOf(this, DeviceCommError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class LoginError extends AppError {\n constructor(message = \"Invalid Login information provided\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"LoginError\";\n Object.setPrototypeOf(this, LoginError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class NotFoundError extends AppError {\n constructor(message = \"Resource Not Found\", options = {}) {\n super(message, options);\n this.statusCode = 404;\n this.name = \"NotFoundError\";\n Object.setPrototypeOf(this, NotFoundError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class RequestError extends AppError {\n constructor(message = \"Bad Request\", options = {}) {\n super(message, options);\n this.statusCode = 400;\n this.name = \"RequestError\";\n Object.setPrototypeOf(this, RequestError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class SystemCommError extends AppError {\n constructor(message = \"System Communication Error\", options = {}) {\n super(message, options);\n this.statusCode = 503;\n this.name = \"SystemCommError\";\n Object.setPrototypeOf(this, SystemCommError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class TokenExpiredError extends AppError {\n constructor(message = \"Token Expired\", options = {}) {\n super(message, options);\n this.statusCode = 401;\n this.name = \"TokenExpiredError\";\n Object.setPrototypeOf(this, TokenExpiredError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class UnprocessableRequestError extends AppError {\n constructor(message = \"Unprocessable Request Error\", options = {}) {\n super(message, options);\n this.statusCode = 422;\n this.name = \"UnprocessableRequestError\";\n Object.setPrototypeOf(this, UnprocessableRequestError.prototype);\n }\n}\n","import { AppError } from \"./appError\";\n\nexport class ValidationError extends AppError {\n constructor(message = \"Validation Error\", options = {}) {\n super(message, options);\n this.statusCode = 400;\n this.name = \"ValidationError\";\n Object.setPrototypeOf(this, ValidationError.prototype);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAwB;AACxB,wBAA6B;AAC7B,mBAAgB;AAChB,yBAAuB;AACvB,aAAwB;;;ACJjB,IAAM,gBAAgB;AAAA;AAAA,EAE3B,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA,IAChB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS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ACtB,YAAM,IAAI,MAAM,sBAAsB;AACxC,SAAK,aAAa;AAClB,WAAO;AAAA,EACT;AAAA,EAEA,SAAS,MAAM;AACb,SAAK,QAAQ,OAAO;AACpB,WAAO;AAAA,EACT;AAAA,EAEA,eAAe,YAAY;AACzB,SAAK,aAAa;AAClB,WAAO;AAAA,EACT;AAAA,EAEA,YAAY,SAAS;AACnB,QAAI,CAAC,KAAK,QAAQ,QAAS,MAAK,QAAQ,UAAU,CAAC;AACnD,SAAK,QAAQ,UAAU,EAAE,GAAG,KAAK,QAAQ,SAAS,GAAG,QAAQ;AAC7D,WAAO;AAAA,EACT;AAAA,EAEA,YAAY,SAAS;AACnB,aAAS,OAAO,SAAS;AACvB,WAAK,YAAY,EAAE,CAAC,GAAG,GAAG,QAAQ,GAAG,EAAE,CAAC;AAAA,IAC1C;AACA,WAAO;AAAA,EACT;AAAA,EAEA,kBAAkB,eAAe;AAC/B,SAAK,QAAQ,gBAAgB;AAC7B,WAAO;AAAA,EACT;AAAA,EAEA,YAAY,OAAO;AACjB,SAAK,QAAQ,UAAU;AACvB,WAAO;AAAA,EACT;AAAA,EAEA,QAAQ;AACN,QAAI,UAAU,KAAK;AACnB,QAAI,QAAQ,SAAS,OAAO,QAAQ,UAAU;AAC5C,gBAAU,QAAQ,MAAM;AAE1B,WAAO;AAAA,MACL,UAAU,KAAK;AAAA,MACf,SAAS,0BAAO,KAAK,KAAK,UAAU,OAAO,CAAC;AAAA,MAC5C,SAAS,KAAK;AAAA,MACd,YAAY,KAAK;AAAA,IACnB;AAAA,EACF;AACF;","names":["randomUUID","dbg","error"]}
@@ -1 +1 @@
1
- import{KohostAMQPClient}from"./chunk-LOGVBYL2.js";import"./chunk-DVPG2A2G.js";import"./chunk-5DDEBL4C.js";import"./chunk-FWQGLIH3.js";import"./chunk-5AL2CFY6.js";import"./chunk-ESIDN2ZC.js";import"./chunk-ACP77TDR.js";import"./chunk-XFM6FKMP.js";import"./chunk-L6YHMO2S.js";import"./chunk-NPIEN2TA.js";import"./chunk-KREA3WAN.js";import"./chunk-FQUBUAIQ.js";import"./chunk-JEV6TOJB.js";import"./chunk-XGM4IDW5.js";import"./chunk-XTVCI5U2.js";import"./chunk-FU4IK6I4.js";export{KohostAMQPClient};//# sourceMappingURL=amqpClient.js.map
1
+ import{KohostAMQPClient}from"./chunk-ZLZL27XJ.js";import"./chunk-CGFGSU4J.js";import"./chunk-5DDEBL4C.js";import"./chunk-FWQGLIH3.js";import"./chunk-5AL2CFY6.js";import"./chunk-ESIDN2ZC.js";import"./chunk-ACP77TDR.js";import"./chunk-XFM6FKMP.js";import"./chunk-L6YHMO2S.js";import"./chunk-NPIEN2TA.js";import"./chunk-KREA3WAN.js";import"./chunk-FQUBUAIQ.js";import"./chunk-JEV6TOJB.js";import"./chunk-XGM4IDW5.js";import"./chunk-XTVCI5U2.js";import"./chunk-FU4IK6I4.js";export{KohostAMQPClient};//# sourceMappingURL=amqpClient.js.map
@@ -0,0 +1 @@
1
+ import{SystemProductUpdated}from"./chunk-RURKOLEG.js";import{SystemPropertyUpdated}from"./chunk-6VMFC7QB.js";import{SystemReservationUpdated}from"./chunk-6CKA6LRS.js";import{SystemSpaceUpdated}from"./chunk-PQQOKUF3.js";import{SystemSwitchUpdated}from"./chunk-GZXNCPIL.js";import{SystemThermostatUpdated}from"./chunk-FI72C5AM.js";import{SystemUserUpdated}from"./chunk-65NWISRF.js";import{SystemWindowCoveringUpdated}from"./chunk-OIJYSXZK.js";import{SystemCredentialUpdated}from"./chunk-Q3OOPRQY.js";import{SystemDimmerUpdated}from"./chunk-IK6MN3UL.js";import{SystemEntityDeleted}from"./chunk-GVYMFUVG.js";import{SystemGatewayUpdated}from"./chunk-277QW4C3.js";import{SystemLockUpdated}from"./chunk-CAKTDCDM.js";import{SystemMediaSourceUpdated}from"./chunk-PXMM3JKG.js";import{SystemMotionSensorUpdated}from"./chunk-6VE6QNNZ.js";import{SystemOrganizationUpdated}from"./chunk-RETVXCZC.js";import{ReservationSpaceChanged}from"./chunk-2CMBONFM.js";import{SceneSet}from"./chunk-W4TARIDR.js";import{ShortLinkCreated}from"./chunk-7P4GO2Q7.js";import{SMSEvent}from"./chunk-2MCHBBGS.js";import{SystemAlarmUpdated}from"./chunk-SUR3WVJB.js";import{SystemCameraUpdated}from"./chunk-6ITJY7ZV.js";import{SystemCategoryUpdated}from"./chunk-MCG7PGDP.js";import{SystemCourtesyUpdated}from"./chunk-7G7L7AX6.js";import{ApplicationInUse}from"./chunk-CU5DLZM7.js";import{ApplicationOutOfUse}from"./chunk-64YKALX5.js";import{EmailEvent}from"./chunk-UJELPLGC.js";import{ReservationCheckedIn}from"./chunk-KTD5HRNM.js";import{ReservationCheckedOut}from"./chunk-FAI2U7YM.js";import{Event}from"./chunk-DK5F23SZ.js";import{__export}from"./chunk-FU4IK6I4.js";var events_exports={};__export(events_exports,{ApplicationInUse:()=>ApplicationInUse,ApplicationOutOfUse:()=>ApplicationOutOfUse,EmailEvent:()=>EmailEvent,Event:()=>Event,ReservationCheckedIn:()=>ReservationCheckedIn,ReservationCheckedOut:()=>ReservationCheckedOut,ReservationSpaceChanged:()=>ReservationSpaceChanged,SMSEvent:()=>SMSEvent,SceneSet:()=>SceneSet,ShortLinkCreated:()=>ShortLinkCreated,SystemAlarmUpdated:()=>SystemAlarmUpdated,SystemCameraUpdated:()=>SystemCameraUpdated,SystemCategoryUpdated:()=>SystemCategoryUpdated,SystemCourtesyUpdated:()=>SystemCourtesyUpdated,SystemCredentialUpdated:()=>SystemCredentialUpdated,SystemDimmerUpdated:()=>SystemDimmerUpdated,SystemEntityDeleted:()=>SystemEntityDeleted,SystemGatewayUpdated:()=>SystemGatewayUpdated,SystemLockUpdated:()=>SystemLockUpdated,SystemMediaSourceUpdated:()=>SystemMediaSourceUpdated,SystemMotionSensorUpdated:()=>SystemMotionSensorUpdated,SystemOrganizationUpdated:()=>SystemOrganizationUpdated,SystemProductUpdated:()=>SystemProductUpdated,SystemPropertyUpdated:()=>SystemPropertyUpdated,SystemReservationUpdated:()=>SystemReservationUpdated,SystemSpaceUpdated:()=>SystemSpaceUpdated,SystemSwitchUpdated:()=>SystemSwitchUpdated,SystemThermostatUpdated:()=>SystemThermostatUpdated,SystemUserUpdated:()=>SystemUserUpdated,SystemWindowCoveringUpdated:()=>SystemWindowCoveringUpdated});export{events_exports};//# sourceMappingURL=chunk-34NDMN52.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/events/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-20T02:46:47.036Z\n\nexport * from \"./applicationInUse\";\nexport * from \"./applicationOutOfUse\";\nexport * from \"./emailEvent\";\nexport * from \"./event\";\nexport * from \"./reservationCheckedIn\";\nexport * from \"./reservationCheckedOut\";\nexport * from \"./reservationSpaceChanged\";\nexport * from \"./sceneSet\";\nexport * from \"./shortLinkCreated\";\nexport * from \"./smsEvent\";\nexport * from \"./systemAlarmUpdated\";\nexport * from \"./systemCameraUpdated\";\nexport * from \"./systemCategoryUpdated\";\nexport * from \"./systemCourtesyUpdated\";\nexport * from \"./systemCredentialUpdated\";\nexport * from \"./systemDimmerUpdated\";\nexport * from \"./systemEntityDeleted\";\nexport * from \"./systemGatewayUpdated\";\nexport * from \"./systemLockUpdated\";\nexport * from \"./systemMediaSourceUpdated\";\nexport * from \"./systemMotionSensorUpdated\";\nexport * from \"./systemOrganizationUpdated\";\nexport * from \"./systemProductUpdated\";\nexport * from \"./systemPropertyUpdated\";\nexport * from \"./systemReservationUpdated\";\nexport * from \"./systemSpaceUpdated\";\nexport * from \"./systemSwitchUpdated\";\nexport * from \"./systemThermostatUpdated\";\nexport * from \"./systemUserUpdated\";\nexport * from \"./systemWindowCoveringUpdated\";"],"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;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/events/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-23T15:13:49.107Z\n\nexport * from \"./applicationInUse\";\nexport * from \"./applicationOutOfUse\";\nexport * from \"./emailEvent\";\nexport * from \"./event\";\nexport * from \"./reservationCheckedIn\";\nexport * from \"./reservationCheckedOut\";\nexport * from \"./reservationSpaceChanged\";\nexport * from \"./sceneSet\";\nexport * from \"./shortLinkCreated\";\nexport * from \"./smsEvent\";\nexport * from \"./systemAlarmUpdated\";\nexport * from \"./systemCameraUpdated\";\nexport * from \"./systemCategoryUpdated\";\nexport * from \"./systemCourtesyUpdated\";\nexport * from \"./systemCredentialUpdated\";\nexport * from \"./systemDimmerUpdated\";\nexport * from \"./systemEntityDeleted\";\nexport * from \"./systemGatewayUpdated\";\nexport * from \"./systemLockUpdated\";\nexport * from \"./systemMediaSourceUpdated\";\nexport * from \"./systemMotionSensorUpdated\";\nexport * from \"./systemOrganizationUpdated\";\nexport * from \"./systemProductUpdated\";\nexport * from \"./systemPropertyUpdated\";\nexport * from \"./systemReservationUpdated\";\nexport * from \"./systemSpaceUpdated\";\nexport * from \"./systemSwitchUpdated\";\nexport * from \"./systemThermostatUpdated\";\nexport * from \"./systemUserUpdated\";\nexport * from \"./systemWindowCoveringUpdated\";"],"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;AAAA;AAAA;","names":[]}
@@ -1 +1 @@
1
- import{ValidationError}from"./chunk-5DDEBL4C.js";import{DeviceCommError}from"./chunk-FWQGLIH3.js";import{LoginError}from"./chunk-5AL2CFY6.js";import{NotFoundError}from"./chunk-ESIDN2ZC.js";import{RequestError}from"./chunk-ACP77TDR.js";import{SystemCommError}from"./chunk-XFM6FKMP.js";import{TokenExpiredError}from"./chunk-L6YHMO2S.js";import{UnprocessableRequestError}from"./chunk-NPIEN2TA.js";import{AuthenticationError}from"./chunk-KREA3WAN.js";import{AuthorizationError}from"./chunk-FQUBUAIQ.js";import{ConflictError}from"./chunk-JEV6TOJB.js";import{AppError}from"./chunk-XGM4IDW5.js";import{__export}from"./chunk-FU4IK6I4.js";var errors_exports={};__export(errors_exports,{AppError:()=>AppError,AuthenticationError:()=>AuthenticationError,AuthorizationError:()=>AuthorizationError,ConflictError:()=>ConflictError,DeviceCommError:()=>DeviceCommError,LoginError:()=>LoginError,NotFoundError:()=>NotFoundError,RequestError:()=>RequestError,SystemCommError:()=>SystemCommError,TokenExpiredError:()=>TokenExpiredError,UnprocessableRequestError:()=>UnprocessableRequestError,ValidationError:()=>ValidationError});export{errors_exports};//# sourceMappingURL=chunk-DVPG2A2G.js.map
1
+ import{ValidationError}from"./chunk-5DDEBL4C.js";import{DeviceCommError}from"./chunk-FWQGLIH3.js";import{LoginError}from"./chunk-5AL2CFY6.js";import{NotFoundError}from"./chunk-ESIDN2ZC.js";import{RequestError}from"./chunk-ACP77TDR.js";import{SystemCommError}from"./chunk-XFM6FKMP.js";import{TokenExpiredError}from"./chunk-L6YHMO2S.js";import{UnprocessableRequestError}from"./chunk-NPIEN2TA.js";import{AuthenticationError}from"./chunk-KREA3WAN.js";import{AuthorizationError}from"./chunk-FQUBUAIQ.js";import{ConflictError}from"./chunk-JEV6TOJB.js";import{AppError}from"./chunk-XGM4IDW5.js";import{__export}from"./chunk-FU4IK6I4.js";var errors_exports={};__export(errors_exports,{AppError:()=>AppError,AuthenticationError:()=>AuthenticationError,AuthorizationError:()=>AuthorizationError,ConflictError:()=>ConflictError,DeviceCommError:()=>DeviceCommError,LoginError:()=>LoginError,NotFoundError:()=>NotFoundError,RequestError:()=>RequestError,SystemCommError:()=>SystemCommError,TokenExpiredError:()=>TokenExpiredError,UnprocessableRequestError:()=>UnprocessableRequestError,ValidationError:()=>ValidationError});export{errors_exports};//# sourceMappingURL=chunk-CGFGSU4J.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/errors/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-20T02:46:47.036Z\n\nexport * from \"./appError\";\nexport * from \"./authenticationError\";\nexport * from \"./authorizationError\";\nexport * from \"./conflictError\";\nexport * from \"./deviceCommError\";\nexport * from \"./loginError\";\nexport * from \"./notFoundError\";\nexport * from \"./requestError\";\nexport * from \"./systemCommError\";\nexport * from \"./tokenExpiredError\";\nexport * from \"./unprocessableRequestError\";\nexport * from \"./validationError\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/errors/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-23T15:13:49.108Z\n\nexport * from \"./appError\";\nexport * from \"./authenticationError\";\nexport * from \"./authorizationError\";\nexport * from \"./conflictError\";\nexport * from \"./deviceCommError\";\nexport * from \"./loginError\";\nexport * from \"./notFoundError\";\nexport * from \"./requestError\";\nexport * from \"./systemCommError\";\nexport * from \"./tokenExpiredError\";\nexport * from \"./unprocessableRequestError\";\nexport * from \"./validationError\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
@@ -1 +1 @@
1
- import{Vendor}from"./chunk-SVABZ3CI.js";import{WindowCovering}from"./chunk-JXIXNM2I.js";import{SmsMessage}from"./chunk-5MAKH7DA.js";import{Space}from"./chunk-BNZ2JDKC.js";import{Switch}from"./chunk-KHD6GODB.js";import{SystemUser}from"./chunk-FGIR4KLQ.js";import{Thermostat}from"./chunk-KPHJPPH5.js";import{Ticket}from"./chunk-7IHVZEVI.js";import{TimeSheet}from"./chunk-XWSEOA2O.js";import{User}from"./chunk-F4DIA6P7.js";import{Policy}from"./chunk-P3X3QEEY.js";import{Product}from"./chunk-W7VPTCQW.js";import{Property}from"./chunk-52SGBY7T.js";import{Reservation}from"./chunk-K4F4A4V5.js";import{Room}from"./chunk-S4URKPDZ.js";import{Scene}from"./chunk-KZIPXTCO.js";import{ShortLink}from"./chunk-EGC5AOOR.js";import{Issue}from"./chunk-YXN5DS6G.js";import{Lock}from"./chunk-5MRKX6LD.js";import{Log}from"./chunk-BJUHX7EO.js";import{MediaFile}from"./chunk-2NJ5TYDM.js";import{MediaSource}from"./chunk-I2PGUQGT.js";import{MotionSensor}from"./chunk-IL4Z5EOQ.js";import{Order}from"./chunk-PMXGQQMO.js";import{Organization}from"./chunk-P74O5XVT.js";import{DiscoveredDevice}from"./chunk-3ZJNRIFK.js";import{EmailMessage}from"./chunk-O5VHQAWH.js";import{EnergyReport}from"./chunk-23BJNXQR.js";import{EnergyReportShard}from"./chunk-E5ALXA5L.js";import{Gateway}from"./chunk-MSIRN7GZ.js";import{Identification}from"./chunk-XULJZZ4Y.js";import{Alarm}from"./chunk-OC4D6KDL.js";import{Announcement}from"./chunk-UZZR5Y2C.js";import{Camera}from"./chunk-UMQTRLQ3.js";import{Category}from"./chunk-7FO5KNKZ.js";import{Courtesy}from"./chunk-5OF4E2UP.js";import{Credential}from"./chunk-HOKXPNGS.js";import{DeviceRouter}from"./chunk-6HMBXW6S.js";import{Dimmer}from"./chunk-LI63K4CP.js";import{events_exports}from"./chunk-KUY2TSXE.js";import{ValidationError}from"./chunk-5DDEBL4C.js";import{DeviceCommError}from"./chunk-FWQGLIH3.js";import{LoginError}from"./chunk-5AL2CFY6.js";import{NotFoundError}from"./chunk-ESIDN2ZC.js";import{RequestError}from"./chunk-ACP77TDR.js";import{SystemCommError}from"./chunk-XFM6FKMP.js";import{TokenExpiredError}from"./chunk-L6YHMO2S.js";import{UnprocessableRequestError}from"./chunk-NPIEN2TA.js";import{AuthenticationError}from"./chunk-KREA3WAN.js";import{AuthorizationError}from"./chunk-FQUBUAIQ.js";import{ConflictError}from"./chunk-JEV6TOJB.js";import{AppError}from"./chunk-XGM4IDW5.js";import{__export,__name}from"./chunk-FU4IK6I4.js";var utils_exports={};function entityFactory(type){switch(type){case"reservation":return Reservation;case"mediaFile":return MediaFile;case"switch":return Switch;case"alarm":return Alarm;case"dimmer":return Dimmer;case"lock":return Lock;case"thermostat":return Thermostat;case"windowCovering":return WindowCovering;case"identification":return Identification;case"user":return User;case"systemUser":return SystemUser;case"policy":return Policy;case"courtesy":return Courtesy;case"camera":return Camera;case"motionSensor":return MotionSensor;case"mediaSource":return MediaSource;case"room":return Room;case"space":return Space;case"category":return Category;case"ticket":return Ticket;case"scene":return Scene;case"gateway":return Gateway;case"product":return Product;case"order":return Order;case"discoveredDevice":return DiscoveredDevice;case"deviceRouter":return DeviceRouter;case"credential":return Credential;case"shortLink":return ShortLink;case"energyReportShard":return EnergyReportShard;case"energyReport":return EnergyReport;case"smsMessage":return SmsMessage;case"emailMessage":return EmailMessage;case"announcement":return Announcement;case"timeSheet":return TimeSheet;case"property":return Property;case"organization":return Organization;case"issue":return Issue;case"vendor":return Vendor;case"log":return Log;default:throw new Error("Unknown entity type: "+type)}}function errorFactory(errName){switch(errName){case"AppError":return AppError;case"AuthenticationError":return AuthenticationError;case"AuthorizationError":return AuthorizationError;case"ConflictError":return ConflictError;case"DeviceCommError":return DeviceCommError;case"LoginError":return LoginError;case"NotFoundError":return NotFoundError;case"RequestError":return RequestError;case"SystemCommError":return SystemCommError;case"TokenExpiredError":return TokenExpiredError;case"UnprocessableRequestError":return UnprocessableRequestError;case"ValidationError":return ValidationError;default:return new Error("Invalid error name: "+errName)}}function eventFactory(eventName){const Event=Object.values(events_exports).find((E=>E.prototype.name===eventName));if(!Event)throw new Error("Invalid event name: "+eventName);return Event}__export(utils_exports,{entityFactory:()=>entityFactory,errorFactory:()=>errorFactory,eventFactory:()=>eventFactory}),__name(entityFactory,"entityFactory"),__name(errorFactory,"errorFactory"),__name(eventFactory,"eventFactory");export{entityFactory,errorFactory,eventFactory,utils_exports};//# sourceMappingURL=chunk-WCNLOW6W.js.map
1
+ import{Vendor}from"./chunk-SVABZ3CI.js";import{WindowCovering}from"./chunk-JXIXNM2I.js";import{SmsMessage}from"./chunk-5MAKH7DA.js";import{Space}from"./chunk-BNZ2JDKC.js";import{Switch}from"./chunk-KHD6GODB.js";import{SystemUser}from"./chunk-FGIR4KLQ.js";import{Thermostat}from"./chunk-KPHJPPH5.js";import{Ticket}from"./chunk-7IHVZEVI.js";import{TimeSheet}from"./chunk-XWSEOA2O.js";import{User}from"./chunk-F4DIA6P7.js";import{Policy}from"./chunk-P3X3QEEY.js";import{Product}from"./chunk-W7VPTCQW.js";import{Property}from"./chunk-52SGBY7T.js";import{Reservation}from"./chunk-K4F4A4V5.js";import{Room}from"./chunk-S4URKPDZ.js";import{Scene}from"./chunk-KZIPXTCO.js";import{ShortLink}from"./chunk-EGC5AOOR.js";import{Issue}from"./chunk-YXN5DS6G.js";import{Lock}from"./chunk-5MRKX6LD.js";import{Log}from"./chunk-BJUHX7EO.js";import{MediaFile}from"./chunk-2NJ5TYDM.js";import{MediaSource}from"./chunk-I2PGUQGT.js";import{MotionSensor}from"./chunk-IL4Z5EOQ.js";import{Order}from"./chunk-PMXGQQMO.js";import{Organization}from"./chunk-P74O5XVT.js";import{DiscoveredDevice}from"./chunk-3ZJNRIFK.js";import{EmailMessage}from"./chunk-O5VHQAWH.js";import{EnergyReport}from"./chunk-23BJNXQR.js";import{EnergyReportShard}from"./chunk-E5ALXA5L.js";import{Gateway}from"./chunk-MSIRN7GZ.js";import{Identification}from"./chunk-XULJZZ4Y.js";import{Alarm}from"./chunk-OC4D6KDL.js";import{Announcement}from"./chunk-UZZR5Y2C.js";import{Camera}from"./chunk-UMQTRLQ3.js";import{Category}from"./chunk-7FO5KNKZ.js";import{Courtesy}from"./chunk-5OF4E2UP.js";import{Credential}from"./chunk-HOKXPNGS.js";import{DeviceRouter}from"./chunk-6HMBXW6S.js";import{Dimmer}from"./chunk-LI63K4CP.js";import{events_exports}from"./chunk-34NDMN52.js";import{ValidationError}from"./chunk-5DDEBL4C.js";import{DeviceCommError}from"./chunk-FWQGLIH3.js";import{LoginError}from"./chunk-5AL2CFY6.js";import{NotFoundError}from"./chunk-ESIDN2ZC.js";import{RequestError}from"./chunk-ACP77TDR.js";import{SystemCommError}from"./chunk-XFM6FKMP.js";import{TokenExpiredError}from"./chunk-L6YHMO2S.js";import{UnprocessableRequestError}from"./chunk-NPIEN2TA.js";import{AuthenticationError}from"./chunk-KREA3WAN.js";import{AuthorizationError}from"./chunk-FQUBUAIQ.js";import{ConflictError}from"./chunk-JEV6TOJB.js";import{AppError}from"./chunk-XGM4IDW5.js";import{__export,__name}from"./chunk-FU4IK6I4.js";var utils_exports={};function entityFactory(type){switch(type){case"reservation":return Reservation;case"mediaFile":return MediaFile;case"switch":return Switch;case"alarm":return Alarm;case"dimmer":return Dimmer;case"lock":return Lock;case"thermostat":return Thermostat;case"windowCovering":return WindowCovering;case"identification":return Identification;case"user":return User;case"systemUser":return SystemUser;case"policy":return Policy;case"courtesy":return Courtesy;case"camera":return Camera;case"motionSensor":return MotionSensor;case"mediaSource":return MediaSource;case"room":return Room;case"space":return Space;case"category":return Category;case"ticket":return Ticket;case"scene":return Scene;case"gateway":return Gateway;case"product":return Product;case"order":return Order;case"discoveredDevice":return DiscoveredDevice;case"deviceRouter":return DeviceRouter;case"credential":return Credential;case"shortLink":return ShortLink;case"energyReportShard":return EnergyReportShard;case"energyReport":return EnergyReport;case"smsMessage":return SmsMessage;case"emailMessage":return EmailMessage;case"announcement":return Announcement;case"timeSheet":return TimeSheet;case"property":return Property;case"organization":return Organization;case"issue":return Issue;case"vendor":return Vendor;case"log":return Log;default:throw new Error("Unknown entity type: "+type)}}function errorFactory(errName){switch(errName){case"AppError":return AppError;case"AuthenticationError":return AuthenticationError;case"AuthorizationError":return AuthorizationError;case"ConflictError":return ConflictError;case"DeviceCommError":return DeviceCommError;case"LoginError":return LoginError;case"NotFoundError":return NotFoundError;case"RequestError":return RequestError;case"SystemCommError":return SystemCommError;case"TokenExpiredError":return TokenExpiredError;case"UnprocessableRequestError":return UnprocessableRequestError;case"ValidationError":return ValidationError;default:return new Error("Invalid error name: "+errName)}}function eventFactory(eventName){const Event=Object.values(events_exports).find((E=>E.prototype.name===eventName));if(!Event)throw new Error("Invalid event name: "+eventName);return Event}__export(utils_exports,{entityFactory:()=>entityFactory,errorFactory:()=>errorFactory,eventFactory:()=>eventFactory}),__name(entityFactory,"entityFactory"),__name(errorFactory,"errorFactory"),__name(eventFactory,"eventFactory");export{entityFactory,errorFactory,eventFactory,utils_exports};//# sourceMappingURL=chunk-FHU77TPD.js.map
@@ -1 +1 @@
1
- import{UpdateVendorCommand}from"./chunk-6YKUEARE.js";import{UpdateWindowCoveringCommand}from"./chunk-63QPZF42.js";import{UploadImageCommand}from"./chunk-YVSFNS7W.js";import{UpsertDiscoveredDeviceCommand}from"./chunk-TSM7RV4C.js";import{UpdateSpaceCommand}from"./chunk-MM3P3DLE.js";import{UpdateSwitchCommand}from"./chunk-6YGJ742U.js";import{UpdateThermostatCommand}from"./chunk-ZOXQUHKD.js";import{UpdateTicketCommand}from"./chunk-ONW4NQZV.js";import{UpdateTicketStatusCommand}from"./chunk-QH6FJYNQ.js";import{UpdateTimeSheetCommand}from"./chunk-XY6YDEDK.js";import{UpdateTimeSheetTimeEntryCommand}from"./chunk-VSGUK7B3.js";import{UpdateUserCommand}from"./chunk-UJFF6CHB.js";import{UpdateOrganizationCommand}from"./chunk-ZCMRX4ZD.js";import{UpdatePolicyCommand}from"./chunk-CSSDH2AG.js";import{UpdatePropertyCommand}from"./chunk-BW6PA6CS.js";import{UpdatePropertySettingsCommand}from"./chunk-T6IQ3TXR.js";import{UpdateReservationCommand}from"./chunk-ZBUPQNMF.js";import{UpdateReservationExpectedArrivalTimeCommand}from"./chunk-5X3OITWC.js";import{UpdateRoomCommand}from"./chunk-EKEX5C2J.js";import{UpdateSelfCommand}from"./chunk-IICVVAPM.js";import{UpdateCategoryCommand}from"./chunk-UKQ7UXWV.js";import{UpdateCourtesyCommand}from"./chunk-VJVD6GMD.js";import{UpdateDimmerCommand}from"./chunk-4WY3R6YR.js";import{UpdateDiscoveredDeviceCommand}from"./chunk-SMNF4VXK.js";import{UpdateIssueCommand}from"./chunk-XHYKBZHJ.js";import{UpdateLockCommand}from"./chunk-7AGFDTHO.js";import{UpdateMediaSourceCommand}from"./chunk-3ZAV5BU4.js";import{UpdateMessageReadStatusCommand}from"./chunk-ZORL4RJ5.js";import{SetWindowCoveringCommand}from"./chunk-7ZVQU75R.js";import{StartRegisterPasskeyCommand}from"./chunk-QVNE3UQV.js";import{StartSOSCommand}from"./chunk-AZEMZHOK.js";import{StopSOSCommand}from"./chunk-YEEA6XQJ.js";import{TipUserCommand}from"./chunk-VPY34NLH.js";import{UpdateAlarmCommand}from"./chunk-KP4IR4DU.js";import{UpdateAnnouncementCommand}from"./chunk-7VAKWZQY.js";import{UpdateCameraCommand}from"./chunk-HYHV4S67.js";import{SetDimmerCommand}from"./chunk-IY3TTQVV.js";import{SetLockCommand}from"./chunk-POWGKBP6.js";import{SetMediaSourceCommand}from"./chunk-WNOPU7JI.js";import{SetRoomSceneCommand}from"./chunk-2O3EILRC.js";import{SetSceneCommand}from"./chunk-36VAKMP6.js";import{SetSpaceSceneCommand}from"./chunk-DJICSQKH.js";import{SetSwitchCommand}from"./chunk-4ET4Q3CU.js";import{SetThermostatCommand}from"./chunk-ECYOCNF2.js";import{SendCheckOutSMSCommand}from"./chunk-2UR3VRCB.js";import{SendPreArrivalEmailCommand}from"./chunk-I4CVWXA5.js";import{SendPreArrivalSMSCommand}from"./chunk-6NCAOMTN.js";import{SendRoomControlSMSCommand}from"./chunk-AWAUQJUZ.js";import{SendVerificationCodeCommand}from"./chunk-IT6KYSMD.js";import{SetAlarmCommand}from"./chunk-R7UG6N2F.js";import{SetCameraCommand}from"./chunk-7TXCVHDG.js";import{SetCourtesyCommand}from"./chunk-QIQE2F2L.js";import{PurchaseReservationEarlyCheckInProductsCommand}from"./chunk-ZON7ZZHH.js";import{PurchaseReservationLateCheckOutProductsCommand}from"./chunk-WAQ5NCNM.js";import{PurchaseReservationPetProductsCommand}from"./chunk-TEVTENBO.js";import{PurchaseReservationPromosCommand}from"./chunk-3WMI6PXN.js";import{PurchaseReservationRoomUpgradesCommand}from"./chunk-VZKF2NC5.js";import{RequestLoginTokenCommand}from"./chunk-DCKXPUJB.js";import{SendCheckInSMSCommand}from"./chunk-HJMKEONT.js";import{ListVendorsCommand}from"./chunk-ZOSX2YYS.js";import{ListWindowCoveringsCommand}from"./chunk-55CTIIDX.js";import{LoginFinishCommand}from"./chunk-WDQ3H5O5.js";import{LoginStartCommand}from"./chunk-GBR25DLP.js";import{LogoutSelfCommand}from"./chunk-3Q4Q2U5X.js";import{LogoutUserCommand}from"./chunk-Y5PIQEJS.js";import{MatchUserIdentificationCommand}from"./chunk-7YQOZNWA.js";import{OCRDocumentCommand}from"./chunk-JXRSJFP6.js";import{ListTicketLocationsCommand}from"./chunk-6FADZM2A.js";import{ListTicketsCommand}from"./chunk-T2MTJS45.js";import{ListTimeSheetsCommand}from"./chunk-H4NNYCWQ.js";import{ListUserMobileKeysCommand}from"./chunk-NXDWKXBA.js";import{ListUserOrdersCommand}from"./chunk-OJADGIFT.js";import{ListUserReservationsCommand}from"./chunk-IQJJ2LTZ.js";import{ListUserSpacesCommand}from"./chunk-3P4OPV6L.js";import{ListUsersCommand}from"./chunk-2SNGXZ2E.js";import{ListReservationsCommand}from"./chunk-YG5LFCBW.js";import{ListRoomsCommand}from"./chunk-5I6PZ7TY.js";import{ListRoomsInSpaceCommand}from"./chunk-E7R7NG4K.js";import{ListScenesCommand}from"./chunk-TL4FNBF3.js";import{ListSpacesCommand}from"./chunk-JRANTXTM.js";import{ListSwitchesCommand}from"./chunk-YWDMAUBF.js";import{ListTeamCommand}from"./chunk-NT5S76YE.js";import{ListThermostatsCommand}from"./chunk-64QLBZMF.js";import{ListMySpacesCommand}from"./chunk-UFPVZ376.js";import{ListMyTicketsCommand}from"./chunk-3EZHT3ZY.js";import{ListMyTimeSheetsCommand}from"./chunk-F3AZDMLX.js";import{ListOrdersCommand}from"./chunk-V6UG5J6N.js";import{ListOrganizationsCommand}from"./chunk-2AIOZ5EC.js";import{ListPoliciesCommand}from"./chunk-6GWSD2Z5.js";import{ListProductsCommand}from"./chunk-5WTHUDDF.js";import{ListPropertiesCommand}from"./chunk-2HZZMLXX.js";import{ListDimmersCommand}from"./chunk-NMUBE7J3.js";import{ListDiscoveredDevicesCommand}from"./chunk-IPSBKWNM.js";import{ListIssuesCommand}from"./chunk-YJMSTPLE.js";import{ListLocksCommand}from"./chunk-7XH2CELY.js";import{ListMediaSourcesCommand}from"./chunk-26BFSDFP.js";import{ListMyOrdersCommand}from"./chunk-BZC2ANPR.js";import{ListMyPropertiesCommand}from"./chunk-O7324P5H.js";import{ListMyReservationsCommand}from"./chunk-4TKVQPDP.js";import{LeaveTicketCommand}from"./chunk-QHGNN5KX.js";import{ListAlarmsCommand}from"./chunk-LPSP7N3D.js";import{ListAnnouncementsCommand}from"./chunk-HTFSZ7GO.js";import{ListCameraStreamPreviewsCommand}from"./chunk-O4GGIUR2.js";import{ListCamerasCommand}from"./chunk-TMP7GIQ3.js";import{ListCategoriesCommand}from"./chunk-RN3LMRDC.js";import{ListCourtesyCommand}from"./chunk-TEBFKPCU.js";import{DescribeTimeSheetCommand}from"./chunk-EEKOJ5OB.js";import{DescribeTimeSheetStatsCommand}from"./chunk-IKXVUSHC.js";import{DescribeUserCommand}from"./chunk-QCW5O6HY.js";import{DescribeVendorCommand}from"./chunk-SQJPROWY.js";import{DescribeWindowCoveringCommand}from"./chunk-WCHAZFO3.js";import{DiscoverReservationsCommand}from"./chunk-7UFPLOOF.js";import{EmailUserAccountSetupCommand}from"./chunk-6ZRW4UB5.js";import{FinishRegisterPasskeyCommand}from"./chunk-5OGJXO5X.js";import{DescribeSOSCommand}from"./chunk-DSPCTP5O.js";import{DescribeSelfCommand}from"./chunk-2N7E3CW7.js";import{DescribeSpaceCommand}from"./chunk-Y3Z6NXOP.js";import{DescribeSwitchCommand}from"./chunk-FLOQQ3PE.js";import{DescribeThermostatCommand}from"./chunk-QVOEEHLA.js";import{DescribeTicketCommand}from"./chunk-2XTM4C6Z.js";import{DescribeTicketFiltersCommand}from"./chunk-YZJFF2BB.js";import{DescribeTicketStatsCommand}from"./chunk-QLHQHC66.js";import{DescribePropertyCommand}from"./chunk-PTB5BEAA.js";import{DescribeReservationCommand}from"./chunk-YLMFN5Y7.js";import{DescribeReservationEarlyCheckInProductsCommand}from"./chunk-2MGHETGC.js";import{DescribeReservationLateCheckOutProductsCommand}from"./chunk-M26QWJ6Z.js";import{DescribeReservationPetProductsCommand}from"./chunk-AJZHQGZW.js";import{DescribeReservationPromosCommand}from"./chunk-IR5S4BED.js";import{DescribeReservationRoomUpgradesCommand}from"./chunk-PRFEORAB.js";import{DescribeRoomCommand}from"./chunk-FT75GNZ4.js";import{DescribeMediaSourceCommand}from"./chunk-XN3DHY4M.js";import{DescribeMyAuthCommand}from"./chunk-KLUBFEWA.js";import{DescribeMyMobileKeyAppCommand}from"./chunk-5TXUCIAH.js";import{DescribeMyOrganizationCommand}from"./chunk-WVZESDGJ.js";import{DescribeMyPasskeyRegistrationsCommand}from"./chunk-WFXHLR2Y.js";import{DescribeOrganizationCommand}from"./chunk-S773PWX2.js";import{DescribePolicyCommand}from"./chunk-XG7VV3BG.js";import{DescribeProductCommand}from"./chunk-ABCJIODU.js";import{DescribeCameraCommand}from"./chunk-AZMPK5RF.js";import{DescribeCategoryCommand}from"./chunk-RH27Z7OQ.js";import{DescribeCourtesyCommand}from"./chunk-WQLZ7KOI.js";import{DescribeDimmerCommand}from"./chunk-CE4OJPOX.js";import{DescribeDiscoveredDeviceCommand}from"./chunk-ZXQD5TQ2.js";import{DescribeIssueCommand}from"./chunk-COD3XSNA.js";import{DescribeLockCommand}from"./chunk-4BQ7IYOT.js";import{DescribeLockCredentialCommand}from"./chunk-KME3ASCG.js";import{DeleteTimeSheetTimeEntryCommand}from"./chunk-5I6OTUZT.js";import{DeleteUserCommand}from"./chunk-YG44DG3O.js";import{DeleteUserCredentialCommand}from"./chunk-4NEM4TVW.js";import{DeleteVendorCommand}from"./chunk-YJCO5CL6.js";import{DeleteWindowCoveringCommand}from"./chunk-E6ZATOY2.js";import{DescribeAlarmCommand}from"./chunk-UB4FJCLJ.js";import{DescribeAlarmConfigCommand}from"./chunk-RWU575NJ.js";import{DescribeAnnouncementCommand}from"./chunk-CTZ7HPDH.js";import{DeletePolicyCommand}from"./chunk-FZBVNODD.js";import{DeleteReservationCommand}from"./chunk-ZGK2NWSZ.js";import{DeleteRoomCommand}from"./chunk-2SSHDGFV.js";import{DeleteSpaceCommand}from"./chunk-STDRES7P.js";import{DeleteSwitchCommand}from"./chunk-PDVENKAI.js";import{DeleteThermostatCommand}from"./chunk-PAHQNLC3.js";import{DeleteTicketCommand}from"./chunk-N26JGTOV.js";import{DeleteTimeSheetCommand}from"./chunk-IKWFKQ2K.js";import{DeleteCategoryCommand}from"./chunk-5WWDM4BZ.js";import{DeleteCourtesyCommand}from"./chunk-I7N6XIMJ.js";import{DeleteDimmerCommand}from"./chunk-YRY7NOFW.js";import{DeleteDiscoveredDeviceCommand}from"./chunk-BN6UINQI.js";import{DeleteIssueCommand}from"./chunk-4T272LI5.js";import{DeleteLockCommand}from"./chunk-YEKLOK7W.js";import{DeleteMediaFileCommand}from"./chunk-I27DM4RO.js";import{DeleteMediaSourceCommand}from"./chunk-OHZQQWIV.js";import{CreateTimeSheetTimeEntryCommand}from"./chunk-XZQXRE2R.js";import{CreateUserCommand}from"./chunk-ZIYJ5Y74.js";import{CreateUserMobileKeyCommand}from"./chunk-OPSRD3NF.js";import{CreateVendorCommand}from"./chunk-X7UIEDPE.js";import{CreateWindowCoveringCommand}from"./chunk-B3RIHHSF.js";import{DeleteAlarmCommand}from"./chunk-NXITMBK3.js";import{DeleteAnnouncementCommand}from"./chunk-UT3YS3XU.js";import{DeleteCameraCommand}from"./chunk-YPVY6EM7.js";import{CreateRoomInSpaceCommand}from"./chunk-PIW2MN25.js";import{CreateSceneCommand}from"./chunk-W44PAKC3.js";import{CreateSpaceCommand}from"./chunk-SROVTFMO.js";import{CreateSwitchCommand}from"./chunk-SIWOOOHF.js";import{CreateThermostatCommand}from"./chunk-J6EO7DSO.js";import{CreateTicketCommand}from"./chunk-2AMHSMZN.js";import{CreateTicketMessageCommand}from"./chunk-I3RLWAXS.js";import{CreateTimeSheetCommand}from"./chunk-Q5GHTYY6.js";import{CreateIssueCommand}from"./chunk-BWN6KN4I.js";import{CreateLockCommand}from"./chunk-ZE5EABEO.js";import{CreateMediaSourceCommand}from"./chunk-I7QLBZL2.js";import{CreateOrganizationCommand}from"./chunk-2QZDUSA7.js";import{CreatePolicyCommand}from"./chunk-SCQQH5UQ.js";import{CreatePropertyCommand}from"./chunk-4URLUK2U.js";import{CreateReservationCommand}from"./chunk-3OL3PAWO.js";import{CreateRoomCommand}from"./chunk-237YMVZL.js";import{CreateCateoryCommand}from"./chunk-3DSJVR45.js";import{CreateCourtesyCommand}from"./chunk-RSV4JD6D.js";import{CreateDefaultScenesCommand}from"./chunk-EVPXA6S4.js";import{CreateDimmerCommand}from"./chunk-TIFYPMPJ.js";import{CreateDiscoveredDeviceCommand}from"./chunk-6K3TJ7XA.js";import{CreateDiscoveredDeviceAssociationCommand}from"./chunk-VHWTVR4D.js";import{CreateDiscoveredDeviceAssociationMapCommand}from"./chunk-JRFJSOAA.js";import{CreateImageUploadEndpointCommand}from"./chunk-VIRSNCWE.js";import{BatchNotifyPreArrivalCommand}from"./chunk-K5NO73DO.js";import{BulkUpdateIssueCommand}from"./chunk-PMY7V2U6.js";import{CheckInReservationCommand}from"./chunk-J4ULPDQA.js";import{CheckOutReservationCommand}from"./chunk-2LCRUNBR.js";import{CheckVerificationCodeCommand}from"./chunk-542PDBXY.js";import{CreateAlarmCommand}from"./chunk-AXSARJUC.js";import{CreateAnnouncementCommand}from"./chunk-ETLZXSV3.js";import{CreateCameraCommand}from"./chunk-XRG3G7ND.js";import{AssignSpaceToReservationCommand}from"./chunk-AGZLIWRW.js";import{AutoAssociateDiscoveredDevicesCommand}from"./chunk-Q77D4R4M.js";import{AutoCloseTicketsCommand}from"./chunk-WYFBGKEB.js";import{BatchNotifyCheckInCommand}from"./chunk-KZTQ6FUZ.js";import{BatchNotifyCheckOutCommand}from"./chunk-YOMNS7X5.js";import{BatchNotifyMissedCheckOutCommand}from"./chunk-ON2DZOB4.js";import{RefreshTokenCommand}from"./chunk-B5LW4OUP.js";import{__export}from"./chunk-FU4IK6I4.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,CreateCameraCommand:()=>CreateCameraCommand,CreateCateoryCommand:()=>CreateCateoryCommand,CreateCourtesyCommand:()=>CreateCourtesyCommand,CreateDefaultScenesCommand:()=>CreateDefaultScenesCommand,CreateDimmerCommand:()=>CreateDimmerCommand,CreateDiscoveredDeviceAssociationCommand:()=>CreateDiscoveredDeviceAssociationCommand,CreateDiscoveredDeviceAssociationMapCommand:()=>CreateDiscoveredDeviceAssociationMapCommand,CreateDiscoveredDeviceCommand:()=>CreateDiscoveredDeviceCommand,CreateImageUploadEndpointCommand:()=>CreateImageUploadEndpointCommand,CreateIssueCommand:()=>CreateIssueCommand,CreateLockCommand:()=>CreateLockCommand,CreateMediaSourceCommand:()=>CreateMediaSourceCommand,CreateOrganizationCommand:()=>CreateOrganizationCommand,CreatePolicyCommand:()=>CreatePolicyCommand,CreatePropertyCommand:()=>CreatePropertyCommand,CreateReservationCommand:()=>CreateReservationCommand,CreateRoomCommand:()=>CreateRoomCommand,CreateRoomInSpaceCommand:()=>CreateRoomInSpaceCommand,CreateSceneCommand:()=>CreateSceneCommand,CreateSpaceCommand:()=>CreateSpaceCommand,CreateSwitchCommand:()=>CreateSwitchCommand,CreateThermostatCommand:()=>CreateThermostatCommand,CreateTicketCommand:()=>CreateTicketCommand,CreateTicketMessageCommand:()=>CreateTicketMessageCommand,CreateTimeSheetCommand:()=>CreateTimeSheetCommand,CreateTimeSheetTimeEntryCommand:()=>CreateTimeSheetTimeEntryCommand,CreateUserCommand:()=>CreateUserCommand,CreateUserMobileKeyCommand:()=>CreateUserMobileKeyCommand,CreateVendorCommand:()=>CreateVendorCommand,CreateWindowCoveringCommand:()=>CreateWindowCoveringCommand,DeleteAlarmCommand:()=>DeleteAlarmCommand,DeleteAnnouncementCommand:()=>DeleteAnnouncementCommand,DeleteCameraCommand:()=>DeleteCameraCommand,DeleteCategoryCommand:()=>DeleteCategoryCommand,DeleteCourtesyCommand:()=>DeleteCourtesyCommand,DeleteDimmerCommand:()=>DeleteDimmerCommand,DeleteDiscoveredDeviceCommand:()=>DeleteDiscoveredDeviceCommand,DeleteIssueCommand:()=>DeleteIssueCommand,DeleteLockCommand:()=>DeleteLockCommand,DeleteMediaFileCommand:()=>DeleteMediaFileCommand,DeleteMediaSourceCommand:()=>DeleteMediaSourceCommand,DeletePolicyCommand:()=>DeletePolicyCommand,DeleteReservationCommand:()=>DeleteReservationCommand,DeleteRoomCommand:()=>DeleteRoomCommand,DeleteSpaceCommand:()=>DeleteSpaceCommand,DeleteSwitchCommand:()=>DeleteSwitchCommand,DeleteThermostatCommand:()=>DeleteThermostatCommand,DeleteTicketCommand:()=>DeleteTicketCommand,DeleteTimeSheetCommand:()=>DeleteTimeSheetCommand,DeleteTimeSheetTimeEntryCommand:()=>DeleteTimeSheetTimeEntryCommand,DeleteUserCommand:()=>DeleteUserCommand,DeleteUserCredentialCommand:()=>DeleteUserCredentialCommand,DeleteVendorCommand:()=>DeleteVendorCommand,DeleteWindowCoveringCommand:()=>DeleteWindowCoveringCommand,DescribeAlarmCommand:()=>DescribeAlarmCommand,DescribeAlarmConfigCommand:()=>DescribeAlarmConfigCommand,DescribeAnnouncementCommand:()=>DescribeAnnouncementCommand,DescribeCameraCommand:()=>DescribeCameraCommand,DescribeCategoryCommand:()=>DescribeCategoryCommand,DescribeCourtesyCommand:()=>DescribeCourtesyCommand,DescribeDimmerCommand:()=>DescribeDimmerCommand,DescribeDiscoveredDeviceCommand:()=>DescribeDiscoveredDeviceCommand,DescribeIssueCommand:()=>DescribeIssueCommand,DescribeLockCommand:()=>DescribeLockCommand,DescribeLockCredentialCommand:()=>DescribeLockCredentialCommand,DescribeMediaSourceCommand:()=>DescribeMediaSourceCommand,DescribeMyAuthCommand:()=>DescribeMyAuthCommand,DescribeMyMobileKeyAppCommand:()=>DescribeMyMobileKeyAppCommand,DescribeMyOrganizationCommand:()=>DescribeMyOrganizationCommand,DescribeMyPasskeyRegistrationsCommand:()=>DescribeMyPasskeyRegistrationsCommand,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,DescribeSpaceCommand:()=>DescribeSpaceCommand,DescribeSwitchCommand:()=>DescribeSwitchCommand,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,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,ListOrdersCommand:()=>ListOrdersCommand,ListOrganizationsCommand:()=>ListOrganizationsCommand,ListPoliciesCommand:()=>ListPoliciesCommand,ListProductsCommand:()=>ListProductsCommand,ListPropertiesCommand:()=>ListPropertiesCommand,ListReservationsCommand:()=>ListReservationsCommand,ListRoomsCommand:()=>ListRoomsCommand,ListRoomsInSpaceCommand:()=>ListRoomsInSpaceCommand,ListScenesCommand:()=>ListScenesCommand,ListSpacesCommand:()=>ListSpacesCommand,ListSwitchesCommand:()=>ListSwitchesCommand,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,OCRDocumentCommand:()=>OCRDocumentCommand,PurchaseReservationEarlyCheckInProductsCommand:()=>PurchaseReservationEarlyCheckInProductsCommand,PurchaseReservationLateCheckOutProductsCommand:()=>PurchaseReservationLateCheckOutProductsCommand,PurchaseReservationPetProductsCommand:()=>PurchaseReservationPetProductsCommand,PurchaseReservationPromosCommand:()=>PurchaseReservationPromosCommand,PurchaseReservationRoomUpgradesCommand:()=>PurchaseReservationRoomUpgradesCommand,RefreshTokenCommand:()=>RefreshTokenCommand,RequestLoginTokenCommand:()=>RequestLoginTokenCommand,SendCheckInSMSCommand:()=>SendCheckInSMSCommand,SendCheckOutSMSCommand:()=>SendCheckOutSMSCommand,SendPreArrivalEmailCommand:()=>SendPreArrivalEmailCommand,SendPreArrivalSMSCommand:()=>SendPreArrivalSMSCommand,SendRoomControlSMSCommand:()=>SendRoomControlSMSCommand,SendVerificationCodeCommand:()=>SendVerificationCodeCommand,SetAlarmCommand:()=>SetAlarmCommand,SetCameraCommand:()=>SetCameraCommand,SetCourtesyCommand:()=>SetCourtesyCommand,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,UpdateCameraCommand:()=>UpdateCameraCommand,UpdateCategoryCommand:()=>UpdateCategoryCommand,UpdateCourtesyCommand:()=>UpdateCourtesyCommand,UpdateDimmerCommand:()=>UpdateDimmerCommand,UpdateDiscoveredDeviceCommand:()=>UpdateDiscoveredDeviceCommand,UpdateIssueCommand:()=>UpdateIssueCommand,UpdateLockCommand:()=>UpdateLockCommand,UpdateMediaSourceCommand:()=>UpdateMediaSourceCommand,UpdateMessageReadStatusCommand:()=>UpdateMessageReadStatusCommand,UpdateOrganizationCommand:()=>UpdateOrganizationCommand,UpdatePolicyCommand:()=>UpdatePolicyCommand,UpdatePropertyCommand:()=>UpdatePropertyCommand,UpdatePropertySettingsCommand:()=>UpdatePropertySettingsCommand,UpdateReservationCommand:()=>UpdateReservationCommand,UpdateReservationExpectedArrivalTimeCommand:()=>UpdateReservationExpectedArrivalTimeCommand,UpdateRoomCommand:()=>UpdateRoomCommand,UpdateSelfCommand:()=>UpdateSelfCommand,UpdateSpaceCommand:()=>UpdateSpaceCommand,UpdateSwitchCommand:()=>UpdateSwitchCommand,UpdateThermostatCommand:()=>UpdateThermostatCommand,UpdateTicketCommand:()=>UpdateTicketCommand,UpdateTicketStatusCommand:()=>UpdateTicketStatusCommand,UpdateTimeSheetCommand:()=>UpdateTimeSheetCommand,UpdateTimeSheetTimeEntryCommand:()=>UpdateTimeSheetTimeEntryCommand,UpdateUserCommand:()=>UpdateUserCommand,UpdateVendorCommand:()=>UpdateVendorCommand,UpdateWindowCoveringCommand:()=>UpdateWindowCoveringCommand,UploadImageCommand:()=>UploadImageCommand,UpsertDiscoveredDeviceCommand:()=>UpsertDiscoveredDeviceCommand});export{useCases_exports};//# sourceMappingURL=chunk-UQYKUSSV.js.map
1
+ import{UpdateVendorCommand}from"./chunk-6YKUEARE.js";import{UpdateWindowCoveringCommand}from"./chunk-63QPZF42.js";import{UploadImageCommand}from"./chunk-YVSFNS7W.js";import{UpsertDiscoveredDeviceCommand}from"./chunk-TSM7RV4C.js";import{UpdateSpaceCommand}from"./chunk-MM3P3DLE.js";import{UpdateSwitchCommand}from"./chunk-6YGJ742U.js";import{UpdateThermostatCommand}from"./chunk-ZOXQUHKD.js";import{UpdateTicketCommand}from"./chunk-ONW4NQZV.js";import{UpdateTicketStatusCommand}from"./chunk-QH6FJYNQ.js";import{UpdateTimeSheetCommand}from"./chunk-XY6YDEDK.js";import{UpdateTimeSheetTimeEntryCommand}from"./chunk-VSGUK7B3.js";import{UpdateUserCommand}from"./chunk-UJFF6CHB.js";import{UpdateOrganizationCommand}from"./chunk-ZCMRX4ZD.js";import{UpdatePolicyCommand}from"./chunk-CSSDH2AG.js";import{UpdatePropertyCommand}from"./chunk-BW6PA6CS.js";import{UpdatePropertySettingsCommand}from"./chunk-T6IQ3TXR.js";import{UpdateReservationCommand}from"./chunk-ZBUPQNMF.js";import{UpdateReservationExpectedArrivalTimeCommand}from"./chunk-5X3OITWC.js";import{UpdateRoomCommand}from"./chunk-EKEX5C2J.js";import{UpdateSelfCommand}from"./chunk-IICVVAPM.js";import{UpdateCategoryCommand}from"./chunk-UKQ7UXWV.js";import{UpdateCourtesyCommand}from"./chunk-VJVD6GMD.js";import{UpdateDimmerCommand}from"./chunk-4WY3R6YR.js";import{UpdateDiscoveredDeviceCommand}from"./chunk-SMNF4VXK.js";import{UpdateIssueCommand}from"./chunk-XHYKBZHJ.js";import{UpdateLockCommand}from"./chunk-7AGFDTHO.js";import{UpdateMediaSourceCommand}from"./chunk-3ZAV5BU4.js";import{UpdateMessageReadStatusCommand}from"./chunk-ZORL4RJ5.js";import{SetWindowCoveringCommand}from"./chunk-7ZVQU75R.js";import{StartRegisterPasskeyCommand}from"./chunk-QVNE3UQV.js";import{StartSOSCommand}from"./chunk-AZEMZHOK.js";import{StopSOSCommand}from"./chunk-YEEA6XQJ.js";import{TipUserCommand}from"./chunk-VPY34NLH.js";import{UpdateAlarmCommand}from"./chunk-KP4IR4DU.js";import{UpdateAnnouncementCommand}from"./chunk-7VAKWZQY.js";import{UpdateCameraCommand}from"./chunk-HYHV4S67.js";import{SetDimmerCommand}from"./chunk-IY3TTQVV.js";import{SetLockCommand}from"./chunk-POWGKBP6.js";import{SetMediaSourceCommand}from"./chunk-WNOPU7JI.js";import{SetRoomSceneCommand}from"./chunk-2O3EILRC.js";import{SetSceneCommand}from"./chunk-36VAKMP6.js";import{SetSpaceSceneCommand}from"./chunk-DJICSQKH.js";import{SetSwitchCommand}from"./chunk-4ET4Q3CU.js";import{SetThermostatCommand}from"./chunk-ECYOCNF2.js";import{SendCheckOutSMSCommand}from"./chunk-2UR3VRCB.js";import{SendPreArrivalEmailCommand}from"./chunk-I4CVWXA5.js";import{SendPreArrivalSMSCommand}from"./chunk-6NCAOMTN.js";import{SendRoomControlSMSCommand}from"./chunk-AWAUQJUZ.js";import{SendVerificationCodeCommand}from"./chunk-IT6KYSMD.js";import{SetAlarmCommand}from"./chunk-R7UG6N2F.js";import{SetCameraCommand}from"./chunk-7TXCVHDG.js";import{SetCourtesyCommand}from"./chunk-QIQE2F2L.js";import{PurchaseReservationEarlyCheckInProductsCommand}from"./chunk-ZON7ZZHH.js";import{PurchaseReservationLateCheckOutProductsCommand}from"./chunk-WAQ5NCNM.js";import{PurchaseReservationPetProductsCommand}from"./chunk-TEVTENBO.js";import{PurchaseReservationPromosCommand}from"./chunk-3WMI6PXN.js";import{PurchaseReservationRoomUpgradesCommand}from"./chunk-VZKF2NC5.js";import{RequestLoginTokenCommand}from"./chunk-DCKXPUJB.js";import{SendCheckInSMSCommand}from"./chunk-HJMKEONT.js";import{ListVendorsCommand}from"./chunk-ZOSX2YYS.js";import{ListWindowCoveringsCommand}from"./chunk-55CTIIDX.js";import{LoginFinishCommand}from"./chunk-WDQ3H5O5.js";import{LoginStartCommand}from"./chunk-GBR25DLP.js";import{LogoutSelfCommand}from"./chunk-3Q4Q2U5X.js";import{LogoutUserCommand}from"./chunk-Y5PIQEJS.js";import{MatchUserIdentificationCommand}from"./chunk-7YQOZNWA.js";import{OCRDocumentCommand}from"./chunk-JXRSJFP6.js";import{ListTicketLocationsCommand}from"./chunk-6FADZM2A.js";import{ListTicketsCommand}from"./chunk-T2MTJS45.js";import{ListTimeSheetsCommand}from"./chunk-H4NNYCWQ.js";import{ListUserMobileKeysCommand}from"./chunk-NXDWKXBA.js";import{ListUserOrdersCommand}from"./chunk-OJADGIFT.js";import{ListUserReservationsCommand}from"./chunk-IQJJ2LTZ.js";import{ListUserSpacesCommand}from"./chunk-3P4OPV6L.js";import{ListUsersCommand}from"./chunk-2SNGXZ2E.js";import{ListReservationsCommand}from"./chunk-YG5LFCBW.js";import{ListRoomsCommand}from"./chunk-5I6PZ7TY.js";import{ListRoomsInSpaceCommand}from"./chunk-E7R7NG4K.js";import{ListScenesCommand}from"./chunk-TL4FNBF3.js";import{ListSpacesCommand}from"./chunk-JRANTXTM.js";import{ListSwitchesCommand}from"./chunk-YWDMAUBF.js";import{ListTeamCommand}from"./chunk-NT5S76YE.js";import{ListThermostatsCommand}from"./chunk-64QLBZMF.js";import{ListMySpacesCommand}from"./chunk-UFPVZ376.js";import{ListMyTicketsCommand}from"./chunk-3EZHT3ZY.js";import{ListMyTimeSheetsCommand}from"./chunk-F3AZDMLX.js";import{ListOrdersCommand}from"./chunk-V6UG5J6N.js";import{ListOrganizationsCommand}from"./chunk-2AIOZ5EC.js";import{ListPoliciesCommand}from"./chunk-6GWSD2Z5.js";import{ListProductsCommand}from"./chunk-5WTHUDDF.js";import{ListPropertiesCommand}from"./chunk-2HZZMLXX.js";import{ListDimmersCommand}from"./chunk-NMUBE7J3.js";import{ListDiscoveredDevicesCommand}from"./chunk-IPSBKWNM.js";import{ListIssuesCommand}from"./chunk-YJMSTPLE.js";import{ListLocksCommand}from"./chunk-7XH2CELY.js";import{ListMediaSourcesCommand}from"./chunk-26BFSDFP.js";import{ListMyOrdersCommand}from"./chunk-BZC2ANPR.js";import{ListMyPropertiesCommand}from"./chunk-O7324P5H.js";import{ListMyReservationsCommand}from"./chunk-4TKVQPDP.js";import{LeaveTicketCommand}from"./chunk-QHGNN5KX.js";import{ListAlarmsCommand}from"./chunk-LPSP7N3D.js";import{ListAnnouncementsCommand}from"./chunk-HTFSZ7GO.js";import{ListCameraStreamPreviewsCommand}from"./chunk-O4GGIUR2.js";import{ListCamerasCommand}from"./chunk-TMP7GIQ3.js";import{ListCategoriesCommand}from"./chunk-RN3LMRDC.js";import{ListCourtesyCommand}from"./chunk-TEBFKPCU.js";import{DescribeTimeSheetCommand}from"./chunk-EEKOJ5OB.js";import{DescribeTimeSheetStatsCommand}from"./chunk-IKXVUSHC.js";import{DescribeUserCommand}from"./chunk-QCW5O6HY.js";import{DescribeVendorCommand}from"./chunk-SQJPROWY.js";import{DescribeWindowCoveringCommand}from"./chunk-WCHAZFO3.js";import{DiscoverReservationsCommand}from"./chunk-7UFPLOOF.js";import{EmailUserAccountSetupCommand}from"./chunk-6ZRW4UB5.js";import{FinishRegisterPasskeyCommand}from"./chunk-5OGJXO5X.js";import{DescribeSOSCommand}from"./chunk-DSPCTP5O.js";import{DescribeSelfCommand}from"./chunk-2N7E3CW7.js";import{DescribeSpaceCommand}from"./chunk-Y3Z6NXOP.js";import{DescribeSwitchCommand}from"./chunk-FLOQQ3PE.js";import{DescribeThermostatCommand}from"./chunk-QVOEEHLA.js";import{DescribeTicketCommand}from"./chunk-2XTM4C6Z.js";import{DescribeTicketFiltersCommand}from"./chunk-YZJFF2BB.js";import{DescribeTicketStatsCommand}from"./chunk-QLHQHC66.js";import{DescribePropertyCommand}from"./chunk-PTB5BEAA.js";import{DescribeReservationCommand}from"./chunk-YLMFN5Y7.js";import{DescribeReservationEarlyCheckInProductsCommand}from"./chunk-2MGHETGC.js";import{DescribeReservationLateCheckOutProductsCommand}from"./chunk-M26QWJ6Z.js";import{DescribeReservationPetProductsCommand}from"./chunk-AJZHQGZW.js";import{DescribeReservationPromosCommand}from"./chunk-IR5S4BED.js";import{DescribeReservationRoomUpgradesCommand}from"./chunk-PRFEORAB.js";import{DescribeRoomCommand}from"./chunk-FT75GNZ4.js";import{DescribeMediaSourceCommand}from"./chunk-XN3DHY4M.js";import{DescribeMyAuthCommand}from"./chunk-KLUBFEWA.js";import{DescribeMyMobileKeyAppCommand}from"./chunk-5TXUCIAH.js";import{DescribeMyOrganizationCommand}from"./chunk-WVZESDGJ.js";import{DescribeMyPasskeyRegistrationsCommand}from"./chunk-WFXHLR2Y.js";import{DescribeOrganizationCommand}from"./chunk-S773PWX2.js";import{DescribePolicyCommand}from"./chunk-XG7VV3BG.js";import{DescribeProductCommand}from"./chunk-ABCJIODU.js";import{DescribeCameraCommand}from"./chunk-AZMPK5RF.js";import{DescribeCategoryCommand}from"./chunk-RH27Z7OQ.js";import{DescribeCourtesyCommand}from"./chunk-WQLZ7KOI.js";import{DescribeDimmerCommand}from"./chunk-CE4OJPOX.js";import{DescribeDiscoveredDeviceCommand}from"./chunk-ZXQD5TQ2.js";import{DescribeIssueCommand}from"./chunk-COD3XSNA.js";import{DescribeLockCommand}from"./chunk-4BQ7IYOT.js";import{DescribeLockCredentialCommand}from"./chunk-KME3ASCG.js";import{DeleteTimeSheetTimeEntryCommand}from"./chunk-5I6OTUZT.js";import{DeleteUserCommand}from"./chunk-YG44DG3O.js";import{DeleteUserCredentialCommand}from"./chunk-4NEM4TVW.js";import{DeleteVendorCommand}from"./chunk-YJCO5CL6.js";import{DeleteWindowCoveringCommand}from"./chunk-E6ZATOY2.js";import{DescribeAlarmCommand}from"./chunk-UB4FJCLJ.js";import{DescribeAlarmConfigCommand}from"./chunk-RWU575NJ.js";import{DescribeAnnouncementCommand}from"./chunk-CTZ7HPDH.js";import{DeletePolicyCommand}from"./chunk-FZBVNODD.js";import{DeleteReservationCommand}from"./chunk-ZGK2NWSZ.js";import{DeleteRoomCommand}from"./chunk-2SSHDGFV.js";import{DeleteSpaceCommand}from"./chunk-STDRES7P.js";import{DeleteSwitchCommand}from"./chunk-PDVENKAI.js";import{DeleteThermostatCommand}from"./chunk-PAHQNLC3.js";import{DeleteTicketCommand}from"./chunk-N26JGTOV.js";import{DeleteTimeSheetCommand}from"./chunk-IKWFKQ2K.js";import{DeleteCategoryCommand}from"./chunk-5WWDM4BZ.js";import{DeleteCourtesyCommand}from"./chunk-I7N6XIMJ.js";import{DeleteDimmerCommand}from"./chunk-YRY7NOFW.js";import{DeleteDiscoveredDeviceCommand}from"./chunk-BN6UINQI.js";import{DeleteIssueCommand}from"./chunk-4T272LI5.js";import{DeleteLockCommand}from"./chunk-YEKLOK7W.js";import{DeleteMediaFileCommand}from"./chunk-I27DM4RO.js";import{DeleteMediaSourceCommand}from"./chunk-OHZQQWIV.js";import{CreateTimeSheetTimeEntryCommand}from"./chunk-XZQXRE2R.js";import{CreateUserCommand}from"./chunk-ZIYJ5Y74.js";import{CreateUserMobileKeyCommand}from"./chunk-OPSRD3NF.js";import{CreateVendorCommand}from"./chunk-X7UIEDPE.js";import{CreateWindowCoveringCommand}from"./chunk-B3RIHHSF.js";import{DeleteAlarmCommand}from"./chunk-NXITMBK3.js";import{DeleteAnnouncementCommand}from"./chunk-UT3YS3XU.js";import{DeleteCameraCommand}from"./chunk-YPVY6EM7.js";import{CreateRoomInSpaceCommand}from"./chunk-PIW2MN25.js";import{CreateSceneCommand}from"./chunk-W44PAKC3.js";import{CreateSpaceCommand}from"./chunk-SROVTFMO.js";import{CreateSwitchCommand}from"./chunk-SIWOOOHF.js";import{CreateThermostatCommand}from"./chunk-J6EO7DSO.js";import{CreateTicketCommand}from"./chunk-2AMHSMZN.js";import{CreateTicketMessageCommand}from"./chunk-I3RLWAXS.js";import{CreateTimeSheetCommand}from"./chunk-Q5GHTYY6.js";import{CreateIssueCommand}from"./chunk-BWN6KN4I.js";import{CreateLockCommand}from"./chunk-ZE5EABEO.js";import{CreateMediaSourceCommand}from"./chunk-I7QLBZL2.js";import{CreateOrganizationCommand}from"./chunk-2QZDUSA7.js";import{CreatePolicyCommand}from"./chunk-SCQQH5UQ.js";import{CreatePropertyCommand}from"./chunk-4URLUK2U.js";import{CreateReservationCommand}from"./chunk-3OL3PAWO.js";import{CreateRoomCommand}from"./chunk-237YMVZL.js";import{CreateCateoryCommand}from"./chunk-3DSJVR45.js";import{CreateCourtesyCommand}from"./chunk-RSV4JD6D.js";import{CreateDefaultScenesCommand}from"./chunk-EVPXA6S4.js";import{CreateDimmerCommand}from"./chunk-TIFYPMPJ.js";import{CreateDiscoveredDeviceCommand}from"./chunk-6K3TJ7XA.js";import{CreateDiscoveredDeviceAssociationCommand}from"./chunk-VHWTVR4D.js";import{CreateDiscoveredDeviceAssociationMapCommand}from"./chunk-JRFJSOAA.js";import{CreateImageUploadEndpointCommand}from"./chunk-VIRSNCWE.js";import{BatchNotifyPreArrivalCommand}from"./chunk-K5NO73DO.js";import{BulkUpdateIssueCommand}from"./chunk-PMY7V2U6.js";import{CheckInReservationCommand}from"./chunk-J4ULPDQA.js";import{CheckOutReservationCommand}from"./chunk-2LCRUNBR.js";import{CheckVerificationCodeCommand}from"./chunk-542PDBXY.js";import{CreateAlarmCommand}from"./chunk-AXSARJUC.js";import{CreateAnnouncementCommand}from"./chunk-ETLZXSV3.js";import{CreateCameraCommand}from"./chunk-XRG3G7ND.js";import{AssignSpaceToReservationCommand}from"./chunk-AGZLIWRW.js";import{AutoAssociateDiscoveredDevicesCommand}from"./chunk-Q77D4R4M.js";import{AutoCloseTicketsCommand}from"./chunk-WYFBGKEB.js";import{BatchNotifyCheckInCommand}from"./chunk-KZTQ6FUZ.js";import{BatchNotifyCheckOutCommand}from"./chunk-YOMNS7X5.js";import{BatchNotifyMissedCheckOutCommand}from"./chunk-ON2DZOB4.js";import{RefreshTokenCommand}from"./chunk-B5LW4OUP.js";import{__export}from"./chunk-FU4IK6I4.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,CreateCameraCommand:()=>CreateCameraCommand,CreateCateoryCommand:()=>CreateCateoryCommand,CreateCourtesyCommand:()=>CreateCourtesyCommand,CreateDefaultScenesCommand:()=>CreateDefaultScenesCommand,CreateDimmerCommand:()=>CreateDimmerCommand,CreateDiscoveredDeviceAssociationCommand:()=>CreateDiscoveredDeviceAssociationCommand,CreateDiscoveredDeviceAssociationMapCommand:()=>CreateDiscoveredDeviceAssociationMapCommand,CreateDiscoveredDeviceCommand:()=>CreateDiscoveredDeviceCommand,CreateImageUploadEndpointCommand:()=>CreateImageUploadEndpointCommand,CreateIssueCommand:()=>CreateIssueCommand,CreateLockCommand:()=>CreateLockCommand,CreateMediaSourceCommand:()=>CreateMediaSourceCommand,CreateOrganizationCommand:()=>CreateOrganizationCommand,CreatePolicyCommand:()=>CreatePolicyCommand,CreatePropertyCommand:()=>CreatePropertyCommand,CreateReservationCommand:()=>CreateReservationCommand,CreateRoomCommand:()=>CreateRoomCommand,CreateRoomInSpaceCommand:()=>CreateRoomInSpaceCommand,CreateSceneCommand:()=>CreateSceneCommand,CreateSpaceCommand:()=>CreateSpaceCommand,CreateSwitchCommand:()=>CreateSwitchCommand,CreateThermostatCommand:()=>CreateThermostatCommand,CreateTicketCommand:()=>CreateTicketCommand,CreateTicketMessageCommand:()=>CreateTicketMessageCommand,CreateTimeSheetCommand:()=>CreateTimeSheetCommand,CreateTimeSheetTimeEntryCommand:()=>CreateTimeSheetTimeEntryCommand,CreateUserCommand:()=>CreateUserCommand,CreateUserMobileKeyCommand:()=>CreateUserMobileKeyCommand,CreateVendorCommand:()=>CreateVendorCommand,CreateWindowCoveringCommand:()=>CreateWindowCoveringCommand,DeleteAlarmCommand:()=>DeleteAlarmCommand,DeleteAnnouncementCommand:()=>DeleteAnnouncementCommand,DeleteCameraCommand:()=>DeleteCameraCommand,DeleteCategoryCommand:()=>DeleteCategoryCommand,DeleteCourtesyCommand:()=>DeleteCourtesyCommand,DeleteDimmerCommand:()=>DeleteDimmerCommand,DeleteDiscoveredDeviceCommand:()=>DeleteDiscoveredDeviceCommand,DeleteIssueCommand:()=>DeleteIssueCommand,DeleteLockCommand:()=>DeleteLockCommand,DeleteMediaFileCommand:()=>DeleteMediaFileCommand,DeleteMediaSourceCommand:()=>DeleteMediaSourceCommand,DeletePolicyCommand:()=>DeletePolicyCommand,DeleteReservationCommand:()=>DeleteReservationCommand,DeleteRoomCommand:()=>DeleteRoomCommand,DeleteSpaceCommand:()=>DeleteSpaceCommand,DeleteSwitchCommand:()=>DeleteSwitchCommand,DeleteThermostatCommand:()=>DeleteThermostatCommand,DeleteTicketCommand:()=>DeleteTicketCommand,DeleteTimeSheetCommand:()=>DeleteTimeSheetCommand,DeleteTimeSheetTimeEntryCommand:()=>DeleteTimeSheetTimeEntryCommand,DeleteUserCommand:()=>DeleteUserCommand,DeleteUserCredentialCommand:()=>DeleteUserCredentialCommand,DeleteVendorCommand:()=>DeleteVendorCommand,DeleteWindowCoveringCommand:()=>DeleteWindowCoveringCommand,DescribeAlarmCommand:()=>DescribeAlarmCommand,DescribeAlarmConfigCommand:()=>DescribeAlarmConfigCommand,DescribeAnnouncementCommand:()=>DescribeAnnouncementCommand,DescribeCameraCommand:()=>DescribeCameraCommand,DescribeCategoryCommand:()=>DescribeCategoryCommand,DescribeCourtesyCommand:()=>DescribeCourtesyCommand,DescribeDimmerCommand:()=>DescribeDimmerCommand,DescribeDiscoveredDeviceCommand:()=>DescribeDiscoveredDeviceCommand,DescribeIssueCommand:()=>DescribeIssueCommand,DescribeLockCommand:()=>DescribeLockCommand,DescribeLockCredentialCommand:()=>DescribeLockCredentialCommand,DescribeMediaSourceCommand:()=>DescribeMediaSourceCommand,DescribeMyAuthCommand:()=>DescribeMyAuthCommand,DescribeMyMobileKeyAppCommand:()=>DescribeMyMobileKeyAppCommand,DescribeMyOrganizationCommand:()=>DescribeMyOrganizationCommand,DescribeMyPasskeyRegistrationsCommand:()=>DescribeMyPasskeyRegistrationsCommand,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,DescribeSpaceCommand:()=>DescribeSpaceCommand,DescribeSwitchCommand:()=>DescribeSwitchCommand,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,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,ListOrdersCommand:()=>ListOrdersCommand,ListOrganizationsCommand:()=>ListOrganizationsCommand,ListPoliciesCommand:()=>ListPoliciesCommand,ListProductsCommand:()=>ListProductsCommand,ListPropertiesCommand:()=>ListPropertiesCommand,ListReservationsCommand:()=>ListReservationsCommand,ListRoomsCommand:()=>ListRoomsCommand,ListRoomsInSpaceCommand:()=>ListRoomsInSpaceCommand,ListScenesCommand:()=>ListScenesCommand,ListSpacesCommand:()=>ListSpacesCommand,ListSwitchesCommand:()=>ListSwitchesCommand,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,OCRDocumentCommand:()=>OCRDocumentCommand,PurchaseReservationEarlyCheckInProductsCommand:()=>PurchaseReservationEarlyCheckInProductsCommand,PurchaseReservationLateCheckOutProductsCommand:()=>PurchaseReservationLateCheckOutProductsCommand,PurchaseReservationPetProductsCommand:()=>PurchaseReservationPetProductsCommand,PurchaseReservationPromosCommand:()=>PurchaseReservationPromosCommand,PurchaseReservationRoomUpgradesCommand:()=>PurchaseReservationRoomUpgradesCommand,RefreshTokenCommand:()=>RefreshTokenCommand,RequestLoginTokenCommand:()=>RequestLoginTokenCommand,SendCheckInSMSCommand:()=>SendCheckInSMSCommand,SendCheckOutSMSCommand:()=>SendCheckOutSMSCommand,SendPreArrivalEmailCommand:()=>SendPreArrivalEmailCommand,SendPreArrivalSMSCommand:()=>SendPreArrivalSMSCommand,SendRoomControlSMSCommand:()=>SendRoomControlSMSCommand,SendVerificationCodeCommand:()=>SendVerificationCodeCommand,SetAlarmCommand:()=>SetAlarmCommand,SetCameraCommand:()=>SetCameraCommand,SetCourtesyCommand:()=>SetCourtesyCommand,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,UpdateCameraCommand:()=>UpdateCameraCommand,UpdateCategoryCommand:()=>UpdateCategoryCommand,UpdateCourtesyCommand:()=>UpdateCourtesyCommand,UpdateDimmerCommand:()=>UpdateDimmerCommand,UpdateDiscoveredDeviceCommand:()=>UpdateDiscoveredDeviceCommand,UpdateIssueCommand:()=>UpdateIssueCommand,UpdateLockCommand:()=>UpdateLockCommand,UpdateMediaSourceCommand:()=>UpdateMediaSourceCommand,UpdateMessageReadStatusCommand:()=>UpdateMessageReadStatusCommand,UpdateOrganizationCommand:()=>UpdateOrganizationCommand,UpdatePolicyCommand:()=>UpdatePolicyCommand,UpdatePropertyCommand:()=>UpdatePropertyCommand,UpdatePropertySettingsCommand:()=>UpdatePropertySettingsCommand,UpdateReservationCommand:()=>UpdateReservationCommand,UpdateReservationExpectedArrivalTimeCommand:()=>UpdateReservationExpectedArrivalTimeCommand,UpdateRoomCommand:()=>UpdateRoomCommand,UpdateSelfCommand:()=>UpdateSelfCommand,UpdateSpaceCommand:()=>UpdateSpaceCommand,UpdateSwitchCommand:()=>UpdateSwitchCommand,UpdateThermostatCommand:()=>UpdateThermostatCommand,UpdateTicketCommand:()=>UpdateTicketCommand,UpdateTicketStatusCommand:()=>UpdateTicketStatusCommand,UpdateTimeSheetCommand:()=>UpdateTimeSheetCommand,UpdateTimeSheetTimeEntryCommand:()=>UpdateTimeSheetTimeEntryCommand,UpdateUserCommand:()=>UpdateUserCommand,UpdateVendorCommand:()=>UpdateVendorCommand,UpdateWindowCoveringCommand:()=>UpdateWindowCoveringCommand,UploadImageCommand:()=>UploadImageCommand,UpsertDiscoveredDeviceCommand:()=>UpsertDiscoveredDeviceCommand});export{useCases_exports};//# sourceMappingURL=chunk-HTD5D72I.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-02-20T02:46:47.045Z\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 \"./createCamera\";\nexport * from \"./createCateory\";\nexport * from \"./createCourtesy\";\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 \"./createOrganization\";\nexport * from \"./createPolicy\";\nexport * from \"./createProperty\";\nexport * from \"./createReservation\";\nexport * from \"./createRoom\";\nexport * from \"./createRoomInSpace\";\nexport * from \"./createScene\";\nexport * from \"./createSpace\";\nexport * from \"./createSwitch\";\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 \"./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 \"./deletePolicy\";\nexport * from \"./deleteReservation\";\nexport * from \"./deleteRoom\";\nexport * from \"./deleteSpace\";\nexport * from \"./deleteSwitch\";\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 \"./describeCamera\";\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 \"./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 \"./describeSpace\";\nexport * from \"./describeSwitch\";\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 \"./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 \"./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 \"./listSpaces\";\nexport * from \"./listSwitches\";\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 \"./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 \"./sendPreArrivalEmail\";\nexport * from \"./sendPreArrivalSMS\";\nexport * from \"./sendRoomControlSMS\";\nexport * from \"./sendVerificationCode\";\nexport * from \"./setAlarm\";\nexport * from \"./setCamera\";\nexport * from \"./setCourtesy\";\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 \"./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 \"./updateOrganization\";\nexport * from \"./updatePolicy\";\nexport * from \"./updateProperty\";\nexport * from \"./updatePropertySettings\";\nexport * from \"./updateReservation\";\nexport * from \"./updateReservationExpectedArrivalTime\";\nexport * from \"./updateRoom\";\nexport * from \"./updateSelf\";\nexport * from \"./updateSpace\";\nexport * from \"./updateSwitch\";\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\";"],"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;","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-02-23T15:13:49.116Z\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 \"./createCamera\";\nexport * from \"./createCateory\";\nexport * from \"./createCourtesy\";\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 \"./createOrganization\";\nexport * from \"./createPolicy\";\nexport * from \"./createProperty\";\nexport * from \"./createReservation\";\nexport * from \"./createRoom\";\nexport * from \"./createRoomInSpace\";\nexport * from \"./createScene\";\nexport * from \"./createSpace\";\nexport * from \"./createSwitch\";\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 \"./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 \"./deletePolicy\";\nexport * from \"./deleteReservation\";\nexport * from \"./deleteRoom\";\nexport * from \"./deleteSpace\";\nexport * from \"./deleteSwitch\";\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 \"./describeCamera\";\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 \"./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 \"./describeSpace\";\nexport * from \"./describeSwitch\";\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 \"./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 \"./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 \"./listSpaces\";\nexport * from \"./listSwitches\";\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 \"./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 \"./sendPreArrivalEmail\";\nexport * from \"./sendPreArrivalSMS\";\nexport * from \"./sendRoomControlSMS\";\nexport * from \"./sendVerificationCode\";\nexport * from \"./setAlarm\";\nexport * from \"./setCamera\";\nexport * from \"./setCourtesy\";\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 \"./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 \"./updateOrganization\";\nexport * from \"./updatePolicy\";\nexport * from \"./updateProperty\";\nexport * from \"./updatePropertySettings\";\nexport * from \"./updateReservation\";\nexport * from \"./updateReservationExpectedArrivalTime\";\nexport * from \"./updateRoom\";\nexport * from \"./updateSelf\";\nexport * from \"./updateSpace\";\nexport * from \"./updateSwitch\";\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\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA;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{Vendor}from"./chunk-SVABZ3CI.js";import{WindowCovering}from"./chunk-JXIXNM2I.js";import{SmsMessage}from"./chunk-5MAKH7DA.js";import{Space}from"./chunk-BNZ2JDKC.js";import{Switch}from"./chunk-KHD6GODB.js";import{SystemUser}from"./chunk-FGIR4KLQ.js";import{Thermostat}from"./chunk-KPHJPPH5.js";import{Ticket}from"./chunk-7IHVZEVI.js";import{TimeSheet}from"./chunk-XWSEOA2O.js";import{User}from"./chunk-F4DIA6P7.js";import{Payment}from"./chunk-TXIN2DKB.js";import{Policy}from"./chunk-P3X3QEEY.js";import{Product}from"./chunk-W7VPTCQW.js";import{Property}from"./chunk-52SGBY7T.js";import{Reservation}from"./chunk-K4F4A4V5.js";import{Room}from"./chunk-S4URKPDZ.js";import{Scene}from"./chunk-KZIPXTCO.js";import{ShortLink}from"./chunk-EGC5AOOR.js";import{Issue}from"./chunk-YXN5DS6G.js";import{Lock}from"./chunk-5MRKX6LD.js";import{Log}from"./chunk-BJUHX7EO.js";import{MediaFile}from"./chunk-2NJ5TYDM.js";import{MediaSource}from"./chunk-I2PGUQGT.js";import{MotionSensor}from"./chunk-IL4Z5EOQ.js";import{Order}from"./chunk-PMXGQQMO.js";import{Organization}from"./chunk-P74O5XVT.js";import{DiscoveredDevice}from"./chunk-3ZJNRIFK.js";import{EmailMessage}from"./chunk-O5VHQAWH.js";import{EnergyReport}from"./chunk-23BJNXQR.js";import{EnergyReportShard}from"./chunk-E5ALXA5L.js";import{Gateway}from"./chunk-MSIRN7GZ.js";import{Identification}from"./chunk-XULJZZ4Y.js";import{Alarm}from"./chunk-OC4D6KDL.js";import{Announcement}from"./chunk-UZZR5Y2C.js";import{Camera}from"./chunk-UMQTRLQ3.js";import{Category}from"./chunk-7FO5KNKZ.js";import{Courtesy}from"./chunk-5OF4E2UP.js";import{Credential}from"./chunk-HOKXPNGS.js";import{DeviceRouter}from"./chunk-6HMBXW6S.js";import{Dimmer}from"./chunk-LI63K4CP.js";import{Entity}from"./chunk-RAH2N3IC.js";import{__export}from"./chunk-FU4IK6I4.js";var models_exports={};__export(models_exports,{Alarm:()=>Alarm,Announcement:()=>Announcement,Camera:()=>Camera,Category:()=>Category,Courtesy:()=>Courtesy,Credential:()=>Credential,DeviceRouter:()=>DeviceRouter,Dimmer:()=>Dimmer,DiscoveredDevice:()=>DiscoveredDevice,EmailMessage:()=>EmailMessage,EnergyReport:()=>EnergyReport,EnergyReportShard:()=>EnergyReportShard,Entity:()=>Entity,Gateway:()=>Gateway,Identification:()=>Identification,Issue:()=>Issue,Lock:()=>Lock,Log:()=>Log,MediaFile:()=>MediaFile,MediaSource:()=>MediaSource,MotionSensor:()=>MotionSensor,Order:()=>Order,Organization:()=>Organization,Payment:()=>Payment,Policy:()=>Policy,Product:()=>Product,Property:()=>Property,Reservation:()=>Reservation,Room:()=>Room,Scene:()=>Scene,ShortLink:()=>ShortLink,SmsMessage:()=>SmsMessage,Space:()=>Space,Switch:()=>Switch,SystemUser:()=>SystemUser,Thermostat:()=>Thermostat,Ticket:()=>Ticket,TimeSheet:()=>TimeSheet,User:()=>User,Vendor:()=>Vendor,WindowCovering:()=>WindowCovering});export{models_exports};//# sourceMappingURL=chunk-6EIKQ3ZL.js.map
1
+ import{Vendor}from"./chunk-SVABZ3CI.js";import{WindowCovering}from"./chunk-JXIXNM2I.js";import{SmsMessage}from"./chunk-5MAKH7DA.js";import{Space}from"./chunk-BNZ2JDKC.js";import{Switch}from"./chunk-KHD6GODB.js";import{SystemUser}from"./chunk-FGIR4KLQ.js";import{Thermostat}from"./chunk-KPHJPPH5.js";import{Ticket}from"./chunk-7IHVZEVI.js";import{TimeSheet}from"./chunk-XWSEOA2O.js";import{User}from"./chunk-F4DIA6P7.js";import{Payment}from"./chunk-TXIN2DKB.js";import{Policy}from"./chunk-P3X3QEEY.js";import{Product}from"./chunk-W7VPTCQW.js";import{Property}from"./chunk-52SGBY7T.js";import{Reservation}from"./chunk-K4F4A4V5.js";import{Room}from"./chunk-S4URKPDZ.js";import{Scene}from"./chunk-KZIPXTCO.js";import{ShortLink}from"./chunk-EGC5AOOR.js";import{Issue}from"./chunk-YXN5DS6G.js";import{Lock}from"./chunk-5MRKX6LD.js";import{Log}from"./chunk-BJUHX7EO.js";import{MediaFile}from"./chunk-2NJ5TYDM.js";import{MediaSource}from"./chunk-I2PGUQGT.js";import{MotionSensor}from"./chunk-IL4Z5EOQ.js";import{Order}from"./chunk-PMXGQQMO.js";import{Organization}from"./chunk-P74O5XVT.js";import{DiscoveredDevice}from"./chunk-3ZJNRIFK.js";import{EmailMessage}from"./chunk-O5VHQAWH.js";import{EnergyReport}from"./chunk-23BJNXQR.js";import{EnergyReportShard}from"./chunk-E5ALXA5L.js";import{Gateway}from"./chunk-MSIRN7GZ.js";import{Identification}from"./chunk-XULJZZ4Y.js";import{Alarm}from"./chunk-OC4D6KDL.js";import{Announcement}from"./chunk-UZZR5Y2C.js";import{Camera}from"./chunk-UMQTRLQ3.js";import{Category}from"./chunk-7FO5KNKZ.js";import{Courtesy}from"./chunk-5OF4E2UP.js";import{Credential}from"./chunk-HOKXPNGS.js";import{DeviceRouter}from"./chunk-6HMBXW6S.js";import{Dimmer}from"./chunk-LI63K4CP.js";import{Entity}from"./chunk-RAH2N3IC.js";import{__export}from"./chunk-FU4IK6I4.js";var models_exports={};__export(models_exports,{Alarm:()=>Alarm,Announcement:()=>Announcement,Camera:()=>Camera,Category:()=>Category,Courtesy:()=>Courtesy,Credential:()=>Credential,DeviceRouter:()=>DeviceRouter,Dimmer:()=>Dimmer,DiscoveredDevice:()=>DiscoveredDevice,EmailMessage:()=>EmailMessage,EnergyReport:()=>EnergyReport,EnergyReportShard:()=>EnergyReportShard,Entity:()=>Entity,Gateway:()=>Gateway,Identification:()=>Identification,Issue:()=>Issue,Lock:()=>Lock,Log:()=>Log,MediaFile:()=>MediaFile,MediaSource:()=>MediaSource,MotionSensor:()=>MotionSensor,Order:()=>Order,Organization:()=>Organization,Payment:()=>Payment,Policy:()=>Policy,Product:()=>Product,Property:()=>Property,Reservation:()=>Reservation,Room:()=>Room,Scene:()=>Scene,ShortLink:()=>ShortLink,SmsMessage:()=>SmsMessage,Space:()=>Space,Switch:()=>Switch,SystemUser:()=>SystemUser,Thermostat:()=>Thermostat,Ticket:()=>Ticket,TimeSheet:()=>TimeSheet,User:()=>User,Vendor:()=>Vendor,WindowCovering:()=>WindowCovering});export{models_exports};//# sourceMappingURL=chunk-MTQEL3QV.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/models/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-20T02:46:47.035Z\n\nexport * from \"./alarm\";\nexport * from \"./announcement\";\nexport * from \"./camera\";\nexport * from \"./category\";\nexport * from \"./courtesy\";\nexport * from \"./credential\";\nexport * from \"./deviceRouter\";\nexport * from \"./dimmer\";\nexport * from \"./discoveredDevice\";\nexport * from \"./emailMessage\";\nexport * from \"./energyReport\";\nexport * from \"./energyReportShard\";\nexport * from \"./entity\";\nexport * from \"./gateway\";\nexport * from \"./identification\";\nexport * from \"./issue\";\nexport * from \"./lock\";\nexport * from \"./log\";\nexport * from \"./mediaFile\";\nexport * from \"./mediaSource\";\nexport * from \"./motionSensor\";\nexport * from \"./order\";\nexport * from \"./organization\";\nexport * from \"./payment\";\nexport * from \"./policy\";\nexport * from \"./product\";\nexport * from \"./property\";\nexport * from \"./reservation\";\nexport * from \"./room\";\nexport * from \"./scene\";\nexport * from \"./shortLink\";\nexport * from \"./smsMessage\";\nexport * from \"./space\";\nexport * from \"./switch\";\nexport * from \"./systemUser\";\nexport * from \"./thermostat\";\nexport * from \"./ticket\";\nexport * from \"./timeSheet\";\nexport * from \"./user\";\nexport * from \"./vendor\";\nexport * from \"./windowCovering\";"],"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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/models/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-23T15:13:49.106Z\n\nexport * from \"./alarm\";\nexport * from \"./announcement\";\nexport * from \"./camera\";\nexport * from \"./category\";\nexport * from \"./courtesy\";\nexport * from \"./credential\";\nexport * from \"./deviceRouter\";\nexport * from \"./dimmer\";\nexport * from \"./discoveredDevice\";\nexport * from \"./emailMessage\";\nexport * from \"./energyReport\";\nexport * from \"./energyReportShard\";\nexport * from \"./entity\";\nexport * from \"./gateway\";\nexport * from \"./identification\";\nexport * from \"./issue\";\nexport * from \"./lock\";\nexport * from \"./log\";\nexport * from \"./mediaFile\";\nexport * from \"./mediaSource\";\nexport * from \"./motionSensor\";\nexport * from \"./order\";\nexport * from \"./organization\";\nexport * from \"./payment\";\nexport * from \"./policy\";\nexport * from \"./product\";\nexport * from \"./property\";\nexport * from \"./reservation\";\nexport * from \"./room\";\nexport * from \"./scene\";\nexport * from \"./shortLink\";\nexport * from \"./smsMessage\";\nexport * from \"./space\";\nexport * from \"./switch\";\nexport * from \"./systemUser\";\nexport * from \"./thermostat\";\nexport * from \"./ticket\";\nexport * from \"./timeSheet\";\nexport * from \"./user\";\nexport * from \"./vendor\";\nexport * from \"./windowCovering\";"],"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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
@@ -0,0 +1 @@
1
+ import{Event}from"./chunk-DK5F23SZ.js";var SystemSpaceUpdated=class extends Event{constructor(space,context){super(space,context)}static get name(){return"SystemSpaceUpdated"}static get entity(){return"space"}};export{SystemSpaceUpdated};//# sourceMappingURL=chunk-PQQOKUF3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/events/systemSpaceUpdated.js"],"sourcesContent":["import { Event } from \"./event\";\n\nexport class SystemSpaceUpdated extends Event {\n constructor(space, context) {\n super(space, context);\n }\n\n static get name() {\n return \"SystemSpaceUpdated\";\n }\n\n static get entity() {\n return \"space\";\n }\n}\n"],"mappings":";;;;;AAEO,IAAM,qBAAN,cAAiC,MAAM;AAAA,EAC5C,YAAY,OAAO,SAAS;AAC1B,UAAM,OAAO,OAAO;AAAA,EACtB;AAAA,EAEA,WAAW,OAAO;AAChB,WAAO;AAAA,EACT;AAAA,EAEA,WAAW,SAAS;AAClB,WAAO;AAAA,EACT;AACF;","names":[]}
@@ -1 +1 @@
1
- import{SetWindowCovering}from"./chunk-5IFKUACF.js";import{UpdateReservation}from"./chunk-6ZPNBWSP.js";import{UpdateUser}from"./chunk-MPPA5PEW.js";import{UploadImage}from"./chunk-CYBDEC66.js";import{SetAlarm}from"./chunk-553ODD2S.js";import{SetCourtesy}from"./chunk-6ZVEOAT7.js";import{SetDimmer}from"./chunk-CY5KZWTD.js";import{SetLock}from"./chunk-CZGPU7VQ.js";import{SetMedia}from"./chunk-Z7VWGH53.js";import{SetScene}from"./chunk-JE3Q5SWK.js";import{SetSwitch}from"./chunk-IPFLGOAQ.js";import{SetThermostat}from"./chunk-INADN74V.js";import{GetReservations}from"./chunk-XAPQDLBV.js";import{GetRooms}from"./chunk-33YQANEE.js";import{GetUsers}from"./chunk-LE4PXND6.js";import{OCRDocument}from"./chunk-QSWHBJ4C.js";import{SellProducts}from"./chunk-UZC2AE4S.js";import{SendEmail}from"./chunk-7ZINNCRJ.js";import{SendSMS}from"./chunk-BNLSQYEU.js";import{CheckOutReservation}from"./chunk-7KSYW5QT.js";import{CreateImageUploadEndpoint}from"./chunk-2WQGVOEW.js";import{CreateShortLink}from"./chunk-U6CRRRCE.js";import{GetCategories}from"./chunk-QHX32FPF.js";import{GetMobileKey}from"./chunk-YZPEREWC.js";import{GetProducts}from"./chunk-ARLLV3TO.js";import{GetReservationSpaceCategoryAvailabilities}from"./chunk-N5B55F2T.js";import{CheckInReservation}from"./chunk-CUBBV34H.js";import{Command}from"./chunk-6SMUZVPT.js";import{__export}from"./chunk-FU4IK6I4.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-OC45W3N5.js.map
1
+ import{SetWindowCovering}from"./chunk-5IFKUACF.js";import{UpdateReservation}from"./chunk-6ZPNBWSP.js";import{UpdateUser}from"./chunk-MPPA5PEW.js";import{UploadImage}from"./chunk-CYBDEC66.js";import{SetAlarm}from"./chunk-553ODD2S.js";import{SetCourtesy}from"./chunk-6ZVEOAT7.js";import{SetDimmer}from"./chunk-CY5KZWTD.js";import{SetLock}from"./chunk-CZGPU7VQ.js";import{SetMedia}from"./chunk-Z7VWGH53.js";import{SetScene}from"./chunk-JE3Q5SWK.js";import{SetSwitch}from"./chunk-IPFLGOAQ.js";import{SetThermostat}from"./chunk-INADN74V.js";import{GetReservations}from"./chunk-XAPQDLBV.js";import{GetRooms}from"./chunk-33YQANEE.js";import{GetUsers}from"./chunk-LE4PXND6.js";import{OCRDocument}from"./chunk-QSWHBJ4C.js";import{SellProducts}from"./chunk-UZC2AE4S.js";import{SendEmail}from"./chunk-7ZINNCRJ.js";import{SendSMS}from"./chunk-BNLSQYEU.js";import{CheckOutReservation}from"./chunk-7KSYW5QT.js";import{CreateImageUploadEndpoint}from"./chunk-2WQGVOEW.js";import{CreateShortLink}from"./chunk-U6CRRRCE.js";import{GetCategories}from"./chunk-QHX32FPF.js";import{GetMobileKey}from"./chunk-YZPEREWC.js";import{GetProducts}from"./chunk-ARLLV3TO.js";import{GetReservationSpaceCategoryAvailabilities}from"./chunk-N5B55F2T.js";import{CheckInReservation}from"./chunk-CUBBV34H.js";import{Command}from"./chunk-6SMUZVPT.js";import{__export}from"./chunk-FU4IK6I4.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-QBW2DKGB.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-02-20T02:46:47.038Z\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
+ {"version":3,"sources":["../src/commands/index.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-23T15:13:49.109Z\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{errors_exports}from"./chunk-DVPG2A2G.js";import{amqpExchanges}from"./chunk-XTVCI5U2.js";import{__name}from"./chunk-FU4IK6I4.js";import{connect}from"amqplib";import{isFatalError}from"amqplib/lib/connection";import dbg from"debug";import{Buffer}from"node:buffer";import*as crypto from"node: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}}};export{KohostAMQPClient};//# sourceMappingURL=chunk-LOGVBYL2.js.map
1
+ import{errors_exports}from"./chunk-CGFGSU4J.js";import{amqpExchanges}from"./chunk-XTVCI5U2.js";import{__name}from"./chunk-FU4IK6I4.js";import{connect}from"amqplib";import{isFatalError}from"amqplib/lib/connection";import dbg from"debug";import{Buffer}from"node:buffer";import*as crypto from"node: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}}};export{KohostAMQPClient};//# sourceMappingURL=chunk-ZLZL27XJ.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/commands/index.js","../../src/defs.js","../../src/commands/command.js","../../src/commands/checkInReservation.js","../../src/commands/checkOutReservation.js","../../src/commands/createImageUploadEndpoint.js","../../src/commands/createShortLink.js","../../src/commands/getCategories.js","../../src/commands/getMobileKey.js","../../src/commands/getProducts.js","../../src/commands/getReservationSpaceCategoryAvailabilities.js","../../src/commands/getReservations.js","../../src/commands/getRooms.js","../../src/commands/getUsers.js","../../src/commands/ocrDocument.js","../../src/commands/sellProducts.js","../../src/commands/sendEmail.js","../../src/commands/sendSMS.js","../../src/commands/setAlarm.js","../../src/commands/setCourtesy.js","../../src/commands/setDimmer.js","../../src/commands/setLock.js","../../src/commands/setMedia.js","../../src/commands/setScene.js","../../src/commands/setSwitch.js","../../src/commands/setThermostat.js","../../src/commands/setWindowCovering.js","../../src/commands/updateReservation.js","../../src/commands/updateUser.js","../../src/commands/uploadImage.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-20T02:46:47.038Z\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\";","export const amqpExchanges = {\n // routes commands based on `command-name` header and in many cases `property-id` header\n Commands: {\n name: \"kohost.commands\",\n type: \"headers\",\n options: {\n durable: true,\n },\n },\n CommandResponses: {\n name: \"kohost.commandResponses\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n // routes events based on routing keys\n DriverEvents: {\n name: \"kohost.events.drivers\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n AppEvents: {\n name: \"kohost.events.app\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n Direct: {\n name: \"kohost.direct\",\n type: \"direct\",\n options: {\n durable: true,\n },\n },\n // dead letter exchange\n dlx: {\n name: \"kohost.dlx\",\n type: \"direct\",\n },\n};\n\nexport const deviceTypes = [\n \"dimmer\",\n \"switch\",\n \"thermostat\",\n \"lock\",\n \"windowCovering\",\n \"courtesy\",\n \"alarm\",\n \"camera\",\n \"mediaSource\",\n \"motionSensor\",\n \"gateway\",\n];\n","import { amqpExchanges } from \"../defs\";\n\nconst Commands = amqpExchanges.Commands;\n\nexport class Command {\n constructor(data) {\n this.data = {};\n if (!data) throw new Error(\"Command data is required\");\n if (typeof data !== \"object\")\n throw new Error(\"Command data must be an object\");\n\n for (const key in data) {\n this.data[key] = data[key];\n }\n }\n\n get name() {\n throw new Error(\"Command name is required\");\n }\n\n static get type() {\n return \"Command\";\n }\n\n static get exchange() {\n return Commands.name;\n }\n\n build() {\n return { data: { ...this.data } };\n }\n}\n","import { Command } from \"./command\";\n\nexport class CheckInReservation extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"CheckInReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CheckOutReservation extends Command {\n constructor({ reservationId, userId, ...rest }) {\n super({ reservationId, userId, ...rest });\n }\n\n get name() {\n return \"CheckOutReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CreateImageUploadEndpoint extends Command {\n constructor({ id, expires, ...rest }) {\n super({ id, expires, ...rest });\n }\n\n get name() {\n return \"CreateImageUploadEndpoint\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CreateShortLink extends Command {\n constructor({ title, destination, ...rest }) {\n super({ title, destination, ...rest });\n }\n\n get name() {\n return \"CreateShortLink\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetCategories extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetCategories\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetMobileKey extends Command {\n constructor({\n id,\n phone,\n beginDateTime,\n endDateTime,\n keyToReplace,\n ...rest\n }) {\n super({ id, phone, beginDateTime, endDateTime, keyToReplace, ...rest });\n }\n\n get name() {\n return \"GetMobileKey\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetProducts extends Command {\n constructor({ id, externalSystemId, ...rest }) {\n super({ id, externalSystemId, ...rest });\n }\n\n get name() {\n return \"GetProducts\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetReservationSpaceCategoryAvailabilities extends Command {\n constructor(options) {\n const { id, ...rest } = options;\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetReservationSpaceCategoryAvailabilities\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetReservations extends Command {\n constructor(options) {\n const { id, startDate, endDate, status, ...rest } = options;\n super({ id, startDate, endDate, status, ...rest });\n }\n\n get name() {\n return \"GetReservations\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetRooms extends Command {\n constructor({\n id,\n types,\n categories,\n startDate,\n endDate,\n serviceStatus,\n housekeepingStatus,\n ...rest\n }) {\n super({\n id,\n types,\n categories,\n startDate,\n endDate,\n serviceStatus,\n housekeepingStatus,\n ...rest,\n });\n }\n\n get name() {\n return \"GetRooms\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetUsers extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetUsers\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class OCRDocument extends Command {\n constructor({ type, image, ...rest }) {\n super({ type, image, ...rest });\n }\n\n get name() {\n return \"OCRDocument\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SellProducts extends Command {\n constructor({ reservationId, userId, products, ...rest }) {\n super({ reservationId, userId, products, ...rest });\n }\n\n get name() {\n return \"SellProducts\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SendEmail extends Command {\n constructor({ text, html, to, from, subject, ...rest }) {\n super({ text, html, to, from, subject, ...rest });\n }\n\n get name() {\n return \"SendEmail\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SendSMS extends Command {\n constructor({ id, body, to, from, media, ...rest }) {\n super({ id, body, to, from, media, ...rest });\n }\n\n get name() {\n return \"SendSMS\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetAlarm extends Command {\n constructor({ id, zones, areas, code, ...rest }) {\n super({ id, zones, areas, code, ...rest });\n }\n\n get name() {\n return \"SetAlarm\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetCourtesy extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetCourtesy\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetDimmer extends Command {\n constructor({ id, level, ...rest }) {\n super({ id, level, ...rest });\n }\n\n get name() {\n return \"SetDimmer\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetLock extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetLock\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetMedia extends Command {\n constructor({ id, command, ...rest }) {\n super({ id, command, ...rest });\n }\n\n get name() {\n return \"SetMedia\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetScene extends Command {\n constructor({ id, devices, ...rest }) {\n super({ id, devices, ...rest });\n }\n\n get name() {\n return \"SetScene\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetSwitch extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetSwitch\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetThermostat extends Command {\n constructor({ id, setpoints, hvacMode, fanMode, ...rest }) {\n super({ id, setpoints, hvacMode, fanMode, ...rest });\n }\n\n get name() {\n return \"SetThermostat\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetWindowCovering extends Command {\n constructor({ id, position, ...rest }) {\n super({ id, position, ...rest });\n }\n\n get name() {\n return \"SetWindowCovering\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UpdateReservation extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"UpdateReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UpdateUser extends Command {\n constructor({\n id,\n email,\n phone,\n identification,\n address,\n note,\n nationality,\n file,\n payment,\n ...rest\n }) {\n super({\n id,\n email,\n phone,\n identification,\n address,\n note,\n nationality,\n file,\n payment,\n ...rest,\n });\n }\n\n get name() {\n return \"UpdateUser\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UploadImage extends Command {\n constructor({ id, url, file, ...rest }) {\n super({ id, url, file, ...rest });\n }\n\n get name() {\n return \"UploadImage\";\n }\n}\n"],"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;AAAA;;;ACAO,IAAM,gBAAgB;AAAA;AAAA,EAE3B,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,kBAAkB;AAAA,IAChB,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA;AAAA,EAEA,cAAc;AAAA,IACZ,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,WAAW;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAA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;AAAA;AAAA;AAAA,EACvC,YAAY,EAAE,IAAI,KAAK,MAAM,GAAG,KAAK,GAAG;AACtC,UAAM,EAAE,IAAI,KAAK,MAAM,GAAG,KAAK,CAAC;AAAA,EAClC;AAAA,EAEA,IAAI,OAAO;AACT,WAAO;AAAA,EACT;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/commands/index.js","../../src/defs.js","../../src/commands/command.js","../../src/commands/checkInReservation.js","../../src/commands/checkOutReservation.js","../../src/commands/createImageUploadEndpoint.js","../../src/commands/createShortLink.js","../../src/commands/getCategories.js","../../src/commands/getMobileKey.js","../../src/commands/getProducts.js","../../src/commands/getReservationSpaceCategoryAvailabilities.js","../../src/commands/getReservations.js","../../src/commands/getRooms.js","../../src/commands/getUsers.js","../../src/commands/ocrDocument.js","../../src/commands/sellProducts.js","../../src/commands/sendEmail.js","../../src/commands/sendSMS.js","../../src/commands/setAlarm.js","../../src/commands/setCourtesy.js","../../src/commands/setDimmer.js","../../src/commands/setLock.js","../../src/commands/setMedia.js","../../src/commands/setScene.js","../../src/commands/setSwitch.js","../../src/commands/setThermostat.js","../../src/commands/setWindowCovering.js","../../src/commands/updateReservation.js","../../src/commands/updateUser.js","../../src/commands/uploadImage.js"],"sourcesContent":["// This file is auto-generated. Do not edit this file manually.\n// Generated on: 2025-02-23T15:13:49.109Z\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\";","export const amqpExchanges = {\n // routes commands based on `command-name` header and in many cases `property-id` header\n Commands: {\n name: \"kohost.commands\",\n type: \"headers\",\n options: {\n durable: true,\n },\n },\n CommandResponses: {\n name: \"kohost.commandResponses\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n // routes events based on routing keys\n DriverEvents: {\n name: \"kohost.events.drivers\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n AppEvents: {\n name: \"kohost.events.app\",\n type: \"topic\",\n options: {\n durable: true,\n },\n },\n Direct: {\n name: \"kohost.direct\",\n type: \"direct\",\n options: {\n durable: true,\n },\n },\n // dead letter exchange\n dlx: {\n name: \"kohost.dlx\",\n type: \"direct\",\n },\n};\n\nexport const deviceTypes = [\n \"dimmer\",\n \"switch\",\n \"thermostat\",\n \"lock\",\n \"windowCovering\",\n \"courtesy\",\n \"alarm\",\n \"camera\",\n \"mediaSource\",\n \"motionSensor\",\n \"gateway\",\n];\n","import { amqpExchanges } from \"../defs\";\n\nconst Commands = amqpExchanges.Commands;\n\nexport class Command {\n constructor(data) {\n this.data = {};\n if (!data) throw new Error(\"Command data is required\");\n if (typeof data !== \"object\")\n throw new Error(\"Command data must be an object\");\n\n for (const key in data) {\n this.data[key] = data[key];\n }\n }\n\n get name() {\n throw new Error(\"Command name is required\");\n }\n\n static get type() {\n return \"Command\";\n }\n\n static get exchange() {\n return Commands.name;\n }\n\n build() {\n return { data: { ...this.data } };\n }\n}\n","import { Command } from \"./command\";\n\nexport class CheckInReservation extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"CheckInReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CheckOutReservation extends Command {\n constructor({ reservationId, userId, ...rest }) {\n super({ reservationId, userId, ...rest });\n }\n\n get name() {\n return \"CheckOutReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CreateImageUploadEndpoint extends Command {\n constructor({ id, expires, ...rest }) {\n super({ id, expires, ...rest });\n }\n\n get name() {\n return \"CreateImageUploadEndpoint\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class CreateShortLink extends Command {\n constructor({ title, destination, ...rest }) {\n super({ title, destination, ...rest });\n }\n\n get name() {\n return \"CreateShortLink\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetCategories extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetCategories\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetMobileKey extends Command {\n constructor({\n id,\n phone,\n beginDateTime,\n endDateTime,\n keyToReplace,\n ...rest\n }) {\n super({ id, phone, beginDateTime, endDateTime, keyToReplace, ...rest });\n }\n\n get name() {\n return \"GetMobileKey\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetProducts extends Command {\n constructor({ id, externalSystemId, ...rest }) {\n super({ id, externalSystemId, ...rest });\n }\n\n get name() {\n return \"GetProducts\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetReservationSpaceCategoryAvailabilities extends Command {\n constructor(options) {\n const { id, ...rest } = options;\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetReservationSpaceCategoryAvailabilities\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetReservations extends Command {\n constructor(options) {\n const { id, startDate, endDate, status, ...rest } = options;\n super({ id, startDate, endDate, status, ...rest });\n }\n\n get name() {\n return \"GetReservations\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetRooms extends Command {\n constructor({\n id,\n types,\n categories,\n startDate,\n endDate,\n serviceStatus,\n housekeepingStatus,\n ...rest\n }) {\n super({\n id,\n types,\n categories,\n startDate,\n endDate,\n serviceStatus,\n housekeepingStatus,\n ...rest,\n });\n }\n\n get name() {\n return \"GetRooms\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class GetUsers extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetUsers\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class OCRDocument extends Command {\n constructor({ type, image, ...rest }) {\n super({ type, image, ...rest });\n }\n\n get name() {\n return \"OCRDocument\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SellProducts extends Command {\n constructor({ reservationId, userId, products, ...rest }) {\n super({ reservationId, userId, products, ...rest });\n }\n\n get name() {\n return \"SellProducts\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SendEmail extends Command {\n constructor({ text, html, to, from, subject, ...rest }) {\n super({ text, html, to, from, subject, ...rest });\n }\n\n get name() {\n return \"SendEmail\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SendSMS extends Command {\n constructor({ id, body, to, from, media, ...rest }) {\n super({ id, body, to, from, media, ...rest });\n }\n\n get name() {\n return \"SendSMS\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetAlarm extends Command {\n constructor({ id, zones, areas, code, ...rest }) {\n super({ id, zones, areas, code, ...rest });\n }\n\n get name() {\n return \"SetAlarm\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetCourtesy extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetCourtesy\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetDimmer extends Command {\n constructor({ id, level, ...rest }) {\n super({ id, level, ...rest });\n }\n\n get name() {\n return \"SetDimmer\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetLock extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetLock\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetMedia extends Command {\n constructor({ id, command, ...rest }) {\n super({ id, command, ...rest });\n }\n\n get name() {\n return \"SetMedia\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetScene extends Command {\n constructor({ id, devices, ...rest }) {\n super({ id, devices, ...rest });\n }\n\n get name() {\n return \"SetScene\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetSwitch extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetSwitch\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetThermostat extends Command {\n constructor({ id, setpoints, hvacMode, fanMode, ...rest }) {\n super({ id, setpoints, hvacMode, fanMode, ...rest });\n }\n\n get name() {\n return \"SetThermostat\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class SetWindowCovering extends Command {\n constructor({ id, position, ...rest }) {\n super({ id, position, ...rest });\n }\n\n get name() {\n return \"SetWindowCovering\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UpdateReservation extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"UpdateReservation\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UpdateUser extends Command {\n constructor({\n id,\n email,\n phone,\n identification,\n address,\n note,\n nationality,\n file,\n payment,\n ...rest\n }) {\n super({\n id,\n email,\n phone,\n identification,\n address,\n note,\n nationality,\n file,\n payment,\n ...rest,\n });\n }\n\n get name() {\n return \"UpdateUser\";\n }\n}\n","import { Command } from \"./command\";\n\nexport class UploadImage extends Command {\n constructor({ id, url, file, ...rest }) {\n super({ id, url, file, ...rest });\n }\n\n get name() {\n return \"UploadImage\";\n }\n}\n"],"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;AAAA;;;ACAO,IAAM,gBAAgB;AAAA;AAAA,EAE3B,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,IACX;AAAA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