@seamapi/types 1.1137.0 → 1.1139.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/connected-accounts/connected-account.js +7 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +59 -4
- package/lib/seam/connect/models/spaces/space.js +17 -1
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.js +259 -160
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +209 -90
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +7 -1
- package/src/lib/seam/connect/models/spaces/space.ts +22 -1
- package/src/lib/seam/connect/openapi.ts +273 -160
- package/src/lib/seam/connect/route-types.ts +354 -184
|
@@ -14984,6 +14984,7 @@ const openapi: OpenAPISpec = {
|
|
|
14984
14984
|
type: 'object',
|
|
14985
14985
|
},
|
|
14986
14986
|
{
|
|
14987
|
+
deprecated: true,
|
|
14987
14988
|
description:
|
|
14988
14989
|
'Indicates that one or more dormakaba sites associated with the connected account are not approved. Contact support@getseam.com to finish setting up your account.',
|
|
14989
14990
|
properties: {
|
|
@@ -15007,6 +15008,7 @@ const openapi: OpenAPISpec = {
|
|
|
15007
15008
|
},
|
|
15008
15009
|
required: ['created_at', 'message', 'warning_code'],
|
|
15009
15010
|
type: 'object',
|
|
15011
|
+
'x-deprecated': 'Seam no longer sets this warning.',
|
|
15010
15012
|
},
|
|
15011
15013
|
],
|
|
15012
15014
|
},
|
|
@@ -35578,6 +35580,42 @@ const openapi: OpenAPISpec = {
|
|
|
35578
35580
|
required: ['created_at', 'message', 'warning_code'],
|
|
35579
35581
|
type: 'object',
|
|
35580
35582
|
},
|
|
35583
|
+
{
|
|
35584
|
+
description:
|
|
35585
|
+
"Indicates that Seam could not apply the noise sensor automation to one or more noise sensors in the space, for example because their settings keep changing back after Seam re-applies it, Seam does not know the sensor's time zone yet, or the sensor is shared with spaces that configure it differently.",
|
|
35586
|
+
properties: {
|
|
35587
|
+
created_at: {
|
|
35588
|
+
description:
|
|
35589
|
+
'Date and time at which Seam created the warning.',
|
|
35590
|
+
format: 'date-time',
|
|
35591
|
+
type: 'string',
|
|
35592
|
+
},
|
|
35593
|
+
device_ids: {
|
|
35594
|
+
description:
|
|
35595
|
+
'IDs of the noise sensors in the space that Seam could not bring in line with the noise sensor automation.',
|
|
35596
|
+
items: { format: 'uuid', type: 'string' },
|
|
35597
|
+
type: 'array',
|
|
35598
|
+
},
|
|
35599
|
+
message: {
|
|
35600
|
+
description:
|
|
35601
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
35602
|
+
type: 'string',
|
|
35603
|
+
},
|
|
35604
|
+
warning_code: {
|
|
35605
|
+
description:
|
|
35606
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
35607
|
+
enum: ['noise_sensor_configuration_mismatch'],
|
|
35608
|
+
type: 'string',
|
|
35609
|
+
},
|
|
35610
|
+
},
|
|
35611
|
+
required: [
|
|
35612
|
+
'created_at',
|
|
35613
|
+
'message',
|
|
35614
|
+
'warning_code',
|
|
35615
|
+
'device_ids',
|
|
35616
|
+
],
|
|
35617
|
+
type: 'object',
|
|
35618
|
+
},
|
|
35581
35619
|
],
|
|
35582
35620
|
},
|
|
35583
35621
|
type: 'array',
|
|
@@ -64334,6 +64372,64 @@ const openapi: OpenAPISpec = {
|
|
|
64334
64372
|
type: 'object',
|
|
64335
64373
|
},
|
|
64336
64374
|
ok: { type: 'boolean' },
|
|
64375
|
+
sensor_rules: {
|
|
64376
|
+
properties: {
|
|
64377
|
+
rules: {
|
|
64378
|
+
properties: {
|
|
64379
|
+
noise_sensors: {
|
|
64380
|
+
properties: {
|
|
64381
|
+
normal_hours: {
|
|
64382
|
+
properties: {
|
|
64383
|
+
noise_threshold_decibels: {
|
|
64384
|
+
format: 'float',
|
|
64385
|
+
maximum: 120,
|
|
64386
|
+
minimum: 60,
|
|
64387
|
+
type: 'number',
|
|
64388
|
+
},
|
|
64389
|
+
},
|
|
64390
|
+
required: ['noise_threshold_decibels'],
|
|
64391
|
+
type: 'object',
|
|
64392
|
+
},
|
|
64393
|
+
quiet_hours: {
|
|
64394
|
+
nullable: true,
|
|
64395
|
+
properties: {
|
|
64396
|
+
ends_daily_at: {
|
|
64397
|
+
description:
|
|
64398
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
64399
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
64400
|
+
type: 'string',
|
|
64401
|
+
},
|
|
64402
|
+
noise_threshold_decibels: {
|
|
64403
|
+
format: 'float',
|
|
64404
|
+
maximum: 120,
|
|
64405
|
+
minimum: 60,
|
|
64406
|
+
type: 'number',
|
|
64407
|
+
},
|
|
64408
|
+
starts_daily_at: {
|
|
64409
|
+
description:
|
|
64410
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
64411
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
64412
|
+
type: 'string',
|
|
64413
|
+
},
|
|
64414
|
+
},
|
|
64415
|
+
required: [
|
|
64416
|
+
'starts_daily_at',
|
|
64417
|
+
'ends_daily_at',
|
|
64418
|
+
'noise_threshold_decibels',
|
|
64419
|
+
],
|
|
64420
|
+
type: 'object',
|
|
64421
|
+
},
|
|
64422
|
+
},
|
|
64423
|
+
required: ['normal_hours'],
|
|
64424
|
+
type: 'object',
|
|
64425
|
+
},
|
|
64426
|
+
},
|
|
64427
|
+
type: 'object',
|
|
64428
|
+
},
|
|
64429
|
+
},
|
|
64430
|
+
required: ['rules'],
|
|
64431
|
+
type: 'object',
|
|
64432
|
+
},
|
|
64337
64433
|
sound_rules: {
|
|
64338
64434
|
properties: {
|
|
64339
64435
|
rules: {
|
|
@@ -64347,19 +64443,6 @@ const openapi: OpenAPISpec = {
|
|
|
64347
64443
|
minimum: 0,
|
|
64348
64444
|
type: 'integer',
|
|
64349
64445
|
},
|
|
64350
|
-
noise_sensors: {
|
|
64351
|
-
properties: {
|
|
64352
|
-
noise_thresholds: {
|
|
64353
|
-
items: {
|
|
64354
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
64355
|
-
},
|
|
64356
|
-
maxItems: 10,
|
|
64357
|
-
type: 'array',
|
|
64358
|
-
},
|
|
64359
|
-
},
|
|
64360
|
-
required: ['noise_thresholds'],
|
|
64361
|
-
type: 'object',
|
|
64362
|
-
},
|
|
64363
64446
|
speakers: {
|
|
64364
64447
|
properties: {
|
|
64365
64448
|
play_audio_clip: {
|
|
@@ -64412,19 +64495,6 @@ const openapi: OpenAPISpec = {
|
|
|
64412
64495
|
minimum: 0,
|
|
64413
64496
|
type: 'integer',
|
|
64414
64497
|
},
|
|
64415
|
-
noise_sensors: {
|
|
64416
|
-
properties: {
|
|
64417
|
-
noise_thresholds: {
|
|
64418
|
-
items: {
|
|
64419
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
64420
|
-
},
|
|
64421
|
-
maxItems: 10,
|
|
64422
|
-
type: 'array',
|
|
64423
|
-
},
|
|
64424
|
-
},
|
|
64425
|
-
required: ['noise_thresholds'],
|
|
64426
|
-
type: 'object',
|
|
64427
|
-
},
|
|
64428
64498
|
speakers: {
|
|
64429
64499
|
properties: {
|
|
64430
64500
|
pause_playback: { type: 'boolean' },
|
|
@@ -64854,6 +64924,66 @@ const openapi: OpenAPISpec = {
|
|
|
64854
64924
|
minLength: 1,
|
|
64855
64925
|
type: 'string',
|
|
64856
64926
|
},
|
|
64927
|
+
sensor_rules: {
|
|
64928
|
+
description:
|
|
64929
|
+
"Sensor automation rules configuration. Seam treats it as the source of truth: it is applied to the sensors in every space of the customer when saved and to sensors added to those spaces later, and re-applied when a sensor's settings are changed outside Seam.",
|
|
64930
|
+
properties: {
|
|
64931
|
+
rules: {
|
|
64932
|
+
properties: {
|
|
64933
|
+
noise_sensors: {
|
|
64934
|
+
nullable: true,
|
|
64935
|
+
properties: {
|
|
64936
|
+
normal_hours: {
|
|
64937
|
+
properties: {
|
|
64938
|
+
noise_threshold_decibels: {
|
|
64939
|
+
format: 'float',
|
|
64940
|
+
maximum: 120,
|
|
64941
|
+
minimum: 60,
|
|
64942
|
+
type: 'number',
|
|
64943
|
+
},
|
|
64944
|
+
},
|
|
64945
|
+
required: ['noise_threshold_decibels'],
|
|
64946
|
+
type: 'object',
|
|
64947
|
+
},
|
|
64948
|
+
quiet_hours: {
|
|
64949
|
+
nullable: true,
|
|
64950
|
+
properties: {
|
|
64951
|
+
ends_daily_at: {
|
|
64952
|
+
description:
|
|
64953
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
64954
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
64955
|
+
type: 'string',
|
|
64956
|
+
},
|
|
64957
|
+
noise_threshold_decibels: {
|
|
64958
|
+
format: 'float',
|
|
64959
|
+
maximum: 120,
|
|
64960
|
+
minimum: 60,
|
|
64961
|
+
type: 'number',
|
|
64962
|
+
},
|
|
64963
|
+
starts_daily_at: {
|
|
64964
|
+
description:
|
|
64965
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
64966
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
64967
|
+
type: 'string',
|
|
64968
|
+
},
|
|
64969
|
+
},
|
|
64970
|
+
required: [
|
|
64971
|
+
'starts_daily_at',
|
|
64972
|
+
'ends_daily_at',
|
|
64973
|
+
'noise_threshold_decibels',
|
|
64974
|
+
],
|
|
64975
|
+
type: 'object',
|
|
64976
|
+
},
|
|
64977
|
+
},
|
|
64978
|
+
required: ['normal_hours'],
|
|
64979
|
+
type: 'object',
|
|
64980
|
+
},
|
|
64981
|
+
},
|
|
64982
|
+
type: 'object',
|
|
64983
|
+
},
|
|
64984
|
+
},
|
|
64985
|
+
type: 'object',
|
|
64986
|
+
},
|
|
64857
64987
|
sound_rules: {
|
|
64858
64988
|
description: 'Sound automation rules configuration.',
|
|
64859
64989
|
properties: {
|
|
@@ -64869,33 +64999,6 @@ const openapi: OpenAPISpec = {
|
|
|
64869
64999
|
minimum: 0,
|
|
64870
65000
|
type: 'integer',
|
|
64871
65001
|
},
|
|
64872
|
-
noise_sensors: {
|
|
64873
|
-
properties: {
|
|
64874
|
-
noise_thresholds: {
|
|
64875
|
-
items: {
|
|
64876
|
-
properties: {
|
|
64877
|
-
ends_daily_at: { type: 'string' },
|
|
64878
|
-
name: { type: 'string' },
|
|
64879
|
-
noise_threshold_decibels: {
|
|
64880
|
-
format: 'float',
|
|
64881
|
-
type: 'number',
|
|
64882
|
-
},
|
|
64883
|
-
starts_daily_at: { type: 'string' },
|
|
64884
|
-
},
|
|
64885
|
-
required: [
|
|
64886
|
-
'starts_daily_at',
|
|
64887
|
-
'ends_daily_at',
|
|
64888
|
-
'noise_threshold_decibels',
|
|
64889
|
-
],
|
|
64890
|
-
type: 'object',
|
|
64891
|
-
},
|
|
64892
|
-
maxItems: 10,
|
|
64893
|
-
type: 'array',
|
|
64894
|
-
},
|
|
64895
|
-
},
|
|
64896
|
-
required: ['noise_thresholds'],
|
|
64897
|
-
type: 'object',
|
|
64898
|
-
},
|
|
64899
65002
|
speakers: {
|
|
64900
65003
|
properties: {
|
|
64901
65004
|
play_audio_clip: {
|
|
@@ -64948,33 +65051,6 @@ const openapi: OpenAPISpec = {
|
|
|
64948
65051
|
minimum: 0,
|
|
64949
65052
|
type: 'integer',
|
|
64950
65053
|
},
|
|
64951
|
-
noise_sensors: {
|
|
64952
|
-
properties: {
|
|
64953
|
-
noise_thresholds: {
|
|
64954
|
-
items: {
|
|
64955
|
-
properties: {
|
|
64956
|
-
ends_daily_at: { type: 'string' },
|
|
64957
|
-
name: { type: 'string' },
|
|
64958
|
-
noise_threshold_decibels: {
|
|
64959
|
-
format: 'float',
|
|
64960
|
-
type: 'number',
|
|
64961
|
-
},
|
|
64962
|
-
starts_daily_at: { type: 'string' },
|
|
64963
|
-
},
|
|
64964
|
-
required: [
|
|
64965
|
-
'starts_daily_at',
|
|
64966
|
-
'ends_daily_at',
|
|
64967
|
-
'noise_threshold_decibels',
|
|
64968
|
-
],
|
|
64969
|
-
type: 'object',
|
|
64970
|
-
},
|
|
64971
|
-
maxItems: 10,
|
|
64972
|
-
type: 'array',
|
|
64973
|
-
},
|
|
64974
|
-
},
|
|
64975
|
-
required: ['noise_thresholds'],
|
|
64976
|
-
type: 'object',
|
|
64977
|
-
},
|
|
64978
65054
|
speakers: {
|
|
64979
65055
|
properties: {
|
|
64980
65056
|
pause_playback: { type: 'boolean' },
|
|
@@ -66339,6 +66415,64 @@ const openapi: OpenAPISpec = {
|
|
|
66339
66415
|
required: ['rules'],
|
|
66340
66416
|
type: 'object',
|
|
66341
66417
|
},
|
|
66418
|
+
sensor_rules: {
|
|
66419
|
+
properties: {
|
|
66420
|
+
rules: {
|
|
66421
|
+
properties: {
|
|
66422
|
+
noise_sensors: {
|
|
66423
|
+
properties: {
|
|
66424
|
+
normal_hours: {
|
|
66425
|
+
properties: {
|
|
66426
|
+
noise_threshold_decibels: {
|
|
66427
|
+
format: 'float',
|
|
66428
|
+
maximum: 120,
|
|
66429
|
+
minimum: 60,
|
|
66430
|
+
type: 'number',
|
|
66431
|
+
},
|
|
66432
|
+
},
|
|
66433
|
+
required: ['noise_threshold_decibels'],
|
|
66434
|
+
type: 'object',
|
|
66435
|
+
},
|
|
66436
|
+
quiet_hours: {
|
|
66437
|
+
nullable: true,
|
|
66438
|
+
properties: {
|
|
66439
|
+
ends_daily_at: {
|
|
66440
|
+
description:
|
|
66441
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
66442
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
66443
|
+
type: 'string',
|
|
66444
|
+
},
|
|
66445
|
+
noise_threshold_decibels: {
|
|
66446
|
+
format: 'float',
|
|
66447
|
+
maximum: 120,
|
|
66448
|
+
minimum: 60,
|
|
66449
|
+
type: 'number',
|
|
66450
|
+
},
|
|
66451
|
+
starts_daily_at: {
|
|
66452
|
+
description:
|
|
66453
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
66454
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
66455
|
+
type: 'string',
|
|
66456
|
+
},
|
|
66457
|
+
},
|
|
66458
|
+
required: [
|
|
66459
|
+
'starts_daily_at',
|
|
66460
|
+
'ends_daily_at',
|
|
66461
|
+
'noise_threshold_decibels',
|
|
66462
|
+
],
|
|
66463
|
+
type: 'object',
|
|
66464
|
+
},
|
|
66465
|
+
},
|
|
66466
|
+
required: ['normal_hours'],
|
|
66467
|
+
type: 'object',
|
|
66468
|
+
},
|
|
66469
|
+
},
|
|
66470
|
+
type: 'object',
|
|
66471
|
+
},
|
|
66472
|
+
},
|
|
66473
|
+
required: ['rules'],
|
|
66474
|
+
type: 'object',
|
|
66475
|
+
},
|
|
66342
66476
|
sound_rules: {
|
|
66343
66477
|
properties: {
|
|
66344
66478
|
rules: {
|
|
@@ -66352,19 +66486,6 @@ const openapi: OpenAPISpec = {
|
|
|
66352
66486
|
minimum: 0,
|
|
66353
66487
|
type: 'integer',
|
|
66354
66488
|
},
|
|
66355
|
-
noise_sensors: {
|
|
66356
|
-
properties: {
|
|
66357
|
-
noise_thresholds: {
|
|
66358
|
-
items: {
|
|
66359
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
66360
|
-
},
|
|
66361
|
-
maxItems: 10,
|
|
66362
|
-
type: 'array',
|
|
66363
|
-
},
|
|
66364
|
-
},
|
|
66365
|
-
required: ['noise_thresholds'],
|
|
66366
|
-
type: 'object',
|
|
66367
|
-
},
|
|
66368
66489
|
speakers: {
|
|
66369
66490
|
properties: {
|
|
66370
66491
|
play_audio_clip: {
|
|
@@ -66417,19 +66538,6 @@ const openapi: OpenAPISpec = {
|
|
|
66417
66538
|
minimum: 0,
|
|
66418
66539
|
type: 'integer',
|
|
66419
66540
|
},
|
|
66420
|
-
noise_sensors: {
|
|
66421
|
-
properties: {
|
|
66422
|
-
noise_thresholds: {
|
|
66423
|
-
items: {
|
|
66424
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
66425
|
-
},
|
|
66426
|
-
maxItems: 10,
|
|
66427
|
-
type: 'array',
|
|
66428
|
-
},
|
|
66429
|
-
},
|
|
66430
|
-
required: ['noise_thresholds'],
|
|
66431
|
-
type: 'object',
|
|
66432
|
-
},
|
|
66433
66541
|
speakers: {
|
|
66434
66542
|
properties: {
|
|
66435
66543
|
pause_playback: { type: 'boolean' },
|
|
@@ -66779,6 +66887,65 @@ const openapi: OpenAPISpec = {
|
|
|
66779
66887
|
},
|
|
66780
66888
|
type: 'object',
|
|
66781
66889
|
},
|
|
66890
|
+
sensor_rules: {
|
|
66891
|
+
description: 'Sensor automation rules configuration.',
|
|
66892
|
+
properties: {
|
|
66893
|
+
rules: {
|
|
66894
|
+
properties: {
|
|
66895
|
+
noise_sensors: {
|
|
66896
|
+
nullable: true,
|
|
66897
|
+
properties: {
|
|
66898
|
+
normal_hours: {
|
|
66899
|
+
properties: {
|
|
66900
|
+
noise_threshold_decibels: {
|
|
66901
|
+
format: 'float',
|
|
66902
|
+
maximum: 120,
|
|
66903
|
+
minimum: 60,
|
|
66904
|
+
type: 'number',
|
|
66905
|
+
},
|
|
66906
|
+
},
|
|
66907
|
+
required: ['noise_threshold_decibels'],
|
|
66908
|
+
type: 'object',
|
|
66909
|
+
},
|
|
66910
|
+
quiet_hours: {
|
|
66911
|
+
nullable: true,
|
|
66912
|
+
properties: {
|
|
66913
|
+
ends_daily_at: {
|
|
66914
|
+
description:
|
|
66915
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
66916
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
66917
|
+
type: 'string',
|
|
66918
|
+
},
|
|
66919
|
+
noise_threshold_decibels: {
|
|
66920
|
+
format: 'float',
|
|
66921
|
+
maximum: 120,
|
|
66922
|
+
minimum: 60,
|
|
66923
|
+
type: 'number',
|
|
66924
|
+
},
|
|
66925
|
+
starts_daily_at: {
|
|
66926
|
+
description:
|
|
66927
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
66928
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
66929
|
+
type: 'string',
|
|
66930
|
+
},
|
|
66931
|
+
},
|
|
66932
|
+
required: [
|
|
66933
|
+
'starts_daily_at',
|
|
66934
|
+
'ends_daily_at',
|
|
66935
|
+
'noise_threshold_decibels',
|
|
66936
|
+
],
|
|
66937
|
+
type: 'object',
|
|
66938
|
+
},
|
|
66939
|
+
},
|
|
66940
|
+
required: ['normal_hours'],
|
|
66941
|
+
type: 'object',
|
|
66942
|
+
},
|
|
66943
|
+
},
|
|
66944
|
+
type: 'object',
|
|
66945
|
+
},
|
|
66946
|
+
},
|
|
66947
|
+
type: 'object',
|
|
66948
|
+
},
|
|
66782
66949
|
sound_rules: {
|
|
66783
66950
|
description: 'Sound automation rules configuration.',
|
|
66784
66951
|
properties: {
|
|
@@ -66794,33 +66961,6 @@ const openapi: OpenAPISpec = {
|
|
|
66794
66961
|
minimum: 0,
|
|
66795
66962
|
type: 'integer',
|
|
66796
66963
|
},
|
|
66797
|
-
noise_sensors: {
|
|
66798
|
-
properties: {
|
|
66799
|
-
noise_thresholds: {
|
|
66800
|
-
items: {
|
|
66801
|
-
properties: {
|
|
66802
|
-
ends_daily_at: { type: 'string' },
|
|
66803
|
-
name: { type: 'string' },
|
|
66804
|
-
noise_threshold_decibels: {
|
|
66805
|
-
format: 'float',
|
|
66806
|
-
type: 'number',
|
|
66807
|
-
},
|
|
66808
|
-
starts_daily_at: { type: 'string' },
|
|
66809
|
-
},
|
|
66810
|
-
required: [
|
|
66811
|
-
'starts_daily_at',
|
|
66812
|
-
'ends_daily_at',
|
|
66813
|
-
'noise_threshold_decibels',
|
|
66814
|
-
],
|
|
66815
|
-
type: 'object',
|
|
66816
|
-
},
|
|
66817
|
-
maxItems: 10,
|
|
66818
|
-
type: 'array',
|
|
66819
|
-
},
|
|
66820
|
-
},
|
|
66821
|
-
required: ['noise_thresholds'],
|
|
66822
|
-
type: 'object',
|
|
66823
|
-
},
|
|
66824
66964
|
speakers: {
|
|
66825
66965
|
properties: {
|
|
66826
66966
|
play_audio_clip: {
|
|
@@ -66873,33 +67013,6 @@ const openapi: OpenAPISpec = {
|
|
|
66873
67013
|
minimum: 0,
|
|
66874
67014
|
type: 'integer',
|
|
66875
67015
|
},
|
|
66876
|
-
noise_sensors: {
|
|
66877
|
-
properties: {
|
|
66878
|
-
noise_thresholds: {
|
|
66879
|
-
items: {
|
|
66880
|
-
properties: {
|
|
66881
|
-
ends_daily_at: { type: 'string' },
|
|
66882
|
-
name: { type: 'string' },
|
|
66883
|
-
noise_threshold_decibels: {
|
|
66884
|
-
format: 'float',
|
|
66885
|
-
type: 'number',
|
|
66886
|
-
},
|
|
66887
|
-
starts_daily_at: { type: 'string' },
|
|
66888
|
-
},
|
|
66889
|
-
required: [
|
|
66890
|
-
'starts_daily_at',
|
|
66891
|
-
'ends_daily_at',
|
|
66892
|
-
'noise_threshold_decibels',
|
|
66893
|
-
],
|
|
66894
|
-
type: 'object',
|
|
66895
|
-
},
|
|
66896
|
-
maxItems: 10,
|
|
66897
|
-
type: 'array',
|
|
66898
|
-
},
|
|
66899
|
-
},
|
|
66900
|
-
required: ['noise_thresholds'],
|
|
66901
|
-
type: 'object',
|
|
66902
|
-
},
|
|
66903
67016
|
speakers: {
|
|
66904
67017
|
properties: {
|
|
66905
67018
|
pause_playback: { type: 'boolean' },
|