@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
@@ -3,27 +3,93 @@
3
3
  * Do not edit this file.
4
4
  */
5
5
 
6
+ /**
7
+ * 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).
8
+ */
6
9
  export type UnmanagedDevice = {
10
+ /**
11
+ * Indicates whether the lock supports configuring automatic locking.
12
+ */
7
13
  can_configure_auto_lock?: boolean | undefined
14
+ /**
15
+ * Indicates whether the thermostat supports cooling.
16
+ */
8
17
  can_hvac_cool?: boolean | undefined
18
+ /**
19
+ * Indicates whether the thermostat supports heating.
20
+ */
9
21
  can_hvac_heat?: boolean | undefined
22
+ /**
23
+ * Indicates whether the thermostat supports simultaneous heating and cooling.
24
+ */
10
25
  can_hvac_heat_cool?: boolean | undefined
26
+ /**
27
+ * Indicates whether the device supports programming offline access codes.
28
+ */
11
29
  can_program_offline_access_codes?: boolean | undefined
30
+ /**
31
+ * Indicates whether the device supports programming online access codes.
32
+ */
12
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
+ */
13
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
+ */
14
41
  can_program_thermostat_programs_as_same_each_day?: boolean | undefined
42
+ /**
43
+ * Indicates whether the thermostat supports weekday/weekend climate programs.
44
+ */
15
45
  can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined
46
+ /**
47
+ * Indicates whether the device supports remote locking.
48
+ */
16
49
  can_remotely_lock?: boolean | undefined
50
+ /**
51
+ * Indicates whether the device supports remote unlocking.
52
+ */
17
53
  can_remotely_unlock?: boolean | undefined
54
+ /**
55
+ * Indicates whether the thermostat supports running climate programs.
56
+ */
18
57
  can_run_thermostat_programs?: boolean | undefined
58
+ /**
59
+ * Indicates whether the device supports simulating connection in a sandbox.
60
+ */
19
61
  can_simulate_connection?: boolean | undefined
62
+ /**
63
+ * Indicates whether the device supports simulating disconnection in a sandbox.
64
+ */
20
65
  can_simulate_disconnection?: boolean | undefined
66
+ /**
67
+ * Indicates whether the hub supports simulating connection in a sandbox.
68
+ */
21
69
  can_simulate_hub_connection?: boolean | undefined
70
+ /**
71
+ * Indicates whether the hub supports simulating disconnection in a sandbox.
72
+ */
22
73
  can_simulate_hub_disconnection?: boolean | undefined
74
+ /**
75
+ * Indicates whether the device supports simulating a paid subscription in a sandbox.
76
+ */
23
77
  can_simulate_paid_subscription?: boolean | undefined
78
+ /**
79
+ * Indicates whether the device supports simulating removal in a sandbox.
80
+ */
24
81
  can_simulate_removal?: boolean | undefined
82
+ /**
83
+ * Indicates whether the thermostat can be turned off.
84
+ */
25
85
  can_turn_off_hvac?: boolean | undefined
86
+ /**
87
+ * Indicates whether the lock supports unlocking with an access code.
88
+ */
26
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
+ */
27
93
  capabilities_supported: Array<
28
94
  | 'access_code'
29
95
  | 'lock'
@@ -33,14 +99,29 @@ export type UnmanagedDevice = {
33
99
  | 'phone'
34
100
  >
35
101
 
102
+ /**
103
+ * Unique identifier for the account associated with the device.
104
+ */
36
105
  connected_account_id: string
37
106
 
107
+ /**
108
+ * Date and time at which the device object was created.
109
+ */
38
110
  created_at: string
39
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
+ */
40
115
  custom_metadata: Record<string, unknown>
41
116
 
117
+ /**
118
+ * ID of the device.
119
+ */
42
120
  device_id: string
43
121
 
122
+ /**
123
+ * Type of the device.
124
+ */
44
125
  device_type:
45
126
  | 'akuvox_lock'
46
127
  | 'august_lock'
@@ -85,385 +166,992 @@ export type UnmanagedDevice = {
85
166
  | 'android_phone'
86
167
  | 'ring_camera'
87
168
 
169
+ /**
170
+ * 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.
171
+ */
88
172
  errors: Array<
173
+ /**
174
+ * Indicates that the account is disconnected.
175
+ */
89
176
  | {
177
+ /**
178
+ * Date and time at which Seam created the error.
179
+ */
90
180
  created_at: string
91
181
 
182
+ /**
183
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
184
+ */
92
185
  error_code: 'account_disconnected'
93
186
 
187
+ /**
188
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
189
+ */
94
190
  is_connected_account_error: boolean
95
191
 
192
+ /**
193
+ * Indicates that the error is not a device error.
194
+ */
96
195
  is_device_error: boolean
97
196
 
197
+ /**
198
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
199
+ */
98
200
  message: string
99
- }
201
+ } /**
202
+ * Indicates that the Salto site user limit has been reached.
203
+ */
100
204
  | {
205
+ /**
206
+ * Date and time at which Seam created the error.
207
+ */
101
208
  created_at: string
102
209
 
210
+ /**
211
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
212
+ */
103
213
  error_code: 'salto_ks_subscription_limit_exceeded'
104
214
 
215
+ /**
216
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
217
+ */
105
218
  is_connected_account_error: boolean
106
219
 
220
+ /**
221
+ * Indicates that the error is not a device error.
222
+ */
107
223
  is_device_error: boolean
108
224
 
225
+ /**
226
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
227
+ */
109
228
  message: string
110
- }
229
+ } /**
230
+ * Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.
231
+ */
111
232
  | {
233
+ /**
234
+ * Date and time at which Seam created the error.
235
+ */
112
236
  created_at: string
113
237
 
238
+ /**
239
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
240
+ */
114
241
  error_code: 'dormakaba_sites_disconnected'
115
242
 
243
+ /**
244
+ * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
245
+ */
116
246
  is_connected_account_error: boolean
117
247
 
248
+ /**
249
+ * Indicates that the error is not a device error.
250
+ */
118
251
  is_device_error: boolean
119
252
 
253
+ /**
254
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
255
+ */
120
256
  message: string
121
- }
257
+ } /**
258
+ * Indicates that the device is offline.
259
+ */
122
260
  | {
261
+ /**
262
+ * Date and time at which Seam created the error.
263
+ */
123
264
  created_at: string
124
265
 
266
+ /**
267
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
268
+ */
125
269
  error_code: 'device_offline'
126
270
 
271
+ /**
272
+ * Indicates that the error is a device error.
273
+ */
127
274
  is_device_error: boolean
128
275
 
276
+ /**
277
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
278
+ */
129
279
  message: string
130
- }
280
+ } /**
281
+ * Indicates that the device has been removed.
282
+ */
131
283
  | {
284
+ /**
285
+ * Date and time at which Seam created the error.
286
+ */
132
287
  created_at: string
133
288
 
289
+ /**
290
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
291
+ */
134
292
  error_code: 'device_removed'
135
293
 
294
+ /**
295
+ * Indicates that the error is a device error.
296
+ */
136
297
  is_device_error: boolean
137
298
 
299
+ /**
300
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
301
+ */
138
302
  message: string
139
- }
303
+ } /**
304
+ * Indicates that the hub is disconnected.
305
+ */
140
306
  | {
307
+ /**
308
+ * Date and time at which Seam created the error.
309
+ */
141
310
  created_at: string
142
311
 
312
+ /**
313
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
314
+ */
143
315
  error_code: 'hub_disconnected'
144
316
 
317
+ /**
318
+ * Indicates that the error is a device error.
319
+ */
145
320
  is_device_error: boolean
146
321
 
322
+ /**
323
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
324
+ */
147
325
  message: string
148
- }
326
+ } /**
327
+ * Indicates that the device is disconnected.
328
+ */
149
329
  | {
330
+ /**
331
+ * Date and time at which Seam created the error.
332
+ */
150
333
  created_at: string
151
334
 
335
+ /**
336
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
337
+ */
152
338
  error_code: 'device_disconnected'
153
339
 
340
+ /**
341
+ * Indicates that the error is a device error.
342
+ */
154
343
  is_device_error: boolean
155
344
 
345
+ /**
346
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
347
+ */
156
348
  message: string
157
- }
349
+ } /**
350
+ * Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.
351
+ */
158
352
  | {
353
+ /**
354
+ * Date and time at which Seam created the error.
355
+ */
159
356
  created_at: string
160
357
 
358
+ /**
359
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
360
+ */
161
361
  error_code: 'empty_backup_access_code_pool'
162
362
 
363
+ /**
364
+ * Indicates that the error is a device error.
365
+ */
163
366
  is_device_error: boolean
164
367
 
368
+ /**
369
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
370
+ */
165
371
  message: string
166
- }
372
+ } /**
373
+ * Indicates that the user is not authorized to use the August lock.
374
+ */
167
375
  | {
376
+ /**
377
+ * Date and time at which Seam created the error.
378
+ */
168
379
  created_at: string
169
380
 
381
+ /**
382
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
383
+ */
170
384
  error_code: 'august_lock_not_authorized'
171
385
 
386
+ /**
387
+ * Indicates that the error is a device error.
388
+ */
172
389
  is_device_error: boolean
173
390
 
391
+ /**
392
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
393
+ */
174
394
  message: string
175
- }
395
+ } /**
396
+ * Indicates that device credentials are missing.
397
+ */
176
398
  | {
399
+ /**
400
+ * Date and time at which Seam created the error.
401
+ */
177
402
  created_at: string
178
403
 
404
+ /**
405
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
406
+ */
179
407
  error_code: 'missing_device_credentials'
180
408
 
409
+ /**
410
+ * Indicates that the error is a device error.
411
+ */
181
412
  is_device_error: boolean
182
413
 
414
+ /**
415
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
416
+ */
183
417
  message: string
184
- }
418
+ } /**
419
+ * Indicates that the auxiliary heat is running.
420
+ */
185
421
  | {
422
+ /**
423
+ * Date and time at which Seam created the error.
424
+ */
186
425
  created_at: string
187
426
 
427
+ /**
428
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
429
+ */
188
430
  error_code: 'auxiliary_heat_running'
189
431
 
432
+ /**
433
+ * Indicates that the error is a device error.
434
+ */
190
435
  is_device_error: boolean
191
436
 
437
+ /**
438
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
439
+ */
192
440
  message: string
193
- }
441
+ } /**
442
+ * Indicates that a subscription is required to connect.
443
+ */
194
444
  | {
445
+ /**
446
+ * Date and time at which Seam created the error.
447
+ */
195
448
  created_at: string
196
449
 
450
+ /**
451
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
452
+ */
197
453
  error_code: 'subscription_required'
198
454
 
455
+ /**
456
+ * Indicates that the error is a device error.
457
+ */
199
458
  is_device_error: boolean
200
459
 
460
+ /**
461
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
462
+ */
201
463
  message: string
202
- }
464
+ } /**
465
+ * 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).
466
+ */
203
467
  | {
468
+ /**
469
+ * Date and time at which Seam created the error.
470
+ */
204
471
  created_at: string
205
472
 
473
+ /**
474
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
475
+ */
206
476
  error_code: 'bridge_disconnected'
207
477
 
478
+ /**
479
+ * Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).
480
+ */
208
481
  is_bridge_error?: boolean | undefined
482
+ /**
483
+ * Indicates whether the error is related specifically to the connected account.
484
+ */
209
485
  is_connected_account_error?: boolean | undefined
486
+ /**
487
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
488
+ */
210
489
  message: string
211
490
  }
212
491
  >
213
492
 
493
+ /**
494
+ * Indicates that Seam does not manage the device.
495
+ */
214
496
  is_managed: boolean
215
497
 
498
+ /**
499
+ * Location information for the device.
500
+ */
216
501
  location?:
217
502
  | {
503
+ /**
504
+ * Name of the device location.
505
+ */
218
506
  location_name?: string | undefined
507
+ /**
508
+ * Time zone of the device location.
509
+ */
219
510
  time_zone?: string | undefined
511
+ /**
512
+ * Time zone of the device location.
513
+ * @deprecated Use `time_zone` instead.
514
+ */
220
515
  timezone?: string | undefined
221
516
  }
222
517
  | undefined
518
+ /**
519
+ * properties of the device.
520
+ */
223
521
  properties: {
522
+ /**
523
+ * Accessory keypad properties and state.
524
+ */
224
525
  accessory_keypad?:
225
526
  | {
527
+ /**
528
+ * Keypad battery properties.
529
+ */
226
530
  battery?:
227
531
  | {
228
532
  level: number
229
533
  }
230
534
  | undefined
535
+ /**
536
+ * Indicates if an accessory keypad is connected to the device.
537
+ */
231
538
  is_connected: boolean
232
539
  }
233
540
  | undefined
541
+ /**
542
+ * Represents the current status of the battery charge level.
543
+ */
234
544
  battery?:
235
545
  | {
546
+ /**
547
+ * Battery charge level as a value between 0 and 1, inclusive.
548
+ */
236
549
  level: number
237
550
 
551
+ /**
552
+ * 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.
553
+ */
238
554
  status: 'critical' | 'low' | 'good' | 'full'
239
555
  }
240
556
  | undefined
557
+ /**
558
+ * Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.
559
+ */
241
560
  battery_level?: number | undefined
561
+ /**
562
+ * Alt text for the device image.
563
+ */
242
564
  image_alt_text?: string | undefined
565
+ /**
566
+ * Image URL for the device.
567
+ */
243
568
  image_url?: string | undefined
569
+ /**
570
+ * 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.
571
+ */
244
572
  manufacturer?: string | undefined
573
+ /**
574
+ * Device model-related properties.
575
+ */
245
576
  model: {
577
+ /**
578
+ * @deprecated use device.properties.model.can_connect_accessory_keypad
579
+ */
246
580
  accessory_keypad_supported?: boolean | undefined
581
+ /**
582
+ * Indicates whether the device can connect a accessory keypad.
583
+ */
247
584
  can_connect_accessory_keypad?: boolean | undefined
585
+ /**
586
+ * Display name of the device model.
587
+ */
248
588
  display_name: string
249
589
 
590
+ /**
591
+ * Indicates whether the device has a built in accessory keypad.
592
+ */
250
593
  has_built_in_keypad?: boolean | undefined
594
+ /**
595
+ * Display name that corresponds to the manufacturer-specific terminology for the device.
596
+ */
251
597
  manufacturer_display_name: string
252
598
 
599
+ /**
600
+ * @deprecated use device.can_program_offline_access_codes.
601
+ */
253
602
  offline_access_codes_supported?: boolean | undefined
603
+ /**
604
+ * @deprecated use device.can_program_online_access_codes.
605
+ */
254
606
  online_access_codes_supported?: boolean | undefined
255
607
  }
256
608
 
609
+ /**
610
+ * Name of the device.
611
+ * @deprecated use device.display_name instead
612
+ */
257
613
  name: string
258
614
 
615
+ /**
616
+ * Indicates whether it is currently possible to use offline access codes for the device.
617
+ * @deprecated use device.can_program_offline_access_codes
618
+ */
259
619
  offline_access_codes_enabled?: boolean | undefined
620
+ /**
621
+ * Indicates whether the device is online.
622
+ */
260
623
  online: boolean
261
624
 
625
+ /**
626
+ * Indicates whether it is currently possible to use online access codes for the device.
627
+ * @deprecated use device.can_program_online_access_codes
628
+ */
262
629
  online_access_codes_enabled?: boolean | undefined
263
630
  }
264
631
 
632
+ /**
633
+ * 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.
634
+ */
265
635
  warnings: Array<
636
+ /**
637
+ * Indicates that the backup access code is unhealthy.
638
+ */
266
639
  | {
640
+ /**
641
+ * Date and time at which Seam created the warning.
642
+ */
267
643
  created_at: string
268
644
 
645
+ /**
646
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
647
+ */
269
648
  message: string
270
649
 
650
+ /**
651
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
652
+ */
271
653
  warning_code: 'partial_backup_access_code_pool'
272
- }
654
+ } /**
655
+ * Indicates that there are too many backup codes.
656
+ */
273
657
  | {
658
+ /**
659
+ * Date and time at which Seam created the warning.
660
+ */
274
661
  created_at: string
275
662
 
663
+ /**
664
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
665
+ */
276
666
  message: string
277
667
 
668
+ /**
669
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
670
+ */
278
671
  warning_code: 'many_active_backup_codes'
279
- }
672
+ } /**
673
+ * Indicates that a third-party integration has been detected.
674
+ */
280
675
  | {
676
+ /**
677
+ * Date and time at which Seam created the warning.
678
+ */
281
679
  created_at: string
282
680
 
681
+ /**
682
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
683
+ */
283
684
  message: string
284
685
 
686
+ /**
687
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
688
+ */
285
689
  warning_code: 'third_party_integration_detected'
286
- }
690
+ } /**
691
+ * Indicates that the Remote Unlock feature is not enabled in the settings."
692
+ */
287
693
  | {
694
+ /**
695
+ * Date and time at which Seam created the warning.
696
+ */
288
697
  created_at: string
289
698
 
699
+ /**
700
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
701
+ */
290
702
  message: string
291
703
 
704
+ /**
705
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
706
+ */
292
707
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
293
- }
708
+ } /**
709
+ * Indicates that the gateway signal is weak.
710
+ */
294
711
  | {
712
+ /**
713
+ * Date and time at which Seam created the warning.
714
+ */
295
715
  created_at: string
296
716
 
717
+ /**
718
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
719
+ */
297
720
  message: string
298
721
 
722
+ /**
723
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
724
+ */
299
725
  warning_code: 'ttlock_weak_gateway_signal'
300
- }
726
+ } /**
727
+ * Indicates that the device is in power saving mode and may have limited functionality.
728
+ */
301
729
  | {
730
+ /**
731
+ * Date and time at which Seam created the warning.
732
+ */
302
733
  created_at: string
303
734
 
735
+ /**
736
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
737
+ */
304
738
  message: string
305
739
 
740
+ /**
741
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
742
+ */
306
743
  warning_code: 'power_saving_mode'
307
- }
744
+ } /**
745
+ * Indicates that the temperature threshold has been exceeded.
746
+ */
308
747
  | {
748
+ /**
749
+ * Date and time at which Seam created the warning.
750
+ */
309
751
  created_at: string
310
752
 
753
+ /**
754
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
755
+ */
311
756
  message: string
312
757
 
758
+ /**
759
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
760
+ */
313
761
  warning_code: 'temperature_threshold_exceeded'
314
- }
762
+ } /**
763
+ * Indicates that the device appears to be unresponsive.
764
+ */
315
765
  | {
766
+ /**
767
+ * Date and time at which Seam created the warning.
768
+ */
316
769
  created_at: string
317
770
 
771
+ /**
772
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
773
+ */
318
774
  message: string
319
775
 
776
+ /**
777
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
778
+ */
320
779
  warning_code: 'device_communication_degraded'
321
- }
780
+ } /**
781
+ * Indicates that a scheduled maintenance window has been detected.
782
+ */
322
783
  | {
784
+ /**
785
+ * Date and time at which Seam created the warning.
786
+ */
323
787
  created_at: string
324
788
 
789
+ /**
790
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
791
+ */
325
792
  message: string
326
793
 
794
+ /**
795
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
796
+ */
327
797
  warning_code: 'scheduled_maintenance_window'
328
- }
798
+ } /**
799
+ * Indicates that the device has a flaky connection.
800
+ */
329
801
  | {
802
+ /**
803
+ * Date and time at which Seam created the warning.
804
+ */
330
805
  created_at: string
331
806
 
807
+ /**
808
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
809
+ */
332
810
  message: string
333
811
 
812
+ /**
813
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
814
+ */
334
815
  warning_code: 'device_has_flaky_connection'
335
- }
816
+ } /**
817
+ * Indicates that the Salto KS lock is in Office Mode. Access Codes will not unlock doors.
818
+ */
336
819
  | {
820
+ /**
821
+ * Date and time at which Seam created the warning.
822
+ */
337
823
  created_at: string
338
824
 
825
+ /**
826
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
827
+ */
339
828
  message: string
340
829
 
830
+ /**
831
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
832
+ */
341
833
  warning_code: 'salto_ks_office_mode'
342
- }
834
+ } /**
835
+ * Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.
836
+ */
343
837
  | {
838
+ /**
839
+ * Date and time at which Seam created the warning.
840
+ */
344
841
  created_at: string
345
842
 
843
+ /**
844
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
845
+ */
346
846
  message: string
347
847
 
848
+ /**
849
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
850
+ */
348
851
  warning_code: 'salto_ks_privacy_mode'
349
- }
852
+ } /**
853
+ * Indicates that the lock is in Privacy Mode. Access codes and remote unlock are blocked until Privacy Mode is disabled.
854
+ */
350
855
  | {
856
+ /**
857
+ * Date and time at which Seam created the warning.
858
+ */
351
859
  created_at: string
352
860
 
861
+ /**
862
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
863
+ */
353
864
  message: string
354
865
 
866
+ /**
867
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
868
+ */
355
869
  warning_code: 'privacy_mode'
356
- }
870
+ } /**
871
+ * 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.
872
+ */
357
873
  | {
874
+ /**
875
+ * Date and time at which Seam created the warning.
876
+ */
358
877
  created_at: string
359
878
 
879
+ /**
880
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
881
+ */
360
882
  message: string
361
883
 
884
+ /**
885
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
886
+ */
362
887
  warning_code: 'salto_ks_subscription_limit_almost_reached'
363
- }
888
+ } /**
889
+ * 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.
890
+ */
364
891
  | {
892
+ /**
893
+ * Date and time at which Seam created the warning.
894
+ */
365
895
  created_at: string
366
896
 
897
+ /**
898
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
899
+ */
367
900
  message: string
368
901
 
902
+ /**
903
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
904
+ */
369
905
  warning_code: 'salto_ks_lock_access_code_support_removed'
370
- }
906
+ } /**
907
+ * 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.
908
+ */
371
909
  | {
910
+ /**
911
+ * Date and time at which Seam created the warning.
912
+ */
372
913
  created_at: string
373
914
 
915
+ /**
916
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
917
+ */
374
918
  message: string
375
919
 
920
+ /**
921
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
922
+ */
376
923
  warning_code: 'unknown_issue_with_phone'
377
- }
924
+ } /**
925
+ * Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected.
926
+ */
378
927
  | {
928
+ /**
929
+ * Date and time at which Seam created the warning.
930
+ */
379
931
  created_at: string
380
932
 
933
+ /**
934
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
935
+ */
381
936
  message: string
382
937
 
938
+ /**
939
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
940
+ */
383
941
  warning_code: 'lockly_time_zone_not_configured'
384
- }
942
+ } /**
943
+ * Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.
944
+ */
385
945
  | {
946
+ /**
947
+ * Date and time at which Seam created the warning.
948
+ */
386
949
  created_at: string
387
950
 
951
+ /**
952
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
953
+ */
388
954
  message: string
389
955
 
956
+ /**
957
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
958
+ */
390
959
  warning_code: 'ultraloq_time_zone_unknown'
391
- }
960
+ } /**
961
+ * Indicates that Seam does not know the device's time zone. Set a time zone to enable time-bound access codes.
962
+ */
392
963
  | {
964
+ /**
965
+ * Date and time at which Seam created the warning.
966
+ */
393
967
  created_at: string
394
968
 
969
+ /**
970
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
971
+ */
395
972
  message: string
396
973
 
974
+ /**
975
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
976
+ */
397
977
  warning_code: 'time_zone_unknown'
398
- }
978
+ } /**
979
+ * 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.
980
+ */
399
981
  | {
982
+ /**
983
+ * Date and time at which Seam created the warning.
984
+ */
400
985
  created_at: string
401
986
 
987
+ /**
988
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
989
+ */
402
990
  message: string
403
991
 
992
+ /**
993
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
994
+ */
404
995
  warning_code: 'time_zone_mismatch'
405
- }
996
+ } /**
997
+ * Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.
998
+ */
406
999
  | {
1000
+ /**
1001
+ * Date and time at which Seam created the warning.
1002
+ */
407
1003
  created_at: string
408
1004
 
1005
+ /**
1006
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1007
+ */
409
1008
  message: string
410
1009
 
1010
+ /**
1011
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1012
+ */
411
1013
  warning_code: 'two_n_device_missing_timezone'
412
- }
1014
+ } /**
1015
+ * Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
1016
+ */
413
1017
  | {
1018
+ /**
1019
+ * Date and time at which Seam created the warning.
1020
+ */
414
1021
  created_at: string
415
1022
 
1023
+ /**
1024
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1025
+ */
416
1026
  message: string
417
1027
 
1028
+ /**
1029
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1030
+ */
418
1031
  warning_code: 'hub_required_for_additional_capabilities'
419
- }
1032
+ } /**
1033
+ * Indicates a provider-specific issue that may affect device functionality.
1034
+ */
420
1035
  | {
1036
+ /**
1037
+ * Date and time at which Seam created the warning.
1038
+ */
421
1039
  created_at: string
422
1040
 
1041
+ /**
1042
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1043
+ */
423
1044
  message: string
424
1045
 
1046
+ /**
1047
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1048
+ */
425
1049
  warning_code: 'provider_issue'
426
- }
1050
+ } /**
1051
+ * Indicates that the key is in a locker that does not support the access codes API.
1052
+ */
427
1053
  | {
1054
+ /**
1055
+ * Date and time at which Seam created the warning.
1056
+ */
428
1057
  created_at: string
429
1058
 
1059
+ /**
1060
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1061
+ */
430
1062
  message: string
431
1063
 
1064
+ /**
1065
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1066
+ */
432
1067
  warning_code: 'keynest_unsupported_locker'
433
- }
1068
+ } /**
1069
+ * 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.
1070
+ */
434
1071
  | {
1072
+ /**
1073
+ * Date and time at which Seam created the warning.
1074
+ */
435
1075
  created_at: string
436
1076
 
1077
+ /**
1078
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1079
+ */
437
1080
  message: string
438
1081
 
1082
+ /**
1083
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1084
+ */
439
1085
  warning_code: 'accessory_keypad_setup_required'
440
- }
1086
+ } /**
1087
+ * Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.
1088
+ */
441
1089
  | {
1090
+ /**
1091
+ * Date and time at which Seam created the warning.
1092
+ */
442
1093
  created_at: string
443
1094
 
1095
+ /**
1096
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1097
+ */
444
1098
  message: string
445
1099
 
1100
+ /**
1101
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1102
+ */
446
1103
  warning_code: 'unreliable_online_status'
447
- }
1104
+ } /**
1105
+ * Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.
1106
+ */
448
1107
  | {
1108
+ /**
1109
+ * Number of active access codes on the device when the warning was set.
1110
+ */
449
1111
  active_access_code_count: number
450
1112
 
1113
+ /**
1114
+ * Date and time at which Seam created the warning.
1115
+ */
451
1116
  created_at: string
452
1117
 
1118
+ /**
1119
+ * Maximum number of active access codes supported by the device.
1120
+ */
453
1121
  max_active_access_code_count: number
454
1122
 
1123
+ /**
1124
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1125
+ */
455
1126
  message: string
456
1127
 
1128
+ /**
1129
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1130
+ */
457
1131
  warning_code: 'max_access_codes_reached'
458
- }
1132
+ } /**
1133
+ * 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.
1134
+ */
459
1135
  | {
1136
+ /**
1137
+ * Date and time at which Seam created the warning.
1138
+ */
460
1139
  created_at: string
461
1140
 
1141
+ /**
1142
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1143
+ */
462
1144
  message: string
463
1145
 
1146
+ /**
1147
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1148
+ */
464
1149
  warning_code: 'insufficient_permissions'
465
1150
  }
466
1151
  >
467
1152
 
1153
+ /**
1154
+ * Unique identifier for the Seam workspace associated with the device.
1155
+ */
468
1156
  workspace_id: string
469
1157
  }