@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 +54 -32
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +253 -36
- package/dist/index.cjs +54 -32
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +12 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/openapi.d.ts +0 -32
- package/lib/seam/connect/openapi.js +44 -32
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +140 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +52 -32
- package/src/lib/seam/connect/route-types.ts +160 -4
|
@@ -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;
|
|
@@ -59665,7 +59749,6 @@ export type Routes = {
|
|
|
59665
59749
|
access_methods: ('card' | 'mobile_key' | 'code')[];
|
|
59666
59750
|
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
59667
59751
|
card_count_on_reservation_create?: number | undefined;
|
|
59668
|
-
code_count_on_reservation_create?: number | undefined;
|
|
59669
59752
|
instant_key_max_use_count?: number | undefined;
|
|
59670
59753
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
59671
59754
|
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
@@ -59749,7 +59832,6 @@ export type Routes = {
|
|
|
59749
59832
|
access_methods: ('card' | 'mobile_key' | 'code')[];
|
|
59750
59833
|
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
59751
59834
|
card_count_on_reservation_create?: number | undefined;
|
|
59752
|
-
code_count_on_reservation_create?: number | undefined;
|
|
59753
59835
|
instant_key_max_use_count?: number | undefined;
|
|
59754
59836
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
59755
59837
|
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
@@ -60046,7 +60128,6 @@ export type Routes = {
|
|
|
60046
60128
|
access_methods: ('card' | 'mobile_key' | 'code')[];
|
|
60047
60129
|
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
60048
60130
|
card_count_on_reservation_create?: number | undefined;
|
|
60049
|
-
code_count_on_reservation_create?: number | undefined;
|
|
60050
60131
|
instant_key_max_use_count?: number | undefined;
|
|
60051
60132
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
60052
60133
|
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
@@ -60129,7 +60210,6 @@ export type Routes = {
|
|
|
60129
60210
|
access_methods: ('card' | 'mobile_key' | 'code')[];
|
|
60130
60211
|
method_issuance_strategy: 'first_available' | 'first_two_available' | 'all_available';
|
|
60131
60212
|
card_count_on_reservation_create?: number | undefined;
|
|
60132
|
-
code_count_on_reservation_create?: number | undefined;
|
|
60133
60213
|
instant_key_max_use_count?: number | undefined;
|
|
60134
60214
|
prefer_guest_phone_last4_as_code?: boolean | undefined;
|
|
60135
60215
|
allow_shared_email_and_phone_across_user_identities?: boolean | undefined;
|
|
@@ -65907,6 +65987,13 @@ export type Routes = {
|
|
|
65907
65987
|
created_at: string;
|
|
65908
65988
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
65909
65989
|
warning_code: 'accessory_keypad_setup_required';
|
|
65990
|
+
} | {
|
|
65991
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
65992
|
+
message: string;
|
|
65993
|
+
/** Date and time at which Seam created the warning. */
|
|
65994
|
+
created_at: string;
|
|
65995
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
65996
|
+
warning_code: 'unreliable_online_status';
|
|
65910
65997
|
} | {
|
|
65911
65998
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
65912
65999
|
message: string;
|
|
@@ -71806,6 +71893,13 @@ export type Routes = {
|
|
|
71806
71893
|
created_at: string;
|
|
71807
71894
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71808
71895
|
warning_code: 'accessory_keypad_setup_required';
|
|
71896
|
+
} | {
|
|
71897
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71898
|
+
message: string;
|
|
71899
|
+
/** Date and time at which Seam created the warning. */
|
|
71900
|
+
created_at: string;
|
|
71901
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
71902
|
+
warning_code: 'unreliable_online_status';
|
|
71809
71903
|
} | {
|
|
71810
71904
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
71811
71905
|
message: string;
|
|
@@ -75728,6 +75822,13 @@ export type Routes = {
|
|
|
75728
75822
|
created_at: string;
|
|
75729
75823
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75730
75824
|
warning_code: 'accessory_keypad_setup_required';
|
|
75825
|
+
} | {
|
|
75826
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75827
|
+
message: string;
|
|
75828
|
+
/** Date and time at which Seam created the warning. */
|
|
75829
|
+
created_at: string;
|
|
75830
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75831
|
+
warning_code: 'unreliable_online_status';
|
|
75731
75832
|
} | {
|
|
75732
75833
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75733
75834
|
message: string;
|
|
@@ -77033,6 +77134,13 @@ export type Routes = {
|
|
|
77033
77134
|
created_at: string;
|
|
77034
77135
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
77035
77136
|
warning_code: 'accessory_keypad_setup_required';
|
|
77137
|
+
} | {
|
|
77138
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
77139
|
+
message: string;
|
|
77140
|
+
/** Date and time at which Seam created the warning. */
|
|
77141
|
+
created_at: string;
|
|
77142
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
77143
|
+
warning_code: 'unreliable_online_status';
|
|
77036
77144
|
} | {
|
|
77037
77145
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
77038
77146
|
message: string;
|
|
@@ -84384,6 +84492,13 @@ export type Routes = {
|
|
|
84384
84492
|
created_at: string;
|
|
84385
84493
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
84386
84494
|
warning_code: 'accessory_keypad_setup_required';
|
|
84495
|
+
} | {
|
|
84496
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
84497
|
+
message: string;
|
|
84498
|
+
/** Date and time at which Seam created the warning. */
|
|
84499
|
+
created_at: string;
|
|
84500
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
84501
|
+
warning_code: 'unreliable_online_status';
|
|
84387
84502
|
} | {
|
|
84388
84503
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
84389
84504
|
message: string;
|
|
@@ -85691,6 +85806,13 @@ export type Routes = {
|
|
|
85691
85806
|
created_at: string;
|
|
85692
85807
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85693
85808
|
warning_code: 'accessory_keypad_setup_required';
|
|
85809
|
+
} | {
|
|
85810
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
85811
|
+
message: string;
|
|
85812
|
+
/** Date and time at which Seam created the warning. */
|
|
85813
|
+
created_at: string;
|
|
85814
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85815
|
+
warning_code: 'unreliable_online_status';
|
|
85694
85816
|
} | {
|
|
85695
85817
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
85696
85818
|
message: string;
|
|
@@ -87976,6 +88098,13 @@ export type Routes = {
|
|
|
87976
88098
|
created_at: string;
|
|
87977
88099
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
87978
88100
|
warning_code: 'accessory_keypad_setup_required';
|
|
88101
|
+
} | {
|
|
88102
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
88103
|
+
message: string;
|
|
88104
|
+
/** Date and time at which Seam created the warning. */
|
|
88105
|
+
created_at: string;
|
|
88106
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88107
|
+
warning_code: 'unreliable_online_status';
|
|
87979
88108
|
} | {
|
|
87980
88109
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
87981
88110
|
message: string;
|
|
@@ -90684,6 +90813,13 @@ export type Routes = {
|
|
|
90684
90813
|
created_at: string;
|
|
90685
90814
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90686
90815
|
warning_code: 'accessory_keypad_setup_required';
|
|
90816
|
+
} | {
|
|
90817
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90818
|
+
message: string;
|
|
90819
|
+
/** Date and time at which Seam created the warning. */
|
|
90820
|
+
created_at: string;
|
|
90821
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90822
|
+
warning_code: 'unreliable_online_status';
|
|
90687
90823
|
} | {
|
|
90688
90824
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90689
90825
|
message: string;
|
package/package.json
CHANGED
|
@@ -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.',
|
|
@@ -61451,10 +61503,6 @@ export default {
|
|
|
61451
61503
|
minimum: 0,
|
|
61452
61504
|
type: 'integer',
|
|
61453
61505
|
},
|
|
61454
|
-
code_count_on_reservation_create: {
|
|
61455
|
-
minimum: 0,
|
|
61456
|
-
type: 'integer',
|
|
61457
|
-
},
|
|
61458
61506
|
instant_key_max_use_count: {
|
|
61459
61507
|
minimum: 1,
|
|
61460
61508
|
type: 'integer',
|
|
@@ -61754,10 +61802,6 @@ export default {
|
|
|
61754
61802
|
minimum: 0,
|
|
61755
61803
|
type: 'integer',
|
|
61756
61804
|
},
|
|
61757
|
-
code_count_on_reservation_create: {
|
|
61758
|
-
minimum: 0,
|
|
61759
|
-
type: 'integer',
|
|
61760
|
-
},
|
|
61761
61805
|
instant_key_max_use_count: {
|
|
61762
61806
|
minimum: 1,
|
|
61763
61807
|
type: 'integer',
|
|
@@ -62043,10 +62087,6 @@ export default {
|
|
|
62043
62087
|
minimum: 0,
|
|
62044
62088
|
type: 'integer',
|
|
62045
62089
|
},
|
|
62046
|
-
code_count_on_reservation_create: {
|
|
62047
|
-
minimum: 0,
|
|
62048
|
-
type: 'integer',
|
|
62049
|
-
},
|
|
62050
62090
|
instant_key_max_use_count: {
|
|
62051
62091
|
minimum: 1,
|
|
62052
62092
|
type: 'integer',
|
|
@@ -62333,10 +62373,6 @@ export default {
|
|
|
62333
62373
|
minimum: 0,
|
|
62334
62374
|
type: 'integer',
|
|
62335
62375
|
},
|
|
62336
|
-
code_count_on_reservation_create: {
|
|
62337
|
-
minimum: 0,
|
|
62338
|
-
type: 'integer',
|
|
62339
|
-
},
|
|
62340
62376
|
instant_key_max_use_count: {
|
|
62341
62377
|
minimum: 1,
|
|
62342
62378
|
type: 'integer',
|
|
@@ -63598,10 +63634,6 @@ export default {
|
|
|
63598
63634
|
minimum: 0,
|
|
63599
63635
|
type: 'integer',
|
|
63600
63636
|
},
|
|
63601
|
-
code_count_on_reservation_create: {
|
|
63602
|
-
minimum: 0,
|
|
63603
|
-
type: 'integer',
|
|
63604
|
-
},
|
|
63605
63637
|
instant_key_max_use_count: {
|
|
63606
63638
|
minimum: 1,
|
|
63607
63639
|
type: 'integer',
|
|
@@ -63900,10 +63932,6 @@ export default {
|
|
|
63900
63932
|
minimum: 0,
|
|
63901
63933
|
type: 'integer',
|
|
63902
63934
|
},
|
|
63903
|
-
code_count_on_reservation_create: {
|
|
63904
|
-
minimum: 0,
|
|
63905
|
-
type: 'integer',
|
|
63906
|
-
},
|
|
63907
63935
|
instant_key_max_use_count: {
|
|
63908
63936
|
minimum: 1,
|
|
63909
63937
|
type: 'integer',
|
|
@@ -64202,10 +64230,6 @@ export default {
|
|
|
64202
64230
|
minimum: 0,
|
|
64203
64231
|
type: 'integer',
|
|
64204
64232
|
},
|
|
64205
|
-
code_count_on_reservation_create: {
|
|
64206
|
-
minimum: 0,
|
|
64207
|
-
type: 'integer',
|
|
64208
|
-
},
|
|
64209
64233
|
instant_key_max_use_count: {
|
|
64210
64234
|
minimum: 1,
|
|
64211
64235
|
type: 'integer',
|
|
@@ -64492,10 +64516,6 @@ export default {
|
|
|
64492
64516
|
minimum: 0,
|
|
64493
64517
|
type: 'integer',
|
|
64494
64518
|
},
|
|
64495
|
-
code_count_on_reservation_create: {
|
|
64496
|
-
minimum: 0,
|
|
64497
|
-
type: 'integer',
|
|
64498
|
-
},
|
|
64499
64519
|
instant_key_max_use_count: {
|
|
64500
64520
|
minimum: 1,
|
|
64501
64521
|
type: 'integer',
|