@seamapi/types 1.464.0 → 1.464.3

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.
Files changed (46) hide show
  1. package/LICENSE.txt +1 -1
  2. package/dist/connect.d.cts +2793 -2269
  3. package/dist/devicedb.d.cts +0 -4
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
  5. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +6 -6
  8. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
  9. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
  10. package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
  11. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
  12. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
  13. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
  14. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
  15. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
  17. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
  18. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
  19. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
  20. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
  21. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
  22. package/lib/seam/connect/models/batch.d.ts +2564 -2564
  23. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
  24. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +12 -12
  25. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
  26. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
  27. package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
  28. package/lib/seam/connect/models/devices/device.d.ts +132 -132
  29. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -100
  30. package/lib/seam/connect/models/events/devices.d.ts +16 -16
  31. package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
  32. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  33. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  34. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
  35. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
  36. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  37. package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
  38. package/lib/seam/connect/openapi.js +6 -6
  39. package/lib/seam/connect/openapi.js.map +1 -1
  40. package/lib/seam/connect/route-types.d.ts +2793 -2269
  41. package/lib/seam/devicedb/models/device-model.d.ts +116 -116
  42. package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
  43. package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
  44. package/lib/seam/devicedb/route-specs.d.ts +210 -214
  45. package/package.json +12 -13
  46. package/src/lib/seam/connect/route-types.ts +3007 -2362
@@ -1416,10 +1416,10 @@ export declare const common_device_properties: z.ZodObject<{
1416
1416
  level: z.ZodNumber;
1417
1417
  status: z.ZodEnum<["critical", "low", "good", "full"]>;
1418
1418
  }, "strip", z.ZodTypeAny, {
1419
- status: "low" | "full" | "critical" | "good";
1419
+ status: "critical" | "low" | "good" | "full";
1420
1420
  level: number;
1421
1421
  }, {
1422
- status: "low" | "full" | "critical" | "good";
1422
+ status: "critical" | "low" | "good" | "full";
1423
1423
  level: number;
1424
1424
  }>>;
1425
1425
  manufacturer: z.ZodOptional<z.ZodString>;
@@ -1434,10 +1434,6 @@ export declare const common_device_properties: z.ZodObject<{
1434
1434
  currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1435
1435
  }, "strip", z.ZodTypeAny, {
1436
1436
  name: string;
1437
- appearance: {
1438
- name: string;
1439
- };
1440
- online: boolean;
1441
1437
  model: {
1442
1438
  display_name: string;
1443
1439
  manufacturer_display_name: string;
@@ -1447,8 +1443,12 @@ export declare const common_device_properties: z.ZodObject<{
1447
1443
  online_access_codes_supported?: boolean | undefined;
1448
1444
  accessory_keypad_supported?: boolean | undefined;
1449
1445
  };
1446
+ online: boolean;
1447
+ appearance: {
1448
+ name: string;
1449
+ };
1450
1450
  battery?: {
1451
- status: "low" | "full" | "critical" | "good";
1451
+ status: "critical" | "low" | "good" | "full";
1452
1452
  level: number;
1453
1453
  } | undefined;
1454
1454
  battery_level?: number | undefined;
@@ -1471,10 +1471,6 @@ export declare const common_device_properties: z.ZodObject<{
1471
1471
  currently_triggering_noise_threshold_ids?: string[] | undefined;
1472
1472
  }, {
1473
1473
  name: string;
1474
- appearance: {
1475
- name: string;
1476
- };
1477
- online: boolean;
1478
1474
  model: {
1479
1475
  display_name: string;
1480
1476
  manufacturer_display_name: string;
@@ -1484,8 +1480,12 @@ export declare const common_device_properties: z.ZodObject<{
1484
1480
  online_access_codes_supported?: boolean | undefined;
1485
1481
  accessory_keypad_supported?: boolean | undefined;
1486
1482
  };
1483
+ online: boolean;
1484
+ appearance: {
1485
+ name: string;
1486
+ };
1487
1487
  battery?: {
1488
- status: "low" | "full" | "critical" | "good";
1488
+ status: "critical" | "low" | "good" | "full";
1489
1489
  level: number;
1490
1490
  } | undefined;
1491
1491
  battery_level?: number | undefined;
@@ -1929,10 +1929,10 @@ export declare const device: z.ZodObject<{
1929
1929
  level: z.ZodNumber;
1930
1930
  status: z.ZodEnum<["critical", "low", "good", "full"]>;
1931
1931
  }, "strip", z.ZodTypeAny, {
1932
- status: "low" | "full" | "critical" | "good";
1932
+ status: "critical" | "low" | "good" | "full";
1933
1933
  level: number;
1934
1934
  }, {
1935
- status: "low" | "full" | "critical" | "good";
1935
+ status: "critical" | "low" | "good" | "full";
1936
1936
  level: number;
1937
1937
  }>>;
1938
1938
  manufacturer: z.ZodOptional<z.ZodString>;
@@ -1947,10 +1947,6 @@ export declare const device: z.ZodObject<{
1947
1947
  currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1948
1948
  }, "strip", z.ZodTypeAny, {
1949
1949
  name: string;
1950
- appearance: {
1951
- name: string;
1952
- };
1953
- online: boolean;
1954
1950
  model: {
1955
1951
  display_name: string;
1956
1952
  manufacturer_display_name: string;
@@ -1960,8 +1956,12 @@ export declare const device: z.ZodObject<{
1960
1956
  online_access_codes_supported?: boolean | undefined;
1961
1957
  accessory_keypad_supported?: boolean | undefined;
1962
1958
  };
1959
+ online: boolean;
1960
+ appearance: {
1961
+ name: string;
1962
+ };
1963
1963
  battery?: {
1964
- status: "low" | "full" | "critical" | "good";
1964
+ status: "critical" | "low" | "good" | "full";
1965
1965
  level: number;
1966
1966
  } | undefined;
1967
1967
  battery_level?: number | undefined;
@@ -1984,10 +1984,6 @@ export declare const device: z.ZodObject<{
1984
1984
  currently_triggering_noise_threshold_ids?: string[] | undefined;
1985
1985
  }, {
1986
1986
  name: string;
1987
- appearance: {
1988
- name: string;
1989
- };
1990
- online: boolean;
1991
1987
  model: {
1992
1988
  display_name: string;
1993
1989
  manufacturer_display_name: string;
@@ -1997,8 +1993,12 @@ export declare const device: z.ZodObject<{
1997
1993
  online_access_codes_supported?: boolean | undefined;
1998
1994
  accessory_keypad_supported?: boolean | undefined;
1999
1995
  };
1996
+ online: boolean;
1997
+ appearance: {
1998
+ name: string;
1999
+ };
2000
2000
  battery?: {
2001
- status: "low" | "full" | "critical" | "good";
2001
+ status: "critical" | "low" | "good" | "full";
2002
2002
  level: number;
2003
2003
  } | undefined;
2004
2004
  battery_level?: number | undefined;
@@ -2300,143 +2300,143 @@ export declare const device: z.ZodObject<{
2300
2300
  time: z.ZodString;
2301
2301
  value: z.ZodNumber;
2302
2302
  }, "strip", z.ZodTypeAny, {
2303
- time: string;
2304
2303
  value: number;
2305
- }, {
2306
2304
  time: string;
2305
+ }, {
2307
2306
  value: number;
2307
+ time: string;
2308
2308
  }>;
2309
2309
  sound: z.ZodObject<{
2310
2310
  time: z.ZodString;
2311
2311
  value: z.ZodNumber;
2312
2312
  }, "strip", z.ZodTypeAny, {
2313
- time: string;
2314
2313
  value: number;
2315
- }, {
2316
2314
  time: string;
2315
+ }, {
2317
2316
  value: number;
2317
+ time: string;
2318
2318
  }>;
2319
2319
  humidity: z.ZodObject<{
2320
2320
  time: z.ZodString;
2321
2321
  value: z.ZodNumber;
2322
2322
  }, "strip", z.ZodTypeAny, {
2323
- time: string;
2324
2323
  value: number;
2325
- }, {
2326
2324
  time: string;
2325
+ }, {
2327
2326
  value: number;
2327
+ time: string;
2328
2328
  }>;
2329
2329
  pressure: z.ZodObject<{
2330
2330
  time: z.ZodString;
2331
2331
  value: z.ZodNumber;
2332
2332
  }, "strip", z.ZodTypeAny, {
2333
- time: string;
2334
2333
  value: number;
2335
- }, {
2336
2334
  time: string;
2335
+ }, {
2337
2336
  value: number;
2337
+ time: string;
2338
2338
  }>;
2339
2339
  accelerometer_z: z.ZodObject<{
2340
2340
  time: z.ZodString;
2341
2341
  value: z.ZodNumber;
2342
2342
  }, "strip", z.ZodTypeAny, {
2343
- time: string;
2344
2343
  value: number;
2345
- }, {
2346
2344
  time: string;
2345
+ }, {
2347
2346
  value: number;
2347
+ time: string;
2348
2348
  }>;
2349
2349
  }, "strip", z.ZodTypeAny, {
2350
- pressure: {
2351
- time: string;
2352
- value: number;
2353
- };
2354
2350
  temperature: {
2355
- time: string;
2356
2351
  value: number;
2352
+ time: string;
2357
2353
  };
2358
2354
  sound: {
2359
- time: string;
2360
2355
  value: number;
2356
+ time: string;
2361
2357
  };
2362
2358
  humidity: {
2363
- time: string;
2364
2359
  value: number;
2365
- };
2366
- accelerometer_z: {
2367
2360
  time: string;
2368
- value: number;
2369
2361
  };
2370
- }, {
2371
2362
  pressure: {
2363
+ value: number;
2372
2364
  time: string;
2365
+ };
2366
+ accelerometer_z: {
2373
2367
  value: number;
2368
+ time: string;
2374
2369
  };
2370
+ }, {
2375
2371
  temperature: {
2376
- time: string;
2377
2372
  value: number;
2373
+ time: string;
2378
2374
  };
2379
2375
  sound: {
2380
- time: string;
2381
2376
  value: number;
2377
+ time: string;
2382
2378
  };
2383
2379
  humidity: {
2380
+ value: number;
2384
2381
  time: string;
2382
+ };
2383
+ pressure: {
2385
2384
  value: number;
2385
+ time: string;
2386
2386
  };
2387
2387
  accelerometer_z: {
2388
- time: string;
2389
2388
  value: number;
2389
+ time: string;
2390
2390
  };
2391
2391
  }>;
2392
2392
  }, "strip", z.ZodTypeAny, {
2393
2393
  device_id: string;
2394
2394
  device_name: string;
2395
2395
  latest_sensor_values: {
2396
- pressure: {
2397
- time: string;
2398
- value: number;
2399
- };
2400
2396
  temperature: {
2401
- time: string;
2402
2397
  value: number;
2398
+ time: string;
2403
2399
  };
2404
2400
  sound: {
2405
- time: string;
2406
2401
  value: number;
2402
+ time: string;
2407
2403
  };
2408
2404
  humidity: {
2405
+ value: number;
2409
2406
  time: string;
2407
+ };
2408
+ pressure: {
2410
2409
  value: number;
2410
+ time: string;
2411
2411
  };
2412
2412
  accelerometer_z: {
2413
- time: string;
2414
2413
  value: number;
2414
+ time: string;
2415
2415
  };
2416
2416
  };
2417
2417
  }, {
2418
2418
  device_id: string;
2419
2419
  device_name: string;
2420
2420
  latest_sensor_values: {
2421
- pressure: {
2422
- time: string;
2423
- value: number;
2424
- };
2425
2421
  temperature: {
2426
- time: string;
2427
2422
  value: number;
2423
+ time: string;
2428
2424
  };
2429
2425
  sound: {
2430
- time: string;
2431
2426
  value: number;
2427
+ time: string;
2432
2428
  };
2433
2429
  humidity: {
2430
+ value: number;
2434
2431
  time: string;
2432
+ };
2433
+ pressure: {
2435
2434
  value: number;
2435
+ time: string;
2436
2436
  };
2437
2437
  accelerometer_z: {
2438
- time: string;
2439
2438
  value: number;
2439
+ time: string;
2440
2440
  };
2441
2441
  };
2442
2442
  }>>;
@@ -2843,7 +2843,6 @@ export declare const device: z.ZodObject<{
2843
2843
  fob_id: z.ZodNumber;
2844
2844
  has_photo: z.ZodBoolean;
2845
2845
  }, "strip", z.ZodTypeAny, {
2846
- address: string | null;
2847
2846
  device_name: string;
2848
2847
  key_id: string;
2849
2848
  property_id: string | null;
@@ -2853,6 +2852,7 @@ export declare const device: z.ZodObject<{
2853
2852
  status_type: string;
2854
2853
  current_or_last_store_id: number;
2855
2854
  last_movement: string;
2855
+ address: string | null;
2856
2856
  current_status: string | null;
2857
2857
  current_user_name: string | null;
2858
2858
  current_user_email: string | null;
@@ -2864,7 +2864,6 @@ export declare const device: z.ZodObject<{
2864
2864
  fob_id: number;
2865
2865
  has_photo: boolean;
2866
2866
  }, {
2867
- address: string | null;
2868
2867
  device_name: string;
2869
2868
  key_id: string;
2870
2869
  property_id: string | null;
@@ -2874,6 +2873,7 @@ export declare const device: z.ZodObject<{
2874
2873
  status_type: string;
2875
2874
  current_or_last_store_id: number;
2876
2875
  last_movement: string;
2876
+ address: string | null;
2877
2877
  current_status: string | null;
2878
2878
  current_user_name: string | null;
2879
2879
  current_user_email: string | null;
@@ -2975,25 +2975,25 @@ export declare const device: z.ZodObject<{
2975
2975
  device_id: string;
2976
2976
  device_name: string;
2977
2977
  latest_sensor_values: {
2978
- pressure: {
2979
- time: string;
2980
- value: number;
2981
- };
2982
2978
  temperature: {
2983
- time: string;
2984
2979
  value: number;
2980
+ time: string;
2985
2981
  };
2986
2982
  sound: {
2987
- time: string;
2988
2983
  value: number;
2984
+ time: string;
2989
2985
  };
2990
2986
  humidity: {
2987
+ value: number;
2991
2988
  time: string;
2989
+ };
2990
+ pressure: {
2992
2991
  value: number;
2992
+ time: string;
2993
2993
  };
2994
2994
  accelerometer_z: {
2995
- time: string;
2996
2995
  value: number;
2996
+ time: string;
2997
2997
  };
2998
2998
  };
2999
2999
  } | undefined;
@@ -3119,7 +3119,6 @@ export declare const device: z.ZodObject<{
3119
3119
  product_type: string;
3120
3120
  } | undefined;
3121
3121
  keynest_metadata?: {
3122
- address: string | null;
3123
3122
  device_name: string;
3124
3123
  key_id: string;
3125
3124
  property_id: string | null;
@@ -3129,6 +3128,7 @@ export declare const device: z.ZodObject<{
3129
3128
  status_type: string;
3130
3129
  current_or_last_store_id: number;
3131
3130
  last_movement: string;
3131
+ address: string | null;
3132
3132
  current_status: string | null;
3133
3133
  current_user_name: string | null;
3134
3134
  current_user_email: string | null;
@@ -3230,25 +3230,25 @@ export declare const device: z.ZodObject<{
3230
3230
  device_id: string;
3231
3231
  device_name: string;
3232
3232
  latest_sensor_values: {
3233
- pressure: {
3234
- time: string;
3235
- value: number;
3236
- };
3237
3233
  temperature: {
3238
- time: string;
3239
3234
  value: number;
3235
+ time: string;
3240
3236
  };
3241
3237
  sound: {
3242
- time: string;
3243
3238
  value: number;
3239
+ time: string;
3244
3240
  };
3245
3241
  humidity: {
3242
+ value: number;
3246
3243
  time: string;
3244
+ };
3245
+ pressure: {
3247
3246
  value: number;
3247
+ time: string;
3248
3248
  };
3249
3249
  accelerometer_z: {
3250
- time: string;
3251
3250
  value: number;
3251
+ time: string;
3252
3252
  };
3253
3253
  };
3254
3254
  } | undefined;
@@ -3374,7 +3374,6 @@ export declare const device: z.ZodObject<{
3374
3374
  product_type: string;
3375
3375
  } | undefined;
3376
3376
  keynest_metadata?: {
3377
- address: string | null;
3378
3377
  device_name: string;
3379
3378
  key_id: string;
3380
3379
  property_id: string | null;
@@ -3384,6 +3383,7 @@ export declare const device: z.ZodObject<{
3384
3383
  status_type: string;
3385
3384
  current_or_last_store_id: number;
3386
3385
  last_movement: string;
3386
+ address: string | null;
3387
3387
  current_status: string | null;
3388
3388
  current_user_name: string | null;
3389
3389
  current_user_email: string | null;
@@ -3507,11 +3507,11 @@ export declare const device: z.ZodObject<{
3507
3507
  owner: "user" | "system";
3508
3508
  }>>>;
3509
3509
  }, "strip", z.ZodTypeAny, {
3510
- name?: string | null | undefined;
3511
3510
  climate_preset_key?: string | undefined;
3512
3511
  can_edit?: boolean | undefined;
3513
3512
  can_delete?: boolean | undefined;
3514
3513
  can_program?: boolean | undefined;
3514
+ name?: string | null | undefined;
3515
3515
  display_name?: string | undefined;
3516
3516
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
3517
3517
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -3527,11 +3527,11 @@ export declare const device: z.ZodObject<{
3527
3527
  owner: "user" | "system";
3528
3528
  } | undefined;
3529
3529
  }, {
3530
- name?: string | null | undefined;
3531
3530
  climate_preset_key?: string | undefined;
3532
3531
  can_edit?: boolean | undefined;
3533
3532
  can_delete?: boolean | undefined;
3534
3533
  can_program?: boolean | undefined;
3534
+ name?: string | null | undefined;
3535
3535
  display_name?: string | undefined;
3536
3536
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
3537
3537
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -3576,11 +3576,11 @@ export declare const device: z.ZodObject<{
3576
3576
  owner: "user" | "system";
3577
3577
  }>>>;
3578
3578
  }, "strip", z.ZodTypeAny, {
3579
- name?: string | null | undefined;
3580
3579
  climate_preset_key?: string | undefined;
3581
3580
  can_edit?: boolean | undefined;
3582
3581
  can_delete?: boolean | undefined;
3583
3582
  can_program?: boolean | undefined;
3583
+ name?: string | null | undefined;
3584
3584
  display_name?: string | undefined;
3585
3585
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
3586
3586
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -3596,11 +3596,11 @@ export declare const device: z.ZodObject<{
3596
3596
  owner: "user" | "system";
3597
3597
  } | undefined;
3598
3598
  }, {
3599
- name?: string | null | undefined;
3600
3599
  climate_preset_key?: string | undefined;
3601
3600
  can_edit?: boolean | undefined;
3602
3601
  can_delete?: boolean | undefined;
3603
3602
  can_program?: boolean | undefined;
3603
+ name?: string | null | undefined;
3604
3604
  display_name?: string | undefined;
3605
3605
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
3606
3606
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -3708,8 +3708,8 @@ export declare const device: z.ZodObject<{
3708
3708
  error_code: string;
3709
3709
  }>, "many">;
3710
3710
  }, "strip", z.ZodTypeAny, {
3711
- name: string | null;
3712
3711
  climate_preset_key: string;
3712
+ name: string | null;
3713
3713
  device_id: string;
3714
3714
  workspace_id: string;
3715
3715
  created_at: string;
@@ -3723,8 +3723,8 @@ export declare const device: z.ZodObject<{
3723
3723
  max_override_period_minutes?: number | null | undefined;
3724
3724
  is_override_allowed?: boolean | undefined;
3725
3725
  }, {
3726
- name: string | null;
3727
3726
  climate_preset_key: string;
3727
+ name: string | null;
3728
3728
  device_id: string;
3729
3729
  workspace_id: string;
3730
3730
  created_at: string;
@@ -3843,11 +3843,11 @@ export declare const device: z.ZodObject<{
3843
3843
  is_fan_running?: boolean | undefined;
3844
3844
  is_temporary_manual_override_active?: boolean | undefined;
3845
3845
  current_climate_setting?: {
3846
- name?: string | null | undefined;
3847
3846
  climate_preset_key?: string | undefined;
3848
3847
  can_edit?: boolean | undefined;
3849
3848
  can_delete?: boolean | undefined;
3850
3849
  can_program?: boolean | undefined;
3850
+ name?: string | null | undefined;
3851
3851
  display_name?: string | undefined;
3852
3852
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
3853
3853
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -3864,11 +3864,11 @@ export declare const device: z.ZodObject<{
3864
3864
  } | undefined;
3865
3865
  } | undefined;
3866
3866
  default_climate_setting?: {
3867
- name?: string | null | undefined;
3868
3867
  climate_preset_key?: string | undefined;
3869
3868
  can_edit?: boolean | undefined;
3870
3869
  can_delete?: boolean | undefined;
3871
3870
  can_program?: boolean | undefined;
3871
+ name?: string | null | undefined;
3872
3872
  display_name?: string | undefined;
3873
3873
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
3874
3874
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -3907,8 +3907,8 @@ export declare const device: z.ZodObject<{
3907
3907
  }[] | undefined;
3908
3908
  fallback_climate_preset_key?: string | null | undefined;
3909
3909
  active_thermostat_schedule?: {
3910
- name: string | null;
3911
3910
  climate_preset_key: string;
3911
+ name: string | null;
3912
3912
  device_id: string;
3913
3913
  workspace_id: string;
3914
3914
  created_at: string;
@@ -3973,11 +3973,11 @@ export declare const device: z.ZodObject<{
3973
3973
  is_fan_running?: boolean | undefined;
3974
3974
  is_temporary_manual_override_active?: boolean | undefined;
3975
3975
  current_climate_setting?: {
3976
- name?: string | null | undefined;
3977
3976
  climate_preset_key?: string | undefined;
3978
3977
  can_edit?: boolean | undefined;
3979
3978
  can_delete?: boolean | undefined;
3980
3979
  can_program?: boolean | undefined;
3980
+ name?: string | null | undefined;
3981
3981
  display_name?: string | undefined;
3982
3982
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
3983
3983
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -3994,11 +3994,11 @@ export declare const device: z.ZodObject<{
3994
3994
  } | undefined;
3995
3995
  } | undefined;
3996
3996
  default_climate_setting?: {
3997
- name?: string | null | undefined;
3998
3997
  climate_preset_key?: string | undefined;
3999
3998
  can_edit?: boolean | undefined;
4000
3999
  can_delete?: boolean | undefined;
4001
4000
  can_program?: boolean | undefined;
4001
+ name?: string | null | undefined;
4002
4002
  display_name?: string | undefined;
4003
4003
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
4004
4004
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -4037,8 +4037,8 @@ export declare const device: z.ZodObject<{
4037
4037
  }[] | undefined;
4038
4038
  fallback_climate_preset_key?: string | null | undefined;
4039
4039
  active_thermostat_schedule?: {
4040
- name: string | null;
4041
4040
  climate_preset_key: string;
4041
+ name: string | null;
4042
4042
  device_id: string;
4043
4043
  workspace_id: string;
4044
4044
  created_at: string;
@@ -4697,10 +4697,6 @@ export declare const device: z.ZodObject<{
4697
4697
  can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
4698
4698
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
4699
4699
  }, "strip", z.ZodTypeAny, {
4700
- location: {
4701
- location_name?: string | undefined;
4702
- timezone?: string | undefined;
4703
- } | null;
4704
4700
  display_name: string;
4705
4701
  device_id: string;
4706
4702
  workspace_id: string;
@@ -4885,10 +4881,6 @@ export declare const device: z.ZodObject<{
4885
4881
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
4886
4882
  properties: {
4887
4883
  name: string;
4888
- appearance: {
4889
- name: string;
4890
- };
4891
- online: boolean;
4892
4884
  model: {
4893
4885
  display_name: string;
4894
4886
  manufacturer_display_name: string;
@@ -4898,8 +4890,12 @@ export declare const device: z.ZodObject<{
4898
4890
  online_access_codes_supported?: boolean | undefined;
4899
4891
  accessory_keypad_supported?: boolean | undefined;
4900
4892
  };
4893
+ online: boolean;
4894
+ appearance: {
4895
+ name: string;
4896
+ };
4901
4897
  battery?: {
4902
- status: "low" | "full" | "critical" | "good";
4898
+ status: "critical" | "low" | "good" | "full";
4903
4899
  level: number;
4904
4900
  } | undefined;
4905
4901
  battery_level?: number | undefined;
@@ -5021,25 +5017,25 @@ export declare const device: z.ZodObject<{
5021
5017
  device_id: string;
5022
5018
  device_name: string;
5023
5019
  latest_sensor_values: {
5024
- pressure: {
5025
- time: string;
5026
- value: number;
5027
- };
5028
5020
  temperature: {
5029
- time: string;
5030
5021
  value: number;
5022
+ time: string;
5031
5023
  };
5032
5024
  sound: {
5033
- time: string;
5034
5025
  value: number;
5026
+ time: string;
5035
5027
  };
5036
5028
  humidity: {
5029
+ value: number;
5037
5030
  time: string;
5031
+ };
5032
+ pressure: {
5038
5033
  value: number;
5034
+ time: string;
5039
5035
  };
5040
5036
  accelerometer_z: {
5041
- time: string;
5042
5037
  value: number;
5038
+ time: string;
5043
5039
  };
5044
5040
  };
5045
5041
  } | undefined;
@@ -5165,7 +5161,6 @@ export declare const device: z.ZodObject<{
5165
5161
  product_type: string;
5166
5162
  } | undefined;
5167
5163
  keynest_metadata?: {
5168
- address: string | null;
5169
5164
  device_name: string;
5170
5165
  key_id: string;
5171
5166
  property_id: string | null;
@@ -5175,6 +5170,7 @@ export declare const device: z.ZodObject<{
5175
5170
  status_type: string;
5176
5171
  current_or_last_store_id: number;
5177
5172
  last_movement: string;
5173
+ address: string | null;
5178
5174
  current_status: string | null;
5179
5175
  current_user_name: string | null;
5180
5176
  current_user_email: string | null;
@@ -5217,11 +5213,11 @@ export declare const device: z.ZodObject<{
5217
5213
  is_fan_running?: boolean | undefined;
5218
5214
  is_temporary_manual_override_active?: boolean | undefined;
5219
5215
  current_climate_setting?: {
5220
- name?: string | null | undefined;
5221
5216
  climate_preset_key?: string | undefined;
5222
5217
  can_edit?: boolean | undefined;
5223
5218
  can_delete?: boolean | undefined;
5224
5219
  can_program?: boolean | undefined;
5220
+ name?: string | null | undefined;
5225
5221
  display_name?: string | undefined;
5226
5222
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
5227
5223
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -5238,11 +5234,11 @@ export declare const device: z.ZodObject<{
5238
5234
  } | undefined;
5239
5235
  } | undefined;
5240
5236
  default_climate_setting?: {
5241
- name?: string | null | undefined;
5242
5237
  climate_preset_key?: string | undefined;
5243
5238
  can_edit?: boolean | undefined;
5244
5239
  can_delete?: boolean | undefined;
5245
5240
  can_program?: boolean | undefined;
5241
+ name?: string | null | undefined;
5246
5242
  display_name?: string | undefined;
5247
5243
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
5248
5244
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -5281,8 +5277,8 @@ export declare const device: z.ZodObject<{
5281
5277
  }[] | undefined;
5282
5278
  fallback_climate_preset_key?: string | null | undefined;
5283
5279
  active_thermostat_schedule?: {
5284
- name: string | null;
5285
5280
  climate_preset_key: string;
5281
+ name: string | null;
5286
5282
  device_id: string;
5287
5283
  workspace_id: string;
5288
5284
  created_at: string;
@@ -5335,6 +5331,10 @@ export declare const device: z.ZodObject<{
5335
5331
  upper_limit_fahrenheit: number | null;
5336
5332
  } | undefined;
5337
5333
  };
5334
+ location: {
5335
+ location_name?: string | undefined;
5336
+ timezone?: string | undefined;
5337
+ } | null;
5338
5338
  is_managed: true;
5339
5339
  can_remotely_unlock?: boolean | undefined;
5340
5340
  can_remotely_lock?: boolean | undefined;
@@ -5350,10 +5350,6 @@ export declare const device: z.ZodObject<{
5350
5350
  can_unlock_with_code?: boolean | undefined;
5351
5351
  nickname?: string | undefined;
5352
5352
  }, {
5353
- location: {
5354
- location_name?: string | undefined;
5355
- timezone?: string | undefined;
5356
- } | null;
5357
5353
  display_name: string;
5358
5354
  device_id: string;
5359
5355
  workspace_id: string;
@@ -5538,10 +5534,6 @@ export declare const device: z.ZodObject<{
5538
5534
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
5539
5535
  properties: {
5540
5536
  name: string;
5541
- appearance: {
5542
- name: string;
5543
- };
5544
- online: boolean;
5545
5537
  model: {
5546
5538
  display_name: string;
5547
5539
  manufacturer_display_name: string;
@@ -5551,8 +5543,12 @@ export declare const device: z.ZodObject<{
5551
5543
  online_access_codes_supported?: boolean | undefined;
5552
5544
  accessory_keypad_supported?: boolean | undefined;
5553
5545
  };
5546
+ online: boolean;
5547
+ appearance: {
5548
+ name: string;
5549
+ };
5554
5550
  battery?: {
5555
- status: "low" | "full" | "critical" | "good";
5551
+ status: "critical" | "low" | "good" | "full";
5556
5552
  level: number;
5557
5553
  } | undefined;
5558
5554
  battery_level?: number | undefined;
@@ -5674,25 +5670,25 @@ export declare const device: z.ZodObject<{
5674
5670
  device_id: string;
5675
5671
  device_name: string;
5676
5672
  latest_sensor_values: {
5677
- pressure: {
5678
- time: string;
5679
- value: number;
5680
- };
5681
5673
  temperature: {
5682
- time: string;
5683
5674
  value: number;
5675
+ time: string;
5684
5676
  };
5685
5677
  sound: {
5686
- time: string;
5687
5678
  value: number;
5679
+ time: string;
5688
5680
  };
5689
5681
  humidity: {
5682
+ value: number;
5690
5683
  time: string;
5684
+ };
5685
+ pressure: {
5691
5686
  value: number;
5687
+ time: string;
5692
5688
  };
5693
5689
  accelerometer_z: {
5694
- time: string;
5695
5690
  value: number;
5691
+ time: string;
5696
5692
  };
5697
5693
  };
5698
5694
  } | undefined;
@@ -5818,7 +5814,6 @@ export declare const device: z.ZodObject<{
5818
5814
  product_type: string;
5819
5815
  } | undefined;
5820
5816
  keynest_metadata?: {
5821
- address: string | null;
5822
5817
  device_name: string;
5823
5818
  key_id: string;
5824
5819
  property_id: string | null;
@@ -5828,6 +5823,7 @@ export declare const device: z.ZodObject<{
5828
5823
  status_type: string;
5829
5824
  current_or_last_store_id: number;
5830
5825
  last_movement: string;
5826
+ address: string | null;
5831
5827
  current_status: string | null;
5832
5828
  current_user_name: string | null;
5833
5829
  current_user_email: string | null;
@@ -5870,11 +5866,11 @@ export declare const device: z.ZodObject<{
5870
5866
  is_fan_running?: boolean | undefined;
5871
5867
  is_temporary_manual_override_active?: boolean | undefined;
5872
5868
  current_climate_setting?: {
5873
- name?: string | null | undefined;
5874
5869
  climate_preset_key?: string | undefined;
5875
5870
  can_edit?: boolean | undefined;
5876
5871
  can_delete?: boolean | undefined;
5877
5872
  can_program?: boolean | undefined;
5873
+ name?: string | null | undefined;
5878
5874
  display_name?: string | undefined;
5879
5875
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
5880
5876
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -5891,11 +5887,11 @@ export declare const device: z.ZodObject<{
5891
5887
  } | undefined;
5892
5888
  } | undefined;
5893
5889
  default_climate_setting?: {
5894
- name?: string | null | undefined;
5895
5890
  climate_preset_key?: string | undefined;
5896
5891
  can_edit?: boolean | undefined;
5897
5892
  can_delete?: boolean | undefined;
5898
5893
  can_program?: boolean | undefined;
5894
+ name?: string | null | undefined;
5899
5895
  display_name?: string | undefined;
5900
5896
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
5901
5897
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
@@ -5934,8 +5930,8 @@ export declare const device: z.ZodObject<{
5934
5930
  }[] | undefined;
5935
5931
  fallback_climate_preset_key?: string | null | undefined;
5936
5932
  active_thermostat_schedule?: {
5937
- name: string | null;
5938
5933
  climate_preset_key: string;
5934
+ name: string | null;
5939
5935
  device_id: string;
5940
5936
  workspace_id: string;
5941
5937
  created_at: string;
@@ -5988,6 +5984,10 @@ export declare const device: z.ZodObject<{
5988
5984
  upper_limit_fahrenheit: number | null;
5989
5985
  } | undefined;
5990
5986
  };
5987
+ location: {
5988
+ location_name?: string | undefined;
5989
+ timezone?: string | undefined;
5990
+ } | null;
5991
5991
  is_managed: true;
5992
5992
  can_remotely_unlock?: boolean | undefined;
5993
5993
  can_remotely_lock?: boolean | undefined;