@seamapi/http 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/lib/seam/connect/resources/access-code.d.ts +743 -56
  2. package/lib/seam/connect/resources/access-grant.d.ts +279 -10
  3. package/lib/seam/connect/resources/access-method.d.ts +204 -8
  4. package/lib/seam/connect/resources/acs-access-group.d.ts +242 -9
  5. package/lib/seam/connect/resources/acs-credential.d.ts +212 -6
  6. package/lib/seam/connect/resources/acs-encoder.d.ts +46 -0
  7. package/lib/seam/connect/resources/acs-entrance.d.ts +298 -5
  8. package/lib/seam/connect/resources/acs-system.d.ts +227 -11
  9. package/lib/seam/connect/resources/acs-user.d.ts +388 -19
  10. package/lib/seam/connect/resources/action-attempt.d.ts +954 -0
  11. package/lib/seam/connect/resources/batch.d.ts +3 -0
  12. package/lib/seam/connect/resources/client-session.d.ts +48 -0
  13. package/lib/seam/connect/resources/connect-webview.d.ts +70 -0
  14. package/lib/seam/connect/resources/connected-account.d.ts +281 -12
  15. package/lib/seam/connect/resources/customer-portal.d.ts +22 -0
  16. package/lib/seam/connect/resources/device-provider.d.ts +72 -0
  17. package/lib/seam/connect/resources/device.d.ts +2063 -41
  18. package/lib/seam/connect/resources/event.d.ts +4014 -0
  19. package/lib/seam/connect/resources/instant-key.d.ts +41 -0
  20. package/lib/seam/connect/resources/noise-threshold.d.ts +24 -0
  21. package/lib/seam/connect/resources/phone.d.ts +72 -0
  22. package/lib/seam/connect/resources/space.d.ts +54 -0
  23. package/lib/seam/connect/resources/thermostat-daily-program.d.ts +27 -0
  24. package/lib/seam/connect/resources/thermostat-schedule.d.ts +45 -0
  25. package/lib/seam/connect/resources/unmanaged-access-code.d.ts +602 -50
  26. package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +267 -10
  27. package/lib/seam/connect/resources/unmanaged-access-method.d.ts +195 -8
  28. package/lib/seam/connect/resources/unmanaged-device.d.ts +810 -120
  29. package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +79 -3
  30. package/lib/seam/connect/resources/user-identity.d.ts +82 -3
  31. package/lib/seam/connect/resources/webhook.d.ts +15 -0
  32. package/lib/seam/connect/resources/workspace.d.ts +45 -0
  33. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +288 -0
  34. package/lib/seam/connect/routes/access-codes/access-codes.js +60 -0
  35. package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
  36. package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +12 -0
  37. package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -0
  38. package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
  39. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +72 -0
  40. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +21 -0
  41. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
  42. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +177 -0
  43. package/lib/seam/connect/routes/access-grants/access-grants.js +21 -0
  44. package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
  45. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +43 -0
  46. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +13 -0
  47. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -1
  48. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +78 -0
  49. package/lib/seam/connect/routes/access-methods/access-methods.js +21 -0
  50. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  51. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +21 -0
  52. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +6 -0
  53. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -1
  54. package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +63 -0
  55. package/lib/seam/connect/routes/acs/access-groups/access-groups.js +21 -0
  56. package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
  57. package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +126 -0
  58. package/lib/seam/connect/routes/acs/credentials/credentials.js +24 -0
  59. package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
  60. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +66 -0
  61. package/lib/seam/connect/routes/acs/encoders/encoders.js +15 -0
  62. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
  63. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +39 -0
  64. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -0
  65. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
  66. package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +72 -0
  67. package/lib/seam/connect/routes/acs/entrances/entrances.js +15 -0
  68. package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
  69. package/lib/seam/connect/routes/acs/systems/systems.d.ts +64 -0
  70. package/lib/seam/connect/routes/acs/systems/systems.js +16 -0
  71. package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
  72. package/lib/seam/connect/routes/acs/users/users.d.ts +189 -0
  73. package/lib/seam/connect/routes/acs/users/users.js +33 -0
  74. package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
  75. package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -0
  76. package/lib/seam/connect/routes/action-attempts/action-attempts.js +6 -0
  77. package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
  78. package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +113 -0
  79. package/lib/seam/connect/routes/client-sessions/client-sessions.js +23 -0
  80. package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
  81. package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +76 -0
  82. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +22 -0
  83. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
  84. package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +70 -0
  85. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +19 -0
  86. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
  87. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +6 -0
  88. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +3 -0
  89. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +1 -1
  90. package/lib/seam/connect/routes/customers/customers.d.ts +1042 -0
  91. package/lib/seam/connect/routes/customers/customers.js +10 -0
  92. package/lib/seam/connect/routes/customers/customers.js.map +1 -1
  93. package/lib/seam/connect/routes/devices/devices.d.ts +122 -0
  94. package/lib/seam/connect/routes/devices/devices.js +23 -0
  95. package/lib/seam/connect/routes/devices/devices.js.map +1 -1
  96. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +42 -0
  97. package/lib/seam/connect/routes/devices/simulate/simulate.js +27 -0
  98. package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
  99. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +80 -0
  100. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +17 -0
  101. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
  102. package/lib/seam/connect/routes/events/events.d.ts +99 -0
  103. package/lib/seam/connect/routes/events/events.js +6 -0
  104. package/lib/seam/connect/routes/events/events.js.map +1 -1
  105. package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +21 -0
  106. package/lib/seam/connect/routes/instant-keys/instant-keys.js +9 -0
  107. package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
  108. package/lib/seam/connect/routes/locks/locks.d.ts +85 -0
  109. package/lib/seam/connect/routes/locks/locks.js +16 -0
  110. package/lib/seam/connect/routes/locks/locks.js.map +1 -1
  111. package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +15 -0
  112. package/lib/seam/connect/routes/locks/simulate/simulate.js +6 -0
  113. package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
  114. package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +51 -0
  115. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -0
  116. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
  117. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +66 -0
  118. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -0
  119. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
  120. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +6 -0
  121. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -0
  122. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
  123. package/lib/seam/connect/routes/phones/phones.d.ts +21 -0
  124. package/lib/seam/connect/routes/phones/phones.js +9 -0
  125. package/lib/seam/connect/routes/phones/phones.js.map +1 -1
  126. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +45 -0
  127. package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -0
  128. package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
  129. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +6 -0
  130. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +6 -0
  131. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
  132. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +696 -0
  133. package/lib/seam/connect/routes/seam-http-endpoints.js +696 -0
  134. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  135. package/lib/seam/connect/routes/spaces/spaces.d.ts +165 -0
  136. package/lib/seam/connect/routes/spaces/spaces.js +36 -0
  137. package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
  138. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +42 -0
  139. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +9 -0
  140. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
  141. package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +69 -0
  142. package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -0
  143. package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
  144. package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +33 -0
  145. package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -0
  146. package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
  147. package/lib/seam/connect/routes/thermostats/thermostats.d.ts +300 -0
  148. package/lib/seam/connect/routes/thermostats/thermostats.js +42 -0
  149. package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
  150. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +35 -0
  151. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +11 -0
  152. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -1
  153. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +145 -0
  154. package/lib/seam/connect/routes/user-identities/user-identities.js +46 -0
  155. package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
  156. package/lib/seam/connect/routes/webhooks/webhooks.d.ts +33 -0
  157. package/lib/seam/connect/routes/webhooks/webhooks.js +15 -0
  158. package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
  159. package/lib/seam/connect/routes/workspaces/workspaces.d.ts +88 -0
  160. package/lib/seam/connect/routes/workspaces/workspaces.js +15 -0
  161. package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
  162. package/lib/version.d.ts +1 -1
  163. package/lib/version.js +1 -1
  164. package/package.json +1 -1
  165. package/src/lib/seam/connect/resources/access-code.ts +719 -35
  166. package/src/lib/seam/connect/resources/access-grant.ts +284 -16
  167. package/src/lib/seam/connect/resources/access-method.ts +205 -10
  168. package/src/lib/seam/connect/resources/acs-access-group.ts +247 -14
  169. package/src/lib/seam/connect/resources/acs-credential.ts +210 -5
  170. package/src/lib/seam/connect/resources/acs-encoder.ts +46 -0
  171. package/src/lib/seam/connect/resources/acs-entrance.ts +296 -4
  172. package/src/lib/seam/connect/resources/acs-system.ts +223 -9
  173. package/src/lib/seam/connect/resources/acs-user.ts +382 -16
  174. package/src/lib/seam/connect/resources/action-attempt.ts +956 -0
  175. package/src/lib/seam/connect/resources/batch.ts +3 -0
  176. package/src/lib/seam/connect/resources/client-session.ts +48 -0
  177. package/src/lib/seam/connect/resources/connect-webview.ts +70 -0
  178. package/src/lib/seam/connect/resources/connected-account.ts +277 -10
  179. package/src/lib/seam/connect/resources/customer-portal.ts +22 -0
  180. package/src/lib/seam/connect/resources/device-provider.ts +72 -0
  181. package/src/lib/seam/connect/resources/device.ts +2059 -39
  182. package/src/lib/seam/connect/resources/event.ts +4015 -0
  183. package/src/lib/seam/connect/resources/instant-key.ts +41 -0
  184. package/src/lib/seam/connect/resources/noise-threshold.ts +24 -0
  185. package/src/lib/seam/connect/resources/phone.ts +72 -0
  186. package/src/lib/seam/connect/resources/space.ts +54 -0
  187. package/src/lib/seam/connect/resources/thermostat-daily-program.ts +27 -0
  188. package/src/lib/seam/connect/resources/thermostat-schedule.ts +45 -0
  189. package/src/lib/seam/connect/resources/unmanaged-access-code.ts +580 -30
  190. package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +272 -16
  191. package/src/lib/seam/connect/resources/unmanaged-access-method.ts +196 -10
  192. package/src/lib/seam/connect/resources/unmanaged-device.ts +727 -39
  193. package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +84 -8
  194. package/src/lib/seam/connect/resources/user-identity.ts +87 -8
  195. package/src/lib/seam/connect/resources/webhook.ts +15 -0
  196. package/src/lib/seam/connect/resources/workspace.ts +46 -0
  197. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +291 -0
  198. package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +12 -0
  199. package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +73 -0
  200. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +180 -0
  201. package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +43 -0
  202. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +79 -0
  203. package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +21 -0
  204. package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +63 -0
  205. package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +133 -0
  206. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +66 -0
  207. package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +40 -0
  208. package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +72 -0
  209. package/src/lib/seam/connect/routes/acs/systems/systems.ts +64 -0
  210. package/src/lib/seam/connect/routes/acs/users/users.ts +189 -0
  211. package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +21 -0
  212. package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +113 -0
  213. package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +76 -0
  214. package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +70 -0
  215. package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +6 -0
  216. package/src/lib/seam/connect/routes/customers/customers.ts +1058 -0
  217. package/src/lib/seam/connect/routes/devices/devices.ts +123 -0
  218. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +42 -0
  219. package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +80 -0
  220. package/src/lib/seam/connect/routes/events/events.ts +99 -0
  221. package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +21 -0
  222. package/src/lib/seam/connect/routes/locks/locks.ts +85 -0
  223. package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +15 -0
  224. package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +51 -0
  225. package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +66 -0
  226. package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +6 -0
  227. package/src/lib/seam/connect/routes/phones/phones.ts +21 -0
  228. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +45 -0
  229. package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +6 -0
  230. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +696 -0
  231. package/src/lib/seam/connect/routes/spaces/spaces.ts +166 -0
  232. package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +42 -0
  233. package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +69 -0
  234. package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +33 -0
  235. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +300 -0
  236. package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +35 -0
  237. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +146 -0
  238. package/src/lib/seam/connect/routes/webhooks/webhooks.ts +33 -0
  239. package/src/lib/seam/connect/routes/workspaces/workspaces.ts +88 -0
  240. package/src/lib/version.ts +1 -1
@@ -1,89 +1,322 @@
1
+ /**
2
+ * Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
3
+ *
4
+ * Some access control systems use [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups), which are sets of users, combined with sets of permissions. These permissions include both the set of areas or assets that the users can access and the schedule during which the users can access these areas or assets. Instead of assigning access rights individually to each access control system user, which can be time-consuming and error-prone, administrators can assign users to an access group, thereby ensuring that the users inherit all the permissions associated with the access group. Using access groups streamlines the process of managing large numbers of access control system users, especially in bigger organizations or complexes.
5
+ *
6
+ * To learn whether your access control system supports access groups, see the corresponding [system integration guide](https://docs.seam.co/device-and-system-integration-guides#access-control-systems).
7
+ */
1
8
  export type AcsAccessGroup = {
9
+ /**
10
+ * @deprecated Use `external_type`.
11
+ */
2
12
  access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group' | 'akiles_member_group';
13
+ /**
14
+ * @deprecated Use `external_type_display_name`.
15
+ */
3
16
  access_group_type_display_name: string;
17
+ /**
18
+ * `starts_at` and `ends_at` timestamps for the access group's access.
19
+ */
4
20
  access_schedule?: {
21
+ /**
22
+ * Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
23
+ */
5
24
  ends_at: string | null;
25
+ /**
26
+ * Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
27
+ */
6
28
  starts_at: string;
7
29
  } | undefined;
30
+ /**
31
+ * ID of the access group.
32
+ */
8
33
  acs_access_group_id: string;
34
+ /**
35
+ * ID of the access control system that contains the access group.
36
+ */
9
37
  acs_system_id: string;
38
+ /**
39
+ * ID of the connected account that contains the access group.
40
+ */
10
41
  connected_account_id: string;
42
+ /**
43
+ * Date and time at which the access group was created.
44
+ */
11
45
  created_at: string;
46
+ /**
47
+ * Display name for the access group.
48
+ */
12
49
  display_name: string;
13
- errors: Array<{
50
+ /**
51
+ * Errors associated with the `acs_access_group`.
52
+ */
53
+ errors: Array<
54
+ /**
55
+ * Indicates that the [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
56
+ */
57
+ {
58
+ /**
59
+ * Date and time at which Seam created the error.
60
+ */
14
61
  created_at: string;
62
+ /**
63
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
64
+ */
15
65
  error_code: 'failed_to_create_on_acs_system';
66
+ /**
67
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
68
+ */
16
69
  message: string;
17
70
  }>;
71
+ /**
72
+ * Brand-specific terminology for the access group type.
73
+ */
18
74
  external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group' | 'dormakaba_ambiance_access_group' | 'avigilon_alta_group' | 'kisi_access_group' | 'akiles_member_group';
75
+ /**
76
+ * Display name that corresponds to the brand-specific terminology for the access group type.
77
+ */
19
78
  external_type_display_name: string;
79
+ /**
80
+ * Indicates whether Seam manages the access group.
81
+ */
20
82
  is_managed: boolean;
83
+ /**
84
+ * Name of the access group.
85
+ */
21
86
  name: string;
22
- pending_mutations: Array<{
87
+ /**
88
+ * Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.
89
+ */
90
+ pending_mutations: Array<
91
+ /**
92
+ * Seam is in the process of pushing an access group creation to the integrated access system.
93
+ */
94
+ {
95
+ /**
96
+ * Date and time at which the mutation was created.
97
+ */
23
98
  created_at: string;
99
+ /**
100
+ * Detailed description of the mutation.
101
+ */
24
102
  message: string;
103
+ /**
104
+ * Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.
105
+ */
25
106
  mutation_code: 'creating';
26
- } | {
107
+ } /**
108
+ * Seam is in the process of pushing an access group deletion to the integrated access system.
109
+ */ | {
110
+ /**
111
+ * Date and time at which the mutation was created.
112
+ */
27
113
  created_at: string;
114
+ /**
115
+ * Detailed description of the mutation.
116
+ */
28
117
  message: string;
118
+ /**
119
+ * Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.
120
+ */
29
121
  mutation_code: 'deleting';
30
- } | {
122
+ } /**
123
+ * This access group is scheduled for automatic deletion when its access window expires.
124
+ */ | {
125
+ /**
126
+ * Date and time at which the mutation was created.
127
+ */
31
128
  created_at: string;
129
+ /**
130
+ * Detailed description of the mutation.
131
+ */
32
132
  message: string;
133
+ /**
134
+ * Mutation code to indicate that this access group is scheduled for automatic deletion when its access window expires.
135
+ */
33
136
  mutation_code: 'deferring_deletion';
34
- } | {
137
+ } /**
138
+ * Seam is in the process of pushing an access group information update to the integrated access system.
139
+ */ | {
140
+ /**
141
+ * Date and time at which the mutation was created.
142
+ */
35
143
  created_at: string;
144
+ /**
145
+ * Old access group information.
146
+ */
36
147
  from: {
148
+ /**
149
+ * Name of the access group.
150
+ */
37
151
  name?: string | null | undefined;
38
152
  };
153
+ /**
154
+ * Detailed description of the mutation.
155
+ */
39
156
  message: string;
157
+ /**
158
+ * Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.
159
+ */
40
160
  mutation_code: 'updating_group_information';
161
+ /**
162
+ * New access group information.
163
+ */
41
164
  to: {
165
+ /**
166
+ * Name of the access group.
167
+ */
42
168
  name?: string | null | undefined;
43
169
  };
44
- } | {
170
+ } /**
171
+ * Seam is in the process of pushing an access schedule update to the integrated access system.
172
+ */ | {
173
+ /**
174
+ * Date and time at which the mutation was created.
175
+ */
45
176
  created_at: string;
177
+ /**
178
+ * Old access schedule information.
179
+ */
46
180
  from: {
181
+ /**
182
+ * Ending time for the access schedule.
183
+ */
47
184
  ends_at: string | null;
185
+ /**
186
+ * Starting time for the access schedule.
187
+ */
48
188
  starts_at: string | null;
49
189
  };
190
+ /**
191
+ * Detailed description of the mutation.
192
+ */
50
193
  message: string;
194
+ /**
195
+ * Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.
196
+ */
51
197
  mutation_code: 'updating_access_schedule';
198
+ /**
199
+ * New access schedule information.
200
+ */
52
201
  to: {
202
+ /**
203
+ * Ending time for the access schedule.
204
+ */
53
205
  ends_at: string | null;
206
+ /**
207
+ * Starting time for the access schedule.
208
+ */
54
209
  starts_at: string | null;
55
210
  };
56
- } | {
211
+ } /**
212
+ * Seam is in the process of pushing a user membership update to the integrated access system.
213
+ */ | {
214
+ /**
215
+ * Date and time at which the mutation was created.
216
+ */
57
217
  created_at: string;
218
+ /**
219
+ * Old user membership.
220
+ */
58
221
  from: {
222
+ /**
223
+ * Old user ID.
224
+ */
59
225
  acs_user_id: string | null;
60
226
  };
227
+ /**
228
+ * Detailed description of the mutation.
229
+ */
61
230
  message: string;
231
+ /**
232
+ * Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.
233
+ */
62
234
  mutation_code: 'updating_user_membership';
235
+ /**
236
+ * New user membership.
237
+ */
63
238
  to: {
239
+ /**
240
+ * New user ID.
241
+ */
64
242
  acs_user_id: string | null;
65
243
  };
66
- } | {
244
+ } /**
245
+ * Seam is in the process of pushing an entrance membership update to the integrated access system.
246
+ */ | {
247
+ /**
248
+ * Date and time at which the mutation was created.
249
+ */
67
250
  created_at: string;
251
+ /**
252
+ * Old entrance membership.
253
+ */
68
254
  from: {
255
+ /**
256
+ * Old entrance ID.
257
+ */
69
258
  acs_entrance_id: string | null;
70
259
  };
260
+ /**
261
+ * Detailed description of the mutation.
262
+ */
71
263
  message: string;
264
+ /**
265
+ * Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.
266
+ */
72
267
  mutation_code: 'updating_entrance_membership';
268
+ /**
269
+ * New entrance membership.
270
+ */
73
271
  to: {
272
+ /**
273
+ * New entrance ID.
274
+ */
74
275
  acs_entrance_id: string | null;
75
276
  };
76
- } | {
277
+ } /**
278
+ * A scheduled user membership change is pending for this access group.
279
+ */ | {
280
+ /**
281
+ * ID of the user involved in the scheduled change.
282
+ */
77
283
  acs_user_id: string;
284
+ /**
285
+ * Date and time at which the mutation was created.
286
+ */
78
287
  created_at: string;
288
+ /**
289
+ * Detailed description of the mutation.
290
+ */
79
291
  message: string;
292
+ /**
293
+ * Mutation code to indicate that a scheduled user membership change is pending for this access group.
294
+ */
80
295
  mutation_code: 'deferring_user_membership_update';
296
+ /**
297
+ * Whether the user is scheduled to be added to or removed from this access group.
298
+ */
81
299
  variant: 'adding' | 'removing';
82
300
  }>;
301
+ /**
302
+ * Warnings associated with the `acs_access_group`.
303
+ */
83
304
  warnings: Array<{
305
+ /**
306
+ * Date and time at which Seam created the warning.
307
+ */
84
308
  created_at: string;
309
+ /**
310
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
311
+ */
85
312
  message: string;
313
+ /**
314
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
315
+ */
86
316
  warning_code: 'unknown_issue_with_acs_access_group' | 'being_deleted';
87
317
  }>;
318
+ /**
319
+ * ID of the workspace that contains the access group.
320
+ */
88
321
  workspace_id: string;
89
322
  };
@@ -1,74 +1,280 @@
1
+ /**
2
+ * Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).
3
+ *
4
+ * An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
5
+ *
6
+ * For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
7
+ *
8
+ * For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials.
9
+ */
1
10
  export type AcsCredential = {
11
+ /**
12
+ * Access method for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
13
+ */
2
14
  access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key';
15
+ /**
16
+ * ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
17
+ */
3
18
  acs_credential_id: string;
19
+ /**
20
+ * ID of the credential pool to which the credential belongs.
21
+ */
4
22
  acs_credential_pool_id?: string | undefined;
23
+ /**
24
+ * 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).
25
+ */
5
26
  acs_system_id: string;
27
+ /**
28
+ * 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.
29
+ */
6
30
  acs_user_id?: string | undefined;
31
+ /**
32
+ * Vostio-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
33
+ */
7
34
  assa_abloy_vostio_metadata?: {
35
+ /**
36
+ * 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.
37
+ */
8
38
  auto_join?: boolean | undefined;
39
+ /**
40
+ * Names of the doors to which to grant access in the Vostio access system.
41
+ */
9
42
  door_names?: Array<string> | undefined;
43
+ /**
44
+ * Endpoint ID in the Vostio access system.
45
+ */
10
46
  endpoint_id?: string | undefined;
47
+ /**
48
+ * Key ID in the Vostio access system.
49
+ */
11
50
  key_id?: string | undefined;
51
+ /**
52
+ * Key issuing request ID in the Vostio access system.
53
+ */
12
54
  key_issuing_request_id?: string | undefined;
55
+ /**
56
+ * IDs of the guest entrances to override in the Vostio access system.
57
+ */
13
58
  override_guest_acs_entrance_ids?: Array<string> | undefined;
14
59
  } | undefined;
60
+ /**
61
+ * Number of the card associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
62
+ */
15
63
  card_number?: string | null | undefined;
64
+ /**
65
+ * Access (PIN) code for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
66
+ */
16
67
  code?: string | null | undefined;
68
+ /**
69
+ * 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.
70
+ */
17
71
  connected_account_id: string;
72
+ /**
73
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was created.
74
+ */
18
75
  created_at: string;
76
+ /**
77
+ * Display name that corresponds to the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type.
78
+ */
19
79
  display_name: string;
80
+ /**
81
+ * 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`.
82
+ */
20
83
  ends_at?: string | undefined;
84
+ /**
85
+ * Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
86
+ */
21
87
  errors: Array<{
88
+ /**
89
+ * Date and time at which Seam created the error.
90
+ */
22
91
  created_at: string;
23
92
  error_code: string;
24
93
  message: string;
25
94
  }>;
95
+ /**
96
+ * 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`.
97
+ */
26
98
  external_type?: 'pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential' | 'assa_abloy_vostio_key' | 'salto_space_key' | 'latch_access' | 'dormakaba_ambiance_credential' | 'hotek_card' | 'salto_ks_tag' | 'avigilon_alta_credential' | 'kisi_credential' | undefined;
99
+ /**
100
+ * Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) type.
101
+ */
27
102
  external_type_display_name?: string | undefined;
103
+ /**
104
+ * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been encoded onto a card.
105
+ */
28
106
  is_issued?: boolean | undefined;
107
+ /**
108
+ * 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.
109
+ */
29
110
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
111
+ /**
112
+ * Indicates whether Seam manages the credential.
113
+ */
30
114
  is_managed: boolean;
115
+ /**
116
+ * 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).
117
+ */
31
118
  is_multi_phone_sync_credential?: boolean | undefined;
119
+ /**
120
+ * 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.
121
+ */
32
122
  is_one_time_use?: boolean | undefined;
123
+ /**
124
+ * Date and time at which the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was encoded onto a card.
125
+ */
33
126
  issued_at?: string | null | undefined;
127
+ /**
128
+ * 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.
129
+ */
34
130
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
131
+ /**
132
+ * ID of the parent [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
133
+ */
35
134
  parent_acs_credential_id?: string | undefined;
135
+ /**
136
+ * 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.
137
+ */
36
138
  starts_at?: string | undefined;
139
+ /**
140
+ * 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.
141
+ */
37
142
  user_identity_id?: string | undefined;
143
+ /**
144
+ * Visionline-specific metadata for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
145
+ */
38
146
  visionline_metadata?: {
147
+ /**
148
+ * 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.
149
+ */
39
150
  auto_join?: boolean | undefined;
151
+ /**
152
+ * Card function type in the Visionline access system.
153
+ */
40
154
  card_function_type?: 'guest' | 'staff' | undefined;
155
+ /**
156
+ * ID of the card in the Visionline access system.
157
+ */
41
158
  card_id?: string | undefined;
159
+ /**
160
+ * Common entrance IDs in the Visionline access system.
161
+ */
42
162
  common_acs_entrance_ids?: Array<string> | undefined;
163
+ /**
164
+ * ID of the credential in the Visionline access system.
165
+ */
43
166
  credential_id?: string | undefined;
167
+ /**
168
+ * Guest entrance IDs in the Visionline access system.
169
+ */
44
170
  guest_acs_entrance_ids?: Array<string> | undefined;
171
+ /**
172
+ * Indicates whether the credential is valid.
173
+ */
45
174
  is_valid?: boolean | undefined;
175
+ /**
176
+ * IDs of the credentials to which you want to join.
177
+ */
46
178
  joiner_acs_credential_ids?: Array<string> | undefined;
47
179
  } | undefined;
48
- warnings: Array<{
180
+ /**
181
+ * Warnings associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
182
+ */
183
+ warnings: Array<
184
+ /**
185
+ * Indicates that the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is waiting to be issued.
186
+ */
187
+ {
188
+ /**
189
+ * Date and time at which Seam created the warning.
190
+ */
49
191
  created_at: string;
192
+ /**
193
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
194
+ */
50
195
  message: string;
196
+ /**
197
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
198
+ */
51
199
  warning_code: 'waiting_to_be_issued';
52
- } | {
200
+ } /**
201
+ * Indicates that the schedule of one of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials)'s children was modified externally.
202
+ */ | {
203
+ /**
204
+ * Date and time at which Seam created the warning.
205
+ */
53
206
  created_at: string;
207
+ /**
208
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
209
+ */
54
210
  message: string;
211
+ /**
212
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
213
+ */
55
214
  warning_code: 'schedule_externally_modified';
56
- } | {
215
+ } /**
216
+ * Indicates that the schedule of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) was modified to avoid creating a credential with a start date in the past.
217
+ */ | {
218
+ /**
219
+ * Date and time at which Seam created the warning.
220
+ */
57
221
  created_at: string;
222
+ /**
223
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
224
+ */
58
225
  message: string;
226
+ /**
227
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
228
+ */
59
229
  warning_code: 'schedule_modified';
60
- } | {
230
+ } /**
231
+ * Indicates that the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is being deleted.
232
+ */ | {
233
+ /**
234
+ * Date and time at which Seam created the warning.
235
+ */
61
236
  created_at: string;
237
+ /**
238
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
239
+ */
62
240
  message: string;
241
+ /**
242
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
243
+ */
63
244
  warning_code: 'being_deleted';
64
- } | {
245
+ } /**
246
+ * An unknown issue occurred while syncing the state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) with the provider. This issue may affect the proper functioning of the credential.
247
+ */ | {
248
+ /**
249
+ * Date and time at which Seam created the warning.
250
+ */
65
251
  created_at: string;
252
+ /**
253
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
254
+ */
66
255
  message: string;
256
+ /**
257
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
258
+ */
67
259
  warning_code: 'unknown_issue_with_acs_credential';
68
- } | {
260
+ } /**
261
+ * Access permissions for the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) the credential. This issue may affect the proper functioning of the credential.
262
+ */ | {
263
+ /**
264
+ * Date and time at which Seam created the warning.
265
+ */
69
266
  created_at: string;
267
+ /**
268
+ * Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
269
+ */
70
270
  message: string;
271
+ /**
272
+ * Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
273
+ */
71
274
  warning_code: 'needs_to_be_reissued';
72
275
  }>;
276
+ /**
277
+ * ID of the workspace that contains the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
278
+ */
73
279
  workspace_id: string;
74
280
  };
@@ -1,13 +1,59 @@
1
+ /**
2
+ * Represents a hardware device that encodes [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) data onto physical cards within an [access control system](https://docs.seam.co/low-level-apis/access-systems).
3
+ *
4
+ * Some access control systems require credentials to be encoded onto plastic key cards using a card encoder. This process involves the following two key steps:
5
+ *
6
+ * 1. Credential creation
7
+ * Configure the access parameters for the credential.
8
+ * 2. Card encoding
9
+ * Write the credential data onto the card using a compatible card encoder.
10
+ *
11
+ * Separately, the Seam API also supports card scanning, which enables you to scan and read the encoded data on a card. You can use this action to confirm consistency with access control system records or diagnose discrepancies if needed.
12
+ *
13
+ * See [Working with Card Encoders and Scanners](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
14
+ *
15
+ * To verify if your access control system requires a card encoder, see the corresponding [system integration guide](https://docs.seam.co/device-and-system-integration-guides#access-control-systems).
16
+ */
1
17
  export type AcsEncoder = {
18
+ /**
19
+ * ID of the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
20
+ */
2
21
  acs_encoder_id: string;
22
+ /**
23
+ * ID of the [access control system](https://docs.seam.co/low-level-apis/access-systems) that contains the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
24
+ */
3
25
  acs_system_id: string;
26
+ /**
27
+ * ID of the connected account that contains the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
28
+ */
4
29
  connected_account_id: string;
30
+ /**
31
+ * Date and time at which the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) was created.
32
+ */
5
33
  created_at: string;
34
+ /**
35
+ * Display name for the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
36
+ */
6
37
  display_name: string;
38
+ /**
39
+ * Errors associated with the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
40
+ */
7
41
  errors: Array<{
42
+ /**
43
+ * Date and time at which Seam created the error.
44
+ */
8
45
  created_at: string;
46
+ /**
47
+ * Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
48
+ */
9
49
  error_code: 'acs_encoder_removed';
50
+ /**
51
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
52
+ */
10
53
  message: string;
11
54
  }>;
55
+ /**
56
+ * ID of the workspace that contains the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
57
+ */
12
58
  workspace_id: string;
13
59
  };