@seamapi/types 1.1108.0 → 1.1110.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/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +4 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -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.d.ts +7 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.js +458 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +204 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +4 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +459 -0
- package/src/lib/seam/connect/route-types.ts +272 -0
|
@@ -14985,6 +14985,10 @@ const openapi = {
|
|
|
14985
14985
|
description: 'ID of the Sonos player for the speaker.',
|
|
14986
14986
|
type: 'string',
|
|
14987
14987
|
},
|
|
14988
|
+
player_name: {
|
|
14989
|
+
description: 'Name of the speaker, as set in the Sonos app.',
|
|
14990
|
+
type: 'string',
|
|
14991
|
+
},
|
|
14988
14992
|
software_version: {
|
|
14989
14993
|
description: 'Software version running on the speaker.',
|
|
14990
14994
|
type: 'string',
|
|
@@ -17242,6 +17246,7 @@ const openapi = {
|
|
|
17242
17246
|
'omnitec',
|
|
17243
17247
|
'kisi',
|
|
17244
17248
|
'aqara',
|
|
17249
|
+
'sonos',
|
|
17245
17250
|
],
|
|
17246
17251
|
type: 'string',
|
|
17247
17252
|
},
|
|
@@ -45044,6 +45049,7 @@ const openapi = {
|
|
|
45044
45049
|
'omnitec',
|
|
45045
45050
|
'kisi',
|
|
45046
45051
|
'aqara',
|
|
45052
|
+
'sonos',
|
|
45047
45053
|
'yale_access',
|
|
45048
45054
|
'hid_cm',
|
|
45049
45055
|
'google_nest',
|
|
@@ -48582,6 +48588,7 @@ const openapi = {
|
|
|
48582
48588
|
'kisi',
|
|
48583
48589
|
'slack',
|
|
48584
48590
|
'yacan',
|
|
48591
|
+
'sonos',
|
|
48585
48592
|
],
|
|
48586
48593
|
type: 'string',
|
|
48587
48594
|
},
|
|
@@ -50888,6 +50895,7 @@ const openapi = {
|
|
|
50888
50895
|
'kisi',
|
|
50889
50896
|
'slack',
|
|
50890
50897
|
'yacan',
|
|
50898
|
+
'sonos',
|
|
50891
50899
|
],
|
|
50892
50900
|
type: 'string',
|
|
50893
50901
|
},
|
|
@@ -57153,6 +57161,101 @@ const openapi = {
|
|
|
57153
57161
|
type: 'object',
|
|
57154
57162
|
},
|
|
57155
57163
|
ok: { type: 'boolean' },
|
|
57164
|
+
sound_rules: {
|
|
57165
|
+
properties: {
|
|
57166
|
+
rules: {
|
|
57167
|
+
properties: {
|
|
57168
|
+
reservation_created: {
|
|
57169
|
+
properties: {
|
|
57170
|
+
on_check_in: {
|
|
57171
|
+
properties: {
|
|
57172
|
+
minutes_before_check_in: {
|
|
57173
|
+
maximum: 1440,
|
|
57174
|
+
minimum: 0,
|
|
57175
|
+
type: 'integer',
|
|
57176
|
+
},
|
|
57177
|
+
noise_sensors: {
|
|
57178
|
+
properties: {
|
|
57179
|
+
noise_thresholds: {
|
|
57180
|
+
items: {
|
|
57181
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
57182
|
+
},
|
|
57183
|
+
maxItems: 10,
|
|
57184
|
+
type: 'array',
|
|
57185
|
+
},
|
|
57186
|
+
},
|
|
57187
|
+
required: ['noise_thresholds'],
|
|
57188
|
+
type: 'object',
|
|
57189
|
+
},
|
|
57190
|
+
speakers: {
|
|
57191
|
+
properties: {
|
|
57192
|
+
play_chime: { type: 'boolean' },
|
|
57193
|
+
set_volume_to: {
|
|
57194
|
+
maximum: 100,
|
|
57195
|
+
minimum: 0,
|
|
57196
|
+
type: 'integer',
|
|
57197
|
+
},
|
|
57198
|
+
unmute: { type: 'boolean' },
|
|
57199
|
+
},
|
|
57200
|
+
type: 'object',
|
|
57201
|
+
},
|
|
57202
|
+
},
|
|
57203
|
+
type: 'object',
|
|
57204
|
+
},
|
|
57205
|
+
on_check_out: {
|
|
57206
|
+
properties: {
|
|
57207
|
+
minutes_after_check_out: {
|
|
57208
|
+
maximum: 1440,
|
|
57209
|
+
minimum: 0,
|
|
57210
|
+
type: 'integer',
|
|
57211
|
+
},
|
|
57212
|
+
noise_sensors: {
|
|
57213
|
+
properties: {
|
|
57214
|
+
noise_thresholds: {
|
|
57215
|
+
items: {
|
|
57216
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
57217
|
+
},
|
|
57218
|
+
maxItems: 10,
|
|
57219
|
+
type: 'array',
|
|
57220
|
+
},
|
|
57221
|
+
},
|
|
57222
|
+
required: ['noise_thresholds'],
|
|
57223
|
+
type: 'object',
|
|
57224
|
+
},
|
|
57225
|
+
speakers: {
|
|
57226
|
+
properties: {
|
|
57227
|
+
pause_playback: { type: 'boolean' },
|
|
57228
|
+
reset_volume_to: {
|
|
57229
|
+
maximum: 100,
|
|
57230
|
+
minimum: 0,
|
|
57231
|
+
type: 'integer',
|
|
57232
|
+
},
|
|
57233
|
+
unmute: { type: 'boolean' },
|
|
57234
|
+
},
|
|
57235
|
+
type: 'object',
|
|
57236
|
+
},
|
|
57237
|
+
},
|
|
57238
|
+
type: 'object',
|
|
57239
|
+
},
|
|
57240
|
+
},
|
|
57241
|
+
type: 'object',
|
|
57242
|
+
},
|
|
57243
|
+
reservation_deleted: {
|
|
57244
|
+
$ref: '#/components/schemas/access_code',
|
|
57245
|
+
},
|
|
57246
|
+
reservation_spaces_updated: {
|
|
57247
|
+
$ref: '#/components/schemas/access_code',
|
|
57248
|
+
},
|
|
57249
|
+
reservation_time_updated: {
|
|
57250
|
+
$ref: '#/components/schemas/access_code',
|
|
57251
|
+
},
|
|
57252
|
+
},
|
|
57253
|
+
type: 'object',
|
|
57254
|
+
},
|
|
57255
|
+
},
|
|
57256
|
+
required: ['rules'],
|
|
57257
|
+
type: 'object',
|
|
57258
|
+
},
|
|
57156
57259
|
},
|
|
57157
57260
|
required: ['ok'],
|
|
57158
57261
|
type: 'object',
|
|
@@ -57449,6 +57552,136 @@ const openapi = {
|
|
|
57449
57552
|
minLength: 1,
|
|
57450
57553
|
type: 'string',
|
|
57451
57554
|
},
|
|
57555
|
+
sound_rules: {
|
|
57556
|
+
description: 'Sound automation rules configuration.',
|
|
57557
|
+
properties: {
|
|
57558
|
+
rules: {
|
|
57559
|
+
properties: {
|
|
57560
|
+
reservation_created: {
|
|
57561
|
+
nullable: true,
|
|
57562
|
+
properties: {
|
|
57563
|
+
on_check_in: {
|
|
57564
|
+
properties: {
|
|
57565
|
+
minutes_before_check_in: {
|
|
57566
|
+
maximum: 1440,
|
|
57567
|
+
minimum: 0,
|
|
57568
|
+
type: 'integer',
|
|
57569
|
+
},
|
|
57570
|
+
noise_sensors: {
|
|
57571
|
+
properties: {
|
|
57572
|
+
noise_thresholds: {
|
|
57573
|
+
items: {
|
|
57574
|
+
properties: {
|
|
57575
|
+
ends_daily_at: { type: 'string' },
|
|
57576
|
+
name: { type: 'string' },
|
|
57577
|
+
noise_threshold_decibels: {
|
|
57578
|
+
format: 'float',
|
|
57579
|
+
type: 'number',
|
|
57580
|
+
},
|
|
57581
|
+
starts_daily_at: { type: 'string' },
|
|
57582
|
+
},
|
|
57583
|
+
required: [
|
|
57584
|
+
'starts_daily_at',
|
|
57585
|
+
'ends_daily_at',
|
|
57586
|
+
'noise_threshold_decibels',
|
|
57587
|
+
],
|
|
57588
|
+
type: 'object',
|
|
57589
|
+
},
|
|
57590
|
+
maxItems: 10,
|
|
57591
|
+
type: 'array',
|
|
57592
|
+
},
|
|
57593
|
+
},
|
|
57594
|
+
required: ['noise_thresholds'],
|
|
57595
|
+
type: 'object',
|
|
57596
|
+
},
|
|
57597
|
+
speakers: {
|
|
57598
|
+
properties: {
|
|
57599
|
+
play_chime: { type: 'boolean' },
|
|
57600
|
+
set_volume_to: {
|
|
57601
|
+
maximum: 100,
|
|
57602
|
+
minimum: 0,
|
|
57603
|
+
type: 'integer',
|
|
57604
|
+
},
|
|
57605
|
+
unmute: { type: 'boolean' },
|
|
57606
|
+
},
|
|
57607
|
+
type: 'object',
|
|
57608
|
+
},
|
|
57609
|
+
},
|
|
57610
|
+
type: 'object',
|
|
57611
|
+
},
|
|
57612
|
+
on_check_out: {
|
|
57613
|
+
properties: {
|
|
57614
|
+
minutes_after_check_out: {
|
|
57615
|
+
maximum: 1440,
|
|
57616
|
+
minimum: 0,
|
|
57617
|
+
type: 'integer',
|
|
57618
|
+
},
|
|
57619
|
+
noise_sensors: {
|
|
57620
|
+
properties: {
|
|
57621
|
+
noise_thresholds: {
|
|
57622
|
+
items: {
|
|
57623
|
+
properties: {
|
|
57624
|
+
ends_daily_at: { type: 'string' },
|
|
57625
|
+
name: { type: 'string' },
|
|
57626
|
+
noise_threshold_decibels: {
|
|
57627
|
+
format: 'float',
|
|
57628
|
+
type: 'number',
|
|
57629
|
+
},
|
|
57630
|
+
starts_daily_at: { type: 'string' },
|
|
57631
|
+
},
|
|
57632
|
+
required: [
|
|
57633
|
+
'starts_daily_at',
|
|
57634
|
+
'ends_daily_at',
|
|
57635
|
+
'noise_threshold_decibels',
|
|
57636
|
+
],
|
|
57637
|
+
type: 'object',
|
|
57638
|
+
},
|
|
57639
|
+
maxItems: 10,
|
|
57640
|
+
type: 'array',
|
|
57641
|
+
},
|
|
57642
|
+
},
|
|
57643
|
+
required: ['noise_thresholds'],
|
|
57644
|
+
type: 'object',
|
|
57645
|
+
},
|
|
57646
|
+
speakers: {
|
|
57647
|
+
properties: {
|
|
57648
|
+
pause_playback: { type: 'boolean' },
|
|
57649
|
+
reset_volume_to: {
|
|
57650
|
+
maximum: 100,
|
|
57651
|
+
minimum: 0,
|
|
57652
|
+
type: 'integer',
|
|
57653
|
+
},
|
|
57654
|
+
unmute: { type: 'boolean' },
|
|
57655
|
+
},
|
|
57656
|
+
type: 'object',
|
|
57657
|
+
},
|
|
57658
|
+
},
|
|
57659
|
+
type: 'object',
|
|
57660
|
+
},
|
|
57661
|
+
},
|
|
57662
|
+
type: 'object',
|
|
57663
|
+
},
|
|
57664
|
+
reservation_deleted: {
|
|
57665
|
+
nullable: true,
|
|
57666
|
+
properties: {},
|
|
57667
|
+
type: 'object',
|
|
57668
|
+
},
|
|
57669
|
+
reservation_spaces_updated: {
|
|
57670
|
+
nullable: true,
|
|
57671
|
+
properties: {},
|
|
57672
|
+
type: 'object',
|
|
57673
|
+
},
|
|
57674
|
+
reservation_time_updated: {
|
|
57675
|
+
nullable: true,
|
|
57676
|
+
properties: {},
|
|
57677
|
+
type: 'object',
|
|
57678
|
+
},
|
|
57679
|
+
},
|
|
57680
|
+
type: 'object',
|
|
57681
|
+
},
|
|
57682
|
+
},
|
|
57683
|
+
type: 'object',
|
|
57684
|
+
},
|
|
57452
57685
|
},
|
|
57453
57686
|
type: 'object',
|
|
57454
57687
|
},
|
|
@@ -58728,6 +58961,101 @@ const openapi = {
|
|
|
58728
58961
|
required: ['rules'],
|
|
58729
58962
|
type: 'object',
|
|
58730
58963
|
},
|
|
58964
|
+
sound_rules: {
|
|
58965
|
+
properties: {
|
|
58966
|
+
rules: {
|
|
58967
|
+
properties: {
|
|
58968
|
+
reservation_created: {
|
|
58969
|
+
properties: {
|
|
58970
|
+
on_check_in: {
|
|
58971
|
+
properties: {
|
|
58972
|
+
minutes_before_check_in: {
|
|
58973
|
+
maximum: 1440,
|
|
58974
|
+
minimum: 0,
|
|
58975
|
+
type: 'integer',
|
|
58976
|
+
},
|
|
58977
|
+
noise_sensors: {
|
|
58978
|
+
properties: {
|
|
58979
|
+
noise_thresholds: {
|
|
58980
|
+
items: {
|
|
58981
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
58982
|
+
},
|
|
58983
|
+
maxItems: 10,
|
|
58984
|
+
type: 'array',
|
|
58985
|
+
},
|
|
58986
|
+
},
|
|
58987
|
+
required: ['noise_thresholds'],
|
|
58988
|
+
type: 'object',
|
|
58989
|
+
},
|
|
58990
|
+
speakers: {
|
|
58991
|
+
properties: {
|
|
58992
|
+
play_chime: { type: 'boolean' },
|
|
58993
|
+
set_volume_to: {
|
|
58994
|
+
maximum: 100,
|
|
58995
|
+
minimum: 0,
|
|
58996
|
+
type: 'integer',
|
|
58997
|
+
},
|
|
58998
|
+
unmute: { type: 'boolean' },
|
|
58999
|
+
},
|
|
59000
|
+
type: 'object',
|
|
59001
|
+
},
|
|
59002
|
+
},
|
|
59003
|
+
type: 'object',
|
|
59004
|
+
},
|
|
59005
|
+
on_check_out: {
|
|
59006
|
+
properties: {
|
|
59007
|
+
minutes_after_check_out: {
|
|
59008
|
+
maximum: 1440,
|
|
59009
|
+
minimum: 0,
|
|
59010
|
+
type: 'integer',
|
|
59011
|
+
},
|
|
59012
|
+
noise_sensors: {
|
|
59013
|
+
properties: {
|
|
59014
|
+
noise_thresholds: {
|
|
59015
|
+
items: {
|
|
59016
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
59017
|
+
},
|
|
59018
|
+
maxItems: 10,
|
|
59019
|
+
type: 'array',
|
|
59020
|
+
},
|
|
59021
|
+
},
|
|
59022
|
+
required: ['noise_thresholds'],
|
|
59023
|
+
type: 'object',
|
|
59024
|
+
},
|
|
59025
|
+
speakers: {
|
|
59026
|
+
properties: {
|
|
59027
|
+
pause_playback: { type: 'boolean' },
|
|
59028
|
+
reset_volume_to: {
|
|
59029
|
+
maximum: 100,
|
|
59030
|
+
minimum: 0,
|
|
59031
|
+
type: 'integer',
|
|
59032
|
+
},
|
|
59033
|
+
unmute: { type: 'boolean' },
|
|
59034
|
+
},
|
|
59035
|
+
type: 'object',
|
|
59036
|
+
},
|
|
59037
|
+
},
|
|
59038
|
+
type: 'object',
|
|
59039
|
+
},
|
|
59040
|
+
},
|
|
59041
|
+
type: 'object',
|
|
59042
|
+
},
|
|
59043
|
+
reservation_deleted: {
|
|
59044
|
+
$ref: '#/components/schemas/access_code',
|
|
59045
|
+
},
|
|
59046
|
+
reservation_spaces_updated: {
|
|
59047
|
+
$ref: '#/components/schemas/access_code',
|
|
59048
|
+
},
|
|
59049
|
+
reservation_time_updated: {
|
|
59050
|
+
$ref: '#/components/schemas/access_code',
|
|
59051
|
+
},
|
|
59052
|
+
},
|
|
59053
|
+
type: 'object',
|
|
59054
|
+
},
|
|
59055
|
+
},
|
|
59056
|
+
required: ['rules'],
|
|
59057
|
+
type: 'object',
|
|
59058
|
+
},
|
|
58731
59059
|
},
|
|
58732
59060
|
type: 'object',
|
|
58733
59061
|
},
|
|
@@ -59033,6 +59361,136 @@ const openapi = {
|
|
|
59033
59361
|
},
|
|
59034
59362
|
type: 'object',
|
|
59035
59363
|
},
|
|
59364
|
+
sound_rules: {
|
|
59365
|
+
description: 'Sound automation rules configuration.',
|
|
59366
|
+
properties: {
|
|
59367
|
+
rules: {
|
|
59368
|
+
properties: {
|
|
59369
|
+
reservation_created: {
|
|
59370
|
+
nullable: true,
|
|
59371
|
+
properties: {
|
|
59372
|
+
on_check_in: {
|
|
59373
|
+
properties: {
|
|
59374
|
+
minutes_before_check_in: {
|
|
59375
|
+
maximum: 1440,
|
|
59376
|
+
minimum: 0,
|
|
59377
|
+
type: 'integer',
|
|
59378
|
+
},
|
|
59379
|
+
noise_sensors: {
|
|
59380
|
+
properties: {
|
|
59381
|
+
noise_thresholds: {
|
|
59382
|
+
items: {
|
|
59383
|
+
properties: {
|
|
59384
|
+
ends_daily_at: { type: 'string' },
|
|
59385
|
+
name: { type: 'string' },
|
|
59386
|
+
noise_threshold_decibels: {
|
|
59387
|
+
format: 'float',
|
|
59388
|
+
type: 'number',
|
|
59389
|
+
},
|
|
59390
|
+
starts_daily_at: { type: 'string' },
|
|
59391
|
+
},
|
|
59392
|
+
required: [
|
|
59393
|
+
'starts_daily_at',
|
|
59394
|
+
'ends_daily_at',
|
|
59395
|
+
'noise_threshold_decibels',
|
|
59396
|
+
],
|
|
59397
|
+
type: 'object',
|
|
59398
|
+
},
|
|
59399
|
+
maxItems: 10,
|
|
59400
|
+
type: 'array',
|
|
59401
|
+
},
|
|
59402
|
+
},
|
|
59403
|
+
required: ['noise_thresholds'],
|
|
59404
|
+
type: 'object',
|
|
59405
|
+
},
|
|
59406
|
+
speakers: {
|
|
59407
|
+
properties: {
|
|
59408
|
+
play_chime: { type: 'boolean' },
|
|
59409
|
+
set_volume_to: {
|
|
59410
|
+
maximum: 100,
|
|
59411
|
+
minimum: 0,
|
|
59412
|
+
type: 'integer',
|
|
59413
|
+
},
|
|
59414
|
+
unmute: { type: 'boolean' },
|
|
59415
|
+
},
|
|
59416
|
+
type: 'object',
|
|
59417
|
+
},
|
|
59418
|
+
},
|
|
59419
|
+
type: 'object',
|
|
59420
|
+
},
|
|
59421
|
+
on_check_out: {
|
|
59422
|
+
properties: {
|
|
59423
|
+
minutes_after_check_out: {
|
|
59424
|
+
maximum: 1440,
|
|
59425
|
+
minimum: 0,
|
|
59426
|
+
type: 'integer',
|
|
59427
|
+
},
|
|
59428
|
+
noise_sensors: {
|
|
59429
|
+
properties: {
|
|
59430
|
+
noise_thresholds: {
|
|
59431
|
+
items: {
|
|
59432
|
+
properties: {
|
|
59433
|
+
ends_daily_at: { type: 'string' },
|
|
59434
|
+
name: { type: 'string' },
|
|
59435
|
+
noise_threshold_decibels: {
|
|
59436
|
+
format: 'float',
|
|
59437
|
+
type: 'number',
|
|
59438
|
+
},
|
|
59439
|
+
starts_daily_at: { type: 'string' },
|
|
59440
|
+
},
|
|
59441
|
+
required: [
|
|
59442
|
+
'starts_daily_at',
|
|
59443
|
+
'ends_daily_at',
|
|
59444
|
+
'noise_threshold_decibels',
|
|
59445
|
+
],
|
|
59446
|
+
type: 'object',
|
|
59447
|
+
},
|
|
59448
|
+
maxItems: 10,
|
|
59449
|
+
type: 'array',
|
|
59450
|
+
},
|
|
59451
|
+
},
|
|
59452
|
+
required: ['noise_thresholds'],
|
|
59453
|
+
type: 'object',
|
|
59454
|
+
},
|
|
59455
|
+
speakers: {
|
|
59456
|
+
properties: {
|
|
59457
|
+
pause_playback: { type: 'boolean' },
|
|
59458
|
+
reset_volume_to: {
|
|
59459
|
+
maximum: 100,
|
|
59460
|
+
minimum: 0,
|
|
59461
|
+
type: 'integer',
|
|
59462
|
+
},
|
|
59463
|
+
unmute: { type: 'boolean' },
|
|
59464
|
+
},
|
|
59465
|
+
type: 'object',
|
|
59466
|
+
},
|
|
59467
|
+
},
|
|
59468
|
+
type: 'object',
|
|
59469
|
+
},
|
|
59470
|
+
},
|
|
59471
|
+
type: 'object',
|
|
59472
|
+
},
|
|
59473
|
+
reservation_deleted: {
|
|
59474
|
+
nullable: true,
|
|
59475
|
+
properties: {},
|
|
59476
|
+
type: 'object',
|
|
59477
|
+
},
|
|
59478
|
+
reservation_spaces_updated: {
|
|
59479
|
+
nullable: true,
|
|
59480
|
+
properties: {},
|
|
59481
|
+
type: 'object',
|
|
59482
|
+
},
|
|
59483
|
+
reservation_time_updated: {
|
|
59484
|
+
nullable: true,
|
|
59485
|
+
properties: {},
|
|
59486
|
+
type: 'object',
|
|
59487
|
+
},
|
|
59488
|
+
},
|
|
59489
|
+
type: 'object',
|
|
59490
|
+
},
|
|
59491
|
+
},
|
|
59492
|
+
type: 'object',
|
|
59493
|
+
},
|
|
59036
59494
|
},
|
|
59037
59495
|
type: 'object',
|
|
59038
59496
|
},
|