@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.
- package/README.md +0 -30
- package/lib/seam/connect/api-error-types.js +0 -1
- package/lib/seam/connect/api-error-types.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/resources/access-code.d.ts +743 -56
- package/lib/seam/connect/resources/access-grant.d.ts +279 -10
- package/lib/seam/connect/resources/access-method.d.ts +204 -8
- package/lib/seam/connect/resources/acs-access-group.d.ts +242 -9
- package/lib/seam/connect/resources/acs-credential.d.ts +212 -6
- package/lib/seam/connect/resources/acs-encoder.d.ts +46 -0
- package/lib/seam/connect/resources/acs-entrance.d.ts +298 -5
- package/lib/seam/connect/resources/acs-system.d.ts +227 -11
- package/lib/seam/connect/resources/acs-user.d.ts +388 -19
- package/lib/seam/connect/resources/action-attempt.d.ts +954 -0
- package/lib/seam/connect/resources/batch.d.ts +3 -0
- package/lib/seam/connect/resources/client-session.d.ts +48 -0
- package/lib/seam/connect/resources/connect-webview.d.ts +70 -0
- package/lib/seam/connect/resources/connected-account.d.ts +281 -12
- package/lib/seam/connect/resources/customer-portal.d.ts +22 -0
- package/lib/seam/connect/resources/device-provider.d.ts +72 -0
- package/lib/seam/connect/resources/device.d.ts +2063 -41
- package/lib/seam/connect/resources/event.d.ts +4014 -0
- package/lib/seam/connect/resources/instant-key.d.ts +41 -0
- package/lib/seam/connect/resources/noise-threshold.d.ts +24 -0
- package/lib/seam/connect/resources/phone.d.ts +72 -0
- package/lib/seam/connect/resources/space.d.ts +54 -0
- package/lib/seam/connect/resources/thermostat-daily-program.d.ts +27 -0
- package/lib/seam/connect/resources/thermostat-schedule.d.ts +45 -0
- package/lib/seam/connect/resources/unmanaged-access-code.d.ts +602 -50
- package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +267 -10
- package/lib/seam/connect/resources/unmanaged-access-method.d.ts +195 -8
- package/lib/seam/connect/resources/unmanaged-device.d.ts +810 -120
- package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +79 -3
- package/lib/seam/connect/resources/user-identity.d.ts +82 -3
- package/lib/seam/connect/resources/webhook.d.ts +15 -0
- package/lib/seam/connect/resources/workspace.d.ts +45 -0
- package/lib/seam/connect/routes/access-codes/access-codes.d.ts +288 -0
- package/lib/seam/connect/routes/access-codes/access-codes.js +60 -0
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +12 -0
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +72 -0
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +21 -0
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +177 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js +21 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +43 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +13 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +78 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js +21 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +21 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +6 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +63 -0
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +21 -0
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +126 -0
- package/lib/seam/connect/routes/acs/credentials/credentials.js +24 -0
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +66 -0
- package/lib/seam/connect/routes/acs/encoders/encoders.js +15 -0
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +39 -0
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -0
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +72 -0
- package/lib/seam/connect/routes/acs/entrances/entrances.js +15 -0
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs/systems/systems.d.ts +64 -0
- package/lib/seam/connect/routes/acs/systems/systems.js +16 -0
- package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/users.d.ts +189 -0
- package/lib/seam/connect/routes/acs/users/users.js +33 -0
- package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -0
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +6 -0
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +113 -0
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +23 -0
- package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +76 -0
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +22 -0
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +70 -0
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +19 -0
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +6 -0
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/customers/customers.d.ts +1042 -0
- package/lib/seam/connect/routes/customers/customers.js +10 -0
- package/lib/seam/connect/routes/customers/customers.js.map +1 -1
- package/lib/seam/connect/routes/devices/devices.d.ts +122 -0
- package/lib/seam/connect/routes/devices/devices.js +23 -0
- package/lib/seam/connect/routes/devices/devices.js.map +1 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +42 -0
- package/lib/seam/connect/routes/devices/simulate/simulate.js +27 -0
- package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +80 -0
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +17 -0
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/events/events.d.ts +99 -0
- package/lib/seam/connect/routes/events/events.js +6 -0
- package/lib/seam/connect/routes/events/events.js.map +1 -1
- package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +21 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js +9 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
- package/lib/seam/connect/routes/locks/locks.d.ts +85 -0
- package/lib/seam/connect/routes/locks/locks.js +16 -0
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +15 -0
- package/lib/seam/connect/routes/locks/simulate/simulate.js +6 -0
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +51 -0
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -0
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +66 -0
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -0
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +6 -0
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones/phones.d.ts +21 -0
- package/lib/seam/connect/routes/phones/phones.js +9 -0
- package/lib/seam/connect/routes/phones/phones.js.map +1 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +45 -0
- package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +6 -0
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +6 -0
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +696 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js +696 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +165 -0
- package/lib/seam/connect/routes/spaces/spaces.js +36 -0
- package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +42 -0
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +9 -0
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +69 -0
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -0
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +33 -0
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -0
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/thermostats.d.ts +300 -0
- package/lib/seam/connect/routes/thermostats/thermostats.js +42 -0
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +35 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +11 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +145 -0
- package/lib/seam/connect/routes/user-identities/user-identities.js +46 -0
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks/webhooks.d.ts +33 -0
- package/lib/seam/connect/routes/webhooks/webhooks.js +15 -0
- package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/workspaces.d.ts +88 -0
- package/lib/seam/connect/routes/workspaces/workspaces.js +15 -0
- package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -9
- package/src/lib/seam/connect/api-error-types.ts +0 -2
- package/src/lib/seam/connect/openapi.ts +2 -4
- package/src/lib/seam/connect/resources/access-code.ts +719 -35
- package/src/lib/seam/connect/resources/access-grant.ts +284 -16
- package/src/lib/seam/connect/resources/access-method.ts +205 -10
- package/src/lib/seam/connect/resources/acs-access-group.ts +247 -14
- package/src/lib/seam/connect/resources/acs-credential.ts +210 -5
- package/src/lib/seam/connect/resources/acs-encoder.ts +46 -0
- package/src/lib/seam/connect/resources/acs-entrance.ts +296 -4
- package/src/lib/seam/connect/resources/acs-system.ts +223 -9
- package/src/lib/seam/connect/resources/acs-user.ts +382 -16
- package/src/lib/seam/connect/resources/action-attempt.ts +956 -0
- package/src/lib/seam/connect/resources/batch.ts +3 -0
- package/src/lib/seam/connect/resources/client-session.ts +48 -0
- package/src/lib/seam/connect/resources/connect-webview.ts +70 -0
- package/src/lib/seam/connect/resources/connected-account.ts +277 -10
- package/src/lib/seam/connect/resources/customer-portal.ts +22 -0
- package/src/lib/seam/connect/resources/device-provider.ts +72 -0
- package/src/lib/seam/connect/resources/device.ts +2059 -39
- package/src/lib/seam/connect/resources/event.ts +4015 -0
- package/src/lib/seam/connect/resources/instant-key.ts +41 -0
- package/src/lib/seam/connect/resources/noise-threshold.ts +24 -0
- package/src/lib/seam/connect/resources/phone.ts +72 -0
- package/src/lib/seam/connect/resources/space.ts +54 -0
- package/src/lib/seam/connect/resources/thermostat-daily-program.ts +27 -0
- package/src/lib/seam/connect/resources/thermostat-schedule.ts +45 -0
- package/src/lib/seam/connect/resources/unmanaged-access-code.ts +580 -30
- package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +272 -16
- package/src/lib/seam/connect/resources/unmanaged-access-method.ts +196 -10
- package/src/lib/seam/connect/resources/unmanaged-device.ts +727 -39
- package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +84 -8
- package/src/lib/seam/connect/resources/user-identity.ts +87 -8
- package/src/lib/seam/connect/resources/webhook.ts +15 -0
- package/src/lib/seam/connect/resources/workspace.ts +46 -0
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +291 -0
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +12 -0
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +73 -0
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +180 -0
- package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +43 -0
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +79 -0
- package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +21 -0
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +63 -0
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +133 -0
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +66 -0
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +40 -0
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +72 -0
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +64 -0
- package/src/lib/seam/connect/routes/acs/users/users.ts +189 -0
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +21 -0
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +113 -0
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +76 -0
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +70 -0
- package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +6 -0
- package/src/lib/seam/connect/routes/customers/customers.ts +1058 -0
- package/src/lib/seam/connect/routes/devices/devices.ts +123 -0
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +42 -0
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +80 -0
- package/src/lib/seam/connect/routes/events/events.ts +99 -0
- package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +21 -0
- package/src/lib/seam/connect/routes/locks/locks.ts +85 -0
- package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +15 -0
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +51 -0
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +66 -0
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +6 -0
- package/src/lib/seam/connect/routes/phones/phones.ts +21 -0
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +45 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +6 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +696 -0
- package/src/lib/seam/connect/routes/spaces/spaces.ts +166 -0
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +42 -0
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +69 -0
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +33 -0
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +300 -0
- package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +35 -0
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +146 -0
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +33 -0
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +88 -0
- package/src/lib/version.ts +1 -1
|
@@ -3,26 +3,67 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents a Seam Instant Key. For issuing Bluetooth mobile keys, Instant Keys are the fastest way to share access. With a single API call, you can create a mobile key and send it through text or email or embed it in your own app.
|
|
8
|
+
*
|
|
9
|
+
* There’s no app to install, nor account to create. Your user just taps a link and gets a lightweight, native-feeling experience using iOS App Clip or Instant Apps on Android. Further, Instant Keys work offline, so even in areas with poor cellular or Wi-Fi, like elevator banks or concrete-walled hallways, the Instant Keys still work.
|
|
10
|
+
*/
|
|
6
11
|
export type InstantKey = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the client session associated with the Instant Key.
|
|
14
|
+
*/
|
|
7
15
|
client_session_id: string
|
|
8
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Date and time at which the Instant Key was created.
|
|
19
|
+
*/
|
|
9
20
|
created_at: string
|
|
10
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Customization applied to the Instant Key UI.
|
|
24
|
+
*/
|
|
11
25
|
customization?:
|
|
12
26
|
| {
|
|
27
|
+
/**
|
|
28
|
+
* URL of the logo displayed on the Instant Key.
|
|
29
|
+
*/
|
|
13
30
|
logo_url?: string | undefined
|
|
31
|
+
/**
|
|
32
|
+
* Primary color used in the Instant Key UI.
|
|
33
|
+
*/
|
|
14
34
|
primary_color?: string | undefined
|
|
35
|
+
/**
|
|
36
|
+
* Secondary color used in the Instant Key UI.
|
|
37
|
+
*/
|
|
15
38
|
secondary_color?: string | undefined
|
|
16
39
|
}
|
|
17
40
|
| undefined
|
|
41
|
+
/**
|
|
42
|
+
* ID of the customization profile associated with the Instant Key.
|
|
43
|
+
*/
|
|
18
44
|
customization_profile_id?: string | undefined
|
|
45
|
+
/**
|
|
46
|
+
* Date and time at which the Instant Key expires.
|
|
47
|
+
*/
|
|
19
48
|
expires_at: string
|
|
20
49
|
|
|
50
|
+
/**
|
|
51
|
+
* ID of the Instant Key.
|
|
52
|
+
*/
|
|
21
53
|
instant_key_id: string
|
|
22
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Shareable URL for the Instant Key. Use the URL to deliver the Instant Key to your user through a link in a text message or email or by embedding it in your web app.
|
|
57
|
+
*/
|
|
23
58
|
instant_key_url: string
|
|
24
59
|
|
|
60
|
+
/**
|
|
61
|
+
* ID of the user identity associated with the Instant Key.
|
|
62
|
+
*/
|
|
25
63
|
user_identity_id: string
|
|
26
64
|
|
|
65
|
+
/**
|
|
66
|
+
* ID of the workspace that contains the Instant Key.
|
|
67
|
+
*/
|
|
27
68
|
workspace_id: string
|
|
28
69
|
}
|
|
@@ -3,17 +3,41 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
|
|
8
|
+
*/
|
|
6
9
|
export type NoiseThreshold = {
|
|
10
|
+
/**
|
|
11
|
+
* Unique identifier for the device that contains the noise threshold.
|
|
12
|
+
*/
|
|
7
13
|
device_id: string
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Time at which the noise threshold should become inactive daily.
|
|
17
|
+
*/
|
|
9
18
|
ends_daily_at: string
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Name of the noise threshold.
|
|
22
|
+
*/
|
|
11
23
|
name: string
|
|
12
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Noise level in decibels for the noise threshold.
|
|
27
|
+
*/
|
|
13
28
|
noise_threshold_decibels: number
|
|
14
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the noise threshold.
|
|
32
|
+
*/
|
|
15
33
|
noise_threshold_id: string
|
|
16
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/device-and-system-integration-guides/noiseaware-sensors).
|
|
37
|
+
*/
|
|
17
38
|
noise_threshold_nrs?: number | undefined
|
|
39
|
+
/**
|
|
40
|
+
* Time at which the noise threshold should become active daily.
|
|
41
|
+
*/
|
|
18
42
|
starts_daily_at: string
|
|
19
43
|
}
|
|
@@ -3,52 +3,124 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents an app user's mobile phone.
|
|
8
|
+
*/
|
|
6
9
|
export type Phone = {
|
|
10
|
+
/**
|
|
11
|
+
* Date and time at which the phone was created.
|
|
12
|
+
*/
|
|
7
13
|
created_at: string
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Optional [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) for the phone.
|
|
17
|
+
*/
|
|
9
18
|
custom_metadata: Record<string, unknown>
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* ID of the phone.
|
|
22
|
+
*/
|
|
11
23
|
device_id: string
|
|
12
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Type of the phone device, such as `ios_phone` or `android_phone`.
|
|
27
|
+
*/
|
|
13
28
|
device_type: 'ios_phone' | 'android_phone'
|
|
14
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Display name of the phone. Defaults to `nickname` (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the phone easily, especially when there are numerous phones.
|
|
32
|
+
*/
|
|
15
33
|
display_name: string
|
|
16
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Errors associated with the phone.
|
|
37
|
+
*/
|
|
17
38
|
errors: Array<{
|
|
39
|
+
/**
|
|
40
|
+
* Date and time at which Seam created the error.
|
|
41
|
+
*/
|
|
18
42
|
created_at: string
|
|
19
43
|
|
|
44
|
+
/**
|
|
45
|
+
* Unique identifier of the type of error.
|
|
46
|
+
*/
|
|
20
47
|
error_code: string
|
|
21
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Detailed description of the error.
|
|
51
|
+
*/
|
|
22
52
|
message: string
|
|
23
53
|
}>
|
|
24
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Optional nickname to describe the phone, settable through Seam.
|
|
57
|
+
*/
|
|
25
58
|
nickname?: string | undefined
|
|
59
|
+
/**
|
|
60
|
+
* Properties of the phone.
|
|
61
|
+
*/
|
|
26
62
|
properties: {
|
|
63
|
+
/**
|
|
64
|
+
* ASSA ABLOY Credential Service metadata for the phone.
|
|
65
|
+
*/
|
|
27
66
|
assa_abloy_credential_service_metadata?:
|
|
28
67
|
| {
|
|
68
|
+
/**
|
|
69
|
+
* Endpoints associated with the phone.
|
|
70
|
+
*/
|
|
29
71
|
endpoints?:
|
|
30
72
|
| Array<{
|
|
73
|
+
/**
|
|
74
|
+
* ID of the associated endpoint.
|
|
75
|
+
*/
|
|
31
76
|
endpoint_id?: string | undefined
|
|
77
|
+
/**
|
|
78
|
+
* Indicated whether the endpoint is active.
|
|
79
|
+
*/
|
|
32
80
|
is_active?: boolean | undefined
|
|
33
81
|
}>
|
|
34
82
|
| undefined
|
|
83
|
+
/**
|
|
84
|
+
* Indicates whether the credential service has active endpoints associated with the phone.
|
|
85
|
+
*/
|
|
35
86
|
has_active_endpoint?: boolean | undefined
|
|
36
87
|
}
|
|
37
88
|
| undefined
|
|
89
|
+
/**
|
|
90
|
+
* Salto Space credential service metadata for the phone.
|
|
91
|
+
*/
|
|
38
92
|
salto_space_credential_service_metadata?:
|
|
39
93
|
| {
|
|
94
|
+
/**
|
|
95
|
+
* Indicates whether the credential service has an active associated phone.
|
|
96
|
+
*/
|
|
40
97
|
has_active_phone?: boolean | undefined
|
|
41
98
|
}
|
|
42
99
|
| undefined
|
|
43
100
|
}
|
|
44
101
|
|
|
102
|
+
/**
|
|
103
|
+
* Warnings associated with the phone.
|
|
104
|
+
*/
|
|
45
105
|
warnings: Array<{
|
|
106
|
+
/**
|
|
107
|
+
* Date and time at which Seam created the warning.
|
|
108
|
+
*/
|
|
46
109
|
created_at: string
|
|
47
110
|
|
|
111
|
+
/**
|
|
112
|
+
* Detailed description of the warning.
|
|
113
|
+
*/
|
|
48
114
|
message: string
|
|
49
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Unique identifier of the type of warning.
|
|
118
|
+
*/
|
|
50
119
|
warning_code: string
|
|
51
120
|
}>
|
|
52
121
|
|
|
122
|
+
/**
|
|
123
|
+
* ID of the workspace that contains the phone.
|
|
124
|
+
*/
|
|
53
125
|
workspace_id: string
|
|
54
126
|
}
|
|
@@ -3,36 +3,90 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient.
|
|
8
|
+
*/
|
|
6
9
|
export type Space = {
|
|
10
|
+
/**
|
|
11
|
+
* Number of entrances in the space.
|
|
12
|
+
*/
|
|
7
13
|
acs_entrance_count: number
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Date and time at which the space was created.
|
|
17
|
+
*/
|
|
9
18
|
created_at: string
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam).
|
|
22
|
+
*/
|
|
11
23
|
customer_data?:
|
|
12
24
|
| {
|
|
25
|
+
/**
|
|
26
|
+
* Postal address for the space.
|
|
27
|
+
*/
|
|
13
28
|
address?: string | null | undefined
|
|
29
|
+
/**
|
|
30
|
+
* Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.
|
|
31
|
+
*/
|
|
14
32
|
default_checkin_time?: string | null | undefined
|
|
33
|
+
/**
|
|
34
|
+
* Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.
|
|
35
|
+
*/
|
|
15
36
|
default_checkout_time?: string | null | undefined
|
|
37
|
+
/**
|
|
38
|
+
* IANA time zone for the space, e.g. America/Los_Angeles.
|
|
39
|
+
*/
|
|
16
40
|
time_zone?: string | null | undefined
|
|
17
41
|
}
|
|
18
42
|
| undefined
|
|
43
|
+
/**
|
|
44
|
+
* Customer key associated with the space.
|
|
45
|
+
*/
|
|
19
46
|
customer_key?: string | undefined
|
|
47
|
+
/**
|
|
48
|
+
* Number of devices in the space.
|
|
49
|
+
*/
|
|
20
50
|
device_count: number
|
|
21
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Display name for the space.
|
|
54
|
+
*/
|
|
22
55
|
display_name: string
|
|
23
56
|
|
|
57
|
+
/**
|
|
58
|
+
* Geographic coordinates (latitude and longitude) of the space.
|
|
59
|
+
*/
|
|
24
60
|
geolocation?:
|
|
25
61
|
| {
|
|
62
|
+
/**
|
|
63
|
+
* Latitude of the space, in decimal degrees.
|
|
64
|
+
*/
|
|
26
65
|
latitude: number
|
|
27
66
|
|
|
67
|
+
/**
|
|
68
|
+
* Longitude of the space, in decimal degrees.
|
|
69
|
+
*/
|
|
28
70
|
longitude: number
|
|
29
71
|
}
|
|
30
72
|
| null
|
|
31
73
|
| undefined
|
|
74
|
+
/**
|
|
75
|
+
* Name of the space.
|
|
76
|
+
*/
|
|
32
77
|
name: string
|
|
33
78
|
|
|
79
|
+
/**
|
|
80
|
+
* ID of the space.
|
|
81
|
+
*/
|
|
34
82
|
space_id: string
|
|
35
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Unique key for the space within the workspace.
|
|
86
|
+
*/
|
|
36
87
|
space_key?: string | undefined
|
|
88
|
+
/**
|
|
89
|
+
* ID of the workspace associated with the space.
|
|
90
|
+
*/
|
|
37
91
|
workspace_id: string
|
|
38
92
|
}
|
|
@@ -3,19 +3,46 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.
|
|
8
|
+
*/
|
|
6
9
|
export type ThermostatDailyProgram = {
|
|
10
|
+
/**
|
|
11
|
+
* Date and time at which the thermostat daily program was created.
|
|
12
|
+
*/
|
|
7
13
|
created_at: string
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* ID of the thermostat device on which the thermostat daily program is configured.
|
|
17
|
+
*/
|
|
9
18
|
device_id: string
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* User-friendly name to identify the thermostat daily program.
|
|
22
|
+
*/
|
|
11
23
|
name: string | null
|
|
24
|
+
/**
|
|
25
|
+
* Array of thermostat daily program periods.
|
|
26
|
+
*/
|
|
12
27
|
periods: Array<{
|
|
28
|
+
/**
|
|
29
|
+
* Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.
|
|
30
|
+
*/
|
|
13
31
|
climate_preset_key: string
|
|
14
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
35
|
+
*/
|
|
15
36
|
starts_at_time: string
|
|
16
37
|
}>
|
|
17
38
|
|
|
39
|
+
/**
|
|
40
|
+
* ID of the thermostat daily program.
|
|
41
|
+
*/
|
|
18
42
|
thermostat_daily_program_id: string
|
|
19
43
|
|
|
44
|
+
/**
|
|
45
|
+
* ID of the workspace that contains the thermostat daily program.
|
|
46
|
+
*/
|
|
20
47
|
workspace_id: string
|
|
21
48
|
}
|
|
@@ -3,29 +3,74 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents a [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.
|
|
8
|
+
*/
|
|
6
9
|
export type ThermostatSchedule = {
|
|
10
|
+
/**
|
|
11
|
+
* Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
12
|
+
*/
|
|
7
13
|
climate_preset_key: string
|
|
8
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Date and time at which the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created.
|
|
17
|
+
*/
|
|
9
18
|
created_at: string
|
|
10
19
|
|
|
20
|
+
/**
|
|
21
|
+
* ID of the desired [thermostat](https://docs.seam.co/capability-guides/thermostats) device.
|
|
22
|
+
*/
|
|
11
23
|
device_id: string
|
|
12
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Date and time at which the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
27
|
+
*/
|
|
13
28
|
ends_at: string
|
|
14
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Errors associated with the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
32
|
+
*/
|
|
15
33
|
errors: Array<{
|
|
34
|
+
/**
|
|
35
|
+
* Date and time at which Seam created the error.
|
|
36
|
+
*/
|
|
16
37
|
created_at: string
|
|
17
38
|
|
|
39
|
+
/**
|
|
40
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
41
|
+
*/
|
|
18
42
|
error_code: string
|
|
19
43
|
|
|
44
|
+
/**
|
|
45
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
46
|
+
*/
|
|
20
47
|
message: string
|
|
21
48
|
}>
|
|
22
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts.
|
|
52
|
+
*/
|
|
23
53
|
is_override_allowed?: boolean | undefined
|
|
54
|
+
/**
|
|
55
|
+
* Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
|
|
56
|
+
*/
|
|
24
57
|
max_override_period_minutes?: number | null | undefined
|
|
58
|
+
/**
|
|
59
|
+
* User-friendly name to identify the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
60
|
+
*/
|
|
25
61
|
name: string | null
|
|
62
|
+
/**
|
|
63
|
+
* Date and time at which the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
64
|
+
*/
|
|
26
65
|
starts_at: string
|
|
27
66
|
|
|
67
|
+
/**
|
|
68
|
+
* ID of the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
69
|
+
*/
|
|
28
70
|
thermostat_schedule_id: string
|
|
29
71
|
|
|
72
|
+
/**
|
|
73
|
+
* ID of the workspace that contains the thermostat schedule.
|
|
74
|
+
*/
|
|
30
75
|
workspace_id: string
|
|
31
76
|
}
|