@seamapi/http 2.0.0 → 2.2.0

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