@seamapi/types 1.147.1 → 1.148.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 +12 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +48 -0
- package/lib/seam/connect/models/devices/managed-device.d.ts +50 -0
- package/lib/seam/connect/models/devices/managed-device.js +6 -0
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +25 -0
- package/lib/seam/connect/openapi.d.ts +12 -0
- package/lib/seam/connect/openapi.js +12 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/managed-device.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +13 -0
- package/src/lib/seam/connect/route-types.ts +54 -0
package/dist/connect.d.cts
CHANGED
|
@@ -806,6 +806,18 @@ declare const _default: {
|
|
|
806
806
|
accessory_keypad: {
|
|
807
807
|
description: string;
|
|
808
808
|
properties: {
|
|
809
|
+
battery: {
|
|
810
|
+
description: string;
|
|
811
|
+
properties: {
|
|
812
|
+
level: {
|
|
813
|
+
maximum: number;
|
|
814
|
+
minimum: number;
|
|
815
|
+
type: string;
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
required: string[];
|
|
819
|
+
type: string;
|
|
820
|
+
};
|
|
809
821
|
is_connected: {
|
|
810
822
|
description: string;
|
|
811
823
|
type: string;
|
|
@@ -19247,6 +19259,10 @@ interface Routes {
|
|
|
19247
19259
|
accessory_keypad?: {
|
|
19248
19260
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
19249
19261
|
is_connected: boolean;
|
|
19262
|
+
/** Indicates if the keypad battery properties. */
|
|
19263
|
+
battery?: {
|
|
19264
|
+
level: number;
|
|
19265
|
+
} | undefined;
|
|
19250
19266
|
} | undefined;
|
|
19251
19267
|
appearance: {
|
|
19252
19268
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -19772,6 +19788,10 @@ interface Routes {
|
|
|
19772
19788
|
accessory_keypad?: {
|
|
19773
19789
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
19774
19790
|
is_connected: boolean;
|
|
19791
|
+
/** Indicates if the keypad battery properties. */
|
|
19792
|
+
battery?: {
|
|
19793
|
+
level: number;
|
|
19794
|
+
} | undefined;
|
|
19775
19795
|
} | undefined;
|
|
19776
19796
|
appearance: {
|
|
19777
19797
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -20663,6 +20683,10 @@ interface Routes {
|
|
|
20663
20683
|
accessory_keypad?: {
|
|
20664
20684
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
20665
20685
|
is_connected: boolean;
|
|
20686
|
+
/** Indicates if the keypad battery properties. */
|
|
20687
|
+
battery?: {
|
|
20688
|
+
level: number;
|
|
20689
|
+
} | undefined;
|
|
20666
20690
|
} | undefined;
|
|
20667
20691
|
appearance: {
|
|
20668
20692
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -21163,6 +21187,10 @@ interface Routes {
|
|
|
21163
21187
|
accessory_keypad?: {
|
|
21164
21188
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
21165
21189
|
is_connected: boolean;
|
|
21190
|
+
/** Indicates if the keypad battery properties. */
|
|
21191
|
+
battery?: {
|
|
21192
|
+
level: number;
|
|
21193
|
+
} | undefined;
|
|
21166
21194
|
} | undefined;
|
|
21167
21195
|
appearance: {
|
|
21168
21196
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -21688,6 +21716,10 @@ interface Routes {
|
|
|
21688
21716
|
accessory_keypad?: {
|
|
21689
21717
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
21690
21718
|
is_connected: boolean;
|
|
21719
|
+
/** Indicates if the keypad battery properties. */
|
|
21720
|
+
battery?: {
|
|
21721
|
+
level: number;
|
|
21722
|
+
} | undefined;
|
|
21691
21723
|
} | undefined;
|
|
21692
21724
|
appearance: {
|
|
21693
21725
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -22188,6 +22220,10 @@ interface Routes {
|
|
|
22188
22220
|
accessory_keypad?: {
|
|
22189
22221
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
22190
22222
|
is_connected: boolean;
|
|
22223
|
+
/** Indicates if the keypad battery properties. */
|
|
22224
|
+
battery?: {
|
|
22225
|
+
level: number;
|
|
22226
|
+
} | undefined;
|
|
22191
22227
|
} | undefined;
|
|
22192
22228
|
appearance: {
|
|
22193
22229
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -23329,6 +23365,10 @@ interface Routes {
|
|
|
23329
23365
|
accessory_keypad?: {
|
|
23330
23366
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
23331
23367
|
is_connected: boolean;
|
|
23368
|
+
/** Indicates if the keypad battery properties. */
|
|
23369
|
+
battery?: {
|
|
23370
|
+
level: number;
|
|
23371
|
+
} | undefined;
|
|
23332
23372
|
} | undefined;
|
|
23333
23373
|
appearance: {
|
|
23334
23374
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -23930,6 +23970,10 @@ interface Routes {
|
|
|
23930
23970
|
accessory_keypad?: {
|
|
23931
23971
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
23932
23972
|
is_connected: boolean;
|
|
23973
|
+
/** Indicates if the keypad battery properties. */
|
|
23974
|
+
battery?: {
|
|
23975
|
+
level: number;
|
|
23976
|
+
} | undefined;
|
|
23933
23977
|
} | undefined;
|
|
23934
23978
|
appearance: {
|
|
23935
23979
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -24714,6 +24758,10 @@ interface Routes {
|
|
|
24714
24758
|
accessory_keypad?: {
|
|
24715
24759
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
24716
24760
|
is_connected: boolean;
|
|
24761
|
+
/** Indicates if the keypad battery properties. */
|
|
24762
|
+
battery?: {
|
|
24763
|
+
level: number;
|
|
24764
|
+
} | undefined;
|
|
24717
24765
|
} | undefined;
|
|
24718
24766
|
appearance: {
|
|
24719
24767
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -27,10 +27,23 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
27
27
|
name: z.ZodString;
|
|
28
28
|
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
29
29
|
is_connected: z.ZodBoolean;
|
|
30
|
+
battery: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
level: z.ZodNumber;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
level: number;
|
|
34
|
+
}, {
|
|
35
|
+
level: number;
|
|
36
|
+
}>>;
|
|
30
37
|
}, "strip", z.ZodTypeAny, {
|
|
31
38
|
is_connected: boolean;
|
|
39
|
+
battery?: {
|
|
40
|
+
level: number;
|
|
41
|
+
} | undefined;
|
|
32
42
|
}, {
|
|
33
43
|
is_connected: boolean;
|
|
44
|
+
battery?: {
|
|
45
|
+
level: number;
|
|
46
|
+
} | undefined;
|
|
34
47
|
}>>;
|
|
35
48
|
appearance: z.ZodObject<{
|
|
36
49
|
name: z.ZodString;
|
|
@@ -101,6 +114,9 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
101
114
|
};
|
|
102
115
|
accessory_keypad?: {
|
|
103
116
|
is_connected: boolean;
|
|
117
|
+
battery?: {
|
|
118
|
+
level: number;
|
|
119
|
+
} | undefined;
|
|
104
120
|
} | undefined;
|
|
105
121
|
has_direct_power?: boolean | undefined;
|
|
106
122
|
battery_level?: number | undefined;
|
|
@@ -133,6 +149,9 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
133
149
|
};
|
|
134
150
|
accessory_keypad?: {
|
|
135
151
|
is_connected: boolean;
|
|
152
|
+
battery?: {
|
|
153
|
+
level: number;
|
|
154
|
+
} | undefined;
|
|
136
155
|
} | undefined;
|
|
137
156
|
has_direct_power?: boolean | undefined;
|
|
138
157
|
battery_level?: number | undefined;
|
|
@@ -195,10 +214,23 @@ export declare const managed_device: z.ZodObject<{
|
|
|
195
214
|
name: z.ZodString;
|
|
196
215
|
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
197
216
|
is_connected: z.ZodBoolean;
|
|
217
|
+
battery: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
level: z.ZodNumber;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
level: number;
|
|
221
|
+
}, {
|
|
222
|
+
level: number;
|
|
223
|
+
}>>;
|
|
198
224
|
}, "strip", z.ZodTypeAny, {
|
|
199
225
|
is_connected: boolean;
|
|
226
|
+
battery?: {
|
|
227
|
+
level: number;
|
|
228
|
+
} | undefined;
|
|
200
229
|
}, {
|
|
201
230
|
is_connected: boolean;
|
|
231
|
+
battery?: {
|
|
232
|
+
level: number;
|
|
233
|
+
} | undefined;
|
|
202
234
|
}>>;
|
|
203
235
|
appearance: z.ZodObject<{
|
|
204
236
|
name: z.ZodString;
|
|
@@ -269,6 +301,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
269
301
|
};
|
|
270
302
|
accessory_keypad?: {
|
|
271
303
|
is_connected: boolean;
|
|
304
|
+
battery?: {
|
|
305
|
+
level: number;
|
|
306
|
+
} | undefined;
|
|
272
307
|
} | undefined;
|
|
273
308
|
has_direct_power?: boolean | undefined;
|
|
274
309
|
battery_level?: number | undefined;
|
|
@@ -301,6 +336,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
301
336
|
};
|
|
302
337
|
accessory_keypad?: {
|
|
303
338
|
is_connected: boolean;
|
|
339
|
+
battery?: {
|
|
340
|
+
level: number;
|
|
341
|
+
} | undefined;
|
|
304
342
|
} | undefined;
|
|
305
343
|
has_direct_power?: boolean | undefined;
|
|
306
344
|
battery_level?: number | undefined;
|
|
@@ -2164,6 +2202,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2164
2202
|
};
|
|
2165
2203
|
accessory_keypad?: {
|
|
2166
2204
|
is_connected: boolean;
|
|
2205
|
+
battery?: {
|
|
2206
|
+
level: number;
|
|
2207
|
+
} | undefined;
|
|
2167
2208
|
} | undefined;
|
|
2168
2209
|
has_direct_power?: boolean | undefined;
|
|
2169
2210
|
battery_level?: number | undefined;
|
|
@@ -2581,6 +2622,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2581
2622
|
};
|
|
2582
2623
|
accessory_keypad?: {
|
|
2583
2624
|
is_connected: boolean;
|
|
2625
|
+
battery?: {
|
|
2626
|
+
level: number;
|
|
2627
|
+
} | undefined;
|
|
2584
2628
|
} | undefined;
|
|
2585
2629
|
has_direct_power?: boolean | undefined;
|
|
2586
2630
|
battery_level?: number | undefined;
|
|
@@ -3027,6 +3071,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3027
3071
|
};
|
|
3028
3072
|
accessory_keypad?: {
|
|
3029
3073
|
is_connected: boolean;
|
|
3074
|
+
battery?: {
|
|
3075
|
+
level: number;
|
|
3076
|
+
} | undefined;
|
|
3030
3077
|
} | undefined;
|
|
3031
3078
|
has_direct_power?: boolean | undefined;
|
|
3032
3079
|
battery_level?: number | undefined;
|
|
@@ -3444,6 +3491,9 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3444
3491
|
};
|
|
3445
3492
|
accessory_keypad?: {
|
|
3446
3493
|
is_connected: boolean;
|
|
3494
|
+
battery?: {
|
|
3495
|
+
level: number;
|
|
3496
|
+
} | undefined;
|
|
3447
3497
|
} | undefined;
|
|
3448
3498
|
has_direct_power?: boolean | undefined;
|
|
3449
3499
|
battery_level?: number | undefined;
|
|
@@ -23,6 +23,12 @@ export const common_device_properties = z.object({
|
|
|
23
23
|
is_connected: z
|
|
24
24
|
.boolean()
|
|
25
25
|
.describe('Indicates if the accessory_keypad is connected to the device.'),
|
|
26
|
+
battery: z
|
|
27
|
+
.object({
|
|
28
|
+
level: z.number().min(0).max(1),
|
|
29
|
+
})
|
|
30
|
+
.optional()
|
|
31
|
+
.describe('Indicates if the keypad battery properties.'),
|
|
26
32
|
})
|
|
27
33
|
.optional()
|
|
28
34
|
.describe('Represents the accessory keypad state.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,uBAAuB,GAClC,gBAAgB,CAAC,uBAAuB,CAAC,MAAM,CAAC;IAC9C,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACvE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;;OAKrB,CAAC;IACN,gBAAgB,EAAE,CAAC;SAChB,MAAM,CAAC;QACN,YAAY,EAAE,CAAC;aACZ,OAAO,EAAE;aACT,QAAQ,CACP,+DAA+D,CAChE;
|
|
1
|
+
{"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,uBAAuB,GAClC,gBAAgB,CAAC,uBAAuB,CAAC,MAAM,CAAC;IAC9C,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACvE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;;OAKrB,CAAC;IACN,gBAAgB,EAAE,CAAC;SAChB,MAAM,CAAC;QACN,YAAY,EAAE,CAAC;aACZ,OAAO,EAAE;aACT,QAAQ,CACP,+DAA+D,CAChE;QACH,OAAO,EAAE,CAAC;aACP,MAA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,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,+YAA+Y,CAChZ;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;IACzD,eAAe;CAChB,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAA"}
|
|
@@ -32,10 +32,23 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodString;
|
|
33
33
|
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
34
34
|
is_connected: z.ZodBoolean;
|
|
35
|
+
battery: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
level: z.ZodNumber;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
level: number;
|
|
39
|
+
}, {
|
|
40
|
+
level: number;
|
|
41
|
+
}>>;
|
|
35
42
|
}, "strip", z.ZodTypeAny, {
|
|
36
43
|
is_connected: boolean;
|
|
44
|
+
battery?: {
|
|
45
|
+
level: number;
|
|
46
|
+
} | undefined;
|
|
37
47
|
}, {
|
|
38
48
|
is_connected: boolean;
|
|
49
|
+
battery?: {
|
|
50
|
+
level: number;
|
|
51
|
+
} | undefined;
|
|
39
52
|
}>>;
|
|
40
53
|
appearance: z.ZodObject<{
|
|
41
54
|
name: z.ZodString;
|
|
@@ -111,6 +124,9 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
111
124
|
manufacturer?: string | undefined;
|
|
112
125
|
accessory_keypad?: {
|
|
113
126
|
is_connected: boolean;
|
|
127
|
+
battery?: {
|
|
128
|
+
level: number;
|
|
129
|
+
} | undefined;
|
|
114
130
|
} | undefined;
|
|
115
131
|
online_access_codes_enabled?: boolean | undefined;
|
|
116
132
|
offline_access_codes_enabled?: boolean | undefined;
|
|
@@ -136,6 +152,9 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
136
152
|
manufacturer?: string | undefined;
|
|
137
153
|
accessory_keypad?: {
|
|
138
154
|
is_connected: boolean;
|
|
155
|
+
battery?: {
|
|
156
|
+
level: number;
|
|
157
|
+
} | undefined;
|
|
139
158
|
} | undefined;
|
|
140
159
|
online_access_codes_enabled?: boolean | undefined;
|
|
141
160
|
offline_access_codes_enabled?: boolean | undefined;
|
|
@@ -183,6 +202,9 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
183
202
|
manufacturer?: string | undefined;
|
|
184
203
|
accessory_keypad?: {
|
|
185
204
|
is_connected: boolean;
|
|
205
|
+
battery?: {
|
|
206
|
+
level: number;
|
|
207
|
+
} | undefined;
|
|
186
208
|
} | undefined;
|
|
187
209
|
online_access_codes_enabled?: boolean | undefined;
|
|
188
210
|
offline_access_codes_enabled?: boolean | undefined;
|
|
@@ -230,6 +252,9 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
230
252
|
manufacturer?: string | undefined;
|
|
231
253
|
accessory_keypad?: {
|
|
232
254
|
is_connected: boolean;
|
|
255
|
+
battery?: {
|
|
256
|
+
level: number;
|
|
257
|
+
} | undefined;
|
|
233
258
|
} | undefined;
|
|
234
259
|
online_access_codes_enabled?: boolean | undefined;
|
|
235
260
|
offline_access_codes_enabled?: boolean | undefined;
|
|
@@ -732,6 +732,18 @@ declare const _default: {
|
|
|
732
732
|
accessory_keypad: {
|
|
733
733
|
description: string;
|
|
734
734
|
properties: {
|
|
735
|
+
battery: {
|
|
736
|
+
description: string;
|
|
737
|
+
properties: {
|
|
738
|
+
level: {
|
|
739
|
+
maximum: number;
|
|
740
|
+
minimum: number;
|
|
741
|
+
type: string;
|
|
742
|
+
};
|
|
743
|
+
};
|
|
744
|
+
required: string[];
|
|
745
|
+
type: string;
|
|
746
|
+
};
|
|
735
747
|
is_connected: {
|
|
736
748
|
description: string;
|
|
737
749
|
type: string;
|
|
@@ -637,6 +637,18 @@ export default {
|
|
|
637
637
|
accessory_keypad: {
|
|
638
638
|
description: 'Represents the accessory keypad state.',
|
|
639
639
|
properties: {
|
|
640
|
+
battery: {
|
|
641
|
+
description: 'Indicates if the keypad battery properties.',
|
|
642
|
+
properties: {
|
|
643
|
+
level: {
|
|
644
|
+
maximum: 1,
|
|
645
|
+
minimum: 0,
|
|
646
|
+
type: 'number',
|
|
647
|
+
},
|
|
648
|
+
},
|
|
649
|
+
required: ['level'],
|
|
650
|
+
type: 'object',
|
|
651
|
+
},
|
|
640
652
|
is_connected: {
|
|
641
653
|
description: 'Indicates if the accessory_keypad is connected to the device.',
|
|
642
654
|
type: 'boolean',
|