@seamapi/types 1.147.1 → 1.148.1
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 +20 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +68 -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 +24 -0
- package/lib/seam/connect/openapi.js +20 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +44 -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 +21 -0
- package/src/lib/seam/connect/route-types.ts +66 -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;
|
|
@@ -2636,6 +2648,18 @@ declare const _default: {
|
|
|
2636
2648
|
accessory_keypad: {
|
|
2637
2649
|
description: string;
|
|
2638
2650
|
properties: {
|
|
2651
|
+
battery: {
|
|
2652
|
+
description: string;
|
|
2653
|
+
properties: {
|
|
2654
|
+
level: {
|
|
2655
|
+
maximum: number;
|
|
2656
|
+
minimum: number;
|
|
2657
|
+
type: string;
|
|
2658
|
+
};
|
|
2659
|
+
};
|
|
2660
|
+
required: string[];
|
|
2661
|
+
type: string;
|
|
2662
|
+
};
|
|
2639
2663
|
is_connected: {
|
|
2640
2664
|
description: string;
|
|
2641
2665
|
type: string;
|
|
@@ -19247,6 +19271,10 @@ interface Routes {
|
|
|
19247
19271
|
accessory_keypad?: {
|
|
19248
19272
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
19249
19273
|
is_connected: boolean;
|
|
19274
|
+
/** Indicates if the keypad battery properties. */
|
|
19275
|
+
battery?: {
|
|
19276
|
+
level: number;
|
|
19277
|
+
} | undefined;
|
|
19250
19278
|
} | undefined;
|
|
19251
19279
|
appearance: {
|
|
19252
19280
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -19772,6 +19800,10 @@ interface Routes {
|
|
|
19772
19800
|
accessory_keypad?: {
|
|
19773
19801
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
19774
19802
|
is_connected: boolean;
|
|
19803
|
+
/** Indicates if the keypad battery properties. */
|
|
19804
|
+
battery?: {
|
|
19805
|
+
level: number;
|
|
19806
|
+
} | undefined;
|
|
19775
19807
|
} | undefined;
|
|
19776
19808
|
appearance: {
|
|
19777
19809
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -20317,6 +20349,10 @@ interface Routes {
|
|
|
20317
20349
|
accessory_keypad?: {
|
|
20318
20350
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
20319
20351
|
is_connected: boolean;
|
|
20352
|
+
/** Indicates if the keypad battery properties. */
|
|
20353
|
+
battery?: {
|
|
20354
|
+
level: number;
|
|
20355
|
+
} | undefined;
|
|
20320
20356
|
} | undefined;
|
|
20321
20357
|
/**
|
|
20322
20358
|
---
|
|
@@ -20420,6 +20456,10 @@ interface Routes {
|
|
|
20420
20456
|
accessory_keypad?: {
|
|
20421
20457
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
20422
20458
|
is_connected: boolean;
|
|
20459
|
+
/** Indicates if the keypad battery properties. */
|
|
20460
|
+
battery?: {
|
|
20461
|
+
level: number;
|
|
20462
|
+
} | undefined;
|
|
20423
20463
|
} | undefined;
|
|
20424
20464
|
/**
|
|
20425
20465
|
---
|
|
@@ -20663,6 +20703,10 @@ interface Routes {
|
|
|
20663
20703
|
accessory_keypad?: {
|
|
20664
20704
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
20665
20705
|
is_connected: boolean;
|
|
20706
|
+
/** Indicates if the keypad battery properties. */
|
|
20707
|
+
battery?: {
|
|
20708
|
+
level: number;
|
|
20709
|
+
} | undefined;
|
|
20666
20710
|
} | undefined;
|
|
20667
20711
|
appearance: {
|
|
20668
20712
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -21163,6 +21207,10 @@ interface Routes {
|
|
|
21163
21207
|
accessory_keypad?: {
|
|
21164
21208
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
21165
21209
|
is_connected: boolean;
|
|
21210
|
+
/** Indicates if the keypad battery properties. */
|
|
21211
|
+
battery?: {
|
|
21212
|
+
level: number;
|
|
21213
|
+
} | undefined;
|
|
21166
21214
|
} | undefined;
|
|
21167
21215
|
appearance: {
|
|
21168
21216
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -21688,6 +21736,10 @@ interface Routes {
|
|
|
21688
21736
|
accessory_keypad?: {
|
|
21689
21737
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
21690
21738
|
is_connected: boolean;
|
|
21739
|
+
/** Indicates if the keypad battery properties. */
|
|
21740
|
+
battery?: {
|
|
21741
|
+
level: number;
|
|
21742
|
+
} | undefined;
|
|
21691
21743
|
} | undefined;
|
|
21692
21744
|
appearance: {
|
|
21693
21745
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -22188,6 +22240,10 @@ interface Routes {
|
|
|
22188
22240
|
accessory_keypad?: {
|
|
22189
22241
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
22190
22242
|
is_connected: boolean;
|
|
22243
|
+
/** Indicates if the keypad battery properties. */
|
|
22244
|
+
battery?: {
|
|
22245
|
+
level: number;
|
|
22246
|
+
} | undefined;
|
|
22191
22247
|
} | undefined;
|
|
22192
22248
|
appearance: {
|
|
22193
22249
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -23329,6 +23385,10 @@ interface Routes {
|
|
|
23329
23385
|
accessory_keypad?: {
|
|
23330
23386
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
23331
23387
|
is_connected: boolean;
|
|
23388
|
+
/** Indicates if the keypad battery properties. */
|
|
23389
|
+
battery?: {
|
|
23390
|
+
level: number;
|
|
23391
|
+
} | undefined;
|
|
23332
23392
|
} | undefined;
|
|
23333
23393
|
appearance: {
|
|
23334
23394
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -23930,6 +23990,10 @@ interface Routes {
|
|
|
23930
23990
|
accessory_keypad?: {
|
|
23931
23991
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
23932
23992
|
is_connected: boolean;
|
|
23993
|
+
/** Indicates if the keypad battery properties. */
|
|
23994
|
+
battery?: {
|
|
23995
|
+
level: number;
|
|
23996
|
+
} | undefined;
|
|
23933
23997
|
} | undefined;
|
|
23934
23998
|
appearance: {
|
|
23935
23999
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -24714,6 +24778,10 @@ interface Routes {
|
|
|
24714
24778
|
accessory_keypad?: {
|
|
24715
24779
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
24716
24780
|
is_connected: boolean;
|
|
24781
|
+
/** Indicates if the keypad battery properties. */
|
|
24782
|
+
battery?: {
|
|
24783
|
+
level: number;
|
|
24784
|
+
} | undefined;
|
|
24717
24785
|
} | undefined;
|
|
24718
24786
|
appearance: {
|
|
24719
24787
|
/** 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,EAA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,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;
|
|
@@ -2562,6 +2574,18 @@ declare const _default: {
|
|
|
2562
2574
|
accessory_keypad: {
|
|
2563
2575
|
description: string;
|
|
2564
2576
|
properties: {
|
|
2577
|
+
battery: {
|
|
2578
|
+
description: string;
|
|
2579
|
+
properties: {
|
|
2580
|
+
level: {
|
|
2581
|
+
maximum: number;
|
|
2582
|
+
minimum: number;
|
|
2583
|
+
type: string;
|
|
2584
|
+
};
|
|
2585
|
+
};
|
|
2586
|
+
required: string[];
|
|
2587
|
+
type: string;
|
|
2588
|
+
};
|
|
2565
2589
|
is_connected: {
|
|
2566
2590
|
description: string;
|
|
2567
2591
|
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',
|
|
@@ -2152,6 +2164,14 @@ export default {
|
|
|
2152
2164
|
accessory_keypad: {
|
|
2153
2165
|
description: 'Represents the accessory keypad state.',
|
|
2154
2166
|
properties: {
|
|
2167
|
+
battery: {
|
|
2168
|
+
description: 'Indicates if the keypad battery properties.',
|
|
2169
|
+
properties: {
|
|
2170
|
+
level: { maximum: 1, minimum: 0, type: 'number' },
|
|
2171
|
+
},
|
|
2172
|
+
required: ['level'],
|
|
2173
|
+
type: 'object',
|
|
2174
|
+
},
|
|
2155
2175
|
is_connected: {
|
|
2156
2176
|
description: 'Indicates if the accessory_keypad is connected to the device.',
|
|
2157
2177
|
type: 'boolean',
|