Skip to content

Commit 840761a

Browse files
authored
1 parent ab823d6 commit 840761a

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

src/lib/seam/connect/route-types.ts

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,76 @@ export interface Routes {
21122112
}>
21132113
}
21142114
}
2115+
'/devices/unmanaged/get': {
2116+
route: '/devices/unmanaged/get'
2117+
method: 'GET' | 'POST'
2118+
queryParams: {}
2119+
jsonBody: {}
2120+
commonParams: {
2121+
device_id?: string | undefined
2122+
name?: string | undefined
2123+
}
2124+
formData: {}
2125+
jsonResponse: {
2126+
device: {
2127+
device_id: string
2128+
device_type:
2129+
| (
2130+
| 'akuvox_lock'
2131+
| 'august_lock'
2132+
| 'brivo_access_point'
2133+
| 'butterflymx_panel'
2134+
| 'avigilon_alta_entry'
2135+
| 'doorking_lock'
2136+
| 'genie_door'
2137+
| 'igloo_lock'
2138+
| 'linear_lock'
2139+
| 'lockly_lock'
2140+
| 'kwikset_lock'
2141+
| 'nuki_lock'
2142+
| 'salto_lock'
2143+
| 'schlage_lock'
2144+
| 'seam_relay'
2145+
| 'smartthings_lock'
2146+
| 'yale_lock'
2147+
| 'two_n_intercom'
2148+
| 'controlbyweb_device'
2149+
| 'ttlock_lock'
2150+
| 'igloohome_lock'
2151+
| 'hubitat_lock'
2152+
| 'four_suites_door'
2153+
)
2154+
| ('noiseaware_activity_zone' | 'minut_sensor')
2155+
| ('ecobee_thermostat' | 'nest_thermostat')
2156+
connected_account_id: string
2157+
capabilities_supported: Array<
2158+
'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
2159+
>
2160+
workspace_id: string
2161+
errors: Array<{
2162+
error_code: string
2163+
message: string
2164+
}>
2165+
warnings: Array<{
2166+
warning_code: string
2167+
message: string
2168+
}>
2169+
created_at: string
2170+
is_managed: false
2171+
properties: {
2172+
name: string
2173+
online: boolean
2174+
manufacturer?: string | undefined
2175+
image_url?: string | undefined
2176+
image_alt_text?: string | undefined
2177+
model: {
2178+
display_name: string
2179+
manufacturer_display_name: string
2180+
}
2181+
}
2182+
}
2183+
}
2184+
}
21152185
'/devices/unmanaged/list': {
21162186
route: '/devices/unmanaged/list'
21172187
method: 'GET' | 'POST'

0 commit comments

Comments
 (0)