@seamapi/types 1.418.1 → 1.419.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
@@ -1463,6 +1463,14 @@ var ttlock_weak_gateway_signal = common_device_warning.extend({
1463
1463
  }).describe(`
1464
1464
  Indicates that the gateway signal is weak.
1465
1465
  `);
1466
+ var power_saving_mode = common_device_warning.extend({
1467
+ warning_code: zod.z.literal("power_saving_mode").describe(warning_code_description2)
1468
+ }).describe(`
1469
+ ---
1470
+ variant_group_key: locks
1471
+ ---
1472
+ Indicates that the device is in power saving mode and may have limited functionality.
1473
+ `);
1466
1474
  var temperature_threshold_exceeded = common_device_warning.extend({
1467
1475
  warning_code: zod.z.literal("temperature_threshold_exceeded").describe(warning_code_description2)
1468
1476
  }).describe(`
@@ -1502,6 +1510,7 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
1502
1510
  nest_thermostat_in_manual_eco_mode,
1503
1511
  ttlock_lock_gateway_unlocking_not_enabled,
1504
1512
  ttlock_weak_gateway_signal,
1513
+ power_saving_mode,
1505
1514
  temperature_threshold_exceeded,
1506
1515
  device_communication_degraded,
1507
1516
  scheduled_maintenance_window2,
@@ -1525,6 +1534,7 @@ zod.z.object({
1525
1534
  nest_thermostat_in_manual_eco_mode: nest_thermostat_in_manual_eco_mode.optional().nullable(),
1526
1535
  ttlock_lock_gateway_unlocking_not_enabled: ttlock_lock_gateway_unlocking_not_enabled.optional().nullable(),
1527
1536
  ttlock_weak_gateway_signal: ttlock_weak_gateway_signal.optional().nullable(),
1537
+ power_saving_mode: power_saving_mode.optional().nullable(),
1528
1538
  temperature_threshold_exceeded: temperature_threshold_exceeded.optional().nullable(),
1529
1539
  device_communication_degraded: device_communication_degraded.optional().nullable(),
1530
1540
  scheduled_maintenance_window: scheduled_maintenance_window2.optional().nullable(),
@@ -16468,6 +16478,28 @@ var openapi_default = {
16468
16478
  required: ["message", "created_at", "warning_code"],
16469
16479
  type: "object"
16470
16480
  },
16481
+ {
16482
+ description: "Indicates that the device is in power saving mode and may have limited functionality.",
16483
+ properties: {
16484
+ created_at: {
16485
+ description: "Date and time at which Seam created the warning.",
16486
+ format: "date-time",
16487
+ type: "string"
16488
+ },
16489
+ message: {
16490
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
16491
+ type: "string"
16492
+ },
16493
+ warning_code: {
16494
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16495
+ enum: ["power_saving_mode"],
16496
+ type: "string"
16497
+ }
16498
+ },
16499
+ required: ["message", "created_at", "warning_code"],
16500
+ type: "object",
16501
+ "x-variant-group-key": "locks"
16502
+ },
16471
16503
  {
16472
16504
  description: "Indicates that the temperature threshold has been exceeded.",
16473
16505
  properties: {
@@ -26400,6 +26432,28 @@ var openapi_default = {
26400
26432
  required: ["message", "created_at", "warning_code"],
26401
26433
  type: "object"
26402
26434
  },
26435
+ {
26436
+ description: "Indicates that the device is in power saving mode and may have limited functionality.",
26437
+ properties: {
26438
+ created_at: {
26439
+ description: "Date and time at which Seam created the warning.",
26440
+ format: "date-time",
26441
+ type: "string"
26442
+ },
26443
+ message: {
26444
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
26445
+ type: "string"
26446
+ },
26447
+ warning_code: {
26448
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
26449
+ enum: ["power_saving_mode"],
26450
+ type: "string"
26451
+ }
26452
+ },
26453
+ required: ["message", "created_at", "warning_code"],
26454
+ type: "object",
26455
+ "x-variant-group-key": "locks"
26456
+ },
26403
26457
  {
26404
26458
  description: "Indicates that the temperature threshold has been exceeded.",
26405
26459
  properties: {