@kohost/api-client 3.3.0 → 3.3.2

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.
@@ -1,7 +1,7 @@
1
1
  const Command = require("./Command");
2
2
  const RequestError = require("../Errors/RequestError");
3
3
 
4
- class CreateShortLinkCommand extends Command {
4
+ class CreateShortLink extends Command {
5
5
  constructor({ title, destination, ...rest }) {
6
6
  if (!title) throw new RequestError("title is required");
7
7
  if (!destination) throw new RequestError("destination to is required");
@@ -13,4 +13,4 @@ class CreateShortLinkCommand extends Command {
13
13
  }
14
14
  }
15
15
 
16
- module.exports = CreateShortLinkCommand;
16
+ module.exports = CreateShortLink;
@@ -31,6 +31,11 @@
31
31
  "space": {
32
32
  "type": ["string", "null"]
33
33
  },
34
+ "previousSpace": {
35
+ "type": ["string", "null"],
36
+ "default": null,
37
+ "description": "Used when there was a space assigned and it changes"
38
+ },
34
39
  "status": {
35
40
  "type": "string",
36
41
  "enum": [
@@ -747,9 +747,9 @@ var require_CreateShortLink = __commonJS({
747
747
  "src/Commands/CreateShortLink.js"(exports, module) {
748
748
  var Command = require_Command();
749
749
  var RequestError = require_RequestError();
750
- var CreateShortLinkCommand = class extends Command {
750
+ var CreateShortLink = class extends Command {
751
751
  static {
752
- __name(this, "CreateShortLinkCommand");
752
+ __name(this, "CreateShortLink");
753
753
  }
754
754
  constructor({ title, destination, ...rest }) {
755
755
  if (!title)
@@ -762,7 +762,7 @@ var require_CreateShortLink = __commonJS({
762
762
  return "CreateShortLink";
763
763
  }
764
764
  };
765
- module.exports = CreateShortLinkCommand;
765
+ module.exports = CreateShortLink;
766
766
  }
767
767
  });
768
768
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/defs/amqpExchanges.js", "../../src/Commands/Command.js", "../../src/Commands/SetScene.js", "../../src/Commands/SetAlarm.js", "../../src/Commands/SetDimmer.js", "../../src/Commands/SetSwitch.js", "../../src/Commands/SetThermostat.js", "../../src/Commands/SetLock.js", "../../src/Commands/SetWindowCovering.js", "../../src/Commands/SetCourtesy.js", "../../src/Commands/SetMedia.js", "../../src/Commands/GetUsers.js", "../../src/Errors/AppError.js", "../../src/Errors/RequestError.js", "../../src/Commands/OCRDocument.js", "../../src/Commands/CheckInReservation.js", "../../src/Commands/CheckOutReservation.js", "../../src/Commands/SendEmail.js", "../../src/Commands/SendSMS.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/SystemCommError.js", "../../src/Errors/TokenExpiredError.js", "../../src/Errors/UnprocessableRequestError.js", "../../src/Errors/ValidationError.js", "../../src/Errors/index.js", "../../src/Commands/GetReservations.js", "../../src/Commands/GetReservationSpaceCategoryAvailabilities.js", "../../src/Commands/GetRooms.js", "../../src/Commands/GetCategories.js", "../../src/Commands/CreateShortLink.js", "../../src/Commands/UpdateReservation.js", "../../src/Commands/UpdateUser.js", "../../src/Commands/GetMobileKey.js", "../../src/Commands/CreateImageUploadEndpoint.js", "../../src/Commands/UploadImage.js", "../../src/Commands/GetProducts.js", "../../src/Commands/SellProducts.js", "../../src/Commands/index.js"],
4
- "sourcesContent": ["const exchanges = {\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\nmodule.exports = exchanges;\n", "const exchanges = require(\"../defs/amqpExchanges\");\n\nclass 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 exchanges.Commands.name;\n }\n\n build() {\n return { data: { ...this.data } };\n }\n}\n\nmodule.exports = Command;\n", "const Command = require(\"./Command\");\n\nclass SetScene extends Command {\n constructor({ id, devices, ...rest }) {\n super({ id, devices, ...rest });\n }\n\n get name() {\n return \"SetScene\";\n }\n}\n\nmodule.exports = SetScene;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = SetAlarm;\n", "const Command = require(\"./Command\");\n\nclass SetDimmer extends Command {\n constructor({ id, level, ...rest }) {\n super({ id, level, ...rest });\n }\n\n get name() {\n return \"SetDimmer\";\n }\n}\n\nmodule.exports = SetDimmer;\n", "const Command = require(\"./Command\");\n\nclass SetSwitch extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetSwitch\";\n }\n}\n\nmodule.exports = SetSwitch;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = SetThermostat;\n", "const Command = require(\"./Command\");\n\nclass SetLock extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetLock\";\n }\n}\n\nmodule.exports = SetLock;\n", "const Command = require(\"./Command\");\n\nclass SetWindowCovering extends Command {\n constructor({ id, position, ...rest }) {\n super({ id, position, ...rest });\n }\n\n get name() {\n return \"SetWindowCovering\";\n }\n}\n\nmodule.exports = SetWindowCovering;\n", "const Command = require(\"./Command\");\n\nclass SetCourtesy extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetCourtesy\";\n }\n}\n\nmodule.exports = SetCourtesy;\n", "const Command = require(\"./Command\");\n\nclass SetMedia extends Command {\n constructor({ id, command, ...rest }) {\n super({ id, command, ...rest });\n }\n\n get name() {\n return \"SetMedia\";\n }\n}\n\nmodule.exports = SetMedia;\n", "const Command = require(\"./Command\");\n\nclass GetUsers extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetUsers\";\n }\n}\n\nmodule.exports = GetUsers;\n", "module.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass OCRDocument extends Command {\n constructor({ type, image, ...rest }) {\n if (!image) throw new RequestError(\"document image is required\");\n super({ type, image, ...rest });\n }\n\n get name() {\n return \"OCRDocument\";\n }\n}\n\nmodule.exports = OCRDocument;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CheckInReservation extends Command {\n constructor({ id, ...rest }) {\n if (!id) throw new RequestError(\"reservation id is required\");\n super({ id, ...rest });\n }\n\n get name() {\n return \"CheckInReservation\";\n }\n}\n\nmodule.exports = CheckInReservation;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CheckOutReservation extends Command {\n constructor({ reservationId, userId, ...rest }) {\n if (!reservationId) throw new RequestError(\"reservation id is required\");\n if (!userId) throw new RequestError(\"user id is required\");\n super({ reservationId, userId, ...rest });\n }\n\n get name() {\n return \"CheckOutReservation\";\n }\n}\n\nmodule.exports = CheckOutReservation;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass SendEmail extends Command {\n constructor({ text, html, to, from, subject, ...rest }) {\n if (!to) throw new RequestError(\"email to is required\");\n if (!from) throw new RequestError(\"email from is required\");\n if (!subject) throw new RequestError(\"email subject is required\");\n if (!text && !html)\n throw new RequestError(\"email text or html is required\");\n\n super({ text, html, to, from, subject, ...rest });\n }\n\n get name() {\n return \"SendEmail\";\n }\n}\n\nmodule.exports = SendEmail;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass SendSMS extends Command {\n constructor({ id, body, to, from, media, ...rest }) {\n if (!body && !media)\n throw new RequestError(\"sms body or media is required\");\n if (!to) throw new RequestError(\"sms to is required\");\n if (!from) throw new RequestError(\"sms from is required\");\n super({ id, body, to, from, media, ...rest });\n }\n\n get name() {\n return \"SendSMS\";\n }\n}\n\nmodule.exports = SendSMS;\n", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const Errors = {\n AppError: require(\"./AppError\"),\n AuthenticationError: require(\"./AuthenticationError\"),\n AuthorizationError: require(\"./AuthorizationError\"),\n ConflictError: require(\"./ConflictError\"),\n DeviceCommError: require(\"./DeviceCommError\"),\n LoginError: require(\"./LoginError\"),\n NotFoundError: require(\"./NotFoundError\"),\n RequestError: require(\"./RequestError\"),\n SystemCommError: require(\"./SystemCommError\"),\n TokenExpiredError: require(\"./TokenExpiredError\"),\n UnprocessableRequestError: require(\"./UnprocessableRequestError\"),\n ValidationError: require(\"./ValidationError\"),\n};\n\nmodule.exports = Errors;\n", "const { RequestError } = require(\"../Errors\");\nconst Command = require(\"./Command\");\n\nclass GetReservations extends Command {\n constructor(options) {\n if (!options) throw new RequestError(\"options are required\");\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\nmodule.exports = GetReservations;\n", "const { RequestError } = require(\"../Errors\");\nconst Command = require(\"./Command\");\n\nclass GetReservationSpaceCategoryAvailabilities extends Command {\n constructor(options) {\n if (!options) throw new RequestError(\"options are required\");\n const { id, ...rest } = options;\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetReservationSpaceCategoryAvailabilities\";\n }\n}\n\nmodule.exports = GetReservationSpaceCategoryAvailabilities;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = GetRooms;\n", "const Command = require(\"./Command\");\n\nclass GetCategories extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetCategories\";\n }\n}\n\nmodule.exports = GetCategories;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CreateShortLinkCommand extends Command {\n constructor({ title, destination, ...rest }) {\n if (!title) throw new RequestError(\"title is required\");\n if (!destination) throw new RequestError(\"destination to is required\");\n super({ title, destination, ...rest });\n }\n\n get name() {\n return \"CreateShortLink\";\n }\n}\n\nmodule.exports = CreateShortLinkCommand;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass UpdateReservation extends Command {\n constructor({ id, ...rest }) {\n if (!id) throw new RequestError(\"document type is required\");\n super({ id, ...rest });\n }\n\n get name() {\n return \"UpdateReservation\";\n }\n}\n\nmodule.exports = UpdateReservation;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass 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 if (!id) throw new RequestError(\"document type is required\");\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\nmodule.exports = UpdateUser;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = GetMobileKey;\n", "const Command = require(\"./Command\");\n\nclass CreateImageUploadEndpoint extends Command {\n constructor({ id, expires, ...rest }) {\n super({ id, expires, ...rest });\n }\n\n get name() {\n return \"CreateImageUploadEndpoint\";\n }\n}\n\nmodule.exports = CreateImageUploadEndpoint;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = UploadImage;\n", "const Command = require(\"./Command\");\n\nclass GetProducts extends Command {\n constructor({ id, externalSystemId, ...rest }) {\n super({ id, externalSystemId, ...rest });\n }\n\n get name() {\n return \"GetProducts\";\n }\n}\n\nmodule.exports = GetProducts;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = SellProducts;\n", "const Command = require(\"./Command\");\nconst SetScene = require(\"./SetScene\");\nconst SetAlarm = require(\"./SetAlarm\");\nconst SetDimmer = require(\"./SetDimmer\");\nconst SetSwitch = require(\"./SetSwitch\");\nconst SetThermostat = require(\"./SetThermostat\");\nconst SetLock = require(\"./SetLock\");\nconst SetWindowCovering = require(\"./SetWindowCovering\");\nconst SetCourtesy = require(\"./SetCourtesy\");\nconst SetMedia = require(\"./SetMedia\");\nconst GetUsers = require(\"./GetUsers\");\nconst OCRDocument = require(\"./OCRDocument\");\nconst CheckInReservation = require(\"./CheckInReservation\");\nconst CheckOutReservation = require(\"./CheckOutReservation\");\nconst SendEmail = require(\"./SendEmail\");\nconst SendSMS = require(\"./SendSMS\");\nconst GetReservations = require(\"./GetReservations\");\nconst GetReservationSpaceCategoryAvailabilities = require(\"./GetReservationSpaceCategoryAvailabilities\");\nconst GetRooms = require(\"./GetRooms\");\nconst GetCategories = require(\"./GetCategories\");\nconst CreateShortLink = require(\"./CreateShortLink\");\nconst UpdateReservation = require(\"./UpdateReservation\");\nconst UpdateUser = require(\"./UpdateUser\");\nconst GetMobileKey = require(\"./GetMobileKey\");\nconst CreateImageUploadEndpoint = require(\"./CreateImageUploadEndpoint\");\nconst UploadImage = require(\"./UploadImage\");\nconst GetProducts = require(\"./GetProducts\");\nconst SellProducts = require(\"./SellProducts\");\n\nmodule.exports = {\n Command,\n SetScene,\n SetAlarm,\n SetDimmer,\n SetSwitch,\n SetThermostat,\n SetLock,\n SetWindowCovering,\n SetCourtesy,\n SetMedia,\n OCRDocument,\n GetUsers,\n CheckInReservation,\n CheckOutReservation,\n SendSMS,\n SendEmail,\n GetReservations,\n GetReservationSpaceCategoryAvailabilities,\n GetRooms,\n GetCategories,\n CreateShortLink,\n UpdateReservation,\n UpdateUser,\n GetMobileKey,\n CreateImageUploadEndpoint,\n UploadImage,\n GetProducts,\n SellProducts,\n};\n"],
5
- "mappings": ";;;;;;;;AAAA;AAAA;AAAA,QAAM,YAAY;AAAA;AAAA,MAEhB,UAAU;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,kBAAkB;AAAA,QAChB,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA;AAAA,MAEA,cAAc;AAAA,QACZ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,WAAW;AAAA,QACT,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,QAAQ;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA;AAAA,MAEA,KAAK;AAAA,QACH,MAAM;AAAA,QACN,MAAM;AAAA,MACR;AAAA,IACF;AAEA,WAAO,UAAU;AAAA;AAAA;;;AC7CjB;AAAA;AAAA,QAAM,YAAY;AAElB,QAAM,UAAN,MAAc;AAAA,MAFd,OAEc;AAAA;AAAA;AAAA,MACZ,YAAY,MAAM;AAChB,aAAK,OAAO,CAAC;AACb,YAAI,CAAC;AAAM,gBAAM,IAAI,MAAM,0BAA0B;AACrD,YAAI,OAAO,SAAS;AAClB,gBAAM,IAAI,MAAM,gCAAgC;AAElD,mBAAW,OAAO,MAAM;AACtB,eAAK,KAAK,GAAG,IAAI,KAAK,GAAG;AAAA,QAC3B;AAAA,MACF;AAAA,MAEA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AAAA;",
4
+ "sourcesContent": ["const exchanges = {\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\nmodule.exports = exchanges;\n", "const exchanges = require(\"../defs/amqpExchanges\");\n\nclass 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 exchanges.Commands.name;\n }\n\n build() {\n return { data: { ...this.data } };\n }\n}\n\nmodule.exports = Command;\n", "const Command = require(\"./Command\");\n\nclass SetScene extends Command {\n constructor({ id, devices, ...rest }) {\n super({ id, devices, ...rest });\n }\n\n get name() {\n return \"SetScene\";\n }\n}\n\nmodule.exports = SetScene;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = SetAlarm;\n", "const Command = require(\"./Command\");\n\nclass SetDimmer extends Command {\n constructor({ id, level, ...rest }) {\n super({ id, level, ...rest });\n }\n\n get name() {\n return \"SetDimmer\";\n }\n}\n\nmodule.exports = SetDimmer;\n", "const Command = require(\"./Command\");\n\nclass SetSwitch extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetSwitch\";\n }\n}\n\nmodule.exports = SetSwitch;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = SetThermostat;\n", "const Command = require(\"./Command\");\n\nclass SetLock extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetLock\";\n }\n}\n\nmodule.exports = SetLock;\n", "const Command = require(\"./Command\");\n\nclass SetWindowCovering extends Command {\n constructor({ id, position, ...rest }) {\n super({ id, position, ...rest });\n }\n\n get name() {\n return \"SetWindowCovering\";\n }\n}\n\nmodule.exports = SetWindowCovering;\n", "const Command = require(\"./Command\");\n\nclass SetCourtesy extends Command {\n constructor({ id, state, ...rest }) {\n super({ id, state, ...rest });\n }\n\n get name() {\n return \"SetCourtesy\";\n }\n}\n\nmodule.exports = SetCourtesy;\n", "const Command = require(\"./Command\");\n\nclass SetMedia extends Command {\n constructor({ id, command, ...rest }) {\n super({ id, command, ...rest });\n }\n\n get name() {\n return \"SetMedia\";\n }\n}\n\nmodule.exports = SetMedia;\n", "const Command = require(\"./Command\");\n\nclass GetUsers extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetUsers\";\n }\n}\n\nmodule.exports = GetUsers;\n", "module.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass OCRDocument extends Command {\n constructor({ type, image, ...rest }) {\n if (!image) throw new RequestError(\"document image is required\");\n super({ type, image, ...rest });\n }\n\n get name() {\n return \"OCRDocument\";\n }\n}\n\nmodule.exports = OCRDocument;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CheckInReservation extends Command {\n constructor({ id, ...rest }) {\n if (!id) throw new RequestError(\"reservation id is required\");\n super({ id, ...rest });\n }\n\n get name() {\n return \"CheckInReservation\";\n }\n}\n\nmodule.exports = CheckInReservation;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CheckOutReservation extends Command {\n constructor({ reservationId, userId, ...rest }) {\n if (!reservationId) throw new RequestError(\"reservation id is required\");\n if (!userId) throw new RequestError(\"user id is required\");\n super({ reservationId, userId, ...rest });\n }\n\n get name() {\n return \"CheckOutReservation\";\n }\n}\n\nmodule.exports = CheckOutReservation;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass SendEmail extends Command {\n constructor({ text, html, to, from, subject, ...rest }) {\n if (!to) throw new RequestError(\"email to is required\");\n if (!from) throw new RequestError(\"email from is required\");\n if (!subject) throw new RequestError(\"email subject is required\");\n if (!text && !html)\n throw new RequestError(\"email text or html is required\");\n\n super({ text, html, to, from, subject, ...rest });\n }\n\n get name() {\n return \"SendEmail\";\n }\n}\n\nmodule.exports = SendEmail;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass SendSMS extends Command {\n constructor({ id, body, to, from, media, ...rest }) {\n if (!body && !media)\n throw new RequestError(\"sms body or media is required\");\n if (!to) throw new RequestError(\"sms to is required\");\n if (!from) throw new RequestError(\"sms from is required\");\n super({ id, body, to, from, media, ...rest });\n }\n\n get name() {\n return \"SendSMS\";\n }\n}\n\nmodule.exports = SendSMS;\n", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const AppError = require(\"./AppError\");\n\nmodule.exports = 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", "const Errors = {\n AppError: require(\"./AppError\"),\n AuthenticationError: require(\"./AuthenticationError\"),\n AuthorizationError: require(\"./AuthorizationError\"),\n ConflictError: require(\"./ConflictError\"),\n DeviceCommError: require(\"./DeviceCommError\"),\n LoginError: require(\"./LoginError\"),\n NotFoundError: require(\"./NotFoundError\"),\n RequestError: require(\"./RequestError\"),\n SystemCommError: require(\"./SystemCommError\"),\n TokenExpiredError: require(\"./TokenExpiredError\"),\n UnprocessableRequestError: require(\"./UnprocessableRequestError\"),\n ValidationError: require(\"./ValidationError\"),\n};\n\nmodule.exports = Errors;\n", "const { RequestError } = require(\"../Errors\");\nconst Command = require(\"./Command\");\n\nclass GetReservations extends Command {\n constructor(options) {\n if (!options) throw new RequestError(\"options are required\");\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\nmodule.exports = GetReservations;\n", "const { RequestError } = require(\"../Errors\");\nconst Command = require(\"./Command\");\n\nclass GetReservationSpaceCategoryAvailabilities extends Command {\n constructor(options) {\n if (!options) throw new RequestError(\"options are required\");\n const { id, ...rest } = options;\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetReservationSpaceCategoryAvailabilities\";\n }\n}\n\nmodule.exports = GetReservationSpaceCategoryAvailabilities;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = GetRooms;\n", "const Command = require(\"./Command\");\n\nclass GetCategories extends Command {\n constructor({ id, ...rest }) {\n super({ id, ...rest });\n }\n\n get name() {\n return \"GetCategories\";\n }\n}\n\nmodule.exports = GetCategories;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CreateShortLink extends Command {\n constructor({ title, destination, ...rest }) {\n if (!title) throw new RequestError(\"title is required\");\n if (!destination) throw new RequestError(\"destination to is required\");\n super({ title, destination, ...rest });\n }\n\n get name() {\n return \"CreateShortLink\";\n }\n}\n\nmodule.exports = CreateShortLink;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass UpdateReservation extends Command {\n constructor({ id, ...rest }) {\n if (!id) throw new RequestError(\"document type is required\");\n super({ id, ...rest });\n }\n\n get name() {\n return \"UpdateReservation\";\n }\n}\n\nmodule.exports = UpdateReservation;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass 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 if (!id) throw new RequestError(\"document type is required\");\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\nmodule.exports = UpdateUser;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = GetMobileKey;\n", "const Command = require(\"./Command\");\n\nclass CreateImageUploadEndpoint extends Command {\n constructor({ id, expires, ...rest }) {\n super({ id, expires, ...rest });\n }\n\n get name() {\n return \"CreateImageUploadEndpoint\";\n }\n}\n\nmodule.exports = CreateImageUploadEndpoint;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = UploadImage;\n", "const Command = require(\"./Command\");\n\nclass GetProducts extends Command {\n constructor({ id, externalSystemId, ...rest }) {\n super({ id, externalSystemId, ...rest });\n }\n\n get name() {\n return \"GetProducts\";\n }\n}\n\nmodule.exports = GetProducts;\n", "const Command = require(\"./Command\");\n\nclass 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\nmodule.exports = SellProducts;\n", "const Command = require(\"./Command\");\nconst SetScene = require(\"./SetScene\");\nconst SetAlarm = require(\"./SetAlarm\");\nconst SetDimmer = require(\"./SetDimmer\");\nconst SetSwitch = require(\"./SetSwitch\");\nconst SetThermostat = require(\"./SetThermostat\");\nconst SetLock = require(\"./SetLock\");\nconst SetWindowCovering = require(\"./SetWindowCovering\");\nconst SetCourtesy = require(\"./SetCourtesy\");\nconst SetMedia = require(\"./SetMedia\");\nconst GetUsers = require(\"./GetUsers\");\nconst OCRDocument = require(\"./OCRDocument\");\nconst CheckInReservation = require(\"./CheckInReservation\");\nconst CheckOutReservation = require(\"./CheckOutReservation\");\nconst SendEmail = require(\"./SendEmail\");\nconst SendSMS = require(\"./SendSMS\");\nconst GetReservations = require(\"./GetReservations\");\nconst GetReservationSpaceCategoryAvailabilities = require(\"./GetReservationSpaceCategoryAvailabilities\");\nconst GetRooms = require(\"./GetRooms\");\nconst GetCategories = require(\"./GetCategories\");\nconst CreateShortLink = require(\"./CreateShortLink\");\nconst UpdateReservation = require(\"./UpdateReservation\");\nconst UpdateUser = require(\"./UpdateUser\");\nconst GetMobileKey = require(\"./GetMobileKey\");\nconst CreateImageUploadEndpoint = require(\"./CreateImageUploadEndpoint\");\nconst UploadImage = require(\"./UploadImage\");\nconst GetProducts = require(\"./GetProducts\");\nconst SellProducts = require(\"./SellProducts\");\n\nmodule.exports = {\n Command,\n SetScene,\n SetAlarm,\n SetDimmer,\n SetSwitch,\n SetThermostat,\n SetLock,\n SetWindowCovering,\n SetCourtesy,\n SetMedia,\n OCRDocument,\n GetUsers,\n CheckInReservation,\n CheckOutReservation,\n SendSMS,\n SendEmail,\n GetReservations,\n GetReservationSpaceCategoryAvailabilities,\n GetRooms,\n GetCategories,\n CreateShortLink,\n UpdateReservation,\n UpdateUser,\n GetMobileKey,\n CreateImageUploadEndpoint,\n UploadImage,\n GetProducts,\n SellProducts,\n};\n"],
5
+ "mappings": ";;;;;;;;AAAA;AAAA;AAAA,QAAM,YAAY;AAAA;AAAA,MAEhB,UAAU;AAAA,QACR,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,kBAAkB;AAAA,QAChB,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA;AAAA,MAEA,cAAc;AAAA,QACZ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,WAAW;AAAA,QACT,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA,MACA,QAAQ;AAAA,QACN,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACP,SAAS;AAAA,QACX;AAAA,MACF;AAAA;AAAA,MAEA,KA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AAa;AACnB,QAAM,eAAe;AACrB,QAAM,4BAA4B;AAClC,QAAM,cAAc;AACpB,QAAM,cAAc;AACpB,QAAM,eAAe;AAErB,WAAO,UAAU;AAAA,MACf;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -7767,6 +7767,11 @@ var require_reservation = __commonJS({
7767
7767
  space: {
7768
7768
  type: ["string", "null"]
7769
7769
  },
7770
+ previousSpace: {
7771
+ type: ["string", "null"],
7772
+ default: null,
7773
+ description: "Used when there was a space assigned and it changes"
7774
+ },
7770
7775
  status: {
7771
7776
  type: "string",
7772
7777
  enum: [