@seamapi/http 2.1.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (911) hide show
  1. package/README.md +18 -0
  2. package/index.d.ts +2 -1
  3. package/index.js +2 -1
  4. package/index.js.map +1 -1
  5. package/lib/api-error-types.js.map +1 -0
  6. package/lib/auth.d.ts +12 -0
  7. package/lib/auth.js.map +1 -0
  8. package/lib/client.d.ts +12 -0
  9. package/lib/client.js +21 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/error-interceptor.js.map +1 -0
  12. package/lib/index.js.map +1 -0
  13. package/lib/openapi.js.map +1 -0
  14. package/lib/options.d.ts +54 -0
  15. package/lib/options.js +108 -0
  16. package/lib/options.js.map +1 -0
  17. package/lib/parse-options.d.ts +17 -0
  18. package/lib/parse-options.js +118 -0
  19. package/lib/parse-options.js.map +1 -0
  20. package/lib/request-options.d.ts +5 -0
  21. package/lib/request-options.js +7 -0
  22. package/lib/request-options.js.map +1 -0
  23. package/lib/resolve-action-attempt.d.ts +31 -0
  24. package/lib/resolve-action-attempt.js.map +1 -0
  25. package/lib/resources/access-code.d.ts +934 -0
  26. package/lib/resources/access-code.js.map +1 -0
  27. package/lib/resources/access-grant.d.ts +367 -0
  28. package/lib/resources/access-grant.js.map +1 -0
  29. package/lib/resources/access-method.d.ts +269 -0
  30. package/lib/resources/access-method.js.map +1 -0
  31. package/lib/resources/acs-access-group.d.ts +322 -0
  32. package/lib/resources/acs-access-group.js.map +1 -0
  33. package/lib/resources/acs-credential.d.ts +280 -0
  34. package/lib/resources/acs-credential.js.map +1 -0
  35. package/lib/resources/acs-encoder.d.ts +59 -0
  36. package/lib/resources/acs-encoder.js.map +1 -0
  37. package/lib/resources/acs-entrance.d.ts +406 -0
  38. package/lib/resources/acs-entrance.js.map +1 -0
  39. package/lib/resources/acs-system.d.ts +290 -0
  40. package/lib/resources/acs-system.js.map +1 -0
  41. package/lib/resources/acs-user.d.ts +523 -0
  42. package/lib/resources/acs-user.js.map +1 -0
  43. package/lib/resources/action-attempt.d.ts +1374 -0
  44. package/lib/resources/action-attempt.js.map +1 -0
  45. package/lib/resources/batch.d.ts +57 -0
  46. package/lib/resources/batch.js.map +1 -0
  47. package/lib/resources/client-session.d.ts +62 -0
  48. package/lib/resources/client-session.js.map +1 -0
  49. package/lib/resources/connect-webview.d.ts +91 -0
  50. package/lib/resources/connect-webview.js.map +1 -0
  51. package/lib/resources/connected-account.d.ts +367 -0
  52. package/lib/resources/connected-account.js.map +1 -0
  53. package/lib/resources/customer-portal.d.ts +29 -0
  54. package/lib/resources/customer-portal.js.map +1 -0
  55. package/lib/resources/device-provider.d.ts +98 -0
  56. package/lib/resources/device-provider.js.map +1 -0
  57. package/lib/resources/device.d.ts +2785 -0
  58. package/lib/resources/device.js.map +1 -0
  59. package/lib/resources/event.d.ts +5627 -0
  60. package/lib/resources/event.js.map +1 -0
  61. package/lib/resources/index.js.map +1 -0
  62. package/lib/resources/instant-key.d.ts +56 -0
  63. package/lib/resources/instant-key.js.map +1 -0
  64. package/lib/resources/noise-threshold.d.ts +33 -0
  65. package/lib/resources/noise-threshold.js.map +1 -0
  66. package/lib/resources/phone.d.ts +103 -0
  67. package/lib/resources/phone.js.map +1 -0
  68. package/lib/resources/space.d.ts +75 -0
  69. package/lib/resources/space.js.map +1 -0
  70. package/lib/resources/thermostat-daily-program.d.ts +38 -0
  71. package/lib/resources/thermostat-daily-program.js.map +1 -0
  72. package/lib/resources/thermostat-schedule.d.ts +62 -0
  73. package/lib/resources/thermostat-schedule.js.map +1 -0
  74. package/lib/resources/unmanaged-access-code.d.ts +746 -0
  75. package/lib/resources/unmanaged-access-code.js.map +1 -0
  76. package/lib/resources/unmanaged-access-grant.d.ts +351 -0
  77. package/lib/resources/unmanaged-access-grant.js.map +1 -0
  78. package/lib/resources/unmanaged-access-method.d.ts +257 -0
  79. package/lib/resources/unmanaged-access-method.js.map +1 -0
  80. package/lib/resources/unmanaged-device.d.ts +939 -0
  81. package/lib/resources/unmanaged-device.js.map +1 -0
  82. package/lib/resources/unmanaged-user-identity.d.ts +102 -0
  83. package/lib/resources/unmanaged-user-identity.js.map +1 -0
  84. package/lib/resources/user-identity.d.ts +106 -0
  85. package/lib/resources/user-identity.js.map +1 -0
  86. package/lib/resources/webhook.d.ts +21 -0
  87. package/lib/resources/webhook.js.map +1 -0
  88. package/lib/resources/workspace.d.ts +63 -0
  89. package/lib/resources/workspace.js.map +1 -0
  90. package/lib/routes/access-codes/access-codes.d.ts +495 -0
  91. package/lib/routes/access-codes/access-codes.js +247 -0
  92. package/lib/routes/access-codes/access-codes.js.map +1 -0
  93. package/lib/routes/access-codes/index.js.map +1 -0
  94. package/lib/routes/access-codes/simulate/index.js.map +1 -0
  95. package/lib/routes/access-codes/simulate/simulate.d.ts +47 -0
  96. package/lib/routes/access-codes/simulate/simulate.js +101 -0
  97. package/lib/routes/access-codes/simulate/simulate.js.map +1 -0
  98. package/lib/routes/access-codes/unmanaged/index.js.map +1 -0
  99. package/lib/routes/access-codes/unmanaged/unmanaged.d.ts +164 -0
  100. package/lib/routes/access-codes/unmanaged/unmanaged.js +155 -0
  101. package/lib/routes/access-codes/unmanaged/unmanaged.js.map +1 -0
  102. package/lib/routes/access-grants/access-grants.d.ts +339 -0
  103. package/lib/routes/access-grants/access-grants.js +177 -0
  104. package/lib/routes/access-grants/access-grants.js.map +1 -0
  105. package/lib/routes/access-grants/index.js.map +1 -0
  106. package/lib/routes/access-grants/unmanaged/index.js.map +1 -0
  107. package/lib/routes/access-grants/unmanaged/unmanaged.d.ts +107 -0
  108. package/lib/routes/access-grants/unmanaged/unmanaged.js +129 -0
  109. package/lib/routes/access-grants/unmanaged/unmanaged.js.map +1 -0
  110. package/lib/routes/access-methods/access-methods.d.ts +202 -0
  111. package/lib/routes/access-methods/access-methods.js +190 -0
  112. package/lib/routes/access-methods/access-methods.js.map +1 -0
  113. package/lib/routes/access-methods/index.js.map +1 -0
  114. package/lib/routes/access-methods/unmanaged/index.js.map +1 -0
  115. package/lib/routes/access-methods/unmanaged/unmanaged.d.ts +70 -0
  116. package/lib/routes/access-methods/unmanaged/unmanaged.js +113 -0
  117. package/lib/routes/access-methods/unmanaged/unmanaged.js.map +1 -0
  118. package/lib/routes/acs/access-groups/access-groups.d.ts +177 -0
  119. package/lib/routes/acs/access-groups/access-groups.js +173 -0
  120. package/lib/routes/acs/access-groups/access-groups.js.map +1 -0
  121. package/lib/routes/acs/access-groups/index.js.map +1 -0
  122. package/lib/routes/acs/acs.d.ts +31 -0
  123. package/lib/routes/acs/acs.js +112 -0
  124. package/lib/routes/acs/acs.js.map +1 -0
  125. package/lib/routes/acs/credentials/credentials.d.ts +281 -0
  126. package/lib/routes/acs/credentials/credentials.js +185 -0
  127. package/lib/routes/acs/credentials/credentials.js.map +1 -0
  128. package/lib/routes/acs/credentials/index.js.map +1 -0
  129. package/lib/routes/acs/encoders/encoders.d.ts +165 -0
  130. package/lib/routes/acs/encoders/encoders.js +166 -0
  131. package/lib/routes/acs/encoders/encoders.js.map +1 -0
  132. package/lib/routes/acs/encoders/index.js.map +1 -0
  133. package/lib/routes/acs/encoders/simulate/index.js.map +1 -0
  134. package/lib/routes/acs/encoders/simulate/simulate.d.ts +109 -0
  135. package/lib/routes/acs/encoders/simulate/simulate.js +137 -0
  136. package/lib/routes/acs/encoders/simulate/simulate.js.map +1 -0
  137. package/lib/routes/acs/entrances/entrances.d.ts +170 -0
  138. package/lib/routes/acs/entrances/entrances.js +154 -0
  139. package/lib/routes/acs/entrances/entrances.js.map +1 -0
  140. package/lib/routes/acs/entrances/index.js.map +1 -0
  141. package/lib/routes/acs/index.js.map +1 -0
  142. package/lib/routes/acs/systems/index.js.map +1 -0
  143. package/lib/routes/acs/systems/systems.d.ts +150 -0
  144. package/lib/routes/acs/systems/systems.js +141 -0
  145. package/lib/routes/acs/systems/systems.js.map +1 -0
  146. package/lib/routes/acs/users/index.js.map +1 -0
  147. package/lib/routes/acs/users/users.d.ts +382 -0
  148. package/lib/routes/acs/users/users.js +221 -0
  149. package/lib/routes/acs/users/users.js.map +1 -0
  150. package/lib/routes/action-attempts/action-attempts.d.ts +69 -0
  151. package/lib/routes/action-attempts/action-attempts.js +117 -0
  152. package/lib/routes/action-attempts/action-attempts.js.map +1 -0
  153. package/lib/routes/action-attempts/index.js.map +1 -0
  154. package/lib/routes/client-sessions/client-sessions.d.ts +240 -0
  155. package/lib/routes/client-sessions/client-sessions.js +174 -0
  156. package/lib/routes/client-sessions/client-sessions.js.map +1 -0
  157. package/lib/routes/client-sessions/index.js.map +1 -0
  158. package/lib/routes/connect-webviews/connect-webviews.d.ts +160 -0
  159. package/lib/routes/connect-webviews/connect-webviews.js +147 -0
  160. package/lib/routes/connect-webviews/connect-webviews.js.map +1 -0
  161. package/lib/routes/connect-webviews/index.js.map +1 -0
  162. package/lib/routes/connected-accounts/connected-accounts.d.ts +163 -0
  163. package/lib/routes/connected-accounts/connected-accounts.js +157 -0
  164. package/lib/routes/connected-accounts/connected-accounts.js.map +1 -0
  165. package/lib/routes/connected-accounts/index.js.map +1 -0
  166. package/lib/routes/connected-accounts/simulate/index.js.map +1 -0
  167. package/lib/routes/connected-accounts/simulate/simulate.d.ts +36 -0
  168. package/lib/routes/connected-accounts/simulate/simulate.js +101 -0
  169. package/lib/routes/connected-accounts/simulate/simulate.js.map +1 -0
  170. package/lib/routes/customers/customers.d.ts +1511 -0
  171. package/lib/routes/customers/customers.js +126 -0
  172. package/lib/routes/customers/customers.js.map +1 -0
  173. package/lib/routes/customers/index.js.map +1 -0
  174. package/lib/routes/devices/devices.d.ts +242 -0
  175. package/lib/routes/devices/devices.js +165 -0
  176. package/lib/routes/devices/devices.js.map +1 -0
  177. package/lib/routes/devices/index.js.map +1 -0
  178. package/lib/routes/devices/simulate/index.js.map +1 -0
  179. package/lib/routes/devices/simulate/simulate.d.ts +128 -0
  180. package/lib/routes/devices/simulate/simulate.js +170 -0
  181. package/lib/routes/devices/simulate/simulate.js.map +1 -0
  182. package/lib/routes/devices/unmanaged/index.js.map +1 -0
  183. package/lib/routes/devices/unmanaged/unmanaged.d.ts +155 -0
  184. package/lib/routes/devices/unmanaged/unmanaged.js +133 -0
  185. package/lib/routes/devices/unmanaged/unmanaged.js.map +1 -0
  186. package/lib/routes/events/events.d.ts +174 -0
  187. package/lib/routes/events/events.js +113 -0
  188. package/lib/routes/events/events.js.map +1 -0
  189. package/lib/routes/events/index.js.map +1 -0
  190. package/lib/routes/index.js.map +1 -0
  191. package/lib/routes/instant-keys/index.js.map +1 -0
  192. package/lib/routes/instant-keys/instant-keys.d.ts +79 -0
  193. package/lib/routes/instant-keys/instant-keys.js +125 -0
  194. package/lib/routes/instant-keys/instant-keys.js.map +1 -0
  195. package/lib/routes/locks/index.js.map +1 -0
  196. package/lib/routes/locks/locks.d.ts +188 -0
  197. package/lib/routes/locks/locks.js +167 -0
  198. package/lib/routes/locks/locks.js.map +1 -0
  199. package/lib/routes/locks/simulate/index.js.map +1 -0
  200. package/lib/routes/locks/simulate/simulate.d.ts +60 -0
  201. package/lib/routes/locks/simulate/simulate.js +122 -0
  202. package/lib/routes/locks/simulate/simulate.js.map +1 -0
  203. package/lib/routes/noise-sensors/index.js.map +1 -0
  204. package/lib/routes/noise-sensors/noise-sensors.d.ts +103 -0
  205. package/lib/routes/noise-sensors/noise-sensors.js +109 -0
  206. package/lib/routes/noise-sensors/noise-sensors.js.map +1 -0
  207. package/lib/routes/noise-sensors/noise-thresholds/index.js.map +1 -0
  208. package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +159 -0
  209. package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.js +149 -0
  210. package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -0
  211. package/lib/routes/noise-sensors/simulate/index.js.map +1 -0
  212. package/lib/routes/noise-sensors/simulate/simulate.d.ts +36 -0
  213. package/lib/routes/noise-sensors/simulate/simulate.js +101 -0
  214. package/lib/routes/noise-sensors/simulate/simulate.js.map +1 -0
  215. package/lib/routes/phones/index.js.map +1 -0
  216. package/lib/routes/phones/phones.d.ts +81 -0
  217. package/lib/routes/phones/phones.js +129 -0
  218. package/lib/routes/phones/phones.js.map +1 -0
  219. package/lib/routes/phones/simulate/index.js.map +1 -0
  220. package/lib/routes/phones/simulate/simulate.d.ts +93 -0
  221. package/lib/routes/phones/simulate/simulate.js +101 -0
  222. package/lib/routes/phones/simulate/simulate.js.map +1 -0
  223. package/lib/routes/seam-http-endpoints-without-workspace.d.ts +23 -0
  224. package/lib/routes/seam-http-endpoints-without-workspace.js +62 -0
  225. package/lib/routes/seam-http-endpoints-without-workspace.js.map +1 -0
  226. package/lib/routes/seam-http-endpoints.d.ts +960 -0
  227. package/lib/routes/seam-http-endpoints.js +2231 -0
  228. package/lib/routes/seam-http-endpoints.js.map +1 -0
  229. package/lib/routes/seam-http-without-workspace.d.ts +18 -0
  230. package/lib/routes/seam-http-without-workspace.js +49 -0
  231. package/lib/routes/seam-http-without-workspace.js.map +1 -0
  232. package/lib/routes/seam-http.d.ts +59 -0
  233. package/lib/routes/seam-http.js +167 -0
  234. package/lib/routes/seam-http.js.map +1 -0
  235. package/lib/routes/spaces/index.js.map +1 -0
  236. package/lib/routes/spaces/spaces.d.ts +363 -0
  237. package/lib/routes/spaces/spaces.js +233 -0
  238. package/lib/routes/spaces/spaces.js.map +1 -0
  239. package/lib/routes/thermostats/daily-programs/daily-programs.d.ts +109 -0
  240. package/lib/routes/thermostats/daily-programs/daily-programs.js +130 -0
  241. package/lib/routes/thermostats/daily-programs/daily-programs.js.map +1 -0
  242. package/lib/routes/thermostats/daily-programs/index.js.map +1 -0
  243. package/lib/routes/thermostats/index.js.map +1 -0
  244. package/lib/routes/thermostats/schedules/index.js.map +1 -0
  245. package/lib/routes/thermostats/schedules/schedules.d.ts +163 -0
  246. package/lib/routes/thermostats/schedules/schedules.js +149 -0
  247. package/lib/routes/thermostats/schedules/schedules.js.map +1 -0
  248. package/lib/routes/thermostats/simulate/index.js.map +1 -0
  249. package/lib/routes/thermostats/simulate/simulate.d.ts +81 -0
  250. package/lib/routes/thermostats/simulate/simulate.js +113 -0
  251. package/lib/routes/thermostats/simulate/simulate.js.map +1 -0
  252. package/lib/routes/thermostats/thermostats.d.ts +565 -0
  253. package/lib/routes/thermostats/thermostats.js +302 -0
  254. package/lib/routes/thermostats/thermostats.js.map +1 -0
  255. package/lib/routes/user-identities/index.js.map +1 -0
  256. package/lib/routes/user-identities/unmanaged/index.js.map +1 -0
  257. package/lib/routes/user-identities/unmanaged/unmanaged.d.ts +97 -0
  258. package/lib/routes/user-identities/unmanaged/unmanaged.js +127 -0
  259. package/lib/routes/user-identities/unmanaged/unmanaged.js.map +1 -0
  260. package/lib/routes/user-identities/user-identities.d.ts +363 -0
  261. package/lib/routes/user-identities/user-identities.js +265 -0
  262. package/lib/routes/user-identities/user-identities.js.map +1 -0
  263. package/lib/routes/webhooks/index.js.map +1 -0
  264. package/lib/routes/webhooks/webhooks.d.ts +114 -0
  265. package/lib/routes/webhooks/webhooks.js +149 -0
  266. package/lib/routes/webhooks/webhooks.js.map +1 -0
  267. package/lib/routes/workspaces/index.js.map +1 -0
  268. package/lib/routes/workspaces/workspaces.d.ts +189 -0
  269. package/lib/routes/workspaces/workspaces.js +154 -0
  270. package/lib/routes/workspaces/workspaces.js.map +1 -0
  271. package/lib/seam-http-error.js.map +1 -0
  272. package/lib/seam-http-request.d.ts +34 -0
  273. package/lib/seam-http-request.js +101 -0
  274. package/lib/seam-http-request.js.map +1 -0
  275. package/lib/seam-paginator.js.map +1 -0
  276. package/lib/token.js.map +1 -0
  277. package/lib/version.d.ts +1 -1
  278. package/lib/version.js +1 -1
  279. package/package.json +8 -11
  280. package/src/index.ts +2 -1
  281. package/src/lib/auth.ts +280 -0
  282. package/src/lib/client.ts +36 -0
  283. package/src/lib/options.ts +242 -0
  284. package/src/lib/parse-options.ts +182 -0
  285. package/src/lib/request-options.ts +14 -0
  286. package/src/lib/resolve-action-attempt.ts +129 -0
  287. package/src/lib/resources/access-code.ts +1088 -0
  288. package/src/lib/resources/access-grant.ts +437 -0
  289. package/src/lib/resources/access-method.ts +312 -0
  290. package/src/lib/resources/acs-access-group.ts +402 -0
  291. package/src/lib/resources/acs-credential.ts +332 -0
  292. package/src/lib/resources/acs-encoder.ts +72 -0
  293. package/src/lib/resources/acs-entrance.ts +469 -0
  294. package/src/lib/resources/acs-system.ts +377 -0
  295. package/src/lib/resources/acs-user.ts +627 -0
  296. package/src/lib/resources/action-attempt.ts +1672 -0
  297. package/src/lib/resources/batch.ts +65 -0
  298. package/src/lib/resources/client-session.ts +75 -0
  299. package/src/lib/resources/connect-webview.ts +110 -0
  300. package/src/lib/resources/connected-account.ts +425 -0
  301. package/src/lib/resources/customer-portal.ts +38 -0
  302. package/src/lib/resources/device-provider.ts +178 -0
  303. package/src/lib/resources/device.ts +3217 -0
  304. package/src/lib/resources/event.ts +6743 -0
  305. package/src/lib/resources/instant-key.ts +69 -0
  306. package/src/lib/resources/noise-threshold.ts +43 -0
  307. package/src/lib/resources/phone.ts +126 -0
  308. package/src/lib/resources/space.ts +92 -0
  309. package/src/lib/resources/thermostat-daily-program.ts +48 -0
  310. package/src/lib/resources/thermostat-schedule.ts +76 -0
  311. package/src/lib/resources/unmanaged-access-code.ts +870 -0
  312. package/src/lib/resources/unmanaged-access-grant.ts +420 -0
  313. package/src/lib/resources/unmanaged-access-method.ts +300 -0
  314. package/src/lib/resources/unmanaged-device.ts +1157 -0
  315. package/src/lib/resources/unmanaged-user-identity.ts +124 -0
  316. package/src/lib/resources/user-identity.ts +128 -0
  317. package/src/lib/resources/webhook.ts +27 -0
  318. package/src/lib/resources/workspace.ts +75 -0
  319. package/src/lib/routes/access-codes/access-codes.ts +818 -0
  320. package/src/lib/routes/access-codes/simulate/simulate.ts +211 -0
  321. package/src/lib/routes/access-codes/unmanaged/unmanaged.ts +395 -0
  322. package/src/lib/routes/access-grants/access-grants.ts +640 -0
  323. package/src/lib/routes/access-grants/unmanaged/unmanaged.ts +305 -0
  324. package/src/lib/routes/access-methods/access-methods.ts +523 -0
  325. package/src/lib/routes/access-methods/unmanaged/unmanaged.ts +250 -0
  326. package/src/lib/routes/acs/access-groups/access-groups.ts +435 -0
  327. package/src/lib/routes/acs/acs.ts +193 -0
  328. package/src/lib/routes/acs/credentials/credentials.ts +569 -0
  329. package/src/lib/routes/acs/encoders/encoders.ts +429 -0
  330. package/src/lib/routes/acs/encoders/simulate/simulate.ts +335 -0
  331. package/src/lib/routes/acs/entrances/entrances.ts +406 -0
  332. package/src/lib/routes/acs/systems/systems.ts +367 -0
  333. package/src/lib/routes/acs/users/users.ts +710 -0
  334. package/src/lib/routes/action-attempts/action-attempts.ts +254 -0
  335. package/src/lib/routes/client-sessions/client-sessions.ts +495 -0
  336. package/src/lib/routes/connect-webviews/connect-webviews.ts +452 -0
  337. package/src/lib/routes/connected-accounts/connected-accounts.ts +399 -0
  338. package/src/lib/routes/connected-accounts/simulate/simulate.ts +200 -0
  339. package/src/lib/routes/customers/customers.ts +1838 -0
  340. package/src/lib/routes/devices/devices.ts +1918 -0
  341. package/src/lib/routes/devices/simulate/simulate.ts +371 -0
  342. package/src/lib/routes/devices/unmanaged/unmanaged.ts +486 -0
  343. package/src/lib/routes/events/events.ts +565 -0
  344. package/src/lib/routes/instant-keys/instant-keys.ts +269 -0
  345. package/src/lib/routes/locks/locks.ts +532 -0
  346. package/src/lib/routes/locks/simulate/simulate.ts +257 -0
  347. package/src/lib/routes/noise-sensors/noise-sensors.ts +272 -0
  348. package/src/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +400 -0
  349. package/src/lib/routes/noise-sensors/simulate/simulate.ts +197 -0
  350. package/src/lib/routes/phones/phones.ts +269 -0
  351. package/src/lib/routes/phones/simulate/simulate.ts +256 -0
  352. package/src/lib/routes/seam-http-endpoints-without-workspace.ts +132 -0
  353. package/src/lib/routes/seam-http-endpoints.ts +4457 -0
  354. package/src/lib/routes/seam-http-without-workspace.ts +96 -0
  355. package/src/lib/routes/seam-http.ts +262 -0
  356. package/src/lib/routes/spaces/spaces.ts +721 -0
  357. package/src/lib/routes/thermostats/daily-programs/daily-programs.ts +322 -0
  358. package/src/lib/routes/thermostats/schedules/schedules.ts +394 -0
  359. package/src/lib/routes/thermostats/simulate/simulate.ts +263 -0
  360. package/src/lib/routes/thermostats/thermostats.ts +1067 -0
  361. package/src/lib/routes/user-identities/unmanaged/unmanaged.ts +299 -0
  362. package/src/lib/routes/user-identities/user-identities.ts +756 -0
  363. package/src/lib/routes/webhooks/webhooks.ts +333 -0
  364. package/src/lib/routes/workspaces/workspaces.ts +425 -0
  365. package/src/lib/seam-http-request.ts +201 -0
  366. package/src/lib/version.ts +1 -1
  367. package/connect.d.ts +0 -2
  368. package/connect.js +0 -3
  369. package/connect.js.map +0 -1
  370. package/lib/seam/connect/api-error-types.js.map +0 -1
  371. package/lib/seam/connect/auth.d.ts +0 -10
  372. package/lib/seam/connect/auth.js.map +0 -1
  373. package/lib/seam/connect/client.d.ts +0 -10
  374. package/lib/seam/connect/client.js +0 -19
  375. package/lib/seam/connect/client.js.map +0 -1
  376. package/lib/seam/connect/error-interceptor.js.map +0 -1
  377. package/lib/seam/connect/index.js.map +0 -1
  378. package/lib/seam/connect/openapi.js.map +0 -1
  379. package/lib/seam/connect/options.d.ts +0 -57
  380. package/lib/seam/connect/options.js +0 -108
  381. package/lib/seam/connect/options.js.map +0 -1
  382. package/lib/seam/connect/parse-options.d.ts +0 -18
  383. package/lib/seam/connect/parse-options.js +0 -120
  384. package/lib/seam/connect/parse-options.js.map +0 -1
  385. package/lib/seam/connect/resolve-action-attempt.d.ts +0 -27
  386. package/lib/seam/connect/resolve-action-attempt.js.map +0 -1
  387. package/lib/seam/connect/resources/access-code.d.ts +0 -247
  388. package/lib/seam/connect/resources/access-code.js.map +0 -1
  389. package/lib/seam/connect/resources/access-grant.d.ts +0 -98
  390. package/lib/seam/connect/resources/access-grant.js.map +0 -1
  391. package/lib/seam/connect/resources/access-method.d.ts +0 -73
  392. package/lib/seam/connect/resources/access-method.js.map +0 -1
  393. package/lib/seam/connect/resources/acs-access-group.d.ts +0 -89
  394. package/lib/seam/connect/resources/acs-access-group.js.map +0 -1
  395. package/lib/seam/connect/resources/acs-credential.d.ts +0 -74
  396. package/lib/seam/connect/resources/acs-credential.js.map +0 -1
  397. package/lib/seam/connect/resources/acs-encoder.d.ts +0 -13
  398. package/lib/seam/connect/resources/acs-encoder.js.map +0 -1
  399. package/lib/seam/connect/resources/acs-entrance.d.ts +0 -113
  400. package/lib/seam/connect/resources/acs-entrance.js.map +0 -1
  401. package/lib/seam/connect/resources/acs-system.d.ts +0 -74
  402. package/lib/seam/connect/resources/acs-system.js.map +0 -1
  403. package/lib/seam/connect/resources/acs-user.d.ts +0 -154
  404. package/lib/seam/connect/resources/acs-user.js.map +0 -1
  405. package/lib/seam/connect/resources/action-attempt.d.ts +0 -420
  406. package/lib/seam/connect/resources/action-attempt.js.map +0 -1
  407. package/lib/seam/connect/resources/batch.d.ts +0 -54
  408. package/lib/seam/connect/resources/batch.js.map +0 -1
  409. package/lib/seam/connect/resources/client-session.d.ts +0 -14
  410. package/lib/seam/connect/resources/client-session.js.map +0 -1
  411. package/lib/seam/connect/resources/connect-webview.d.ts +0 -21
  412. package/lib/seam/connect/resources/connect-webview.js.map +0 -1
  413. package/lib/seam/connect/resources/connected-account.d.ts +0 -98
  414. package/lib/seam/connect/resources/connected-account.js.map +0 -1
  415. package/lib/seam/connect/resources/customer-portal.d.ts +0 -7
  416. package/lib/seam/connect/resources/customer-portal.js.map +0 -1
  417. package/lib/seam/connect/resources/device-provider.d.ts +0 -26
  418. package/lib/seam/connect/resources/device-provider.js.map +0 -1
  419. package/lib/seam/connect/resources/device.d.ts +0 -763
  420. package/lib/seam/connect/resources/device.js.map +0 -1
  421. package/lib/seam/connect/resources/event.d.ts +0 -1613
  422. package/lib/seam/connect/resources/event.js.map +0 -1
  423. package/lib/seam/connect/resources/index.js.map +0 -1
  424. package/lib/seam/connect/resources/instant-key.d.ts +0 -15
  425. package/lib/seam/connect/resources/instant-key.js.map +0 -1
  426. package/lib/seam/connect/resources/noise-threshold.d.ts +0 -9
  427. package/lib/seam/connect/resources/noise-threshold.js.map +0 -1
  428. package/lib/seam/connect/resources/phone.d.ts +0 -31
  429. package/lib/seam/connect/resources/phone.js.map +0 -1
  430. package/lib/seam/connect/resources/space.d.ts +0 -21
  431. package/lib/seam/connect/resources/space.js.map +0 -1
  432. package/lib/seam/connect/resources/thermostat-daily-program.d.ts +0 -11
  433. package/lib/seam/connect/resources/thermostat-daily-program.js.map +0 -1
  434. package/lib/seam/connect/resources/thermostat-schedule.d.ts +0 -17
  435. package/lib/seam/connect/resources/thermostat-schedule.js.map +0 -1
  436. package/lib/seam/connect/resources/unmanaged-access-code.d.ts +0 -194
  437. package/lib/seam/connect/resources/unmanaged-access-code.js.map +0 -1
  438. package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +0 -94
  439. package/lib/seam/connect/resources/unmanaged-access-grant.js.map +0 -1
  440. package/lib/seam/connect/resources/unmanaged-access-method.d.ts +0 -70
  441. package/lib/seam/connect/resources/unmanaged-access-method.js.map +0 -1
  442. package/lib/seam/connect/resources/unmanaged-device.d.ts +0 -249
  443. package/lib/seam/connect/resources/unmanaged-device.js.map +0 -1
  444. package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +0 -26
  445. package/lib/seam/connect/resources/unmanaged-user-identity.js.map +0 -1
  446. package/lib/seam/connect/resources/user-identity.d.ts +0 -27
  447. package/lib/seam/connect/resources/user-identity.js.map +0 -1
  448. package/lib/seam/connect/resources/webhook.d.ts +0 -6
  449. package/lib/seam/connect/resources/webhook.js.map +0 -1
  450. package/lib/seam/connect/resources/workspace.d.ts +0 -18
  451. package/lib/seam/connect/resources/workspace.js.map +0 -1
  452. package/lib/seam/connect/routes/access-codes/access-codes.d.ts +0 -207
  453. package/lib/seam/connect/routes/access-codes/access-codes.js +0 -187
  454. package/lib/seam/connect/routes/access-codes/access-codes.js.map +0 -1
  455. package/lib/seam/connect/routes/access-codes/index.js.map +0 -1
  456. package/lib/seam/connect/routes/access-codes/simulate/index.js.map +0 -1
  457. package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +0 -35
  458. package/lib/seam/connect/routes/access-codes/simulate/simulate.js +0 -98
  459. package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +0 -1
  460. package/lib/seam/connect/routes/access-codes/unmanaged/index.js.map +0 -1
  461. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +0 -92
  462. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +0 -134
  463. package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +0 -1
  464. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +0 -162
  465. package/lib/seam/connect/routes/access-grants/access-grants.js +0 -156
  466. package/lib/seam/connect/routes/access-grants/access-grants.js.map +0 -1
  467. package/lib/seam/connect/routes/access-grants/index.js.map +0 -1
  468. package/lib/seam/connect/routes/access-grants/unmanaged/index.js.map +0 -1
  469. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +0 -64
  470. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +0 -116
  471. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +0 -1
  472. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +0 -124
  473. package/lib/seam/connect/routes/access-methods/access-methods.js +0 -156
  474. package/lib/seam/connect/routes/access-methods/access-methods.js.map +0 -1
  475. package/lib/seam/connect/routes/access-methods/index.js.map +0 -1
  476. package/lib/seam/connect/routes/access-methods/unmanaged/index.js.map +0 -1
  477. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +0 -49
  478. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +0 -107
  479. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +0 -1
  480. package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +0 -114
  481. package/lib/seam/connect/routes/acs/access-groups/access-groups.js +0 -152
  482. package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +0 -1
  483. package/lib/seam/connect/routes/acs/access-groups/index.js.map +0 -1
  484. package/lib/seam/connect/routes/acs/acs.d.ts +0 -31
  485. package/lib/seam/connect/routes/acs/acs.js +0 -112
  486. package/lib/seam/connect/routes/acs/acs.js.map +0 -1
  487. package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +0 -155
  488. package/lib/seam/connect/routes/acs/credentials/credentials.js +0 -161
  489. package/lib/seam/connect/routes/acs/credentials/credentials.js.map +0 -1
  490. package/lib/seam/connect/routes/acs/credentials/index.js.map +0 -1
  491. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +0 -99
  492. package/lib/seam/connect/routes/acs/encoders/encoders.js +0 -138
  493. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +0 -1
  494. package/lib/seam/connect/routes/acs/encoders/index.js.map +0 -1
  495. package/lib/seam/connect/routes/acs/encoders/simulate/index.js.map +0 -1
  496. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +0 -70
  497. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +0 -125
  498. package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +0 -1
  499. package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +0 -98
  500. package/lib/seam/connect/routes/acs/entrances/entrances.js +0 -134
  501. package/lib/seam/connect/routes/acs/entrances/entrances.js.map +0 -1
  502. package/lib/seam/connect/routes/acs/entrances/index.js.map +0 -1
  503. package/lib/seam/connect/routes/acs/index.js.map +0 -1
  504. package/lib/seam/connect/routes/acs/systems/index.js.map +0 -1
  505. package/lib/seam/connect/routes/acs/systems/systems.d.ts +0 -86
  506. package/lib/seam/connect/routes/acs/systems/systems.js +0 -125
  507. package/lib/seam/connect/routes/acs/systems/systems.js.map +0 -1
  508. package/lib/seam/connect/routes/acs/users/index.js.map +0 -1
  509. package/lib/seam/connect/routes/acs/users/users.d.ts +0 -193
  510. package/lib/seam/connect/routes/acs/users/users.js +0 -188
  511. package/lib/seam/connect/routes/acs/users/users.js.map +0 -1
  512. package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +0 -48
  513. package/lib/seam/connect/routes/action-attempts/action-attempts.js +0 -107
  514. package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +0 -1
  515. package/lib/seam/connect/routes/action-attempts/index.js.map +0 -1
  516. package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +0 -127
  517. package/lib/seam/connect/routes/client-sessions/client-sessions.js +0 -151
  518. package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +0 -1
  519. package/lib/seam/connect/routes/client-sessions/index.js.map +0 -1
  520. package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +0 -84
  521. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +0 -125
  522. package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +0 -1
  523. package/lib/seam/connect/routes/connect-webviews/index.js.map +0 -1
  524. package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +0 -93
  525. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +0 -138
  526. package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +0 -1
  527. package/lib/seam/connect/routes/connected-accounts/index.js.map +0 -1
  528. package/lib/seam/connect/routes/connected-accounts/simulate/index.js.map +0 -1
  529. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +0 -30
  530. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +0 -98
  531. package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +0 -1
  532. package/lib/seam/connect/routes/customers/customers.d.ts +0 -469
  533. package/lib/seam/connect/routes/customers/customers.js +0 -116
  534. package/lib/seam/connect/routes/customers/customers.js.map +0 -1
  535. package/lib/seam/connect/routes/customers/index.js.map +0 -1
  536. package/lib/seam/connect/routes/devices/devices.d.ts +0 -120
  537. package/lib/seam/connect/routes/devices/devices.js +0 -142
  538. package/lib/seam/connect/routes/devices/devices.js.map +0 -1
  539. package/lib/seam/connect/routes/devices/index.js.map +0 -1
  540. package/lib/seam/connect/routes/devices/simulate/index.js.map +0 -1
  541. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +0 -86
  542. package/lib/seam/connect/routes/devices/simulate/simulate.js +0 -143
  543. package/lib/seam/connect/routes/devices/simulate/simulate.js.map +0 -1
  544. package/lib/seam/connect/routes/devices/unmanaged/index.js.map +0 -1
  545. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +0 -75
  546. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +0 -116
  547. package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +0 -1
  548. package/lib/seam/connect/routes/events/events.d.ts +0 -75
  549. package/lib/seam/connect/routes/events/events.js +0 -107
  550. package/lib/seam/connect/routes/events/events.js.map +0 -1
  551. package/lib/seam/connect/routes/events/index.js.map +0 -1
  552. package/lib/seam/connect/routes/index.js.map +0 -1
  553. package/lib/seam/connect/routes/instant-keys/index.js.map +0 -1
  554. package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +0 -58
  555. package/lib/seam/connect/routes/instant-keys/instant-keys.js +0 -116
  556. package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +0 -1
  557. package/lib/seam/connect/routes/locks/index.js.map +0 -1
  558. package/lib/seam/connect/routes/locks/locks.d.ts +0 -103
  559. package/lib/seam/connect/routes/locks/locks.js +0 -138
  560. package/lib/seam/connect/routes/locks/locks.js.map +0 -1
  561. package/lib/seam/connect/routes/locks/simulate/index.js.map +0 -1
  562. package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +0 -45
  563. package/lib/seam/connect/routes/locks/simulate/simulate.js +0 -107
  564. package/lib/seam/connect/routes/locks/simulate/simulate.js.map +0 -1
  565. package/lib/seam/connect/routes/noise-sensors/index.js.map +0 -1
  566. package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +0 -52
  567. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +0 -106
  568. package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +0 -1
  569. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/index.js.map +0 -1
  570. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +0 -93
  571. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +0 -134
  572. package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +0 -1
  573. package/lib/seam/connect/routes/noise-sensors/simulate/index.js.map +0 -1
  574. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +0 -30
  575. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +0 -98
  576. package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +0 -1
  577. package/lib/seam/connect/routes/phones/index.js.map +0 -1
  578. package/lib/seam/connect/routes/phones/phones.d.ts +0 -60
  579. package/lib/seam/connect/routes/phones/phones.js +0 -120
  580. package/lib/seam/connect/routes/phones/phones.js.map +0 -1
  581. package/lib/seam/connect/routes/phones/simulate/index.js.map +0 -1
  582. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +0 -48
  583. package/lib/seam/connect/routes/phones/simulate/simulate.js +0 -98
  584. package/lib/seam/connect/routes/phones/simulate/simulate.js.map +0 -1
  585. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +0 -17
  586. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +0 -56
  587. package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +0 -1
  588. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +0 -264
  589. package/lib/seam/connect/routes/seam-http-endpoints.js +0 -1535
  590. package/lib/seam/connect/routes/seam-http-endpoints.js.map +0 -1
  591. package/lib/seam/connect/routes/seam-http-without-workspace.d.ts +0 -18
  592. package/lib/seam/connect/routes/seam-http-without-workspace.js +0 -49
  593. package/lib/seam/connect/routes/seam-http-without-workspace.js.map +0 -1
  594. package/lib/seam/connect/routes/seam-http.d.ts +0 -59
  595. package/lib/seam/connect/routes/seam-http.js +0 -167
  596. package/lib/seam/connect/routes/seam-http.js.map +0 -1
  597. package/lib/seam/connect/routes/spaces/index.js.map +0 -1
  598. package/lib/seam/connect/routes/spaces/spaces.d.ts +0 -198
  599. package/lib/seam/connect/routes/spaces/spaces.js +0 -197
  600. package/lib/seam/connect/routes/spaces/spaces.js.map +0 -1
  601. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +0 -67
  602. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +0 -116
  603. package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +0 -1
  604. package/lib/seam/connect/routes/thermostats/daily-programs/index.js.map +0 -1
  605. package/lib/seam/connect/routes/thermostats/index.js.map +0 -1
  606. package/lib/seam/connect/routes/thermostats/schedules/index.js.map +0 -1
  607. package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +0 -94
  608. package/lib/seam/connect/routes/thermostats/schedules/schedules.js +0 -134
  609. package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +0 -1
  610. package/lib/seam/connect/routes/thermostats/simulate/index.js.map +0 -1
  611. package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +0 -48
  612. package/lib/seam/connect/routes/thermostats/simulate/simulate.js +0 -107
  613. package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +0 -1
  614. package/lib/seam/connect/routes/thermostats/thermostats.d.ts +0 -265
  615. package/lib/seam/connect/routes/thermostats/thermostats.js +0 -227
  616. package/lib/seam/connect/routes/thermostats/thermostats.js.map +0 -1
  617. package/lib/seam/connect/routes/user-identities/index.js.map +0 -1
  618. package/lib/seam/connect/routes/user-identities/unmanaged/index.js.map +0 -1
  619. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +0 -62
  620. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +0 -116
  621. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +0 -1
  622. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +0 -218
  623. package/lib/seam/connect/routes/user-identities/user-identities.js +0 -219
  624. package/lib/seam/connect/routes/user-identities/user-identities.js.map +0 -1
  625. package/lib/seam/connect/routes/webhooks/index.js.map +0 -1
  626. package/lib/seam/connect/routes/webhooks/webhooks.d.ts +0 -81
  627. package/lib/seam/connect/routes/webhooks/webhooks.js +0 -134
  628. package/lib/seam/connect/routes/webhooks/webhooks.js.map +0 -1
  629. package/lib/seam/connect/routes/workspaces/index.js.map +0 -1
  630. package/lib/seam/connect/routes/workspaces/workspaces.d.ts +0 -101
  631. package/lib/seam/connect/routes/workspaces/workspaces.js +0 -134
  632. package/lib/seam/connect/routes/workspaces/workspaces.js.map +0 -1
  633. package/lib/seam/connect/seam-http-error.js.map +0 -1
  634. package/lib/seam/connect/seam-http-request.d.ts +0 -32
  635. package/lib/seam/connect/seam-http-request.js +0 -102
  636. package/lib/seam/connect/seam-http-request.js.map +0 -1
  637. package/lib/seam/connect/seam-paginator.js.map +0 -1
  638. package/lib/seam/connect/token.js.map +0 -1
  639. package/src/connect.ts +0 -2
  640. package/src/lib/seam/connect/auth.ts +0 -276
  641. package/src/lib/seam/connect/client.ts +0 -32
  642. package/src/lib/seam/connect/options.ts +0 -242
  643. package/src/lib/seam/connect/parse-options.ts +0 -187
  644. package/src/lib/seam/connect/resolve-action-attempt.ts +0 -126
  645. package/src/lib/seam/connect/resources/access-code.ts +0 -404
  646. package/src/lib/seam/connect/resources/access-grant.ts +0 -169
  647. package/src/lib/seam/connect/resources/access-method.ts +0 -117
  648. package/src/lib/seam/connect/resources/acs-access-group.ts +0 -169
  649. package/src/lib/seam/connect/resources/acs-credential.ts +0 -127
  650. package/src/lib/seam/connect/resources/acs-encoder.ts +0 -26
  651. package/src/lib/seam/connect/resources/acs-entrance.ts +0 -177
  652. package/src/lib/seam/connect/resources/acs-system.ts +0 -163
  653. package/src/lib/seam/connect/resources/acs-user.ts +0 -261
  654. package/src/lib/seam/connect/resources/action-attempt.ts +0 -716
  655. package/src/lib/seam/connect/resources/batch.ts +0 -62
  656. package/src/lib/seam/connect/resources/client-session.ts +0 -27
  657. package/src/lib/seam/connect/resources/connect-webview.ts +0 -40
  658. package/src/lib/seam/connect/resources/connected-account.ts +0 -158
  659. package/src/lib/seam/connect/resources/customer-portal.ts +0 -16
  660. package/src/lib/seam/connect/resources/device-provider.ts +0 -106
  661. package/src/lib/seam/connect/resources/device.ts +0 -1197
  662. package/src/lib/seam/connect/resources/event.ts +0 -2728
  663. package/src/lib/seam/connect/resources/instant-key.ts +0 -28
  664. package/src/lib/seam/connect/resources/noise-threshold.ts +0 -19
  665. package/src/lib/seam/connect/resources/phone.ts +0 -54
  666. package/src/lib/seam/connect/resources/space.ts +0 -38
  667. package/src/lib/seam/connect/resources/thermostat-daily-program.ts +0 -21
  668. package/src/lib/seam/connect/resources/thermostat-schedule.ts +0 -31
  669. package/src/lib/seam/connect/resources/unmanaged-access-code.ts +0 -320
  670. package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +0 -164
  671. package/src/lib/seam/connect/resources/unmanaged-access-method.ts +0 -114
  672. package/src/lib/seam/connect/resources/unmanaged-device.ts +0 -469
  673. package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +0 -48
  674. package/src/lib/seam/connect/resources/user-identity.ts +0 -49
  675. package/src/lib/seam/connect/resources/webhook.ts +0 -12
  676. package/src/lib/seam/connect/resources/workspace.ts +0 -29
  677. package/src/lib/seam/connect/routes/access-codes/access-codes.ts +0 -527
  678. package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +0 -199
  679. package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +0 -322
  680. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +0 -460
  681. package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +0 -262
  682. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +0 -431
  683. package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +0 -229
  684. package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +0 -372
  685. package/src/lib/seam/connect/routes/acs/acs.ts +0 -193
  686. package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +0 -436
  687. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +0 -350
  688. package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +0 -295
  689. package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +0 -329
  690. package/src/lib/seam/connect/routes/acs/systems/systems.ts +0 -303
  691. package/src/lib/seam/connect/routes/acs/users/users.ts +0 -521
  692. package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +0 -229
  693. package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +0 -382
  694. package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +0 -376
  695. package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +0 -329
  696. package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +0 -194
  697. package/src/lib/seam/connect/routes/customers/customers.ts +0 -780
  698. package/src/lib/seam/connect/routes/devices/devices.ts +0 -1795
  699. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +0 -329
  700. package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +0 -406
  701. package/src/lib/seam/connect/routes/events/events.ts +0 -466
  702. package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +0 -248
  703. package/src/lib/seam/connect/routes/locks/locks.ts +0 -434
  704. package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +0 -233
  705. package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +0 -221
  706. package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +0 -334
  707. package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +0 -191
  708. package/src/lib/seam/connect/routes/phones/phones.ts +0 -248
  709. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +0 -211
  710. package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +0 -126
  711. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +0 -3761
  712. package/src/lib/seam/connect/routes/seam-http-without-workspace.ts +0 -96
  713. package/src/lib/seam/connect/routes/seam-http.ts +0 -262
  714. package/src/lib/seam/connect/routes/spaces/spaces.ts +0 -555
  715. package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +0 -275
  716. package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +0 -325
  717. package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +0 -230
  718. package/src/lib/seam/connect/routes/thermostats/thermostats.ts +0 -734
  719. package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +0 -264
  720. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +0 -610
  721. package/src/lib/seam/connect/routes/webhooks/webhooks.ts +0 -300
  722. package/src/lib/seam/connect/routes/workspaces/workspaces.ts +0 -332
  723. package/src/lib/seam/connect/seam-http-request.ts +0 -196
  724. /package/lib/{seam/connect/api-error-types.d.ts → api-error-types.d.ts} +0 -0
  725. /package/lib/{seam/connect/api-error-types.js → api-error-types.js} +0 -0
  726. /package/lib/{seam/connect/auth.js → auth.js} +0 -0
  727. /package/lib/{seam/connect/error-interceptor.d.ts → error-interceptor.d.ts} +0 -0
  728. /package/lib/{seam/connect/error-interceptor.js → error-interceptor.js} +0 -0
  729. /package/lib/{seam/connect/index.d.ts → index.d.ts} +0 -0
  730. /package/lib/{seam/connect/index.js → index.js} +0 -0
  731. /package/lib/{seam/connect/openapi.d.ts → openapi.d.ts} +0 -0
  732. /package/lib/{seam/connect/openapi.js → openapi.js} +0 -0
  733. /package/lib/{seam/connect/resolve-action-attempt.js → resolve-action-attempt.js} +0 -0
  734. /package/lib/{seam/connect/resources → resources}/access-code.js +0 -0
  735. /package/lib/{seam/connect/resources → resources}/access-grant.js +0 -0
  736. /package/lib/{seam/connect/resources → resources}/access-method.js +0 -0
  737. /package/lib/{seam/connect/resources → resources}/acs-access-group.js +0 -0
  738. /package/lib/{seam/connect/resources → resources}/acs-credential.js +0 -0
  739. /package/lib/{seam/connect/resources → resources}/acs-encoder.js +0 -0
  740. /package/lib/{seam/connect/resources → resources}/acs-entrance.js +0 -0
  741. /package/lib/{seam/connect/resources → resources}/acs-system.js +0 -0
  742. /package/lib/{seam/connect/resources → resources}/acs-user.js +0 -0
  743. /package/lib/{seam/connect/resources → resources}/action-attempt.js +0 -0
  744. /package/lib/{seam/connect/resources → resources}/batch.js +0 -0
  745. /package/lib/{seam/connect/resources → resources}/client-session.js +0 -0
  746. /package/lib/{seam/connect/resources → resources}/connect-webview.js +0 -0
  747. /package/lib/{seam/connect/resources → resources}/connected-account.js +0 -0
  748. /package/lib/{seam/connect/resources → resources}/customer-portal.js +0 -0
  749. /package/lib/{seam/connect/resources → resources}/device-provider.js +0 -0
  750. /package/lib/{seam/connect/resources → resources}/device.js +0 -0
  751. /package/lib/{seam/connect/resources → resources}/event.js +0 -0
  752. /package/lib/{seam/connect/resources → resources}/index.d.ts +0 -0
  753. /package/lib/{seam/connect/resources → resources}/index.js +0 -0
  754. /package/lib/{seam/connect/resources → resources}/instant-key.js +0 -0
  755. /package/lib/{seam/connect/resources → resources}/noise-threshold.js +0 -0
  756. /package/lib/{seam/connect/resources → resources}/phone.js +0 -0
  757. /package/lib/{seam/connect/resources → resources}/space.js +0 -0
  758. /package/lib/{seam/connect/resources → resources}/thermostat-daily-program.js +0 -0
  759. /package/lib/{seam/connect/resources → resources}/thermostat-schedule.js +0 -0
  760. /package/lib/{seam/connect/resources → resources}/unmanaged-access-code.js +0 -0
  761. /package/lib/{seam/connect/resources → resources}/unmanaged-access-grant.js +0 -0
  762. /package/lib/{seam/connect/resources → resources}/unmanaged-access-method.js +0 -0
  763. /package/lib/{seam/connect/resources → resources}/unmanaged-device.js +0 -0
  764. /package/lib/{seam/connect/resources → resources}/unmanaged-user-identity.js +0 -0
  765. /package/lib/{seam/connect/resources → resources}/user-identity.js +0 -0
  766. /package/lib/{seam/connect/resources → resources}/webhook.js +0 -0
  767. /package/lib/{seam/connect/resources → resources}/workspace.js +0 -0
  768. /package/lib/{seam/connect/routes → routes}/access-codes/index.d.ts +0 -0
  769. /package/lib/{seam/connect/routes → routes}/access-codes/index.js +0 -0
  770. /package/lib/{seam/connect/routes → routes}/access-codes/simulate/index.d.ts +0 -0
  771. /package/lib/{seam/connect/routes → routes}/access-codes/simulate/index.js +0 -0
  772. /package/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.d.ts +0 -0
  773. /package/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.js +0 -0
  774. /package/lib/{seam/connect/routes → routes}/access-grants/index.d.ts +0 -0
  775. /package/lib/{seam/connect/routes → routes}/access-grants/index.js +0 -0
  776. /package/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.d.ts +0 -0
  777. /package/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.js +0 -0
  778. /package/lib/{seam/connect/routes → routes}/access-methods/index.d.ts +0 -0
  779. /package/lib/{seam/connect/routes → routes}/access-methods/index.js +0 -0
  780. /package/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.d.ts +0 -0
  781. /package/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.js +0 -0
  782. /package/lib/{seam/connect/routes → routes}/acs/access-groups/index.d.ts +0 -0
  783. /package/lib/{seam/connect/routes → routes}/acs/access-groups/index.js +0 -0
  784. /package/lib/{seam/connect/routes → routes}/acs/credentials/index.d.ts +0 -0
  785. /package/lib/{seam/connect/routes → routes}/acs/credentials/index.js +0 -0
  786. /package/lib/{seam/connect/routes → routes}/acs/encoders/index.d.ts +0 -0
  787. /package/lib/{seam/connect/routes → routes}/acs/encoders/index.js +0 -0
  788. /package/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.d.ts +0 -0
  789. /package/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.js +0 -0
  790. /package/lib/{seam/connect/routes → routes}/acs/entrances/index.d.ts +0 -0
  791. /package/lib/{seam/connect/routes → routes}/acs/entrances/index.js +0 -0
  792. /package/lib/{seam/connect/routes → routes}/acs/index.d.ts +0 -0
  793. /package/lib/{seam/connect/routes → routes}/acs/index.js +0 -0
  794. /package/lib/{seam/connect/routes → routes}/acs/systems/index.d.ts +0 -0
  795. /package/lib/{seam/connect/routes → routes}/acs/systems/index.js +0 -0
  796. /package/lib/{seam/connect/routes → routes}/acs/users/index.d.ts +0 -0
  797. /package/lib/{seam/connect/routes → routes}/acs/users/index.js +0 -0
  798. /package/lib/{seam/connect/routes → routes}/action-attempts/index.d.ts +0 -0
  799. /package/lib/{seam/connect/routes → routes}/action-attempts/index.js +0 -0
  800. /package/lib/{seam/connect/routes → routes}/client-sessions/index.d.ts +0 -0
  801. /package/lib/{seam/connect/routes → routes}/client-sessions/index.js +0 -0
  802. /package/lib/{seam/connect/routes → routes}/connect-webviews/index.d.ts +0 -0
  803. /package/lib/{seam/connect/routes → routes}/connect-webviews/index.js +0 -0
  804. /package/lib/{seam/connect/routes → routes}/connected-accounts/index.d.ts +0 -0
  805. /package/lib/{seam/connect/routes → routes}/connected-accounts/index.js +0 -0
  806. /package/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.d.ts +0 -0
  807. /package/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.js +0 -0
  808. /package/lib/{seam/connect/routes → routes}/customers/index.d.ts +0 -0
  809. /package/lib/{seam/connect/routes → routes}/customers/index.js +0 -0
  810. /package/lib/{seam/connect/routes → routes}/devices/index.d.ts +0 -0
  811. /package/lib/{seam/connect/routes → routes}/devices/index.js +0 -0
  812. /package/lib/{seam/connect/routes → routes}/devices/simulate/index.d.ts +0 -0
  813. /package/lib/{seam/connect/routes → routes}/devices/simulate/index.js +0 -0
  814. /package/lib/{seam/connect/routes → routes}/devices/unmanaged/index.d.ts +0 -0
  815. /package/lib/{seam/connect/routes → routes}/devices/unmanaged/index.js +0 -0
  816. /package/lib/{seam/connect/routes → routes}/events/index.d.ts +0 -0
  817. /package/lib/{seam/connect/routes → routes}/events/index.js +0 -0
  818. /package/lib/{seam/connect/routes → routes}/index.d.ts +0 -0
  819. /package/lib/{seam/connect/routes → routes}/index.js +0 -0
  820. /package/lib/{seam/connect/routes → routes}/instant-keys/index.d.ts +0 -0
  821. /package/lib/{seam/connect/routes → routes}/instant-keys/index.js +0 -0
  822. /package/lib/{seam/connect/routes → routes}/locks/index.d.ts +0 -0
  823. /package/lib/{seam/connect/routes → routes}/locks/index.js +0 -0
  824. /package/lib/{seam/connect/routes → routes}/locks/simulate/index.d.ts +0 -0
  825. /package/lib/{seam/connect/routes → routes}/locks/simulate/index.js +0 -0
  826. /package/lib/{seam/connect/routes → routes}/noise-sensors/index.d.ts +0 -0
  827. /package/lib/{seam/connect/routes → routes}/noise-sensors/index.js +0 -0
  828. /package/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.d.ts +0 -0
  829. /package/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.js +0 -0
  830. /package/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.d.ts +0 -0
  831. /package/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.js +0 -0
  832. /package/lib/{seam/connect/routes → routes}/phones/index.d.ts +0 -0
  833. /package/lib/{seam/connect/routes → routes}/phones/index.js +0 -0
  834. /package/lib/{seam/connect/routes → routes}/phones/simulate/index.d.ts +0 -0
  835. /package/lib/{seam/connect/routes → routes}/phones/simulate/index.js +0 -0
  836. /package/lib/{seam/connect/routes → routes}/spaces/index.d.ts +0 -0
  837. /package/lib/{seam/connect/routes → routes}/spaces/index.js +0 -0
  838. /package/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.d.ts +0 -0
  839. /package/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.js +0 -0
  840. /package/lib/{seam/connect/routes → routes}/thermostats/index.d.ts +0 -0
  841. /package/lib/{seam/connect/routes → routes}/thermostats/index.js +0 -0
  842. /package/lib/{seam/connect/routes → routes}/thermostats/schedules/index.d.ts +0 -0
  843. /package/lib/{seam/connect/routes → routes}/thermostats/schedules/index.js +0 -0
  844. /package/lib/{seam/connect/routes → routes}/thermostats/simulate/index.d.ts +0 -0
  845. /package/lib/{seam/connect/routes → routes}/thermostats/simulate/index.js +0 -0
  846. /package/lib/{seam/connect/routes → routes}/user-identities/index.d.ts +0 -0
  847. /package/lib/{seam/connect/routes → routes}/user-identities/index.js +0 -0
  848. /package/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.d.ts +0 -0
  849. /package/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.js +0 -0
  850. /package/lib/{seam/connect/routes → routes}/webhooks/index.d.ts +0 -0
  851. /package/lib/{seam/connect/routes → routes}/webhooks/index.js +0 -0
  852. /package/lib/{seam/connect/routes → routes}/workspaces/index.d.ts +0 -0
  853. /package/lib/{seam/connect/routes → routes}/workspaces/index.js +0 -0
  854. /package/lib/{seam/connect/seam-http-error.d.ts → seam-http-error.d.ts} +0 -0
  855. /package/lib/{seam/connect/seam-http-error.js → seam-http-error.js} +0 -0
  856. /package/lib/{seam/connect/seam-paginator.d.ts → seam-paginator.d.ts} +0 -0
  857. /package/lib/{seam/connect/seam-paginator.js → seam-paginator.js} +0 -0
  858. /package/lib/{seam/connect/token.d.ts → token.d.ts} +0 -0
  859. /package/lib/{seam/connect/token.js → token.js} +0 -0
  860. /package/src/lib/{seam/connect/api-error-types.ts → api-error-types.ts} +0 -0
  861. /package/src/lib/{seam/connect/env.d.ts → env.d.ts} +0 -0
  862. /package/src/lib/{seam/connect/error-interceptor.ts → error-interceptor.ts} +0 -0
  863. /package/src/lib/{seam/connect/index.ts → index.ts} +0 -0
  864. /package/src/lib/{seam/connect/openapi.ts → openapi.ts} +0 -0
  865. /package/src/lib/{seam/connect/resources → resources}/index.ts +0 -0
  866. /package/src/lib/{seam/connect/routes → routes}/access-codes/index.ts +0 -0
  867. /package/src/lib/{seam/connect/routes → routes}/access-codes/simulate/index.ts +0 -0
  868. /package/src/lib/{seam/connect/routes → routes}/access-codes/unmanaged/index.ts +0 -0
  869. /package/src/lib/{seam/connect/routes → routes}/access-grants/index.ts +0 -0
  870. /package/src/lib/{seam/connect/routes → routes}/access-grants/unmanaged/index.ts +0 -0
  871. /package/src/lib/{seam/connect/routes → routes}/access-methods/index.ts +0 -0
  872. /package/src/lib/{seam/connect/routes → routes}/access-methods/unmanaged/index.ts +0 -0
  873. /package/src/lib/{seam/connect/routes → routes}/acs/access-groups/index.ts +0 -0
  874. /package/src/lib/{seam/connect/routes → routes}/acs/credentials/index.ts +0 -0
  875. /package/src/lib/{seam/connect/routes → routes}/acs/encoders/index.ts +0 -0
  876. /package/src/lib/{seam/connect/routes → routes}/acs/encoders/simulate/index.ts +0 -0
  877. /package/src/lib/{seam/connect/routes → routes}/acs/entrances/index.ts +0 -0
  878. /package/src/lib/{seam/connect/routes → routes}/acs/index.ts +0 -0
  879. /package/src/lib/{seam/connect/routes → routes}/acs/systems/index.ts +0 -0
  880. /package/src/lib/{seam/connect/routes → routes}/acs/users/index.ts +0 -0
  881. /package/src/lib/{seam/connect/routes → routes}/action-attempts/index.ts +0 -0
  882. /package/src/lib/{seam/connect/routes → routes}/client-sessions/index.ts +0 -0
  883. /package/src/lib/{seam/connect/routes → routes}/connect-webviews/index.ts +0 -0
  884. /package/src/lib/{seam/connect/routes → routes}/connected-accounts/index.ts +0 -0
  885. /package/src/lib/{seam/connect/routes → routes}/connected-accounts/simulate/index.ts +0 -0
  886. /package/src/lib/{seam/connect/routes → routes}/customers/index.ts +0 -0
  887. /package/src/lib/{seam/connect/routes → routes}/devices/index.ts +0 -0
  888. /package/src/lib/{seam/connect/routes → routes}/devices/simulate/index.ts +0 -0
  889. /package/src/lib/{seam/connect/routes → routes}/devices/unmanaged/index.ts +0 -0
  890. /package/src/lib/{seam/connect/routes → routes}/events/index.ts +0 -0
  891. /package/src/lib/{seam/connect/routes → routes}/index.ts +0 -0
  892. /package/src/lib/{seam/connect/routes → routes}/instant-keys/index.ts +0 -0
  893. /package/src/lib/{seam/connect/routes → routes}/locks/index.ts +0 -0
  894. /package/src/lib/{seam/connect/routes → routes}/locks/simulate/index.ts +0 -0
  895. /package/src/lib/{seam/connect/routes → routes}/noise-sensors/index.ts +0 -0
  896. /package/src/lib/{seam/connect/routes → routes}/noise-sensors/noise-thresholds/index.ts +0 -0
  897. /package/src/lib/{seam/connect/routes → routes}/noise-sensors/simulate/index.ts +0 -0
  898. /package/src/lib/{seam/connect/routes → routes}/phones/index.ts +0 -0
  899. /package/src/lib/{seam/connect/routes → routes}/phones/simulate/index.ts +0 -0
  900. /package/src/lib/{seam/connect/routes → routes}/spaces/index.ts +0 -0
  901. /package/src/lib/{seam/connect/routes → routes}/thermostats/daily-programs/index.ts +0 -0
  902. /package/src/lib/{seam/connect/routes → routes}/thermostats/index.ts +0 -0
  903. /package/src/lib/{seam/connect/routes → routes}/thermostats/schedules/index.ts +0 -0
  904. /package/src/lib/{seam/connect/routes → routes}/thermostats/simulate/index.ts +0 -0
  905. /package/src/lib/{seam/connect/routes → routes}/user-identities/index.ts +0 -0
  906. /package/src/lib/{seam/connect/routes → routes}/user-identities/unmanaged/index.ts +0 -0
  907. /package/src/lib/{seam/connect/routes → routes}/webhooks/index.ts +0 -0
  908. /package/src/lib/{seam/connect/routes → routes}/workspaces/index.ts +0 -0
  909. /package/src/lib/{seam/connect/seam-http-error.ts → seam-http-error.ts} +0 -0
  910. /package/src/lib/{seam/connect/seam-paginator.ts → seam-paginator.ts} +0 -0
  911. /package/src/lib/{seam/connect/token.ts → token.ts} +0 -0
@@ -0,0 +1,1511 @@
1
+ import { type Client } from '../../client.js';
2
+ import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../options.js';
3
+ import type { CustomerPortal } from '../../resources/customer-portal.js';
4
+ import { SeamHttpRequest } from '../../seam-http-request.js';
5
+ import { SeamPaginator } from '../../seam-paginator.js';
6
+ export declare class SeamHttpCustomers {
7
+ client: Client;
8
+ readonly defaults: Required<SeamHttpRequestOptions>;
9
+ readonly ltsVersion = "1.0.0";
10
+ static ltsVersion: string;
11
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
12
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpCustomers;
13
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpCustomers;
14
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpCustomers;
15
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpCustomers>;
16
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpCustomers;
17
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpCustomers;
18
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
19
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
20
+ /**
21
+ * Creates a new customer portal magic link with configurable features.
22
+ */
23
+ createPortal(parameters?: CustomersCreatePortalParameters, options?: CustomersCreatePortalOptions): CustomersCreatePortalRequest;
24
+ /**
25
+ * Deletes customer data including resources like spaces, properties, rooms, users, etc.
26
+ * This will delete the partner resources and any related Seam resources (user identities, access grants, spaces).
27
+ */
28
+ deleteData(parameters?: CustomersDeleteDataParameters, options?: CustomersDeleteDataOptions): CustomersDeleteDataRequest;
29
+ /**
30
+ * Pushes customer data including resources like spaces, properties, rooms, users, etc.
31
+ */
32
+ pushData(parameters: CustomersPushDataParameters, options?: CustomersPushDataOptions): CustomersPushDataRequest;
33
+ }
34
+ export type CustomersCreatePortalParameters = {
35
+ /**
36
+ * Filter configuration for resources based on their custom_metadata. Each filter specifies a field, operation, and value to match against resource custom_metadata.
37
+ */
38
+ customer_resources_filters?: Array<{
39
+ /**
40
+ * The custom_metadata field name to filter on.
41
+ */
42
+ field?: string | undefined;
43
+ /**
44
+ * The comparison operation. Currently only '=' is supported.
45
+ */
46
+ operation?: '=' | undefined;
47
+ /**
48
+ * The value to compare against.
49
+ */
50
+ value?: {} | undefined;
51
+ }> | undefined;
52
+ /**
53
+ * The ID of the customization profile to use for the portal.
54
+ */
55
+ customization_profile_id?: string | undefined;
56
+ /**
57
+ * Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource.
58
+ */
59
+ deep_link?: {
60
+ resource_key?: string | undefined;
61
+ resource_type?: 'reservation' | 'space' | 'device' | undefined;
62
+ resource_id?: string | undefined;
63
+ } | undefined;
64
+ /**
65
+ * Whether to exclude the option to select a locale within the portal UI.
66
+ */
67
+ exclude_locale_picker?: boolean | undefined;
68
+ features?: {
69
+ /**
70
+ * Configuration for the configure feature.
71
+ */
72
+ configure?: {
73
+ /**
74
+ * Indicates whether the customer can customize the access automation rules for their properties.
75
+ */
76
+ allow_access_automation_rule_customization?: boolean | undefined;
77
+ /**
78
+ * Indicates whether the customer can customize the climate automation rules for their properties.
79
+ */
80
+ allow_climate_automation_rule_customization?: boolean | undefined;
81
+ /**
82
+ * Indicates whether the customer can customize the Instant Key profile for their properties.
83
+ */
84
+ allow_instant_key_customization?: boolean | undefined;
85
+ /**
86
+ * Whether to exclude this feature from the portal.
87
+ */
88
+ exclude?: boolean | undefined;
89
+ } | undefined;
90
+ /**
91
+ * Configuration for the connect accounts feature.
92
+ */
93
+ connect?: {
94
+ /**
95
+ * List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.
96
+ */
97
+ accepted_providers?: Array<string> | undefined;
98
+ /**
99
+ * Whether to exclude this feature from the portal.
100
+ */
101
+ exclude?: boolean | undefined;
102
+ /**
103
+ * List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account.
104
+ */
105
+ excluded_providers?: Array<string> | undefined;
106
+ } | undefined;
107
+ /**
108
+ * Configuration for the manage feature.
109
+ */
110
+ manage?: {
111
+ /**
112
+ * Custom copy for the confirmation modal shown before unmanaged devices are added to a space and begin being managed (and billed). Only takes effect when the MANAGE_DEVICES_CONFIRMATION_MODAL feature flag is enabled for the workspace. Any omitted string falls back to a localized default.
113
+ */
114
+ device_management_confirmation?: {
115
+ /**
116
+ * Custom body text for the confirmation modal. May include the {count} token, which is replaced with the number of devices that will begin being managed.
117
+ */
118
+ body?: string | undefined;
119
+ /**
120
+ * Custom label for the cancel button.
121
+ */
122
+ cancel_button_label?: string | undefined;
123
+ /**
124
+ * Custom label for the confirm button.
125
+ */
126
+ confirm_button_label?: string | undefined;
127
+ /**
128
+ * Custom title for the confirmation modal.
129
+ */
130
+ title?: string | undefined;
131
+ } | undefined;
132
+ /**
133
+ * Configuration for event type filtering in the manage feature.
134
+ */
135
+ events?: {
136
+ /**
137
+ * List of event types to show in the events filter. When set, only these event types will be available. Leave empty to show all events.
138
+ */
139
+ allowed_events?: Array<string> | undefined;
140
+ /**
141
+ * List of event types that are pre-selected in the events filter when the user first loads the events tab.
142
+ */
143
+ default_events?: Array<string> | undefined;
144
+ } | undefined;
145
+ /**
146
+ * Whether to exclude this feature from the portal.
147
+ */
148
+ exclude?: boolean | undefined;
149
+ /**
150
+ * Indicates whether the customer can manage reservations for their properties.
151
+ */
152
+ exclude_reservation_management?: boolean | undefined;
153
+ /**
154
+ * Indicates whether to exclude technical details from reservation views.
155
+ */
156
+ exclude_reservation_technical_details?: boolean | undefined;
157
+ /**
158
+ * Indicates whether the customer can manage staff for their properties.
159
+ */
160
+ exclude_staff_management?: boolean | undefined;
161
+ } | undefined;
162
+ /**
163
+ * Configuration for the manage devices feature.
164
+ * ---
165
+ * deprecated: Use `manage` instead.
166
+ * ---
167
+ */
168
+ manage_devices?: {
169
+ /**
170
+ * Whether to exclude this feature from the portal.
171
+ */
172
+ exclude?: boolean | undefined;
173
+ } | undefined;
174
+ /**
175
+ * Configuration for the organize feature.
176
+ */
177
+ organize?: {
178
+ /**
179
+ * Whether to exclude this feature from the portal.
180
+ */
181
+ exclude?: boolean | undefined;
182
+ } | undefined;
183
+ } | undefined;
184
+ /**
185
+ * Whether the portal is embedded in another application.
186
+ */
187
+ is_embedded?: boolean | undefined;
188
+ /**
189
+ * Configuration for the landing page when the portal loads.
190
+ */
191
+ landing_page?: {
192
+ manage?: {
193
+ space_key?: string | undefined;
194
+ property_key?: string | undefined;
195
+ room_key?: string | undefined;
196
+ common_area_key?: string | undefined;
197
+ unit_key?: string | undefined;
198
+ facility_key?: string | undefined;
199
+ building_key?: string | undefined;
200
+ listing_key?: string | undefined;
201
+ property_listing_key?: string | undefined;
202
+ site_key?: string | undefined;
203
+ reservation_key?: string | undefined;
204
+ booking_key?: string | undefined;
205
+ access_grant_key?: string | undefined;
206
+ } | undefined;
207
+ } | undefined;
208
+ /**
209
+ * The locale to use for the portal.
210
+ */
211
+ locale?: 'en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES' | 'de-DE' | 'nl-NL' | 'el-GR' | 'pl-PL' | 'ru-RU' | undefined;
212
+ /**
213
+ * Navigation mode for the portal. 'restricted' tells frontend to hide navigation UI, typically used for embedded deep links.
214
+ */
215
+ navigation_mode?: 'full' | 'restricted' | undefined;
216
+ /**
217
+ * Whether the portal is read-only. When true, the customer can browse the portal but cannot perform any mutating action; write requests made with the portal's client session are rejected.
218
+ */
219
+ read_only?: boolean | undefined;
220
+ customer_data?: {
221
+ /**
222
+ * List of access grants.
223
+ */
224
+ access_grants?: Array<{
225
+ /**
226
+ * Your unique identifier for the access grant.
227
+ */
228
+ access_grant_key?: string | undefined;
229
+ /**
230
+ * Building keys associated with the access grant.
231
+ */
232
+ building_keys?: Array<string> | undefined;
233
+ /**
234
+ * Common area keys associated with the access grant.
235
+ */
236
+ common_area_keys?: Array<string> | undefined;
237
+ /**
238
+ * Ending date and time for the access grant.
239
+ */
240
+ ends_at?: string | undefined;
241
+ /**
242
+ * Facility keys associated with the access grant.
243
+ */
244
+ facility_keys?: Array<string> | undefined;
245
+ /**
246
+ * Guest key associated with the access grant.
247
+ */
248
+ guest_key?: string | undefined;
249
+ /**
250
+ * Listing keys associated with the access grant.
251
+ */
252
+ listing_keys?: Array<string> | undefined;
253
+ /**
254
+ * Your name for this access grant resource.
255
+ */
256
+ name?: string | undefined;
257
+ /**
258
+ * Preferred PIN code to use when creating access for this reservation.
259
+ */
260
+ preferred_code?: string | undefined;
261
+ /**
262
+ * Property keys associated with the access grant.
263
+ */
264
+ property_keys?: Array<string> | undefined;
265
+ /**
266
+ * Resident key associated with the access grant.
267
+ */
268
+ resident_key?: string | undefined;
269
+ /**
270
+ * Room keys associated with the access grant.
271
+ */
272
+ room_keys?: Array<string> | undefined;
273
+ /**
274
+ * Space keys associated with the access grant.
275
+ */
276
+ space_keys?: Array<string> | undefined;
277
+ /**
278
+ * Starting date and time for the access grant.
279
+ */
280
+ starts_at?: string | undefined;
281
+ /**
282
+ * Tenant key associated with the access grant.
283
+ */
284
+ tenant_key?: string | undefined;
285
+ /**
286
+ * Unit keys associated with the access grant.
287
+ */
288
+ unit_keys?: Array<string> | undefined;
289
+ /**
290
+ * User identity key associated with the access grant.
291
+ */
292
+ user_identity_key?: string | undefined;
293
+ /**
294
+ * User key associated with the access grant.
295
+ */
296
+ user_key?: string | undefined;
297
+ }> | undefined;
298
+ /**
299
+ * List of bookings.
300
+ */
301
+ bookings?: Array<{
302
+ /**
303
+ * Your unique identifier for the booking.
304
+ */
305
+ booking_key?: string | undefined;
306
+ /**
307
+ * Building keys associated with the access grant.
308
+ */
309
+ building_keys?: Array<string> | undefined;
310
+ /**
311
+ * Common area keys associated with the access grant.
312
+ */
313
+ common_area_keys?: Array<string> | undefined;
314
+ /**
315
+ * Ending date and time for the access grant.
316
+ */
317
+ ends_at?: string | undefined;
318
+ /**
319
+ * Facility keys associated with the access grant.
320
+ */
321
+ facility_keys?: Array<string> | undefined;
322
+ /**
323
+ * Guest key associated with the access grant.
324
+ */
325
+ guest_key?: string | undefined;
326
+ /**
327
+ * Listing keys associated with the access grant.
328
+ */
329
+ listing_keys?: Array<string> | undefined;
330
+ /**
331
+ * Your name for this access grant resource.
332
+ */
333
+ name?: string | undefined;
334
+ /**
335
+ * Preferred PIN code to use when creating access for this reservation.
336
+ */
337
+ preferred_code?: string | undefined;
338
+ /**
339
+ * Property keys associated with the access grant.
340
+ */
341
+ property_keys?: Array<string> | undefined;
342
+ /**
343
+ * Resident key associated with the access grant.
344
+ */
345
+ resident_key?: string | undefined;
346
+ /**
347
+ * Room keys associated with the access grant.
348
+ */
349
+ room_keys?: Array<string> | undefined;
350
+ /**
351
+ * Space keys associated with the access grant.
352
+ */
353
+ space_keys?: Array<string> | undefined;
354
+ /**
355
+ * Starting date and time for the access grant.
356
+ */
357
+ starts_at?: string | undefined;
358
+ /**
359
+ * Tenant key associated with the access grant.
360
+ */
361
+ tenant_key?: string | undefined;
362
+ /**
363
+ * Unit keys associated with the access grant.
364
+ */
365
+ unit_keys?: Array<string> | undefined;
366
+ /**
367
+ * User identity key associated with the access grant.
368
+ */
369
+ user_identity_key?: string | undefined;
370
+ /**
371
+ * User key associated with the access grant.
372
+ */
373
+ user_key?: string | undefined;
374
+ }> | undefined;
375
+ /**
376
+ * List of buildings.
377
+ */
378
+ buildings?: Array<{
379
+ /**
380
+ * Your unique identifier for the building.
381
+ */
382
+ building_key?: string | undefined;
383
+ /**
384
+ * Your display name for this location resource.
385
+ */
386
+ name?: string | undefined;
387
+ }> | undefined;
388
+ /**
389
+ * List of shared common areas.
390
+ */
391
+ common_areas?: Array<{
392
+ /**
393
+ * Your unique identifier for the common area.
394
+ */
395
+ common_area_key?: string | undefined;
396
+ /**
397
+ * Your display name for this location resource.
398
+ */
399
+ name?: string | undefined;
400
+ /**
401
+ * Your unique identifier for the site.
402
+ */
403
+ parent_site_key?: string | undefined;
404
+ }> | undefined;
405
+ /**
406
+ * Your unique identifier for the customer.
407
+ */
408
+ customer_key?: string | undefined;
409
+ /**
410
+ * List of gym or fitness facilities.
411
+ */
412
+ facilities?: Array<{
413
+ /**
414
+ * Your unique identifier for the facility.
415
+ */
416
+ facility_key?: string | undefined;
417
+ /**
418
+ * Your display name for this location resource.
419
+ */
420
+ name?: string | undefined;
421
+ }> | undefined;
422
+ /**
423
+ * List of guests.
424
+ */
425
+ guests?: Array<{
426
+ /**
427
+ * Email address associated with the user identity.
428
+ */
429
+ email_address?: string | undefined;
430
+ /**
431
+ * Your unique identifier for the guest.
432
+ */
433
+ guest_key?: string | undefined;
434
+ /**
435
+ * Your display name for this user identity resource.
436
+ */
437
+ name?: string | undefined;
438
+ /**
439
+ * Phone number associated with the user identity.
440
+ */
441
+ phone_number?: string | undefined;
442
+ }> | undefined;
443
+ /**
444
+ * List of property listings.
445
+ */
446
+ listings?: Array<{
447
+ /**
448
+ * Your unique identifier for the listing.
449
+ */
450
+ listing_key?: string | undefined;
451
+ /**
452
+ * Your display name for this location resource.
453
+ */
454
+ name?: string | undefined;
455
+ }> | undefined;
456
+ /**
457
+ * List of short-term rental properties.
458
+ */
459
+ properties?: Array<{
460
+ /**
461
+ * Your display name for this location resource.
462
+ */
463
+ name?: string | undefined;
464
+ /**
465
+ * Your unique identifier for the property.
466
+ */
467
+ property_key?: string | undefined;
468
+ }> | undefined;
469
+ /**
470
+ * List of property listings.
471
+ */
472
+ property_listings?: Array<{
473
+ /**
474
+ * Set key:value pairs. Accepts string or Boolean values. Adding custom metadata to a property listing enables you to store custom information, like customer details or internal IDs from your application.
475
+ */
476
+ custom_metadata?: Record<string, unknown> | undefined;
477
+ /**
478
+ * Your display name for this location resource.
479
+ */
480
+ name?: string | undefined;
481
+ /**
482
+ * Your unique identifier for the property listing.
483
+ */
484
+ property_listing_key?: string | undefined;
485
+ }> | undefined;
486
+ /**
487
+ * List of reservations.
488
+ */
489
+ reservations?: Array<{
490
+ /**
491
+ * Building keys associated with the access grant.
492
+ */
493
+ building_keys?: Array<string> | undefined;
494
+ /**
495
+ * Common area keys associated with the access grant.
496
+ */
497
+ common_area_keys?: Array<string> | undefined;
498
+ /**
499
+ * Set key:value pairs for filtering reservations by custom criteria.
500
+ */
501
+ custom_metadata?: Record<string, unknown> | undefined;
502
+ /**
503
+ * Ending date and time for the access grant.
504
+ */
505
+ ends_at?: string | undefined;
506
+ /**
507
+ * Facility keys associated with the access grant.
508
+ */
509
+ facility_keys?: Array<string> | undefined;
510
+ /**
511
+ * Guest key associated with the access grant.
512
+ */
513
+ guest_key?: string | undefined;
514
+ /**
515
+ * Listing keys associated with the access grant.
516
+ */
517
+ listing_keys?: Array<string> | undefined;
518
+ /**
519
+ * Your name for this access grant resource.
520
+ */
521
+ name?: string | undefined;
522
+ /**
523
+ * Preferred PIN code to use when creating access for this reservation.
524
+ */
525
+ preferred_code?: string | undefined;
526
+ /**
527
+ * Property keys associated with the access grant.
528
+ */
529
+ property_keys?: Array<string> | undefined;
530
+ /**
531
+ * Your unique identifier for the reservation.
532
+ */
533
+ reservation_key?: string | undefined;
534
+ /**
535
+ * Resident key associated with the access grant.
536
+ */
537
+ resident_key?: string | undefined;
538
+ /**
539
+ * Room keys associated with the access grant.
540
+ */
541
+ room_keys?: Array<string> | undefined;
542
+ /**
543
+ * Space keys associated with the access grant.
544
+ */
545
+ space_keys?: Array<string> | undefined;
546
+ /**
547
+ * Starting date and time for the access grant.
548
+ */
549
+ starts_at?: string | undefined;
550
+ /**
551
+ * Tenant key associated with the access grant.
552
+ */
553
+ tenant_key?: string | undefined;
554
+ /**
555
+ * Unit keys associated with the access grant.
556
+ */
557
+ unit_keys?: Array<string> | undefined;
558
+ /**
559
+ * User identity key associated with the access grant.
560
+ */
561
+ user_identity_key?: string | undefined;
562
+ /**
563
+ * User key associated with the access grant.
564
+ */
565
+ user_key?: string | undefined;
566
+ }> | undefined;
567
+ /**
568
+ * List of residents.
569
+ */
570
+ residents?: Array<{
571
+ /**
572
+ * Email address associated with the user identity.
573
+ */
574
+ email_address?: string | undefined;
575
+ /**
576
+ * Your display name for this user identity resource.
577
+ */
578
+ name?: string | undefined;
579
+ /**
580
+ * Phone number associated with the user identity.
581
+ */
582
+ phone_number?: string | undefined;
583
+ /**
584
+ * Your unique identifier for the resident.
585
+ */
586
+ resident_key?: string | undefined;
587
+ }> | undefined;
588
+ /**
589
+ * List of hotel or hospitality rooms.
590
+ */
591
+ rooms?: Array<{
592
+ /**
593
+ * Your display name for this location resource.
594
+ */
595
+ name?: string | undefined;
596
+ /**
597
+ * Your unique identifier for the site.
598
+ */
599
+ parent_site_key?: string | undefined;
600
+ /**
601
+ * Your unique identifier for the room.
602
+ */
603
+ room_key?: string | undefined;
604
+ }> | undefined;
605
+ /**
606
+ * List of general sites or areas.
607
+ */
608
+ sites?: Array<{
609
+ /**
610
+ * Your display name for this location resource.
611
+ */
612
+ name?: string | undefined;
613
+ /**
614
+ * Your unique identifier for the site.
615
+ */
616
+ site_key?: string | undefined;
617
+ }> | undefined;
618
+ /**
619
+ * List of general spaces or areas.
620
+ */
621
+ spaces?: Array<{
622
+ /**
623
+ * Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).
624
+ */
625
+ customer_data?: {
626
+ /**
627
+ * Postal address for the space.
628
+ */
629
+ address?: string | undefined;
630
+ /**
631
+ * Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.
632
+ */
633
+ default_checkin_time?: string | undefined;
634
+ /**
635
+ * Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.
636
+ */
637
+ default_checkout_time?: string | undefined;
638
+ /**
639
+ * IANA time zone for the space, e.g. America/Los_Angeles.
640
+ */
641
+ time_zone?: string | undefined;
642
+ } | undefined;
643
+ /**
644
+ * Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.
645
+ */
646
+ duration_minutes?: number | undefined;
647
+ /**
648
+ * Geographic coordinates (latitude and longitude) of the space.
649
+ */
650
+ geolocation?: {
651
+ /**
652
+ * Latitude of the space, in decimal degrees.
653
+ */
654
+ latitude?: number | undefined;
655
+ /**
656
+ * Longitude of the space, in decimal degrees.
657
+ */
658
+ longitude?: number | undefined;
659
+ } | undefined;
660
+ /**
661
+ * Your display name for this location resource.
662
+ */
663
+ name?: string | undefined;
664
+ /**
665
+ * Your unique identifier for the site.
666
+ */
667
+ parent_site_key?: string | undefined;
668
+ /**
669
+ * Your unique identifier for the space.
670
+ */
671
+ space_key?: string | undefined;
672
+ }> | undefined;
673
+ /**
674
+ * List of staff members.
675
+ */
676
+ staff_members?: Array<{
677
+ /**
678
+ * List of unique identifiers for the buildings the staff member is associated with.
679
+ */
680
+ building_keys?: Array<string> | undefined;
681
+ /**
682
+ * List of unique identifiers for the common areas the staff member is associated with.
683
+ */
684
+ common_area_keys?: Array<string> | undefined;
685
+ /**
686
+ * Email address associated with the user identity.
687
+ */
688
+ email_address?: string | undefined;
689
+ /**
690
+ * List of unique identifiers for the facilities the staff member is associated with.
691
+ */
692
+ facility_keys?: Array<string> | undefined;
693
+ /**
694
+ * List of unique identifiers for the listings the staff member is associated with.
695
+ */
696
+ listing_keys?: Array<string> | undefined;
697
+ /**
698
+ * Your display name for this user identity resource.
699
+ */
700
+ name?: string | undefined;
701
+ /**
702
+ * Phone number associated with the user identity.
703
+ */
704
+ phone_number?: string | undefined;
705
+ /**
706
+ * List of unique identifiers for the properties the staff member is associated with.
707
+ */
708
+ property_keys?: Array<string> | undefined;
709
+ /**
710
+ * List of unique identifiers for the property listings the staff member is associated with.
711
+ */
712
+ property_listing_keys?: Array<string> | undefined;
713
+ /**
714
+ * List of unique identifiers for the rooms the staff member is associated with.
715
+ */
716
+ room_keys?: Array<string> | undefined;
717
+ /**
718
+ * List of unique identifiers for the sites the staff member is associated with.
719
+ */
720
+ site_keys?: Array<string> | undefined;
721
+ /**
722
+ * List of unique identifiers for the spaces the staff member is associated with.
723
+ */
724
+ space_keys?: Array<string> | undefined;
725
+ /**
726
+ * Your unique identifier for the staff.
727
+ */
728
+ staff_member_key?: string | undefined;
729
+ /**
730
+ * List of unique identifiers for the units the staff member is associated with.
731
+ */
732
+ unit_keys?: Array<string> | undefined;
733
+ }> | undefined;
734
+ /**
735
+ * List of tenants.
736
+ */
737
+ tenants?: Array<{
738
+ /**
739
+ * Email address associated with the user identity.
740
+ */
741
+ email_address?: string | undefined;
742
+ /**
743
+ * Your display name for this user identity resource.
744
+ */
745
+ name?: string | undefined;
746
+ /**
747
+ * Phone number associated with the user identity.
748
+ */
749
+ phone_number?: string | undefined;
750
+ /**
751
+ * Your unique identifier for the tenant.
752
+ */
753
+ tenant_key?: string | undefined;
754
+ }> | undefined;
755
+ /**
756
+ * List of multi-family residential units.
757
+ */
758
+ units?: Array<{
759
+ /**
760
+ * Your display name for this location resource.
761
+ */
762
+ name?: string | undefined;
763
+ /**
764
+ * Your unique identifier for the site.
765
+ */
766
+ parent_site_key?: string | undefined;
767
+ /**
768
+ * Your unique identifier for the unit.
769
+ */
770
+ unit_key?: string | undefined;
771
+ }> | undefined;
772
+ /**
773
+ * List of user identities.
774
+ */
775
+ user_identities?: Array<{
776
+ /**
777
+ * Email address associated with the user identity.
778
+ */
779
+ email_address?: string | undefined;
780
+ /**
781
+ * Your display name for this user identity resource.
782
+ */
783
+ name?: string | undefined;
784
+ /**
785
+ * Phone number associated with the user identity.
786
+ */
787
+ phone_number?: string | undefined;
788
+ /**
789
+ * Your unique identifier for the user identity.
790
+ */
791
+ user_identity_key?: string | undefined;
792
+ }> | undefined;
793
+ /**
794
+ * List of users.
795
+ */
796
+ users?: Array<{
797
+ /**
798
+ * Email address associated with the user identity.
799
+ */
800
+ email_address?: string | undefined;
801
+ /**
802
+ * Your display name for this user identity resource.
803
+ */
804
+ name?: string | undefined;
805
+ /**
806
+ * Phone number associated with the user identity.
807
+ */
808
+ phone_number?: string | undefined;
809
+ /**
810
+ * Your unique identifier for the user.
811
+ */
812
+ user_key?: string | undefined;
813
+ }> | undefined;
814
+ } | undefined;
815
+ };
816
+ /**
817
+ * @deprecated Use CustomersCreatePortalRequest instead.
818
+ */
819
+ export type CustomersCreatePortalResponse = {
820
+ customer_portal: CustomerPortal;
821
+ };
822
+ export type CustomersCreatePortalRequest = SeamHttpRequest<CustomersCreatePortalResponse, 'customer_portal'>;
823
+ export interface CustomersCreatePortalOptions {
824
+ }
825
+ export type CustomersDeleteDataParameters = {
826
+ /**
827
+ * List of access grant keys to delete.
828
+ */
829
+ access_grant_keys?: Array<string> | undefined;
830
+ /**
831
+ * List of booking keys to delete.
832
+ */
833
+ booking_keys?: Array<string> | undefined;
834
+ /**
835
+ * List of building keys to delete.
836
+ */
837
+ building_keys?: Array<string> | undefined;
838
+ /**
839
+ * List of common area keys to delete.
840
+ */
841
+ common_area_keys?: Array<string> | undefined;
842
+ /**
843
+ * List of customer keys to delete all data for.
844
+ */
845
+ customer_keys?: Array<string> | undefined;
846
+ /**
847
+ * List of facility keys to delete.
848
+ */
849
+ facility_keys?: Array<string> | undefined;
850
+ /**
851
+ * List of guest keys to delete.
852
+ */
853
+ guest_keys?: Array<string> | undefined;
854
+ /**
855
+ * List of listing keys to delete.
856
+ */
857
+ listing_keys?: Array<string> | undefined;
858
+ /**
859
+ * List of property keys to delete.
860
+ */
861
+ property_keys?: Array<string> | undefined;
862
+ /**
863
+ * List of property listing keys to delete.
864
+ */
865
+ property_listing_keys?: Array<string> | undefined;
866
+ /**
867
+ * List of reservation keys to delete.
868
+ */
869
+ reservation_keys?: Array<string> | undefined;
870
+ /**
871
+ * List of resident keys to delete.
872
+ */
873
+ resident_keys?: Array<string> | undefined;
874
+ /**
875
+ * List of room keys to delete.
876
+ */
877
+ room_keys?: Array<string> | undefined;
878
+ /**
879
+ * List of space keys to delete.
880
+ */
881
+ space_keys?: Array<string> | undefined;
882
+ /**
883
+ * List of staff member keys to delete.
884
+ */
885
+ staff_member_keys?: Array<string> | undefined;
886
+ /**
887
+ * List of tenant keys to delete.
888
+ */
889
+ tenant_keys?: Array<string> | undefined;
890
+ /**
891
+ * List of unit keys to delete.
892
+ */
893
+ unit_keys?: Array<string> | undefined;
894
+ /**
895
+ * List of user identity keys to delete.
896
+ */
897
+ user_identity_keys?: Array<string> | undefined;
898
+ /**
899
+ * List of user keys to delete.
900
+ */
901
+ user_keys?: Array<string> | undefined;
902
+ };
903
+ /**
904
+ * @deprecated Use CustomersDeleteDataRequest instead.
905
+ */
906
+ export type CustomersDeleteDataResponse = void;
907
+ export type CustomersDeleteDataRequest = SeamHttpRequest<void, undefined>;
908
+ export interface CustomersDeleteDataOptions {
909
+ }
910
+ export type CustomersPushDataParameters = {
911
+ /**
912
+ * List of access grants.
913
+ */
914
+ access_grants?: Array<{
915
+ /**
916
+ * Your unique identifier for the access grant.
917
+ */
918
+ access_grant_key?: string | undefined;
919
+ /**
920
+ * Building keys associated with the access grant.
921
+ */
922
+ building_keys?: Array<string> | undefined;
923
+ /**
924
+ * Common area keys associated with the access grant.
925
+ */
926
+ common_area_keys?: Array<string> | undefined;
927
+ /**
928
+ * Ending date and time for the access grant.
929
+ */
930
+ ends_at?: string | undefined;
931
+ /**
932
+ * Facility keys associated with the access grant.
933
+ */
934
+ facility_keys?: Array<string> | undefined;
935
+ /**
936
+ * Guest key associated with the access grant.
937
+ */
938
+ guest_key?: string | undefined;
939
+ /**
940
+ * Listing keys associated with the access grant.
941
+ */
942
+ listing_keys?: Array<string> | undefined;
943
+ /**
944
+ * Your name for this access grant resource.
945
+ */
946
+ name?: string | undefined;
947
+ /**
948
+ * Preferred PIN code to use when creating access for this reservation.
949
+ */
950
+ preferred_code?: string | undefined;
951
+ /**
952
+ * Property keys associated with the access grant.
953
+ */
954
+ property_keys?: Array<string> | undefined;
955
+ /**
956
+ * Resident key associated with the access grant.
957
+ */
958
+ resident_key?: string | undefined;
959
+ /**
960
+ * Room keys associated with the access grant.
961
+ */
962
+ room_keys?: Array<string> | undefined;
963
+ /**
964
+ * Space keys associated with the access grant.
965
+ */
966
+ space_keys?: Array<string> | undefined;
967
+ /**
968
+ * Starting date and time for the access grant.
969
+ */
970
+ starts_at?: string | undefined;
971
+ /**
972
+ * Tenant key associated with the access grant.
973
+ */
974
+ tenant_key?: string | undefined;
975
+ /**
976
+ * Unit keys associated with the access grant.
977
+ */
978
+ unit_keys?: Array<string> | undefined;
979
+ /**
980
+ * User identity key associated with the access grant.
981
+ */
982
+ user_identity_key?: string | undefined;
983
+ /**
984
+ * User key associated with the access grant.
985
+ */
986
+ user_key?: string | undefined;
987
+ }> | undefined;
988
+ /**
989
+ * List of bookings.
990
+ */
991
+ bookings?: Array<{
992
+ /**
993
+ * Your unique identifier for the booking.
994
+ */
995
+ booking_key?: string | undefined;
996
+ /**
997
+ * Building keys associated with the access grant.
998
+ */
999
+ building_keys?: Array<string> | undefined;
1000
+ /**
1001
+ * Common area keys associated with the access grant.
1002
+ */
1003
+ common_area_keys?: Array<string> | undefined;
1004
+ /**
1005
+ * Ending date and time for the access grant.
1006
+ */
1007
+ ends_at?: string | undefined;
1008
+ /**
1009
+ * Facility keys associated with the access grant.
1010
+ */
1011
+ facility_keys?: Array<string> | undefined;
1012
+ /**
1013
+ * Guest key associated with the access grant.
1014
+ */
1015
+ guest_key?: string | undefined;
1016
+ /**
1017
+ * Listing keys associated with the access grant.
1018
+ */
1019
+ listing_keys?: Array<string> | undefined;
1020
+ /**
1021
+ * Your name for this access grant resource.
1022
+ */
1023
+ name?: string | undefined;
1024
+ /**
1025
+ * Preferred PIN code to use when creating access for this reservation.
1026
+ */
1027
+ preferred_code?: string | undefined;
1028
+ /**
1029
+ * Property keys associated with the access grant.
1030
+ */
1031
+ property_keys?: Array<string> | undefined;
1032
+ /**
1033
+ * Resident key associated with the access grant.
1034
+ */
1035
+ resident_key?: string | undefined;
1036
+ /**
1037
+ * Room keys associated with the access grant.
1038
+ */
1039
+ room_keys?: Array<string> | undefined;
1040
+ /**
1041
+ * Space keys associated with the access grant.
1042
+ */
1043
+ space_keys?: Array<string> | undefined;
1044
+ /**
1045
+ * Starting date and time for the access grant.
1046
+ */
1047
+ starts_at?: string | undefined;
1048
+ /**
1049
+ * Tenant key associated with the access grant.
1050
+ */
1051
+ tenant_key?: string | undefined;
1052
+ /**
1053
+ * Unit keys associated with the access grant.
1054
+ */
1055
+ unit_keys?: Array<string> | undefined;
1056
+ /**
1057
+ * User identity key associated with the access grant.
1058
+ */
1059
+ user_identity_key?: string | undefined;
1060
+ /**
1061
+ * User key associated with the access grant.
1062
+ */
1063
+ user_key?: string | undefined;
1064
+ }> | undefined;
1065
+ /**
1066
+ * List of buildings.
1067
+ */
1068
+ buildings?: Array<{
1069
+ /**
1070
+ * Your unique identifier for the building.
1071
+ */
1072
+ building_key?: string | undefined;
1073
+ /**
1074
+ * Your display name for this location resource.
1075
+ */
1076
+ name?: string | undefined;
1077
+ }> | undefined;
1078
+ /**
1079
+ * List of shared common areas.
1080
+ */
1081
+ common_areas?: Array<{
1082
+ /**
1083
+ * Your unique identifier for the common area.
1084
+ */
1085
+ common_area_key?: string | undefined;
1086
+ /**
1087
+ * Your display name for this location resource.
1088
+ */
1089
+ name?: string | undefined;
1090
+ /**
1091
+ * Your unique identifier for the site.
1092
+ */
1093
+ parent_site_key?: string | undefined;
1094
+ }> | undefined;
1095
+ /**
1096
+ * Your unique identifier for the customer.
1097
+ */
1098
+ customer_key: string;
1099
+ /**
1100
+ * List of gym or fitness facilities.
1101
+ */
1102
+ facilities?: Array<{
1103
+ /**
1104
+ * Your unique identifier for the facility.
1105
+ */
1106
+ facility_key?: string | undefined;
1107
+ /**
1108
+ * Your display name for this location resource.
1109
+ */
1110
+ name?: string | undefined;
1111
+ }> | undefined;
1112
+ /**
1113
+ * List of guests.
1114
+ */
1115
+ guests?: Array<{
1116
+ /**
1117
+ * Email address associated with the user identity.
1118
+ */
1119
+ email_address?: string | undefined;
1120
+ /**
1121
+ * Your unique identifier for the guest.
1122
+ */
1123
+ guest_key?: string | undefined;
1124
+ /**
1125
+ * Your display name for this user identity resource.
1126
+ */
1127
+ name?: string | undefined;
1128
+ /**
1129
+ * Phone number associated with the user identity.
1130
+ */
1131
+ phone_number?: string | undefined;
1132
+ }> | undefined;
1133
+ /**
1134
+ * List of property listings.
1135
+ */
1136
+ listings?: Array<{
1137
+ /**
1138
+ * Your unique identifier for the listing.
1139
+ */
1140
+ listing_key?: string | undefined;
1141
+ /**
1142
+ * Your display name for this location resource.
1143
+ */
1144
+ name?: string | undefined;
1145
+ }> | undefined;
1146
+ /**
1147
+ * List of short-term rental properties.
1148
+ */
1149
+ properties?: Array<{
1150
+ /**
1151
+ * Your display name for this location resource.
1152
+ */
1153
+ name?: string | undefined;
1154
+ /**
1155
+ * Your unique identifier for the property.
1156
+ */
1157
+ property_key?: string | undefined;
1158
+ }> | undefined;
1159
+ /**
1160
+ * List of property listings.
1161
+ */
1162
+ property_listings?: Array<{
1163
+ /**
1164
+ * Set key:value pairs. Accepts string or Boolean values. Adding custom metadata to a property listing enables you to store custom information, like customer details or internal IDs from your application.
1165
+ */
1166
+ custom_metadata?: Record<string, unknown> | undefined;
1167
+ /**
1168
+ * Your display name for this location resource.
1169
+ */
1170
+ name?: string | undefined;
1171
+ /**
1172
+ * Your unique identifier for the property listing.
1173
+ */
1174
+ property_listing_key?: string | undefined;
1175
+ }> | undefined;
1176
+ /**
1177
+ * List of reservations.
1178
+ */
1179
+ reservations?: Array<{
1180
+ /**
1181
+ * Building keys associated with the access grant.
1182
+ */
1183
+ building_keys?: Array<string> | undefined;
1184
+ /**
1185
+ * Common area keys associated with the access grant.
1186
+ */
1187
+ common_area_keys?: Array<string> | undefined;
1188
+ /**
1189
+ * Set key:value pairs for filtering reservations by custom criteria.
1190
+ */
1191
+ custom_metadata?: Record<string, unknown> | undefined;
1192
+ /**
1193
+ * Ending date and time for the access grant.
1194
+ */
1195
+ ends_at?: string | undefined;
1196
+ /**
1197
+ * Facility keys associated with the access grant.
1198
+ */
1199
+ facility_keys?: Array<string> | undefined;
1200
+ /**
1201
+ * Guest key associated with the access grant.
1202
+ */
1203
+ guest_key?: string | undefined;
1204
+ /**
1205
+ * Listing keys associated with the access grant.
1206
+ */
1207
+ listing_keys?: Array<string> | undefined;
1208
+ /**
1209
+ * Your name for this access grant resource.
1210
+ */
1211
+ name?: string | undefined;
1212
+ /**
1213
+ * Preferred PIN code to use when creating access for this reservation.
1214
+ */
1215
+ preferred_code?: string | undefined;
1216
+ /**
1217
+ * Property keys associated with the access grant.
1218
+ */
1219
+ property_keys?: Array<string> | undefined;
1220
+ /**
1221
+ * Your unique identifier for the reservation.
1222
+ */
1223
+ reservation_key?: string | undefined;
1224
+ /**
1225
+ * Resident key associated with the access grant.
1226
+ */
1227
+ resident_key?: string | undefined;
1228
+ /**
1229
+ * Room keys associated with the access grant.
1230
+ */
1231
+ room_keys?: Array<string> | undefined;
1232
+ /**
1233
+ * Space keys associated with the access grant.
1234
+ */
1235
+ space_keys?: Array<string> | undefined;
1236
+ /**
1237
+ * Starting date and time for the access grant.
1238
+ */
1239
+ starts_at?: string | undefined;
1240
+ /**
1241
+ * Tenant key associated with the access grant.
1242
+ */
1243
+ tenant_key?: string | undefined;
1244
+ /**
1245
+ * Unit keys associated with the access grant.
1246
+ */
1247
+ unit_keys?: Array<string> | undefined;
1248
+ /**
1249
+ * User identity key associated with the access grant.
1250
+ */
1251
+ user_identity_key?: string | undefined;
1252
+ /**
1253
+ * User key associated with the access grant.
1254
+ */
1255
+ user_key?: string | undefined;
1256
+ }> | undefined;
1257
+ /**
1258
+ * List of residents.
1259
+ */
1260
+ residents?: Array<{
1261
+ /**
1262
+ * Email address associated with the user identity.
1263
+ */
1264
+ email_address?: string | undefined;
1265
+ /**
1266
+ * Your display name for this user identity resource.
1267
+ */
1268
+ name?: string | undefined;
1269
+ /**
1270
+ * Phone number associated with the user identity.
1271
+ */
1272
+ phone_number?: string | undefined;
1273
+ /**
1274
+ * Your unique identifier for the resident.
1275
+ */
1276
+ resident_key?: string | undefined;
1277
+ }> | undefined;
1278
+ /**
1279
+ * List of hotel or hospitality rooms.
1280
+ */
1281
+ rooms?: Array<{
1282
+ /**
1283
+ * Your display name for this location resource.
1284
+ */
1285
+ name?: string | undefined;
1286
+ /**
1287
+ * Your unique identifier for the site.
1288
+ */
1289
+ parent_site_key?: string | undefined;
1290
+ /**
1291
+ * Your unique identifier for the room.
1292
+ */
1293
+ room_key?: string | undefined;
1294
+ }> | undefined;
1295
+ /**
1296
+ * List of general sites or areas.
1297
+ */
1298
+ sites?: Array<{
1299
+ /**
1300
+ * Your display name for this location resource.
1301
+ */
1302
+ name?: string | undefined;
1303
+ /**
1304
+ * Your unique identifier for the site.
1305
+ */
1306
+ site_key?: string | undefined;
1307
+ }> | undefined;
1308
+ /**
1309
+ * List of general spaces or areas.
1310
+ */
1311
+ spaces?: Array<{
1312
+ /**
1313
+ * Reservation/stay-related defaults for the space (time zone, default check-in/out times, address).
1314
+ */
1315
+ customer_data?: {
1316
+ /**
1317
+ * Postal address for the space.
1318
+ */
1319
+ address?: string | undefined;
1320
+ /**
1321
+ * Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.
1322
+ */
1323
+ default_checkin_time?: string | undefined;
1324
+ /**
1325
+ * Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.
1326
+ */
1327
+ default_checkout_time?: string | undefined;
1328
+ /**
1329
+ * IANA time zone for the space, e.g. America/Los_Angeles.
1330
+ */
1331
+ time_zone?: string | undefined;
1332
+ } | undefined;
1333
+ /**
1334
+ * Default duration of this space in minutes, when the space represents a fixed-length bookable slot (e.g. an appointment type). Used to interpret reservations booked against this space.
1335
+ */
1336
+ duration_minutes?: number | undefined;
1337
+ /**
1338
+ * Geographic coordinates (latitude and longitude) of the space.
1339
+ */
1340
+ geolocation?: {
1341
+ /**
1342
+ * Latitude of the space, in decimal degrees.
1343
+ */
1344
+ latitude?: number | undefined;
1345
+ /**
1346
+ * Longitude of the space, in decimal degrees.
1347
+ */
1348
+ longitude?: number | undefined;
1349
+ } | undefined;
1350
+ /**
1351
+ * Your display name for this location resource.
1352
+ */
1353
+ name?: string | undefined;
1354
+ /**
1355
+ * Your unique identifier for the site.
1356
+ */
1357
+ parent_site_key?: string | undefined;
1358
+ /**
1359
+ * Your unique identifier for the space.
1360
+ */
1361
+ space_key?: string | undefined;
1362
+ }> | undefined;
1363
+ /**
1364
+ * List of staff members.
1365
+ */
1366
+ staff_members?: Array<{
1367
+ /**
1368
+ * List of unique identifiers for the buildings the staff member is associated with.
1369
+ */
1370
+ building_keys?: Array<string> | undefined;
1371
+ /**
1372
+ * List of unique identifiers for the common areas the staff member is associated with.
1373
+ */
1374
+ common_area_keys?: Array<string> | undefined;
1375
+ /**
1376
+ * Email address associated with the user identity.
1377
+ */
1378
+ email_address?: string | undefined;
1379
+ /**
1380
+ * List of unique identifiers for the facilities the staff member is associated with.
1381
+ */
1382
+ facility_keys?: Array<string> | undefined;
1383
+ /**
1384
+ * List of unique identifiers for the listings the staff member is associated with.
1385
+ */
1386
+ listing_keys?: Array<string> | undefined;
1387
+ /**
1388
+ * Your display name for this user identity resource.
1389
+ */
1390
+ name?: string | undefined;
1391
+ /**
1392
+ * Phone number associated with the user identity.
1393
+ */
1394
+ phone_number?: string | undefined;
1395
+ /**
1396
+ * List of unique identifiers for the properties the staff member is associated with.
1397
+ */
1398
+ property_keys?: Array<string> | undefined;
1399
+ /**
1400
+ * List of unique identifiers for the property listings the staff member is associated with.
1401
+ */
1402
+ property_listing_keys?: Array<string> | undefined;
1403
+ /**
1404
+ * List of unique identifiers for the rooms the staff member is associated with.
1405
+ */
1406
+ room_keys?: Array<string> | undefined;
1407
+ /**
1408
+ * List of unique identifiers for the sites the staff member is associated with.
1409
+ */
1410
+ site_keys?: Array<string> | undefined;
1411
+ /**
1412
+ * List of unique identifiers for the spaces the staff member is associated with.
1413
+ */
1414
+ space_keys?: Array<string> | undefined;
1415
+ /**
1416
+ * Your unique identifier for the staff.
1417
+ */
1418
+ staff_member_key?: string | undefined;
1419
+ /**
1420
+ * List of unique identifiers for the units the staff member is associated with.
1421
+ */
1422
+ unit_keys?: Array<string> | undefined;
1423
+ }> | undefined;
1424
+ /**
1425
+ * List of tenants.
1426
+ */
1427
+ tenants?: Array<{
1428
+ /**
1429
+ * Email address associated with the user identity.
1430
+ */
1431
+ email_address?: string | undefined;
1432
+ /**
1433
+ * Your display name for this user identity resource.
1434
+ */
1435
+ name?: string | undefined;
1436
+ /**
1437
+ * Phone number associated with the user identity.
1438
+ */
1439
+ phone_number?: string | undefined;
1440
+ /**
1441
+ * Your unique identifier for the tenant.
1442
+ */
1443
+ tenant_key?: string | undefined;
1444
+ }> | undefined;
1445
+ /**
1446
+ * List of multi-family residential units.
1447
+ */
1448
+ units?: Array<{
1449
+ /**
1450
+ * Your display name for this location resource.
1451
+ */
1452
+ name?: string | undefined;
1453
+ /**
1454
+ * Your unique identifier for the site.
1455
+ */
1456
+ parent_site_key?: string | undefined;
1457
+ /**
1458
+ * Your unique identifier for the unit.
1459
+ */
1460
+ unit_key?: string | undefined;
1461
+ }> | undefined;
1462
+ /**
1463
+ * List of user identities.
1464
+ */
1465
+ user_identities?: Array<{
1466
+ /**
1467
+ * Email address associated with the user identity.
1468
+ */
1469
+ email_address?: string | undefined;
1470
+ /**
1471
+ * Your display name for this user identity resource.
1472
+ */
1473
+ name?: string | undefined;
1474
+ /**
1475
+ * Phone number associated with the user identity.
1476
+ */
1477
+ phone_number?: string | undefined;
1478
+ /**
1479
+ * Your unique identifier for the user identity.
1480
+ */
1481
+ user_identity_key?: string | undefined;
1482
+ }> | undefined;
1483
+ /**
1484
+ * List of users.
1485
+ */
1486
+ users?: Array<{
1487
+ /**
1488
+ * Email address associated with the user identity.
1489
+ */
1490
+ email_address?: string | undefined;
1491
+ /**
1492
+ * Your display name for this user identity resource.
1493
+ */
1494
+ name?: string | undefined;
1495
+ /**
1496
+ * Phone number associated with the user identity.
1497
+ */
1498
+ phone_number?: string | undefined;
1499
+ /**
1500
+ * Your unique identifier for the user.
1501
+ */
1502
+ user_key?: string | undefined;
1503
+ }> | undefined;
1504
+ };
1505
+ /**
1506
+ * @deprecated Use CustomersPushDataRequest instead.
1507
+ */
1508
+ export type CustomersPushDataResponse = void;
1509
+ export type CustomersPushDataRequest = SeamHttpRequest<void, undefined>;
1510
+ export interface CustomersPushDataOptions {
1511
+ }