@seamapi/types 1.322.3 → 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.
Files changed (56) hide show
  1. package/dist/connect.cjs +743 -742
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +559 -653
  4. package/lib/seam/connect/models/acs/acs-user.d.ts +53 -0
  5. package/lib/seam/connect/models/acs/acs-user.js +23 -0
  6. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  7. package/lib/seam/connect/models/events/access-codes.js +32 -41
  8. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  9. package/lib/seam/connect/models/events/acs/common.js +9 -12
  10. package/lib/seam/connect/models/events/acs/common.js.map +1 -1
  11. package/lib/seam/connect/models/events/acs/credentials.js +2 -2
  12. package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
  13. package/lib/seam/connect/models/events/acs/encoders.js +6 -3
  14. package/lib/seam/connect/models/events/acs/encoders.js.map +1 -1
  15. package/lib/seam/connect/models/events/acs/systems.js +3 -3
  16. package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
  17. package/lib/seam/connect/models/events/acs/users.js +5 -3
  18. package/lib/seam/connect/models/events/acs/users.js.map +1 -1
  19. package/lib/seam/connect/models/events/action-attempts.js +10 -22
  20. package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
  21. package/lib/seam/connect/models/events/client-sessions.js +5 -7
  22. package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
  23. package/lib/seam/connect/models/events/common.js +5 -2
  24. package/lib/seam/connect/models/events/common.js.map +1 -1
  25. package/lib/seam/connect/models/events/connect-webviews.js +10 -14
  26. package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
  27. package/lib/seam/connect/models/events/connected-accounts.js +15 -19
  28. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  29. package/lib/seam/connect/models/events/devices.js +43 -47
  30. package/lib/seam/connect/models/events/devices.js.map +1 -1
  31. package/lib/seam/connect/models/events/enrollment-automations.js +5 -7
  32. package/lib/seam/connect/models/events/enrollment-automations.js.map +1 -1
  33. package/lib/seam/connect/models/events/phones.js +4 -6
  34. package/lib/seam/connect/models/events/phones.js.map +1 -1
  35. package/lib/seam/connect/openapi.d.ts +34 -150
  36. package/lib/seam/connect/openapi.js +410 -463
  37. package/lib/seam/connect/openapi.js.map +1 -1
  38. package/lib/seam/connect/route-types.d.ts +525 -503
  39. package/package.json +1 -1
  40. package/src/lib/seam/connect/models/acs/acs-user.ts +35 -0
  41. package/src/lib/seam/connect/models/events/access-codes.ts +64 -41
  42. package/src/lib/seam/connect/models/events/acs/common.ts +13 -12
  43. package/src/lib/seam/connect/models/events/acs/credentials.ts +6 -2
  44. package/src/lib/seam/connect/models/events/acs/encoders.ts +12 -3
  45. package/src/lib/seam/connect/models/events/acs/systems.ts +9 -3
  46. package/src/lib/seam/connect/models/events/acs/users.ts +10 -4
  47. package/src/lib/seam/connect/models/events/action-attempts.ts +20 -22
  48. package/src/lib/seam/connect/models/events/client-sessions.ts +9 -7
  49. package/src/lib/seam/connect/models/events/common.ts +5 -2
  50. package/src/lib/seam/connect/models/events/connect-webviews.ts +18 -14
  51. package/src/lib/seam/connect/models/events/connected-accounts.ts +25 -19
  52. package/src/lib/seam/connect/models/events/devices.ts +75 -47
  53. package/src/lib/seam/connect/models/events/enrollment-automations.ts +9 -7
  54. package/src/lib/seam/connect/models/events/phones.ts +6 -6
  55. package/src/lib/seam/connect/openapi.ts +568 -463
  56. package/src/lib/seam/connect/route-types.ts +525 -503
@@ -1,31 +1,27 @@
1
1
  import { z } from 'zod';
2
2
  import { common_event } from './common.js';
3
3
  const connected_account_event = common_event.extend({
4
- connected_account_id: z.string().uuid().describe(`
5
- ---
6
- title: Connected Account ID
7
- ---
8
- ID of the connected account.
9
- `),
4
+ connected_account_id: z
5
+ .string()
6
+ .uuid()
7
+ .describe('ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).'),
10
8
  });
11
- const connect_webview_id = z.string().uuid().describe(`
12
- ---
13
- title: Connect Webview ID
14
- ---
15
- ID of the connect webview.
16
- `);
9
+ const connect_webview_id = z
10
+ .string()
11
+ .uuid()
12
+ .describe('ID of the [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews).');
17
13
  export const connected_account_connected_event = connected_account_event
18
14
  .extend({
19
15
  event_type: z.literal('connected_account.connected'),
20
16
  connect_webview_id,
21
17
  })
22
- .describe('A connected account was connected for the first time, was reconnected after being disconnected.');
18
+ .describe('A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was connected for the first time or was reconnected after being disconnected.');
23
19
  export const connected_account_created_event = connected_account_event
24
20
  .extend({
25
21
  event_type: z.literal('connected_account.created'),
26
22
  connect_webview_id,
27
23
  })
28
- .describe('A connected account was created.');
24
+ .describe('A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was created.');
29
25
  /** @deprecated */
30
26
  export const connected_account_successful_login_event = connected_account_event.extend({
31
27
  event_type: z.literal('connected_account.successful_login'),
@@ -34,27 +30,27 @@ export const connected_account_successful_login_event = connected_account_event.
34
30
  ---
35
31
  deprecated: Use \`connect_webview.login_succeeded\`.
36
32
  ---
37
- A connected account had a successful connect webview login.`);
33
+ A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) had a successful login using a [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews).`);
38
34
  export const connected_account_disconnected_event = connected_account_event
39
35
  .extend({
40
36
  event_type: z.literal('connected_account.disconnected'),
41
37
  })
42
- .describe('A connected account was disconnected.');
38
+ .describe('A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was disconnected.');
43
39
  export const connected_account_completed_first_sync_event = connected_account_event
44
40
  .extend({
45
41
  event_type: z.literal('connected_account.completed_first_sync'),
46
42
  })
47
- .describe('A connected account completed the first sync with Seam and devices are now available.');
43
+ .describe('A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) completed the first sync with Seam, and the corresponding devices or systems are now available.');
48
44
  export const connected_account_deleted_event = connected_account_event
49
45
  .extend({
50
46
  event_type: z.literal('connected_account.deleted'),
51
47
  })
52
- .describe('A connected account was deleted.');
48
+ .describe('A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was deleted.');
53
49
  export const connected_account_completed_first_sync_after_reconnection_event = connected_account_event
54
50
  .extend({
55
51
  event_type: z.literal('connected_account.completed_first_sync_after_reconnection'),
56
52
  })
57
- .describe('A connected account completed the first sync after reconnection with Seam and devices are now available.');
53
+ .describe('A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) completed the first sync after reconnection with Seam, and the corresponding devices or systems are now available.');
58
54
  export const connected_account_events = [
59
55
  connected_account_connected_event,
60
56
  connected_account_created_event,
@@ -1 +1 @@
1
- {"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connected-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,uBAAuB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKhD,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;CAKrD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,uBAAuB;KACrE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACpD,kBAAkB;CACnB,CAAC;KACD,QAAQ,CACP,iGAAiG,CAClG,CAAA;AAMH,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB;KACnE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;IAClD,kBAAkB;CACnB,CAAC;KACD,QAAQ,CAAC,kCAAkC,CAAC,CAAA;AAK/C,kBAAkB;AAClB,MAAM,CAAC,MAAM,wCAAwC,GACnD,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC;IAC3D,kBAAkB;CACnB,CAAC,CAAC,QAAQ,CAAC;;;;gEAIkD,CAAC,CAAA;AAOjE,MAAM,CAAC,MAAM,oCAAoC,GAAG,uBAAuB;KACxE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC;CACxD,CAAC;KACD,QAAQ,CAAC,uCAAuC,CAAC,CAAA;AAMpD,MAAM,CAAC,MAAM,4CAA4C,GACvD,uBAAuB;KACpB,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wCAAwC,CAAC;CAChE,CAAC;KACD,QAAQ,CACP,uFAAuF,CACxF,CAAA;AAML,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB;KACnE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;CACnD,CAAC;KACD,QAAQ,CAAC,kCAAkC,CAAC,CAAA;AAM/C,MAAM,CAAC,MAAM,+DAA+D,GAC1E,uBAAuB;KACpB,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CACnB,2DAA2D,CAC5D;CACF,CAAC;KACD,QAAQ,CACP,0GAA0G,CAC3G,CAAA;AAML,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,iCAAiC;IACjC,+BAA+B;IAC/B,wCAAwC;IACxC,oCAAoC;IACpC,4CAA4C;IAC5C,+BAA+B;IAC/B,+DAA+D;CACvD,CAAA"}
1
+ {"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connected-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,E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;KACD,QAAQ,CACP,qLAAqL,CACtL,CAAA;AAML,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB;KACnE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;CACnD,CAAC;KACD,QAAQ,CACP,kGAAkG,CACnG,CAAA;AAMH,MAAM,CAAC,MAAM,+DAA+D,GAC1E,uBAAuB;KACpB,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CACnB,2DAA2D,CAC5D;CACF,CAAC;KACD,QAAQ,CACP,wMAAwM,CACzM,CAAA;AAML,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,iCAAiC;IACjC,+BAA+B;IAC/B,wCAAwC;IACxC,oCAAoC;IACpC,4CAA4C;IAC5C,+BAA+B;IAC/B,+DAA+D;CACvD,CAAA"}
@@ -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('A new device was connected to Seam.');
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 reconnected to Seam.');
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('An [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) was connected to Seam.');
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('A device was disconnected from Seam.');
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('An [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) was disconnected from Seam.');
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 was [deleted](https://docs.seam.co/latest/api/devices/delete).');
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.record(z.unknown()).optional().describe(`
162
- ---
163
- title: Noiseaware Metadata
164
- ---
165
- Metadata from Noiseaware.
166
- `),
167
- minut_metadata: z.record(z.unknown()).optional().describe(`
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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A8C,GAAG,YAAY;KACvE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CACnB,qDAAqD,CACtD;IACD,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0KAA0K,CAC3K;IACH,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0KAA0K,CAC3K;IACH,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0KAA0K,CAC3K;IACH,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0KAA0K,CAC3K;CACJ,CAAC;KACD,QAAQ,CACP,oLAAoL,CACrL,CAAA;AAMH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,sBAAsB;IACtB,kBAAkB;IAClB,mCAAmC;IACnC,2CAA2C;IAC3C,gCAAgC;IAChC,yBAAyB;IACzB,mCAAmC;IACnC,qBAAqB;IACrB,wBAAwB;IACxB,mCAAmC;IACnC,oBAAoB;IACpB,oBAAoB;IACpB,6CAA6C;IAC7C,uDAAuD;IACvD,yCAAyC;IACzC,2CAA2C;IAC3C,oCAAoC;IACpC,kCAAkC;IAClC,wCAAwC;IACxC,iDAAiD;IACjD,uCAAuC;IACvC,0CAA0C;IAC1C,4CAA4C;IAC5C,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,yCAAyC;IACzC,kCAAkC;IAClC,oCAAoC;IACpC,8CAA8C;CACtC,CAAA"}
1
+ {"version":3,"file":"devices.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/devices.ts"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AAqD,CACtD;IACD,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,QAAQ,CACP,8GAA8G,CAC/G;IACH,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,QAAQ,CACP,8GAA8G,CAC/G;IACH,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0KAA0K,CAC3K;IACH,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0KAA0K,CAC3K;IACH,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0KAA0K,CAC3K;IACH,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0KAA0K,CAC3K;CACJ,CAAC;KACD,QAAQ,CACP,iPAAiP,CAClP,CAAA;AAMH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,sBAAsB;IACtB,kBAAkB;IAClB,mCAAmC;IACnC,2CAA2C;IAC3C,gCAAgC;IAChC,yBAAyB;IACzB,mCAAmC;IACnC,qBAAqB;IACrB,wBAAwB;IACxB,mCAAmC;IACnC,oBAAoB;IACpB,oBAAoB;IACpB,6CAA6C;IAC7C,uDAAuD;IACvD,yCAAyC;IACzC,2CAA2C;IAC3C,oCAAoC;IACpC,kCAAkC;IAClC,wCAAwC;IACxC,iDAAiD;IACjD,uCAAuC;IACvC,0CAA0C;IAC1C,4CAA4C;IAC5C,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.string().uuid().describe(`
5
- ---
6
- title: Enrollment Automation ID
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,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKpD,CAAC;CACH,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,CAAC,uCAAuC,CAAC,CAAA;AAMpD,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,mCAAmC;CAC3B,CAAA"}
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.string().uuid().describe(`
5
- ---
6
- title: Device ID
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,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKrC,CAAC;CACH,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"}
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"}