@seamapi/types 1.759.0 → 1.761.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
@@ -1502,6 +1502,14 @@ var accessory_keypad_setup_required = common_device_warning.extend({
1502
1502
  ---
1503
1503
  Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.
1504
1504
  `);
1505
+ var unreliable_online_status = common_device_warning.extend({
1506
+ warning_code: zod.z.literal("unreliable_online_status").describe(warning_code_description2)
1507
+ }).describe(`
1508
+ ---
1509
+ variant_group_key: locks
1510
+ ---
1511
+ Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.
1512
+ `);
1505
1513
  var max_access_codes_reached = common_device_warning.extend({
1506
1514
  warning_code: zod.z.literal("max_access_codes_reached").describe(warning_code_description2),
1507
1515
  active_access_code_count: zod.z.number().int().describe(
@@ -1536,6 +1544,7 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
1536
1544
  hub_required_for_additional_capabilities,
1537
1545
  keynest_unsupported_locker,
1538
1546
  accessory_keypad_setup_required,
1547
+ unreliable_online_status,
1539
1548
  max_access_codes_reached
1540
1549
  ]);
1541
1550
  zod.z.object({
@@ -1563,6 +1572,7 @@ zod.z.object({
1563
1572
  hub_required_for_additional_capabilities: hub_required_for_additional_capabilities.optional().nullable(),
1564
1573
  keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
1565
1574
  accessory_keypad_setup_required: accessory_keypad_setup_required.optional().nullable(),
1575
+ unreliable_online_status: unreliable_online_status.optional().nullable(),
1566
1576
  max_access_codes_reached: max_access_codes_reached.optional().nullable()
1567
1577
  });
1568
1578
  var device_provider_info = zod.z.object({
@@ -19594,6 +19604,28 @@ var openapi_default = {
19594
19604
  type: "object",
19595
19605
  "x-variant-group-key": "locks"
19596
19606
  },
19607
+ {
19608
+ description: "Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.",
19609
+ properties: {
19610
+ created_at: {
19611
+ description: "Date and time at which Seam created the warning.",
19612
+ format: "date-time",
19613
+ type: "string"
19614
+ },
19615
+ message: {
19616
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
19617
+ type: "string"
19618
+ },
19619
+ warning_code: {
19620
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
19621
+ enum: ["unreliable_online_status"],
19622
+ type: "string"
19623
+ }
19624
+ },
19625
+ required: ["message", "created_at", "warning_code"],
19626
+ type: "object",
19627
+ "x-variant-group-key": "locks"
19628
+ },
19597
19629
  {
19598
19630
  description: "Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.",
19599
19631
  properties: {
@@ -33679,6 +33711,28 @@ var openapi_default = {
33679
33711
  type: "object",
33680
33712
  "x-variant-group-key": "locks"
33681
33713
  },
33714
+ {
33715
+ description: "Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.",
33716
+ properties: {
33717
+ created_at: {
33718
+ description: "Date and time at which Seam created the warning.",
33719
+ format: "date-time",
33720
+ type: "string"
33721
+ },
33722
+ message: {
33723
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
33724
+ type: "string"
33725
+ },
33726
+ warning_code: {
33727
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
33728
+ enum: ["unreliable_online_status"],
33729
+ type: "string"
33730
+ }
33731
+ },
33732
+ required: ["message", "created_at", "warning_code"],
33733
+ type: "object",
33734
+ "x-variant-group-key": "locks"
33735
+ },
33682
33736
  {
33683
33737
  description: "Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.",
33684
33738
  properties: {
@@ -62859,10 +62913,6 @@ var openapi_default = {
62859
62913
  minimum: 0,
62860
62914
  type: "integer"
62861
62915
  },
62862
- code_count_on_reservation_create: {
62863
- minimum: 0,
62864
- type: "integer"
62865
- },
62866
62916
  instant_key_max_use_count: {
62867
62917
  minimum: 1,
62868
62918
  type: "integer"
@@ -63159,10 +63209,6 @@ var openapi_default = {
63159
63209
  minimum: 0,
63160
63210
  type: "integer"
63161
63211
  },
63162
- code_count_on_reservation_create: {
63163
- minimum: 0,
63164
- type: "integer"
63165
- },
63166
63212
  instant_key_max_use_count: {
63167
63213
  minimum: 1,
63168
63214
  type: "integer"
@@ -63446,10 +63492,6 @@ var openapi_default = {
63446
63492
  minimum: 0,
63447
63493
  type: "integer"
63448
63494
  },
63449
- code_count_on_reservation_create: {
63450
- minimum: 0,
63451
- type: "integer"
63452
- },
63453
63495
  instant_key_max_use_count: {
63454
63496
  minimum: 1,
63455
63497
  type: "integer"
@@ -63733,10 +63775,6 @@ var openapi_default = {
63733
63775
  minimum: 0,
63734
63776
  type: "integer"
63735
63777
  },
63736
- code_count_on_reservation_create: {
63737
- minimum: 0,
63738
- type: "integer"
63739
- },
63740
63778
  instant_key_max_use_count: {
63741
63779
  minimum: 1,
63742
63780
  type: "integer"
@@ -64979,10 +65017,6 @@ var openapi_default = {
64979
65017
  minimum: 0,
64980
65018
  type: "integer"
64981
65019
  },
64982
- code_count_on_reservation_create: {
64983
- minimum: 0,
64984
- type: "integer"
64985
- },
64986
65020
  instant_key_max_use_count: {
64987
65021
  minimum: 1,
64988
65022
  type: "integer"
@@ -65279,10 +65313,6 @@ var openapi_default = {
65279
65313
  minimum: 0,
65280
65314
  type: "integer"
65281
65315
  },
65282
- code_count_on_reservation_create: {
65283
- minimum: 0,
65284
- type: "integer"
65285
- },
65286
65316
  instant_key_max_use_count: {
65287
65317
  minimum: 1,
65288
65318
  type: "integer"
@@ -65579,10 +65609,6 @@ var openapi_default = {
65579
65609
  minimum: 0,
65580
65610
  type: "integer"
65581
65611
  },
65582
- code_count_on_reservation_create: {
65583
- minimum: 0,
65584
- type: "integer"
65585
- },
65586
65612
  instant_key_max_use_count: {
65587
65613
  minimum: 1,
65588
65614
  type: "integer"
@@ -65867,10 +65893,6 @@ var openapi_default = {
65867
65893
  minimum: 0,
65868
65894
  type: "integer"
65869
65895
  },
65870
- code_count_on_reservation_create: {
65871
- minimum: 0,
65872
- type: "integer"
65873
- },
65874
65896
  instant_key_max_use_count: {
65875
65897
  minimum: 1,
65876
65898
  type: "integer"