@seamapi/http 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/lib/seam/connect/resources/access-code.d.ts +743 -56
  2. package/lib/seam/connect/resources/access-grant.d.ts +279 -10
  3. package/lib/seam/connect/resources/access-method.d.ts +204 -8
  4. package/lib/seam/connect/resources/acs-access-group.d.ts +242 -9
  5. package/lib/seam/connect/resources/acs-credential.d.ts +212 -6
  6. package/lib/seam/connect/resources/acs-encoder.d.ts +46 -0
  7. package/lib/seam/connect/resources/acs-entrance.d.ts +298 -5
  8. package/lib/seam/connect/resources/acs-system.d.ts +227 -11
  9. package/lib/seam/connect/resources/acs-user.d.ts +388 -19
  10. package/lib/seam/connect/resources/action-attempt.d.ts +954 -0
  11. package/lib/seam/connect/resources/batch.d.ts +3 -0
  12. package/lib/seam/connect/resources/client-session.d.ts +48 -0
  13. package/lib/seam/connect/resources/connect-webview.d.ts +70 -0
  14. package/lib/seam/connect/resources/connected-account.d.ts +281 -12
  15. package/lib/seam/connect/resources/customer-portal.d.ts +22 -0
  16. package/lib/seam/connect/resources/device-provider.d.ts +72 -0
  17. package/lib/seam/connect/resources/device.d.ts +2063 -41
  18. package/lib/seam/connect/resources/event.d.ts +4014 -0
  19. package/lib/seam/connect/resources/instant-key.d.ts +41 -0
  20. package/lib/seam/connect/resources/noise-threshold.d.ts +24 -0
  21. package/lib/seam/connect/resources/phone.d.ts +72 -0
  22. package/lib/seam/connect/resources/space.d.ts +54 -0
  23. package/lib/seam/connect/resources/thermostat-daily-program.d.ts +27 -0
  24. package/lib/seam/connect/resources/thermostat-schedule.d.ts +45 -0
  25. package/lib/seam/connect/resources/unmanaged-access-code.d.ts +602 -50
  26. package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +267 -10
  27. package/lib/seam/connect/resources/unmanaged-access-method.d.ts +195 -8
  28. package/lib/seam/connect/resources/unmanaged-device.d.ts +810 -120
  29. package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +79 -3
  30. package/lib/seam/connect/resources/user-identity.d.ts +82 -3
  31. package/lib/seam/connect/resources/webhook.d.ts +15 -0
  32. package/lib/seam/connect/resources/workspace.d.ts +45 -0
  33. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +288 -0
  34. package/lib/seam/connect/routes/access-codes/access-codes.js +60 -0
  35. package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
  36. package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +12 -0
  37. package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -0
  38. package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
  39. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +72 -0
  40. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +21 -0
  41. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
  42. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +177 -0
  43. package/lib/seam/connect/routes/access-grants/access-grants.js +21 -0
  44. package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
  45. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +43 -0
  46. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +13 -0
  47. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -1
  48. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +78 -0
  49. package/lib/seam/connect/routes/access-methods/access-methods.js +21 -0
  50. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  51. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +21 -0
  52. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +6 -0
  53. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -1
  54. package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +63 -0
  55. package/lib/seam/connect/routes/acs/access-groups/access-groups.js +21 -0
  56. package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
  57. package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +126 -0
  58. package/lib/seam/connect/routes/acs/credentials/credentials.js +24 -0
  59. package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
  60. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +66 -0
  61. package/lib/seam/connect/routes/acs/encoders/encoders.js +15 -0
  62. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
  63. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +39 -0
  64. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -0
  65. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
  66. package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +72 -0
  67. package/lib/seam/connect/routes/acs/entrances/entrances.js +15 -0
  68. package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
  69. package/lib/seam/connect/routes/acs/systems/systems.d.ts +64 -0
  70. package/lib/seam/connect/routes/acs/systems/systems.js +16 -0
  71. package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
  72. package/lib/seam/connect/routes/acs/users/users.d.ts +189 -0
  73. package/lib/seam/connect/routes/acs/users/users.js +33 -0
  74. package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
  75. package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -0
  76. package/lib/seam/connect/routes/action-attempts/action-attempts.js +6 -0
  77. package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
  78. package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +113 -0
  79. package/lib/seam/connect/routes/client-sessions/client-sessions.js +23 -0
  80. package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
  81. package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +76 -0
  82. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +22 -0
  83. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
  84. package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +70 -0
  85. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +19 -0
  86. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
  87. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +6 -0
  88. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +3 -0
  89. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +1 -1
  90. package/lib/seam/connect/routes/customers/customers.d.ts +1042 -0
  91. package/lib/seam/connect/routes/customers/customers.js +10 -0
  92. package/lib/seam/connect/routes/customers/customers.js.map +1 -1
  93. package/lib/seam/connect/routes/devices/devices.d.ts +122 -0
  94. package/lib/seam/connect/routes/devices/devices.js +23 -0
  95. package/lib/seam/connect/routes/devices/devices.js.map +1 -1
  96. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +42 -0
  97. package/lib/seam/connect/routes/devices/simulate/simulate.js +27 -0
  98. package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
  99. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +80 -0
  100. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +17 -0
  101. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
  102. package/lib/seam/connect/routes/events/events.d.ts +99 -0
  103. package/lib/seam/connect/routes/events/events.js +6 -0
  104. package/lib/seam/connect/routes/events/events.js.map +1 -1
  105. package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +21 -0
  106. package/lib/seam/connect/routes/instant-keys/instant-keys.js +9 -0
  107. package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
  108. package/lib/seam/connect/routes/locks/locks.d.ts +85 -0
  109. package/lib/seam/connect/routes/locks/locks.js +16 -0
  110. package/lib/seam/connect/routes/locks/locks.js.map +1 -1
  111. package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +15 -0
  112. package/lib/seam/connect/routes/locks/simulate/simulate.js +6 -0
  113. package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
  114. package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +51 -0
  115. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -0
  116. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
  117. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +66 -0
  118. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -0
  119. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
  120. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +6 -0
  121. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -0
  122. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
  123. package/lib/seam/connect/routes/phones/phones.d.ts +21 -0
  124. package/lib/seam/connect/routes/phones/phones.js +9 -0
  125. package/lib/seam/connect/routes/phones/phones.js.map +1 -1
  126. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +45 -0
  127. package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -0
  128. package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
  129. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +6 -0
  130. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +6 -0
  131. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
  132. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +696 -0
  133. package/lib/seam/connect/routes/seam-http-endpoints.js +696 -0
  134. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  135. package/lib/seam/connect/routes/spaces/spaces.d.ts +165 -0
  136. package/lib/seam/connect/routes/spaces/spaces.js +36 -0
  137. package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
  138. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +42 -0
  139. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +9 -0
  140. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
  141. package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +69 -0
  142. package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -0
  143. package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
  144. package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +33 -0
  145. package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -0
  146. package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
  147. package/lib/seam/connect/routes/thermostats/thermostats.d.ts +300 -0
  148. package/lib/seam/connect/routes/thermostats/thermostats.js +42 -0
  149. package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
  150. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +35 -0
  151. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +11 -0
  152. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -1
  153. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +145 -0
  154. package/lib/seam/connect/routes/user-identities/user-identities.js +46 -0
  155. package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
  156. package/lib/seam/connect/routes/webhooks/webhooks.d.ts +33 -0
  157. package/lib/seam/connect/routes/webhooks/webhooks.js +15 -0
  158. package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
  159. package/lib/seam/connect/routes/workspaces/workspaces.d.ts +88 -0
  160. package/lib/seam/connect/routes/workspaces/workspaces.js +15 -0
  161. package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
  162. package/lib/version.d.ts +1 -1
  163. package/lib/version.js +1 -1
  164. package/package.json +1 -1
  165. package/src/lib/seam/connect/resources/access-code.ts +719 -35
  166. package/src/lib/seam/connect/resources/access-grant.ts +284 -16
  167. package/src/lib/seam/connect/resources/access-method.ts +205 -10
  168. package/src/lib/seam/connect/resources/acs-access-group.ts +247 -14
  169. package/src/lib/seam/connect/resources/acs-credential.ts +210 -5
  170. package/src/lib/seam/connect/resources/acs-encoder.ts +46 -0
  171. package/src/lib/seam/connect/resources/acs-entrance.ts +296 -4
  172. package/src/lib/seam/connect/resources/acs-system.ts +223 -9
  173. package/src/lib/seam/connect/resources/acs-user.ts +382 -16
  174. package/src/lib/seam/connect/resources/action-attempt.ts +956 -0
  175. package/src/lib/seam/connect/resources/batch.ts +3 -0
  176. package/src/lib/seam/connect/resources/client-session.ts +48 -0
  177. package/src/lib/seam/connect/resources/connect-webview.ts +70 -0
  178. package/src/lib/seam/connect/resources/connected-account.ts +277 -10
  179. package/src/lib/seam/connect/resources/customer-portal.ts +22 -0
  180. package/src/lib/seam/connect/resources/device-provider.ts +72 -0
  181. package/src/lib/seam/connect/resources/device.ts +2059 -39
  182. package/src/lib/seam/connect/resources/event.ts +4015 -0
  183. package/src/lib/seam/connect/resources/instant-key.ts +41 -0
  184. package/src/lib/seam/connect/resources/noise-threshold.ts +24 -0
  185. package/src/lib/seam/connect/resources/phone.ts +72 -0
  186. package/src/lib/seam/connect/resources/space.ts +54 -0
  187. package/src/lib/seam/connect/resources/thermostat-daily-program.ts +27 -0
  188. package/src/lib/seam/connect/resources/thermostat-schedule.ts +45 -0
  189. package/src/lib/seam/connect/resources/unmanaged-access-code.ts +580 -30
  190. package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +272 -16
  191. package/src/lib/seam/connect/resources/unmanaged-access-method.ts +196 -10
  192. package/src/lib/seam/connect/resources/unmanaged-device.ts +727 -39
  193. package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +84 -8
  194. package/src/lib/seam/connect/resources/user-identity.ts +87 -8
  195. package/src/lib/seam/connect/resources/webhook.ts +15 -0
  196. package/src/lib/seam/connect/resources/workspace.ts +46 -0
  197. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +291 -0
  198. package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +12 -0
  199. package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +73 -0
  200. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +180 -0
  201. package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +43 -0
  202. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +79 -0
  203. package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +21 -0
  204. package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +63 -0
  205. package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +133 -0
  206. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +66 -0
  207. package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +40 -0
  208. package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +72 -0
  209. package/src/lib/seam/connect/routes/acs/systems/systems.ts +64 -0
  210. package/src/lib/seam/connect/routes/acs/users/users.ts +189 -0
  211. package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +21 -0
  212. package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +113 -0
  213. package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +76 -0
  214. package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +70 -0
  215. package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +6 -0
  216. package/src/lib/seam/connect/routes/customers/customers.ts +1058 -0
  217. package/src/lib/seam/connect/routes/devices/devices.ts +123 -0
  218. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +42 -0
  219. package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +80 -0
  220. package/src/lib/seam/connect/routes/events/events.ts +99 -0
  221. package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +21 -0
  222. package/src/lib/seam/connect/routes/locks/locks.ts +85 -0
  223. package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +15 -0
  224. package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +51 -0
  225. package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +66 -0
  226. package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +6 -0
  227. package/src/lib/seam/connect/routes/phones/phones.ts +21 -0
  228. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +45 -0
  229. package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +6 -0
  230. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +696 -0
  231. package/src/lib/seam/connect/routes/spaces/spaces.ts +166 -0
  232. package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +42 -0
  233. package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +69 -0
  234. package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +33 -0
  235. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +300 -0
  236. package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +35 -0
  237. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +146 -0
  238. package/src/lib/seam/connect/routes/webhooks/webhooks.ts +33 -0
  239. package/src/lib/seam/connect/routes/workspaces/workspaces.ts +88 -0
  240. package/src/lib/version.ts +1 -1
@@ -1,249 +1,939 @@
1
+ /**
2
+ * Represents an [unmanaged device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices). An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).
3
+ */
1
4
  export type UnmanagedDevice = {
5
+ /**
6
+ * Indicates whether the lock supports configuring automatic locking.
7
+ */
2
8
  can_configure_auto_lock?: boolean | undefined;
9
+ /**
10
+ * Indicates whether the thermostat supports cooling.
11
+ */
3
12
  can_hvac_cool?: boolean | undefined;
13
+ /**
14
+ * Indicates whether the thermostat supports heating.
15
+ */
4
16
  can_hvac_heat?: boolean | undefined;
17
+ /**
18
+ * Indicates whether the thermostat supports simultaneous heating and cooling.
19
+ */
5
20
  can_hvac_heat_cool?: boolean | undefined;
21
+ /**
22
+ * Indicates whether the device supports programming offline access codes.
23
+ */
6
24
  can_program_offline_access_codes?: boolean | undefined;
25
+ /**
26
+ * Indicates whether the device supports programming online access codes.
27
+ */
7
28
  can_program_online_access_codes?: boolean | undefined;
29
+ /**
30
+ * Indicates whether the thermostat supports different climate programs for each day of the week.
31
+ */
8
32
  can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
33
+ /**
34
+ * Indicates whether the thermostat supports a single climate program applied to every day.
35
+ */
9
36
  can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
37
+ /**
38
+ * Indicates whether the thermostat supports weekday/weekend climate programs.
39
+ */
10
40
  can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
41
+ /**
42
+ * Indicates whether the device supports remote locking.
43
+ */
11
44
  can_remotely_lock?: boolean | undefined;
45
+ /**
46
+ * Indicates whether the device supports remote unlocking.
47
+ */
12
48
  can_remotely_unlock?: boolean | undefined;
49
+ /**
50
+ * Indicates whether the thermostat supports running climate programs.
51
+ */
13
52
  can_run_thermostat_programs?: boolean | undefined;
53
+ /**
54
+ * Indicates whether the device supports simulating connection in a sandbox.
55
+ */
14
56
  can_simulate_connection?: boolean | undefined;
57
+ /**
58
+ * Indicates whether the device supports simulating disconnection in a sandbox.
59
+ */
15
60
  can_simulate_disconnection?: boolean | undefined;
61
+ /**
62
+ * Indicates whether the hub supports simulating connection in a sandbox.
63
+ */
16
64
  can_simulate_hub_connection?: boolean | undefined;
65
+ /**
66
+ * Indicates whether the hub supports simulating disconnection in a sandbox.
67
+ */
17
68
  can_simulate_hub_disconnection?: boolean | undefined;
69
+ /**
70
+ * Indicates whether the device supports simulating a paid subscription in a sandbox.
71
+ */
18
72
  can_simulate_paid_subscription?: boolean | undefined;
73
+ /**
74
+ * Indicates whether the device supports simulating removal in a sandbox.
75
+ */
19
76
  can_simulate_removal?: boolean | undefined;
77
+ /**
78
+ * Indicates whether the thermostat can be turned off.
79
+ */
20
80
  can_turn_off_hvac?: boolean | undefined;
81
+ /**
82
+ * Indicates whether the lock supports unlocking with an access code.
83
+ */
21
84
  can_unlock_with_code?: boolean | undefined;
85
+ /**
86
+ * Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/capability-guides/device-and-system-capabilities#capability-flags).
87
+ */
22
88
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
89
+ /**
90
+ * Unique identifier for the account associated with the device.
91
+ */
23
92
  connected_account_id: string;
93
+ /**
94
+ * Date and time at which the device object was created.
95
+ */
24
96
  created_at: string;
97
+ /**
98
+ * Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.
99
+ */
25
100
  custom_metadata: Record<string, unknown>;
101
+ /**
102
+ * ID of the device.
103
+ */
26
104
  device_id: string;
105
+ /**
106
+ * Type of the device.
107
+ */
27
108
  device_type: 'akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock' | 'keynest_key' | 'noiseaware_activity_zone' | 'minut_sensor' | 'ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat' | 'ios_phone' | 'android_phone' | 'ring_camera';
28
- errors: Array<{
29
- created_at: string;
109
+ /**
110
+ * 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.
111
+ */
112
+ errors: Array<
113
+ /**
114
+ * Indicates that the account is disconnected.
115
+ */
116
+ {
117
+ /**
118
+ * Date and time at which Seam created the error.
119
+ */
120
+ created_at: string;
121
+ /**
122
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
123
+ */
30
124
  error_code: 'account_disconnected';
125
+ /**
126
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
127
+ */
31
128
  is_connected_account_error: boolean;
129
+ /**
130
+ * Indicates that the error is not a device error.
131
+ */
32
132
  is_device_error: boolean;
33
- message: string;
34
- } | {
35
- created_at: string;
133
+ /**
134
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
135
+ */
136
+ message: string;
137
+ } /**
138
+ * Indicates that the Salto site user limit has been reached.
139
+ */ | {
140
+ /**
141
+ * Date and time at which Seam created the error.
142
+ */
143
+ created_at: string;
144
+ /**
145
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
146
+ */
36
147
  error_code: 'salto_ks_subscription_limit_exceeded';
148
+ /**
149
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
150
+ */
37
151
  is_connected_account_error: boolean;
152
+ /**
153
+ * Indicates that the error is not a device error.
154
+ */
38
155
  is_device_error: boolean;
39
- message: string;
40
- } | {
41
- created_at: string;
156
+ /**
157
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
158
+ */
159
+ message: string;
160
+ } /**
161
+ * Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.
162
+ */ | {
163
+ /**
164
+ * Date and time at which Seam created the error.
165
+ */
166
+ created_at: string;
167
+ /**
168
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
169
+ */
42
170
  error_code: 'dormakaba_sites_disconnected';
171
+ /**
172
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
173
+ */
43
174
  is_connected_account_error: boolean;
175
+ /**
176
+ * Indicates that the error is not a device error.
177
+ */
44
178
  is_device_error: boolean;
45
- message: string;
46
- } | {
47
- created_at: string;
179
+ /**
180
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
181
+ */
182
+ message: string;
183
+ } /**
184
+ * Indicates that the device is offline.
185
+ */ | {
186
+ /**
187
+ * Date and time at which Seam created the error.
188
+ */
189
+ created_at: string;
190
+ /**
191
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
192
+ */
48
193
  error_code: 'device_offline';
194
+ /**
195
+ * Indicates that the error is a device error.
196
+ */
49
197
  is_device_error: boolean;
50
- message: string;
51
- } | {
52
- created_at: string;
198
+ /**
199
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
200
+ */
201
+ message: string;
202
+ } /**
203
+ * Indicates that the device has been removed.
204
+ */ | {
205
+ /**
206
+ * Date and time at which Seam created the error.
207
+ */
208
+ created_at: string;
209
+ /**
210
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
211
+ */
53
212
  error_code: 'device_removed';
213
+ /**
214
+ * Indicates that the error is a device error.
215
+ */
54
216
  is_device_error: boolean;
55
- message: string;
56
- } | {
57
- created_at: string;
217
+ /**
218
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
219
+ */
220
+ message: string;
221
+ } /**
222
+ * Indicates that the hub is disconnected.
223
+ */ | {
224
+ /**
225
+ * Date and time at which Seam created the error.
226
+ */
227
+ created_at: string;
228
+ /**
229
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
230
+ */
58
231
  error_code: 'hub_disconnected';
232
+ /**
233
+ * Indicates that the error is a device error.
234
+ */
59
235
  is_device_error: boolean;
60
- message: string;
61
- } | {
62
- created_at: string;
236
+ /**
237
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
238
+ */
239
+ message: string;
240
+ } /**
241
+ * Indicates that the device is disconnected.
242
+ */ | {
243
+ /**
244
+ * Date and time at which Seam created the error.
245
+ */
246
+ created_at: string;
247
+ /**
248
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
249
+ */
63
250
  error_code: 'device_disconnected';
251
+ /**
252
+ * Indicates that the error is a device error.
253
+ */
64
254
  is_device_error: boolean;
65
- message: string;
66
- } | {
67
- created_at: string;
255
+ /**
256
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
257
+ */
258
+ message: string;
259
+ } /**
260
+ * Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.
261
+ */ | {
262
+ /**
263
+ * Date and time at which Seam created the error.
264
+ */
265
+ created_at: string;
266
+ /**
267
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
268
+ */
68
269
  error_code: 'empty_backup_access_code_pool';
270
+ /**
271
+ * Indicates that the error is a device error.
272
+ */
69
273
  is_device_error: boolean;
70
- message: string;
71
- } | {
72
- created_at: string;
274
+ /**
275
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
276
+ */
277
+ message: string;
278
+ } /**
279
+ * Indicates that the user is not authorized to use the August lock.
280
+ */ | {
281
+ /**
282
+ * Date and time at which Seam created the error.
283
+ */
284
+ created_at: string;
285
+ /**
286
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
287
+ */
73
288
  error_code: 'august_lock_not_authorized';
289
+ /**
290
+ * Indicates that the error is a device error.
291
+ */
74
292
  is_device_error: boolean;
75
- message: string;
76
- } | {
77
- created_at: string;
293
+ /**
294
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
295
+ */
296
+ message: string;
297
+ } /**
298
+ * Indicates that device credentials are missing.
299
+ */ | {
300
+ /**
301
+ * Date and time at which Seam created the error.
302
+ */
303
+ created_at: string;
304
+ /**
305
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
306
+ */
78
307
  error_code: 'missing_device_credentials';
308
+ /**
309
+ * Indicates that the error is a device error.
310
+ */
79
311
  is_device_error: boolean;
80
- message: string;
81
- } | {
82
- created_at: string;
312
+ /**
313
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
314
+ */
315
+ message: string;
316
+ } /**
317
+ * Indicates that the auxiliary heat is running.
318
+ */ | {
319
+ /**
320
+ * Date and time at which Seam created the error.
321
+ */
322
+ created_at: string;
323
+ /**
324
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
325
+ */
83
326
  error_code: 'auxiliary_heat_running';
327
+ /**
328
+ * Indicates that the error is a device error.
329
+ */
84
330
  is_device_error: boolean;
85
- message: string;
86
- } | {
87
- created_at: string;
331
+ /**
332
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
333
+ */
334
+ message: string;
335
+ } /**
336
+ * Indicates that a subscription is required to connect.
337
+ */ | {
338
+ /**
339
+ * Date and time at which Seam created the error.
340
+ */
341
+ created_at: string;
342
+ /**
343
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
344
+ */
88
345
  error_code: 'subscription_required';
346
+ /**
347
+ * Indicates that the error is a device error.
348
+ */
89
349
  is_device_error: boolean;
90
- message: string;
91
- } | {
92
- created_at: string;
350
+ /**
351
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
352
+ */
353
+ message: string;
354
+ } /**
355
+ * 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).
356
+ */ | {
357
+ /**
358
+ * Date and time at which Seam created the error.
359
+ */
360
+ created_at: string;
361
+ /**
362
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
363
+ */
93
364
  error_code: 'bridge_disconnected';
365
+ /**
366
+ * Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).
367
+ */
94
368
  is_bridge_error?: boolean | undefined;
369
+ /**
370
+ * Indicates whether the error is related specifically to the connected account.
371
+ */
95
372
  is_connected_account_error?: boolean | undefined;
373
+ /**
374
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
375
+ */
96
376
  message: string;
97
377
  }>;
378
+ /**
379
+ * Indicates that Seam does not manage the device.
380
+ */
98
381
  is_managed: boolean;
382
+ /**
383
+ * Location information for the device.
384
+ */
99
385
  location?: {
386
+ /**
387
+ * Name of the device location.
388
+ */
100
389
  location_name?: string | undefined;
390
+ /**
391
+ * Time zone of the device location.
392
+ */
101
393
  time_zone?: string | undefined;
394
+ /**
395
+ * Time zone of the device location.
396
+ * @deprecated Use `time_zone` instead.
397
+ */
102
398
  timezone?: string | undefined;
103
399
  } | undefined;
400
+ /**
401
+ * properties of the device.
402
+ */
104
403
  properties: {
404
+ /**
405
+ * Accessory keypad properties and state.
406
+ */
105
407
  accessory_keypad?: {
408
+ /**
409
+ * Keypad battery properties.
410
+ */
106
411
  battery?: {
107
412
  level: number;
108
413
  } | undefined;
414
+ /**
415
+ * Indicates if an accessory keypad is connected to the device.
416
+ */
109
417
  is_connected: boolean;
110
418
  } | undefined;
419
+ /**
420
+ * Represents the current status of the battery charge level.
421
+ */
111
422
  battery?: {
423
+ /**
424
+ * Battery charge level as a value between 0 and 1, inclusive.
425
+ */
112
426
  level: number;
427
+ /**
428
+ * 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.
429
+ */
113
430
  status: 'critical' | 'low' | 'good' | 'full';
114
431
  } | undefined;
432
+ /**
433
+ * Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.
434
+ */
115
435
  battery_level?: number | undefined;
436
+ /**
437
+ * Alt text for the device image.
438
+ */
116
439
  image_alt_text?: string | undefined;
440
+ /**
441
+ * Image URL for the device.
442
+ */
117
443
  image_url?: string | undefined;
444
+ /**
445
+ * 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.
446
+ */
118
447
  manufacturer?: string | undefined;
448
+ /**
449
+ * Device model-related properties.
450
+ */
119
451
  model: {
452
+ /**
453
+ * @deprecated use device.properties.model.can_connect_accessory_keypad
454
+ */
120
455
  accessory_keypad_supported?: boolean | undefined;
456
+ /**
457
+ * Indicates whether the device can connect a accessory keypad.
458
+ */
121
459
  can_connect_accessory_keypad?: boolean | undefined;
460
+ /**
461
+ * Display name of the device model.
462
+ */
122
463
  display_name: string;
464
+ /**
465
+ * Indicates whether the device has a built in accessory keypad.
466
+ */
123
467
  has_built_in_keypad?: boolean | undefined;
468
+ /**
469
+ * Display name that corresponds to the manufacturer-specific terminology for the device.
470
+ */
124
471
  manufacturer_display_name: string;
472
+ /**
473
+ * @deprecated use device.can_program_offline_access_codes.
474
+ */
125
475
  offline_access_codes_supported?: boolean | undefined;
476
+ /**
477
+ * @deprecated use device.can_program_online_access_codes.
478
+ */
126
479
  online_access_codes_supported?: boolean | undefined;
127
480
  };
481
+ /**
482
+ * Name of the device.
483
+ * @deprecated use device.display_name instead
484
+ */
128
485
  name: string;
486
+ /**
487
+ * Indicates whether it is currently possible to use offline access codes for the device.
488
+ * @deprecated use device.can_program_offline_access_codes
489
+ */
129
490
  offline_access_codes_enabled?: boolean | undefined;
491
+ /**
492
+ * Indicates whether the device is online.
493
+ */
130
494
  online: boolean;
495
+ /**
496
+ * Indicates whether it is currently possible to use online access codes for the device.
497
+ * @deprecated use device.can_program_online_access_codes
498
+ */
131
499
  online_access_codes_enabled?: boolean | undefined;
132
500
  };
133
- warnings: Array<{
134
- created_at: string;
135
- message: string;
501
+ /**
502
+ * 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.
503
+ */
504
+ warnings: Array<
505
+ /**
506
+ * Indicates that the backup access code is unhealthy.
507
+ */
508
+ {
509
+ /**
510
+ * Date and time at which Seam created the warning.
511
+ */
512
+ created_at: string;
513
+ /**
514
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
515
+ */
516
+ message: string;
517
+ /**
518
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
519
+ */
136
520
  warning_code: 'partial_backup_access_code_pool';
137
- } | {
138
- created_at: string;
139
- message: string;
521
+ } /**
522
+ * Indicates that there are too many backup codes.
523
+ */ | {
524
+ /**
525
+ * Date and time at which Seam created the warning.
526
+ */
527
+ created_at: string;
528
+ /**
529
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
530
+ */
531
+ message: string;
532
+ /**
533
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
534
+ */
140
535
  warning_code: 'many_active_backup_codes';
141
- } | {
142
- created_at: string;
143
- message: string;
536
+ } /**
537
+ * Indicates that a third-party integration has been detected.
538
+ */ | {
539
+ /**
540
+ * Date and time at which Seam created the warning.
541
+ */
542
+ created_at: string;
543
+ /**
544
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
545
+ */
546
+ message: string;
547
+ /**
548
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
549
+ */
144
550
  warning_code: 'third_party_integration_detected';
145
- } | {
146
- created_at: string;
147
- message: string;
551
+ } /**
552
+ * Indicates that the Remote Unlock feature is not enabled in the settings."
553
+ */ | {
554
+ /**
555
+ * Date and time at which Seam created the warning.
556
+ */
557
+ created_at: string;
558
+ /**
559
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
560
+ */
561
+ message: string;
562
+ /**
563
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
564
+ */
148
565
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
149
- } | {
150
- created_at: string;
151
- message: string;
566
+ } /**
567
+ * Indicates that the gateway signal is weak.
568
+ */ | {
569
+ /**
570
+ * Date and time at which Seam created the warning.
571
+ */
572
+ created_at: string;
573
+ /**
574
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
575
+ */
576
+ message: string;
577
+ /**
578
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
579
+ */
152
580
  warning_code: 'ttlock_weak_gateway_signal';
153
- } | {
154
- created_at: string;
155
- message: string;
581
+ } /**
582
+ * Indicates that the device is in power saving mode and may have limited functionality.
583
+ */ | {
584
+ /**
585
+ * Date and time at which Seam created the warning.
586
+ */
587
+ created_at: string;
588
+ /**
589
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
590
+ */
591
+ message: string;
592
+ /**
593
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
594
+ */
156
595
  warning_code: 'power_saving_mode';
157
- } | {
158
- created_at: string;
159
- message: string;
596
+ } /**
597
+ * Indicates that the temperature threshold has been exceeded.
598
+ */ | {
599
+ /**
600
+ * Date and time at which Seam created the warning.
601
+ */
602
+ created_at: string;
603
+ /**
604
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
605
+ */
606
+ message: string;
607
+ /**
608
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
609
+ */
160
610
  warning_code: 'temperature_threshold_exceeded';
161
- } | {
162
- created_at: string;
163
- message: string;
611
+ } /**
612
+ * Indicates that the device appears to be unresponsive.
613
+ */ | {
614
+ /**
615
+ * Date and time at which Seam created the warning.
616
+ */
617
+ created_at: string;
618
+ /**
619
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
620
+ */
621
+ message: string;
622
+ /**
623
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
624
+ */
164
625
  warning_code: 'device_communication_degraded';
165
- } | {
166
- created_at: string;
167
- message: string;
626
+ } /**
627
+ * Indicates that a scheduled maintenance window has been detected.
628
+ */ | {
629
+ /**
630
+ * Date and time at which Seam created the warning.
631
+ */
632
+ created_at: string;
633
+ /**
634
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
635
+ */
636
+ message: string;
637
+ /**
638
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
639
+ */
168
640
  warning_code: 'scheduled_maintenance_window';
169
- } | {
170
- created_at: string;
171
- message: string;
641
+ } /**
642
+ * Indicates that the device has a flaky connection.
643
+ */ | {
644
+ /**
645
+ * Date and time at which Seam created the warning.
646
+ */
647
+ created_at: string;
648
+ /**
649
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
650
+ */
651
+ message: string;
652
+ /**
653
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
654
+ */
172
655
  warning_code: 'device_has_flaky_connection';
173
- } | {
174
- created_at: string;
175
- message: string;
656
+ } /**
657
+ * Indicates that the Salto KS lock is in Office Mode. Access Codes will not unlock doors.
658
+ */ | {
659
+ /**
660
+ * Date and time at which Seam created the warning.
661
+ */
662
+ created_at: string;
663
+ /**
664
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
665
+ */
666
+ message: string;
667
+ /**
668
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
669
+ */
176
670
  warning_code: 'salto_ks_office_mode';
177
- } | {
178
- created_at: string;
179
- message: string;
671
+ } /**
672
+ * Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.
673
+ */ | {
674
+ /**
675
+ * Date and time at which Seam created the warning.
676
+ */
677
+ created_at: string;
678
+ /**
679
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
680
+ */
681
+ message: string;
682
+ /**
683
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
684
+ */
180
685
  warning_code: 'salto_ks_privacy_mode';
181
- } | {
182
- created_at: string;
183
- message: string;
686
+ } /**
687
+ * Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.
688
+ */ | {
689
+ /**
690
+ * Date and time at which Seam created the warning.
691
+ */
692
+ created_at: string;
693
+ /**
694
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
695
+ */
696
+ message: string;
697
+ /**
698
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
699
+ */
184
700
  warning_code: 'privacy_mode';
185
- } | {
186
- created_at: string;
187
- message: string;
701
+ } /**
702
+ * 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.
703
+ */ | {
704
+ /**
705
+ * Date and time at which Seam created the warning.
706
+ */
707
+ created_at: string;
708
+ /**
709
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
710
+ */
711
+ message: string;
712
+ /**
713
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
714
+ */
188
715
  warning_code: 'salto_ks_subscription_limit_almost_reached';
189
- } | {
190
- created_at: string;
191
- message: string;
716
+ } /**
717
+ * 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.
718
+ */ | {
719
+ /**
720
+ * Date and time at which Seam created the warning.
721
+ */
722
+ created_at: string;
723
+ /**
724
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
725
+ */
726
+ message: string;
727
+ /**
728
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
729
+ */
192
730
  warning_code: 'salto_ks_lock_access_code_support_removed';
193
- } | {
194
- created_at: string;
195
- message: string;
731
+ } /**
732
+ * 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.
733
+ */ | {
734
+ /**
735
+ * Date and time at which Seam created the warning.
736
+ */
737
+ created_at: string;
738
+ /**
739
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
740
+ */
741
+ message: string;
742
+ /**
743
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
744
+ */
196
745
  warning_code: 'unknown_issue_with_phone';
197
- } | {
198
- created_at: string;
199
- message: string;
746
+ } /**
747
+ * Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected.
748
+ */ | {
749
+ /**
750
+ * Date and time at which Seam created the warning.
751
+ */
752
+ created_at: string;
753
+ /**
754
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
755
+ */
756
+ message: string;
757
+ /**
758
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
759
+ */
200
760
  warning_code: 'lockly_time_zone_not_configured';
201
- } | {
202
- created_at: string;
203
- message: string;
761
+ } /**
762
+ * Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.
763
+ */ | {
764
+ /**
765
+ * Date and time at which Seam created the warning.
766
+ */
767
+ created_at: string;
768
+ /**
769
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
770
+ */
771
+ message: string;
772
+ /**
773
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
774
+ */
204
775
  warning_code: 'ultraloq_time_zone_unknown';
205
- } | {
206
- created_at: string;
207
- message: string;
776
+ } /**
777
+ * Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.
778
+ */ | {
779
+ /**
780
+ * Date and time at which Seam created the warning.
781
+ */
782
+ created_at: string;
783
+ /**
784
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
785
+ */
786
+ message: string;
787
+ /**
788
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
789
+ */
208
790
  warning_code: 'time_zone_unknown';
209
- } | {
210
- created_at: string;
211
- message: string;
791
+ } /**
792
+ * 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.
793
+ */ | {
794
+ /**
795
+ * Date and time at which Seam created the warning.
796
+ */
797
+ created_at: string;
798
+ /**
799
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
800
+ */
801
+ message: string;
802
+ /**
803
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
804
+ */
212
805
  warning_code: 'time_zone_mismatch';
213
- } | {
214
- created_at: string;
215
- message: string;
806
+ } /**
807
+ * Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.
808
+ */ | {
809
+ /**
810
+ * Date and time at which Seam created the warning.
811
+ */
812
+ created_at: string;
813
+ /**
814
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
815
+ */
816
+ message: string;
817
+ /**
818
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
819
+ */
216
820
  warning_code: 'two_n_device_missing_timezone';
217
- } | {
218
- created_at: string;
219
- message: string;
821
+ } /**
822
+ * Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
823
+ */ | {
824
+ /**
825
+ * Date and time at which Seam created the warning.
826
+ */
827
+ created_at: string;
828
+ /**
829
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
830
+ */
831
+ message: string;
832
+ /**
833
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
834
+ */
220
835
  warning_code: 'hub_required_for_additional_capabilities';
221
- } | {
222
- created_at: string;
223
- message: string;
836
+ } /**
837
+ * Indicates a provider-specific issue that may affect device functionality.
838
+ */ | {
839
+ /**
840
+ * Date and time at which Seam created the warning.
841
+ */
842
+ created_at: string;
843
+ /**
844
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
845
+ */
846
+ message: string;
847
+ /**
848
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
849
+ */
224
850
  warning_code: 'provider_issue';
225
- } | {
226
- created_at: string;
227
- message: string;
851
+ } /**
852
+ * Indicates that the key is in a locker that does not support the access codes API.
853
+ */ | {
854
+ /**
855
+ * Date and time at which Seam created the warning.
856
+ */
857
+ created_at: string;
858
+ /**
859
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
860
+ */
861
+ message: string;
862
+ /**
863
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
864
+ */
228
865
  warning_code: 'keynest_unsupported_locker';
229
- } | {
230
- created_at: string;
231
- message: string;
866
+ } /**
867
+ * 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.
868
+ */ | {
869
+ /**
870
+ * Date and time at which Seam created the warning.
871
+ */
872
+ created_at: string;
873
+ /**
874
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
875
+ */
876
+ message: string;
877
+ /**
878
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
879
+ */
232
880
  warning_code: 'accessory_keypad_setup_required';
233
- } | {
234
- created_at: string;
235
- message: string;
881
+ } /**
882
+ * Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.
883
+ */ | {
884
+ /**
885
+ * Date and time at which Seam created the warning.
886
+ */
887
+ created_at: string;
888
+ /**
889
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
890
+ */
891
+ message: string;
892
+ /**
893
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
894
+ */
236
895
  warning_code: 'unreliable_online_status';
237
- } | {
896
+ } /**
897
+ * Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.
898
+ */ | {
899
+ /**
900
+ * Number of active access codes on the device when the warning was set.
901
+ */
238
902
  active_access_code_count: number;
903
+ /**
904
+ * Date and time at which Seam created the warning.
905
+ */
239
906
  created_at: string;
907
+ /**
908
+ * Maximum number of active access codes supported by the device.
909
+ */
240
910
  max_active_access_code_count: number;
911
+ /**
912
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
913
+ */
241
914
  message: string;
915
+ /**
916
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
917
+ */
242
918
  warning_code: 'max_access_codes_reached';
243
- } | {
244
- created_at: string;
245
- message: string;
919
+ } /**
920
+ * 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.
921
+ */ | {
922
+ /**
923
+ * Date and time at which Seam created the warning.
924
+ */
925
+ created_at: string;
926
+ /**
927
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
928
+ */
929
+ message: string;
930
+ /**
931
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
932
+ */
246
933
  warning_code: 'insufficient_permissions';
247
934
  }>;
935
+ /**
936
+ * Unique identifier for the Seam workspace associated with the device.
937
+ */
248
938
  workspace_id: string;
249
939
  };