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