@seamapi/types 1.323.0 → 1.324.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 +631 -719
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +500 -643
- package/lib/seam/connect/models/events/access-codes.js +32 -41
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/acs/common.js +9 -12
- package/lib/seam/connect/models/events/acs/common.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.js +2 -2
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/encoders.js +6 -3
- package/lib/seam/connect/models/events/acs/encoders.js.map +1 -1
- package/lib/seam/connect/models/events/acs/systems.js +3 -3
- package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
- package/lib/seam/connect/models/events/acs/users.js +5 -3
- package/lib/seam/connect/models/events/acs/users.js.map +1 -1
- package/lib/seam/connect/models/events/action-attempts.js +10 -22
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/client-sessions.js +5 -7
- package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
- package/lib/seam/connect/models/events/common.js +5 -2
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.js +10 -14
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js +15 -19
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.js +43 -47
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.js +5 -7
- package/lib/seam/connect/models/events/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/models/events/phones.js +4 -6
- package/lib/seam/connect/models/events/phones.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +0 -143
- package/lib/seam/connect/openapi.js +316 -440
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +500 -500
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +64 -41
- package/src/lib/seam/connect/models/events/acs/common.ts +13 -12
- package/src/lib/seam/connect/models/events/acs/credentials.ts +6 -2
- package/src/lib/seam/connect/models/events/acs/encoders.ts +12 -3
- package/src/lib/seam/connect/models/events/acs/systems.ts +9 -3
- package/src/lib/seam/connect/models/events/acs/users.ts +10 -4
- package/src/lib/seam/connect/models/events/action-attempts.ts +20 -22
- package/src/lib/seam/connect/models/events/client-sessions.ts +9 -7
- package/src/lib/seam/connect/models/events/common.ts +5 -2
- package/src/lib/seam/connect/models/events/connect-webviews.ts +18 -14
- package/src/lib/seam/connect/models/events/connected-accounts.ts +25 -19
- package/src/lib/seam/connect/models/events/devices.ts +75 -47
- package/src/lib/seam/connect/models/events/enrollment-automations.ts +9 -7
- package/src/lib/seam/connect/models/events/phones.ts +6 -6
- package/src/lib/seam/connect/openapi.ts +454 -440
- package/src/lib/seam/connect/route-types.ts +500 -500
|
@@ -21,17 +21,17 @@ const disconnection_error_code = z
|
|
|
21
21
|
.describe('Error code associated with the disconnection event, if any.');
|
|
22
22
|
export const lock_method = z
|
|
23
23
|
.enum(['keycode', 'manual', 'automatic', 'unknown', 'seamapi'])
|
|
24
|
-
.describe('Method by which a lock device was locked or unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.');
|
|
24
|
+
.describe('Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) was locked or unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.');
|
|
25
25
|
export const device_connected_event = device_event
|
|
26
26
|
.extend({
|
|
27
27
|
event_type: z.literal('device.connected'),
|
|
28
28
|
})
|
|
29
|
-
.describe('
|
|
29
|
+
.describe('The status of a [device](https://docs.seam.co/latest/core-concepts/devices) changed from offline to online. That is, the `device.properties.online` property changed from `false` to `true`. Note that some devices operate entirely in offline mode, so Seam never emits a `device.connected` event for these devices.');
|
|
30
30
|
export const device_added_event = device_event
|
|
31
31
|
.extend({
|
|
32
32
|
event_type: z.literal('device.added'),
|
|
33
33
|
})
|
|
34
|
-
.describe('A device was added or
|
|
34
|
+
.describe('A [device](https://docs.seam.co/latest/core-concepts/devices) was added to Seam or was re-added to Seam after having been removed.');
|
|
35
35
|
export const device_converted_to_unmanaged_event = device_event
|
|
36
36
|
.extend({
|
|
37
37
|
event_type: z.literal('device.converted_to_unmanaged'),
|
|
@@ -46,97 +46,97 @@ export const unmanaged_device_connected_event = device_event
|
|
|
46
46
|
.extend({
|
|
47
47
|
event_type: z.literal('device.unmanaged.connected'),
|
|
48
48
|
})
|
|
49
|
-
.describe('
|
|
49
|
+
.describe('The status of an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) changed from offline to online. That is, the `device.properties.online` property changed from `false` to `true`.');
|
|
50
50
|
export const device_disconnected_event = device_event
|
|
51
51
|
.extend({
|
|
52
52
|
event_type: z.literal('device.disconnected'),
|
|
53
53
|
error_code: disconnection_error_code,
|
|
54
54
|
})
|
|
55
|
-
.describe('
|
|
55
|
+
.describe('The status of a [device](https://docs.seam.co/latest/core-concepts/devices) changed from online to offline. That is, the `device.properties.online` property changed from `true` to `false`.');
|
|
56
56
|
export const unmanaged_device_disconnected_event = device_event
|
|
57
57
|
.extend({
|
|
58
58
|
event_type: z.literal('device.unmanaged.disconnected'),
|
|
59
59
|
error_code: disconnection_error_code,
|
|
60
60
|
})
|
|
61
|
-
.describe('
|
|
61
|
+
.describe('The status of an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) changed from online to offline. That is, the `device.properties.online` property changed from `true` to `false`.');
|
|
62
62
|
export const device_tampered_event = device_event
|
|
63
63
|
.extend({
|
|
64
64
|
event_type: z.literal('device.tampered'),
|
|
65
65
|
})
|
|
66
|
-
.describe('A device detected that it was tampered with, for example, opened or moved.');
|
|
66
|
+
.describe('A [device](https://docs.seam.co/latest/core-concepts/devices) detected that it was tampered with, for example, opened or moved.');
|
|
67
67
|
export const device_low_battery_event = device_event
|
|
68
68
|
.extend({
|
|
69
69
|
event_type: z.literal('device.low_battery'),
|
|
70
70
|
battery_level,
|
|
71
71
|
})
|
|
72
|
-
.describe('A device battery level dropped below the low threshold.');
|
|
72
|
+
.describe('A [device](https://docs.seam.co/latest/core-concepts/devices) battery level dropped below the low threshold.');
|
|
73
73
|
export const device_battery_status_changed_event = device_event
|
|
74
74
|
.extend({
|
|
75
75
|
event_type: z.literal('device.battery_status_changed'),
|
|
76
76
|
battery_status: device_battery_status,
|
|
77
77
|
battery_level,
|
|
78
78
|
})
|
|
79
|
-
.describe('A device battery status changed since the last `battery_status_changed` event.');
|
|
79
|
+
.describe('A [device](https://docs.seam.co/latest/core-concepts/devices) battery status changed since the last `battery_status_changed` event.');
|
|
80
80
|
export const device_removed_event = device_event
|
|
81
81
|
.extend({
|
|
82
82
|
event_type: z.literal('device.removed'),
|
|
83
83
|
})
|
|
84
|
-
.describe('A device was removed externally from the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).');
|
|
84
|
+
.describe('A [device](https://docs.seam.co/latest/core-concepts/devices) was removed externally from the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).');
|
|
85
85
|
export const device_deleted_event = device_event
|
|
86
86
|
.extend({
|
|
87
87
|
event_type: z.literal('device.deleted'),
|
|
88
88
|
})
|
|
89
|
-
.describe('A device
|
|
89
|
+
.describe('A [device](https://docs.seam.co/latest/core-concepts/devices) was deleted.');
|
|
90
90
|
export const device_third_party_integration_detected_event = device_event
|
|
91
91
|
.extend({
|
|
92
92
|
event_type: z.literal('device.third_party_integration_detected'),
|
|
93
93
|
})
|
|
94
|
-
.describe('Seam detected that a device is using a third-party integration that will interfere with Seam device management.');
|
|
94
|
+
.describe('Seam detected that a [device](https://docs.seam.co/latest/core-concepts/devices) is using a third-party integration that will interfere with Seam device management.');
|
|
95
95
|
export const device_third_party_integration_no_longer_detected_event = device_event
|
|
96
96
|
.extend({
|
|
97
97
|
event_type: z.literal('device.third_party_integration_no_longer_detected'),
|
|
98
98
|
})
|
|
99
|
-
.describe('Seam detected that a device is no longer using a third-party integration that was interfering with Seam device management.');
|
|
99
|
+
.describe('Seam detected that a [device](https://docs.seam.co/latest/core-concepts/devices) is no longer using a third-party integration that was interfering with Seam device management.');
|
|
100
100
|
export const device_salto_privacy_mode_activated_event = device_event
|
|
101
101
|
.extend({
|
|
102
102
|
event_type: z.literal('device.salto.privacy_mode_activated'),
|
|
103
103
|
})
|
|
104
|
-
.describe('A Salto device activated privacy mode.');
|
|
104
|
+
.describe('A [Salto device](https://docs.seam.co/latest/device-and-system-integration-guides/salto-locks) activated privacy mode.');
|
|
105
105
|
export const device_salto_privacy_mode_deactivated_event = device_event
|
|
106
106
|
.extend({
|
|
107
107
|
event_type: z.literal('device.salto.privacy_mode_deactivated'),
|
|
108
108
|
})
|
|
109
|
-
.describe('A Salto device deactivated privacy mode.');
|
|
109
|
+
.describe('A [Salto device](https://docs.seam.co/latest/device-and-system-integration-guides/salto-locks) deactivated privacy mode.');
|
|
110
110
|
export const device_connection_became_flaky_event = device_event
|
|
111
111
|
.extend({
|
|
112
112
|
event_type: z.literal('device.connection_became_flaky'),
|
|
113
113
|
})
|
|
114
|
-
.describe('Seam detected a flaky device connection.');
|
|
114
|
+
.describe('Seam detected a flaky [device](https://docs.seam.co/latest/core-concepts/devices) connection.');
|
|
115
115
|
export const device_connection_stabilized_event = device_event
|
|
116
116
|
.extend({
|
|
117
117
|
event_type: z.literal('device.connection_stabilized'),
|
|
118
118
|
})
|
|
119
|
-
.describe('Seam detected that a previously-flaky device connection stabilized.');
|
|
119
|
+
.describe('Seam detected that a previously-flaky [device](https://docs.seam.co/latest/core-concepts/devices) connection stabilized.');
|
|
120
120
|
export const device_error_subscription_required_event = device_event
|
|
121
121
|
.extend({
|
|
122
122
|
event_type: z.literal('device.error.subscription_required'),
|
|
123
123
|
})
|
|
124
|
-
.describe('A third-party subscription is required to use all device features.');
|
|
124
|
+
.describe('A third-party subscription is required to use all [device](https://docs.seam.co/latest/core-concepts/devices) features.');
|
|
125
125
|
export const device_error_subscription_required_resolved_event = device_event
|
|
126
126
|
.extend({
|
|
127
127
|
event_type: z.literal('device.error.subscription_required.resolved'),
|
|
128
128
|
})
|
|
129
|
-
.describe('A third-party subscription is active or no longer required to use all device features.');
|
|
129
|
+
.describe('A third-party subscription is active or no longer required to use all [device](https://docs.seam.co/latest/core-concepts/devices) features.');
|
|
130
130
|
export const device_accessory_keypad_connected_event = device_event
|
|
131
131
|
.extend({
|
|
132
132
|
event_type: z.literal('device.accessory_keypad_connected'),
|
|
133
133
|
})
|
|
134
|
-
.describe('An accessory keypad was connected to a device.');
|
|
134
|
+
.describe('An accessory keypad was connected to a [device](https://docs.seam.co/latest/core-concepts/devices).');
|
|
135
135
|
export const device_accessory_keypad_disconnected_event = device_event
|
|
136
136
|
.extend({
|
|
137
137
|
event_type: z.literal('device.accessory_keypad_disconnected'),
|
|
138
138
|
})
|
|
139
|
-
.describe('An accessory keypad was disconnected from a device.');
|
|
139
|
+
.describe('An accessory keypad was disconnected from a [device](https://docs.seam.co/latest/core-concepts/devices).');
|
|
140
140
|
export const noise_sensor_noise_threshold_triggered_event = device_event
|
|
141
141
|
.extend({
|
|
142
142
|
event_type: z.literal('noise_sensor.noise_threshold_triggered'),
|
|
@@ -158,18 +158,14 @@ export const noise_sensor_noise_threshold_triggered_event = device_event
|
|
|
158
158
|
.optional()
|
|
159
159
|
.describe('Name of the [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) that was triggered.'),
|
|
160
160
|
// TODO: remove metadata from this event
|
|
161
|
-
noiseaware_metadata: z
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
title: Minut Metadata
|
|
170
|
-
---
|
|
171
|
-
Metadata from Minut.
|
|
172
|
-
`),
|
|
161
|
+
noiseaware_metadata: z
|
|
162
|
+
.record(z.unknown())
|
|
163
|
+
.optional()
|
|
164
|
+
.describe('Metadata from Noiseaware.'),
|
|
165
|
+
minut_metadata: z
|
|
166
|
+
.record(z.unknown())
|
|
167
|
+
.optional()
|
|
168
|
+
.describe('Metadata from Minut.'),
|
|
173
169
|
})
|
|
174
170
|
.describe('Extended periods of noise or noise exceeding a [threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) were detected.');
|
|
175
171
|
export const lock_locked_event = device_event
|
|
@@ -185,9 +181,9 @@ export const lock_locked_event = device_event
|
|
|
185
181
|
.uuid()
|
|
186
182
|
.optional()
|
|
187
183
|
.describe('ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the lock action.'),
|
|
188
|
-
method: lock_method.describe('Method by which a lock device was locked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.'),
|
|
184
|
+
method: lock_method.describe('Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) was locked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.'),
|
|
189
185
|
})
|
|
190
|
-
.describe('A lock was locked.');
|
|
186
|
+
.describe('A [lock](https://docs.seam.co/latest/capability-guides/smart-locks) was locked.');
|
|
191
187
|
export const lock_unlocked_event = device_event
|
|
192
188
|
.extend({
|
|
193
189
|
event_type: z.literal('lock.unlocked'),
|
|
@@ -201,9 +197,9 @@ export const lock_unlocked_event = device_event
|
|
|
201
197
|
.uuid()
|
|
202
198
|
.optional()
|
|
203
199
|
.describe('ID of the [action attempt](https://docs.seam.co/latest/core-concepts/action-attempts) associated with the unlock action.'),
|
|
204
|
-
method: lock_method.describe('Method by which a lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.'),
|
|
200
|
+
method: lock_method.describe('Method by which a [lock device](https://docs.seam.co/latest/capability-guides/smart-locks) was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.'),
|
|
205
201
|
})
|
|
206
|
-
.describe('A lock was unlocked.');
|
|
202
|
+
.describe('A [lock](https://docs.seam.co/latest/capability-guides/smart-locks) was unlocked.');
|
|
207
203
|
export const lock_access_denied_event = device_event
|
|
208
204
|
.extend({
|
|
209
205
|
event_type: z.literal('lock.access_denied'),
|
|
@@ -213,7 +209,7 @@ export const lock_access_denied_event = device_event
|
|
|
213
209
|
.optional()
|
|
214
210
|
.describe('ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used in the unlock attempts.'),
|
|
215
211
|
})
|
|
216
|
-
.describe('The lock denied access to a user after one or more consecutive invalid attempts to unlock the device.');
|
|
212
|
+
.describe('The [lock](https://docs.seam.co/latest/capability-guides/smart-locks) denied access to a user after one or more consecutive invalid attempts to unlock the device.');
|
|
217
213
|
export const thermostat_climate_preset_activated_event = device_event
|
|
218
214
|
.extend({
|
|
219
215
|
event_type: z.literal('thermostat.climate_preset_activated'),
|
|
@@ -227,12 +223,12 @@ export const thermostat_climate_preset_activated_event = device_event
|
|
|
227
223
|
.describe('Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated.'),
|
|
228
224
|
is_fallback_climate_preset: z
|
|
229
225
|
.boolean()
|
|
230
|
-
.describe('Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated is the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.'),
|
|
226
|
+
.describe('Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) that was activated is the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).'),
|
|
231
227
|
})
|
|
232
228
|
.describe('A thermostat [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) was activated.');
|
|
233
229
|
export const thermostat_manually_adjusted_method = z
|
|
234
230
|
.enum(['seam', 'external'])
|
|
235
|
-
.describe('Method used to adjust the thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat.');
|
|
231
|
+
.describe('Method used to adjust the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).');
|
|
236
232
|
export const thermostat_manually_adjusted_event = device_event
|
|
237
233
|
.extend({
|
|
238
234
|
event_type: z.literal('thermostat.manually_adjusted'),
|
|
@@ -246,16 +242,16 @@ export const thermostat_manually_adjusted_event = device_event
|
|
|
246
242
|
cooling_set_point_fahrenheit: true,
|
|
247
243
|
heating_set_point_fahrenheit: true,
|
|
248
244
|
}))
|
|
249
|
-
.describe('A thermostat was adjusted manually.');
|
|
245
|
+
.describe('A [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) was adjusted manually.');
|
|
250
246
|
export const temperature_threshold_exceeded_event = device_event
|
|
251
247
|
.extend({
|
|
252
248
|
event_type: z.literal('thermostat.temperature_threshold_exceeded'),
|
|
253
249
|
temperature_celsius: z
|
|
254
250
|
.number()
|
|
255
|
-
.describe('Temperature, in °C, reported by the thermostat.'),
|
|
251
|
+
.describe('Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).'),
|
|
256
252
|
temperature_fahrenheit: z
|
|
257
253
|
.number()
|
|
258
|
-
.describe('Temperature, in °F, reported by the thermostat.'),
|
|
254
|
+
.describe('Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).'),
|
|
259
255
|
upper_limit_celsius: z
|
|
260
256
|
.number()
|
|
261
257
|
.nullable()
|
|
@@ -273,16 +269,16 @@ export const temperature_threshold_exceeded_event = device_event
|
|
|
273
269
|
.nullable()
|
|
274
270
|
.describe('Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).'),
|
|
275
271
|
})
|
|
276
|
-
.describe("A thermostat's temperature reading exceeded the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).");
|
|
272
|
+
.describe("A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading exceeded the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).");
|
|
277
273
|
export const temperature_threshold_no_longer_exceeded_event = device_event
|
|
278
274
|
.extend({
|
|
279
275
|
event_type: z.literal('thermostat.temperature_threshold_no_longer_exceeded'),
|
|
280
276
|
temperature_celsius: z
|
|
281
277
|
.number()
|
|
282
|
-
.describe('Temperature, in °C, reported by the thermostat.'),
|
|
278
|
+
.describe('Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).'),
|
|
283
279
|
temperature_fahrenheit: z
|
|
284
280
|
.number()
|
|
285
|
-
.describe('Temperature, in °F, reported by the thermostat.'),
|
|
281
|
+
.describe('Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).'),
|
|
286
282
|
upper_limit_celsius: z
|
|
287
283
|
.number()
|
|
288
284
|
.nullable()
|
|
@@ -300,7 +296,7 @@ export const temperature_threshold_no_longer_exceeded_event = device_event
|
|
|
300
296
|
.nullable()
|
|
301
297
|
.describe('Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).'),
|
|
302
298
|
})
|
|
303
|
-
.describe("A thermostat's temperature reading no longer exceeds the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).");
|
|
299
|
+
.describe("A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading no longer exceeds the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).");
|
|
304
300
|
export const device_events = [
|
|
305
301
|
device_connected_event,
|
|
306
302
|
device_added_event,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/devices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAC1D,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,8FAA8F,CAC/F;CACJ,CAAC,CAAA;AAEF,MAAM,aAAa,GAAG,CAAC;KACpB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CACP,yGAAyG,CAC1G,CAAA;AAEH,MAAM,qBAAqB,GAAG,CAAC;KAC5B,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KACzC,QAAQ,CACP,kFAAkF,CACnF,CAAA;AAEH,MAAM,wBAAwB,GAAG,CAAC;KAC/B,IAAI,CAAC,CAAC,sBAAsB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC,CAAC;KACzE,QA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,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,yCAAyC;IACzC,kCAAkC;IAClC,oCAAoC;IACpC,8CAA8C;CACtC,CAAA"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { common_event } from './common.js';
|
|
3
3
|
const enrollment_automation_event = common_event.extend({
|
|
4
|
-
enrollment_automation_id: z
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ID of the enrollment automation.
|
|
9
|
-
`),
|
|
4
|
+
enrollment_automation_id: z
|
|
5
|
+
.string()
|
|
6
|
+
.uuid()
|
|
7
|
+
.describe('ID of the [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).'),
|
|
10
8
|
});
|
|
11
9
|
export const enrollment_automation_deleted_event = enrollment_automation_event
|
|
12
10
|
.extend({
|
|
13
11
|
event_type: z.literal('enrollment_automation.deleted'),
|
|
14
12
|
})
|
|
15
|
-
.describe('An enrollment automation was deleted.');
|
|
13
|
+
.describe('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.');
|
|
16
14
|
export const enrollment_automation_events = [
|
|
17
15
|
enrollment_automation_deleted_event,
|
|
18
16
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrollment-automations.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/enrollment-automations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,2BAA2B,GAAG,YAAY,CAAC,MAAM,CAAC;IACtD,wBAAwB,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"enrollment-automations.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/enrollment-automations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,2BAA2B,GAAG,YAAY,CAAC,MAAM,CAAC;IACtD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,+PAA+P,CAChQ;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAAG,2BAA2B;KAC3E,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC;CACvD,CAAC;KACD,QAAQ,CACP,oQAAoQ,CACrQ,CAAA;AAMH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,mCAAmC;CAC3B,CAAA"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { common_event } from './common.js';
|
|
3
3
|
const phone_event = common_event.extend({
|
|
4
|
-
device_id: z
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ID of the device.
|
|
9
|
-
`),
|
|
4
|
+
device_id: z
|
|
5
|
+
.string()
|
|
6
|
+
.uuid()
|
|
7
|
+
.describe('ID of the [device](https://docs.seam.co/latest/core-concepts/devices).'),
|
|
10
8
|
});
|
|
11
9
|
export const phone_deactivated_event = phone_event
|
|
12
10
|
.extend({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phones.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/phones.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,CAAC;IACtC,SAAS,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"phones.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/phones.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,CAAC;IACtC,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wEAAwE,CACzE;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,WAAW;KAC/C,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;CAC3C,CAAC;KACD,QAAQ,CAAC,iCAAiC,CAAC,CAAA;AAI9C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,uBAAuB,CAAU,CAAA"}
|