@seamapi/types 1.17.0 → 1.17.2
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/devicedb.d.ts +1 -1
- package/devicedb.js +1 -1
- package/devicedb.js.map +1 -1
- package/dist/devicedb.cjs +46 -7709
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +442 -2
- package/lib/seam/devicedb/index.d.ts +2 -1
- package/lib/seam/devicedb/index.js +2 -1
- package/lib/seam/devicedb/index.js.map +1 -1
- package/lib/seam/devicedb/public-models.d.ts +4 -4
- package/package.json +1 -1
- package/src/devicedb.ts +1 -1
- package/src/lib/seam/devicedb/index.ts +3 -1
package/dist/devicedb.d.cts
CHANGED
|
@@ -1,2 +1,442 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const device_model_v0: z.ZodObject<{
|
|
4
|
+
main_category: z.ZodString;
|
|
5
|
+
model_name: z.ZodString;
|
|
6
|
+
manufacturer_model_id: z.ZodString;
|
|
7
|
+
connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
|
|
8
|
+
support_level: z.ZodEnum<["live", "beta", "unsupported"]>;
|
|
9
|
+
brand: z.ZodString;
|
|
10
|
+
icon_url: z.ZodString;
|
|
11
|
+
seam_device_model_page_url: z.ZodString;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
main_category: string;
|
|
14
|
+
model_name: string;
|
|
15
|
+
manufacturer_model_id: string;
|
|
16
|
+
connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
17
|
+
support_level: "live" | "beta" | "unsupported";
|
|
18
|
+
brand: string;
|
|
19
|
+
icon_url: string;
|
|
20
|
+
seam_device_model_page_url: string;
|
|
21
|
+
}, {
|
|
22
|
+
main_category: string;
|
|
23
|
+
model_name: string;
|
|
24
|
+
manufacturer_model_id: string;
|
|
25
|
+
connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
26
|
+
support_level: "live" | "beta" | "unsupported";
|
|
27
|
+
brand: string;
|
|
28
|
+
icon_url: string;
|
|
29
|
+
seam_device_model_page_url: string;
|
|
30
|
+
}>;
|
|
31
|
+
type DeviceModelV0 = z.infer<typeof device_model_v0>;
|
|
32
|
+
declare const image_reference: z.ZodObject<{
|
|
33
|
+
url: z.ZodString;
|
|
34
|
+
width: z.ZodNumber;
|
|
35
|
+
height: z.ZodNumber;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
url: string;
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
}, {
|
|
41
|
+
url: string;
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
}>;
|
|
45
|
+
type ImageReference = z.infer<typeof image_reference>;
|
|
46
|
+
declare const manufacturer: z.ZodObject<{
|
|
47
|
+
manufacturer_id: z.ZodString;
|
|
48
|
+
display_name: z.ZodString;
|
|
49
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
url: z.ZodString;
|
|
51
|
+
width: z.ZodNumber;
|
|
52
|
+
height: z.ZodNumber;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
url: string;
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
}, {
|
|
58
|
+
url: string;
|
|
59
|
+
width: number;
|
|
60
|
+
height: number;
|
|
61
|
+
}>>;
|
|
62
|
+
integration: z.ZodEnum<["stable", "beta", "planned", "unsupported"]>;
|
|
63
|
+
is_connect_webview_supported: z.ZodBoolean;
|
|
64
|
+
requires_seam_support_to_add_account: z.ZodBoolean;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
display_name: string;
|
|
67
|
+
manufacturer_id: string;
|
|
68
|
+
integration: "stable" | "beta" | "unsupported" | "planned";
|
|
69
|
+
is_connect_webview_supported: boolean;
|
|
70
|
+
requires_seam_support_to_add_account: boolean;
|
|
71
|
+
logo?: {
|
|
72
|
+
url: string;
|
|
73
|
+
width: number;
|
|
74
|
+
height: number;
|
|
75
|
+
} | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
display_name: string;
|
|
78
|
+
manufacturer_id: string;
|
|
79
|
+
integration: "stable" | "beta" | "unsupported" | "planned";
|
|
80
|
+
is_connect_webview_supported: boolean;
|
|
81
|
+
requires_seam_support_to_add_account: boolean;
|
|
82
|
+
logo?: {
|
|
83
|
+
url: string;
|
|
84
|
+
width: number;
|
|
85
|
+
height: number;
|
|
86
|
+
} | undefined;
|
|
87
|
+
}>;
|
|
88
|
+
type Manufacturer = z.infer<typeof manufacturer>;
|
|
89
|
+
declare const device_model_v1: z.ZodObject<{
|
|
90
|
+
device_model_id: z.ZodString;
|
|
91
|
+
manufacturer: z.ZodObject<{
|
|
92
|
+
manufacturer_id: z.ZodString;
|
|
93
|
+
display_name: z.ZodString;
|
|
94
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
url: z.ZodString;
|
|
96
|
+
width: z.ZodNumber;
|
|
97
|
+
height: z.ZodNumber;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
url: string;
|
|
100
|
+
width: number;
|
|
101
|
+
height: number;
|
|
102
|
+
}, {
|
|
103
|
+
url: string;
|
|
104
|
+
width: number;
|
|
105
|
+
height: number;
|
|
106
|
+
}>>;
|
|
107
|
+
integration: z.ZodEnum<["stable", "beta", "planned", "unsupported"]>;
|
|
108
|
+
is_connect_webview_supported: z.ZodBoolean;
|
|
109
|
+
requires_seam_support_to_add_account: z.ZodBoolean;
|
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
|
111
|
+
display_name: string;
|
|
112
|
+
manufacturer_id: string;
|
|
113
|
+
integration: "stable" | "beta" | "unsupported" | "planned";
|
|
114
|
+
is_connect_webview_supported: boolean;
|
|
115
|
+
requires_seam_support_to_add_account: boolean;
|
|
116
|
+
logo?: {
|
|
117
|
+
url: string;
|
|
118
|
+
width: number;
|
|
119
|
+
height: number;
|
|
120
|
+
} | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
display_name: string;
|
|
123
|
+
manufacturer_id: string;
|
|
124
|
+
integration: "stable" | "beta" | "unsupported" | "planned";
|
|
125
|
+
is_connect_webview_supported: boolean;
|
|
126
|
+
requires_seam_support_to_add_account: boolean;
|
|
127
|
+
logo?: {
|
|
128
|
+
url: string;
|
|
129
|
+
width: number;
|
|
130
|
+
height: number;
|
|
131
|
+
} | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
is_device_supported: z.ZodBoolean;
|
|
134
|
+
display_name: z.ZodString;
|
|
135
|
+
product_url: z.ZodString;
|
|
136
|
+
main_connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
|
|
137
|
+
main_category: z.ZodEnum<["smartlock", "thermostat", "noise_sensor"]>;
|
|
138
|
+
aesthetic_variants: z.ZodArray<z.ZodObject<{
|
|
139
|
+
slug: z.ZodString;
|
|
140
|
+
display_name: z.ZodString;
|
|
141
|
+
primary_color_hex: z.ZodOptional<z.ZodString>;
|
|
142
|
+
manufacturer_sku: z.ZodString;
|
|
143
|
+
front_image: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
url: z.ZodString;
|
|
145
|
+
width: z.ZodNumber;
|
|
146
|
+
height: z.ZodNumber;
|
|
147
|
+
}, "strip", z.ZodTypeAny, {
|
|
148
|
+
url: string;
|
|
149
|
+
width: number;
|
|
150
|
+
height: number;
|
|
151
|
+
}, {
|
|
152
|
+
url: string;
|
|
153
|
+
width: number;
|
|
154
|
+
height: number;
|
|
155
|
+
}>>;
|
|
156
|
+
back_image: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
url: z.ZodString;
|
|
158
|
+
width: z.ZodNumber;
|
|
159
|
+
height: z.ZodNumber;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
url: string;
|
|
162
|
+
width: number;
|
|
163
|
+
height: number;
|
|
164
|
+
}, {
|
|
165
|
+
url: string;
|
|
166
|
+
width: number;
|
|
167
|
+
height: number;
|
|
168
|
+
}>>;
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
display_name: string;
|
|
171
|
+
slug: string;
|
|
172
|
+
manufacturer_sku: string;
|
|
173
|
+
primary_color_hex?: string | undefined;
|
|
174
|
+
front_image?: {
|
|
175
|
+
url: string;
|
|
176
|
+
width: number;
|
|
177
|
+
height: number;
|
|
178
|
+
} | undefined;
|
|
179
|
+
back_image?: {
|
|
180
|
+
url: string;
|
|
181
|
+
width: number;
|
|
182
|
+
height: number;
|
|
183
|
+
} | undefined;
|
|
184
|
+
}, {
|
|
185
|
+
display_name: string;
|
|
186
|
+
slug: string;
|
|
187
|
+
manufacturer_sku: string;
|
|
188
|
+
primary_color_hex?: string | undefined;
|
|
189
|
+
front_image?: {
|
|
190
|
+
url: string;
|
|
191
|
+
width: number;
|
|
192
|
+
height: number;
|
|
193
|
+
} | undefined;
|
|
194
|
+
back_image?: {
|
|
195
|
+
url: string;
|
|
196
|
+
width: number;
|
|
197
|
+
height: number;
|
|
198
|
+
} | undefined;
|
|
199
|
+
}>, "many">;
|
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
|
201
|
+
display_name: string;
|
|
202
|
+
main_category: "thermostat" | "smartlock" | "noise_sensor";
|
|
203
|
+
device_model_id: string;
|
|
204
|
+
manufacturer: {
|
|
205
|
+
display_name: string;
|
|
206
|
+
manufacturer_id: string;
|
|
207
|
+
integration: "stable" | "beta" | "unsupported" | "planned";
|
|
208
|
+
is_connect_webview_supported: boolean;
|
|
209
|
+
requires_seam_support_to_add_account: boolean;
|
|
210
|
+
logo?: {
|
|
211
|
+
url: string;
|
|
212
|
+
width: number;
|
|
213
|
+
height: number;
|
|
214
|
+
} | undefined;
|
|
215
|
+
};
|
|
216
|
+
is_device_supported: boolean;
|
|
217
|
+
product_url: string;
|
|
218
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
219
|
+
aesthetic_variants: {
|
|
220
|
+
display_name: string;
|
|
221
|
+
slug: string;
|
|
222
|
+
manufacturer_sku: string;
|
|
223
|
+
primary_color_hex?: string | undefined;
|
|
224
|
+
front_image?: {
|
|
225
|
+
url: string;
|
|
226
|
+
width: number;
|
|
227
|
+
height: number;
|
|
228
|
+
} | undefined;
|
|
229
|
+
back_image?: {
|
|
230
|
+
url: string;
|
|
231
|
+
width: number;
|
|
232
|
+
height: number;
|
|
233
|
+
} | undefined;
|
|
234
|
+
}[];
|
|
235
|
+
}, {
|
|
236
|
+
display_name: string;
|
|
237
|
+
main_category: "thermostat" | "smartlock" | "noise_sensor";
|
|
238
|
+
device_model_id: string;
|
|
239
|
+
manufacturer: {
|
|
240
|
+
display_name: string;
|
|
241
|
+
manufacturer_id: string;
|
|
242
|
+
integration: "stable" | "beta" | "unsupported" | "planned";
|
|
243
|
+
is_connect_webview_supported: boolean;
|
|
244
|
+
requires_seam_support_to_add_account: boolean;
|
|
245
|
+
logo?: {
|
|
246
|
+
url: string;
|
|
247
|
+
width: number;
|
|
248
|
+
height: number;
|
|
249
|
+
} | undefined;
|
|
250
|
+
};
|
|
251
|
+
is_device_supported: boolean;
|
|
252
|
+
product_url: string;
|
|
253
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
254
|
+
aesthetic_variants: {
|
|
255
|
+
display_name: string;
|
|
256
|
+
slug: string;
|
|
257
|
+
manufacturer_sku: string;
|
|
258
|
+
primary_color_hex?: string | undefined;
|
|
259
|
+
front_image?: {
|
|
260
|
+
url: string;
|
|
261
|
+
width: number;
|
|
262
|
+
height: number;
|
|
263
|
+
} | undefined;
|
|
264
|
+
back_image?: {
|
|
265
|
+
url: string;
|
|
266
|
+
width: number;
|
|
267
|
+
height: number;
|
|
268
|
+
} | undefined;
|
|
269
|
+
}[];
|
|
270
|
+
}>;
|
|
271
|
+
type DeviceModelV1 = z.infer<typeof device_model_v1>;
|
|
272
|
+
|
|
273
|
+
type publicModels_DeviceModelV0 = DeviceModelV0;
|
|
274
|
+
type publicModels_DeviceModelV1 = DeviceModelV1;
|
|
275
|
+
type publicModels_ImageReference = ImageReference;
|
|
276
|
+
type publicModels_Manufacturer = Manufacturer;
|
|
277
|
+
declare const publicModels_device_model_v0: typeof device_model_v0;
|
|
278
|
+
declare const publicModels_device_model_v1: typeof device_model_v1;
|
|
279
|
+
declare const publicModels_image_reference: typeof image_reference;
|
|
280
|
+
declare const publicModels_manufacturer: typeof manufacturer;
|
|
281
|
+
declare namespace publicModels {
|
|
282
|
+
export {
|
|
283
|
+
publicModels_DeviceModelV0 as DeviceModelV0,
|
|
284
|
+
publicModels_DeviceModelV1 as DeviceModelV1,
|
|
285
|
+
publicModels_ImageReference as ImageReference,
|
|
286
|
+
publicModels_Manufacturer as Manufacturer,
|
|
287
|
+
publicModels_device_model_v0 as device_model_v0,
|
|
288
|
+
publicModels_device_model_v1 as device_model_v1,
|
|
289
|
+
publicModels_image_reference as image_reference,
|
|
290
|
+
publicModels_manufacturer as manufacturer,
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
interface Routes {
|
|
295
|
+
'/v1/device_models/get': {
|
|
296
|
+
route: '/v1/device_models/get';
|
|
297
|
+
method: 'GET' | 'OPTIONS';
|
|
298
|
+
queryParams: {
|
|
299
|
+
device_model_id: string;
|
|
300
|
+
};
|
|
301
|
+
jsonBody: {};
|
|
302
|
+
commonParams: {};
|
|
303
|
+
formData: {};
|
|
304
|
+
jsonResponse: {
|
|
305
|
+
device_model: {
|
|
306
|
+
device_model_id: string;
|
|
307
|
+
manufacturer: {
|
|
308
|
+
manufacturer_id: string;
|
|
309
|
+
display_name: string;
|
|
310
|
+
logo?: {
|
|
311
|
+
url: string;
|
|
312
|
+
width: number;
|
|
313
|
+
height: number;
|
|
314
|
+
} | undefined;
|
|
315
|
+
integration: 'stable' | 'beta' | 'planned' | 'unsupported';
|
|
316
|
+
is_connect_webview_supported: boolean;
|
|
317
|
+
requires_seam_support_to_add_account: boolean;
|
|
318
|
+
};
|
|
319
|
+
is_device_supported: boolean;
|
|
320
|
+
display_name: string;
|
|
321
|
+
product_url: string;
|
|
322
|
+
main_connection_type: 'wifi' | 'zwave' | 'zigbee' | 'unknown';
|
|
323
|
+
main_category: 'smartlock' | 'thermostat' | 'noise_sensor';
|
|
324
|
+
aesthetic_variants: Array<{
|
|
325
|
+
slug: string;
|
|
326
|
+
display_name: string;
|
|
327
|
+
primary_color_hex?: string | undefined;
|
|
328
|
+
manufacturer_sku: string;
|
|
329
|
+
front_image?: {
|
|
330
|
+
url: string;
|
|
331
|
+
width: number;
|
|
332
|
+
height: number;
|
|
333
|
+
} | undefined;
|
|
334
|
+
back_image?: {
|
|
335
|
+
url: string;
|
|
336
|
+
width: number;
|
|
337
|
+
height: number;
|
|
338
|
+
} | undefined;
|
|
339
|
+
}>;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
'/v1/device_models/list': {
|
|
344
|
+
route: '/v1/device_models/list';
|
|
345
|
+
method: 'GET' | 'OPTIONS';
|
|
346
|
+
queryParams: {
|
|
347
|
+
main_category?: string | undefined;
|
|
348
|
+
manufacturer_id?: string | undefined;
|
|
349
|
+
integration_status?: ('stable' | 'beta' | 'planned' | 'unsupported') | undefined;
|
|
350
|
+
text_search?: string | undefined;
|
|
351
|
+
};
|
|
352
|
+
jsonBody: {};
|
|
353
|
+
commonParams: {};
|
|
354
|
+
formData: {};
|
|
355
|
+
jsonResponse: {
|
|
356
|
+
device_models: Array<{
|
|
357
|
+
device_model_id: string;
|
|
358
|
+
manufacturer: {
|
|
359
|
+
manufacturer_id: string;
|
|
360
|
+
display_name: string;
|
|
361
|
+
logo?: {
|
|
362
|
+
url: string;
|
|
363
|
+
width: number;
|
|
364
|
+
height: number;
|
|
365
|
+
} | undefined;
|
|
366
|
+
integration: 'stable' | 'beta' | 'planned' | 'unsupported';
|
|
367
|
+
is_connect_webview_supported: boolean;
|
|
368
|
+
requires_seam_support_to_add_account: boolean;
|
|
369
|
+
};
|
|
370
|
+
is_device_supported: boolean;
|
|
371
|
+
display_name: string;
|
|
372
|
+
product_url: string;
|
|
373
|
+
main_connection_type: 'wifi' | 'zwave' | 'zigbee' | 'unknown';
|
|
374
|
+
main_category: 'smartlock' | 'thermostat' | 'noise_sensor';
|
|
375
|
+
aesthetic_variants: Array<{
|
|
376
|
+
slug: string;
|
|
377
|
+
display_name: string;
|
|
378
|
+
primary_color_hex?: string | undefined;
|
|
379
|
+
manufacturer_sku: string;
|
|
380
|
+
front_image?: {
|
|
381
|
+
url: string;
|
|
382
|
+
width: number;
|
|
383
|
+
height: number;
|
|
384
|
+
} | undefined;
|
|
385
|
+
back_image?: {
|
|
386
|
+
url: string;
|
|
387
|
+
width: number;
|
|
388
|
+
height: number;
|
|
389
|
+
} | undefined;
|
|
390
|
+
}>;
|
|
391
|
+
}>;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
'/v1/manufacturers/get': {
|
|
395
|
+
route: '/v1/manufacturers/get';
|
|
396
|
+
method: 'GET' | 'OPTIONS';
|
|
397
|
+
queryParams: {
|
|
398
|
+
manufacturer_id: string;
|
|
399
|
+
};
|
|
400
|
+
jsonBody: {};
|
|
401
|
+
commonParams: {};
|
|
402
|
+
formData: {};
|
|
403
|
+
jsonResponse: {
|
|
404
|
+
manufacturer: {
|
|
405
|
+
manufacturer_id: string;
|
|
406
|
+
display_name: string;
|
|
407
|
+
logo?: {
|
|
408
|
+
url: string;
|
|
409
|
+
width: number;
|
|
410
|
+
height: number;
|
|
411
|
+
} | undefined;
|
|
412
|
+
integration: 'stable' | 'beta' | 'planned' | 'unsupported';
|
|
413
|
+
is_connect_webview_supported: boolean;
|
|
414
|
+
requires_seam_support_to_add_account: boolean;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
'/v1/manufacturers/list': {
|
|
419
|
+
route: '/v1/manufacturers/list';
|
|
420
|
+
method: 'GET' | 'OPTIONS';
|
|
421
|
+
queryParams: {};
|
|
422
|
+
jsonBody: {};
|
|
423
|
+
commonParams: {};
|
|
424
|
+
formData: {};
|
|
425
|
+
jsonResponse: {
|
|
426
|
+
manufacturers: Array<{
|
|
427
|
+
manufacturer_id: string;
|
|
428
|
+
display_name: string;
|
|
429
|
+
logo?: {
|
|
430
|
+
url: string;
|
|
431
|
+
width: number;
|
|
432
|
+
height: number;
|
|
433
|
+
} | undefined;
|
|
434
|
+
integration: 'stable' | 'beta' | 'planned' | 'unsupported';
|
|
435
|
+
is_connect_webview_supported: boolean;
|
|
436
|
+
requires_seam_support_to_add_account: boolean;
|
|
437
|
+
}>;
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export { Routes, publicModels as schemas };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/seam/devicedb/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/seam/devicedb/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAA;AAG7C,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -198,6 +198,8 @@ export declare const device_model_v1: z.ZodObject<{
|
|
|
198
198
|
}>, "many">;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
200
|
display_name: string;
|
|
201
|
+
main_category: "thermostat" | "smartlock" | "noise_sensor";
|
|
202
|
+
device_model_id: string;
|
|
201
203
|
manufacturer: {
|
|
202
204
|
display_name: string;
|
|
203
205
|
manufacturer_id: string;
|
|
@@ -210,8 +212,6 @@ export declare const device_model_v1: z.ZodObject<{
|
|
|
210
212
|
url: string;
|
|
211
213
|
} | undefined;
|
|
212
214
|
};
|
|
213
|
-
main_category: "thermostat" | "smartlock" | "noise_sensor";
|
|
214
|
-
device_model_id: string;
|
|
215
215
|
is_device_supported: boolean;
|
|
216
216
|
product_url: string;
|
|
217
217
|
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
@@ -233,6 +233,8 @@ export declare const device_model_v1: z.ZodObject<{
|
|
|
233
233
|
}[];
|
|
234
234
|
}, {
|
|
235
235
|
display_name: string;
|
|
236
|
+
main_category: "thermostat" | "smartlock" | "noise_sensor";
|
|
237
|
+
device_model_id: string;
|
|
236
238
|
manufacturer: {
|
|
237
239
|
display_name: string;
|
|
238
240
|
manufacturer_id: string;
|
|
@@ -245,8 +247,6 @@ export declare const device_model_v1: z.ZodObject<{
|
|
|
245
247
|
url: string;
|
|
246
248
|
} | undefined;
|
|
247
249
|
};
|
|
248
|
-
main_category: "thermostat" | "smartlock" | "noise_sensor";
|
|
249
|
-
device_model_id: string;
|
|
250
250
|
is_device_supported: boolean;
|
|
251
251
|
product_url: string;
|
|
252
252
|
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
package/package.json
CHANGED
package/src/devicedb.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lib/seam/
|
|
1
|
+
export * from './lib/seam/devicedb/index.js'
|