@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.
- package/dist/connect.cjs +225 -32
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +526 -49
- package/lib/seam/connect/openapi.d.ts +199 -12
- package/lib/seam/connect/openapi.js +224 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +327 -37
- package/lib/seam/connect/unstable/models/devices/managed-device.js +83 -33
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/user-identity.d.ts +6 -0
- package/lib/seam/connect/unstable/models/user-identity.js +2 -0
- package/lib/seam/connect/unstable/models/user-identity.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +244 -31
- package/src/lib/seam/connect/route-types.ts +327 -36
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +111 -41
- package/src/lib/seam/connect/unstable/models/user-identity.ts +2 -0
|
@@ -941,6 +941,31 @@ export interface Routes {
|
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
|
+
'/acs/credentials/update': {
|
|
945
|
+
route: '/acs/credentials/update'
|
|
946
|
+
method: 'POST'
|
|
947
|
+
queryParams: {}
|
|
948
|
+
jsonBody: {}
|
|
949
|
+
commonParams: {
|
|
950
|
+
code?: string | undefined
|
|
951
|
+
name?: string | undefined
|
|
952
|
+
}
|
|
953
|
+
formData: {}
|
|
954
|
+
jsonResponse: {
|
|
955
|
+
acs_credential: {
|
|
956
|
+
acs_credential_id: string
|
|
957
|
+
acs_user_id?: string | undefined
|
|
958
|
+
acs_credential_pool_id?: string | undefined
|
|
959
|
+
acs_system_id: string
|
|
960
|
+
display_name: string
|
|
961
|
+
code: string | null
|
|
962
|
+
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
963
|
+
external_type_display_name: string
|
|
964
|
+
created_at: string
|
|
965
|
+
workspace_id: string
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
}
|
|
944
969
|
'/acs/entrances/get': {
|
|
945
970
|
route: '/acs/entrances/get'
|
|
946
971
|
method: 'GET' | 'POST'
|
|
@@ -1465,6 +1490,7 @@ export interface Routes {
|
|
|
1465
1490
|
| 'pti'
|
|
1466
1491
|
| 'wyze'
|
|
1467
1492
|
| 'seam_passport'
|
|
1493
|
+
| 'visionline'
|
|
1468
1494
|
| 'yale_access'
|
|
1469
1495
|
| 'hid_cm'
|
|
1470
1496
|
>
|
|
@@ -1694,7 +1720,9 @@ export interface Routes {
|
|
|
1694
1720
|
formData: {}
|
|
1695
1721
|
jsonResponse: {
|
|
1696
1722
|
device: {
|
|
1723
|
+
/** Unique identifier for the device. */
|
|
1697
1724
|
device_id: string
|
|
1725
|
+
/** Type of the device. */
|
|
1698
1726
|
device_type:
|
|
1699
1727
|
| (
|
|
1700
1728
|
| 'akuvox_lock'
|
|
@@ -1725,38 +1753,54 @@ export interface Routes {
|
|
|
1725
1753
|
)
|
|
1726
1754
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
1727
1755
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
1756
|
+
/** 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. */
|
|
1728
1757
|
capabilities_supported: Array<
|
|
1729
1758
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
1730
1759
|
>
|
|
1760
|
+
/** Properties of the device. */
|
|
1731
1761
|
properties: ({
|
|
1762
|
+
/** Indicates whether the device is online. */
|
|
1732
1763
|
online: boolean
|
|
1764
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
1733
1765
|
name: string
|
|
1734
1766
|
model: {
|
|
1767
|
+
/** Display name of the device model. */
|
|
1735
1768
|
display_name: string
|
|
1769
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
1736
1770
|
manufacturer_display_name: string
|
|
1771
|
+
/** Indicates whether the device supports offline access codes. */
|
|
1737
1772
|
offline_access_codes_supported?: boolean | undefined
|
|
1773
|
+
/** Indicates whether the device supports online access codes. */
|
|
1738
1774
|
online_access_codes_supported?: boolean | undefined
|
|
1775
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
1739
1776
|
accessory_keypad_supported?: boolean | undefined
|
|
1740
1777
|
}
|
|
1778
|
+
/** Indicates whether the device has direct power. */
|
|
1741
1779
|
has_direct_power?: boolean | undefined
|
|
1780
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
1742
1781
|
battery_level?: number | undefined
|
|
1782
|
+
/** 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. */
|
|
1743
1783
|
battery?:
|
|
1744
1784
|
| {
|
|
1745
1785
|
level: number
|
|
1746
1786
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
1747
1787
|
}
|
|
1748
1788
|
| undefined
|
|
1789
|
+
/** Manufacturer of the device. */
|
|
1749
1790
|
manufacturer?: string | undefined
|
|
1791
|
+
/** Image URL for the device. */
|
|
1750
1792
|
image_url?: string | undefined
|
|
1793
|
+
/** Alt text for the device image. */
|
|
1751
1794
|
image_alt_text?: string | undefined
|
|
1795
|
+
/** Serial number of the device. */
|
|
1752
1796
|
serial_number?: string | undefined
|
|
1753
|
-
/**
|
|
1797
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
1754
1798
|
online_access_codes_enabled?: boolean | undefined
|
|
1755
|
-
/**
|
|
1799
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
1756
1800
|
offline_access_codes_enabled?: boolean | undefined
|
|
1757
|
-
/** Deprecated:
|
|
1801
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
1758
1802
|
supports_accessory_keypad?: boolean | undefined
|
|
1759
|
-
/** Deprecated:
|
|
1803
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
1760
1804
|
supports_offline_access_codes?: boolean | undefined
|
|
1761
1805
|
} & {
|
|
1762
1806
|
august_metadata?:
|
|
@@ -2262,21 +2306,30 @@ export interface Routes {
|
|
|
2262
2306
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
2263
2307
|
}
|
|
2264
2308
|
))
|
|
2309
|
+
/** Location information for the device. */
|
|
2265
2310
|
location: {
|
|
2311
|
+
/** Name of the device location. */
|
|
2266
2312
|
location_name?: string | undefined
|
|
2313
|
+
/** Time zone of the device location. */
|
|
2267
2314
|
timezone?: string | undefined
|
|
2268
2315
|
} | null
|
|
2316
|
+
/** Unique identifier for the account associated with the device. */
|
|
2269
2317
|
connected_account_id: string
|
|
2318
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
2270
2319
|
workspace_id: string
|
|
2320
|
+
/** 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. */
|
|
2271
2321
|
errors: Array<{
|
|
2272
2322
|
error_code: string
|
|
2273
2323
|
message: string
|
|
2274
2324
|
}>
|
|
2325
|
+
/** 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. */
|
|
2275
2326
|
warnings: Array<{
|
|
2276
2327
|
warning_code: string
|
|
2277
2328
|
message: string
|
|
2278
2329
|
}>
|
|
2330
|
+
/** Date and time at which the device object was created. */
|
|
2279
2331
|
created_at: string
|
|
2332
|
+
/** Indicates whether Seam manages the device. */
|
|
2280
2333
|
is_managed: true
|
|
2281
2334
|
}
|
|
2282
2335
|
}
|
|
@@ -2401,7 +2454,9 @@ export interface Routes {
|
|
|
2401
2454
|
formData: {}
|
|
2402
2455
|
jsonResponse: {
|
|
2403
2456
|
devices: Array<{
|
|
2457
|
+
/** Unique identifier for the device. */
|
|
2404
2458
|
device_id: string
|
|
2459
|
+
/** Type of the device. */
|
|
2405
2460
|
device_type:
|
|
2406
2461
|
| (
|
|
2407
2462
|
| 'akuvox_lock'
|
|
@@ -2432,38 +2487,54 @@ export interface Routes {
|
|
|
2432
2487
|
)
|
|
2433
2488
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
2434
2489
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
2490
|
+
/** 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. */
|
|
2435
2491
|
capabilities_supported: Array<
|
|
2436
2492
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
2437
2493
|
>
|
|
2494
|
+
/** Properties of the device. */
|
|
2438
2495
|
properties: ({
|
|
2496
|
+
/** Indicates whether the device is online. */
|
|
2439
2497
|
online: boolean
|
|
2498
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
2440
2499
|
name: string
|
|
2441
2500
|
model: {
|
|
2501
|
+
/** Display name of the device model. */
|
|
2442
2502
|
display_name: string
|
|
2503
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
2443
2504
|
manufacturer_display_name: string
|
|
2505
|
+
/** Indicates whether the device supports offline access codes. */
|
|
2444
2506
|
offline_access_codes_supported?: boolean | undefined
|
|
2507
|
+
/** Indicates whether the device supports online access codes. */
|
|
2445
2508
|
online_access_codes_supported?: boolean | undefined
|
|
2509
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
2446
2510
|
accessory_keypad_supported?: boolean | undefined
|
|
2447
2511
|
}
|
|
2512
|
+
/** Indicates whether the device has direct power. */
|
|
2448
2513
|
has_direct_power?: boolean | undefined
|
|
2514
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
2449
2515
|
battery_level?: number | undefined
|
|
2516
|
+
/** 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. */
|
|
2450
2517
|
battery?:
|
|
2451
2518
|
| {
|
|
2452
2519
|
level: number
|
|
2453
2520
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
2454
2521
|
}
|
|
2455
2522
|
| undefined
|
|
2523
|
+
/** Manufacturer of the device. */
|
|
2456
2524
|
manufacturer?: string | undefined
|
|
2525
|
+
/** Image URL for the device. */
|
|
2457
2526
|
image_url?: string | undefined
|
|
2527
|
+
/** Alt text for the device image. */
|
|
2458
2528
|
image_alt_text?: string | undefined
|
|
2529
|
+
/** Serial number of the device. */
|
|
2459
2530
|
serial_number?: string | undefined
|
|
2460
|
-
/**
|
|
2531
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
2461
2532
|
online_access_codes_enabled?: boolean | undefined
|
|
2462
|
-
/**
|
|
2533
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
2463
2534
|
offline_access_codes_enabled?: boolean | undefined
|
|
2464
|
-
/** Deprecated:
|
|
2535
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
2465
2536
|
supports_accessory_keypad?: boolean | undefined
|
|
2466
|
-
/** Deprecated:
|
|
2537
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
2467
2538
|
supports_offline_access_codes?: boolean | undefined
|
|
2468
2539
|
} & {
|
|
2469
2540
|
august_metadata?:
|
|
@@ -2969,21 +3040,30 @@ export interface Routes {
|
|
|
2969
3040
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
2970
3041
|
}
|
|
2971
3042
|
))
|
|
3043
|
+
/** Location information for the device. */
|
|
2972
3044
|
location: {
|
|
3045
|
+
/** Name of the device location. */
|
|
2973
3046
|
location_name?: string | undefined
|
|
3047
|
+
/** Time zone of the device location. */
|
|
2974
3048
|
timezone?: string | undefined
|
|
2975
3049
|
} | null
|
|
3050
|
+
/** Unique identifier for the account associated with the device. */
|
|
2976
3051
|
connected_account_id: string
|
|
3052
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
2977
3053
|
workspace_id: string
|
|
3054
|
+
/** 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. */
|
|
2978
3055
|
errors: Array<{
|
|
2979
3056
|
error_code: string
|
|
2980
3057
|
message: string
|
|
2981
3058
|
}>
|
|
3059
|
+
/** 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. */
|
|
2982
3060
|
warnings: Array<{
|
|
2983
3061
|
warning_code: string
|
|
2984
3062
|
message: string
|
|
2985
3063
|
}>
|
|
3064
|
+
/** Date and time at which the device object was created. */
|
|
2986
3065
|
created_at: string
|
|
3066
|
+
/** Indicates whether Seam manages the device. */
|
|
2987
3067
|
is_managed: true
|
|
2988
3068
|
}>
|
|
2989
3069
|
}
|
|
@@ -3018,7 +3098,9 @@ export interface Routes {
|
|
|
3018
3098
|
formData: {}
|
|
3019
3099
|
jsonResponse: {
|
|
3020
3100
|
device: {
|
|
3101
|
+
/** Unique identifier for the device. */
|
|
3021
3102
|
device_id: string
|
|
3103
|
+
/** Type of the device. */
|
|
3022
3104
|
device_type:
|
|
3023
3105
|
| (
|
|
3024
3106
|
| 'akuvox_lock'
|
|
@@ -3049,19 +3131,25 @@ export interface Routes {
|
|
|
3049
3131
|
)
|
|
3050
3132
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
3051
3133
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
3134
|
+
/** Unique identifier for the account associated with the device. */
|
|
3052
3135
|
connected_account_id: string
|
|
3136
|
+
/** 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. */
|
|
3053
3137
|
capabilities_supported: Array<
|
|
3054
3138
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
3055
3139
|
>
|
|
3140
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
3056
3141
|
workspace_id: string
|
|
3142
|
+
/** 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. */
|
|
3057
3143
|
errors: Array<{
|
|
3058
3144
|
error_code: string
|
|
3059
3145
|
message: string
|
|
3060
3146
|
}>
|
|
3147
|
+
/** 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. */
|
|
3061
3148
|
warnings: Array<{
|
|
3062
3149
|
warning_code: string
|
|
3063
3150
|
message: string
|
|
3064
3151
|
}>
|
|
3152
|
+
/** Date and time at which the device object was created. */
|
|
3065
3153
|
created_at: string
|
|
3066
3154
|
is_managed: false
|
|
3067
3155
|
properties: {
|
|
@@ -3198,7 +3286,9 @@ export interface Routes {
|
|
|
3198
3286
|
formData: {}
|
|
3199
3287
|
jsonResponse: {
|
|
3200
3288
|
devices: Array<{
|
|
3289
|
+
/** Unique identifier for the device. */
|
|
3201
3290
|
device_id: string
|
|
3291
|
+
/** Type of the device. */
|
|
3202
3292
|
device_type:
|
|
3203
3293
|
| (
|
|
3204
3294
|
| 'akuvox_lock'
|
|
@@ -3229,19 +3319,25 @@ export interface Routes {
|
|
|
3229
3319
|
)
|
|
3230
3320
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
3231
3321
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
3322
|
+
/** Unique identifier for the account associated with the device. */
|
|
3232
3323
|
connected_account_id: string
|
|
3324
|
+
/** 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. */
|
|
3233
3325
|
capabilities_supported: Array<
|
|
3234
3326
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
3235
3327
|
>
|
|
3328
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
3236
3329
|
workspace_id: string
|
|
3330
|
+
/** 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. */
|
|
3237
3331
|
errors: Array<{
|
|
3238
3332
|
error_code: string
|
|
3239
3333
|
message: string
|
|
3240
3334
|
}>
|
|
3335
|
+
/** 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. */
|
|
3241
3336
|
warnings: Array<{
|
|
3242
3337
|
warning_code: string
|
|
3243
3338
|
message: string
|
|
3244
3339
|
}>
|
|
3340
|
+
/** Date and time at which the device object was created. */
|
|
3245
3341
|
created_at: string
|
|
3246
3342
|
is_managed: false
|
|
3247
3343
|
properties: {
|
|
@@ -3525,7 +3621,9 @@ export interface Routes {
|
|
|
3525
3621
|
formData: {}
|
|
3526
3622
|
jsonResponse: {
|
|
3527
3623
|
lock: {
|
|
3624
|
+
/** Unique identifier for the device. */
|
|
3528
3625
|
device_id: string
|
|
3626
|
+
/** Type of the device. */
|
|
3529
3627
|
device_type:
|
|
3530
3628
|
| (
|
|
3531
3629
|
| 'akuvox_lock'
|
|
@@ -3556,38 +3654,54 @@ export interface Routes {
|
|
|
3556
3654
|
)
|
|
3557
3655
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
3558
3656
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
3657
|
+
/** 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. */
|
|
3559
3658
|
capabilities_supported: Array<
|
|
3560
3659
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
3561
3660
|
>
|
|
3661
|
+
/** Properties of the device. */
|
|
3562
3662
|
properties: ({
|
|
3663
|
+
/** Indicates whether the device is online. */
|
|
3563
3664
|
online: boolean
|
|
3665
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
3564
3666
|
name: string
|
|
3565
3667
|
model: {
|
|
3668
|
+
/** Display name of the device model. */
|
|
3566
3669
|
display_name: string
|
|
3670
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
3567
3671
|
manufacturer_display_name: string
|
|
3672
|
+
/** Indicates whether the device supports offline access codes. */
|
|
3568
3673
|
offline_access_codes_supported?: boolean | undefined
|
|
3674
|
+
/** Indicates whether the device supports online access codes. */
|
|
3569
3675
|
online_access_codes_supported?: boolean | undefined
|
|
3676
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
3570
3677
|
accessory_keypad_supported?: boolean | undefined
|
|
3571
3678
|
}
|
|
3679
|
+
/** Indicates whether the device has direct power. */
|
|
3572
3680
|
has_direct_power?: boolean | undefined
|
|
3681
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
3573
3682
|
battery_level?: number | undefined
|
|
3683
|
+
/** 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. */
|
|
3574
3684
|
battery?:
|
|
3575
3685
|
| {
|
|
3576
3686
|
level: number
|
|
3577
3687
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
3578
3688
|
}
|
|
3579
3689
|
| undefined
|
|
3690
|
+
/** Manufacturer of the device. */
|
|
3580
3691
|
manufacturer?: string | undefined
|
|
3692
|
+
/** Image URL for the device. */
|
|
3581
3693
|
image_url?: string | undefined
|
|
3694
|
+
/** Alt text for the device image. */
|
|
3582
3695
|
image_alt_text?: string | undefined
|
|
3696
|
+
/** Serial number of the device. */
|
|
3583
3697
|
serial_number?: string | undefined
|
|
3584
|
-
/**
|
|
3698
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
3585
3699
|
online_access_codes_enabled?: boolean | undefined
|
|
3586
|
-
/**
|
|
3700
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
3587
3701
|
offline_access_codes_enabled?: boolean | undefined
|
|
3588
|
-
/** Deprecated:
|
|
3702
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
3589
3703
|
supports_accessory_keypad?: boolean | undefined
|
|
3590
|
-
/** Deprecated:
|
|
3704
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
3591
3705
|
supports_offline_access_codes?: boolean | undefined
|
|
3592
3706
|
} & {
|
|
3593
3707
|
august_metadata?:
|
|
@@ -4093,25 +4207,36 @@ export interface Routes {
|
|
|
4093
4207
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
4094
4208
|
}
|
|
4095
4209
|
))
|
|
4210
|
+
/** Location information for the device. */
|
|
4096
4211
|
location: {
|
|
4212
|
+
/** Name of the device location. */
|
|
4097
4213
|
location_name?: string | undefined
|
|
4214
|
+
/** Time zone of the device location. */
|
|
4098
4215
|
timezone?: string | undefined
|
|
4099
4216
|
} | null
|
|
4217
|
+
/** Unique identifier for the account associated with the device. */
|
|
4100
4218
|
connected_account_id: string
|
|
4219
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
4101
4220
|
workspace_id: string
|
|
4221
|
+
/** 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. */
|
|
4102
4222
|
errors: Array<{
|
|
4103
4223
|
error_code: string
|
|
4104
4224
|
message: string
|
|
4105
4225
|
}>
|
|
4226
|
+
/** 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. */
|
|
4106
4227
|
warnings: Array<{
|
|
4107
4228
|
warning_code: string
|
|
4108
4229
|
message: string
|
|
4109
4230
|
}>
|
|
4231
|
+
/** Date and time at which the device object was created. */
|
|
4110
4232
|
created_at: string
|
|
4233
|
+
/** Indicates whether Seam manages the device. */
|
|
4111
4234
|
is_managed: true
|
|
4112
4235
|
}
|
|
4113
4236
|
device: {
|
|
4237
|
+
/** Unique identifier for the device. */
|
|
4114
4238
|
device_id: string
|
|
4239
|
+
/** Type of the device. */
|
|
4115
4240
|
device_type:
|
|
4116
4241
|
| (
|
|
4117
4242
|
| 'akuvox_lock'
|
|
@@ -4142,38 +4267,54 @@ export interface Routes {
|
|
|
4142
4267
|
)
|
|
4143
4268
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
4144
4269
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
4270
|
+
/** 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. */
|
|
4145
4271
|
capabilities_supported: Array<
|
|
4146
4272
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
4147
4273
|
>
|
|
4274
|
+
/** Properties of the device. */
|
|
4148
4275
|
properties: ({
|
|
4276
|
+
/** Indicates whether the device is online. */
|
|
4149
4277
|
online: boolean
|
|
4278
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
4150
4279
|
name: string
|
|
4151
4280
|
model: {
|
|
4281
|
+
/** Display name of the device model. */
|
|
4152
4282
|
display_name: string
|
|
4283
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
4153
4284
|
manufacturer_display_name: string
|
|
4285
|
+
/** Indicates whether the device supports offline access codes. */
|
|
4154
4286
|
offline_access_codes_supported?: boolean | undefined
|
|
4287
|
+
/** Indicates whether the device supports online access codes. */
|
|
4155
4288
|
online_access_codes_supported?: boolean | undefined
|
|
4289
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
4156
4290
|
accessory_keypad_supported?: boolean | undefined
|
|
4157
4291
|
}
|
|
4292
|
+
/** Indicates whether the device has direct power. */
|
|
4158
4293
|
has_direct_power?: boolean | undefined
|
|
4294
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
4159
4295
|
battery_level?: number | undefined
|
|
4296
|
+
/** 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. */
|
|
4160
4297
|
battery?:
|
|
4161
4298
|
| {
|
|
4162
4299
|
level: number
|
|
4163
4300
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
4164
4301
|
}
|
|
4165
4302
|
| undefined
|
|
4303
|
+
/** Manufacturer of the device. */
|
|
4166
4304
|
manufacturer?: string | undefined
|
|
4305
|
+
/** Image URL for the device. */
|
|
4167
4306
|
image_url?: string | undefined
|
|
4307
|
+
/** Alt text for the device image. */
|
|
4168
4308
|
image_alt_text?: string | undefined
|
|
4309
|
+
/** Serial number of the device. */
|
|
4169
4310
|
serial_number?: string | undefined
|
|
4170
|
-
/**
|
|
4311
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
4171
4312
|
online_access_codes_enabled?: boolean | undefined
|
|
4172
|
-
/**
|
|
4313
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
4173
4314
|
offline_access_codes_enabled?: boolean | undefined
|
|
4174
|
-
/** Deprecated:
|
|
4315
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
4175
4316
|
supports_accessory_keypad?: boolean | undefined
|
|
4176
|
-
/** Deprecated:
|
|
4317
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
4177
4318
|
supports_offline_access_codes?: boolean | undefined
|
|
4178
4319
|
} & {
|
|
4179
4320
|
august_metadata?:
|
|
@@ -4679,21 +4820,30 @@ export interface Routes {
|
|
|
4679
4820
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
4680
4821
|
}
|
|
4681
4822
|
))
|
|
4823
|
+
/** Location information for the device. */
|
|
4682
4824
|
location: {
|
|
4825
|
+
/** Name of the device location. */
|
|
4683
4826
|
location_name?: string | undefined
|
|
4827
|
+
/** Time zone of the device location. */
|
|
4684
4828
|
timezone?: string | undefined
|
|
4685
4829
|
} | null
|
|
4830
|
+
/** Unique identifier for the account associated with the device. */
|
|
4686
4831
|
connected_account_id: string
|
|
4832
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
4687
4833
|
workspace_id: string
|
|
4834
|
+
/** 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. */
|
|
4688
4835
|
errors: Array<{
|
|
4689
4836
|
error_code: string
|
|
4690
4837
|
message: string
|
|
4691
4838
|
}>
|
|
4839
|
+
/** 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. */
|
|
4692
4840
|
warnings: Array<{
|
|
4693
4841
|
warning_code: string
|
|
4694
4842
|
message: string
|
|
4695
4843
|
}>
|
|
4844
|
+
/** Date and time at which the device object was created. */
|
|
4696
4845
|
created_at: string
|
|
4846
|
+
/** Indicates whether Seam manages the device. */
|
|
4697
4847
|
is_managed: true
|
|
4698
4848
|
}
|
|
4699
4849
|
}
|
|
@@ -4818,7 +4968,9 @@ export interface Routes {
|
|
|
4818
4968
|
formData: {}
|
|
4819
4969
|
jsonResponse: {
|
|
4820
4970
|
locks: Array<{
|
|
4971
|
+
/** Unique identifier for the device. */
|
|
4821
4972
|
device_id: string
|
|
4973
|
+
/** Type of the device. */
|
|
4822
4974
|
device_type:
|
|
4823
4975
|
| (
|
|
4824
4976
|
| 'akuvox_lock'
|
|
@@ -4849,38 +5001,54 @@ export interface Routes {
|
|
|
4849
5001
|
)
|
|
4850
5002
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
4851
5003
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
5004
|
+
/** 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. */
|
|
4852
5005
|
capabilities_supported: Array<
|
|
4853
5006
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
4854
5007
|
>
|
|
5008
|
+
/** Properties of the device. */
|
|
4855
5009
|
properties: ({
|
|
5010
|
+
/** Indicates whether the device is online. */
|
|
4856
5011
|
online: boolean
|
|
5012
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
4857
5013
|
name: string
|
|
4858
5014
|
model: {
|
|
5015
|
+
/** Display name of the device model. */
|
|
4859
5016
|
display_name: string
|
|
5017
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
4860
5018
|
manufacturer_display_name: string
|
|
5019
|
+
/** Indicates whether the device supports offline access codes. */
|
|
4861
5020
|
offline_access_codes_supported?: boolean | undefined
|
|
5021
|
+
/** Indicates whether the device supports online access codes. */
|
|
4862
5022
|
online_access_codes_supported?: boolean | undefined
|
|
5023
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
4863
5024
|
accessory_keypad_supported?: boolean | undefined
|
|
4864
5025
|
}
|
|
5026
|
+
/** Indicates whether the device has direct power. */
|
|
4865
5027
|
has_direct_power?: boolean | undefined
|
|
5028
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
4866
5029
|
battery_level?: number | undefined
|
|
5030
|
+
/** 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. */
|
|
4867
5031
|
battery?:
|
|
4868
5032
|
| {
|
|
4869
5033
|
level: number
|
|
4870
5034
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
4871
5035
|
}
|
|
4872
5036
|
| undefined
|
|
5037
|
+
/** Manufacturer of the device. */
|
|
4873
5038
|
manufacturer?: string | undefined
|
|
5039
|
+
/** Image URL for the device. */
|
|
4874
5040
|
image_url?: string | undefined
|
|
5041
|
+
/** Alt text for the device image. */
|
|
4875
5042
|
image_alt_text?: string | undefined
|
|
5043
|
+
/** Serial number of the device. */
|
|
4876
5044
|
serial_number?: string | undefined
|
|
4877
|
-
/**
|
|
5045
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
4878
5046
|
online_access_codes_enabled?: boolean | undefined
|
|
4879
|
-
/**
|
|
5047
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
4880
5048
|
offline_access_codes_enabled?: boolean | undefined
|
|
4881
|
-
/** Deprecated:
|
|
5049
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
4882
5050
|
supports_accessory_keypad?: boolean | undefined
|
|
4883
|
-
/** Deprecated:
|
|
5051
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
4884
5052
|
supports_offline_access_codes?: boolean | undefined
|
|
4885
5053
|
} & {
|
|
4886
5054
|
august_metadata?:
|
|
@@ -5386,25 +5554,36 @@ export interface Routes {
|
|
|
5386
5554
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
5387
5555
|
}
|
|
5388
5556
|
))
|
|
5557
|
+
/** Location information for the device. */
|
|
5389
5558
|
location: {
|
|
5559
|
+
/** Name of the device location. */
|
|
5390
5560
|
location_name?: string | undefined
|
|
5561
|
+
/** Time zone of the device location. */
|
|
5391
5562
|
timezone?: string | undefined
|
|
5392
5563
|
} | null
|
|
5564
|
+
/** Unique identifier for the account associated with the device. */
|
|
5393
5565
|
connected_account_id: string
|
|
5566
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
5394
5567
|
workspace_id: string
|
|
5568
|
+
/** 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. */
|
|
5395
5569
|
errors: Array<{
|
|
5396
5570
|
error_code: string
|
|
5397
5571
|
message: string
|
|
5398
5572
|
}>
|
|
5573
|
+
/** 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. */
|
|
5399
5574
|
warnings: Array<{
|
|
5400
5575
|
warning_code: string
|
|
5401
5576
|
message: string
|
|
5402
5577
|
}>
|
|
5578
|
+
/** Date and time at which the device object was created. */
|
|
5403
5579
|
created_at: string
|
|
5580
|
+
/** Indicates whether Seam manages the device. */
|
|
5404
5581
|
is_managed: true
|
|
5405
5582
|
}>
|
|
5406
5583
|
devices: Array<{
|
|
5584
|
+
/** Unique identifier for the device. */
|
|
5407
5585
|
device_id: string
|
|
5586
|
+
/** Type of the device. */
|
|
5408
5587
|
device_type:
|
|
5409
5588
|
| (
|
|
5410
5589
|
| 'akuvox_lock'
|
|
@@ -5435,38 +5614,54 @@ export interface Routes {
|
|
|
5435
5614
|
)
|
|
5436
5615
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
5437
5616
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
5617
|
+
/** 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. */
|
|
5438
5618
|
capabilities_supported: Array<
|
|
5439
5619
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
5440
5620
|
>
|
|
5621
|
+
/** Properties of the device. */
|
|
5441
5622
|
properties: ({
|
|
5623
|
+
/** Indicates whether the device is online. */
|
|
5442
5624
|
online: boolean
|
|
5625
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
5443
5626
|
name: string
|
|
5444
5627
|
model: {
|
|
5628
|
+
/** Display name of the device model. */
|
|
5445
5629
|
display_name: string
|
|
5630
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
5446
5631
|
manufacturer_display_name: string
|
|
5632
|
+
/** Indicates whether the device supports offline access codes. */
|
|
5447
5633
|
offline_access_codes_supported?: boolean | undefined
|
|
5634
|
+
/** Indicates whether the device supports online access codes. */
|
|
5448
5635
|
online_access_codes_supported?: boolean | undefined
|
|
5636
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
5449
5637
|
accessory_keypad_supported?: boolean | undefined
|
|
5450
5638
|
}
|
|
5639
|
+
/** Indicates whether the device has direct power. */
|
|
5451
5640
|
has_direct_power?: boolean | undefined
|
|
5641
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
5452
5642
|
battery_level?: number | undefined
|
|
5643
|
+
/** 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. */
|
|
5453
5644
|
battery?:
|
|
5454
5645
|
| {
|
|
5455
5646
|
level: number
|
|
5456
5647
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
5457
5648
|
}
|
|
5458
5649
|
| undefined
|
|
5650
|
+
/** Manufacturer of the device. */
|
|
5459
5651
|
manufacturer?: string | undefined
|
|
5652
|
+
/** Image URL for the device. */
|
|
5460
5653
|
image_url?: string | undefined
|
|
5654
|
+
/** Alt text for the device image. */
|
|
5461
5655
|
image_alt_text?: string | undefined
|
|
5656
|
+
/** Serial number of the device. */
|
|
5462
5657
|
serial_number?: string | undefined
|
|
5463
|
-
/**
|
|
5658
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
5464
5659
|
online_access_codes_enabled?: boolean | undefined
|
|
5465
|
-
/**
|
|
5660
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
5466
5661
|
offline_access_codes_enabled?: boolean | undefined
|
|
5467
|
-
/** Deprecated:
|
|
5662
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
5468
5663
|
supports_accessory_keypad?: boolean | undefined
|
|
5469
|
-
/** Deprecated:
|
|
5664
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
5470
5665
|
supports_offline_access_codes?: boolean | undefined
|
|
5471
5666
|
} & {
|
|
5472
5667
|
august_metadata?:
|
|
@@ -5972,21 +6167,30 @@ export interface Routes {
|
|
|
5972
6167
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
5973
6168
|
}
|
|
5974
6169
|
))
|
|
6170
|
+
/** Location information for the device. */
|
|
5975
6171
|
location: {
|
|
6172
|
+
/** Name of the device location. */
|
|
5976
6173
|
location_name?: string | undefined
|
|
6174
|
+
/** Time zone of the device location. */
|
|
5977
6175
|
timezone?: string | undefined
|
|
5978
6176
|
} | null
|
|
6177
|
+
/** Unique identifier for the account associated with the device. */
|
|
5979
6178
|
connected_account_id: string
|
|
6179
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
5980
6180
|
workspace_id: string
|
|
6181
|
+
/** 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. */
|
|
5981
6182
|
errors: Array<{
|
|
5982
6183
|
error_code: string
|
|
5983
6184
|
message: string
|
|
5984
6185
|
}>
|
|
6186
|
+
/** 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. */
|
|
5985
6187
|
warnings: Array<{
|
|
5986
6188
|
warning_code: string
|
|
5987
6189
|
message: string
|
|
5988
6190
|
}>
|
|
6191
|
+
/** Date and time at which the device object was created. */
|
|
5989
6192
|
created_at: string
|
|
6193
|
+
/** Indicates whether Seam manages the device. */
|
|
5990
6194
|
is_managed: true
|
|
5991
6195
|
}>
|
|
5992
6196
|
}
|
|
@@ -6425,7 +6629,9 @@ export interface Routes {
|
|
|
6425
6629
|
formData: {}
|
|
6426
6630
|
jsonResponse: {
|
|
6427
6631
|
thermostat: {
|
|
6632
|
+
/** Unique identifier for the device. */
|
|
6428
6633
|
device_id: string
|
|
6634
|
+
/** Type of the device. */
|
|
6429
6635
|
device_type:
|
|
6430
6636
|
| (
|
|
6431
6637
|
| 'akuvox_lock'
|
|
@@ -6456,38 +6662,54 @@ export interface Routes {
|
|
|
6456
6662
|
)
|
|
6457
6663
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
6458
6664
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
6665
|
+
/** 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. */
|
|
6459
6666
|
capabilities_supported: Array<
|
|
6460
6667
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
6461
6668
|
>
|
|
6669
|
+
/** Properties of the device. */
|
|
6462
6670
|
properties: ({
|
|
6671
|
+
/** Indicates whether the device is online. */
|
|
6463
6672
|
online: boolean
|
|
6673
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
6464
6674
|
name: string
|
|
6465
6675
|
model: {
|
|
6676
|
+
/** Display name of the device model. */
|
|
6466
6677
|
display_name: string
|
|
6678
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
6467
6679
|
manufacturer_display_name: string
|
|
6680
|
+
/** Indicates whether the device supports offline access codes. */
|
|
6468
6681
|
offline_access_codes_supported?: boolean | undefined
|
|
6682
|
+
/** Indicates whether the device supports online access codes. */
|
|
6469
6683
|
online_access_codes_supported?: boolean | undefined
|
|
6684
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
6470
6685
|
accessory_keypad_supported?: boolean | undefined
|
|
6471
6686
|
}
|
|
6687
|
+
/** Indicates whether the device has direct power. */
|
|
6472
6688
|
has_direct_power?: boolean | undefined
|
|
6689
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
6473
6690
|
battery_level?: number | undefined
|
|
6691
|
+
/** 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. */
|
|
6474
6692
|
battery?:
|
|
6475
6693
|
| {
|
|
6476
6694
|
level: number
|
|
6477
6695
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
6478
6696
|
}
|
|
6479
6697
|
| undefined
|
|
6698
|
+
/** Manufacturer of the device. */
|
|
6480
6699
|
manufacturer?: string | undefined
|
|
6700
|
+
/** Image URL for the device. */
|
|
6481
6701
|
image_url?: string | undefined
|
|
6702
|
+
/** Alt text for the device image. */
|
|
6482
6703
|
image_alt_text?: string | undefined
|
|
6704
|
+
/** Serial number of the device. */
|
|
6483
6705
|
serial_number?: string | undefined
|
|
6484
|
-
/**
|
|
6706
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
6485
6707
|
online_access_codes_enabled?: boolean | undefined
|
|
6486
|
-
/**
|
|
6708
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
6487
6709
|
offline_access_codes_enabled?: boolean | undefined
|
|
6488
|
-
/** Deprecated:
|
|
6710
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
6489
6711
|
supports_accessory_keypad?: boolean | undefined
|
|
6490
|
-
/** Deprecated:
|
|
6712
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
6491
6713
|
supports_offline_access_codes?: boolean | undefined
|
|
6492
6714
|
} & {
|
|
6493
6715
|
august_metadata?:
|
|
@@ -6993,21 +7215,30 @@ export interface Routes {
|
|
|
6993
7215
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
6994
7216
|
}
|
|
6995
7217
|
))
|
|
7218
|
+
/** Location information for the device. */
|
|
6996
7219
|
location: {
|
|
7220
|
+
/** Name of the device location. */
|
|
6997
7221
|
location_name?: string | undefined
|
|
7222
|
+
/** Time zone of the device location. */
|
|
6998
7223
|
timezone?: string | undefined
|
|
6999
7224
|
} | null
|
|
7225
|
+
/** Unique identifier for the account associated with the device. */
|
|
7000
7226
|
connected_account_id: string
|
|
7227
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
7001
7228
|
workspace_id: string
|
|
7229
|
+
/** 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. */
|
|
7002
7230
|
errors: Array<{
|
|
7003
7231
|
error_code: string
|
|
7004
7232
|
message: string
|
|
7005
7233
|
}>
|
|
7234
|
+
/** 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. */
|
|
7006
7235
|
warnings: Array<{
|
|
7007
7236
|
warning_code: string
|
|
7008
7237
|
message: string
|
|
7009
7238
|
}>
|
|
7239
|
+
/** Date and time at which the device object was created. */
|
|
7010
7240
|
created_at: string
|
|
7241
|
+
/** Indicates whether Seam manages the device. */
|
|
7011
7242
|
is_managed: true
|
|
7012
7243
|
}
|
|
7013
7244
|
}
|
|
@@ -7162,7 +7393,9 @@ export interface Routes {
|
|
|
7162
7393
|
formData: {}
|
|
7163
7394
|
jsonResponse: {
|
|
7164
7395
|
thermostats: Array<{
|
|
7396
|
+
/** Unique identifier for the device. */
|
|
7165
7397
|
device_id: string
|
|
7398
|
+
/** Type of the device. */
|
|
7166
7399
|
device_type:
|
|
7167
7400
|
| (
|
|
7168
7401
|
| 'akuvox_lock'
|
|
@@ -7193,38 +7426,54 @@ export interface Routes {
|
|
|
7193
7426
|
)
|
|
7194
7427
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
7195
7428
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
7429
|
+
/** 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. */
|
|
7196
7430
|
capabilities_supported: Array<
|
|
7197
7431
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
7198
7432
|
>
|
|
7433
|
+
/** Properties of the device. */
|
|
7199
7434
|
properties: ({
|
|
7435
|
+
/** Indicates whether the device is online. */
|
|
7200
7436
|
online: boolean
|
|
7437
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
7201
7438
|
name: string
|
|
7202
7439
|
model: {
|
|
7440
|
+
/** Display name of the device model. */
|
|
7203
7441
|
display_name: string
|
|
7442
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
7204
7443
|
manufacturer_display_name: string
|
|
7444
|
+
/** Indicates whether the device supports offline access codes. */
|
|
7205
7445
|
offline_access_codes_supported?: boolean | undefined
|
|
7446
|
+
/** Indicates whether the device supports online access codes. */
|
|
7206
7447
|
online_access_codes_supported?: boolean | undefined
|
|
7448
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
7207
7449
|
accessory_keypad_supported?: boolean | undefined
|
|
7208
7450
|
}
|
|
7451
|
+
/** Indicates whether the device has direct power. */
|
|
7209
7452
|
has_direct_power?: boolean | undefined
|
|
7453
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
7210
7454
|
battery_level?: number | undefined
|
|
7455
|
+
/** 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. */
|
|
7211
7456
|
battery?:
|
|
7212
7457
|
| {
|
|
7213
7458
|
level: number
|
|
7214
7459
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
7215
7460
|
}
|
|
7216
7461
|
| undefined
|
|
7462
|
+
/** Manufacturer of the device. */
|
|
7217
7463
|
manufacturer?: string | undefined
|
|
7464
|
+
/** Image URL for the device. */
|
|
7218
7465
|
image_url?: string | undefined
|
|
7466
|
+
/** Alt text for the device image. */
|
|
7219
7467
|
image_alt_text?: string | undefined
|
|
7468
|
+
/** Serial number of the device. */
|
|
7220
7469
|
serial_number?: string | undefined
|
|
7221
|
-
/**
|
|
7470
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
7222
7471
|
online_access_codes_enabled?: boolean | undefined
|
|
7223
|
-
/**
|
|
7472
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
7224
7473
|
offline_access_codes_enabled?: boolean | undefined
|
|
7225
|
-
/** Deprecated:
|
|
7474
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
7226
7475
|
supports_accessory_keypad?: boolean | undefined
|
|
7227
|
-
/** Deprecated:
|
|
7476
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
7228
7477
|
supports_offline_access_codes?: boolean | undefined
|
|
7229
7478
|
} & {
|
|
7230
7479
|
august_metadata?:
|
|
@@ -7730,21 +7979,30 @@ export interface Routes {
|
|
|
7730
7979
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
7731
7980
|
}
|
|
7732
7981
|
))
|
|
7982
|
+
/** Location information for the device. */
|
|
7733
7983
|
location: {
|
|
7984
|
+
/** Name of the device location. */
|
|
7734
7985
|
location_name?: string | undefined
|
|
7986
|
+
/** Time zone of the device location. */
|
|
7735
7987
|
timezone?: string | undefined
|
|
7736
7988
|
} | null
|
|
7989
|
+
/** Unique identifier for the account associated with the device. */
|
|
7737
7990
|
connected_account_id: string
|
|
7991
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
7738
7992
|
workspace_id: string
|
|
7993
|
+
/** 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. */
|
|
7739
7994
|
errors: Array<{
|
|
7740
7995
|
error_code: string
|
|
7741
7996
|
message: string
|
|
7742
7997
|
}>
|
|
7998
|
+
/** 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. */
|
|
7743
7999
|
warnings: Array<{
|
|
7744
8000
|
warning_code: string
|
|
7745
8001
|
message: string
|
|
7746
8002
|
}>
|
|
8003
|
+
/** Date and time at which the device object was created. */
|
|
7747
8004
|
created_at: string
|
|
8005
|
+
/** Indicates whether Seam manages the device. */
|
|
7748
8006
|
is_managed: true
|
|
7749
8007
|
}>
|
|
7750
8008
|
}
|
|
@@ -7816,6 +8074,8 @@ export interface Routes {
|
|
|
7816
8074
|
commonParams: {
|
|
7817
8075
|
user_identity_key?: (string | null) | undefined
|
|
7818
8076
|
email_address?: (string | null) | undefined
|
|
8077
|
+
first_name?: (string | null) | undefined
|
|
8078
|
+
last_name?: (string | null) | undefined
|
|
7819
8079
|
}
|
|
7820
8080
|
formData: {}
|
|
7821
8081
|
jsonResponse: {
|
|
@@ -7823,6 +8083,8 @@ export interface Routes {
|
|
|
7823
8083
|
user_identity_id: string
|
|
7824
8084
|
user_identity_key?: (string | null) | undefined
|
|
7825
8085
|
email_address?: (string | null) | undefined
|
|
8086
|
+
first_name?: (string | null) | undefined
|
|
8087
|
+
last_name?: (string | null) | undefined
|
|
7826
8088
|
created_at: string
|
|
7827
8089
|
workspace_id: string
|
|
7828
8090
|
}
|
|
@@ -7846,6 +8108,8 @@ export interface Routes {
|
|
|
7846
8108
|
user_identity_id: string
|
|
7847
8109
|
user_identity_key?: (string | null) | undefined
|
|
7848
8110
|
email_address?: (string | null) | undefined
|
|
8111
|
+
first_name?: (string | null) | undefined
|
|
8112
|
+
last_name?: (string | null) | undefined
|
|
7849
8113
|
created_at: string
|
|
7850
8114
|
workspace_id: string
|
|
7851
8115
|
}
|
|
@@ -7874,7 +8138,9 @@ export interface Routes {
|
|
|
7874
8138
|
formData: {}
|
|
7875
8139
|
jsonResponse: {
|
|
7876
8140
|
accessible_devices: Array<{
|
|
8141
|
+
/** Unique identifier for the device. */
|
|
7877
8142
|
device_id: string
|
|
8143
|
+
/** Type of the device. */
|
|
7878
8144
|
device_type:
|
|
7879
8145
|
| (
|
|
7880
8146
|
| 'akuvox_lock'
|
|
@@ -7905,38 +8171,54 @@ export interface Routes {
|
|
|
7905
8171
|
)
|
|
7906
8172
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
7907
8173
|
| ('ecobee_thermostat' | 'nest_thermostat')
|
|
8174
|
+
/** 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. */
|
|
7908
8175
|
capabilities_supported: Array<
|
|
7909
8176
|
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
|
|
7910
8177
|
>
|
|
8178
|
+
/** Properties of the device. */
|
|
7911
8179
|
properties: ({
|
|
8180
|
+
/** Indicates whether the device is online. */
|
|
7912
8181
|
online: boolean
|
|
8182
|
+
/** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
7913
8183
|
name: string
|
|
7914
8184
|
model: {
|
|
8185
|
+
/** Display name of the device model. */
|
|
7915
8186
|
display_name: string
|
|
8187
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
7916
8188
|
manufacturer_display_name: string
|
|
8189
|
+
/** Indicates whether the device supports offline access codes. */
|
|
7917
8190
|
offline_access_codes_supported?: boolean | undefined
|
|
8191
|
+
/** Indicates whether the device supports online access codes. */
|
|
7918
8192
|
online_access_codes_supported?: boolean | undefined
|
|
8193
|
+
/** Indicates whether the device supports an accessory keypad. */
|
|
7919
8194
|
accessory_keypad_supported?: boolean | undefined
|
|
7920
8195
|
}
|
|
8196
|
+
/** Indicates whether the device has direct power. */
|
|
7921
8197
|
has_direct_power?: boolean | undefined
|
|
8198
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
7922
8199
|
battery_level?: number | undefined
|
|
8200
|
+
/** 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. */
|
|
7923
8201
|
battery?:
|
|
7924
8202
|
| {
|
|
7925
8203
|
level: number
|
|
7926
8204
|
status: 'critical' | 'low' | 'good' | 'full'
|
|
7927
8205
|
}
|
|
7928
8206
|
| undefined
|
|
8207
|
+
/** Manufacturer of the device. */
|
|
7929
8208
|
manufacturer?: string | undefined
|
|
8209
|
+
/** Image URL for the device. */
|
|
7930
8210
|
image_url?: string | undefined
|
|
8211
|
+
/** Alt text for the device image. */
|
|
7931
8212
|
image_alt_text?: string | undefined
|
|
8213
|
+
/** Serial number of the device. */
|
|
7932
8214
|
serial_number?: string | undefined
|
|
7933
|
-
/**
|
|
8215
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
7934
8216
|
online_access_codes_enabled?: boolean | undefined
|
|
7935
|
-
/**
|
|
8217
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
7936
8218
|
offline_access_codes_enabled?: boolean | undefined
|
|
7937
|
-
/** Deprecated:
|
|
8219
|
+
/** Deprecated: Use model.offline_access_codes_enabled. */
|
|
7938
8220
|
supports_accessory_keypad?: boolean | undefined
|
|
7939
|
-
/** Deprecated:
|
|
8221
|
+
/** Deprecated: Use model.accessory_keypad_supported. */
|
|
7940
8222
|
supports_offline_access_codes?: boolean | undefined
|
|
7941
8223
|
} & {
|
|
7942
8224
|
august_metadata?:
|
|
@@ -8442,21 +8724,30 @@ export interface Routes {
|
|
|
8442
8724
|
max_cooling_set_point_fahrenheit?: number | undefined
|
|
8443
8725
|
}
|
|
8444
8726
|
))
|
|
8727
|
+
/** Location information for the device. */
|
|
8445
8728
|
location: {
|
|
8729
|
+
/** Name of the device location. */
|
|
8446
8730
|
location_name?: string | undefined
|
|
8731
|
+
/** Time zone of the device location. */
|
|
8447
8732
|
timezone?: string | undefined
|
|
8448
8733
|
} | null
|
|
8734
|
+
/** Unique identifier for the account associated with the device. */
|
|
8449
8735
|
connected_account_id: string
|
|
8736
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
8450
8737
|
workspace_id: string
|
|
8738
|
+
/** 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. */
|
|
8451
8739
|
errors: Array<{
|
|
8452
8740
|
error_code: string
|
|
8453
8741
|
message: string
|
|
8454
8742
|
}>
|
|
8743
|
+
/** 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. */
|
|
8455
8744
|
warnings: Array<{
|
|
8456
8745
|
warning_code: string
|
|
8457
8746
|
message: string
|
|
8458
8747
|
}>
|
|
8748
|
+
/** Date and time at which the device object was created. */
|
|
8459
8749
|
created_at: string
|
|
8750
|
+
/** Indicates whether Seam manages the device. */
|
|
8460
8751
|
is_managed: true
|
|
8461
8752
|
}>
|
|
8462
8753
|
}
|