freeathome-local-api-client 0.2.0-pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +47 -0
  3. package/dist/bundle.js +2 -0
  4. package/dist/bundle.js.map +1 -0
  5. package/dist/src/index.d.ts +3 -0
  6. package/dist/src/index.d.ts.map +1 -0
  7. package/dist/src/model/channel.d.ts +20 -0
  8. package/dist/src/model/channel.d.ts.map +1 -0
  9. package/dist/src/model/configuration.d.ts +10 -0
  10. package/dist/src/model/configuration.d.ts.map +1 -0
  11. package/dist/src/model/device-list.d.ts +9 -0
  12. package/dist/src/model/device-list.d.ts.map +1 -0
  13. package/dist/src/model/device-response.d.ts +12 -0
  14. package/dist/src/model/device-response.d.ts.map +1 -0
  15. package/dist/src/model/device.d.ts +17 -0
  16. package/dist/src/model/device.d.ts.map +1 -0
  17. package/dist/src/model/devices.d.ts +10 -0
  18. package/dist/src/model/devices.d.ts.map +1 -0
  19. package/dist/src/model/error.d.ts +11 -0
  20. package/dist/src/model/error.d.ts.map +1 -0
  21. package/dist/src/model/floors.d.ts +13 -0
  22. package/dist/src/model/floors.d.ts.map +1 -0
  23. package/dist/src/model/get-data-point-response.d.ts +11 -0
  24. package/dist/src/model/get-data-point-response.d.ts.map +1 -0
  25. package/dist/src/model/in-out-put.d.ts +10 -0
  26. package/dist/src/model/in-out-put.d.ts.map +1 -0
  27. package/dist/src/model/index.d.ts +20 -0
  28. package/dist/src/model/index.d.ts.map +1 -0
  29. package/dist/src/model/rooms.d.ts +11 -0
  30. package/dist/src/model/rooms.d.ts.map +1 -0
  31. package/dist/src/model/scenes-triggered.d.ts +20 -0
  32. package/dist/src/model/scenes-triggered.d.ts.map +1 -0
  33. package/dist/src/model/set-data-point-response.d.ts +11 -0
  34. package/dist/src/model/set-data-point-response.d.ts.map +1 -0
  35. package/dist/src/model/sys-ap.d.ts +18 -0
  36. package/dist/src/model/sys-ap.d.ts.map +1 -0
  37. package/dist/src/model/users.d.ts +17 -0
  38. package/dist/src/model/users.d.ts.map +1 -0
  39. package/dist/src/model/validation/channel-ti.d.ts +3 -0
  40. package/dist/src/model/validation/channel-ti.d.ts.map +1 -0
  41. package/dist/src/model/validation/configuration-ti.d.ts +3 -0
  42. package/dist/src/model/validation/configuration-ti.d.ts.map +1 -0
  43. package/dist/src/model/validation/device-list-ti.d.ts +3 -0
  44. package/dist/src/model/validation/device-list-ti.d.ts.map +1 -0
  45. package/dist/src/model/validation/device-response-ti.d.ts +3 -0
  46. package/dist/src/model/validation/device-response-ti.d.ts.map +1 -0
  47. package/dist/src/model/validation/device-ti.d.ts +3 -0
  48. package/dist/src/model/validation/device-ti.d.ts.map +1 -0
  49. package/dist/src/model/validation/devices-ti.d.ts +3 -0
  50. package/dist/src/model/validation/devices-ti.d.ts.map +1 -0
  51. package/dist/src/model/validation/error-ti.d.ts +3 -0
  52. package/dist/src/model/validation/error-ti.d.ts.map +1 -0
  53. package/dist/src/model/validation/floors-ti.d.ts +3 -0
  54. package/dist/src/model/validation/floors-ti.d.ts.map +1 -0
  55. package/dist/src/model/validation/get-data-point-response-ti.d.ts +3 -0
  56. package/dist/src/model/validation/get-data-point-response-ti.d.ts.map +1 -0
  57. package/dist/src/model/validation/in-out-put-ti.d.ts +3 -0
  58. package/dist/src/model/validation/in-out-put-ti.d.ts.map +1 -0
  59. package/dist/src/model/validation/index.d.ts +18 -0
  60. package/dist/src/model/validation/index.d.ts.map +1 -0
  61. package/dist/src/model/validation/rooms-ti.d.ts +3 -0
  62. package/dist/src/model/validation/rooms-ti.d.ts.map +1 -0
  63. package/dist/src/model/validation/scenes-triggered-ti.d.ts +3 -0
  64. package/dist/src/model/validation/scenes-triggered-ti.d.ts.map +1 -0
  65. package/dist/src/model/validation/set-data-point-response-ti.d.ts +3 -0
  66. package/dist/src/model/validation/set-data-point-response-ti.d.ts.map +1 -0
  67. package/dist/src/model/validation/sys-ap-ti.d.ts +3 -0
  68. package/dist/src/model/validation/sys-ap-ti.d.ts.map +1 -0
  69. package/dist/src/model/validation/users-ti.d.ts +3 -0
  70. package/dist/src/model/validation/users-ti.d.ts.map +1 -0
  71. package/dist/src/model/validation/virtual-device-response-ti.d.ts +3 -0
  72. package/dist/src/model/validation/virtual-device-response-ti.d.ts.map +1 -0
  73. package/dist/src/model/validation/websocket-message-ti.d.ts +3 -0
  74. package/dist/src/model/validation/websocket-message-ti.d.ts.map +1 -0
  75. package/dist/src/model/validator.d.ts +57 -0
  76. package/dist/src/model/validator.d.ts.map +1 -0
  77. package/dist/src/model/virtual-device-response.d.ts +15 -0
  78. package/dist/src/model/virtual-device-response.d.ts.map +1 -0
  79. package/dist/src/model/virtual-device.d.ts +58 -0
  80. package/dist/src/model/virtual-device.d.ts.map +1 -0
  81. package/dist/src/model/websocket-message.d.ts +21 -0
  82. package/dist/src/model/websocket-message.d.ts.map +1 -0
  83. package/dist/src/system-access-point.d.ts +96 -0
  84. package/dist/src/system-access-point.d.ts.map +1 -0
  85. package/package.json +68 -0
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Describes the ScenesTriggered object that is included in the @see WebSocketMessage.
3
+ *
4
+ * @interface
5
+ */
6
+ export interface ScenesTriggered {
7
+ [key: string]: {
8
+ channels: {
9
+ [key: string]: {
10
+ outputs: {
11
+ [key: string]: {
12
+ value: string;
13
+ pairingID: number;
14
+ };
15
+ };
16
+ };
17
+ };
18
+ };
19
+ }
20
+ //# sourceMappingURL=scenes-triggered.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scenes-triggered.d.ts","sourceRoot":"","sources":["../../../src/model/scenes-triggered.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,QAAQ,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb,OAAO,EAAE;oBACP,CAAC,GAAG,EAAE,MAAM,GAAG;wBACb,KAAK,EAAE,MAAM,CAAC;wBACd,SAAS,EAAE,MAAM,CAAC;qBACnB,CAAC;iBACH,CAAC;aACH,CAAC;SACH,CAAC;KACH,CAAC;CACH"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Describes a response to a request setting a new value for a data point.
3
+ *
4
+ * @interface
5
+ */
6
+ export interface SetDataPointResponse {
7
+ [key: string]: {
8
+ [key: string]: string;
9
+ };
10
+ }
11
+ //# sourceMappingURL=set-data-point-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-data-point-response.d.ts","sourceRoot":"","sources":["../../../src/model/set-data-point-response.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH"}
@@ -0,0 +1,18 @@
1
+ import { Devices } from "./devices";
2
+ import { Floors } from "./floors";
3
+ import { Users } from "./users";
4
+ /**
5
+ * Describes a system access point
6
+ *
7
+ * @interface
8
+ */
9
+ export interface SysAP {
10
+ devices: Devices;
11
+ floorplan: {
12
+ floors: Floors;
13
+ };
14
+ sysapName: string;
15
+ users: Users;
16
+ error?: Error;
17
+ }
18
+ //# sourceMappingURL=sys-ap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sys-ap.d.ts","sourceRoot":"","sources":["../../../src/model/sys-ap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;GAIG;AACH,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC;CACf"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Describes the user collection
3
+ *
4
+ * @interface
5
+ */
6
+ export interface Users {
7
+ [key: string]: {
8
+ enabled: boolean;
9
+ flags: Array<string>;
10
+ grantedPermissions: Array<string>;
11
+ jid: string;
12
+ name: string;
13
+ requestedPermissions: Array<string>;
14
+ role: string;
15
+ };
16
+ }
17
+ //# sourceMappingURL=users.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/model/users.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,KAAK;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,OAAO,EAAE,OAAO,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACrB,kBAAkB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAClC,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,oBAAoB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const ChannelTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=channel-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channel-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/channel-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAwB,MAAM,sBAAsB,CAAC;AAoBxE,eAAO,MAAM,gBAAgB,EAAE,UAE9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const ConfigurationTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=configuration-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/configuration-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMnE,eAAO,MAAM,sBAAsB,EAAE,UAEpC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const DeviceListTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=device-list-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-list-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/device-list-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAM1E,eAAO,MAAM,mBAAmB,EAAE,UAEjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const DeviceResponseTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=device-response-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-response-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/device-response-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQnE,eAAO,MAAM,uBAAuB,EAAE,UAErC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const DeviceTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=device-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/device-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAexE,eAAO,MAAM,eAAe,EAAE,UAE7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const DevicesTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=devices-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"devices-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/devices-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMnE,eAAO,MAAM,gBAAgB,EAAE,UAE9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const ErrorTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=error-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/error-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQzD,eAAO,MAAM,cAAc,EAAE,UAE5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const FloorsTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=floors-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floors-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/floors-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AASnE,eAAO,MAAM,eAAe,EAAE,UAE7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const GetDataPointResponseTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=get-data-point-response-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-data-point-response-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/get-data-point-response-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQ1E,eAAO,MAAM,6BAA6B,EAAE,UAE3C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const InOutPutTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=in-out-put-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"in-out-put-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/in-out-put-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAO9D,eAAO,MAAM,iBAAiB,EAAE,UAE/B,CAAC"}
@@ -0,0 +1,18 @@
1
+ export { ChannelTypeSuite } from "./channel-ti";
2
+ export { ConfigurationTypeSuite } from "./configuration-ti";
3
+ export { DeviceTypeSuite } from "./device-ti";
4
+ export { DeviceListTypeSuite } from "./device-list-ti";
5
+ export { DeviceResponseTypeSuite } from "./device-response-ti";
6
+ export { DevicesTypeSuite } from "./devices-ti";
7
+ export { ErrorTypeSuite } from "./error-ti";
8
+ export { FloorsTypeSuite } from "./floors-ti";
9
+ export { GetDataPointResponseTypeSuite } from "./get-data-point-response-ti";
10
+ export { InOutPutTypeSuite } from "./in-out-put-ti";
11
+ export { RoomsTypeSuite } from "./rooms-ti";
12
+ export { ScenesTriggeredTypeSuite } from "./scenes-triggered-ti";
13
+ export { SetDataPointResponseTypeSuite } from "./set-data-point-response-ti";
14
+ export { SysApTypeSuite } from "./sys-ap-ti";
15
+ export { UsersTypeSuite } from "./users-ti";
16
+ export { VirtualDeviceResponseTypeSuite } from "./virtual-device-response-ti";
17
+ export { WebSocketMessageTypeSuite } from "./websocket-message-ti";
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const RoomsTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=rooms-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rooms-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/rooms-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQnE,eAAO,MAAM,cAAc,EAAE,UAE5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const ScenesTriggeredTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=scenes-triggered-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scenes-triggered-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/scenes-triggered-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAiBnE,eAAO,MAAM,wBAAwB,EAAE,UAEtC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const SetDataPointResponseTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=set-data-point-response-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-data-point-response-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/set-data-point-response-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQnE,eAAO,MAAM,6BAA6B,EAAE,UAE3C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const SysApTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=sys-ap-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sys-ap-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/sys-ap-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAY9D,eAAO,MAAM,cAAc,EAAE,UAE5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const UsersTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=users-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/users-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAc1E,eAAO,MAAM,cAAc,EAAE,UAE5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const VirtualDeviceResponseTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=virtual-device-response-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtual-device-response-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/virtual-device-response-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAYnE,eAAO,MAAM,8BAA8B,EAAE,UAE5C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITypeSuite } from "ts-interface-checker";
2
+ export declare const WebSocketMessageTypeSuite: ITypeSuite;
3
+ //# sourceMappingURL=websocket-message-ti.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"websocket-message-ti.d.ts","sourceRoot":"","sources":["../../../../src/model/validation/websocket-message-ti.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAgB1E,eAAO,MAAM,yBAAyB,EAAE,UAEvC,CAAC"}
@@ -0,0 +1,57 @@
1
+ import { WebSocketMessage as Message } from "./websocket-message";
2
+ import { Configuration as Config } from "./configuration";
3
+ import { DeviceList as DevList } from "./device-list";
4
+ import { DeviceResponse as DevResponse } from "./device-response";
5
+ import { GetDataPointResponse as GetResponse } from "./get-data-point-response";
6
+ import { SetDataPointResponse as SetResponse } from "./set-data-point-response";
7
+ import { VirtualDeviceResponse as VDeviceResponse } from "./virtual-device-response";
8
+ /**
9
+ * Determines whether the specified object is a web socket message.
10
+ * @param obj The object to be tested
11
+ * @param verbose Determines whether validation errors shall be logged. Default value is false.
12
+ * @returns A boolean value indicating whether the specified object is a @see Message.
13
+ */
14
+ export declare function isWebSocketMessage(obj: unknown, verbose?: boolean): obj is Message;
15
+ /**
16
+ * Determines whether the specified object is a configuration.
17
+ * @param obj The object to be tested
18
+ * @param verbose Determines whether validation errors shall be logged. Default value is false.
19
+ * @returns A boolean value indicating whether the specified object is a @see Config.
20
+ */
21
+ export declare function isConfiguration(obj: unknown, verbose?: boolean): obj is Config;
22
+ /**
23
+ * Determines whether the specified object is a device list.
24
+ * @param obj The object to be tested
25
+ * @param verbose Determines whether validation errors shall be logged. Default value is false.
26
+ * @returns A boolean value indicating whether the specified object is a @see DevList.
27
+ */
28
+ export declare function isDeviceList(obj: unknown, verbose?: boolean): obj is DevList;
29
+ /**
30
+ * Determines whether the specified object is a device response.
31
+ * @param obj The object to be tested
32
+ * @param verbose Determines whether validation errors shall be logged. Default value is false.
33
+ * @returns A boolean value indicating whether the specified object is a @see DevResponse.
34
+ */
35
+ export declare function isDeviceResponse(obj: unknown, verbose?: boolean): obj is DevResponse;
36
+ /**
37
+ * Determines whether the specified object is a valid response to a get data point request.
38
+ * @param obj The object to be tested
39
+ * @param verbose Determines whether validation errors shall be logged. Default value is false.
40
+ * @returns A boolean value indicating whether the specified object is a @see GetResponse.
41
+ */
42
+ export declare function isGetDataPointResponse(obj: unknown, verbose?: boolean): obj is GetResponse;
43
+ /**
44
+ * Determines whether the specified object is a valid response to a set data point request.
45
+ * @param obj The object to be tested
46
+ * @param verbose Determines whether validation errors shall be logged. Default value is false.
47
+ * @returns A boolean value indicating whether the specified object is a @see SetResponse.
48
+ */
49
+ export declare function isSetDataPointResponse(obj: unknown, verbose?: boolean): obj is SetResponse;
50
+ /**
51
+ * Determines whether the specified object is a virtual device response.
52
+ * @param obj The object to be tested
53
+ * @param verbose Determines whether validation errors shall be logged. Default value is false.
54
+ * @returns A boolean value indicating whether the specified object is a @see VDeviceResponse.
55
+ */
56
+ export declare function isVirtualDeviceResponse(obj: unknown, verbose?: boolean): obj is VDeviceResponse;
57
+ //# sourceMappingURL=validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../../src/model/validator.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,oBAAoB,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,oBAAoB,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,qBAAqB,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAwDrF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,OAAO,EACZ,OAAO,UAAQ,GACd,GAAG,IAAI,OAAO,CAEhB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,UAAQ,GAAG,GAAG,IAAI,MAAM,CAE5E;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,UAAQ,GAAG,GAAG,IAAI,OAAO,CAE1E;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,OAAO,EACZ,OAAO,UAAQ,GACd,GAAG,IAAI,WAAW,CAEpB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,OAAO,EACZ,OAAO,UAAQ,GACd,GAAG,IAAI,WAAW,CAEpB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,OAAO,EACZ,OAAO,UAAQ,GACd,GAAG,IAAI,WAAW,CAEpB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,OAAO,EACZ,OAAO,UAAQ,GACd,GAAG,IAAI,eAAe,CAExB"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Describes a response to a request creating a new virtual device.
3
+ *
4
+ * @interface
5
+ */
6
+ export interface VirtualDeviceResponse {
7
+ [key: string]: {
8
+ devices: {
9
+ [key: string]: {
10
+ serial: string;
11
+ };
12
+ };
13
+ };
14
+ }
15
+ //# sourceMappingURL=virtual-device-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtual-device-response.d.ts","sourceRoot":"","sources":["../../../src/model/virtual-device-response.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,OAAO,EAAE;YACP,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb,MAAM,EAAE,MAAM,CAAC;aAChB,CAAC;SACH,CAAC;KACH,CAAC;CACH"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Defines a virtual device
3
+ *
4
+ * @interface
5
+ */
6
+ export interface VirtualDevice {
7
+ type: VirtualDeviceType;
8
+ properties?: {
9
+ ttl?: string;
10
+ displayname?: string;
11
+ };
12
+ }
13
+ /**
14
+ * Defines the possible types of virtual devices
15
+ *
16
+ * @enum
17
+ */
18
+ export declare enum VirtualDeviceType {
19
+ BinarySensor = "BinarySensor",
20
+ BlindActuator = "BlindActuator",
21
+ SwitchingActuator = "SwitchingActuator",
22
+ CeilingFanActuator = "CeilingFanActuator",
23
+ RTC = "RTC",
24
+ DimActuator = "DimActuator",
25
+ EVCharging = "evcharging",
26
+ WindowSensor = "WindowSensor",
27
+ SimpleDoorlock = "simple_doorlock",
28
+ ShutterActuator = "ShutterActuator",
29
+ WeatherStation = "WeatherStation",
30
+ WeatherTemperatureSensor = "Weather-TemperatureSensor",
31
+ WeatherWindSensor = "Weather-WindSensor",
32
+ WeatherBrightnessSensor = "Weather-BrightnessSensor",
33
+ WeatherRainSensor = "Weather-RainSensor",
34
+ WindowActuator = "WindowActuator",
35
+ CODetector = "CODetector",
36
+ FireDetector = "FireDetector",
37
+ KNXSwitchSensor = "KNX-SwitchSensor",
38
+ MediaPlayer = "MediaPlayer",
39
+ EnergyBattery = "EnergyBattery",
40
+ EnergyInverter = "EnergyInverter",
41
+ EnergyMeter = "EnergyMeter",
42
+ EnergyInverterBattery = "EnergyInverterBattery",
43
+ EnergyInverterMeter = "EnergyInverterMeter",
44
+ EnergyInverterMeterBattery = "EnergyInverterMeterBattery",
45
+ EnergyMeterBattery = "EnergyMeterBattery",
46
+ AirQualityCO2 = "AirQualityCO2",
47
+ AirQualityCO = "AirQualityCO",
48
+ AirQualityFull = "AirQualityFull",
49
+ AirQualityHumidity = "AirQualityHumidity",
50
+ AirQualityNO2 = "AirQualityNO2",
51
+ AirQualityO3 = "AirQualityO3",
52
+ AirQualityPM10 = "AirQualityPM10",
53
+ AirQualityPM25 = "AirQualityPM25",
54
+ AirQualityPressure = "AirQualityPressure",
55
+ AirQualityTemperature = "AirQualityTemperature",
56
+ AirQualityVOC = "AirQualityVOC"
57
+ }
58
+ //# sourceMappingURL=virtual-device.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtual-device.d.ts","sourceRoot":"","sources":["../../../src/model/virtual-device.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,CAAC,EAAE;QACX,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED;;;;GAIG;AACH,oBAAY,iBAAiB;IAC3B,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,cAAc,oBAAoB;IAClC,eAAe,oBAAoB;IACnC,cAAc,mBAAmB;IACjC,wBAAwB,8BAA8B;IACtD,iBAAiB,uBAAuB;IACxC,uBAAuB,6BAA6B;IACpD,iBAAiB,uBAAuB;IACxC,cAAc,mBAAmB;IACjC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,eAAe,qBAAqB;IACpC,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,WAAW,gBAAgB;IAC3B,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;IAC3C,0BAA0B,+BAA+B;IACzD,kBAAkB,uBAAuB;IACzC,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;IACzC,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;IACzC,qBAAqB,0BAA0B;IAC/C,aAAa,kBAAkB;CAChC"}
@@ -0,0 +1,21 @@
1
+ import { Devices } from "./devices";
2
+ import { ScenesTriggered } from "./scenes-triggered";
3
+ /**
4
+ * Represents a message that was received from the System Access Point web socket.
5
+ *
6
+ * @interface
7
+ */
8
+ export interface WebSocketMessage {
9
+ [key: string]: {
10
+ datapoints: {
11
+ [key: string]: string;
12
+ };
13
+ devices: {
14
+ [key: string]: Devices;
15
+ };
16
+ devicesAdded: Array<string>;
17
+ devicesRemoved: Array<string>;
18
+ scenesTriggered: ScenesTriggered;
19
+ };
20
+ }
21
+ //# sourceMappingURL=websocket-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"websocket-message.d.ts","sourceRoot":"","sources":["../../../src/model/websocket-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,UAAU,EAAE;YACV,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;SACvB,CAAC;QACF,OAAO,EAAE;YACP,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;QACF,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAC5B,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAC9B,eAAe,EAAE,eAAe,CAAC;KAClC,CAAC;CACH"}
@@ -0,0 +1,96 @@
1
+ import { Observable } from "rxjs";
2
+ import { Configuration, DeviceList, DeviceResponse, GetDataPointResponse, SetDataPointResponse, WebSocketMessage, VirtualDevice, VirtualDeviceResponse } from "./model";
3
+ /**
4
+ * The class representing a System Access Point.
5
+ *
6
+ * @class
7
+ */
8
+ export declare class SystemAccessPoint {
9
+ /** The basic authentication key used for requests. */
10
+ readonly basicAuthKey: string;
11
+ /** The host name of the system access point. */
12
+ readonly hostName: string;
13
+ /** Determines whether requests to the system access point will use TLS. */
14
+ readonly tlsEnabled: boolean;
15
+ private verboseErrors;
16
+ private webSocket?;
17
+ private readonly webSocketMessageSubject;
18
+ /**
19
+ * Constructs a new SystemAccessPoint instance
20
+ *
21
+ * @constructor
22
+ * @param hostName The system access point host name.
23
+ * @param userName The user name that shall be used to authenticate with the system access point.
24
+ * @param password The password that shall be used to authenticate with the system access point.
25
+ * @param tlsEnabled Determines whether the communication with the system access point shall be protected by TLS. Defaults to true
26
+ * @param verboseErrors Determines whether verbose error messages shall be used, for example for message validation. Defaults to false.
27
+ */
28
+ constructor(hostName: string, userName: string, password: string, tlsEnabled?: boolean, verboseErrors?: boolean);
29
+ /**
30
+ * Connects to the System Access Point web socket.
31
+ *
32
+ * @function
33
+ * @param certificateVerification Determines whether the TLS certificate presented by the server will be verified.
34
+ */
35
+ connectWebSocket(certificateVerification?: boolean): void;
36
+ /**
37
+ * Creates a new virtual device.
38
+ * @param sysApUuid The UUID identifying the system access point
39
+ * @param deviceSerial The serial number to be assigned to the device.
40
+ * @param virtualDevice The virtual device to be created.
41
+ */
42
+ createVirtualDevice(sysApUuid: string, deviceSerial: string, virtualDevice: VirtualDevice): Promise<VirtualDeviceResponse>;
43
+ private createWebSocket;
44
+ /**
45
+ * Disconnects from the System Access Point web socket.
46
+ *
47
+ * @function
48
+ * @param force Determines whether or not the connection will be closed forcibly
49
+ */
50
+ disconnectWebSocket(force?: boolean): void;
51
+ /**
52
+ * Gets the configuration from the system access point
53
+ * @returns The @see Configuration
54
+ */
55
+ getConfiguration(): Promise<Configuration>;
56
+ /**
57
+ * Gets the device list from the system access point.
58
+ * @returns The @see DeviceList
59
+ */
60
+ getDeviceList(): Promise<DeviceList>;
61
+ /**
62
+ * Gets the specified device from the system access point
63
+ * @param sysApUuid The UUID identifying the system access point
64
+ * @param deviceSerial The device serial number
65
+ */
66
+ getDevice(sysApUuid: string, deviceSerial: string): Promise<DeviceResponse>;
67
+ /**
68
+ * Gets the specified data point from the system access point.
69
+ * @param sysApUuid The UUID idenfifying the system access point
70
+ * @param deviceSerial The device serial number
71
+ * @param channel The channel identifier
72
+ * @param dataPoint The datapoint identifier
73
+ * @returns The requested @see GetDataPointResponse
74
+ */
75
+ getDatapoint(sysApUuid: string, deviceSerial: string, channel: string, dataPoint: string): Promise<GetDataPointResponse>;
76
+ /**
77
+ * Gets the web socket messages.
78
+ *
79
+ * @returns An observable that is updated with the messages received from the web socket.
80
+ */
81
+ getWebSocketMessages(): Observable<WebSocketMessage>;
82
+ /**
83
+ * Sets a new value for the specificed data point.
84
+ * @param sysApUuid The UUID idenfifying the system access point
85
+ * @param deviceSerial The device serial number
86
+ * @param channel The channel identifier
87
+ * @param dataPoint The datapoint identifier
88
+ * @param value The new value to be set
89
+ * @returns A @see SetDataPointResponse describing the result of the operation
90
+ */
91
+ setDatapoint(sysApUuid: string, deviceSerial: string, channel: string, dataPoint: string, value: string): Promise<SetDataPointResponse>;
92
+ private fetchDataViaRest;
93
+ private processRestResponse;
94
+ private processWebSocketMessage;
95
+ }
96
+ //# sourceMappingURL=system-access-point.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system-access-point.d.ts","sourceRoot":"","sources":["../../src/system-access-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;AAE3C,OAAO,EACL,aAAa,EACb,UAAU,EACV,cAAc,EACd,oBAAoB,EAOpB,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAKjB;;;;GAIG;AACH,qBAAa,iBAAiB;IAC5B,sDAAsD;IACtD,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,gDAAgD;IAChD,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,2EAA2E;IAC3E,SAAgB,UAAU,EAAE,OAAO,CAAC;IACpC,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,SAAS,CAAC,CAAY;IAC9B,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAmC;IAE3E;;;;;;;;;OASG;gBAED,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,UAAU,UAAO,EACjB,aAAa,UAAQ;IAWvB;;;;;OAKG;IACI,gBAAgB,CAAC,uBAAuB,UAAO,GAAG,IAAI;IAQ7D;;;;;OAKG;IACU,mBAAmB,CAC9B,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,aAAa,GAC3B,OAAO,CAAC,qBAAqB,CAAC;IAYjC,OAAO,CAAC,eAAe;IAuCvB;;;;;OAKG;IACI,mBAAmB,CAAC,KAAK,UAAQ,GAAG,IAAI;IAY/C;;;OAGG;IACU,gBAAgB,IAAI,OAAO,CAAC,aAAa,CAAC;IAWvD;;;OAGG;IACU,aAAa,IAAI,OAAO,CAAC,UAAU,CAAC;IAQjD;;;;OAIG;IACU,SAAS,CACpB,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,cAAc,CAAC;IAW1B;;;;;;;OAOG;IACU,YAAY,CACvB,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,oBAAoB,CAAC;IAWhC;;;;OAIG;IACI,oBAAoB,IAAI,UAAU,CAAC,gBAAgB,CAAC;IAG3D;;;;;;;;OAQG;IACU,YAAY,CACvB,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,oBAAoB,CAAC;YAYlB,gBAAgB;YAuBhB,mBAAmB;IAmCjC,OAAO,CAAC,uBAAuB;CAyBhC"}
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "freeathome-local-api-client",
3
+ "version": "0.2.0-pre",
4
+ "description": "A client library for the BUSCH-JAEGER free@home local API implemented in TypeScript",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/pgerke/freeathome-local-api-client.git"
8
+ },
9
+ "keywords": [
10
+ "freeathome",
11
+ "api-client",
12
+ "typescript"
13
+ ],
14
+ "author": {
15
+ "email": "info@philipgerke.com",
16
+ "name": "Philip Gerke",
17
+ "url": "https://www.philipgerke.com"
18
+ },
19
+ "homepage": "https://github.com/pgerke/freeathome-local-api-client#readme",
20
+ "license": "MIT",
21
+ "bugs": {
22
+ "url": "https://github.com/pgerke/freeathome-local-api-client/issues"
23
+ },
24
+ "type": "module",
25
+ "main": "dist/bundle.js",
26
+ "types": "dist/index.d.ts",
27
+ "files": [
28
+ "dist",
29
+ "package.json"
30
+ ],
31
+ "scripts": {
32
+ "clean": "rimraf dist",
33
+ "build": "npm run clean && webpack --node-env=production --config webpack.config.js",
34
+ "test": "ts-node --project ./tsconfig.spec.json node_modules/jasmine/bin/jasmine --config=jasmine.json",
35
+ "test:coverage": "nyc npm run test",
36
+ "lint": "eslint . --fix"
37
+ },
38
+ "dependencies": {
39
+ "rxjs": "^7.5.5",
40
+ "ts-interface-checker": "^1.0.2",
41
+ "ws": "^8.5.0"
42
+ },
43
+ "devDependencies": {
44
+ "@istanbuljs/nyc-config-typescript": "^1.0.2",
45
+ "@types/jasmine": "^4.0.3",
46
+ "@types/webpack": "^5.28.0",
47
+ "@types/ws": "^8.5.3",
48
+ "@typescript-eslint/eslint-plugin": "^5.21.0",
49
+ "@typescript-eslint/parser": "^5.21.0",
50
+ "eslint": "^8.14.0",
51
+ "eslint-config-prettier": "^8.5.0",
52
+ "eslint-plugin-import": "^2.26.0",
53
+ "eslint-plugin-n": "^15.2.0",
54
+ "eslint-plugin-prettier": "^4.0.0",
55
+ "eslint-plugin-promise": "^6.0.0",
56
+ "jasmine": "^4.1.0",
57
+ "jasmine-spec-reporter": "^7.0.0",
58
+ "nyc": "^15.1.0",
59
+ "prettier": "^2.6.2",
60
+ "rimraf": "^3.0.2",
61
+ "ts-interface-builder": "^0.3.3",
62
+ "ts-loader": "^9.3.0",
63
+ "ts-node": "^10.7.0",
64
+ "typescript": "^4.6.4",
65
+ "webpack": "^5.72.0",
66
+ "webpack-cli": "^4.9.2"
67
+ }
68
+ }