@seamapi/types 1.1033.0 → 1.1034.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/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +14 -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/models/events/devices.d.ts +6 -0
- package/lib/seam/connect/models/events/devices.js +4 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.js +49 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +148 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +15 -0
- package/src/lib/seam/connect/models/events/devices.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +58 -0
- package/src/lib/seam/connect/route-types.ts +168 -0
|
@@ -15972,6 +15972,14 @@ export type Routes = {
|
|
|
15972
15972
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
15973
15973
|
warning_code: 'accessory_keypad_setup_required'
|
|
15974
15974
|
}
|
|
15975
|
+
| {
|
|
15976
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
15977
|
+
message: string
|
|
15978
|
+
/** Date and time at which Seam created the warning. */
|
|
15979
|
+
created_at: string
|
|
15980
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
15981
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
15982
|
+
}
|
|
15975
15983
|
| {
|
|
15976
15984
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
15977
15985
|
message: string
|
|
@@ -24381,6 +24389,14 @@ export type Routes = {
|
|
|
24381
24389
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
24382
24390
|
warning_code: 'accessory_keypad_setup_required'
|
|
24383
24391
|
}
|
|
24392
|
+
| {
|
|
24393
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
24394
|
+
message: string
|
|
24395
|
+
/** Date and time at which Seam created the warning. */
|
|
24396
|
+
created_at: string
|
|
24397
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
24398
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
24399
|
+
}
|
|
24384
24400
|
| {
|
|
24385
24401
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
24386
24402
|
message: string
|
|
@@ -52473,6 +52489,14 @@ export type Routes = {
|
|
|
52473
52489
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
52474
52490
|
warning_code: 'accessory_keypad_setup_required'
|
|
52475
52491
|
}
|
|
52492
|
+
| {
|
|
52493
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
52494
|
+
message: string
|
|
52495
|
+
/** Date and time at which Seam created the warning. */
|
|
52496
|
+
created_at: string
|
|
52497
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
52498
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
52499
|
+
}
|
|
52476
52500
|
| {
|
|
52477
52501
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
52478
52502
|
message: string
|
|
@@ -54581,6 +54605,14 @@ export type Routes = {
|
|
|
54581
54605
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
54582
54606
|
warning_code: 'accessory_keypad_setup_required'
|
|
54583
54607
|
}
|
|
54608
|
+
| {
|
|
54609
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
54610
|
+
message: string
|
|
54611
|
+
/** Date and time at which Seam created the warning. */
|
|
54612
|
+
created_at: string
|
|
54613
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
54614
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
54615
|
+
}
|
|
54584
54616
|
| {
|
|
54585
54617
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
54586
54618
|
message: string
|
|
@@ -56690,6 +56722,14 @@ export type Routes = {
|
|
|
56690
56722
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
56691
56723
|
warning_code: 'accessory_keypad_setup_required'
|
|
56692
56724
|
}
|
|
56725
|
+
| {
|
|
56726
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
56727
|
+
message: string
|
|
56728
|
+
/** Date and time at which Seam created the warning. */
|
|
56729
|
+
created_at: string
|
|
56730
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
56731
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
56732
|
+
}
|
|
56693
56733
|
| {
|
|
56694
56734
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
56695
56735
|
message: string
|
|
@@ -57513,6 +57553,14 @@ export type Routes = {
|
|
|
57513
57553
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
57514
57554
|
warning_code: 'accessory_keypad_setup_required'
|
|
57515
57555
|
}
|
|
57556
|
+
| {
|
|
57557
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
57558
|
+
message: string
|
|
57559
|
+
/** Date and time at which Seam created the warning. */
|
|
57560
|
+
created_at: string
|
|
57561
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
57562
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
57563
|
+
}
|
|
57516
57564
|
| {
|
|
57517
57565
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
57518
57566
|
message: string
|
|
@@ -60601,6 +60649,8 @@ export type Routes = {
|
|
|
60601
60649
|
event_type: 'device.low_battery'
|
|
60602
60650
|
/** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
|
|
60603
60651
|
battery_level: number
|
|
60652
|
+
/** Battery that dropped below the low threshold. `lock`: the lock's own battery. `accessory_keypad`: a paired accessory keypad's battery. Omitted for events emitted before this field existed, which always refer to the lock's own battery. */
|
|
60653
|
+
battery_source?: ('lock' | 'accessory_keypad') | undefined
|
|
60604
60654
|
}
|
|
60605
60655
|
| {
|
|
60606
60656
|
/** ID of the event. */
|
|
@@ -64977,6 +65027,8 @@ export type Routes = {
|
|
|
64977
65027
|
event_type: 'device.low_battery'
|
|
64978
65028
|
/** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
|
|
64979
65029
|
battery_level: number
|
|
65030
|
+
/** Battery that dropped below the low threshold. `lock`: the lock's own battery. `accessory_keypad`: a paired accessory keypad's battery. Omitted for events emitted before this field existed, which always refer to the lock's own battery. */
|
|
65031
|
+
battery_source?: ('lock' | 'accessory_keypad') | undefined
|
|
64980
65032
|
}
|
|
64981
65033
|
| {
|
|
64982
65034
|
/** ID of the event. */
|
|
@@ -70166,6 +70218,14 @@ export type Routes = {
|
|
|
70166
70218
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
70167
70219
|
warning_code: 'accessory_keypad_setup_required'
|
|
70168
70220
|
}
|
|
70221
|
+
| {
|
|
70222
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
70223
|
+
message: string
|
|
70224
|
+
/** Date and time at which Seam created the warning. */
|
|
70225
|
+
created_at: string
|
|
70226
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
70227
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
70228
|
+
}
|
|
70169
70229
|
| {
|
|
70170
70230
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
70171
70231
|
message: string
|
|
@@ -72025,6 +72085,14 @@ export type Routes = {
|
|
|
72025
72085
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72026
72086
|
warning_code: 'accessory_keypad_setup_required'
|
|
72027
72087
|
}
|
|
72088
|
+
| {
|
|
72089
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72090
|
+
message: string
|
|
72091
|
+
/** Date and time at which Seam created the warning. */
|
|
72092
|
+
created_at: string
|
|
72093
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72094
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
72095
|
+
}
|
|
72028
72096
|
| {
|
|
72029
72097
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72030
72098
|
message: string
|
|
@@ -74011,6 +74079,14 @@ export type Routes = {
|
|
|
74011
74079
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
74012
74080
|
warning_code: 'accessory_keypad_setup_required'
|
|
74013
74081
|
}
|
|
74082
|
+
| {
|
|
74083
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
74084
|
+
message: string
|
|
74085
|
+
/** Date and time at which Seam created the warning. */
|
|
74086
|
+
created_at: string
|
|
74087
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
74088
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
74089
|
+
}
|
|
74014
74090
|
| {
|
|
74015
74091
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
74016
74092
|
message: string
|
|
@@ -75869,6 +75945,14 @@ export type Routes = {
|
|
|
75869
75945
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75870
75946
|
warning_code: 'accessory_keypad_setup_required'
|
|
75871
75947
|
}
|
|
75948
|
+
| {
|
|
75949
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75950
|
+
message: string
|
|
75951
|
+
/** Date and time at which Seam created the warning. */
|
|
75952
|
+
created_at: string
|
|
75953
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75954
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
75955
|
+
}
|
|
75872
75956
|
| {
|
|
75873
75957
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75874
75958
|
message: string
|
|
@@ -86157,6 +86241,14 @@ export type Routes = {
|
|
|
86157
86241
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
86158
86242
|
warning_code: 'accessory_keypad_setup_required'
|
|
86159
86243
|
}
|
|
86244
|
+
| {
|
|
86245
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
86246
|
+
message: string
|
|
86247
|
+
/** Date and time at which Seam created the warning. */
|
|
86248
|
+
created_at: string
|
|
86249
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
86250
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
86251
|
+
}
|
|
86160
86252
|
| {
|
|
86161
86253
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
86162
86254
|
message: string
|
|
@@ -88015,6 +88107,14 @@ export type Routes = {
|
|
|
88015
88107
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88016
88108
|
warning_code: 'accessory_keypad_setup_required'
|
|
88017
88109
|
}
|
|
88110
|
+
| {
|
|
88111
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
88112
|
+
message: string
|
|
88113
|
+
/** Date and time at which Seam created the warning. */
|
|
88114
|
+
created_at: string
|
|
88115
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88116
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
88117
|
+
}
|
|
88018
88118
|
| {
|
|
88019
88119
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
88020
88120
|
message: string
|
|
@@ -102732,6 +102832,8 @@ export type Routes = {
|
|
|
102732
102832
|
event_type: 'device.low_battery'
|
|
102733
102833
|
/** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
|
|
102734
102834
|
battery_level: number
|
|
102835
|
+
/** Battery that dropped below the low threshold. `lock`: the lock's own battery. `accessory_keypad`: a paired accessory keypad's battery. Omitted for events emitted before this field existed, which always refer to the lock's own battery. */
|
|
102836
|
+
battery_source?: ('lock' | 'accessory_keypad') | undefined
|
|
102735
102837
|
}
|
|
102736
102838
|
| {
|
|
102737
102839
|
/** ID of the event. */
|
|
@@ -108404,6 +108506,14 @@ export type Routes = {
|
|
|
108404
108506
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108405
108507
|
warning_code: 'accessory_keypad_setup_required'
|
|
108406
108508
|
}
|
|
108509
|
+
| {
|
|
108510
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108511
|
+
message: string
|
|
108512
|
+
/** Date and time at which Seam created the warning. */
|
|
108513
|
+
created_at: string
|
|
108514
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108515
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
108516
|
+
}
|
|
108407
108517
|
| {
|
|
108408
108518
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108409
108519
|
message: string
|
|
@@ -117778,6 +117888,14 @@ export type Routes = {
|
|
|
117778
117888
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
117779
117889
|
warning_code: 'accessory_keypad_setup_required'
|
|
117780
117890
|
}
|
|
117891
|
+
| {
|
|
117892
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
117893
|
+
message: string
|
|
117894
|
+
/** Date and time at which Seam created the warning. */
|
|
117895
|
+
created_at: string
|
|
117896
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
117897
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
117898
|
+
}
|
|
117781
117899
|
| {
|
|
117782
117900
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
117783
117901
|
message: string
|
|
@@ -123903,6 +124021,14 @@ export type Routes = {
|
|
|
123903
124021
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
123904
124022
|
warning_code: 'accessory_keypad_setup_required'
|
|
123905
124023
|
}
|
|
124024
|
+
| {
|
|
124025
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
124026
|
+
message: string
|
|
124027
|
+
/** Date and time at which Seam created the warning. */
|
|
124028
|
+
created_at: string
|
|
124029
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
124030
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
124031
|
+
}
|
|
123906
124032
|
| {
|
|
123907
124033
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
123908
124034
|
message: string
|
|
@@ -125761,6 +125887,14 @@ export type Routes = {
|
|
|
125761
125887
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
125762
125888
|
warning_code: 'accessory_keypad_setup_required'
|
|
125763
125889
|
}
|
|
125890
|
+
| {
|
|
125891
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
125892
|
+
message: string
|
|
125893
|
+
/** Date and time at which Seam created the warning. */
|
|
125894
|
+
created_at: string
|
|
125895
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
125896
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
125897
|
+
}
|
|
125764
125898
|
| {
|
|
125765
125899
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
125766
125900
|
message: string
|
|
@@ -137073,6 +137207,14 @@ export type Routes = {
|
|
|
137073
137207
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
137074
137208
|
warning_code: 'accessory_keypad_setup_required'
|
|
137075
137209
|
}
|
|
137210
|
+
| {
|
|
137211
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
137212
|
+
message: string
|
|
137213
|
+
/** Date and time at which Seam created the warning. */
|
|
137214
|
+
created_at: string
|
|
137215
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
137216
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
137217
|
+
}
|
|
137076
137218
|
| {
|
|
137077
137219
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
137078
137220
|
message: string
|
|
@@ -138933,6 +139075,14 @@ export type Routes = {
|
|
|
138933
139075
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
138934
139076
|
warning_code: 'accessory_keypad_setup_required'
|
|
138935
139077
|
}
|
|
139078
|
+
| {
|
|
139079
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
139080
|
+
message: string
|
|
139081
|
+
/** Date and time at which Seam created the warning. */
|
|
139082
|
+
created_at: string
|
|
139083
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
139084
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
139085
|
+
}
|
|
138936
139086
|
| {
|
|
138937
139087
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
138938
139088
|
message: string
|
|
@@ -142380,6 +142530,14 @@ export type Routes = {
|
|
|
142380
142530
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142381
142531
|
warning_code: 'accessory_keypad_setup_required'
|
|
142382
142532
|
}
|
|
142533
|
+
| {
|
|
142534
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
142535
|
+
message: string
|
|
142536
|
+
/** Date and time at which Seam created the warning. */
|
|
142537
|
+
created_at: string
|
|
142538
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142539
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
142540
|
+
}
|
|
142383
142541
|
| {
|
|
142384
142542
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
142385
142543
|
message: string
|
|
@@ -146583,6 +146741,14 @@ export type Routes = {
|
|
|
146583
146741
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
146584
146742
|
warning_code: 'accessory_keypad_setup_required'
|
|
146585
146743
|
}
|
|
146744
|
+
| {
|
|
146745
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
146746
|
+
message: string
|
|
146747
|
+
/** Date and time at which Seam created the warning. */
|
|
146748
|
+
created_at: string
|
|
146749
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
146750
|
+
warning_code: 'accessory_keypad_low_battery'
|
|
146751
|
+
}
|
|
146586
146752
|
| {
|
|
146587
146753
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
146588
146754
|
message: string
|
|
@@ -150256,6 +150422,8 @@ export type Routes = {
|
|
|
150256
150422
|
event_type: 'device.low_battery'
|
|
150257
150423
|
/** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
|
|
150258
150424
|
battery_level: number
|
|
150425
|
+
/** Battery that dropped below the low threshold. `lock`: the lock's own battery. `accessory_keypad`: a paired accessory keypad's battery. Omitted for events emitted before this field existed, which always refer to the lock's own battery. */
|
|
150426
|
+
battery_source?: ('lock' | 'accessory_keypad') | undefined
|
|
150259
150427
|
}
|
|
150260
150428
|
| {
|
|
150261
150429
|
/** ID of the event. */
|