@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.
@@ -13268,6 +13268,7 @@ const openapi = {
13268
13268
  type: 'object',
13269
13269
  },
13270
13270
  {
13271
+ deprecated: true,
13271
13272
  description: '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.',
13272
13273
  properties: {
13273
13274
  created_at: {
@@ -13287,6 +13288,7 @@ const openapi = {
13287
13288
  },
13288
13289
  required: ['created_at', 'message', 'warning_code'],
13289
13290
  type: 'object',
13291
+ 'x-deprecated': 'Seam no longer sets this warning.',
13290
13292
  },
13291
13293
  ],
13292
13294
  },
@@ -31855,6 +31857,37 @@ const openapi = {
31855
31857
  required: ['created_at', 'message', 'warning_code'],
31856
31858
  type: 'object',
31857
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
+ },
31858
31891
  ],
31859
31892
  },
31860
31893
  type: 'array',
@@ -58699,6 +58732,62 @@ const openapi = {
58699
58732
  type: 'object',
58700
58733
  },
58701
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
+ },
58781
+ required: ['normal_hours'],
58782
+ type: 'object',
58783
+ },
58784
+ },
58785
+ type: 'object',
58786
+ },
58787
+ },
58788
+ required: ['rules'],
58789
+ type: 'object',
58790
+ },
58702
58791
  sound_rules: {
58703
58792
  properties: {
58704
58793
  rules: {
@@ -58712,19 +58801,6 @@ const openapi = {
58712
58801
  minimum: 0,
58713
58802
  type: 'integer',
58714
58803
  },
58715
- noise_sensors: {
58716
- properties: {
58717
- noise_thresholds: {
58718
- items: {
58719
- $ref: '#/components/schemas/noise_threshold',
58720
- },
58721
- maxItems: 10,
58722
- type: 'array',
58723
- },
58724
- },
58725
- required: ['noise_thresholds'],
58726
- type: 'object',
58727
- },
58728
58804
  speakers: {
58729
58805
  properties: {
58730
58806
  play_audio_clip: {
@@ -58776,19 +58852,6 @@ const openapi = {
58776
58852
  minimum: 0,
58777
58853
  type: 'integer',
58778
58854
  },
58779
- noise_sensors: {
58780
- properties: {
58781
- noise_thresholds: {
58782
- items: {
58783
- $ref: '#/components/schemas/noise_threshold',
58784
- },
58785
- maxItems: 10,
58786
- type: 'array',
58787
- },
58788
- },
58789
- required: ['noise_thresholds'],
58790
- type: 'object',
58791
- },
58792
58855
  speakers: {
58793
58856
  properties: {
58794
58857
  pause_playback: { type: 'boolean' },
@@ -59207,6 +59270,63 @@ const openapi = {
59207
59270
  minLength: 1,
59208
59271
  type: 'string',
59209
59272
  },
59273
+ sensor_rules: {
59274
+ 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.",
59275
+ properties: {
59276
+ rules: {
59277
+ properties: {
59278
+ noise_sensors: {
59279
+ nullable: true,
59280
+ properties: {
59281
+ normal_hours: {
59282
+ properties: {
59283
+ noise_threshold_decibels: {
59284
+ format: 'float',
59285
+ maximum: 120,
59286
+ minimum: 60,
59287
+ type: 'number',
59288
+ },
59289
+ },
59290
+ required: ['noise_threshold_decibels'],
59291
+ type: 'object',
59292
+ },
59293
+ quiet_hours: {
59294
+ nullable: true,
59295
+ properties: {
59296
+ ends_daily_at: {
59297
+ description: "Time of day as HH:00, in each noise sensor's own time zone.",
59298
+ pattern: '^([01]\\d|2[0-3]):00$',
59299
+ type: 'string',
59300
+ },
59301
+ noise_threshold_decibels: {
59302
+ format: 'float',
59303
+ maximum: 120,
59304
+ minimum: 60,
59305
+ type: 'number',
59306
+ },
59307
+ starts_daily_at: {
59308
+ description: "Time of day as HH:00, in each noise sensor's own time zone.",
59309
+ pattern: '^([01]\\d|2[0-3]):00$',
59310
+ type: 'string',
59311
+ },
59312
+ },
59313
+ required: [
59314
+ 'starts_daily_at',
59315
+ 'ends_daily_at',
59316
+ 'noise_threshold_decibels',
59317
+ ],
59318
+ type: 'object',
59319
+ },
59320
+ },
59321
+ required: ['normal_hours'],
59322
+ type: 'object',
59323
+ },
59324
+ },
59325
+ type: 'object',
59326
+ },
59327
+ },
59328
+ type: 'object',
59329
+ },
59210
59330
  sound_rules: {
59211
59331
  description: 'Sound automation rules configuration.',
59212
59332
  properties: {
@@ -59222,33 +59342,6 @@ const openapi = {
59222
59342
  minimum: 0,
59223
59343
  type: 'integer',
59224
59344
  },
59225
- noise_sensors: {
59226
- properties: {
59227
- noise_thresholds: {
59228
- items: {
59229
- properties: {
59230
- ends_daily_at: { type: 'string' },
59231
- name: { type: 'string' },
59232
- noise_threshold_decibels: {
59233
- format: 'float',
59234
- type: 'number',
59235
- },
59236
- starts_daily_at: { type: 'string' },
59237
- },
59238
- required: [
59239
- 'starts_daily_at',
59240
- 'ends_daily_at',
59241
- 'noise_threshold_decibels',
59242
- ],
59243
- type: 'object',
59244
- },
59245
- maxItems: 10,
59246
- type: 'array',
59247
- },
59248
- },
59249
- required: ['noise_thresholds'],
59250
- type: 'object',
59251
- },
59252
59345
  speakers: {
59253
59346
  properties: {
59254
59347
  play_audio_clip: {
@@ -59300,33 +59393,6 @@ const openapi = {
59300
59393
  minimum: 0,
59301
59394
  type: 'integer',
59302
59395
  },
59303
- noise_sensors: {
59304
- properties: {
59305
- noise_thresholds: {
59306
- items: {
59307
- properties: {
59308
- ends_daily_at: { type: 'string' },
59309
- name: { type: 'string' },
59310
- noise_threshold_decibels: {
59311
- format: 'float',
59312
- type: 'number',
59313
- },
59314
- starts_daily_at: { type: 'string' },
59315
- },
59316
- required: [
59317
- 'starts_daily_at',
59318
- 'ends_daily_at',
59319
- 'noise_threshold_decibels',
59320
- ],
59321
- type: 'object',
59322
- },
59323
- maxItems: 10,
59324
- type: 'array',
59325
- },
59326
- },
59327
- required: ['noise_thresholds'],
59328
- type: 'object',
59329
- },
59330
59396
  speakers: {
59331
59397
  properties: {
59332
59398
  pause_playback: { type: 'boolean' },
@@ -60651,6 +60717,62 @@ const openapi = {
60651
60717
  required: ['rules'],
60652
60718
  type: 'object',
60653
60719
  },
60720
+ sensor_rules: {
60721
+ properties: {
60722
+ rules: {
60723
+ properties: {
60724
+ noise_sensors: {
60725
+ properties: {
60726
+ normal_hours: {
60727
+ properties: {
60728
+ noise_threshold_decibels: {
60729
+ format: 'float',
60730
+ maximum: 120,
60731
+ minimum: 60,
60732
+ type: 'number',
60733
+ },
60734
+ },
60735
+ required: ['noise_threshold_decibels'],
60736
+ type: 'object',
60737
+ },
60738
+ quiet_hours: {
60739
+ nullable: true,
60740
+ properties: {
60741
+ ends_daily_at: {
60742
+ description: "Time of day as HH:00, in each noise sensor's own time zone.",
60743
+ pattern: '^([01]\\d|2[0-3]):00$',
60744
+ type: 'string',
60745
+ },
60746
+ noise_threshold_decibels: {
60747
+ format: 'float',
60748
+ maximum: 120,
60749
+ minimum: 60,
60750
+ type: 'number',
60751
+ },
60752
+ starts_daily_at: {
60753
+ description: "Time of day as HH:00, in each noise sensor's own time zone.",
60754
+ pattern: '^([01]\\d|2[0-3]):00$',
60755
+ type: 'string',
60756
+ },
60757
+ },
60758
+ required: [
60759
+ 'starts_daily_at',
60760
+ 'ends_daily_at',
60761
+ 'noise_threshold_decibels',
60762
+ ],
60763
+ type: 'object',
60764
+ },
60765
+ },
60766
+ required: ['normal_hours'],
60767
+ type: 'object',
60768
+ },
60769
+ },
60770
+ type: 'object',
60771
+ },
60772
+ },
60773
+ required: ['rules'],
60774
+ type: 'object',
60775
+ },
60654
60776
  sound_rules: {
60655
60777
  properties: {
60656
60778
  rules: {
@@ -60664,19 +60786,6 @@ const openapi = {
60664
60786
  minimum: 0,
60665
60787
  type: 'integer',
60666
60788
  },
60667
- noise_sensors: {
60668
- properties: {
60669
- noise_thresholds: {
60670
- items: {
60671
- $ref: '#/components/schemas/noise_threshold',
60672
- },
60673
- maxItems: 10,
60674
- type: 'array',
60675
- },
60676
- },
60677
- required: ['noise_thresholds'],
60678
- type: 'object',
60679
- },
60680
60789
  speakers: {
60681
60790
  properties: {
60682
60791
  play_audio_clip: {
@@ -60728,19 +60837,6 @@ const openapi = {
60728
60837
  minimum: 0,
60729
60838
  type: 'integer',
60730
60839
  },
60731
- noise_sensors: {
60732
- properties: {
60733
- noise_thresholds: {
60734
- items: {
60735
- $ref: '#/components/schemas/noise_threshold',
60736
- },
60737
- maxItems: 10,
60738
- type: 'array',
60739
- },
60740
- },
60741
- required: ['noise_thresholds'],
60742
- type: 'object',
60743
- },
60744
60840
  speakers: {
60745
60841
  properties: {
60746
60842
  pause_playback: { type: 'boolean' },
@@ -61086,6 +61182,63 @@ const openapi = {
61086
61182
  },
61087
61183
  type: 'object',
61088
61184
  },
61185
+ sensor_rules: {
61186
+ description: 'Sensor automation rules configuration.',
61187
+ properties: {
61188
+ rules: {
61189
+ properties: {
61190
+ noise_sensors: {
61191
+ nullable: true,
61192
+ properties: {
61193
+ normal_hours: {
61194
+ properties: {
61195
+ noise_threshold_decibels: {
61196
+ format: 'float',
61197
+ maximum: 120,
61198
+ minimum: 60,
61199
+ type: 'number',
61200
+ },
61201
+ },
61202
+ required: ['noise_threshold_decibels'],
61203
+ type: 'object',
61204
+ },
61205
+ quiet_hours: {
61206
+ nullable: true,
61207
+ properties: {
61208
+ ends_daily_at: {
61209
+ description: "Time of day as HH:00, in each noise sensor's own time zone.",
61210
+ pattern: '^([01]\\d|2[0-3]):00$',
61211
+ type: 'string',
61212
+ },
61213
+ noise_threshold_decibels: {
61214
+ format: 'float',
61215
+ maximum: 120,
61216
+ minimum: 60,
61217
+ type: 'number',
61218
+ },
61219
+ starts_daily_at: {
61220
+ description: "Time of day as HH:00, in each noise sensor's own time zone.",
61221
+ pattern: '^([01]\\d|2[0-3]):00$',
61222
+ type: 'string',
61223
+ },
61224
+ },
61225
+ required: [
61226
+ 'starts_daily_at',
61227
+ 'ends_daily_at',
61228
+ 'noise_threshold_decibels',
61229
+ ],
61230
+ type: 'object',
61231
+ },
61232
+ },
61233
+ required: ['normal_hours'],
61234
+ type: 'object',
61235
+ },
61236
+ },
61237
+ type: 'object',
61238
+ },
61239
+ },
61240
+ type: 'object',
61241
+ },
61089
61242
  sound_rules: {
61090
61243
  description: 'Sound automation rules configuration.',
61091
61244
  properties: {
@@ -61101,33 +61254,6 @@ const openapi = {
61101
61254
  minimum: 0,
61102
61255
  type: 'integer',
61103
61256
  },
61104
- noise_sensors: {
61105
- properties: {
61106
- noise_thresholds: {
61107
- items: {
61108
- properties: {
61109
- ends_daily_at: { type: 'string' },
61110
- name: { type: 'string' },
61111
- noise_threshold_decibels: {
61112
- format: 'float',
61113
- type: 'number',
61114
- },
61115
- starts_daily_at: { type: 'string' },
61116
- },
61117
- required: [
61118
- 'starts_daily_at',
61119
- 'ends_daily_at',
61120
- 'noise_threshold_decibels',
61121
- ],
61122
- type: 'object',
61123
- },
61124
- maxItems: 10,
61125
- type: 'array',
61126
- },
61127
- },
61128
- required: ['noise_thresholds'],
61129
- type: 'object',
61130
- },
61131
61257
  speakers: {
61132
61258
  properties: {
61133
61259
  play_audio_clip: {
@@ -61179,33 +61305,6 @@ const openapi = {
61179
61305
  minimum: 0,
61180
61306
  type: 'integer',
61181
61307
  },
61182
- noise_sensors: {
61183
- properties: {
61184
- noise_thresholds: {
61185
- items: {
61186
- properties: {
61187
- ends_daily_at: { type: 'string' },
61188
- name: { type: 'string' },
61189
- noise_threshold_decibels: {
61190
- format: 'float',
61191
- type: 'number',
61192
- },
61193
- starts_daily_at: { type: 'string' },
61194
- },
61195
- required: [
61196
- 'starts_daily_at',
61197
- 'ends_daily_at',
61198
- 'noise_threshold_decibels',
61199
- ],
61200
- type: 'object',
61201
- },
61202
- maxItems: 10,
61203
- type: 'array',
61204
- },
61205
- },
61206
- required: ['noise_thresholds'],
61207
- type: 'object',
61208
- },
61209
61308
  speakers: {
61210
61309
  properties: {
61211
61310
  pause_playback: { type: 'boolean' },