@kohost/api-client 3.0.0-beta.8 → 3.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Commands.js +28 -1
- package/dist/esm/Commands.js +28 -1
- package/dist/esm/Commands.js.map +3 -3
- package/package.json +1 -1
package/dist/cjs/Commands.js
CHANGED
|
@@ -581,6 +581,31 @@ var require_DiscoverRoomsCommand = __commonJS({
|
|
|
581
581
|
}
|
|
582
582
|
});
|
|
583
583
|
|
|
584
|
+
// src/Commands/CreateShortLinkCommand.js
|
|
585
|
+
var require_CreateShortLinkCommand = __commonJS({
|
|
586
|
+
"src/Commands/CreateShortLinkCommand.js"(exports2, module2) {
|
|
587
|
+
var Command = require_Command();
|
|
588
|
+
var RequestError = require_RequestError();
|
|
589
|
+
var CreateShortLinkCommand2 = class extends Command {
|
|
590
|
+
constructor({ title, destination }) {
|
|
591
|
+
if (!title)
|
|
592
|
+
throw new RequestError("title is required");
|
|
593
|
+
if (!destination)
|
|
594
|
+
throw new RequestError("destination to is required");
|
|
595
|
+
super({ title, destination });
|
|
596
|
+
}
|
|
597
|
+
get name() {
|
|
598
|
+
return "CreateShortLink";
|
|
599
|
+
}
|
|
600
|
+
get routingKey() {
|
|
601
|
+
return "comm.shortlink.create";
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
__name(CreateShortLinkCommand2, "CreateShortLinkCommand");
|
|
605
|
+
module2.exports = CreateShortLinkCommand2;
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
|
|
584
609
|
// src/Commands/index.js
|
|
585
610
|
var SetAlarmCommand = require_SetAlarmCommand();
|
|
586
611
|
var SetDimmerCommand = require_SetDimmerCommand();
|
|
@@ -597,6 +622,7 @@ var SendEmailCommand = require_SendEmailCommand();
|
|
|
597
622
|
var SendSMSCommand = require_SendSMSCommand();
|
|
598
623
|
var DiscoverReservationsCommand = require_DiscoverReservationsCommand();
|
|
599
624
|
var DiscoverRoomsCommand = require_DiscoverRoomsCommand();
|
|
625
|
+
var CreateShortLinkCommand = require_CreateShortLinkCommand();
|
|
600
626
|
module.exports = {
|
|
601
627
|
SetAlarmCommand,
|
|
602
628
|
SetDimmerCommand,
|
|
@@ -612,5 +638,6 @@ module.exports = {
|
|
|
612
638
|
SendSMSCommand,
|
|
613
639
|
SendEmailCommand,
|
|
614
640
|
DiscoverReservationsCommand,
|
|
615
|
-
DiscoverRoomsCommand
|
|
641
|
+
DiscoverRoomsCommand,
|
|
642
|
+
CreateShortLinkCommand
|
|
616
643
|
};
|
package/dist/esm/Commands.js
CHANGED
|
@@ -581,6 +581,31 @@ var require_DiscoverRoomsCommand = __commonJS({
|
|
|
581
581
|
}
|
|
582
582
|
});
|
|
583
583
|
|
|
584
|
+
// src/Commands/CreateShortLinkCommand.js
|
|
585
|
+
var require_CreateShortLinkCommand = __commonJS({
|
|
586
|
+
"src/Commands/CreateShortLinkCommand.js"(exports, module) {
|
|
587
|
+
var Command = require_Command();
|
|
588
|
+
var RequestError = require_RequestError();
|
|
589
|
+
var CreateShortLinkCommand = class extends Command {
|
|
590
|
+
constructor({ title, destination }) {
|
|
591
|
+
if (!title)
|
|
592
|
+
throw new RequestError("title is required");
|
|
593
|
+
if (!destination)
|
|
594
|
+
throw new RequestError("destination to is required");
|
|
595
|
+
super({ title, destination });
|
|
596
|
+
}
|
|
597
|
+
get name() {
|
|
598
|
+
return "CreateShortLink";
|
|
599
|
+
}
|
|
600
|
+
get routingKey() {
|
|
601
|
+
return "comm.shortlink.create";
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
__name(CreateShortLinkCommand, "CreateShortLinkCommand");
|
|
605
|
+
module.exports = CreateShortLinkCommand;
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
|
|
584
609
|
// src/Commands/index.js
|
|
585
610
|
var require_Commands = __commonJS({
|
|
586
611
|
"src/Commands/index.js"(exports, module) {
|
|
@@ -599,6 +624,7 @@ var require_Commands = __commonJS({
|
|
|
599
624
|
var SendSMSCommand = require_SendSMSCommand();
|
|
600
625
|
var DiscoverReservationsCommand = require_DiscoverReservationsCommand();
|
|
601
626
|
var DiscoverRoomsCommand = require_DiscoverRoomsCommand();
|
|
627
|
+
var CreateShortLinkCommand = require_CreateShortLinkCommand();
|
|
602
628
|
module.exports = {
|
|
603
629
|
SetAlarmCommand,
|
|
604
630
|
SetDimmerCommand,
|
|
@@ -614,7 +640,8 @@ var require_Commands = __commonJS({
|
|
|
614
640
|
SendSMSCommand,
|
|
615
641
|
SendEmailCommand,
|
|
616
642
|
DiscoverReservationsCommand,
|
|
617
|
-
DiscoverRoomsCommand
|
|
643
|
+
DiscoverRoomsCommand,
|
|
644
|
+
CreateShortLinkCommand
|
|
618
645
|
};
|
|
619
646
|
}
|
|
620
647
|
});
|
package/dist/esm/Commands.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/Commands/Command.js", "../../src/Commands/SetAlarmCommand.js", "../../src/Commands/SetDimmerCommand.js", "../../src/Commands/SetSwitchCommand.js", "../../src/Commands/SetThermostatCommand.js", "../../src/Commands/SetLockCommand.js", "../../src/Commands/SetSceneControllerCommand.js", "../../src/Commands/SetWindowCoveringCommand.js", "../../src/Commands/SetCourtesyCommand.js", "../../src/Commands/DiscoverUsersCommand.js", "../../src/Errors/AppError.js", "../../src/Errors/RequestError.js", "../../src/Commands/OCRDocumentCommand.js", "../../src/Commands/CheckInReservationCommand.js", "../../src/Commands/SendEmailCommand.js", "../../src/Commands/SendSMSCommand.js", "../../src/Errors/AuthenticationError.js", "../../src/Errors/AuthorizationError.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/DiscoverReservationsCommand.js", "../../src/Commands/DiscoverRoomsCommand.js", "../../src/Commands/index.js"],
|
|
4
|
-
"sourcesContent": ["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 get type() {\n return \"Command\";\n }\n\n get routingKey() {\n return \"\";\n }\n\n get exchange() {\n return \"Commands\";\n }\n\n get replyTo() {\n return \"amq.rabbitmq.reply-to\";\n }\n\n build() {\n return { data: { ...this.data } };\n }\n}\n\nmodule.exports = Command;\n", "const Command = require(\"./Command\");\n\nclass SetAlarmCommand extends Command {\n constructor({ id, zones, areas }) {\n super({ id, zones, areas });\n }\n\n get name() {\n return \"SetAlarm\";\n }\n\n get routingKey() {\n return `alarm.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetAlarmCommand;\n", "const Command = require(\"./Command\");\n\nclass SetDimmerCommand extends Command {\n constructor({ id, level }) {\n super({ id, level });\n }\n\n get name() {\n return \"SetDimmer\";\n }\n\n get routingKey() {\n return `dimmer.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetDimmerCommand;\n", "const Command = require(\"./Command\");\n\nclass SetSwitchCommand extends Command {\n constructor({ id, state }) {\n super({ id, state });\n }\n\n get name() {\n return \"SetSwitch\";\n }\n\n get routingKey() {\n return `switch.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetSwitchCommand;\n", "const Command = require(\"./Command\");\n\nclass SetThermostatCommand extends Command {\n constructor({ id, setpoints, hvacMode, fanMode }) {\n super({ id, setpoints, hvacMode, fanMode });\n }\n\n get name() {\n return \"SetThermostat\";\n }\n\n get routingKey() {\n return `thermostat.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetThermostatCommand;\n", "const Command = require(\"./Command\");\n\nclass SetLockCommand extends Command {\n constructor({ id, state }) {\n super({ id, state });\n }\n\n get name() {\n return \"SetLock\";\n }\n\n get routingKey() {\n return `lock.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetLockCommand;\n", "const Command = require(\"./Command\");\n\nclass SetSceneControllerCommand extends Command {\n constructor({ id, scene }) {\n super({ id, scene });\n }\n\n get name() {\n return \"SetSceneController\";\n }\n\n get routingKey() {\n return `sceneController.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetSceneControllerCommand;\n", "const Command = require(\"./Command\");\n\nclass SetWindowCoveringCommand extends Command {\n constructor({ id, position }) {\n super({ id, position });\n }\n\n get name() {\n return \"SetWindowCovering\";\n }\n\n get routingKey() {\n return `windowCovering.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetWindowCoveringCommand;\n", "const Command = require(\"./Command\");\n\nclass SetCourtesyCommand extends Command {\n constructor({ id, state }) {\n super({ id, state });\n }\n\n get name() {\n return \"SetCourtesy\";\n }\n\n get routingKey() {\n return `courtesy.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetCourtesyCommand;\n", "const Command = require(\"./Command\");\n\nclass DiscoverUsersCommand extends Command {\n constructor({ id }) {\n super({ id });\n }\n\n get name() {\n return \"DiscoverUsers\";\n }\n\n get routingKey() {\n return `users.${this.data.id}.get`;\n }\n\n get replyTo() {\n return \"system.response.users\";\n }\n}\n\nmodule.exports = DiscoverUsersCommand;\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 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 Object.setPrototypeOf(this, RequestError.prototype);\n }\n};\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass OCRDocumentCommand extends Command {\n constructor({ type, image }) {\n if (!type) throw new RequestError(\"document type is required\");\n if (!image) throw new RequestError(\"document image is required\");\n super({ type, image });\n }\n\n get name() {\n return \"OCRDocument\";\n }\n\n get routingKey() {\n return `document.${this.data.type}.ocr`;\n }\n}\n\nmodule.exports = OCRDocumentCommand;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CheckInReservationCommand extends Command {\n constructor({ id }) {\n if (!id) throw new RequestError(\"document type is required\");\n super({ id });\n }\n\n get name() {\n return \"CheckInReservation\";\n }\n\n get routingKey() {\n return `reservation.${this.data.id}.checkin`;\n }\n\n get replyTo() {\n return \"system.response.reservations\";\n }\n}\n\nmodule.exports = CheckInReservationCommand;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../errors/RequestError\");\n\nclass SendEmailCommand extends Command {\n constructor({ text, html, to, from, subject, eventData }) {\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, eventData });\n }\n\n get name() {\n return \"SendEmail\";\n }\n\n get routingKey() {\n return \"comm.email.send\";\n }\n}\n\nmodule.exports = SendEmailCommand;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass SendSMSCommand extends Command {\n constructor({ body, to, from, metaData }) {\n if (!body) throw new RequestError(\"sms body is required\");\n if (!to) throw new RequestError(\"sms to is required\");\n if (!from) throw new RequestError(\"sms from is required\");\n super({ body, to, from, metaData });\n }\n\n get name() {\n return \"SendSMS\";\n }\n\n get routingKey() {\n return \"comm.sms.send\";\n }\n}\n\nmodule.exports = SendSMSCommand;\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 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 Object.setPrototypeOf(this, AuthorizationError.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 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 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 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 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 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 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 Object.setPrototypeOf(this, ValidationError.prototype);\n }\n};\n", "const Errors = {\n AppError: require(\"./AppError\"),\n AuthenticationError: require(\"./AuthenticationError\"),\n AuthorizationError: require(\"./AuthorizationError\"),\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 DiscoverReservationsCommand extends Command {\n constructor(options) {\n if (!options) throw new RequestError(\"options are required\");\n const { id, startDate, endDate, status } = options;\n super({ id, startDate, endDate, status });\n }\n\n get name() {\n return \"DiscoverReservations\";\n }\n\n get routingKey() {\n return \"reservation.discover\";\n }\n\n get replyTo() {\n return \"system.response.reservations\";\n }\n}\n\nmodule.exports = DiscoverReservationsCommand;\n", "const Command = require(\"./Command\");\n\nclass DiscoverRoomsCommand extends Command {\n constructor({ id }) {\n super({ id });\n }\n\n get name() {\n return \"DiscoverRooms\";\n }\n\n get routingKey() {\n return `rooms.${this.data.id}.get`;\n }\n\n get replyTo() {\n return \"system.response.users\";\n }\n}\n\nmodule.exports = DiscoverRoomsCommand;\n", "const SetAlarmCommand = require(\"./SetAlarmCommand\");\nconst SetDimmerCommand = require(\"./SetDimmerCommand\");\nconst SetSwitchCommand = require(\"./SetSwitchCommand\");\nconst SetThermostatCommand = require(\"./SetThermostatCommand\");\nconst SetLockCommand = require(\"./SetLockCommand\");\nconst SetSceneControllerCommand = require(\"./SetSceneControllerCommand\");\nconst SetWindowCoveringCommand = require(\"./SetWindowCoveringCommand\");\nconst SetCourtesyCommand = require(\"./SetCourtesyCommand\");\nconst DiscoverUsersCommand = require(\"./DiscoverUsersCommand\");\nconst OCRDocumentCommand = require(\"./OCRDocumentCommand\");\nconst CheckInReservationCommand = require(\"./CheckInReservationCommand\");\nconst SendEmailCommand = require(\"./SendEmailCommand\");\nconst SendSMSCommand = require(\"./SendSMSCommand\");\nconst DiscoverReservationsCommand = require(\"./DiscoverReservationsCommand\");\nconst DiscoverRoomsCommand = require(\"./DiscoverRoomsCommand\");\n\nmodule.exports = {\n SetAlarmCommand,\n SetDimmerCommand,\n SetSwitchCommand,\n SetThermostatCommand,\n SetLockCommand,\n SetSceneControllerCommand,\n SetWindowCoveringCommand,\n SetCourtesyCommand,\n OCRDocumentCommand,\n DiscoverUsersCommand,\n CheckInReservationCommand,\n SendSMSCommand,\n SendEmailCommand,\n DiscoverReservationsCommand,\n DiscoverRoomsCommand,\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;AAAA;AAAA;AAAA,QAAM,UAAN,MAAc;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,IAAI,OAAO;AACT,cAAM,IAAI,MAAM,0BAA0B;AAAA,MAC5C;AAAA,MAEA,IAAI,OAAO;AACT,eAAO;AAAA,MACT;AAAA,MAEA,IAAI,aAAa;AACf,eAAO;AAAA,MACT;AAAA,MAEA,IAAI,WAAW;AACb,eAAO;AAAA,MACT;AAAA,MAEA,IAAI,UAAU;AACZ,eAAO;AAAA,MACT;AAAA,MAEA,QAAQ;AACN,eAAO,EAAE,MAAM,EAAE,GAAG,KAAK,KAAK,EAAE;AAAA,MAClC;AAAA,IACF;AAnCM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EA,IAAI,OAAO;AACT,eAAO;AAAA,MACT;AAAA,MAEA,IAAI,aAAa;AACf,eAAO;AAAA,MACT;AAAA,MAEA,IAAI,UAAU;AACZ,eAAO;AAAA,MACT;AAAA,IACF;AAlBM;AAoBN,WAAO,UAAU;AAAA;AAAA;;;ACvBjB;AAAA;AAAA,QAAM,UAAU;AAEhB,QAAM,uBAAN,cAAmC,QAAQ;AAAA,MACzC,YAAY,EAAE,GAAG,GAAG;AAClB,cAAM,EAAE,GAAG,CAAC;AAAA,MACd;AAAA,MAEA,IAAI,OAAO;AACT,eAAO;AAAA,MACT;AAAA,MAEA,IAAI,aAAa;AACf,eAAO,SAAS,KAAK,KAAK;AAAA,MAC5B;AAAA,MAEA,IAAI,UAAU;AACZ,eAAO;AAAA,MACT;AAAA,IACF;AAhBM;AAkBN,WAAO,UAAU;AAAA;AAAA;;;ACpBjB;AAAA;AAAA,QAAM,kBAAkB;AACxB,QAAM,mBAAmB;AACzB,QAAM,mBAAmB;AACzB,QAAM,uBAAuB;AAC7B,QAAM,iBAAiB;AACvB,QAAM,4BAA4B;AAClC,QAAM,2BAA2B;AACjC,QAAM,qBAAqB;AAC3B,QAAM,uBAAuB;AAC7B,QAAM,qBAAqB;AAC3B,QAAM,4BAA4B;AAClC,QAAM,mBAAmB;AACzB,QAAM,iBAAiB;AACvB,QAAM,8BAA8B;AACpC,QAAM,uBAAuB;
|
|
3
|
+
"sources": ["../../src/Commands/Command.js", "../../src/Commands/SetAlarmCommand.js", "../../src/Commands/SetDimmerCommand.js", "../../src/Commands/SetSwitchCommand.js", "../../src/Commands/SetThermostatCommand.js", "../../src/Commands/SetLockCommand.js", "../../src/Commands/SetSceneControllerCommand.js", "../../src/Commands/SetWindowCoveringCommand.js", "../../src/Commands/SetCourtesyCommand.js", "../../src/Commands/DiscoverUsersCommand.js", "../../src/Errors/AppError.js", "../../src/Errors/RequestError.js", "../../src/Commands/OCRDocumentCommand.js", "../../src/Commands/CheckInReservationCommand.js", "../../src/Commands/SendEmailCommand.js", "../../src/Commands/SendSMSCommand.js", "../../src/Errors/AuthenticationError.js", "../../src/Errors/AuthorizationError.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/DiscoverReservationsCommand.js", "../../src/Commands/DiscoverRoomsCommand.js", "../../src/Commands/CreateShortLinkCommand.js", "../../src/Commands/index.js"],
|
|
4
|
+
"sourcesContent": ["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 get type() {\n return \"Command\";\n }\n\n get routingKey() {\n return \"\";\n }\n\n get exchange() {\n return \"Commands\";\n }\n\n get replyTo() {\n return \"amq.rabbitmq.reply-to\";\n }\n\n build() {\n return { data: { ...this.data } };\n }\n}\n\nmodule.exports = Command;\n", "const Command = require(\"./Command\");\n\nclass SetAlarmCommand extends Command {\n constructor({ id, zones, areas }) {\n super({ id, zones, areas });\n }\n\n get name() {\n return \"SetAlarm\";\n }\n\n get routingKey() {\n return `alarm.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetAlarmCommand;\n", "const Command = require(\"./Command\");\n\nclass SetDimmerCommand extends Command {\n constructor({ id, level }) {\n super({ id, level });\n }\n\n get name() {\n return \"SetDimmer\";\n }\n\n get routingKey() {\n return `dimmer.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetDimmerCommand;\n", "const Command = require(\"./Command\");\n\nclass SetSwitchCommand extends Command {\n constructor({ id, state }) {\n super({ id, state });\n }\n\n get name() {\n return \"SetSwitch\";\n }\n\n get routingKey() {\n return `switch.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetSwitchCommand;\n", "const Command = require(\"./Command\");\n\nclass SetThermostatCommand extends Command {\n constructor({ id, setpoints, hvacMode, fanMode }) {\n super({ id, setpoints, hvacMode, fanMode });\n }\n\n get name() {\n return \"SetThermostat\";\n }\n\n get routingKey() {\n return `thermostat.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetThermostatCommand;\n", "const Command = require(\"./Command\");\n\nclass SetLockCommand extends Command {\n constructor({ id, state }) {\n super({ id, state });\n }\n\n get name() {\n return \"SetLock\";\n }\n\n get routingKey() {\n return `lock.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetLockCommand;\n", "const Command = require(\"./Command\");\n\nclass SetSceneControllerCommand extends Command {\n constructor({ id, scene }) {\n super({ id, scene });\n }\n\n get name() {\n return \"SetSceneController\";\n }\n\n get routingKey() {\n return `sceneController.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetSceneControllerCommand;\n", "const Command = require(\"./Command\");\n\nclass SetWindowCoveringCommand extends Command {\n constructor({ id, position }) {\n super({ id, position });\n }\n\n get name() {\n return \"SetWindowCovering\";\n }\n\n get routingKey() {\n return `windowCovering.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetWindowCoveringCommand;\n", "const Command = require(\"./Command\");\n\nclass SetCourtesyCommand extends Command {\n constructor({ id, state }) {\n super({ id, state });\n }\n\n get name() {\n return \"SetCourtesy\";\n }\n\n get routingKey() {\n return `courtesy.${this.data.id}.set`;\n }\n\n get replyTo() {\n return \"system.response.devices\";\n }\n}\n\nmodule.exports = SetCourtesyCommand;\n", "const Command = require(\"./Command\");\n\nclass DiscoverUsersCommand extends Command {\n constructor({ id }) {\n super({ id });\n }\n\n get name() {\n return \"DiscoverUsers\";\n }\n\n get routingKey() {\n return `users.${this.data.id}.get`;\n }\n\n get replyTo() {\n return \"system.response.users\";\n }\n}\n\nmodule.exports = DiscoverUsersCommand;\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 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 Object.setPrototypeOf(this, RequestError.prototype);\n }\n};\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass OCRDocumentCommand extends Command {\n constructor({ type, image }) {\n if (!type) throw new RequestError(\"document type is required\");\n if (!image) throw new RequestError(\"document image is required\");\n super({ type, image });\n }\n\n get name() {\n return \"OCRDocument\";\n }\n\n get routingKey() {\n return `document.${this.data.type}.ocr`;\n }\n}\n\nmodule.exports = OCRDocumentCommand;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CheckInReservationCommand extends Command {\n constructor({ id }) {\n if (!id) throw new RequestError(\"document type is required\");\n super({ id });\n }\n\n get name() {\n return \"CheckInReservation\";\n }\n\n get routingKey() {\n return `reservation.${this.data.id}.checkin`;\n }\n\n get replyTo() {\n return \"system.response.reservations\";\n }\n}\n\nmodule.exports = CheckInReservationCommand;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../errors/RequestError\");\n\nclass SendEmailCommand extends Command {\n constructor({ text, html, to, from, subject, eventData }) {\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, eventData });\n }\n\n get name() {\n return \"SendEmail\";\n }\n\n get routingKey() {\n return \"comm.email.send\";\n }\n}\n\nmodule.exports = SendEmailCommand;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass SendSMSCommand extends Command {\n constructor({ body, to, from, metaData }) {\n if (!body) throw new RequestError(\"sms body is required\");\n if (!to) throw new RequestError(\"sms to is required\");\n if (!from) throw new RequestError(\"sms from is required\");\n super({ body, to, from, metaData });\n }\n\n get name() {\n return \"SendSMS\";\n }\n\n get routingKey() {\n return \"comm.sms.send\";\n }\n}\n\nmodule.exports = SendSMSCommand;\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 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 Object.setPrototypeOf(this, AuthorizationError.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 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 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 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 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 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 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 Object.setPrototypeOf(this, ValidationError.prototype);\n }\n};\n", "const Errors = {\n AppError: require(\"./AppError\"),\n AuthenticationError: require(\"./AuthenticationError\"),\n AuthorizationError: require(\"./AuthorizationError\"),\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 DiscoverReservationsCommand extends Command {\n constructor(options) {\n if (!options) throw new RequestError(\"options are required\");\n const { id, startDate, endDate, status } = options;\n super({ id, startDate, endDate, status });\n }\n\n get name() {\n return \"DiscoverReservations\";\n }\n\n get routingKey() {\n return \"reservation.discover\";\n }\n\n get replyTo() {\n return \"system.response.reservations\";\n }\n}\n\nmodule.exports = DiscoverReservationsCommand;\n", "const Command = require(\"./Command\");\n\nclass DiscoverRoomsCommand extends Command {\n constructor({ id }) {\n super({ id });\n }\n\n get name() {\n return \"DiscoverRooms\";\n }\n\n get routingKey() {\n return `rooms.${this.data.id}.get`;\n }\n\n get replyTo() {\n return \"system.response.users\";\n }\n}\n\nmodule.exports = DiscoverRoomsCommand;\n", "const Command = require(\"./Command\");\nconst RequestError = require(\"../Errors/RequestError\");\n\nclass CreateShortLinkCommand extends Command {\n constructor({ title, destination }) {\n if (!title) throw new RequestError(\"title is required\");\n if (!destination) throw new RequestError(\"destination to is required\");\n super({ title, destination });\n }\n\n get name() {\n return \"CreateShortLink\";\n }\n\n get routingKey() {\n return \"comm.shortlink.create\";\n }\n}\n\nmodule.exports = CreateShortLinkCommand;\n", "const SetAlarmCommand = require(\"./SetAlarmCommand\");\nconst SetDimmerCommand = require(\"./SetDimmerCommand\");\nconst SetSwitchCommand = require(\"./SetSwitchCommand\");\nconst SetThermostatCommand = require(\"./SetThermostatCommand\");\nconst SetLockCommand = require(\"./SetLockCommand\");\nconst SetSceneControllerCommand = require(\"./SetSceneControllerCommand\");\nconst SetWindowCoveringCommand = require(\"./SetWindowCoveringCommand\");\nconst SetCourtesyCommand = require(\"./SetCourtesyCommand\");\nconst DiscoverUsersCommand = require(\"./DiscoverUsersCommand\");\nconst OCRDocumentCommand = require(\"./OCRDocumentCommand\");\nconst CheckInReservationCommand = require(\"./CheckInReservationCommand\");\nconst SendEmailCommand = require(\"./SendEmailCommand\");\nconst SendSMSCommand = require(\"./SendSMSCommand\");\nconst DiscoverReservationsCommand = require(\"./DiscoverReservationsCommand\");\nconst DiscoverRoomsCommand = require(\"./DiscoverRoomsCommand\");\nconst CreateShortLinkCommand = require(\"./CreateShortLinkCommand\");\n\nmodule.exports = {\n SetAlarmCommand,\n SetDimmerCommand,\n SetSwitchCommand,\n SetThermostatCommand,\n SetLockCommand,\n SetSceneControllerCommand,\n SetWindowCoveringCommand,\n SetCourtesyCommand,\n OCRDocumentCommand,\n DiscoverUsersCommand,\n CheckInReservationCommand,\n SendSMSCommand,\n SendEmailCommand,\n DiscoverReservationsCommand,\n DiscoverRoomsCommand,\n CreateShortLinkCommand,\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAAA;AAAA;AAAA,QAAM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