@seamapi/http 2.1.0 → 2.2.0

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