@seamapi/types 1.1125.0 → 1.1127.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 +160 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js +26 -14
- package/lib/seam/connect/models/action-attempts/pause-speaker-playback.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.js +43 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-chime.js +26 -14
- package/lib/seam/connect/models/action-attempts/play-speaker-chime.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/play-speaker-favorite.d.ts +87 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-favorite.js +49 -0
- package/lib/seam/connect/models/action-attempts/play-speaker-favorite.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js +26 -14
- package/lib/seam/connect/models/action-attempts/resume-speaker-playback.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/set-speaker-mute.js +26 -14
- package/lib/seam/connect/models/action-attempts/set-speaker-mute.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/set-speaker-volume.js +26 -14
- package/lib/seam/connect/models/action-attempts/set-speaker-volume.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/speaker.js +2 -1
- package/lib/seam/connect/models/devices/capability-properties/speaker.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.js +6 -2
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.d.ts +12 -0
- package/lib/seam/connect/models/devices/device.js +48 -18
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +8 -0
- package/lib/seam/connect/openapi.js +651 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7428 -36
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -0
- package/src/lib/seam/connect/models/action-attempts/pause-speaker-playback.ts +29 -19
- package/src/lib/seam/connect/models/action-attempts/play-speaker-audio-clip.ts +56 -0
- package/src/lib/seam/connect/models/action-attempts/play-speaker-chime.ts +29 -19
- package/src/lib/seam/connect/models/action-attempts/play-speaker-favorite.ts +64 -0
- package/src/lib/seam/connect/models/action-attempts/resume-speaker-playback.ts +29 -19
- package/src/lib/seam/connect/models/action-attempts/set-speaker-mute.ts +29 -19
- package/src/lib/seam/connect/models/action-attempts/set-speaker-volume.ts +29 -19
- package/src/lib/seam/connect/models/devices/capability-properties/speaker.ts +4 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -2
- package/src/lib/seam/connect/models/devices/device.ts +48 -18
- package/src/lib/seam/connect/openapi.ts +691 -1
- package/src/lib/seam/connect/route-types.ts +8353 -21
|
@@ -10430,6 +10430,7 @@ const openapi = {
|
|
|
10430
10430
|
description: 'Action attempt to track the status of setting the volume on a speaker.',
|
|
10431
10431
|
enum: ['SET_SPEAKER_VOLUME'],
|
|
10432
10432
|
type: 'string',
|
|
10433
|
+
'x-undocumented': 'Unreleased.',
|
|
10433
10434
|
},
|
|
10434
10435
|
error: {
|
|
10435
10436
|
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
@@ -10449,6 +10450,7 @@ const openapi = {
|
|
|
10449
10450
|
'action_type',
|
|
10450
10451
|
],
|
|
10451
10452
|
type: 'object',
|
|
10453
|
+
'x-undocumented': 'Unreleased.',
|
|
10452
10454
|
},
|
|
10453
10455
|
{
|
|
10454
10456
|
description: 'Setting the speaker volume succeeded.',
|
|
@@ -10462,6 +10464,7 @@ const openapi = {
|
|
|
10462
10464
|
description: 'Action attempt to track the status of setting the volume on a speaker.',
|
|
10463
10465
|
enum: ['SET_SPEAKER_VOLUME'],
|
|
10464
10466
|
type: 'string',
|
|
10467
|
+
'x-undocumented': 'Unreleased.',
|
|
10465
10468
|
},
|
|
10466
10469
|
error: {
|
|
10467
10470
|
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
@@ -10482,6 +10485,7 @@ const openapi = {
|
|
|
10482
10485
|
'result',
|
|
10483
10486
|
],
|
|
10484
10487
|
type: 'object',
|
|
10488
|
+
'x-undocumented': 'Unreleased.',
|
|
10485
10489
|
},
|
|
10486
10490
|
{
|
|
10487
10491
|
description: 'Setting the speaker volume failed.',
|
|
@@ -10495,6 +10499,7 @@ const openapi = {
|
|
|
10495
10499
|
description: 'Action attempt to track the status of setting the volume on a speaker.',
|
|
10496
10500
|
enum: ['SET_SPEAKER_VOLUME'],
|
|
10497
10501
|
type: 'string',
|
|
10502
|
+
'x-undocumented': 'Unreleased.',
|
|
10498
10503
|
},
|
|
10499
10504
|
error: {
|
|
10500
10505
|
description: 'Error associated with the action.',
|
|
@@ -10522,6 +10527,7 @@ const openapi = {
|
|
|
10522
10527
|
'error',
|
|
10523
10528
|
],
|
|
10524
10529
|
type: 'object',
|
|
10530
|
+
'x-undocumented': 'Unreleased.',
|
|
10525
10531
|
},
|
|
10526
10532
|
{
|
|
10527
10533
|
description: 'Muting or unmuting the speaker is pending.',
|
|
@@ -10535,6 +10541,7 @@ const openapi = {
|
|
|
10535
10541
|
description: 'Action attempt to track the status of muting or unmuting a speaker.',
|
|
10536
10542
|
enum: ['SET_SPEAKER_MUTE'],
|
|
10537
10543
|
type: 'string',
|
|
10544
|
+
'x-undocumented': 'Unreleased.',
|
|
10538
10545
|
},
|
|
10539
10546
|
error: {
|
|
10540
10547
|
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
@@ -10554,6 +10561,7 @@ const openapi = {
|
|
|
10554
10561
|
'action_type',
|
|
10555
10562
|
],
|
|
10556
10563
|
type: 'object',
|
|
10564
|
+
'x-undocumented': 'Unreleased.',
|
|
10557
10565
|
},
|
|
10558
10566
|
{
|
|
10559
10567
|
description: 'Muting or unmuting the speaker succeeded.',
|
|
@@ -10567,6 +10575,7 @@ const openapi = {
|
|
|
10567
10575
|
description: 'Action attempt to track the status of muting or unmuting a speaker.',
|
|
10568
10576
|
enum: ['SET_SPEAKER_MUTE'],
|
|
10569
10577
|
type: 'string',
|
|
10578
|
+
'x-undocumented': 'Unreleased.',
|
|
10570
10579
|
},
|
|
10571
10580
|
error: {
|
|
10572
10581
|
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
@@ -10587,6 +10596,7 @@ const openapi = {
|
|
|
10587
10596
|
'result',
|
|
10588
10597
|
],
|
|
10589
10598
|
type: 'object',
|
|
10599
|
+
'x-undocumented': 'Unreleased.',
|
|
10590
10600
|
},
|
|
10591
10601
|
{
|
|
10592
10602
|
description: 'Muting or unmuting the speaker failed.',
|
|
@@ -10600,6 +10610,7 @@ const openapi = {
|
|
|
10600
10610
|
description: 'Action attempt to track the status of muting or unmuting a speaker.',
|
|
10601
10611
|
enum: ['SET_SPEAKER_MUTE'],
|
|
10602
10612
|
type: 'string',
|
|
10613
|
+
'x-undocumented': 'Unreleased.',
|
|
10603
10614
|
},
|
|
10604
10615
|
error: {
|
|
10605
10616
|
description: 'Error associated with the action.',
|
|
@@ -10627,6 +10638,7 @@ const openapi = {
|
|
|
10627
10638
|
'error',
|
|
10628
10639
|
],
|
|
10629
10640
|
type: 'object',
|
|
10641
|
+
'x-undocumented': 'Unreleased.',
|
|
10630
10642
|
},
|
|
10631
10643
|
{
|
|
10632
10644
|
description: 'Pausing playback on the speaker is pending.',
|
|
@@ -10640,6 +10652,7 @@ const openapi = {
|
|
|
10640
10652
|
description: 'Action attempt to track the status of pausing playback on a speaker.',
|
|
10641
10653
|
enum: ['PAUSE_SPEAKER_PLAYBACK'],
|
|
10642
10654
|
type: 'string',
|
|
10655
|
+
'x-undocumented': 'Unreleased.',
|
|
10643
10656
|
},
|
|
10644
10657
|
error: {
|
|
10645
10658
|
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
@@ -10659,6 +10672,7 @@ const openapi = {
|
|
|
10659
10672
|
'action_type',
|
|
10660
10673
|
],
|
|
10661
10674
|
type: 'object',
|
|
10675
|
+
'x-undocumented': 'Unreleased.',
|
|
10662
10676
|
},
|
|
10663
10677
|
{
|
|
10664
10678
|
description: 'Pausing playback on the speaker succeeded.',
|
|
@@ -10672,6 +10686,7 @@ const openapi = {
|
|
|
10672
10686
|
description: 'Action attempt to track the status of pausing playback on a speaker.',
|
|
10673
10687
|
enum: ['PAUSE_SPEAKER_PLAYBACK'],
|
|
10674
10688
|
type: 'string',
|
|
10689
|
+
'x-undocumented': 'Unreleased.',
|
|
10675
10690
|
},
|
|
10676
10691
|
error: {
|
|
10677
10692
|
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
@@ -10699,6 +10714,7 @@ const openapi = {
|
|
|
10699
10714
|
'result',
|
|
10700
10715
|
],
|
|
10701
10716
|
type: 'object',
|
|
10717
|
+
'x-undocumented': 'Unreleased.',
|
|
10702
10718
|
},
|
|
10703
10719
|
{
|
|
10704
10720
|
description: 'Pausing playback on the speaker failed.',
|
|
@@ -10712,6 +10728,7 @@ const openapi = {
|
|
|
10712
10728
|
description: 'Action attempt to track the status of pausing playback on a speaker.',
|
|
10713
10729
|
enum: ['PAUSE_SPEAKER_PLAYBACK'],
|
|
10714
10730
|
type: 'string',
|
|
10731
|
+
'x-undocumented': 'Unreleased.',
|
|
10715
10732
|
},
|
|
10716
10733
|
error: {
|
|
10717
10734
|
description: 'Error associated with the action.',
|
|
@@ -10739,6 +10756,7 @@ const openapi = {
|
|
|
10739
10756
|
'error',
|
|
10740
10757
|
],
|
|
10741
10758
|
type: 'object',
|
|
10759
|
+
'x-undocumented': 'Unreleased.',
|
|
10742
10760
|
},
|
|
10743
10761
|
{
|
|
10744
10762
|
description: 'Resuming playback on the speaker is pending.',
|
|
@@ -10752,6 +10770,7 @@ const openapi = {
|
|
|
10752
10770
|
description: 'Action attempt to track the status of resuming playback on a speaker.',
|
|
10753
10771
|
enum: ['RESUME_SPEAKER_PLAYBACK'],
|
|
10754
10772
|
type: 'string',
|
|
10773
|
+
'x-undocumented': 'Unreleased.',
|
|
10755
10774
|
},
|
|
10756
10775
|
error: {
|
|
10757
10776
|
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
@@ -10771,6 +10790,7 @@ const openapi = {
|
|
|
10771
10790
|
'action_type',
|
|
10772
10791
|
],
|
|
10773
10792
|
type: 'object',
|
|
10793
|
+
'x-undocumented': 'Unreleased.',
|
|
10774
10794
|
},
|
|
10775
10795
|
{
|
|
10776
10796
|
description: 'Resuming playback on the speaker succeeded.',
|
|
@@ -10784,6 +10804,7 @@ const openapi = {
|
|
|
10784
10804
|
description: 'Action attempt to track the status of resuming playback on a speaker.',
|
|
10785
10805
|
enum: ['RESUME_SPEAKER_PLAYBACK'],
|
|
10786
10806
|
type: 'string',
|
|
10807
|
+
'x-undocumented': 'Unreleased.',
|
|
10787
10808
|
},
|
|
10788
10809
|
error: {
|
|
10789
10810
|
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
@@ -10811,6 +10832,7 @@ const openapi = {
|
|
|
10811
10832
|
'result',
|
|
10812
10833
|
],
|
|
10813
10834
|
type: 'object',
|
|
10835
|
+
'x-undocumented': 'Unreleased.',
|
|
10814
10836
|
},
|
|
10815
10837
|
{
|
|
10816
10838
|
description: 'Resuming playback on the speaker failed.',
|
|
@@ -10824,6 +10846,7 @@ const openapi = {
|
|
|
10824
10846
|
description: 'Action attempt to track the status of resuming playback on a speaker.',
|
|
10825
10847
|
enum: ['RESUME_SPEAKER_PLAYBACK'],
|
|
10826
10848
|
type: 'string',
|
|
10849
|
+
'x-undocumented': 'Unreleased.',
|
|
10827
10850
|
},
|
|
10828
10851
|
error: {
|
|
10829
10852
|
description: 'Error associated with the action.',
|
|
@@ -10851,6 +10874,7 @@ const openapi = {
|
|
|
10851
10874
|
'error',
|
|
10852
10875
|
],
|
|
10853
10876
|
type: 'object',
|
|
10877
|
+
'x-undocumented': 'Unreleased.',
|
|
10854
10878
|
},
|
|
10855
10879
|
{
|
|
10856
10880
|
description: 'Playing a chime on the speaker is pending.',
|
|
@@ -10864,6 +10888,7 @@ const openapi = {
|
|
|
10864
10888
|
description: 'Action attempt to track the status of playing a chime on a speaker.',
|
|
10865
10889
|
enum: ['PLAY_SPEAKER_CHIME'],
|
|
10866
10890
|
type: 'string',
|
|
10891
|
+
'x-undocumented': 'Unreleased.',
|
|
10867
10892
|
},
|
|
10868
10893
|
error: {
|
|
10869
10894
|
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
@@ -10883,6 +10908,7 @@ const openapi = {
|
|
|
10883
10908
|
'action_type',
|
|
10884
10909
|
],
|
|
10885
10910
|
type: 'object',
|
|
10911
|
+
'x-undocumented': 'Unreleased.',
|
|
10886
10912
|
},
|
|
10887
10913
|
{
|
|
10888
10914
|
description: 'Playing a chime on the speaker succeeded.',
|
|
@@ -10896,6 +10922,7 @@ const openapi = {
|
|
|
10896
10922
|
description: 'Action attempt to track the status of playing a chime on a speaker.',
|
|
10897
10923
|
enum: ['PLAY_SPEAKER_CHIME'],
|
|
10898
10924
|
type: 'string',
|
|
10925
|
+
'x-undocumented': 'Unreleased.',
|
|
10899
10926
|
},
|
|
10900
10927
|
error: {
|
|
10901
10928
|
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
@@ -10916,6 +10943,7 @@ const openapi = {
|
|
|
10916
10943
|
'result',
|
|
10917
10944
|
],
|
|
10918
10945
|
type: 'object',
|
|
10946
|
+
'x-undocumented': 'Unreleased.',
|
|
10919
10947
|
},
|
|
10920
10948
|
{
|
|
10921
10949
|
description: 'Playing a chime on the speaker failed.',
|
|
@@ -10929,6 +10957,7 @@ const openapi = {
|
|
|
10929
10957
|
description: 'Action attempt to track the status of playing a chime on a speaker.',
|
|
10930
10958
|
enum: ['PLAY_SPEAKER_CHIME'],
|
|
10931
10959
|
type: 'string',
|
|
10960
|
+
'x-undocumented': 'Unreleased.',
|
|
10932
10961
|
},
|
|
10933
10962
|
error: {
|
|
10934
10963
|
description: 'Error associated with the action.',
|
|
@@ -10956,6 +10985,236 @@ const openapi = {
|
|
|
10956
10985
|
'error',
|
|
10957
10986
|
],
|
|
10958
10987
|
type: 'object',
|
|
10988
|
+
'x-undocumented': 'Unreleased.',
|
|
10989
|
+
},
|
|
10990
|
+
{
|
|
10991
|
+
description: 'Playing a favorite on the speaker is pending.',
|
|
10992
|
+
properties: {
|
|
10993
|
+
action_attempt_id: {
|
|
10994
|
+
description: 'ID of the action attempt.',
|
|
10995
|
+
format: 'uuid',
|
|
10996
|
+
type: 'string',
|
|
10997
|
+
},
|
|
10998
|
+
action_type: {
|
|
10999
|
+
description: 'Action attempt to track the status of playing a favorite on a speaker.',
|
|
11000
|
+
enum: ['PLAY_SPEAKER_FAVORITE'],
|
|
11001
|
+
type: 'string',
|
|
11002
|
+
'x-undocumented': 'Unreleased.',
|
|
11003
|
+
},
|
|
11004
|
+
error: {
|
|
11005
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
11006
|
+
nullable: true,
|
|
11007
|
+
},
|
|
11008
|
+
result: {
|
|
11009
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
11010
|
+
nullable: true,
|
|
11011
|
+
},
|
|
11012
|
+
status: { enum: ['pending'], type: 'string' },
|
|
11013
|
+
},
|
|
11014
|
+
required: [
|
|
11015
|
+
'action_attempt_id',
|
|
11016
|
+
'status',
|
|
11017
|
+
'result',
|
|
11018
|
+
'error',
|
|
11019
|
+
'action_type',
|
|
11020
|
+
],
|
|
11021
|
+
type: 'object',
|
|
11022
|
+
'x-undocumented': 'Unreleased.',
|
|
11023
|
+
},
|
|
11024
|
+
{
|
|
11025
|
+
description: 'Playing a favorite on the speaker succeeded.',
|
|
11026
|
+
properties: {
|
|
11027
|
+
action_attempt_id: {
|
|
11028
|
+
description: 'ID of the action attempt.',
|
|
11029
|
+
format: 'uuid',
|
|
11030
|
+
type: 'string',
|
|
11031
|
+
},
|
|
11032
|
+
action_type: {
|
|
11033
|
+
description: 'Action attempt to track the status of playing a favorite on a speaker.',
|
|
11034
|
+
enum: ['PLAY_SPEAKER_FAVORITE'],
|
|
11035
|
+
type: 'string',
|
|
11036
|
+
'x-undocumented': 'Unreleased.',
|
|
11037
|
+
},
|
|
11038
|
+
error: {
|
|
11039
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
11040
|
+
nullable: true,
|
|
11041
|
+
},
|
|
11042
|
+
result: {
|
|
11043
|
+
description: 'Result of the action.',
|
|
11044
|
+
properties: {
|
|
11045
|
+
affected_device_ids: {
|
|
11046
|
+
description: 'IDs of the speakers now playing the favorite, including speakers grouped with the requested speaker.',
|
|
11047
|
+
items: { format: 'uuid', type: 'string' },
|
|
11048
|
+
type: 'array',
|
|
11049
|
+
},
|
|
11050
|
+
},
|
|
11051
|
+
required: ['affected_device_ids'],
|
|
11052
|
+
type: 'object',
|
|
11053
|
+
},
|
|
11054
|
+
status: { enum: ['success'], type: 'string' },
|
|
11055
|
+
},
|
|
11056
|
+
required: [
|
|
11057
|
+
'action_attempt_id',
|
|
11058
|
+
'status',
|
|
11059
|
+
'error',
|
|
11060
|
+
'action_type',
|
|
11061
|
+
'result',
|
|
11062
|
+
],
|
|
11063
|
+
type: 'object',
|
|
11064
|
+
'x-undocumented': 'Unreleased.',
|
|
11065
|
+
},
|
|
11066
|
+
{
|
|
11067
|
+
description: 'Playing a favorite on the speaker failed.',
|
|
11068
|
+
properties: {
|
|
11069
|
+
action_attempt_id: {
|
|
11070
|
+
description: 'ID of the action attempt.',
|
|
11071
|
+
format: 'uuid',
|
|
11072
|
+
type: 'string',
|
|
11073
|
+
},
|
|
11074
|
+
action_type: {
|
|
11075
|
+
description: 'Action attempt to track the status of playing a favorite on a speaker.',
|
|
11076
|
+
enum: ['PLAY_SPEAKER_FAVORITE'],
|
|
11077
|
+
type: 'string',
|
|
11078
|
+
'x-undocumented': 'Unreleased.',
|
|
11079
|
+
},
|
|
11080
|
+
error: {
|
|
11081
|
+
description: 'Error associated with the action.',
|
|
11082
|
+
properties: {
|
|
11083
|
+
message: {
|
|
11084
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
11085
|
+
type: 'string',
|
|
11086
|
+
},
|
|
11087
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
11088
|
+
},
|
|
11089
|
+
required: ['type', 'message'],
|
|
11090
|
+
type: 'object',
|
|
11091
|
+
},
|
|
11092
|
+
result: {
|
|
11093
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
11094
|
+
nullable: true,
|
|
11095
|
+
},
|
|
11096
|
+
status: { enum: ['error'], type: 'string' },
|
|
11097
|
+
},
|
|
11098
|
+
required: [
|
|
11099
|
+
'action_attempt_id',
|
|
11100
|
+
'status',
|
|
11101
|
+
'result',
|
|
11102
|
+
'action_type',
|
|
11103
|
+
'error',
|
|
11104
|
+
],
|
|
11105
|
+
type: 'object',
|
|
11106
|
+
'x-undocumented': 'Unreleased.',
|
|
11107
|
+
},
|
|
11108
|
+
{
|
|
11109
|
+
description: 'Playing an audio clip on the speaker is pending.',
|
|
11110
|
+
properties: {
|
|
11111
|
+
action_attempt_id: {
|
|
11112
|
+
description: 'ID of the action attempt.',
|
|
11113
|
+
format: 'uuid',
|
|
11114
|
+
type: 'string',
|
|
11115
|
+
},
|
|
11116
|
+
action_type: {
|
|
11117
|
+
description: 'Action attempt to track the status of playing an audio clip on a speaker.',
|
|
11118
|
+
enum: ['PLAY_SPEAKER_AUDIO_CLIP'],
|
|
11119
|
+
type: 'string',
|
|
11120
|
+
'x-undocumented': 'Unreleased.',
|
|
11121
|
+
},
|
|
11122
|
+
error: {
|
|
11123
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
11124
|
+
nullable: true,
|
|
11125
|
+
},
|
|
11126
|
+
result: {
|
|
11127
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
11128
|
+
nullable: true,
|
|
11129
|
+
},
|
|
11130
|
+
status: { enum: ['pending'], type: 'string' },
|
|
11131
|
+
},
|
|
11132
|
+
required: [
|
|
11133
|
+
'action_attempt_id',
|
|
11134
|
+
'status',
|
|
11135
|
+
'result',
|
|
11136
|
+
'error',
|
|
11137
|
+
'action_type',
|
|
11138
|
+
],
|
|
11139
|
+
type: 'object',
|
|
11140
|
+
'x-undocumented': 'Unreleased.',
|
|
11141
|
+
},
|
|
11142
|
+
{
|
|
11143
|
+
description: 'Playing an audio clip on the speaker succeeded.',
|
|
11144
|
+
properties: {
|
|
11145
|
+
action_attempt_id: {
|
|
11146
|
+
description: 'ID of the action attempt.',
|
|
11147
|
+
format: 'uuid',
|
|
11148
|
+
type: 'string',
|
|
11149
|
+
},
|
|
11150
|
+
action_type: {
|
|
11151
|
+
description: 'Action attempt to track the status of playing an audio clip on a speaker.',
|
|
11152
|
+
enum: ['PLAY_SPEAKER_AUDIO_CLIP'],
|
|
11153
|
+
type: 'string',
|
|
11154
|
+
'x-undocumented': 'Unreleased.',
|
|
11155
|
+
},
|
|
11156
|
+
error: {
|
|
11157
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
11158
|
+
nullable: true,
|
|
11159
|
+
},
|
|
11160
|
+
result: {
|
|
11161
|
+
description: 'Result of the action.',
|
|
11162
|
+
properties: {},
|
|
11163
|
+
type: 'object',
|
|
11164
|
+
},
|
|
11165
|
+
status: { enum: ['success'], type: 'string' },
|
|
11166
|
+
},
|
|
11167
|
+
required: [
|
|
11168
|
+
'action_attempt_id',
|
|
11169
|
+
'status',
|
|
11170
|
+
'error',
|
|
11171
|
+
'action_type',
|
|
11172
|
+
'result',
|
|
11173
|
+
],
|
|
11174
|
+
type: 'object',
|
|
11175
|
+
'x-undocumented': 'Unreleased.',
|
|
11176
|
+
},
|
|
11177
|
+
{
|
|
11178
|
+
description: 'Playing an audio clip on the speaker failed.',
|
|
11179
|
+
properties: {
|
|
11180
|
+
action_attempt_id: {
|
|
11181
|
+
description: 'ID of the action attempt.',
|
|
11182
|
+
format: 'uuid',
|
|
11183
|
+
type: 'string',
|
|
11184
|
+
},
|
|
11185
|
+
action_type: {
|
|
11186
|
+
description: 'Action attempt to track the status of playing an audio clip on a speaker.',
|
|
11187
|
+
enum: ['PLAY_SPEAKER_AUDIO_CLIP'],
|
|
11188
|
+
type: 'string',
|
|
11189
|
+
'x-undocumented': 'Unreleased.',
|
|
11190
|
+
},
|
|
11191
|
+
error: {
|
|
11192
|
+
description: 'Error associated with the action.',
|
|
11193
|
+
properties: {
|
|
11194
|
+
message: {
|
|
11195
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
11196
|
+
type: 'string',
|
|
11197
|
+
},
|
|
11198
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
11199
|
+
},
|
|
11200
|
+
required: ['type', 'message'],
|
|
11201
|
+
type: 'object',
|
|
11202
|
+
},
|
|
11203
|
+
result: {
|
|
11204
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
11205
|
+
nullable: true,
|
|
11206
|
+
},
|
|
11207
|
+
status: { enum: ['error'], type: 'string' },
|
|
11208
|
+
},
|
|
11209
|
+
required: [
|
|
11210
|
+
'action_attempt_id',
|
|
11211
|
+
'status',
|
|
11212
|
+
'result',
|
|
11213
|
+
'action_type',
|
|
11214
|
+
'error',
|
|
11215
|
+
],
|
|
11216
|
+
type: 'object',
|
|
11217
|
+
'x-undocumented': 'Unreleased.',
|
|
10959
11218
|
},
|
|
10960
11219
|
{
|
|
10961
11220
|
properties: {
|
|
@@ -13293,14 +13552,27 @@ const openapi = {
|
|
|
13293
13552
|
can_mute_speaker: {
|
|
13294
13553
|
description: 'Indicates whether the speaker supports muting.',
|
|
13295
13554
|
type: 'boolean',
|
|
13555
|
+
'x-undocumented': 'Unreleased.',
|
|
13296
13556
|
},
|
|
13297
13557
|
can_pause_speaker_playback: {
|
|
13298
13558
|
description: 'Indicates whether the speaker supports pausing playback.',
|
|
13299
13559
|
type: 'boolean',
|
|
13560
|
+
'x-undocumented': 'Unreleased.',
|
|
13561
|
+
},
|
|
13562
|
+
can_play_speaker_audio_clip: {
|
|
13563
|
+
description: 'Indicates whether the speaker supports playing an audio clip from a URL.',
|
|
13564
|
+
type: 'boolean',
|
|
13565
|
+
'x-undocumented': 'Unreleased.',
|
|
13300
13566
|
},
|
|
13301
13567
|
can_play_speaker_chime: {
|
|
13302
13568
|
description: 'Indicates whether the speaker supports playing a chime.',
|
|
13303
13569
|
type: 'boolean',
|
|
13570
|
+
'x-undocumented': 'Unreleased.',
|
|
13571
|
+
},
|
|
13572
|
+
can_play_speaker_favorite: {
|
|
13573
|
+
description: "Indicates whether the speaker supports listing and playing the favorites saved in the speaker manufacturer's app, such as playlists and radio stations.",
|
|
13574
|
+
type: 'boolean',
|
|
13575
|
+
'x-undocumented': 'Unreleased.',
|
|
13304
13576
|
},
|
|
13305
13577
|
can_program_offline_access_codes: {
|
|
13306
13578
|
description: 'Indicates whether the device supports programming offline access codes.',
|
|
@@ -13333,6 +13605,7 @@ const openapi = {
|
|
|
13333
13605
|
can_resume_speaker_playback: {
|
|
13334
13606
|
description: 'Indicates whether the speaker supports resuming playback.',
|
|
13335
13607
|
type: 'boolean',
|
|
13608
|
+
'x-undocumented': 'Unreleased.',
|
|
13336
13609
|
},
|
|
13337
13610
|
can_run_thermostat_programs: {
|
|
13338
13611
|
description: 'Indicates whether the thermostat supports running climate programs.',
|
|
@@ -13341,6 +13614,7 @@ const openapi = {
|
|
|
13341
13614
|
can_set_speaker_volume: {
|
|
13342
13615
|
description: 'Indicates whether the speaker supports setting its volume.',
|
|
13343
13616
|
type: 'boolean',
|
|
13617
|
+
'x-undocumented': 'Unreleased.',
|
|
13344
13618
|
},
|
|
13345
13619
|
can_simulate_connection: {
|
|
13346
13620
|
description: 'Indicates whether the device supports simulating connection in a sandbox.',
|
|
@@ -13381,6 +13655,7 @@ const openapi = {
|
|
|
13381
13655
|
can_unmute_speaker: {
|
|
13382
13656
|
description: 'Indicates whether the speaker supports unmuting.',
|
|
13383
13657
|
type: 'boolean',
|
|
13658
|
+
'x-undocumented': 'Unreleased.',
|
|
13384
13659
|
},
|
|
13385
13660
|
capabilities_supported: {
|
|
13386
13661
|
description: '\n Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://www.seam.co/docs/capability-guides/device-and-system-capabilities#capability-flags).\n ',
|
|
@@ -15413,6 +15688,7 @@ const openapi = {
|
|
|
15413
15688
|
},
|
|
15414
15689
|
},
|
|
15415
15690
|
type: 'object',
|
|
15691
|
+
'x-undocumented': 'Unreleased.',
|
|
15416
15692
|
},
|
|
15417
15693
|
tado_metadata: {
|
|
15418
15694
|
description: 'Metadata for a tado° device.',
|
|
@@ -15981,7 +16257,7 @@ const openapi = {
|
|
|
15981
16257
|
type: 'string',
|
|
15982
16258
|
},
|
|
15983
16259
|
supports_chime: {
|
|
15984
|
-
description: 'Indicates whether the speaker can play a chime.',
|
|
16260
|
+
description: 'Indicates whether the speaker can play a chime or an audio clip.',
|
|
15985
16261
|
type: 'boolean',
|
|
15986
16262
|
},
|
|
15987
16263
|
volume: {
|
|
@@ -16013,6 +16289,7 @@ const openapi = {
|
|
|
16013
16289
|
],
|
|
16014
16290
|
type: 'object',
|
|
16015
16291
|
'x-property-group-key': 'speakers',
|
|
16292
|
+
'x-undocumented': 'Unreleased.',
|
|
16016
16293
|
},
|
|
16017
16294
|
supported_code_lengths: {
|
|
16018
16295
|
description: 'Supported code lengths for access codes.',
|
|
@@ -17512,14 +17789,27 @@ const openapi = {
|
|
|
17512
17789
|
can_mute_speaker: {
|
|
17513
17790
|
description: 'Indicates whether the speaker supports muting.',
|
|
17514
17791
|
type: 'boolean',
|
|
17792
|
+
'x-undocumented': 'Unreleased.',
|
|
17515
17793
|
},
|
|
17516
17794
|
can_pause_speaker_playback: {
|
|
17517
17795
|
description: 'Indicates whether the speaker supports pausing playback.',
|
|
17518
17796
|
type: 'boolean',
|
|
17797
|
+
'x-undocumented': 'Unreleased.',
|
|
17798
|
+
},
|
|
17799
|
+
can_play_speaker_audio_clip: {
|
|
17800
|
+
description: 'Indicates whether the speaker supports playing an audio clip from a URL.',
|
|
17801
|
+
type: 'boolean',
|
|
17802
|
+
'x-undocumented': 'Unreleased.',
|
|
17519
17803
|
},
|
|
17520
17804
|
can_play_speaker_chime: {
|
|
17521
17805
|
description: 'Indicates whether the speaker supports playing a chime.',
|
|
17522
17806
|
type: 'boolean',
|
|
17807
|
+
'x-undocumented': 'Unreleased.',
|
|
17808
|
+
},
|
|
17809
|
+
can_play_speaker_favorite: {
|
|
17810
|
+
description: "Indicates whether the speaker supports listing and playing the favorites saved in the speaker manufacturer's app, such as playlists and radio stations.",
|
|
17811
|
+
type: 'boolean',
|
|
17812
|
+
'x-undocumented': 'Unreleased.',
|
|
17523
17813
|
},
|
|
17524
17814
|
can_program_offline_access_codes: {
|
|
17525
17815
|
description: 'Indicates whether the device supports programming offline access codes.',
|
|
@@ -17552,6 +17842,7 @@ const openapi = {
|
|
|
17552
17842
|
can_resume_speaker_playback: {
|
|
17553
17843
|
description: 'Indicates whether the speaker supports resuming playback.',
|
|
17554
17844
|
type: 'boolean',
|
|
17845
|
+
'x-undocumented': 'Unreleased.',
|
|
17555
17846
|
},
|
|
17556
17847
|
can_run_thermostat_programs: {
|
|
17557
17848
|
description: 'Indicates whether the thermostat supports running climate programs.',
|
|
@@ -17560,6 +17851,7 @@ const openapi = {
|
|
|
17560
17851
|
can_set_speaker_volume: {
|
|
17561
17852
|
description: 'Indicates whether the speaker supports setting its volume.',
|
|
17562
17853
|
type: 'boolean',
|
|
17854
|
+
'x-undocumented': 'Unreleased.',
|
|
17563
17855
|
},
|
|
17564
17856
|
can_simulate_connection: {
|
|
17565
17857
|
description: 'Indicates whether the device supports simulating connection in a sandbox.',
|
|
@@ -17600,6 +17892,7 @@ const openapi = {
|
|
|
17600
17892
|
can_unmute_speaker: {
|
|
17601
17893
|
description: 'Indicates whether the speaker supports unmuting.',
|
|
17602
17894
|
type: 'boolean',
|
|
17895
|
+
'x-undocumented': 'Unreleased.',
|
|
17603
17896
|
},
|
|
17604
17897
|
device_provider_name: {
|
|
17605
17898
|
description: 'Name of the device provider.',
|
|
@@ -35502,14 +35795,27 @@ const openapi = {
|
|
|
35502
35795
|
can_mute_speaker: {
|
|
35503
35796
|
description: 'Indicates whether the speaker supports muting.',
|
|
35504
35797
|
type: 'boolean',
|
|
35798
|
+
'x-undocumented': 'Unreleased.',
|
|
35505
35799
|
},
|
|
35506
35800
|
can_pause_speaker_playback: {
|
|
35507
35801
|
description: 'Indicates whether the speaker supports pausing playback.',
|
|
35508
35802
|
type: 'boolean',
|
|
35803
|
+
'x-undocumented': 'Unreleased.',
|
|
35804
|
+
},
|
|
35805
|
+
can_play_speaker_audio_clip: {
|
|
35806
|
+
description: 'Indicates whether the speaker supports playing an audio clip from a URL.',
|
|
35807
|
+
type: 'boolean',
|
|
35808
|
+
'x-undocumented': 'Unreleased.',
|
|
35509
35809
|
},
|
|
35510
35810
|
can_play_speaker_chime: {
|
|
35511
35811
|
description: 'Indicates whether the speaker supports playing a chime.',
|
|
35512
35812
|
type: 'boolean',
|
|
35813
|
+
'x-undocumented': 'Unreleased.',
|
|
35814
|
+
},
|
|
35815
|
+
can_play_speaker_favorite: {
|
|
35816
|
+
description: "Indicates whether the speaker supports listing and playing the favorites saved in the speaker manufacturer's app, such as playlists and radio stations.",
|
|
35817
|
+
type: 'boolean',
|
|
35818
|
+
'x-undocumented': 'Unreleased.',
|
|
35513
35819
|
},
|
|
35514
35820
|
can_program_offline_access_codes: {
|
|
35515
35821
|
description: 'Indicates whether the device supports programming offline access codes.',
|
|
@@ -35542,6 +35848,7 @@ const openapi = {
|
|
|
35542
35848
|
can_resume_speaker_playback: {
|
|
35543
35849
|
description: 'Indicates whether the speaker supports resuming playback.',
|
|
35544
35850
|
type: 'boolean',
|
|
35851
|
+
'x-undocumented': 'Unreleased.',
|
|
35545
35852
|
},
|
|
35546
35853
|
can_run_thermostat_programs: {
|
|
35547
35854
|
description: 'Indicates whether the thermostat supports running climate programs.',
|
|
@@ -35550,6 +35857,7 @@ const openapi = {
|
|
|
35550
35857
|
can_set_speaker_volume: {
|
|
35551
35858
|
description: 'Indicates whether the speaker supports setting its volume.',
|
|
35552
35859
|
type: 'boolean',
|
|
35860
|
+
'x-undocumented': 'Unreleased.',
|
|
35553
35861
|
},
|
|
35554
35862
|
can_simulate_connection: {
|
|
35555
35863
|
description: 'Indicates whether the device supports simulating connection in a sandbox.',
|
|
@@ -35590,6 +35898,7 @@ const openapi = {
|
|
|
35590
35898
|
can_unmute_speaker: {
|
|
35591
35899
|
description: 'Indicates whether the speaker supports unmuting.',
|
|
35592
35900
|
type: 'boolean',
|
|
35901
|
+
'x-undocumented': 'Unreleased.',
|
|
35593
35902
|
},
|
|
35594
35903
|
capabilities_supported: {
|
|
35595
35904
|
description: '\n Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://www.seam.co/docs/capability-guides/device-and-system-capabilities#capability-flags).\n ',
|
|
@@ -49477,6 +49786,8 @@ const openapi = {
|
|
|
49477
49786
|
'can_pause_speaker_playback',
|
|
49478
49787
|
'can_resume_speaker_playback',
|
|
49479
49788
|
'can_play_speaker_chime',
|
|
49789
|
+
'can_play_speaker_favorite',
|
|
49790
|
+
'can_play_speaker_audio_clip',
|
|
49480
49791
|
],
|
|
49481
49792
|
type: 'string',
|
|
49482
49793
|
},
|
|
@@ -49518,6 +49829,8 @@ const openapi = {
|
|
|
49518
49829
|
'can_pause_speaker_playback',
|
|
49519
49830
|
'can_resume_speaker_playback',
|
|
49520
49831
|
'can_play_speaker_chime',
|
|
49832
|
+
'can_play_speaker_favorite',
|
|
49833
|
+
'can_play_speaker_audio_clip',
|
|
49521
49834
|
],
|
|
49522
49835
|
type: 'string',
|
|
49523
49836
|
},
|
|
@@ -51757,6 +52070,8 @@ const openapi = {
|
|
|
51757
52070
|
'can_pause_speaker_playback',
|
|
51758
52071
|
'can_resume_speaker_playback',
|
|
51759
52072
|
'can_play_speaker_chime',
|
|
52073
|
+
'can_play_speaker_favorite',
|
|
52074
|
+
'can_play_speaker_audio_clip',
|
|
51760
52075
|
],
|
|
51761
52076
|
type: 'string',
|
|
51762
52077
|
},
|
|
@@ -51798,6 +52113,8 @@ const openapi = {
|
|
|
51798
52113
|
'can_pause_speaker_playback',
|
|
51799
52114
|
'can_resume_speaker_playback',
|
|
51800
52115
|
'can_play_speaker_chime',
|
|
52116
|
+
'can_play_speaker_favorite',
|
|
52117
|
+
'can_play_speaker_audio_clip',
|
|
51801
52118
|
],
|
|
51802
52119
|
type: 'string',
|
|
51803
52120
|
},
|
|
@@ -57926,7 +58243,36 @@ const openapi = {
|
|
|
57926
58243
|
},
|
|
57927
58244
|
speakers: {
|
|
57928
58245
|
properties: {
|
|
58246
|
+
play_audio_clip: {
|
|
58247
|
+
properties: {
|
|
58248
|
+
audio_url: {
|
|
58249
|
+
description: 'Public HTTPS URL of the MP3 or WAV file to play. The speaker downloads the file itself.',
|
|
58250
|
+
format: 'uri',
|
|
58251
|
+
maxLength: 2048,
|
|
58252
|
+
pattern: '^https:\\/\\/',
|
|
58253
|
+
type: 'string',
|
|
58254
|
+
},
|
|
58255
|
+
volume: {
|
|
58256
|
+
maximum: 100,
|
|
58257
|
+
minimum: 0,
|
|
58258
|
+
type: 'integer',
|
|
58259
|
+
},
|
|
58260
|
+
},
|
|
58261
|
+
required: ['audio_url'],
|
|
58262
|
+
type: 'object',
|
|
58263
|
+
},
|
|
57929
58264
|
play_chime: { type: 'boolean' },
|
|
58265
|
+
play_favorite: {
|
|
58266
|
+
properties: {
|
|
58267
|
+
favorite_id: {
|
|
58268
|
+
minLength: 1,
|
|
58269
|
+
type: 'string',
|
|
58270
|
+
},
|
|
58271
|
+
shuffle: { type: 'boolean' },
|
|
58272
|
+
},
|
|
58273
|
+
required: ['favorite_id'],
|
|
58274
|
+
type: 'object',
|
|
58275
|
+
},
|
|
57930
58276
|
set_volume_to: {
|
|
57931
58277
|
maximum: 100,
|
|
57932
58278
|
minimum: 0,
|
|
@@ -58421,7 +58767,36 @@ const openapi = {
|
|
|
58421
58767
|
},
|
|
58422
58768
|
speakers: {
|
|
58423
58769
|
properties: {
|
|
58770
|
+
play_audio_clip: {
|
|
58771
|
+
properties: {
|
|
58772
|
+
audio_url: {
|
|
58773
|
+
description: 'Public HTTPS URL of the MP3 or WAV file to play. The speaker downloads the file itself.',
|
|
58774
|
+
format: 'uri',
|
|
58775
|
+
maxLength: 2048,
|
|
58776
|
+
pattern: '^https:\\/\\/',
|
|
58777
|
+
type: 'string',
|
|
58778
|
+
},
|
|
58779
|
+
volume: {
|
|
58780
|
+
maximum: 100,
|
|
58781
|
+
minimum: 0,
|
|
58782
|
+
type: 'integer',
|
|
58783
|
+
},
|
|
58784
|
+
},
|
|
58785
|
+
required: ['audio_url'],
|
|
58786
|
+
type: 'object',
|
|
58787
|
+
},
|
|
58424
58788
|
play_chime: { type: 'boolean' },
|
|
58789
|
+
play_favorite: {
|
|
58790
|
+
properties: {
|
|
58791
|
+
favorite_id: {
|
|
58792
|
+
minLength: 1,
|
|
58793
|
+
type: 'string',
|
|
58794
|
+
},
|
|
58795
|
+
shuffle: { type: 'boolean' },
|
|
58796
|
+
},
|
|
58797
|
+
required: ['favorite_id'],
|
|
58798
|
+
type: 'object',
|
|
58799
|
+
},
|
|
58425
58800
|
set_volume_to: {
|
|
58426
58801
|
maximum: 100,
|
|
58427
58802
|
minimum: 0,
|
|
@@ -59820,7 +60195,36 @@ const openapi = {
|
|
|
59820
60195
|
},
|
|
59821
60196
|
speakers: {
|
|
59822
60197
|
properties: {
|
|
60198
|
+
play_audio_clip: {
|
|
60199
|
+
properties: {
|
|
60200
|
+
audio_url: {
|
|
60201
|
+
description: 'Public HTTPS URL of the MP3 or WAV file to play. The speaker downloads the file itself.',
|
|
60202
|
+
format: 'uri',
|
|
60203
|
+
maxLength: 2048,
|
|
60204
|
+
pattern: '^https:\\/\\/',
|
|
60205
|
+
type: 'string',
|
|
60206
|
+
},
|
|
60207
|
+
volume: {
|
|
60208
|
+
maximum: 100,
|
|
60209
|
+
minimum: 0,
|
|
60210
|
+
type: 'integer',
|
|
60211
|
+
},
|
|
60212
|
+
},
|
|
60213
|
+
required: ['audio_url'],
|
|
60214
|
+
type: 'object',
|
|
60215
|
+
},
|
|
59823
60216
|
play_chime: { type: 'boolean' },
|
|
60217
|
+
play_favorite: {
|
|
60218
|
+
properties: {
|
|
60219
|
+
favorite_id: {
|
|
60220
|
+
minLength: 1,
|
|
60221
|
+
type: 'string',
|
|
60222
|
+
},
|
|
60223
|
+
shuffle: { type: 'boolean' },
|
|
60224
|
+
},
|
|
60225
|
+
required: ['favorite_id'],
|
|
60226
|
+
type: 'object',
|
|
60227
|
+
},
|
|
59824
60228
|
set_volume_to: {
|
|
59825
60229
|
maximum: 100,
|
|
59826
60230
|
minimum: 0,
|
|
@@ -60242,7 +60646,36 @@ const openapi = {
|
|
|
60242
60646
|
},
|
|
60243
60647
|
speakers: {
|
|
60244
60648
|
properties: {
|
|
60649
|
+
play_audio_clip: {
|
|
60650
|
+
properties: {
|
|
60651
|
+
audio_url: {
|
|
60652
|
+
description: 'Public HTTPS URL of the MP3 or WAV file to play. The speaker downloads the file itself.',
|
|
60653
|
+
format: 'uri',
|
|
60654
|
+
maxLength: 2048,
|
|
60655
|
+
pattern: '^https:\\/\\/',
|
|
60656
|
+
type: 'string',
|
|
60657
|
+
},
|
|
60658
|
+
volume: {
|
|
60659
|
+
maximum: 100,
|
|
60660
|
+
minimum: 0,
|
|
60661
|
+
type: 'integer',
|
|
60662
|
+
},
|
|
60663
|
+
},
|
|
60664
|
+
required: ['audio_url'],
|
|
60665
|
+
type: 'object',
|
|
60666
|
+
},
|
|
60245
60667
|
play_chime: { type: 'boolean' },
|
|
60668
|
+
play_favorite: {
|
|
60669
|
+
properties: {
|
|
60670
|
+
favorite_id: {
|
|
60671
|
+
minLength: 1,
|
|
60672
|
+
type: 'string',
|
|
60673
|
+
},
|
|
60674
|
+
shuffle: { type: 'boolean' },
|
|
60675
|
+
},
|
|
60676
|
+
required: ['favorite_id'],
|
|
60677
|
+
type: 'object',
|
|
60678
|
+
},
|
|
60246
60679
|
set_volume_to: {
|
|
60247
60680
|
maximum: 100,
|
|
60248
60681
|
minimum: 0,
|
|
@@ -65628,6 +66061,85 @@ const openapi = {
|
|
|
65628
66061
|
'x-title': 'Update a Space',
|
|
65629
66062
|
},
|
|
65630
66063
|
},
|
|
66064
|
+
'/speakers/list_favorites': {
|
|
66065
|
+
get: {
|
|
66066
|
+
description: "Returns the favorites saved on a speaker's account in the speaker manufacturer's app, such as playlists, albums and radio stations. To play one, pass its `favorite_id` to `/speakers/play_favorite`. To check whether a speaker supports favorites, use `device.can_play_speaker_favorite`.",
|
|
66067
|
+
operationId: 'speakersListFavoritesGet',
|
|
66068
|
+
parameters: [
|
|
66069
|
+
{
|
|
66070
|
+
in: 'query',
|
|
66071
|
+
name: 'device_id',
|
|
66072
|
+
required: true,
|
|
66073
|
+
schema: {
|
|
66074
|
+
description: 'ID of the speaker for which you want to list favorites.',
|
|
66075
|
+
format: 'uuid',
|
|
66076
|
+
type: 'string',
|
|
66077
|
+
},
|
|
66078
|
+
},
|
|
66079
|
+
],
|
|
66080
|
+
responses: {
|
|
66081
|
+
'200': {
|
|
66082
|
+
content: {
|
|
66083
|
+
'application/json': {
|
|
66084
|
+
schema: {
|
|
66085
|
+
properties: {
|
|
66086
|
+
ok: { type: 'boolean' },
|
|
66087
|
+
speaker_favorites: {
|
|
66088
|
+
items: {
|
|
66089
|
+
properties: {
|
|
66090
|
+
description: {
|
|
66091
|
+
description: 'Description of the favorite, such as its artist or station.',
|
|
66092
|
+
type: 'string',
|
|
66093
|
+
},
|
|
66094
|
+
favorite_id: {
|
|
66095
|
+
description: 'ID of the favorite. Pass it to `/speakers/play_favorite`.',
|
|
66096
|
+
type: 'string',
|
|
66097
|
+
},
|
|
66098
|
+
image_url: {
|
|
66099
|
+
description: "URL of the favorite's artwork.",
|
|
66100
|
+
type: 'string',
|
|
66101
|
+
},
|
|
66102
|
+
name: {
|
|
66103
|
+
description: 'Name of the favorite.',
|
|
66104
|
+
type: 'string',
|
|
66105
|
+
},
|
|
66106
|
+
service_name: {
|
|
66107
|
+
description: 'Name of the music service that provides the favorite.',
|
|
66108
|
+
type: 'string',
|
|
66109
|
+
},
|
|
66110
|
+
},
|
|
66111
|
+
required: ['favorite_id', 'name'],
|
|
66112
|
+
type: 'object',
|
|
66113
|
+
},
|
|
66114
|
+
type: 'array',
|
|
66115
|
+
},
|
|
66116
|
+
},
|
|
66117
|
+
required: ['speaker_favorites', 'ok'],
|
|
66118
|
+
type: 'object',
|
|
66119
|
+
},
|
|
66120
|
+
},
|
|
66121
|
+
},
|
|
66122
|
+
description: 'OK',
|
|
66123
|
+
},
|
|
66124
|
+
'400': { description: 'Bad Request' },
|
|
66125
|
+
'401': { description: 'Unauthorized' },
|
|
66126
|
+
},
|
|
66127
|
+
security: [
|
|
66128
|
+
{ client_session: [] },
|
|
66129
|
+
{ pat_with_workspace: [] },
|
|
66130
|
+
{ console_session_with_workspace: [] },
|
|
66131
|
+
{ api_key: [] },
|
|
66132
|
+
],
|
|
66133
|
+
summary: '/speakers/list_favorites',
|
|
66134
|
+
tags: [],
|
|
66135
|
+
'x-fern-sdk-group-name': ['speakers'],
|
|
66136
|
+
'x-fern-sdk-method-name': 'list_favorites',
|
|
66137
|
+
'x-fern-sdk-return-value': 'speaker_favorites',
|
|
66138
|
+
'x-response-key': 'speaker_favorites',
|
|
66139
|
+
'x-title': 'List Speaker Favorites',
|
|
66140
|
+
'x-undocumented': 'Unreleased.',
|
|
66141
|
+
},
|
|
66142
|
+
},
|
|
65631
66143
|
'/speakers/mute': {
|
|
65632
66144
|
post: {
|
|
65633
66145
|
description: 'Mutes a specified speaker. To check whether a speaker supports muting, use `device.can_mute_speaker`.',
|
|
@@ -65746,6 +66258,76 @@ const openapi = {
|
|
|
65746
66258
|
'x-undocumented': 'Unreleased.',
|
|
65747
66259
|
},
|
|
65748
66260
|
},
|
|
66261
|
+
'/speakers/play_audio_clip': {
|
|
66262
|
+
post: {
|
|
66263
|
+
description: 'Plays a short audio clip from a URL on a speaker, over whatever the speaker is playing. Use it for a welcome message or announcement. To check whether a speaker supports audio clips, use `device.can_play_speaker_audio_clip`.',
|
|
66264
|
+
operationId: 'speakersPlayAudioClipPost',
|
|
66265
|
+
requestBody: {
|
|
66266
|
+
content: {
|
|
66267
|
+
'application/json': {
|
|
66268
|
+
schema: {
|
|
66269
|
+
properties: {
|
|
66270
|
+
audio_url: {
|
|
66271
|
+
description: 'Public HTTPS URL of the MP3 or WAV file to play. The speaker downloads the file itself, so it must be reachable from the internet.',
|
|
66272
|
+
format: 'uri',
|
|
66273
|
+
maxLength: 2048,
|
|
66274
|
+
type: 'string',
|
|
66275
|
+
},
|
|
66276
|
+
device_id: {
|
|
66277
|
+
description: 'ID of the speaker on which you want to play the audio clip.',
|
|
66278
|
+
format: 'uuid',
|
|
66279
|
+
type: 'string',
|
|
66280
|
+
},
|
|
66281
|
+
volume: {
|
|
66282
|
+
description: "Volume at which to play the clip, on the speaker's native volume scale. If you omit this parameter, the clip plays at the speaker's current volume.",
|
|
66283
|
+
format: 'float',
|
|
66284
|
+
type: 'number',
|
|
66285
|
+
},
|
|
66286
|
+
},
|
|
66287
|
+
required: ['device_id', 'audio_url'],
|
|
66288
|
+
type: 'object',
|
|
66289
|
+
},
|
|
66290
|
+
},
|
|
66291
|
+
},
|
|
66292
|
+
},
|
|
66293
|
+
responses: {
|
|
66294
|
+
'200': {
|
|
66295
|
+
content: {
|
|
66296
|
+
'application/json': {
|
|
66297
|
+
schema: {
|
|
66298
|
+
properties: {
|
|
66299
|
+
action_attempt: {
|
|
66300
|
+
$ref: '#/components/schemas/action_attempt',
|
|
66301
|
+
},
|
|
66302
|
+
ok: { type: 'boolean' },
|
|
66303
|
+
},
|
|
66304
|
+
required: ['action_attempt', 'ok'],
|
|
66305
|
+
type: 'object',
|
|
66306
|
+
},
|
|
66307
|
+
},
|
|
66308
|
+
},
|
|
66309
|
+
description: 'OK',
|
|
66310
|
+
},
|
|
66311
|
+
'400': { description: 'Bad Request' },
|
|
66312
|
+
'401': { description: 'Unauthorized' },
|
|
66313
|
+
},
|
|
66314
|
+
security: [
|
|
66315
|
+
{ client_session: [] },
|
|
66316
|
+
{ pat_with_workspace: [] },
|
|
66317
|
+
{ console_session_with_workspace: [] },
|
|
66318
|
+
{ api_key: [] },
|
|
66319
|
+
],
|
|
66320
|
+
summary: '/speakers/play_audio_clip',
|
|
66321
|
+
tags: [],
|
|
66322
|
+
'x-action-attempt-type': 'PLAY_SPEAKER_AUDIO_CLIP',
|
|
66323
|
+
'x-fern-sdk-group-name': ['speakers'],
|
|
66324
|
+
'x-fern-sdk-method-name': 'play_audio_clip',
|
|
66325
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
66326
|
+
'x-response-key': 'action_attempt',
|
|
66327
|
+
'x-title': 'Play an Audio Clip on a Speaker',
|
|
66328
|
+
'x-undocumented': 'Unreleased.',
|
|
66329
|
+
},
|
|
66330
|
+
},
|
|
65749
66331
|
'/speakers/play_chime': {
|
|
65750
66332
|
post: {
|
|
65751
66333
|
description: 'Plays a short chime on a specified speaker. To check whether a speaker supports playing a chime, use `device.can_play_speaker_chime`.',
|
|
@@ -65810,6 +66392,74 @@ const openapi = {
|
|
|
65810
66392
|
'x-undocumented': 'Unreleased.',
|
|
65811
66393
|
},
|
|
65812
66394
|
},
|
|
66395
|
+
'/speakers/play_favorite': {
|
|
66396
|
+
post: {
|
|
66397
|
+
description: 'Replaces what a speaker is playing with one of its favorites and starts playback. Speakers grouped with the requested speaker play it too. To check whether a speaker supports favorites, use `device.can_play_speaker_favorite`.',
|
|
66398
|
+
operationId: 'speakersPlayFavoritePost',
|
|
66399
|
+
requestBody: {
|
|
66400
|
+
content: {
|
|
66401
|
+
'application/json': {
|
|
66402
|
+
schema: {
|
|
66403
|
+
properties: {
|
|
66404
|
+
device_id: {
|
|
66405
|
+
description: 'ID of the speaker on which you want to play the favorite.',
|
|
66406
|
+
format: 'uuid',
|
|
66407
|
+
type: 'string',
|
|
66408
|
+
},
|
|
66409
|
+
favorite_id: {
|
|
66410
|
+
description: 'ID of the favorite that you want to play, from `/speakers/list_favorites`.',
|
|
66411
|
+
minLength: 1,
|
|
66412
|
+
type: 'string',
|
|
66413
|
+
},
|
|
66414
|
+
shuffle: {
|
|
66415
|
+
description: "Whether to shuffle the favorite's tracks. If you omit this parameter, the speaker keeps its current shuffle setting.",
|
|
66416
|
+
type: 'boolean',
|
|
66417
|
+
},
|
|
66418
|
+
},
|
|
66419
|
+
required: ['device_id', 'favorite_id'],
|
|
66420
|
+
type: 'object',
|
|
66421
|
+
},
|
|
66422
|
+
},
|
|
66423
|
+
},
|
|
66424
|
+
},
|
|
66425
|
+
responses: {
|
|
66426
|
+
'200': {
|
|
66427
|
+
content: {
|
|
66428
|
+
'application/json': {
|
|
66429
|
+
schema: {
|
|
66430
|
+
properties: {
|
|
66431
|
+
action_attempt: {
|
|
66432
|
+
$ref: '#/components/schemas/action_attempt',
|
|
66433
|
+
},
|
|
66434
|
+
ok: { type: 'boolean' },
|
|
66435
|
+
},
|
|
66436
|
+
required: ['action_attempt', 'ok'],
|
|
66437
|
+
type: 'object',
|
|
66438
|
+
},
|
|
66439
|
+
},
|
|
66440
|
+
},
|
|
66441
|
+
description: 'OK',
|
|
66442
|
+
},
|
|
66443
|
+
'400': { description: 'Bad Request' },
|
|
66444
|
+
'401': { description: 'Unauthorized' },
|
|
66445
|
+
},
|
|
66446
|
+
security: [
|
|
66447
|
+
{ client_session: [] },
|
|
66448
|
+
{ pat_with_workspace: [] },
|
|
66449
|
+
{ console_session_with_workspace: [] },
|
|
66450
|
+
{ api_key: [] },
|
|
66451
|
+
],
|
|
66452
|
+
summary: '/speakers/play_favorite',
|
|
66453
|
+
tags: [],
|
|
66454
|
+
'x-action-attempt-type': 'PLAY_SPEAKER_FAVORITE',
|
|
66455
|
+
'x-fern-sdk-group-name': ['speakers'],
|
|
66456
|
+
'x-fern-sdk-method-name': 'play_favorite',
|
|
66457
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
66458
|
+
'x-response-key': 'action_attempt',
|
|
66459
|
+
'x-title': 'Play a Favorite on a Speaker',
|
|
66460
|
+
'x-undocumented': 'Unreleased.',
|
|
66461
|
+
},
|
|
66462
|
+
},
|
|
65813
66463
|
'/speakers/resume': {
|
|
65814
66464
|
post: {
|
|
65815
66465
|
description: 'Resumes playback on a specified speaker. Playback also resumes on the speakers grouped with it, and the action attempt result lists every affected speaker. To check whether a speaker supports resuming playback, use `device.can_resume_speaker_playback`.',
|