@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,78 +3,210 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Represents an [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
8
|
+
*
|
|
9
|
+
* Within an `acs_system`, create [`acs_user`s](https://docs.seam.co/api/acs/users/object) and [`acs_credential`s](https://docs.seam.co/api/acs/credentials/object) to grant access to the `acs_user`s.
|
|
10
|
+
*
|
|
11
|
+
* For details about the resources associated with an access control system, see the [access control systems namespace](https://docs.seam.co/api/acs).
|
|
12
|
+
*/
|
|
6
13
|
export type AcsSystem = {
|
|
14
|
+
/**
|
|
15
|
+
* Number of access groups in the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
16
|
+
*/
|
|
7
17
|
acs_access_group_count?: number | undefined
|
|
18
|
+
/**
|
|
19
|
+
* ID of the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
20
|
+
*/
|
|
8
21
|
acs_system_id: string
|
|
9
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Number of users in the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
25
|
+
*/
|
|
10
26
|
acs_user_count?: number | undefined
|
|
27
|
+
/**
|
|
28
|
+
* ID of the connected account associated with the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
29
|
+
*/
|
|
11
30
|
connected_account_id: string
|
|
12
31
|
|
|
32
|
+
/**
|
|
33
|
+
* IDs of the [connected accounts](https://docs.seam.co/core-concepts/connected-accounts) associated with the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
34
|
+
* @deprecated Use `connected_account_id`.
|
|
35
|
+
*/
|
|
13
36
|
connected_account_ids: Array<string>
|
|
14
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Date and time at which the [access control system](https://docs.seam.co/low-level-apis/access-systems) was created.
|
|
40
|
+
*/
|
|
15
41
|
created_at: string
|
|
16
42
|
|
|
43
|
+
/**
|
|
44
|
+
* ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
45
|
+
*/
|
|
17
46
|
default_credential_manager_acs_system_id?: string | null | undefined
|
|
47
|
+
/**
|
|
48
|
+
* Errors associated with the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
49
|
+
*/
|
|
18
50
|
errors: Array<
|
|
51
|
+
/**
|
|
52
|
+
* Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
|
|
53
|
+
* This error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/core-concepts/workspaces).
|
|
54
|
+
* See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system-errors-seam_bridge_disconnected).
|
|
55
|
+
*/
|
|
19
56
|
| {
|
|
57
|
+
/**
|
|
58
|
+
* Date and time at which Seam created the error.
|
|
59
|
+
*/
|
|
20
60
|
created_at: string
|
|
21
61
|
|
|
62
|
+
/**
|
|
63
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
64
|
+
*/
|
|
22
65
|
error_code: 'seam_bridge_disconnected'
|
|
23
66
|
|
|
67
|
+
/**
|
|
68
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
69
|
+
*/
|
|
24
70
|
message: string
|
|
25
|
-
}
|
|
71
|
+
} /**
|
|
72
|
+
* Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
|
|
73
|
+
* See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system-errors-seam_bridge_disconnected).
|
|
74
|
+
*/
|
|
26
75
|
| {
|
|
76
|
+
/**
|
|
77
|
+
* Date and time at which Seam created the error.
|
|
78
|
+
*/
|
|
27
79
|
created_at: string
|
|
28
80
|
|
|
81
|
+
/**
|
|
82
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
83
|
+
*/
|
|
29
84
|
error_code: 'bridge_disconnected'
|
|
30
85
|
|
|
86
|
+
/**
|
|
87
|
+
* Indicates whether the error is related to the [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).
|
|
88
|
+
*/
|
|
31
89
|
is_bridge_error?: boolean | undefined
|
|
90
|
+
/**
|
|
91
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
92
|
+
*/
|
|
32
93
|
message: string
|
|
33
|
-
}
|
|
94
|
+
} /**
|
|
95
|
+
* Indicates that [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
|
|
96
|
+
* For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/core-concepts/workspaces).
|
|
97
|
+
* See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system-errors-visionline_instance_unreachable).
|
|
98
|
+
*/
|
|
34
99
|
| {
|
|
100
|
+
/**
|
|
101
|
+
* Date and time at which Seam created the error.
|
|
102
|
+
*/
|
|
35
103
|
created_at: string
|
|
36
104
|
|
|
105
|
+
/**
|
|
106
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
107
|
+
*/
|
|
37
108
|
error_code: 'visionline_instance_unreachable'
|
|
38
109
|
|
|
110
|
+
/**
|
|
111
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
112
|
+
*/
|
|
39
113
|
message: string
|
|
40
|
-
}
|
|
114
|
+
} /**
|
|
115
|
+
* Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.
|
|
116
|
+
*/
|
|
41
117
|
| {
|
|
118
|
+
/**
|
|
119
|
+
* Date and time at which Seam created the error.
|
|
120
|
+
*/
|
|
42
121
|
created_at: string
|
|
43
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
125
|
+
*/
|
|
44
126
|
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
45
127
|
|
|
128
|
+
/**
|
|
129
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
130
|
+
*/
|
|
46
131
|
message: string
|
|
47
|
-
}
|
|
132
|
+
} /**
|
|
133
|
+
* Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system) to resolve the issue.
|
|
134
|
+
*/
|
|
48
135
|
| {
|
|
136
|
+
/**
|
|
137
|
+
* Date and time at which Seam created the error.
|
|
138
|
+
*/
|
|
49
139
|
created_at: string
|
|
50
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
143
|
+
*/
|
|
51
144
|
error_code: 'acs_system_disconnected'
|
|
52
145
|
|
|
146
|
+
/**
|
|
147
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
148
|
+
*/
|
|
53
149
|
message: string
|
|
54
|
-
}
|
|
150
|
+
} /**
|
|
151
|
+
* Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) to restore access.
|
|
152
|
+
*/
|
|
55
153
|
| {
|
|
154
|
+
/**
|
|
155
|
+
* Date and time at which Seam created the error.
|
|
156
|
+
*/
|
|
56
157
|
created_at: string
|
|
57
158
|
|
|
159
|
+
/**
|
|
160
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
161
|
+
*/
|
|
58
162
|
error_code: 'account_disconnected'
|
|
59
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
166
|
+
*/
|
|
60
167
|
message: string
|
|
61
|
-
}
|
|
168
|
+
} /**
|
|
169
|
+
* Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access.
|
|
170
|
+
*/
|
|
62
171
|
| {
|
|
172
|
+
/**
|
|
173
|
+
* Date and time at which Seam created the error.
|
|
174
|
+
*/
|
|
63
175
|
created_at: string
|
|
64
176
|
|
|
177
|
+
/**
|
|
178
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
179
|
+
*/
|
|
65
180
|
error_code: 'salto_ks_certification_expired'
|
|
66
181
|
|
|
182
|
+
/**
|
|
183
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
184
|
+
*/
|
|
67
185
|
message: string
|
|
68
|
-
}
|
|
186
|
+
} /**
|
|
187
|
+
* Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.
|
|
188
|
+
*/
|
|
69
189
|
| {
|
|
190
|
+
/**
|
|
191
|
+
* Date and time at which Seam created the error.
|
|
192
|
+
*/
|
|
70
193
|
created_at: string
|
|
71
194
|
|
|
195
|
+
/**
|
|
196
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
197
|
+
*/
|
|
72
198
|
error_code: 'provider_service_unavailable'
|
|
73
199
|
|
|
200
|
+
/**
|
|
201
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
202
|
+
*/
|
|
74
203
|
message: string
|
|
75
204
|
}
|
|
76
205
|
>
|
|
77
206
|
|
|
207
|
+
/**
|
|
208
|
+
* Brand-specific terminology for the [access control system](https://docs.seam.co/low-level-apis/access-systems) type.
|
|
209
|
+
*/
|
|
78
210
|
external_type?:
|
|
79
211
|
| 'pti_site'
|
|
80
212
|
| 'avigilon_alta_org'
|
|
@@ -94,19 +226,43 @@ export type AcsSystem = {
|
|
|
94
226
|
| 'kisi_organization'
|
|
95
227
|
| 'akiles_organization'
|
|
96
228
|
| undefined
|
|
229
|
+
/**
|
|
230
|
+
* Display name that corresponds to the brand-specific terminology for the [access control system](https://docs.seam.co/low-level-apis/access-systems) type.
|
|
231
|
+
*/
|
|
97
232
|
external_type_display_name?: string | undefined
|
|
233
|
+
/**
|
|
234
|
+
* Alternative text for the [access control system](https://docs.seam.co/low-level-apis/access-systems) image.
|
|
235
|
+
*/
|
|
98
236
|
image_alt_text: string
|
|
99
237
|
|
|
238
|
+
/**
|
|
239
|
+
* URL for the image that represents the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
240
|
+
*/
|
|
100
241
|
image_url: string
|
|
101
242
|
|
|
243
|
+
/**
|
|
244
|
+
* Indicates whether the `acs_system` is a credential manager.
|
|
245
|
+
*/
|
|
102
246
|
is_credential_manager: boolean
|
|
103
247
|
|
|
248
|
+
/**
|
|
249
|
+
* Location information for the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
250
|
+
*/
|
|
104
251
|
location: {
|
|
252
|
+
/**
|
|
253
|
+
* Time zone in which the [access control system](https://docs.seam.co/low-level-apis/access-systems) is located.
|
|
254
|
+
*/
|
|
105
255
|
time_zone: string | null
|
|
106
256
|
}
|
|
107
257
|
|
|
258
|
+
/**
|
|
259
|
+
* Name of the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
260
|
+
*/
|
|
108
261
|
name: string
|
|
109
262
|
|
|
263
|
+
/**
|
|
264
|
+
* @deprecated Use `external_type`.
|
|
265
|
+
*/
|
|
110
266
|
system_type?:
|
|
111
267
|
| 'pti_site'
|
|
112
268
|
| 'avigilon_alta_org'
|
|
@@ -126,38 +282,96 @@ export type AcsSystem = {
|
|
|
126
282
|
| 'kisi_organization'
|
|
127
283
|
| 'akiles_organization'
|
|
128
284
|
| undefined
|
|
285
|
+
/**
|
|
286
|
+
* @deprecated Use `external_type_display_name`.
|
|
287
|
+
*/
|
|
129
288
|
system_type_display_name?: string | undefined
|
|
289
|
+
/**
|
|
290
|
+
* Visionline-specific metadata for the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
291
|
+
*/
|
|
130
292
|
visionline_metadata?:
|
|
131
293
|
| {
|
|
294
|
+
/**
|
|
295
|
+
* IP address or hostname of the main Visionline server relative to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge) on the local network.
|
|
296
|
+
*/
|
|
132
297
|
lan_address?: string | undefined
|
|
298
|
+
/**
|
|
299
|
+
* Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset.
|
|
300
|
+
*/
|
|
133
301
|
mobile_access_uuid?: string | undefined
|
|
302
|
+
/**
|
|
303
|
+
* Unique ID assigned by the ASSA ABLOY licensing team that identifies each hotel in your credential manager.
|
|
304
|
+
*/
|
|
134
305
|
system_id?: string | undefined
|
|
135
306
|
}
|
|
136
307
|
| undefined
|
|
308
|
+
/**
|
|
309
|
+
* Warnings associated with the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
310
|
+
*/
|
|
137
311
|
warnings: Array<
|
|
312
|
+
/**
|
|
313
|
+
* Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site to rectify the issue.
|
|
314
|
+
*/
|
|
138
315
|
| {
|
|
316
|
+
/**
|
|
317
|
+
* Date and time at which Seam created the warning.
|
|
318
|
+
*/
|
|
139
319
|
created_at: string
|
|
140
320
|
|
|
321
|
+
/**
|
|
322
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
323
|
+
*/
|
|
141
324
|
message: string
|
|
142
325
|
|
|
326
|
+
/**
|
|
327
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
328
|
+
*/
|
|
143
329
|
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
144
|
-
}
|
|
330
|
+
} /**
|
|
331
|
+
* Indicates the [access control system](https://docs.seam.co/low-level-apis/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
|
|
332
|
+
*/
|
|
145
333
|
| {
|
|
334
|
+
/**
|
|
335
|
+
* Date and time at which Seam created the warning.
|
|
336
|
+
*/
|
|
146
337
|
created_at: string
|
|
147
338
|
|
|
339
|
+
/**
|
|
340
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
341
|
+
*/
|
|
148
342
|
message: string
|
|
149
343
|
|
|
344
|
+
/**
|
|
345
|
+
* @deprecated this field is deprecated.
|
|
346
|
+
*/
|
|
150
347
|
misconfigured_acs_entrance_ids?: Array<string> | undefined
|
|
348
|
+
/**
|
|
349
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
350
|
+
*/
|
|
151
351
|
warning_code: 'time_zone_does_not_match_location'
|
|
152
|
-
}
|
|
352
|
+
} /**
|
|
353
|
+
* Indicates that the access control system requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup.
|
|
354
|
+
*/
|
|
153
355
|
| {
|
|
356
|
+
/**
|
|
357
|
+
* Date and time at which Seam created the warning.
|
|
358
|
+
*/
|
|
154
359
|
created_at: string
|
|
155
360
|
|
|
361
|
+
/**
|
|
362
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
363
|
+
*/
|
|
156
364
|
message: string
|
|
157
365
|
|
|
366
|
+
/**
|
|
367
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
368
|
+
*/
|
|
158
369
|
warning_code: 'setup_required'
|
|
159
370
|
}
|
|
160
371
|
>
|
|
161
372
|
|
|
373
|
+
/**
|
|
374
|
+
* ID of the workspace that contains the [access control system](https://docs.seam.co/low-level-apis/access-systems).
|
|
375
|
+
*/
|
|
162
376
|
workspace_id: string
|
|
163
377
|
}
|