@seamapi/types 1.759.0 → 1.760.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.
@@ -11732,6 +11732,13 @@ export type Routes = {
11732
11732
  created_at: string;
11733
11733
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11734
11734
  warning_code: 'accessory_keypad_setup_required';
11735
+ } | {
11736
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11737
+ message: string;
11738
+ /** Date and time at which Seam created the warning. */
11739
+ created_at: string;
11740
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11741
+ warning_code: 'unreliable_online_status';
11735
11742
  } | {
11736
11743
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11737
11744
  message: string;
@@ -15962,6 +15969,13 @@ export type Routes = {
15962
15969
  created_at: string;
15963
15970
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15964
15971
  warning_code: 'accessory_keypad_setup_required';
15972
+ } | {
15973
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15974
+ message: string;
15975
+ /** Date and time at which Seam created the warning. */
15976
+ created_at: string;
15977
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15978
+ warning_code: 'unreliable_online_status';
15965
15979
  } | {
15966
15980
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15967
15981
  message: string;
@@ -32108,6 +32122,13 @@ export type Routes = {
32108
32122
  created_at: string;
32109
32123
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32110
32124
  warning_code: 'accessory_keypad_setup_required';
32125
+ } | {
32126
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
32127
+ message: string;
32128
+ /** Date and time at which Seam created the warning. */
32129
+ created_at: string;
32130
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32131
+ warning_code: 'unreliable_online_status';
32111
32132
  } | {
32112
32133
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
32113
32134
  message: string;
@@ -33464,6 +33485,13 @@ export type Routes = {
33464
33485
  created_at: string;
33465
33486
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33466
33487
  warning_code: 'accessory_keypad_setup_required';
33488
+ } | {
33489
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33490
+ message: string;
33491
+ /** Date and time at which Seam created the warning. */
33492
+ created_at: string;
33493
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33494
+ warning_code: 'unreliable_online_status';
33467
33495
  } | {
33468
33496
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33469
33497
  message: string;
@@ -34001,6 +34029,13 @@ export type Routes = {
34001
34029
  created_at: string;
34002
34030
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34003
34031
  warning_code: 'accessory_keypad_setup_required';
34032
+ } | {
34033
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34034
+ message: string;
34035
+ /** Date and time at which Seam created the warning. */
34036
+ created_at: string;
34037
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34038
+ warning_code: 'unreliable_online_status';
34004
34039
  } | {
34005
34040
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34006
34041
  message: string;
@@ -34474,6 +34509,13 @@ export type Routes = {
34474
34509
  created_at: string;
34475
34510
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34476
34511
  warning_code: 'accessory_keypad_setup_required';
34512
+ } | {
34513
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34514
+ message: string;
34515
+ /** Date and time at which Seam created the warning. */
34516
+ created_at: string;
34517
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34518
+ warning_code: 'unreliable_online_status';
34477
34519
  } | {
34478
34520
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
34479
34521
  message: string;
@@ -41606,6 +41648,13 @@ export type Routes = {
41606
41648
  created_at: string;
41607
41649
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41608
41650
  warning_code: 'accessory_keypad_setup_required';
41651
+ } | {
41652
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
41653
+ message: string;
41654
+ /** Date and time at which Seam created the warning. */
41655
+ created_at: string;
41656
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41657
+ warning_code: 'unreliable_online_status';
41609
41658
  } | {
41610
41659
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
41611
41660
  message: string;
@@ -42912,6 +42961,13 @@ export type Routes = {
42912
42961
  created_at: string;
42913
42962
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42914
42963
  warning_code: 'accessory_keypad_setup_required';
42964
+ } | {
42965
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
42966
+ message: string;
42967
+ /** Date and time at which Seam created the warning. */
42968
+ created_at: string;
42969
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42970
+ warning_code: 'unreliable_online_status';
42915
42971
  } | {
42916
42972
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
42917
42973
  message: string;
@@ -44268,6 +44324,13 @@ export type Routes = {
44268
44324
  created_at: string;
44269
44325
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44270
44326
  warning_code: 'accessory_keypad_setup_required';
44327
+ } | {
44328
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44329
+ message: string;
44330
+ /** Date and time at which Seam created the warning. */
44331
+ created_at: string;
44332
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44333
+ warning_code: 'unreliable_online_status';
44271
44334
  } | {
44272
44335
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
44273
44336
  message: string;
@@ -45573,6 +45636,13 @@ export type Routes = {
45573
45636
  created_at: string;
45574
45637
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45575
45638
  warning_code: 'accessory_keypad_setup_required';
45639
+ } | {
45640
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45641
+ message: string;
45642
+ /** Date and time at which Seam created the warning. */
45643
+ created_at: string;
45644
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45645
+ warning_code: 'unreliable_online_status';
45576
45646
  } | {
45577
45647
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45578
45648
  message: string;
@@ -52035,6 +52105,13 @@ export type Routes = {
52035
52105
  created_at: string;
52036
52106
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52037
52107
  warning_code: 'accessory_keypad_setup_required';
52108
+ } | {
52109
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52110
+ message: string;
52111
+ /** Date and time at which Seam created the warning. */
52112
+ created_at: string;
52113
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52114
+ warning_code: 'unreliable_online_status';
52038
52115
  } | {
52039
52116
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52040
52117
  message: string;
@@ -53340,6 +53417,13 @@ export type Routes = {
53340
53417
  created_at: string;
53341
53418
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53342
53419
  warning_code: 'accessory_keypad_setup_required';
53420
+ } | {
53421
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
53422
+ message: string;
53423
+ /** Date and time at which Seam created the warning. */
53424
+ created_at: string;
53425
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53426
+ warning_code: 'unreliable_online_status';
53343
53427
  } | {
53344
53428
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
53345
53429
  message: string;
@@ -65907,6 +65991,13 @@ export type Routes = {
65907
65991
  created_at: string;
65908
65992
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65909
65993
  warning_code: 'accessory_keypad_setup_required';
65994
+ } | {
65995
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
65996
+ message: string;
65997
+ /** Date and time at which Seam created the warning. */
65998
+ created_at: string;
65999
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66000
+ warning_code: 'unreliable_online_status';
65910
66001
  } | {
65911
66002
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
65912
66003
  message: string;
@@ -71806,6 +71897,13 @@ export type Routes = {
71806
71897
  created_at: string;
71807
71898
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71808
71899
  warning_code: 'accessory_keypad_setup_required';
71900
+ } | {
71901
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71902
+ message: string;
71903
+ /** Date and time at which Seam created the warning. */
71904
+ created_at: string;
71905
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71906
+ warning_code: 'unreliable_online_status';
71809
71907
  } | {
71810
71908
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71811
71909
  message: string;
@@ -75728,6 +75826,13 @@ export type Routes = {
75728
75826
  created_at: string;
75729
75827
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75730
75828
  warning_code: 'accessory_keypad_setup_required';
75829
+ } | {
75830
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75831
+ message: string;
75832
+ /** Date and time at which Seam created the warning. */
75833
+ created_at: string;
75834
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75835
+ warning_code: 'unreliable_online_status';
75731
75836
  } | {
75732
75837
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75733
75838
  message: string;
@@ -77033,6 +77138,13 @@ export type Routes = {
77033
77138
  created_at: string;
77034
77139
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
77035
77140
  warning_code: 'accessory_keypad_setup_required';
77141
+ } | {
77142
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
77143
+ message: string;
77144
+ /** Date and time at which Seam created the warning. */
77145
+ created_at: string;
77146
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
77147
+ warning_code: 'unreliable_online_status';
77036
77148
  } | {
77037
77149
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
77038
77150
  message: string;
@@ -84384,6 +84496,13 @@ export type Routes = {
84384
84496
  created_at: string;
84385
84497
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
84386
84498
  warning_code: 'accessory_keypad_setup_required';
84499
+ } | {
84500
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
84501
+ message: string;
84502
+ /** Date and time at which Seam created the warning. */
84503
+ created_at: string;
84504
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
84505
+ warning_code: 'unreliable_online_status';
84387
84506
  } | {
84388
84507
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
84389
84508
  message: string;
@@ -85691,6 +85810,13 @@ export type Routes = {
85691
85810
  created_at: string;
85692
85811
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
85693
85812
  warning_code: 'accessory_keypad_setup_required';
85813
+ } | {
85814
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
85815
+ message: string;
85816
+ /** Date and time at which Seam created the warning. */
85817
+ created_at: string;
85818
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
85819
+ warning_code: 'unreliable_online_status';
85694
85820
  } | {
85695
85821
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
85696
85822
  message: string;
@@ -87976,6 +88102,13 @@ export type Routes = {
87976
88102
  created_at: string;
87977
88103
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
87978
88104
  warning_code: 'accessory_keypad_setup_required';
88105
+ } | {
88106
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88107
+ message: string;
88108
+ /** Date and time at which Seam created the warning. */
88109
+ created_at: string;
88110
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88111
+ warning_code: 'unreliable_online_status';
87979
88112
  } | {
87980
88113
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
87981
88114
  message: string;
@@ -90684,6 +90817,13 @@ export type Routes = {
90684
90817
  created_at: string;
90685
90818
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90686
90819
  warning_code: 'accessory_keypad_setup_required';
90820
+ } | {
90821
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90822
+ message: string;
90823
+ /** Date and time at which Seam created the warning. */
90824
+ created_at: string;
90825
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90826
+ warning_code: 'unreliable_online_status';
90687
90827
  } | {
90688
90828
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90689
90829
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.759.0",
3
+ "version": "1.760.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -463,6 +463,17 @@ const accessory_keypad_setup_required = common_device_warning.extend({
463
463
  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.
464
464
  `)
465
465
 
466
+ const unreliable_online_status = common_device_warning.extend({
467
+ warning_code: z
468
+ .literal('unreliable_online_status')
469
+ .describe(warning_code_description),
470
+ }).describe(`
471
+ ---
472
+ variant_group_key: locks
473
+ ---
474
+ Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.
475
+ `)
476
+
466
477
  const max_access_codes_reached = common_device_warning.extend({
467
478
  warning_code: z
468
479
  .literal('max_access_codes_reached')
@@ -506,6 +517,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
506
517
  hub_required_for_additional_capabilities,
507
518
  keynest_unsupported_locker,
508
519
  accessory_keypad_setup_required,
520
+ unreliable_online_status,
509
521
  max_access_codes_reached,
510
522
  ])
511
523
 
@@ -560,6 +572,7 @@ const _device_warning_map = z.object({
560
572
  accessory_keypad_setup_required: accessory_keypad_setup_required
561
573
  .optional()
562
574
  .nullable(),
575
+ unreliable_online_status: unreliable_online_status.optional().nullable(),
563
576
  max_access_codes_reached: max_access_codes_reached.optional().nullable(),
564
577
  })
565
578
 
@@ -14694,6 +14694,32 @@ export default {
14694
14694
  type: 'object',
14695
14695
  'x-variant-group-key': 'locks',
14696
14696
  },
14697
+ {
14698
+ description:
14699
+ 'Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.',
14700
+ properties: {
14701
+ created_at: {
14702
+ description:
14703
+ 'Date and time at which Seam created the warning.',
14704
+ format: 'date-time',
14705
+ type: 'string',
14706
+ },
14707
+ message: {
14708
+ description:
14709
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
14710
+ type: 'string',
14711
+ },
14712
+ warning_code: {
14713
+ description:
14714
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
14715
+ enum: ['unreliable_online_status'],
14716
+ type: 'string',
14717
+ },
14718
+ },
14719
+ required: ['message', 'created_at', 'warning_code'],
14720
+ type: 'object',
14721
+ 'x-variant-group-key': 'locks',
14722
+ },
14697
14723
  {
14698
14724
  description:
14699
14725
  'Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.',
@@ -30296,6 +30322,32 @@ export default {
30296
30322
  type: 'object',
30297
30323
  'x-variant-group-key': 'locks',
30298
30324
  },
30325
+ {
30326
+ description:
30327
+ 'Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.',
30328
+ properties: {
30329
+ created_at: {
30330
+ description:
30331
+ 'Date and time at which Seam created the warning.',
30332
+ format: 'date-time',
30333
+ type: 'string',
30334
+ },
30335
+ message: {
30336
+ description:
30337
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
30338
+ type: 'string',
30339
+ },
30340
+ warning_code: {
30341
+ description:
30342
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
30343
+ enum: ['unreliable_online_status'],
30344
+ type: 'string',
30345
+ },
30346
+ },
30347
+ required: ['message', 'created_at', 'warning_code'],
30348
+ type: 'object',
30349
+ 'x-variant-group-key': 'locks',
30350
+ },
30299
30351
  {
30300
30352
  description:
30301
30353
  'Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.',