@kohost/api-client 3.3.2 → 3.3.4
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/Events/ReservationCheckedIn.js +5 -0
- package/dist/cjs/Events/ReservationCheckedOut.js +5 -0
- package/dist/cjs/Events/ReservationSpaceChanged.js +5 -0
- package/dist/cjs/schemas/mediaSource.json +8 -1
- package/dist/esm/Events.js +12 -0
- package/dist/esm/Events.js.map +2 -2
- package/dist/esm/Models.js +8 -1
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +8 -1
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/Events/ReservationCheckedIn.d.ts.map +1 -1
- package/dist/types/Events/ReservationCheckedOut.d.ts.map +1 -1
- package/dist/types/Events/ReservationSpaceChanged.d.ts.map +1 -1
- package/dist/types/schemas/MediaSourceSchema.d.ts +1 -1
- package/dist/types/schemas/RoomSchema.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const Event = require("./Event");
|
|
2
|
+
const exchanges = require("../defs/amqpExchanges");
|
|
2
3
|
|
|
3
4
|
class ReservationCheckedIn extends Event {
|
|
4
5
|
constructor(reservation, context) {
|
|
@@ -12,6 +13,10 @@ class ReservationCheckedIn extends Event {
|
|
|
12
13
|
static get entity() {
|
|
13
14
|
return "reservation";
|
|
14
15
|
}
|
|
16
|
+
|
|
17
|
+
static get exchange() {
|
|
18
|
+
return exchanges.AppEvents.name;
|
|
19
|
+
}
|
|
15
20
|
}
|
|
16
21
|
|
|
17
22
|
module.exports = ReservationCheckedIn;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const Event = require("./Event");
|
|
2
|
+
const exchanges = require("../defs/amqpExchanges");
|
|
2
3
|
|
|
3
4
|
class ReservationCheckedOut extends Event {
|
|
4
5
|
constructor(reservation, context) {
|
|
@@ -12,6 +13,10 @@ class ReservationCheckedOut extends Event {
|
|
|
12
13
|
static get entity() {
|
|
13
14
|
return "reservation";
|
|
14
15
|
}
|
|
16
|
+
|
|
17
|
+
static get exchange() {
|
|
18
|
+
return exchanges.AppEvents.name;
|
|
19
|
+
}
|
|
15
20
|
}
|
|
16
21
|
|
|
17
22
|
module.exports = ReservationCheckedOut;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const Event = require("./Event");
|
|
2
|
+
const exchanges = require("../defs/amqpExchanges");
|
|
2
3
|
|
|
3
4
|
class ReservationSpaceChanged extends Event {
|
|
4
5
|
constructor(reservation, context) {
|
|
@@ -12,6 +13,10 @@ class ReservationSpaceChanged extends Event {
|
|
|
12
13
|
static get entity() {
|
|
13
14
|
return "reservation";
|
|
14
15
|
}
|
|
16
|
+
|
|
17
|
+
static get exchange() {
|
|
18
|
+
return exchanges.AppEvents.name;
|
|
19
|
+
}
|
|
15
20
|
}
|
|
16
21
|
|
|
17
22
|
module.exports = ReservationSpaceChanged;
|
|
@@ -42,7 +42,14 @@
|
|
|
42
42
|
},
|
|
43
43
|
"remote": {
|
|
44
44
|
"type": "string",
|
|
45
|
-
"enum": [
|
|
45
|
+
"enum": [
|
|
46
|
+
"MR22GA",
|
|
47
|
+
"XRT260",
|
|
48
|
+
"XRT270",
|
|
49
|
+
"HOF-16K 1.2",
|
|
50
|
+
"219863500",
|
|
51
|
+
"SONIFI"
|
|
52
|
+
]
|
|
46
53
|
},
|
|
47
54
|
"name": {
|
|
48
55
|
"$ref": "definitions.json#/definitions/name"
|
package/dist/esm/Events.js
CHANGED
|
@@ -589,6 +589,7 @@ var require_ApplicationOutOfUse = __commonJS({
|
|
|
589
589
|
var require_ReservationCheckedIn = __commonJS({
|
|
590
590
|
"src/Events/ReservationCheckedIn.js"(exports, module) {
|
|
591
591
|
var Event = require_Event();
|
|
592
|
+
var exchanges = require_amqpExchanges();
|
|
592
593
|
var ReservationCheckedIn = class extends Event {
|
|
593
594
|
constructor(reservation, context) {
|
|
594
595
|
super(reservation, context);
|
|
@@ -599,6 +600,9 @@ var require_ReservationCheckedIn = __commonJS({
|
|
|
599
600
|
static get entity() {
|
|
600
601
|
return "reservation";
|
|
601
602
|
}
|
|
603
|
+
static get exchange() {
|
|
604
|
+
return exchanges.AppEvents.name;
|
|
605
|
+
}
|
|
602
606
|
};
|
|
603
607
|
module.exports = ReservationCheckedIn;
|
|
604
608
|
}
|
|
@@ -608,6 +612,7 @@ var require_ReservationCheckedIn = __commonJS({
|
|
|
608
612
|
var require_ReservationCheckedOut = __commonJS({
|
|
609
613
|
"src/Events/ReservationCheckedOut.js"(exports, module) {
|
|
610
614
|
var Event = require_Event();
|
|
615
|
+
var exchanges = require_amqpExchanges();
|
|
611
616
|
var ReservationCheckedOut = class extends Event {
|
|
612
617
|
constructor(reservation, context) {
|
|
613
618
|
super(reservation, context);
|
|
@@ -618,6 +623,9 @@ var require_ReservationCheckedOut = __commonJS({
|
|
|
618
623
|
static get entity() {
|
|
619
624
|
return "reservation";
|
|
620
625
|
}
|
|
626
|
+
static get exchange() {
|
|
627
|
+
return exchanges.AppEvents.name;
|
|
628
|
+
}
|
|
621
629
|
};
|
|
622
630
|
module.exports = ReservationCheckedOut;
|
|
623
631
|
}
|
|
@@ -627,6 +635,7 @@ var require_ReservationCheckedOut = __commonJS({
|
|
|
627
635
|
var require_ReservationSpaceChanged = __commonJS({
|
|
628
636
|
"src/Events/ReservationSpaceChanged.js"(exports, module) {
|
|
629
637
|
var Event = require_Event();
|
|
638
|
+
var exchanges = require_amqpExchanges();
|
|
630
639
|
var ReservationSpaceChanged = class extends Event {
|
|
631
640
|
constructor(reservation, context) {
|
|
632
641
|
super(reservation, context);
|
|
@@ -637,6 +646,9 @@ var require_ReservationSpaceChanged = __commonJS({
|
|
|
637
646
|
static get entity() {
|
|
638
647
|
return "reservation";
|
|
639
648
|
}
|
|
649
|
+
static get exchange() {
|
|
650
|
+
return exchanges.AppEvents.name;
|
|
651
|
+
}
|
|
640
652
|
};
|
|
641
653
|
module.exports = ReservationSpaceChanged;
|
|
642
654
|
}
|
package/dist/esm/Events.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/defs/amqpExchanges.js", "../../src/Events/Event.js", "../../src/Events/SystemGatewayUpdated.js", "../../src/Events/SystemThermostatUpdated.js", "../../src/Events/SystemDimmerUpdated.js", "../../src/Events/SystemSwitchUpdated.js", "../../src/Events/SystemLockUpdated.js", "../../src/Events/SystemCameraUpdated.js", "../../src/Events/SystemWindowCoveringUpdated.js", "../../src/Events/SystemMediaSourceUpdated.js", "../../src/Events/SystemCourtesyUpdated.js", "../../src/Events/SystemAlarmUpdated.js", "../../src/Events/SystemMotionSensorUpdated.js", "../../src/Events/SystemPropertyUpdated.js", "../../src/Events/SystemOrganizationUpdated.js", "../../src/Events/SystemCredentialUpdated.js", "../../src/Events/SceneSet.js", "../../src/Events/SystemUserUpdated.js", "../../src/Events/SystemSpaceUpdated.js", "../../src/Events/SystemCategoryUpdated.js", "../../src/Events/SystemProductUpdated.js", "../../src/Events/SystemReservationUpdated.js", "../../src/Events/SMSEvent.js", "../../src/Events/EmailEvent.js", "../../src/Events/ShortLinkCreated.js", "../../src/Events/ApplicationInUse.js", "../../src/Events/ApplicationOutOfUse.js", "../../src/Events/ReservationCheckedIn.js", "../../src/Events/ReservationCheckedOut.js", "../../src/Events/ReservationSpaceChanged.js", "../../src/Events/SystemEntityDeleted.js", "../../src/Events/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 Event {\n constructor(data, context = {}) {\n this.data = [];\n this.context = context;\n if (!data) throw new Error(\"Event data is required\");\n if (typeof data !== \"object\" && !Array.isArray(data))\n throw new Error(\"Event data must be an object or array\");\n\n if (!Array.isArray(data)) this.data = [data];\n else this.data = data;\n }\n\n get organizationId() {\n return this.context.organizationId || \"*\";\n }\n\n get propertyId() {\n return this.context.propertyId || \"*\";\n }\n\n static get type() {\n return \"Event\";\n }\n\n static get exchange() {\n return exchanges.DriverEvents.name;\n }\n\n static get entity() {\n return \"\";\n }\n\n build() {\n return { data: { ...this.data } };\n }\n\n get routingKey() {\n return `${this.organizationId}.${this.propertyId}.${this.constructor.entity}.${this.constructor.name}`;\n }\n}\n\nmodule.exports = Event;\n", "const Event = require(\"./Event\");\n\nclass SystemGatewayUpdated extends Event {\n constructor(gateway, context) {\n super(gateway, context);\n }\n\n static get name() {\n return \"SystemGatewayUpdated\";\n }\n\n static get entity() {\n return \"gateway\";\n }\n}\n\nmodule.exports = SystemGatewayUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemThermostatUpdate extends Event {\n constructor(thermostat, context) {\n super(thermostat, context);\n }\n\n static get name() {\n return \"SystemThermostatUpdated\";\n }\n\n static get entity() {\n return \"thermostat\";\n }\n}\n\nmodule.exports = SystemThermostatUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemDimmerUpdated extends Event {\n constructor(dimmer, context) {\n super(dimmer, context);\n }\n\n static get name() {\n return \"SystemDimmerUpdated\";\n }\n\n static get entity() {\n return \"dimmer\";\n }\n}\n\nmodule.exports = SystemDimmerUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemSwitchUpdate extends Event {\n constructor(_switch, context) {\n super(_switch, context);\n }\n\n static get name() {\n return \"SystemSwitchUpdated\";\n }\n\n static get entity() {\n return \"switch\";\n }\n}\n\nmodule.exports = SystemSwitchUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemLockUpdated extends Event {\n constructor(lock, context) {\n super(lock, context);\n }\n\n static get name() {\n return \"SystemLockUpdated\";\n }\n\n static get entity() {\n return \"lock\";\n }\n}\n\nmodule.exports = SystemLockUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemCameraUpdated extends Event {\n constructor(camera, context) {\n super(camera, context);\n }\n\n static get name() {\n return \"SystemCameraUpdated\";\n }\n\n static get entity() {\n return \"camera\";\n }\n}\n\nmodule.exports = SystemCameraUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemWindowCoveringUpdate extends Event {\n constructor(wc, context) {\n super(wc, context);\n }\n\n static get name() {\n return \"SystemWindowCoveringUpdated\";\n }\n\n static get entity() {\n return \"windowCovering\";\n }\n}\n\nmodule.exports = SystemWindowCoveringUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemMediaSourceUpdated extends Event {\n constructor(mediaSource, context) {\n super(mediaSource, context);\n }\n\n static get name() {\n return \"SystemMediaSourceUpdated\";\n }\n\n static get entity() {\n return \"mediaSource\";\n }\n}\n\nmodule.exports = SystemMediaSourceUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemCourtesyUpdated extends Event {\n constructor(courtesy, context) {\n super(courtesy, context);\n }\n\n static get name() {\n return \"SystemCourtesyUpdated\";\n }\n\n static get entity() {\n return \"courtesy\";\n }\n}\n\nmodule.exports = SystemCourtesyUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemAlarmUpdated extends Event {\n constructor(alarm, context) {\n super(alarm, context);\n }\n\n static get name() {\n return \"SystemAlarmUpdated\";\n }\n\n static get entity() {\n return \"alarm\";\n }\n}\n\nmodule.exports = SystemAlarmUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemMotionSensorUpdated extends Event {\n constructor(motion, context) {\n super(motion, context);\n }\n\n static get name() {\n return \"SystemMotionSensorUpdated\";\n }\n\n static get entity() {\n return \"motionSensor\";\n }\n}\n\nmodule.exports = SystemMotionSensorUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemPropertyUpdate extends Event {\n constructor(property, context) {\n super(property, context);\n }\n\n static get name() {\n return \"SystemPropertyUpdated\";\n }\n\n static get entity() {\n return \"property\";\n }\n}\n\nmodule.exports = SystemPropertyUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemOrganizationUpdated extends Event {\n constructor(organization, context) {\n super(organization, context);\n }\n\n static get name() {\n return \"SystemOrganizationUpdated\";\n }\n\n static get entity() {\n return \"organization\";\n }\n}\n\nmodule.exports = SystemOrganizationUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemCredentialUpdated extends Event {\n constructor(cred, context) {\n super(cred, context);\n }\n\n static get name() {\n return \"SystemCredentialUpdated\";\n }\n\n static get entity() {\n return \"credential\";\n }\n}\n\nmodule.exports = SystemCredentialUpdated;\n", "const Event = require(\"./Event\");\n\nclass SceneSet extends Event {\n constructor(scene, context) {\n super(scene, context);\n }\n\n static get name() {\n return \"SceneSet\";\n }\n\n static get entity() {\n return \"scene\";\n }\n}\n\nmodule.exports = SceneSet;\n", "const Event = require(\"./Event\");\n\nclass SystemUserUpdate extends Event {\n constructor(user, context) {\n super(user, context);\n }\n\n static get name() {\n return \"SystemUserUpdated\";\n }\n\n static get entity() {\n return \"user\";\n }\n}\n\nmodule.exports = SystemUserUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemSpaceUpdate 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\nmodule.exports = SystemSpaceUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemCategoryUpdated extends Event {\n constructor(category, context) {\n super(category, context);\n }\n\n static get name() {\n return \"SystemCategoryUpdated\";\n }\n\n static get entity() {\n return \"category\";\n }\n}\n\nmodule.exports = SystemCategoryUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemProductUpdated extends Event {\n constructor(product, context) {\n super(product, context);\n }\n\n static get name() {\n return \"SystemProductUpdated\";\n }\n\n static get entity() {\n return \"product\";\n }\n}\n\nmodule.exports = SystemProductUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemReservationUpdate extends Event {\n constructor(reservation, context) {\n super(reservation, context);\n }\n\n static get name() {\n return \"SystemReservationUpdated\";\n }\n\n static get entity() {\n return \"reservation\";\n }\n}\n\nmodule.exports = SystemReservationUpdate;\n", "const Event = require(\"./Event\");\n\nclass SMSEvent extends Event {\n constructor(sms, context) {\n super(sms, context);\n }\n\n static get name() {\n return \"SMSEvent\";\n }\n\n static get entity() {\n return \"smsMessage\";\n }\n}\n\nmodule.exports = SMSEvent;\n", "const Event = require(\"./Event\");\n\nclass EmailEvent extends Event {\n constructor(email, context) {\n super(email, context);\n }\n\n static get name() {\n return \"EmailEvent\";\n }\n\n static get entity() {\n return \"emailMessage\";\n }\n}\n\nmodule.exports = EmailEvent;\n", "const Event = require(\"./Event\");\n\nclass ShortLinkCreated extends Event {\n constructor(shortLink, context) {\n super(shortLink, context);\n }\n\n static get name() {\n return \"ShortLinkCreated\";\n }\n\n static get entity() {\n return \"shortLink\";\n }\n}\n\nmodule.exports = ShortLinkCreated;\n", "const Event = require(\"./Event\");\nconst exchanges = require(\"../defs/amqpExchanges\");\n\nclass ApplicationInUse extends Event {\n constructor(data = {}, context) {\n super(data, context);\n }\n\n static get name() {\n return \"ApplicationInUse\";\n }\n\n static get entity() {\n return \"app\";\n }\n\n static get exchange() {\n return exchanges.AppEvents.name;\n }\n}\n\nmodule.exports = ApplicationInUse;\n", "const exchanges = require(\"../defs/amqpExchanges\");\nconst Event = require(\"./Event\");\n\nclass ApplicationOutOfUse extends Event {\n constructor(data = {}, context = {}) {\n super(data, context);\n }\n\n static get name() {\n return \"ApplicationOutOfUse\";\n }\n\n static get entity() {\n return \"app\";\n }\n\n static get exchange() {\n return exchanges.AppEvents.name;\n }\n}\n\nmodule.exports = ApplicationOutOfUse;\n", "const Event = require(\"./Event\");\n\nclass ReservationCheckedIn extends Event {\n constructor(reservation, context) {\n super(reservation, context);\n }\n\n static get name() {\n return \"ReservationCheckedIn\";\n }\n\n static get entity() {\n return \"reservation\";\n }\n}\n\nmodule.exports = ReservationCheckedIn;\n", "const Event = require(\"./Event\");\n\nclass ReservationCheckedOut extends Event {\n constructor(reservation, context) {\n super(reservation, context);\n }\n\n static get name() {\n return \"ReservationCheckedOut\";\n }\n\n static get entity() {\n return \"reservation\";\n }\n}\n\nmodule.exports = ReservationCheckedOut;\n", "const Event = require(\"./Event\");\n\nclass ReservationSpaceChanged extends Event {\n constructor(reservation, context) {\n super(reservation, context);\n }\n\n static get name() {\n return \"ReservationSpaceChanged\";\n }\n\n static get entity() {\n return \"reservation\";\n }\n}\n\nmodule.exports = ReservationSpaceChanged;\n", "const Event = require(\"./Event\");\n\nclass SystemEntityDeleted extends Event {\n constructor(data, context) {\n super(data, context);\n }\n\n static get name() {\n return \"SystemEntityDeleted\";\n }\n\n static get entity() {\n return \"entity\";\n }\n}\n\nmodule.exports = SystemEntityDeleted;\n", "const Event = require(\"./Event\");\nconst SystemGatewayUpdated = require(\"./SystemGatewayUpdated\");\nconst SystemThermostatUpdated = require(\"./SystemThermostatUpdated\");\nconst SystemDimmerUpdated = require(\"./SystemDimmerUpdated\");\nconst SystemSwitchUpdated = require(\"./SystemSwitchUpdated\");\nconst SystemLockUpdated = require(\"./SystemLockUpdated\");\nconst SystemCameraUpdated = require(\"./SystemCameraUpdated\");\nconst SystemWindowCoveringUpdated = require(\"./SystemWindowCoveringUpdated\");\nconst SystemMediaSourceUpdated = require(\"./SystemMediaSourceUpdated\");\nconst SystemCourtesyUpdated = require(\"./SystemCourtesyUpdated\");\nconst SystemAlarmUpdated = require(\"./SystemAlarmUpdated\");\nconst SystemMotionSensorUpdated = require(\"./SystemMotionSensorUpdated\");\nconst SystemPropertyUpdated = require(\"./SystemPropertyUpdated\");\nconst SystemOrganizationUpdated = require(\"./SystemOrganizationUpdated\");\nconst SystemCredentialUpdated = require(\"./SystemCredentialUpdated\");\n\nconst SceneSetEvent = require(\"./SceneSet\");\n\nconst SystemUserUpdated = require(\"./SystemUserUpdated\");\nconst SystemSpaceUpdated = require(\"./SystemSpaceUpdated\");\nconst SystemCategoryUpdated = require(\"./SystemCategoryUpdated\");\nconst SystemProductUpdated = require(\"./SystemProductUpdated\");\n\nconst SystemReservationUpdated = require(\"./SystemReservationUpdated\");\n\nconst SMSEvent = require(\"./SMSEvent\");\nconst EmailEvent = require(\"./EmailEvent\");\nconst ShortLinkCreated = require(\"./ShortLinkCreated\");\n\nconst ApplicationInUse = require(\"./ApplicationInUse\");\nconst ApplicationOutOfUse = require(\"./ApplicationOutOfUse\");\n\nconst ReservationCheckedIn = require(\"./ReservationCheckedIn\");\nconst ReservationCheckedOut = require(\"./ReservationCheckedOut\");\nconst ReservationSpaceChanged = require(\"./ReservationSpaceChanged\");\n\n// Delete Events\nconst SystemEntityDeleted = require(\"./SystemEntityDeleted\");\n\nmodule.exports = {\n Event,\n SystemAlarmUpdated,\n SystemCredentialUpdated,\n SystemGatewayUpdated,\n SystemThermostatUpdated,\n SystemDimmerUpdated,\n SystemSwitchUpdated,\n SystemLockUpdated,\n SystemCameraUpdated,\n SystemWindowCoveringUpdated,\n SystemMediaSourceUpdated,\n SystemMotionSensorUpdated,\n SystemCourtesyUpdated,\n SystemUserUpdated,\n SystemSpaceUpdated,\n SystemCategoryUpdated,\n SystemProductUpdated,\n SystemPropertyUpdated,\n SystemOrganizationUpdated,\n SystemReservationUpdated,\n SystemEntityDeleted,\n SceneSetEvent,\n SMSEvent,\n EmailEvent,\n ShortLinkCreated,\n ApplicationInUse,\n ApplicationOutOfUse,\n ReservationCheckedIn,\n ReservationCheckedOut,\n ReservationSpaceChanged,\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;AAAA;AAAA;AAAA,QAAM,YAAY;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esContent": ["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 Event {\n constructor(data, context = {}) {\n this.data = [];\n this.context = context;\n if (!data) throw new Error(\"Event data is required\");\n if (typeof data !== \"object\" && !Array.isArray(data))\n throw new Error(\"Event data must be an object or array\");\n\n if (!Array.isArray(data)) this.data = [data];\n else this.data = data;\n }\n\n get organizationId() {\n return this.context.organizationId || \"*\";\n }\n\n get propertyId() {\n return this.context.propertyId || \"*\";\n }\n\n static get type() {\n return \"Event\";\n }\n\n static get exchange() {\n return exchanges.DriverEvents.name;\n }\n\n static get entity() {\n return \"\";\n }\n\n build() {\n return { data: { ...this.data } };\n }\n\n get routingKey() {\n return `${this.organizationId}.${this.propertyId}.${this.constructor.entity}.${this.constructor.name}`;\n }\n}\n\nmodule.exports = Event;\n", "const Event = require(\"./Event\");\n\nclass SystemGatewayUpdated extends Event {\n constructor(gateway, context) {\n super(gateway, context);\n }\n\n static get name() {\n return \"SystemGatewayUpdated\";\n }\n\n static get entity() {\n return \"gateway\";\n }\n}\n\nmodule.exports = SystemGatewayUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemThermostatUpdate extends Event {\n constructor(thermostat, context) {\n super(thermostat, context);\n }\n\n static get name() {\n return \"SystemThermostatUpdated\";\n }\n\n static get entity() {\n return \"thermostat\";\n }\n}\n\nmodule.exports = SystemThermostatUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemDimmerUpdated extends Event {\n constructor(dimmer, context) {\n super(dimmer, context);\n }\n\n static get name() {\n return \"SystemDimmerUpdated\";\n }\n\n static get entity() {\n return \"dimmer\";\n }\n}\n\nmodule.exports = SystemDimmerUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemSwitchUpdate extends Event {\n constructor(_switch, context) {\n super(_switch, context);\n }\n\n static get name() {\n return \"SystemSwitchUpdated\";\n }\n\n static get entity() {\n return \"switch\";\n }\n}\n\nmodule.exports = SystemSwitchUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemLockUpdated extends Event {\n constructor(lock, context) {\n super(lock, context);\n }\n\n static get name() {\n return \"SystemLockUpdated\";\n }\n\n static get entity() {\n return \"lock\";\n }\n}\n\nmodule.exports = SystemLockUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemCameraUpdated extends Event {\n constructor(camera, context) {\n super(camera, context);\n }\n\n static get name() {\n return \"SystemCameraUpdated\";\n }\n\n static get entity() {\n return \"camera\";\n }\n}\n\nmodule.exports = SystemCameraUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemWindowCoveringUpdate extends Event {\n constructor(wc, context) {\n super(wc, context);\n }\n\n static get name() {\n return \"SystemWindowCoveringUpdated\";\n }\n\n static get entity() {\n return \"windowCovering\";\n }\n}\n\nmodule.exports = SystemWindowCoveringUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemMediaSourceUpdated extends Event {\n constructor(mediaSource, context) {\n super(mediaSource, context);\n }\n\n static get name() {\n return \"SystemMediaSourceUpdated\";\n }\n\n static get entity() {\n return \"mediaSource\";\n }\n}\n\nmodule.exports = SystemMediaSourceUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemCourtesyUpdated extends Event {\n constructor(courtesy, context) {\n super(courtesy, context);\n }\n\n static get name() {\n return \"SystemCourtesyUpdated\";\n }\n\n static get entity() {\n return \"courtesy\";\n }\n}\n\nmodule.exports = SystemCourtesyUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemAlarmUpdated extends Event {\n constructor(alarm, context) {\n super(alarm, context);\n }\n\n static get name() {\n return \"SystemAlarmUpdated\";\n }\n\n static get entity() {\n return \"alarm\";\n }\n}\n\nmodule.exports = SystemAlarmUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemMotionSensorUpdated extends Event {\n constructor(motion, context) {\n super(motion, context);\n }\n\n static get name() {\n return \"SystemMotionSensorUpdated\";\n }\n\n static get entity() {\n return \"motionSensor\";\n }\n}\n\nmodule.exports = SystemMotionSensorUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemPropertyUpdate extends Event {\n constructor(property, context) {\n super(property, context);\n }\n\n static get name() {\n return \"SystemPropertyUpdated\";\n }\n\n static get entity() {\n return \"property\";\n }\n}\n\nmodule.exports = SystemPropertyUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemOrganizationUpdated extends Event {\n constructor(organization, context) {\n super(organization, context);\n }\n\n static get name() {\n return \"SystemOrganizationUpdated\";\n }\n\n static get entity() {\n return \"organization\";\n }\n}\n\nmodule.exports = SystemOrganizationUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemCredentialUpdated extends Event {\n constructor(cred, context) {\n super(cred, context);\n }\n\n static get name() {\n return \"SystemCredentialUpdated\";\n }\n\n static get entity() {\n return \"credential\";\n }\n}\n\nmodule.exports = SystemCredentialUpdated;\n", "const Event = require(\"./Event\");\n\nclass SceneSet extends Event {\n constructor(scene, context) {\n super(scene, context);\n }\n\n static get name() {\n return \"SceneSet\";\n }\n\n static get entity() {\n return \"scene\";\n }\n}\n\nmodule.exports = SceneSet;\n", "const Event = require(\"./Event\");\n\nclass SystemUserUpdate extends Event {\n constructor(user, context) {\n super(user, context);\n }\n\n static get name() {\n return \"SystemUserUpdated\";\n }\n\n static get entity() {\n return \"user\";\n }\n}\n\nmodule.exports = SystemUserUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemSpaceUpdate 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\nmodule.exports = SystemSpaceUpdate;\n", "const Event = require(\"./Event\");\n\nclass SystemCategoryUpdated extends Event {\n constructor(category, context) {\n super(category, context);\n }\n\n static get name() {\n return \"SystemCategoryUpdated\";\n }\n\n static get entity() {\n return \"category\";\n }\n}\n\nmodule.exports = SystemCategoryUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemProductUpdated extends Event {\n constructor(product, context) {\n super(product, context);\n }\n\n static get name() {\n return \"SystemProductUpdated\";\n }\n\n static get entity() {\n return \"product\";\n }\n}\n\nmodule.exports = SystemProductUpdated;\n", "const Event = require(\"./Event\");\n\nclass SystemReservationUpdate extends Event {\n constructor(reservation, context) {\n super(reservation, context);\n }\n\n static get name() {\n return \"SystemReservationUpdated\";\n }\n\n static get entity() {\n return \"reservation\";\n }\n}\n\nmodule.exports = SystemReservationUpdate;\n", "const Event = require(\"./Event\");\n\nclass SMSEvent extends Event {\n constructor(sms, context) {\n super(sms, context);\n }\n\n static get name() {\n return \"SMSEvent\";\n }\n\n static get entity() {\n return \"smsMessage\";\n }\n}\n\nmodule.exports = SMSEvent;\n", "const Event = require(\"./Event\");\n\nclass EmailEvent extends Event {\n constructor(email, context) {\n super(email, context);\n }\n\n static get name() {\n return \"EmailEvent\";\n }\n\n static get entity() {\n return \"emailMessage\";\n }\n}\n\nmodule.exports = EmailEvent;\n", "const Event = require(\"./Event\");\n\nclass ShortLinkCreated extends Event {\n constructor(shortLink, context) {\n super(shortLink, context);\n }\n\n static get name() {\n return \"ShortLinkCreated\";\n }\n\n static get entity() {\n return \"shortLink\";\n }\n}\n\nmodule.exports = ShortLinkCreated;\n", "const Event = require(\"./Event\");\nconst exchanges = require(\"../defs/amqpExchanges\");\n\nclass ApplicationInUse extends Event {\n constructor(data = {}, context) {\n super(data, context);\n }\n\n static get name() {\n return \"ApplicationInUse\";\n }\n\n static get entity() {\n return \"app\";\n }\n\n static get exchange() {\n return exchanges.AppEvents.name;\n }\n}\n\nmodule.exports = ApplicationInUse;\n", "const exchanges = require(\"../defs/amqpExchanges\");\nconst Event = require(\"./Event\");\n\nclass ApplicationOutOfUse extends Event {\n constructor(data = {}, context = {}) {\n super(data, context);\n }\n\n static get name() {\n return \"ApplicationOutOfUse\";\n }\n\n static get entity() {\n return \"app\";\n }\n\n static get exchange() {\n return exchanges.AppEvents.name;\n }\n}\n\nmodule.exports = ApplicationOutOfUse;\n", "const Event = require(\"./Event\");\nconst exchanges = require(\"../defs/amqpExchanges\");\n\nclass ReservationCheckedIn extends Event {\n constructor(reservation, context) {\n super(reservation, context);\n }\n\n static get name() {\n return \"ReservationCheckedIn\";\n }\n\n static get entity() {\n return \"reservation\";\n }\n\n static get exchange() {\n return exchanges.AppEvents.name;\n }\n}\n\nmodule.exports = ReservationCheckedIn;\n", "const Event = require(\"./Event\");\nconst exchanges = require(\"../defs/amqpExchanges\");\n\nclass ReservationCheckedOut extends Event {\n constructor(reservation, context) {\n super(reservation, context);\n }\n\n static get name() {\n return \"ReservationCheckedOut\";\n }\n\n static get entity() {\n return \"reservation\";\n }\n\n static get exchange() {\n return exchanges.AppEvents.name;\n }\n}\n\nmodule.exports = ReservationCheckedOut;\n", "const Event = require(\"./Event\");\nconst exchanges = require(\"../defs/amqpExchanges\");\n\nclass ReservationSpaceChanged extends Event {\n constructor(reservation, context) {\n super(reservation, context);\n }\n\n static get name() {\n return \"ReservationSpaceChanged\";\n }\n\n static get entity() {\n return \"reservation\";\n }\n\n static get exchange() {\n return exchanges.AppEvents.name;\n }\n}\n\nmodule.exports = ReservationSpaceChanged;\n", "const Event = require(\"./Event\");\n\nclass SystemEntityDeleted extends Event {\n constructor(data, context) {\n super(data, context);\n }\n\n static get name() {\n return \"SystemEntityDeleted\";\n }\n\n static get entity() {\n return \"entity\";\n }\n}\n\nmodule.exports = SystemEntityDeleted;\n", "const Event = require(\"./Event\");\nconst SystemGatewayUpdated = require(\"./SystemGatewayUpdated\");\nconst SystemThermostatUpdated = require(\"./SystemThermostatUpdated\");\nconst SystemDimmerUpdated = require(\"./SystemDimmerUpdated\");\nconst SystemSwitchUpdated = require(\"./SystemSwitchUpdated\");\nconst SystemLockUpdated = require(\"./SystemLockUpdated\");\nconst SystemCameraUpdated = require(\"./SystemCameraUpdated\");\nconst SystemWindowCoveringUpdated = require(\"./SystemWindowCoveringUpdated\");\nconst SystemMediaSourceUpdated = require(\"./SystemMediaSourceUpdated\");\nconst SystemCourtesyUpdated = require(\"./SystemCourtesyUpdated\");\nconst SystemAlarmUpdated = require(\"./SystemAlarmUpdated\");\nconst SystemMotionSensorUpdated = require(\"./SystemMotionSensorUpdated\");\nconst SystemPropertyUpdated = require(\"./SystemPropertyUpdated\");\nconst SystemOrganizationUpdated = require(\"./SystemOrganizationUpdated\");\nconst SystemCredentialUpdated = require(\"./SystemCredentialUpdated\");\n\nconst SceneSetEvent = require(\"./SceneSet\");\n\nconst SystemUserUpdated = require(\"./SystemUserUpdated\");\nconst SystemSpaceUpdated = require(\"./SystemSpaceUpdated\");\nconst SystemCategoryUpdated = require(\"./SystemCategoryUpdated\");\nconst SystemProductUpdated = require(\"./SystemProductUpdated\");\n\nconst SystemReservationUpdated = require(\"./SystemReservationUpdated\");\n\nconst SMSEvent = require(\"./SMSEvent\");\nconst EmailEvent = require(\"./EmailEvent\");\nconst ShortLinkCreated = require(\"./ShortLinkCreated\");\n\nconst ApplicationInUse = require(\"./ApplicationInUse\");\nconst ApplicationOutOfUse = require(\"./ApplicationOutOfUse\");\n\nconst ReservationCheckedIn = require(\"./ReservationCheckedIn\");\nconst ReservationCheckedOut = require(\"./ReservationCheckedOut\");\nconst ReservationSpaceChanged = require(\"./ReservationSpaceChanged\");\n\n// Delete Events\nconst SystemEntityDeleted = require(\"./SystemEntityDeleted\");\n\nmodule.exports = {\n Event,\n SystemAlarmUpdated,\n SystemCredentialUpdated,\n SystemGatewayUpdated,\n SystemThermostatUpdated,\n SystemDimmerUpdated,\n SystemSwitchUpdated,\n SystemLockUpdated,\n SystemCameraUpdated,\n SystemWindowCoveringUpdated,\n SystemMediaSourceUpdated,\n SystemMotionSensorUpdated,\n SystemCourtesyUpdated,\n SystemUserUpdated,\n SystemSpaceUpdated,\n SystemCategoryUpdated,\n SystemProductUpdated,\n SystemPropertyUpdated,\n SystemOrganizationUpdated,\n SystemReservationUpdated,\n SystemEntityDeleted,\n SceneSetEvent,\n SMSEvent,\n EmailEvent,\n ShortLinkCreated,\n ApplicationInUse,\n ApplicationOutOfUse,\n ReservationCheckedIn,\n ReservationCheckedOut,\n ReservationSpaceChanged,\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,QAAN,MAAY;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AAA,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,MACA;AAAA,IACF;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/Models.js
CHANGED
|
@@ -10382,7 +10382,14 @@ var require_mediaSource = __commonJS({
|
|
|
10382
10382
|
},
|
|
10383
10383
|
remote: {
|
|
10384
10384
|
type: "string",
|
|
10385
|
-
enum: [
|
|
10385
|
+
enum: [
|
|
10386
|
+
"MR22GA",
|
|
10387
|
+
"XRT260",
|
|
10388
|
+
"XRT270",
|
|
10389
|
+
"HOF-16K 1.2",
|
|
10390
|
+
"219863500",
|
|
10391
|
+
"SONIFI"
|
|
10392
|
+
]
|
|
10386
10393
|
},
|
|
10387
10394
|
name: {
|
|
10388
10395
|
$ref: "definitions.json#/definitions/name"
|