@seamapi/types 1.1103.0 → 1.1105.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 (63) hide show
  1. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +395 -0
  2. package/lib/seam/connect/models/action-attempts/action-attempt.js +10 -0
  3. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  4. package/lib/seam/connect/models/action-attempts/pause-speaker-playback.d.ts +87 -0
  5. package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js +37 -0
  6. package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js.map +1 -0
  7. package/lib/seam/connect/models/action-attempts/play-speaker-chime.d.ts +77 -0
  8. package/lib/seam/connect/models/action-attempts/play-speaker-chime.js +31 -0
  9. package/lib/seam/connect/models/action-attempts/play-speaker-chime.js.map +1 -0
  10. package/lib/seam/connect/models/action-attempts/resume-speaker-playback.d.ts +87 -0
  11. package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js +37 -0
  12. package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js.map +1 -0
  13. package/lib/seam/connect/models/action-attempts/set-speaker-mute.d.ts +77 -0
  14. package/lib/seam/connect/models/action-attempts/set-speaker-mute.js +31 -0
  15. package/lib/seam/connect/models/action-attempts/set-speaker-mute.js.map +1 -0
  16. package/lib/seam/connect/models/action-attempts/set-speaker-volume.d.ts +77 -0
  17. package/lib/seam/connect/models/action-attempts/set-speaker-volume.js +31 -0
  18. package/lib/seam/connect/models/action-attempts/set-speaker-volume.js.map +1 -0
  19. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -3
  20. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -3
  21. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +95 -1
  22. package/lib/seam/connect/models/devices/capability-properties/index.js +4 -2
  23. package/lib/seam/connect/models/devices/capability-properties/index.js.map +1 -1
  24. package/lib/seam/connect/models/devices/capability-properties/speaker.d.ts +98 -0
  25. package/lib/seam/connect/models/devices/capability-properties/speaker.js +61 -0
  26. package/lib/seam/connect/models/devices/capability-properties/speaker.js.map +1 -0
  27. package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
  28. package/lib/seam/connect/models/devices/device-metadata.js +26 -0
  29. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  30. package/lib/seam/connect/models/devices/device-provider.d.ts +12 -0
  31. package/lib/seam/connect/models/devices/device-provider.js +1 -0
  32. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  33. package/lib/seam/connect/models/devices/device-type.d.ts +7 -1
  34. package/lib/seam/connect/models/devices/device-type.js +8 -0
  35. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  36. package/lib/seam/connect/models/devices/device.d.ts +200 -3
  37. package/lib/seam/connect/models/devices/device.js +16 -0
  38. package/lib/seam/connect/models/devices/device.js.map +1 -1
  39. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +144 -3
  40. package/lib/seam/connect/models/provider-capability.d.ts +1 -1
  41. package/lib/seam/connect/models/provider-capability.js +1 -0
  42. package/lib/seam/connect/models/provider-capability.js.map +1 -1
  43. package/lib/seam/connect/openapi.js +800 -45
  44. package/lib/seam/connect/openapi.js.map +1 -1
  45. package/lib/seam/connect/route-types.d.ts +7127 -40
  46. package/package.json +1 -1
  47. package/src/lib/seam/connect/internal/enums.ts +2 -0
  48. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  49. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +10 -0
  50. package/src/lib/seam/connect/models/action-attempts/pause-speaker-playback.ts +54 -0
  51. package/src/lib/seam/connect/models/action-attempts/play-speaker-chime.ts +46 -0
  52. package/src/lib/seam/connect/models/action-attempts/resume-speaker-playback.ts +54 -0
  53. package/src/lib/seam/connect/models/action-attempts/set-speaker-mute.ts +43 -0
  54. package/src/lib/seam/connect/models/action-attempts/set-speaker-volume.ts +46 -0
  55. package/src/lib/seam/connect/models/devices/capability-properties/index.ts +9 -1
  56. package/src/lib/seam/connect/models/devices/capability-properties/speaker.ts +76 -0
  57. package/src/lib/seam/connect/models/devices/device-metadata.ts +29 -0
  58. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
  59. package/src/lib/seam/connect/models/devices/device-type.ts +16 -0
  60. package/src/lib/seam/connect/models/devices/device.ts +18 -0
  61. package/src/lib/seam/connect/models/provider-capability.ts +1 -0
  62. package/src/lib/seam/connect/openapi.ts +873 -45
  63. package/src/lib/seam/connect/route-types.ts +7879 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1103.0",
3
+ "version": "1.1105.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -7,6 +7,8 @@ export {
7
7
  PHONE_DEVICE_TYPE,
8
8
  PROVIDER_CATEGORIES,
9
9
  PUBLIC_PROVIDER_CATEGORIES,
10
+ SPEAKER_DEVICE_TYPE,
11
+ SPEAKER_DEVICE_TYPE_LIST,
10
12
  THERMOSTAT_DEVICE_TYPE,
11
13
  THERMOSTAT_DEVICE_TYPE_LIST,
12
14
  } from '../models/index.js'
@@ -83,6 +83,7 @@ export {
83
83
  space,
84
84
  space_customer_data,
85
85
  neutral_resource as space_resource,
86
+ speaker_device_type,
86
87
  staff_member_resource,
87
88
  tenant_resource,
88
89
  thermostat_capability_properties,
@@ -8,12 +8,17 @@ import { convert_access_code_to_managed_action_attempt } from './convert-access-
8
8
  import { deprecated_action_attempts } from './deprecated.js'
9
9
  import { encode_credential_action_attempt } from './encode-credential.js'
10
10
  import { lock_door_action_attempt } from './lock-door.js'
11
+ import { pause_speaker_playback_action_attempt } from './pause-speaker-playback.js'
12
+ import { play_speaker_chime_action_attempt } from './play-speaker-chime.js'
11
13
  import { push_thermostat_programs_action_attempt } from './push-thermostat-programs.js'
12
14
  import { reset_sandbox_workspace_action_attempt } from './reset-sandbox-workspace.js'
15
+ import { resume_speaker_playback_action_attempt } from './resume-speaker-playback.js'
13
16
  import { scan_credential_action_attempt } from './scan-credential.js'
14
17
  import { scan_to_assign_credential_action_attempt } from './scan-to-assign-credential.js'
15
18
  import { set_fan_mode_action_attempt } from './set-fan-mode.js'
16
19
  import { set_hvac_mode_action_attempt } from './set-hvac-mode.js'
20
+ import { set_speaker_mute_action_attempt } from './set-speaker-mute.js'
21
+ import { set_speaker_volume_action_attempt } from './set-speaker-volume.js'
17
22
  import { simulate_keypad_code_entry_action_attempt } from './simulate-keypad-code-entry.js'
18
23
  import { simulate_manual_lock_via_keypad_action_attempt } from './simulate-manual-lock-via-keypad.js'
19
24
  import { unlock_door_action_attempt } from './unlock-door.js'
@@ -35,6 +40,11 @@ export const action_attempt = z.union([
35
40
  ...push_thermostat_programs_action_attempt.options,
36
41
  ...configure_auto_lock_action_attempt.options,
37
42
  ...convert_access_code_to_managed_action_attempt.options,
43
+ ...set_speaker_volume_action_attempt.options,
44
+ ...set_speaker_mute_action_attempt.options,
45
+ ...pause_speaker_playback_action_attempt.options,
46
+ ...resume_speaker_playback_action_attempt.options,
47
+ ...play_speaker_chime_action_attempt.options,
38
48
  ...deprecated_action_attempts,
39
49
  ]).describe(`
40
50
  ---
@@ -0,0 +1,54 @@
1
+ import * as z from 'zod/v3'
2
+
3
+ import {
4
+ common_failed_action_attempt,
5
+ common_pending_action_attempt,
6
+ common_succeeded_action_attempt,
7
+ } from './common.js'
8
+
9
+ const action_type = z
10
+ .literal('PAUSE_SPEAKER_PLAYBACK')
11
+ .describe(
12
+ 'Action attempt to track the status of pausing playback on a speaker.',
13
+ )
14
+
15
+ const error = z
16
+ .object({
17
+ type: z.string().describe('Type of the error.'),
18
+ message: z
19
+ .string()
20
+ .describe(
21
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22
+ ),
23
+ })
24
+ .describe('Error associated with the action.')
25
+
26
+ const result = z
27
+ .object({
28
+ affected_device_ids: z
29
+ .array(z.string().uuid())
30
+ .describe(
31
+ 'IDs of the speakers whose playback was paused, including speakers grouped with the requested speaker.',
32
+ ),
33
+ })
34
+ .describe('Result of the action.')
35
+
36
+ export const pause_speaker_playback_action_attempt = z.discriminatedUnion(
37
+ 'status',
38
+ [
39
+ common_pending_action_attempt
40
+ .extend({
41
+ action_type,
42
+ })
43
+ .describe('Pausing playback on the speaker is pending.'),
44
+ common_succeeded_action_attempt
45
+ .extend({
46
+ action_type,
47
+ result,
48
+ })
49
+ .describe('Pausing playback on the speaker succeeded.'),
50
+ common_failed_action_attempt
51
+ .extend({ action_type, error })
52
+ .describe('Pausing playback on the speaker failed.'),
53
+ ],
54
+ )
@@ -0,0 +1,46 @@
1
+ import * as z from 'zod/v3'
2
+
3
+ import {
4
+ common_failed_action_attempt,
5
+ common_pending_action_attempt,
6
+ common_succeeded_action_attempt,
7
+ } from './common.js'
8
+
9
+ const action_type = z
10
+ .literal('PLAY_SPEAKER_CHIME')
11
+ .describe(
12
+ 'Action attempt to track the status of playing a chime on a speaker.',
13
+ )
14
+
15
+ const error = z
16
+ .object({
17
+ type: z.string().describe('Type of the error.'),
18
+ message: z
19
+ .string()
20
+ .describe(
21
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22
+ ),
23
+ })
24
+ .describe('Error associated with the action.')
25
+
26
+ const result = z.object({}).describe('Result of the action.')
27
+
28
+ export const play_speaker_chime_action_attempt = z.discriminatedUnion(
29
+ 'status',
30
+ [
31
+ common_pending_action_attempt
32
+ .extend({
33
+ action_type,
34
+ })
35
+ .describe('Playing a chime on the speaker is pending.'),
36
+ common_succeeded_action_attempt
37
+ .extend({
38
+ action_type,
39
+ result,
40
+ })
41
+ .describe('Playing a chime on the speaker succeeded.'),
42
+ common_failed_action_attempt
43
+ .extend({ action_type, error })
44
+ .describe('Playing a chime on the speaker failed.'),
45
+ ],
46
+ )
@@ -0,0 +1,54 @@
1
+ import * as z from 'zod/v3'
2
+
3
+ import {
4
+ common_failed_action_attempt,
5
+ common_pending_action_attempt,
6
+ common_succeeded_action_attempt,
7
+ } from './common.js'
8
+
9
+ const action_type = z
10
+ .literal('RESUME_SPEAKER_PLAYBACK')
11
+ .describe(
12
+ 'Action attempt to track the status of resuming playback on a speaker.',
13
+ )
14
+
15
+ const error = z
16
+ .object({
17
+ type: z.string().describe('Type of the error.'),
18
+ message: z
19
+ .string()
20
+ .describe(
21
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22
+ ),
23
+ })
24
+ .describe('Error associated with the action.')
25
+
26
+ const result = z
27
+ .object({
28
+ affected_device_ids: z
29
+ .array(z.string().uuid())
30
+ .describe(
31
+ 'IDs of the speakers whose playback was resumed, including speakers grouped with the requested speaker.',
32
+ ),
33
+ })
34
+ .describe('Result of the action.')
35
+
36
+ export const resume_speaker_playback_action_attempt = z.discriminatedUnion(
37
+ 'status',
38
+ [
39
+ common_pending_action_attempt
40
+ .extend({
41
+ action_type,
42
+ })
43
+ .describe('Resuming playback on the speaker is pending.'),
44
+ common_succeeded_action_attempt
45
+ .extend({
46
+ action_type,
47
+ result,
48
+ })
49
+ .describe('Resuming playback on the speaker succeeded.'),
50
+ common_failed_action_attempt
51
+ .extend({ action_type, error })
52
+ .describe('Resuming playback on the speaker failed.'),
53
+ ],
54
+ )
@@ -0,0 +1,43 @@
1
+ import * as z from 'zod/v3'
2
+
3
+ import {
4
+ common_failed_action_attempt,
5
+ common_pending_action_attempt,
6
+ common_succeeded_action_attempt,
7
+ } from './common.js'
8
+
9
+ const action_type = z
10
+ .literal('SET_SPEAKER_MUTE')
11
+ .describe(
12
+ 'Action attempt to track the status of muting or unmuting a speaker.',
13
+ )
14
+
15
+ const error = z
16
+ .object({
17
+ type: z.string().describe('Type of the error.'),
18
+ message: z
19
+ .string()
20
+ .describe(
21
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22
+ ),
23
+ })
24
+ .describe('Error associated with the action.')
25
+
26
+ const result = z.object({}).describe('Result of the action.')
27
+
28
+ export const set_speaker_mute_action_attempt = z.discriminatedUnion('status', [
29
+ common_pending_action_attempt
30
+ .extend({
31
+ action_type,
32
+ })
33
+ .describe('Muting or unmuting the speaker is pending.'),
34
+ common_succeeded_action_attempt
35
+ .extend({
36
+ action_type,
37
+ result,
38
+ })
39
+ .describe('Muting or unmuting the speaker succeeded.'),
40
+ common_failed_action_attempt
41
+ .extend({ action_type, error })
42
+ .describe('Muting or unmuting the speaker failed.'),
43
+ ])
@@ -0,0 +1,46 @@
1
+ import * as z from 'zod/v3'
2
+
3
+ import {
4
+ common_failed_action_attempt,
5
+ common_pending_action_attempt,
6
+ common_succeeded_action_attempt,
7
+ } from './common.js'
8
+
9
+ const action_type = z
10
+ .literal('SET_SPEAKER_VOLUME')
11
+ .describe(
12
+ 'Action attempt to track the status of setting the volume on a speaker.',
13
+ )
14
+
15
+ const error = z
16
+ .object({
17
+ type: z.string().describe('Type of the error.'),
18
+ message: z
19
+ .string()
20
+ .describe(
21
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22
+ ),
23
+ })
24
+ .describe('Error associated with the action.')
25
+
26
+ const result = z.object({}).describe('Result of the action.')
27
+
28
+ export const set_speaker_volume_action_attempt = z.discriminatedUnion(
29
+ 'status',
30
+ [
31
+ common_pending_action_attempt
32
+ .extend({
33
+ action_type,
34
+ })
35
+ .describe('Setting the speaker volume is pending.'),
36
+ common_succeeded_action_attempt
37
+ .extend({
38
+ action_type,
39
+ result,
40
+ })
41
+ .describe('Setting the speaker volume succeeded.'),
42
+ common_failed_action_attempt
43
+ .extend({ action_type, error })
44
+ .describe('Setting the speaker volume failed.'),
45
+ ],
46
+ )
@@ -6,12 +6,18 @@ import {
6
6
  time_frame_option,
7
7
  } from './access-code.js'
8
8
  import { lock_capability_properties } from './lock.js'
9
+ import {
10
+ speaker_capability_properties,
11
+ speaker_playback_state,
12
+ } from './speaker.js'
9
13
  import { thermostat_capability_properties } from './thermostat.js'
10
14
 
11
15
  export {
12
16
  access_code_capability_properties,
13
17
  access_code_code_constraint,
14
18
  lock_capability_properties,
19
+ speaker_capability_properties,
20
+ speaker_playback_state,
15
21
  thermostat_capability_properties,
16
22
  time_frame_option,
17
23
  }
@@ -20,8 +26,10 @@ export {
20
26
  export const capability_properties = z.intersection(
21
27
  access_code_capability_properties
22
28
  .partial()
23
- .merge(lock_capability_properties.partial()),
29
+ .merge(lock_capability_properties.partial())
30
+ .merge(speaker_capability_properties),
24
31
  thermostat_capability_properties,
25
32
  )
26
33
 
27
34
  export type { AccessCodeConstraint, TimeFrameOption } from './access-code.js'
35
+ export type { SpeakerPlaybackState } from './speaker.js'
@@ -0,0 +1,76 @@
1
+ import * as z from 'zod/v3'
2
+
3
+ export const speaker_playback_state = z
4
+ .enum(['playing', 'paused', 'idle', 'buffering', 'unknown'])
5
+ .describe('Playback state of the speaker.')
6
+
7
+ export type SpeakerPlaybackState = z.infer<typeof speaker_playback_state>
8
+
9
+ export const speaker_capability_properties = z.object({
10
+ speaker: z
11
+ .object({
12
+ volume: z
13
+ .number()
14
+ .describe(
15
+ "Current volume of the speaker, on the speaker's native volume scale from `min_volume` to `max_volume`. This is the native volume setting, not a decibel level.",
16
+ ),
17
+ is_muted: z.boolean().describe('Indicates whether the speaker is muted.'),
18
+ has_fixed_volume: z
19
+ .boolean()
20
+ .describe(
21
+ "Indicates whether the speaker's volume is fixed, for example, because the speaker's line-out level is controlled by an external amplifier. A speaker with a fixed volume cannot have its volume set through Seam.",
22
+ ),
23
+ min_volume: z
24
+ .number()
25
+ .describe('Minimum volume that you can set on the speaker.'),
26
+ max_volume: z
27
+ .number()
28
+ .describe(
29
+ "Maximum volume that you can set on the speaker. This is the ceiling of the speaker's native volume scale, not a limit configured for guests.",
30
+ ),
31
+ volume_step: z
32
+ .number()
33
+ .describe(
34
+ 'Increment between the volume values that you can set on the speaker.',
35
+ ),
36
+ playback_state: speaker_playback_state,
37
+ now_playing: z
38
+ .object({
39
+ title: z
40
+ .string()
41
+ .optional()
42
+ .describe('Title of the content that is currently playing.'),
43
+ artist: z
44
+ .string()
45
+ .optional()
46
+ .describe('Artist of the content that is currently playing.'),
47
+ album: z
48
+ .string()
49
+ .optional()
50
+ .describe('Album of the content that is currently playing.'),
51
+ })
52
+ .optional()
53
+ .describe('Content that is currently playing on the speaker.'),
54
+ grouped_with_device_ids: z
55
+ .array(z.string().uuid())
56
+ .describe(
57
+ 'IDs of the other speakers that are currently grouped with this speaker. Pausing or resuming playback on a speaker also affects the speakers in its group.',
58
+ ),
59
+ supports_chime: z
60
+ .boolean()
61
+ .describe('Indicates whether the speaker can play a chime.'),
62
+ volume_reported_at: z
63
+ .string()
64
+ .datetime()
65
+ .optional()
66
+ .describe(
67
+ 'Date and time at which the speaker first reported its current volume.',
68
+ ),
69
+ })
70
+ .optional().describe(`
71
+ ---
72
+ property_group_key: speakers
73
+ ---
74
+ Audio state and capabilities of the speaker.
75
+ `),
76
+ })
@@ -1323,6 +1323,35 @@ export const device_metadata = z
1323
1323
  })
1324
1324
  .partial()
1325
1325
  .describe(`Metadata for an Aqara device.`),
1326
+
1327
+ sonos_metadata: z
1328
+ .object({
1329
+ household_id: z
1330
+ .string()
1331
+ .optional()
1332
+ .describe('ID of the Sonos household that the speaker belongs to.'),
1333
+ player_id: z
1334
+ .string()
1335
+ .optional()
1336
+ .describe('ID of the Sonos player for the speaker.'),
1337
+ model_display_name: z
1338
+ .string()
1339
+ .optional()
1340
+ .describe('Model name of the speaker, as reported by Sonos.'),
1341
+ software_version: z
1342
+ .string()
1343
+ .optional()
1344
+ .describe('Software version running on the speaker.'),
1345
+ bonded_member_models: z
1346
+ .array(z.string())
1347
+ .optional()
1348
+ .describe(
1349
+ 'Models of the speakers bonded to this speaker, such as surrounds or a subwoofer.',
1350
+ ),
1351
+ })
1352
+ .partial()
1353
+ .optional()
1354
+ .describe('Metadata for a Sonos speaker.'),
1326
1355
  })
1327
1356
  .partial().describe(`
1328
1357
  ---
@@ -223,5 +223,6 @@ export const PROVIDER_CATEGORY_CAPABILITY_MAP: Record<
223
223
  'noise_sensor',
224
224
  'access_control',
225
225
  'camera',
226
+ 'speaker',
226
227
  ],
227
228
  }
@@ -143,6 +143,21 @@ export const camera_device_type = z
143
143
 
144
144
  export type CameraDeviceType = z.infer<typeof camera_device_type>
145
145
 
146
+ export const SPEAKER_DEVICE_TYPE = {
147
+ SONOS_SPEAKER: 'sonos_speaker',
148
+ } as const
149
+
150
+ type SpeakerDeviceTypeFromMapping =
151
+ (typeof SPEAKER_DEVICE_TYPE)[keyof typeof SPEAKER_DEVICE_TYPE]
152
+
153
+ export const SPEAKER_DEVICE_TYPE_LIST = Object.values(SPEAKER_DEVICE_TYPE)
154
+
155
+ export const speaker_device_type = z
156
+ .enum(Object.values(SPEAKER_DEVICE_TYPE) as [SpeakerDeviceTypeFromMapping])
157
+ .describe('Device type for speakers.')
158
+
159
+ export type SpeakerDeviceType = z.infer<typeof speaker_device_type>
160
+
146
161
  export const any_device_type = z.union([
147
162
  lock_device_type,
148
163
  key_device_type,
@@ -150,6 +165,7 @@ export const any_device_type = z.union([
150
165
  thermostat_device_type,
151
166
  phone_device_type,
152
167
  camera_device_type,
168
+ speaker_device_type,
153
169
  ])
154
170
 
155
171
  export type AnyDeviceType = z.infer<typeof any_device_type>
@@ -111,6 +111,20 @@ export const device_capability_flags = z
111
111
  .describe(
112
112
  'Indicates whether the camera supports streaming live video through a camera live view session.',
113
113
  ),
114
+ can_set_speaker_volume: z
115
+ .boolean()
116
+ .describe('Indicates whether the speaker supports setting its volume.'),
117
+ can_mute_speaker: z
118
+ .boolean()
119
+ .describe('Indicates whether the speaker supports muting and unmuting.'),
120
+ can_pause_speaker_playback: z
121
+ .boolean()
122
+ .describe(
123
+ 'Indicates whether the speaker supports pausing and resuming playback.',
124
+ ),
125
+ can_play_speaker_chime: z
126
+ .boolean()
127
+ .describe('Indicates whether the speaker supports playing a chime.'),
114
128
  })
115
129
  .partial()
116
130
 
@@ -1058,6 +1072,8 @@ export const device = z
1058
1072
  name: Hardware
1059
1073
  noise_sensors:
1060
1074
  name: Noise Sensors
1075
+ speakers:
1076
+ name: Speakers
1061
1077
  phones:
1062
1078
  name: Phones
1063
1079
  provider_metadata:
@@ -1189,6 +1205,8 @@ export const device = z
1189
1205
  name: Hardware
1190
1206
  noise_sensors:
1191
1207
  name: Noise Sensors
1208
+ speakers:
1209
+ name: Speakers
1192
1210
  phones:
1193
1211
  name: Phones
1194
1212
  provider_metadata:
@@ -6,6 +6,7 @@ export const provider_capability = z.enum([
6
6
  'noise_sensor',
7
7
  'access_control',
8
8
  'camera',
9
+ 'speaker',
9
10
  ]).describe(`
10
11
  High-level device capabilities that can be restricted in connect webviews.
11
12
  These represent the main device categories that customers can opt into.