@kohost/api-client 4.0.4 → 4.0.6

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 (56) hide show
  1. package/dist/{chunk-EBJTC6MA.js → chunk-5I2BBUZP.js} +11 -1
  2. package/dist/{chunk-EBJTC6MA.js.map → chunk-5I2BBUZP.js.map} +1 -1
  3. package/dist/{chunk-HKJ2B2AA.js → chunk-FU4IK6I4.js} +3 -1
  4. package/dist/{chunk-KBBL6OJS.js → chunk-SLDNFNED.js} +290 -90
  5. package/dist/{chunk-KBBL6OJS.js.map → chunk-SLDNFNED.js.map} +1 -1
  6. package/dist/{chunk-36WNTEIW.js → chunk-SORMAXAX.js} +35 -2
  7. package/dist/{chunk-36WNTEIW.js.map → chunk-SORMAXAX.js.map} +1 -1
  8. package/dist/{chunk-MYWOGDCQ.js → chunk-TBEXLKDH.js} +25 -21
  9. package/dist/chunk-TBEXLKDH.js.map +1 -0
  10. package/dist/{chunk-W2G36LNI.js → chunk-UZQ2AWUY.js} +8 -1
  11. package/dist/{chunk-W2G36LNI.js.map → chunk-UZQ2AWUY.js.map} +1 -1
  12. package/dist/client.cjs +39 -7
  13. package/dist/client.cjs.map +1 -1
  14. package/dist/client.js +39 -9
  15. package/dist/client.js.map +1 -1
  16. package/dist/commands.cjs +85 -0
  17. package/dist/commands.cjs.map +1 -1
  18. package/dist/commands.js +87 -1
  19. package/dist/commands.js.map +1 -1
  20. package/dist/defs.js +1 -1
  21. package/dist/errors.cjs +37 -0
  22. package/dist/errors.cjs.map +1 -1
  23. package/dist/errors.js +3 -3
  24. package/dist/events.cjs +16 -12
  25. package/dist/events.cjs.map +1 -1
  26. package/dist/events.d.cts +7 -7
  27. package/dist/events.d.ts +7 -7
  28. package/dist/events.js +14 -14
  29. package/dist/index.cjs +1110 -108
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +21 -21
  32. package/dist/index.d.ts +21 -21
  33. package/dist/index.js +1110 -108
  34. package/dist/index.js.map +1 -1
  35. package/dist/models.cjs +292 -86
  36. package/dist/models.cjs.map +1 -1
  37. package/dist/models.js +3 -3
  38. package/dist/socketIoClient.cjs +7 -3
  39. package/dist/socketIoClient.cjs.map +1 -1
  40. package/dist/socketIoClient.d.cts +1 -1
  41. package/dist/socketIoClient.d.ts +1 -1
  42. package/dist/socketIoClient.js +9 -4
  43. package/dist/socketIoClient.js.map +1 -1
  44. package/dist/useCases.cjs +640 -0
  45. package/dist/useCases.cjs.map +1 -1
  46. package/dist/useCases.js +640 -2
  47. package/dist/useCases.js.map +1 -1
  48. package/dist/utils.cjs +340 -98
  49. package/dist/utils.cjs.map +1 -1
  50. package/dist/utils.d.cts +2 -2
  51. package/dist/utils.d.ts +2 -2
  52. package/dist/utils.js +10 -5
  53. package/dist/utils.js.map +1 -1
  54. package/package.json +1 -1
  55. package/dist/chunk-MYWOGDCQ.js.map +0 -1
  56. /package/dist/{chunk-HKJ2B2AA.js.map → chunk-FU4IK6I4.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -21663,6 +21663,7 @@ declare class KohostSocketIoClient {
21663
21663
  get disconnected(): boolean;
21664
21664
  on(event: any, callback: any): void;
21665
21665
  emit(event: any, ...args: any[]): void;
21666
+ listeners(event: any): any;
21666
21667
  connect(): void;
21667
21668
  disconnect(): void;
21668
21669
  reconnect(): void;
@@ -21675,7 +21676,6 @@ declare class KohostSocketIoClient {
21675
21676
  query?: {} | undefined;
21676
21677
  }): void;
21677
21678
  destroy(): void;
21678
- listeners(event: any): any[];
21679
21679
  #private;
21680
21680
  }
21681
21681
 
@@ -22285,11 +22285,11 @@ declare class SystemProductUpdated extends Event {
22285
22285
  constructor(product: any, context: any);
22286
22286
  }
22287
22287
 
22288
- declare class SystemPropertyUpdate extends Event {
22288
+ declare class SystemPropertyUpdated extends Event {
22289
22289
  constructor(property: any, context: any);
22290
22290
  }
22291
22291
 
22292
- declare class SystemReservationUpdate extends Event {
22292
+ declare class SystemReservationUpdated extends Event {
22293
22293
  constructor(reservation: any, context: any);
22294
22294
  }
22295
22295
 
@@ -22297,19 +22297,19 @@ declare class SystemSpaceUpdate extends Event {
22297
22297
  constructor(space: any, context: any);
22298
22298
  }
22299
22299
 
22300
- declare class SystemSwitchUpdate extends Event {
22300
+ declare class SystemSwitchUpdated extends Event {
22301
22301
  constructor(_switch: any, context: any);
22302
22302
  }
22303
22303
 
22304
- declare class SystemThermostatUpdate extends Event {
22304
+ declare class SystemThermostatUpdated extends Event {
22305
22305
  constructor(thermostat: any, context: any);
22306
22306
  }
22307
22307
 
22308
- declare class SystemUserUpdate extends Event {
22308
+ declare class SystemUserUpdated extends Event {
22309
22309
  constructor(user: any, context: any);
22310
22310
  }
22311
22311
 
22312
- declare class SystemWindowCoveringUpdate extends Event {
22312
+ declare class SystemWindowCoveringUpdated extends Event {
22313
22313
  constructor(wc: any, context: any);
22314
22314
  }
22315
22315
 
@@ -22359,22 +22359,22 @@ type index$1_SystemOrganizationUpdated = SystemOrganizationUpdated;
22359
22359
  declare const index$1_SystemOrganizationUpdated: typeof SystemOrganizationUpdated;
22360
22360
  type index$1_SystemProductUpdated = SystemProductUpdated;
22361
22361
  declare const index$1_SystemProductUpdated: typeof SystemProductUpdated;
22362
- type index$1_SystemPropertyUpdate = SystemPropertyUpdate;
22363
- declare const index$1_SystemPropertyUpdate: typeof SystemPropertyUpdate;
22364
- type index$1_SystemReservationUpdate = SystemReservationUpdate;
22365
- declare const index$1_SystemReservationUpdate: typeof SystemReservationUpdate;
22362
+ type index$1_SystemPropertyUpdated = SystemPropertyUpdated;
22363
+ declare const index$1_SystemPropertyUpdated: typeof SystemPropertyUpdated;
22364
+ type index$1_SystemReservationUpdated = SystemReservationUpdated;
22365
+ declare const index$1_SystemReservationUpdated: typeof SystemReservationUpdated;
22366
22366
  type index$1_SystemSpaceUpdate = SystemSpaceUpdate;
22367
22367
  declare const index$1_SystemSpaceUpdate: typeof SystemSpaceUpdate;
22368
- type index$1_SystemSwitchUpdate = SystemSwitchUpdate;
22369
- declare const index$1_SystemSwitchUpdate: typeof SystemSwitchUpdate;
22370
- type index$1_SystemThermostatUpdate = SystemThermostatUpdate;
22371
- declare const index$1_SystemThermostatUpdate: typeof SystemThermostatUpdate;
22372
- type index$1_SystemUserUpdate = SystemUserUpdate;
22373
- declare const index$1_SystemUserUpdate: typeof SystemUserUpdate;
22374
- type index$1_SystemWindowCoveringUpdate = SystemWindowCoveringUpdate;
22375
- declare const index$1_SystemWindowCoveringUpdate: typeof SystemWindowCoveringUpdate;
22368
+ type index$1_SystemSwitchUpdated = SystemSwitchUpdated;
22369
+ declare const index$1_SystemSwitchUpdated: typeof SystemSwitchUpdated;
22370
+ type index$1_SystemThermostatUpdated = SystemThermostatUpdated;
22371
+ declare const index$1_SystemThermostatUpdated: typeof SystemThermostatUpdated;
22372
+ type index$1_SystemUserUpdated = SystemUserUpdated;
22373
+ declare const index$1_SystemUserUpdated: typeof SystemUserUpdated;
22374
+ type index$1_SystemWindowCoveringUpdated = SystemWindowCoveringUpdated;
22375
+ declare const index$1_SystemWindowCoveringUpdated: typeof SystemWindowCoveringUpdated;
22376
22376
  declare namespace index$1 {
22377
- export { index$1_ApplicationInUse as ApplicationInUse, index$1_ApplicationOutOfUse as ApplicationOutOfUse, index$1_EmailEvent as EmailEvent, index$1_Event as Event, index$1_ReservationCheckedIn as ReservationCheckedIn, index$1_ReservationCheckedOut as ReservationCheckedOut, index$1_ReservationSpaceChanged as ReservationSpaceChanged, index$1_SMSEvent as SMSEvent, index$1_SceneSet as SceneSet, index$1_ShortLinkCreated as ShortLinkCreated, index$1_SystemAlarmUpdated as SystemAlarmUpdated, index$1_SystemCameraUpdated as SystemCameraUpdated, index$1_SystemCategoryUpdated as SystemCategoryUpdated, index$1_SystemCourtesyUpdated as SystemCourtesyUpdated, index$1_SystemCredentialUpdated as SystemCredentialUpdated, index$1_SystemDimmerUpdated as SystemDimmerUpdated, index$1_SystemEntityDeleted as SystemEntityDeleted, index$1_SystemGatewayUpdated as SystemGatewayUpdated, index$1_SystemLockUpdated as SystemLockUpdated, index$1_SystemMediaSourceUpdated as SystemMediaSourceUpdated, index$1_SystemMotionSensorUpdated as SystemMotionSensorUpdated, index$1_SystemOrganizationUpdated as SystemOrganizationUpdated, index$1_SystemProductUpdated as SystemProductUpdated, index$1_SystemPropertyUpdate as SystemPropertyUpdate, index$1_SystemReservationUpdate as SystemReservationUpdate, index$1_SystemSpaceUpdate as SystemSpaceUpdate, index$1_SystemSwitchUpdate as SystemSwitchUpdate, index$1_SystemThermostatUpdate as SystemThermostatUpdate, index$1_SystemUserUpdate as SystemUserUpdate, index$1_SystemWindowCoveringUpdate as SystemWindowCoveringUpdate };
22377
+ export { index$1_ApplicationInUse as ApplicationInUse, index$1_ApplicationOutOfUse as ApplicationOutOfUse, index$1_EmailEvent as EmailEvent, index$1_Event as Event, index$1_ReservationCheckedIn as ReservationCheckedIn, index$1_ReservationCheckedOut as ReservationCheckedOut, index$1_ReservationSpaceChanged as ReservationSpaceChanged, index$1_SMSEvent as SMSEvent, index$1_SceneSet as SceneSet, index$1_ShortLinkCreated as ShortLinkCreated, index$1_SystemAlarmUpdated as SystemAlarmUpdated, index$1_SystemCameraUpdated as SystemCameraUpdated, index$1_SystemCategoryUpdated as SystemCategoryUpdated, index$1_SystemCourtesyUpdated as SystemCourtesyUpdated, index$1_SystemCredentialUpdated as SystemCredentialUpdated, index$1_SystemDimmerUpdated as SystemDimmerUpdated, index$1_SystemEntityDeleted as SystemEntityDeleted, index$1_SystemGatewayUpdated as SystemGatewayUpdated, index$1_SystemLockUpdated as SystemLockUpdated, index$1_SystemMediaSourceUpdated as SystemMediaSourceUpdated, index$1_SystemMotionSensorUpdated as SystemMotionSensorUpdated, index$1_SystemOrganizationUpdated as SystemOrganizationUpdated, index$1_SystemProductUpdated as SystemProductUpdated, index$1_SystemPropertyUpdated as SystemPropertyUpdated, index$1_SystemReservationUpdated as SystemReservationUpdated, index$1_SystemSpaceUpdate as SystemSpaceUpdate, index$1_SystemSwitchUpdated as SystemSwitchUpdated, index$1_SystemThermostatUpdated as SystemThermostatUpdated, index$1_SystemUserUpdated as SystemUserUpdated, index$1_SystemWindowCoveringUpdated as SystemWindowCoveringUpdated };
22378
22378
  }
22379
22379
 
22380
22380
  declare class Entity {
@@ -30943,7 +30943,7 @@ declare namespace defs {
30943
30943
 
30944
30944
  declare function entityFactory(type: any): typeof Alarm | typeof Announcement | typeof Camera | typeof Category | typeof Courtesy | typeof Credential | typeof DeviceRouter | typeof Dimmer | typeof DiscoveredDevice | typeof EmailMessage | typeof EnergyReport | typeof EnergyReportShard | typeof Gateway | typeof Identification | typeof Issue | typeof Lock | typeof Log | typeof MediaFile | typeof MediaSource | typeof MotionSensor | typeof Order | typeof Organization | typeof Policy | typeof Product | typeof Property | typeof Reservation | typeof Room | typeof Scene | typeof ShortLink | typeof SmsMessage | typeof Space | typeof Switch | typeof SystemUser | typeof Thermostat | typeof Ticket | typeof TimeSheet | typeof User | typeof Vendor | typeof WindowCovering;
30945
30945
  declare function errorFactory(errName: any): typeof AppError | Error;
30946
- declare function eventFactory(eventName: any): typeof Event | typeof ApplicationInUse | typeof ApplicationOutOfUse | typeof EmailEvent | typeof ReservationCheckedIn | typeof ReservationCheckedOut | typeof ReservationSpaceChanged | typeof SceneSet | typeof ShortLinkCreated | typeof SMSEvent | typeof SystemAlarmUpdated | typeof SystemCameraUpdated | typeof SystemCategoryUpdated | typeof SystemCourtesyUpdated | typeof SystemCredentialUpdated | typeof SystemDimmerUpdated | typeof SystemEntityDeleted | typeof SystemGatewayUpdated | typeof SystemLockUpdated | typeof SystemMediaSourceUpdated | typeof SystemMotionSensorUpdated | typeof SystemOrganizationUpdated | typeof SystemProductUpdated | typeof SystemPropertyUpdate | typeof SystemReservationUpdate | typeof SystemSpaceUpdate | typeof SystemSwitchUpdate | typeof SystemThermostatUpdate | typeof SystemUserUpdate | typeof SystemWindowCoveringUpdate;
30946
+ declare function eventFactory(eventName: any): typeof Event | typeof ApplicationInUse | typeof ApplicationOutOfUse | typeof EmailEvent | typeof ReservationCheckedIn | typeof ReservationCheckedOut | typeof ReservationSpaceChanged | typeof SceneSet | typeof ShortLinkCreated | typeof SMSEvent | typeof SystemAlarmUpdated | typeof SystemCameraUpdated | typeof SystemCategoryUpdated | typeof SystemCourtesyUpdated | typeof SystemCredentialUpdated | typeof SystemDimmerUpdated | typeof SystemEntityDeleted | typeof SystemGatewayUpdated | typeof SystemLockUpdated | typeof SystemMediaSourceUpdated | typeof SystemMotionSensorUpdated | typeof SystemOrganizationUpdated | typeof SystemProductUpdated | typeof SystemPropertyUpdated | typeof SystemReservationUpdated | typeof SystemSpaceUpdate | typeof SystemSwitchUpdated | typeof SystemThermostatUpdated | typeof SystemUserUpdated | typeof SystemWindowCoveringUpdated;
30947
30947
 
30948
30948
  declare const utils_entityFactory: typeof entityFactory;
30949
30949
  declare const utils_errorFactory: typeof errorFactory;
package/dist/index.d.ts CHANGED
@@ -21663,6 +21663,7 @@ declare class KohostSocketIoClient {
21663
21663
  get disconnected(): boolean;
21664
21664
  on(event: any, callback: any): void;
21665
21665
  emit(event: any, ...args: any[]): void;
21666
+ listeners(event: any): any;
21666
21667
  connect(): void;
21667
21668
  disconnect(): void;
21668
21669
  reconnect(): void;
@@ -21675,7 +21676,6 @@ declare class KohostSocketIoClient {
21675
21676
  query?: {} | undefined;
21676
21677
  }): void;
21677
21678
  destroy(): void;
21678
- listeners(event: any): any[];
21679
21679
  #private;
21680
21680
  }
21681
21681
 
@@ -22285,11 +22285,11 @@ declare class SystemProductUpdated extends Event {
22285
22285
  constructor(product: any, context: any);
22286
22286
  }
22287
22287
 
22288
- declare class SystemPropertyUpdate extends Event {
22288
+ declare class SystemPropertyUpdated extends Event {
22289
22289
  constructor(property: any, context: any);
22290
22290
  }
22291
22291
 
22292
- declare class SystemReservationUpdate extends Event {
22292
+ declare class SystemReservationUpdated extends Event {
22293
22293
  constructor(reservation: any, context: any);
22294
22294
  }
22295
22295
 
@@ -22297,19 +22297,19 @@ declare class SystemSpaceUpdate extends Event {
22297
22297
  constructor(space: any, context: any);
22298
22298
  }
22299
22299
 
22300
- declare class SystemSwitchUpdate extends Event {
22300
+ declare class SystemSwitchUpdated extends Event {
22301
22301
  constructor(_switch: any, context: any);
22302
22302
  }
22303
22303
 
22304
- declare class SystemThermostatUpdate extends Event {
22304
+ declare class SystemThermostatUpdated extends Event {
22305
22305
  constructor(thermostat: any, context: any);
22306
22306
  }
22307
22307
 
22308
- declare class SystemUserUpdate extends Event {
22308
+ declare class SystemUserUpdated extends Event {
22309
22309
  constructor(user: any, context: any);
22310
22310
  }
22311
22311
 
22312
- declare class SystemWindowCoveringUpdate extends Event {
22312
+ declare class SystemWindowCoveringUpdated extends Event {
22313
22313
  constructor(wc: any, context: any);
22314
22314
  }
22315
22315
 
@@ -22359,22 +22359,22 @@ type index$1_SystemOrganizationUpdated = SystemOrganizationUpdated;
22359
22359
  declare const index$1_SystemOrganizationUpdated: typeof SystemOrganizationUpdated;
22360
22360
  type index$1_SystemProductUpdated = SystemProductUpdated;
22361
22361
  declare const index$1_SystemProductUpdated: typeof SystemProductUpdated;
22362
- type index$1_SystemPropertyUpdate = SystemPropertyUpdate;
22363
- declare const index$1_SystemPropertyUpdate: typeof SystemPropertyUpdate;
22364
- type index$1_SystemReservationUpdate = SystemReservationUpdate;
22365
- declare const index$1_SystemReservationUpdate: typeof SystemReservationUpdate;
22362
+ type index$1_SystemPropertyUpdated = SystemPropertyUpdated;
22363
+ declare const index$1_SystemPropertyUpdated: typeof SystemPropertyUpdated;
22364
+ type index$1_SystemReservationUpdated = SystemReservationUpdated;
22365
+ declare const index$1_SystemReservationUpdated: typeof SystemReservationUpdated;
22366
22366
  type index$1_SystemSpaceUpdate = SystemSpaceUpdate;
22367
22367
  declare const index$1_SystemSpaceUpdate: typeof SystemSpaceUpdate;
22368
- type index$1_SystemSwitchUpdate = SystemSwitchUpdate;
22369
- declare const index$1_SystemSwitchUpdate: typeof SystemSwitchUpdate;
22370
- type index$1_SystemThermostatUpdate = SystemThermostatUpdate;
22371
- declare const index$1_SystemThermostatUpdate: typeof SystemThermostatUpdate;
22372
- type index$1_SystemUserUpdate = SystemUserUpdate;
22373
- declare const index$1_SystemUserUpdate: typeof SystemUserUpdate;
22374
- type index$1_SystemWindowCoveringUpdate = SystemWindowCoveringUpdate;
22375
- declare const index$1_SystemWindowCoveringUpdate: typeof SystemWindowCoveringUpdate;
22368
+ type index$1_SystemSwitchUpdated = SystemSwitchUpdated;
22369
+ declare const index$1_SystemSwitchUpdated: typeof SystemSwitchUpdated;
22370
+ type index$1_SystemThermostatUpdated = SystemThermostatUpdated;
22371
+ declare const index$1_SystemThermostatUpdated: typeof SystemThermostatUpdated;
22372
+ type index$1_SystemUserUpdated = SystemUserUpdated;
22373
+ declare const index$1_SystemUserUpdated: typeof SystemUserUpdated;
22374
+ type index$1_SystemWindowCoveringUpdated = SystemWindowCoveringUpdated;
22375
+ declare const index$1_SystemWindowCoveringUpdated: typeof SystemWindowCoveringUpdated;
22376
22376
  declare namespace index$1 {
22377
- export { index$1_ApplicationInUse as ApplicationInUse, index$1_ApplicationOutOfUse as ApplicationOutOfUse, index$1_EmailEvent as EmailEvent, index$1_Event as Event, index$1_ReservationCheckedIn as ReservationCheckedIn, index$1_ReservationCheckedOut as ReservationCheckedOut, index$1_ReservationSpaceChanged as ReservationSpaceChanged, index$1_SMSEvent as SMSEvent, index$1_SceneSet as SceneSet, index$1_ShortLinkCreated as ShortLinkCreated, index$1_SystemAlarmUpdated as SystemAlarmUpdated, index$1_SystemCameraUpdated as SystemCameraUpdated, index$1_SystemCategoryUpdated as SystemCategoryUpdated, index$1_SystemCourtesyUpdated as SystemCourtesyUpdated, index$1_SystemCredentialUpdated as SystemCredentialUpdated, index$1_SystemDimmerUpdated as SystemDimmerUpdated, index$1_SystemEntityDeleted as SystemEntityDeleted, index$1_SystemGatewayUpdated as SystemGatewayUpdated, index$1_SystemLockUpdated as SystemLockUpdated, index$1_SystemMediaSourceUpdated as SystemMediaSourceUpdated, index$1_SystemMotionSensorUpdated as SystemMotionSensorUpdated, index$1_SystemOrganizationUpdated as SystemOrganizationUpdated, index$1_SystemProductUpdated as SystemProductUpdated, index$1_SystemPropertyUpdate as SystemPropertyUpdate, index$1_SystemReservationUpdate as SystemReservationUpdate, index$1_SystemSpaceUpdate as SystemSpaceUpdate, index$1_SystemSwitchUpdate as SystemSwitchUpdate, index$1_SystemThermostatUpdate as SystemThermostatUpdate, index$1_SystemUserUpdate as SystemUserUpdate, index$1_SystemWindowCoveringUpdate as SystemWindowCoveringUpdate };
22377
+ export { index$1_ApplicationInUse as ApplicationInUse, index$1_ApplicationOutOfUse as ApplicationOutOfUse, index$1_EmailEvent as EmailEvent, index$1_Event as Event, index$1_ReservationCheckedIn as ReservationCheckedIn, index$1_ReservationCheckedOut as ReservationCheckedOut, index$1_ReservationSpaceChanged as ReservationSpaceChanged, index$1_SMSEvent as SMSEvent, index$1_SceneSet as SceneSet, index$1_ShortLinkCreated as ShortLinkCreated, index$1_SystemAlarmUpdated as SystemAlarmUpdated, index$1_SystemCameraUpdated as SystemCameraUpdated, index$1_SystemCategoryUpdated as SystemCategoryUpdated, index$1_SystemCourtesyUpdated as SystemCourtesyUpdated, index$1_SystemCredentialUpdated as SystemCredentialUpdated, index$1_SystemDimmerUpdated as SystemDimmerUpdated, index$1_SystemEntityDeleted as SystemEntityDeleted, index$1_SystemGatewayUpdated as SystemGatewayUpdated, index$1_SystemLockUpdated as SystemLockUpdated, index$1_SystemMediaSourceUpdated as SystemMediaSourceUpdated, index$1_SystemMotionSensorUpdated as SystemMotionSensorUpdated, index$1_SystemOrganizationUpdated as SystemOrganizationUpdated, index$1_SystemProductUpdated as SystemProductUpdated, index$1_SystemPropertyUpdated as SystemPropertyUpdated, index$1_SystemReservationUpdated as SystemReservationUpdated, index$1_SystemSpaceUpdate as SystemSpaceUpdate, index$1_SystemSwitchUpdated as SystemSwitchUpdated, index$1_SystemThermostatUpdated as SystemThermostatUpdated, index$1_SystemUserUpdated as SystemUserUpdated, index$1_SystemWindowCoveringUpdated as SystemWindowCoveringUpdated };
22378
22378
  }
22379
22379
 
22380
22380
  declare class Entity {
@@ -30943,7 +30943,7 @@ declare namespace defs {
30943
30943
 
30944
30944
  declare function entityFactory(type: any): typeof Alarm | typeof Announcement | typeof Camera | typeof Category | typeof Courtesy | typeof Credential | typeof DeviceRouter | typeof Dimmer | typeof DiscoveredDevice | typeof EmailMessage | typeof EnergyReport | typeof EnergyReportShard | typeof Gateway | typeof Identification | typeof Issue | typeof Lock | typeof Log | typeof MediaFile | typeof MediaSource | typeof MotionSensor | typeof Order | typeof Organization | typeof Policy | typeof Product | typeof Property | typeof Reservation | typeof Room | typeof Scene | typeof ShortLink | typeof SmsMessage | typeof Space | typeof Switch | typeof SystemUser | typeof Thermostat | typeof Ticket | typeof TimeSheet | typeof User | typeof Vendor | typeof WindowCovering;
30945
30945
  declare function errorFactory(errName: any): typeof AppError | Error;
30946
- declare function eventFactory(eventName: any): typeof Event | typeof ApplicationInUse | typeof ApplicationOutOfUse | typeof EmailEvent | typeof ReservationCheckedIn | typeof ReservationCheckedOut | typeof ReservationSpaceChanged | typeof SceneSet | typeof ShortLinkCreated | typeof SMSEvent | typeof SystemAlarmUpdated | typeof SystemCameraUpdated | typeof SystemCategoryUpdated | typeof SystemCourtesyUpdated | typeof SystemCredentialUpdated | typeof SystemDimmerUpdated | typeof SystemEntityDeleted | typeof SystemGatewayUpdated | typeof SystemLockUpdated | typeof SystemMediaSourceUpdated | typeof SystemMotionSensorUpdated | typeof SystemOrganizationUpdated | typeof SystemProductUpdated | typeof SystemPropertyUpdate | typeof SystemReservationUpdate | typeof SystemSpaceUpdate | typeof SystemSwitchUpdate | typeof SystemThermostatUpdate | typeof SystemUserUpdate | typeof SystemWindowCoveringUpdate;
30946
+ declare function eventFactory(eventName: any): typeof Event | typeof ApplicationInUse | typeof ApplicationOutOfUse | typeof EmailEvent | typeof ReservationCheckedIn | typeof ReservationCheckedOut | typeof ReservationSpaceChanged | typeof SceneSet | typeof ShortLinkCreated | typeof SMSEvent | typeof SystemAlarmUpdated | typeof SystemCameraUpdated | typeof SystemCategoryUpdated | typeof SystemCourtesyUpdated | typeof SystemCredentialUpdated | typeof SystemDimmerUpdated | typeof SystemEntityDeleted | typeof SystemGatewayUpdated | typeof SystemLockUpdated | typeof SystemMediaSourceUpdated | typeof SystemMotionSensorUpdated | typeof SystemOrganizationUpdated | typeof SystemProductUpdated | typeof SystemPropertyUpdated | typeof SystemReservationUpdated | typeof SystemSpaceUpdate | typeof SystemSwitchUpdated | typeof SystemThermostatUpdated | typeof SystemUserUpdated | typeof SystemWindowCoveringUpdated;
30947
30947
 
30948
30948
  declare const utils_entityFactory: typeof entityFactory;
30949
30949
  declare const utils_errorFactory: typeof errorFactory;