@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.
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +395 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +10 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/pause-speaker-playback.d.ts +87 -0
- package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js +37 -0
- package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-chime.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-chime.js +31 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-chime.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/resume-speaker-playback.d.ts +87 -0
- package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js +37 -0
- package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-mute.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-mute.js +31 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-mute.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-volume.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-volume.js +31 -0
- package/lib/seam/connect/models/action-attempts/set-speaker-volume.js.map +1 -0
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -3
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +95 -1
- package/lib/seam/connect/models/devices/capability-properties/index.js +4 -2
- package/lib/seam/connect/models/devices/capability-properties/index.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/speaker.d.ts +98 -0
- package/lib/seam/connect/models/devices/capability-properties/speaker.js +61 -0
- package/lib/seam/connect/models/devices/capability-properties/speaker.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-metadata.js +26 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +12 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +7 -1
- package/lib/seam/connect/models/devices/device-type.js +8 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +200 -3
- package/lib/seam/connect/models/devices/device.js +16 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +144 -3
- package/lib/seam/connect/models/provider-capability.d.ts +1 -1
- package/lib/seam/connect/models/provider-capability.js +1 -0
- package/lib/seam/connect/models/provider-capability.js.map +1 -1
- package/lib/seam/connect/openapi.js +800 -45
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7127 -40
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/enums.ts +2 -0
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +10 -0
- package/src/lib/seam/connect/models/action-attempts/pause-speaker-playback.ts +54 -0
- package/src/lib/seam/connect/models/action-attempts/play-speaker-chime.ts +46 -0
- package/src/lib/seam/connect/models/action-attempts/resume-speaker-playback.ts +54 -0
- package/src/lib/seam/connect/models/action-attempts/set-speaker-mute.ts +43 -0
- package/src/lib/seam/connect/models/action-attempts/set-speaker-volume.ts +46 -0
- package/src/lib/seam/connect/models/devices/capability-properties/index.ts +9 -1
- package/src/lib/seam/connect/models/devices/capability-properties/speaker.ts +76 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +29 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +16 -0
- package/src/lib/seam/connect/models/devices/device.ts +18 -0
- package/src/lib/seam/connect/models/provider-capability.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +873 -45
- package/src/lib/seam/connect/route-types.ts +7879 -8
|
@@ -10323,6 +10323,7 @@ const openapi = {
|
|
|
10323
10323
|
type: 'object',
|
|
10324
10324
|
},
|
|
10325
10325
|
{
|
|
10326
|
+
description: 'Setting the speaker volume is pending.',
|
|
10326
10327
|
properties: {
|
|
10327
10328
|
action_attempt_id: {
|
|
10328
10329
|
description: 'ID of the action attempt.',
|
|
@@ -10330,8 +10331,8 @@ const openapi = {
|
|
|
10330
10331
|
type: 'string',
|
|
10331
10332
|
},
|
|
10332
10333
|
action_type: {
|
|
10333
|
-
description: '
|
|
10334
|
-
enum: ['
|
|
10334
|
+
description: 'Action attempt to track the status of setting the volume on a speaker.',
|
|
10335
|
+
enum: ['SET_SPEAKER_VOLUME'],
|
|
10335
10336
|
type: 'string',
|
|
10336
10337
|
},
|
|
10337
10338
|
error: {
|
|
@@ -10354,6 +10355,7 @@ const openapi = {
|
|
|
10354
10355
|
type: 'object',
|
|
10355
10356
|
},
|
|
10356
10357
|
{
|
|
10358
|
+
description: 'Setting the speaker volume succeeded.',
|
|
10357
10359
|
properties: {
|
|
10358
10360
|
action_attempt_id: {
|
|
10359
10361
|
description: 'ID of the action attempt.',
|
|
@@ -10361,8 +10363,8 @@ const openapi = {
|
|
|
10361
10363
|
type: 'string',
|
|
10362
10364
|
},
|
|
10363
10365
|
action_type: {
|
|
10364
|
-
description: '
|
|
10365
|
-
enum: ['
|
|
10366
|
+
description: 'Action attempt to track the status of setting the volume on a speaker.',
|
|
10367
|
+
enum: ['SET_SPEAKER_VOLUME'],
|
|
10366
10368
|
type: 'string',
|
|
10367
10369
|
},
|
|
10368
10370
|
error: {
|
|
@@ -10386,6 +10388,7 @@ const openapi = {
|
|
|
10386
10388
|
type: 'object',
|
|
10387
10389
|
},
|
|
10388
10390
|
{
|
|
10391
|
+
description: 'Setting the speaker volume failed.',
|
|
10389
10392
|
properties: {
|
|
10390
10393
|
action_attempt_id: {
|
|
10391
10394
|
description: 'ID of the action attempt.',
|
|
@@ -10393,8 +10396,8 @@ const openapi = {
|
|
|
10393
10396
|
type: 'string',
|
|
10394
10397
|
},
|
|
10395
10398
|
action_type: {
|
|
10396
|
-
description: '
|
|
10397
|
-
enum: ['
|
|
10399
|
+
description: 'Action attempt to track the status of setting the volume on a speaker.',
|
|
10400
|
+
enum: ['SET_SPEAKER_VOLUME'],
|
|
10398
10401
|
type: 'string',
|
|
10399
10402
|
},
|
|
10400
10403
|
error: {
|
|
@@ -10425,6 +10428,7 @@ const openapi = {
|
|
|
10425
10428
|
type: 'object',
|
|
10426
10429
|
},
|
|
10427
10430
|
{
|
|
10431
|
+
description: 'Muting or unmuting the speaker is pending.',
|
|
10428
10432
|
properties: {
|
|
10429
10433
|
action_attempt_id: {
|
|
10430
10434
|
description: 'ID of the action attempt.',
|
|
@@ -10432,8 +10436,8 @@ const openapi = {
|
|
|
10432
10436
|
type: 'string',
|
|
10433
10437
|
},
|
|
10434
10438
|
action_type: {
|
|
10435
|
-
description: '
|
|
10436
|
-
enum: ['
|
|
10439
|
+
description: 'Action attempt to track the status of muting or unmuting a speaker.',
|
|
10440
|
+
enum: ['SET_SPEAKER_MUTE'],
|
|
10437
10441
|
type: 'string',
|
|
10438
10442
|
},
|
|
10439
10443
|
error: {
|
|
@@ -10456,6 +10460,7 @@ const openapi = {
|
|
|
10456
10460
|
type: 'object',
|
|
10457
10461
|
},
|
|
10458
10462
|
{
|
|
10463
|
+
description: 'Muting or unmuting the speaker succeeded.',
|
|
10459
10464
|
properties: {
|
|
10460
10465
|
action_attempt_id: {
|
|
10461
10466
|
description: 'ID of the action attempt.',
|
|
@@ -10463,8 +10468,8 @@ const openapi = {
|
|
|
10463
10468
|
type: 'string',
|
|
10464
10469
|
},
|
|
10465
10470
|
action_type: {
|
|
10466
|
-
description: '
|
|
10467
|
-
enum: ['
|
|
10471
|
+
description: 'Action attempt to track the status of muting or unmuting a speaker.',
|
|
10472
|
+
enum: ['SET_SPEAKER_MUTE'],
|
|
10468
10473
|
type: 'string',
|
|
10469
10474
|
},
|
|
10470
10475
|
error: {
|
|
@@ -10473,14 +10478,119 @@ const openapi = {
|
|
|
10473
10478
|
},
|
|
10474
10479
|
result: {
|
|
10475
10480
|
description: 'Result of the action.',
|
|
10481
|
+
properties: {},
|
|
10482
|
+
type: 'object',
|
|
10483
|
+
},
|
|
10484
|
+
status: { enum: ['success'], type: 'string' },
|
|
10485
|
+
},
|
|
10486
|
+
required: [
|
|
10487
|
+
'action_attempt_id',
|
|
10488
|
+
'status',
|
|
10489
|
+
'error',
|
|
10490
|
+
'action_type',
|
|
10491
|
+
'result',
|
|
10492
|
+
],
|
|
10493
|
+
type: 'object',
|
|
10494
|
+
},
|
|
10495
|
+
{
|
|
10496
|
+
description: 'Muting or unmuting the speaker failed.',
|
|
10497
|
+
properties: {
|
|
10498
|
+
action_attempt_id: {
|
|
10499
|
+
description: 'ID of the action attempt.',
|
|
10500
|
+
format: 'uuid',
|
|
10501
|
+
type: 'string',
|
|
10502
|
+
},
|
|
10503
|
+
action_type: {
|
|
10504
|
+
description: 'Action attempt to track the status of muting or unmuting a speaker.',
|
|
10505
|
+
enum: ['SET_SPEAKER_MUTE'],
|
|
10506
|
+
type: 'string',
|
|
10507
|
+
},
|
|
10508
|
+
error: {
|
|
10509
|
+
description: 'Error associated with the action.',
|
|
10476
10510
|
properties: {
|
|
10477
|
-
|
|
10478
|
-
|
|
10479
|
-
|
|
10480
|
-
type: 'object',
|
|
10511
|
+
message: {
|
|
10512
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
10513
|
+
type: 'string',
|
|
10481
10514
|
},
|
|
10515
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
10482
10516
|
},
|
|
10483
|
-
required: ['
|
|
10517
|
+
required: ['type', 'message'],
|
|
10518
|
+
type: 'object',
|
|
10519
|
+
},
|
|
10520
|
+
result: {
|
|
10521
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
10522
|
+
nullable: true,
|
|
10523
|
+
},
|
|
10524
|
+
status: { enum: ['error'], type: 'string' },
|
|
10525
|
+
},
|
|
10526
|
+
required: [
|
|
10527
|
+
'action_attempt_id',
|
|
10528
|
+
'status',
|
|
10529
|
+
'result',
|
|
10530
|
+
'action_type',
|
|
10531
|
+
'error',
|
|
10532
|
+
],
|
|
10533
|
+
type: 'object',
|
|
10534
|
+
},
|
|
10535
|
+
{
|
|
10536
|
+
description: 'Pausing playback on the speaker is pending.',
|
|
10537
|
+
properties: {
|
|
10538
|
+
action_attempt_id: {
|
|
10539
|
+
description: 'ID of the action attempt.',
|
|
10540
|
+
format: 'uuid',
|
|
10541
|
+
type: 'string',
|
|
10542
|
+
},
|
|
10543
|
+
action_type: {
|
|
10544
|
+
description: 'Action attempt to track the status of pausing playback on a speaker.',
|
|
10545
|
+
enum: ['PAUSE_SPEAKER_PLAYBACK'],
|
|
10546
|
+
type: 'string',
|
|
10547
|
+
},
|
|
10548
|
+
error: {
|
|
10549
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
10550
|
+
nullable: true,
|
|
10551
|
+
},
|
|
10552
|
+
result: {
|
|
10553
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
10554
|
+
nullable: true,
|
|
10555
|
+
},
|
|
10556
|
+
status: { enum: ['pending'], type: 'string' },
|
|
10557
|
+
},
|
|
10558
|
+
required: [
|
|
10559
|
+
'action_attempt_id',
|
|
10560
|
+
'status',
|
|
10561
|
+
'result',
|
|
10562
|
+
'error',
|
|
10563
|
+
'action_type',
|
|
10564
|
+
],
|
|
10565
|
+
type: 'object',
|
|
10566
|
+
},
|
|
10567
|
+
{
|
|
10568
|
+
description: 'Pausing playback on the speaker succeeded.',
|
|
10569
|
+
properties: {
|
|
10570
|
+
action_attempt_id: {
|
|
10571
|
+
description: 'ID of the action attempt.',
|
|
10572
|
+
format: 'uuid',
|
|
10573
|
+
type: 'string',
|
|
10574
|
+
},
|
|
10575
|
+
action_type: {
|
|
10576
|
+
description: 'Action attempt to track the status of pausing playback on a speaker.',
|
|
10577
|
+
enum: ['PAUSE_SPEAKER_PLAYBACK'],
|
|
10578
|
+
type: 'string',
|
|
10579
|
+
},
|
|
10580
|
+
error: {
|
|
10581
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
10582
|
+
nullable: true,
|
|
10583
|
+
},
|
|
10584
|
+
result: {
|
|
10585
|
+
description: 'Result of the action.',
|
|
10586
|
+
properties: {
|
|
10587
|
+
affected_device_ids: {
|
|
10588
|
+
description: 'IDs of the speakers whose playback was paused, including speakers grouped with the requested speaker.',
|
|
10589
|
+
items: { format: 'uuid', type: 'string' },
|
|
10590
|
+
type: 'array',
|
|
10591
|
+
},
|
|
10592
|
+
},
|
|
10593
|
+
required: ['affected_device_ids'],
|
|
10484
10594
|
type: 'object',
|
|
10485
10595
|
},
|
|
10486
10596
|
status: { enum: ['success'], type: 'string' },
|
|
@@ -10495,6 +10605,7 @@ const openapi = {
|
|
|
10495
10605
|
type: 'object',
|
|
10496
10606
|
},
|
|
10497
10607
|
{
|
|
10608
|
+
description: 'Pausing playback on the speaker failed.',
|
|
10498
10609
|
properties: {
|
|
10499
10610
|
action_attempt_id: {
|
|
10500
10611
|
description: 'ID of the action attempt.',
|
|
@@ -10502,8 +10613,8 @@ const openapi = {
|
|
|
10502
10613
|
type: 'string',
|
|
10503
10614
|
},
|
|
10504
10615
|
action_type: {
|
|
10505
|
-
description: '
|
|
10506
|
-
enum: ['
|
|
10616
|
+
description: 'Action attempt to track the status of pausing playback on a speaker.',
|
|
10617
|
+
enum: ['PAUSE_SPEAKER_PLAYBACK'],
|
|
10507
10618
|
type: 'string',
|
|
10508
10619
|
},
|
|
10509
10620
|
error: {
|
|
@@ -10534,6 +10645,7 @@ const openapi = {
|
|
|
10534
10645
|
type: 'object',
|
|
10535
10646
|
},
|
|
10536
10647
|
{
|
|
10648
|
+
description: 'Resuming playback on the speaker is pending.',
|
|
10537
10649
|
properties: {
|
|
10538
10650
|
action_attempt_id: {
|
|
10539
10651
|
description: 'ID of the action attempt.',
|
|
@@ -10541,8 +10653,8 @@ const openapi = {
|
|
|
10541
10653
|
type: 'string',
|
|
10542
10654
|
},
|
|
10543
10655
|
action_type: {
|
|
10544
|
-
description: '
|
|
10545
|
-
enum: ['
|
|
10656
|
+
description: 'Action attempt to track the status of resuming playback on a speaker.',
|
|
10657
|
+
enum: ['RESUME_SPEAKER_PLAYBACK'],
|
|
10546
10658
|
type: 'string',
|
|
10547
10659
|
},
|
|
10548
10660
|
error: {
|
|
@@ -10565,6 +10677,7 @@ const openapi = {
|
|
|
10565
10677
|
type: 'object',
|
|
10566
10678
|
},
|
|
10567
10679
|
{
|
|
10680
|
+
description: 'Resuming playback on the speaker succeeded.',
|
|
10568
10681
|
properties: {
|
|
10569
10682
|
action_attempt_id: {
|
|
10570
10683
|
description: 'ID of the action attempt.',
|
|
@@ -10572,8 +10685,8 @@ const openapi = {
|
|
|
10572
10685
|
type: 'string',
|
|
10573
10686
|
},
|
|
10574
10687
|
action_type: {
|
|
10575
|
-
description: '
|
|
10576
|
-
enum: ['
|
|
10688
|
+
description: 'Action attempt to track the status of resuming playback on a speaker.',
|
|
10689
|
+
enum: ['RESUME_SPEAKER_PLAYBACK'],
|
|
10577
10690
|
type: 'string',
|
|
10578
10691
|
},
|
|
10579
10692
|
error: {
|
|
@@ -10582,7 +10695,14 @@ const openapi = {
|
|
|
10582
10695
|
},
|
|
10583
10696
|
result: {
|
|
10584
10697
|
description: 'Result of the action.',
|
|
10585
|
-
properties: {
|
|
10698
|
+
properties: {
|
|
10699
|
+
affected_device_ids: {
|
|
10700
|
+
description: 'IDs of the speakers whose playback was resumed, including speakers grouped with the requested speaker.',
|
|
10701
|
+
items: { format: 'uuid', type: 'string' },
|
|
10702
|
+
type: 'array',
|
|
10703
|
+
},
|
|
10704
|
+
},
|
|
10705
|
+
required: ['affected_device_ids'],
|
|
10586
10706
|
type: 'object',
|
|
10587
10707
|
},
|
|
10588
10708
|
status: { enum: ['success'], type: 'string' },
|
|
@@ -10597,6 +10717,7 @@ const openapi = {
|
|
|
10597
10717
|
type: 'object',
|
|
10598
10718
|
},
|
|
10599
10719
|
{
|
|
10720
|
+
description: 'Resuming playback on the speaker failed.',
|
|
10600
10721
|
properties: {
|
|
10601
10722
|
action_attempt_id: {
|
|
10602
10723
|
description: 'ID of the action attempt.',
|
|
@@ -10604,8 +10725,8 @@ const openapi = {
|
|
|
10604
10725
|
type: 'string',
|
|
10605
10726
|
},
|
|
10606
10727
|
action_type: {
|
|
10607
|
-
description: '
|
|
10608
|
-
enum: ['
|
|
10728
|
+
description: 'Action attempt to track the status of resuming playback on a speaker.',
|
|
10729
|
+
enum: ['RESUME_SPEAKER_PLAYBACK'],
|
|
10609
10730
|
type: 'string',
|
|
10610
10731
|
},
|
|
10611
10732
|
error: {
|
|
@@ -10636,6 +10757,7 @@ const openapi = {
|
|
|
10636
10757
|
type: 'object',
|
|
10637
10758
|
},
|
|
10638
10759
|
{
|
|
10760
|
+
description: 'Playing a chime on the speaker is pending.',
|
|
10639
10761
|
properties: {
|
|
10640
10762
|
action_attempt_id: {
|
|
10641
10763
|
description: 'ID of the action attempt.',
|
|
@@ -10643,8 +10765,8 @@ const openapi = {
|
|
|
10643
10765
|
type: 'string',
|
|
10644
10766
|
},
|
|
10645
10767
|
action_type: {
|
|
10646
|
-
description: '
|
|
10647
|
-
enum: ['
|
|
10768
|
+
description: 'Action attempt to track the status of playing a chime on a speaker.',
|
|
10769
|
+
enum: ['PLAY_SPEAKER_CHIME'],
|
|
10648
10770
|
type: 'string',
|
|
10649
10771
|
},
|
|
10650
10772
|
error: {
|
|
@@ -10667,6 +10789,7 @@ const openapi = {
|
|
|
10667
10789
|
type: 'object',
|
|
10668
10790
|
},
|
|
10669
10791
|
{
|
|
10792
|
+
description: 'Playing a chime on the speaker succeeded.',
|
|
10670
10793
|
properties: {
|
|
10671
10794
|
action_attempt_id: {
|
|
10672
10795
|
description: 'ID of the action attempt.',
|
|
@@ -10674,8 +10797,8 @@ const openapi = {
|
|
|
10674
10797
|
type: 'string',
|
|
10675
10798
|
},
|
|
10676
10799
|
action_type: {
|
|
10677
|
-
description: '
|
|
10678
|
-
enum: ['
|
|
10800
|
+
description: 'Action attempt to track the status of playing a chime on a speaker.',
|
|
10801
|
+
enum: ['PLAY_SPEAKER_CHIME'],
|
|
10679
10802
|
type: 'string',
|
|
10680
10803
|
},
|
|
10681
10804
|
error: {
|
|
@@ -10684,13 +10807,110 @@ const openapi = {
|
|
|
10684
10807
|
},
|
|
10685
10808
|
result: {
|
|
10686
10809
|
description: 'Result of the action.',
|
|
10810
|
+
properties: {},
|
|
10811
|
+
type: 'object',
|
|
10812
|
+
},
|
|
10813
|
+
status: { enum: ['success'], type: 'string' },
|
|
10814
|
+
},
|
|
10815
|
+
required: [
|
|
10816
|
+
'action_attempt_id',
|
|
10817
|
+
'status',
|
|
10818
|
+
'error',
|
|
10819
|
+
'action_type',
|
|
10820
|
+
'result',
|
|
10821
|
+
],
|
|
10822
|
+
type: 'object',
|
|
10823
|
+
},
|
|
10824
|
+
{
|
|
10825
|
+
description: 'Playing a chime on the speaker failed.',
|
|
10826
|
+
properties: {
|
|
10827
|
+
action_attempt_id: {
|
|
10828
|
+
description: 'ID of the action attempt.',
|
|
10829
|
+
format: 'uuid',
|
|
10830
|
+
type: 'string',
|
|
10831
|
+
},
|
|
10832
|
+
action_type: {
|
|
10833
|
+
description: 'Action attempt to track the status of playing a chime on a speaker.',
|
|
10834
|
+
enum: ['PLAY_SPEAKER_CHIME'],
|
|
10835
|
+
type: 'string',
|
|
10836
|
+
},
|
|
10837
|
+
error: {
|
|
10838
|
+
description: 'Error associated with the action.',
|
|
10687
10839
|
properties: {
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
type: 'object',
|
|
10840
|
+
message: {
|
|
10841
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
10842
|
+
type: 'string',
|
|
10692
10843
|
},
|
|
10844
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
10693
10845
|
},
|
|
10846
|
+
required: ['type', 'message'],
|
|
10847
|
+
type: 'object',
|
|
10848
|
+
},
|
|
10849
|
+
result: {
|
|
10850
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
10851
|
+
nullable: true,
|
|
10852
|
+
},
|
|
10853
|
+
status: { enum: ['error'], type: 'string' },
|
|
10854
|
+
},
|
|
10855
|
+
required: [
|
|
10856
|
+
'action_attempt_id',
|
|
10857
|
+
'status',
|
|
10858
|
+
'result',
|
|
10859
|
+
'action_type',
|
|
10860
|
+
'error',
|
|
10861
|
+
],
|
|
10862
|
+
type: 'object',
|
|
10863
|
+
},
|
|
10864
|
+
{
|
|
10865
|
+
properties: {
|
|
10866
|
+
action_attempt_id: {
|
|
10867
|
+
description: 'ID of the action attempt.',
|
|
10868
|
+
format: 'uuid',
|
|
10869
|
+
type: 'string',
|
|
10870
|
+
},
|
|
10871
|
+
action_type: {
|
|
10872
|
+
description: 'Syncing access codes is pending.',
|
|
10873
|
+
enum: ['SYNC_ACCESS_CODES'],
|
|
10874
|
+
type: 'string',
|
|
10875
|
+
},
|
|
10876
|
+
error: {
|
|
10877
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
10878
|
+
nullable: true,
|
|
10879
|
+
},
|
|
10880
|
+
result: {
|
|
10881
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
10882
|
+
nullable: true,
|
|
10883
|
+
},
|
|
10884
|
+
status: { enum: ['pending'], type: 'string' },
|
|
10885
|
+
},
|
|
10886
|
+
required: [
|
|
10887
|
+
'action_attempt_id',
|
|
10888
|
+
'status',
|
|
10889
|
+
'result',
|
|
10890
|
+
'error',
|
|
10891
|
+
'action_type',
|
|
10892
|
+
],
|
|
10893
|
+
type: 'object',
|
|
10894
|
+
},
|
|
10895
|
+
{
|
|
10896
|
+
properties: {
|
|
10897
|
+
action_attempt_id: {
|
|
10898
|
+
description: 'ID of the action attempt.',
|
|
10899
|
+
format: 'uuid',
|
|
10900
|
+
type: 'string',
|
|
10901
|
+
},
|
|
10902
|
+
action_type: {
|
|
10903
|
+
description: 'Syncing access codes succeeded.',
|
|
10904
|
+
enum: ['SYNC_ACCESS_CODES'],
|
|
10905
|
+
type: 'string',
|
|
10906
|
+
},
|
|
10907
|
+
error: {
|
|
10908
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
10909
|
+
nullable: true,
|
|
10910
|
+
},
|
|
10911
|
+
result: {
|
|
10912
|
+
description: 'Result of the action.',
|
|
10913
|
+
properties: {},
|
|
10694
10914
|
type: 'object',
|
|
10695
10915
|
},
|
|
10696
10916
|
status: { enum: ['success'], type: 'string' },
|
|
@@ -10712,8 +10932,8 @@ const openapi = {
|
|
|
10712
10932
|
type: 'string',
|
|
10713
10933
|
},
|
|
10714
10934
|
action_type: {
|
|
10715
|
-
description: '
|
|
10716
|
-
enum: ['
|
|
10935
|
+
description: 'Syncing access codes failed.',
|
|
10936
|
+
enum: ['SYNC_ACCESS_CODES'],
|
|
10717
10937
|
type: 'string',
|
|
10718
10938
|
},
|
|
10719
10939
|
error: {
|
|
@@ -10751,8 +10971,8 @@ const openapi = {
|
|
|
10751
10971
|
type: 'string',
|
|
10752
10972
|
},
|
|
10753
10973
|
action_type: {
|
|
10754
|
-
description: 'Creating
|
|
10755
|
-
enum: ['
|
|
10974
|
+
description: 'Creating an access code is pending.',
|
|
10975
|
+
enum: ['CREATE_ACCESS_CODE'],
|
|
10756
10976
|
type: 'string',
|
|
10757
10977
|
},
|
|
10758
10978
|
error: {
|
|
@@ -10782,8 +11002,8 @@ const openapi = {
|
|
|
10782
11002
|
type: 'string',
|
|
10783
11003
|
},
|
|
10784
11004
|
action_type: {
|
|
10785
|
-
description: 'Creating
|
|
10786
|
-
enum: ['
|
|
11005
|
+
description: 'Creating an access code succeeded.',
|
|
11006
|
+
enum: ['CREATE_ACCESS_CODE'],
|
|
10787
11007
|
type: 'string',
|
|
10788
11008
|
},
|
|
10789
11009
|
error: {
|
|
@@ -10793,13 +11013,13 @@ const openapi = {
|
|
|
10793
11013
|
result: {
|
|
10794
11014
|
description: 'Result of the action.',
|
|
10795
11015
|
properties: {
|
|
10796
|
-
|
|
11016
|
+
access_code: {
|
|
10797
11017
|
additionalProperties: {},
|
|
10798
|
-
description: 'Created
|
|
11018
|
+
description: 'Created access code.',
|
|
10799
11019
|
type: 'object',
|
|
10800
11020
|
},
|
|
10801
11021
|
},
|
|
10802
|
-
required: ['
|
|
11022
|
+
required: ['access_code'],
|
|
10803
11023
|
type: 'object',
|
|
10804
11024
|
},
|
|
10805
11025
|
status: { enum: ['success'], type: 'string' },
|
|
@@ -10821,8 +11041,8 @@ const openapi = {
|
|
|
10821
11041
|
type: 'string',
|
|
10822
11042
|
},
|
|
10823
11043
|
action_type: {
|
|
10824
|
-
description: 'Creating
|
|
10825
|
-
enum: ['
|
|
11044
|
+
description: 'Creating an access code failed.',
|
|
11045
|
+
enum: ['CREATE_ACCESS_CODE'],
|
|
10826
11046
|
type: 'string',
|
|
10827
11047
|
},
|
|
10828
11048
|
error: {
|
|
@@ -10860,8 +11080,327 @@ const openapi = {
|
|
|
10860
11080
|
type: 'string',
|
|
10861
11081
|
},
|
|
10862
11082
|
action_type: {
|
|
10863
|
-
description: 'Deleting
|
|
10864
|
-
enum: ['
|
|
11083
|
+
description: 'Deleting an access code is pending.',
|
|
11084
|
+
enum: ['DELETE_ACCESS_CODE'],
|
|
11085
|
+
type: 'string',
|
|
11086
|
+
},
|
|
11087
|
+
error: {
|
|
11088
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
11089
|
+
nullable: true,
|
|
11090
|
+
},
|
|
11091
|
+
result: {
|
|
11092
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
11093
|
+
nullable: true,
|
|
11094
|
+
},
|
|
11095
|
+
status: { enum: ['pending'], type: 'string' },
|
|
11096
|
+
},
|
|
11097
|
+
required: [
|
|
11098
|
+
'action_attempt_id',
|
|
11099
|
+
'status',
|
|
11100
|
+
'result',
|
|
11101
|
+
'error',
|
|
11102
|
+
'action_type',
|
|
11103
|
+
],
|
|
11104
|
+
type: 'object',
|
|
11105
|
+
},
|
|
11106
|
+
{
|
|
11107
|
+
properties: {
|
|
11108
|
+
action_attempt_id: {
|
|
11109
|
+
description: 'ID of the action attempt.',
|
|
11110
|
+
format: 'uuid',
|
|
11111
|
+
type: 'string',
|
|
11112
|
+
},
|
|
11113
|
+
action_type: {
|
|
11114
|
+
description: 'Deleting an access code succeeded.',
|
|
11115
|
+
enum: ['DELETE_ACCESS_CODE'],
|
|
11116
|
+
type: 'string',
|
|
11117
|
+
},
|
|
11118
|
+
error: {
|
|
11119
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
11120
|
+
nullable: true,
|
|
11121
|
+
},
|
|
11122
|
+
result: {
|
|
11123
|
+
description: 'Result of the action.',
|
|
11124
|
+
properties: {},
|
|
11125
|
+
type: 'object',
|
|
11126
|
+
},
|
|
11127
|
+
status: { enum: ['success'], type: 'string' },
|
|
11128
|
+
},
|
|
11129
|
+
required: [
|
|
11130
|
+
'action_attempt_id',
|
|
11131
|
+
'status',
|
|
11132
|
+
'error',
|
|
11133
|
+
'action_type',
|
|
11134
|
+
'result',
|
|
11135
|
+
],
|
|
11136
|
+
type: 'object',
|
|
11137
|
+
},
|
|
11138
|
+
{
|
|
11139
|
+
properties: {
|
|
11140
|
+
action_attempt_id: {
|
|
11141
|
+
description: 'ID of the action attempt.',
|
|
11142
|
+
format: 'uuid',
|
|
11143
|
+
type: 'string',
|
|
11144
|
+
},
|
|
11145
|
+
action_type: {
|
|
11146
|
+
description: 'Deleting an access code failed.',
|
|
11147
|
+
enum: ['DELETE_ACCESS_CODE'],
|
|
11148
|
+
type: 'string',
|
|
11149
|
+
},
|
|
11150
|
+
error: {
|
|
11151
|
+
description: 'Error associated with the action.',
|
|
11152
|
+
properties: {
|
|
11153
|
+
message: {
|
|
11154
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
11155
|
+
type: 'string',
|
|
11156
|
+
},
|
|
11157
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
11158
|
+
},
|
|
11159
|
+
required: ['type', 'message'],
|
|
11160
|
+
type: 'object',
|
|
11161
|
+
},
|
|
11162
|
+
result: {
|
|
11163
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
11164
|
+
nullable: true,
|
|
11165
|
+
},
|
|
11166
|
+
status: { enum: ['error'], type: 'string' },
|
|
11167
|
+
},
|
|
11168
|
+
required: [
|
|
11169
|
+
'action_attempt_id',
|
|
11170
|
+
'status',
|
|
11171
|
+
'result',
|
|
11172
|
+
'action_type',
|
|
11173
|
+
'error',
|
|
11174
|
+
],
|
|
11175
|
+
type: 'object',
|
|
11176
|
+
},
|
|
11177
|
+
{
|
|
11178
|
+
properties: {
|
|
11179
|
+
action_attempt_id: {
|
|
11180
|
+
description: 'ID of the action attempt.',
|
|
11181
|
+
format: 'uuid',
|
|
11182
|
+
type: 'string',
|
|
11183
|
+
},
|
|
11184
|
+
action_type: {
|
|
11185
|
+
description: 'Updating an access code is pending.',
|
|
11186
|
+
enum: ['UPDATE_ACCESS_CODE'],
|
|
11187
|
+
type: 'string',
|
|
11188
|
+
},
|
|
11189
|
+
error: {
|
|
11190
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
11191
|
+
nullable: true,
|
|
11192
|
+
},
|
|
11193
|
+
result: {
|
|
11194
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
11195
|
+
nullable: true,
|
|
11196
|
+
},
|
|
11197
|
+
status: { enum: ['pending'], type: 'string' },
|
|
11198
|
+
},
|
|
11199
|
+
required: [
|
|
11200
|
+
'action_attempt_id',
|
|
11201
|
+
'status',
|
|
11202
|
+
'result',
|
|
11203
|
+
'error',
|
|
11204
|
+
'action_type',
|
|
11205
|
+
],
|
|
11206
|
+
type: 'object',
|
|
11207
|
+
},
|
|
11208
|
+
{
|
|
11209
|
+
properties: {
|
|
11210
|
+
action_attempt_id: {
|
|
11211
|
+
description: 'ID of the action attempt.',
|
|
11212
|
+
format: 'uuid',
|
|
11213
|
+
type: 'string',
|
|
11214
|
+
},
|
|
11215
|
+
action_type: {
|
|
11216
|
+
description: 'Updating an access code succeeded.',
|
|
11217
|
+
enum: ['UPDATE_ACCESS_CODE'],
|
|
11218
|
+
type: 'string',
|
|
11219
|
+
},
|
|
11220
|
+
error: {
|
|
11221
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
11222
|
+
nullable: true,
|
|
11223
|
+
},
|
|
11224
|
+
result: {
|
|
11225
|
+
description: 'Result of the action.',
|
|
11226
|
+
properties: {
|
|
11227
|
+
access_code: {
|
|
11228
|
+
additionalProperties: {},
|
|
11229
|
+
description: 'Updated access code.',
|
|
11230
|
+
type: 'object',
|
|
11231
|
+
},
|
|
11232
|
+
},
|
|
11233
|
+
type: 'object',
|
|
11234
|
+
},
|
|
11235
|
+
status: { enum: ['success'], type: 'string' },
|
|
11236
|
+
},
|
|
11237
|
+
required: [
|
|
11238
|
+
'action_attempt_id',
|
|
11239
|
+
'status',
|
|
11240
|
+
'error',
|
|
11241
|
+
'action_type',
|
|
11242
|
+
'result',
|
|
11243
|
+
],
|
|
11244
|
+
type: 'object',
|
|
11245
|
+
},
|
|
11246
|
+
{
|
|
11247
|
+
properties: {
|
|
11248
|
+
action_attempt_id: {
|
|
11249
|
+
description: 'ID of the action attempt.',
|
|
11250
|
+
format: 'uuid',
|
|
11251
|
+
type: 'string',
|
|
11252
|
+
},
|
|
11253
|
+
action_type: {
|
|
11254
|
+
description: 'Updating an access code failed.',
|
|
11255
|
+
enum: ['UPDATE_ACCESS_CODE'],
|
|
11256
|
+
type: 'string',
|
|
11257
|
+
},
|
|
11258
|
+
error: {
|
|
11259
|
+
description: 'Error associated with the action.',
|
|
11260
|
+
properties: {
|
|
11261
|
+
message: {
|
|
11262
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
11263
|
+
type: 'string',
|
|
11264
|
+
},
|
|
11265
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
11266
|
+
},
|
|
11267
|
+
required: ['type', 'message'],
|
|
11268
|
+
type: 'object',
|
|
11269
|
+
},
|
|
11270
|
+
result: {
|
|
11271
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
11272
|
+
nullable: true,
|
|
11273
|
+
},
|
|
11274
|
+
status: { enum: ['error'], type: 'string' },
|
|
11275
|
+
},
|
|
11276
|
+
required: [
|
|
11277
|
+
'action_attempt_id',
|
|
11278
|
+
'status',
|
|
11279
|
+
'result',
|
|
11280
|
+
'action_type',
|
|
11281
|
+
'error',
|
|
11282
|
+
],
|
|
11283
|
+
type: 'object',
|
|
11284
|
+
},
|
|
11285
|
+
{
|
|
11286
|
+
properties: {
|
|
11287
|
+
action_attempt_id: {
|
|
11288
|
+
description: 'ID of the action attempt.',
|
|
11289
|
+
format: 'uuid',
|
|
11290
|
+
type: 'string',
|
|
11291
|
+
},
|
|
11292
|
+
action_type: {
|
|
11293
|
+
description: 'Creating a noise threshold is pending.',
|
|
11294
|
+
enum: ['CREATE_NOISE_THRESHOLD'],
|
|
11295
|
+
type: 'string',
|
|
11296
|
+
},
|
|
11297
|
+
error: {
|
|
11298
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
11299
|
+
nullable: true,
|
|
11300
|
+
},
|
|
11301
|
+
result: {
|
|
11302
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
11303
|
+
nullable: true,
|
|
11304
|
+
},
|
|
11305
|
+
status: { enum: ['pending'], type: 'string' },
|
|
11306
|
+
},
|
|
11307
|
+
required: [
|
|
11308
|
+
'action_attempt_id',
|
|
11309
|
+
'status',
|
|
11310
|
+
'result',
|
|
11311
|
+
'error',
|
|
11312
|
+
'action_type',
|
|
11313
|
+
],
|
|
11314
|
+
type: 'object',
|
|
11315
|
+
},
|
|
11316
|
+
{
|
|
11317
|
+
properties: {
|
|
11318
|
+
action_attempt_id: {
|
|
11319
|
+
description: 'ID of the action attempt.',
|
|
11320
|
+
format: 'uuid',
|
|
11321
|
+
type: 'string',
|
|
11322
|
+
},
|
|
11323
|
+
action_type: {
|
|
11324
|
+
description: 'Creating a noise threshold succeeded.',
|
|
11325
|
+
enum: ['CREATE_NOISE_THRESHOLD'],
|
|
11326
|
+
type: 'string',
|
|
11327
|
+
},
|
|
11328
|
+
error: {
|
|
11329
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
11330
|
+
nullable: true,
|
|
11331
|
+
},
|
|
11332
|
+
result: {
|
|
11333
|
+
description: 'Result of the action.',
|
|
11334
|
+
properties: {
|
|
11335
|
+
noise_threshold: {
|
|
11336
|
+
additionalProperties: {},
|
|
11337
|
+
description: 'Created noise threshold.',
|
|
11338
|
+
type: 'object',
|
|
11339
|
+
},
|
|
11340
|
+
},
|
|
11341
|
+
required: ['noise_threshold'],
|
|
11342
|
+
type: 'object',
|
|
11343
|
+
},
|
|
11344
|
+
status: { enum: ['success'], type: 'string' },
|
|
11345
|
+
},
|
|
11346
|
+
required: [
|
|
11347
|
+
'action_attempt_id',
|
|
11348
|
+
'status',
|
|
11349
|
+
'error',
|
|
11350
|
+
'action_type',
|
|
11351
|
+
'result',
|
|
11352
|
+
],
|
|
11353
|
+
type: 'object',
|
|
11354
|
+
},
|
|
11355
|
+
{
|
|
11356
|
+
properties: {
|
|
11357
|
+
action_attempt_id: {
|
|
11358
|
+
description: 'ID of the action attempt.',
|
|
11359
|
+
format: 'uuid',
|
|
11360
|
+
type: 'string',
|
|
11361
|
+
},
|
|
11362
|
+
action_type: {
|
|
11363
|
+
description: 'Creating a noise threshold failed.',
|
|
11364
|
+
enum: ['CREATE_NOISE_THRESHOLD'],
|
|
11365
|
+
type: 'string',
|
|
11366
|
+
},
|
|
11367
|
+
error: {
|
|
11368
|
+
description: 'Error associated with the action.',
|
|
11369
|
+
properties: {
|
|
11370
|
+
message: {
|
|
11371
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
11372
|
+
type: 'string',
|
|
11373
|
+
},
|
|
11374
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
11375
|
+
},
|
|
11376
|
+
required: ['type', 'message'],
|
|
11377
|
+
type: 'object',
|
|
11378
|
+
},
|
|
11379
|
+
result: {
|
|
11380
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
11381
|
+
nullable: true,
|
|
11382
|
+
},
|
|
11383
|
+
status: { enum: ['error'], type: 'string' },
|
|
11384
|
+
},
|
|
11385
|
+
required: [
|
|
11386
|
+
'action_attempt_id',
|
|
11387
|
+
'status',
|
|
11388
|
+
'result',
|
|
11389
|
+
'action_type',
|
|
11390
|
+
'error',
|
|
11391
|
+
],
|
|
11392
|
+
type: 'object',
|
|
11393
|
+
},
|
|
11394
|
+
{
|
|
11395
|
+
properties: {
|
|
11396
|
+
action_attempt_id: {
|
|
11397
|
+
description: 'ID of the action attempt.',
|
|
11398
|
+
format: 'uuid',
|
|
11399
|
+
type: 'string',
|
|
11400
|
+
},
|
|
11401
|
+
action_type: {
|
|
11402
|
+
description: 'Deleting a noise threshold is pending.',
|
|
11403
|
+
enum: ['DELETE_NOISE_THRESHOLD'],
|
|
10865
11404
|
type: 'string',
|
|
10866
11405
|
},
|
|
10867
11406
|
error: {
|
|
@@ -11553,6 +12092,7 @@ const openapi = {
|
|
|
11553
12092
|
'noise_sensor',
|
|
11554
12093
|
'access_control',
|
|
11555
12094
|
'camera',
|
|
12095
|
+
'speaker',
|
|
11556
12096
|
],
|
|
11557
12097
|
type: 'string',
|
|
11558
12098
|
},
|
|
@@ -11701,6 +12241,7 @@ const openapi = {
|
|
|
11701
12241
|
'noise_sensor',
|
|
11702
12242
|
'access_control',
|
|
11703
12243
|
'camera',
|
|
12244
|
+
'speaker',
|
|
11704
12245
|
],
|
|
11705
12246
|
type: 'string',
|
|
11706
12247
|
},
|
|
@@ -12336,6 +12877,18 @@ const openapi = {
|
|
|
12336
12877
|
description: 'Indicates whether the thermostat supports simultaneous heating and cooling.',
|
|
12337
12878
|
type: 'boolean',
|
|
12338
12879
|
},
|
|
12880
|
+
can_mute_speaker: {
|
|
12881
|
+
description: 'Indicates whether the speaker supports muting and unmuting.',
|
|
12882
|
+
type: 'boolean',
|
|
12883
|
+
},
|
|
12884
|
+
can_pause_speaker_playback: {
|
|
12885
|
+
description: 'Indicates whether the speaker supports pausing and resuming playback.',
|
|
12886
|
+
type: 'boolean',
|
|
12887
|
+
},
|
|
12888
|
+
can_play_speaker_chime: {
|
|
12889
|
+
description: 'Indicates whether the speaker supports playing a chime.',
|
|
12890
|
+
type: 'boolean',
|
|
12891
|
+
},
|
|
12339
12892
|
can_program_offline_access_codes: {
|
|
12340
12893
|
description: 'Indicates whether the device supports programming offline access codes.',
|
|
12341
12894
|
type: 'boolean',
|
|
@@ -12368,6 +12921,10 @@ const openapi = {
|
|
|
12368
12921
|
description: 'Indicates whether the thermostat supports running climate programs.',
|
|
12369
12922
|
type: 'boolean',
|
|
12370
12923
|
},
|
|
12924
|
+
can_set_speaker_volume: {
|
|
12925
|
+
description: 'Indicates whether the speaker supports setting its volume.',
|
|
12926
|
+
type: 'boolean',
|
|
12927
|
+
},
|
|
12371
12928
|
can_simulate_connection: {
|
|
12372
12929
|
description: 'Indicates whether the device supports simulating connection in a sandbox.',
|
|
12373
12930
|
type: 'boolean',
|
|
@@ -12569,6 +13126,11 @@ const openapi = {
|
|
|
12569
13126
|
],
|
|
12570
13127
|
type: 'string',
|
|
12571
13128
|
},
|
|
13129
|
+
{
|
|
13130
|
+
description: 'Device type for speakers.',
|
|
13131
|
+
enum: ['sonos_speaker'],
|
|
13132
|
+
type: 'string',
|
|
13133
|
+
},
|
|
12572
13134
|
],
|
|
12573
13135
|
},
|
|
12574
13136
|
display_name: {
|
|
@@ -14396,6 +14958,33 @@ const openapi = {
|
|
|
14396
14958
|
},
|
|
14397
14959
|
type: 'object',
|
|
14398
14960
|
},
|
|
14961
|
+
sonos_metadata: {
|
|
14962
|
+
description: 'Metadata for a Sonos speaker.',
|
|
14963
|
+
properties: {
|
|
14964
|
+
bonded_member_models: {
|
|
14965
|
+
description: 'Models of the speakers bonded to this speaker, such as surrounds or a subwoofer.',
|
|
14966
|
+
items: { type: 'string' },
|
|
14967
|
+
type: 'array',
|
|
14968
|
+
},
|
|
14969
|
+
household_id: {
|
|
14970
|
+
description: 'ID of the Sonos household that the speaker belongs to.',
|
|
14971
|
+
type: 'string',
|
|
14972
|
+
},
|
|
14973
|
+
model_display_name: {
|
|
14974
|
+
description: 'Model name of the speaker, as reported by Sonos.',
|
|
14975
|
+
type: 'string',
|
|
14976
|
+
},
|
|
14977
|
+
player_id: {
|
|
14978
|
+
description: 'ID of the Sonos player for the speaker.',
|
|
14979
|
+
type: 'string',
|
|
14980
|
+
},
|
|
14981
|
+
software_version: {
|
|
14982
|
+
description: 'Software version running on the speaker.',
|
|
14983
|
+
type: 'string',
|
|
14984
|
+
},
|
|
14985
|
+
},
|
|
14986
|
+
type: 'object',
|
|
14987
|
+
},
|
|
14399
14988
|
tado_metadata: {
|
|
14400
14989
|
description: 'Metadata for a tado° device.',
|
|
14401
14990
|
properties: {
|
|
@@ -14907,6 +15496,95 @@ const openapi = {
|
|
|
14907
15496
|
type: 'array',
|
|
14908
15497
|
'x-property-group-key': 'access_codes',
|
|
14909
15498
|
},
|
|
15499
|
+
speaker: {
|
|
15500
|
+
description: 'Audio state and capabilities of the speaker.',
|
|
15501
|
+
properties: {
|
|
15502
|
+
grouped_with_device_ids: {
|
|
15503
|
+
description: '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.',
|
|
15504
|
+
items: { format: 'uuid', type: 'string' },
|
|
15505
|
+
type: 'array',
|
|
15506
|
+
},
|
|
15507
|
+
has_fixed_volume: {
|
|
15508
|
+
description: "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.",
|
|
15509
|
+
type: 'boolean',
|
|
15510
|
+
},
|
|
15511
|
+
is_muted: {
|
|
15512
|
+
description: 'Indicates whether the speaker is muted.',
|
|
15513
|
+
type: 'boolean',
|
|
15514
|
+
},
|
|
15515
|
+
max_volume: {
|
|
15516
|
+
description: "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.",
|
|
15517
|
+
format: 'float',
|
|
15518
|
+
type: 'number',
|
|
15519
|
+
},
|
|
15520
|
+
min_volume: {
|
|
15521
|
+
description: 'Minimum volume that you can set on the speaker.',
|
|
15522
|
+
format: 'float',
|
|
15523
|
+
type: 'number',
|
|
15524
|
+
},
|
|
15525
|
+
now_playing: {
|
|
15526
|
+
description: 'Content that is currently playing on the speaker.',
|
|
15527
|
+
properties: {
|
|
15528
|
+
album: {
|
|
15529
|
+
description: 'Album of the content that is currently playing.',
|
|
15530
|
+
type: 'string',
|
|
15531
|
+
},
|
|
15532
|
+
artist: {
|
|
15533
|
+
description: 'Artist of the content that is currently playing.',
|
|
15534
|
+
type: 'string',
|
|
15535
|
+
},
|
|
15536
|
+
title: {
|
|
15537
|
+
description: 'Title of the content that is currently playing.',
|
|
15538
|
+
type: 'string',
|
|
15539
|
+
},
|
|
15540
|
+
},
|
|
15541
|
+
type: 'object',
|
|
15542
|
+
},
|
|
15543
|
+
playback_state: {
|
|
15544
|
+
description: 'Playback state of the speaker.',
|
|
15545
|
+
enum: [
|
|
15546
|
+
'playing',
|
|
15547
|
+
'paused',
|
|
15548
|
+
'idle',
|
|
15549
|
+
'buffering',
|
|
15550
|
+
'unknown',
|
|
15551
|
+
],
|
|
15552
|
+
type: 'string',
|
|
15553
|
+
},
|
|
15554
|
+
supports_chime: {
|
|
15555
|
+
description: 'Indicates whether the speaker can play a chime.',
|
|
15556
|
+
type: 'boolean',
|
|
15557
|
+
},
|
|
15558
|
+
volume: {
|
|
15559
|
+
description: "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.",
|
|
15560
|
+
format: 'float',
|
|
15561
|
+
type: 'number',
|
|
15562
|
+
},
|
|
15563
|
+
volume_reported_at: {
|
|
15564
|
+
description: 'Date and time at which the speaker last reported its volume.',
|
|
15565
|
+
format: 'date-time',
|
|
15566
|
+
type: 'string',
|
|
15567
|
+
},
|
|
15568
|
+
volume_step: {
|
|
15569
|
+
description: 'Increment between the volume values that you can set on the speaker.',
|
|
15570
|
+
format: 'float',
|
|
15571
|
+
type: 'number',
|
|
15572
|
+
},
|
|
15573
|
+
},
|
|
15574
|
+
required: [
|
|
15575
|
+
'volume',
|
|
15576
|
+
'is_muted',
|
|
15577
|
+
'has_fixed_volume',
|
|
15578
|
+
'min_volume',
|
|
15579
|
+
'max_volume',
|
|
15580
|
+
'volume_step',
|
|
15581
|
+
'playback_state',
|
|
15582
|
+
'grouped_with_device_ids',
|
|
15583
|
+
'supports_chime',
|
|
15584
|
+
],
|
|
15585
|
+
type: 'object',
|
|
15586
|
+
'x-property-group-key': 'speakers',
|
|
15587
|
+
},
|
|
14910
15588
|
supported_code_lengths: {
|
|
14911
15589
|
description: 'Supported code lengths for access codes.',
|
|
14912
15590
|
items: { format: 'float', type: 'number' },
|
|
@@ -15691,6 +16369,7 @@ const openapi = {
|
|
|
15691
16369
|
noise_sensors: { name: 'Noise Sensors' },
|
|
15692
16370
|
phones: { name: 'Phones' },
|
|
15693
16371
|
provider_metadata: { name: 'Provider Metadata' },
|
|
16372
|
+
speakers: { name: 'Speakers' },
|
|
15694
16373
|
thermostats: { name: 'Thermostats' },
|
|
15695
16374
|
},
|
|
15696
16375
|
},
|
|
@@ -16374,6 +17053,7 @@ const openapi = {
|
|
|
16374
17053
|
noise_sensors: { name: 'Noise Sensors' },
|
|
16375
17054
|
phones: { name: 'Phones' },
|
|
16376
17055
|
provider_metadata: { name: 'Provider Metadata' },
|
|
17056
|
+
speakers: { name: 'Speakers' },
|
|
16377
17057
|
thermostats: { name: 'Thermostats' },
|
|
16378
17058
|
},
|
|
16379
17059
|
'x-route-path': '/devices',
|
|
@@ -16400,6 +17080,18 @@ const openapi = {
|
|
|
16400
17080
|
description: 'Indicates whether the thermostat supports simultaneous heating and cooling.',
|
|
16401
17081
|
type: 'boolean',
|
|
16402
17082
|
},
|
|
17083
|
+
can_mute_speaker: {
|
|
17084
|
+
description: 'Indicates whether the speaker supports muting and unmuting.',
|
|
17085
|
+
type: 'boolean',
|
|
17086
|
+
},
|
|
17087
|
+
can_pause_speaker_playback: {
|
|
17088
|
+
description: 'Indicates whether the speaker supports pausing and resuming playback.',
|
|
17089
|
+
type: 'boolean',
|
|
17090
|
+
},
|
|
17091
|
+
can_play_speaker_chime: {
|
|
17092
|
+
description: 'Indicates whether the speaker supports playing a chime.',
|
|
17093
|
+
type: 'boolean',
|
|
17094
|
+
},
|
|
16403
17095
|
can_program_offline_access_codes: {
|
|
16404
17096
|
description: 'Indicates whether the device supports programming offline access codes.',
|
|
16405
17097
|
type: 'boolean',
|
|
@@ -16432,6 +17124,10 @@ const openapi = {
|
|
|
16432
17124
|
description: 'Indicates whether the thermostat supports running climate programs.',
|
|
16433
17125
|
type: 'boolean',
|
|
16434
17126
|
},
|
|
17127
|
+
can_set_speaker_volume: {
|
|
17128
|
+
description: 'Indicates whether the speaker supports setting its volume.',
|
|
17129
|
+
type: 'boolean',
|
|
17130
|
+
},
|
|
16435
17131
|
can_simulate_connection: {
|
|
16436
17132
|
description: 'Indicates whether the device supports simulating connection in a sandbox.',
|
|
16437
17133
|
type: 'boolean',
|
|
@@ -34019,6 +34715,18 @@ const openapi = {
|
|
|
34019
34715
|
description: 'Indicates whether the thermostat supports simultaneous heating and cooling.',
|
|
34020
34716
|
type: 'boolean',
|
|
34021
34717
|
},
|
|
34718
|
+
can_mute_speaker: {
|
|
34719
|
+
description: 'Indicates whether the speaker supports muting and unmuting.',
|
|
34720
|
+
type: 'boolean',
|
|
34721
|
+
},
|
|
34722
|
+
can_pause_speaker_playback: {
|
|
34723
|
+
description: 'Indicates whether the speaker supports pausing and resuming playback.',
|
|
34724
|
+
type: 'boolean',
|
|
34725
|
+
},
|
|
34726
|
+
can_play_speaker_chime: {
|
|
34727
|
+
description: 'Indicates whether the speaker supports playing a chime.',
|
|
34728
|
+
type: 'boolean',
|
|
34729
|
+
},
|
|
34022
34730
|
can_program_offline_access_codes: {
|
|
34023
34731
|
description: 'Indicates whether the device supports programming offline access codes.',
|
|
34024
34732
|
type: 'boolean',
|
|
@@ -34051,6 +34759,10 @@ const openapi = {
|
|
|
34051
34759
|
description: 'Indicates whether the thermostat supports running climate programs.',
|
|
34052
34760
|
type: 'boolean',
|
|
34053
34761
|
},
|
|
34762
|
+
can_set_speaker_volume: {
|
|
34763
|
+
description: 'Indicates whether the speaker supports setting its volume.',
|
|
34764
|
+
type: 'boolean',
|
|
34765
|
+
},
|
|
34054
34766
|
can_simulate_connection: {
|
|
34055
34767
|
description: 'Indicates whether the device supports simulating connection in a sandbox.',
|
|
34056
34768
|
type: 'boolean',
|
|
@@ -34202,6 +34914,11 @@ const openapi = {
|
|
|
34202
34914
|
],
|
|
34203
34915
|
type: 'string',
|
|
34204
34916
|
},
|
|
34917
|
+
{
|
|
34918
|
+
description: 'Device type for speakers.',
|
|
34919
|
+
enum: ['sonos_speaker'],
|
|
34920
|
+
type: 'string',
|
|
34921
|
+
},
|
|
34205
34922
|
],
|
|
34206
34923
|
},
|
|
34207
34924
|
display_name: {
|
|
@@ -44242,6 +44959,7 @@ const openapi = {
|
|
|
44242
44959
|
'noise_sensor',
|
|
44243
44960
|
'access_control',
|
|
44244
44961
|
'camera',
|
|
44962
|
+
'speaker',
|
|
44245
44963
|
],
|
|
44246
44964
|
type: 'string',
|
|
44247
44965
|
},
|
|
@@ -44988,6 +45706,7 @@ const openapi = {
|
|
|
44988
45706
|
'noise_sensor',
|
|
44989
45707
|
'access_control',
|
|
44990
45708
|
'camera',
|
|
45709
|
+
'speaker',
|
|
44991
45710
|
],
|
|
44992
45711
|
type: 'string',
|
|
44993
45712
|
},
|
|
@@ -47672,6 +48391,11 @@ const openapi = {
|
|
|
47672
48391
|
],
|
|
47673
48392
|
type: 'string',
|
|
47674
48393
|
},
|
|
48394
|
+
{
|
|
48395
|
+
description: 'Device type for speakers.',
|
|
48396
|
+
enum: ['sonos_speaker'],
|
|
48397
|
+
type: 'string',
|
|
48398
|
+
},
|
|
47675
48399
|
],
|
|
47676
48400
|
},
|
|
47677
48401
|
},
|
|
@@ -47756,6 +48480,11 @@ const openapi = {
|
|
|
47756
48480
|
],
|
|
47757
48481
|
type: 'string',
|
|
47758
48482
|
},
|
|
48483
|
+
{
|
|
48484
|
+
description: 'Device type for speakers.',
|
|
48485
|
+
enum: ['sonos_speaker'],
|
|
48486
|
+
type: 'string',
|
|
48487
|
+
},
|
|
47759
48488
|
],
|
|
47760
48489
|
},
|
|
47761
48490
|
type: 'array',
|
|
@@ -47914,6 +48643,10 @@ const openapi = {
|
|
|
47914
48643
|
'can_simulate_paid_subscription',
|
|
47915
48644
|
'can_configure_auto_lock',
|
|
47916
48645
|
'can_stream_live_video',
|
|
48646
|
+
'can_set_speaker_volume',
|
|
48647
|
+
'can_mute_speaker',
|
|
48648
|
+
'can_pause_speaker_playback',
|
|
48649
|
+
'can_play_speaker_chime',
|
|
47917
48650
|
],
|
|
47918
48651
|
type: 'string',
|
|
47919
48652
|
},
|
|
@@ -47949,6 +48682,10 @@ const openapi = {
|
|
|
47949
48682
|
'can_simulate_paid_subscription',
|
|
47950
48683
|
'can_configure_auto_lock',
|
|
47951
48684
|
'can_stream_live_video',
|
|
48685
|
+
'can_set_speaker_volume',
|
|
48686
|
+
'can_mute_speaker',
|
|
48687
|
+
'can_pause_speaker_playback',
|
|
48688
|
+
'can_play_speaker_chime',
|
|
47952
48689
|
],
|
|
47953
48690
|
type: 'string',
|
|
47954
48691
|
},
|
|
@@ -49960,6 +50697,11 @@ const openapi = {
|
|
|
49960
50697
|
],
|
|
49961
50698
|
type: 'string',
|
|
49962
50699
|
},
|
|
50700
|
+
{
|
|
50701
|
+
description: 'Device type for speakers.',
|
|
50702
|
+
enum: ['sonos_speaker'],
|
|
50703
|
+
type: 'string',
|
|
50704
|
+
},
|
|
49963
50705
|
],
|
|
49964
50706
|
},
|
|
49965
50707
|
},
|
|
@@ -50044,6 +50786,11 @@ const openapi = {
|
|
|
50044
50786
|
],
|
|
50045
50787
|
type: 'string',
|
|
50046
50788
|
},
|
|
50789
|
+
{
|
|
50790
|
+
description: 'Device type for speakers.',
|
|
50791
|
+
enum: ['sonos_speaker'],
|
|
50792
|
+
type: 'string',
|
|
50793
|
+
},
|
|
50047
50794
|
],
|
|
50048
50795
|
},
|
|
50049
50796
|
type: 'array',
|
|
@@ -50171,6 +50918,10 @@ const openapi = {
|
|
|
50171
50918
|
'can_simulate_paid_subscription',
|
|
50172
50919
|
'can_configure_auto_lock',
|
|
50173
50920
|
'can_stream_live_video',
|
|
50921
|
+
'can_set_speaker_volume',
|
|
50922
|
+
'can_mute_speaker',
|
|
50923
|
+
'can_pause_speaker_playback',
|
|
50924
|
+
'can_play_speaker_chime',
|
|
50174
50925
|
],
|
|
50175
50926
|
type: 'string',
|
|
50176
50927
|
},
|
|
@@ -50206,6 +50957,10 @@ const openapi = {
|
|
|
50206
50957
|
'can_simulate_paid_subscription',
|
|
50207
50958
|
'can_configure_auto_lock',
|
|
50208
50959
|
'can_stream_live_video',
|
|
50960
|
+
'can_set_speaker_volume',
|
|
50961
|
+
'can_mute_speaker',
|
|
50962
|
+
'can_pause_speaker_playback',
|
|
50963
|
+
'can_play_speaker_chime',
|
|
50209
50964
|
],
|
|
50210
50965
|
type: 'string',
|
|
50211
50966
|
},
|