@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
@@ -173,6 +173,11 @@ export class SeamHttpDevices {
173
173
  return SeamHttpDevicesUnmanaged.fromClient(this.client, this.defaults)
174
174
  }
175
175
 
176
+ /**
177
+ * Returns a specified [device](https://docs.seam.co/core-concepts/devices).
178
+ *
179
+ * You must specify either `device_id` or `name`.
180
+ */
176
181
  get(
177
182
  parameters?: DevicesGetParameters,
178
183
  options: DevicesGetOptions = {},
@@ -186,6 +191,9 @@ export class SeamHttpDevices {
186
191
  })
187
192
  }
188
193
 
194
+ /**
195
+ * Returns a list of all [devices](https://docs.seam.co/core-concepts/devices).
196
+ */
189
197
  list(
190
198
  parameters?: DevicesListParameters,
191
199
  options: DevicesListOptions = {},
@@ -199,6 +207,13 @@ export class SeamHttpDevices {
199
207
  })
200
208
  }
201
209
 
210
+ /**
211
+ * Returns a list of all device providers.
212
+ *
213
+ * The information that this endpoint returns for each provider includes a set of [capability flags](https://docs.seam.co/capability-guides/device-and-system-capabilities#capability-flags), such as `device_provider.can_remotely_unlock`. If at least one supported device from a provider has a specific capability, the corresponding capability flag is `true`.
214
+ *
215
+ * When you create a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews), you can customize the providers—that is, the brands—that it displays. In the `/connect_webviews/create` request, include the desired set of device provider keys in the `accepted_providers` parameter. See also [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews).
216
+ */
202
217
  listDeviceProviders(
203
218
  parameters?: DevicesListDeviceProvidersParameters,
204
219
  options: DevicesListDeviceProvidersOptions = {},
@@ -212,6 +227,9 @@ export class SeamHttpDevices {
212
227
  })
213
228
  }
214
229
 
230
+ /**
231
+ * Updates provider-specific metadata for devices.
232
+ */
215
233
  reportProviderMetadata(
216
234
  parameters: DevicesReportProviderMetadataParameters,
217
235
  options: DevicesReportProviderMetadataOptions = {},
@@ -225,6 +243,11 @@ export class SeamHttpDevices {
225
243
  })
226
244
  }
227
245
 
246
+ /**
247
+ * Updates a specified [device](https://docs.seam.co/core-concepts/devices).
248
+ *
249
+ * You can add or change [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) for a device, change the device's name, or [convert a managed device to unmanaged](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
250
+ */
228
251
  update(
229
252
  parameters: DevicesUpdateParameters,
230
253
  options: DevicesUpdateOptions = {},
@@ -240,7 +263,13 @@ export class SeamHttpDevices {
240
263
  }
241
264
 
242
265
  export type DevicesGetParameters = {
266
+ /**
267
+ * ID of the device that you want to get.
268
+ */
243
269
  device_id?: string | undefined
270
+ /**
271
+ * Name of the device that you want to get.
272
+ */
244
273
  name?: string | undefined
245
274
  }
246
275
 
@@ -254,13 +283,37 @@ export type DevicesGetRequest = SeamHttpRequest<DevicesGetResponse, 'device'>
254
283
  export interface DevicesGetOptions {}
255
284
 
256
285
  export type DevicesListParameters = {
286
+ /**
287
+ * ID of the Connect Webview for which you want to list devices.
288
+ */
257
289
  connect_webview_id?: string | undefined
290
+ /**
291
+ * ID of the connected account for which you want to list devices.
292
+ */
258
293
  connected_account_id?: string | undefined
294
+ /**
295
+ * Array of IDs of the connected accounts for which you want to list devices.
296
+ */
259
297
  connected_account_ids?: Array<string> | undefined
298
+ /**
299
+ * Timestamp by which to limit returned devices. Returns devices created before this timestamp.
300
+ */
260
301
  created_before?: string | undefined
302
+ /**
303
+ * Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.
304
+ */
261
305
  custom_metadata_has?: Record<string, unknown> | undefined
306
+ /**
307
+ * Customer key for which you want to list devices.
308
+ */
262
309
  customer_key?: string | undefined
310
+ /**
311
+ * Array of device IDs for which you want to list devices.
312
+ */
263
313
  device_ids?: Array<string> | undefined
314
+ /**
315
+ * Device type for which you want to list devices.
316
+ */
264
317
  device_type?:
265
318
  | 'akuvox_lock'
266
319
  | 'august_lock'
@@ -305,6 +358,9 @@ export type DevicesListParameters = {
305
358
  | 'android_phone'
306
359
  | 'ring_camera'
307
360
  | undefined
361
+ /**
362
+ * Array of device types for which you want to list devices.
363
+ */
308
364
  device_types?:
309
365
  | Array<
310
366
  | 'akuvox_lock'
@@ -351,7 +407,13 @@ export type DevicesListParameters = {
351
407
  | 'ring_camera'
352
408
  >
353
409
  | undefined
410
+ /**
411
+ * Numerical limit on the number of devices to return.
412
+ */
354
413
  limit?: number | undefined
414
+ /**
415
+ * Manufacturer for which you want to list devices.
416
+ */
355
417
  manufacturer?:
356
418
  | 'akuvox'
357
419
  | 'august'
@@ -405,10 +467,25 @@ export type DevicesListParameters = {
405
467
  | 'kisi'
406
468
  | 'slack'
407
469
  | undefined
470
+ /**
471
+ * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
472
+ */
408
473
  page_cursor?: string | undefined
474
+ /**
475
+ * String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id` (full or partial UUID prefix, minimum 4 characters), `connected_account_id`, `display_name`, `custom_metadata` or `location.location_name`.
476
+ */
409
477
  search?: string | undefined
478
+ /**
479
+ * ID of the space for which you want to list devices.
480
+ */
410
481
  space_id?: string | undefined
482
+ /**
483
+ * @deprecated Use `space_id`.
484
+ */
411
485
  unstable_location_id?: string | undefined
486
+ /**
487
+ * Your own internal user ID for the user for which you want to list devices.
488
+ */
412
489
  user_identifier_key?: string | undefined
413
490
  }
414
491
 
@@ -422,6 +499,9 @@ export type DevicesListRequest = SeamHttpRequest<DevicesListResponse, 'devices'>
422
499
  export interface DevicesListOptions {}
423
500
 
424
501
  export type DevicesListDeviceProvidersParameters = {
502
+ /**
503
+ * Category for which you want to list providers.
504
+ */
425
505
  provider_category?:
426
506
  | 'stable'
427
507
  | 'consumer_smartlocks'
@@ -449,10 +529,22 @@ export type DevicesListDeviceProvidersRequest = SeamHttpRequest<
449
529
  export interface DevicesListDeviceProvidersOptions {}
450
530
 
451
531
  export type DevicesReportProviderMetadataParameters = {
532
+ /**
533
+ * Array of devices with provider metadata to update
534
+ */
452
535
  devices: Array<{
536
+ /**
537
+ * ID of the device to update
538
+ */
453
539
  device_id?: string | undefined
540
+ /**
541
+ * Omnitec-specific metadata to update
542
+ */
454
543
  omnitec_metadata?:
455
544
  | {
545
+ /**
546
+ * IANA timezone for the Omnitec device
547
+ */
456
548
  time_zone?:
457
549
  | 'Africa/Abidjan'
458
550
  | 'Africa/Accra'
@@ -886,8 +978,14 @@ export type DevicesReportProviderMetadataParameters = {
886
978
  | undefined
887
979
  }
888
980
  | undefined
981
+ /**
982
+ * Schlage-specific metadata to update
983
+ */
889
984
  schlage_metadata?:
890
985
  | {
986
+ /**
987
+ * IANA timezone for the Schlage device
988
+ */
891
989
  time_zone?:
892
990
  | 'Africa/Abidjan'
893
991
  | 'Africa/Accra'
@@ -1321,8 +1419,14 @@ export type DevicesReportProviderMetadataParameters = {
1321
1419
  | undefined
1322
1420
  }
1323
1421
  | undefined
1422
+ /**
1423
+ * Ultraloq-specific metadata to update
1424
+ */
1324
1425
  ultraloq_metadata?:
1325
1426
  | {
1427
+ /**
1428
+ * IANA timezone for the Ultraloq device
1429
+ */
1326
1430
  time_zone?:
1327
1431
  | 'Africa/Abidjan'
1328
1432
  | 'Africa/Accra'
@@ -1772,14 +1876,33 @@ export type DevicesReportProviderMetadataRequest = SeamHttpRequest<
1772
1876
  export interface DevicesReportProviderMetadataOptions {}
1773
1877
 
1774
1878
  export type DevicesUpdateParameters = {
1879
+ /**
1880
+ * Indicates whether the device's [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is enabled. Set to `false` to disable the pool: Seam stops refilling it and removes any backup codes that have not yet been pulled into active use.
1881
+ */
1775
1882
  backup_access_code_pool_enabled?: boolean | undefined
1883
+ /**
1884
+ * Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter devices by the desired metadata](https://docs.seam.co/core-concepts/devices/filtering-devices-by-custom-metadata).
1885
+ */
1776
1886
  custom_metadata?: Record<string, unknown> | undefined
1887
+ /**
1888
+ * ID of the device that you want to update.
1889
+ */
1777
1890
  device_id: string
1778
1891
 
1892
+ /**
1893
+ * Indicates whether the device is managed. To unmanage a device, set `is_managed` to `false`.
1894
+ */
1779
1895
  is_managed?: boolean | undefined
1896
+ /**
1897
+ * Name for the device.
1898
+ */
1780
1899
  name?: string | undefined
1900
+
1781
1901
  properties?:
1782
1902
  | {
1903
+ /**
1904
+ * Name for the device.
1905
+ */
1783
1906
  name?: string | undefined
1784
1907
  }
1785
1908
  | undefined
@@ -160,6 +160,9 @@ export class SeamHttpDevicesSimulate {
160
160
  await clientSessions.get()
161
161
  }
162
162
 
163
+ /**
164
+ * Simulates connecting a device to Seam. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).
165
+ */
163
166
  connect(
164
167
  parameters: DevicesSimulateConnectParameters,
165
168
  options: DevicesSimulateConnectOptions = {},
@@ -173,6 +176,12 @@ export class SeamHttpDevicesSimulate {
173
176
  })
174
177
  }
175
178
 
179
+ /**
180
+ * Simulates bringing the Wi‑Fi hub (bridge) back online for a device.
181
+ * Only applicable for sandbox workspaces and currently
182
+ * implemented for August and TTLock locks.
183
+ * This will clear the `hub_disconnected` error on the device.
184
+ */
176
185
  connectToHub(
177
186
  parameters: DevicesSimulateConnectToHubParameters,
178
187
  options: DevicesSimulateConnectToHubOptions = {},
@@ -186,6 +195,9 @@ export class SeamHttpDevicesSimulate {
186
195
  })
187
196
  }
188
197
 
198
+ /**
199
+ * Simulates disconnecting a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).
200
+ */
189
201
  disconnect(
190
202
  parameters: DevicesSimulateDisconnectParameters,
191
203
  options: DevicesSimulateDisconnectOptions = {},
@@ -199,6 +211,13 @@ export class SeamHttpDevicesSimulate {
199
211
  })
200
212
  }
201
213
 
214
+ /**
215
+ * Simulates taking the Wi‑Fi hub (bridge) offline for a device.
216
+ * Only applicable for sandbox workspaces and currently
217
+ * implemented for August, TTLock, and IglooHome devices.
218
+ * This will set the `hub_disconnected` error on the device, or mark the
219
+ * IglooHome bridge offline in sandbox.
220
+ */
202
221
  disconnectFromHub(
203
222
  parameters: DevicesSimulateDisconnectFromHubParameters,
204
223
  options: DevicesSimulateDisconnectFromHubOptions = {},
@@ -212,6 +231,11 @@ export class SeamHttpDevicesSimulate {
212
231
  })
213
232
  }
214
233
 
234
+ /**
235
+ * Toggle the simulated Nuki Smart Hosting subscription for a device (sandbox only).
236
+ * Send `is_expired: true` to simulate an expired subscription, or `false` to simulate an active subscription.
237
+ * The actual device error is created/cleared by the poller after this state change.
238
+ */
215
239
  paidSubscription(
216
240
  parameters: DevicesSimulatePaidSubscriptionParameters,
217
241
  options: DevicesSimulatePaidSubscriptionOptions = {},
@@ -225,6 +249,9 @@ export class SeamHttpDevicesSimulate {
225
249
  })
226
250
  }
227
251
 
252
+ /**
253
+ * Simulates removing a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).
254
+ */
228
255
  remove(
229
256
  parameters: DevicesSimulateRemoveParameters,
230
257
  options: DevicesSimulateRemoveOptions = {},
@@ -240,6 +267,9 @@ export class SeamHttpDevicesSimulate {
240
267
  }
241
268
 
242
269
  export type DevicesSimulateConnectParameters = {
270
+ /**
271
+ * ID of the device that you want to simulate connecting to Seam.
272
+ */
243
273
  device_id: string
244
274
  }
245
275
 
@@ -253,6 +283,9 @@ export type DevicesSimulateConnectRequest = SeamHttpRequest<void, undefined>
253
283
  export interface DevicesSimulateConnectOptions {}
254
284
 
255
285
  export type DevicesSimulateConnectToHubParameters = {
286
+ /**
287
+ * ID of the device whose hub you want to reconnect.
288
+ */
256
289
  device_id: string
257
290
  }
258
291
 
@@ -269,6 +302,9 @@ export type DevicesSimulateConnectToHubRequest = SeamHttpRequest<
269
302
  export interface DevicesSimulateConnectToHubOptions {}
270
303
 
271
304
  export type DevicesSimulateDisconnectParameters = {
305
+ /**
306
+ * ID of the device that you want to simulate disconnecting from Seam.
307
+ */
272
308
  device_id: string
273
309
  }
274
310
 
@@ -282,6 +318,9 @@ export type DevicesSimulateDisconnectRequest = SeamHttpRequest<void, undefined>
282
318
  export interface DevicesSimulateDisconnectOptions {}
283
319
 
284
320
  export type DevicesSimulateDisconnectFromHubParameters = {
321
+ /**
322
+ * ID of the device whose hub you want to disconnect.
323
+ */
285
324
  device_id: string
286
325
  }
287
326
 
@@ -316,6 +355,9 @@ export type DevicesSimulatePaidSubscriptionRequest = SeamHttpRequest<
316
355
  export interface DevicesSimulatePaidSubscriptionOptions {}
317
356
 
318
357
  export type DevicesSimulateRemoveParameters = {
358
+ /**
359
+ * ID of the device that you want to simulate removing from Seam.
360
+ */
319
361
  device_id: string
320
362
  }
321
363
 
@@ -161,6 +161,13 @@ export class SeamHttpDevicesUnmanaged {
161
161
  await clientSessions.get()
162
162
  }
163
163
 
164
+ /**
165
+ * Returns a specified [unmanaged device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
166
+ *
167
+ * An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).
168
+ *
169
+ * You must specify either `device_id` or `name`.
170
+ */
164
171
  get(
165
172
  parameters?: DevicesUnmanagedGetParameters,
166
173
  options: DevicesUnmanagedGetOptions = {},
@@ -174,6 +181,11 @@ export class SeamHttpDevicesUnmanaged {
174
181
  })
175
182
  }
176
183
 
184
+ /**
185
+ * Returns a list of all [unmanaged devices](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
186
+ *
187
+ * An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).
188
+ */
177
189
  list(
178
190
  parameters?: DevicesUnmanagedListParameters,
179
191
  options: DevicesUnmanagedListOptions = {},
@@ -187,6 +199,11 @@ export class SeamHttpDevicesUnmanaged {
187
199
  })
188
200
  }
189
201
 
202
+ /**
203
+ * Updates a specified [unmanaged device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices). To convert an unmanaged device to managed, set `is_managed` to `true`.
204
+ *
205
+ * An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).
206
+ */
190
207
  update(
191
208
  parameters: DevicesUnmanagedUpdateParameters,
192
209
  options: DevicesUnmanagedUpdateOptions = {},
@@ -202,7 +219,13 @@ export class SeamHttpDevicesUnmanaged {
202
219
  }
203
220
 
204
221
  export type DevicesUnmanagedGetParameters = {
222
+ /**
223
+ * ID of the unmanaged device that you want to get.
224
+ */
205
225
  device_id?: string | undefined
226
+ /**
227
+ * Name of the unmanaged device that you want to get.
228
+ */
206
229
  name?: string | undefined
207
230
  }
208
231
 
@@ -219,13 +242,37 @@ export type DevicesUnmanagedGetRequest = SeamHttpRequest<
219
242
  export interface DevicesUnmanagedGetOptions {}
220
243
 
221
244
  export type DevicesUnmanagedListParameters = {
245
+ /**
246
+ * ID of the Connect Webview for which you want to list devices.
247
+ */
222
248
  connect_webview_id?: string | undefined
249
+ /**
250
+ * ID of the connected account for which you want to list devices.
251
+ */
223
252
  connected_account_id?: string | undefined
253
+ /**
254
+ * Array of IDs of the connected accounts for which you want to list devices.
255
+ */
224
256
  connected_account_ids?: Array<string> | undefined
257
+ /**
258
+ * Timestamp by which to limit returned devices. Returns devices created before this timestamp.
259
+ */
225
260
  created_before?: string | undefined
261
+ /**
262
+ * Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.
263
+ */
226
264
  custom_metadata_has?: Record<string, unknown> | undefined
265
+ /**
266
+ * Customer key for which you want to list devices.
267
+ */
227
268
  customer_key?: string | undefined
269
+ /**
270
+ * Array of device IDs for which you want to list devices.
271
+ */
228
272
  device_ids?: Array<string> | undefined
273
+ /**
274
+ * Device type for which you want to list devices.
275
+ */
229
276
  device_type?:
230
277
  | 'akuvox_lock'
231
278
  | 'august_lock'
@@ -270,6 +317,9 @@ export type DevicesUnmanagedListParameters = {
270
317
  | 'android_phone'
271
318
  | 'ring_camera'
272
319
  | undefined
320
+ /**
321
+ * Array of device types for which you want to list devices.
322
+ */
273
323
  device_types?:
274
324
  | Array<
275
325
  | 'akuvox_lock'
@@ -316,7 +366,13 @@ export type DevicesUnmanagedListParameters = {
316
366
  | 'ring_camera'
317
367
  >
318
368
  | undefined
369
+ /**
370
+ * Numerical limit on the number of devices to return.
371
+ */
319
372
  limit?: number | undefined
373
+ /**
374
+ * Manufacturer for which you want to list devices.
375
+ */
320
376
  manufacturer?:
321
377
  | 'akuvox'
322
378
  | 'august'
@@ -370,10 +426,25 @@ export type DevicesUnmanagedListParameters = {
370
426
  | 'kisi'
371
427
  | 'slack'
372
428
  | undefined
429
+ /**
430
+ * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
431
+ */
373
432
  page_cursor?: string | undefined
433
+ /**
434
+ * String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id` (full or partial UUID prefix, minimum 4 characters), `connected_account_id`, `display_name`, `custom_metadata` or `location.location_name`.
435
+ */
374
436
  search?: string | undefined
437
+ /**
438
+ * ID of the space for which you want to list devices.
439
+ */
375
440
  space_id?: string | undefined
441
+ /**
442
+ * @deprecated Use `space_id`.
443
+ */
376
444
  unstable_location_id?: string | undefined
445
+ /**
446
+ * Your own internal user ID for the user for which you want to list devices.
447
+ */
377
448
  user_identifier_key?: string | undefined
378
449
  }
379
450
 
@@ -390,9 +461,18 @@ export type DevicesUnmanagedListRequest = SeamHttpRequest<
390
461
  export interface DevicesUnmanagedListOptions {}
391
462
 
392
463
  export type DevicesUnmanagedUpdateParameters = {
464
+ /**
465
+ * Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.
466
+ */
393
467
  custom_metadata?: Record<string, unknown> | undefined
468
+ /**
469
+ * ID of the unmanaged device that you want to update.
470
+ */
394
471
  device_id: string
395
472
 
473
+ /**
474
+ * Indicates whether the device is managed. Set this parameter to `true` to convert an unmanaged device to managed.
475
+ */
396
476
  is_managed?: boolean | undefined
397
477
  }
398
478
 
@@ -161,6 +161,9 @@ export class SeamHttpEvents {
161
161
  await clientSessions.get()
162
162
  }
163
163
 
164
+ /**
165
+ * Returns a specified event. This endpoint returns the same event that would be sent to a [webhook](https://docs.seam.co/developer-tools/webhooks), but it enables you to retrieve an event that already took place.
166
+ */
164
167
  get(
165
168
  parameters?: EventsGetParameters,
166
169
  options: EventsGetOptions = {},
@@ -174,6 +177,9 @@ export class SeamHttpEvents {
174
177
  })
175
178
  }
176
179
 
180
+ /**
181
+ * Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://docs.seam.co/developer-tools/webhooks), but it enables you to filter or see events that already took place.
182
+ */
177
183
  list(
178
184
  parameters?: EventsListParameters,
179
185
  options: EventsListOptions = {},
@@ -189,8 +195,17 @@ export class SeamHttpEvents {
189
195
  }
190
196
 
191
197
  export type EventsGetParameters = {
198
+ /**
199
+ * Unique identifier for the device that triggered the event that you want to get.
200
+ */
192
201
  device_id?: string | undefined
202
+ /**
203
+ * Unique identifier for the event that you want to get.
204
+ */
193
205
  event_id?: string | undefined
206
+ /**
207
+ * Type of the event that you want to get.
208
+ */
194
209
  event_type?: string | undefined
195
210
  }
196
211
 
@@ -204,26 +219,89 @@ export type EventsGetRequest = SeamHttpRequest<EventsGetResponse, 'event'>
204
219
  export interface EventsGetOptions {}
205
220
 
206
221
  export type EventsListParameters = {
222
+ /**
223
+ * ID of the access code for which you want to list events.
224
+ */
207
225
  access_code_id?: string | undefined
226
+ /**
227
+ * IDs of the access codes for which you want to list events.
228
+ */
208
229
  access_code_ids?: Array<string> | undefined
230
+ /**
231
+ * ID of the access grant for which you want to list events.
232
+ */
209
233
  access_grant_id?: string | undefined
234
+ /**
235
+ * IDs of the access grants for which you want to list events.
236
+ */
210
237
  access_grant_ids?: Array<string> | undefined
238
+ /**
239
+ * ID of the access method for which you want to list events.
240
+ */
211
241
  access_method_id?: string | undefined
242
+ /**
243
+ * IDs of the access methods for which you want to list events.
244
+ */
212
245
  access_method_ids?: Array<string> | undefined
246
+ /**
247
+ * ID of the ACS access group for which you want to list events.
248
+ */
213
249
  acs_access_group_id?: string | undefined
250
+ /**
251
+ * ID of the ACS credential for which you want to list events.
252
+ */
214
253
  acs_credential_id?: string | undefined
254
+ /**
255
+ * ID of the ACS encoder for which you want to list events.
256
+ */
215
257
  acs_encoder_id?: string | undefined
258
+ /**
259
+ * ID of the ACS entrance for which you want to list events.
260
+ */
216
261
  acs_entrance_id?: string | undefined
262
+ /**
263
+ * ID of the access system for which you want to list events.
264
+ */
217
265
  acs_system_id?: string | undefined
266
+ /**
267
+ * IDs of the access systems for which you want to list events.
268
+ */
218
269
  acs_system_ids?: Array<string> | undefined
270
+ /**
271
+ * ID of the ACS user for which you want to list events.
272
+ */
219
273
  acs_user_id?: string | undefined
274
+ /**
275
+ * Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.
276
+ */
220
277
  between?: Array<{}> | undefined
278
+ /**
279
+ * ID of the Connect Webview for which you want to list events.
280
+ */
221
281
  connect_webview_id?: string | undefined
282
+ /**
283
+ * ID of the connected account for which you want to list events.
284
+ */
222
285
  connected_account_id?: string | undefined
286
+ /**
287
+ * Customer key for which you want to list events.
288
+ */
223
289
  customer_key?: string | undefined
290
+ /**
291
+ * ID of the device for which you want to list events.
292
+ */
224
293
  device_id?: string | undefined
294
+ /**
295
+ * IDs of the devices for which you want to list events.
296
+ */
225
297
  device_ids?: Array<string> | undefined
298
+ /**
299
+ * IDs of the events that you want to list.
300
+ */
226
301
  event_ids?: Array<string> | undefined
302
+ /**
303
+ * Type of the events that you want to list.
304
+ */
227
305
  event_type?:
228
306
  | 'access_code.created'
229
307
  | 'access_code.changed'
@@ -335,6 +413,9 @@ export type EventsListParameters = {
335
413
  | 'space.created'
336
414
  | 'space.deleted'
337
415
  | undefined
416
+ /**
417
+ * Types of the events that you want to list.
418
+ */
338
419
  event_types?:
339
420
  | Array<
340
421
  | 'access_code.created'
@@ -448,11 +529,29 @@ export type EventsListParameters = {
448
529
  | 'space.deleted'
449
530
  >
450
531
  | undefined
532
+ /**
533
+ * Numerical limit on the number of events to return.
534
+ */
451
535
  limit?: number | undefined
536
+ /**
537
+ * Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`.
538
+ */
452
539
  since?: string | undefined
540
+ /**
541
+ * ID of the space for which you want to list events.
542
+ */
453
543
  space_id?: string | undefined
544
+ /**
545
+ * IDs of the spaces for which you want to list events.
546
+ */
454
547
  space_ids?: Array<string> | undefined
548
+ /**
549
+ * Offset for the events that you want to list.
550
+ */
455
551
  unstable_offset?: number | undefined
552
+ /**
553
+ * ID of the user identity for which you want to list events.
554
+ */
456
555
  user_identity_id?: string | undefined
457
556
  }
458
557