@seamapi/http 2.0.0 → 2.2.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.
Files changed (247) hide show
  1. package/README.md +0 -30
  2. package/lib/seam/connect/api-error-types.js +0 -1
  3. package/lib/seam/connect/api-error-types.js.map +1 -1
  4. package/lib/seam/connect/openapi.d.ts +1 -2
  5. package/lib/seam/connect/openapi.js.map +1 -1
  6. package/lib/seam/connect/resources/access-code.d.ts +743 -56
  7. package/lib/seam/connect/resources/access-grant.d.ts +279 -10
  8. package/lib/seam/connect/resources/access-method.d.ts +204 -8
  9. package/lib/seam/connect/resources/acs-access-group.d.ts +242 -9
  10. package/lib/seam/connect/resources/acs-credential.d.ts +212 -6
  11. package/lib/seam/connect/resources/acs-encoder.d.ts +46 -0
  12. package/lib/seam/connect/resources/acs-entrance.d.ts +298 -5
  13. package/lib/seam/connect/resources/acs-system.d.ts +227 -11
  14. package/lib/seam/connect/resources/acs-user.d.ts +388 -19
  15. package/lib/seam/connect/resources/action-attempt.d.ts +954 -0
  16. package/lib/seam/connect/resources/batch.d.ts +3 -0
  17. package/lib/seam/connect/resources/client-session.d.ts +48 -0
  18. package/lib/seam/connect/resources/connect-webview.d.ts +70 -0
  19. package/lib/seam/connect/resources/connected-account.d.ts +281 -12
  20. package/lib/seam/connect/resources/customer-portal.d.ts +22 -0
  21. package/lib/seam/connect/resources/device-provider.d.ts +72 -0
  22. package/lib/seam/connect/resources/device.d.ts +2063 -41
  23. package/lib/seam/connect/resources/event.d.ts +4014 -0
  24. package/lib/seam/connect/resources/instant-key.d.ts +41 -0
  25. package/lib/seam/connect/resources/noise-threshold.d.ts +24 -0
  26. package/lib/seam/connect/resources/phone.d.ts +72 -0
  27. package/lib/seam/connect/resources/space.d.ts +54 -0
  28. package/lib/seam/connect/resources/thermostat-daily-program.d.ts +27 -0
  29. package/lib/seam/connect/resources/thermostat-schedule.d.ts +45 -0
  30. package/lib/seam/connect/resources/unmanaged-access-code.d.ts +602 -50
  31. package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +267 -10
  32. package/lib/seam/connect/resources/unmanaged-access-method.d.ts +195 -8
  33. package/lib/seam/connect/resources/unmanaged-device.d.ts +810 -120
  34. package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +79 -3
  35. package/lib/seam/connect/resources/user-identity.d.ts +82 -3
  36. package/lib/seam/connect/resources/webhook.d.ts +15 -0
  37. package/lib/seam/connect/resources/workspace.d.ts +45 -0
  38. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +288 -0
  39. package/lib/seam/connect/routes/access-codes/access-codes.js +60 -0
  40. package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
  41. package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +12 -0
  42. package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -0
  43. package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
  44. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +72 -0
  45. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +21 -0
  46. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
  47. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +177 -0
  48. package/lib/seam/connect/routes/access-grants/access-grants.js +21 -0
  49. package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
  50. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +43 -0
  51. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +13 -0
  52. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -1
  53. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +78 -0
  54. package/lib/seam/connect/routes/access-methods/access-methods.js +21 -0
  55. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  56. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +21 -0
  57. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +6 -0
  58. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -1
  59. package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +63 -0
  60. package/lib/seam/connect/routes/acs/access-groups/access-groups.js +21 -0
  61. package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
  62. package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +126 -0
  63. package/lib/seam/connect/routes/acs/credentials/credentials.js +24 -0
  64. package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
  65. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +66 -0
  66. package/lib/seam/connect/routes/acs/encoders/encoders.js +15 -0
  67. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
  68. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +39 -0
  69. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -0
  70. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
  71. package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +72 -0
  72. package/lib/seam/connect/routes/acs/entrances/entrances.js +15 -0
  73. package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
  74. package/lib/seam/connect/routes/acs/systems/systems.d.ts +64 -0
  75. package/lib/seam/connect/routes/acs/systems/systems.js +16 -0
  76. package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
  77. package/lib/seam/connect/routes/acs/users/users.d.ts +189 -0
  78. package/lib/seam/connect/routes/acs/users/users.js +33 -0
  79. package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
  80. package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -0
  81. package/lib/seam/connect/routes/action-attempts/action-attempts.js +6 -0
  82. package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
  83. package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +113 -0
  84. package/lib/seam/connect/routes/client-sessions/client-sessions.js +23 -0
  85. package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
  86. package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +76 -0
  87. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +22 -0
  88. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
  89. package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +70 -0
  90. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +19 -0
  91. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
  92. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +6 -0
  93. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +3 -0
  94. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +1 -1
  95. package/lib/seam/connect/routes/customers/customers.d.ts +1042 -0
  96. package/lib/seam/connect/routes/customers/customers.js +10 -0
  97. package/lib/seam/connect/routes/customers/customers.js.map +1 -1
  98. package/lib/seam/connect/routes/devices/devices.d.ts +122 -0
  99. package/lib/seam/connect/routes/devices/devices.js +23 -0
  100. package/lib/seam/connect/routes/devices/devices.js.map +1 -1
  101. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +42 -0
  102. package/lib/seam/connect/routes/devices/simulate/simulate.js +27 -0
  103. package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
  104. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +80 -0
  105. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +17 -0
  106. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
  107. package/lib/seam/connect/routes/events/events.d.ts +99 -0
  108. package/lib/seam/connect/routes/events/events.js +6 -0
  109. package/lib/seam/connect/routes/events/events.js.map +1 -1
  110. package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +21 -0
  111. package/lib/seam/connect/routes/instant-keys/instant-keys.js +9 -0
  112. package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
  113. package/lib/seam/connect/routes/locks/locks.d.ts +85 -0
  114. package/lib/seam/connect/routes/locks/locks.js +16 -0
  115. package/lib/seam/connect/routes/locks/locks.js.map +1 -1
  116. package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +15 -0
  117. package/lib/seam/connect/routes/locks/simulate/simulate.js +6 -0
  118. package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
  119. package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +51 -0
  120. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -0
  121. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
  122. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +66 -0
  123. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -0
  124. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
  125. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +6 -0
  126. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -0
  127. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
  128. package/lib/seam/connect/routes/phones/phones.d.ts +21 -0
  129. package/lib/seam/connect/routes/phones/phones.js +9 -0
  130. package/lib/seam/connect/routes/phones/phones.js.map +1 -1
  131. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +45 -0
  132. package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -0
  133. package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
  134. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +6 -0
  135. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +6 -0
  136. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
  137. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +696 -0
  138. package/lib/seam/connect/routes/seam-http-endpoints.js +696 -0
  139. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  140. package/lib/seam/connect/routes/spaces/spaces.d.ts +165 -0
  141. package/lib/seam/connect/routes/spaces/spaces.js +36 -0
  142. package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
  143. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +42 -0
  144. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +9 -0
  145. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
  146. package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +69 -0
  147. package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -0
  148. package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
  149. package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +33 -0
  150. package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -0
  151. package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
  152. package/lib/seam/connect/routes/thermostats/thermostats.d.ts +300 -0
  153. package/lib/seam/connect/routes/thermostats/thermostats.js +42 -0
  154. package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
  155. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +35 -0
  156. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +11 -0
  157. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -1
  158. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +145 -0
  159. package/lib/seam/connect/routes/user-identities/user-identities.js +46 -0
  160. package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
  161. package/lib/seam/connect/routes/webhooks/webhooks.d.ts +33 -0
  162. package/lib/seam/connect/routes/webhooks/webhooks.js +15 -0
  163. package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
  164. package/lib/seam/connect/routes/workspaces/workspaces.d.ts +88 -0
  165. package/lib/seam/connect/routes/workspaces/workspaces.js +15 -0
  166. package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
  167. package/lib/version.d.ts +1 -1
  168. package/lib/version.js +1 -1
  169. package/package.json +1 -9
  170. package/src/lib/seam/connect/api-error-types.ts +0 -2
  171. package/src/lib/seam/connect/openapi.ts +2 -4
  172. package/src/lib/seam/connect/resources/access-code.ts +719 -35
  173. package/src/lib/seam/connect/resources/access-grant.ts +284 -16
  174. package/src/lib/seam/connect/resources/access-method.ts +205 -10
  175. package/src/lib/seam/connect/resources/acs-access-group.ts +247 -14
  176. package/src/lib/seam/connect/resources/acs-credential.ts +210 -5
  177. package/src/lib/seam/connect/resources/acs-encoder.ts +46 -0
  178. package/src/lib/seam/connect/resources/acs-entrance.ts +296 -4
  179. package/src/lib/seam/connect/resources/acs-system.ts +223 -9
  180. package/src/lib/seam/connect/resources/acs-user.ts +382 -16
  181. package/src/lib/seam/connect/resources/action-attempt.ts +956 -0
  182. package/src/lib/seam/connect/resources/batch.ts +3 -0
  183. package/src/lib/seam/connect/resources/client-session.ts +48 -0
  184. package/src/lib/seam/connect/resources/connect-webview.ts +70 -0
  185. package/src/lib/seam/connect/resources/connected-account.ts +277 -10
  186. package/src/lib/seam/connect/resources/customer-portal.ts +22 -0
  187. package/src/lib/seam/connect/resources/device-provider.ts +72 -0
  188. package/src/lib/seam/connect/resources/device.ts +2059 -39
  189. package/src/lib/seam/connect/resources/event.ts +4015 -0
  190. package/src/lib/seam/connect/resources/instant-key.ts +41 -0
  191. package/src/lib/seam/connect/resources/noise-threshold.ts +24 -0
  192. package/src/lib/seam/connect/resources/phone.ts +72 -0
  193. package/src/lib/seam/connect/resources/space.ts +54 -0
  194. package/src/lib/seam/connect/resources/thermostat-daily-program.ts +27 -0
  195. package/src/lib/seam/connect/resources/thermostat-schedule.ts +45 -0
  196. package/src/lib/seam/connect/resources/unmanaged-access-code.ts +580 -30
  197. package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +272 -16
  198. package/src/lib/seam/connect/resources/unmanaged-access-method.ts +196 -10
  199. package/src/lib/seam/connect/resources/unmanaged-device.ts +727 -39
  200. package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +84 -8
  201. package/src/lib/seam/connect/resources/user-identity.ts +87 -8
  202. package/src/lib/seam/connect/resources/webhook.ts +15 -0
  203. package/src/lib/seam/connect/resources/workspace.ts +46 -0
  204. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +291 -0
  205. package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +12 -0
  206. package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +73 -0
  207. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +180 -0
  208. package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +43 -0
  209. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +79 -0
  210. package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +21 -0
  211. package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +63 -0
  212. package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +133 -0
  213. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +66 -0
  214. package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +40 -0
  215. package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +72 -0
  216. package/src/lib/seam/connect/routes/acs/systems/systems.ts +64 -0
  217. package/src/lib/seam/connect/routes/acs/users/users.ts +189 -0
  218. package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +21 -0
  219. package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +113 -0
  220. package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +76 -0
  221. package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +70 -0
  222. package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +6 -0
  223. package/src/lib/seam/connect/routes/customers/customers.ts +1058 -0
  224. package/src/lib/seam/connect/routes/devices/devices.ts +123 -0
  225. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +42 -0
  226. package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +80 -0
  227. package/src/lib/seam/connect/routes/events/events.ts +99 -0
  228. package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +21 -0
  229. package/src/lib/seam/connect/routes/locks/locks.ts +85 -0
  230. package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +15 -0
  231. package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +51 -0
  232. package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +66 -0
  233. package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +6 -0
  234. package/src/lib/seam/connect/routes/phones/phones.ts +21 -0
  235. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +45 -0
  236. package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +6 -0
  237. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +696 -0
  238. package/src/lib/seam/connect/routes/spaces/spaces.ts +166 -0
  239. package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +42 -0
  240. package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +69 -0
  241. package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +33 -0
  242. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +300 -0
  243. package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +35 -0
  244. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +146 -0
  245. package/src/lib/seam/connect/routes/webhooks/webhooks.ts +33 -0
  246. package/src/lib/seam/connect/routes/workspaces/workspaces.ts +88 -0
  247. package/src/lib/version.ts +1 -1
@@ -1,763 +1,2785 @@
1
+ /**
2
+ * Represents a [device](https://docs.seam.co/core-concepts/devices) that has been connected to Seam.
3
+ */
1
4
  export type Device = {
5
+ /**
6
+ * Indicates whether the lock supports configuring automatic locking.
7
+ */
2
8
  can_configure_auto_lock?: boolean | undefined;
9
+ /**
10
+ * Indicates whether the thermostat supports cooling.
11
+ */
3
12
  can_hvac_cool?: boolean | undefined;
13
+ /**
14
+ * Indicates whether the thermostat supports heating.
15
+ */
4
16
  can_hvac_heat?: boolean | undefined;
17
+ /**
18
+ * Indicates whether the thermostat supports simultaneous heating and cooling.
19
+ */
5
20
  can_hvac_heat_cool?: boolean | undefined;
21
+ /**
22
+ * Indicates whether the device supports programming offline access codes.
23
+ */
6
24
  can_program_offline_access_codes?: boolean | undefined;
25
+ /**
26
+ * Indicates whether the device supports programming online access codes.
27
+ */
7
28
  can_program_online_access_codes?: boolean | undefined;
29
+ /**
30
+ * Indicates whether the thermostat supports different climate programs for each day of the week.
31
+ */
8
32
  can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
33
+ /**
34
+ * Indicates whether the thermostat supports a single climate program applied to every day.
35
+ */
9
36
  can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
37
+ /**
38
+ * Indicates whether the thermostat supports weekday/weekend climate programs.
39
+ */
10
40
  can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
41
+ /**
42
+ * Indicates whether the device supports remote locking.
43
+ */
11
44
  can_remotely_lock?: boolean | undefined;
45
+ /**
46
+ * Indicates whether the device supports remote unlocking.
47
+ */
12
48
  can_remotely_unlock?: boolean | undefined;
49
+ /**
50
+ * Indicates whether the thermostat supports running climate programs.
51
+ */
13
52
  can_run_thermostat_programs?: boolean | undefined;
53
+ /**
54
+ * Indicates whether the device supports simulating connection in a sandbox.
55
+ */
14
56
  can_simulate_connection?: boolean | undefined;
57
+ /**
58
+ * Indicates whether the device supports simulating disconnection in a sandbox.
59
+ */
15
60
  can_simulate_disconnection?: boolean | undefined;
61
+ /**
62
+ * Indicates whether the hub supports simulating connection in a sandbox.
63
+ */
16
64
  can_simulate_hub_connection?: boolean | undefined;
65
+ /**
66
+ * Indicates whether the hub supports simulating disconnection in a sandbox.
67
+ */
17
68
  can_simulate_hub_disconnection?: boolean | undefined;
69
+ /**
70
+ * Indicates whether the device supports simulating a paid subscription in a sandbox.
71
+ */
18
72
  can_simulate_paid_subscription?: boolean | undefined;
73
+ /**
74
+ * Indicates whether the device supports simulating removal in a sandbox.
75
+ */
19
76
  can_simulate_removal?: boolean | undefined;
77
+ /**
78
+ * Indicates whether the thermostat can be turned off.
79
+ */
20
80
  can_turn_off_hvac?: boolean | undefined;
81
+ /**
82
+ * Indicates whether the lock supports unlocking with an access code.
83
+ */
21
84
  can_unlock_with_code?: boolean | undefined;
85
+ /**
86
+ * 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; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/capability-guides/device-and-system-capabilities#capability-flags).
87
+ */
22
88
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
89
+ /**
90
+ * Unique identifier for the account associated with the device.
91
+ */
23
92
  connected_account_id: string;
93
+ /**
94
+ * Date and time at which the device object was created.
95
+ */
24
96
  created_at: string;
97
+ /**
98
+ * Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.
99
+ */
25
100
  custom_metadata: Record<string, unknown>;
101
+ /**
102
+ * ID of the device.
103
+ */
26
104
  device_id: string;
105
+ /**
106
+ * Manufacturer of the device. Represents the hardware brand, which may differ from the provider.
107
+ */
27
108
  device_manufacturer?: {
109
+ /**
110
+ * Display name for the manufacturer, such as `August`, `Yale`, `Salto`, and so on.
111
+ */
28
112
  display_name: string;
113
+ /**
114
+ * Image URL for the manufacturer logo.
115
+ */
29
116
  image_url?: string | undefined;
117
+ /**
118
+ * Manufacturer identifier, such as `august`, `yale`, `salto`, and so on.
119
+ */
30
120
  manufacturer: string;
31
121
  } | undefined;
122
+ /**
123
+ * Provider of the device. Represents the third-party service through which the device is controlled.
124
+ */
32
125
  device_provider?: {
126
+ /**
127
+ * Device provider name. Corresponds to the integration type, such as `august`, `schlage`, `yale_access`, and so on.
128
+ */
33
129
  device_provider_name: string;
130
+ /**
131
+ * Display name for the device provider type.
132
+ */
34
133
  display_name: string;
134
+ /**
135
+ * Image URL for the device provider.
136
+ */
35
137
  image_url?: string | undefined;
138
+ /**
139
+ * Provider category. Indicates the third-party provider type, such as `stable`, for stable integrations, or `internal`, for internal integrations.
140
+ */
36
141
  provider_category: string;
37
142
  } | undefined;
143
+ /**
144
+ * Type of the device.
145
+ */
38
146
  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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'keynest_key' | 'noiseaware_activity_zone' | 'minut_sensor' | 'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat' | 'ios_phone' | 'android_phone' | 'ring_camera';
147
+ /**
148
+ * Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.
149
+ */
39
150
  display_name: string;
40
- errors: Array<{
151
+ /**
152
+ * 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.
153
+ */
154
+ errors: Array<
155
+ /**
156
+ * Indicates that the account is disconnected.
157
+ */
158
+ {
159
+ /**
160
+ * Date and time at which Seam created the error.
161
+ */
41
162
  created_at: string;
163
+ /**
164
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
165
+ */
42
166
  error_code: 'account_disconnected';
167
+ /**
168
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
169
+ */
43
170
  is_connected_account_error: boolean;
171
+ /**
172
+ * Indicates that the error is not a device error.
173
+ */
44
174
  is_device_error: boolean;
175
+ /**
176
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
177
+ */
45
178
  message: string;
46
- } | {
179
+ } /**
180
+ * Indicates that the Salto site user limit has been reached.
181
+ */ | {
182
+ /**
183
+ * Date and time at which Seam created the error.
184
+ */
47
185
  created_at: string;
186
+ /**
187
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
188
+ */
48
189
  error_code: 'salto_ks_subscription_limit_exceeded';
190
+ /**
191
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
192
+ */
49
193
  is_connected_account_error: boolean;
194
+ /**
195
+ * Indicates that the error is not a device error.
196
+ */
50
197
  is_device_error: boolean;
198
+ /**
199
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
200
+ */
51
201
  message: string;
52
- } | {
202
+ } /**
203
+ * Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.
204
+ */ | {
205
+ /**
206
+ * Date and time at which Seam created the error.
207
+ */
53
208
  created_at: string;
209
+ /**
210
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
211
+ */
54
212
  error_code: 'dormakaba_sites_disconnected';
213
+ /**
214
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
215
+ */
55
216
  is_connected_account_error: boolean;
217
+ /**
218
+ * Indicates that the error is not a device error.
219
+ */
56
220
  is_device_error: boolean;
221
+ /**
222
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
223
+ */
57
224
  message: string;
58
- } | {
225
+ } /**
226
+ * Indicates that the device is offline.
227
+ */ | {
228
+ /**
229
+ * Date and time at which Seam created the error.
230
+ */
59
231
  created_at: string;
232
+ /**
233
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
234
+ */
60
235
  error_code: 'device_offline';
236
+ /**
237
+ * Indicates that the error is a device error.
238
+ */
61
239
  is_device_error: boolean;
240
+ /**
241
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
242
+ */
62
243
  message: string;
63
- } | {
244
+ } /**
245
+ * Indicates that the device has been removed.
246
+ */ | {
247
+ /**
248
+ * Date and time at which Seam created the error.
249
+ */
64
250
  created_at: string;
251
+ /**
252
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
253
+ */
65
254
  error_code: 'device_removed';
255
+ /**
256
+ * Indicates that the error is a device error.
257
+ */
66
258
  is_device_error: boolean;
259
+ /**
260
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
261
+ */
67
262
  message: string;
68
- } | {
263
+ } /**
264
+ * Indicates that the hub is disconnected.
265
+ */ | {
266
+ /**
267
+ * Date and time at which Seam created the error.
268
+ */
69
269
  created_at: string;
270
+ /**
271
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
272
+ */
70
273
  error_code: 'hub_disconnected';
274
+ /**
275
+ * Indicates that the error is a device error.
276
+ */
71
277
  is_device_error: boolean;
278
+ /**
279
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
280
+ */
72
281
  message: string;
73
- } | {
282
+ } /**
283
+ * Indicates that the device is disconnected.
284
+ */ | {
285
+ /**
286
+ * Date and time at which Seam created the error.
287
+ */
74
288
  created_at: string;
289
+ /**
290
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
291
+ */
75
292
  error_code: 'device_disconnected';
293
+ /**
294
+ * Indicates that the error is a device error.
295
+ */
76
296
  is_device_error: boolean;
297
+ /**
298
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
299
+ */
77
300
  message: string;
78
- } | {
301
+ } /**
302
+ * Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.
303
+ */ | {
304
+ /**
305
+ * Date and time at which Seam created the error.
306
+ */
79
307
  created_at: string;
308
+ /**
309
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
310
+ */
80
311
  error_code: 'empty_backup_access_code_pool';
312
+ /**
313
+ * Indicates that the error is a device error.
314
+ */
81
315
  is_device_error: boolean;
316
+ /**
317
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
318
+ */
82
319
  message: string;
83
- } | {
320
+ } /**
321
+ * Indicates that the user is not authorized to use the August lock.
322
+ */ | {
323
+ /**
324
+ * Date and time at which Seam created the error.
325
+ */
84
326
  created_at: string;
327
+ /**
328
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
329
+ */
85
330
  error_code: 'august_lock_not_authorized';
331
+ /**
332
+ * Indicates that the error is a device error.
333
+ */
86
334
  is_device_error: boolean;
335
+ /**
336
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
337
+ */
87
338
  message: string;
88
- } | {
339
+ } /**
340
+ * Indicates that device credentials are missing.
341
+ */ | {
342
+ /**
343
+ * Date and time at which Seam created the error.
344
+ */
89
345
  created_at: string;
346
+ /**
347
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
348
+ */
90
349
  error_code: 'missing_device_credentials';
350
+ /**
351
+ * Indicates that the error is a device error.
352
+ */
91
353
  is_device_error: boolean;
354
+ /**
355
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
356
+ */
92
357
  message: string;
93
- } | {
358
+ } /**
359
+ * Indicates that the auxiliary heat is running.
360
+ */ | {
361
+ /**
362
+ * Date and time at which Seam created the error.
363
+ */
94
364
  created_at: string;
365
+ /**
366
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
367
+ */
95
368
  error_code: 'auxiliary_heat_running';
369
+ /**
370
+ * Indicates that the error is a device error.
371
+ */
96
372
  is_device_error: boolean;
373
+ /**
374
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
375
+ */
97
376
  message: string;
98
- } | {
377
+ } /**
378
+ * Indicates that a subscription is required to connect.
379
+ */ | {
380
+ /**
381
+ * Date and time at which Seam created the error.
382
+ */
99
383
  created_at: string;
384
+ /**
385
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
386
+ */
100
387
  error_code: 'subscription_required';
388
+ /**
389
+ * Indicates that the error is a device error.
390
+ */
101
391
  is_device_error: boolean;
392
+ /**
393
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
394
+ */
102
395
  message: string;
103
- } | {
396
+ } /**
397
+ * Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system-errors-seam_bridge_disconnected).
398
+ */ | {
399
+ /**
400
+ * Date and time at which Seam created the error.
401
+ */
104
402
  created_at: string;
403
+ /**
404
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
405
+ */
105
406
  error_code: 'bridge_disconnected';
407
+ /**
408
+ * Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).
409
+ */
106
410
  is_bridge_error?: boolean | undefined;
411
+ /**
412
+ * Indicates whether the error is related specifically to the connected account.
413
+ */
107
414
  is_connected_account_error?: boolean | undefined;
415
+ /**
416
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
417
+ */
108
418
  message: string;
109
419
  }>;
420
+ /**
421
+ * Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
422
+ */
110
423
  is_managed: boolean;
424
+ /**
425
+ * Location information for the device.
426
+ */
111
427
  location?: {
428
+ /**
429
+ * Name of the device location.
430
+ */
112
431
  location_name?: string | undefined;
432
+ /**
433
+ * Time zone of the device location.
434
+ */
113
435
  time_zone?: string | undefined;
436
+ /**
437
+ * Time zone of the device location.
438
+ * @deprecated Use `time_zone` instead.
439
+ */
114
440
  timezone?: string | undefined;
115
441
  } | undefined;
442
+ /**
443
+ * Optional nickname to describe the device, settable through Seam.
444
+ */
116
445
  nickname?: string | undefined;
446
+ /**
447
+ * Properties of the device.
448
+ */
117
449
  properties: {
450
+ /**
451
+ * Accessory keypad properties and state.
452
+ */
118
453
  accessory_keypad?: {
454
+ /**
455
+ * Keypad battery properties.
456
+ */
119
457
  battery?: {
120
458
  level: number;
121
459
  } | undefined;
460
+ /**
461
+ * Indicates if an accessory keypad is connected to the device.
462
+ */
122
463
  is_connected: boolean;
123
464
  } | undefined;
465
+ /**
466
+ * Appearance-related properties, as reported by the device.
467
+ */
124
468
  appearance: {
469
+ /**
470
+ * Name of the device as seen from the provider API and application, not settable through Seam.
471
+ */
125
472
  name: string;
126
473
  };
474
+ /**
475
+ * Represents the current status of the battery charge level.
476
+ */
127
477
  battery?: {
478
+ /**
479
+ * Battery charge level as a value between 0 and 1, inclusive.
480
+ */
128
481
  level: number;
482
+ /**
483
+ * 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.
484
+ */
129
485
  status: 'critical' | 'low' | 'good' | 'full';
130
486
  } | undefined;
487
+ /**
488
+ * Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.
489
+ */
131
490
  battery_level?: number | undefined;
491
+ /**
492
+ * Array of noise threshold IDs that are currently triggering.
493
+ */
132
494
  currently_triggering_noise_threshold_ids?: Array<string> | undefined;
495
+ /**
496
+ * Indicates whether the device has direct power.
497
+ */
133
498
  has_direct_power?: boolean | undefined;
499
+ /**
500
+ * Alt text for the device image.
501
+ */
134
502
  image_alt_text?: string | undefined;
503
+ /**
504
+ * Image URL for the device.
505
+ */
135
506
  image_url?: string | undefined;
507
+ /**
508
+ * Manufacturer of the device. When a device, such as a smart lock, is connected through a smart hub, the manufacturer of the device might be different from that of the smart hub.
509
+ */
136
510
  manufacturer?: string | undefined;
511
+ /**
512
+ * Device model-related properties.
513
+ */
137
514
  model: {
515
+ /**
516
+ * @deprecated use device.properties.model.can_connect_accessory_keypad
517
+ */
138
518
  accessory_keypad_supported?: boolean | undefined;
519
+ /**
520
+ * Indicates whether the device can connect a accessory keypad.
521
+ */
139
522
  can_connect_accessory_keypad?: boolean | undefined;
523
+ /**
524
+ * Display name of the device model.
525
+ */
140
526
  display_name: string;
527
+ /**
528
+ * Indicates whether the device has a built in accessory keypad.
529
+ */
141
530
  has_built_in_keypad?: boolean | undefined;
531
+ /**
532
+ * Display name that corresponds to the manufacturer-specific terminology for the device.
533
+ */
142
534
  manufacturer_display_name: string;
535
+ /**
536
+ * @deprecated use device.can_program_offline_access_codes.
537
+ */
143
538
  offline_access_codes_supported?: boolean | undefined;
539
+ /**
540
+ * @deprecated use device.can_program_online_access_codes.
541
+ */
144
542
  online_access_codes_supported?: boolean | undefined;
145
543
  };
544
+ /**
545
+ * Name of the device.
546
+ * @deprecated use device.display_name instead
547
+ */
146
548
  name: string;
549
+ /**
550
+ * Indicates current noise level in decibels, if the device supports noise detection.
551
+ */
147
552
  noise_level_decibels?: number | undefined;
553
+ /**
554
+ * Indicates whether it is currently possible to use offline access codes for the device.
555
+ * @deprecated use device.can_program_offline_access_codes
556
+ */
148
557
  offline_access_codes_enabled?: boolean | undefined;
558
+ /**
559
+ * Indicates whether the device is online.
560
+ */
149
561
  online: boolean;
562
+ /**
563
+ * Indicates whether it is currently possible to use online access codes for the device.
564
+ * @deprecated use device.can_program_online_access_codes
565
+ */
150
566
  online_access_codes_enabled?: boolean | undefined;
567
+ /**
568
+ * Serial number of the device.
569
+ */
151
570
  serial_number?: string | undefined;
571
+ /**
572
+ * @deprecated use device.properties.model.can_connect_accessory_keypad
573
+ */
152
574
  supports_accessory_keypad?: boolean | undefined;
575
+ /**
576
+ * @deprecated use offline_access_codes_enabled
577
+ */
153
578
  supports_offline_access_codes?: boolean | undefined;
579
+ /**
580
+ * ASSA ABLOY Credential Service metadata for the phone.
581
+ */
154
582
  assa_abloy_credential_service_metadata?: {
583
+ /**
584
+ * Endpoints associated with the phone.
585
+ */
155
586
  endpoints?: Array<{
587
+ /**
588
+ * ID of the associated endpoint.
589
+ */
156
590
  endpoint_id?: string | undefined;
591
+ /**
592
+ * Indicated whether the endpoint is active.
593
+ */
157
594
  is_active?: boolean | undefined;
158
595
  }> | undefined;
596
+ /**
597
+ * Indicates whether the credential service has active endpoints associated with the phone.
598
+ */
159
599
  has_active_endpoint?: boolean | undefined;
160
600
  } | undefined;
601
+ /**
602
+ * Salto Space credential service metadata for the phone.
603
+ */
161
604
  salto_space_credential_service_metadata?: {
605
+ /**
606
+ * Indicates whether the credential service has an active associated phone.
607
+ */
162
608
  has_active_phone?: boolean | undefined;
163
609
  } | undefined;
610
+ /**
611
+ * Metadata for an Akiles device.
612
+ */
164
613
  akiles_metadata?: {
614
+ /**
615
+ * Group ID to which to add users for an Akiles device.
616
+ */
165
617
  _member_group_id?: string | undefined;
618
+ /**
619
+ * Gadget ID for an Akiles device.
620
+ */
166
621
  gadget_id?: string | undefined;
622
+ /**
623
+ * Gadget name for an Akiles device.
624
+ */
167
625
  gadget_name?: string | undefined;
626
+ /**
627
+ * Product name for an Akiles device.
628
+ */
168
629
  product_name?: string | undefined;
169
630
  } | undefined;
631
+ /**
632
+ * Metadata for an Aqara device.
633
+ */
170
634
  aqara_metadata?: {
635
+ /**
636
+ * Device name for an Aqara device.
637
+ */
171
638
  device_name?: string | undefined;
639
+ /**
640
+ * Device ID (did) for an Aqara device.
641
+ */
172
642
  did?: string | undefined;
643
+ /**
644
+ * Firmware version for an Aqara device.
645
+ */
173
646
  firmware_version?: string | null | undefined;
647
+ /**
648
+ * Model identifier for an Aqara device.
649
+ */
174
650
  model?: string | undefined;
651
+ /**
652
+ * Model type for an Aqara device.
653
+ */
175
654
  model_type?: number | undefined;
655
+ /**
656
+ * Parent gateway device ID for an Aqara device.
657
+ */
176
658
  parent_did?: string | undefined;
659
+ /**
660
+ * Position (room) ID for an Aqara device.
661
+ */
177
662
  position_id?: string | null | undefined;
663
+ /**
664
+ * Time zone reported for an Aqara device (e.g. GMT-07:00).
665
+ */
178
666
  time_zone?: string | null | undefined;
179
667
  } | undefined;
668
+ /**
669
+ * Metadata for an ASSA ABLOY Vostio system.
670
+ */
180
671
  assa_abloy_vostio_metadata?: {
672
+ /**
673
+ * Encoder name for an ASSA ABLOY Vostio system.
674
+ */
181
675
  encoder_name?: string | undefined;
182
676
  } | undefined;
677
+ /**
678
+ * Metadata for an August device.
679
+ */
183
680
  august_metadata?: {
681
+ /**
682
+ * Indicates whether an August device has a keypad.
683
+ */
184
684
  has_keypad?: boolean | undefined;
685
+ /**
686
+ * House ID for an August device.
687
+ */
185
688
  house_id?: string | undefined;
689
+ /**
690
+ * House name for an August device.
691
+ */
186
692
  house_name?: string | undefined;
693
+ /**
694
+ * Keypad battery level for an August device.
695
+ */
187
696
  keypad_battery_level?: string | undefined;
697
+ /**
698
+ * Lock ID for an August device.
699
+ */
188
700
  lock_id?: string | undefined;
701
+ /**
702
+ * Lock name for an August device.
703
+ */
189
704
  lock_name?: string | undefined;
705
+ /**
706
+ * Model for an August device.
707
+ */
190
708
  model?: string | undefined;
191
709
  } | undefined;
710
+ /**
711
+ * Metadata for an Avigilon Alta system.
712
+ */
192
713
  avigilon_alta_metadata?: {
714
+ /**
715
+ * Entry name for an Avigilon Alta system.
716
+ */
193
717
  entry_name?: string | undefined;
718
+ /**
719
+ * Total count of entry relays for an Avigilon Alta system.
720
+ */
194
721
  entry_relays_total_count?: number | undefined;
722
+ /**
723
+ * Organization name for an Avigilon Alta system.
724
+ */
195
725
  org_name?: string | undefined;
726
+ /**
727
+ * Site ID for an Avigilon Alta system.
728
+ */
196
729
  site_id?: number | undefined;
730
+ /**
731
+ * Site name for an Avigilon Alta system.
732
+ */
197
733
  site_name?: string | undefined;
734
+ /**
735
+ * Zone ID for an Avigilon Alta system.
736
+ */
198
737
  zone_id?: number | undefined;
738
+ /**
739
+ * Zone name for an Avigilon Alta system.
740
+ */
199
741
  zone_name?: string | undefined;
200
742
  } | undefined;
743
+ /**
744
+ * Metadata for a Brivo device.
745
+ */
201
746
  brivo_metadata?: {
747
+ /**
748
+ * Indicates whether the Brivo access point has activation (remote unlock) enabled.
749
+ */
202
750
  activation_enabled?: boolean | undefined;
751
+ /**
752
+ * Device name for a Brivo device.
753
+ */
203
754
  device_name?: string | undefined;
204
755
  } | undefined;
756
+ /**
757
+ * Metadata for a ControlByWeb device.
758
+ */
205
759
  controlbyweb_metadata?: {
760
+ /**
761
+ * Device ID for a ControlByWeb device.
762
+ */
206
763
  device_id?: string | undefined;
764
+ /**
765
+ * Device name for a ControlByWeb device.
766
+ */
207
767
  device_name?: string | undefined;
768
+ /**
769
+ * Relay name for a ControlByWeb device.
770
+ */
208
771
  relay_name?: string | null | undefined;
209
772
  } | undefined;
773
+ /**
774
+ * Metadata for a dormakaba Oracode device.
775
+ */
210
776
  dormakaba_oracode_metadata?: {
777
+ /**
778
+ * Device ID for a dormakaba Oracode device.
779
+ */
211
780
  device_id?: {} | undefined;
781
+ /**
782
+ * Door ID for a dormakaba Oracode device.
783
+ */
212
784
  door_id?: number | undefined;
785
+ /**
786
+ * Indicates whether a door is wireless for a dormakaba Oracode device.
787
+ */
213
788
  door_is_wireless?: boolean | undefined;
789
+ /**
790
+ * Door name for a dormakaba Oracode device.
791
+ */
214
792
  door_name?: string | undefined;
793
+ /**
794
+ * IANA time zone for a dormakaba Oracode device.
795
+ */
215
796
  iana_timezone?: string | undefined;
797
+ /**
798
+ * Predefined time slots for a dormakaba Oracode device.
799
+ */
216
800
  predefined_time_slots?: Array<{
801
+ /**
802
+ * Check in time for a time slot for a dormakaba Oracode device.
803
+ */
217
804
  check_in_time?: string | undefined;
805
+ /**
806
+ * Checkout time for a time slot for a dormakaba Oracode device.
807
+ */
218
808
  check_out_time?: string | undefined;
809
+ /**
810
+ * ID of a user level for a dormakaba Oracode device.
811
+ */
219
812
  dormakaba_oracode_user_level_id?: string | undefined;
813
+ /**
814
+ * Prefix for a user level for a dormakaba Oracode device.
815
+ */
220
816
  dormakaba_oracode_user_level_prefix?: number | undefined;
817
+ /**
818
+ * Indicates whether a time slot for a dormakaba Oracode device is a 24-hour time slot.
819
+ */
221
820
  is_24_hour?: boolean | undefined;
821
+ /**
822
+ * Indicates whether a time slot for a dormakaba Oracode device is in biweekly mode.
823
+ */
222
824
  is_biweekly_mode?: boolean | undefined;
825
+ /**
826
+ * Indicates whether a time slot for a dormakaba Oracode device is a master time slot.
827
+ */
223
828
  is_master?: boolean | undefined;
829
+ /**
830
+ * Indicates whether a time slot for a dormakaba Oracode device is a one-shot time slot.
831
+ */
224
832
  is_one_shot?: boolean | undefined;
833
+ /**
834
+ * Name of a time slot for a dormakaba Oracode device.
835
+ */
225
836
  name?: string | undefined;
837
+ /**
838
+ * Prefix for a time slot for a dormakaba Oracode device.
839
+ */
226
840
  prefix?: number | undefined;
227
841
  }> | undefined;
842
+ /**
843
+ * Site ID for a dormakaba Oracode device.
844
+ * @deprecated Previously marked as "@DEPRECATED."
845
+ */
228
846
  site_id?: number | null | undefined;
847
+ /**
848
+ * Site name for a dormakaba Oracode device.
849
+ */
229
850
  site_name?: string | undefined;
230
851
  } | undefined;
852
+ /**
853
+ * Metadata for an ecobee device.
854
+ */
231
855
  ecobee_metadata?: {
856
+ /**
857
+ * Device name for an ecobee device.
858
+ */
232
859
  device_name?: string | undefined;
860
+ /**
861
+ * Device ID for an ecobee device.
862
+ */
233
863
  ecobee_device_id?: string | undefined;
234
864
  } | undefined;
865
+ /**
866
+ * Metadata for a 4SUITES device.
867
+ */
235
868
  four_suites_metadata?: {
869
+ /**
870
+ * Device ID for a 4SUITES device.
871
+ */
236
872
  device_id?: number | undefined;
873
+ /**
874
+ * Device name for a 4SUITES device.
875
+ */
237
876
  device_name?: string | undefined;
877
+ /**
878
+ * Reclose delay, in seconds, for a 4SUITES device.
879
+ */
238
880
  reclose_delay_in_seconds?: number | undefined;
239
881
  } | undefined;
882
+ /**
883
+ * Metadata for a Genie device.
884
+ */
240
885
  genie_metadata?: {
886
+ /**
887
+ * Lock name for a Genie device.
888
+ */
241
889
  device_name?: string | undefined;
890
+ /**
891
+ * Door name for a Genie device.
892
+ */
242
893
  door_name?: string | undefined;
243
894
  } | undefined;
895
+ /**
896
+ * Metadata for a Honeywell Resideo device.
897
+ */
244
898
  honeywell_resideo_metadata?: {
899
+ /**
900
+ * Device name for a Honeywell Resideo device.
901
+ */
245
902
  device_name?: string | undefined;
903
+ /**
904
+ * Device ID for a Honeywell Resideo device.
905
+ */
246
906
  honeywell_resideo_device_id?: string | undefined;
247
907
  } | undefined;
908
+ /**
909
+ * Metadata for an igloo device.
910
+ */
248
911
  igloo_metadata?: {
912
+ /**
913
+ * Bridge ID for an igloo device.
914
+ */
249
915
  bridge_id?: string | undefined;
916
+ /**
917
+ * Device ID for an igloo device.
918
+ */
250
919
  device_id?: string | undefined;
920
+ /**
921
+ * Model for an igloo device.
922
+ */
251
923
  model?: string | undefined;
252
924
  } | undefined;
925
+ /**
926
+ * Metadata for an igloohome device.
927
+ */
253
928
  igloohome_metadata?: {
929
+ /**
930
+ * Bridge ID for an igloohome device.
931
+ */
254
932
  bridge_id?: string | undefined;
933
+ /**
934
+ * Bridge name for an igloohome device.
935
+ */
255
936
  bridge_name?: string | undefined;
937
+ /**
938
+ * Device ID for an igloohome device.
939
+ */
256
940
  device_id?: string | undefined;
941
+ /**
942
+ * Device name for an igloohome device.
943
+ */
257
944
  device_name?: string | undefined;
945
+ /**
946
+ * Indicates whether a keypad is linked to a bridge for an igloohome device.
947
+ */
258
948
  is_accessory_keypad_linked_to_bridge?: boolean | undefined;
949
+ /**
950
+ * Keypad ID for an igloohome device.
951
+ */
259
952
  keypad_id?: string | undefined;
260
953
  } | undefined;
954
+ /**
955
+ * Metadata for a KeyNest device.
956
+ */
261
957
  keynest_metadata?: {
958
+ /**
959
+ * Address for a KeyNest device.
960
+ */
262
961
  address?: string | null | undefined;
962
+ /**
963
+ * Current or last store ID for a KeyNest device.
964
+ */
263
965
  current_or_last_store_id?: number | undefined;
966
+ /**
967
+ * Current status for a KeyNest device.
968
+ */
264
969
  current_status?: string | null | undefined;
970
+ /**
971
+ * Current user company for a KeyNest device.
972
+ */
265
973
  current_user_company?: string | null | undefined;
974
+ /**
975
+ * Current user email for a KeyNest device.
976
+ */
266
977
  current_user_email?: string | null | undefined;
978
+ /**
979
+ * Current user name for a KeyNest device.
980
+ */
267
981
  current_user_name?: string | null | undefined;
982
+ /**
983
+ * Current user phone number for a KeyNest device.
984
+ */
268
985
  current_user_phone_number?: string | null | undefined;
986
+ /**
987
+ * Default office ID for a KeyNest device.
988
+ */
269
989
  default_office_id?: number | undefined;
990
+ /**
991
+ * Device name for a KeyNest device.
992
+ */
270
993
  device_name?: string | undefined;
994
+ /**
995
+ * Fob ID for a KeyNest device.
996
+ */
271
997
  fob_id?: number | undefined;
998
+ /**
999
+ * Handover method for a KeyNest device.
1000
+ */
272
1001
  handover_method?: string | null | undefined;
1002
+ /**
1003
+ * Whether the KeyNest device has a photo.
1004
+ */
273
1005
  has_photo?: boolean | undefined;
1006
+ /**
1007
+ * Whether the key is in a locker that does not support the access codes API.
1008
+ */
274
1009
  is_quadient_locker?: boolean | undefined;
1010
+ /**
1011
+ * Key ID for a KeyNest device.
1012
+ */
275
1013
  key_id?: string | undefined;
1014
+ /**
1015
+ * Key notes for a KeyNest device.
1016
+ */
276
1017
  key_notes?: string | null | undefined;
1018
+ /**
1019
+ * KeyNest app user for a KeyNest device.
1020
+ */
277
1021
  keynest_app_user?: string | null | undefined;
1022
+ /**
1023
+ * Last movement timestamp for a KeyNest device.
1024
+ */
278
1025
  last_movement?: string | undefined;
1026
+ /**
1027
+ * Property ID for a KeyNest device.
1028
+ */
279
1029
  property_id?: string | null | undefined;
1030
+ /**
1031
+ * Property postcode for a KeyNest device.
1032
+ */
280
1033
  property_postcode?: string | null | undefined;
1034
+ /**
1035
+ * Status type for a KeyNest device.
1036
+ */
281
1037
  status_type?: string | undefined;
1038
+ /**
1039
+ * Subscription plan for a KeyNest device.
1040
+ */
282
1041
  subscription_plan?: string | undefined;
283
1042
  } | undefined;
1043
+ /**
1044
+ * Metadata for a Kisi device.
1045
+ */
284
1046
  kisi_metadata?: {
1047
+ /**
1048
+ * Description for a Kisi device.
1049
+ */
285
1050
  description?: string | null | undefined;
1051
+ /**
1052
+ * Lock ID for a Kisi device.
1053
+ */
286
1054
  lock_id?: number | undefined;
1055
+ /**
1056
+ * Lock name for a Kisi device.
1057
+ */
287
1058
  lock_name?: string | undefined;
1059
+ /**
1060
+ * Place name for a Kisi device.
1061
+ */
288
1062
  place_name?: string | null | undefined;
289
1063
  } | undefined;
1064
+ /**
1065
+ * Metadata for a Korelock device.
1066
+ */
290
1067
  korelock_metadata?: {
1068
+ /**
1069
+ * Device ID for a Korelock device.
1070
+ */
291
1071
  device_id?: string | undefined;
1072
+ /**
1073
+ * Device name for a Korelock device.
1074
+ */
292
1075
  device_name?: string | undefined;
1076
+ /**
1077
+ * Firmware version for a Korelock device.
1078
+ */
293
1079
  firmware_version?: string | undefined;
1080
+ /**
1081
+ * Location ID for a Korelock device. Required for timebound access codes.
1082
+ */
294
1083
  location_id?: string | null | undefined;
1084
+ /**
1085
+ * Model code for a Korelock device.
1086
+ */
295
1087
  model_code?: string | undefined;
1088
+ /**
1089
+ * Serial number for a Korelock device.
1090
+ */
296
1091
  serial_number?: string | undefined;
1092
+ /**
1093
+ * WiFi signal strength (0-1) for a Korelock device.
1094
+ */
297
1095
  wifi_signal_strength?: number | undefined;
298
1096
  } | undefined;
1097
+ /**
1098
+ * Metadata for a Kwikset device.
1099
+ */
299
1100
  kwikset_metadata?: {
1101
+ /**
1102
+ * Device ID for a Kwikset device.
1103
+ */
300
1104
  device_id?: string | undefined;
1105
+ /**
1106
+ * Device name for a Kwikset device.
1107
+ */
301
1108
  device_name?: string | undefined;
1109
+ /**
1110
+ * Model number for a Kwikset device.
1111
+ */
302
1112
  model_number?: string | undefined;
303
1113
  } | undefined;
1114
+ /**
1115
+ * Metadata for a Lockly device.
1116
+ */
304
1117
  lockly_metadata?: {
1118
+ /**
1119
+ * Device ID for a Lockly device.
1120
+ */
305
1121
  device_id?: string | undefined;
1122
+ /**
1123
+ * Device name for a Lockly device.
1124
+ */
306
1125
  device_name?: string | undefined;
1126
+ /**
1127
+ * Model for a Lockly device.
1128
+ */
307
1129
  model?: string | undefined;
308
1130
  } | undefined;
1131
+ /**
1132
+ * Metadata for a Minut device.
1133
+ */
309
1134
  minut_metadata?: {
1135
+ /**
1136
+ * Device ID for a Minut device.
1137
+ */
310
1138
  device_id?: string | undefined;
1139
+ /**
1140
+ * Device name for a Minut device.
1141
+ */
311
1142
  device_name?: string | undefined;
1143
+ /**
1144
+ * Latest sensor values for a Minut device.
1145
+ */
312
1146
  latest_sensor_values?: {
1147
+ /**
1148
+ * Latest accelerometer Z-axis reading for a Minut device.
1149
+ */
313
1150
  accelerometer_z?: {
1151
+ /**
1152
+ * Time of latest accelerometer Z-axis reading for a Minut device.
1153
+ */
314
1154
  time?: string | undefined;
1155
+ /**
1156
+ * Value of latest accelerometer Z-axis reading for a Minut device.
1157
+ */
315
1158
  value?: number | undefined;
316
1159
  } | undefined;
1160
+ /**
1161
+ * Latest humidity reading for a Minut device.
1162
+ */
317
1163
  humidity?: {
1164
+ /**
1165
+ * Time of latest humidity reading for a Minut device.
1166
+ */
318
1167
  time?: string | undefined;
1168
+ /**
1169
+ * Value of latest humidity reading for a Minut device.
1170
+ */
319
1171
  value?: number | undefined;
320
1172
  } | undefined;
1173
+ /**
1174
+ * Latest pressure reading for a Minut device.
1175
+ */
321
1176
  pressure?: {
1177
+ /**
1178
+ * Time of latest pressure reading for a Minut device.
1179
+ */
322
1180
  time?: string | undefined;
1181
+ /**
1182
+ * Value of latest pressure reading for a Minut device.
1183
+ */
323
1184
  value?: number | undefined;
324
1185
  } | undefined;
1186
+ /**
1187
+ * Latest sound reading for a Minut device.
1188
+ */
325
1189
  sound?: {
1190
+ /**
1191
+ * Time of latest sound reading for a Minut device.
1192
+ */
326
1193
  time?: string | undefined;
1194
+ /**
1195
+ * Value of latest sound reading for a Minut device.
1196
+ */
327
1197
  value?: number | undefined;
328
1198
  } | undefined;
1199
+ /**
1200
+ * Latest temperature reading for a Minut device.
1201
+ */
329
1202
  temperature?: {
1203
+ /**
1204
+ * Time of latest temperature reading for a Minut device.
1205
+ */
330
1206
  time?: string | undefined;
1207
+ /**
1208
+ * Value of latest temperature reading for a Minut device.
1209
+ */
331
1210
  value?: number | undefined;
332
1211
  } | undefined;
333
1212
  } | undefined;
334
1213
  } | undefined;
1214
+ /**
1215
+ * Metadata for a Google Nest device.
1216
+ */
335
1217
  nest_metadata?: {
1218
+ /**
1219
+ * Custom device name for a Google Nest device. The device owner sets this value.
1220
+ */
336
1221
  device_custom_name?: string | undefined;
1222
+ /**
1223
+ * Device name for a Google Nest device. Google sets this value.
1224
+ */
337
1225
  device_name?: string | undefined;
1226
+ /**
1227
+ * Display name for a Google Nest device.
1228
+ */
338
1229
  display_name?: string | undefined;
1230
+ /**
1231
+ * Device ID for a Google Nest device.
1232
+ */
339
1233
  nest_device_id?: string | undefined;
340
1234
  } | undefined;
1235
+ /**
1236
+ * Metadata for a NoiseAware device.
1237
+ */
341
1238
  noiseaware_metadata?: {
1239
+ /**
1240
+ * Device ID for a NoiseAware device.
1241
+ */
342
1242
  device_id?: string | undefined;
1243
+ /**
1244
+ * Device model for a NoiseAware device.
1245
+ */
343
1246
  device_model?: 'indoor' | 'outdoor' | undefined;
1247
+ /**
1248
+ * Device name for a NoiseAware device.
1249
+ */
344
1250
  device_name?: string | undefined;
1251
+ /**
1252
+ * Noise level, in decibels, for a NoiseAware device.
1253
+ */
345
1254
  noise_level_decibel?: number | undefined;
1255
+ /**
1256
+ * Noise level, expressed as a Noise Risk Score (NRS), for a NoiseAware device.
1257
+ */
346
1258
  noise_level_nrs?: number | undefined;
347
1259
  } | undefined;
1260
+ /**
1261
+ * Metadata for a Nuki device.
1262
+ */
348
1263
  nuki_metadata?: {
1264
+ /**
1265
+ * Device ID for a Nuki device.
1266
+ */
349
1267
  device_id?: string | undefined;
1268
+ /**
1269
+ * Device name for a Nuki device.
1270
+ */
350
1271
  device_name?: string | undefined;
1272
+ /**
1273
+ * Indicates whether keypad 2 is paired for a Nuki device.
1274
+ */
351
1275
  keypad_2_paired?: boolean | undefined;
1276
+ /**
1277
+ * Indicates whether the keypad battery is in a critical state for a Nuki device.
1278
+ */
352
1279
  keypad_battery_critical?: boolean | undefined;
1280
+ /**
1281
+ * Indicates whether the keypad is paired for a Nuki device.
1282
+ */
353
1283
  keypad_paired?: boolean | undefined;
354
1284
  } | undefined;
1285
+ /**
1286
+ * Metadata for an Omnitec device.
1287
+ */
355
1288
  omnitec_metadata?: {
1289
+ /**
1290
+ * Whether the Omnitec lock has a connected gateway for remote operations.
1291
+ */
356
1292
  has_gateway?: boolean | undefined;
1293
+ /**
1294
+ * Operator-assigned alias for an Omnitec device.
1295
+ */
357
1296
  lock_alias?: string | undefined;
1297
+ /**
1298
+ * Lock ID for an Omnitec device.
1299
+ */
358
1300
  lock_id?: number | undefined;
1301
+ /**
1302
+ * Bluetooth MAC address for an Omnitec device.
1303
+ */
359
1304
  lock_mac?: string | undefined;
1305
+ /**
1306
+ * Lock name for an Omnitec device.
1307
+ */
360
1308
  lock_name?: string | undefined;
1309
+ /**
1310
+ * IANA time zone for the Omnitec device, used to schedule time-bound access codes at the correct local time (accounting for DST).
1311
+ */
361
1312
  time_zone?: string | null | undefined;
1313
+ /**
1314
+ * Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.
1315
+ */
362
1316
  timezone_raw_offset_ms?: number | undefined;
363
1317
  } | undefined;
1318
+ /**
1319
+ * Metadata for a Ring device.
1320
+ */
364
1321
  ring_metadata?: {
1322
+ /**
1323
+ * Device ID for a Ring device.
1324
+ */
365
1325
  device_id?: string | undefined;
1326
+ /**
1327
+ * Device name for a Ring device.
1328
+ */
366
1329
  device_name?: string | undefined;
367
1330
  } | undefined;
1331
+ /**
1332
+ * Metadata for a Salto KS device.
1333
+ */
368
1334
  salto_ks_metadata?: {
1335
+ /**
1336
+ * Battery level for a Salto KS device.
1337
+ */
369
1338
  battery_level?: string | undefined;
1339
+ /**
1340
+ * Customer reference for a Salto KS device.
1341
+ */
370
1342
  customer_reference?: string | undefined;
1343
+ /**
1344
+ * Indicates whether the site has a Salto KS subscription that supports custom PINs.
1345
+ */
371
1346
  has_custom_pin_subscription?: boolean | undefined;
1347
+ /**
1348
+ * Lock ID for a Salto KS device.
1349
+ */
372
1350
  lock_id?: string | undefined;
1351
+ /**
1352
+ * Lock type for a Salto KS device.
1353
+ */
373
1354
  lock_type?: string | undefined;
1355
+ /**
1356
+ * Locked state for a Salto KS device.
1357
+ */
374
1358
  locked_state?: string | undefined;
1359
+ /**
1360
+ * Model for a Salto KS device.
1361
+ */
375
1362
  model?: string | undefined;
1363
+ /**
1364
+ * Site ID for the Salto KS site to which the device belongs.
1365
+ */
376
1366
  site_id?: string | undefined;
1367
+ /**
1368
+ * Site name for the Salto KS site to which the device belongs.
1369
+ */
377
1370
  site_name?: string | undefined;
378
1371
  } | undefined;
1372
+ /**
1373
+ * Metada for a Salto device.
1374
+ * @deprecated Use `salto_ks_metadata ` instead.
1375
+ */
379
1376
  salto_metadata?: {
1377
+ /**
1378
+ * Battery level for a Salto device.
1379
+ */
380
1380
  battery_level?: string | undefined;
1381
+ /**
1382
+ * Customer reference for a Salto device.
1383
+ */
381
1384
  customer_reference?: string | undefined;
1385
+ /**
1386
+ * Lock ID for a Salto device.
1387
+ */
382
1388
  lock_id?: string | undefined;
1389
+ /**
1390
+ * Lock type for a Salto device.
1391
+ */
383
1392
  lock_type?: string | undefined;
1393
+ /**
1394
+ * Locked state for a Salto device.
1395
+ */
384
1396
  locked_state?: string | undefined;
1397
+ /**
1398
+ * Model for a Salto device.
1399
+ */
385
1400
  model?: string | undefined;
1401
+ /**
1402
+ * Site ID for the Salto KS site to which the device belongs.
1403
+ */
386
1404
  site_id?: string | undefined;
1405
+ /**
1406
+ * Site name for the Salto KS site to which the device belongs.
1407
+ */
387
1408
  site_name?: string | undefined;
388
1409
  } | undefined;
1410
+ /**
1411
+ * Metadata for a Schlage device.
1412
+ */
389
1413
  schlage_metadata?: {
1414
+ /**
1415
+ * Device ID for a Schlage device.
1416
+ */
390
1417
  device_id?: string | undefined;
1418
+ /**
1419
+ * Device name for a Schlage device.
1420
+ */
391
1421
  device_name?: string | undefined;
1422
+ /**
1423
+ * Model for a Schlage device.
1424
+ */
392
1425
  model?: string | undefined;
393
1426
  } | undefined;
1427
+ /**
1428
+ * Metadata for Seam Bridge.
1429
+ */
394
1430
  seam_bridge_metadata?: {
1431
+ /**
1432
+ * Device number for Seam Bridge.
1433
+ */
395
1434
  device_num?: number | undefined;
1435
+ /**
1436
+ * Name for Seam Bridge.
1437
+ */
396
1438
  name?: string | undefined;
1439
+ /**
1440
+ * Unlock method for Seam Bridge.
1441
+ */
397
1442
  unlock_method?: 'bridge' | 'doorking' | undefined;
398
1443
  } | undefined;
1444
+ /**
1445
+ * Metadata for a Sensi device.
1446
+ */
399
1447
  sensi_metadata?: {
1448
+ /**
1449
+ * Device ID for a Sensi device.
1450
+ */
400
1451
  device_id?: string | undefined;
1452
+ /**
1453
+ * Device name for a Sensi device.
1454
+ */
401
1455
  device_name?: string | undefined;
1456
+ /**
1457
+ * Set to true when the device does not support the /dual-setpoints API endpoint.
1458
+ */
402
1459
  dual_setpoints_not_supported?: boolean | undefined;
1460
+ /**
1461
+ * Product type for a Sensi device.
1462
+ */
403
1463
  product_type?: string | undefined;
404
1464
  } | undefined;
1465
+ /**
1466
+ * Metadata for a SmartThings device.
1467
+ */
405
1468
  smartthings_metadata?: {
1469
+ /**
1470
+ * Device ID for a SmartThings device.
1471
+ */
406
1472
  device_id?: string | undefined;
1473
+ /**
1474
+ * Device name for a SmartThings device.
1475
+ */
407
1476
  device_name?: string | undefined;
1477
+ /**
1478
+ * Location ID for a SmartThings device.
1479
+ */
408
1480
  location_id?: string | undefined;
1481
+ /**
1482
+ * Model for a SmartThings device.
1483
+ */
409
1484
  model?: string | undefined;
410
1485
  } | undefined;
1486
+ /**
1487
+ * Metadata for a tado° device.
1488
+ */
411
1489
  tado_metadata?: {
1490
+ /**
1491
+ * Device type for a tado° device.
1492
+ */
412
1493
  device_type?: string | undefined;
1494
+ /**
1495
+ * Serial number for a tado° device.
1496
+ */
413
1497
  serial_no?: string | undefined;
414
1498
  } | undefined;
1499
+ /**
1500
+ * Metadata for a Tedee device.
1501
+ */
415
1502
  tedee_metadata?: {
1503
+ /**
1504
+ * Bridge ID for a Tedee device.
1505
+ */
416
1506
  bridge_id?: number | undefined;
1507
+ /**
1508
+ * Bridge name for a Tedee device.
1509
+ */
417
1510
  bridge_name?: string | undefined;
1511
+ /**
1512
+ * Device ID for a Tedee device.
1513
+ */
418
1514
  device_id?: number | undefined;
1515
+ /**
1516
+ * Device model for a Tedee device.
1517
+ */
419
1518
  device_model?: string | undefined;
1519
+ /**
1520
+ * Device name for a Tedee device.
1521
+ */
420
1522
  device_name?: string | undefined;
1523
+ /**
1524
+ * Keypad ID for a Tedee device.
1525
+ */
421
1526
  keypad_id?: number | undefined;
1527
+ /**
1528
+ * Serial number for a Tedee device.
1529
+ */
422
1530
  serial_number?: string | undefined;
423
1531
  } | undefined;
1532
+ /**
1533
+ * Metadata for a TTLock device.
1534
+ */
424
1535
  ttlock_metadata?: {
1536
+ /**
1537
+ * Feature value for a TTLock device.
1538
+ */
425
1539
  feature_value?: string | undefined;
1540
+ /**
1541
+ * Features for a TTLock device.
1542
+ */
426
1543
  features?: {
1544
+ /**
1545
+ * Indicates whether a TTLock device supports auto-lock time configuration.
1546
+ */
427
1547
  auto_lock_time_config?: boolean | undefined;
1548
+ /**
1549
+ * Indicates whether a TTLock device supports an incomplete keyboard passcode.
1550
+ */
428
1551
  incomplete_keyboard_passcode?: boolean | undefined;
1552
+ /**
1553
+ * Indicates whether a TTLock device supports the lock command.
1554
+ */
429
1555
  lock_command?: boolean | undefined;
1556
+ /**
1557
+ * Indicates whether a TTLock device supports a passcode.
1558
+ */
430
1559
  passcode?: boolean | undefined;
1560
+ /**
1561
+ * Indicates whether a TTLock device supports passcode management.
1562
+ */
431
1563
  passcode_management?: boolean | undefined;
1564
+ /**
1565
+ * Indicates whether a TTLock device supports unlock via gateway.
1566
+ */
432
1567
  unlock_via_gateway?: boolean | undefined;
1568
+ /**
1569
+ * Indicates whether a TTLock device supports Wi-Fi.
1570
+ */
433
1571
  wifi?: boolean | undefined;
434
1572
  } | undefined;
1573
+ /**
1574
+ * Indicates whether a TTLock device has a gateway.
1575
+ */
435
1576
  has_gateway?: boolean | undefined;
1577
+ /**
1578
+ * Lock alias for a TTLock device.
1579
+ */
436
1580
  lock_alias?: string | undefined;
1581
+ /**
1582
+ * Lock ID for a TTLock device.
1583
+ */
437
1584
  lock_id?: number | undefined;
1585
+ /**
1586
+ * Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value.
1587
+ */
438
1588
  timezone_raw_offset_ms?: number | null | undefined;
1589
+ /**
1590
+ * Wireless keypads for a TTLock device.
1591
+ */
439
1592
  wireless_keypads?: Array<{
1593
+ /**
1594
+ * ID for a wireless keypad for a TTLock device.
1595
+ */
440
1596
  wireless_keypad_id?: number | undefined;
1597
+ /**
1598
+ * Name for a wireless keypad for a TTLock device.
1599
+ */
441
1600
  wireless_keypad_name?: string | undefined;
442
1601
  }> | undefined;
443
1602
  } | undefined;
1603
+ /**
1604
+ * Metadata for a 2N device.
1605
+ */
444
1606
  two_n_metadata?: {
1607
+ /**
1608
+ * Device ID for a 2N device.
1609
+ */
445
1610
  device_id?: number | undefined;
1611
+ /**
1612
+ * Device name for a 2N device.
1613
+ */
446
1614
  device_name?: string | undefined;
447
1615
  } | undefined;
1616
+ /**
1617
+ * Metadata for an Ultraloq device.
1618
+ */
448
1619
  ultraloq_metadata?: {
1620
+ /**
1621
+ * Device ID for an Ultraloq device.
1622
+ */
449
1623
  device_id?: string | undefined;
1624
+ /**
1625
+ * Device name for an Ultraloq device.
1626
+ */
450
1627
  device_name?: string | undefined;
1628
+ /**
1629
+ * Device type for an Ultraloq device.
1630
+ */
451
1631
  device_type?: string | undefined;
1632
+ /**
1633
+ * IANA timezone for the Ultraloq device.
1634
+ */
452
1635
  time_zone?: string | null | undefined;
453
1636
  } | undefined;
1637
+ /**
1638
+ * Metadata for an ASSA ABLOY Visionline system.
1639
+ */
454
1640
  visionline_metadata?: {
1641
+ /**
1642
+ * Encoder ID for an ASSA ABLOY Visionline system.
1643
+ */
455
1644
  encoder_id?: string | undefined;
456
1645
  } | undefined;
1646
+ /**
1647
+ * Metadata for a Wyze device.
1648
+ */
457
1649
  wyze_metadata?: {
1650
+ /**
1651
+ * Device ID for a Wyze device.
1652
+ */
458
1653
  device_id?: string | undefined;
1654
+ /**
1655
+ * Device information model for a Wyze device.
1656
+ */
459
1657
  device_info_model?: string | undefined;
1658
+ /**
1659
+ * Device name for a Wyze device.
1660
+ */
460
1661
  device_name?: string | undefined;
1662
+ /**
1663
+ * Keypad UUID for a Wyze device.
1664
+ */
461
1665
  keypad_uuid?: string | undefined;
1666
+ /**
1667
+ * Locker status (hardlock) for a Wyze device.
1668
+ */
462
1669
  locker_status_hardlock?: number | undefined;
1670
+ /**
1671
+ * Product model for a Wyze device.
1672
+ */
463
1673
  product_model?: string | undefined;
1674
+ /**
1675
+ * Product name for a Wyze device.
1676
+ */
464
1677
  product_name?: string | undefined;
1678
+ /**
1679
+ * Product type for a Wyze device.
1680
+ */
465
1681
  product_type?: string | undefined;
466
1682
  } | undefined;
1683
+ /**
1684
+ * The delay in seconds before the lock automatically locks after being unlocked.
1685
+ */
467
1686
  auto_lock_delay_seconds?: number | undefined;
1687
+ /**
1688
+ * Indicates whether automatic locking is enabled.
1689
+ */
468
1690
  auto_lock_enabled?: boolean | undefined;
1691
+ /**
1692
+ * Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update).
1693
+ */
469
1694
  backup_access_code_pool_enabled?: boolean | undefined;
1695
+ /**
1696
+ * Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific.
1697
+ */
470
1698
  code_constraints?: Array<{
471
1699
  constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits' | 'no_all_same_digits' | 'name_length' | 'name_must_be_unique';
1700
+ /**
1701
+ * Maximum name length constraint for access codes.
1702
+ */
472
1703
  max_length?: number | undefined;
1704
+ /**
1705
+ * Minimum name length constraint for access codes.
1706
+ */
473
1707
  min_length?: number | undefined;
474
1708
  }> | undefined;
1709
+ /**
1710
+ * Indicates whether the door is open.
1711
+ */
475
1712
  door_open?: boolean | undefined;
1713
+ /**
1714
+ * Indicates whether the device supports native entry events.
1715
+ */
476
1716
  has_native_entry_events?: boolean | undefined;
1717
+ /**
1718
+ * Keypad battery status.
1719
+ */
477
1720
  keypad_battery?: {
1721
+ /**
1722
+ * Keypad battery charge level.
1723
+ */
478
1724
  level: number;
479
1725
  } | undefined;
1726
+ /**
1727
+ * Indicates whether the lock is locked.
1728
+ */
480
1729
  locked?: boolean | undefined;
1730
+ /**
1731
+ * Maximum number of active access codes that the device supports.
1732
+ */
481
1733
  max_active_codes_supported?: number | undefined;
1734
+ /**
1735
+ * Time frames that may be requested when creating an offline access code, expressed as a list of options. The caller picks one option (by matching the requested duration when the options' duration ranges do not overlap, or by `display_name` when they do) and satisfies that one option's rules. When `undefined`, any time frame works.
1736
+ */
482
1737
  offline_time_frame_options?: Array<{
1738
+ /**
1739
+ * Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`).
1740
+ */
483
1741
  display_name: string;
1742
+ /**
1743
+ * iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.
1744
+ */
484
1745
  end_date_recurrence_rule?: string | undefined;
1746
+ /**
1747
+ * When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.
1748
+ */
485
1749
  matching_start_end_time?: boolean | undefined;
1750
+ /**
1751
+ * Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.
1752
+ */
486
1753
  max_duration?: string | undefined;
1754
+ /**
1755
+ * Minimum duration this option covers, as an ISO 8601 duration (for example, `PT1H` or `P29D`). Omitted when there is no minimum.
1756
+ */
487
1757
  min_duration?: string | undefined;
1758
+ /**
1759
+ * iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.
1760
+ */
488
1761
  start_date_recurrence_rule?: string | undefined;
1762
+ /**
1763
+ * Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.
1764
+ */
489
1765
  time_pairs?: Array<{
1766
+ /**
1767
+ * Label for the start/end time pairing.
1768
+ */
490
1769
  display_name: string;
1770
+ /**
1771
+ * End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date.
1772
+ */
491
1773
  end_time: string;
1774
+ /**
1775
+ * Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.
1776
+ */
492
1777
  start_time: string;
493
1778
  }> | undefined;
1779
+ /**
1780
+ * IANA time zone for interpreting `time_pairs` and the date recurrence rules. Present only when the option fixes times or dates.
1781
+ */
494
1782
  time_zone?: string | undefined;
495
1783
  }> | undefined;
1784
+ /**
1785
+ * Time frames that may be requested when creating an online access code, expressed as a list of options. The caller picks one option (by matching the requested duration when the options' duration ranges do not overlap, or by `display_name` when they do) and satisfies that one option's rules. When `undefined`, any time frame works.
1786
+ */
496
1787
  online_time_frame_options?: Array<{
1788
+ /**
1789
+ * Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`).
1790
+ */
497
1791
  display_name: string;
1792
+ /**
1793
+ * iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.
1794
+ */
498
1795
  end_date_recurrence_rule?: string | undefined;
1796
+ /**
1797
+ * When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.
1798
+ */
499
1799
  matching_start_end_time?: boolean | undefined;
1800
+ /**
1801
+ * Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.
1802
+ */
500
1803
  max_duration?: string | undefined;
1804
+ /**
1805
+ * Minimum duration this option covers, as an ISO 8601 duration (for example, `PT1H` or `P29D`). Omitted when there is no minimum.
1806
+ */
501
1807
  min_duration?: string | undefined;
1808
+ /**
1809
+ * iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.
1810
+ */
502
1811
  start_date_recurrence_rule?: string | undefined;
1812
+ /**
1813
+ * Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.
1814
+ */
503
1815
  time_pairs?: Array<{
1816
+ /**
1817
+ * Label for the start/end time pairing.
1818
+ */
504
1819
  display_name: string;
1820
+ /**
1821
+ * End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date.
1822
+ */
505
1823
  end_time: string;
1824
+ /**
1825
+ * Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.
1826
+ */
506
1827
  start_time: string;
507
1828
  }> | undefined;
1829
+ /**
1830
+ * IANA time zone for interpreting `time_pairs` and the date recurrence rules. Present only when the option fixes times or dates.
1831
+ */
508
1832
  time_zone?: string | undefined;
509
1833
  }> | undefined;
1834
+ /**
1835
+ * Supported code lengths for access codes.
1836
+ */
510
1837
  supported_code_lengths?: Array<number> | undefined;
1838
+ /**
1839
+ * Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes).
1840
+ */
511
1841
  supports_backup_access_code_pool?: boolean | undefined;
1842
+ /**
1843
+ * Active [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
1844
+ * @deprecated Use `active_thermostat_schedule_id` with `/thermostats/schedules/get` instead.
1845
+ */
512
1846
  active_thermostat_schedule?: {
1847
+ /**
1848
+ * Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
1849
+ */
513
1850
  climate_preset_key: string;
1851
+ /**
1852
+ * Date and time at which the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created.
1853
+ */
514
1854
  created_at: string;
1855
+ /**
1856
+ * ID of the desired [thermostat](https://docs.seam.co/capability-guides/thermostats) device.
1857
+ */
515
1858
  device_id: string;
1859
+ /**
1860
+ * Date and time at which the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
1861
+ */
516
1862
  ends_at: string;
1863
+ /**
1864
+ * Errors associated with the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
1865
+ */
517
1866
  errors: Array<{
1867
+ /**
1868
+ * Date and time at which Seam created the error.
1869
+ */
518
1870
  created_at: string;
1871
+ /**
1872
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
1873
+ */
519
1874
  error_code: string;
1875
+ /**
1876
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1877
+ */
520
1878
  message: string;
521
1879
  }>;
1880
+ /**
1881
+ * Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts.
1882
+ */
522
1883
  is_override_allowed?: boolean | undefined;
1884
+ /**
1885
+ * Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
1886
+ */
523
1887
  max_override_period_minutes?: number | null | undefined;
1888
+ /**
1889
+ * User-friendly name to identify the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
1890
+ */
524
1891
  name: string | null;
1892
+ /**
1893
+ * Date and time at which the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
1894
+ */
525
1895
  starts_at: string;
1896
+ /**
1897
+ * ID of the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
1898
+ */
526
1899
  thermostat_schedule_id: string;
1900
+ /**
1901
+ * ID of the workspace that contains the thermostat schedule.
1902
+ */
527
1903
  workspace_id: string;
528
1904
  } | null | undefined;
1905
+ /**
1906
+ * ID of the active [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
1907
+ */
529
1908
  active_thermostat_schedule_id?: string | null | undefined;
1909
+ /**
1910
+ * Climate preset modes that the thermostat supports, such as "home", "away", "wake", "sleep", "occupied", and "unoccupied".
1911
+ */
530
1912
  available_climate_preset_modes?: Array<'home' | 'away' | 'wake' | 'sleep' | 'occupied' | 'unoccupied'> | undefined;
1913
+ /**
1914
+ * Available [climate presets](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.
1915
+ */
531
1916
  available_climate_presets?: Array<{
1917
+ /**
1918
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted.
1919
+ */
532
1920
  can_delete: boolean;
1921
+ /**
1922
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.
1923
+ */
533
1924
  can_edit: boolean;
1925
+ /**
1926
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.
1927
+ */
534
1928
  can_use_with_thermostat_daily_programs: boolean;
1929
+ /**
1930
+ * Unique key to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
1931
+ */
535
1932
  climate_preset_key: string;
1933
+ /**
1934
+ * The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.
1935
+ */
536
1936
  climate_preset_mode?: 'home' | 'away' | 'wake' | 'sleep' | 'occupied' | 'unoccupied' | undefined;
1937
+ /**
1938
+ * Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
1939
+ */
537
1940
  cooling_set_point_celsius?: number | undefined;
1941
+ /**
1942
+ * Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
1943
+ */
538
1944
  cooling_set_point_fahrenheit?: number | undefined;
1945
+ /**
1946
+ * Display name for the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
1947
+ */
539
1948
  display_name: string;
1949
+ /**
1950
+ * Metadata specific to the Ecobee climate, if applicable.
1951
+ */
540
1952
  ecobee_metadata?: {
1953
+ /**
1954
+ * Reference to the Ecobee climate, if applicable.
1955
+ */
541
1956
  climate_ref?: string | undefined;
1957
+ /**
1958
+ * Indicates if the climate preset is optimized by Ecobee.
1959
+ */
542
1960
  is_optimized?: boolean | undefined;
1961
+ /**
1962
+ * Indicates whether the climate preset is owned by the user or the system.
1963
+ */
543
1964
  owner?: 'user' | 'system' | undefined;
544
1965
  } | undefined;
1966
+ /**
1967
+ * Desired [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.
1968
+ */
545
1969
  fan_mode_setting?: 'auto' | 'on' | 'circulate' | undefined;
1970
+ /**
1971
+ * Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
1972
+ */
546
1973
  heating_set_point_celsius?: number | undefined;
1974
+ /**
1975
+ * Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
1976
+ */
547
1977
  heating_set_point_fahrenheit?: number | undefined;
1978
+ /**
1979
+ * Desired [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.
1980
+ */
548
1981
  hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined;
1982
+ /**
1983
+ * Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
1984
+ * @deprecated Use 'thermostat_schedule.is_override_allowed'
1985
+ */
549
1986
  manual_override_allowed: boolean;
1987
+ /**
1988
+ * User-friendly name to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
1989
+ */
550
1990
  name?: string | null | undefined;
551
1991
  }> | undefined;
1992
+ /**
1993
+ * Fan mode settings that the thermostat supports.
1994
+ */
552
1995
  available_fan_mode_settings?: Array<'auto' | 'on' | 'circulate'> | undefined;
1996
+ /**
1997
+ * HVAC mode settings that the thermostat supports.
1998
+ */
553
1999
  available_hvac_mode_settings?: Array<'off' | 'heat' | 'cool' | 'heat_cool' | 'eco'> | undefined;
2000
+ /**
2001
+ * Current climate setting.
2002
+ */
554
2003
  current_climate_setting?: {
2004
+ /**
2005
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted.
2006
+ */
555
2007
  can_delete?: boolean | undefined;
2008
+ /**
2009
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.
2010
+ */
556
2011
  can_edit?: boolean | undefined;
2012
+ /**
2013
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.
2014
+ */
557
2015
  can_use_with_thermostat_daily_programs?: boolean | undefined;
2016
+ /**
2017
+ * Unique key to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
2018
+ */
558
2019
  climate_preset_key?: string | undefined;
2020
+ /**
2021
+ * The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.
2022
+ */
559
2023
  climate_preset_mode?: 'home' | 'away' | 'wake' | 'sleep' | 'occupied' | 'unoccupied' | undefined;
2024
+ /**
2025
+ * Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
2026
+ */
560
2027
  cooling_set_point_celsius?: number | undefined;
2028
+ /**
2029
+ * Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
2030
+ */
561
2031
  cooling_set_point_fahrenheit?: number | undefined;
2032
+ /**
2033
+ * Display name for the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
2034
+ */
562
2035
  display_name?: string | undefined;
2036
+ /**
2037
+ * Metadata specific to the Ecobee climate, if applicable.
2038
+ */
563
2039
  ecobee_metadata?: {
2040
+ /**
2041
+ * Reference to the Ecobee climate, if applicable.
2042
+ */
564
2043
  climate_ref?: string | undefined;
2044
+ /**
2045
+ * Indicates if the climate preset is optimized by Ecobee.
2046
+ */
565
2047
  is_optimized?: boolean | undefined;
2048
+ /**
2049
+ * Indicates whether the climate preset is owned by the user or the system.
2050
+ */
566
2051
  owner?: 'user' | 'system' | undefined;
567
2052
  } | undefined;
2053
+ /**
2054
+ * Desired [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.
2055
+ */
568
2056
  fan_mode_setting?: 'auto' | 'on' | 'circulate' | undefined;
2057
+ /**
2058
+ * Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
2059
+ */
569
2060
  heating_set_point_celsius?: number | undefined;
2061
+ /**
2062
+ * Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
2063
+ */
570
2064
  heating_set_point_fahrenheit?: number | undefined;
2065
+ /**
2066
+ * Desired [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.
2067
+ */
571
2068
  hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined;
2069
+ /**
2070
+ * Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
2071
+ * @deprecated Use 'thermostat_schedule.is_override_allowed'
2072
+ */
572
2073
  manual_override_allowed?: boolean | undefined;
2074
+ /**
2075
+ * User-friendly name to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
2076
+ */
573
2077
  name?: string | null | undefined;
574
2078
  } | undefined;
2079
+ /**
2080
+ * @deprecated use fallback_climate_preset_key to specify a fallback climate preset instead.
2081
+ */
575
2082
  default_climate_setting?: {
2083
+ /**
2084
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted.
2085
+ */
576
2086
  can_delete?: boolean | undefined;
2087
+ /**
2088
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.
2089
+ */
577
2090
  can_edit?: boolean | undefined;
2091
+ /**
2092
+ * Indicates whether the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.
2093
+ */
578
2094
  can_use_with_thermostat_daily_programs?: boolean | undefined;
2095
+ /**
2096
+ * Unique key to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
2097
+ */
579
2098
  climate_preset_key?: string | undefined;
2099
+ /**
2100
+ * The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.
2101
+ */
580
2102
  climate_preset_mode?: 'home' | 'away' | 'wake' | 'sleep' | 'occupied' | 'unoccupied' | undefined;
2103
+ /**
2104
+ * Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
2105
+ */
581
2106
  cooling_set_point_celsius?: number | undefined;
2107
+ /**
2108
+ * Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
2109
+ */
582
2110
  cooling_set_point_fahrenheit?: number | undefined;
2111
+ /**
2112
+ * Display name for the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
2113
+ */
583
2114
  display_name?: string | undefined;
2115
+ /**
2116
+ * Metadata specific to the Ecobee climate, if applicable.
2117
+ */
584
2118
  ecobee_metadata?: {
2119
+ /**
2120
+ * Reference to the Ecobee climate, if applicable.
2121
+ */
585
2122
  climate_ref?: string | undefined;
2123
+ /**
2124
+ * Indicates if the climate preset is optimized by Ecobee.
2125
+ */
586
2126
  is_optimized?: boolean | undefined;
2127
+ /**
2128
+ * Indicates whether the climate preset is owned by the user or the system.
2129
+ */
587
2130
  owner?: 'user' | 'system' | undefined;
588
2131
  } | undefined;
2132
+ /**
2133
+ * Desired [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.
2134
+ */
589
2135
  fan_mode_setting?: 'auto' | 'on' | 'circulate' | undefined;
2136
+ /**
2137
+ * Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
2138
+ */
590
2139
  heating_set_point_celsius?: number | undefined;
2140
+ /**
2141
+ * Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
2142
+ */
591
2143
  heating_set_point_fahrenheit?: number | undefined;
2144
+ /**
2145
+ * Desired [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.
2146
+ */
592
2147
  hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined;
2148
+ /**
2149
+ * Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
2150
+ * @deprecated Use 'thermostat_schedule.is_override_allowed'
2151
+ */
593
2152
  manual_override_allowed?: boolean | undefined;
2153
+ /**
2154
+ * User-friendly name to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
2155
+ */
594
2156
  name?: string | null | undefined;
595
2157
  } | undefined;
2158
+ /**
2159
+ * Key of the [fallback climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.
2160
+ */
596
2161
  fallback_climate_preset_key?: string | null | undefined;
2162
+ /**
2163
+ * @deprecated Use `current_climate_setting.fan_mode_setting` instead.
2164
+ */
597
2165
  fan_mode_setting?: 'auto' | 'on' | 'circulate' | undefined;
2166
+ /**
2167
+ * Indicates whether the connected HVAC system is currently cooling, as reported by the thermostat.
2168
+ */
598
2169
  is_cooling?: boolean | undefined;
2170
+ /**
2171
+ * Indicates whether the fan in the connected HVAC system is currently running, as reported by the thermostat.
2172
+ */
599
2173
  is_fan_running?: boolean | undefined;
2174
+ /**
2175
+ * Indicates whether the connected HVAC system is currently heating, as reported by the thermostat.
2176
+ */
600
2177
  is_heating?: boolean | undefined;
2178
+ /**
2179
+ * Indicates whether the current thermostat settings differ from the most recent active program or schedule that Seam activated. For this condition to occur, `current_climate_setting.manual_override_allowed` must also be `true`.
2180
+ */
601
2181
  is_temporary_manual_override_active?: boolean | undefined;
2182
+ /**
2183
+ * Maximum [cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °C.
2184
+ */
602
2185
  max_cooling_set_point_celsius?: number | undefined;
2186
+ /**
2187
+ * Maximum [cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °F.
2188
+ */
603
2189
  max_cooling_set_point_fahrenheit?: number | undefined;
2190
+ /**
2191
+ * Maximum [heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °C.
2192
+ */
604
2193
  max_heating_set_point_celsius?: number | undefined;
2194
+ /**
2195
+ * Maximum [heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °F.
2196
+ */
605
2197
  max_heating_set_point_fahrenheit?: number | undefined;
2198
+ /**
2199
+ * Maximum number of periods that the thermostat can support per day. For example, if the thermostat supports 4 periods per day, this value is 4.
2200
+ */
606
2201
  max_thermostat_daily_program_periods_per_day?: number | undefined;
2202
+ /**
2203
+ * Maximum number of climate presets that the thermostat can support for weekly programming.
2204
+ */
607
2205
  max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
2206
+ /**
2207
+ * Minimum [cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °C.
2208
+ */
608
2209
  min_cooling_set_point_celsius?: number | undefined;
2210
+ /**
2211
+ * Minimum [cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °F.
2212
+ */
609
2213
  min_cooling_set_point_fahrenheit?: number | undefined;
2214
+ /**
2215
+ * Minimum [temperature difference](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#minimum-heating-cooling-temperature-delta) in °C between the cooling and heating set points when in heat-cool (auto) mode.
2216
+ */
610
2217
  min_heating_cooling_delta_celsius?: number | undefined;
2218
+ /**
2219
+ * Minimum [temperature difference](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#minimum-heating-cooling-temperature-delta) in °F between the cooling and heating set points when in heat-cool (auto) mode.
2220
+ */
611
2221
  min_heating_cooling_delta_fahrenheit?: number | undefined;
2222
+ /**
2223
+ * Minimum [heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °C.
2224
+ */
612
2225
  min_heating_set_point_celsius?: number | undefined;
2226
+ /**
2227
+ * Minimum [heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °F.
2228
+ */
613
2229
  min_heating_set_point_fahrenheit?: number | undefined;
2230
+ /**
2231
+ * Reported relative humidity, as a value between 0 and 1, inclusive.
2232
+ */
614
2233
  relative_humidity?: number | undefined;
2234
+ /**
2235
+ * Reported temperature in °C.
2236
+ */
615
2237
  temperature_celsius?: number | undefined;
2238
+ /**
2239
+ * Reported temperature in °F.
2240
+ */
616
2241
  temperature_fahrenheit?: number | undefined;
2242
+ /**
2243
+ * Current [temperature threshold](https://docs.seam.co/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
2244
+ */
617
2245
  temperature_threshold?: {
2246
+ /**
2247
+ * Lower limit in °C within the current [temperature threshold](https://docs.seam.co/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
2248
+ */
618
2249
  lower_limit_celsius: number | null;
2250
+ /**
2251
+ * Lower limit in °F within the current [temperature threshold](https://docs.seam.co/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
2252
+ */
619
2253
  lower_limit_fahrenheit: number | null;
2254
+ /**
2255
+ * Upper limit in °C within the current [temperature threshold](https://docs.seam.co/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
2256
+ */
620
2257
  upper_limit_celsius: number | null;
2258
+ /**
2259
+ * Upper limit in °F within the current [temperature threshold](https://docs.seam.co/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
2260
+ */
621
2261
  upper_limit_fahrenheit: number | null;
622
2262
  } | undefined;
2263
+ /**
2264
+ * Precision of the thermostat's period in minutes. For example, if the thermostat supports 15-minute periods, this value is 15. All values are relative to the top of the hour, so for 15 minutes, the periods would be 0, 15, 30, and 45 minutes past the hour.
2265
+ */
623
2266
  thermostat_daily_program_period_precision_minutes?: number | undefined;
2267
+ /**
2268
+ * Configured [daily programs](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-programs) for the thermostat.
2269
+ */
624
2270
  thermostat_daily_programs?: Array<{
2271
+ /**
2272
+ * Date and time at which the thermostat daily program was created.
2273
+ */
625
2274
  created_at: string;
2275
+ /**
2276
+ * ID of the thermostat device on which the thermostat daily program is configured.
2277
+ */
626
2278
  device_id: string;
2279
+ /**
2280
+ * User-friendly name to identify the thermostat daily program.
2281
+ */
627
2282
  name: string | null;
2283
+ /**
2284
+ * Array of thermostat daily program periods.
2285
+ */
628
2286
  periods: Array<{
2287
+ /**
2288
+ * Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.
2289
+ */
629
2290
  climate_preset_key: string;
2291
+ /**
2292
+ * Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
2293
+ */
630
2294
  starts_at_time: string;
631
2295
  }>;
2296
+ /**
2297
+ * ID of the thermostat daily program.
2298
+ */
632
2299
  thermostat_daily_program_id: string;
2300
+ /**
2301
+ * ID of the workspace that contains the thermostat daily program.
2302
+ */
633
2303
  workspace_id: string;
634
2304
  }> | undefined;
2305
+ /**
2306
+ * Current [weekly program](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-programs) for the thermostat.
2307
+ */
635
2308
  thermostat_weekly_program?: {
2309
+ /**
2310
+ * Date and time at which the thermostat weekly program was created.
2311
+ */
636
2312
  created_at: string;
2313
+ /**
2314
+ * ID of the thermostat daily program to run on Fridays.
2315
+ */
637
2316
  friday_program_id: string | null;
2317
+ /**
2318
+ * ID of the thermostat daily program to run on Mondays.
2319
+ */
638
2320
  monday_program_id: string | null;
2321
+ /**
2322
+ * ID of the thermostat daily program to run on Saturdays.
2323
+ */
639
2324
  saturday_program_id: string | null;
2325
+ /**
2326
+ * ID of the thermostat daily program to run on Sundays.
2327
+ */
640
2328
  sunday_program_id: string | null;
2329
+ /**
2330
+ * ID of the thermostat daily program to run on Thursdays.
2331
+ */
641
2332
  thursday_program_id: string | null;
2333
+ /**
2334
+ * ID of the thermostat daily program to run on Tuesdays.
2335
+ */
642
2336
  tuesday_program_id: string | null;
2337
+ /**
2338
+ * ID of the thermostat daily program to run on Wednesdays.
2339
+ */
643
2340
  wednesday_program_id: string | null;
644
2341
  } | null | undefined;
645
2342
  };
2343
+ /**
2344
+ * IDs of the spaces the device is in.
2345
+ */
646
2346
  space_ids: Array<string>;
647
- warnings: Array<{
2347
+ /**
2348
+ * 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.
2349
+ */
2350
+ warnings: Array<
2351
+ /**
2352
+ * Indicates that the backup access code is unhealthy.
2353
+ */
2354
+ {
2355
+ /**
2356
+ * Date and time at which Seam created the warning.
2357
+ */
648
2358
  created_at: string;
2359
+ /**
2360
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2361
+ */
649
2362
  message: string;
2363
+ /**
2364
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2365
+ */
650
2366
  warning_code: 'partial_backup_access_code_pool';
651
- } | {
2367
+ } /**
2368
+ * Indicates that there are too many backup codes.
2369
+ */ | {
2370
+ /**
2371
+ * Date and time at which Seam created the warning.
2372
+ */
652
2373
  created_at: string;
2374
+ /**
2375
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2376
+ */
653
2377
  message: string;
2378
+ /**
2379
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2380
+ */
654
2381
  warning_code: 'many_active_backup_codes';
655
- } | {
2382
+ } /**
2383
+ * Indicates that a third-party integration has been detected.
2384
+ */ | {
2385
+ /**
2386
+ * Date and time at which Seam created the warning.
2387
+ */
656
2388
  created_at: string;
2389
+ /**
2390
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2391
+ */
657
2392
  message: string;
2393
+ /**
2394
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2395
+ */
658
2396
  warning_code: 'third_party_integration_detected';
659
- } | {
2397
+ } /**
2398
+ * Indicates that the Remote Unlock feature is not enabled in the settings."
2399
+ */ | {
2400
+ /**
2401
+ * Date and time at which Seam created the warning.
2402
+ */
660
2403
  created_at: string;
2404
+ /**
2405
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2406
+ */
661
2407
  message: string;
2408
+ /**
2409
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2410
+ */
662
2411
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
663
- } | {
2412
+ } /**
2413
+ * Indicates that the gateway signal is weak.
2414
+ */ | {
2415
+ /**
2416
+ * Date and time at which Seam created the warning.
2417
+ */
664
2418
  created_at: string;
2419
+ /**
2420
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2421
+ */
665
2422
  message: string;
2423
+ /**
2424
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2425
+ */
666
2426
  warning_code: 'ttlock_weak_gateway_signal';
667
- } | {
2427
+ } /**
2428
+ * Indicates that the device is in power saving mode and may have limited functionality.
2429
+ */ | {
2430
+ /**
2431
+ * Date and time at which Seam created the warning.
2432
+ */
668
2433
  created_at: string;
2434
+ /**
2435
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2436
+ */
669
2437
  message: string;
2438
+ /**
2439
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2440
+ */
670
2441
  warning_code: 'power_saving_mode';
671
- } | {
2442
+ } /**
2443
+ * Indicates that the temperature threshold has been exceeded.
2444
+ */ | {
2445
+ /**
2446
+ * Date and time at which Seam created the warning.
2447
+ */
672
2448
  created_at: string;
2449
+ /**
2450
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2451
+ */
673
2452
  message: string;
2453
+ /**
2454
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2455
+ */
674
2456
  warning_code: 'temperature_threshold_exceeded';
675
- } | {
2457
+ } /**
2458
+ * Indicates that the device appears to be unresponsive.
2459
+ */ | {
2460
+ /**
2461
+ * Date and time at which Seam created the warning.
2462
+ */
676
2463
  created_at: string;
2464
+ /**
2465
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2466
+ */
677
2467
  message: string;
2468
+ /**
2469
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2470
+ */
678
2471
  warning_code: 'device_communication_degraded';
679
- } | {
2472
+ } /**
2473
+ * Indicates that a scheduled maintenance window has been detected.
2474
+ */ | {
2475
+ /**
2476
+ * Date and time at which Seam created the warning.
2477
+ */
680
2478
  created_at: string;
2479
+ /**
2480
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2481
+ */
681
2482
  message: string;
2483
+ /**
2484
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2485
+ */
682
2486
  warning_code: 'scheduled_maintenance_window';
683
- } | {
2487
+ } /**
2488
+ * Indicates that the device has a flaky connection.
2489
+ */ | {
2490
+ /**
2491
+ * Date and time at which Seam created the warning.
2492
+ */
684
2493
  created_at: string;
2494
+ /**
2495
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2496
+ */
685
2497
  message: string;
2498
+ /**
2499
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2500
+ */
686
2501
  warning_code: 'device_has_flaky_connection';
687
- } | {
2502
+ } /**
2503
+ * Indicates that the Salto KS lock is in Office Mode. Access Codes will not unlock doors.
2504
+ */ | {
2505
+ /**
2506
+ * Date and time at which Seam created the warning.
2507
+ */
688
2508
  created_at: string;
2509
+ /**
2510
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2511
+ */
689
2512
  message: string;
2513
+ /**
2514
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2515
+ */
690
2516
  warning_code: 'salto_ks_office_mode';
691
- } | {
2517
+ } /**
2518
+ * Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.
2519
+ */ | {
2520
+ /**
2521
+ * Date and time at which Seam created the warning.
2522
+ */
692
2523
  created_at: string;
2524
+ /**
2525
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2526
+ */
693
2527
  message: string;
2528
+ /**
2529
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2530
+ */
694
2531
  warning_code: 'salto_ks_privacy_mode';
695
- } | {
2532
+ } /**
2533
+ * Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.
2534
+ */ | {
2535
+ /**
2536
+ * Date and time at which Seam created the warning.
2537
+ */
696
2538
  created_at: string;
2539
+ /**
2540
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2541
+ */
697
2542
  message: string;
2543
+ /**
2544
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2545
+ */
698
2546
  warning_code: 'privacy_mode';
699
- } | {
2547
+ } /**
2548
+ * Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site.
2549
+ */ | {
2550
+ /**
2551
+ * Date and time at which Seam created the warning.
2552
+ */
700
2553
  created_at: string;
2554
+ /**
2555
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2556
+ */
701
2557
  message: string;
2558
+ /**
2559
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2560
+ */
702
2561
  warning_code: 'salto_ks_subscription_limit_almost_reached';
703
- } | {
2562
+ } /**
2563
+ * Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.
2564
+ */ | {
2565
+ /**
2566
+ * Date and time at which Seam created the warning.
2567
+ */
704
2568
  created_at: string;
2569
+ /**
2570
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2571
+ */
705
2572
  message: string;
2573
+ /**
2574
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2575
+ */
706
2576
  warning_code: 'salto_ks_lock_access_code_support_removed';
707
- } | {
2577
+ } /**
2578
+ * Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.
2579
+ */ | {
2580
+ /**
2581
+ * Date and time at which Seam created the warning.
2582
+ */
708
2583
  created_at: string;
2584
+ /**
2585
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2586
+ */
709
2587
  message: string;
2588
+ /**
2589
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2590
+ */
710
2591
  warning_code: 'unknown_issue_with_phone';
711
- } | {
2592
+ } /**
2593
+ * Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected.
2594
+ */ | {
2595
+ /**
2596
+ * Date and time at which Seam created the warning.
2597
+ */
712
2598
  created_at: string;
2599
+ /**
2600
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2601
+ */
713
2602
  message: string;
2603
+ /**
2604
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2605
+ */
714
2606
  warning_code: 'lockly_time_zone_not_configured';
715
- } | {
2607
+ } /**
2608
+ * Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.
2609
+ */ | {
2610
+ /**
2611
+ * Date and time at which Seam created the warning.
2612
+ */
716
2613
  created_at: string;
2614
+ /**
2615
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2616
+ */
717
2617
  message: string;
2618
+ /**
2619
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2620
+ */
718
2621
  warning_code: 'ultraloq_time_zone_unknown';
719
- } | {
2622
+ } /**
2623
+ * Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.
2624
+ */ | {
2625
+ /**
2626
+ * Date and time at which Seam created the warning.
2627
+ */
720
2628
  created_at: string;
2629
+ /**
2630
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2631
+ */
721
2632
  message: string;
2633
+ /**
2634
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2635
+ */
722
2636
  warning_code: 'time_zone_unknown';
723
- } | {
2637
+ } /**
2638
+ * Indicates that the device's configured time zone does not match its hardware UTC offset. Time-bound access codes may activate at the wrong local time.
2639
+ */ | {
2640
+ /**
2641
+ * Date and time at which Seam created the warning.
2642
+ */
724
2643
  created_at: string;
2644
+ /**
2645
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2646
+ */
725
2647
  message: string;
2648
+ /**
2649
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2650
+ */
726
2651
  warning_code: 'time_zone_mismatch';
727
- } | {
2652
+ } /**
2653
+ * Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.
2654
+ */ | {
2655
+ /**
2656
+ * Date and time at which Seam created the warning.
2657
+ */
728
2658
  created_at: string;
2659
+ /**
2660
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2661
+ */
729
2662
  message: string;
2663
+ /**
2664
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2665
+ */
730
2666
  warning_code: 'two_n_device_missing_timezone';
731
- } | {
2667
+ } /**
2668
+ * Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
2669
+ */ | {
2670
+ /**
2671
+ * Date and time at which Seam created the warning.
2672
+ */
732
2673
  created_at: string;
2674
+ /**
2675
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2676
+ */
733
2677
  message: string;
2678
+ /**
2679
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2680
+ */
734
2681
  warning_code: 'hub_required_for_additional_capabilities';
735
- } | {
2682
+ } /**
2683
+ * Indicates a provider-specific issue that may affect device functionality.
2684
+ */ | {
2685
+ /**
2686
+ * Date and time at which Seam created the warning.
2687
+ */
736
2688
  created_at: string;
2689
+ /**
2690
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2691
+ */
737
2692
  message: string;
2693
+ /**
2694
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2695
+ */
738
2696
  warning_code: 'provider_issue';
739
- } | {
2697
+ } /**
2698
+ * Indicates that the key is in a locker that does not support the access codes API.
2699
+ */ | {
2700
+ /**
2701
+ * Date and time at which Seam created the warning.
2702
+ */
740
2703
  created_at: string;
2704
+ /**
2705
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2706
+ */
741
2707
  message: string;
2708
+ /**
2709
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2710
+ */
742
2711
  warning_code: 'keynest_unsupported_locker';
743
- } | {
2712
+ } /**
2713
+ * Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.
2714
+ */ | {
2715
+ /**
2716
+ * Date and time at which Seam created the warning.
2717
+ */
744
2718
  created_at: string;
2719
+ /**
2720
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2721
+ */
745
2722
  message: string;
2723
+ /**
2724
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2725
+ */
746
2726
  warning_code: 'accessory_keypad_setup_required';
747
- } | {
2727
+ } /**
2728
+ * Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.
2729
+ */ | {
2730
+ /**
2731
+ * Date and time at which Seam created the warning.
2732
+ */
748
2733
  created_at: string;
2734
+ /**
2735
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2736
+ */
749
2737
  message: string;
2738
+ /**
2739
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2740
+ */
750
2741
  warning_code: 'unreliable_online_status';
751
- } | {
2742
+ } /**
2743
+ * Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.
2744
+ */ | {
2745
+ /**
2746
+ * Number of active access codes on the device when the warning was set.
2747
+ */
752
2748
  active_access_code_count: number;
2749
+ /**
2750
+ * Date and time at which Seam created the warning.
2751
+ */
753
2752
  created_at: string;
2753
+ /**
2754
+ * Maximum number of active access codes supported by the device.
2755
+ */
754
2756
  max_active_access_code_count: number;
2757
+ /**
2758
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2759
+ */
755
2760
  message: string;
2761
+ /**
2762
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2763
+ */
756
2764
  warning_code: 'max_access_codes_reached';
757
- } | {
2765
+ } /**
2766
+ * Indicates that the connected Kwikset account has member-level access to this lock's home. Admin or owner access is required to manage access codes and control the lock remotely.
2767
+ */ | {
2768
+ /**
2769
+ * Date and time at which Seam created the warning.
2770
+ */
758
2771
  created_at: string;
2772
+ /**
2773
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
2774
+ */
759
2775
  message: string;
2776
+ /**
2777
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
2778
+ */
760
2779
  warning_code: 'insufficient_permissions';
761
2780
  }>;
2781
+ /**
2782
+ * Unique identifier for the Seam workspace associated with the device.
2783
+ */
762
2784
  workspace_id: string;
763
2785
  };