@seamapi/types 1.325.0 → 1.327.0
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/connect.cjs +149 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +404 -2
- package/lib/seam/connect/models/events/acs/access_groups.d.ts +64 -0
- package/lib/seam/connect/models/events/acs/access_groups.js +12 -0
- package/lib/seam/connect/models/events/acs/access_groups.js.map +1 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/acs/index.js +2 -0
- package/lib/seam/connect/models/events/acs/index.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +78 -0
- package/lib/seam/connect/models/events/devices.js +18 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +68 -0
- package/lib/seam/connect/openapi.d.ts +260 -0
- package/lib/seam/connect/openapi.js +124 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +76 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/acs/access_groups.ts +19 -0
- package/src/lib/seam/connect/models/events/acs/index.ts +2 -0
- package/src/lib/seam/connect/models/events/devices.ts +27 -0
- package/src/lib/seam/connect/openapi.ts +131 -0
- package/src/lib/seam/connect/route-types.ts +82 -0
|
@@ -13243,6 +13243,21 @@ export interface Routes {
|
|
|
13243
13243
|
/** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
13244
13244
|
acs_encoder_id: string;
|
|
13245
13245
|
event_type: 'acs_encoder.removed';
|
|
13246
|
+
} | {
|
|
13247
|
+
/** ID of the event. */
|
|
13248
|
+
event_id: string;
|
|
13249
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13250
|
+
workspace_id: string;
|
|
13251
|
+
/** Date and time at which the event was created. */
|
|
13252
|
+
created_at: string;
|
|
13253
|
+
/** Date and time at which the event occurred. */
|
|
13254
|
+
occurred_at: string;
|
|
13255
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13256
|
+
connected_account_id?: string | undefined;
|
|
13257
|
+
/** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
13258
|
+
acs_system_id: string;
|
|
13259
|
+
acs_access_group_id: string;
|
|
13260
|
+
event_type: 'acs_access_group.deleted';
|
|
13246
13261
|
} | {
|
|
13247
13262
|
/** ID of the event. */
|
|
13248
13263
|
event_id: string;
|
|
@@ -13935,6 +13950,28 @@ export interface Routes {
|
|
|
13935
13950
|
lower_limit_celsius: number | null;
|
|
13936
13951
|
/** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
13937
13952
|
lower_limit_fahrenheit: number | null;
|
|
13953
|
+
} | {
|
|
13954
|
+
/** ID of the event. */
|
|
13955
|
+
event_id: string;
|
|
13956
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
13957
|
+
workspace_id: string;
|
|
13958
|
+
/** Date and time at which the event was created. */
|
|
13959
|
+
created_at: string;
|
|
13960
|
+
/** Date and time at which the event occurred. */
|
|
13961
|
+
occurred_at: string;
|
|
13962
|
+
/** ID of the device. */
|
|
13963
|
+
device_id: string;
|
|
13964
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
13965
|
+
connected_account_id: string;
|
|
13966
|
+
event_type: 'thermostat.temperature_reached_set_point';
|
|
13967
|
+
/** Temperature, in °C, reported by the thermostat. */
|
|
13968
|
+
temperature_celsius: number;
|
|
13969
|
+
/** Temperature, in °F, reported by the thermostat. */
|
|
13970
|
+
temperature_fahrenheit: number;
|
|
13971
|
+
/** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
|
|
13972
|
+
desired_temperature_celsius?: number | undefined;
|
|
13973
|
+
/** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
|
|
13974
|
+
desired_temperature_fahrenheit?: number | undefined;
|
|
13938
13975
|
} | {
|
|
13939
13976
|
/** ID of the event. */
|
|
13940
13977
|
event_id: string;
|
|
@@ -13978,8 +14015,8 @@ export interface Routes {
|
|
|
13978
14015
|
acs_system_ids?: string[] | undefined;
|
|
13979
14016
|
access_code_id?: string | undefined;
|
|
13980
14017
|
access_code_ids?: string[] | undefined;
|
|
13981
|
-
event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded') | undefined;
|
|
13982
|
-
event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded'> | undefined;
|
|
14018
|
+
event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_access_group.deleted' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point') | undefined;
|
|
14019
|
+
event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_access_group.deleted' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point'> | undefined;
|
|
13983
14020
|
connected_account_id?: string | undefined;
|
|
13984
14021
|
connect_webview_id?: string | undefined;
|
|
13985
14022
|
limit?: number;
|
|
@@ -14384,6 +14421,21 @@ export interface Routes {
|
|
|
14384
14421
|
/** ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
14385
14422
|
acs_encoder_id: string;
|
|
14386
14423
|
event_type: 'acs_encoder.removed';
|
|
14424
|
+
} | {
|
|
14425
|
+
/** ID of the event. */
|
|
14426
|
+
event_id: string;
|
|
14427
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
14428
|
+
workspace_id: string;
|
|
14429
|
+
/** Date and time at which the event was created. */
|
|
14430
|
+
created_at: string;
|
|
14431
|
+
/** Date and time at which the event occurred. */
|
|
14432
|
+
occurred_at: string;
|
|
14433
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
14434
|
+
connected_account_id?: string | undefined;
|
|
14435
|
+
/** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
14436
|
+
acs_system_id: string;
|
|
14437
|
+
acs_access_group_id: string;
|
|
14438
|
+
event_type: 'acs_access_group.deleted';
|
|
14387
14439
|
} | {
|
|
14388
14440
|
/** ID of the event. */
|
|
14389
14441
|
event_id: string;
|
|
@@ -15076,6 +15128,28 @@ export interface Routes {
|
|
|
15076
15128
|
lower_limit_celsius: number | null;
|
|
15077
15129
|
/** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
15078
15130
|
lower_limit_fahrenheit: number | null;
|
|
15131
|
+
} | {
|
|
15132
|
+
/** ID of the event. */
|
|
15133
|
+
event_id: string;
|
|
15134
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
15135
|
+
workspace_id: string;
|
|
15136
|
+
/** Date and time at which the event was created. */
|
|
15137
|
+
created_at: string;
|
|
15138
|
+
/** Date and time at which the event occurred. */
|
|
15139
|
+
occurred_at: string;
|
|
15140
|
+
/** ID of the device. */
|
|
15141
|
+
device_id: string;
|
|
15142
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
15143
|
+
connected_account_id: string;
|
|
15144
|
+
event_type: 'thermostat.temperature_reached_set_point';
|
|
15145
|
+
/** Temperature, in °C, reported by the thermostat. */
|
|
15146
|
+
temperature_celsius: number;
|
|
15147
|
+
/** Temperature, in °F, reported by the thermostat. */
|
|
15148
|
+
temperature_fahrenheit: number;
|
|
15149
|
+
/** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
|
|
15150
|
+
desired_temperature_celsius?: number | undefined;
|
|
15151
|
+
/** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
|
|
15152
|
+
desired_temperature_fahrenheit?: number | undefined;
|
|
15079
15153
|
} | {
|
|
15080
15154
|
/** ID of the event. */
|
|
15081
15155
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
import { common_acs_event } from './common.js'
|
|
4
|
+
|
|
5
|
+
const acs_access_group_event = common_acs_event.extend({
|
|
6
|
+
acs_access_group_id: z.string().uuid(),
|
|
7
|
+
})
|
|
8
|
+
|
|
9
|
+
export const acs_access_group_deleted_event = acs_access_group_event
|
|
10
|
+
.extend({
|
|
11
|
+
event_type: z.literal('acs_access_group.deleted'),
|
|
12
|
+
})
|
|
13
|
+
.describe('An ACS access group was deleted.')
|
|
14
|
+
|
|
15
|
+
export type AcsAccessGroupDeletedEvent = z.infer<
|
|
16
|
+
typeof acs_access_group_deleted_event
|
|
17
|
+
>
|
|
18
|
+
|
|
19
|
+
export const acs_access_group_events = [acs_access_group_deleted_event] as const
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { acs_access_group_events } from './access_groups.js'
|
|
1
2
|
import { acs_credential_events } from './credentials.js'
|
|
2
3
|
import { acs_encoder_events } from './encoders.js'
|
|
3
4
|
import { acs_system_events } from './systems.js'
|
|
@@ -8,4 +9,5 @@ export const acs_events = [
|
|
|
8
9
|
...acs_credential_events,
|
|
9
10
|
...acs_user_events,
|
|
10
11
|
...acs_encoder_events,
|
|
12
|
+
...acs_access_group_events,
|
|
11
13
|
] as const
|
|
@@ -561,6 +561,32 @@ export type TemperatureThresholdNoLongerExceededEvent = z.infer<
|
|
|
561
561
|
typeof temperature_threshold_no_longer_exceeded_event
|
|
562
562
|
>
|
|
563
563
|
|
|
564
|
+
export const temperature_reached_set_point_event = device_event.extend({
|
|
565
|
+
event_type: z.literal('thermostat.temperature_reached_set_point'),
|
|
566
|
+
temperature_celsius: z
|
|
567
|
+
.number()
|
|
568
|
+
.describe('Temperature, in °C, reported by the thermostat.'),
|
|
569
|
+
temperature_fahrenheit: z
|
|
570
|
+
.number()
|
|
571
|
+
.describe('Temperature, in °F, reported by the thermostat.'),
|
|
572
|
+
desired_temperature_celsius: z
|
|
573
|
+
.number()
|
|
574
|
+
.optional()
|
|
575
|
+
.describe(
|
|
576
|
+
"Desired temperature, in °C, set by the thermostat's cooling or heating set point.",
|
|
577
|
+
),
|
|
578
|
+
desired_temperature_fahrenheit: z
|
|
579
|
+
.number()
|
|
580
|
+
.optional()
|
|
581
|
+
.describe(
|
|
582
|
+
"Desired temperature, in °F, set by the thermostat's cooling or heating set point.",
|
|
583
|
+
),
|
|
584
|
+
})
|
|
585
|
+
|
|
586
|
+
export type TemperatureReachedSetPointEvent = z.infer<
|
|
587
|
+
typeof temperature_reached_set_point_event
|
|
588
|
+
>
|
|
589
|
+
|
|
564
590
|
export const device_events = [
|
|
565
591
|
device_connected_event,
|
|
566
592
|
device_added_event,
|
|
@@ -592,4 +618,5 @@ export const device_events = [
|
|
|
592
618
|
thermostat_manually_adjusted_event,
|
|
593
619
|
temperature_threshold_exceeded_event,
|
|
594
620
|
temperature_threshold_no_longer_exceeded_event,
|
|
621
|
+
temperature_reached_set_point_event,
|
|
595
622
|
] as const
|
|
@@ -7728,6 +7728,59 @@ export default {
|
|
|
7728
7728
|
],
|
|
7729
7729
|
type: 'object',
|
|
7730
7730
|
},
|
|
7731
|
+
{
|
|
7732
|
+
description: 'An ACS access group was deleted.',
|
|
7733
|
+
properties: {
|
|
7734
|
+
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
7735
|
+
acs_system_id: {
|
|
7736
|
+
description:
|
|
7737
|
+
'ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).',
|
|
7738
|
+
format: 'uuid',
|
|
7739
|
+
type: 'string',
|
|
7740
|
+
},
|
|
7741
|
+
connected_account_id: {
|
|
7742
|
+
description:
|
|
7743
|
+
'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
|
|
7744
|
+
format: 'uuid',
|
|
7745
|
+
type: 'string',
|
|
7746
|
+
},
|
|
7747
|
+
created_at: {
|
|
7748
|
+
description: 'Date and time at which the event was created.',
|
|
7749
|
+
format: 'date-time',
|
|
7750
|
+
type: 'string',
|
|
7751
|
+
},
|
|
7752
|
+
event_id: {
|
|
7753
|
+
description: 'ID of the event.',
|
|
7754
|
+
format: 'uuid',
|
|
7755
|
+
type: 'string',
|
|
7756
|
+
},
|
|
7757
|
+
event_type: {
|
|
7758
|
+
enum: ['acs_access_group.deleted'],
|
|
7759
|
+
type: 'string',
|
|
7760
|
+
},
|
|
7761
|
+
occurred_at: {
|
|
7762
|
+
description: 'Date and time at which the event occurred.',
|
|
7763
|
+
format: 'date-time',
|
|
7764
|
+
type: 'string',
|
|
7765
|
+
},
|
|
7766
|
+
workspace_id: {
|
|
7767
|
+
description:
|
|
7768
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
|
|
7769
|
+
format: 'uuid',
|
|
7770
|
+
type: 'string',
|
|
7771
|
+
},
|
|
7772
|
+
},
|
|
7773
|
+
required: [
|
|
7774
|
+
'event_id',
|
|
7775
|
+
'workspace_id',
|
|
7776
|
+
'created_at',
|
|
7777
|
+
'occurred_at',
|
|
7778
|
+
'acs_system_id',
|
|
7779
|
+
'acs_access_group_id',
|
|
7780
|
+
'event_type',
|
|
7781
|
+
],
|
|
7782
|
+
type: 'object',
|
|
7783
|
+
},
|
|
7731
7784
|
{
|
|
7732
7785
|
description:
|
|
7733
7786
|
'A [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) was deleted.',
|
|
@@ -10225,6 +10278,80 @@ export default {
|
|
|
10225
10278
|
],
|
|
10226
10279
|
type: 'object',
|
|
10227
10280
|
},
|
|
10281
|
+
{
|
|
10282
|
+
properties: {
|
|
10283
|
+
connected_account_id: {
|
|
10284
|
+
description:
|
|
10285
|
+
'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
|
|
10286
|
+
format: 'uuid',
|
|
10287
|
+
type: 'string',
|
|
10288
|
+
},
|
|
10289
|
+
created_at: {
|
|
10290
|
+
description: 'Date and time at which the event was created.',
|
|
10291
|
+
format: 'date-time',
|
|
10292
|
+
type: 'string',
|
|
10293
|
+
},
|
|
10294
|
+
desired_temperature_celsius: {
|
|
10295
|
+
description:
|
|
10296
|
+
"Desired temperature, in °C, set by the thermostat's cooling or heating set point.",
|
|
10297
|
+
format: 'float',
|
|
10298
|
+
type: 'number',
|
|
10299
|
+
},
|
|
10300
|
+
desired_temperature_fahrenheit: {
|
|
10301
|
+
description:
|
|
10302
|
+
"Desired temperature, in °F, set by the thermostat's cooling or heating set point.",
|
|
10303
|
+
format: 'float',
|
|
10304
|
+
type: 'number',
|
|
10305
|
+
},
|
|
10306
|
+
device_id: {
|
|
10307
|
+
description: 'ID of the device.',
|
|
10308
|
+
format: 'uuid',
|
|
10309
|
+
type: 'string',
|
|
10310
|
+
},
|
|
10311
|
+
event_id: {
|
|
10312
|
+
description: 'ID of the event.',
|
|
10313
|
+
format: 'uuid',
|
|
10314
|
+
type: 'string',
|
|
10315
|
+
},
|
|
10316
|
+
event_type: {
|
|
10317
|
+
enum: ['thermostat.temperature_reached_set_point'],
|
|
10318
|
+
type: 'string',
|
|
10319
|
+
},
|
|
10320
|
+
occurred_at: {
|
|
10321
|
+
description: 'Date and time at which the event occurred.',
|
|
10322
|
+
format: 'date-time',
|
|
10323
|
+
type: 'string',
|
|
10324
|
+
},
|
|
10325
|
+
temperature_celsius: {
|
|
10326
|
+
description: 'Temperature, in °C, reported by the thermostat.',
|
|
10327
|
+
format: 'float',
|
|
10328
|
+
type: 'number',
|
|
10329
|
+
},
|
|
10330
|
+
temperature_fahrenheit: {
|
|
10331
|
+
description: 'Temperature, in °F, reported by the thermostat.',
|
|
10332
|
+
format: 'float',
|
|
10333
|
+
type: 'number',
|
|
10334
|
+
},
|
|
10335
|
+
workspace_id: {
|
|
10336
|
+
description:
|
|
10337
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
|
|
10338
|
+
format: 'uuid',
|
|
10339
|
+
type: 'string',
|
|
10340
|
+
},
|
|
10341
|
+
},
|
|
10342
|
+
required: [
|
|
10343
|
+
'event_id',
|
|
10344
|
+
'workspace_id',
|
|
10345
|
+
'created_at',
|
|
10346
|
+
'occurred_at',
|
|
10347
|
+
'device_id',
|
|
10348
|
+
'connected_account_id',
|
|
10349
|
+
'event_type',
|
|
10350
|
+
'temperature_celsius',
|
|
10351
|
+
'temperature_fahrenheit',
|
|
10352
|
+
],
|
|
10353
|
+
type: 'object',
|
|
10354
|
+
},
|
|
10228
10355
|
{
|
|
10229
10356
|
description:
|
|
10230
10357
|
'An [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) was deleted.',
|
|
@@ -20628,6 +20755,7 @@ export default {
|
|
|
20628
20755
|
'acs_system.added',
|
|
20629
20756
|
'acs_system.connected',
|
|
20630
20757
|
'acs_system.disconnected',
|
|
20758
|
+
'acs_access_group.deleted',
|
|
20631
20759
|
'acs_user.deleted',
|
|
20632
20760
|
'acs_credential.deleted',
|
|
20633
20761
|
'acs_credential.issued',
|
|
@@ -20643,6 +20771,7 @@ export default {
|
|
|
20643
20771
|
'thermostat.manually_adjusted',
|
|
20644
20772
|
'thermostat.temperature_threshold_exceeded',
|
|
20645
20773
|
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
20774
|
+
'thermostat.temperature_reached_set_point',
|
|
20646
20775
|
],
|
|
20647
20776
|
type: 'string',
|
|
20648
20777
|
},
|
|
@@ -20705,6 +20834,7 @@ export default {
|
|
|
20705
20834
|
'acs_system.added',
|
|
20706
20835
|
'acs_system.connected',
|
|
20707
20836
|
'acs_system.disconnected',
|
|
20837
|
+
'acs_access_group.deleted',
|
|
20708
20838
|
'acs_user.deleted',
|
|
20709
20839
|
'acs_credential.deleted',
|
|
20710
20840
|
'acs_credential.issued',
|
|
@@ -20720,6 +20850,7 @@ export default {
|
|
|
20720
20850
|
'thermostat.manually_adjusted',
|
|
20721
20851
|
'thermostat.temperature_threshold_exceeded',
|
|
20722
20852
|
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
20853
|
+
'thermostat.temperature_reached_set_point',
|
|
20723
20854
|
],
|
|
20724
20855
|
type: 'string',
|
|
20725
20856
|
},
|
|
@@ -16213,6 +16213,22 @@ export interface Routes {
|
|
|
16213
16213
|
acs_encoder_id: string
|
|
16214
16214
|
event_type: 'acs_encoder.removed'
|
|
16215
16215
|
}
|
|
16216
|
+
| {
|
|
16217
|
+
/** ID of the event. */
|
|
16218
|
+
event_id: string
|
|
16219
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
16220
|
+
workspace_id: string
|
|
16221
|
+
/** Date and time at which the event was created. */
|
|
16222
|
+
created_at: string
|
|
16223
|
+
/** Date and time at which the event occurred. */
|
|
16224
|
+
occurred_at: string
|
|
16225
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
16226
|
+
connected_account_id?: string | undefined
|
|
16227
|
+
/** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
16228
|
+
acs_system_id: string
|
|
16229
|
+
acs_access_group_id: string
|
|
16230
|
+
event_type: 'acs_access_group.deleted'
|
|
16231
|
+
}
|
|
16216
16232
|
| {
|
|
16217
16233
|
/** ID of the event. */
|
|
16218
16234
|
event_id: string
|
|
@@ -16969,6 +16985,29 @@ export interface Routes {
|
|
|
16969
16985
|
/** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
16970
16986
|
lower_limit_fahrenheit: number | null
|
|
16971
16987
|
}
|
|
16988
|
+
| {
|
|
16989
|
+
/** ID of the event. */
|
|
16990
|
+
event_id: string
|
|
16991
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
16992
|
+
workspace_id: string
|
|
16993
|
+
/** Date and time at which the event was created. */
|
|
16994
|
+
created_at: string
|
|
16995
|
+
/** Date and time at which the event occurred. */
|
|
16996
|
+
occurred_at: string
|
|
16997
|
+
/** ID of the device. */
|
|
16998
|
+
device_id: string
|
|
16999
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
17000
|
+
connected_account_id: string
|
|
17001
|
+
event_type: 'thermostat.temperature_reached_set_point'
|
|
17002
|
+
/** Temperature, in °C, reported by the thermostat. */
|
|
17003
|
+
temperature_celsius: number
|
|
17004
|
+
/** Temperature, in °F, reported by the thermostat. */
|
|
17005
|
+
temperature_fahrenheit: number
|
|
17006
|
+
/** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
|
|
17007
|
+
desired_temperature_celsius?: number | undefined
|
|
17008
|
+
/** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
|
|
17009
|
+
desired_temperature_fahrenheit?: number | undefined
|
|
17010
|
+
}
|
|
16972
17011
|
| {
|
|
16973
17012
|
/** ID of the event. */
|
|
16974
17013
|
event_id: string
|
|
@@ -17073,6 +17112,7 @@ export interface Routes {
|
|
|
17073
17112
|
| 'acs_system.added'
|
|
17074
17113
|
| 'acs_system.connected'
|
|
17075
17114
|
| 'acs_system.disconnected'
|
|
17115
|
+
| 'acs_access_group.deleted'
|
|
17076
17116
|
| 'acs_user.deleted'
|
|
17077
17117
|
| 'acs_credential.deleted'
|
|
17078
17118
|
| 'acs_credential.issued'
|
|
@@ -17088,6 +17128,7 @@ export interface Routes {
|
|
|
17088
17128
|
| 'thermostat.manually_adjusted'
|
|
17089
17129
|
| 'thermostat.temperature_threshold_exceeded'
|
|
17090
17130
|
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
17131
|
+
| 'thermostat.temperature_reached_set_point'
|
|
17091
17132
|
)
|
|
17092
17133
|
| undefined
|
|
17093
17134
|
event_types?:
|
|
@@ -17148,6 +17189,7 @@ export interface Routes {
|
|
|
17148
17189
|
| 'acs_system.added'
|
|
17149
17190
|
| 'acs_system.connected'
|
|
17150
17191
|
| 'acs_system.disconnected'
|
|
17192
|
+
| 'acs_access_group.deleted'
|
|
17151
17193
|
| 'acs_user.deleted'
|
|
17152
17194
|
| 'acs_credential.deleted'
|
|
17153
17195
|
| 'acs_credential.issued'
|
|
@@ -17163,6 +17205,7 @@ export interface Routes {
|
|
|
17163
17205
|
| 'thermostat.manually_adjusted'
|
|
17164
17206
|
| 'thermostat.temperature_threshold_exceeded'
|
|
17165
17207
|
| 'thermostat.temperature_threshold_no_longer_exceeded'
|
|
17208
|
+
| 'thermostat.temperature_reached_set_point'
|
|
17166
17209
|
>
|
|
17167
17210
|
| undefined
|
|
17168
17211
|
connected_account_id?: string | undefined
|
|
@@ -17595,6 +17638,22 @@ export interface Routes {
|
|
|
17595
17638
|
acs_encoder_id: string
|
|
17596
17639
|
event_type: 'acs_encoder.removed'
|
|
17597
17640
|
}
|
|
17641
|
+
| {
|
|
17642
|
+
/** ID of the event. */
|
|
17643
|
+
event_id: string
|
|
17644
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
17645
|
+
workspace_id: string
|
|
17646
|
+
/** Date and time at which the event was created. */
|
|
17647
|
+
created_at: string
|
|
17648
|
+
/** Date and time at which the event occurred. */
|
|
17649
|
+
occurred_at: string
|
|
17650
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
17651
|
+
connected_account_id?: string | undefined
|
|
17652
|
+
/** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
17653
|
+
acs_system_id: string
|
|
17654
|
+
acs_access_group_id: string
|
|
17655
|
+
event_type: 'acs_access_group.deleted'
|
|
17656
|
+
}
|
|
17598
17657
|
| {
|
|
17599
17658
|
/** ID of the event. */
|
|
17600
17659
|
event_id: string
|
|
@@ -18341,6 +18400,29 @@ export interface Routes {
|
|
|
18341
18400
|
/** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
|
|
18342
18401
|
lower_limit_fahrenheit: number | null
|
|
18343
18402
|
}
|
|
18403
|
+
| {
|
|
18404
|
+
/** ID of the event. */
|
|
18405
|
+
event_id: string
|
|
18406
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
|
|
18407
|
+
workspace_id: string
|
|
18408
|
+
/** Date and time at which the event was created. */
|
|
18409
|
+
created_at: string
|
|
18410
|
+
/** Date and time at which the event occurred. */
|
|
18411
|
+
occurred_at: string
|
|
18412
|
+
/** ID of the device. */
|
|
18413
|
+
device_id: string
|
|
18414
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
|
|
18415
|
+
connected_account_id: string
|
|
18416
|
+
event_type: 'thermostat.temperature_reached_set_point'
|
|
18417
|
+
/** Temperature, in °C, reported by the thermostat. */
|
|
18418
|
+
temperature_celsius: number
|
|
18419
|
+
/** Temperature, in °F, reported by the thermostat. */
|
|
18420
|
+
temperature_fahrenheit: number
|
|
18421
|
+
/** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
|
|
18422
|
+
desired_temperature_celsius?: number | undefined
|
|
18423
|
+
/** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
|
|
18424
|
+
desired_temperature_fahrenheit?: number | undefined
|
|
18425
|
+
}
|
|
18344
18426
|
| {
|
|
18345
18427
|
/** ID of the event. */
|
|
18346
18428
|
event_id: string
|