@seamapi/types 1.1103.0 → 1.1104.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
@@ -11745,6 +11745,7 @@ const openapi: OpenAPISpec = {
11745
11745
  type: 'object',
11746
11746
  },
11747
11747
  {
11748
+ description: 'Setting the speaker volume is pending.',
11748
11749
  properties: {
11749
11750
  action_attempt_id: {
11750
11751
  description: 'ID of the action attempt.',
@@ -11752,8 +11753,9 @@ const openapi: OpenAPISpec = {
11752
11753
  type: 'string',
11753
11754
  },
11754
11755
  action_type: {
11755
- description: 'Syncing access codes is pending.',
11756
- enum: ['SYNC_ACCESS_CODES'],
11756
+ description:
11757
+ 'Action attempt to track the status of setting the volume on a speaker.',
11758
+ enum: ['SET_SPEAKER_VOLUME'],
11757
11759
  type: 'string',
11758
11760
  },
11759
11761
  error: {
@@ -11778,6 +11780,7 @@ const openapi: OpenAPISpec = {
11778
11780
  type: 'object',
11779
11781
  },
11780
11782
  {
11783
+ description: 'Setting the speaker volume succeeded.',
11781
11784
  properties: {
11782
11785
  action_attempt_id: {
11783
11786
  description: 'ID of the action attempt.',
@@ -11785,8 +11788,9 @@ const openapi: OpenAPISpec = {
11785
11788
  type: 'string',
11786
11789
  },
11787
11790
  action_type: {
11788
- description: 'Syncing access codes succeeded.',
11789
- enum: ['SYNC_ACCESS_CODES'],
11791
+ description:
11792
+ 'Action attempt to track the status of setting the volume on a speaker.',
11793
+ enum: ['SET_SPEAKER_VOLUME'],
11790
11794
  type: 'string',
11791
11795
  },
11792
11796
  error: {
@@ -11811,6 +11815,7 @@ const openapi: OpenAPISpec = {
11811
11815
  type: 'object',
11812
11816
  },
11813
11817
  {
11818
+ description: 'Setting the speaker volume failed.',
11814
11819
  properties: {
11815
11820
  action_attempt_id: {
11816
11821
  description: 'ID of the action attempt.',
@@ -11818,8 +11823,9 @@ const openapi: OpenAPISpec = {
11818
11823
  type: 'string',
11819
11824
  },
11820
11825
  action_type: {
11821
- description: 'Syncing access codes failed.',
11822
- enum: ['SYNC_ACCESS_CODES'],
11826
+ description:
11827
+ 'Action attempt to track the status of setting the volume on a speaker.',
11828
+ enum: ['SET_SPEAKER_VOLUME'],
11823
11829
  type: 'string',
11824
11830
  },
11825
11831
  error: {
@@ -11852,6 +11858,7 @@ const openapi: OpenAPISpec = {
11852
11858
  type: 'object',
11853
11859
  },
11854
11860
  {
11861
+ description: 'Muting or unmuting the speaker is pending.',
11855
11862
  properties: {
11856
11863
  action_attempt_id: {
11857
11864
  description: 'ID of the action attempt.',
@@ -11859,8 +11866,9 @@ const openapi: OpenAPISpec = {
11859
11866
  type: 'string',
11860
11867
  },
11861
11868
  action_type: {
11862
- description: 'Creating an access code is pending.',
11863
- enum: ['CREATE_ACCESS_CODE'],
11869
+ description:
11870
+ 'Action attempt to track the status of muting or unmuting a speaker.',
11871
+ enum: ['SET_SPEAKER_MUTE'],
11864
11872
  type: 'string',
11865
11873
  },
11866
11874
  error: {
@@ -11885,6 +11893,7 @@ const openapi: OpenAPISpec = {
11885
11893
  type: 'object',
11886
11894
  },
11887
11895
  {
11896
+ description: 'Muting or unmuting the speaker succeeded.',
11888
11897
  properties: {
11889
11898
  action_attempt_id: {
11890
11899
  description: 'ID of the action attempt.',
@@ -11892,8 +11901,9 @@ const openapi: OpenAPISpec = {
11892
11901
  type: 'string',
11893
11902
  },
11894
11903
  action_type: {
11895
- description: 'Creating an access code succeeded.',
11896
- enum: ['CREATE_ACCESS_CODE'],
11904
+ description:
11905
+ 'Action attempt to track the status of muting or unmuting a speaker.',
11906
+ enum: ['SET_SPEAKER_MUTE'],
11897
11907
  type: 'string',
11898
11908
  },
11899
11909
  error: {
@@ -11903,14 +11913,128 @@ const openapi: OpenAPISpec = {
11903
11913
  },
11904
11914
  result: {
11905
11915
  description: 'Result of the action.',
11916
+ properties: {},
11917
+ type: 'object',
11918
+ },
11919
+ status: { enum: ['success'], type: 'string' },
11920
+ },
11921
+ required: [
11922
+ 'action_attempt_id',
11923
+ 'status',
11924
+ 'error',
11925
+ 'action_type',
11926
+ 'result',
11927
+ ],
11928
+ type: 'object',
11929
+ },
11930
+ {
11931
+ description: 'Muting or unmuting the speaker failed.',
11932
+ properties: {
11933
+ action_attempt_id: {
11934
+ description: 'ID of the action attempt.',
11935
+ format: 'uuid',
11936
+ type: 'string',
11937
+ },
11938
+ action_type: {
11939
+ description:
11940
+ 'Action attempt to track the status of muting or unmuting a speaker.',
11941
+ enum: ['SET_SPEAKER_MUTE'],
11942
+ type: 'string',
11943
+ },
11944
+ error: {
11945
+ description: 'Error associated with the action.',
11906
11946
  properties: {
11907
- access_code: {
11908
- additionalProperties: {},
11909
- description: 'Created access code.',
11910
- type: 'object',
11947
+ message: {
11948
+ description:
11949
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
11950
+ type: 'string',
11911
11951
  },
11952
+ type: { description: 'Type of the error.', type: 'string' },
11912
11953
  },
11913
- required: ['access_code'],
11954
+ required: ['type', 'message'],
11955
+ type: 'object',
11956
+ },
11957
+ result: {
11958
+ description:
11959
+ 'Result of the action attempt. Null for failed action attempts.',
11960
+ nullable: true,
11961
+ },
11962
+ status: { enum: ['error'], type: 'string' },
11963
+ },
11964
+ required: [
11965
+ 'action_attempt_id',
11966
+ 'status',
11967
+ 'result',
11968
+ 'action_type',
11969
+ 'error',
11970
+ ],
11971
+ type: 'object',
11972
+ },
11973
+ {
11974
+ description: 'Pausing playback on the speaker is pending.',
11975
+ properties: {
11976
+ action_attempt_id: {
11977
+ description: 'ID of the action attempt.',
11978
+ format: 'uuid',
11979
+ type: 'string',
11980
+ },
11981
+ action_type: {
11982
+ description:
11983
+ 'Action attempt to track the status of pausing playback on a speaker.',
11984
+ enum: ['PAUSE_SPEAKER_PLAYBACK'],
11985
+ type: 'string',
11986
+ },
11987
+ error: {
11988
+ description:
11989
+ 'Errors associated with the action attempt. Null for pending action attempts.',
11990
+ nullable: true,
11991
+ },
11992
+ result: {
11993
+ description:
11994
+ 'Result of the action attempt. Null for pending action attempts.',
11995
+ nullable: true,
11996
+ },
11997
+ status: { enum: ['pending'], type: 'string' },
11998
+ },
11999
+ required: [
12000
+ 'action_attempt_id',
12001
+ 'status',
12002
+ 'result',
12003
+ 'error',
12004
+ 'action_type',
12005
+ ],
12006
+ type: 'object',
12007
+ },
12008
+ {
12009
+ description: 'Pausing playback on the speaker succeeded.',
12010
+ properties: {
12011
+ action_attempt_id: {
12012
+ description: 'ID of the action attempt.',
12013
+ format: 'uuid',
12014
+ type: 'string',
12015
+ },
12016
+ action_type: {
12017
+ description:
12018
+ 'Action attempt to track the status of pausing playback on a speaker.',
12019
+ enum: ['PAUSE_SPEAKER_PLAYBACK'],
12020
+ type: 'string',
12021
+ },
12022
+ error: {
12023
+ description:
12024
+ 'Errors associated with the action attempt. Null for successful action attempts.',
12025
+ nullable: true,
12026
+ },
12027
+ result: {
12028
+ description: 'Result of the action.',
12029
+ properties: {
12030
+ affected_device_ids: {
12031
+ description:
12032
+ 'IDs of the speakers whose playback was paused, including speakers grouped with the requested speaker.',
12033
+ items: { format: 'uuid', type: 'string' },
12034
+ type: 'array',
12035
+ },
12036
+ },
12037
+ required: ['affected_device_ids'],
11914
12038
  type: 'object',
11915
12039
  },
11916
12040
  status: { enum: ['success'], type: 'string' },
@@ -11925,6 +12049,7 @@ const openapi: OpenAPISpec = {
11925
12049
  type: 'object',
11926
12050
  },
11927
12051
  {
12052
+ description: 'Pausing playback on the speaker failed.',
11928
12053
  properties: {
11929
12054
  action_attempt_id: {
11930
12055
  description: 'ID of the action attempt.',
@@ -11932,8 +12057,9 @@ const openapi: OpenAPISpec = {
11932
12057
  type: 'string',
11933
12058
  },
11934
12059
  action_type: {
11935
- description: 'Creating an access code failed.',
11936
- enum: ['CREATE_ACCESS_CODE'],
12060
+ description:
12061
+ 'Action attempt to track the status of pausing playback on a speaker.',
12062
+ enum: ['PAUSE_SPEAKER_PLAYBACK'],
11937
12063
  type: 'string',
11938
12064
  },
11939
12065
  error: {
@@ -11966,6 +12092,7 @@ const openapi: OpenAPISpec = {
11966
12092
  type: 'object',
11967
12093
  },
11968
12094
  {
12095
+ description: 'Resuming playback on the speaker is pending.',
11969
12096
  properties: {
11970
12097
  action_attempt_id: {
11971
12098
  description: 'ID of the action attempt.',
@@ -11973,8 +12100,9 @@ const openapi: OpenAPISpec = {
11973
12100
  type: 'string',
11974
12101
  },
11975
12102
  action_type: {
11976
- description: 'Deleting an access code is pending.',
11977
- enum: ['DELETE_ACCESS_CODE'],
12103
+ description:
12104
+ 'Action attempt to track the status of resuming playback on a speaker.',
12105
+ enum: ['RESUME_SPEAKER_PLAYBACK'],
11978
12106
  type: 'string',
11979
12107
  },
11980
12108
  error: {
@@ -11999,6 +12127,7 @@ const openapi: OpenAPISpec = {
11999
12127
  type: 'object',
12000
12128
  },
12001
12129
  {
12130
+ description: 'Resuming playback on the speaker succeeded.',
12002
12131
  properties: {
12003
12132
  action_attempt_id: {
12004
12133
  description: 'ID of the action attempt.',
@@ -12006,8 +12135,9 @@ const openapi: OpenAPISpec = {
12006
12135
  type: 'string',
12007
12136
  },
12008
12137
  action_type: {
12009
- description: 'Deleting an access code succeeded.',
12010
- enum: ['DELETE_ACCESS_CODE'],
12138
+ description:
12139
+ 'Action attempt to track the status of resuming playback on a speaker.',
12140
+ enum: ['RESUME_SPEAKER_PLAYBACK'],
12011
12141
  type: 'string',
12012
12142
  },
12013
12143
  error: {
@@ -12017,7 +12147,15 @@ const openapi: OpenAPISpec = {
12017
12147
  },
12018
12148
  result: {
12019
12149
  description: 'Result of the action.',
12020
- properties: {},
12150
+ properties: {
12151
+ affected_device_ids: {
12152
+ description:
12153
+ 'IDs of the speakers whose playback was resumed, including speakers grouped with the requested speaker.',
12154
+ items: { format: 'uuid', type: 'string' },
12155
+ type: 'array',
12156
+ },
12157
+ },
12158
+ required: ['affected_device_ids'],
12021
12159
  type: 'object',
12022
12160
  },
12023
12161
  status: { enum: ['success'], type: 'string' },
@@ -12032,6 +12170,7 @@ const openapi: OpenAPISpec = {
12032
12170
  type: 'object',
12033
12171
  },
12034
12172
  {
12173
+ description: 'Resuming playback on the speaker failed.',
12035
12174
  properties: {
12036
12175
  action_attempt_id: {
12037
12176
  description: 'ID of the action attempt.',
@@ -12039,8 +12178,9 @@ const openapi: OpenAPISpec = {
12039
12178
  type: 'string',
12040
12179
  },
12041
12180
  action_type: {
12042
- description: 'Deleting an access code failed.',
12043
- enum: ['DELETE_ACCESS_CODE'],
12181
+ description:
12182
+ 'Action attempt to track the status of resuming playback on a speaker.',
12183
+ enum: ['RESUME_SPEAKER_PLAYBACK'],
12044
12184
  type: 'string',
12045
12185
  },
12046
12186
  error: {
@@ -12073,6 +12213,7 @@ const openapi: OpenAPISpec = {
12073
12213
  type: 'object',
12074
12214
  },
12075
12215
  {
12216
+ description: 'Playing a chime on the speaker is pending.',
12076
12217
  properties: {
12077
12218
  action_attempt_id: {
12078
12219
  description: 'ID of the action attempt.',
@@ -12080,8 +12221,9 @@ const openapi: OpenAPISpec = {
12080
12221
  type: 'string',
12081
12222
  },
12082
12223
  action_type: {
12083
- description: 'Updating an access code is pending.',
12084
- enum: ['UPDATE_ACCESS_CODE'],
12224
+ description:
12225
+ 'Action attempt to track the status of playing a chime on a speaker.',
12226
+ enum: ['PLAY_SPEAKER_CHIME'],
12085
12227
  type: 'string',
12086
12228
  },
12087
12229
  error: {
@@ -12106,6 +12248,7 @@ const openapi: OpenAPISpec = {
12106
12248
  type: 'object',
12107
12249
  },
12108
12250
  {
12251
+ description: 'Playing a chime on the speaker succeeded.',
12109
12252
  properties: {
12110
12253
  action_attempt_id: {
12111
12254
  description: 'ID of the action attempt.',
@@ -12113,8 +12256,9 @@ const openapi: OpenAPISpec = {
12113
12256
  type: 'string',
12114
12257
  },
12115
12258
  action_type: {
12116
- description: 'Updating an access code succeeded.',
12117
- enum: ['UPDATE_ACCESS_CODE'],
12259
+ description:
12260
+ 'Action attempt to track the status of playing a chime on a speaker.',
12261
+ enum: ['PLAY_SPEAKER_CHIME'],
12118
12262
  type: 'string',
12119
12263
  },
12120
12264
  error: {
@@ -12124,13 +12268,116 @@ const openapi: OpenAPISpec = {
12124
12268
  },
12125
12269
  result: {
12126
12270
  description: 'Result of the action.',
12271
+ properties: {},
12272
+ type: 'object',
12273
+ },
12274
+ status: { enum: ['success'], type: 'string' },
12275
+ },
12276
+ required: [
12277
+ 'action_attempt_id',
12278
+ 'status',
12279
+ 'error',
12280
+ 'action_type',
12281
+ 'result',
12282
+ ],
12283
+ type: 'object',
12284
+ },
12285
+ {
12286
+ description: 'Playing a chime on the speaker failed.',
12287
+ properties: {
12288
+ action_attempt_id: {
12289
+ description: 'ID of the action attempt.',
12290
+ format: 'uuid',
12291
+ type: 'string',
12292
+ },
12293
+ action_type: {
12294
+ description:
12295
+ 'Action attempt to track the status of playing a chime on a speaker.',
12296
+ enum: ['PLAY_SPEAKER_CHIME'],
12297
+ type: 'string',
12298
+ },
12299
+ error: {
12300
+ description: 'Error associated with the action.',
12127
12301
  properties: {
12128
- access_code: {
12129
- additionalProperties: {},
12130
- description: 'Updated access code.',
12131
- type: 'object',
12302
+ message: {
12303
+ description:
12304
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
12305
+ type: 'string',
12132
12306
  },
12307
+ type: { description: 'Type of the error.', type: 'string' },
12133
12308
  },
12309
+ required: ['type', 'message'],
12310
+ type: 'object',
12311
+ },
12312
+ result: {
12313
+ description:
12314
+ 'Result of the action attempt. Null for failed action attempts.',
12315
+ nullable: true,
12316
+ },
12317
+ status: { enum: ['error'], type: 'string' },
12318
+ },
12319
+ required: [
12320
+ 'action_attempt_id',
12321
+ 'status',
12322
+ 'result',
12323
+ 'action_type',
12324
+ 'error',
12325
+ ],
12326
+ type: 'object',
12327
+ },
12328
+ {
12329
+ properties: {
12330
+ action_attempt_id: {
12331
+ description: 'ID of the action attempt.',
12332
+ format: 'uuid',
12333
+ type: 'string',
12334
+ },
12335
+ action_type: {
12336
+ description: 'Syncing access codes is pending.',
12337
+ enum: ['SYNC_ACCESS_CODES'],
12338
+ type: 'string',
12339
+ },
12340
+ error: {
12341
+ description:
12342
+ 'Errors associated with the action attempt. Null for pending action attempts.',
12343
+ nullable: true,
12344
+ },
12345
+ result: {
12346
+ description:
12347
+ 'Result of the action attempt. Null for pending action attempts.',
12348
+ nullable: true,
12349
+ },
12350
+ status: { enum: ['pending'], type: 'string' },
12351
+ },
12352
+ required: [
12353
+ 'action_attempt_id',
12354
+ 'status',
12355
+ 'result',
12356
+ 'error',
12357
+ 'action_type',
12358
+ ],
12359
+ type: 'object',
12360
+ },
12361
+ {
12362
+ properties: {
12363
+ action_attempt_id: {
12364
+ description: 'ID of the action attempt.',
12365
+ format: 'uuid',
12366
+ type: 'string',
12367
+ },
12368
+ action_type: {
12369
+ description: 'Syncing access codes succeeded.',
12370
+ enum: ['SYNC_ACCESS_CODES'],
12371
+ type: 'string',
12372
+ },
12373
+ error: {
12374
+ description:
12375
+ 'Errors associated with the action attempt. Null for successful action attempts.',
12376
+ nullable: true,
12377
+ },
12378
+ result: {
12379
+ description: 'Result of the action.',
12380
+ properties: {},
12134
12381
  type: 'object',
12135
12382
  },
12136
12383
  status: { enum: ['success'], type: 'string' },
@@ -12152,8 +12399,8 @@ const openapi: OpenAPISpec = {
12152
12399
  type: 'string',
12153
12400
  },
12154
12401
  action_type: {
12155
- description: 'Updating an access code failed.',
12156
- enum: ['UPDATE_ACCESS_CODE'],
12402
+ description: 'Syncing access codes failed.',
12403
+ enum: ['SYNC_ACCESS_CODES'],
12157
12404
  type: 'string',
12158
12405
  },
12159
12406
  error: {
@@ -12193,8 +12440,8 @@ const openapi: OpenAPISpec = {
12193
12440
  type: 'string',
12194
12441
  },
12195
12442
  action_type: {
12196
- description: 'Creating a noise threshold is pending.',
12197
- enum: ['CREATE_NOISE_THRESHOLD'],
12443
+ description: 'Creating an access code is pending.',
12444
+ enum: ['CREATE_ACCESS_CODE'],
12198
12445
  type: 'string',
12199
12446
  },
12200
12447
  error: {
@@ -12226,8 +12473,8 @@ const openapi: OpenAPISpec = {
12226
12473
  type: 'string',
12227
12474
  },
12228
12475
  action_type: {
12229
- description: 'Creating a noise threshold succeeded.',
12230
- enum: ['CREATE_NOISE_THRESHOLD'],
12476
+ description: 'Creating an access code succeeded.',
12477
+ enum: ['CREATE_ACCESS_CODE'],
12231
12478
  type: 'string',
12232
12479
  },
12233
12480
  error: {
@@ -12238,13 +12485,13 @@ const openapi: OpenAPISpec = {
12238
12485
  result: {
12239
12486
  description: 'Result of the action.',
12240
12487
  properties: {
12241
- noise_threshold: {
12488
+ access_code: {
12242
12489
  additionalProperties: {},
12243
- description: 'Created noise threshold.',
12490
+ description: 'Created access code.',
12244
12491
  type: 'object',
12245
12492
  },
12246
12493
  },
12247
- required: ['noise_threshold'],
12494
+ required: ['access_code'],
12248
12495
  type: 'object',
12249
12496
  },
12250
12497
  status: { enum: ['success'], type: 'string' },
@@ -12266,8 +12513,8 @@ const openapi: OpenAPISpec = {
12266
12513
  type: 'string',
12267
12514
  },
12268
12515
  action_type: {
12269
- description: 'Creating a noise threshold failed.',
12270
- enum: ['CREATE_NOISE_THRESHOLD'],
12516
+ description: 'Creating an access code failed.',
12517
+ enum: ['CREATE_ACCESS_CODE'],
12271
12518
  type: 'string',
12272
12519
  },
12273
12520
  error: {
@@ -12307,8 +12554,342 @@ const openapi: OpenAPISpec = {
12307
12554
  type: 'string',
12308
12555
  },
12309
12556
  action_type: {
12310
- description: 'Deleting a noise threshold is pending.',
12311
- enum: ['DELETE_NOISE_THRESHOLD'],
12557
+ description: 'Deleting an access code is pending.',
12558
+ enum: ['DELETE_ACCESS_CODE'],
12559
+ type: 'string',
12560
+ },
12561
+ error: {
12562
+ description:
12563
+ 'Errors associated with the action attempt. Null for pending action attempts.',
12564
+ nullable: true,
12565
+ },
12566
+ result: {
12567
+ description:
12568
+ 'Result of the action attempt. Null for pending action attempts.',
12569
+ nullable: true,
12570
+ },
12571
+ status: { enum: ['pending'], type: 'string' },
12572
+ },
12573
+ required: [
12574
+ 'action_attempt_id',
12575
+ 'status',
12576
+ 'result',
12577
+ 'error',
12578
+ 'action_type',
12579
+ ],
12580
+ type: 'object',
12581
+ },
12582
+ {
12583
+ properties: {
12584
+ action_attempt_id: {
12585
+ description: 'ID of the action attempt.',
12586
+ format: 'uuid',
12587
+ type: 'string',
12588
+ },
12589
+ action_type: {
12590
+ description: 'Deleting an access code succeeded.',
12591
+ enum: ['DELETE_ACCESS_CODE'],
12592
+ type: 'string',
12593
+ },
12594
+ error: {
12595
+ description:
12596
+ 'Errors associated with the action attempt. Null for successful action attempts.',
12597
+ nullable: true,
12598
+ },
12599
+ result: {
12600
+ description: 'Result of the action.',
12601
+ properties: {},
12602
+ type: 'object',
12603
+ },
12604
+ status: { enum: ['success'], type: 'string' },
12605
+ },
12606
+ required: [
12607
+ 'action_attempt_id',
12608
+ 'status',
12609
+ 'error',
12610
+ 'action_type',
12611
+ 'result',
12612
+ ],
12613
+ type: 'object',
12614
+ },
12615
+ {
12616
+ properties: {
12617
+ action_attempt_id: {
12618
+ description: 'ID of the action attempt.',
12619
+ format: 'uuid',
12620
+ type: 'string',
12621
+ },
12622
+ action_type: {
12623
+ description: 'Deleting an access code failed.',
12624
+ enum: ['DELETE_ACCESS_CODE'],
12625
+ type: 'string',
12626
+ },
12627
+ error: {
12628
+ description: 'Error associated with the action.',
12629
+ properties: {
12630
+ message: {
12631
+ description:
12632
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
12633
+ type: 'string',
12634
+ },
12635
+ type: { description: 'Type of the error.', type: 'string' },
12636
+ },
12637
+ required: ['type', 'message'],
12638
+ type: 'object',
12639
+ },
12640
+ result: {
12641
+ description:
12642
+ 'Result of the action attempt. Null for failed action attempts.',
12643
+ nullable: true,
12644
+ },
12645
+ status: { enum: ['error'], type: 'string' },
12646
+ },
12647
+ required: [
12648
+ 'action_attempt_id',
12649
+ 'status',
12650
+ 'result',
12651
+ 'action_type',
12652
+ 'error',
12653
+ ],
12654
+ type: 'object',
12655
+ },
12656
+ {
12657
+ properties: {
12658
+ action_attempt_id: {
12659
+ description: 'ID of the action attempt.',
12660
+ format: 'uuid',
12661
+ type: 'string',
12662
+ },
12663
+ action_type: {
12664
+ description: 'Updating an access code is pending.',
12665
+ enum: ['UPDATE_ACCESS_CODE'],
12666
+ type: 'string',
12667
+ },
12668
+ error: {
12669
+ description:
12670
+ 'Errors associated with the action attempt. Null for pending action attempts.',
12671
+ nullable: true,
12672
+ },
12673
+ result: {
12674
+ description:
12675
+ 'Result of the action attempt. Null for pending action attempts.',
12676
+ nullable: true,
12677
+ },
12678
+ status: { enum: ['pending'], type: 'string' },
12679
+ },
12680
+ required: [
12681
+ 'action_attempt_id',
12682
+ 'status',
12683
+ 'result',
12684
+ 'error',
12685
+ 'action_type',
12686
+ ],
12687
+ type: 'object',
12688
+ },
12689
+ {
12690
+ properties: {
12691
+ action_attempt_id: {
12692
+ description: 'ID of the action attempt.',
12693
+ format: 'uuid',
12694
+ type: 'string',
12695
+ },
12696
+ action_type: {
12697
+ description: 'Updating an access code succeeded.',
12698
+ enum: ['UPDATE_ACCESS_CODE'],
12699
+ type: 'string',
12700
+ },
12701
+ error: {
12702
+ description:
12703
+ 'Errors associated with the action attempt. Null for successful action attempts.',
12704
+ nullable: true,
12705
+ },
12706
+ result: {
12707
+ description: 'Result of the action.',
12708
+ properties: {
12709
+ access_code: {
12710
+ additionalProperties: {},
12711
+ description: 'Updated access code.',
12712
+ type: 'object',
12713
+ },
12714
+ },
12715
+ type: 'object',
12716
+ },
12717
+ status: { enum: ['success'], type: 'string' },
12718
+ },
12719
+ required: [
12720
+ 'action_attempt_id',
12721
+ 'status',
12722
+ 'error',
12723
+ 'action_type',
12724
+ 'result',
12725
+ ],
12726
+ type: 'object',
12727
+ },
12728
+ {
12729
+ properties: {
12730
+ action_attempt_id: {
12731
+ description: 'ID of the action attempt.',
12732
+ format: 'uuid',
12733
+ type: 'string',
12734
+ },
12735
+ action_type: {
12736
+ description: 'Updating an access code failed.',
12737
+ enum: ['UPDATE_ACCESS_CODE'],
12738
+ type: 'string',
12739
+ },
12740
+ error: {
12741
+ description: 'Error associated with the action.',
12742
+ properties: {
12743
+ message: {
12744
+ description:
12745
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
12746
+ type: 'string',
12747
+ },
12748
+ type: { description: 'Type of the error.', type: 'string' },
12749
+ },
12750
+ required: ['type', 'message'],
12751
+ type: 'object',
12752
+ },
12753
+ result: {
12754
+ description:
12755
+ 'Result of the action attempt. Null for failed action attempts.',
12756
+ nullable: true,
12757
+ },
12758
+ status: { enum: ['error'], type: 'string' },
12759
+ },
12760
+ required: [
12761
+ 'action_attempt_id',
12762
+ 'status',
12763
+ 'result',
12764
+ 'action_type',
12765
+ 'error',
12766
+ ],
12767
+ type: 'object',
12768
+ },
12769
+ {
12770
+ properties: {
12771
+ action_attempt_id: {
12772
+ description: 'ID of the action attempt.',
12773
+ format: 'uuid',
12774
+ type: 'string',
12775
+ },
12776
+ action_type: {
12777
+ description: 'Creating a noise threshold is pending.',
12778
+ enum: ['CREATE_NOISE_THRESHOLD'],
12779
+ type: 'string',
12780
+ },
12781
+ error: {
12782
+ description:
12783
+ 'Errors associated with the action attempt. Null for pending action attempts.',
12784
+ nullable: true,
12785
+ },
12786
+ result: {
12787
+ description:
12788
+ 'Result of the action attempt. Null for pending action attempts.',
12789
+ nullable: true,
12790
+ },
12791
+ status: { enum: ['pending'], type: 'string' },
12792
+ },
12793
+ required: [
12794
+ 'action_attempt_id',
12795
+ 'status',
12796
+ 'result',
12797
+ 'error',
12798
+ 'action_type',
12799
+ ],
12800
+ type: 'object',
12801
+ },
12802
+ {
12803
+ properties: {
12804
+ action_attempt_id: {
12805
+ description: 'ID of the action attempt.',
12806
+ format: 'uuid',
12807
+ type: 'string',
12808
+ },
12809
+ action_type: {
12810
+ description: 'Creating a noise threshold succeeded.',
12811
+ enum: ['CREATE_NOISE_THRESHOLD'],
12812
+ type: 'string',
12813
+ },
12814
+ error: {
12815
+ description:
12816
+ 'Errors associated with the action attempt. Null for successful action attempts.',
12817
+ nullable: true,
12818
+ },
12819
+ result: {
12820
+ description: 'Result of the action.',
12821
+ properties: {
12822
+ noise_threshold: {
12823
+ additionalProperties: {},
12824
+ description: 'Created noise threshold.',
12825
+ type: 'object',
12826
+ },
12827
+ },
12828
+ required: ['noise_threshold'],
12829
+ type: 'object',
12830
+ },
12831
+ status: { enum: ['success'], type: 'string' },
12832
+ },
12833
+ required: [
12834
+ 'action_attempt_id',
12835
+ 'status',
12836
+ 'error',
12837
+ 'action_type',
12838
+ 'result',
12839
+ ],
12840
+ type: 'object',
12841
+ },
12842
+ {
12843
+ properties: {
12844
+ action_attempt_id: {
12845
+ description: 'ID of the action attempt.',
12846
+ format: 'uuid',
12847
+ type: 'string',
12848
+ },
12849
+ action_type: {
12850
+ description: 'Creating a noise threshold failed.',
12851
+ enum: ['CREATE_NOISE_THRESHOLD'],
12852
+ type: 'string',
12853
+ },
12854
+ error: {
12855
+ description: 'Error associated with the action.',
12856
+ properties: {
12857
+ message: {
12858
+ description:
12859
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
12860
+ type: 'string',
12861
+ },
12862
+ type: { description: 'Type of the error.', type: 'string' },
12863
+ },
12864
+ required: ['type', 'message'],
12865
+ type: 'object',
12866
+ },
12867
+ result: {
12868
+ description:
12869
+ 'Result of the action attempt. Null for failed action attempts.',
12870
+ nullable: true,
12871
+ },
12872
+ status: { enum: ['error'], type: 'string' },
12873
+ },
12874
+ required: [
12875
+ 'action_attempt_id',
12876
+ 'status',
12877
+ 'result',
12878
+ 'action_type',
12879
+ 'error',
12880
+ ],
12881
+ type: 'object',
12882
+ },
12883
+ {
12884
+ properties: {
12885
+ action_attempt_id: {
12886
+ description: 'ID of the action attempt.',
12887
+ format: 'uuid',
12888
+ type: 'string',
12889
+ },
12890
+ action_type: {
12891
+ description: 'Deleting a noise threshold is pending.',
12892
+ enum: ['DELETE_NOISE_THRESHOLD'],
12312
12893
  type: 'string',
12313
12894
  },
12314
12895
  error: {
@@ -13058,6 +13639,7 @@ const openapi: OpenAPISpec = {
13058
13639
  'noise_sensor',
13059
13640
  'access_control',
13060
13641
  'camera',
13642
+ 'speaker',
13061
13643
  ],
13062
13644
  type: 'string',
13063
13645
  },
@@ -13225,6 +13807,7 @@ const openapi: OpenAPISpec = {
13225
13807
  'noise_sensor',
13226
13808
  'access_control',
13227
13809
  'camera',
13810
+ 'speaker',
13228
13811
  ],
13229
13812
  type: 'string',
13230
13813
  },
@@ -13955,6 +14538,21 @@ const openapi: OpenAPISpec = {
13955
14538
  'Indicates whether the thermostat supports simultaneous heating and cooling.',
13956
14539
  type: 'boolean',
13957
14540
  },
14541
+ can_mute_speaker: {
14542
+ description:
14543
+ 'Indicates whether the speaker supports muting and unmuting.',
14544
+ type: 'boolean',
14545
+ },
14546
+ can_pause_speaker_playback: {
14547
+ description:
14548
+ 'Indicates whether the speaker supports pausing and resuming playback.',
14549
+ type: 'boolean',
14550
+ },
14551
+ can_play_speaker_chime: {
14552
+ description:
14553
+ 'Indicates whether the speaker supports playing a chime.',
14554
+ type: 'boolean',
14555
+ },
13958
14556
  can_program_offline_access_codes: {
13959
14557
  description:
13960
14558
  'Indicates whether the device supports programming offline access codes.',
@@ -13995,6 +14593,11 @@ const openapi: OpenAPISpec = {
13995
14593
  'Indicates whether the thermostat supports running climate programs.',
13996
14594
  type: 'boolean',
13997
14595
  },
14596
+ can_set_speaker_volume: {
14597
+ description:
14598
+ 'Indicates whether the speaker supports setting its volume.',
14599
+ type: 'boolean',
14600
+ },
13998
14601
  can_simulate_connection: {
13999
14602
  description:
14000
14603
  'Indicates whether the device supports simulating connection in a sandbox.',
@@ -14215,6 +14818,11 @@ const openapi: OpenAPISpec = {
14215
14818
  ],
14216
14819
  type: 'string',
14217
14820
  },
14821
+ {
14822
+ description: 'Device type for speakers.',
14823
+ enum: ['sonos_speaker'],
14824
+ type: 'string',
14825
+ },
14218
14826
  ],
14219
14827
  },
14220
14828
  display_name: {
@@ -16256,6 +16864,38 @@ const openapi: OpenAPISpec = {
16256
16864
  },
16257
16865
  type: 'object',
16258
16866
  },
16867
+ sonos_metadata: {
16868
+ description: 'Metadata for a Sonos speaker.',
16869
+ properties: {
16870
+ bonded_member_models: {
16871
+ description:
16872
+ 'Models of the speakers bonded to this speaker, such as surrounds or a subwoofer.',
16873
+ items: { type: 'string' },
16874
+ type: 'array',
16875
+ },
16876
+ household_id: {
16877
+ description:
16878
+ 'ID of the Sonos household that the speaker belongs to.',
16879
+ type: 'string',
16880
+ },
16881
+ model_display_name: {
16882
+ description:
16883
+ 'Model name of the speaker, as reported by Sonos.',
16884
+ type: 'string',
16885
+ },
16886
+ player_id: {
16887
+ description:
16888
+ 'ID of the Sonos player for the speaker.',
16889
+ type: 'string',
16890
+ },
16891
+ software_version: {
16892
+ description:
16893
+ 'Software version running on the speaker.',
16894
+ type: 'string',
16895
+ },
16896
+ },
16897
+ type: 'object',
16898
+ },
16259
16899
  tado_metadata: {
16260
16900
  description: 'Metadata for a tado° device.',
16261
16901
  properties: {
@@ -16824,6 +17464,109 @@ const openapi: OpenAPISpec = {
16824
17464
  type: 'array',
16825
17465
  'x-property-group-key': 'access_codes',
16826
17466
  },
17467
+ speaker: {
17468
+ description:
17469
+ 'Audio state and capabilities of the speaker.',
17470
+ properties: {
17471
+ grouped_with_device_ids: {
17472
+ description:
17473
+ '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.',
17474
+ items: { format: 'uuid', type: 'string' },
17475
+ type: 'array',
17476
+ },
17477
+ has_fixed_volume: {
17478
+ description:
17479
+ "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.",
17480
+ type: 'boolean',
17481
+ },
17482
+ is_muted: {
17483
+ description:
17484
+ 'Indicates whether the speaker is muted.',
17485
+ type: 'boolean',
17486
+ },
17487
+ max_volume: {
17488
+ description:
17489
+ "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.",
17490
+ format: 'float',
17491
+ type: 'number',
17492
+ },
17493
+ min_volume: {
17494
+ description:
17495
+ 'Minimum volume that you can set on the speaker.',
17496
+ format: 'float',
17497
+ type: 'number',
17498
+ },
17499
+ now_playing: {
17500
+ description:
17501
+ 'Content that is currently playing on the speaker.',
17502
+ properties: {
17503
+ album: {
17504
+ description:
17505
+ 'Album of the content that is currently playing.',
17506
+ type: 'string',
17507
+ },
17508
+ artist: {
17509
+ description:
17510
+ 'Artist of the content that is currently playing.',
17511
+ type: 'string',
17512
+ },
17513
+ title: {
17514
+ description:
17515
+ 'Title of the content that is currently playing.',
17516
+ type: 'string',
17517
+ },
17518
+ },
17519
+ type: 'object',
17520
+ },
17521
+ playback_state: {
17522
+ description: 'Playback state of the speaker.',
17523
+ enum: [
17524
+ 'playing',
17525
+ 'paused',
17526
+ 'idle',
17527
+ 'buffering',
17528
+ 'unknown',
17529
+ ],
17530
+ type: 'string',
17531
+ },
17532
+ supports_chime: {
17533
+ description:
17534
+ 'Indicates whether the speaker can play a chime.',
17535
+ type: 'boolean',
17536
+ },
17537
+ volume: {
17538
+ description:
17539
+ "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.",
17540
+ format: 'float',
17541
+ type: 'number',
17542
+ },
17543
+ volume_reported_at: {
17544
+ description:
17545
+ 'Date and time at which the speaker last reported its volume.',
17546
+ format: 'date-time',
17547
+ type: 'string',
17548
+ },
17549
+ volume_step: {
17550
+ description:
17551
+ 'Increment between the volume values that you can set on the speaker.',
17552
+ format: 'float',
17553
+ type: 'number',
17554
+ },
17555
+ },
17556
+ required: [
17557
+ 'volume',
17558
+ 'is_muted',
17559
+ 'has_fixed_volume',
17560
+ 'min_volume',
17561
+ 'max_volume',
17562
+ 'volume_step',
17563
+ 'playback_state',
17564
+ 'grouped_with_device_ids',
17565
+ 'supports_chime',
17566
+ ],
17567
+ type: 'object',
17568
+ 'x-property-group-key': 'speakers',
17569
+ },
16827
17570
  supported_code_lengths: {
16828
17571
  description: 'Supported code lengths for access codes.',
16829
17572
  items: { format: 'float', type: 'number' },
@@ -17738,6 +18481,7 @@ const openapi: OpenAPISpec = {
17738
18481
  noise_sensors: { name: 'Noise Sensors' },
17739
18482
  phones: { name: 'Phones' },
17740
18483
  provider_metadata: { name: 'Provider Metadata' },
18484
+ speakers: { name: 'Speakers' },
17741
18485
  thermostats: { name: 'Thermostats' },
17742
18486
  },
17743
18487
  },
@@ -18536,6 +19280,7 @@ const openapi: OpenAPISpec = {
18536
19280
  noise_sensors: { name: 'Noise Sensors' },
18537
19281
  phones: { name: 'Phones' },
18538
19282
  provider_metadata: { name: 'Provider Metadata' },
19283
+ speakers: { name: 'Speakers' },
18539
19284
  thermostats: { name: 'Thermostats' },
18540
19285
  },
18541
19286
  'x-route-path': '/devices',
@@ -18565,6 +19310,21 @@ const openapi: OpenAPISpec = {
18565
19310
  'Indicates whether the thermostat supports simultaneous heating and cooling.',
18566
19311
  type: 'boolean',
18567
19312
  },
19313
+ can_mute_speaker: {
19314
+ description:
19315
+ 'Indicates whether the speaker supports muting and unmuting.',
19316
+ type: 'boolean',
19317
+ },
19318
+ can_pause_speaker_playback: {
19319
+ description:
19320
+ 'Indicates whether the speaker supports pausing and resuming playback.',
19321
+ type: 'boolean',
19322
+ },
19323
+ can_play_speaker_chime: {
19324
+ description:
19325
+ 'Indicates whether the speaker supports playing a chime.',
19326
+ type: 'boolean',
19327
+ },
18568
19328
  can_program_offline_access_codes: {
18569
19329
  description:
18570
19330
  'Indicates whether the device supports programming offline access codes.',
@@ -18605,6 +19365,11 @@ const openapi: OpenAPISpec = {
18605
19365
  'Indicates whether the thermostat supports running climate programs.',
18606
19366
  type: 'boolean',
18607
19367
  },
19368
+ can_set_speaker_volume: {
19369
+ description:
19370
+ 'Indicates whether the speaker supports setting its volume.',
19371
+ type: 'boolean',
19372
+ },
18608
19373
  can_simulate_connection: {
18609
19374
  description:
18610
19375
  'Indicates whether the device supports simulating connection in a sandbox.',
@@ -38127,6 +38892,21 @@ const openapi: OpenAPISpec = {
38127
38892
  'Indicates whether the thermostat supports simultaneous heating and cooling.',
38128
38893
  type: 'boolean',
38129
38894
  },
38895
+ can_mute_speaker: {
38896
+ description:
38897
+ 'Indicates whether the speaker supports muting and unmuting.',
38898
+ type: 'boolean',
38899
+ },
38900
+ can_pause_speaker_playback: {
38901
+ description:
38902
+ 'Indicates whether the speaker supports pausing and resuming playback.',
38903
+ type: 'boolean',
38904
+ },
38905
+ can_play_speaker_chime: {
38906
+ description:
38907
+ 'Indicates whether the speaker supports playing a chime.',
38908
+ type: 'boolean',
38909
+ },
38130
38910
  can_program_offline_access_codes: {
38131
38911
  description:
38132
38912
  'Indicates whether the device supports programming offline access codes.',
@@ -38167,6 +38947,11 @@ const openapi: OpenAPISpec = {
38167
38947
  'Indicates whether the thermostat supports running climate programs.',
38168
38948
  type: 'boolean',
38169
38949
  },
38950
+ can_set_speaker_volume: {
38951
+ description:
38952
+ 'Indicates whether the speaker supports setting its volume.',
38953
+ type: 'boolean',
38954
+ },
38170
38955
  can_simulate_connection: {
38171
38956
  description:
38172
38957
  'Indicates whether the device supports simulating connection in a sandbox.',
@@ -38331,6 +39116,11 @@ const openapi: OpenAPISpec = {
38331
39116
  ],
38332
39117
  type: 'string',
38333
39118
  },
39119
+ {
39120
+ description: 'Device type for speakers.',
39121
+ enum: ['sonos_speaker'],
39122
+ type: 'string',
39123
+ },
38334
39124
  ],
38335
39125
  },
38336
39126
  display_name: {
@@ -49097,6 +49887,7 @@ const openapi: OpenAPISpec = {
49097
49887
  'noise_sensor',
49098
49888
  'access_control',
49099
49889
  'camera',
49890
+ 'speaker',
49100
49891
  ],
49101
49892
  type: 'string',
49102
49893
  },
@@ -49878,6 +50669,7 @@ const openapi: OpenAPISpec = {
49878
50669
  'noise_sensor',
49879
50670
  'access_control',
49880
50671
  'camera',
50672
+ 'speaker',
49881
50673
  ],
49882
50674
  type: 'string',
49883
50675
  },
@@ -52866,6 +53658,11 @@ const openapi: OpenAPISpec = {
52866
53658
  ],
52867
53659
  type: 'string',
52868
53660
  },
53661
+ {
53662
+ description: 'Device type for speakers.',
53663
+ enum: ['sonos_speaker'],
53664
+ type: 'string',
53665
+ },
52869
53666
  ],
52870
53667
  },
52871
53668
  },
@@ -52951,6 +53748,11 @@ const openapi: OpenAPISpec = {
52951
53748
  ],
52952
53749
  type: 'string',
52953
53750
  },
53751
+ {
53752
+ description: 'Device type for speakers.',
53753
+ enum: ['sonos_speaker'],
53754
+ type: 'string',
53755
+ },
52954
53756
  ],
52955
53757
  },
52956
53758
  type: 'array',
@@ -53115,6 +53917,10 @@ const openapi: OpenAPISpec = {
53115
53917
  'can_simulate_paid_subscription',
53116
53918
  'can_configure_auto_lock',
53117
53919
  'can_stream_live_video',
53920
+ 'can_set_speaker_volume',
53921
+ 'can_mute_speaker',
53922
+ 'can_pause_speaker_playback',
53923
+ 'can_play_speaker_chime',
53118
53924
  ],
53119
53925
  type: 'string',
53120
53926
  },
@@ -53150,6 +53956,10 @@ const openapi: OpenAPISpec = {
53150
53956
  'can_simulate_paid_subscription',
53151
53957
  'can_configure_auto_lock',
53152
53958
  'can_stream_live_video',
53959
+ 'can_set_speaker_volume',
53960
+ 'can_mute_speaker',
53961
+ 'can_pause_speaker_playback',
53962
+ 'can_play_speaker_chime',
53153
53963
  ],
53154
53964
  type: 'string',
53155
53965
  },
@@ -55184,6 +55994,11 @@ const openapi: OpenAPISpec = {
55184
55994
  ],
55185
55995
  type: 'string',
55186
55996
  },
55997
+ {
55998
+ description: 'Device type for speakers.',
55999
+ enum: ['sonos_speaker'],
56000
+ type: 'string',
56001
+ },
55187
56002
  ],
55188
56003
  },
55189
56004
  },
@@ -55269,6 +56084,11 @@ const openapi: OpenAPISpec = {
55269
56084
  ],
55270
56085
  type: 'string',
55271
56086
  },
56087
+ {
56088
+ description: 'Device type for speakers.',
56089
+ enum: ['sonos_speaker'],
56090
+ type: 'string',
56091
+ },
55272
56092
  ],
55273
56093
  },
55274
56094
  type: 'array',
@@ -55399,6 +56219,10 @@ const openapi: OpenAPISpec = {
55399
56219
  'can_simulate_paid_subscription',
55400
56220
  'can_configure_auto_lock',
55401
56221
  'can_stream_live_video',
56222
+ 'can_set_speaker_volume',
56223
+ 'can_mute_speaker',
56224
+ 'can_pause_speaker_playback',
56225
+ 'can_play_speaker_chime',
55402
56226
  ],
55403
56227
  type: 'string',
55404
56228
  },
@@ -55434,6 +56258,10 @@ const openapi: OpenAPISpec = {
55434
56258
  'can_simulate_paid_subscription',
55435
56259
  'can_configure_auto_lock',
55436
56260
  'can_stream_live_video',
56261
+ 'can_set_speaker_volume',
56262
+ 'can_mute_speaker',
56263
+ 'can_pause_speaker_playback',
56264
+ 'can_play_speaker_chime',
55437
56265
  ],
55438
56266
  type: 'string',
55439
56267
  },