@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.
package/dist/connect.cjs CHANGED
@@ -5139,6 +5139,28 @@ var instant_key = zod.z.object({
5139
5139
 
5140
5140
  There\u2019s no app to install, nor account to create. Your user just taps a link and gets a lightweight, native-feeling experience using iOS App Clip or Instant Apps on Android. Further, Instant Keys work offline, so even in areas with poor cellular or Wi-Fi, like elevator banks or concrete-walled hallways, the Instant Keys still work.
5141
5141
  `);
5142
+ var noise_threshold = zod.z.object({
5143
+ noise_threshold_id: zod.z.string().uuid().describe("Unique identifier for the noise threshold."),
5144
+ device_id: zod.z.string().uuid().describe(
5145
+ "Unique identifier for the device that contains the noise threshold."
5146
+ ),
5147
+ name: zod.z.string().describe("Name of the noise threshold."),
5148
+ noise_threshold_nrs: zod.z.number().optional().describe(
5149
+ "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)."
5150
+ ),
5151
+ starts_daily_at: zod.z.string().describe("Time at which the noise threshold should become active daily."),
5152
+ // TODO: zoned_time
5153
+ ends_daily_at: zod.z.string().describe(
5154
+ "Time at which the noise threshold should become inactive daily."
5155
+ ),
5156
+ // TODO: zoned_time
5157
+ noise_threshold_decibels: zod.z.number().describe("Noise level in decibels for the noise threshold.")
5158
+ }).describe(`
5159
+ ---
5160
+ route_path: /noise_sensors/noise_thresholds
5161
+ ---
5162
+ Represents a [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/latest/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
5163
+ `);
5142
5164
  var space = zod.z.object({
5143
5165
  space_id: zod.z.string().uuid().describe("ID of the space."),
5144
5166
  workspace_id: zod.z.string().uuid().describe(
@@ -5341,7 +5363,8 @@ zod.z.object({
5341
5363
  access_codes: access_code.array().optional(),
5342
5364
  unmanaged_access_codes: unmanaged_access_code.array().optional(),
5343
5365
  thermostat_daily_programs: thermostat_daily_program.array().optional(),
5344
- thermostat_schedules: thermostat_schedule.array().optional()
5366
+ thermostat_schedules: thermostat_schedule.array().optional(),
5367
+ noise_thresholds: noise_threshold.array().optional()
5345
5368
  }).describe("A batch of workspace resources.");
5346
5369
  var batch = zod.z.object({
5347
5370
  batch_type: zod.z.enum([
@@ -5374,7 +5397,8 @@ var batch = zod.z.object({
5374
5397
  access_codes: access_code.array().optional(),
5375
5398
  unmanaged_access_codes: unmanaged_access_code.array().optional(),
5376
5399
  thermostat_daily_programs: thermostat_daily_program.array().optional(),
5377
- thermostat_schedules: thermostat_schedule.array().optional()
5400
+ thermostat_schedules: thermostat_schedule.array().optional(),
5401
+ noise_thresholds: noise_threshold.array().optional()
5378
5402
  }).describe("A batch of workspace resources.");
5379
5403
  var bridge = zod.z.object({
5380
5404
  bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
@@ -5469,28 +5493,6 @@ var customization_profile = zod.z.object({
5469
5493
  ---
5470
5494
  A customization profile.
5471
5495
  `);
5472
- var noise_threshold = zod.z.object({
5473
- noise_threshold_id: zod.z.string().uuid().describe("Unique identifier for the noise threshold."),
5474
- device_id: zod.z.string().uuid().describe(
5475
- "Unique identifier for the device that contains the noise threshold."
5476
- ),
5477
- name: zod.z.string().describe("Name of the noise threshold."),
5478
- noise_threshold_nrs: zod.z.number().optional().describe(
5479
- "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)."
5480
- ),
5481
- starts_daily_at: zod.z.string().describe("Time at which the noise threshold should become active daily."),
5482
- // TODO: zoned_time
5483
- ends_daily_at: zod.z.string().describe(
5484
- "Time at which the noise threshold should become inactive daily."
5485
- ),
5486
- // TODO: zoned_time
5487
- noise_threshold_decibels: zod.z.number().describe("Noise level in decibels for the noise threshold.")
5488
- }).describe(`
5489
- ---
5490
- route_path: /noise_sensors/noise_thresholds
5491
- ---
5492
- Represents a [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/latest/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
5493
- `);
5494
5496
  var pagination = zod.z.object({
5495
5497
  next_page_cursor: zod.z.string().base64().nullable().describe(
5496
5498
  "Opaque value that can be used to select the next page of results via the `page_cursor` parameter."
@@ -31940,6 +31942,12 @@ var openapi_default = {
31940
31942
  items: { $ref: "#/components/schemas/instant_key" },
31941
31943
  type: "array"
31942
31944
  },
31945
+ noise_thresholds: {
31946
+ items: {
31947
+ $ref: "#/components/schemas/noise_threshold"
31948
+ },
31949
+ type: "array"
31950
+ },
31943
31951
  spaces: {
31944
31952
  items: { $ref: "#/components/schemas/space" },
31945
31953
  type: "array"
@@ -32147,6 +32155,12 @@ var openapi_default = {
32147
32155
  items: { $ref: "#/components/schemas/instant_key" },
32148
32156
  type: "array"
32149
32157
  },
32158
+ noise_thresholds: {
32159
+ items: {
32160
+ $ref: "#/components/schemas/noise_threshold"
32161
+ },
32162
+ type: "array"
32163
+ },
32150
32164
  spaces: {
32151
32165
  items: { $ref: "#/components/schemas/space" },
32152
32166
  type: "array"
@@ -58159,6 +58173,12 @@ var openapi_default = {
58159
58173
  items: { $ref: "#/components/schemas/instant_key" },
58160
58174
  type: "array"
58161
58175
  },
58176
+ noise_thresholds: {
58177
+ items: {
58178
+ $ref: "#/components/schemas/noise_threshold"
58179
+ },
58180
+ type: "array"
58181
+ },
58162
58182
  spaces: {
58163
58183
  items: { $ref: "#/components/schemas/space" },
58164
58184
  type: "array"
@@ -58346,6 +58366,12 @@ var openapi_default = {
58346
58366
  items: { $ref: "#/components/schemas/instant_key" },
58347
58367
  type: "array"
58348
58368
  },
58369
+ noise_thresholds: {
58370
+ items: {
58371
+ $ref: "#/components/schemas/noise_threshold"
58372
+ },
58373
+ type: "array"
58374
+ },
58349
58375
  spaces: {
58350
58376
  items: { $ref: "#/components/schemas/space" },
58351
58377
  type: "array"