@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
|
@@ -16896,6 +16896,11 @@ const openapi: OpenAPISpec = {
|
|
|
16896
16896
|
'ID of the Sonos player for the speaker.',
|
|
16897
16897
|
type: 'string',
|
|
16898
16898
|
},
|
|
16899
|
+
player_name: {
|
|
16900
|
+
description:
|
|
16901
|
+
'Name of the speaker, as set in the Sonos app.',
|
|
16902
|
+
type: 'string',
|
|
16903
|
+
},
|
|
16899
16904
|
software_version: {
|
|
16900
16905
|
description:
|
|
16901
16906
|
'Software version running on the speaker.',
|
|
@@ -19493,6 +19498,7 @@ const openapi: OpenAPISpec = {
|
|
|
19493
19498
|
'omnitec',
|
|
19494
19499
|
'kisi',
|
|
19495
19500
|
'aqara',
|
|
19501
|
+
'sonos',
|
|
19496
19502
|
],
|
|
19497
19503
|
type: 'string',
|
|
19498
19504
|
},
|
|
@@ -49974,6 +49980,7 @@ const openapi: OpenAPISpec = {
|
|
|
49974
49980
|
'omnitec',
|
|
49975
49981
|
'kisi',
|
|
49976
49982
|
'aqara',
|
|
49983
|
+
'sonos',
|
|
49977
49984
|
'yale_access',
|
|
49978
49985
|
'hid_cm',
|
|
49979
49986
|
'google_nest',
|
|
@@ -53854,6 +53861,7 @@ const openapi: OpenAPISpec = {
|
|
|
53854
53861
|
'kisi',
|
|
53855
53862
|
'slack',
|
|
53856
53863
|
'yacan',
|
|
53864
|
+
'sonos',
|
|
53857
53865
|
],
|
|
53858
53866
|
type: 'string',
|
|
53859
53867
|
},
|
|
@@ -56190,6 +56198,7 @@ const openapi: OpenAPISpec = {
|
|
|
56190
56198
|
'kisi',
|
|
56191
56199
|
'slack',
|
|
56192
56200
|
'yacan',
|
|
56201
|
+
'sonos',
|
|
56193
56202
|
],
|
|
56194
56203
|
type: 'string',
|
|
56195
56204
|
},
|
|
@@ -62640,6 +62649,101 @@ const openapi: OpenAPISpec = {
|
|
|
62640
62649
|
type: 'object',
|
|
62641
62650
|
},
|
|
62642
62651
|
ok: { type: 'boolean' },
|
|
62652
|
+
sound_rules: {
|
|
62653
|
+
properties: {
|
|
62654
|
+
rules: {
|
|
62655
|
+
properties: {
|
|
62656
|
+
reservation_created: {
|
|
62657
|
+
properties: {
|
|
62658
|
+
on_check_in: {
|
|
62659
|
+
properties: {
|
|
62660
|
+
minutes_before_check_in: {
|
|
62661
|
+
maximum: 1440,
|
|
62662
|
+
minimum: 0,
|
|
62663
|
+
type: 'integer',
|
|
62664
|
+
},
|
|
62665
|
+
noise_sensors: {
|
|
62666
|
+
properties: {
|
|
62667
|
+
noise_thresholds: {
|
|
62668
|
+
items: {
|
|
62669
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
62670
|
+
},
|
|
62671
|
+
maxItems: 10,
|
|
62672
|
+
type: 'array',
|
|
62673
|
+
},
|
|
62674
|
+
},
|
|
62675
|
+
required: ['noise_thresholds'],
|
|
62676
|
+
type: 'object',
|
|
62677
|
+
},
|
|
62678
|
+
speakers: {
|
|
62679
|
+
properties: {
|
|
62680
|
+
play_chime: { type: 'boolean' },
|
|
62681
|
+
set_volume_to: {
|
|
62682
|
+
maximum: 100,
|
|
62683
|
+
minimum: 0,
|
|
62684
|
+
type: 'integer',
|
|
62685
|
+
},
|
|
62686
|
+
unmute: { type: 'boolean' },
|
|
62687
|
+
},
|
|
62688
|
+
type: 'object',
|
|
62689
|
+
},
|
|
62690
|
+
},
|
|
62691
|
+
type: 'object',
|
|
62692
|
+
},
|
|
62693
|
+
on_check_out: {
|
|
62694
|
+
properties: {
|
|
62695
|
+
minutes_after_check_out: {
|
|
62696
|
+
maximum: 1440,
|
|
62697
|
+
minimum: 0,
|
|
62698
|
+
type: 'integer',
|
|
62699
|
+
},
|
|
62700
|
+
noise_sensors: {
|
|
62701
|
+
properties: {
|
|
62702
|
+
noise_thresholds: {
|
|
62703
|
+
items: {
|
|
62704
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
62705
|
+
},
|
|
62706
|
+
maxItems: 10,
|
|
62707
|
+
type: 'array',
|
|
62708
|
+
},
|
|
62709
|
+
},
|
|
62710
|
+
required: ['noise_thresholds'],
|
|
62711
|
+
type: 'object',
|
|
62712
|
+
},
|
|
62713
|
+
speakers: {
|
|
62714
|
+
properties: {
|
|
62715
|
+
pause_playback: { type: 'boolean' },
|
|
62716
|
+
reset_volume_to: {
|
|
62717
|
+
maximum: 100,
|
|
62718
|
+
minimum: 0,
|
|
62719
|
+
type: 'integer',
|
|
62720
|
+
},
|
|
62721
|
+
unmute: { type: 'boolean' },
|
|
62722
|
+
},
|
|
62723
|
+
type: 'object',
|
|
62724
|
+
},
|
|
62725
|
+
},
|
|
62726
|
+
type: 'object',
|
|
62727
|
+
},
|
|
62728
|
+
},
|
|
62729
|
+
type: 'object',
|
|
62730
|
+
},
|
|
62731
|
+
reservation_deleted: {
|
|
62732
|
+
$ref: '#/components/schemas/access_code',
|
|
62733
|
+
},
|
|
62734
|
+
reservation_spaces_updated: {
|
|
62735
|
+
$ref: '#/components/schemas/access_code',
|
|
62736
|
+
},
|
|
62737
|
+
reservation_time_updated: {
|
|
62738
|
+
$ref: '#/components/schemas/access_code',
|
|
62739
|
+
},
|
|
62740
|
+
},
|
|
62741
|
+
type: 'object',
|
|
62742
|
+
},
|
|
62743
|
+
},
|
|
62744
|
+
required: ['rules'],
|
|
62745
|
+
type: 'object',
|
|
62746
|
+
},
|
|
62643
62747
|
},
|
|
62644
62748
|
required: ['ok'],
|
|
62645
62749
|
type: 'object',
|
|
@@ -62939,6 +63043,136 @@ const openapi: OpenAPISpec = {
|
|
|
62939
63043
|
minLength: 1,
|
|
62940
63044
|
type: 'string',
|
|
62941
63045
|
},
|
|
63046
|
+
sound_rules: {
|
|
63047
|
+
description: 'Sound automation rules configuration.',
|
|
63048
|
+
properties: {
|
|
63049
|
+
rules: {
|
|
63050
|
+
properties: {
|
|
63051
|
+
reservation_created: {
|
|
63052
|
+
nullable: true,
|
|
63053
|
+
properties: {
|
|
63054
|
+
on_check_in: {
|
|
63055
|
+
properties: {
|
|
63056
|
+
minutes_before_check_in: {
|
|
63057
|
+
maximum: 1440,
|
|
63058
|
+
minimum: 0,
|
|
63059
|
+
type: 'integer',
|
|
63060
|
+
},
|
|
63061
|
+
noise_sensors: {
|
|
63062
|
+
properties: {
|
|
63063
|
+
noise_thresholds: {
|
|
63064
|
+
items: {
|
|
63065
|
+
properties: {
|
|
63066
|
+
ends_daily_at: { type: 'string' },
|
|
63067
|
+
name: { type: 'string' },
|
|
63068
|
+
noise_threshold_decibels: {
|
|
63069
|
+
format: 'float',
|
|
63070
|
+
type: 'number',
|
|
63071
|
+
},
|
|
63072
|
+
starts_daily_at: { type: 'string' },
|
|
63073
|
+
},
|
|
63074
|
+
required: [
|
|
63075
|
+
'starts_daily_at',
|
|
63076
|
+
'ends_daily_at',
|
|
63077
|
+
'noise_threshold_decibels',
|
|
63078
|
+
],
|
|
63079
|
+
type: 'object',
|
|
63080
|
+
},
|
|
63081
|
+
maxItems: 10,
|
|
63082
|
+
type: 'array',
|
|
63083
|
+
},
|
|
63084
|
+
},
|
|
63085
|
+
required: ['noise_thresholds'],
|
|
63086
|
+
type: 'object',
|
|
63087
|
+
},
|
|
63088
|
+
speakers: {
|
|
63089
|
+
properties: {
|
|
63090
|
+
play_chime: { type: 'boolean' },
|
|
63091
|
+
set_volume_to: {
|
|
63092
|
+
maximum: 100,
|
|
63093
|
+
minimum: 0,
|
|
63094
|
+
type: 'integer',
|
|
63095
|
+
},
|
|
63096
|
+
unmute: { type: 'boolean' },
|
|
63097
|
+
},
|
|
63098
|
+
type: 'object',
|
|
63099
|
+
},
|
|
63100
|
+
},
|
|
63101
|
+
type: 'object',
|
|
63102
|
+
},
|
|
63103
|
+
on_check_out: {
|
|
63104
|
+
properties: {
|
|
63105
|
+
minutes_after_check_out: {
|
|
63106
|
+
maximum: 1440,
|
|
63107
|
+
minimum: 0,
|
|
63108
|
+
type: 'integer',
|
|
63109
|
+
},
|
|
63110
|
+
noise_sensors: {
|
|
63111
|
+
properties: {
|
|
63112
|
+
noise_thresholds: {
|
|
63113
|
+
items: {
|
|
63114
|
+
properties: {
|
|
63115
|
+
ends_daily_at: { type: 'string' },
|
|
63116
|
+
name: { type: 'string' },
|
|
63117
|
+
noise_threshold_decibels: {
|
|
63118
|
+
format: 'float',
|
|
63119
|
+
type: 'number',
|
|
63120
|
+
},
|
|
63121
|
+
starts_daily_at: { type: 'string' },
|
|
63122
|
+
},
|
|
63123
|
+
required: [
|
|
63124
|
+
'starts_daily_at',
|
|
63125
|
+
'ends_daily_at',
|
|
63126
|
+
'noise_threshold_decibels',
|
|
63127
|
+
],
|
|
63128
|
+
type: 'object',
|
|
63129
|
+
},
|
|
63130
|
+
maxItems: 10,
|
|
63131
|
+
type: 'array',
|
|
63132
|
+
},
|
|
63133
|
+
},
|
|
63134
|
+
required: ['noise_thresholds'],
|
|
63135
|
+
type: 'object',
|
|
63136
|
+
},
|
|
63137
|
+
speakers: {
|
|
63138
|
+
properties: {
|
|
63139
|
+
pause_playback: { type: 'boolean' },
|
|
63140
|
+
reset_volume_to: {
|
|
63141
|
+
maximum: 100,
|
|
63142
|
+
minimum: 0,
|
|
63143
|
+
type: 'integer',
|
|
63144
|
+
},
|
|
63145
|
+
unmute: { type: 'boolean' },
|
|
63146
|
+
},
|
|
63147
|
+
type: 'object',
|
|
63148
|
+
},
|
|
63149
|
+
},
|
|
63150
|
+
type: 'object',
|
|
63151
|
+
},
|
|
63152
|
+
},
|
|
63153
|
+
type: 'object',
|
|
63154
|
+
},
|
|
63155
|
+
reservation_deleted: {
|
|
63156
|
+
nullable: true,
|
|
63157
|
+
properties: {},
|
|
63158
|
+
type: 'object',
|
|
63159
|
+
},
|
|
63160
|
+
reservation_spaces_updated: {
|
|
63161
|
+
nullable: true,
|
|
63162
|
+
properties: {},
|
|
63163
|
+
type: 'object',
|
|
63164
|
+
},
|
|
63165
|
+
reservation_time_updated: {
|
|
63166
|
+
nullable: true,
|
|
63167
|
+
properties: {},
|
|
63168
|
+
type: 'object',
|
|
63169
|
+
},
|
|
63170
|
+
},
|
|
63171
|
+
type: 'object',
|
|
63172
|
+
},
|
|
63173
|
+
},
|
|
63174
|
+
type: 'object',
|
|
63175
|
+
},
|
|
62942
63176
|
},
|
|
62943
63177
|
type: 'object',
|
|
62944
63178
|
},
|
|
@@ -64256,6 +64490,101 @@ const openapi: OpenAPISpec = {
|
|
|
64256
64490
|
required: ['rules'],
|
|
64257
64491
|
type: 'object',
|
|
64258
64492
|
},
|
|
64493
|
+
sound_rules: {
|
|
64494
|
+
properties: {
|
|
64495
|
+
rules: {
|
|
64496
|
+
properties: {
|
|
64497
|
+
reservation_created: {
|
|
64498
|
+
properties: {
|
|
64499
|
+
on_check_in: {
|
|
64500
|
+
properties: {
|
|
64501
|
+
minutes_before_check_in: {
|
|
64502
|
+
maximum: 1440,
|
|
64503
|
+
minimum: 0,
|
|
64504
|
+
type: 'integer',
|
|
64505
|
+
},
|
|
64506
|
+
noise_sensors: {
|
|
64507
|
+
properties: {
|
|
64508
|
+
noise_thresholds: {
|
|
64509
|
+
items: {
|
|
64510
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
64511
|
+
},
|
|
64512
|
+
maxItems: 10,
|
|
64513
|
+
type: 'array',
|
|
64514
|
+
},
|
|
64515
|
+
},
|
|
64516
|
+
required: ['noise_thresholds'],
|
|
64517
|
+
type: 'object',
|
|
64518
|
+
},
|
|
64519
|
+
speakers: {
|
|
64520
|
+
properties: {
|
|
64521
|
+
play_chime: { type: 'boolean' },
|
|
64522
|
+
set_volume_to: {
|
|
64523
|
+
maximum: 100,
|
|
64524
|
+
minimum: 0,
|
|
64525
|
+
type: 'integer',
|
|
64526
|
+
},
|
|
64527
|
+
unmute: { type: 'boolean' },
|
|
64528
|
+
},
|
|
64529
|
+
type: 'object',
|
|
64530
|
+
},
|
|
64531
|
+
},
|
|
64532
|
+
type: 'object',
|
|
64533
|
+
},
|
|
64534
|
+
on_check_out: {
|
|
64535
|
+
properties: {
|
|
64536
|
+
minutes_after_check_out: {
|
|
64537
|
+
maximum: 1440,
|
|
64538
|
+
minimum: 0,
|
|
64539
|
+
type: 'integer',
|
|
64540
|
+
},
|
|
64541
|
+
noise_sensors: {
|
|
64542
|
+
properties: {
|
|
64543
|
+
noise_thresholds: {
|
|
64544
|
+
items: {
|
|
64545
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
64546
|
+
},
|
|
64547
|
+
maxItems: 10,
|
|
64548
|
+
type: 'array',
|
|
64549
|
+
},
|
|
64550
|
+
},
|
|
64551
|
+
required: ['noise_thresholds'],
|
|
64552
|
+
type: 'object',
|
|
64553
|
+
},
|
|
64554
|
+
speakers: {
|
|
64555
|
+
properties: {
|
|
64556
|
+
pause_playback: { type: 'boolean' },
|
|
64557
|
+
reset_volume_to: {
|
|
64558
|
+
maximum: 100,
|
|
64559
|
+
minimum: 0,
|
|
64560
|
+
type: 'integer',
|
|
64561
|
+
},
|
|
64562
|
+
unmute: { type: 'boolean' },
|
|
64563
|
+
},
|
|
64564
|
+
type: 'object',
|
|
64565
|
+
},
|
|
64566
|
+
},
|
|
64567
|
+
type: 'object',
|
|
64568
|
+
},
|
|
64569
|
+
},
|
|
64570
|
+
type: 'object',
|
|
64571
|
+
},
|
|
64572
|
+
reservation_deleted: {
|
|
64573
|
+
$ref: '#/components/schemas/access_code',
|
|
64574
|
+
},
|
|
64575
|
+
reservation_spaces_updated: {
|
|
64576
|
+
$ref: '#/components/schemas/access_code',
|
|
64577
|
+
},
|
|
64578
|
+
reservation_time_updated: {
|
|
64579
|
+
$ref: '#/components/schemas/access_code',
|
|
64580
|
+
},
|
|
64581
|
+
},
|
|
64582
|
+
type: 'object',
|
|
64583
|
+
},
|
|
64584
|
+
},
|
|
64585
|
+
required: ['rules'],
|
|
64586
|
+
type: 'object',
|
|
64587
|
+
},
|
|
64259
64588
|
},
|
|
64260
64589
|
type: 'object',
|
|
64261
64590
|
},
|
|
@@ -64563,6 +64892,136 @@ const openapi: OpenAPISpec = {
|
|
|
64563
64892
|
},
|
|
64564
64893
|
type: 'object',
|
|
64565
64894
|
},
|
|
64895
|
+
sound_rules: {
|
|
64896
|
+
description: 'Sound automation rules configuration.',
|
|
64897
|
+
properties: {
|
|
64898
|
+
rules: {
|
|
64899
|
+
properties: {
|
|
64900
|
+
reservation_created: {
|
|
64901
|
+
nullable: true,
|
|
64902
|
+
properties: {
|
|
64903
|
+
on_check_in: {
|
|
64904
|
+
properties: {
|
|
64905
|
+
minutes_before_check_in: {
|
|
64906
|
+
maximum: 1440,
|
|
64907
|
+
minimum: 0,
|
|
64908
|
+
type: 'integer',
|
|
64909
|
+
},
|
|
64910
|
+
noise_sensors: {
|
|
64911
|
+
properties: {
|
|
64912
|
+
noise_thresholds: {
|
|
64913
|
+
items: {
|
|
64914
|
+
properties: {
|
|
64915
|
+
ends_daily_at: { type: 'string' },
|
|
64916
|
+
name: { type: 'string' },
|
|
64917
|
+
noise_threshold_decibels: {
|
|
64918
|
+
format: 'float',
|
|
64919
|
+
type: 'number',
|
|
64920
|
+
},
|
|
64921
|
+
starts_daily_at: { type: 'string' },
|
|
64922
|
+
},
|
|
64923
|
+
required: [
|
|
64924
|
+
'starts_daily_at',
|
|
64925
|
+
'ends_daily_at',
|
|
64926
|
+
'noise_threshold_decibels',
|
|
64927
|
+
],
|
|
64928
|
+
type: 'object',
|
|
64929
|
+
},
|
|
64930
|
+
maxItems: 10,
|
|
64931
|
+
type: 'array',
|
|
64932
|
+
},
|
|
64933
|
+
},
|
|
64934
|
+
required: ['noise_thresholds'],
|
|
64935
|
+
type: 'object',
|
|
64936
|
+
},
|
|
64937
|
+
speakers: {
|
|
64938
|
+
properties: {
|
|
64939
|
+
play_chime: { type: 'boolean' },
|
|
64940
|
+
set_volume_to: {
|
|
64941
|
+
maximum: 100,
|
|
64942
|
+
minimum: 0,
|
|
64943
|
+
type: 'integer',
|
|
64944
|
+
},
|
|
64945
|
+
unmute: { type: 'boolean' },
|
|
64946
|
+
},
|
|
64947
|
+
type: 'object',
|
|
64948
|
+
},
|
|
64949
|
+
},
|
|
64950
|
+
type: 'object',
|
|
64951
|
+
},
|
|
64952
|
+
on_check_out: {
|
|
64953
|
+
properties: {
|
|
64954
|
+
minutes_after_check_out: {
|
|
64955
|
+
maximum: 1440,
|
|
64956
|
+
minimum: 0,
|
|
64957
|
+
type: 'integer',
|
|
64958
|
+
},
|
|
64959
|
+
noise_sensors: {
|
|
64960
|
+
properties: {
|
|
64961
|
+
noise_thresholds: {
|
|
64962
|
+
items: {
|
|
64963
|
+
properties: {
|
|
64964
|
+
ends_daily_at: { type: 'string' },
|
|
64965
|
+
name: { type: 'string' },
|
|
64966
|
+
noise_threshold_decibels: {
|
|
64967
|
+
format: 'float',
|
|
64968
|
+
type: 'number',
|
|
64969
|
+
},
|
|
64970
|
+
starts_daily_at: { type: 'string' },
|
|
64971
|
+
},
|
|
64972
|
+
required: [
|
|
64973
|
+
'starts_daily_at',
|
|
64974
|
+
'ends_daily_at',
|
|
64975
|
+
'noise_threshold_decibels',
|
|
64976
|
+
],
|
|
64977
|
+
type: 'object',
|
|
64978
|
+
},
|
|
64979
|
+
maxItems: 10,
|
|
64980
|
+
type: 'array',
|
|
64981
|
+
},
|
|
64982
|
+
},
|
|
64983
|
+
required: ['noise_thresholds'],
|
|
64984
|
+
type: 'object',
|
|
64985
|
+
},
|
|
64986
|
+
speakers: {
|
|
64987
|
+
properties: {
|
|
64988
|
+
pause_playback: { type: 'boolean' },
|
|
64989
|
+
reset_volume_to: {
|
|
64990
|
+
maximum: 100,
|
|
64991
|
+
minimum: 0,
|
|
64992
|
+
type: 'integer',
|
|
64993
|
+
},
|
|
64994
|
+
unmute: { type: 'boolean' },
|
|
64995
|
+
},
|
|
64996
|
+
type: 'object',
|
|
64997
|
+
},
|
|
64998
|
+
},
|
|
64999
|
+
type: 'object',
|
|
65000
|
+
},
|
|
65001
|
+
},
|
|
65002
|
+
type: 'object',
|
|
65003
|
+
},
|
|
65004
|
+
reservation_deleted: {
|
|
65005
|
+
nullable: true,
|
|
65006
|
+
properties: {},
|
|
65007
|
+
type: 'object',
|
|
65008
|
+
},
|
|
65009
|
+
reservation_spaces_updated: {
|
|
65010
|
+
nullable: true,
|
|
65011
|
+
properties: {},
|
|
65012
|
+
type: 'object',
|
|
65013
|
+
},
|
|
65014
|
+
reservation_time_updated: {
|
|
65015
|
+
nullable: true,
|
|
65016
|
+
properties: {},
|
|
65017
|
+
type: 'object',
|
|
65018
|
+
},
|
|
65019
|
+
},
|
|
65020
|
+
type: 'object',
|
|
65021
|
+
},
|
|
65022
|
+
},
|
|
65023
|
+
type: 'object',
|
|
65024
|
+
},
|
|
64566
65025
|
},
|
|
64567
65026
|
type: 'object',
|
|
64568
65027
|
},
|