@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
@@ -124,6 +124,9 @@ export class SeamHttpEndpoints {
124
124
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
125
125
  await clientSessions.get();
126
126
  }
127
+ /**
128
+ * Creates a new [access code](https://docs.seam.co/low-level-apis/access-codes). For granting access, we recommend [Access Grants](https://docs.seam.co/use-cases/granting-access) instead: they work across both standalone smart locks and access control systems and manage the underlying codes for you. Use this low-level endpoint only when you need direct control over a code on a single device, such as setting a custom PIN value.
129
+ */
127
130
  get '/access_codes/create'() {
128
131
  const { client, defaults } = this;
129
132
  return function accessCodesCreate(...args) {
@@ -131,6 +134,19 @@ export class SeamHttpEndpoints {
131
134
  return seam.create(...args);
132
135
  };
133
136
  }
137
+ /**
138
+ * Creates new [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes) that share a common code across multiple devices.
139
+ *
140
+ * Users with more than one door lock in a property may want to create groups of linked access codes, all of which have the same code (PIN). For example, a short-term rental host may want to provide guests the same PIN for both a front door lock and a back door lock.
141
+ *
142
+ * If you specify a custom code, Seam assigns this custom code to each of the resulting access codes. However, in this case, Seam does not link these access codes together with a `common_code_key`. That is, `common_code_key` remains null for these access codes.
143
+ *
144
+ * If you want to change these access codes that are not linked by a `common_code_key`, you cannot use `/access_codes/update_multiple`. However, you can update each of these access codes individually, using `/access_codes/update`.
145
+ *
146
+ * See also [Creating and Updating Multiple Linked Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes).
147
+ *
148
+ * For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes.
149
+ */
134
150
  get '/access_codes/create_multiple'() {
135
151
  const { client, defaults } = this;
136
152
  return function accessCodesCreateMultiple(...args) {
@@ -138,6 +154,9 @@ export class SeamHttpEndpoints {
138
154
  return seam.createMultiple(...args);
139
155
  };
140
156
  }
157
+ /**
158
+ * Deletes an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
159
+ */
141
160
  get '/access_codes/delete'() {
142
161
  const { client, defaults } = this;
143
162
  return function accessCodesDelete(...args) {
@@ -145,6 +164,9 @@ export class SeamHttpEndpoints {
145
164
  return seam.delete(...args);
146
165
  };
147
166
  }
167
+ /**
168
+ * Generates a code for an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes), given a device ID.
169
+ */
148
170
  get '/access_codes/generate_code'() {
149
171
  const { client, defaults } = this;
150
172
  return function accessCodesGenerateCode(...args) {
@@ -152,6 +174,11 @@ export class SeamHttpEndpoints {
152
174
  return seam.generateCode(...args);
153
175
  };
154
176
  }
177
+ /**
178
+ * Returns a specified [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
179
+ *
180
+ * You must specify either `access_code_id` or both `device_id` and `code`.
181
+ */
155
182
  get '/access_codes/get'() {
156
183
  const { client, defaults } = this;
157
184
  return function accessCodesGet(...args) {
@@ -159,6 +186,11 @@ export class SeamHttpEndpoints {
159
186
  return seam.get(...args);
160
187
  };
161
188
  }
189
+ /**
190
+ * Returns a list of all [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
191
+ *
192
+ * Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.
193
+ */
162
194
  get '/access_codes/list'() {
163
195
  const { client, defaults } = this;
164
196
  return function accessCodesList(...args) {
@@ -166,6 +198,17 @@ export class SeamHttpEndpoints {
166
198
  return seam.list(...args);
167
199
  };
168
200
  }
201
+ /**
202
+ * Retrieves a backup access code for an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes). See also [Managing Backup Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes).
203
+ *
204
+ * A backup access code pool is a collection of pre-programmed access codes stored on a device, ready for use. These codes are programmed in addition to the regular access codes on Seam, serving as a safety net for any issues with the primary codes. If there's ever a complication with a primary access code—be it due to intermittent connectivity, manual removal from a device, or provider outages—a backup code can be retrieved. Its end time can then be adjusted to align with the original code, facilitating seamless and uninterrupted access.
205
+ *
206
+ * You can pull a backup access code from the pool at any time. These backup codes are guaranteed to work immediately and automatically programmed to be removed from the device after the access code ends.
207
+ *
208
+ * You can only pull backup access codes for time-bound access codes.
209
+ *
210
+ * Before pulling a backup access code, make sure that the device's `properties.supports_backup_access_code_pool` is `true`. Then, to activate the backup pool, set `use_backup_access_code_pool` to `true` when creating an access code.
211
+ */
169
212
  get '/access_codes/pull_backup_access_code'() {
170
213
  const { client, defaults } = this;
171
214
  return function accessCodesPullBackupAccessCode(...args) {
@@ -173,6 +216,11 @@ export class SeamHttpEndpoints {
173
216
  return seam.pullBackupAccessCode(...args);
174
217
  };
175
218
  }
219
+ /**
220
+ * Enables you to report access code-related constraints for a device. Currently, supports reporting supported code length constraints for SmartThings devices.
221
+ *
222
+ * Specify either `supported_code_lengths` or `min_code_length`/`max_code_length`.
223
+ */
176
224
  get '/access_codes/report_device_constraints'() {
177
225
  const { client, defaults } = this;
178
226
  return function accessCodesReportDeviceConstraints(...args) {
@@ -180,6 +228,11 @@ export class SeamHttpEndpoints {
180
228
  return seam.reportDeviceConstraints(...args);
181
229
  };
182
230
  }
231
+ /**
232
+ * Updates a specified active or upcoming [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
233
+ *
234
+ * See also [Modifying Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/modifying-access-codes).
235
+ */
183
236
  get '/access_codes/update'() {
184
237
  const { client, defaults } = this;
185
238
  return function accessCodesUpdate(...args) {
@@ -187,6 +240,13 @@ export class SeamHttpEndpoints {
187
240
  return seam.update(...args);
188
241
  };
189
242
  }
243
+ /**
244
+ * Updates [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes) that share a common code across multiple devices.
245
+ *
246
+ * Specify the `common_code_key` to identify the set of access codes that you want to update.
247
+ *
248
+ * See also [Update Linked Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes#update-linked-access-codes).
249
+ */
190
250
  get '/access_codes/update_multiple'() {
191
251
  const { client, defaults } = this;
192
252
  return function accessCodesUpdateMultiple(...args) {
@@ -194,6 +254,9 @@ export class SeamHttpEndpoints {
194
254
  return seam.updateMultiple(...args);
195
255
  };
196
256
  }
257
+ /**
258
+ * Simulates the creation of an [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) in a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
259
+ */
197
260
  get '/access_codes/simulate/create_unmanaged_access_code'() {
198
261
  const { client, defaults } = this;
199
262
  return function accessCodesSimulateCreateUnmanagedAccessCode(...args) {
@@ -201,6 +264,13 @@ export class SeamHttpEndpoints {
201
264
  return seam.createUnmanagedAccessCode(...args);
202
265
  };
203
266
  }
267
+ /**
268
+ * Converts an [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) to an [access code managed through Seam](https://docs.seam.co/low-level-apis/smart-locks/access-codes).
269
+ *
270
+ * An unmanaged access code has a limited set of operations that you can perform on it. Once you convert an unmanaged access code to a managed access code, the full set of access code operations and lifecycle events becomes available for it.
271
+ *
272
+ * Note that not all device providers support converting an unmanaged access code to a managed access code.
273
+ */
204
274
  get '/access_codes/unmanaged/convert_to_managed'() {
205
275
  const { client, defaults } = this;
206
276
  return function accessCodesUnmanagedConvertToManaged(...args) {
@@ -208,6 +278,9 @@ export class SeamHttpEndpoints {
208
278
  return seam.convertToManaged(...args);
209
279
  };
210
280
  }
281
+ /**
282
+ * Deletes an [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
283
+ */
211
284
  get '/access_codes/unmanaged/delete'() {
212
285
  const { client, defaults } = this;
213
286
  return function accessCodesUnmanagedDelete(...args) {
@@ -215,6 +288,11 @@ export class SeamHttpEndpoints {
215
288
  return seam.delete(...args);
216
289
  };
217
290
  }
291
+ /**
292
+ * Returns a specified [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
293
+ *
294
+ * You must specify either `access_code_id` or both `device_id` and `code`.
295
+ */
218
296
  get '/access_codes/unmanaged/get'() {
219
297
  const { client, defaults } = this;
220
298
  return function accessCodesUnmanagedGet(...args) {
@@ -222,6 +300,9 @@ export class SeamHttpEndpoints {
222
300
  return seam.get(...args);
223
301
  };
224
302
  }
303
+ /**
304
+ * Returns a list of all [unmanaged access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
305
+ */
225
306
  get '/access_codes/unmanaged/list'() {
226
307
  const { client, defaults } = this;
227
308
  return function accessCodesUnmanagedList(...args) {
@@ -229,6 +310,9 @@ export class SeamHttpEndpoints {
229
310
  return seam.list(...args);
230
311
  };
231
312
  }
313
+ /**
314
+ * Updates a specified [unmanaged access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
315
+ */
232
316
  get '/access_codes/unmanaged/update'() {
233
317
  const { client, defaults } = this;
234
318
  return function accessCodesUnmanagedUpdate(...args) {
@@ -236,6 +320,9 @@ export class SeamHttpEndpoints {
236
320
  return seam.update(...args);
237
321
  };
238
322
  }
323
+ /**
324
+ * Creates a new [Access Grant](https://docs.seam.co/use-cases/granting-access/access-grants). Access Grants are the default and recommended way to grant a user access to any physical space, irrespective of the locking hardware. They work with both standalone smart locks (using `device_ids`) and access control systems (using `acs_entrance_ids` or `space_ids`), and can issue PIN codes, key cards, and mobile keys through a single request.
325
+ */
239
326
  get '/access_grants/create'() {
240
327
  const { client, defaults } = this;
241
328
  return function accessGrantsCreate(...args) {
@@ -243,6 +330,9 @@ export class SeamHttpEndpoints {
243
330
  return seam.create(...args);
244
331
  };
245
332
  }
333
+ /**
334
+ * Delete an Access Grant.
335
+ */
246
336
  get '/access_grants/delete'() {
247
337
  const { client, defaults } = this;
248
338
  return function accessGrantsDelete(...args) {
@@ -250,6 +340,9 @@ export class SeamHttpEndpoints {
250
340
  return seam.delete(...args);
251
341
  };
252
342
  }
343
+ /**
344
+ * Get an Access Grant.
345
+ */
253
346
  get '/access_grants/get'() {
254
347
  const { client, defaults } = this;
255
348
  return function accessGrantsGet(...args) {
@@ -257,6 +350,9 @@ export class SeamHttpEndpoints {
257
350
  return seam.get(...args);
258
351
  };
259
352
  }
353
+ /**
354
+ * Gets all related resources for one or more Access Grants.
355
+ */
260
356
  get '/access_grants/get_related'() {
261
357
  const { client, defaults } = this;
262
358
  return function accessGrantsGetRelated(...args) {
@@ -264,6 +360,9 @@ export class SeamHttpEndpoints {
264
360
  return seam.getRelated(...args);
265
361
  };
266
362
  }
363
+ /**
364
+ * Gets an Access Grant.
365
+ */
267
366
  get '/access_grants/list'() {
268
367
  const { client, defaults } = this;
269
368
  return function accessGrantsList(...args) {
@@ -271,6 +370,9 @@ export class SeamHttpEndpoints {
271
370
  return seam.list(...args);
272
371
  };
273
372
  }
373
+ /**
374
+ * Adds additional requested access methods to an existing Access Grant.
375
+ */
274
376
  get '/access_grants/request_access_methods'() {
275
377
  const { client, defaults } = this;
276
378
  return function accessGrantsRequestAccessMethods(...args) {
@@ -278,6 +380,9 @@ export class SeamHttpEndpoints {
278
380
  return seam.requestAccessMethods(...args);
279
381
  };
280
382
  }
383
+ /**
384
+ * Updates an existing Access Grant's time window.
385
+ */
281
386
  get '/access_grants/update'() {
282
387
  const { client, defaults } = this;
283
388
  return function accessGrantsUpdate(...args) {
@@ -285,6 +390,9 @@ export class SeamHttpEndpoints {
285
390
  return seam.update(...args);
286
391
  };
287
392
  }
393
+ /**
394
+ * Get an unmanaged Access Grant (where is_managed = false).
395
+ */
288
396
  get '/access_grants/unmanaged/get'() {
289
397
  const { client, defaults } = this;
290
398
  return function accessGrantsUnmanagedGet(...args) {
@@ -292,6 +400,9 @@ export class SeamHttpEndpoints {
292
400
  return seam.get(...args);
293
401
  };
294
402
  }
403
+ /**
404
+ * Gets unmanaged Access Grants (where is_managed = false).
405
+ */
295
406
  get '/access_grants/unmanaged/list'() {
296
407
  const { client, defaults } = this;
297
408
  return function accessGrantsUnmanagedList(...args) {
@@ -299,6 +410,13 @@ export class SeamHttpEndpoints {
299
410
  return seam.list(...args);
300
411
  };
301
412
  }
413
+ /**
414
+ * Updates an unmanaged Access Grant to make it managed.
415
+ *
416
+ * This endpoint can only be used to convert unmanaged access grants to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed access grants back to unmanaged.
417
+ *
418
+ * When converting an unmanaged access grant to managed, all associated access methods will also be converted to managed.
419
+ */
302
420
  get '/access_grants/unmanaged/update'() {
303
421
  const { client, defaults } = this;
304
422
  return function accessGrantsUnmanagedUpdate(...args) {
@@ -306,6 +424,9 @@ export class SeamHttpEndpoints {
306
424
  return seam.update(...args);
307
425
  };
308
426
  }
427
+ /**
428
+ * Assigns a pre-registered card credential, identified by `card_number`, to a card-mode access method. Use this endpoint for access systems that use pre-registered cards, where a physical card must be associated with an access method before it can be used for access. Assigning a card credential also triggers issuance of the access method.
429
+ */
309
430
  get '/access_methods/assign_card'() {
310
431
  const { client, defaults } = this;
311
432
  return function accessMethodsAssignCard(...args) {
@@ -313,6 +434,9 @@ export class SeamHttpEndpoints {
313
434
  return seam.assignCard(...args);
314
435
  };
315
436
  }
437
+ /**
438
+ * Deletes an access method.
439
+ */
316
440
  get '/access_methods/delete'() {
317
441
  const { client, defaults } = this;
318
442
  return function accessMethodsDelete(...args) {
@@ -320,6 +444,9 @@ export class SeamHttpEndpoints {
320
444
  return seam.delete(...args);
321
445
  };
322
446
  }
447
+ /**
448
+ * Encodes an existing access method onto a plastic card placed on the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
449
+ */
323
450
  get '/access_methods/encode'() {
324
451
  const { client, defaults } = this;
325
452
  return function accessMethodsEncode(...args) {
@@ -327,6 +454,9 @@ export class SeamHttpEndpoints {
327
454
  return seam.encode(...args);
328
455
  };
329
456
  }
457
+ /**
458
+ * Gets an access method.
459
+ */
330
460
  get '/access_methods/get'() {
331
461
  const { client, defaults } = this;
332
462
  return function accessMethodsGet(...args) {
@@ -334,6 +464,9 @@ export class SeamHttpEndpoints {
334
464
  return seam.get(...args);
335
465
  };
336
466
  }
467
+ /**
468
+ * Gets all related resources for one or more Access Methods.
469
+ */
337
470
  get '/access_methods/get_related'() {
338
471
  const { client, defaults } = this;
339
472
  return function accessMethodsGetRelated(...args) {
@@ -341,6 +474,9 @@ export class SeamHttpEndpoints {
341
474
  return seam.getRelated(...args);
342
475
  };
343
476
  }
477
+ /**
478
+ * Lists all access methods, usually filtered by Access Grant.
479
+ */
344
480
  get '/access_methods/list'() {
345
481
  const { client, defaults } = this;
346
482
  return function accessMethodsList(...args) {
@@ -348,6 +484,9 @@ export class SeamHttpEndpoints {
348
484
  return seam.list(...args);
349
485
  };
350
486
  }
487
+ /**
488
+ * Remotely unlocks a specified [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) using the cloud key credential associated with an access method. Returns an action attempt that tracks the progress of the unlock operation.
489
+ */
351
490
  get '/access_methods/unlock_door'() {
352
491
  const { client, defaults } = this;
353
492
  return function accessMethodsUnlockDoor(...args) {
@@ -355,6 +494,9 @@ export class SeamHttpEndpoints {
355
494
  return seam.unlockDoor(...args);
356
495
  };
357
496
  }
497
+ /**
498
+ * Gets an unmanaged access method (where is_managed = false).
499
+ */
358
500
  get '/access_methods/unmanaged/get'() {
359
501
  const { client, defaults } = this;
360
502
  return function accessMethodsUnmanagedGet(...args) {
@@ -362,6 +504,9 @@ export class SeamHttpEndpoints {
362
504
  return seam.get(...args);
363
505
  };
364
506
  }
507
+ /**
508
+ * Lists all unmanaged access methods (where is_managed = false), usually filtered by Access Grant.
509
+ */
365
510
  get '/access_methods/unmanaged/list'() {
366
511
  const { client, defaults } = this;
367
512
  return function accessMethodsUnmanagedList(...args) {
@@ -369,6 +514,9 @@ export class SeamHttpEndpoints {
369
514
  return seam.list(...args);
370
515
  };
371
516
  }
517
+ /**
518
+ * 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).
519
+ */
372
520
  get '/acs/access_groups/add_user'() {
373
521
  const { client, defaults } = this;
374
522
  return function acsAccessGroupsAddUser(...args) {
@@ -376,6 +524,9 @@ export class SeamHttpEndpoints {
376
524
  return seam.addUser(...args);
377
525
  };
378
526
  }
527
+ /**
528
+ * Deletes a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
529
+ */
379
530
  get '/acs/access_groups/delete'() {
380
531
  const { client, defaults } = this;
381
532
  return function acsAccessGroupsDelete(...args) {
@@ -383,6 +534,9 @@ export class SeamHttpEndpoints {
383
534
  return seam.delete(...args);
384
535
  };
385
536
  }
537
+ /**
538
+ * Returns a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
539
+ */
386
540
  get '/acs/access_groups/get'() {
387
541
  const { client, defaults } = this;
388
542
  return function acsAccessGroupsGet(...args) {
@@ -390,6 +544,9 @@ export class SeamHttpEndpoints {
390
544
  return seam.get(...args);
391
545
  };
392
546
  }
547
+ /**
548
+ * Returns a list of all [access groups](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
549
+ */
393
550
  get '/acs/access_groups/list'() {
394
551
  const { client, defaults } = this;
395
552
  return function acsAccessGroupsList(...args) {
@@ -397,6 +554,9 @@ export class SeamHttpEndpoints {
397
554
  return seam.list(...args);
398
555
  };
399
556
  }
557
+ /**
558
+ * Returns a list of all accessible entrances for a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
559
+ */
400
560
  get '/acs/access_groups/list_accessible_entrances'() {
401
561
  const { client, defaults } = this;
402
562
  return function acsAccessGroupsListAccessibleEntrances(...args) {
@@ -404,6 +564,9 @@ export class SeamHttpEndpoints {
404
564
  return seam.listAccessibleEntrances(...args);
405
565
  };
406
566
  }
567
+ /**
568
+ * Returns a list of all [access system users](https://docs.seam.co/low-level-apis/access-systems/user-management) in an [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
569
+ */
407
570
  get '/acs/access_groups/list_users'() {
408
571
  const { client, defaults } = this;
409
572
  return function acsAccessGroupsListUsers(...args) {
@@ -411,6 +574,9 @@ export class SeamHttpEndpoints {
411
574
  return seam.listUsers(...args);
412
575
  };
413
576
  }
577
+ /**
578
+ * 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).
579
+ */
414
580
  get '/acs/access_groups/remove_user'() {
415
581
  const { client, defaults } = this;
416
582
  return function acsAccessGroupsRemoveUser(...args) {
@@ -418,6 +584,9 @@ export class SeamHttpEndpoints {
418
584
  return seam.removeUser(...args);
419
585
  };
420
586
  }
587
+ /**
588
+ * Assigns a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) to a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
589
+ */
421
590
  get '/acs/credentials/assign'() {
422
591
  const { client, defaults } = this;
423
592
  return function acsCredentialsAssign(...args) {
@@ -425,6 +594,9 @@ export class SeamHttpEndpoints {
425
594
  return seam.assign(...args);
426
595
  };
427
596
  }
597
+ /**
598
+ * Creates a new [credential](https://docs.seam.co/low-level-apis/managing-credentials) for a specified [ACS user](https://docs.seam.co/low-level-apis/access-systems/user-management). For granting access, we recommend [Access Grants](https://docs.seam.co/use-cases/granting-access) instead: they create and manage the underlying credentials for you, across access systems and standalone smart locks alike. Use this low-level endpoint only when you need direct control over an individual ACS credential.
599
+ */
428
600
  get '/acs/credentials/create'() {
429
601
  const { client, defaults } = this;
430
602
  return function acsCredentialsCreate(...args) {
@@ -432,6 +604,9 @@ export class SeamHttpEndpoints {
432
604
  return seam.create(...args);
433
605
  };
434
606
  }
607
+ /**
608
+ * Deletes a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
609
+ */
435
610
  get '/acs/credentials/delete'() {
436
611
  const { client, defaults } = this;
437
612
  return function acsCredentialsDelete(...args) {
@@ -439,6 +614,9 @@ export class SeamHttpEndpoints {
439
614
  return seam.delete(...args);
440
615
  };
441
616
  }
617
+ /**
618
+ * Returns a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
619
+ */
442
620
  get '/acs/credentials/get'() {
443
621
  const { client, defaults } = this;
444
622
  return function acsCredentialsGet(...args) {
@@ -446,6 +624,9 @@ export class SeamHttpEndpoints {
446
624
  return seam.get(...args);
447
625
  };
448
626
  }
627
+ /**
628
+ * Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
629
+ */
449
630
  get '/acs/credentials/list'() {
450
631
  const { client, defaults } = this;
451
632
  return function acsCredentialsList(...args) {
@@ -453,6 +634,9 @@ export class SeamHttpEndpoints {
453
634
  return seam.list(...args);
454
635
  };
455
636
  }
637
+ /**
638
+ * Returns a list of all [entrances](https://docs.seam.co/api/acs/entrances) to which a [credential](https://docs.seam.co/api/acs/credentials) grants access.
639
+ */
456
640
  get '/acs/credentials/list_accessible_entrances'() {
457
641
  const { client, defaults } = this;
458
642
  return function acsCredentialsListAccessibleEntrances(...args) {
@@ -460,6 +644,9 @@ export class SeamHttpEndpoints {
460
644
  return seam.listAccessibleEntrances(...args);
461
645
  };
462
646
  }
647
+ /**
648
+ * Unassigns a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) from a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
649
+ */
463
650
  get '/acs/credentials/unassign'() {
464
651
  const { client, defaults } = this;
465
652
  return function acsCredentialsUnassign(...args) {
@@ -467,6 +654,9 @@ export class SeamHttpEndpoints {
467
654
  return seam.unassign(...args);
468
655
  };
469
656
  }
657
+ /**
658
+ * Updates the code and ends at date and time for a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
659
+ */
470
660
  get '/acs/credentials/update'() {
471
661
  const { client, defaults } = this;
472
662
  return function acsCredentialsUpdate(...args) {
@@ -474,6 +664,9 @@ export class SeamHttpEndpoints {
474
664
  return seam.update(...args);
475
665
  };
476
666
  }
667
+ /**
668
+ * Encodes an existing [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) onto a plastic card placed on the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners). Either provide an `acs_credential_id` or an `access_method_id`
669
+ */
477
670
  get '/acs/encoders/encode_credential'() {
478
671
  const { client, defaults } = this;
479
672
  return function acsEncodersEncodeCredential(...args) {
@@ -481,6 +674,9 @@ export class SeamHttpEndpoints {
481
674
  return seam.encodeCredential(...args);
482
675
  };
483
676
  }
677
+ /**
678
+ * Returns a specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
679
+ */
484
680
  get '/acs/encoders/get'() {
485
681
  const { client, defaults } = this;
486
682
  return function acsEncodersGet(...args) {
@@ -488,6 +684,9 @@ export class SeamHttpEndpoints {
488
684
  return seam.get(...args);
489
685
  };
490
686
  }
687
+ /**
688
+ * Returns a list of all [encoders](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
689
+ */
491
690
  get '/acs/encoders/list'() {
492
691
  const { client, defaults } = this;
493
692
  return function acsEncodersList(...args) {
@@ -495,6 +694,9 @@ export class SeamHttpEndpoints {
495
694
  return seam.list(...args);
496
695
  };
497
696
  }
697
+ /**
698
+ * Scans an encoded [acs_credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) from a plastic card placed on the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
699
+ */
498
700
  get '/acs/encoders/scan_credential'() {
499
701
  const { client, defaults } = this;
500
702
  return function acsEncodersScanCredential(...args) {
@@ -502,6 +704,9 @@ export class SeamHttpEndpoints {
502
704
  return seam.scanCredential(...args);
503
705
  };
504
706
  }
707
+ /**
708
+ * Scans a physical card placed on the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) and assigns the scanned credential to an ACS user. Provide either an `acs_user_id` or a `user_identity_id`.
709
+ */
505
710
  get '/acs/encoders/scan_to_assign_credential'() {
506
711
  const { client, defaults } = this;
507
712
  return function acsEncodersScanToAssignCredential(...args) {
@@ -509,6 +714,9 @@ export class SeamHttpEndpoints {
509
714
  return seam.scanToAssignCredential(...args);
510
715
  };
511
716
  }
717
+ /**
718
+ * Simulates that the next attempt to encode a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will fail. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
719
+ */
512
720
  get '/acs/encoders/simulate/next_credential_encode_will_fail'() {
513
721
  const { client, defaults } = this;
514
722
  return function acsEncodersSimulateNextCredentialEncodeWillFail(...args) {
@@ -516,6 +724,9 @@ export class SeamHttpEndpoints {
516
724
  return seam.nextCredentialEncodeWillFail(...args);
517
725
  };
518
726
  }
727
+ /**
728
+ * Simulates that the next attempt to encode a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will succeed. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
729
+ */
519
730
  get '/acs/encoders/simulate/next_credential_encode_will_succeed'() {
520
731
  const { client, defaults } = this;
521
732
  return function acsEncodersSimulateNextCredentialEncodeWillSucceed(...args) {
@@ -523,6 +734,9 @@ export class SeamHttpEndpoints {
523
734
  return seam.nextCredentialEncodeWillSucceed(...args);
524
735
  };
525
736
  }
737
+ /**
738
+ * Simulates that the next attempt to scan a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will fail. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
739
+ */
526
740
  get '/acs/encoders/simulate/next_credential_scan_will_fail'() {
527
741
  const { client, defaults } = this;
528
742
  return function acsEncodersSimulateNextCredentialScanWillFail(...args) {
@@ -530,6 +744,9 @@ export class SeamHttpEndpoints {
530
744
  return seam.nextCredentialScanWillFail(...args);
531
745
  };
532
746
  }
747
+ /**
748
+ * Simulates that the next attempt to scan a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will succeed. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
749
+ */
533
750
  get '/acs/encoders/simulate/next_credential_scan_will_succeed'() {
534
751
  const { client, defaults } = this;
535
752
  return function acsEncodersSimulateNextCredentialScanWillSucceed(...args) {
@@ -537,6 +754,9 @@ export class SeamHttpEndpoints {
537
754
  return seam.nextCredentialScanWillSucceed(...args);
538
755
  };
539
756
  }
757
+ /**
758
+ * Returns a specified [access system entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
759
+ */
540
760
  get '/acs/entrances/get'() {
541
761
  const { client, defaults } = this;
542
762
  return function acsEntrancesGet(...args) {
@@ -544,6 +764,9 @@ export class SeamHttpEndpoints {
544
764
  return seam.get(...args);
545
765
  };
546
766
  }
767
+ /**
768
+ * Grants a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) access to a specified [access system entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
769
+ */
547
770
  get '/acs/entrances/grant_access'() {
548
771
  const { client, defaults } = this;
549
772
  return function acsEntrancesGrantAccess(...args) {
@@ -551,6 +774,9 @@ export class SeamHttpEndpoints {
551
774
  return seam.grantAccess(...args);
552
775
  };
553
776
  }
777
+ /**
778
+ * Returns a list of all [access system entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
779
+ */
554
780
  get '/acs/entrances/list'() {
555
781
  const { client, defaults } = this;
556
782
  return function acsEntrancesList(...args) {
@@ -558,6 +784,9 @@ export class SeamHttpEndpoints {
558
784
  return seam.list(...args);
559
785
  };
560
786
  }
787
+ /**
788
+ * Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) with access to a specified [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
789
+ */
561
790
  get '/acs/entrances/list_credentials_with_access'() {
562
791
  const { client, defaults } = this;
563
792
  return function acsEntrancesListCredentialsWithAccess(...args) {
@@ -565,6 +794,9 @@ export class SeamHttpEndpoints {
565
794
  return seam.listCredentialsWithAccess(...args);
566
795
  };
567
796
  }
797
+ /**
798
+ * Remotely unlocks a specified [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) using a cloud_key credential. Returns an action attempt that tracks the progress of the unlock operation.
799
+ */
568
800
  get '/acs/entrances/unlock'() {
569
801
  const { client, defaults } = this;
570
802
  return function acsEntrancesUnlock(...args) {
@@ -572,6 +804,9 @@ export class SeamHttpEndpoints {
572
804
  return seam.unlock(...args);
573
805
  };
574
806
  }
807
+ /**
808
+ * Returns a specified [access system](https://docs.seam.co/low-level-apis/access-systems).
809
+ */
575
810
  get '/acs/systems/get'() {
576
811
  const { client, defaults } = this;
577
812
  return function acsSystemsGet(...args) {
@@ -579,6 +814,11 @@ export class SeamHttpEndpoints {
579
814
  return seam.get(...args);
580
815
  };
581
816
  }
817
+ /**
818
+ * Returns a list of all [access systems](https://docs.seam.co/low-level-apis/access-systems).
819
+ *
820
+ * To filter the list of returned access systems by a specific connected account ID, include the `connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the response includes all access systems connected to your workspace.
821
+ */
582
822
  get '/acs/systems/list'() {
583
823
  const { client, defaults } = this;
584
824
  return function acsSystemsList(...args) {
@@ -586,6 +826,11 @@ export class SeamHttpEndpoints {
586
826
  return seam.list(...args);
587
827
  };
588
828
  }
829
+ /**
830
+ * Returns a list of all credential manager systems that are compatible with a specified [access system](https://docs.seam.co/low-level-apis/access-systems).
831
+ *
832
+ * Specify the access system for which you want to retrieve all compatible credential manager systems by including the corresponding `acs_system_id` in the request body.
833
+ */
589
834
  get '/acs/systems/list_compatible_credential_manager_acs_systems'() {
590
835
  const { client, defaults } = this;
591
836
  return function acsSystemsListCompatibleCredentialManagerAcsSystems(...args) {
@@ -593,6 +838,9 @@ export class SeamHttpEndpoints {
593
838
  return seam.listCompatibleCredentialManagerAcsSystems(...args);
594
839
  };
595
840
  }
841
+ /**
842
+ * Reports ACS system device status including encoders and entrances.
843
+ */
596
844
  get '/acs/systems/report_devices'() {
597
845
  const { client, defaults } = this;
598
846
  return function acsSystemsReportDevices(...args) {
@@ -600,6 +848,9 @@ export class SeamHttpEndpoints {
600
848
  return seam.reportDevices(...args);
601
849
  };
602
850
  }
851
+ /**
852
+ * 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).
853
+ */
603
854
  get '/acs/users/add_to_access_group'() {
604
855
  const { client, defaults } = this;
605
856
  return function acsUsersAddToAccessGroup(...args) {
@@ -607,6 +858,9 @@ export class SeamHttpEndpoints {
607
858
  return seam.addToAccessGroup(...args);
608
859
  };
609
860
  }
861
+ /**
862
+ * Creates a new [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
863
+ */
610
864
  get '/acs/users/create'() {
611
865
  const { client, defaults } = this;
612
866
  return function acsUsersCreate(...args) {
@@ -614,6 +868,9 @@ export class SeamHttpEndpoints {
614
868
  return seam.create(...args);
615
869
  };
616
870
  }
871
+ /**
872
+ * 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).
873
+ */
617
874
  get '/acs/users/delete'() {
618
875
  const { client, defaults } = this;
619
876
  return function acsUsersDelete(...args) {
@@ -621,6 +878,9 @@ export class SeamHttpEndpoints {
621
878
  return seam.delete(...args);
622
879
  };
623
880
  }
881
+ /**
882
+ * Returns a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
883
+ */
624
884
  get '/acs/users/get'() {
625
885
  const { client, defaults } = this;
626
886
  return function acsUsersGet(...args) {
@@ -628,6 +888,9 @@ export class SeamHttpEndpoints {
628
888
  return seam.get(...args);
629
889
  };
630
890
  }
891
+ /**
892
+ * Returns a list of all [access system users](https://docs.seam.co/low-level-apis/access-systems/user-management).
893
+ */
631
894
  get '/acs/users/list'() {
632
895
  const { client, defaults } = this;
633
896
  return function acsUsersList(...args) {
@@ -635,6 +898,9 @@ export class SeamHttpEndpoints {
635
898
  return seam.list(...args);
636
899
  };
637
900
  }
901
+ /**
902
+ * 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.
903
+ */
638
904
  get '/acs/users/list_accessible_entrances'() {
639
905
  const { client, defaults } = this;
640
906
  return function acsUsersListAccessibleEntrances(...args) {
@@ -642,6 +908,9 @@ export class SeamHttpEndpoints {
642
908
  return seam.listAccessibleEntrances(...args);
643
909
  };
644
910
  }
911
+ /**
912
+ * 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).
913
+ */
645
914
  get '/acs/users/remove_from_access_group'() {
646
915
  const { client, defaults } = this;
647
916
  return function acsUsersRemoveFromAccessGroup(...args) {
@@ -649,6 +918,9 @@ export class SeamHttpEndpoints {
649
918
  return seam.removeFromAccessGroup(...args);
650
919
  };
651
920
  }
921
+ /**
922
+ * 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).
923
+ */
652
924
  get '/acs/users/revoke_access_to_all_entrances'() {
653
925
  const { client, defaults } = this;
654
926
  return function acsUsersRevokeAccessToAllEntrances(...args) {
@@ -656,6 +928,9 @@ export class SeamHttpEndpoints {
656
928
  return seam.revokeAccessToAllEntrances(...args);
657
929
  };
658
930
  }
931
+ /**
932
+ * [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.
933
+ */
659
934
  get '/acs/users/suspend'() {
660
935
  const { client, defaults } = this;
661
936
  return function acsUsersSuspend(...args) {
@@ -663,6 +938,9 @@ export class SeamHttpEndpoints {
663
938
  return seam.suspend(...args);
664
939
  };
665
940
  }
941
+ /**
942
+ * [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.
943
+ */
666
944
  get '/acs/users/unsuspend'() {
667
945
  const { client, defaults } = this;
668
946
  return function acsUsersUnsuspend(...args) {
@@ -670,6 +948,9 @@ export class SeamHttpEndpoints {
670
948
  return seam.unsuspend(...args);
671
949
  };
672
950
  }
951
+ /**
952
+ * Updates the properties of a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
953
+ */
673
954
  get '/acs/users/update'() {
674
955
  const { client, defaults } = this;
675
956
  return function acsUsersUpdate(...args) {
@@ -677,6 +958,9 @@ export class SeamHttpEndpoints {
677
958
  return seam.update(...args);
678
959
  };
679
960
  }
961
+ /**
962
+ * Returns a specified [action attempt](https://docs.seam.co/core-concepts/action-attempts).
963
+ */
680
964
  get '/action_attempts/get'() {
681
965
  const { client, defaults } = this;
682
966
  return function actionAttemptsGet(...args) {
@@ -684,6 +968,9 @@ export class SeamHttpEndpoints {
684
968
  return seam.get(...args);
685
969
  };
686
970
  }
971
+ /**
972
+ * 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.
973
+ */
687
974
  get '/action_attempts/list'() {
688
975
  const { client, defaults } = this;
689
976
  return function actionAttemptsList(...args) {
@@ -691,6 +978,9 @@ export class SeamHttpEndpoints {
691
978
  return seam.list(...args);
692
979
  };
693
980
  }
981
+ /**
982
+ * Creates a new [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
983
+ */
694
984
  get '/client_sessions/create'() {
695
985
  const { client, defaults } = this;
696
986
  return function clientSessionsCreate(...args) {
@@ -698,6 +988,9 @@ export class SeamHttpEndpoints {
698
988
  return seam.create(...args);
699
989
  };
700
990
  }
991
+ /**
992
+ * Deletes a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
993
+ */
701
994
  get '/client_sessions/delete'() {
702
995
  const { client, defaults } = this;
703
996
  return function clientSessionsDelete(...args) {
@@ -705,6 +998,9 @@ export class SeamHttpEndpoints {
705
998
  return seam.delete(...args);
706
999
  };
707
1000
  }
1001
+ /**
1002
+ * Returns a specified [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
1003
+ */
708
1004
  get '/client_sessions/get'() {
709
1005
  const { client, defaults } = this;
710
1006
  return function clientSessionsGet(...args) {
@@ -712,6 +1008,9 @@ export class SeamHttpEndpoints {
712
1008
  return seam.get(...args);
713
1009
  };
714
1010
  }
1011
+ /**
1012
+ * 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.
1013
+ */
715
1014
  get '/client_sessions/get_or_create'() {
716
1015
  const { client, defaults } = this;
717
1016
  return function clientSessionsGetOrCreate(...args) {
@@ -719,6 +1018,9 @@ export class SeamHttpEndpoints {
719
1018
  return seam.getOrCreate(...args);
720
1019
  };
721
1020
  }
1021
+ /**
1022
+ * 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.
1023
+ */
722
1024
  get '/client_sessions/grant_access'() {
723
1025
  const { client, defaults } = this;
724
1026
  return function clientSessionsGrantAccess(...args) {
@@ -726,6 +1028,9 @@ export class SeamHttpEndpoints {
726
1028
  return seam.grantAccess(...args);
727
1029
  };
728
1030
  }
1031
+ /**
1032
+ * Returns a list of all [client sessions](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
1033
+ */
729
1034
  get '/client_sessions/list'() {
730
1035
  const { client, defaults } = this;
731
1036
  return function clientSessionsList(...args) {
@@ -733,6 +1038,11 @@ export class SeamHttpEndpoints {
733
1038
  return seam.list(...args);
734
1039
  };
735
1040
  }
1041
+ /**
1042
+ * Revokes a [client session](https://docs.seam.co/core-concepts/authentication/client-session-tokens).
1043
+ *
1044
+ * Note that [deleting a client session](https://docs.seam.co/api/client_sessions/delete) is a separate action.
1045
+ */
736
1046
  get '/client_sessions/revoke'() {
737
1047
  const { client, defaults } = this;
738
1048
  return function clientSessionsRevoke(...args) {
@@ -740,6 +1050,15 @@ export class SeamHttpEndpoints {
740
1050
  return seam.revoke(...args);
741
1051
  };
742
1052
  }
1053
+ /**
1054
+ * Creates a new [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews).
1055
+ *
1056
+ * To enable a user to connect their devices or systems to Seam, they must sign in to their device or system account. To enable a user to sign in, you create a `connect_webview`. After creating the Connect Webview, you receive a URL that you can use to display the visual component of this Connect Webview for your user. You can open an iframe or new window to display the Connect Webview.
1057
+ *
1058
+ * You should make a new `connect_webview` for each unique login request. Each `connect_webview` tracks the user that signed in with it. You receive an error if you reuse a Connect Webview for the same user twice or if you use the same Connect Webview for multiple users.
1059
+ *
1060
+ * See also: [Connect Webview Process](https://docs.seam.co/core-concepts/connect-webviews/connect-webview-process).
1061
+ */
743
1062
  get '/connect_webviews/create'() {
744
1063
  const { client, defaults } = this;
745
1064
  return function connectWebviewsCreate(...args) {
@@ -747,6 +1066,11 @@ export class SeamHttpEndpoints {
747
1066
  return seam.create(...args);
748
1067
  };
749
1068
  }
1069
+ /**
1070
+ * Deletes a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews).
1071
+ *
1072
+ * You do not need to delete a Connect Webview once a user completes it. Instead, you can simply ignore completed Connect Webviews.
1073
+ */
750
1074
  get '/connect_webviews/delete'() {
751
1075
  const { client, defaults } = this;
752
1076
  return function connectWebviewsDelete(...args) {
@@ -754,6 +1078,11 @@ export class SeamHttpEndpoints {
754
1078
  return seam.delete(...args);
755
1079
  };
756
1080
  }
1081
+ /**
1082
+ * Returns a specified [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews).
1083
+ *
1084
+ * Unless you're using a `custom_redirect_url`, you should poll a newly-created `connect_webview` to find out if the user has signed in or to get details about what devices they've connected.
1085
+ */
757
1086
  get '/connect_webviews/get'() {
758
1087
  const { client, defaults } = this;
759
1088
  return function connectWebviewsGet(...args) {
@@ -761,6 +1090,9 @@ export class SeamHttpEndpoints {
761
1090
  return seam.get(...args);
762
1091
  };
763
1092
  }
1093
+ /**
1094
+ * Returns a list of all [Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews).
1095
+ */
764
1096
  get '/connect_webviews/list'() {
765
1097
  const { client, defaults } = this;
766
1098
  return function connectWebviewsList(...args) {
@@ -768,6 +1100,13 @@ export class SeamHttpEndpoints {
768
1100
  return seam.list(...args);
769
1101
  };
770
1102
  }
1103
+ /**
1104
+ * Deletes a specified [connected account](https://docs.seam.co/core-concepts/connected-accounts).
1105
+ *
1106
+ * Deleting a connected account triggers a `connected_account.deleted` event and removes the connected account and all data associated with the connected account from Seam, including devices, events, access codes, and so on. For every deleted resource, Seam sends a corresponding deleted event, but the resource is not deleted from the provider.
1107
+ *
1108
+ * For example, if you delete a connected account with a device that has an access code, Seam sends a `connected_account.deleted` event, a `device.deleted` event, and an `access_code.deleted` event, but Seam does not remove the access code from the device.
1109
+ */
771
1110
  get '/connected_accounts/delete'() {
772
1111
  const { client, defaults } = this;
773
1112
  return function connectedAccountsDelete(...args) {
@@ -775,6 +1114,9 @@ export class SeamHttpEndpoints {
775
1114
  return seam.delete(...args);
776
1115
  };
777
1116
  }
1117
+ /**
1118
+ * Returns a specified [connected account](https://docs.seam.co/core-concepts/connected-accounts).
1119
+ */
778
1120
  get '/connected_accounts/get'() {
779
1121
  const { client, defaults } = this;
780
1122
  return function connectedAccountsGet(...args) {
@@ -782,6 +1124,9 @@ export class SeamHttpEndpoints {
782
1124
  return seam.get(...args);
783
1125
  };
784
1126
  }
1127
+ /**
1128
+ * Returns a list of all [connected accounts](https://docs.seam.co/core-concepts/connected-accounts).
1129
+ */
785
1130
  get '/connected_accounts/list'() {
786
1131
  const { client, defaults } = this;
787
1132
  return function connectedAccountsList(...args) {
@@ -789,6 +1134,9 @@ export class SeamHttpEndpoints {
789
1134
  return seam.list(...args);
790
1135
  };
791
1136
  }
1137
+ /**
1138
+ * Request a [connected account](https://docs.seam.co/core-concepts/connected-accounts) sync attempt for the specified `connected_account_id`.
1139
+ */
792
1140
  get '/connected_accounts/sync'() {
793
1141
  const { client, defaults } = this;
794
1142
  return function connectedAccountsSync(...args) {
@@ -796,6 +1144,9 @@ export class SeamHttpEndpoints {
796
1144
  return seam.sync(...args);
797
1145
  };
798
1146
  }
1147
+ /**
1148
+ * Updates a [connected account](https://docs.seam.co/core-concepts/connected-accounts).
1149
+ */
799
1150
  get '/connected_accounts/update'() {
800
1151
  const { client, defaults } = this;
801
1152
  return function connectedAccountsUpdate(...args) {
@@ -803,6 +1154,9 @@ export class SeamHttpEndpoints {
803
1154
  return seam.update(...args);
804
1155
  };
805
1156
  }
1157
+ /**
1158
+ * Simulates a connected account becoming disconnected from Seam. Only applicable for [sandbox workspaces](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
1159
+ */
806
1160
  get '/connected_accounts/simulate/disconnect'() {
807
1161
  const { client, defaults } = this;
808
1162
  return function connectedAccountsSimulateDisconnect(...args) {
@@ -810,6 +1164,9 @@ export class SeamHttpEndpoints {
810
1164
  return seam.disconnect(...args);
811
1165
  };
812
1166
  }
1167
+ /**
1168
+ * Creates a new customer portal magic link with configurable features.
1169
+ */
813
1170
  get '/customers/create_portal'() {
814
1171
  const { client, defaults } = this;
815
1172
  return function customersCreatePortal(...args) {
@@ -817,6 +1174,10 @@ export class SeamHttpEndpoints {
817
1174
  return seam.createPortal(...args);
818
1175
  };
819
1176
  }
1177
+ /**
1178
+ * Deletes customer data including resources like spaces, properties, rooms, users, etc.
1179
+ * This will delete the partner resources and any related Seam resources (user identities, access grants, spaces).
1180
+ */
820
1181
  get '/customers/delete_data'() {
821
1182
  const { client, defaults } = this;
822
1183
  return function customersDeleteData(...args) {
@@ -824,6 +1185,9 @@ export class SeamHttpEndpoints {
824
1185
  return seam.deleteData(...args);
825
1186
  };
826
1187
  }
1188
+ /**
1189
+ * Pushes customer data including resources like spaces, properties, rooms, users, etc.
1190
+ */
827
1191
  get '/customers/push_data'() {
828
1192
  const { client, defaults } = this;
829
1193
  return function customersPushData(...args) {
@@ -831,6 +1195,11 @@ export class SeamHttpEndpoints {
831
1195
  return seam.pushData(...args);
832
1196
  };
833
1197
  }
1198
+ /**
1199
+ * Returns a specified [device](https://docs.seam.co/core-concepts/devices).
1200
+ *
1201
+ * You must specify either `device_id` or `name`.
1202
+ */
834
1203
  get '/devices/get'() {
835
1204
  const { client, defaults } = this;
836
1205
  return function devicesGet(...args) {
@@ -838,6 +1207,9 @@ export class SeamHttpEndpoints {
838
1207
  return seam.get(...args);
839
1208
  };
840
1209
  }
1210
+ /**
1211
+ * Returns a list of all [devices](https://docs.seam.co/core-concepts/devices).
1212
+ */
841
1213
  get '/devices/list'() {
842
1214
  const { client, defaults } = this;
843
1215
  return function devicesList(...args) {
@@ -845,6 +1217,13 @@ export class SeamHttpEndpoints {
845
1217
  return seam.list(...args);
846
1218
  };
847
1219
  }
1220
+ /**
1221
+ * Returns a list of all device providers.
1222
+ *
1223
+ * 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`.
1224
+ *
1225
+ * 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).
1226
+ */
848
1227
  get '/devices/list_device_providers'() {
849
1228
  const { client, defaults } = this;
850
1229
  return function devicesListDeviceProviders(...args) {
@@ -852,6 +1231,9 @@ export class SeamHttpEndpoints {
852
1231
  return seam.listDeviceProviders(...args);
853
1232
  };
854
1233
  }
1234
+ /**
1235
+ * Updates provider-specific metadata for devices.
1236
+ */
855
1237
  get '/devices/report_provider_metadata'() {
856
1238
  const { client, defaults } = this;
857
1239
  return function devicesReportProviderMetadata(...args) {
@@ -859,6 +1241,11 @@ export class SeamHttpEndpoints {
859
1241
  return seam.reportProviderMetadata(...args);
860
1242
  };
861
1243
  }
1244
+ /**
1245
+ * Updates a specified [device](https://docs.seam.co/core-concepts/devices).
1246
+ *
1247
+ * 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).
1248
+ */
862
1249
  get '/devices/update'() {
863
1250
  const { client, defaults } = this;
864
1251
  return function devicesUpdate(...args) {
@@ -866,6 +1253,9 @@ export class SeamHttpEndpoints {
866
1253
  return seam.update(...args);
867
1254
  };
868
1255
  }
1256
+ /**
1257
+ * 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).
1258
+ */
869
1259
  get '/devices/simulate/connect'() {
870
1260
  const { client, defaults } = this;
871
1261
  return function devicesSimulateConnect(...args) {
@@ -873,6 +1263,12 @@ export class SeamHttpEndpoints {
873
1263
  return seam.connect(...args);
874
1264
  };
875
1265
  }
1266
+ /**
1267
+ * Simulates bringing the Wi‑Fi hub (bridge) back online for a device.
1268
+ * Only applicable for sandbox workspaces and currently
1269
+ * implemented for August and TTLock locks.
1270
+ * This will clear the `hub_disconnected` error on the device.
1271
+ */
876
1272
  get '/devices/simulate/connect_to_hub'() {
877
1273
  const { client, defaults } = this;
878
1274
  return function devicesSimulateConnectToHub(...args) {
@@ -880,6 +1276,9 @@ export class SeamHttpEndpoints {
880
1276
  return seam.connectToHub(...args);
881
1277
  };
882
1278
  }
1279
+ /**
1280
+ * 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).
1281
+ */
883
1282
  get '/devices/simulate/disconnect'() {
884
1283
  const { client, defaults } = this;
885
1284
  return function devicesSimulateDisconnect(...args) {
@@ -887,6 +1286,13 @@ export class SeamHttpEndpoints {
887
1286
  return seam.disconnect(...args);
888
1287
  };
889
1288
  }
1289
+ /**
1290
+ * Simulates taking the Wi‑Fi hub (bridge) offline for a device.
1291
+ * Only applicable for sandbox workspaces and currently
1292
+ * implemented for August, TTLock, and IglooHome devices.
1293
+ * This will set the `hub_disconnected` error on the device, or mark the
1294
+ * IglooHome bridge offline in sandbox.
1295
+ */
890
1296
  get '/devices/simulate/disconnect_from_hub'() {
891
1297
  const { client, defaults } = this;
892
1298
  return function devicesSimulateDisconnectFromHub(...args) {
@@ -894,6 +1300,11 @@ export class SeamHttpEndpoints {
894
1300
  return seam.disconnectFromHub(...args);
895
1301
  };
896
1302
  }
1303
+ /**
1304
+ * Toggle the simulated Nuki Smart Hosting subscription for a device (sandbox only).
1305
+ * Send `is_expired: true` to simulate an expired subscription, or `false` to simulate an active subscription.
1306
+ * The actual device error is created/cleared by the poller after this state change.
1307
+ */
897
1308
  get '/devices/simulate/paid_subscription'() {
898
1309
  const { client, defaults } = this;
899
1310
  return function devicesSimulatePaidSubscription(...args) {
@@ -901,6 +1312,9 @@ export class SeamHttpEndpoints {
901
1312
  return seam.paidSubscription(...args);
902
1313
  };
903
1314
  }
1315
+ /**
1316
+ * 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).
1317
+ */
904
1318
  get '/devices/simulate/remove'() {
905
1319
  const { client, defaults } = this;
906
1320
  return function devicesSimulateRemove(...args) {
@@ -908,6 +1322,13 @@ export class SeamHttpEndpoints {
908
1322
  return seam.remove(...args);
909
1323
  };
910
1324
  }
1325
+ /**
1326
+ * Returns a specified [unmanaged device](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
1327
+ *
1328
+ * 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).
1329
+ *
1330
+ * You must specify either `device_id` or `name`.
1331
+ */
911
1332
  get '/devices/unmanaged/get'() {
912
1333
  const { client, defaults } = this;
913
1334
  return function devicesUnmanagedGet(...args) {
@@ -915,6 +1336,11 @@ export class SeamHttpEndpoints {
915
1336
  return seam.get(...args);
916
1337
  };
917
1338
  }
1339
+ /**
1340
+ * Returns a list of all [unmanaged devices](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
1341
+ *
1342
+ * 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).
1343
+ */
918
1344
  get '/devices/unmanaged/list'() {
919
1345
  const { client, defaults } = this;
920
1346
  return function devicesUnmanagedList(...args) {
@@ -922,6 +1348,11 @@ export class SeamHttpEndpoints {
922
1348
  return seam.list(...args);
923
1349
  };
924
1350
  }
1351
+ /**
1352
+ * 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`.
1353
+ *
1354
+ * 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).
1355
+ */
925
1356
  get '/devices/unmanaged/update'() {
926
1357
  const { client, defaults } = this;
927
1358
  return function devicesUnmanagedUpdate(...args) {
@@ -929,6 +1360,9 @@ export class SeamHttpEndpoints {
929
1360
  return seam.update(...args);
930
1361
  };
931
1362
  }
1363
+ /**
1364
+ * 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.
1365
+ */
932
1366
  get '/events/get'() {
933
1367
  const { client, defaults } = this;
934
1368
  return function eventsGet(...args) {
@@ -936,6 +1370,9 @@ export class SeamHttpEndpoints {
936
1370
  return seam.get(...args);
937
1371
  };
938
1372
  }
1373
+ /**
1374
+ * 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.
1375
+ */
939
1376
  get '/events/list'() {
940
1377
  const { client, defaults } = this;
941
1378
  return function eventsList(...args) {
@@ -943,6 +1380,9 @@ export class SeamHttpEndpoints {
943
1380
  return seam.list(...args);
944
1381
  };
945
1382
  }
1383
+ /**
1384
+ * Deletes a specified [Instant Key](https://docs.seam.co/capability-guides/instant-keys).
1385
+ */
946
1386
  get '/instant_keys/delete'() {
947
1387
  const { client, defaults } = this;
948
1388
  return function instantKeysDelete(...args) {
@@ -950,6 +1390,9 @@ export class SeamHttpEndpoints {
950
1390
  return seam.delete(...args);
951
1391
  };
952
1392
  }
1393
+ /**
1394
+ * Gets an [instant key](https://docs.seam.co/capability-guides/instant-keys).
1395
+ */
953
1396
  get '/instant_keys/get'() {
954
1397
  const { client, defaults } = this;
955
1398
  return function instantKeysGet(...args) {
@@ -957,6 +1400,9 @@ export class SeamHttpEndpoints {
957
1400
  return seam.get(...args);
958
1401
  };
959
1402
  }
1403
+ /**
1404
+ * Returns a list of all [instant keys](https://docs.seam.co/capability-guides/instant-keys).
1405
+ */
960
1406
  get '/instant_keys/list'() {
961
1407
  const { client, defaults } = this;
962
1408
  return function instantKeysList(...args) {
@@ -964,6 +1410,9 @@ export class SeamHttpEndpoints {
964
1410
  return seam.list(...args);
965
1411
  };
966
1412
  }
1413
+ /**
1414
+ * Configures the auto-lock setting for a specified [lock](https://docs.seam.co/low-level-apis/smart-locks).
1415
+ */
967
1416
  get '/locks/configure_auto_lock'() {
968
1417
  const { client, defaults } = this;
969
1418
  return function locksConfigureAutoLock(...args) {
@@ -971,6 +1420,10 @@ export class SeamHttpEndpoints {
971
1420
  return seam.configureAutoLock(...args);
972
1421
  };
973
1422
  }
1423
+ /**
1424
+ * Returns a specified [lock](https://docs.seam.co/low-level-apis/smart-locks).
1425
+ * @deprecated Use `/devices/get` instead.
1426
+ */
974
1427
  get '/locks/get'() {
975
1428
  const { client, defaults } = this;
976
1429
  return function locksGet(...args) {
@@ -978,6 +1431,9 @@ export class SeamHttpEndpoints {
978
1431
  return seam.get(...args);
979
1432
  };
980
1433
  }
1434
+ /**
1435
+ * Returns a list of all [locks](https://docs.seam.co/low-level-apis/smart-locks).
1436
+ */
981
1437
  get '/locks/list'() {
982
1438
  const { client, defaults } = this;
983
1439
  return function locksList(...args) {
@@ -985,6 +1441,9 @@ export class SeamHttpEndpoints {
985
1441
  return seam.list(...args);
986
1442
  };
987
1443
  }
1444
+ /**
1445
+ * Locks a [lock](https://docs.seam.co/low-level-apis/smart-locks). See also [Locking and Unlocking Smart Locks](https://docs.seam.co/low-level-apis/smart-locks/lock-and-unlock).
1446
+ */
988
1447
  get '/locks/lock_door'() {
989
1448
  const { client, defaults } = this;
990
1449
  return function locksLockDoor(...args) {
@@ -992,6 +1451,9 @@ export class SeamHttpEndpoints {
992
1451
  return seam.lockDoor(...args);
993
1452
  };
994
1453
  }
1454
+ /**
1455
+ * Unlocks a [lock](https://docs.seam.co/low-level-apis/smart-locks). See also [Locking and Unlocking Smart Locks](https://docs.seam.co/low-level-apis/smart-locks/lock-and-unlock).
1456
+ */
995
1457
  get '/locks/unlock_door'() {
996
1458
  const { client, defaults } = this;
997
1459
  return function locksUnlockDoor(...args) {
@@ -999,6 +1461,9 @@ export class SeamHttpEndpoints {
999
1461
  return seam.unlockDoor(...args);
1000
1462
  };
1001
1463
  }
1464
+ /**
1465
+ * Simulates the entry of a code on a keypad. You can only perform this action for [August](https://docs.seam.co/device-and-system-integration-guides/august-locks) devices within [sandbox workspaces](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
1466
+ */
1002
1467
  get '/locks/simulate/keypad_code_entry'() {
1003
1468
  const { client, defaults } = this;
1004
1469
  return function locksSimulateKeypadCodeEntry(...args) {
@@ -1006,6 +1471,9 @@ export class SeamHttpEndpoints {
1006
1471
  return seam.keypadCodeEntry(...args);
1007
1472
  };
1008
1473
  }
1474
+ /**
1475
+ * Simulates a manual lock action using a keypad. You can only perform this action for [August](https://docs.seam.co/device-and-system-integration-guides/august-locks) devices within [sandbox workspaces](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
1476
+ */
1009
1477
  get '/locks/simulate/manual_lock_via_keypad'() {
1010
1478
  const { client, defaults } = this;
1011
1479
  return function locksSimulateManualLockViaKeypad(...args) {
@@ -1013,6 +1481,9 @@ export class SeamHttpEndpoints {
1013
1481
  return seam.manualLockViaKeypad(...args);
1014
1482
  };
1015
1483
  }
1484
+ /**
1485
+ * Returns a list of all [noise sensors](https://docs.seam.co/capability-guides/noise-sensors).
1486
+ */
1016
1487
  get '/noise_sensors/list'() {
1017
1488
  const { client, defaults } = this;
1018
1489
  return function noiseSensorsList(...args) {
@@ -1020,6 +1491,9 @@ export class SeamHttpEndpoints {
1020
1491
  return seam.list(...args);
1021
1492
  };
1022
1493
  }
1494
+ /**
1495
+ * Creates a new [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
1496
+ */
1023
1497
  get '/noise_sensors/noise_thresholds/create'() {
1024
1498
  const { client, defaults } = this;
1025
1499
  return function noiseSensorsNoiseThresholdsCreate(...args) {
@@ -1027,6 +1501,9 @@ export class SeamHttpEndpoints {
1027
1501
  return seam.create(...args);
1028
1502
  };
1029
1503
  }
1504
+ /**
1505
+ * Deletes a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) from a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).
1506
+ */
1030
1507
  get '/noise_sensors/noise_thresholds/delete'() {
1031
1508
  const { client, defaults } = this;
1032
1509
  return function noiseSensorsNoiseThresholdsDelete(...args) {
@@ -1034,6 +1511,9 @@ export class SeamHttpEndpoints {
1034
1511
  return seam.delete(...args);
1035
1512
  };
1036
1513
  }
1514
+ /**
1515
+ * Returns a specified [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).
1516
+ */
1037
1517
  get '/noise_sensors/noise_thresholds/get'() {
1038
1518
  const { client, defaults } = this;
1039
1519
  return function noiseSensorsNoiseThresholdsGet(...args) {
@@ -1041,6 +1521,9 @@ export class SeamHttpEndpoints {
1041
1521
  return seam.get(...args);
1042
1522
  };
1043
1523
  }
1524
+ /**
1525
+ * Returns a list of all [noise thresholds](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).
1526
+ */
1044
1527
  get '/noise_sensors/noise_thresholds/list'() {
1045
1528
  const { client, defaults } = this;
1046
1529
  return function noiseSensorsNoiseThresholdsList(...args) {
@@ -1048,6 +1531,9 @@ export class SeamHttpEndpoints {
1048
1531
  return seam.list(...args);
1049
1532
  };
1050
1533
  }
1534
+ /**
1535
+ * Updates a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).
1536
+ */
1051
1537
  get '/noise_sensors/noise_thresholds/update'() {
1052
1538
  const { client, defaults } = this;
1053
1539
  return function noiseSensorsNoiseThresholdsUpdate(...args) {
@@ -1055,6 +1541,9 @@ export class SeamHttpEndpoints {
1055
1541
  return seam.update(...args);
1056
1542
  };
1057
1543
  }
1544
+ /**
1545
+ * Simulates the triggering of a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors) in a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
1546
+ */
1058
1547
  get '/noise_sensors/simulate/trigger_noise_threshold'() {
1059
1548
  const { client, defaults } = this;
1060
1549
  return function noiseSensorsSimulateTriggerNoiseThreshold(...args) {
@@ -1062,6 +1551,9 @@ export class SeamHttpEndpoints {
1062
1551
  return seam.triggerNoiseThreshold(...args);
1063
1552
  };
1064
1553
  }
1554
+ /**
1555
+ * Deactivates a phone, which is useful, for example, if a user has lost their phone. For more information, see [App User Lost Phone Process](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity#app-user-lost-phone-process).
1556
+ */
1065
1557
  get '/phones/deactivate'() {
1066
1558
  const { client, defaults } = this;
1067
1559
  return function phonesDeactivate(...args) {
@@ -1069,6 +1561,9 @@ export class SeamHttpEndpoints {
1069
1561
  return seam.deactivate(...args);
1070
1562
  };
1071
1563
  }
1564
+ /**
1565
+ * Returns a specified [phone](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity).
1566
+ */
1072
1567
  get '/phones/get'() {
1073
1568
  const { client, defaults } = this;
1074
1569
  return function phonesGet(...args) {
@@ -1076,6 +1571,9 @@ export class SeamHttpEndpoints {
1076
1571
  return seam.get(...args);
1077
1572
  };
1078
1573
  }
1574
+ /**
1575
+ * Returns a list of all [phones](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity). To filter the list of returned phones by a specific owner user identity or credential, include the `owner_user_identity_id` or `acs_credential_id`, respectively, in the request body.
1576
+ */
1079
1577
  get '/phones/list'() {
1080
1578
  const { client, defaults } = this;
1081
1579
  return function phonesList(...args) {
@@ -1083,6 +1581,9 @@ export class SeamHttpEndpoints {
1083
1581
  return seam.list(...args);
1084
1582
  };
1085
1583
  }
1584
+ /**
1585
+ * Creates a new simulated phone in a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Creating a Simulated Phone for a User Identity](https://docs.seam.co/capability-guides/mobile-access/developing-in-a-sandbox-workspace#creating-a-simulated-phone-for-a-user-identity).
1586
+ */
1086
1587
  get '/phones/simulate/create_sandbox_phone'() {
1087
1588
  const { client, defaults } = this;
1088
1589
  return function phonesSimulateCreateSandboxPhone(...args) {
@@ -1090,6 +1591,9 @@ export class SeamHttpEndpoints {
1090
1591
  return seam.createSandboxPhone(...args);
1091
1592
  };
1092
1593
  }
1594
+ /**
1595
+ * Adds [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) to a specific space.
1596
+ */
1093
1597
  get '/spaces/add_acs_entrances'() {
1094
1598
  const { client, defaults } = this;
1095
1599
  return function spacesAddAcsEntrances(...args) {
@@ -1097,6 +1601,9 @@ export class SeamHttpEndpoints {
1097
1601
  return seam.addAcsEntrances(...args);
1098
1602
  };
1099
1603
  }
1604
+ /**
1605
+ * Adds a [connected account](https://docs.seam.co/core-concepts/connected-accounts) to a specific space.
1606
+ */
1100
1607
  get '/spaces/add_connected_account'() {
1101
1608
  const { client, defaults } = this;
1102
1609
  return function spacesAddConnectedAccount(...args) {
@@ -1104,6 +1611,9 @@ export class SeamHttpEndpoints {
1104
1611
  return seam.addConnectedAccount(...args);
1105
1612
  };
1106
1613
  }
1614
+ /**
1615
+ * Adds devices to a specific space.
1616
+ */
1107
1617
  get '/spaces/add_devices'() {
1108
1618
  const { client, defaults } = this;
1109
1619
  return function spacesAddDevices(...args) {
@@ -1111,6 +1621,9 @@ export class SeamHttpEndpoints {
1111
1621
  return seam.addDevices(...args);
1112
1622
  };
1113
1623
  }
1624
+ /**
1625
+ * Creates a new space.
1626
+ */
1114
1627
  get '/spaces/create'() {
1115
1628
  const { client, defaults } = this;
1116
1629
  return function spacesCreate(...args) {
@@ -1118,6 +1631,9 @@ export class SeamHttpEndpoints {
1118
1631
  return seam.create(...args);
1119
1632
  };
1120
1633
  }
1634
+ /**
1635
+ * Deletes a space.
1636
+ */
1121
1637
  get '/spaces/delete'() {
1122
1638
  const { client, defaults } = this;
1123
1639
  return function spacesDelete(...args) {
@@ -1125,6 +1641,9 @@ export class SeamHttpEndpoints {
1125
1641
  return seam.delete(...args);
1126
1642
  };
1127
1643
  }
1644
+ /**
1645
+ * Gets a space.
1646
+ */
1128
1647
  get '/spaces/get'() {
1129
1648
  const { client, defaults } = this;
1130
1649
  return function spacesGet(...args) {
@@ -1132,6 +1651,9 @@ export class SeamHttpEndpoints {
1132
1651
  return seam.get(...args);
1133
1652
  };
1134
1653
  }
1654
+ /**
1655
+ * Gets all related resources for one or more Spaces.
1656
+ */
1135
1657
  get '/spaces/get_related'() {
1136
1658
  const { client, defaults } = this;
1137
1659
  return function spacesGetRelated(...args) {
@@ -1139,6 +1661,9 @@ export class SeamHttpEndpoints {
1139
1661
  return seam.getRelated(...args);
1140
1662
  };
1141
1663
  }
1664
+ /**
1665
+ * Returns a list of all spaces.
1666
+ */
1142
1667
  get '/spaces/list'() {
1143
1668
  const { client, defaults } = this;
1144
1669
  return function spacesList(...args) {
@@ -1146,6 +1671,9 @@ export class SeamHttpEndpoints {
1146
1671
  return seam.list(...args);
1147
1672
  };
1148
1673
  }
1674
+ /**
1675
+ * Removes [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) from a specific space.
1676
+ */
1149
1677
  get '/spaces/remove_acs_entrances'() {
1150
1678
  const { client, defaults } = this;
1151
1679
  return function spacesRemoveAcsEntrances(...args) {
@@ -1153,6 +1681,9 @@ export class SeamHttpEndpoints {
1153
1681
  return seam.removeAcsEntrances(...args);
1154
1682
  };
1155
1683
  }
1684
+ /**
1685
+ * Removes a [connected account](https://docs.seam.co/core-concepts/connected-accounts) from a specific space.
1686
+ */
1156
1687
  get '/spaces/remove_connected_account'() {
1157
1688
  const { client, defaults } = this;
1158
1689
  return function spacesRemoveConnectedAccount(...args) {
@@ -1160,6 +1691,9 @@ export class SeamHttpEndpoints {
1160
1691
  return seam.removeConnectedAccount(...args);
1161
1692
  };
1162
1693
  }
1694
+ /**
1695
+ * Removes devices from a specific space.
1696
+ */
1163
1697
  get '/spaces/remove_devices'() {
1164
1698
  const { client, defaults } = this;
1165
1699
  return function spacesRemoveDevices(...args) {
@@ -1167,6 +1701,9 @@ export class SeamHttpEndpoints {
1167
1701
  return seam.removeDevices(...args);
1168
1702
  };
1169
1703
  }
1704
+ /**
1705
+ * Updates an existing space.
1706
+ */
1170
1707
  get '/spaces/update'() {
1171
1708
  const { client, defaults } = this;
1172
1709
  return function spacesUpdate(...args) {
@@ -1174,6 +1711,9 @@ export class SeamHttpEndpoints {
1174
1711
  return seam.update(...args);
1175
1712
  };
1176
1713
  }
1714
+ /**
1715
+ * Activates a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1716
+ */
1177
1717
  get '/thermostats/activate_climate_preset'() {
1178
1718
  const { client, defaults } = this;
1179
1719
  return function thermostatsActivateClimatePreset(...args) {
@@ -1181,6 +1721,9 @@ export class SeamHttpEndpoints {
1181
1721
  return seam.activateClimatePreset(...args);
1182
1722
  };
1183
1723
  }
1724
+ /**
1725
+ * Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [cool mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
1726
+ */
1184
1727
  get '/thermostats/cool'() {
1185
1728
  const { client, defaults } = this;
1186
1729
  return function thermostatsCool(...args) {
@@ -1188,6 +1731,9 @@ export class SeamHttpEndpoints {
1188
1731
  return seam.cool(...args);
1189
1732
  };
1190
1733
  }
1734
+ /**
1735
+ * Creates a [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1736
+ */
1191
1737
  get '/thermostats/create_climate_preset'() {
1192
1738
  const { client, defaults } = this;
1193
1739
  return function thermostatsCreateClimatePreset(...args) {
@@ -1195,6 +1741,9 @@ export class SeamHttpEndpoints {
1195
1741
  return seam.createClimatePreset(...args);
1196
1742
  };
1197
1743
  }
1744
+ /**
1745
+ * Deletes a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1746
+ */
1198
1747
  get '/thermostats/delete_climate_preset'() {
1199
1748
  const { client, defaults } = this;
1200
1749
  return function thermostatsDeleteClimatePreset(...args) {
@@ -1202,6 +1751,9 @@ export class SeamHttpEndpoints {
1202
1751
  return seam.deleteClimatePreset(...args);
1203
1752
  };
1204
1753
  }
1754
+ /**
1755
+ * Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [heat mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
1756
+ */
1205
1757
  get '/thermostats/heat'() {
1206
1758
  const { client, defaults } = this;
1207
1759
  return function thermostatsHeat(...args) {
@@ -1209,6 +1761,9 @@ export class SeamHttpEndpoints {
1209
1761
  return seam.heat(...args);
1210
1762
  };
1211
1763
  }
1764
+ /**
1765
+ * Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [heat-cool ("auto") mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
1766
+ */
1212
1767
  get '/thermostats/heat_cool'() {
1213
1768
  const { client, defaults } = this;
1214
1769
  return function thermostatsHeatCool(...args) {
@@ -1216,6 +1771,9 @@ export class SeamHttpEndpoints {
1216
1771
  return seam.heatCool(...args);
1217
1772
  };
1218
1773
  }
1774
+ /**
1775
+ * Returns a list of all [thermostats](https://docs.seam.co/capability-guides/thermostats).
1776
+ */
1219
1777
  get '/thermostats/list'() {
1220
1778
  const { client, defaults } = this;
1221
1779
  return function thermostatsList(...args) {
@@ -1223,6 +1781,9 @@ export class SeamHttpEndpoints {
1223
1781
  return seam.list(...args);
1224
1782
  };
1225
1783
  }
1784
+ /**
1785
+ * Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to ["off" mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
1786
+ */
1226
1787
  get '/thermostats/off'() {
1227
1788
  const { client, defaults } = this;
1228
1789
  return function thermostatsOff(...args) {
@@ -1230,6 +1791,9 @@ export class SeamHttpEndpoints {
1230
1791
  return seam.off(...args);
1231
1792
  };
1232
1793
  }
1794
+ /**
1795
+ * Sets a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) as the ["fallback"](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) preset for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1796
+ */
1233
1797
  get '/thermostats/set_fallback_climate_preset'() {
1234
1798
  const { client, defaults } = this;
1235
1799
  return function thermostatsSetFallbackClimatePreset(...args) {
@@ -1237,6 +1801,9 @@ export class SeamHttpEndpoints {
1237
1801
  return seam.setFallbackClimatePreset(...args);
1238
1802
  };
1239
1803
  }
1804
+ /**
1805
+ * Sets the [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1806
+ */
1240
1807
  get '/thermostats/set_fan_mode'() {
1241
1808
  const { client, defaults } = this;
1242
1809
  return function thermostatsSetFanMode(...args) {
@@ -1244,6 +1811,9 @@ export class SeamHttpEndpoints {
1244
1811
  return seam.setFanMode(...args);
1245
1812
  };
1246
1813
  }
1814
+ /**
1815
+ * Sets the [HVAC mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1816
+ */
1247
1817
  get '/thermostats/set_hvac_mode'() {
1248
1818
  const { client, defaults } = this;
1249
1819
  return function thermostatsSetHvacMode(...args) {
@@ -1251,6 +1821,9 @@ export class SeamHttpEndpoints {
1251
1821
  return seam.setHvacMode(...args);
1252
1822
  };
1253
1823
  }
1824
+ /**
1825
+ * Sets a [temperature threshold](https://docs.seam.co/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) for a specified thermostat. Seam emits a `thermostat.temperature_threshold_exceeded` event and adds a warning on a thermostat if it reports a temperature outside the threshold range.
1826
+ */
1254
1827
  get '/thermostats/set_temperature_threshold'() {
1255
1828
  const { client, defaults } = this;
1256
1829
  return function thermostatsSetTemperatureThreshold(...args) {
@@ -1258,6 +1831,9 @@ export class SeamHttpEndpoints {
1258
1831
  return seam.setTemperatureThreshold(...args);
1259
1832
  };
1260
1833
  }
1834
+ /**
1835
+ * Updates a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1836
+ */
1261
1837
  get '/thermostats/update_climate_preset'() {
1262
1838
  const { client, defaults } = this;
1263
1839
  return function thermostatsUpdateClimatePreset(...args) {
@@ -1265,6 +1841,9 @@ export class SeamHttpEndpoints {
1265
1841
  return seam.updateClimatePreset(...args);
1266
1842
  };
1267
1843
  }
1844
+ /**
1845
+ * Updates the thermostat weekly program for a thermostat device. To configure a weekly program, specify the ID of the daily program that you want to use for each day of the week. When you update a weekly program, the set of programs that you specify overwrites any previous weekly program for the thermostat.
1846
+ */
1268
1847
  get '/thermostats/update_weekly_program'() {
1269
1848
  const { client, defaults } = this;
1270
1849
  return function thermostatsUpdateWeeklyProgram(...args) {
@@ -1272,6 +1851,9 @@ export class SeamHttpEndpoints {
1272
1851
  return seam.updateWeeklyProgram(...args);
1273
1852
  };
1274
1853
  }
1854
+ /**
1855
+ * Creates a new thermostat daily program. A daily program consists of a set of periods, where each period includes a start time and the key of a configured climate preset. Once you have defined a daily program, you can assign it to one or more days within a weekly program.
1856
+ */
1275
1857
  get '/thermostats/daily_programs/create'() {
1276
1858
  const { client, defaults } = this;
1277
1859
  return function thermostatsDailyProgramsCreate(...args) {
@@ -1279,6 +1861,9 @@ export class SeamHttpEndpoints {
1279
1861
  return seam.create(...args);
1280
1862
  };
1281
1863
  }
1864
+ /**
1865
+ * Deletes a thermostat daily program.
1866
+ */
1282
1867
  get '/thermostats/daily_programs/delete'() {
1283
1868
  const { client, defaults } = this;
1284
1869
  return function thermostatsDailyProgramsDelete(...args) {
@@ -1286,6 +1871,9 @@ export class SeamHttpEndpoints {
1286
1871
  return seam.delete(...args);
1287
1872
  };
1288
1873
  }
1874
+ /**
1875
+ * Updates a specified thermostat daily program. The periods that you specify overwrite any existing periods for the daily program.
1876
+ */
1289
1877
  get '/thermostats/daily_programs/update'() {
1290
1878
  const { client, defaults } = this;
1291
1879
  return function thermostatsDailyProgramsUpdate(...args) {
@@ -1293,6 +1881,9 @@ export class SeamHttpEndpoints {
1293
1881
  return seam.update(...args);
1294
1882
  };
1295
1883
  }
1884
+ /**
1885
+ * Creates a new [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1886
+ */
1296
1887
  get '/thermostats/schedules/create'() {
1297
1888
  const { client, defaults } = this;
1298
1889
  return function thermostatsSchedulesCreate(...args) {
@@ -1300,6 +1891,9 @@ export class SeamHttpEndpoints {
1300
1891
  return seam.create(...args);
1301
1892
  };
1302
1893
  }
1894
+ /**
1895
+ * Deletes a [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1896
+ */
1303
1897
  get '/thermostats/schedules/delete'() {
1304
1898
  const { client, defaults } = this;
1305
1899
  return function thermostatsSchedulesDelete(...args) {
@@ -1307,6 +1901,9 @@ export class SeamHttpEndpoints {
1307
1901
  return seam.delete(...args);
1308
1902
  };
1309
1903
  }
1904
+ /**
1905
+ * Returns a specified [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
1906
+ */
1310
1907
  get '/thermostats/schedules/get'() {
1311
1908
  const { client, defaults } = this;
1312
1909
  return function thermostatsSchedulesGet(...args) {
@@ -1314,6 +1911,9 @@ export class SeamHttpEndpoints {
1314
1911
  return seam.get(...args);
1315
1912
  };
1316
1913
  }
1914
+ /**
1915
+ * Returns a list of all [thermostat schedules](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
1916
+ */
1317
1917
  get '/thermostats/schedules/list'() {
1318
1918
  const { client, defaults } = this;
1319
1919
  return function thermostatsSchedulesList(...args) {
@@ -1321,6 +1921,9 @@ export class SeamHttpEndpoints {
1321
1921
  return seam.list(...args);
1322
1922
  };
1323
1923
  }
1924
+ /**
1925
+ * Updates a specified [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
1926
+ */
1324
1927
  get '/thermostats/schedules/update'() {
1325
1928
  const { client, defaults } = this;
1326
1929
  return function thermostatsSchedulesUpdate(...args) {
@@ -1328,6 +1931,9 @@ export class SeamHttpEndpoints {
1328
1931
  return seam.update(...args);
1329
1932
  };
1330
1933
  }
1934
+ /**
1935
+ * Simulates having adjusted the [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) for a [thermostat](https://docs.seam.co/capability-guides/thermostats). Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).
1936
+ */
1331
1937
  get '/thermostats/simulate/hvac_mode_adjusted'() {
1332
1938
  const { client, defaults } = this;
1333
1939
  return function thermostatsSimulateHvacModeAdjusted(...args) {
@@ -1335,6 +1941,9 @@ export class SeamHttpEndpoints {
1335
1941
  return seam.hvacModeAdjusted(...args);
1336
1942
  };
1337
1943
  }
1944
+ /**
1945
+ * Simulates a [thermostat](https://docs.seam.co/capability-guides/thermostats) reaching a specified temperature. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).
1946
+ */
1338
1947
  get '/thermostats/simulate/temperature_reached'() {
1339
1948
  const { client, defaults } = this;
1340
1949
  return function thermostatsSimulateTemperatureReached(...args) {
@@ -1342,6 +1951,13 @@ export class SeamHttpEndpoints {
1342
1951
  return seam.temperatureReached(...args);
1343
1952
  };
1344
1953
  }
1954
+ /**
1955
+ * Adds a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) to a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
1956
+ *
1957
+ * You must specify either `user_identity_id` or `user_identity_key` to identify the user identity.
1958
+ *
1959
+ * If `user_identity_key` is provided, but the user identity doesn't exist, a new user identity will be created automatically using information from the ACS user.
1960
+ */
1345
1961
  get '/user_identities/add_acs_user'() {
1346
1962
  const { client, defaults } = this;
1347
1963
  return function userIdentitiesAddAcsUser(...args) {
@@ -1349,6 +1965,9 @@ export class SeamHttpEndpoints {
1349
1965
  return seam.addAcsUser(...args);
1350
1966
  };
1351
1967
  }
1968
+ /**
1969
+ * Creates a new [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
1970
+ */
1352
1971
  get '/user_identities/create'() {
1353
1972
  const { client, defaults } = this;
1354
1973
  return function userIdentitiesCreate(...args) {
@@ -1356,6 +1975,9 @@ export class SeamHttpEndpoints {
1356
1975
  return seam.create(...args);
1357
1976
  };
1358
1977
  }
1978
+ /**
1979
+ * Deletes a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This deletes the user identity and all associated resources, including any [credentials](https://docs.seam.co/api/acs/credentials), [acs users](https://docs.seam.co/api/acs/users) and [client sessions](https://docs.seam.co/api/client_sessions).
1980
+ */
1359
1981
  get '/user_identities/delete'() {
1360
1982
  const { client, defaults } = this;
1361
1983
  return function userIdentitiesDelete(...args) {
@@ -1363,6 +1985,9 @@ export class SeamHttpEndpoints {
1363
1985
  return seam.delete(...args);
1364
1986
  };
1365
1987
  }
1988
+ /**
1989
+ * Generates a new [instant key](https://docs.seam.co/capability-guides/instant-keys) for a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
1990
+ */
1366
1991
  get '/user_identities/generate_instant_key'() {
1367
1992
  const { client, defaults } = this;
1368
1993
  return function userIdentitiesGenerateInstantKey(...args) {
@@ -1370,6 +1995,9 @@ export class SeamHttpEndpoints {
1370
1995
  return seam.generateInstantKey(...args);
1371
1996
  };
1372
1997
  }
1998
+ /**
1999
+ * Returns a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
2000
+ */
1373
2001
  get '/user_identities/get'() {
1374
2002
  const { client, defaults } = this;
1375
2003
  return function userIdentitiesGet(...args) {
@@ -1377,6 +2005,9 @@ export class SeamHttpEndpoints {
1377
2005
  return seam.get(...args);
1378
2006
  };
1379
2007
  }
2008
+ /**
2009
+ * Grants a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) access to a specified [device](https://docs.seam.co/core-concepts/devices/).
2010
+ */
1380
2011
  get '/user_identities/grant_access_to_device'() {
1381
2012
  const { client, defaults } = this;
1382
2013
  return function userIdentitiesGrantAccessToDevice(...args) {
@@ -1384,6 +2015,9 @@ export class SeamHttpEndpoints {
1384
2015
  return seam.grantAccessToDevice(...args);
1385
2016
  };
1386
2017
  }
2018
+ /**
2019
+ * Returns a list of all [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
2020
+ */
1387
2021
  get '/user_identities/list'() {
1388
2022
  const { client, defaults } = this;
1389
2023
  return function userIdentitiesList(...args) {
@@ -1391,6 +2025,9 @@ export class SeamHttpEndpoints {
1391
2025
  return seam.list(...args);
1392
2026
  };
1393
2027
  }
2028
+ /**
2029
+ * Returns a list of all [devices](https://docs.seam.co/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes devices derived from the access grants assigned to the user identity and devices directly linked to the user identity.
2030
+ */
1394
2031
  get '/user_identities/list_accessible_devices'() {
1395
2032
  const { client, defaults } = this;
1396
2033
  return function userIdentitiesListAccessibleDevices(...args) {
@@ -1398,6 +2035,9 @@ export class SeamHttpEndpoints {
1398
2035
  return seam.listAccessibleDevices(...args);
1399
2036
  };
1400
2037
  }
2038
+ /**
2039
+ * Returns a list of all [ACS entrances](https://docs.seam.co/api/acs/entrances) accessible to a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes entrances derived from the access grants assigned to the user identity and entrances accessible through ACS users linked to the user identity.
2040
+ */
1401
2041
  get '/user_identities/list_accessible_entrances'() {
1402
2042
  const { client, defaults } = this;
1403
2043
  return function userIdentitiesListAccessibleEntrances(...args) {
@@ -1405,6 +2045,9 @@ export class SeamHttpEndpoints {
1405
2045
  return seam.listAccessibleEntrances(...args);
1406
2046
  };
1407
2047
  }
2048
+ /**
2049
+ * Returns a list of all [access systems](https://docs.seam.co/low-level-apis/access-systems) associated with a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
2050
+ */
1408
2051
  get '/user_identities/list_acs_systems'() {
1409
2052
  const { client, defaults } = this;
1410
2053
  return function userIdentitiesListAcsSystems(...args) {
@@ -1412,6 +2055,9 @@ export class SeamHttpEndpoints {
1412
2055
  return seam.listAcsSystems(...args);
1413
2056
  };
1414
2057
  }
2058
+ /**
2059
+ * Returns a list of all [access system users](https://docs.seam.co/low-level-apis/access-systems/user-management) assigned to a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
2060
+ */
1415
2061
  get '/user_identities/list_acs_users'() {
1416
2062
  const { client, defaults } = this;
1417
2063
  return function userIdentitiesListAcsUsers(...args) {
@@ -1419,6 +2065,9 @@ export class SeamHttpEndpoints {
1419
2065
  return seam.listAcsUsers(...args);
1420
2066
  };
1421
2067
  }
2068
+ /**
2069
+ * Removes a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) from a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
2070
+ */
1422
2071
  get '/user_identities/remove_acs_user'() {
1423
2072
  const { client, defaults } = this;
1424
2073
  return function userIdentitiesRemoveAcsUser(...args) {
@@ -1426,6 +2075,9 @@ export class SeamHttpEndpoints {
1426
2075
  return seam.removeAcsUser(...args);
1427
2076
  };
1428
2077
  }
2078
+ /**
2079
+ * Revokes access to a specified [device](https://docs.seam.co/core-concepts/devices/) from a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
2080
+ */
1429
2081
  get '/user_identities/revoke_access_to_device'() {
1430
2082
  const { client, defaults } = this;
1431
2083
  return function userIdentitiesRevokeAccessToDevice(...args) {
@@ -1433,6 +2085,9 @@ export class SeamHttpEndpoints {
1433
2085
  return seam.revokeAccessToDevice(...args);
1434
2086
  };
1435
2087
  }
2088
+ /**
2089
+ * Updates a specified [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).
2090
+ */
1436
2091
  get '/user_identities/update'() {
1437
2092
  const { client, defaults } = this;
1438
2093
  return function userIdentitiesUpdate(...args) {
@@ -1440,6 +2095,9 @@ export class SeamHttpEndpoints {
1440
2095
  return seam.update(...args);
1441
2096
  };
1442
2097
  }
2098
+ /**
2099
+ * Returns a specified unmanaged [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) (where is_managed = false).
2100
+ */
1443
2101
  get '/user_identities/unmanaged/get'() {
1444
2102
  const { client, defaults } = this;
1445
2103
  return function userIdentitiesUnmanagedGet(...args) {
@@ -1447,6 +2105,9 @@ export class SeamHttpEndpoints {
1447
2105
  return seam.get(...args);
1448
2106
  };
1449
2107
  }
2108
+ /**
2109
+ * Returns a list of all unmanaged [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) (where is_managed = false).
2110
+ */
1450
2111
  get '/user_identities/unmanaged/list'() {
1451
2112
  const { client, defaults } = this;
1452
2113
  return function userIdentitiesUnmanagedList(...args) {
@@ -1454,6 +2115,11 @@ export class SeamHttpEndpoints {
1454
2115
  return seam.list(...args);
1455
2116
  };
1456
2117
  }
2118
+ /**
2119
+ * Updates an unmanaged [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.
2120
+ *
2121
+ * This endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.
2122
+ */
1457
2123
  get '/user_identities/unmanaged/update'() {
1458
2124
  const { client, defaults } = this;
1459
2125
  return function userIdentitiesUnmanagedUpdate(...args) {
@@ -1461,6 +2127,9 @@ export class SeamHttpEndpoints {
1461
2127
  return seam.update(...args);
1462
2128
  };
1463
2129
  }
2130
+ /**
2131
+ * Creates a new [webhook](https://docs.seam.co/developer-tools/webhooks).
2132
+ */
1464
2133
  get '/webhooks/create'() {
1465
2134
  const { client, defaults } = this;
1466
2135
  return function webhooksCreate(...args) {
@@ -1468,6 +2137,9 @@ export class SeamHttpEndpoints {
1468
2137
  return seam.create(...args);
1469
2138
  };
1470
2139
  }
2140
+ /**
2141
+ * Deletes a specified [webhook](https://docs.seam.co/developer-tools/webhooks).
2142
+ */
1471
2143
  get '/webhooks/delete'() {
1472
2144
  const { client, defaults } = this;
1473
2145
  return function webhooksDelete(...args) {
@@ -1475,6 +2147,9 @@ export class SeamHttpEndpoints {
1475
2147
  return seam.delete(...args);
1476
2148
  };
1477
2149
  }
2150
+ /**
2151
+ * Gets a specified [webhook](https://docs.seam.co/developer-tools/webhooks).
2152
+ */
1478
2153
  get '/webhooks/get'() {
1479
2154
  const { client, defaults } = this;
1480
2155
  return function webhooksGet(...args) {
@@ -1482,6 +2157,9 @@ export class SeamHttpEndpoints {
1482
2157
  return seam.get(...args);
1483
2158
  };
1484
2159
  }
2160
+ /**
2161
+ * Returns a list of all [webhooks](https://docs.seam.co/developer-tools/webhooks).
2162
+ */
1485
2163
  get '/webhooks/list'() {
1486
2164
  const { client, defaults } = this;
1487
2165
  return function webhooksList(...args) {
@@ -1489,6 +2167,9 @@ export class SeamHttpEndpoints {
1489
2167
  return seam.list(...args);
1490
2168
  };
1491
2169
  }
2170
+ /**
2171
+ * Updates a specified [webhook](https://docs.seam.co/developer-tools/webhooks).
2172
+ */
1492
2173
  get '/webhooks/update'() {
1493
2174
  const { client, defaults } = this;
1494
2175
  return function webhooksUpdate(...args) {
@@ -1496,6 +2177,9 @@ export class SeamHttpEndpoints {
1496
2177
  return seam.update(...args);
1497
2178
  };
1498
2179
  }
2180
+ /**
2181
+ * Creates a new [workspace](https://docs.seam.co/core-concepts/workspaces).
2182
+ */
1499
2183
  get '/workspaces/create'() {
1500
2184
  const { client, defaults } = this;
1501
2185
  return function workspacesCreate(...args) {
@@ -1503,6 +2187,9 @@ export class SeamHttpEndpoints {
1503
2187
  return seam.create(...args);
1504
2188
  };
1505
2189
  }
2190
+ /**
2191
+ * Returns the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the authentication value.
2192
+ */
1506
2193
  get '/workspaces/get'() {
1507
2194
  const { client, defaults } = this;
1508
2195
  return function workspacesGet(...args) {
@@ -1510,6 +2197,9 @@ export class SeamHttpEndpoints {
1510
2197
  return seam.get(...args);
1511
2198
  };
1512
2199
  }
2200
+ /**
2201
+ * Returns a list of [workspaces](https://docs.seam.co/core-concepts/workspaces) associated with the authentication value.
2202
+ */
1513
2203
  get '/workspaces/list'() {
1514
2204
  const { client, defaults } = this;
1515
2205
  return function workspacesList(...args) {
@@ -1517,6 +2207,9 @@ export class SeamHttpEndpoints {
1517
2207
  return seam.list(...args);
1518
2208
  };
1519
2209
  }
2210
+ /**
2211
+ * Resets the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) associated with the authentication value. Note that this endpoint is only available for sandbox workspaces.
2212
+ */
1520
2213
  get '/workspaces/reset_sandbox'() {
1521
2214
  const { client, defaults } = this;
1522
2215
  return function workspacesResetSandbox(...args) {
@@ -1524,6 +2217,9 @@ export class SeamHttpEndpoints {
1524
2217
  return seam.resetSandbox(...args);
1525
2218
  };
1526
2219
  }
2220
+ /**
2221
+ * Updates the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the authentication value.
2222
+ */
1527
2223
  get '/workspaces/update'() {
1528
2224
  const { client, defaults } = this;
1529
2225
  return function workspacesUpdate(...args) {