@seamapi/types 1.51.0 → 1.52.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.
@@ -910,6 +910,31 @@ export interface Routes {
910
910
  };
911
911
  };
912
912
  };
913
+ '/acs/credentials/update': {
914
+ route: '/acs/credentials/update';
915
+ method: 'POST';
916
+ queryParams: {};
917
+ jsonBody: {};
918
+ commonParams: {
919
+ code?: string | undefined;
920
+ name?: string | undefined;
921
+ };
922
+ formData: {};
923
+ jsonResponse: {
924
+ acs_credential: {
925
+ acs_credential_id: string;
926
+ acs_user_id?: string | undefined;
927
+ acs_credential_pool_id?: string | undefined;
928
+ acs_system_id: string;
929
+ display_name: string;
930
+ code: string | null;
931
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
932
+ external_type_display_name: string;
933
+ created_at: string;
934
+ workspace_id: string;
935
+ };
936
+ };
937
+ };
913
938
  '/acs/entrances/get': {
914
939
  route: '/acs/entrances/get';
915
940
  method: 'GET' | 'POST';
@@ -1374,7 +1399,7 @@ export interface Routes {
1374
1399
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
1375
1400
  custom_redirect_url?: string | undefined;
1376
1401
  custom_redirect_failure_url?: string | undefined;
1377
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'yale_access' | 'hid_cm'> | undefined;
1402
+ accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'yale_access' | 'hid_cm'> | undefined;
1378
1403
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
1379
1404
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
1380
1405
  automatically_manage_new_devices?: boolean | undefined;
@@ -1586,36 +1611,54 @@ export interface Routes {
1586
1611
  formData: {};
1587
1612
  jsonResponse: {
1588
1613
  device: {
1614
+ /** Unique identifier for the device. */
1589
1615
  device_id: string;
1616
+ /** Type of the device. */
1590
1617
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
1618
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
1591
1619
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
1620
+ /** Properties of the device. */
1592
1621
  properties: ({
1622
+ /** Indicates whether the device is online. */
1593
1623
  online: boolean;
1624
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
1594
1625
  name: string;
1595
1626
  model: {
1627
+ /** Display name of the device model. */
1596
1628
  display_name: string;
1629
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
1597
1630
  manufacturer_display_name: string;
1631
+ /** Indicates whether the device supports offline access codes. */
1598
1632
  offline_access_codes_supported?: boolean | undefined;
1633
+ /** Indicates whether the device supports online access codes. */
1599
1634
  online_access_codes_supported?: boolean | undefined;
1635
+ /** Indicates whether the device supports an accessory keypad. */
1600
1636
  accessory_keypad_supported?: boolean | undefined;
1601
1637
  };
1638
+ /** Indicates whether the device has direct power. */
1602
1639
  has_direct_power?: boolean | undefined;
1640
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
1603
1641
  battery_level?: number | undefined;
1642
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
1604
1643
  battery?: {
1605
1644
  level: number;
1606
1645
  status: 'critical' | 'low' | 'good' | 'full';
1607
1646
  } | undefined;
1647
+ /** Manufacturer of the device. */
1608
1648
  manufacturer?: string | undefined;
1649
+ /** Image URL for the device. */
1609
1650
  image_url?: string | undefined;
1651
+ /** Alt text for the device image. */
1610
1652
  image_alt_text?: string | undefined;
1653
+ /** Serial number of the device. */
1611
1654
  serial_number?: string | undefined;
1612
- /** Currently possible to use online access codes */
1655
+ /** Indicates whether it is currently possible to use online access codes for the device. */
1613
1656
  online_access_codes_enabled?: boolean | undefined;
1614
- /** Currently possible to use offline access codes */
1657
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
1615
1658
  offline_access_codes_enabled?: boolean | undefined;
1616
- /** Deprecated: use model.offline_access_codes_enabled. */
1659
+ /** Deprecated: Use model.offline_access_codes_enabled. */
1617
1660
  supports_accessory_keypad?: boolean | undefined;
1618
- /** Deprecated: use model.accessory_keypad_supported. */
1661
+ /** Deprecated: Use model.accessory_keypad_supported. */
1619
1662
  supports_offline_access_codes?: boolean | undefined;
1620
1663
  } & {
1621
1664
  august_metadata?: {
@@ -1965,21 +2008,30 @@ export interface Routes {
1965
2008
  max_cooling_set_point_celsius?: number | undefined;
1966
2009
  max_cooling_set_point_fahrenheit?: number | undefined;
1967
2010
  }));
2011
+ /** Location information for the device. */
1968
2012
  location: {
2013
+ /** Name of the device location. */
1969
2014
  location_name?: string | undefined;
2015
+ /** Time zone of the device location. */
1970
2016
  timezone?: string | undefined;
1971
2017
  } | null;
2018
+ /** Unique identifier for the account associated with the device. */
1972
2019
  connected_account_id: string;
2020
+ /** Unique identifier for the Seam workspace associated with the device. */
1973
2021
  workspace_id: string;
2022
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
1974
2023
  errors: Array<{
1975
2024
  error_code: string;
1976
2025
  message: string;
1977
2026
  }>;
2027
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
1978
2028
  warnings: Array<{
1979
2029
  warning_code: string;
1980
2030
  message: string;
1981
2031
  }>;
2032
+ /** Date and time at which the device object was created. */
1982
2033
  created_at: string;
2034
+ /** Indicates whether Seam manages the device. */
1983
2035
  is_managed: true;
1984
2036
  };
1985
2037
  };
@@ -2005,36 +2057,54 @@ export interface Routes {
2005
2057
  formData: {};
2006
2058
  jsonResponse: {
2007
2059
  devices: Array<{
2060
+ /** Unique identifier for the device. */
2008
2061
  device_id: string;
2062
+ /** Type of the device. */
2009
2063
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2064
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
2010
2065
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2066
+ /** Properties of the device. */
2011
2067
  properties: ({
2068
+ /** Indicates whether the device is online. */
2012
2069
  online: boolean;
2070
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2013
2071
  name: string;
2014
2072
  model: {
2073
+ /** Display name of the device model. */
2015
2074
  display_name: string;
2075
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
2016
2076
  manufacturer_display_name: string;
2077
+ /** Indicates whether the device supports offline access codes. */
2017
2078
  offline_access_codes_supported?: boolean | undefined;
2079
+ /** Indicates whether the device supports online access codes. */
2018
2080
  online_access_codes_supported?: boolean | undefined;
2081
+ /** Indicates whether the device supports an accessory keypad. */
2019
2082
  accessory_keypad_supported?: boolean | undefined;
2020
2083
  };
2084
+ /** Indicates whether the device has direct power. */
2021
2085
  has_direct_power?: boolean | undefined;
2086
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
2022
2087
  battery_level?: number | undefined;
2088
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
2023
2089
  battery?: {
2024
2090
  level: number;
2025
2091
  status: 'critical' | 'low' | 'good' | 'full';
2026
2092
  } | undefined;
2093
+ /** Manufacturer of the device. */
2027
2094
  manufacturer?: string | undefined;
2095
+ /** Image URL for the device. */
2028
2096
  image_url?: string | undefined;
2097
+ /** Alt text for the device image. */
2029
2098
  image_alt_text?: string | undefined;
2099
+ /** Serial number of the device. */
2030
2100
  serial_number?: string | undefined;
2031
- /** Currently possible to use online access codes */
2101
+ /** Indicates whether it is currently possible to use online access codes for the device. */
2032
2102
  online_access_codes_enabled?: boolean | undefined;
2033
- /** Currently possible to use offline access codes */
2103
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
2034
2104
  offline_access_codes_enabled?: boolean | undefined;
2035
- /** Deprecated: use model.offline_access_codes_enabled. */
2105
+ /** Deprecated: Use model.offline_access_codes_enabled. */
2036
2106
  supports_accessory_keypad?: boolean | undefined;
2037
- /** Deprecated: use model.accessory_keypad_supported. */
2107
+ /** Deprecated: Use model.accessory_keypad_supported. */
2038
2108
  supports_offline_access_codes?: boolean | undefined;
2039
2109
  } & {
2040
2110
  august_metadata?: {
@@ -2384,21 +2454,30 @@ export interface Routes {
2384
2454
  max_cooling_set_point_celsius?: number | undefined;
2385
2455
  max_cooling_set_point_fahrenheit?: number | undefined;
2386
2456
  }));
2457
+ /** Location information for the device. */
2387
2458
  location: {
2459
+ /** Name of the device location. */
2388
2460
  location_name?: string | undefined;
2461
+ /** Time zone of the device location. */
2389
2462
  timezone?: string | undefined;
2390
2463
  } | null;
2464
+ /** Unique identifier for the account associated with the device. */
2391
2465
  connected_account_id: string;
2466
+ /** Unique identifier for the Seam workspace associated with the device. */
2392
2467
  workspace_id: string;
2468
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
2393
2469
  errors: Array<{
2394
2470
  error_code: string;
2395
2471
  message: string;
2396
2472
  }>;
2473
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
2397
2474
  warnings: Array<{
2398
2475
  warning_code: string;
2399
2476
  message: string;
2400
2477
  }>;
2478
+ /** Date and time at which the device object was created. */
2401
2479
  created_at: string;
2480
+ /** Indicates whether Seam manages the device. */
2402
2481
  is_managed: true;
2403
2482
  }>;
2404
2483
  };
@@ -2433,19 +2512,27 @@ export interface Routes {
2433
2512
  formData: {};
2434
2513
  jsonResponse: {
2435
2514
  device: {
2515
+ /** Unique identifier for the device. */
2436
2516
  device_id: string;
2517
+ /** Type of the device. */
2437
2518
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2519
+ /** Unique identifier for the account associated with the device. */
2438
2520
  connected_account_id: string;
2521
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
2439
2522
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2523
+ /** Unique identifier for the Seam workspace associated with the device. */
2440
2524
  workspace_id: string;
2525
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
2441
2526
  errors: Array<{
2442
2527
  error_code: string;
2443
2528
  message: string;
2444
2529
  }>;
2530
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
2445
2531
  warnings: Array<{
2446
2532
  warning_code: string;
2447
2533
  message: string;
2448
2534
  }>;
2535
+ /** Date and time at which the device object was created. */
2449
2536
  created_at: string;
2450
2537
  is_managed: false;
2451
2538
  properties: {
@@ -2483,19 +2570,27 @@ export interface Routes {
2483
2570
  formData: {};
2484
2571
  jsonResponse: {
2485
2572
  devices: Array<{
2573
+ /** Unique identifier for the device. */
2486
2574
  device_id: string;
2575
+ /** Type of the device. */
2487
2576
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2577
+ /** Unique identifier for the account associated with the device. */
2488
2578
  connected_account_id: string;
2579
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
2489
2580
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2581
+ /** Unique identifier for the Seam workspace associated with the device. */
2490
2582
  workspace_id: string;
2583
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
2491
2584
  errors: Array<{
2492
2585
  error_code: string;
2493
2586
  message: string;
2494
2587
  }>;
2588
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
2495
2589
  warnings: Array<{
2496
2590
  warning_code: string;
2497
2591
  message: string;
2498
2592
  }>;
2593
+ /** Date and time at which the device object was created. */
2499
2594
  created_at: string;
2500
2595
  is_managed: false;
2501
2596
  properties: {
@@ -2679,36 +2774,54 @@ export interface Routes {
2679
2774
  formData: {};
2680
2775
  jsonResponse: {
2681
2776
  lock: {
2777
+ /** Unique identifier for the device. */
2682
2778
  device_id: string;
2779
+ /** Type of the device. */
2683
2780
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2781
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
2684
2782
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2783
+ /** Properties of the device. */
2685
2784
  properties: ({
2785
+ /** Indicates whether the device is online. */
2686
2786
  online: boolean;
2787
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2687
2788
  name: string;
2688
2789
  model: {
2790
+ /** Display name of the device model. */
2689
2791
  display_name: string;
2792
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
2690
2793
  manufacturer_display_name: string;
2794
+ /** Indicates whether the device supports offline access codes. */
2691
2795
  offline_access_codes_supported?: boolean | undefined;
2796
+ /** Indicates whether the device supports online access codes. */
2692
2797
  online_access_codes_supported?: boolean | undefined;
2798
+ /** Indicates whether the device supports an accessory keypad. */
2693
2799
  accessory_keypad_supported?: boolean | undefined;
2694
2800
  };
2801
+ /** Indicates whether the device has direct power. */
2695
2802
  has_direct_power?: boolean | undefined;
2803
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
2696
2804
  battery_level?: number | undefined;
2805
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
2697
2806
  battery?: {
2698
2807
  level: number;
2699
2808
  status: 'critical' | 'low' | 'good' | 'full';
2700
2809
  } | undefined;
2810
+ /** Manufacturer of the device. */
2701
2811
  manufacturer?: string | undefined;
2812
+ /** Image URL for the device. */
2702
2813
  image_url?: string | undefined;
2814
+ /** Alt text for the device image. */
2703
2815
  image_alt_text?: string | undefined;
2816
+ /** Serial number of the device. */
2704
2817
  serial_number?: string | undefined;
2705
- /** Currently possible to use online access codes */
2818
+ /** Indicates whether it is currently possible to use online access codes for the device. */
2706
2819
  online_access_codes_enabled?: boolean | undefined;
2707
- /** Currently possible to use offline access codes */
2820
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
2708
2821
  offline_access_codes_enabled?: boolean | undefined;
2709
- /** Deprecated: use model.offline_access_codes_enabled. */
2822
+ /** Deprecated: Use model.offline_access_codes_enabled. */
2710
2823
  supports_accessory_keypad?: boolean | undefined;
2711
- /** Deprecated: use model.accessory_keypad_supported. */
2824
+ /** Deprecated: Use model.accessory_keypad_supported. */
2712
2825
  supports_offline_access_codes?: boolean | undefined;
2713
2826
  } & {
2714
2827
  august_metadata?: {
@@ -3058,54 +3171,81 @@ export interface Routes {
3058
3171
  max_cooling_set_point_celsius?: number | undefined;
3059
3172
  max_cooling_set_point_fahrenheit?: number | undefined;
3060
3173
  }));
3174
+ /** Location information for the device. */
3061
3175
  location: {
3176
+ /** Name of the device location. */
3062
3177
  location_name?: string | undefined;
3178
+ /** Time zone of the device location. */
3063
3179
  timezone?: string | undefined;
3064
3180
  } | null;
3181
+ /** Unique identifier for the account associated with the device. */
3065
3182
  connected_account_id: string;
3183
+ /** Unique identifier for the Seam workspace associated with the device. */
3066
3184
  workspace_id: string;
3185
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
3067
3186
  errors: Array<{
3068
3187
  error_code: string;
3069
3188
  message: string;
3070
3189
  }>;
3190
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
3071
3191
  warnings: Array<{
3072
3192
  warning_code: string;
3073
3193
  message: string;
3074
3194
  }>;
3195
+ /** Date and time at which the device object was created. */
3075
3196
  created_at: string;
3197
+ /** Indicates whether Seam manages the device. */
3076
3198
  is_managed: true;
3077
3199
  };
3078
3200
  device: {
3201
+ /** Unique identifier for the device. */
3079
3202
  device_id: string;
3203
+ /** Type of the device. */
3080
3204
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
3205
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
3081
3206
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3207
+ /** Properties of the device. */
3082
3208
  properties: ({
3209
+ /** Indicates whether the device is online. */
3083
3210
  online: boolean;
3211
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3084
3212
  name: string;
3085
3213
  model: {
3214
+ /** Display name of the device model. */
3086
3215
  display_name: string;
3216
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
3087
3217
  manufacturer_display_name: string;
3218
+ /** Indicates whether the device supports offline access codes. */
3088
3219
  offline_access_codes_supported?: boolean | undefined;
3220
+ /** Indicates whether the device supports online access codes. */
3089
3221
  online_access_codes_supported?: boolean | undefined;
3222
+ /** Indicates whether the device supports an accessory keypad. */
3090
3223
  accessory_keypad_supported?: boolean | undefined;
3091
3224
  };
3225
+ /** Indicates whether the device has direct power. */
3092
3226
  has_direct_power?: boolean | undefined;
3227
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
3093
3228
  battery_level?: number | undefined;
3229
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
3094
3230
  battery?: {
3095
3231
  level: number;
3096
3232
  status: 'critical' | 'low' | 'good' | 'full';
3097
3233
  } | undefined;
3234
+ /** Manufacturer of the device. */
3098
3235
  manufacturer?: string | undefined;
3236
+ /** Image URL for the device. */
3099
3237
  image_url?: string | undefined;
3238
+ /** Alt text for the device image. */
3100
3239
  image_alt_text?: string | undefined;
3240
+ /** Serial number of the device. */
3101
3241
  serial_number?: string | undefined;
3102
- /** Currently possible to use online access codes */
3242
+ /** Indicates whether it is currently possible to use online access codes for the device. */
3103
3243
  online_access_codes_enabled?: boolean | undefined;
3104
- /** Currently possible to use offline access codes */
3244
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
3105
3245
  offline_access_codes_enabled?: boolean | undefined;
3106
- /** Deprecated: use model.offline_access_codes_enabled. */
3246
+ /** Deprecated: Use model.offline_access_codes_enabled. */
3107
3247
  supports_accessory_keypad?: boolean | undefined;
3108
- /** Deprecated: use model.accessory_keypad_supported. */
3248
+ /** Deprecated: Use model.accessory_keypad_supported. */
3109
3249
  supports_offline_access_codes?: boolean | undefined;
3110
3250
  } & {
3111
3251
  august_metadata?: {
@@ -3455,21 +3595,30 @@ export interface Routes {
3455
3595
  max_cooling_set_point_celsius?: number | undefined;
3456
3596
  max_cooling_set_point_fahrenheit?: number | undefined;
3457
3597
  }));
3598
+ /** Location information for the device. */
3458
3599
  location: {
3600
+ /** Name of the device location. */
3459
3601
  location_name?: string | undefined;
3602
+ /** Time zone of the device location. */
3460
3603
  timezone?: string | undefined;
3461
3604
  } | null;
3605
+ /** Unique identifier for the account associated with the device. */
3462
3606
  connected_account_id: string;
3607
+ /** Unique identifier for the Seam workspace associated with the device. */
3463
3608
  workspace_id: string;
3609
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
3464
3610
  errors: Array<{
3465
3611
  error_code: string;
3466
3612
  message: string;
3467
3613
  }>;
3614
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
3468
3615
  warnings: Array<{
3469
3616
  warning_code: string;
3470
3617
  message: string;
3471
3618
  }>;
3619
+ /** Date and time at which the device object was created. */
3472
3620
  created_at: string;
3621
+ /** Indicates whether Seam manages the device. */
3473
3622
  is_managed: true;
3474
3623
  };
3475
3624
  };
@@ -3495,36 +3644,54 @@ export interface Routes {
3495
3644
  formData: {};
3496
3645
  jsonResponse: {
3497
3646
  locks: Array<{
3647
+ /** Unique identifier for the device. */
3498
3648
  device_id: string;
3649
+ /** Type of the device. */
3499
3650
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
3651
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
3500
3652
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3653
+ /** Properties of the device. */
3501
3654
  properties: ({
3655
+ /** Indicates whether the device is online. */
3502
3656
  online: boolean;
3657
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3503
3658
  name: string;
3504
3659
  model: {
3660
+ /** Display name of the device model. */
3505
3661
  display_name: string;
3662
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
3506
3663
  manufacturer_display_name: string;
3664
+ /** Indicates whether the device supports offline access codes. */
3507
3665
  offline_access_codes_supported?: boolean | undefined;
3666
+ /** Indicates whether the device supports online access codes. */
3508
3667
  online_access_codes_supported?: boolean | undefined;
3668
+ /** Indicates whether the device supports an accessory keypad. */
3509
3669
  accessory_keypad_supported?: boolean | undefined;
3510
3670
  };
3671
+ /** Indicates whether the device has direct power. */
3511
3672
  has_direct_power?: boolean | undefined;
3673
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
3512
3674
  battery_level?: number | undefined;
3675
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
3513
3676
  battery?: {
3514
3677
  level: number;
3515
3678
  status: 'critical' | 'low' | 'good' | 'full';
3516
3679
  } | undefined;
3680
+ /** Manufacturer of the device. */
3517
3681
  manufacturer?: string | undefined;
3682
+ /** Image URL for the device. */
3518
3683
  image_url?: string | undefined;
3684
+ /** Alt text for the device image. */
3519
3685
  image_alt_text?: string | undefined;
3686
+ /** Serial number of the device. */
3520
3687
  serial_number?: string | undefined;
3521
- /** Currently possible to use online access codes */
3688
+ /** Indicates whether it is currently possible to use online access codes for the device. */
3522
3689
  online_access_codes_enabled?: boolean | undefined;
3523
- /** Currently possible to use offline access codes */
3690
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
3524
3691
  offline_access_codes_enabled?: boolean | undefined;
3525
- /** Deprecated: use model.offline_access_codes_enabled. */
3692
+ /** Deprecated: Use model.offline_access_codes_enabled. */
3526
3693
  supports_accessory_keypad?: boolean | undefined;
3527
- /** Deprecated: use model.accessory_keypad_supported. */
3694
+ /** Deprecated: Use model.accessory_keypad_supported. */
3528
3695
  supports_offline_access_codes?: boolean | undefined;
3529
3696
  } & {
3530
3697
  august_metadata?: {
@@ -3874,54 +4041,81 @@ export interface Routes {
3874
4041
  max_cooling_set_point_celsius?: number | undefined;
3875
4042
  max_cooling_set_point_fahrenheit?: number | undefined;
3876
4043
  }));
4044
+ /** Location information for the device. */
3877
4045
  location: {
4046
+ /** Name of the device location. */
3878
4047
  location_name?: string | undefined;
4048
+ /** Time zone of the device location. */
3879
4049
  timezone?: string | undefined;
3880
4050
  } | null;
4051
+ /** Unique identifier for the account associated with the device. */
3881
4052
  connected_account_id: string;
4053
+ /** Unique identifier for the Seam workspace associated with the device. */
3882
4054
  workspace_id: string;
4055
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
3883
4056
  errors: Array<{
3884
4057
  error_code: string;
3885
4058
  message: string;
3886
4059
  }>;
4060
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
3887
4061
  warnings: Array<{
3888
4062
  warning_code: string;
3889
4063
  message: string;
3890
4064
  }>;
4065
+ /** Date and time at which the device object was created. */
3891
4066
  created_at: string;
4067
+ /** Indicates whether Seam manages the device. */
3892
4068
  is_managed: true;
3893
4069
  }>;
3894
4070
  devices: Array<{
4071
+ /** Unique identifier for the device. */
3895
4072
  device_id: string;
4073
+ /** Type of the device. */
3896
4074
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
4075
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
3897
4076
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4077
+ /** Properties of the device. */
3898
4078
  properties: ({
4079
+ /** Indicates whether the device is online. */
3899
4080
  online: boolean;
4081
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3900
4082
  name: string;
3901
4083
  model: {
4084
+ /** Display name of the device model. */
3902
4085
  display_name: string;
4086
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
3903
4087
  manufacturer_display_name: string;
4088
+ /** Indicates whether the device supports offline access codes. */
3904
4089
  offline_access_codes_supported?: boolean | undefined;
4090
+ /** Indicates whether the device supports online access codes. */
3905
4091
  online_access_codes_supported?: boolean | undefined;
4092
+ /** Indicates whether the device supports an accessory keypad. */
3906
4093
  accessory_keypad_supported?: boolean | undefined;
3907
4094
  };
4095
+ /** Indicates whether the device has direct power. */
3908
4096
  has_direct_power?: boolean | undefined;
4097
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
3909
4098
  battery_level?: number | undefined;
4099
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
3910
4100
  battery?: {
3911
4101
  level: number;
3912
4102
  status: 'critical' | 'low' | 'good' | 'full';
3913
4103
  } | undefined;
4104
+ /** Manufacturer of the device. */
3914
4105
  manufacturer?: string | undefined;
4106
+ /** Image URL for the device. */
3915
4107
  image_url?: string | undefined;
4108
+ /** Alt text for the device image. */
3916
4109
  image_alt_text?: string | undefined;
4110
+ /** Serial number of the device. */
3917
4111
  serial_number?: string | undefined;
3918
- /** Currently possible to use online access codes */
4112
+ /** Indicates whether it is currently possible to use online access codes for the device. */
3919
4113
  online_access_codes_enabled?: boolean | undefined;
3920
- /** Currently possible to use offline access codes */
4114
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
3921
4115
  offline_access_codes_enabled?: boolean | undefined;
3922
- /** Deprecated: use model.offline_access_codes_enabled. */
4116
+ /** Deprecated: Use model.offline_access_codes_enabled. */
3923
4117
  supports_accessory_keypad?: boolean | undefined;
3924
- /** Deprecated: use model.accessory_keypad_supported. */
4118
+ /** Deprecated: Use model.accessory_keypad_supported. */
3925
4119
  supports_offline_access_codes?: boolean | undefined;
3926
4120
  } & {
3927
4121
  august_metadata?: {
@@ -4271,21 +4465,30 @@ export interface Routes {
4271
4465
  max_cooling_set_point_celsius?: number | undefined;
4272
4466
  max_cooling_set_point_fahrenheit?: number | undefined;
4273
4467
  }));
4468
+ /** Location information for the device. */
4274
4469
  location: {
4470
+ /** Name of the device location. */
4275
4471
  location_name?: string | undefined;
4472
+ /** Time zone of the device location. */
4276
4473
  timezone?: string | undefined;
4277
4474
  } | null;
4475
+ /** Unique identifier for the account associated with the device. */
4278
4476
  connected_account_id: string;
4477
+ /** Unique identifier for the Seam workspace associated with the device. */
4279
4478
  workspace_id: string;
4479
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
4280
4480
  errors: Array<{
4281
4481
  error_code: string;
4282
4482
  message: string;
4283
4483
  }>;
4484
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
4284
4485
  warnings: Array<{
4285
4486
  warning_code: string;
4286
4487
  message: string;
4287
4488
  }>;
4489
+ /** Date and time at which the device object was created. */
4288
4490
  created_at: string;
4491
+ /** Indicates whether Seam manages the device. */
4289
4492
  is_managed: true;
4290
4493
  }>;
4291
4494
  };
@@ -4709,36 +4912,54 @@ export interface Routes {
4709
4912
  formData: {};
4710
4913
  jsonResponse: {
4711
4914
  thermostat: {
4915
+ /** Unique identifier for the device. */
4712
4916
  device_id: string;
4917
+ /** Type of the device. */
4713
4918
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
4919
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
4714
4920
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4921
+ /** Properties of the device. */
4715
4922
  properties: ({
4923
+ /** Indicates whether the device is online. */
4716
4924
  online: boolean;
4925
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4717
4926
  name: string;
4718
4927
  model: {
4928
+ /** Display name of the device model. */
4719
4929
  display_name: string;
4930
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
4720
4931
  manufacturer_display_name: string;
4932
+ /** Indicates whether the device supports offline access codes. */
4721
4933
  offline_access_codes_supported?: boolean | undefined;
4934
+ /** Indicates whether the device supports online access codes. */
4722
4935
  online_access_codes_supported?: boolean | undefined;
4936
+ /** Indicates whether the device supports an accessory keypad. */
4723
4937
  accessory_keypad_supported?: boolean | undefined;
4724
4938
  };
4939
+ /** Indicates whether the device has direct power. */
4725
4940
  has_direct_power?: boolean | undefined;
4941
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
4726
4942
  battery_level?: number | undefined;
4943
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
4727
4944
  battery?: {
4728
4945
  level: number;
4729
4946
  status: 'critical' | 'low' | 'good' | 'full';
4730
4947
  } | undefined;
4948
+ /** Manufacturer of the device. */
4731
4949
  manufacturer?: string | undefined;
4950
+ /** Image URL for the device. */
4732
4951
  image_url?: string | undefined;
4952
+ /** Alt text for the device image. */
4733
4953
  image_alt_text?: string | undefined;
4954
+ /** Serial number of the device. */
4734
4955
  serial_number?: string | undefined;
4735
- /** Currently possible to use online access codes */
4956
+ /** Indicates whether it is currently possible to use online access codes for the device. */
4736
4957
  online_access_codes_enabled?: boolean | undefined;
4737
- /** Currently possible to use offline access codes */
4958
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
4738
4959
  offline_access_codes_enabled?: boolean | undefined;
4739
- /** Deprecated: use model.offline_access_codes_enabled. */
4960
+ /** Deprecated: Use model.offline_access_codes_enabled. */
4740
4961
  supports_accessory_keypad?: boolean | undefined;
4741
- /** Deprecated: use model.accessory_keypad_supported. */
4962
+ /** Deprecated: Use model.accessory_keypad_supported. */
4742
4963
  supports_offline_access_codes?: boolean | undefined;
4743
4964
  } & {
4744
4965
  august_metadata?: {
@@ -5088,21 +5309,30 @@ export interface Routes {
5088
5309
  max_cooling_set_point_celsius?: number | undefined;
5089
5310
  max_cooling_set_point_fahrenheit?: number | undefined;
5090
5311
  }));
5312
+ /** Location information for the device. */
5091
5313
  location: {
5314
+ /** Name of the device location. */
5092
5315
  location_name?: string | undefined;
5316
+ /** Time zone of the device location. */
5093
5317
  timezone?: string | undefined;
5094
5318
  } | null;
5319
+ /** Unique identifier for the account associated with the device. */
5095
5320
  connected_account_id: string;
5321
+ /** Unique identifier for the Seam workspace associated with the device. */
5096
5322
  workspace_id: string;
5323
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
5097
5324
  errors: Array<{
5098
5325
  error_code: string;
5099
5326
  message: string;
5100
5327
  }>;
5328
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
5101
5329
  warnings: Array<{
5102
5330
  warning_code: string;
5103
5331
  message: string;
5104
5332
  }>;
5333
+ /** Date and time at which the device object was created. */
5105
5334
  created_at: string;
5335
+ /** Indicates whether Seam manages the device. */
5106
5336
  is_managed: true;
5107
5337
  };
5108
5338
  };
@@ -5158,36 +5388,54 @@ export interface Routes {
5158
5388
  formData: {};
5159
5389
  jsonResponse: {
5160
5390
  thermostats: Array<{
5391
+ /** Unique identifier for the device. */
5161
5392
  device_id: string;
5393
+ /** Type of the device. */
5162
5394
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
5395
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
5163
5396
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5397
+ /** Properties of the device. */
5164
5398
  properties: ({
5399
+ /** Indicates whether the device is online. */
5165
5400
  online: boolean;
5401
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5166
5402
  name: string;
5167
5403
  model: {
5404
+ /** Display name of the device model. */
5168
5405
  display_name: string;
5406
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
5169
5407
  manufacturer_display_name: string;
5408
+ /** Indicates whether the device supports offline access codes. */
5170
5409
  offline_access_codes_supported?: boolean | undefined;
5410
+ /** Indicates whether the device supports online access codes. */
5171
5411
  online_access_codes_supported?: boolean | undefined;
5412
+ /** Indicates whether the device supports an accessory keypad. */
5172
5413
  accessory_keypad_supported?: boolean | undefined;
5173
5414
  };
5415
+ /** Indicates whether the device has direct power. */
5174
5416
  has_direct_power?: boolean | undefined;
5417
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
5175
5418
  battery_level?: number | undefined;
5419
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
5176
5420
  battery?: {
5177
5421
  level: number;
5178
5422
  status: 'critical' | 'low' | 'good' | 'full';
5179
5423
  } | undefined;
5424
+ /** Manufacturer of the device. */
5180
5425
  manufacturer?: string | undefined;
5426
+ /** Image URL for the device. */
5181
5427
  image_url?: string | undefined;
5428
+ /** Alt text for the device image. */
5182
5429
  image_alt_text?: string | undefined;
5430
+ /** Serial number of the device. */
5183
5431
  serial_number?: string | undefined;
5184
- /** Currently possible to use online access codes */
5432
+ /** Indicates whether it is currently possible to use online access codes for the device. */
5185
5433
  online_access_codes_enabled?: boolean | undefined;
5186
- /** Currently possible to use offline access codes */
5434
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
5187
5435
  offline_access_codes_enabled?: boolean | undefined;
5188
- /** Deprecated: use model.offline_access_codes_enabled. */
5436
+ /** Deprecated: Use model.offline_access_codes_enabled. */
5189
5437
  supports_accessory_keypad?: boolean | undefined;
5190
- /** Deprecated: use model.accessory_keypad_supported. */
5438
+ /** Deprecated: Use model.accessory_keypad_supported. */
5191
5439
  supports_offline_access_codes?: boolean | undefined;
5192
5440
  } & {
5193
5441
  august_metadata?: {
@@ -5537,21 +5785,30 @@ export interface Routes {
5537
5785
  max_cooling_set_point_celsius?: number | undefined;
5538
5786
  max_cooling_set_point_fahrenheit?: number | undefined;
5539
5787
  }));
5788
+ /** Location information for the device. */
5540
5789
  location: {
5790
+ /** Name of the device location. */
5541
5791
  location_name?: string | undefined;
5792
+ /** Time zone of the device location. */
5542
5793
  timezone?: string | undefined;
5543
5794
  } | null;
5795
+ /** Unique identifier for the account associated with the device. */
5544
5796
  connected_account_id: string;
5797
+ /** Unique identifier for the Seam workspace associated with the device. */
5545
5798
  workspace_id: string;
5799
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
5546
5800
  errors: Array<{
5547
5801
  error_code: string;
5548
5802
  message: string;
5549
5803
  }>;
5804
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
5550
5805
  warnings: Array<{
5551
5806
  warning_code: string;
5552
5807
  message: string;
5553
5808
  }>;
5809
+ /** Date and time at which the device object was created. */
5554
5810
  created_at: string;
5811
+ /** Indicates whether Seam manages the device. */
5555
5812
  is_managed: true;
5556
5813
  }>;
5557
5814
  };
@@ -5623,6 +5880,8 @@ export interface Routes {
5623
5880
  commonParams: {
5624
5881
  user_identity_key?: (string | null) | undefined;
5625
5882
  email_address?: (string | null) | undefined;
5883
+ first_name?: (string | null) | undefined;
5884
+ last_name?: (string | null) | undefined;
5626
5885
  };
5627
5886
  formData: {};
5628
5887
  jsonResponse: {
@@ -5630,6 +5889,8 @@ export interface Routes {
5630
5889
  user_identity_id: string;
5631
5890
  user_identity_key?: (string | null) | undefined;
5632
5891
  email_address?: (string | null) | undefined;
5892
+ first_name?: (string | null) | undefined;
5893
+ last_name?: (string | null) | undefined;
5633
5894
  created_at: string;
5634
5895
  workspace_id: string;
5635
5896
  };
@@ -5651,6 +5912,8 @@ export interface Routes {
5651
5912
  user_identity_id: string;
5652
5913
  user_identity_key?: (string | null) | undefined;
5653
5914
  email_address?: (string | null) | undefined;
5915
+ first_name?: (string | null) | undefined;
5916
+ last_name?: (string | null) | undefined;
5654
5917
  created_at: string;
5655
5918
  workspace_id: string;
5656
5919
  };
@@ -5679,36 +5942,54 @@ export interface Routes {
5679
5942
  formData: {};
5680
5943
  jsonResponse: {
5681
5944
  accessible_devices: Array<{
5945
+ /** Unique identifier for the device. */
5682
5946
  device_id: string;
5947
+ /** Type of the device. */
5683
5948
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
5949
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
5684
5950
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5951
+ /** Properties of the device. */
5685
5952
  properties: ({
5953
+ /** Indicates whether the device is online. */
5686
5954
  online: boolean;
5955
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5687
5956
  name: string;
5688
5957
  model: {
5958
+ /** Display name of the device model. */
5689
5959
  display_name: string;
5960
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
5690
5961
  manufacturer_display_name: string;
5962
+ /** Indicates whether the device supports offline access codes. */
5691
5963
  offline_access_codes_supported?: boolean | undefined;
5964
+ /** Indicates whether the device supports online access codes. */
5692
5965
  online_access_codes_supported?: boolean | undefined;
5966
+ /** Indicates whether the device supports an accessory keypad. */
5693
5967
  accessory_keypad_supported?: boolean | undefined;
5694
5968
  };
5969
+ /** Indicates whether the device has direct power. */
5695
5970
  has_direct_power?: boolean | undefined;
5971
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
5696
5972
  battery_level?: number | undefined;
5973
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
5697
5974
  battery?: {
5698
5975
  level: number;
5699
5976
  status: 'critical' | 'low' | 'good' | 'full';
5700
5977
  } | undefined;
5978
+ /** Manufacturer of the device. */
5701
5979
  manufacturer?: string | undefined;
5980
+ /** Image URL for the device. */
5702
5981
  image_url?: string | undefined;
5982
+ /** Alt text for the device image. */
5703
5983
  image_alt_text?: string | undefined;
5984
+ /** Serial number of the device. */
5704
5985
  serial_number?: string | undefined;
5705
- /** Currently possible to use online access codes */
5986
+ /** Indicates whether it is currently possible to use online access codes for the device. */
5706
5987
  online_access_codes_enabled?: boolean | undefined;
5707
- /** Currently possible to use offline access codes */
5988
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
5708
5989
  offline_access_codes_enabled?: boolean | undefined;
5709
- /** Deprecated: use model.offline_access_codes_enabled. */
5990
+ /** Deprecated: Use model.offline_access_codes_enabled. */
5710
5991
  supports_accessory_keypad?: boolean | undefined;
5711
- /** Deprecated: use model.accessory_keypad_supported. */
5992
+ /** Deprecated: Use model.accessory_keypad_supported. */
5712
5993
  supports_offline_access_codes?: boolean | undefined;
5713
5994
  } & {
5714
5995
  august_metadata?: {
@@ -6058,21 +6339,30 @@ export interface Routes {
6058
6339
  max_cooling_set_point_celsius?: number | undefined;
6059
6340
  max_cooling_set_point_fahrenheit?: number | undefined;
6060
6341
  }));
6342
+ /** Location information for the device. */
6061
6343
  location: {
6344
+ /** Name of the device location. */
6062
6345
  location_name?: string | undefined;
6346
+ /** Time zone of the device location. */
6063
6347
  timezone?: string | undefined;
6064
6348
  } | null;
6349
+ /** Unique identifier for the account associated with the device. */
6065
6350
  connected_account_id: string;
6351
+ /** Unique identifier for the Seam workspace associated with the device. */
6066
6352
  workspace_id: string;
6353
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
6067
6354
  errors: Array<{
6068
6355
  error_code: string;
6069
6356
  message: string;
6070
6357
  }>;
6358
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
6071
6359
  warnings: Array<{
6072
6360
  warning_code: string;
6073
6361
  message: string;
6074
6362
  }>;
6363
+ /** Date and time at which the device object was created. */
6075
6364
  created_at: string;
6365
+ /** Indicates whether Seam manages the device. */
6076
6366
  is_managed: true;
6077
6367
  }>;
6078
6368
  };