@seamapi/types 1.1138.0 → 1.1140.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/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 +333 -160
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +229 -90
- package/package.json +1 -1
- package/src/lib/seam/connect/models/spaces/space.ts +22 -1
- package/src/lib/seam/connect/openapi.ts +351 -160
- package/src/lib/seam/connect/route-types.ts +382 -184
|
@@ -35580,6 +35580,42 @@ const openapi: OpenAPISpec = {
|
|
|
35580
35580
|
required: ['created_at', 'message', 'warning_code'],
|
|
35581
35581
|
type: 'object',
|
|
35582
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
|
+
},
|
|
35583
35619
|
],
|
|
35584
35620
|
},
|
|
35585
35621
|
type: 'array',
|
|
@@ -64336,6 +64372,84 @@ const openapi: OpenAPISpec = {
|
|
|
64336
64372
|
type: 'object',
|
|
64337
64373
|
},
|
|
64338
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
|
+
vacant: {
|
|
64423
|
+
description:
|
|
64424
|
+
'All-day level for spaces with no stay in progress. Only applies to spaces that have had reservations, and starts minutes_after_check_out after a stay ends.',
|
|
64425
|
+
nullable: true,
|
|
64426
|
+
properties: {
|
|
64427
|
+
minutes_after_check_out: {
|
|
64428
|
+
maximum: 1440,
|
|
64429
|
+
minimum: 0,
|
|
64430
|
+
type: 'integer',
|
|
64431
|
+
},
|
|
64432
|
+
noise_threshold_decibels: {
|
|
64433
|
+
format: 'float',
|
|
64434
|
+
maximum: 120,
|
|
64435
|
+
minimum: 60,
|
|
64436
|
+
type: 'number',
|
|
64437
|
+
},
|
|
64438
|
+
},
|
|
64439
|
+
required: ['noise_threshold_decibels'],
|
|
64440
|
+
type: 'object',
|
|
64441
|
+
},
|
|
64442
|
+
},
|
|
64443
|
+
required: ['normal_hours'],
|
|
64444
|
+
type: 'object',
|
|
64445
|
+
},
|
|
64446
|
+
},
|
|
64447
|
+
type: 'object',
|
|
64448
|
+
},
|
|
64449
|
+
},
|
|
64450
|
+
required: ['rules'],
|
|
64451
|
+
type: 'object',
|
|
64452
|
+
},
|
|
64339
64453
|
sound_rules: {
|
|
64340
64454
|
properties: {
|
|
64341
64455
|
rules: {
|
|
@@ -64349,19 +64463,6 @@ const openapi: OpenAPISpec = {
|
|
|
64349
64463
|
minimum: 0,
|
|
64350
64464
|
type: 'integer',
|
|
64351
64465
|
},
|
|
64352
|
-
noise_sensors: {
|
|
64353
|
-
properties: {
|
|
64354
|
-
noise_thresholds: {
|
|
64355
|
-
items: {
|
|
64356
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
64357
|
-
},
|
|
64358
|
-
maxItems: 10,
|
|
64359
|
-
type: 'array',
|
|
64360
|
-
},
|
|
64361
|
-
},
|
|
64362
|
-
required: ['noise_thresholds'],
|
|
64363
|
-
type: 'object',
|
|
64364
|
-
},
|
|
64365
64466
|
speakers: {
|
|
64366
64467
|
properties: {
|
|
64367
64468
|
play_audio_clip: {
|
|
@@ -64414,19 +64515,6 @@ const openapi: OpenAPISpec = {
|
|
|
64414
64515
|
minimum: 0,
|
|
64415
64516
|
type: 'integer',
|
|
64416
64517
|
},
|
|
64417
|
-
noise_sensors: {
|
|
64418
|
-
properties: {
|
|
64419
|
-
noise_thresholds: {
|
|
64420
|
-
items: {
|
|
64421
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
64422
|
-
},
|
|
64423
|
-
maxItems: 10,
|
|
64424
|
-
type: 'array',
|
|
64425
|
-
},
|
|
64426
|
-
},
|
|
64427
|
-
required: ['noise_thresholds'],
|
|
64428
|
-
type: 'object',
|
|
64429
|
-
},
|
|
64430
64518
|
speakers: {
|
|
64431
64519
|
properties: {
|
|
64432
64520
|
pause_playback: { type: 'boolean' },
|
|
@@ -64856,6 +64944,86 @@ const openapi: OpenAPISpec = {
|
|
|
64856
64944
|
minLength: 1,
|
|
64857
64945
|
type: 'string',
|
|
64858
64946
|
},
|
|
64947
|
+
sensor_rules: {
|
|
64948
|
+
description:
|
|
64949
|
+
"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.",
|
|
64950
|
+
properties: {
|
|
64951
|
+
rules: {
|
|
64952
|
+
properties: {
|
|
64953
|
+
noise_sensors: {
|
|
64954
|
+
nullable: true,
|
|
64955
|
+
properties: {
|
|
64956
|
+
normal_hours: {
|
|
64957
|
+
properties: {
|
|
64958
|
+
noise_threshold_decibels: {
|
|
64959
|
+
format: 'float',
|
|
64960
|
+
maximum: 120,
|
|
64961
|
+
minimum: 60,
|
|
64962
|
+
type: 'number',
|
|
64963
|
+
},
|
|
64964
|
+
},
|
|
64965
|
+
required: ['noise_threshold_decibels'],
|
|
64966
|
+
type: 'object',
|
|
64967
|
+
},
|
|
64968
|
+
quiet_hours: {
|
|
64969
|
+
nullable: true,
|
|
64970
|
+
properties: {
|
|
64971
|
+
ends_daily_at: {
|
|
64972
|
+
description:
|
|
64973
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
64974
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
64975
|
+
type: 'string',
|
|
64976
|
+
},
|
|
64977
|
+
noise_threshold_decibels: {
|
|
64978
|
+
format: 'float',
|
|
64979
|
+
maximum: 120,
|
|
64980
|
+
minimum: 60,
|
|
64981
|
+
type: 'number',
|
|
64982
|
+
},
|
|
64983
|
+
starts_daily_at: {
|
|
64984
|
+
description:
|
|
64985
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
64986
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
64987
|
+
type: 'string',
|
|
64988
|
+
},
|
|
64989
|
+
},
|
|
64990
|
+
required: [
|
|
64991
|
+
'starts_daily_at',
|
|
64992
|
+
'ends_daily_at',
|
|
64993
|
+
'noise_threshold_decibels',
|
|
64994
|
+
],
|
|
64995
|
+
type: 'object',
|
|
64996
|
+
},
|
|
64997
|
+
vacant: {
|
|
64998
|
+
description:
|
|
64999
|
+
'All-day level for spaces with no stay in progress. Only applies to spaces that have had reservations, and starts minutes_after_check_out after a stay ends.',
|
|
65000
|
+
nullable: true,
|
|
65001
|
+
properties: {
|
|
65002
|
+
minutes_after_check_out: {
|
|
65003
|
+
maximum: 1440,
|
|
65004
|
+
minimum: 0,
|
|
65005
|
+
type: 'integer',
|
|
65006
|
+
},
|
|
65007
|
+
noise_threshold_decibels: {
|
|
65008
|
+
format: 'float',
|
|
65009
|
+
maximum: 120,
|
|
65010
|
+
minimum: 60,
|
|
65011
|
+
type: 'number',
|
|
65012
|
+
},
|
|
65013
|
+
},
|
|
65014
|
+
required: ['noise_threshold_decibels'],
|
|
65015
|
+
type: 'object',
|
|
65016
|
+
},
|
|
65017
|
+
},
|
|
65018
|
+
required: ['normal_hours'],
|
|
65019
|
+
type: 'object',
|
|
65020
|
+
},
|
|
65021
|
+
},
|
|
65022
|
+
type: 'object',
|
|
65023
|
+
},
|
|
65024
|
+
},
|
|
65025
|
+
type: 'object',
|
|
65026
|
+
},
|
|
64859
65027
|
sound_rules: {
|
|
64860
65028
|
description: 'Sound automation rules configuration.',
|
|
64861
65029
|
properties: {
|
|
@@ -64871,33 +65039,6 @@ const openapi: OpenAPISpec = {
|
|
|
64871
65039
|
minimum: 0,
|
|
64872
65040
|
type: 'integer',
|
|
64873
65041
|
},
|
|
64874
|
-
noise_sensors: {
|
|
64875
|
-
properties: {
|
|
64876
|
-
noise_thresholds: {
|
|
64877
|
-
items: {
|
|
64878
|
-
properties: {
|
|
64879
|
-
ends_daily_at: { type: 'string' },
|
|
64880
|
-
name: { type: 'string' },
|
|
64881
|
-
noise_threshold_decibels: {
|
|
64882
|
-
format: 'float',
|
|
64883
|
-
type: 'number',
|
|
64884
|
-
},
|
|
64885
|
-
starts_daily_at: { type: 'string' },
|
|
64886
|
-
},
|
|
64887
|
-
required: [
|
|
64888
|
-
'starts_daily_at',
|
|
64889
|
-
'ends_daily_at',
|
|
64890
|
-
'noise_threshold_decibels',
|
|
64891
|
-
],
|
|
64892
|
-
type: 'object',
|
|
64893
|
-
},
|
|
64894
|
-
maxItems: 10,
|
|
64895
|
-
type: 'array',
|
|
64896
|
-
},
|
|
64897
|
-
},
|
|
64898
|
-
required: ['noise_thresholds'],
|
|
64899
|
-
type: 'object',
|
|
64900
|
-
},
|
|
64901
65042
|
speakers: {
|
|
64902
65043
|
properties: {
|
|
64903
65044
|
play_audio_clip: {
|
|
@@ -64950,33 +65091,6 @@ const openapi: OpenAPISpec = {
|
|
|
64950
65091
|
minimum: 0,
|
|
64951
65092
|
type: 'integer',
|
|
64952
65093
|
},
|
|
64953
|
-
noise_sensors: {
|
|
64954
|
-
properties: {
|
|
64955
|
-
noise_thresholds: {
|
|
64956
|
-
items: {
|
|
64957
|
-
properties: {
|
|
64958
|
-
ends_daily_at: { type: 'string' },
|
|
64959
|
-
name: { type: 'string' },
|
|
64960
|
-
noise_threshold_decibels: {
|
|
64961
|
-
format: 'float',
|
|
64962
|
-
type: 'number',
|
|
64963
|
-
},
|
|
64964
|
-
starts_daily_at: { type: 'string' },
|
|
64965
|
-
},
|
|
64966
|
-
required: [
|
|
64967
|
-
'starts_daily_at',
|
|
64968
|
-
'ends_daily_at',
|
|
64969
|
-
'noise_threshold_decibels',
|
|
64970
|
-
],
|
|
64971
|
-
type: 'object',
|
|
64972
|
-
},
|
|
64973
|
-
maxItems: 10,
|
|
64974
|
-
type: 'array',
|
|
64975
|
-
},
|
|
64976
|
-
},
|
|
64977
|
-
required: ['noise_thresholds'],
|
|
64978
|
-
type: 'object',
|
|
64979
|
-
},
|
|
64980
65094
|
speakers: {
|
|
64981
65095
|
properties: {
|
|
64982
65096
|
pause_playback: { type: 'boolean' },
|
|
@@ -66341,6 +66455,84 @@ const openapi: OpenAPISpec = {
|
|
|
66341
66455
|
required: ['rules'],
|
|
66342
66456
|
type: 'object',
|
|
66343
66457
|
},
|
|
66458
|
+
sensor_rules: {
|
|
66459
|
+
properties: {
|
|
66460
|
+
rules: {
|
|
66461
|
+
properties: {
|
|
66462
|
+
noise_sensors: {
|
|
66463
|
+
properties: {
|
|
66464
|
+
normal_hours: {
|
|
66465
|
+
properties: {
|
|
66466
|
+
noise_threshold_decibels: {
|
|
66467
|
+
format: 'float',
|
|
66468
|
+
maximum: 120,
|
|
66469
|
+
minimum: 60,
|
|
66470
|
+
type: 'number',
|
|
66471
|
+
},
|
|
66472
|
+
},
|
|
66473
|
+
required: ['noise_threshold_decibels'],
|
|
66474
|
+
type: 'object',
|
|
66475
|
+
},
|
|
66476
|
+
quiet_hours: {
|
|
66477
|
+
nullable: true,
|
|
66478
|
+
properties: {
|
|
66479
|
+
ends_daily_at: {
|
|
66480
|
+
description:
|
|
66481
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
66482
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
66483
|
+
type: 'string',
|
|
66484
|
+
},
|
|
66485
|
+
noise_threshold_decibels: {
|
|
66486
|
+
format: 'float',
|
|
66487
|
+
maximum: 120,
|
|
66488
|
+
minimum: 60,
|
|
66489
|
+
type: 'number',
|
|
66490
|
+
},
|
|
66491
|
+
starts_daily_at: {
|
|
66492
|
+
description:
|
|
66493
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
66494
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
66495
|
+
type: 'string',
|
|
66496
|
+
},
|
|
66497
|
+
},
|
|
66498
|
+
required: [
|
|
66499
|
+
'starts_daily_at',
|
|
66500
|
+
'ends_daily_at',
|
|
66501
|
+
'noise_threshold_decibels',
|
|
66502
|
+
],
|
|
66503
|
+
type: 'object',
|
|
66504
|
+
},
|
|
66505
|
+
vacant: {
|
|
66506
|
+
description:
|
|
66507
|
+
'All-day level for spaces with no stay in progress. Only applies to spaces that have had reservations, and starts minutes_after_check_out after a stay ends.',
|
|
66508
|
+
nullable: true,
|
|
66509
|
+
properties: {
|
|
66510
|
+
minutes_after_check_out: {
|
|
66511
|
+
maximum: 1440,
|
|
66512
|
+
minimum: 0,
|
|
66513
|
+
type: 'integer',
|
|
66514
|
+
},
|
|
66515
|
+
noise_threshold_decibels: {
|
|
66516
|
+
format: 'float',
|
|
66517
|
+
maximum: 120,
|
|
66518
|
+
minimum: 60,
|
|
66519
|
+
type: 'number',
|
|
66520
|
+
},
|
|
66521
|
+
},
|
|
66522
|
+
required: ['noise_threshold_decibels'],
|
|
66523
|
+
type: 'object',
|
|
66524
|
+
},
|
|
66525
|
+
},
|
|
66526
|
+
required: ['normal_hours'],
|
|
66527
|
+
type: 'object',
|
|
66528
|
+
},
|
|
66529
|
+
},
|
|
66530
|
+
type: 'object',
|
|
66531
|
+
},
|
|
66532
|
+
},
|
|
66533
|
+
required: ['rules'],
|
|
66534
|
+
type: 'object',
|
|
66535
|
+
},
|
|
66344
66536
|
sound_rules: {
|
|
66345
66537
|
properties: {
|
|
66346
66538
|
rules: {
|
|
@@ -66354,19 +66546,6 @@ const openapi: OpenAPISpec = {
|
|
|
66354
66546
|
minimum: 0,
|
|
66355
66547
|
type: 'integer',
|
|
66356
66548
|
},
|
|
66357
|
-
noise_sensors: {
|
|
66358
|
-
properties: {
|
|
66359
|
-
noise_thresholds: {
|
|
66360
|
-
items: {
|
|
66361
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
66362
|
-
},
|
|
66363
|
-
maxItems: 10,
|
|
66364
|
-
type: 'array',
|
|
66365
|
-
},
|
|
66366
|
-
},
|
|
66367
|
-
required: ['noise_thresholds'],
|
|
66368
|
-
type: 'object',
|
|
66369
|
-
},
|
|
66370
66549
|
speakers: {
|
|
66371
66550
|
properties: {
|
|
66372
66551
|
play_audio_clip: {
|
|
@@ -66419,19 +66598,6 @@ const openapi: OpenAPISpec = {
|
|
|
66419
66598
|
minimum: 0,
|
|
66420
66599
|
type: 'integer',
|
|
66421
66600
|
},
|
|
66422
|
-
noise_sensors: {
|
|
66423
|
-
properties: {
|
|
66424
|
-
noise_thresholds: {
|
|
66425
|
-
items: {
|
|
66426
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
66427
|
-
},
|
|
66428
|
-
maxItems: 10,
|
|
66429
|
-
type: 'array',
|
|
66430
|
-
},
|
|
66431
|
-
},
|
|
66432
|
-
required: ['noise_thresholds'],
|
|
66433
|
-
type: 'object',
|
|
66434
|
-
},
|
|
66435
66601
|
speakers: {
|
|
66436
66602
|
properties: {
|
|
66437
66603
|
pause_playback: { type: 'boolean' },
|
|
@@ -66781,6 +66947,85 @@ const openapi: OpenAPISpec = {
|
|
|
66781
66947
|
},
|
|
66782
66948
|
type: 'object',
|
|
66783
66949
|
},
|
|
66950
|
+
sensor_rules: {
|
|
66951
|
+
description: 'Sensor automation rules configuration.',
|
|
66952
|
+
properties: {
|
|
66953
|
+
rules: {
|
|
66954
|
+
properties: {
|
|
66955
|
+
noise_sensors: {
|
|
66956
|
+
nullable: true,
|
|
66957
|
+
properties: {
|
|
66958
|
+
normal_hours: {
|
|
66959
|
+
properties: {
|
|
66960
|
+
noise_threshold_decibels: {
|
|
66961
|
+
format: 'float',
|
|
66962
|
+
maximum: 120,
|
|
66963
|
+
minimum: 60,
|
|
66964
|
+
type: 'number',
|
|
66965
|
+
},
|
|
66966
|
+
},
|
|
66967
|
+
required: ['noise_threshold_decibels'],
|
|
66968
|
+
type: 'object',
|
|
66969
|
+
},
|
|
66970
|
+
quiet_hours: {
|
|
66971
|
+
nullable: true,
|
|
66972
|
+
properties: {
|
|
66973
|
+
ends_daily_at: {
|
|
66974
|
+
description:
|
|
66975
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
66976
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
66977
|
+
type: 'string',
|
|
66978
|
+
},
|
|
66979
|
+
noise_threshold_decibels: {
|
|
66980
|
+
format: 'float',
|
|
66981
|
+
maximum: 120,
|
|
66982
|
+
minimum: 60,
|
|
66983
|
+
type: 'number',
|
|
66984
|
+
},
|
|
66985
|
+
starts_daily_at: {
|
|
66986
|
+
description:
|
|
66987
|
+
"Time of day as HH:00, in each noise sensor's own time zone.",
|
|
66988
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
66989
|
+
type: 'string',
|
|
66990
|
+
},
|
|
66991
|
+
},
|
|
66992
|
+
required: [
|
|
66993
|
+
'starts_daily_at',
|
|
66994
|
+
'ends_daily_at',
|
|
66995
|
+
'noise_threshold_decibels',
|
|
66996
|
+
],
|
|
66997
|
+
type: 'object',
|
|
66998
|
+
},
|
|
66999
|
+
vacant: {
|
|
67000
|
+
description:
|
|
67001
|
+
'All-day level for spaces with no stay in progress. Only applies to spaces that have had reservations, and starts minutes_after_check_out after a stay ends.',
|
|
67002
|
+
nullable: true,
|
|
67003
|
+
properties: {
|
|
67004
|
+
minutes_after_check_out: {
|
|
67005
|
+
maximum: 1440,
|
|
67006
|
+
minimum: 0,
|
|
67007
|
+
type: 'integer',
|
|
67008
|
+
},
|
|
67009
|
+
noise_threshold_decibels: {
|
|
67010
|
+
format: 'float',
|
|
67011
|
+
maximum: 120,
|
|
67012
|
+
minimum: 60,
|
|
67013
|
+
type: 'number',
|
|
67014
|
+
},
|
|
67015
|
+
},
|
|
67016
|
+
required: ['noise_threshold_decibels'],
|
|
67017
|
+
type: 'object',
|
|
67018
|
+
},
|
|
67019
|
+
},
|
|
67020
|
+
required: ['normal_hours'],
|
|
67021
|
+
type: 'object',
|
|
67022
|
+
},
|
|
67023
|
+
},
|
|
67024
|
+
type: 'object',
|
|
67025
|
+
},
|
|
67026
|
+
},
|
|
67027
|
+
type: 'object',
|
|
67028
|
+
},
|
|
66784
67029
|
sound_rules: {
|
|
66785
67030
|
description: 'Sound automation rules configuration.',
|
|
66786
67031
|
properties: {
|
|
@@ -66796,33 +67041,6 @@ const openapi: OpenAPISpec = {
|
|
|
66796
67041
|
minimum: 0,
|
|
66797
67042
|
type: 'integer',
|
|
66798
67043
|
},
|
|
66799
|
-
noise_sensors: {
|
|
66800
|
-
properties: {
|
|
66801
|
-
noise_thresholds: {
|
|
66802
|
-
items: {
|
|
66803
|
-
properties: {
|
|
66804
|
-
ends_daily_at: { type: 'string' },
|
|
66805
|
-
name: { type: 'string' },
|
|
66806
|
-
noise_threshold_decibels: {
|
|
66807
|
-
format: 'float',
|
|
66808
|
-
type: 'number',
|
|
66809
|
-
},
|
|
66810
|
-
starts_daily_at: { type: 'string' },
|
|
66811
|
-
},
|
|
66812
|
-
required: [
|
|
66813
|
-
'starts_daily_at',
|
|
66814
|
-
'ends_daily_at',
|
|
66815
|
-
'noise_threshold_decibels',
|
|
66816
|
-
],
|
|
66817
|
-
type: 'object',
|
|
66818
|
-
},
|
|
66819
|
-
maxItems: 10,
|
|
66820
|
-
type: 'array',
|
|
66821
|
-
},
|
|
66822
|
-
},
|
|
66823
|
-
required: ['noise_thresholds'],
|
|
66824
|
-
type: 'object',
|
|
66825
|
-
},
|
|
66826
67044
|
speakers: {
|
|
66827
67045
|
properties: {
|
|
66828
67046
|
play_audio_clip: {
|
|
@@ -66875,33 +67093,6 @@ const openapi: OpenAPISpec = {
|
|
|
66875
67093
|
minimum: 0,
|
|
66876
67094
|
type: 'integer',
|
|
66877
67095
|
},
|
|
66878
|
-
noise_sensors: {
|
|
66879
|
-
properties: {
|
|
66880
|
-
noise_thresholds: {
|
|
66881
|
-
items: {
|
|
66882
|
-
properties: {
|
|
66883
|
-
ends_daily_at: { type: 'string' },
|
|
66884
|
-
name: { type: 'string' },
|
|
66885
|
-
noise_threshold_decibels: {
|
|
66886
|
-
format: 'float',
|
|
66887
|
-
type: 'number',
|
|
66888
|
-
},
|
|
66889
|
-
starts_daily_at: { type: 'string' },
|
|
66890
|
-
},
|
|
66891
|
-
required: [
|
|
66892
|
-
'starts_daily_at',
|
|
66893
|
-
'ends_daily_at',
|
|
66894
|
-
'noise_threshold_decibels',
|
|
66895
|
-
],
|
|
66896
|
-
type: 'object',
|
|
66897
|
-
},
|
|
66898
|
-
maxItems: 10,
|
|
66899
|
-
type: 'array',
|
|
66900
|
-
},
|
|
66901
|
-
},
|
|
66902
|
-
required: ['noise_thresholds'],
|
|
66903
|
-
type: 'object',
|
|
66904
|
-
},
|
|
66905
67096
|
speakers: {
|
|
66906
67097
|
properties: {
|
|
66907
67098
|
pause_playback: { type: 'boolean' },
|