@seamapi/http 2.0.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 (247) hide show
  1. package/README.md +0 -30
  2. package/lib/seam/connect/api-error-types.js +0 -1
  3. package/lib/seam/connect/api-error-types.js.map +1 -1
  4. package/lib/seam/connect/openapi.d.ts +1 -2
  5. package/lib/seam/connect/openapi.js.map +1 -1
  6. package/lib/seam/connect/resources/access-code.d.ts +743 -56
  7. package/lib/seam/connect/resources/access-grant.d.ts +279 -10
  8. package/lib/seam/connect/resources/access-method.d.ts +204 -8
  9. package/lib/seam/connect/resources/acs-access-group.d.ts +242 -9
  10. package/lib/seam/connect/resources/acs-credential.d.ts +212 -6
  11. package/lib/seam/connect/resources/acs-encoder.d.ts +46 -0
  12. package/lib/seam/connect/resources/acs-entrance.d.ts +298 -5
  13. package/lib/seam/connect/resources/acs-system.d.ts +227 -11
  14. package/lib/seam/connect/resources/acs-user.d.ts +388 -19
  15. package/lib/seam/connect/resources/action-attempt.d.ts +954 -0
  16. package/lib/seam/connect/resources/batch.d.ts +3 -0
  17. package/lib/seam/connect/resources/client-session.d.ts +48 -0
  18. package/lib/seam/connect/resources/connect-webview.d.ts +70 -0
  19. package/lib/seam/connect/resources/connected-account.d.ts +281 -12
  20. package/lib/seam/connect/resources/customer-portal.d.ts +22 -0
  21. package/lib/seam/connect/resources/device-provider.d.ts +72 -0
  22. package/lib/seam/connect/resources/device.d.ts +2063 -41
  23. package/lib/seam/connect/resources/event.d.ts +4014 -0
  24. package/lib/seam/connect/resources/instant-key.d.ts +41 -0
  25. package/lib/seam/connect/resources/noise-threshold.d.ts +24 -0
  26. package/lib/seam/connect/resources/phone.d.ts +72 -0
  27. package/lib/seam/connect/resources/space.d.ts +54 -0
  28. package/lib/seam/connect/resources/thermostat-daily-program.d.ts +27 -0
  29. package/lib/seam/connect/resources/thermostat-schedule.d.ts +45 -0
  30. package/lib/seam/connect/resources/unmanaged-access-code.d.ts +602 -50
  31. package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +267 -10
  32. package/lib/seam/connect/resources/unmanaged-access-method.d.ts +195 -8
  33. package/lib/seam/connect/resources/unmanaged-device.d.ts +810 -120
  34. package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +79 -3
  35. package/lib/seam/connect/resources/user-identity.d.ts +82 -3
  36. package/lib/seam/connect/resources/webhook.d.ts +15 -0
  37. package/lib/seam/connect/resources/workspace.d.ts +45 -0
  38. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +288 -0
  39. package/lib/seam/connect/routes/access-codes/access-codes.js +60 -0
  40. package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
  41. package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +12 -0
  42. package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -0
  43. package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
  44. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +72 -0
  45. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +21 -0
  46. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
  47. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +177 -0
  48. package/lib/seam/connect/routes/access-grants/access-grants.js +21 -0
  49. package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
  50. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +43 -0
  51. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +13 -0
  52. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -1
  53. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +78 -0
  54. package/lib/seam/connect/routes/access-methods/access-methods.js +21 -0
  55. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  56. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +21 -0
  57. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +6 -0
  58. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -1
  59. package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +63 -0
  60. package/lib/seam/connect/routes/acs/access-groups/access-groups.js +21 -0
  61. package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
  62. package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +126 -0
  63. package/lib/seam/connect/routes/acs/credentials/credentials.js +24 -0
  64. package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
  65. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +66 -0
  66. package/lib/seam/connect/routes/acs/encoders/encoders.js +15 -0
  67. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
  68. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +39 -0
  69. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -0
  70. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
  71. package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +72 -0
  72. package/lib/seam/connect/routes/acs/entrances/entrances.js +15 -0
  73. package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
  74. package/lib/seam/connect/routes/acs/systems/systems.d.ts +64 -0
  75. package/lib/seam/connect/routes/acs/systems/systems.js +16 -0
  76. package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
  77. package/lib/seam/connect/routes/acs/users/users.d.ts +189 -0
  78. package/lib/seam/connect/routes/acs/users/users.js +33 -0
  79. package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
  80. package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -0
  81. package/lib/seam/connect/routes/action-attempts/action-attempts.js +6 -0
  82. package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
  83. package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +113 -0
  84. package/lib/seam/connect/routes/client-sessions/client-sessions.js +23 -0
  85. package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
  86. package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +76 -0
  87. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +22 -0
  88. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
  89. package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +70 -0
  90. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +19 -0
  91. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
  92. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +6 -0
  93. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +3 -0
  94. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +1 -1
  95. package/lib/seam/connect/routes/customers/customers.d.ts +1042 -0
  96. package/lib/seam/connect/routes/customers/customers.js +10 -0
  97. package/lib/seam/connect/routes/customers/customers.js.map +1 -1
  98. package/lib/seam/connect/routes/devices/devices.d.ts +122 -0
  99. package/lib/seam/connect/routes/devices/devices.js +23 -0
  100. package/lib/seam/connect/routes/devices/devices.js.map +1 -1
  101. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +42 -0
  102. package/lib/seam/connect/routes/devices/simulate/simulate.js +27 -0
  103. package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
  104. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +80 -0
  105. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +17 -0
  106. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
  107. package/lib/seam/connect/routes/events/events.d.ts +99 -0
  108. package/lib/seam/connect/routes/events/events.js +6 -0
  109. package/lib/seam/connect/routes/events/events.js.map +1 -1
  110. package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +21 -0
  111. package/lib/seam/connect/routes/instant-keys/instant-keys.js +9 -0
  112. package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
  113. package/lib/seam/connect/routes/locks/locks.d.ts +85 -0
  114. package/lib/seam/connect/routes/locks/locks.js +16 -0
  115. package/lib/seam/connect/routes/locks/locks.js.map +1 -1
  116. package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +15 -0
  117. package/lib/seam/connect/routes/locks/simulate/simulate.js +6 -0
  118. package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
  119. package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +51 -0
  120. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -0
  121. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
  122. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +66 -0
  123. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -0
  124. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
  125. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +6 -0
  126. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -0
  127. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
  128. package/lib/seam/connect/routes/phones/phones.d.ts +21 -0
  129. package/lib/seam/connect/routes/phones/phones.js +9 -0
  130. package/lib/seam/connect/routes/phones/phones.js.map +1 -1
  131. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +45 -0
  132. package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -0
  133. package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
  134. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +6 -0
  135. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +6 -0
  136. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
  137. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +696 -0
  138. package/lib/seam/connect/routes/seam-http-endpoints.js +696 -0
  139. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  140. package/lib/seam/connect/routes/spaces/spaces.d.ts +165 -0
  141. package/lib/seam/connect/routes/spaces/spaces.js +36 -0
  142. package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
  143. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +42 -0
  144. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +9 -0
  145. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
  146. package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +69 -0
  147. package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -0
  148. package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
  149. package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +33 -0
  150. package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -0
  151. package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
  152. package/lib/seam/connect/routes/thermostats/thermostats.d.ts +300 -0
  153. package/lib/seam/connect/routes/thermostats/thermostats.js +42 -0
  154. package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
  155. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +35 -0
  156. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +11 -0
  157. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -1
  158. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +145 -0
  159. package/lib/seam/connect/routes/user-identities/user-identities.js +46 -0
  160. package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
  161. package/lib/seam/connect/routes/webhooks/webhooks.d.ts +33 -0
  162. package/lib/seam/connect/routes/webhooks/webhooks.js +15 -0
  163. package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
  164. package/lib/seam/connect/routes/workspaces/workspaces.d.ts +88 -0
  165. package/lib/seam/connect/routes/workspaces/workspaces.js +15 -0
  166. package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
  167. package/lib/version.d.ts +1 -1
  168. package/lib/version.js +1 -1
  169. package/package.json +1 -9
  170. package/src/lib/seam/connect/api-error-types.ts +0 -2
  171. package/src/lib/seam/connect/openapi.ts +2 -4
  172. package/src/lib/seam/connect/resources/access-code.ts +719 -35
  173. package/src/lib/seam/connect/resources/access-grant.ts +284 -16
  174. package/src/lib/seam/connect/resources/access-method.ts +205 -10
  175. package/src/lib/seam/connect/resources/acs-access-group.ts +247 -14
  176. package/src/lib/seam/connect/resources/acs-credential.ts +210 -5
  177. package/src/lib/seam/connect/resources/acs-encoder.ts +46 -0
  178. package/src/lib/seam/connect/resources/acs-entrance.ts +296 -4
  179. package/src/lib/seam/connect/resources/acs-system.ts +223 -9
  180. package/src/lib/seam/connect/resources/acs-user.ts +382 -16
  181. package/src/lib/seam/connect/resources/action-attempt.ts +956 -0
  182. package/src/lib/seam/connect/resources/batch.ts +3 -0
  183. package/src/lib/seam/connect/resources/client-session.ts +48 -0
  184. package/src/lib/seam/connect/resources/connect-webview.ts +70 -0
  185. package/src/lib/seam/connect/resources/connected-account.ts +277 -10
  186. package/src/lib/seam/connect/resources/customer-portal.ts +22 -0
  187. package/src/lib/seam/connect/resources/device-provider.ts +72 -0
  188. package/src/lib/seam/connect/resources/device.ts +2059 -39
  189. package/src/lib/seam/connect/resources/event.ts +4015 -0
  190. package/src/lib/seam/connect/resources/instant-key.ts +41 -0
  191. package/src/lib/seam/connect/resources/noise-threshold.ts +24 -0
  192. package/src/lib/seam/connect/resources/phone.ts +72 -0
  193. package/src/lib/seam/connect/resources/space.ts +54 -0
  194. package/src/lib/seam/connect/resources/thermostat-daily-program.ts +27 -0
  195. package/src/lib/seam/connect/resources/thermostat-schedule.ts +45 -0
  196. package/src/lib/seam/connect/resources/unmanaged-access-code.ts +580 -30
  197. package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +272 -16
  198. package/src/lib/seam/connect/resources/unmanaged-access-method.ts +196 -10
  199. package/src/lib/seam/connect/resources/unmanaged-device.ts +727 -39
  200. package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +84 -8
  201. package/src/lib/seam/connect/resources/user-identity.ts +87 -8
  202. package/src/lib/seam/connect/resources/webhook.ts +15 -0
  203. package/src/lib/seam/connect/resources/workspace.ts +46 -0
  204. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +291 -0
  205. package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +12 -0
  206. package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +73 -0
  207. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +180 -0
  208. package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +43 -0
  209. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +79 -0
  210. package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +21 -0
  211. package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +63 -0
  212. package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +133 -0
  213. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +66 -0
  214. package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +40 -0
  215. package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +72 -0
  216. package/src/lib/seam/connect/routes/acs/systems/systems.ts +64 -0
  217. package/src/lib/seam/connect/routes/acs/users/users.ts +189 -0
  218. package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +21 -0
  219. package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +113 -0
  220. package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +76 -0
  221. package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +70 -0
  222. package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +6 -0
  223. package/src/lib/seam/connect/routes/customers/customers.ts +1058 -0
  224. package/src/lib/seam/connect/routes/devices/devices.ts +123 -0
  225. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +42 -0
  226. package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +80 -0
  227. package/src/lib/seam/connect/routes/events/events.ts +99 -0
  228. package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +21 -0
  229. package/src/lib/seam/connect/routes/locks/locks.ts +85 -0
  230. package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +15 -0
  231. package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +51 -0
  232. package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +66 -0
  233. package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +6 -0
  234. package/src/lib/seam/connect/routes/phones/phones.ts +21 -0
  235. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +45 -0
  236. package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +6 -0
  237. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +696 -0
  238. package/src/lib/seam/connect/routes/spaces/spaces.ts +166 -0
  239. package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +42 -0
  240. package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +69 -0
  241. package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +33 -0
  242. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +300 -0
  243. package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +35 -0
  244. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +146 -0
  245. package/src/lib/seam/connect/routes/webhooks/webhooks.ts +33 -0
  246. package/src/lib/seam/connect/routes/workspaces/workspaces.ts +88 -0
  247. package/src/lib/version.ts +1 -1
@@ -162,6 +162,9 @@ export class SeamHttpAcsUsers {
162
162
  await clientSessions.get()
163
163
  }
164
164
 
165
+ /**
166
+ * Adds a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) to a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
167
+ */
165
168
  addToAccessGroup(
166
169
  parameters: AcsUsersAddToAccessGroupParameters,
167
170
  options: AcsUsersAddToAccessGroupOptions = {},
@@ -175,6 +178,9 @@ export class SeamHttpAcsUsers {
175
178
  })
176
179
  }
177
180
 
181
+ /**
182
+ * Creates a new [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
183
+ */
178
184
  create(
179
185
  parameters: AcsUsersCreateParameters,
180
186
  options: AcsUsersCreateOptions = {},
@@ -188,6 +194,9 @@ export class SeamHttpAcsUsers {
188
194
  })
189
195
  }
190
196
 
197
+ /**
198
+ * Deletes a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) and invalidates the access system user's [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
199
+ */
191
200
  delete(
192
201
  parameters?: AcsUsersDeleteParameters,
193
202
  options: AcsUsersDeleteOptions = {},
@@ -201,6 +210,9 @@ export class SeamHttpAcsUsers {
201
210
  })
202
211
  }
203
212
 
213
+ /**
214
+ * Returns a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
215
+ */
204
216
  get(
205
217
  parameters?: AcsUsersGetParameters,
206
218
  options: AcsUsersGetOptions = {},
@@ -214,6 +226,9 @@ export class SeamHttpAcsUsers {
214
226
  })
215
227
  }
216
228
 
229
+ /**
230
+ * Returns a list of all [access system users](https://docs.seam.co/low-level-apis/access-systems/user-management).
231
+ */
217
232
  list(
218
233
  parameters?: AcsUsersListParameters,
219
234
  options: AcsUsersListOptions = {},
@@ -227,6 +242,9 @@ export class SeamHttpAcsUsers {
227
242
  })
228
243
  }
229
244
 
245
+ /**
246
+ * Lists the [entrances](https://docs.seam.co/api/acs/entrances) to which a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) has access.
247
+ */
230
248
  listAccessibleEntrances(
231
249
  parameters?: AcsUsersListAccessibleEntrancesParameters,
232
250
  options: AcsUsersListAccessibleEntrancesOptions = {},
@@ -240,6 +258,9 @@ export class SeamHttpAcsUsers {
240
258
  })
241
259
  }
242
260
 
261
+ /**
262
+ * Removes a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) from a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
263
+ */
243
264
  removeFromAccessGroup(
244
265
  parameters: AcsUsersRemoveFromAccessGroupParameters,
245
266
  options: AcsUsersRemoveFromAccessGroupOptions = {},
@@ -253,6 +274,9 @@ export class SeamHttpAcsUsers {
253
274
  })
254
275
  }
255
276
 
277
+ /**
278
+ * Revokes access to all [entrances](https://docs.seam.co/api/acs/entrances) for a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
279
+ */
256
280
  revokeAccessToAllEntrances(
257
281
  parameters?: AcsUsersRevokeAccessToAllEntrancesParameters,
258
282
  options: AcsUsersRevokeAccessToAllEntrancesOptions = {},
@@ -266,6 +290,9 @@ export class SeamHttpAcsUsers {
266
290
  })
267
291
  }
268
292
 
293
+ /**
294
+ * [Suspends](https://docs.seam.co/low-level-apis/access-systems/user-management/suspending-and-unsuspending-users#suspend-an-acs-user) a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). Suspending an access system user revokes their access temporarily. To restore an access system user's access, you can [unsuspend](https://docs.seam.co/api/acs/users/unsuspend) them.
295
+ */
269
296
  suspend(
270
297
  parameters?: AcsUsersSuspendParameters,
271
298
  options: AcsUsersSuspendOptions = {},
@@ -279,6 +306,9 @@ export class SeamHttpAcsUsers {
279
306
  })
280
307
  }
281
308
 
309
+ /**
310
+ * [Unsuspends](https://docs.seam.co/low-level-apis/access-systems/user-management/suspending-and-unsuspending-users#unsuspend-an-acs-user) a specified suspended [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). While [suspending an access system user](https://docs.seam.co/api/acs/users/suspend) revokes their access temporarily, unsuspending the access system user restores their access.
311
+ */
282
312
  unsuspend(
283
313
  parameters?: AcsUsersUnsuspendParameters,
284
314
  options: AcsUsersUnsuspendOptions = {},
@@ -292,6 +322,9 @@ export class SeamHttpAcsUsers {
292
322
  })
293
323
  }
294
324
 
325
+ /**
326
+ * Updates the properties of a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
327
+ */
295
328
  update(
296
329
  parameters?: AcsUsersUpdateParameters,
297
330
  options: AcsUsersUpdateOptions = {},
@@ -307,8 +340,14 @@ export class SeamHttpAcsUsers {
307
340
  }
308
341
 
309
342
  export type AcsUsersAddToAccessGroupParameters = {
343
+ /**
344
+ * ID of the access group to which you want to add an access system user.
345
+ */
310
346
  acs_access_group_id: string
311
347
 
348
+ /**
349
+ * ID of the access system user that you want to add to an access group.
350
+ */
312
351
  acs_user_id: string
313
352
  }
314
353
 
@@ -322,20 +361,50 @@ export type AcsUsersAddToAccessGroupRequest = SeamHttpRequest<void, undefined>
322
361
  export interface AcsUsersAddToAccessGroupOptions {}
323
362
 
324
363
  export type AcsUsersCreateParameters = {
364
+ /**
365
+ * `starts_at` and `ends_at` timestamps for the new access system user's access. If you specify an `access_schedule`, you may include both `starts_at` and `ends_at`. If you omit `starts_at`, it defaults to the current time. `ends_at` is optional and must be a time in the future and after `starts_at`.
366
+ */
325
367
  access_schedule?:
326
368
  | {
369
+ /**
370
+ * Ending timestamp for the new access system user's access.
371
+ */
327
372
  ends_at?: string | undefined
373
+ /**
374
+ * Starting timestamp for the new access system user's access.
375
+ */
328
376
  starts_at?: string | undefined
329
377
  }
330
378
  | undefined
379
+ /**
380
+ * Array of access group IDs to indicate the access groups to which you want to add the new access system user.
381
+ */
331
382
  acs_access_group_ids?: Array<string> | undefined
383
+ /**
384
+ * ID of the access system to which you want to add the new access system user.
385
+ */
332
386
  acs_system_id: string
333
387
 
388
+ /**
389
+ * @deprecated use email_address.
390
+ */
334
391
  email?: string | undefined
392
+ /**
393
+ * Email address of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
394
+ */
335
395
  email_address?: string | undefined
396
+ /**
397
+ * Full name of the new access system user.
398
+ */
336
399
  full_name: string
337
400
 
401
+ /**
402
+ * Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).
403
+ */
338
404
  phone_number?: string | undefined
405
+ /**
406
+ * ID of the user identity with which you want to associate the new access system user.
407
+ */
339
408
  user_identity_id?: string | undefined
340
409
  }
341
410
 
@@ -352,8 +421,17 @@ export type AcsUsersCreateRequest = SeamHttpRequest<
352
421
  export interface AcsUsersCreateOptions {}
353
422
 
354
423
  export type AcsUsersDeleteParameters = {
424
+ /**
425
+ * ID of the access system that you want to delete. You must provide acs_system_id with user_identity_id.
426
+ */
355
427
  acs_system_id?: string | undefined
428
+ /**
429
+ * ID of the access system user that you want to delete. You must provide either acs_user_id or user_identity_id
430
+ */
356
431
  acs_user_id?: string | undefined
432
+ /**
433
+ * ID of the user identity that you want to delete. You must provide either acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.
434
+ */
357
435
  user_identity_id?: string | undefined
358
436
  }
359
437
 
@@ -367,8 +445,17 @@ export type AcsUsersDeleteRequest = SeamHttpRequest<void, undefined>
367
445
  export interface AcsUsersDeleteOptions {}
368
446
 
369
447
  export type AcsUsersGetParameters = {
448
+ /**
449
+ * ID of the access system that you want to get. You can only provide acs_user_id or user_identity_id.
450
+ */
370
451
  acs_system_id?: string | undefined
452
+ /**
453
+ * ID of the access system user that you want to get. You can only provide acs_user_id or user_identity_id.
454
+ */
371
455
  acs_user_id?: string | undefined
456
+ /**
457
+ * ID of the user identity that you want to get. You can only provide acs_user_id or user_identity_id.
458
+ */
372
459
  user_identity_id?: string | undefined
373
460
  }
374
461
 
@@ -385,13 +472,37 @@ export type AcsUsersGetRequest = SeamHttpRequest<
385
472
  export interface AcsUsersGetOptions {}
386
473
 
387
474
  export type AcsUsersListParameters = {
475
+ /**
476
+ * ID of the `acs_system` for which you want to retrieve all access system users.
477
+ */
388
478
  acs_system_id?: string | undefined
479
+ /**
480
+ * Timestamp by which to limit returned access system users. Returns users created before this timestamp.
481
+ */
389
482
  created_before?: string | undefined
483
+ /**
484
+ * Maximum number of records to return per page.
485
+ */
390
486
  limit?: number | undefined
487
+ /**
488
+ * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
489
+ */
391
490
  page_cursor?: string | undefined
491
+ /**
492
+ * String for which to search. Filters returned access system users to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `acs_user_id`, `user_identity_id`, `user_identity_full_name` or `user_identity_phone_number`.
493
+ */
392
494
  search?: string | undefined
495
+ /**
496
+ * Email address of the user identity for which you want to retrieve all access system users.
497
+ */
393
498
  user_identity_email_address?: string | undefined
499
+ /**
500
+ * ID of the user identity for which you want to retrieve all access system users.
501
+ */
394
502
  user_identity_id?: string | undefined
503
+ /**
504
+ * Phone number of the user identity for which you want to retrieve all access system users, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`).
505
+ */
395
506
  user_identity_phone_number?: string | undefined
396
507
  }
397
508
 
@@ -408,8 +519,17 @@ export type AcsUsersListRequest = SeamHttpRequest<
408
519
  export interface AcsUsersListOptions {}
409
520
 
410
521
  export type AcsUsersListAccessibleEntrancesParameters = {
522
+ /**
523
+ * ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id.
524
+ */
411
525
  acs_system_id?: string | undefined
526
+ /**
527
+ * ID of the access system user for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.
528
+ */
412
529
  acs_user_id?: string | undefined
530
+ /**
531
+ * ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.
532
+ */
413
533
  user_identity_id?: string | undefined
414
534
  }
415
535
 
@@ -428,9 +548,18 @@ export type AcsUsersListAccessibleEntrancesRequest = SeamHttpRequest<
428
548
  export interface AcsUsersListAccessibleEntrancesOptions {}
429
549
 
430
550
  export type AcsUsersRemoveFromAccessGroupParameters = {
551
+ /**
552
+ * ID of the access group from which you want to remove an access system user.
553
+ */
431
554
  acs_access_group_id: string
432
555
 
556
+ /**
557
+ * ID of the access system user that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.
558
+ */
433
559
  acs_user_id?: string | undefined
560
+ /**
561
+ * ID of the user identity that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.
562
+ */
434
563
  user_identity_id?: string | undefined
435
564
  }
436
565
 
@@ -447,8 +576,17 @@ export type AcsUsersRemoveFromAccessGroupRequest = SeamHttpRequest<
447
576
  export interface AcsUsersRemoveFromAccessGroupOptions {}
448
577
 
449
578
  export type AcsUsersRevokeAccessToAllEntrancesParameters = {
579
+ /**
580
+ * ID of the access system for which you want to revoke access. You can only provide acs_system_id with user_identity_id.
581
+ */
450
582
  acs_system_id?: string | undefined
583
+ /**
584
+ * ID of the access system user for whom you want to revoke access. You can only provide acs_user_id or user_identity_id.
585
+ */
451
586
  acs_user_id?: string | undefined
587
+ /**
588
+ * ID of the user identity for whom you want to revoke access. You can only provide acs_user_id or user_identity_id.
589
+ */
452
590
  user_identity_id?: string | undefined
453
591
  }
454
592
 
@@ -465,8 +603,17 @@ export type AcsUsersRevokeAccessToAllEntrancesRequest = SeamHttpRequest<
465
603
  export interface AcsUsersRevokeAccessToAllEntrancesOptions {}
466
604
 
467
605
  export type AcsUsersSuspendParameters = {
606
+ /**
607
+ * ID of the access system that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.
608
+ */
468
609
  acs_system_id?: string | undefined
610
+ /**
611
+ * ID of the access system user that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.
612
+ */
469
613
  acs_user_id?: string | undefined
614
+ /**
615
+ * ID of the user identity that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.
616
+ */
470
617
  user_identity_id?: string | undefined
471
618
  }
472
619
 
@@ -480,8 +627,17 @@ export type AcsUsersSuspendRequest = SeamHttpRequest<void, undefined>
480
627
  export interface AcsUsersSuspendOptions {}
481
628
 
482
629
  export type AcsUsersUnsuspendParameters = {
630
+ /**
631
+ * ID of the access system of the user that you want to unsuspend. You can only provide acs_system_id with user_identity_id.
632
+ */
483
633
  acs_system_id?: string | undefined
634
+ /**
635
+ * ID of the access system user that you want to unsuspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.
636
+ */
484
637
  acs_user_id?: string | undefined
638
+ /**
639
+ * ID of the user identity that you want to unsuspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.
640
+ */
485
641
  user_identity_id?: string | undefined
486
642
  }
487
643
 
@@ -495,19 +651,52 @@ export type AcsUsersUnsuspendRequest = SeamHttpRequest<void, undefined>
495
651
  export interface AcsUsersUnsuspendOptions {}
496
652
 
497
653
  export type AcsUsersUpdateParameters = {
654
+ /**
655
+ * `starts_at` and `ends_at` timestamps for the access system user's access. If you specify an `access_schedule`, you may include both `starts_at` and `ends_at`. If you omit `starts_at`, it defaults to the current time. `ends_at` is optional and must be a time in the future and after `starts_at`.
656
+ */
498
657
  access_schedule?:
499
658
  | {
659
+ /**
660
+ * Ending timestamp for the access system user's access.
661
+ */
500
662
  ends_at?: string | undefined
663
+ /**
664
+ * Starting timestamp for the access system user's access.
665
+ */
501
666
  starts_at?: string | undefined
502
667
  }
503
668
  | undefined
669
+ /**
670
+ * ID of the access system that you want to update. You can only provide acs_system_id with user_identity_id.
671
+ */
504
672
  acs_system_id?: string | undefined
673
+ /**
674
+ * ID of the access system user that you want to update. You can only provide acs_user_id or user_identity_id.
675
+ */
505
676
  acs_user_id?: string | undefined
677
+ /**
678
+ * @deprecated use email_address.
679
+ */
506
680
  email?: string | undefined
681
+ /**
682
+ * Email address of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
683
+ */
507
684
  email_address?: string | undefined
685
+ /**
686
+ * Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
687
+ */
508
688
  full_name?: string | undefined
689
+ /**
690
+ * ID of the HID access control system associated with the user.
691
+ */
509
692
  hid_acs_system_id?: string | undefined
693
+ /**
694
+ * Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).
695
+ */
510
696
  phone_number?: string | undefined
697
+ /**
698
+ * ID of the user identity that you want to update. You can only provide acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.
699
+ */
511
700
  user_identity_id?: string | undefined
512
701
  }
513
702
 
@@ -161,6 +161,9 @@ export class SeamHttpActionAttempts {
161
161
  await clientSessions.get()
162
162
  }
163
163
 
164
+ /**
165
+ * Returns a specified [action attempt](https://docs.seam.co/core-concepts/action-attempts).
166
+ */
164
167
  get(
165
168
  parameters: ActionAttemptsGetParameters,
166
169
  options: ActionAttemptsGetOptions = {},
@@ -174,6 +177,9 @@ export class SeamHttpActionAttempts {
174
177
  })
175
178
  }
176
179
 
180
+ /**
181
+ * Returns a list of the [action attempts](https://docs.seam.co/core-concepts/action-attempts) that you specify as an array of `action_attempt_id`s.
182
+ */
177
183
  list(
178
184
  parameters?: ActionAttemptsListParameters,
179
185
  options: ActionAttemptsListOptions = {},
@@ -189,6 +195,9 @@ export class SeamHttpActionAttempts {
189
195
  }
190
196
 
191
197
  export type ActionAttemptsGetParameters = {
198
+ /**
199
+ * ID of the action attempt that you want to get.
200
+ */
192
201
  action_attempt_id: string
193
202
  }
194
203
 
@@ -208,9 +217,21 @@ export type ActionAttemptsGetOptions = Pick<
208
217
  >
209
218
 
210
219
  export type ActionAttemptsListParameters = {
220
+ /**
221
+ * IDs of the action attempts that you want to retrieve.
222
+ */
211
223
  action_attempt_ids?: Array<string> | undefined
224
+ /**
225
+ * ID of the device to filter action attempts by.
226
+ */
212
227
  device_id?: string | undefined
228
+ /**
229
+ * Maximum number of records to return per page.
230
+ */
213
231
  limit?: number | undefined
232
+ /**
233
+ * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
234
+ */
214
235
  page_cursor?: string | undefined
215
236
  }
216
237
 
@@ -160,6 +160,9 @@ export class SeamHttpClientSessions {
160
160
  await clientSessions.get()
161
161
  }
162
162
 
163
+ /**
164
+ * Creates a new [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
165
+ */
163
166
  create(
164
167
  parameters?: ClientSessionsCreateParameters,
165
168
  options: ClientSessionsCreateOptions = {},
@@ -173,6 +176,9 @@ export class SeamHttpClientSessions {
173
176
  })
174
177
  }
175
178
 
179
+ /**
180
+ * Deletes a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
181
+ */
176
182
  delete(
177
183
  parameters: ClientSessionsDeleteParameters,
178
184
  options: ClientSessionsDeleteOptions = {},
@@ -186,6 +192,9 @@ export class SeamHttpClientSessions {
186
192
  })
187
193
  }
188
194
 
195
+ /**
196
+ * Returns a specified [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
197
+ */
189
198
  get(
190
199
  parameters?: ClientSessionsGetParameters,
191
200
  options: ClientSessionsGetOptions = {},
@@ -199,6 +208,9 @@ export class SeamHttpClientSessions {
199
208
  })
200
209
  }
201
210
 
211
+ /**
212
+ * Returns a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens) with specific characteristics or creates a new client session with these characteristics if it does not yet exist.
213
+ */
202
214
  getOrCreate(
203
215
  parameters?: ClientSessionsGetOrCreateParameters,
204
216
  options: ClientSessionsGetOrCreateOptions = {},
@@ -212,6 +224,9 @@ export class SeamHttpClientSessions {
212
224
  })
213
225
  }
214
226
 
227
+ /**
228
+ * Grants a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens) access to one or more resources, such as [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews), [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity), and so on.
229
+ */
215
230
  grantAccess(
216
231
  parameters?: ClientSessionsGrantAccessParameters,
217
232
  options: ClientSessionsGrantAccessOptions = {},
@@ -225,6 +240,9 @@ export class SeamHttpClientSessions {
225
240
  })
226
241
  }
227
242
 
243
+ /**
244
+ * Returns a list of all [client sessions](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
245
+ */
228
246
  list(
229
247
  parameters?: ClientSessionsListParameters,
230
248
  options: ClientSessionsListOptions = {},
@@ -238,6 +256,11 @@ export class SeamHttpClientSessions {
238
256
  })
239
257
  }
240
258
 
259
+ /**
260
+ * Revokes a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
261
+ *
262
+ * Note that [deleting a client session](https://docs.seam.co/api/client_sessions/delete) is a separate action.
263
+ */
241
264
  revoke(
242
265
  parameters: ClientSessionsRevokeParameters,
243
266
  options: ClientSessionsRevokeOptions = {},
@@ -253,13 +276,38 @@ export class SeamHttpClientSessions {
253
276
  }
254
277
 
255
278
  export type ClientSessionsCreateParameters = {
279
+ /**
280
+ * IDs of the [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) for which you want to create a client session.
281
+ */
256
282
  connect_webview_ids?: Array<string> | undefined
283
+ /**
284
+ * IDs of the [connected accounts](https://docs.seam.co/core-concepts/connected-accounts) for which you want to create a client session.
285
+ */
257
286
  connected_account_ids?: Array<string> | undefined
287
+ /**
288
+ * Customer ID that you want to associate with the new client session.
289
+ */
258
290
  customer_id?: string | undefined
291
+ /**
292
+ * Customer key that you want to associate with the new client session.
293
+ */
259
294
  customer_key?: string | undefined
295
+ /**
296
+ * Date and time at which the client session should expire, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
297
+ */
260
298
  expires_at?: string | undefined
299
+ /**
300
+ * Your user ID for the user for whom you want to create a client session.
301
+ */
261
302
  user_identifier_key?: string | undefined
303
+ /**
304
+ * ID of the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.
305
+ */
262
306
  user_identity_id?: string | undefined
307
+ /**
308
+ * IDs of the [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
309
+ * @deprecated Use `user_identity_id` instead.
310
+ */
263
311
  user_identity_ids?: Array<string> | undefined
264
312
  }
265
313
 
@@ -276,6 +324,9 @@ export type ClientSessionsCreateRequest = SeamHttpRequest<
276
324
  export interface ClientSessionsCreateOptions {}
277
325
 
278
326
  export type ClientSessionsDeleteParameters = {
327
+ /**
328
+ * ID of the client session that you want to delete.
329
+ */
279
330
  client_session_id: string
280
331
  }
281
332
 
@@ -289,7 +340,13 @@ export type ClientSessionsDeleteRequest = SeamHttpRequest<void, undefined>
289
340
  export interface ClientSessionsDeleteOptions {}
290
341
 
291
342
  export type ClientSessionsGetParameters = {
343
+ /**
344
+ * ID of the client session that you want to get.
345
+ */
292
346
  client_session_id?: string | undefined
347
+ /**
348
+ * User identifier key associated with the client session that you want to get.
349
+ */
293
350
  user_identifier_key?: string | undefined
294
351
  }
295
352
 
@@ -306,11 +363,30 @@ export type ClientSessionsGetRequest = SeamHttpRequest<
306
363
  export interface ClientSessionsGetOptions {}
307
364
 
308
365
  export type ClientSessionsGetOrCreateParameters = {
366
+ /**
367
+ * IDs of the [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) that you want to associate with the client session (or that are already associated with the existing client session).
368
+ */
309
369
  connect_webview_ids?: Array<string> | undefined
370
+ /**
371
+ * IDs of the [connected accounts](https://docs.seam.co/api/connected_accounts) that you want to associate with the client session (or that are already associated with the existing client session).
372
+ */
310
373
  connected_account_ids?: Array<string> | undefined
374
+ /**
375
+ * Date and time at which the client session should expire in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. If the client session already exists, this will update the expiration before returning it.
376
+ */
311
377
  expires_at?: string | undefined
378
+ /**
379
+ * Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session).
380
+ */
312
381
  user_identifier_key?: string | undefined
382
+ /**
383
+ * ID of the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session).
384
+ */
313
385
  user_identity_id?: string | undefined
386
+ /**
387
+ * IDs of the [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
388
+ * @deprecated Use `user_identity_id`.
389
+ */
314
390
  user_identity_ids?: Array<string> | undefined
315
391
  }
316
392
 
@@ -329,11 +405,30 @@ export type ClientSessionsGetOrCreateRequest = SeamHttpRequest<
329
405
  export interface ClientSessionsGetOrCreateOptions {}
330
406
 
331
407
  export type ClientSessionsGrantAccessParameters = {
408
+ /**
409
+ * ID of the client session to which you want to grant access to resources.
410
+ */
332
411
  client_session_id?: string | undefined
412
+ /**
413
+ * IDs of the [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews) that you want to associate with the client session.
414
+ */
333
415
  connect_webview_ids?: Array<string> | undefined
416
+ /**
417
+ * IDs of the [connected accounts](https://docs.seam.co/core-concepts/connected-accounts) that you want to associate with the client session.
418
+ */
334
419
  connected_account_ids?: Array<string> | undefined
420
+ /**
421
+ * Your user ID for the user that you want to associate with the client session.
422
+ */
335
423
  user_identifier_key?: string | undefined
424
+ /**
425
+ * ID of the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
426
+ */
336
427
  user_identity_id?: string | undefined
428
+ /**
429
+ * IDs of the [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.
430
+ * @deprecated Use `user_identity_id`.
431
+ */
337
432
  user_identity_ids?: Array<string> | undefined
338
433
  }
339
434
 
@@ -347,10 +442,25 @@ export type ClientSessionsGrantAccessRequest = SeamHttpRequest<void, undefined>
347
442
  export interface ClientSessionsGrantAccessOptions {}
348
443
 
349
444
  export type ClientSessionsListParameters = {
445
+ /**
446
+ * ID of the client session that you want to retrieve.
447
+ */
350
448
  client_session_id?: string | undefined
449
+ /**
450
+ * ID of the [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) for which you want to retrieve client sessions.
451
+ */
351
452
  connect_webview_id?: string | undefined
453
+ /**
454
+ * Your user ID for the user by which you want to filter client sessions.
455
+ */
352
456
  user_identifier_key?: string | undefined
457
+ /**
458
+ * ID of the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to retrieve client sessions.
459
+ */
353
460
  user_identity_id?: string | undefined
461
+ /**
462
+ * Indicates whether to retrieve only client sessions without associated user identifier keys.
463
+ */
354
464
  without_user_identifier_key?: boolean | undefined
355
465
  }
356
466
 
@@ -369,6 +479,9 @@ export type ClientSessionsListRequest = SeamHttpRequest<
369
479
  export interface ClientSessionsListOptions {}
370
480
 
371
481
  export type ClientSessionsRevokeParameters = {
482
+ /**
483
+ * ID of the client session that you want to revoke.
484
+ */
372
485
  client_session_id: string
373
486
  }
374
487