@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
|
@@ -31857,6 +31857,37 @@ const openapi = {
|
|
|
31857
31857
|
required: ['created_at', 'message', 'warning_code'],
|
|
31858
31858
|
type: 'object',
|
|
31859
31859
|
},
|
|
31860
|
+
{
|
|
31861
|
+
description: "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.",
|
|
31862
|
+
properties: {
|
|
31863
|
+
created_at: {
|
|
31864
|
+
description: 'Date and time at which Seam created the warning.',
|
|
31865
|
+
format: 'date-time',
|
|
31866
|
+
type: 'string',
|
|
31867
|
+
},
|
|
31868
|
+
device_ids: {
|
|
31869
|
+
description: 'IDs of the noise sensors in the space that Seam could not bring in line with the noise sensor automation.',
|
|
31870
|
+
items: { format: 'uuid', type: 'string' },
|
|
31871
|
+
type: 'array',
|
|
31872
|
+
},
|
|
31873
|
+
message: {
|
|
31874
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
31875
|
+
type: 'string',
|
|
31876
|
+
},
|
|
31877
|
+
warning_code: {
|
|
31878
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
31879
|
+
enum: ['noise_sensor_configuration_mismatch'],
|
|
31880
|
+
type: 'string',
|
|
31881
|
+
},
|
|
31882
|
+
},
|
|
31883
|
+
required: [
|
|
31884
|
+
'created_at',
|
|
31885
|
+
'message',
|
|
31886
|
+
'warning_code',
|
|
31887
|
+
'device_ids',
|
|
31888
|
+
],
|
|
31889
|
+
type: 'object',
|
|
31890
|
+
},
|
|
31860
31891
|
],
|
|
31861
31892
|
},
|
|
31862
31893
|
type: 'array',
|
|
@@ -58701,6 +58732,81 @@ const openapi = {
|
|
|
58701
58732
|
type: 'object',
|
|
58702
58733
|
},
|
|
58703
58734
|
ok: { type: 'boolean' },
|
|
58735
|
+
sensor_rules: {
|
|
58736
|
+
properties: {
|
|
58737
|
+
rules: {
|
|
58738
|
+
properties: {
|
|
58739
|
+
noise_sensors: {
|
|
58740
|
+
properties: {
|
|
58741
|
+
normal_hours: {
|
|
58742
|
+
properties: {
|
|
58743
|
+
noise_threshold_decibels: {
|
|
58744
|
+
format: 'float',
|
|
58745
|
+
maximum: 120,
|
|
58746
|
+
minimum: 60,
|
|
58747
|
+
type: 'number',
|
|
58748
|
+
},
|
|
58749
|
+
},
|
|
58750
|
+
required: ['noise_threshold_decibels'],
|
|
58751
|
+
type: 'object',
|
|
58752
|
+
},
|
|
58753
|
+
quiet_hours: {
|
|
58754
|
+
nullable: true,
|
|
58755
|
+
properties: {
|
|
58756
|
+
ends_daily_at: {
|
|
58757
|
+
description: "Time of day as HH:00, in each noise sensor's own time zone.",
|
|
58758
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
58759
|
+
type: 'string',
|
|
58760
|
+
},
|
|
58761
|
+
noise_threshold_decibels: {
|
|
58762
|
+
format: 'float',
|
|
58763
|
+
maximum: 120,
|
|
58764
|
+
minimum: 60,
|
|
58765
|
+
type: 'number',
|
|
58766
|
+
},
|
|
58767
|
+
starts_daily_at: {
|
|
58768
|
+
description: "Time of day as HH:00, in each noise sensor's own time zone.",
|
|
58769
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
58770
|
+
type: 'string',
|
|
58771
|
+
},
|
|
58772
|
+
},
|
|
58773
|
+
required: [
|
|
58774
|
+
'starts_daily_at',
|
|
58775
|
+
'ends_daily_at',
|
|
58776
|
+
'noise_threshold_decibels',
|
|
58777
|
+
],
|
|
58778
|
+
type: 'object',
|
|
58779
|
+
},
|
|
58780
|
+
vacant: {
|
|
58781
|
+
description: '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.',
|
|
58782
|
+
nullable: true,
|
|
58783
|
+
properties: {
|
|
58784
|
+
minutes_after_check_out: {
|
|
58785
|
+
maximum: 1440,
|
|
58786
|
+
minimum: 0,
|
|
58787
|
+
type: 'integer',
|
|
58788
|
+
},
|
|
58789
|
+
noise_threshold_decibels: {
|
|
58790
|
+
format: 'float',
|
|
58791
|
+
maximum: 120,
|
|
58792
|
+
minimum: 60,
|
|
58793
|
+
type: 'number',
|
|
58794
|
+
},
|
|
58795
|
+
},
|
|
58796
|
+
required: ['noise_threshold_decibels'],
|
|
58797
|
+
type: 'object',
|
|
58798
|
+
},
|
|
58799
|
+
},
|
|
58800
|
+
required: ['normal_hours'],
|
|
58801
|
+
type: 'object',
|
|
58802
|
+
},
|
|
58803
|
+
},
|
|
58804
|
+
type: 'object',
|
|
58805
|
+
},
|
|
58806
|
+
},
|
|
58807
|
+
required: ['rules'],
|
|
58808
|
+
type: 'object',
|
|
58809
|
+
},
|
|
58704
58810
|
sound_rules: {
|
|
58705
58811
|
properties: {
|
|
58706
58812
|
rules: {
|
|
@@ -58714,19 +58820,6 @@ const openapi = {
|
|
|
58714
58820
|
minimum: 0,
|
|
58715
58821
|
type: 'integer',
|
|
58716
58822
|
},
|
|
58717
|
-
noise_sensors: {
|
|
58718
|
-
properties: {
|
|
58719
|
-
noise_thresholds: {
|
|
58720
|
-
items: {
|
|
58721
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
58722
|
-
},
|
|
58723
|
-
maxItems: 10,
|
|
58724
|
-
type: 'array',
|
|
58725
|
-
},
|
|
58726
|
-
},
|
|
58727
|
-
required: ['noise_thresholds'],
|
|
58728
|
-
type: 'object',
|
|
58729
|
-
},
|
|
58730
58823
|
speakers: {
|
|
58731
58824
|
properties: {
|
|
58732
58825
|
play_audio_clip: {
|
|
@@ -58778,19 +58871,6 @@ const openapi = {
|
|
|
58778
58871
|
minimum: 0,
|
|
58779
58872
|
type: 'integer',
|
|
58780
58873
|
},
|
|
58781
|
-
noise_sensors: {
|
|
58782
|
-
properties: {
|
|
58783
|
-
noise_thresholds: {
|
|
58784
|
-
items: {
|
|
58785
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
58786
|
-
},
|
|
58787
|
-
maxItems: 10,
|
|
58788
|
-
type: 'array',
|
|
58789
|
-
},
|
|
58790
|
-
},
|
|
58791
|
-
required: ['noise_thresholds'],
|
|
58792
|
-
type: 'object',
|
|
58793
|
-
},
|
|
58794
58874
|
speakers: {
|
|
58795
58875
|
properties: {
|
|
58796
58876
|
pause_playback: { type: 'boolean' },
|
|
@@ -59209,6 +59289,82 @@ const openapi = {
|
|
|
59209
59289
|
minLength: 1,
|
|
59210
59290
|
type: 'string',
|
|
59211
59291
|
},
|
|
59292
|
+
sensor_rules: {
|
|
59293
|
+
description: "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.",
|
|
59294
|
+
properties: {
|
|
59295
|
+
rules: {
|
|
59296
|
+
properties: {
|
|
59297
|
+
noise_sensors: {
|
|
59298
|
+
nullable: true,
|
|
59299
|
+
properties: {
|
|
59300
|
+
normal_hours: {
|
|
59301
|
+
properties: {
|
|
59302
|
+
noise_threshold_decibels: {
|
|
59303
|
+
format: 'float',
|
|
59304
|
+
maximum: 120,
|
|
59305
|
+
minimum: 60,
|
|
59306
|
+
type: 'number',
|
|
59307
|
+
},
|
|
59308
|
+
},
|
|
59309
|
+
required: ['noise_threshold_decibels'],
|
|
59310
|
+
type: 'object',
|
|
59311
|
+
},
|
|
59312
|
+
quiet_hours: {
|
|
59313
|
+
nullable: true,
|
|
59314
|
+
properties: {
|
|
59315
|
+
ends_daily_at: {
|
|
59316
|
+
description: "Time of day as HH:00, in each noise sensor's own time zone.",
|
|
59317
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
59318
|
+
type: 'string',
|
|
59319
|
+
},
|
|
59320
|
+
noise_threshold_decibels: {
|
|
59321
|
+
format: 'float',
|
|
59322
|
+
maximum: 120,
|
|
59323
|
+
minimum: 60,
|
|
59324
|
+
type: 'number',
|
|
59325
|
+
},
|
|
59326
|
+
starts_daily_at: {
|
|
59327
|
+
description: "Time of day as HH:00, in each noise sensor's own time zone.",
|
|
59328
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
59329
|
+
type: 'string',
|
|
59330
|
+
},
|
|
59331
|
+
},
|
|
59332
|
+
required: [
|
|
59333
|
+
'starts_daily_at',
|
|
59334
|
+
'ends_daily_at',
|
|
59335
|
+
'noise_threshold_decibels',
|
|
59336
|
+
],
|
|
59337
|
+
type: 'object',
|
|
59338
|
+
},
|
|
59339
|
+
vacant: {
|
|
59340
|
+
description: '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.',
|
|
59341
|
+
nullable: true,
|
|
59342
|
+
properties: {
|
|
59343
|
+
minutes_after_check_out: {
|
|
59344
|
+
maximum: 1440,
|
|
59345
|
+
minimum: 0,
|
|
59346
|
+
type: 'integer',
|
|
59347
|
+
},
|
|
59348
|
+
noise_threshold_decibels: {
|
|
59349
|
+
format: 'float',
|
|
59350
|
+
maximum: 120,
|
|
59351
|
+
minimum: 60,
|
|
59352
|
+
type: 'number',
|
|
59353
|
+
},
|
|
59354
|
+
},
|
|
59355
|
+
required: ['noise_threshold_decibels'],
|
|
59356
|
+
type: 'object',
|
|
59357
|
+
},
|
|
59358
|
+
},
|
|
59359
|
+
required: ['normal_hours'],
|
|
59360
|
+
type: 'object',
|
|
59361
|
+
},
|
|
59362
|
+
},
|
|
59363
|
+
type: 'object',
|
|
59364
|
+
},
|
|
59365
|
+
},
|
|
59366
|
+
type: 'object',
|
|
59367
|
+
},
|
|
59212
59368
|
sound_rules: {
|
|
59213
59369
|
description: 'Sound automation rules configuration.',
|
|
59214
59370
|
properties: {
|
|
@@ -59224,33 +59380,6 @@ const openapi = {
|
|
|
59224
59380
|
minimum: 0,
|
|
59225
59381
|
type: 'integer',
|
|
59226
59382
|
},
|
|
59227
|
-
noise_sensors: {
|
|
59228
|
-
properties: {
|
|
59229
|
-
noise_thresholds: {
|
|
59230
|
-
items: {
|
|
59231
|
-
properties: {
|
|
59232
|
-
ends_daily_at: { type: 'string' },
|
|
59233
|
-
name: { type: 'string' },
|
|
59234
|
-
noise_threshold_decibels: {
|
|
59235
|
-
format: 'float',
|
|
59236
|
-
type: 'number',
|
|
59237
|
-
},
|
|
59238
|
-
starts_daily_at: { type: 'string' },
|
|
59239
|
-
},
|
|
59240
|
-
required: [
|
|
59241
|
-
'starts_daily_at',
|
|
59242
|
-
'ends_daily_at',
|
|
59243
|
-
'noise_threshold_decibels',
|
|
59244
|
-
],
|
|
59245
|
-
type: 'object',
|
|
59246
|
-
},
|
|
59247
|
-
maxItems: 10,
|
|
59248
|
-
type: 'array',
|
|
59249
|
-
},
|
|
59250
|
-
},
|
|
59251
|
-
required: ['noise_thresholds'],
|
|
59252
|
-
type: 'object',
|
|
59253
|
-
},
|
|
59254
59383
|
speakers: {
|
|
59255
59384
|
properties: {
|
|
59256
59385
|
play_audio_clip: {
|
|
@@ -59302,33 +59431,6 @@ const openapi = {
|
|
|
59302
59431
|
minimum: 0,
|
|
59303
59432
|
type: 'integer',
|
|
59304
59433
|
},
|
|
59305
|
-
noise_sensors: {
|
|
59306
|
-
properties: {
|
|
59307
|
-
noise_thresholds: {
|
|
59308
|
-
items: {
|
|
59309
|
-
properties: {
|
|
59310
|
-
ends_daily_at: { type: 'string' },
|
|
59311
|
-
name: { type: 'string' },
|
|
59312
|
-
noise_threshold_decibels: {
|
|
59313
|
-
format: 'float',
|
|
59314
|
-
type: 'number',
|
|
59315
|
-
},
|
|
59316
|
-
starts_daily_at: { type: 'string' },
|
|
59317
|
-
},
|
|
59318
|
-
required: [
|
|
59319
|
-
'starts_daily_at',
|
|
59320
|
-
'ends_daily_at',
|
|
59321
|
-
'noise_threshold_decibels',
|
|
59322
|
-
],
|
|
59323
|
-
type: 'object',
|
|
59324
|
-
},
|
|
59325
|
-
maxItems: 10,
|
|
59326
|
-
type: 'array',
|
|
59327
|
-
},
|
|
59328
|
-
},
|
|
59329
|
-
required: ['noise_thresholds'],
|
|
59330
|
-
type: 'object',
|
|
59331
|
-
},
|
|
59332
59434
|
speakers: {
|
|
59333
59435
|
properties: {
|
|
59334
59436
|
pause_playback: { type: 'boolean' },
|
|
@@ -60653,6 +60755,81 @@ const openapi = {
|
|
|
60653
60755
|
required: ['rules'],
|
|
60654
60756
|
type: 'object',
|
|
60655
60757
|
},
|
|
60758
|
+
sensor_rules: {
|
|
60759
|
+
properties: {
|
|
60760
|
+
rules: {
|
|
60761
|
+
properties: {
|
|
60762
|
+
noise_sensors: {
|
|
60763
|
+
properties: {
|
|
60764
|
+
normal_hours: {
|
|
60765
|
+
properties: {
|
|
60766
|
+
noise_threshold_decibels: {
|
|
60767
|
+
format: 'float',
|
|
60768
|
+
maximum: 120,
|
|
60769
|
+
minimum: 60,
|
|
60770
|
+
type: 'number',
|
|
60771
|
+
},
|
|
60772
|
+
},
|
|
60773
|
+
required: ['noise_threshold_decibels'],
|
|
60774
|
+
type: 'object',
|
|
60775
|
+
},
|
|
60776
|
+
quiet_hours: {
|
|
60777
|
+
nullable: true,
|
|
60778
|
+
properties: {
|
|
60779
|
+
ends_daily_at: {
|
|
60780
|
+
description: "Time of day as HH:00, in each noise sensor's own time zone.",
|
|
60781
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
60782
|
+
type: 'string',
|
|
60783
|
+
},
|
|
60784
|
+
noise_threshold_decibels: {
|
|
60785
|
+
format: 'float',
|
|
60786
|
+
maximum: 120,
|
|
60787
|
+
minimum: 60,
|
|
60788
|
+
type: 'number',
|
|
60789
|
+
},
|
|
60790
|
+
starts_daily_at: {
|
|
60791
|
+
description: "Time of day as HH:00, in each noise sensor's own time zone.",
|
|
60792
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
60793
|
+
type: 'string',
|
|
60794
|
+
},
|
|
60795
|
+
},
|
|
60796
|
+
required: [
|
|
60797
|
+
'starts_daily_at',
|
|
60798
|
+
'ends_daily_at',
|
|
60799
|
+
'noise_threshold_decibels',
|
|
60800
|
+
],
|
|
60801
|
+
type: 'object',
|
|
60802
|
+
},
|
|
60803
|
+
vacant: {
|
|
60804
|
+
description: '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.',
|
|
60805
|
+
nullable: true,
|
|
60806
|
+
properties: {
|
|
60807
|
+
minutes_after_check_out: {
|
|
60808
|
+
maximum: 1440,
|
|
60809
|
+
minimum: 0,
|
|
60810
|
+
type: 'integer',
|
|
60811
|
+
},
|
|
60812
|
+
noise_threshold_decibels: {
|
|
60813
|
+
format: 'float',
|
|
60814
|
+
maximum: 120,
|
|
60815
|
+
minimum: 60,
|
|
60816
|
+
type: 'number',
|
|
60817
|
+
},
|
|
60818
|
+
},
|
|
60819
|
+
required: ['noise_threshold_decibels'],
|
|
60820
|
+
type: 'object',
|
|
60821
|
+
},
|
|
60822
|
+
},
|
|
60823
|
+
required: ['normal_hours'],
|
|
60824
|
+
type: 'object',
|
|
60825
|
+
},
|
|
60826
|
+
},
|
|
60827
|
+
type: 'object',
|
|
60828
|
+
},
|
|
60829
|
+
},
|
|
60830
|
+
required: ['rules'],
|
|
60831
|
+
type: 'object',
|
|
60832
|
+
},
|
|
60656
60833
|
sound_rules: {
|
|
60657
60834
|
properties: {
|
|
60658
60835
|
rules: {
|
|
@@ -60666,19 +60843,6 @@ const openapi = {
|
|
|
60666
60843
|
minimum: 0,
|
|
60667
60844
|
type: 'integer',
|
|
60668
60845
|
},
|
|
60669
|
-
noise_sensors: {
|
|
60670
|
-
properties: {
|
|
60671
|
-
noise_thresholds: {
|
|
60672
|
-
items: {
|
|
60673
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
60674
|
-
},
|
|
60675
|
-
maxItems: 10,
|
|
60676
|
-
type: 'array',
|
|
60677
|
-
},
|
|
60678
|
-
},
|
|
60679
|
-
required: ['noise_thresholds'],
|
|
60680
|
-
type: 'object',
|
|
60681
|
-
},
|
|
60682
60846
|
speakers: {
|
|
60683
60847
|
properties: {
|
|
60684
60848
|
play_audio_clip: {
|
|
@@ -60730,19 +60894,6 @@ const openapi = {
|
|
|
60730
60894
|
minimum: 0,
|
|
60731
60895
|
type: 'integer',
|
|
60732
60896
|
},
|
|
60733
|
-
noise_sensors: {
|
|
60734
|
-
properties: {
|
|
60735
|
-
noise_thresholds: {
|
|
60736
|
-
items: {
|
|
60737
|
-
$ref: '#/components/schemas/noise_threshold',
|
|
60738
|
-
},
|
|
60739
|
-
maxItems: 10,
|
|
60740
|
-
type: 'array',
|
|
60741
|
-
},
|
|
60742
|
-
},
|
|
60743
|
-
required: ['noise_thresholds'],
|
|
60744
|
-
type: 'object',
|
|
60745
|
-
},
|
|
60746
60897
|
speakers: {
|
|
60747
60898
|
properties: {
|
|
60748
60899
|
pause_playback: { type: 'boolean' },
|
|
@@ -61088,6 +61239,82 @@ const openapi = {
|
|
|
61088
61239
|
},
|
|
61089
61240
|
type: 'object',
|
|
61090
61241
|
},
|
|
61242
|
+
sensor_rules: {
|
|
61243
|
+
description: 'Sensor automation rules configuration.',
|
|
61244
|
+
properties: {
|
|
61245
|
+
rules: {
|
|
61246
|
+
properties: {
|
|
61247
|
+
noise_sensors: {
|
|
61248
|
+
nullable: true,
|
|
61249
|
+
properties: {
|
|
61250
|
+
normal_hours: {
|
|
61251
|
+
properties: {
|
|
61252
|
+
noise_threshold_decibels: {
|
|
61253
|
+
format: 'float',
|
|
61254
|
+
maximum: 120,
|
|
61255
|
+
minimum: 60,
|
|
61256
|
+
type: 'number',
|
|
61257
|
+
},
|
|
61258
|
+
},
|
|
61259
|
+
required: ['noise_threshold_decibels'],
|
|
61260
|
+
type: 'object',
|
|
61261
|
+
},
|
|
61262
|
+
quiet_hours: {
|
|
61263
|
+
nullable: true,
|
|
61264
|
+
properties: {
|
|
61265
|
+
ends_daily_at: {
|
|
61266
|
+
description: "Time of day as HH:00, in each noise sensor's own time zone.",
|
|
61267
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
61268
|
+
type: 'string',
|
|
61269
|
+
},
|
|
61270
|
+
noise_threshold_decibels: {
|
|
61271
|
+
format: 'float',
|
|
61272
|
+
maximum: 120,
|
|
61273
|
+
minimum: 60,
|
|
61274
|
+
type: 'number',
|
|
61275
|
+
},
|
|
61276
|
+
starts_daily_at: {
|
|
61277
|
+
description: "Time of day as HH:00, in each noise sensor's own time zone.",
|
|
61278
|
+
pattern: '^([01]\\d|2[0-3]):00$',
|
|
61279
|
+
type: 'string',
|
|
61280
|
+
},
|
|
61281
|
+
},
|
|
61282
|
+
required: [
|
|
61283
|
+
'starts_daily_at',
|
|
61284
|
+
'ends_daily_at',
|
|
61285
|
+
'noise_threshold_decibels',
|
|
61286
|
+
],
|
|
61287
|
+
type: 'object',
|
|
61288
|
+
},
|
|
61289
|
+
vacant: {
|
|
61290
|
+
description: '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.',
|
|
61291
|
+
nullable: true,
|
|
61292
|
+
properties: {
|
|
61293
|
+
minutes_after_check_out: {
|
|
61294
|
+
maximum: 1440,
|
|
61295
|
+
minimum: 0,
|
|
61296
|
+
type: 'integer',
|
|
61297
|
+
},
|
|
61298
|
+
noise_threshold_decibels: {
|
|
61299
|
+
format: 'float',
|
|
61300
|
+
maximum: 120,
|
|
61301
|
+
minimum: 60,
|
|
61302
|
+
type: 'number',
|
|
61303
|
+
},
|
|
61304
|
+
},
|
|
61305
|
+
required: ['noise_threshold_decibels'],
|
|
61306
|
+
type: 'object',
|
|
61307
|
+
},
|
|
61308
|
+
},
|
|
61309
|
+
required: ['normal_hours'],
|
|
61310
|
+
type: 'object',
|
|
61311
|
+
},
|
|
61312
|
+
},
|
|
61313
|
+
type: 'object',
|
|
61314
|
+
},
|
|
61315
|
+
},
|
|
61316
|
+
type: 'object',
|
|
61317
|
+
},
|
|
61091
61318
|
sound_rules: {
|
|
61092
61319
|
description: 'Sound automation rules configuration.',
|
|
61093
61320
|
properties: {
|
|
@@ -61103,33 +61330,6 @@ const openapi = {
|
|
|
61103
61330
|
minimum: 0,
|
|
61104
61331
|
type: 'integer',
|
|
61105
61332
|
},
|
|
61106
|
-
noise_sensors: {
|
|
61107
|
-
properties: {
|
|
61108
|
-
noise_thresholds: {
|
|
61109
|
-
items: {
|
|
61110
|
-
properties: {
|
|
61111
|
-
ends_daily_at: { type: 'string' },
|
|
61112
|
-
name: { type: 'string' },
|
|
61113
|
-
noise_threshold_decibels: {
|
|
61114
|
-
format: 'float',
|
|
61115
|
-
type: 'number',
|
|
61116
|
-
},
|
|
61117
|
-
starts_daily_at: { type: 'string' },
|
|
61118
|
-
},
|
|
61119
|
-
required: [
|
|
61120
|
-
'starts_daily_at',
|
|
61121
|
-
'ends_daily_at',
|
|
61122
|
-
'noise_threshold_decibels',
|
|
61123
|
-
],
|
|
61124
|
-
type: 'object',
|
|
61125
|
-
},
|
|
61126
|
-
maxItems: 10,
|
|
61127
|
-
type: 'array',
|
|
61128
|
-
},
|
|
61129
|
-
},
|
|
61130
|
-
required: ['noise_thresholds'],
|
|
61131
|
-
type: 'object',
|
|
61132
|
-
},
|
|
61133
61333
|
speakers: {
|
|
61134
61334
|
properties: {
|
|
61135
61335
|
play_audio_clip: {
|
|
@@ -61181,33 +61381,6 @@ const openapi = {
|
|
|
61181
61381
|
minimum: 0,
|
|
61182
61382
|
type: 'integer',
|
|
61183
61383
|
},
|
|
61184
|
-
noise_sensors: {
|
|
61185
|
-
properties: {
|
|
61186
|
-
noise_thresholds: {
|
|
61187
|
-
items: {
|
|
61188
|
-
properties: {
|
|
61189
|
-
ends_daily_at: { type: 'string' },
|
|
61190
|
-
name: { type: 'string' },
|
|
61191
|
-
noise_threshold_decibels: {
|
|
61192
|
-
format: 'float',
|
|
61193
|
-
type: 'number',
|
|
61194
|
-
},
|
|
61195
|
-
starts_daily_at: { type: 'string' },
|
|
61196
|
-
},
|
|
61197
|
-
required: [
|
|
61198
|
-
'starts_daily_at',
|
|
61199
|
-
'ends_daily_at',
|
|
61200
|
-
'noise_threshold_decibels',
|
|
61201
|
-
],
|
|
61202
|
-
type: 'object',
|
|
61203
|
-
},
|
|
61204
|
-
maxItems: 10,
|
|
61205
|
-
type: 'array',
|
|
61206
|
-
},
|
|
61207
|
-
},
|
|
61208
|
-
required: ['noise_thresholds'],
|
|
61209
|
-
type: 'object',
|
|
61210
|
-
},
|
|
61211
61384
|
speakers: {
|
|
61212
61385
|
properties: {
|
|
61213
61386
|
pause_playback: { type: 'boolean' },
|