@seamapi/types 1.498.0 → 1.499.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.
@@ -20145,6 +20145,22 @@ export type Routes = {
20145
20145
  message: string;
20146
20146
  }[];
20147
20147
  }[] | undefined;
20148
+ noise_thresholds?: {
20149
+ /** Unique identifier for the noise threshold. */
20150
+ noise_threshold_id: string;
20151
+ /** Unique identifier for the device that contains the noise threshold. */
20152
+ device_id: string;
20153
+ /** Name of the noise threshold. */
20154
+ name: string;
20155
+ /** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
20156
+ noise_threshold_nrs?: number | undefined;
20157
+ /** Time at which the noise threshold should become active daily. */
20158
+ starts_daily_at: string;
20159
+ /** Time at which the noise threshold should become inactive daily. */
20160
+ ends_daily_at: string;
20161
+ /** Noise level in decibels for the noise threshold. */
20162
+ noise_threshold_decibels: number;
20163
+ }[] | undefined;
20148
20164
  };
20149
20165
  };
20150
20166
  };
@@ -86095,6 +86111,22 @@ export type Routes = {
86095
86111
  message: string;
86096
86112
  }[];
86097
86113
  }[] | undefined;
86114
+ noise_thresholds?: {
86115
+ /** Unique identifier for the noise threshold. */
86116
+ noise_threshold_id: string;
86117
+ /** Unique identifier for the device that contains the noise threshold. */
86118
+ device_id: string;
86119
+ /** Name of the noise threshold. */
86120
+ name: string;
86121
+ /** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
86122
+ noise_threshold_nrs?: number | undefined;
86123
+ /** Time at which the noise threshold should become active daily. */
86124
+ starts_daily_at: string;
86125
+ /** Time at which the noise threshold should become inactive daily. */
86126
+ ends_daily_at: string;
86127
+ /** Noise level in decibels for the noise threshold. */
86128
+ noise_threshold_decibels: number;
86129
+ }[] | undefined;
86098
86130
  };
86099
86131
  };
86100
86132
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.498.0",
3
+ "version": "1.499.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -22,6 +22,7 @@ import { device } from './devices/index.js'
22
22
  import { unmanaged_device } from './devices/unmanaged-device.js'
23
23
  import { seam_event } from './events/seam-event.js'
24
24
  import { instant_key } from './instant-keys/instant-key.js'
25
+ import { noise_threshold } from './noise-sensors/noise-threshold.js'
25
26
  import { space } from './spaces/index.js'
26
27
  import {
27
28
  thermostat_daily_program,
@@ -88,6 +89,7 @@ export const workspaces_batch = z
88
89
  unmanaged_access_codes: unmanaged_access_code.array().optional(),
89
90
  thermostat_daily_programs: thermostat_daily_program.array().optional(),
90
91
  thermostat_schedules: thermostat_schedule.array().optional(),
92
+ noise_thresholds: noise_threshold.array().optional(),
91
93
  })
92
94
  .describe('A batch of workspace resources.')
93
95
 
@@ -124,6 +126,7 @@ export const batch = z
124
126
  unmanaged_access_codes: unmanaged_access_code.array().optional(),
125
127
  thermostat_daily_programs: thermostat_daily_program.array().optional(),
126
128
  thermostat_schedules: thermostat_schedule.array().optional(),
129
+ noise_thresholds: noise_threshold.array().optional(),
127
130
  })
128
131
  .describe('A batch of workspace resources.')
129
132
 
@@ -29281,6 +29281,12 @@ export default {
29281
29281
  items: { $ref: '#/components/schemas/instant_key' },
29282
29282
  type: 'array',
29283
29283
  },
29284
+ noise_thresholds: {
29285
+ items: {
29286
+ $ref: '#/components/schemas/noise_threshold',
29287
+ },
29288
+ type: 'array',
29289
+ },
29284
29290
  spaces: {
29285
29291
  items: { $ref: '#/components/schemas/space' },
29286
29292
  type: 'array',
@@ -29490,6 +29496,12 @@ export default {
29490
29496
  items: { $ref: '#/components/schemas/instant_key' },
29491
29497
  type: 'array',
29492
29498
  },
29499
+ noise_thresholds: {
29500
+ items: {
29501
+ $ref: '#/components/schemas/noise_threshold',
29502
+ },
29503
+ type: 'array',
29504
+ },
29493
29505
  spaces: {
29494
29506
  items: { $ref: '#/components/schemas/space' },
29495
29507
  type: 'array',
@@ -56894,6 +56906,12 @@ export default {
56894
56906
  items: { $ref: '#/components/schemas/instant_key' },
56895
56907
  type: 'array',
56896
56908
  },
56909
+ noise_thresholds: {
56910
+ items: {
56911
+ $ref: '#/components/schemas/noise_threshold',
56912
+ },
56913
+ type: 'array',
56914
+ },
56897
56915
  spaces: {
56898
56916
  items: { $ref: '#/components/schemas/space' },
56899
56917
  type: 'array',
@@ -57081,6 +57099,12 @@ export default {
57081
57099
  items: { $ref: '#/components/schemas/instant_key' },
57082
57100
  type: 'array',
57083
57101
  },
57102
+ noise_thresholds: {
57103
+ items: {
57104
+ $ref: '#/components/schemas/noise_threshold',
57105
+ },
57106
+ type: 'array',
57107
+ },
57084
57108
  spaces: {
57085
57109
  items: { $ref: '#/components/schemas/space' },
57086
57110
  type: 'array',
@@ -23364,6 +23364,24 @@ export type Routes = {
23364
23364
  }[]
23365
23365
  }[]
23366
23366
  | undefined
23367
+ noise_thresholds?:
23368
+ | {
23369
+ /** Unique identifier for the noise threshold. */
23370
+ noise_threshold_id: string
23371
+ /** Unique identifier for the device that contains the noise threshold. */
23372
+ device_id: string
23373
+ /** Name of the noise threshold. */
23374
+ name: string
23375
+ /** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
23376
+ noise_threshold_nrs?: number | undefined
23377
+ /** Time at which the noise threshold should become active daily. */
23378
+ starts_daily_at: string
23379
+ /** Time at which the noise threshold should become inactive daily. */
23380
+ ends_daily_at: string
23381
+ /** Noise level in decibels for the noise threshold. */
23382
+ noise_threshold_decibels: number
23383
+ }[]
23384
+ | undefined
23367
23385
  }
23368
23386
  }
23369
23387
  }
@@ -102167,6 +102185,24 @@ export type Routes = {
102167
102185
  }[]
102168
102186
  }[]
102169
102187
  | undefined
102188
+ noise_thresholds?:
102189
+ | {
102190
+ /** Unique identifier for the noise threshold. */
102191
+ noise_threshold_id: string
102192
+ /** Unique identifier for the device that contains the noise threshold. */
102193
+ device_id: string
102194
+ /** Name of the noise threshold. */
102195
+ name: string
102196
+ /** Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/latest/device-and-system-integration-guides/noiseaware-sensors). */
102197
+ noise_threshold_nrs?: number | undefined
102198
+ /** Time at which the noise threshold should become active daily. */
102199
+ starts_daily_at: string
102200
+ /** Time at which the noise threshold should become inactive daily. */
102201
+ ends_daily_at: string
102202
+ /** Noise level in decibels for the noise threshold. */
102203
+ noise_threshold_decibels: number
102204
+ }[]
102205
+ | undefined
102170
102206
  }
102171
102207
  }
102172
102208
  }