@seamapi/http 2.1.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (911) hide show
  1. package/README.md +18 -0
  2. package/index.d.ts +2 -1
  3. package/index.js +2 -1
  4. package/index.js.map +1 -1
  5. package/lib/api-error-types.js.map +1 -0
  6. package/lib/auth.d.ts +12 -0
  7. package/lib/auth.js.map +1 -0
  8. package/lib/client.d.ts +12 -0
  9. package/lib/client.js +21 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/error-interceptor.js.map +1 -0
  12. package/lib/index.js.map +1 -0
  13. package/lib/openapi.js.map +1 -0
  14. package/lib/options.d.ts +54 -0
  15. package/lib/options.js +108 -0
  16. package/lib/options.js.map +1 -0
  17. package/lib/parse-options.d.ts +17 -0
  18. package/lib/parse-options.js +118 -0
  19. package/lib/parse-options.js.map +1 -0
  20. package/lib/request-options.d.ts +5 -0
  21. package/lib/request-options.js +7 -0
  22. package/lib/request-options.js.map +1 -0
  23. package/lib/resolve-action-attempt.d.ts +31 -0
  24. package/lib/resolve-action-attempt.js.map +1 -0
  25. package/lib/resources/access-code.d.ts +934 -0
  26. package/lib/resources/access-code.js.map +1 -0
  27. package/lib/resources/access-grant.d.ts +367 -0
  28. package/lib/resources/access-grant.js.map +1 -0
  29. package/lib/resources/access-method.d.ts +269 -0
  30. package/lib/resources/access-method.js.map +1 -0
  31. package/lib/resources/acs-access-group.d.ts +322 -0
  32. package/lib/resources/acs-access-group.js.map +1 -0
  33. package/lib/resources/acs-credential.d.ts +280 -0
  34. package/lib/resources/acs-credential.js.map +1 -0
  35. package/lib/resources/acs-encoder.d.ts +59 -0
  36. package/lib/resources/acs-encoder.js.map +1 -0
  37. package/lib/resources/acs-entrance.d.ts +406 -0
  38. package/lib/resources/acs-entrance.js.map +1 -0
  39. package/lib/resources/acs-system.d.ts +290 -0
  40. package/lib/resources/acs-system.js.map +1 -0
  41. package/lib/resources/acs-user.d.ts +523 -0
  42. package/lib/resources/acs-user.js.map +1 -0
  43. package/lib/resources/action-attempt.d.ts +1374 -0
  44. package/lib/resources/action-attempt.js.map +1 -0
  45. package/lib/resources/batch.d.ts +57 -0
  46. package/lib/resources/batch.js.map +1 -0
  47. package/lib/resources/client-session.d.ts +62 -0
  48. package/lib/resources/client-session.js.map +1 -0
  49. package/lib/resources/connect-webview.d.ts +91 -0
  50. package/lib/resources/connect-webview.js.map +1 -0
  51. package/lib/resources/connected-account.d.ts +367 -0
  52. package/lib/resources/connected-account.js.map +1 -0
  53. package/lib/resources/customer-portal.d.ts +29 -0
  54. package/lib/resources/customer-portal.js.map +1 -0
  55. package/lib/resources/device-provider.d.ts +98 -0
  56. package/lib/resources/device-provider.js.map +1 -0
  57. package/lib/resources/device.d.ts +2785 -0
  58. package/lib/resources/device.js.map +1 -0
  59. package/lib/resources/event.d.ts +5627 -0
  60. package/lib/resources/event.js.map +1 -0
  61. package/lib/resources/index.js.map +1 -0
  62. package/lib/resources/instant-key.d.ts +56 -0
  63. package/lib/resources/instant-key.js.map +1 -0
  64. package/lib/resources/noise-threshold.d.ts +33 -0
  65. package/lib/resources/noise-threshold.js.map +1 -0
  66. package/lib/resources/phone.d.ts +103 -0
  67. package/lib/resources/phone.js.map +1 -0
  68. package/lib/resources/space.d.ts +75 -0
  69. package/lib/resources/space.js.map +1 -0
  70. package/lib/resources/thermostat-daily-program.d.ts +38 -0
  71. package/lib/resources/thermostat-daily-program.js.map +1 -0
  72. package/lib/resources/thermostat-schedule.d.ts +62 -0
  73. package/lib/resources/thermostat-schedule.js.map +1 -0
  74. package/lib/resources/unmanaged-access-code.d.ts +746 -0
  75. package/lib/resources/unmanaged-access-code.js.map +1 -0
  76. package/lib/resources/unmanaged-access-grant.d.ts +351 -0
  77. package/lib/resources/unmanaged-access-grant.js.map +1 -0
  78. package/lib/resources/unmanaged-access-method.d.ts +257 -0
  79. package/lib/resources/unmanaged-access-method.js.map +1 -0
  80. package/lib/resources/unmanaged-device.d.ts +939 -0
  81. package/lib/resources/unmanaged-device.js.map +1 -0
  82. package/lib/resources/unmanaged-user-identity.d.ts +102 -0
  83. package/lib/resources/unmanaged-user-identity.js.map +1 -0
  84. package/lib/resources/user-identity.d.ts +106 -0
  85. package/lib/resources/user-identity.js.map +1 -0
  86. package/lib/resources/webhook.d.ts +21 -0
  87. package/lib/resources/webhook.js.map +1 -0
  88. package/lib/resources/workspace.d.ts +63 -0
  89. package/lib/resources/workspace.js.map +1 -0
  90. package/lib/routes/access-codes/access-codes.d.ts +495 -0
  91. package/lib/routes/access-codes/access-codes.js +247 -0
  92. package/lib/routes/access-codes/access-codes.js.map +1 -0
  93. package/lib/routes/access-codes/index.js.map +1 -0
  94. package/lib/routes/access-codes/simulate/index.js.map +1 -0
  95. package/lib/routes/access-codes/simulate/simulate.d.ts +47 -0
  96. package/lib/routes/access-codes/simulate/simulate.js +101 -0
  97. package/lib/routes/access-codes/simulate/simulate.js.map +1 -0
  98. package/lib/routes/access-codes/unmanaged/index.js.map +1 -0
  99. package/lib/routes/access-codes/unmanaged/unmanaged.d.ts +164 -0
  100. package/lib/routes/access-codes/unmanaged/unmanaged.js +155 -0
  101. package/lib/routes/access-codes/unmanaged/unmanaged.js.map +1 -0
  102. package/lib/routes/access-grants/access-grants.d.ts +339 -0
  103. package/lib/routes/access-grants/access-grants.js +177 -0
  104. package/lib/routes/access-grants/access-grants.js.map +1 -0
  105. package/lib/routes/access-grants/index.js.map +1 -0
  106. package/lib/routes/access-grants/unmanaged/index.js.map +1 -0
  107. package/lib/routes/access-grants/unmanaged/unmanaged.d.ts +107 -0
  108. package/lib/routes/access-grants/unmanaged/unmanaged.js +129 -0
  109. package/lib/routes/access-grants/unmanaged/unmanaged.js.map +1 -0
  110. package/lib/routes/access-methods/access-methods.d.ts +202 -0
  111. package/lib/routes/access-methods/access-methods.js +190 -0
  112. package/lib/routes/access-methods/access-methods.js.map +1 -0
  113. package/lib/routes/access-methods/index.js.map +1 -0
  114. package/lib/routes/access-methods/unmanaged/index.js.map +1 -0
  115. package/lib/routes/access-methods/unmanaged/unmanaged.d.ts +70 -0
  116. package/lib/routes/access-methods/unmanaged/unmanaged.js +113 -0
  117. package/lib/routes/access-methods/unmanaged/unmanaged.js.map +1 -0
  118. package/lib/routes/acs/access-groups/access-groups.d.ts +177 -0
  119. package/lib/routes/acs/access-groups/access-groups.js +173 -0
  120. package/lib/routes/acs/access-groups/access-groups.js.map +1 -0
  121. package/lib/routes/acs/access-groups/index.js.map +1 -0
  122. package/lib/routes/acs/acs.d.ts +31 -0
  123. package/lib/routes/acs/acs.js +112 -0
  124. package/lib/routes/acs/acs.js.map +1 -0
  125. package/lib/routes/acs/credentials/credentials.d.ts +281 -0
  126. package/lib/routes/acs/credentials/credentials.js +185 -0
  127. package/lib/routes/acs/credentials/credentials.js.map +1 -0
  128. package/lib/routes/acs/credentials/index.js.map +1 -0
  129. package/lib/routes/acs/encoders/encoders.d.ts +165 -0
  130. package/lib/routes/acs/encoders/encoders.js +166 -0
  131. package/lib/routes/acs/encoders/encoders.js.map +1 -0
  132. package/lib/routes/acs/encoders/index.js.map +1 -0
  133. package/lib/routes/acs/encoders/simulate/index.js.map +1 -0
  134. package/lib/routes/acs/encoders/simulate/simulate.d.ts +109 -0
  135. package/lib/routes/acs/encoders/simulate/simulate.js +137 -0
  136. package/lib/routes/acs/encoders/simulate/simulate.js.map +1 -0
  137. package/lib/routes/acs/entrances/entrances.d.ts +170 -0
  138. package/lib/routes/acs/entrances/entrances.js +154 -0
  139. package/lib/routes/acs/entrances/entrances.js.map +1 -0
  140. package/lib/routes/acs/entrances/index.js.map +1 -0
  141. package/lib/routes/acs/index.js.map +1 -0
  142. package/lib/routes/acs/systems/index.js.map +1 -0
  143. package/lib/routes/acs/systems/systems.d.ts +150 -0
  144. package/lib/routes/acs/systems/systems.js +141 -0
  145. package/lib/routes/acs/systems/systems.js.map +1 -0
  146. package/lib/routes/acs/users/index.js.map +1 -0
  147. package/lib/routes/acs/users/users.d.ts +382 -0
  148. package/lib/routes/acs/users/users.js +221 -0
  149. package/lib/routes/acs/users/users.js.map +1 -0
  150. package/lib/routes/action-attempts/action-attempts.d.ts +69 -0
  151. package/lib/routes/action-attempts/action-attempts.js +117 -0
  152. package/lib/routes/action-attempts/action-attempts.js.map +1 -0
  153. package/lib/routes/action-attempts/index.js.map +1 -0
  154. package/lib/routes/client-sessions/client-sessions.d.ts +240 -0
  155. package/lib/routes/client-sessions/client-sessions.js +174 -0
  156. package/lib/routes/client-sessions/client-sessions.js.map +1 -0
  157. package/lib/routes/client-sessions/index.js.map +1 -0
  158. package/lib/routes/connect-webviews/connect-webviews.d.ts +160 -0
  159. package/lib/routes/connect-webviews/connect-webviews.js +147 -0
  160. package/lib/routes/connect-webviews/connect-webviews.js.map +1 -0
  161. package/lib/routes/connect-webviews/index.js.map +1 -0
  162. package/lib/routes/connected-accounts/connected-accounts.d.ts +163 -0
  163. package/lib/routes/connected-accounts/connected-accounts.js +157 -0
  164. package/lib/routes/connected-accounts/connected-accounts.js.map +1 -0
  165. package/lib/routes/connected-accounts/index.js.map +1 -0
  166. package/lib/routes/connected-accounts/simulate/index.js.map +1 -0
  167. package/lib/routes/connected-accounts/simulate/simulate.d.ts +36 -0
  168. package/lib/routes/connected-accounts/simulate/simulate.js +101 -0
  169. package/lib/routes/connected-accounts/simulate/simulate.js.map +1 -0
  170. package/lib/routes/customers/customers.d.ts +1511 -0
  171. package/lib/routes/customers/customers.js +126 -0
  172. package/lib/routes/customers/customers.js.map +1 -0
  173. package/lib/routes/customers/index.js.map +1 -0
  174. package/lib/routes/devices/devices.d.ts +242 -0
  175. package/lib/routes/devices/devices.js +165 -0
  176. package/lib/routes/devices/devices.js.map +1 -0
  177. package/lib/routes/devices/index.js.map +1 -0
  178. package/lib/routes/devices/simulate/index.js.map +1 -0
  179. package/lib/routes/devices/simulate/simulate.d.ts +128 -0
  180. package/lib/routes/devices/simulate/simulate.js +170 -0
  181. package/lib/routes/devices/simulate/simulate.js.map +1 -0
  182. package/lib/routes/devices/unmanaged/index.js.map +1 -0
  183. package/lib/routes/devices/unmanaged/unmanaged.d.ts +155 -0
  184. package/lib/routes/devices/unmanaged/unmanaged.js +133 -0
  185. package/lib/routes/devices/unmanaged/unmanaged.js.map +1 -0
  186. package/lib/routes/events/events.d.ts +174 -0
  187. package/lib/routes/events/events.js +113 -0
  188. package/lib/routes/events/events.js.map +1 -0
  189. package/lib/routes/events/index.js.map +1 -0
  190. package/lib/routes/index.js.map +1 -0
  191. package/lib/routes/instant-keys/index.js.map +1 -0
  192. package/lib/routes/instant-keys/instant-keys.d.ts +79 -0
  193. package/lib/routes/instant-keys/instant-keys.js +125 -0
  194. package/lib/routes/instant-keys/instant-keys.js.map +1 -0
  195. package/lib/routes/locks/index.js.map +1 -0
  196. package/lib/routes/locks/locks.d.ts +188 -0
  197. package/lib/routes/locks/locks.js +167 -0
  198. package/lib/routes/locks/locks.js.map +1 -0
  199. package/lib/routes/locks/simulate/index.js.map +1 -0
  200. package/lib/routes/locks/simulate/simulate.d.ts +60 -0
  201. package/lib/routes/locks/simulate/simulate.js +122 -0
  202. package/lib/routes/locks/simulate/simulate.js.map +1 -0
  203. package/lib/routes/noise-sensors/index.js.map +1 -0
  204. package/lib/routes/noise-sensors/noise-sensors.d.ts +103 -0
  205. package/lib/routes/noise-sensors/noise-sensors.js +109 -0
  206. package/lib/routes/noise-sensors/noise-sensors.js.map +1 -0
  207. package/lib/routes/noise-sensors/noise-thresholds/index.js.map +1 -0
  208. package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +159 -0
  209. package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.js +149 -0
  210. package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -0
  211. package/lib/routes/noise-sensors/simulate/index.js.map +1 -0
  212. package/lib/routes/noise-sensors/simulate/simulate.d.ts +36 -0
  213. package/lib/routes/noise-sensors/simulate/simulate.js +101 -0
  214. package/lib/routes/noise-sensors/simulate/simulate.js.map +1 -0
  215. package/lib/routes/phones/index.js.map +1 -0
  216. package/lib/routes/phones/phones.d.ts +81 -0
  217. package/lib/routes/phones/phones.js +129 -0
  218. package/lib/routes/phones/phones.js.map +1 -0
  219. package/lib/routes/phones/simulate/index.js.map +1 -0
  220. package/lib/routes/phones/simulate/simulate.d.ts +93 -0
  221. package/lib/routes/phones/simulate/simulate.js +101 -0
  222. package/lib/routes/phones/simulate/simulate.js.map +1 -0
  223. package/lib/routes/seam-http-endpoints-without-workspace.d.ts +23 -0
  224. package/lib/routes/seam-http-endpoints-without-workspace.js +62 -0
  225. package/lib/routes/seam-http-endpoints-without-workspace.js.map +1 -0
  226. package/lib/routes/seam-http-endpoints.d.ts +960 -0
  227. package/lib/routes/seam-http-endpoints.js +2231 -0
  228. package/lib/routes/seam-http-endpoints.js.map +1 -0
  229. package/lib/routes/seam-http-without-workspace.d.ts +18 -0
  230. package/lib/routes/seam-http-without-workspace.js +49 -0
  231. package/lib/routes/seam-http-without-workspace.js.map +1 -0
  232. package/lib/routes/seam-http.d.ts +59 -0
  233. package/lib/routes/seam-http.js +167 -0
  234. package/lib/routes/seam-http.js.map +1 -0
  235. package/lib/routes/spaces/index.js.map +1 -0
  236. package/lib/routes/spaces/spaces.d.ts +363 -0
  237. package/lib/routes/spaces/spaces.js +233 -0
  238. package/lib/routes/spaces/spaces.js.map +1 -0
  239. package/lib/routes/thermostats/daily-programs/daily-programs.d.ts +109 -0
  240. package/lib/routes/thermostats/daily-programs/daily-programs.js +130 -0
  241. package/lib/routes/thermostats/daily-programs/daily-programs.js.map +1 -0
  242. package/lib/routes/thermostats/daily-programs/index.js.map +1 -0
  243. package/lib/routes/thermostats/index.js.map +1 -0
  244. package/lib/routes/thermostats/schedules/index.js.map +1 -0
  245. package/lib/routes/thermostats/schedules/schedules.d.ts +163 -0
  246. package/lib/routes/thermostats/schedules/schedules.js +149 -0
  247. package/lib/routes/thermostats/schedules/schedules.js.map +1 -0
  248. package/lib/routes/thermostats/simulate/index.js.map +1 -0
  249. package/lib/routes/thermostats/simulate/simulate.d.ts +81 -0
  250. package/lib/routes/thermostats/simulate/simulate.js +113 -0
  251. package/lib/routes/thermostats/simulate/simulate.js.map +1 -0
  252. package/lib/routes/thermostats/thermostats.d.ts +565 -0
  253. package/lib/routes/thermostats/thermostats.js +302 -0
  254. package/lib/routes/thermostats/thermostats.js.map +1 -0
  255. package/lib/routes/user-identities/index.js.map +1 -0
  256. package/lib/routes/user-identities/unmanaged/index.js.map +1 -0
  257. package/lib/routes/user-identities/unmanaged/unmanaged.d.ts +97 -0
  258. package/lib/routes/user-identities/unmanaged/unmanaged.js +127 -0
  259. package/lib/routes/user-identities/unmanaged/unmanaged.js.map +1 -0
  260. package/lib/routes/user-identities/user-identities.d.ts +363 -0
  261. package/lib/routes/user-identities/user-identities.js +265 -0
  262. package/lib/routes/user-identities/user-identities.js.map +1 -0
  263. package/lib/routes/webhooks/index.js.map +1 -0
  264. package/lib/routes/webhooks/webhooks.d.ts +114 -0
  265. package/lib/routes/webhooks/webhooks.js +149 -0
  266. package/lib/routes/webhooks/webhooks.js.map +1 -0
  267. package/lib/routes/workspaces/index.js.map +1 -0
  268. package/lib/routes/workspaces/workspaces.d.ts +189 -0
  269. package/lib/routes/workspaces/workspaces.js +154 -0
  270. package/lib/routes/workspaces/workspaces.js.map +1 -0
  271. package/lib/seam-http-error.js.map +1 -0
  272. package/lib/seam-http-request.d.ts +34 -0
  273. package/lib/seam-http-request.js +101 -0
  274. package/lib/seam-http-request.js.map +1 -0
  275. package/lib/seam-paginator.js.map +1 -0
  276. package/lib/token.js.map +1 -0
  277. package/lib/version.d.ts +1 -1
  278. package/lib/version.js +1 -1
  279. package/package.json +8 -11
  280. package/src/index.ts +2 -1
  281. package/src/lib/auth.ts +280 -0
  282. package/src/lib/client.ts +36 -0
  283. package/src/lib/options.ts +242 -0
  284. package/src/lib/parse-options.ts +182 -0
  285. package/src/lib/request-options.ts +14 -0
  286. package/src/lib/resolve-action-attempt.ts +129 -0
  287. package/src/lib/resources/access-code.ts +1088 -0
  288. package/src/lib/resources/access-grant.ts +437 -0
  289. package/src/lib/resources/access-method.ts +312 -0
  290. package/src/lib/resources/acs-access-group.ts +402 -0
  291. package/src/lib/resources/acs-credential.ts +332 -0
  292. package/src/lib/resources/acs-encoder.ts +72 -0
  293. package/src/lib/resources/acs-entrance.ts +469 -0
  294. package/src/lib/resources/acs-system.ts +377 -0
  295. package/src/lib/resources/acs-user.ts +627 -0
  296. package/src/lib/resources/action-attempt.ts +1672 -0
  297. package/src/lib/resources/batch.ts +65 -0
  298. package/src/lib/resources/client-session.ts +75 -0
  299. package/src/lib/resources/connect-webview.ts +110 -0
  300. package/src/lib/resources/connected-account.ts +425 -0
  301. package/src/lib/resources/customer-portal.ts +38 -0
  302. package/src/lib/resources/device-provider.ts +178 -0
  303. package/src/lib/resources/device.ts +3217 -0
  304. package/src/lib/resources/event.ts +6743 -0
  305. package/src/lib/resources/instant-key.ts +69 -0
  306. package/src/lib/resources/noise-threshold.ts +43 -0
  307. package/src/lib/resources/phone.ts +126 -0
  308. package/src/lib/resources/space.ts +92 -0
  309. package/src/lib/resources/thermostat-daily-program.ts +48 -0
  310. package/src/lib/resources/thermostat-schedule.ts +76 -0
  311. package/src/lib/resources/unmanaged-access-code.ts +870 -0
  312. package/src/lib/resources/unmanaged-access-grant.ts +420 -0
  313. package/src/lib/resources/unmanaged-access-method.ts +300 -0
  314. package/src/lib/resources/unmanaged-device.ts +1157 -0
  315. package/src/lib/resources/unmanaged-user-identity.ts +124 -0
  316. package/src/lib/resources/user-identity.ts +128 -0
  317. package/src/lib/resources/webhook.ts +27 -0
  318. package/src/lib/resources/workspace.ts +75 -0
  319. package/src/lib/routes/access-codes/access-codes.ts +818 -0
  320. package/src/lib/routes/access-codes/simulate/simulate.ts +211 -0
  321. package/src/lib/routes/access-codes/unmanaged/unmanaged.ts +395 -0
  322. package/src/lib/routes/access-grants/access-grants.ts +640 -0
  323. package/src/lib/routes/access-grants/unmanaged/unmanaged.ts +305 -0
  324. package/src/lib/routes/access-methods/access-methods.ts +523 -0
  325. package/src/lib/routes/access-methods/unmanaged/unmanaged.ts +250 -0
  326. package/src/lib/routes/acs/access-groups/access-groups.ts +435 -0
  327. package/src/lib/routes/acs/acs.ts +193 -0
  328. package/src/lib/routes/acs/credentials/credentials.ts +569 -0
  329. package/src/lib/routes/acs/encoders/encoders.ts +429 -0
  330. package/src/lib/routes/acs/encoders/simulate/simulate.ts +335 -0
  331. package/src/lib/routes/acs/entrances/entrances.ts +406 -0
  332. package/src/lib/routes/acs/systems/systems.ts +367 -0
  333. package/src/lib/routes/acs/users/users.ts +710 -0
  334. package/src/lib/routes/action-attempts/action-attempts.ts +254 -0
  335. package/src/lib/routes/client-sessions/client-sessions.ts +495 -0
  336. package/src/lib/routes/connect-webviews/connect-webviews.ts +452 -0
  337. package/src/lib/routes/connected-accounts/connected-accounts.ts +399 -0
  338. package/src/lib/routes/connected-accounts/simulate/simulate.ts +200 -0
  339. package/src/lib/routes/customers/customers.ts +1838 -0
  340. package/src/lib/routes/devices/devices.ts +1918 -0
  341. package/src/lib/routes/devices/simulate/simulate.ts +371 -0
  342. package/src/lib/routes/devices/unmanaged/unmanaged.ts +486 -0
  343. package/src/lib/routes/events/events.ts +565 -0
  344. package/src/lib/routes/instant-keys/instant-keys.ts +269 -0
  345. package/src/lib/routes/locks/locks.ts +532 -0
  346. package/src/lib/routes/locks/simulate/simulate.ts +257 -0
  347. package/src/lib/routes/noise-sensors/noise-sensors.ts +272 -0
  348. package/src/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +400 -0
  349. package/src/lib/routes/noise-sensors/simulate/simulate.ts +197 -0
  350. package/src/lib/routes/phones/phones.ts +269 -0
  351. package/src/lib/routes/phones/simulate/simulate.ts +256 -0
  352. package/src/lib/routes/seam-http-endpoints-without-workspace.ts +132 -0
  353. package/src/lib/routes/seam-http-endpoints.ts +4457 -0
  354. package/src/lib/routes/seam-http-without-workspace.ts +96 -0
  355. package/src/lib/routes/seam-http.ts +262 -0
  356. package/src/lib/routes/spaces/spaces.ts +721 -0
  357. package/src/lib/routes/thermostats/daily-programs/daily-programs.ts +322 -0
  358. package/src/lib/routes/thermostats/schedules/schedules.ts +394 -0
  359. package/src/lib/routes/thermostats/simulate/simulate.ts +263 -0
  360. package/src/lib/routes/thermostats/thermostats.ts +1067 -0
  361. package/src/lib/routes/user-identities/unmanaged/unmanaged.ts +299 -0
  362. package/src/lib/routes/user-identities/user-identities.ts +756 -0
  363. package/src/lib/routes/webhooks/webhooks.ts +333 -0
  364. package/src/lib/routes/workspaces/workspaces.ts +425 -0
  365. package/src/lib/seam-http-request.ts +201 -0
  366. package/src/lib/version.ts +1 -1
  367. package/connect.d.ts +0 -2
  368. package/connect.js +0 -3
  369. package/connect.js.map +0 -1
  370. package/lib/seam/connect/api-error-types.js.map +0 -1
  371. package/lib/seam/connect/auth.d.ts +0 -10
  372. package/lib/seam/connect/auth.js.map +0 -1
  373. package/lib/seam/connect/client.d.ts +0 -10
  374. package/lib/seam/connect/client.js +0 -19
  375. package/lib/seam/connect/client.js.map +0 -1
  376. package/lib/seam/connect/error-interceptor.js.map +0 -1
  377. package/lib/seam/connect/index.js.map +0 -1
  378. package/lib/seam/connect/openapi.js.map +0 -1
  379. package/lib/seam/connect/options.d.ts +0 -57
  380. package/lib/seam/connect/options.js +0 -108
  381. package/lib/seam/connect/options.js.map +0 -1
  382. package/lib/seam/connect/parse-options.d.ts +0 -18
  383. package/lib/seam/connect/parse-options.js +0 -120
  384. package/lib/seam/connect/parse-options.js.map +0 -1
  385. package/lib/seam/connect/resolve-action-attempt.d.ts +0 -27
  386. package/lib/seam/connect/resolve-action-attempt.js.map +0 -1
  387. package/lib/seam/connect/resources/access-code.d.ts +0 -247
  388. package/lib/seam/connect/resources/access-code.js.map +0 -1
  389. package/lib/seam/connect/resources/access-grant.d.ts +0 -98
  390. package/lib/seam/connect/resources/access-grant.js.map +0 -1
  391. package/lib/seam/connect/resources/access-method.d.ts +0 -73
  392. package/lib/seam/connect/resources/access-method.js.map +0 -1
  393. package/lib/seam/connect/resources/acs-access-group.d.ts +0 -89
  394. package/lib/seam/connect/resources/acs-access-group.js.map +0 -1
  395. package/lib/seam/connect/resources/acs-credential.d.ts +0 -74
  396. package/lib/seam/connect/resources/acs-credential.js.map +0 -1
  397. package/lib/seam/connect/resources/acs-encoder.d.ts +0 -13
  398. package/lib/seam/connect/resources/acs-encoder.js.map +0 -1
  399. package/lib/seam/connect/resources/acs-entrance.d.ts +0 -113
  400. package/lib/seam/connect/resources/acs-entrance.js.map +0 -1
  401. package/lib/seam/connect/resources/acs-system.d.ts +0 -74
  402. package/lib/seam/connect/resources/acs-system.js.map +0 -1
  403. package/lib/seam/connect/resources/acs-user.d.ts +0 -154
  404. package/lib/seam/connect/resources/acs-user.js.map +0 -1
  405. package/lib/seam/connect/resources/action-attempt.d.ts +0 -420
  406. package/lib/seam/connect/resources/action-attempt.js.map +0 -1
  407. package/lib/seam/connect/resources/batch.d.ts +0 -54
  408. package/lib/seam/connect/resources/batch.js.map +0 -1
  409. package/lib/seam/connect/resources/client-session.d.ts +0 -14
  410. package/lib/seam/connect/resources/client-session.js.map +0 -1
  411. package/lib/seam/connect/resources/connect-webview.d.ts +0 -21
  412. package/lib/seam/connect/resources/connect-webview.js.map +0 -1
  413. package/lib/seam/connect/resources/connected-account.d.ts +0 -98
  414. package/lib/seam/connect/resources/connected-account.js.map +0 -1
  415. package/lib/seam/connect/resources/customer-portal.d.ts +0 -7
  416. package/lib/seam/connect/resources/customer-portal.js.map +0 -1
  417. package/lib/seam/connect/resources/device-provider.d.ts +0 -26
  418. package/lib/seam/connect/resources/device-provider.js.map +0 -1
  419. package/lib/seam/connect/resources/device.d.ts +0 -763
  420. package/lib/seam/connect/resources/device.js.map +0 -1
  421. package/lib/seam/connect/resources/event.d.ts +0 -1613
  422. package/lib/seam/connect/resources/event.js.map +0 -1
  423. package/lib/seam/connect/resources/index.js.map +0 -1
  424. package/lib/seam/connect/resources/instant-key.d.ts +0 -15
  425. package/lib/seam/connect/resources/instant-key.js.map +0 -1
  426. package/lib/seam/connect/resources/noise-threshold.d.ts +0 -9
  427. package/lib/seam/connect/resources/noise-threshold.js.map +0 -1
  428. package/lib/seam/connect/resources/phone.d.ts +0 -31
  429. package/lib/seam/connect/resources/phone.js.map +0 -1
  430. package/lib/seam/connect/resources/space.d.ts +0 -21
  431. package/lib/seam/connect/resources/space.js.map +0 -1
  432. package/lib/seam/connect/resources/thermostat-daily-program.d.ts +0 -11
  433. package/lib/seam/connect/resources/thermostat-daily-program.js.map +0 -1
  434. package/lib/seam/connect/resources/thermostat-schedule.d.ts +0 -17
  435. package/lib/seam/connect/resources/thermostat-schedule.js.map +0 -1
  436. package/lib/seam/connect/resources/unmanaged-access-code.d.ts +0 -194
  437. package/lib/seam/connect/resources/unmanaged-access-code.js.map +0 -1
  438. package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +0 -94
  439. package/lib/seam/connect/resources/unmanaged-access-grant.js.map +0 -1
  440. package/lib/seam/connect/resources/unmanaged-access-method.d.ts +0 -70
  441. package/lib/seam/connect/resources/unmanaged-access-method.js.map +0 -1
  442. package/lib/seam/connect/resources/unmanaged-device.d.ts +0 -249
  443. package/lib/seam/connect/resources/unmanaged-device.js.map +0 -1
  444. package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +0 -26
  445. package/lib/seam/connect/resources/unmanaged-user-identity.js.map +0 -1
  446. package/lib/seam/connect/resources/user-identity.d.ts +0 -27
  447. package/lib/seam/connect/resources/user-identity.js.map +0 -1
  448. package/lib/seam/connect/resources/webhook.d.ts +0 -6
  449. package/lib/seam/connect/resources/webhook.js.map +0 -1
  450. package/lib/seam/connect/resources/workspace.d.ts +0 -18
  451. package/lib/seam/connect/resources/workspace.js.map +0 -1
  452. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +0 -207
  453. package/lib/seam/connect/routes/access-codes/access-codes.js +0 -187
  454. package/lib/seam/connect/routes/access-codes/access-codes.js.map +0 -1
  455. package/lib/seam/connect/routes/access-codes/index.js.map +0 -1
  456. package/lib/seam/connect/routes/access-codes/simulate/index.js.map +0 -1
  457. package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +0 -35
  458. package/lib/seam/connect/routes/access-codes/simulate/simulate.js +0 -98
  459. package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +0 -1
  460. package/lib/seam/connect/routes/access-codes/unmanaged/index.js.map +0 -1
  461. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +0 -92
  462. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +0 -134
  463. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +0 -1
  464. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +0 -162
  465. package/lib/seam/connect/routes/access-grants/access-grants.js +0 -156
  466. package/lib/seam/connect/routes/access-grants/access-grants.js.map +0 -1
  467. package/lib/seam/connect/routes/access-grants/index.js.map +0 -1
  468. package/lib/seam/connect/routes/access-grants/unmanaged/index.js.map +0 -1
  469. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +0 -64
  470. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +0 -116
  471. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +0 -1
  472. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +0 -124
  473. package/lib/seam/connect/routes/access-methods/access-methods.js +0 -156
  474. package/lib/seam/connect/routes/access-methods/access-methods.js.map +0 -1
  475. package/lib/seam/connect/routes/access-methods/index.js.map +0 -1
  476. package/lib/seam/connect/routes/access-methods/unmanaged/index.js.map +0 -1
  477. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +0 -49
  478. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +0 -107
  479. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +0 -1
  480. package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +0 -114
  481. package/lib/seam/connect/routes/acs/access-groups/access-groups.js +0 -152
  482. package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +0 -1
  483. package/lib/seam/connect/routes/acs/access-groups/index.js.map +0 -1
  484. package/lib/seam/connect/routes/acs/acs.d.ts +0 -31
  485. package/lib/seam/connect/routes/acs/acs.js +0 -112
  486. package/lib/seam/connect/routes/acs/acs.js.map +0 -1
  487. package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +0 -155
  488. package/lib/seam/connect/routes/acs/credentials/credentials.js +0 -161
  489. package/lib/seam/connect/routes/acs/credentials/credentials.js.map +0 -1
  490. package/lib/seam/connect/routes/acs/credentials/index.js.map +0 -1
  491. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +0 -99
  492. package/lib/seam/connect/routes/acs/encoders/encoders.js +0 -138
  493. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +0 -1
  494. package/lib/seam/connect/routes/acs/encoders/index.js.map +0 -1
  495. package/lib/seam/connect/routes/acs/encoders/simulate/index.js.map +0 -1
  496. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +0 -70
  497. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +0 -125
  498. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +0 -1
  499. package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +0 -98
  500. package/lib/seam/connect/routes/acs/entrances/entrances.js +0 -134
  501. package/lib/seam/connect/routes/acs/entrances/entrances.js.map +0 -1
  502. package/lib/seam/connect/routes/acs/entrances/index.js.map +0 -1
  503. package/lib/seam/connect/routes/acs/index.js.map +0 -1
  504. package/lib/seam/connect/routes/acs/systems/index.js.map +0 -1
  505. package/lib/seam/connect/routes/acs/systems/systems.d.ts +0 -86
  506. package/lib/seam/connect/routes/acs/systems/systems.js +0 -125
  507. package/lib/seam/connect/routes/acs/systems/systems.js.map +0 -1
  508. package/lib/seam/connect/routes/acs/users/index.js.map +0 -1
  509. package/lib/seam/connect/routes/acs/users/users.d.ts +0 -193
  510. package/lib/seam/connect/routes/acs/users/users.js +0 -188
  511. package/lib/seam/connect/routes/acs/users/users.js.map +0 -1
  512. package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +0 -48
  513. package/lib/seam/connect/routes/action-attempts/action-attempts.js +0 -107
  514. package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +0 -1
  515. package/lib/seam/connect/routes/action-attempts/index.js.map +0 -1
  516. package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +0 -127
  517. package/lib/seam/connect/routes/client-sessions/client-sessions.js +0 -151
  518. package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +0 -1
  519. package/lib/seam/connect/routes/client-sessions/index.js.map +0 -1
  520. package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +0 -84
  521. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +0 -125
  522. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +0 -1
  523. package/lib/seam/connect/routes/connect-webviews/index.js.map +0 -1
  524. package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +0 -93
  525. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +0 -138
  526. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +0 -1
  527. package/lib/seam/connect/routes/connected-accounts/index.js.map +0 -1
  528. package/lib/seam/connect/routes/connected-accounts/simulate/index.js.map +0 -1
  529. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +0 -30
  530. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +0 -98
  531. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +0 -1
  532. package/lib/seam/connect/routes/customers/customers.d.ts +0 -469
  533. package/lib/seam/connect/routes/customers/customers.js +0 -116
  534. package/lib/seam/connect/routes/customers/customers.js.map +0 -1
  535. package/lib/seam/connect/routes/customers/index.js.map +0 -1
  536. package/lib/seam/connect/routes/devices/devices.d.ts +0 -120
  537. package/lib/seam/connect/routes/devices/devices.js +0 -142
  538. package/lib/seam/connect/routes/devices/devices.js.map +0 -1
  539. package/lib/seam/connect/routes/devices/index.js.map +0 -1
  540. package/lib/seam/connect/routes/devices/simulate/index.js.map +0 -1
  541. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +0 -86
  542. package/lib/seam/connect/routes/devices/simulate/simulate.js +0 -143
  543. package/lib/seam/connect/routes/devices/simulate/simulate.js.map +0 -1
  544. package/lib/seam/connect/routes/devices/unmanaged/index.js.map +0 -1
  545. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +0 -75
  546. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +0 -116
  547. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +0 -1
  548. package/lib/seam/connect/routes/events/events.d.ts +0 -75
  549. package/lib/seam/connect/routes/events/events.js +0 -107
  550. package/lib/seam/connect/routes/events/events.js.map +0 -1
  551. package/lib/seam/connect/routes/events/index.js.map +0 -1
  552. package/lib/seam/connect/routes/index.js.map +0 -1
  553. package/lib/seam/connect/routes/instant-keys/index.js.map +0 -1
  554. package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +0 -58
  555. package/lib/seam/connect/routes/instant-keys/instant-keys.js +0 -116
  556. package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +0 -1
  557. package/lib/seam/connect/routes/locks/index.js.map +0 -1
  558. package/lib/seam/connect/routes/locks/locks.d.ts +0 -103
  559. package/lib/seam/connect/routes/locks/locks.js +0 -138
  560. package/lib/seam/connect/routes/locks/locks.js.map +0 -1
  561. package/lib/seam/connect/routes/locks/simulate/index.js.map +0 -1
  562. package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +0 -45
  563. package/lib/seam/connect/routes/locks/simulate/simulate.js +0 -107
  564. package/lib/seam/connect/routes/locks/simulate/simulate.js.map +0 -1
  565. package/lib/seam/connect/routes/noise-sensors/index.js.map +0 -1
  566. package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +0 -52
  567. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +0 -106
  568. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +0 -1
  569. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/index.js.map +0 -1
  570. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +0 -93
  571. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +0 -134
  572. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +0 -1
  573. package/lib/seam/connect/routes/noise-sensors/simulate/index.js.map +0 -1
  574. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +0 -30
  575. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +0 -98
  576. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +0 -1
  577. package/lib/seam/connect/routes/phones/index.js.map +0 -1
  578. package/lib/seam/connect/routes/phones/phones.d.ts +0 -60
  579. package/lib/seam/connect/routes/phones/phones.js +0 -120
  580. package/lib/seam/connect/routes/phones/phones.js.map +0 -1
  581. package/lib/seam/connect/routes/phones/simulate/index.js.map +0 -1
  582. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +0 -48
  583. package/lib/seam/connect/routes/phones/simulate/simulate.js +0 -98
  584. package/lib/seam/connect/routes/phones/simulate/simulate.js.map +0 -1
  585. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +0 -17
  586. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +0 -56
  587. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +0 -1
  588. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +0 -264
  589. package/lib/seam/connect/routes/seam-http-endpoints.js +0 -1535
  590. package/lib/seam/connect/routes/seam-http-endpoints.js.map +0 -1
  591. package/lib/seam/connect/routes/seam-http-without-workspace.d.ts +0 -18
  592. package/lib/seam/connect/routes/seam-http-without-workspace.js +0 -49
  593. package/lib/seam/connect/routes/seam-http-without-workspace.js.map +0 -1
  594. package/lib/seam/connect/routes/seam-http.d.ts +0 -59
  595. package/lib/seam/connect/routes/seam-http.js +0 -167
  596. package/lib/seam/connect/routes/seam-http.js.map +0 -1
  597. package/lib/seam/connect/routes/spaces/index.js.map +0 -1
  598. package/lib/seam/connect/routes/spaces/spaces.d.ts +0 -198
  599. package/lib/seam/connect/routes/spaces/spaces.js +0 -197
  600. package/lib/seam/connect/routes/spaces/spaces.js.map +0 -1
  601. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +0 -67
  602. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +0 -116
  603. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +0 -1
  604. package/lib/seam/connect/routes/thermostats/daily-programs/index.js.map +0 -1
  605. package/lib/seam/connect/routes/thermostats/index.js.map +0 -1
  606. package/lib/seam/connect/routes/thermostats/schedules/index.js.map +0 -1
  607. package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +0 -94
  608. package/lib/seam/connect/routes/thermostats/schedules/schedules.js +0 -134
  609. package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +0 -1
  610. package/lib/seam/connect/routes/thermostats/simulate/index.js.map +0 -1
  611. package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +0 -48
  612. package/lib/seam/connect/routes/thermostats/simulate/simulate.js +0 -107
  613. package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +0 -1
  614. package/lib/seam/connect/routes/thermostats/thermostats.d.ts +0 -265
  615. package/lib/seam/connect/routes/thermostats/thermostats.js +0 -227
  616. package/lib/seam/connect/routes/thermostats/thermostats.js.map +0 -1
  617. package/lib/seam/connect/routes/user-identities/index.js.map +0 -1
  618. package/lib/seam/connect/routes/user-identities/unmanaged/index.js.map +0 -1
  619. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +0 -62
  620. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +0 -116
  621. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +0 -1
  622. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +0 -218
  623. package/lib/seam/connect/routes/user-identities/user-identities.js +0 -219
  624. package/lib/seam/connect/routes/user-identities/user-identities.js.map +0 -1
  625. package/lib/seam/connect/routes/webhooks/index.js.map +0 -1
  626. package/lib/seam/connect/routes/webhooks/webhooks.d.ts +0 -81
  627. package/lib/seam/connect/routes/webhooks/webhooks.js +0 -134
  628. package/lib/seam/connect/routes/webhooks/webhooks.js.map +0 -1
  629. package/lib/seam/connect/routes/workspaces/index.js.map +0 -1
  630. package/lib/seam/connect/routes/workspaces/workspaces.d.ts +0 -101
  631. package/lib/seam/connect/routes/workspaces/workspaces.js +0 -134
  632. package/lib/seam/connect/routes/workspaces/workspaces.js.map +0 -1
  633. package/lib/seam/connect/seam-http-error.js.map +0 -1
  634. package/lib/seam/connect/seam-http-request.d.ts +0 -32
  635. package/lib/seam/connect/seam-http-request.js +0 -102
  636. package/lib/seam/connect/seam-http-request.js.map +0 -1
  637. package/lib/seam/connect/seam-paginator.js.map +0 -1
  638. package/lib/seam/connect/token.js.map +0 -1
  639. package/src/connect.ts +0 -2
  640. package/src/lib/seam/connect/auth.ts +0 -276
  641. package/src/lib/seam/connect/client.ts +0 -32
  642. package/src/lib/seam/connect/options.ts +0 -242
  643. package/src/lib/seam/connect/parse-options.ts +0 -187
  644. package/src/lib/seam/connect/resolve-action-attempt.ts +0 -126
  645. package/src/lib/seam/connect/resources/access-code.ts +0 -404
  646. package/src/lib/seam/connect/resources/access-grant.ts +0 -169
  647. package/src/lib/seam/connect/resources/access-method.ts +0 -117
  648. package/src/lib/seam/connect/resources/acs-access-group.ts +0 -169
  649. package/src/lib/seam/connect/resources/acs-credential.ts +0 -127
  650. package/src/lib/seam/connect/resources/acs-encoder.ts +0 -26
  651. package/src/lib/seam/connect/resources/acs-entrance.ts +0 -177
  652. package/src/lib/seam/connect/resources/acs-system.ts +0 -163
  653. package/src/lib/seam/connect/resources/acs-user.ts +0 -261
  654. package/src/lib/seam/connect/resources/action-attempt.ts +0 -716
  655. package/src/lib/seam/connect/resources/batch.ts +0 -62
  656. package/src/lib/seam/connect/resources/client-session.ts +0 -27
  657. package/src/lib/seam/connect/resources/connect-webview.ts +0 -40
  658. package/src/lib/seam/connect/resources/connected-account.ts +0 -158
  659. package/src/lib/seam/connect/resources/customer-portal.ts +0 -16
  660. package/src/lib/seam/connect/resources/device-provider.ts +0 -106
  661. package/src/lib/seam/connect/resources/device.ts +0 -1197
  662. package/src/lib/seam/connect/resources/event.ts +0 -2728
  663. package/src/lib/seam/connect/resources/instant-key.ts +0 -28
  664. package/src/lib/seam/connect/resources/noise-threshold.ts +0 -19
  665. package/src/lib/seam/connect/resources/phone.ts +0 -54
  666. package/src/lib/seam/connect/resources/space.ts +0 -38
  667. package/src/lib/seam/connect/resources/thermostat-daily-program.ts +0 -21
  668. package/src/lib/seam/connect/resources/thermostat-schedule.ts +0 -31
  669. package/src/lib/seam/connect/resources/unmanaged-access-code.ts +0 -320
  670. package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +0 -164
  671. package/src/lib/seam/connect/resources/unmanaged-access-method.ts +0 -114
  672. package/src/lib/seam/connect/resources/unmanaged-device.ts +0 -469
  673. package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +0 -48
  674. package/src/lib/seam/connect/resources/user-identity.ts +0 -49
  675. package/src/lib/seam/connect/resources/webhook.ts +0 -12
  676. package/src/lib/seam/connect/resources/workspace.ts +0 -29
  677. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +0 -527
  678. package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +0 -199
  679. package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +0 -322
  680. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +0 -460
  681. package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +0 -262
  682. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +0 -431
  683. package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +0 -229
  684. package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +0 -372
  685. package/src/lib/seam/connect/routes/acs/acs.ts +0 -193
  686. package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +0 -436
  687. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +0 -350
  688. package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +0 -295
  689. package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +0 -329
  690. package/src/lib/seam/connect/routes/acs/systems/systems.ts +0 -303
  691. package/src/lib/seam/connect/routes/acs/users/users.ts +0 -521
  692. package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +0 -229
  693. package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +0 -382
  694. package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +0 -376
  695. package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +0 -329
  696. package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +0 -194
  697. package/src/lib/seam/connect/routes/customers/customers.ts +0 -780
  698. package/src/lib/seam/connect/routes/devices/devices.ts +0 -1795
  699. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +0 -329
  700. package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +0 -406
  701. package/src/lib/seam/connect/routes/events/events.ts +0 -466
  702. package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +0 -248
  703. package/src/lib/seam/connect/routes/locks/locks.ts +0 -434
  704. package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +0 -233
  705. package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +0 -221
  706. package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +0 -334
  707. package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +0 -191
  708. package/src/lib/seam/connect/routes/phones/phones.ts +0 -248
  709. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +0 -211
  710. package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +0 -126
  711. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +0 -3761
  712. package/src/lib/seam/connect/routes/seam-http-without-workspace.ts +0 -96
  713. package/src/lib/seam/connect/routes/seam-http.ts +0 -262
  714. package/src/lib/seam/connect/routes/spaces/spaces.ts +0 -555
  715. package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +0 -275
  716. package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +0 -325
  717. package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +0 -230
  718. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +0 -734
  719. package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +0 -264
  720. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +0 -610
  721. package/src/lib/seam/connect/routes/webhooks/webhooks.ts +0 -300
  722. package/src/lib/seam/connect/routes/workspaces/workspaces.ts +0 -332
  723. package/src/lib/seam/connect/seam-http-request.ts +0 -196
  724. /package/lib/{seam/connect/api-error-types.d.ts → api-error-types.d.ts} +0 -0
  725. /package/lib/{seam/connect/api-error-types.js → api-error-types.js} +0 -0
  726. /package/lib/{seam/connect/auth.js → auth.js} +0 -0
  727. /package/lib/{seam/connect/error-interceptor.d.ts → error-interceptor.d.ts} +0 -0
  728. /package/lib/{seam/connect/error-interceptor.js → error-interceptor.js} +0 -0
  729. /package/lib/{seam/connect/index.d.ts → index.d.ts} +0 -0
  730. /package/lib/{seam/connect/index.js → index.js} +0 -0
  731. /package/lib/{seam/connect/openapi.d.ts → openapi.d.ts} +0 -0
  732. /package/lib/{seam/connect/openapi.js → openapi.js} +0 -0
  733. /package/lib/{seam/connect/resolve-action-attempt.js → resolve-action-attempt.js} +0 -0
  734. /package/lib/{seam/connect/resources → resources}/access-code.js +0 -0
  735. /package/lib/{seam/connect/resources → resources}/access-grant.js +0 -0
  736. /package/lib/{seam/connect/resources → resources}/access-method.js +0 -0
  737. /package/lib/{seam/connect/resources → resources}/acs-access-group.js +0 -0
  738. /package/lib/{seam/connect/resources → resources}/acs-credential.js +0 -0
  739. /package/lib/{seam/connect/resources → resources}/acs-encoder.js +0 -0
  740. /package/lib/{seam/connect/resources → resources}/acs-entrance.js +0 -0
  741. /package/lib/{seam/connect/resources → resources}/acs-system.js +0 -0
  742. /package/lib/{seam/connect/resources → resources}/acs-user.js +0 -0
  743. /package/lib/{seam/connect/resources → resources}/action-attempt.js +0 -0
  744. /package/lib/{seam/connect/resources → resources}/batch.js +0 -0
  745. /package/lib/{seam/connect/resources → resources}/client-session.js +0 -0
  746. /package/lib/{seam/connect/resources → resources}/connect-webview.js +0 -0
  747. /package/lib/{seam/connect/resources → resources}/connected-account.js +0 -0
  748. /package/lib/{seam/connect/resources → resources}/customer-portal.js +0 -0
  749. /package/lib/{seam/connect/resources → resources}/device-provider.js +0 -0
  750. /package/lib/{seam/connect/resources → resources}/device.js +0 -0
  751. /package/lib/{seam/connect/resources → resources}/event.js +0 -0
  752. /package/lib/{seam/connect/resources → resources}/index.d.ts +0 -0
  753. /package/lib/{seam/connect/resources → resources}/index.js +0 -0
  754. /package/lib/{seam/connect/resources → resources}/instant-key.js +0 -0
  755. /package/lib/{seam/connect/resources → resources}/noise-threshold.js +0 -0
  756. /package/lib/{seam/connect/resources → resources}/phone.js +0 -0
  757. /package/lib/{seam/connect/resources → resources}/space.js +0 -0
  758. /package/lib/{seam/connect/resources → resources}/thermostat-daily-program.js +0 -0
  759. /package/lib/{seam/connect/resources → resources}/thermostat-schedule.js +0 -0
  760. /package/lib/{seam/connect/resources → resources}/unmanaged-access-code.js +0 -0
  761. /package/lib/{seam/connect/resources → resources}/unmanaged-access-grant.js +0 -0
  762. /package/lib/{seam/connect/resources → resources}/unmanaged-access-method.js +0 -0
  763. /package/lib/{seam/connect/resources → resources}/unmanaged-device.js +0 -0
  764. /package/lib/{seam/connect/resources → resources}/unmanaged-user-identity.js +0 -0
  765. /package/lib/{seam/connect/resources → resources}/user-identity.js +0 -0
  766. /package/lib/{seam/connect/resources → resources}/webhook.js +0 -0
  767. /package/lib/{seam/connect/resources → resources}/workspace.js +0 -0
  768. /package/lib/{seam/connect/routes → routes}/access-codes/index.d.ts +0 -0
  769. /package/lib/{seam/connect/routes → routes}/access-codes/index.js +0 -0
  770. /package/lib/{seam/connect/routes → routes}/access-codes/simulate/index.d.ts +0 -0
  771. /package/lib/{seam/connect/routes → routes}/access-codes/simulate/index.js +0 -0
  772. /package/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.d.ts +0 -0
  773. /package/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.js +0 -0
  774. /package/lib/{seam/connect/routes → routes}/access-grants/index.d.ts +0 -0
  775. /package/lib/{seam/connect/routes → routes}/access-grants/index.js +0 -0
  776. /package/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.d.ts +0 -0
  777. /package/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.js +0 -0
  778. /package/lib/{seam/connect/routes → routes}/access-methods/index.d.ts +0 -0
  779. /package/lib/{seam/connect/routes → routes}/access-methods/index.js +0 -0
  780. /package/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.d.ts +0 -0
  781. /package/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.js +0 -0
  782. /package/lib/{seam/connect/routes → routes}/acs/access-groups/index.d.ts +0 -0
  783. /package/lib/{seam/connect/routes → routes}/acs/access-groups/index.js +0 -0
  784. /package/lib/{seam/connect/routes → routes}/acs/credentials/index.d.ts +0 -0
  785. /package/lib/{seam/connect/routes → routes}/acs/credentials/index.js +0 -0
  786. /package/lib/{seam/connect/routes → routes}/acs/encoders/index.d.ts +0 -0
  787. /package/lib/{seam/connect/routes → routes}/acs/encoders/index.js +0 -0
  788. /package/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.d.ts +0 -0
  789. /package/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.js +0 -0
  790. /package/lib/{seam/connect/routes → routes}/acs/entrances/index.d.ts +0 -0
  791. /package/lib/{seam/connect/routes → routes}/acs/entrances/index.js +0 -0
  792. /package/lib/{seam/connect/routes → routes}/acs/index.d.ts +0 -0
  793. /package/lib/{seam/connect/routes → routes}/acs/index.js +0 -0
  794. /package/lib/{seam/connect/routes → routes}/acs/systems/index.d.ts +0 -0
  795. /package/lib/{seam/connect/routes → routes}/acs/systems/index.js +0 -0
  796. /package/lib/{seam/connect/routes → routes}/acs/users/index.d.ts +0 -0
  797. /package/lib/{seam/connect/routes → routes}/acs/users/index.js +0 -0
  798. /package/lib/{seam/connect/routes → routes}/action-attempts/index.d.ts +0 -0
  799. /package/lib/{seam/connect/routes → routes}/action-attempts/index.js +0 -0
  800. /package/lib/{seam/connect/routes → routes}/client-sessions/index.d.ts +0 -0
  801. /package/lib/{seam/connect/routes → routes}/client-sessions/index.js +0 -0
  802. /package/lib/{seam/connect/routes → routes}/connect-webviews/index.d.ts +0 -0
  803. /package/lib/{seam/connect/routes → routes}/connect-webviews/index.js +0 -0
  804. /package/lib/{seam/connect/routes → routes}/connected-accounts/index.d.ts +0 -0
  805. /package/lib/{seam/connect/routes → routes}/connected-accounts/index.js +0 -0
  806. /package/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.d.ts +0 -0
  807. /package/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.js +0 -0
  808. /package/lib/{seam/connect/routes → routes}/customers/index.d.ts +0 -0
  809. /package/lib/{seam/connect/routes → routes}/customers/index.js +0 -0
  810. /package/lib/{seam/connect/routes → routes}/devices/index.d.ts +0 -0
  811. /package/lib/{seam/connect/routes → routes}/devices/index.js +0 -0
  812. /package/lib/{seam/connect/routes → routes}/devices/simulate/index.d.ts +0 -0
  813. /package/lib/{seam/connect/routes → routes}/devices/simulate/index.js +0 -0
  814. /package/lib/{seam/connect/routes → routes}/devices/unmanaged/index.d.ts +0 -0
  815. /package/lib/{seam/connect/routes → routes}/devices/unmanaged/index.js +0 -0
  816. /package/lib/{seam/connect/routes → routes}/events/index.d.ts +0 -0
  817. /package/lib/{seam/connect/routes → routes}/events/index.js +0 -0
  818. /package/lib/{seam/connect/routes → routes}/index.d.ts +0 -0
  819. /package/lib/{seam/connect/routes → routes}/index.js +0 -0
  820. /package/lib/{seam/connect/routes → routes}/instant-keys/index.d.ts +0 -0
  821. /package/lib/{seam/connect/routes → routes}/instant-keys/index.js +0 -0
  822. /package/lib/{seam/connect/routes → routes}/locks/index.d.ts +0 -0
  823. /package/lib/{seam/connect/routes → routes}/locks/index.js +0 -0
  824. /package/lib/{seam/connect/routes → routes}/locks/simulate/index.d.ts +0 -0
  825. /package/lib/{seam/connect/routes → routes}/locks/simulate/index.js +0 -0
  826. /package/lib/{seam/connect/routes → routes}/noise-sensors/index.d.ts +0 -0
  827. /package/lib/{seam/connect/routes → routes}/noise-sensors/index.js +0 -0
  828. /package/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.d.ts +0 -0
  829. /package/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.js +0 -0
  830. /package/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.d.ts +0 -0
  831. /package/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.js +0 -0
  832. /package/lib/{seam/connect/routes → routes}/phones/index.d.ts +0 -0
  833. /package/lib/{seam/connect/routes → routes}/phones/index.js +0 -0
  834. /package/lib/{seam/connect/routes → routes}/phones/simulate/index.d.ts +0 -0
  835. /package/lib/{seam/connect/routes → routes}/phones/simulate/index.js +0 -0
  836. /package/lib/{seam/connect/routes → routes}/spaces/index.d.ts +0 -0
  837. /package/lib/{seam/connect/routes → routes}/spaces/index.js +0 -0
  838. /package/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.d.ts +0 -0
  839. /package/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.js +0 -0
  840. /package/lib/{seam/connect/routes → routes}/thermostats/index.d.ts +0 -0
  841. /package/lib/{seam/connect/routes → routes}/thermostats/index.js +0 -0
  842. /package/lib/{seam/connect/routes → routes}/thermostats/schedules/index.d.ts +0 -0
  843. /package/lib/{seam/connect/routes → routes}/thermostats/schedules/index.js +0 -0
  844. /package/lib/{seam/connect/routes → routes}/thermostats/simulate/index.d.ts +0 -0
  845. /package/lib/{seam/connect/routes → routes}/thermostats/simulate/index.js +0 -0
  846. /package/lib/{seam/connect/routes → routes}/user-identities/index.d.ts +0 -0
  847. /package/lib/{seam/connect/routes → routes}/user-identities/index.js +0 -0
  848. /package/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.d.ts +0 -0
  849. /package/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.js +0 -0
  850. /package/lib/{seam/connect/routes → routes}/webhooks/index.d.ts +0 -0
  851. /package/lib/{seam/connect/routes → routes}/webhooks/index.js +0 -0
  852. /package/lib/{seam/connect/routes → routes}/workspaces/index.d.ts +0 -0
  853. /package/lib/{seam/connect/routes → routes}/workspaces/index.js +0 -0
  854. /package/lib/{seam/connect/seam-http-error.d.ts → seam-http-error.d.ts} +0 -0
  855. /package/lib/{seam/connect/seam-http-error.js → seam-http-error.js} +0 -0
  856. /package/lib/{seam/connect/seam-paginator.d.ts → seam-paginator.d.ts} +0 -0
  857. /package/lib/{seam/connect/seam-paginator.js → seam-paginator.js} +0 -0
  858. /package/lib/{seam/connect/token.d.ts → token.d.ts} +0 -0
  859. /package/lib/{seam/connect/token.js → token.js} +0 -0
  860. /package/src/lib/{seam/connect/api-error-types.ts → api-error-types.ts} +0 -0
  861. /package/src/lib/{seam/connect/env.d.ts → env.d.ts} +0 -0
  862. /package/src/lib/{seam/connect/error-interceptor.ts → error-interceptor.ts} +0 -0
  863. /package/src/lib/{seam/connect/index.ts → index.ts} +0 -0
  864. /package/src/lib/{seam/connect/openapi.ts → openapi.ts} +0 -0
  865. /package/src/lib/{seam/connect/resources → resources}/index.ts +0 -0
  866. /package/src/lib/{seam/connect/routes → routes}/access-codes/index.ts +0 -0
  867. /package/src/lib/{seam/connect/routes → routes}/access-codes/simulate/index.ts +0 -0
  868. /package/src/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.ts +0 -0
  869. /package/src/lib/{seam/connect/routes → routes}/access-grants/index.ts +0 -0
  870. /package/src/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.ts +0 -0
  871. /package/src/lib/{seam/connect/routes → routes}/access-methods/index.ts +0 -0
  872. /package/src/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.ts +0 -0
  873. /package/src/lib/{seam/connect/routes → routes}/acs/access-groups/index.ts +0 -0
  874. /package/src/lib/{seam/connect/routes → routes}/acs/credentials/index.ts +0 -0
  875. /package/src/lib/{seam/connect/routes → routes}/acs/encoders/index.ts +0 -0
  876. /package/src/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.ts +0 -0
  877. /package/src/lib/{seam/connect/routes → routes}/acs/entrances/index.ts +0 -0
  878. /package/src/lib/{seam/connect/routes → routes}/acs/index.ts +0 -0
  879. /package/src/lib/{seam/connect/routes → routes}/acs/systems/index.ts +0 -0
  880. /package/src/lib/{seam/connect/routes → routes}/acs/users/index.ts +0 -0
  881. /package/src/lib/{seam/connect/routes → routes}/action-attempts/index.ts +0 -0
  882. /package/src/lib/{seam/connect/routes → routes}/client-sessions/index.ts +0 -0
  883. /package/src/lib/{seam/connect/routes → routes}/connect-webviews/index.ts +0 -0
  884. /package/src/lib/{seam/connect/routes → routes}/connected-accounts/index.ts +0 -0
  885. /package/src/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.ts +0 -0
  886. /package/src/lib/{seam/connect/routes → routes}/customers/index.ts +0 -0
  887. /package/src/lib/{seam/connect/routes → routes}/devices/index.ts +0 -0
  888. /package/src/lib/{seam/connect/routes → routes}/devices/simulate/index.ts +0 -0
  889. /package/src/lib/{seam/connect/routes → routes}/devices/unmanaged/index.ts +0 -0
  890. /package/src/lib/{seam/connect/routes → routes}/events/index.ts +0 -0
  891. /package/src/lib/{seam/connect/routes → routes}/index.ts +0 -0
  892. /package/src/lib/{seam/connect/routes → routes}/instant-keys/index.ts +0 -0
  893. /package/src/lib/{seam/connect/routes → routes}/locks/index.ts +0 -0
  894. /package/src/lib/{seam/connect/routes → routes}/locks/simulate/index.ts +0 -0
  895. /package/src/lib/{seam/connect/routes → routes}/noise-sensors/index.ts +0 -0
  896. /package/src/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.ts +0 -0
  897. /package/src/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.ts +0 -0
  898. /package/src/lib/{seam/connect/routes → routes}/phones/index.ts +0 -0
  899. /package/src/lib/{seam/connect/routes → routes}/phones/simulate/index.ts +0 -0
  900. /package/src/lib/{seam/connect/routes → routes}/spaces/index.ts +0 -0
  901. /package/src/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.ts +0 -0
  902. /package/src/lib/{seam/connect/routes → routes}/thermostats/index.ts +0 -0
  903. /package/src/lib/{seam/connect/routes → routes}/thermostats/schedules/index.ts +0 -0
  904. /package/src/lib/{seam/connect/routes → routes}/thermostats/simulate/index.ts +0 -0
  905. /package/src/lib/{seam/connect/routes → routes}/user-identities/index.ts +0 -0
  906. /package/src/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.ts +0 -0
  907. /package/src/lib/{seam/connect/routes → routes}/webhooks/index.ts +0 -0
  908. /package/src/lib/{seam/connect/routes → routes}/workspaces/index.ts +0 -0
  909. /package/src/lib/{seam/connect/seam-http-error.ts → seam-http-error.ts} +0 -0
  910. /package/src/lib/{seam/connect/seam-paginator.ts → seam-paginator.ts} +0 -0
  911. /package/src/lib/{seam/connect/token.ts → token.ts} +0 -0
@@ -0,0 +1,1672 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file.
4
+ */
5
+
6
+ /**
7
+ * Locking a door is pending.
8
+ */
9
+ export type ActionAttempt =
10
+ | {
11
+ /**
12
+ * ID of the action attempt.
13
+ */
14
+ action_attempt_id: string
15
+
16
+ /**
17
+ * Action attempt to track the status of locking a door.
18
+ */
19
+ action_type: 'LOCK_DOOR'
20
+
21
+ /**
22
+ * Error associated with the action.
23
+ */
24
+ error: {
25
+ /**
26
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
27
+ */
28
+ message: string
29
+
30
+ /**
31
+ * Type of the error.
32
+ */
33
+ type: string
34
+ }
35
+
36
+ /**
37
+ * Result of the action.
38
+ */
39
+ result: {
40
+ /**
41
+ * Indicates whether the device confirmed that the lock action occurred.
42
+ */
43
+ was_confirmed_by_device?: boolean | undefined
44
+ }
45
+
46
+ status: 'success' | 'pending' | 'error'
47
+ }
48
+ | {
49
+ /**
50
+ * ID of the action attempt.
51
+ */
52
+ action_attempt_id: string
53
+
54
+ /**
55
+ * Action attempt to track the status of unlocking a door.
56
+ */
57
+ action_type: 'UNLOCK_DOOR'
58
+
59
+ /**
60
+ * Error associated with the action.
61
+ */
62
+ error: {
63
+ /**
64
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
65
+ */
66
+ message: string
67
+
68
+ /**
69
+ * Type of the error.
70
+ */
71
+ type: string
72
+ }
73
+
74
+ /**
75
+ * Result of the action.
76
+ */
77
+ result: {
78
+ /**
79
+ * Indicates whether the device confirmed that the unlock action occurred.
80
+ */
81
+ was_confirmed_by_device?: boolean | undefined
82
+ }
83
+
84
+ status: 'success' | 'pending' | 'error'
85
+ }
86
+ | {
87
+ /**
88
+ * ID of the action attempt.
89
+ */
90
+ action_attempt_id: string
91
+
92
+ /**
93
+ * Action attempt to track the status of scanning a credential.
94
+ */
95
+ action_type: 'SCAN_CREDENTIAL'
96
+
97
+ error: {
98
+ /**
99
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
100
+ */
101
+ message: string
102
+
103
+ /**
104
+ * Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system.
105
+ */
106
+ type:
107
+ | 'uncategorized_error'
108
+ | 'action_attempt_expired'
109
+ | 'no_credential_on_encoder'
110
+ | 'encoder_not_online'
111
+ | 'encoder_communication_timeout'
112
+ | 'bridge_disconnected'
113
+ }
114
+
115
+ /**
116
+ * Result of scanning a card. If the attempt was successful, includes a snapshot of credential data read from the physical encoder, the corresponding data stored on Seam and the access system, and any associated warnings.
117
+ */
118
+ result: {
119
+ /**
120
+ * Snapshot of credential data read from the physical encoder.
121
+ */
122
+ acs_credential_on_encoder: {
123
+ /**
124
+ * A number or string that physically identifies the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
125
+ */
126
+ card_number: string | null
127
+ /**
128
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was created.
129
+ */
130
+ created_at: string | null
131
+ /**
132
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) will stop being usable.
133
+ */
134
+ ends_at: string | null
135
+ /**
136
+ * Indicates whether the credential has been issued (encoded onto a card).
137
+ */
138
+ is_issued: boolean | null
139
+ /**
140
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) becomes usable.
141
+ */
142
+ starts_at: string | null
143
+ /**
144
+ * Visionline-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
145
+ */
146
+ visionline_metadata?:
147
+ | {
148
+ /**
149
+ * Indicates whether the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is cancelled.
150
+ */
151
+ cancelled?: boolean | undefined
152
+ /**
153
+ * Format of the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
154
+ */
155
+ card_format?: 'TLCode' | 'rfid48' | undefined
156
+ /**
157
+ * Holder of the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
158
+ */
159
+ card_holder?: string | undefined
160
+ /**
161
+ * Card ID for the Visionline card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
162
+ */
163
+ card_id?: string | undefined
164
+ /**
165
+ * IDs of the common [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
166
+ */
167
+ common_acs_entrance_ids?: Array<string> | undefined
168
+ /**
169
+ * Indicates whether the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is discarded.
170
+ */
171
+ discarded?: boolean | undefined
172
+ /**
173
+ * Indicates whether the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is expired.
174
+ */
175
+ expired?: boolean | undefined
176
+ /**
177
+ * IDs of the guest [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
178
+ */
179
+ guest_acs_entrance_ids?: Array<string> | undefined
180
+ /**
181
+ * Number of issued cards associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
182
+ */
183
+ number_of_issued_cards?: number | undefined
184
+ /**
185
+ * Indicates whether the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is overridden.
186
+ */
187
+ overridden?: boolean | undefined
188
+ /**
189
+ * Indicates whether the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is overwritten.
190
+ */
191
+ overwritten?: boolean | undefined
192
+ /**
193
+ * Indicates whether the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is pending auto-update.
194
+ */
195
+ pending_auto_update?: boolean | undefined
196
+ }
197
+ | undefined
198
+ } | null
199
+ /**
200
+ * Corresponding credential data as stored on Seam and the access system.
201
+ */
202
+ acs_credential_on_seam: {
203
+ /**
204
+ * Access method for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
205
+ */
206
+ access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key'
207
+
208
+ /**
209
+ * ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
210
+ */
211
+ acs_credential_id: string
212
+
213
+ /**
214
+ * ID of the credential pool to which the credential belongs.
215
+ */
216
+ acs_credential_pool_id?: string | undefined
217
+ /**
218
+ * ID of the [access control system](https://docs.seam.co/low-level-apis/access-systems) that contains the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
219
+ */
220
+ acs_system_id: string
221
+
222
+ /**
223
+ * ID of the [ACS user](https://docs.seam.co/low-level-apis/access-systems/user-management) to whom the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
224
+ */
225
+ acs_user_id?: string | undefined
226
+ /**
227
+ * Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
228
+ */
229
+ assa_abloy_vostio_metadata?:
230
+ | {
231
+ /**
232
+ * Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors.
233
+ */
234
+ auto_join?: boolean | undefined
235
+ /**
236
+ * Names of the doors to which to grant access in the Vostio access system.
237
+ */
238
+ door_names?: Array<string> | undefined
239
+ /**
240
+ * Endpoint ID in the Vostio access system.
241
+ */
242
+ endpoint_id?: string | undefined
243
+ /**
244
+ * Key ID in the Vostio access system.
245
+ */
246
+ key_id?: string | undefined
247
+ /**
248
+ * Key issuing request ID in the Vostio access system.
249
+ */
250
+ key_issuing_request_id?: string | undefined
251
+ /**
252
+ * IDs of the guest entrances to override in the Vostio access system.
253
+ */
254
+ override_guest_acs_entrance_ids?: Array<string> | undefined
255
+ }
256
+ | undefined
257
+ /**
258
+ * Number of the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
259
+ */
260
+ card_number?: string | null | undefined
261
+ /**
262
+ * Access (PIN) code for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
263
+ */
264
+ code?: string | null | undefined
265
+ /**
266
+ * ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) to which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
267
+ */
268
+ connected_account_id: string
269
+
270
+ /**
271
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was created.
272
+ */
273
+ created_at: string
274
+
275
+ /**
276
+ * Display name that corresponds to the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type.
277
+ */
278
+ display_name: string
279
+
280
+ /**
281
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
282
+ */
283
+ ends_at?: string | undefined
284
+ /**
285
+ * Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
286
+ */
287
+ errors: Array<{
288
+ /**
289
+ * Date and time at which Seam created the error.
290
+ */
291
+ created_at: string
292
+
293
+ error_code: string
294
+
295
+ message: string
296
+ }>
297
+
298
+ /**
299
+ * Brand-specific terminology for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`.
300
+ */
301
+ external_type?:
302
+ | 'pti_card'
303
+ | 'brivo_credential'
304
+ | 'hid_credential'
305
+ | 'visionline_card'
306
+ | 'salto_ks_credential'
307
+ | 'assa_abloy_vostio_key'
308
+ | 'salto_space_key'
309
+ | 'latch_access'
310
+ | 'dormakaba_ambiance_credential'
311
+ | 'hotek_card'
312
+ | 'salto_ks_tag'
313
+ | 'avigilon_alta_credential'
314
+ | 'kisi_credential'
315
+ | undefined
316
+ /**
317
+ * Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type.
318
+ */
319
+ external_type_display_name?: string | undefined
320
+ /**
321
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been encoded onto a card.
322
+ */
323
+ is_issued?: boolean | undefined
324
+ /**
325
+ * Indicates whether the latest state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been synced from Seam to the provider.
326
+ */
327
+ is_latest_desired_state_synced_with_provider?:
328
+ boolean | null | undefined
329
+
330
+ is_managed: boolean
331
+
332
+ /**
333
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
334
+ */
335
+ is_multi_phone_sync_credential?: boolean | undefined
336
+ /**
337
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use.
338
+ */
339
+ is_one_time_use?: boolean | undefined
340
+ /**
341
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was encoded onto a card.
342
+ */
343
+ issued_at?: string | null | undefined
344
+ /**
345
+ * Date and time at which the state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was most recently synced from Seam to the provider.
346
+ */
347
+ latest_desired_state_synced_with_provider_at?:
348
+ string | null | undefined
349
+ /**
350
+ * ID of the parent [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
351
+ */
352
+ parent_acs_credential_id?: string | undefined
353
+ /**
354
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
355
+ */
356
+ starts_at?: string | undefined
357
+ /**
358
+ * ID of the [user identity](https://docs.seam.co/api/user_identities) to whom the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
359
+ */
360
+ user_identity_id?: string | undefined
361
+ /**
362
+ * Visionline-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
363
+ */
364
+ visionline_metadata?:
365
+ | {
366
+ /**
367
+ * Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors.
368
+ */
369
+ auto_join?: boolean | undefined
370
+ /**
371
+ * Card function type in the Visionline access system.
372
+ */
373
+ card_function_type?: 'guest' | 'staff' | undefined
374
+ /**
375
+ * ID of the card in the Visionline access system.
376
+ */
377
+ card_id?: string | undefined
378
+ /**
379
+ * Common entrance IDs in the Visionline access system.
380
+ */
381
+ common_acs_entrance_ids?: Array<string> | undefined
382
+ /**
383
+ * ID of the credential in the Visionline access system.
384
+ */
385
+ credential_id?: string | undefined
386
+ /**
387
+ * Guest entrance IDs in the Visionline access system.
388
+ */
389
+ guest_acs_entrance_ids?: Array<string> | undefined
390
+ /**
391
+ * Indicates whether the credential is valid.
392
+ */
393
+ is_valid?: boolean | undefined
394
+ /**
395
+ * IDs of the credentials to which you want to join.
396
+ */
397
+ joiner_acs_credential_ids?: Array<string> | undefined
398
+ }
399
+ | undefined
400
+ /**
401
+ * Warnings associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
402
+ */
403
+ warnings: Array<{
404
+ /**
405
+ * Date and time at which Seam created the warning.
406
+ */
407
+ created_at: string
408
+
409
+ /**
410
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
411
+ */
412
+ message: string
413
+
414
+ /**
415
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
416
+ */
417
+ warning_code:
418
+ | 'waiting_to_be_issued'
419
+ | 'schedule_externally_modified'
420
+ | 'schedule_modified'
421
+ | 'being_deleted'
422
+ | 'unknown_issue_with_acs_credential'
423
+ | 'needs_to_be_reissued'
424
+ }>
425
+
426
+ /**
427
+ * ID of the workspace that contains the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
428
+ */
429
+ workspace_id: string
430
+ }
431
+
432
+ /**
433
+ * Warnings related to scanning the credential, such as mismatches between the credential data currently encoded on the card and the corresponding data stored on Seam and the access system.
434
+ */
435
+ warnings: Array<{
436
+ /**
437
+ * Indicates a warning related to scanning a credential.
438
+ */
439
+ warning_code:
440
+ | 'acs_credential_on_encoder_out_of_sync'
441
+ | 'acs_credential_on_seam_not_found'
442
+
443
+ /**
444
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
445
+ */
446
+ warning_message: string
447
+ }>
448
+ }
449
+
450
+ status: 'success' | 'pending' | 'error'
451
+ }
452
+ | {
453
+ /**
454
+ * ID of the action attempt.
455
+ */
456
+ action_attempt_id: string
457
+
458
+ /**
459
+ * Action attempt to track the status of encoding credential data from the physical encoder onto a card.
460
+ */
461
+ action_type: 'ENCODE_CREDENTIAL'
462
+
463
+ error: {
464
+ /**
465
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
466
+ */
467
+ message: string
468
+
469
+ /**
470
+ * Error type to indicate that the credential was deleted and can no longer be encoded.
471
+ */
472
+ type:
473
+ | 'uncategorized_error'
474
+ | 'action_attempt_expired'
475
+ | 'no_credential_on_encoder'
476
+ | 'incompatible_card_format'
477
+ | 'credential_cannot_be_reissued'
478
+ | 'encoder_not_online'
479
+ | 'encoder_communication_timeout'
480
+ | 'bridge_disconnected'
481
+ | 'encoding_interrupted'
482
+ | 'credential_deleted'
483
+ }
484
+
485
+ /**
486
+ * Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card.
487
+ */
488
+ result: {
489
+ /**
490
+ * Access method for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
491
+ */
492
+ access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key'
493
+
494
+ /**
495
+ * ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
496
+ */
497
+ acs_credential_id: string
498
+
499
+ /**
500
+ * ID of the credential pool to which the credential belongs.
501
+ */
502
+ acs_credential_pool_id?: string | undefined
503
+ /**
504
+ * ID of the [access control system](https://docs.seam.co/low-level-apis/access-systems) that contains the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
505
+ */
506
+ acs_system_id: string
507
+
508
+ /**
509
+ * ID of the [ACS user](https://docs.seam.co/low-level-apis/access-systems/user-management) to whom the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
510
+ */
511
+ acs_user_id?: string | undefined
512
+ /**
513
+ * Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
514
+ */
515
+ assa_abloy_vostio_metadata?:
516
+ | {
517
+ /**
518
+ * Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors.
519
+ */
520
+ auto_join?: boolean | undefined
521
+ /**
522
+ * Names of the doors to which to grant access in the Vostio access system.
523
+ */
524
+ door_names?: Array<string> | undefined
525
+ /**
526
+ * Endpoint ID in the Vostio access system.
527
+ */
528
+ endpoint_id?: string | undefined
529
+ /**
530
+ * Key ID in the Vostio access system.
531
+ */
532
+ key_id?: string | undefined
533
+ /**
534
+ * Key issuing request ID in the Vostio access system.
535
+ */
536
+ key_issuing_request_id?: string | undefined
537
+ /**
538
+ * IDs of the guest entrances to override in the Vostio access system.
539
+ */
540
+ override_guest_acs_entrance_ids?: Array<string> | undefined
541
+ }
542
+ | undefined
543
+ /**
544
+ * Number of the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
545
+ */
546
+ card_number?: string | null | undefined
547
+ /**
548
+ * Access (PIN) code for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
549
+ */
550
+ code?: string | null | undefined
551
+ /**
552
+ * ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) to which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
553
+ */
554
+ connected_account_id: string
555
+
556
+ /**
557
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was created.
558
+ */
559
+ created_at: string
560
+
561
+ /**
562
+ * Display name that corresponds to the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type.
563
+ */
564
+ display_name: string
565
+
566
+ /**
567
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
568
+ */
569
+ ends_at?: string | undefined
570
+ /**
571
+ * Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
572
+ */
573
+ errors: Array<{
574
+ /**
575
+ * Date and time at which Seam created the error.
576
+ */
577
+ created_at: string
578
+
579
+ error_code: string
580
+
581
+ message: string
582
+ }>
583
+
584
+ /**
585
+ * Brand-specific terminology for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`.
586
+ */
587
+ external_type?:
588
+ | 'pti_card'
589
+ | 'brivo_credential'
590
+ | 'hid_credential'
591
+ | 'visionline_card'
592
+ | 'salto_ks_credential'
593
+ | 'assa_abloy_vostio_key'
594
+ | 'salto_space_key'
595
+ | 'latch_access'
596
+ | 'dormakaba_ambiance_credential'
597
+ | 'hotek_card'
598
+ | 'salto_ks_tag'
599
+ | 'avigilon_alta_credential'
600
+ | 'kisi_credential'
601
+ | undefined
602
+ /**
603
+ * Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type.
604
+ */
605
+ external_type_display_name?: string | undefined
606
+ /**
607
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been encoded onto a card.
608
+ */
609
+ is_issued?: boolean | undefined
610
+ /**
611
+ * Indicates whether the latest state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been synced from Seam to the provider.
612
+ */
613
+ is_latest_desired_state_synced_with_provider?:
614
+ boolean | null | undefined
615
+
616
+ is_managed: boolean
617
+
618
+ /**
619
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
620
+ */
621
+ is_multi_phone_sync_credential?: boolean | undefined
622
+ /**
623
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use.
624
+ */
625
+ is_one_time_use?: boolean | undefined
626
+ /**
627
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was encoded onto a card.
628
+ */
629
+ issued_at?: string | null | undefined
630
+ /**
631
+ * Date and time at which the state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was most recently synced from Seam to the provider.
632
+ */
633
+ latest_desired_state_synced_with_provider_at?: string | null | undefined
634
+ /**
635
+ * ID of the parent [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
636
+ */
637
+ parent_acs_credential_id?: string | undefined
638
+ /**
639
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
640
+ */
641
+ starts_at?: string | undefined
642
+ /**
643
+ * ID of the [user identity](https://docs.seam.co/api/user_identities) to whom the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
644
+ */
645
+ user_identity_id?: string | undefined
646
+ /**
647
+ * Visionline-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
648
+ */
649
+ visionline_metadata?:
650
+ | {
651
+ /**
652
+ * Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors.
653
+ */
654
+ auto_join?: boolean | undefined
655
+ /**
656
+ * Card function type in the Visionline access system.
657
+ */
658
+ card_function_type?: 'guest' | 'staff' | undefined
659
+ /**
660
+ * ID of the card in the Visionline access system.
661
+ */
662
+ card_id?: string | undefined
663
+ /**
664
+ * Common entrance IDs in the Visionline access system.
665
+ */
666
+ common_acs_entrance_ids?: Array<string> | undefined
667
+ /**
668
+ * ID of the credential in the Visionline access system.
669
+ */
670
+ credential_id?: string | undefined
671
+ /**
672
+ * Guest entrance IDs in the Visionline access system.
673
+ */
674
+ guest_acs_entrance_ids?: Array<string> | undefined
675
+ /**
676
+ * Indicates whether the credential is valid.
677
+ */
678
+ is_valid?: boolean | undefined
679
+ /**
680
+ * IDs of the credentials to which you want to join.
681
+ */
682
+ joiner_acs_credential_ids?: Array<string> | undefined
683
+ }
684
+ | undefined
685
+ /**
686
+ * Warnings associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
687
+ */
688
+ warnings: Array<{
689
+ /**
690
+ * Date and time at which Seam created the warning.
691
+ */
692
+ created_at: string
693
+
694
+ /**
695
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
696
+ */
697
+ message: string
698
+
699
+ /**
700
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
701
+ */
702
+ warning_code:
703
+ | 'waiting_to_be_issued'
704
+ | 'schedule_externally_modified'
705
+ | 'schedule_modified'
706
+ | 'being_deleted'
707
+ | 'unknown_issue_with_acs_credential'
708
+ | 'needs_to_be_reissued'
709
+ }>
710
+
711
+ /**
712
+ * ID of the workspace that contains the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
713
+ */
714
+ workspace_id: string
715
+ }
716
+
717
+ status: 'success' | 'pending' | 'error'
718
+ }
719
+ | {
720
+ /**
721
+ * ID of the action attempt.
722
+ */
723
+ action_attempt_id: string
724
+
725
+ /**
726
+ * Action attempt to track the status of scanning a physical card and assigning the credential to an ACS user.
727
+ */
728
+ action_type: 'SCAN_TO_ASSIGN_CREDENTIAL'
729
+
730
+ error: {
731
+ /**
732
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
733
+ */
734
+ message: string
735
+
736
+ /**
737
+ * Error type to indicate that there is no credential on the encoder.
738
+ */
739
+ type:
740
+ | 'uncategorized_error'
741
+ | 'action_attempt_expired'
742
+ | 'no_credential_on_encoder'
743
+ }
744
+
745
+ /**
746
+ * Result of a scan to assign attempt. If the attempt was successful, includes the credential data that was scanned and assigned.
747
+ */
748
+ result: {
749
+ /**
750
+ * Access method for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
751
+ */
752
+ access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key'
753
+
754
+ /**
755
+ * ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
756
+ */
757
+ acs_credential_id: string
758
+
759
+ /**
760
+ * ID of the credential pool to which the credential belongs.
761
+ */
762
+ acs_credential_pool_id?: string | undefined
763
+ /**
764
+ * ID of the [access control system](https://docs.seam.co/low-level-apis/access-systems) that contains the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
765
+ */
766
+ acs_system_id: string
767
+
768
+ /**
769
+ * ID of the [ACS user](https://docs.seam.co/low-level-apis/access-systems/user-management) to whom the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
770
+ */
771
+ acs_user_id?: string | undefined
772
+ /**
773
+ * Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
774
+ */
775
+ assa_abloy_vostio_metadata?:
776
+ | {
777
+ /**
778
+ * Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors.
779
+ */
780
+ auto_join?: boolean | undefined
781
+ /**
782
+ * Names of the doors to which to grant access in the Vostio access system.
783
+ */
784
+ door_names?: Array<string> | undefined
785
+ /**
786
+ * Endpoint ID in the Vostio access system.
787
+ */
788
+ endpoint_id?: string | undefined
789
+ /**
790
+ * Key ID in the Vostio access system.
791
+ */
792
+ key_id?: string | undefined
793
+ /**
794
+ * Key issuing request ID in the Vostio access system.
795
+ */
796
+ key_issuing_request_id?: string | undefined
797
+ /**
798
+ * IDs of the guest entrances to override in the Vostio access system.
799
+ */
800
+ override_guest_acs_entrance_ids?: Array<string> | undefined
801
+ }
802
+ | undefined
803
+ /**
804
+ * Number of the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
805
+ */
806
+ card_number?: string | null | undefined
807
+ /**
808
+ * Access (PIN) code for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
809
+ */
810
+ code?: string | null | undefined
811
+ /**
812
+ * ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) to which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
813
+ */
814
+ connected_account_id: string
815
+
816
+ /**
817
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was created.
818
+ */
819
+ created_at: string
820
+
821
+ /**
822
+ * Display name that corresponds to the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type.
823
+ */
824
+ display_name: string
825
+
826
+ /**
827
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) validity ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
828
+ */
829
+ ends_at?: string | undefined
830
+ /**
831
+ * Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
832
+ */
833
+ errors: Array<{
834
+ /**
835
+ * Date and time at which Seam created the error.
836
+ */
837
+ created_at: string
838
+
839
+ error_code: string
840
+
841
+ message: string
842
+ }>
843
+
844
+ /**
845
+ * Brand-specific terminology for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`.
846
+ */
847
+ external_type?:
848
+ | 'pti_card'
849
+ | 'brivo_credential'
850
+ | 'hid_credential'
851
+ | 'visionline_card'
852
+ | 'salto_ks_credential'
853
+ | 'assa_abloy_vostio_key'
854
+ | 'salto_space_key'
855
+ | 'latch_access'
856
+ | 'dormakaba_ambiance_credential'
857
+ | 'hotek_card'
858
+ | 'salto_ks_tag'
859
+ | 'avigilon_alta_credential'
860
+ | 'kisi_credential'
861
+ | undefined
862
+ /**
863
+ * Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type.
864
+ */
865
+ external_type_display_name?: string | undefined
866
+ /**
867
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been encoded onto a card.
868
+ */
869
+ is_issued?: boolean | undefined
870
+ /**
871
+ * Indicates whether the latest state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been synced from Seam to the provider.
872
+ */
873
+ is_latest_desired_state_synced_with_provider?:
874
+ boolean | null | undefined
875
+ /**
876
+ * Indicates whether Seam manages the credential.
877
+ */
878
+ is_managed: boolean
879
+
880
+ /**
881
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
882
+ */
883
+ is_multi_phone_sync_credential?: boolean | undefined
884
+ /**
885
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use.
886
+ */
887
+ is_one_time_use?: boolean | undefined
888
+ /**
889
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was encoded onto a card.
890
+ */
891
+ issued_at?: string | null | undefined
892
+ /**
893
+ * Date and time at which the state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was most recently synced from Seam to the provider.
894
+ */
895
+ latest_desired_state_synced_with_provider_at?: string | null | undefined
896
+ /**
897
+ * ID of the parent [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
898
+ */
899
+ parent_acs_credential_id?: string | undefined
900
+ /**
901
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
902
+ */
903
+ starts_at?: string | undefined
904
+ /**
905
+ * ID of the [user identity](https://docs.seam.co/api/user_identities) to whom the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) belongs.
906
+ */
907
+ user_identity_id?: string | undefined
908
+ /**
909
+ * Visionline-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
910
+ */
911
+ visionline_metadata?:
912
+ | {
913
+ /**
914
+ * Indicates whether the credential should auto-join. For an auto-join credential, Seam automatically issues an override card if there are no other cards and a joiner card if there are existing cards on the doors.
915
+ */
916
+ auto_join?: boolean | undefined
917
+ /**
918
+ * Card function type in the Visionline access system.
919
+ */
920
+ card_function_type?: 'guest' | 'staff' | undefined
921
+ /**
922
+ * ID of the card in the Visionline access system.
923
+ */
924
+ card_id?: string | undefined
925
+ /**
926
+ * Common entrance IDs in the Visionline access system.
927
+ */
928
+ common_acs_entrance_ids?: Array<string> | undefined
929
+ /**
930
+ * ID of the credential in the Visionline access system.
931
+ */
932
+ credential_id?: string | undefined
933
+ /**
934
+ * Guest entrance IDs in the Visionline access system.
935
+ */
936
+ guest_acs_entrance_ids?: Array<string> | undefined
937
+ /**
938
+ * Indicates whether the credential is valid.
939
+ */
940
+ is_valid?: boolean | undefined
941
+ /**
942
+ * IDs of the credentials to which you want to join.
943
+ */
944
+ joiner_acs_credential_ids?: Array<string> | undefined
945
+ }
946
+ | undefined
947
+ /**
948
+ * Warnings associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
949
+ */
950
+ warnings: Array<{
951
+ /**
952
+ * Date and time at which Seam created the warning.
953
+ */
954
+ created_at: string
955
+
956
+ /**
957
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
958
+ */
959
+ message: string
960
+
961
+ /**
962
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
963
+ */
964
+ warning_code:
965
+ | 'waiting_to_be_issued'
966
+ | 'schedule_externally_modified'
967
+ | 'schedule_modified'
968
+ | 'being_deleted'
969
+ | 'unknown_issue_with_acs_credential'
970
+ | 'needs_to_be_reissued'
971
+ }>
972
+
973
+ /**
974
+ * ID of the workspace that contains the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
975
+ */
976
+ workspace_id: string
977
+ }
978
+
979
+ status: 'success' | 'pending' | 'error'
980
+ }
981
+ | {
982
+ /**
983
+ * ID of the action attempt.
984
+ */
985
+ action_attempt_id: string
986
+
987
+ /**
988
+ * Action attempt to track the status of assigning a pre-registered card credential to an access method.
989
+ */
990
+ action_type: 'ASSIGN_CREDENTIAL'
991
+
992
+ error: {
993
+ /**
994
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
995
+ */
996
+ message: string
997
+
998
+ /**
999
+ * Error type to indicate that no matching credential was found.
1000
+ */
1001
+ type:
1002
+ | 'uncategorized_error'
1003
+ | 'action_attempt_expired'
1004
+ | 'credential_not_found'
1005
+ }
1006
+
1007
+ /**
1008
+ * Result of assigning a credential. If successful, includes the updated access method with the assigned credential.
1009
+ */
1010
+ result: {
1011
+ /**
1012
+ * ID of the access method.
1013
+ */
1014
+ access_method_id: string
1015
+
1016
+ /**
1017
+ * Token of the client session associated with the access method.
1018
+ */
1019
+ client_session_token?: string | undefined
1020
+ /**
1021
+ * The actual PIN code for code access methods.
1022
+ */
1023
+ code?: string | null | undefined
1024
+ /**
1025
+ * Date and time at which the access method was created.
1026
+ */
1027
+ created_at: string
1028
+
1029
+ /**
1030
+ * ID of the customization profile associated with the access method.
1031
+ */
1032
+ customization_profile_id?: string | undefined
1033
+ /**
1034
+ * Display name of the access method.
1035
+ */
1036
+ display_name: string
1037
+
1038
+ /**
1039
+ * Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).
1040
+ */
1041
+ errors: Array<{
1042
+ /**
1043
+ * Date and time at which Seam created the error.
1044
+ */
1045
+ created_at: string
1046
+
1047
+ /**
1048
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
1049
+ */
1050
+ error_code: 'failed_to_issue'
1051
+
1052
+ /**
1053
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1054
+ */
1055
+ message: string
1056
+ }>
1057
+
1058
+ /**
1059
+ * URL of the Instant Key for mobile key access methods.
1060
+ */
1061
+ instant_key_url?: string | undefined
1062
+ /**
1063
+ * Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.
1064
+ */
1065
+ is_assignment_required?: boolean | undefined
1066
+ /**
1067
+ * Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.
1068
+ */
1069
+ is_encoding_required?: boolean | undefined
1070
+ /**
1071
+ * Indicates whether the access method has been issued.
1072
+ */
1073
+ is_issued: boolean
1074
+
1075
+ /**
1076
+ * Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment.
1077
+ */
1078
+ is_ready_for_assignment?: boolean | undefined
1079
+ /**
1080
+ * Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.
1081
+ */
1082
+ is_ready_for_encoding?: boolean | undefined
1083
+ /**
1084
+ * Date and time at which the access method was issued.
1085
+ */
1086
+ issued_at: string | null
1087
+ /**
1088
+ * Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
1089
+ */
1090
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key'
1091
+
1092
+ /**
1093
+ * Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress.
1094
+ */
1095
+ pending_mutations: Array<{
1096
+ /**
1097
+ * Date and time at which the mutation was created.
1098
+ */
1099
+ created_at: string
1100
+
1101
+ /**
1102
+ * Previous access time configuration.
1103
+ */
1104
+ from: {
1105
+ /**
1106
+ * Previous end time for access.
1107
+ */
1108
+ ends_at: string | null
1109
+ /**
1110
+ * Previous start time for access.
1111
+ */
1112
+ starts_at: string | null
1113
+ }
1114
+
1115
+ /**
1116
+ * Detailed description of the mutation.
1117
+ */
1118
+ message: string
1119
+
1120
+ /**
1121
+ * Mutation code to indicate that Seam is in the process of updating the access times for this access method.
1122
+ */
1123
+ mutation_code:
1124
+ 'provisioning_access' | 'revoking_access' | 'updating_access_times'
1125
+
1126
+ /**
1127
+ * New access time configuration.
1128
+ */
1129
+ to: {
1130
+ /**
1131
+ * New end time for access.
1132
+ */
1133
+ ends_at: string | null
1134
+ /**
1135
+ * New start time for access.
1136
+ */
1137
+ starts_at: string | null
1138
+ }
1139
+ }>
1140
+
1141
+ /**
1142
+ * Warnings associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).
1143
+ */
1144
+ warnings: Array<{
1145
+ /**
1146
+ * Date and time at which Seam created the warning.
1147
+ */
1148
+ created_at: string
1149
+
1150
+ /**
1151
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
1152
+ */
1153
+ message: string
1154
+
1155
+ /**
1156
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
1157
+ */
1158
+ warning_code:
1159
+ | 'being_deleted'
1160
+ | 'updating_access_times'
1161
+ | 'pulled_backup_access_code'
1162
+ | 'delay_in_issuing'
1163
+
1164
+ /**
1165
+ * ID of the original access method from which this backup access method was split, if applicable.
1166
+ */
1167
+ original_access_method_id?: string | undefined
1168
+ }>
1169
+
1170
+ /**
1171
+ * ID of the Seam workspace associated with the access method.
1172
+ */
1173
+ workspace_id: string
1174
+ }
1175
+
1176
+ status: 'success' | 'pending' | 'error'
1177
+ }
1178
+ | {
1179
+ /**
1180
+ * ID of the action attempt.
1181
+ */
1182
+ action_attempt_id: string
1183
+
1184
+ /**
1185
+ * Action attempt to track the status of resetting a sandbox workspace.
1186
+ */
1187
+ action_type: 'RESET_SANDBOX_WORKSPACE'
1188
+
1189
+ /**
1190
+ * Error associated with the action.
1191
+ */
1192
+ error: {
1193
+ /**
1194
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1195
+ */
1196
+ message: string
1197
+
1198
+ /**
1199
+ * Type of the error.
1200
+ */
1201
+ type: string
1202
+ }
1203
+
1204
+ /**
1205
+ * Result of the action.
1206
+ */
1207
+ result: {}
1208
+
1209
+ status: 'success' | 'pending' | 'error'
1210
+ }
1211
+ | {
1212
+ /**
1213
+ * ID of the action attempt.
1214
+ */
1215
+ action_attempt_id: string
1216
+
1217
+ /**
1218
+ * Action attempt to track the status of setting the fan mode on a thermostat.
1219
+ */
1220
+ action_type: 'SET_FAN_MODE'
1221
+
1222
+ /**
1223
+ * Error associated with the action.
1224
+ */
1225
+ error: {
1226
+ /**
1227
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1228
+ */
1229
+ message: string
1230
+
1231
+ /**
1232
+ * Type of the error.
1233
+ */
1234
+ type: string
1235
+ }
1236
+
1237
+ /**
1238
+ * Result of the action.
1239
+ */
1240
+ result: {}
1241
+
1242
+ status: 'success' | 'pending' | 'error'
1243
+ }
1244
+ | {
1245
+ /**
1246
+ * ID of the action attempt.
1247
+ */
1248
+ action_attempt_id: string
1249
+
1250
+ /**
1251
+ * Action attempt to track the status of setting the HVAC mode on a thermostat.
1252
+ */
1253
+ action_type: 'SET_HVAC_MODE'
1254
+
1255
+ /**
1256
+ * Error associated with the action.
1257
+ */
1258
+ error: {
1259
+ /**
1260
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1261
+ */
1262
+ message: string
1263
+
1264
+ /**
1265
+ * Type of the error.
1266
+ */
1267
+ type: string
1268
+ }
1269
+
1270
+ /**
1271
+ * Result of the action.
1272
+ */
1273
+ result: {}
1274
+
1275
+ status: 'success' | 'pending' | 'error'
1276
+ }
1277
+ | {
1278
+ /**
1279
+ * ID of the action attempt.
1280
+ */
1281
+ action_attempt_id: string
1282
+
1283
+ /**
1284
+ * Action attempt to track the status of a climate preset activation.
1285
+ */
1286
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
1287
+
1288
+ /**
1289
+ * Error associated with the action.
1290
+ */
1291
+ error: {
1292
+ /**
1293
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1294
+ */
1295
+ message: string
1296
+
1297
+ /**
1298
+ * Type of the error.
1299
+ */
1300
+ type: string
1301
+ }
1302
+
1303
+ /**
1304
+ * Result of the action.
1305
+ */
1306
+ result: {}
1307
+
1308
+ status: 'success' | 'pending' | 'error'
1309
+ }
1310
+ | {
1311
+ /**
1312
+ * ID of the action attempt.
1313
+ */
1314
+ action_attempt_id: string
1315
+
1316
+ /**
1317
+ * Action attempt to track the status of simulating a keypad code entry.
1318
+ */
1319
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
1320
+
1321
+ /**
1322
+ * Error associated with the action.
1323
+ */
1324
+ error: {
1325
+ /**
1326
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1327
+ */
1328
+ message: string
1329
+
1330
+ /**
1331
+ * Type of the error.
1332
+ */
1333
+ type: string
1334
+ }
1335
+
1336
+ /**
1337
+ * Result of the action.
1338
+ */
1339
+ result: {}
1340
+
1341
+ status: 'success' | 'pending' | 'error'
1342
+ }
1343
+ | {
1344
+ /**
1345
+ * ID of the action attempt.
1346
+ */
1347
+ action_attempt_id: string
1348
+
1349
+ /**
1350
+ * Action attempt to track the status of simulating a manual lock action using a keypad.
1351
+ */
1352
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
1353
+
1354
+ /**
1355
+ * Error associated with the action.
1356
+ */
1357
+ error: {
1358
+ /**
1359
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1360
+ */
1361
+ message: string
1362
+
1363
+ /**
1364
+ * Type of the error.
1365
+ */
1366
+ type: string
1367
+ }
1368
+
1369
+ /**
1370
+ * Result of the action.
1371
+ */
1372
+ result: {}
1373
+
1374
+ status: 'success' | 'pending' | 'error'
1375
+ }
1376
+ | {
1377
+ /**
1378
+ * ID of the action attempt.
1379
+ */
1380
+ action_attempt_id: string
1381
+
1382
+ /**
1383
+ * Action attempt to track the status of pushing thermostat programs.
1384
+ */
1385
+ action_type: 'PUSH_THERMOSTAT_PROGRAMS'
1386
+
1387
+ /**
1388
+ * Error associated with the action.
1389
+ */
1390
+ error: {
1391
+ /**
1392
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1393
+ */
1394
+ message: string
1395
+
1396
+ /**
1397
+ * Type of the error.
1398
+ */
1399
+ type: string
1400
+ }
1401
+
1402
+ /**
1403
+ * Result of the action.
1404
+ */
1405
+ result: {}
1406
+
1407
+ status: 'success' | 'pending' | 'error'
1408
+ }
1409
+ | {
1410
+ /**
1411
+ * ID of the action attempt.
1412
+ */
1413
+ action_attempt_id: string
1414
+
1415
+ /**
1416
+ * Action attempt to track the status of configuring the auto-lock on a lock.
1417
+ */
1418
+ action_type: 'CONFIGURE_AUTO_LOCK'
1419
+
1420
+ /**
1421
+ * Error associated with the action.
1422
+ */
1423
+ error: {
1424
+ /**
1425
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1426
+ */
1427
+ message: string
1428
+
1429
+ /**
1430
+ * Type of the error.
1431
+ */
1432
+ type: string
1433
+ }
1434
+
1435
+ /**
1436
+ * Result of the action.
1437
+ */
1438
+ result: {}
1439
+
1440
+ status: 'success' | 'pending' | 'error'
1441
+ }
1442
+ | {
1443
+ /**
1444
+ * ID of the action attempt.
1445
+ */
1446
+ action_attempt_id: string
1447
+
1448
+ /**
1449
+ * Syncing access codes is pending.
1450
+ */
1451
+ action_type: 'SYNC_ACCESS_CODES'
1452
+
1453
+ /**
1454
+ * Error associated with the action.
1455
+ */
1456
+ error: {
1457
+ /**
1458
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1459
+ */
1460
+ message: string
1461
+
1462
+ /**
1463
+ * Type of the error.
1464
+ */
1465
+ type: string
1466
+ }
1467
+
1468
+ /**
1469
+ * Result of the action.
1470
+ */
1471
+ result: {}
1472
+
1473
+ status: 'success' | 'pending' | 'error'
1474
+ }
1475
+ | {
1476
+ /**
1477
+ * ID of the action attempt.
1478
+ */
1479
+ action_attempt_id: string
1480
+
1481
+ /**
1482
+ * Creating an access code is pending.
1483
+ */
1484
+ action_type: 'CREATE_ACCESS_CODE'
1485
+
1486
+ /**
1487
+ * Error associated with the action.
1488
+ */
1489
+ error: {
1490
+ /**
1491
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1492
+ */
1493
+ message: string
1494
+
1495
+ /**
1496
+ * Type of the error.
1497
+ */
1498
+ type: string
1499
+ }
1500
+
1501
+ /**
1502
+ * Result of the action.
1503
+ */
1504
+ result: {}
1505
+
1506
+ status: 'success' | 'pending' | 'error'
1507
+ }
1508
+ | {
1509
+ /**
1510
+ * ID of the action attempt.
1511
+ */
1512
+ action_attempt_id: string
1513
+
1514
+ /**
1515
+ * Deleting an access code is pending.
1516
+ */
1517
+ action_type: 'DELETE_ACCESS_CODE'
1518
+
1519
+ /**
1520
+ * Error associated with the action.
1521
+ */
1522
+ error: {
1523
+ /**
1524
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1525
+ */
1526
+ message: string
1527
+
1528
+ /**
1529
+ * Type of the error.
1530
+ */
1531
+ type: string
1532
+ }
1533
+
1534
+ /**
1535
+ * Result of the action.
1536
+ */
1537
+ result: {}
1538
+
1539
+ status: 'success' | 'pending' | 'error'
1540
+ }
1541
+ | {
1542
+ /**
1543
+ * ID of the action attempt.
1544
+ */
1545
+ action_attempt_id: string
1546
+
1547
+ /**
1548
+ * Updating an access code is pending.
1549
+ */
1550
+ action_type: 'UPDATE_ACCESS_CODE'
1551
+
1552
+ /**
1553
+ * Error associated with the action.
1554
+ */
1555
+ error: {
1556
+ /**
1557
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1558
+ */
1559
+ message: string
1560
+
1561
+ /**
1562
+ * Type of the error.
1563
+ */
1564
+ type: string
1565
+ }
1566
+
1567
+ /**
1568
+ * Result of the action.
1569
+ */
1570
+ result: {}
1571
+
1572
+ status: 'success' | 'pending' | 'error'
1573
+ }
1574
+ | {
1575
+ /**
1576
+ * ID of the action attempt.
1577
+ */
1578
+ action_attempt_id: string
1579
+
1580
+ /**
1581
+ * Creating a noise threshold is pending.
1582
+ */
1583
+ action_type: 'CREATE_NOISE_THRESHOLD'
1584
+
1585
+ /**
1586
+ * Error associated with the action.
1587
+ */
1588
+ error: {
1589
+ /**
1590
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1591
+ */
1592
+ message: string
1593
+
1594
+ /**
1595
+ * Type of the error.
1596
+ */
1597
+ type: string
1598
+ }
1599
+
1600
+ /**
1601
+ * Result of the action.
1602
+ */
1603
+ result: {}
1604
+
1605
+ status: 'success' | 'pending' | 'error'
1606
+ }
1607
+ | {
1608
+ /**
1609
+ * ID of the action attempt.
1610
+ */
1611
+ action_attempt_id: string
1612
+
1613
+ /**
1614
+ * Deleting a noise threshold is pending.
1615
+ */
1616
+ action_type: 'DELETE_NOISE_THRESHOLD'
1617
+
1618
+ /**
1619
+ * Error associated with the action.
1620
+ */
1621
+ error: {
1622
+ /**
1623
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1624
+ */
1625
+ message: string
1626
+
1627
+ /**
1628
+ * Type of the error.
1629
+ */
1630
+ type: string
1631
+ }
1632
+
1633
+ /**
1634
+ * Result of the action.
1635
+ */
1636
+ result: {}
1637
+
1638
+ status: 'success' | 'pending' | 'error'
1639
+ }
1640
+ | {
1641
+ /**
1642
+ * ID of the action attempt.
1643
+ */
1644
+ action_attempt_id: string
1645
+
1646
+ /**
1647
+ * Updating a noise threshold is pending.
1648
+ */
1649
+ action_type: 'UPDATE_NOISE_THRESHOLD'
1650
+
1651
+ /**
1652
+ * Error associated with the action.
1653
+ */
1654
+ error: {
1655
+ /**
1656
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1657
+ */
1658
+ message: string
1659
+
1660
+ /**
1661
+ * Type of the error.
1662
+ */
1663
+ type: string
1664
+ }
1665
+
1666
+ /**
1667
+ * Result of the action.
1668
+ */
1669
+ result: {}
1670
+
1671
+ status: 'success' | 'pending' | 'error'
1672
+ }