@seamapi/types 1.1198.0 → 1.1200.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1198.0",
3
+ "version": "1.1200.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1031,6 +1031,44 @@ export const device_metadata = z
1031
1031
  .partial()
1032
1032
  .describe(`Metadata for a Sensi device.`),
1033
1033
 
1034
+ sensibo_metadata: z
1035
+ .object({
1036
+ pod_id: z
1037
+ .string()
1038
+ .optional()
1039
+ .describe(`ID of the Sensibo device, which Sensibo calls a pod.`),
1040
+ room_name: z
1041
+ .string()
1042
+ .optional()
1043
+ .describe(`Name of the room that the Sensibo device is in.`),
1044
+ product_model: z
1045
+ .string()
1046
+ .optional()
1047
+ .describe(
1048
+ `Product model of the Sensibo device, such as \`skyv2\` or \`air\`.`,
1049
+ ),
1050
+ mac_address: z
1051
+ .string()
1052
+ .optional()
1053
+ .describe(`MAC address of the Sensibo device.`),
1054
+ serial_number: z
1055
+ .string()
1056
+ .optional()
1057
+ .describe(`Serial number of the Sensibo device.`),
1058
+ firmware_version: z
1059
+ .string()
1060
+ .optional()
1061
+ .describe(`Firmware version of the Sensibo device.`),
1062
+ temperature_unit: z
1063
+ .string()
1064
+ .optional()
1065
+ .describe(
1066
+ `Temperature unit that the Sensibo device displays: \`C\` or \`F\`.`,
1067
+ ),
1068
+ })
1069
+ .partial()
1070
+ .describe(`Metadata for a Sensibo device.`),
1071
+
1034
1072
  keynest_metadata: z
1035
1073
  .object({
1036
1074
  key_id: z.string().optional().describe(`Key ID for a KeyNest device.`),
@@ -1443,6 +1481,42 @@ export const device_metadata = z
1443
1481
  .partial()
1444
1482
  .describe(`Metadata for an Aqara device.`),
1445
1483
 
1484
+ tuya_metadata: z
1485
+ .object({
1486
+ device_id: z
1487
+ .string()
1488
+ .optional()
1489
+ .describe(`Device ID for a Tuya device.`),
1490
+ device_name: z
1491
+ .string()
1492
+ .optional()
1493
+ .describe(`Device name for a Tuya device.`),
1494
+ category: z
1495
+ .string()
1496
+ .optional()
1497
+ .describe(`Tuya product category code for the device (e.g. ms).`),
1498
+ product_id: z
1499
+ .string()
1500
+ .optional()
1501
+ .describe(`Tuya product ID for the device.`),
1502
+ product_name: z
1503
+ .string()
1504
+ .optional()
1505
+ .describe(`Tuya product name for the device.`),
1506
+ model: z
1507
+ .string()
1508
+ .nullable()
1509
+ .optional()
1510
+ .describe(`Model reported for a Tuya device.`),
1511
+ time_zone: z
1512
+ .string()
1513
+ .nullable()
1514
+ .optional()
1515
+ .describe(`Time zone reported for a Tuya device (e.g. +08:00).`),
1516
+ })
1517
+ .partial()
1518
+ .describe(`Metadata for a Tuya device.`),
1519
+
1446
1520
  eufy_metadata: z
1447
1521
  .object({
1448
1522
  device_id: z.string().optional(),
@@ -53,6 +53,7 @@ export const DEVICE_PROVIDERS = {
53
53
  TADO: 'tado',
54
54
  SALTO_SPACE: 'salto_space',
55
55
  SENSI: 'sensi',
56
+ SENSIBO: 'sensibo',
56
57
  KEYNEST: 'keynest',
57
58
  KORELOCK: 'korelock',
58
59
  KEYINCODE: 'keyincode',
@@ -80,6 +81,7 @@ export const DEVICE_PROVIDERS = {
80
81
  EUFY: 'eufy',
81
82
  SONOS: 'sonos',
82
83
  HAYWARD_OMNILOGIC: 'hayward_omnilogic',
84
+ TUYA: 'tuya',
83
85
  } as const
84
86
 
85
87
  export type DeviceProviderName =
@@ -173,6 +175,7 @@ export const PROVIDER_CATEGORY_MAP = {
173
175
  'unifi_protect',
174
176
  'yale_connect',
175
177
  'alertify',
178
+ 'tuya',
176
179
  ],
177
180
 
178
181
  thermostats: [
@@ -182,6 +185,7 @@ export const PROVIDER_CATEGORY_MAP = {
182
185
  'honeywell_resideo',
183
186
  'first_alert',
184
187
  'tado',
188
+ 'sensibo',
185
189
  ],
186
190
  noise_sensors: ['minut', 'noiseaware'],
187
191
  access_control_systems: [
@@ -37,6 +37,7 @@ export const LOCK_DEVICE_TYPE = {
37
37
  OMNITEC_LOCK: 'omnitec_lock',
38
38
  KISI_LOCK: 'kisi_lock',
39
39
  AQARA_LOCK: 'aqara_lock',
40
+ TUYA_LOCK: 'tuya_lock',
40
41
  EUFY_LOCK: 'eufy_lock',
41
42
  } as const
42
43
 
@@ -95,6 +96,7 @@ export const THERMOSTAT_DEVICE_TYPE = {
95
96
  HONEYWELL_RESIDEO_THERMOSTAT: 'honeywell_resideo_thermostat',
96
97
  TADO_THERMOSTAT: 'tado_thermostat',
97
98
  SENSI_THERMOSTAT: 'sensi_thermostat',
99
+ SENSIBO_THERMOSTAT: 'sensibo_thermostat',
98
100
  SMARTTHINGS_THERMOSTAT: 'smartthings_thermostat',
99
101
  } as const
100
102
 
@@ -16182,6 +16182,7 @@ const openapi: OpenAPISpec = {
16182
16182
  'omnitec_lock',
16183
16183
  'kisi_lock',
16184
16184
  'aqara_lock',
16185
+ 'tuya_lock',
16185
16186
  'eufy_lock',
16186
16187
  ],
16187
16188
  type: 'string',
@@ -16204,6 +16205,7 @@ const openapi: OpenAPISpec = {
16204
16205
  'honeywell_resideo_thermostat',
16205
16206
  'tado_thermostat',
16206
16207
  'sensi_thermostat',
16208
+ 'sensibo_thermostat',
16207
16209
  'smartthings_thermostat',
16208
16210
  ],
16209
16211
  type: 'string',
@@ -18524,6 +18526,45 @@ const openapi: OpenAPISpec = {
18524
18526
  },
18525
18527
  type: 'object',
18526
18528
  },
18529
+ sensibo_metadata: {
18530
+ description: 'Metadata for a Sensibo device.',
18531
+ properties: {
18532
+ firmware_version: {
18533
+ description:
18534
+ 'Firmware version of the Sensibo device.',
18535
+ type: 'string',
18536
+ },
18537
+ mac_address: {
18538
+ description: 'MAC address of the Sensibo device.',
18539
+ type: 'string',
18540
+ },
18541
+ pod_id: {
18542
+ description:
18543
+ 'ID of the Sensibo device, which Sensibo calls a pod.',
18544
+ type: 'string',
18545
+ },
18546
+ product_model: {
18547
+ description:
18548
+ 'Product model of the Sensibo device, such as `skyv2` or `air`.',
18549
+ type: 'string',
18550
+ },
18551
+ room_name: {
18552
+ description:
18553
+ 'Name of the room that the Sensibo device is in.',
18554
+ type: 'string',
18555
+ },
18556
+ serial_number: {
18557
+ description: 'Serial number of the Sensibo device.',
18558
+ type: 'string',
18559
+ },
18560
+ temperature_unit: {
18561
+ description:
18562
+ 'Temperature unit that the Sensibo device displays: `C` or `F`.',
18563
+ type: 'string',
18564
+ },
18565
+ },
18566
+ type: 'object',
18567
+ },
18527
18568
  smartthings_metadata: {
18528
18569
  description: 'Metadata for a SmartThings device.',
18529
18570
  properties: {
@@ -18790,6 +18831,44 @@ const openapi: OpenAPISpec = {
18790
18831
  },
18791
18832
  type: 'object',
18792
18833
  },
18834
+ tuya_metadata: {
18835
+ description: 'Metadata for a Tuya device.',
18836
+ properties: {
18837
+ category: {
18838
+ description:
18839
+ 'Tuya product category code for the device (e.g. ms).',
18840
+ type: 'string',
18841
+ },
18842
+ device_id: {
18843
+ description: 'Device ID for a Tuya device.',
18844
+ type: 'string',
18845
+ },
18846
+ device_name: {
18847
+ description: 'Device name for a Tuya device.',
18848
+ type: 'string',
18849
+ },
18850
+ model: {
18851
+ description: 'Model reported for a Tuya device.',
18852
+ nullable: true,
18853
+ type: 'string',
18854
+ },
18855
+ product_id: {
18856
+ description: 'Tuya product ID for the device.',
18857
+ type: 'string',
18858
+ },
18859
+ product_name: {
18860
+ description: 'Tuya product name for the device.',
18861
+ type: 'string',
18862
+ },
18863
+ time_zone: {
18864
+ description:
18865
+ 'Time zone reported for a Tuya device (e.g. +08:00).',
18866
+ nullable: true,
18867
+ type: 'string',
18868
+ },
18869
+ },
18870
+ type: 'object',
18871
+ },
18793
18872
  two_n_metadata: {
18794
18873
  description: 'Metadata for a 2N device.',
18795
18874
  properties: {
@@ -21442,6 +21521,7 @@ const openapi: OpenAPISpec = {
21442
21521
  'tado',
21443
21522
  'salto_space',
21444
21523
  'sensi',
21524
+ 'sensibo',
21445
21525
  'keynest',
21446
21526
  'korelock',
21447
21527
  'keyincode',
@@ -21469,6 +21549,7 @@ const openapi: OpenAPISpec = {
21469
21549
  'eufy',
21470
21550
  'sonos',
21471
21551
  'hayward_omnilogic',
21552
+ 'tuya',
21472
21553
  ],
21473
21554
  type: 'string',
21474
21555
  },
@@ -41952,6 +42033,7 @@ const openapi: OpenAPISpec = {
41952
42033
  'omnitec_lock',
41953
42034
  'kisi_lock',
41954
42035
  'aqara_lock',
42036
+ 'tuya_lock',
41955
42037
  'eufy_lock',
41956
42038
  ],
41957
42039
  type: 'string',
@@ -41974,6 +42056,7 @@ const openapi: OpenAPISpec = {
41974
42056
  'honeywell_resideo_thermostat',
41975
42057
  'tado_thermostat',
41976
42058
  'sensi_thermostat',
42059
+ 'sensibo_thermostat',
41977
42060
  'smartthings_thermostat',
41978
42061
  ],
41979
42062
  type: 'string',
@@ -52948,6 +53031,7 @@ const openapi: OpenAPISpec = {
52948
53031
  'tado',
52949
53032
  'salto_space',
52950
53033
  'sensi',
53034
+ 'sensibo',
52951
53035
  'keynest',
52952
53036
  'korelock',
52953
53037
  'keyincode',
@@ -52975,6 +53059,7 @@ const openapi: OpenAPISpec = {
52975
53059
  'eufy',
52976
53060
  'sonos',
52977
53061
  'hayward_omnilogic',
53062
+ 'tuya',
52978
53063
  'hid_cm',
52979
53064
  'google_nest',
52980
53065
  'slack',
@@ -56901,6 +56986,7 @@ const openapi: OpenAPISpec = {
56901
56986
  'omnitec_lock',
56902
56987
  'kisi_lock',
56903
56988
  'aqara_lock',
56989
+ 'tuya_lock',
56904
56990
  'eufy_lock',
56905
56991
  ],
56906
56992
  type: 'string',
@@ -56923,6 +57009,7 @@ const openapi: OpenAPISpec = {
56923
57009
  'honeywell_resideo_thermostat',
56924
57010
  'tado_thermostat',
56925
57011
  'sensi_thermostat',
57012
+ 'sensibo_thermostat',
56926
57013
  'smartthings_thermostat',
56927
57014
  ],
56928
57015
  type: 'string',
@@ -57008,6 +57095,7 @@ const openapi: OpenAPISpec = {
57008
57095
  'omnitec_lock',
57009
57096
  'kisi_lock',
57010
57097
  'aqara_lock',
57098
+ 'tuya_lock',
57011
57099
  'eufy_lock',
57012
57100
  ],
57013
57101
  type: 'string',
@@ -57030,6 +57118,7 @@ const openapi: OpenAPISpec = {
57030
57118
  'honeywell_resideo_thermostat',
57031
57119
  'tado_thermostat',
57032
57120
  'sensi_thermostat',
57121
+ 'sensibo_thermostat',
57033
57122
  'smartthings_thermostat',
57034
57123
  ],
57035
57124
  type: 'string',
@@ -57120,6 +57209,7 @@ const openapi: OpenAPISpec = {
57120
57209
  'nest',
57121
57210
  'noiseaware',
57122
57211
  'sensi',
57212
+ 'sensibo',
57123
57213
  'smartthings',
57124
57214
  'tado',
57125
57215
  'ultraloq',
@@ -57141,6 +57231,7 @@ const openapi: OpenAPISpec = {
57141
57231
  'yacan',
57142
57232
  'sonos',
57143
57233
  'hayward_omnilogic',
57234
+ 'tuya',
57144
57235
  ],
57145
57236
  type: 'string',
57146
57237
  },
@@ -59298,6 +59389,7 @@ const openapi: OpenAPISpec = {
59298
59389
  'omnitec_lock',
59299
59390
  'kisi_lock',
59300
59391
  'aqara_lock',
59392
+ 'tuya_lock',
59301
59393
  'eufy_lock',
59302
59394
  ],
59303
59395
  type: 'string',
@@ -59320,6 +59412,7 @@ const openapi: OpenAPISpec = {
59320
59412
  'honeywell_resideo_thermostat',
59321
59413
  'tado_thermostat',
59322
59414
  'sensi_thermostat',
59415
+ 'sensibo_thermostat',
59323
59416
  'smartthings_thermostat',
59324
59417
  ],
59325
59418
  type: 'string',
@@ -59405,6 +59498,7 @@ const openapi: OpenAPISpec = {
59405
59498
  'omnitec_lock',
59406
59499
  'kisi_lock',
59407
59500
  'aqara_lock',
59501
+ 'tuya_lock',
59408
59502
  'eufy_lock',
59409
59503
  ],
59410
59504
  type: 'string',
@@ -59427,6 +59521,7 @@ const openapi: OpenAPISpec = {
59427
59521
  'honeywell_resideo_thermostat',
59428
59522
  'tado_thermostat',
59429
59523
  'sensi_thermostat',
59524
+ 'sensibo_thermostat',
59430
59525
  'smartthings_thermostat',
59431
59526
  ],
59432
59527
  type: 'string',
@@ -59517,6 +59612,7 @@ const openapi: OpenAPISpec = {
59517
59612
  'nest',
59518
59613
  'noiseaware',
59519
59614
  'sensi',
59615
+ 'sensibo',
59520
59616
  'smartthings',
59521
59617
  'tado',
59522
59618
  'ultraloq',
@@ -59538,6 +59634,7 @@ const openapi: OpenAPISpec = {
59538
59634
  'yacan',
59539
59635
  'sonos',
59540
59636
  'hayward_omnilogic',
59637
+ 'tuya',
59541
59638
  ],
59542
59639
  type: 'string',
59543
59640
  },
@@ -60906,6 +61003,7 @@ const openapi: OpenAPISpec = {
60906
61003
  'omnitec_lock',
60907
61004
  'kisi_lock',
60908
61005
  'aqara_lock',
61006
+ 'tuya_lock',
60909
61007
  'eufy_lock',
60910
61008
  ],
60911
61009
  type: 'string',
@@ -60953,6 +61051,7 @@ const openapi: OpenAPISpec = {
60953
61051
  'omnitec_lock',
60954
61052
  'kisi_lock',
60955
61053
  'aqara_lock',
61054
+ 'tuya_lock',
60956
61055
  'eufy_lock',
60957
61056
  ],
60958
61057
  type: 'string',
@@ -61002,6 +61101,7 @@ const openapi: OpenAPISpec = {
61002
61101
  'omnitec',
61003
61102
  'kisi',
61004
61103
  'yacan',
61104
+ 'tuya',
61005
61105
  ],
61006
61106
  type: 'string',
61007
61107
  },
@@ -79185,6 +79285,7 @@ const openapi: OpenAPISpec = {
79185
79285
  'honeywell_resideo_thermostat',
79186
79286
  'tado_thermostat',
79187
79287
  'sensi_thermostat',
79288
+ 'sensibo_thermostat',
79188
79289
  'smartthings_thermostat',
79189
79290
  ],
79190
79291
  type: 'string',
@@ -79204,6 +79305,7 @@ const openapi: OpenAPISpec = {
79204
79305
  'honeywell_resideo_thermostat',
79205
79306
  'tado_thermostat',
79206
79307
  'sensi_thermostat',
79308
+ 'sensibo_thermostat',
79207
79309
  'smartthings_thermostat',
79208
79310
  ],
79209
79311
  type: 'string',
@@ -79222,6 +79324,7 @@ const openapi: OpenAPISpec = {
79222
79324
  'honeywell_resideo',
79223
79325
  'nest',
79224
79326
  'sensi',
79327
+ 'sensibo',
79225
79328
  'smartthings',
79226
79329
  'tado',
79227
79330
  ],