@seamapi/http 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -1
- 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,7 +3,17 @@
|
|
|
3
3
|
* Do not edit this file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
|
|
8
|
+
*
|
|
9
|
+
* Some access control systems use [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups), which are sets of users, combined with sets of permissions. These permissions include both the set of areas or assets that the users can access and the schedule during which the users can access these areas or assets. Instead of assigning access rights individually to each access control system user, which can be time-consuming and error-prone, administrators can assign users to an access group, thereby ensuring that the users inherit all the permissions associated with the access group. Using access groups streamlines the process of managing large numbers of access control system users, especially in bigger organizations or complexes.
|
|
10
|
+
*
|
|
11
|
+
* To learn whether your access control system supports access groups, see the corresponding [system integration guide](https://docs.seam.co/device-and-system-integration-guides#access-control-systems).
|
|
12
|
+
*/
|
|
6
13
|
export type AcsAccessGroup = {
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use `external_type`.
|
|
16
|
+
*/
|
|
7
17
|
access_group_type:
|
|
8
18
|
| 'pti_unit'
|
|
9
19
|
| 'pti_access_level'
|
|
@@ -16,32 +26,79 @@ export type AcsAccessGroup = {
|
|
|
16
26
|
| 'kisi_access_group'
|
|
17
27
|
| 'akiles_member_group'
|
|
18
28
|
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Use `external_type_display_name`.
|
|
31
|
+
*/
|
|
19
32
|
access_group_type_display_name: string
|
|
20
33
|
|
|
34
|
+
/**
|
|
35
|
+
* `starts_at` and `ends_at` timestamps for the access group's access.
|
|
36
|
+
*/
|
|
21
37
|
access_schedule?:
|
|
22
38
|
| {
|
|
39
|
+
/**
|
|
40
|
+
* Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
41
|
+
*/
|
|
23
42
|
ends_at: string | null
|
|
43
|
+
/**
|
|
44
|
+
* Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
45
|
+
*/
|
|
24
46
|
starts_at: string
|
|
25
47
|
}
|
|
26
48
|
| undefined
|
|
49
|
+
/**
|
|
50
|
+
* ID of the access group.
|
|
51
|
+
*/
|
|
27
52
|
acs_access_group_id: string
|
|
28
53
|
|
|
54
|
+
/**
|
|
55
|
+
* ID of the access control system that contains the access group.
|
|
56
|
+
*/
|
|
29
57
|
acs_system_id: string
|
|
30
58
|
|
|
59
|
+
/**
|
|
60
|
+
* ID of the connected account that contains the access group.
|
|
61
|
+
*/
|
|
31
62
|
connected_account_id: string
|
|
32
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Date and time at which the access group was created.
|
|
66
|
+
*/
|
|
33
67
|
created_at: string
|
|
34
68
|
|
|
69
|
+
/**
|
|
70
|
+
* Display name for the access group.
|
|
71
|
+
*/
|
|
35
72
|
display_name: string
|
|
36
73
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
74
|
+
/**
|
|
75
|
+
* Errors associated with the `acs_access_group`.
|
|
76
|
+
*/
|
|
77
|
+
errors: Array<
|
|
78
|
+
/**
|
|
79
|
+
* Indicates that the [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
|
|
80
|
+
*/
|
|
81
|
+
{
|
|
82
|
+
/**
|
|
83
|
+
* Date and time at which Seam created the error.
|
|
84
|
+
*/
|
|
85
|
+
created_at: string
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
89
|
+
*/
|
|
90
|
+
error_code: 'failed_to_create_on_acs_system'
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
94
|
+
*/
|
|
95
|
+
message: string
|
|
96
|
+
}
|
|
97
|
+
>
|
|
44
98
|
|
|
99
|
+
/**
|
|
100
|
+
* Brand-specific terminology for the access group type.
|
|
101
|
+
*/
|
|
45
102
|
external_type:
|
|
46
103
|
| 'pti_unit'
|
|
47
104
|
| 'pti_access_level'
|
|
@@ -54,116 +111,292 @@ export type AcsAccessGroup = {
|
|
|
54
111
|
| 'kisi_access_group'
|
|
55
112
|
| 'akiles_member_group'
|
|
56
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Display name that corresponds to the brand-specific terminology for the access group type.
|
|
116
|
+
*/
|
|
57
117
|
external_type_display_name: string
|
|
58
118
|
|
|
119
|
+
/**
|
|
120
|
+
* Indicates whether Seam manages the access group.
|
|
121
|
+
*/
|
|
59
122
|
is_managed: boolean
|
|
60
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Name of the access group.
|
|
126
|
+
*/
|
|
61
127
|
name: string
|
|
62
128
|
|
|
129
|
+
/**
|
|
130
|
+
* Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.
|
|
131
|
+
*/
|
|
63
132
|
pending_mutations: Array<
|
|
133
|
+
/**
|
|
134
|
+
* Seam is in the process of pushing an access group creation to the integrated access system.
|
|
135
|
+
*/
|
|
64
136
|
| {
|
|
137
|
+
/**
|
|
138
|
+
* Date and time at which the mutation was created.
|
|
139
|
+
*/
|
|
65
140
|
created_at: string
|
|
66
141
|
|
|
142
|
+
/**
|
|
143
|
+
* Detailed description of the mutation.
|
|
144
|
+
*/
|
|
67
145
|
message: string
|
|
68
146
|
|
|
147
|
+
/**
|
|
148
|
+
* Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.
|
|
149
|
+
*/
|
|
69
150
|
mutation_code: 'creating'
|
|
70
|
-
}
|
|
151
|
+
} /**
|
|
152
|
+
* Seam is in the process of pushing an access group deletion to the integrated access system.
|
|
153
|
+
*/
|
|
71
154
|
| {
|
|
155
|
+
/**
|
|
156
|
+
* Date and time at which the mutation was created.
|
|
157
|
+
*/
|
|
72
158
|
created_at: string
|
|
73
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Detailed description of the mutation.
|
|
162
|
+
*/
|
|
74
163
|
message: string
|
|
75
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.
|
|
167
|
+
*/
|
|
76
168
|
mutation_code: 'deleting'
|
|
77
|
-
}
|
|
169
|
+
} /**
|
|
170
|
+
* This access group is scheduled for automatic deletion when its access window expires.
|
|
171
|
+
*/
|
|
78
172
|
| {
|
|
173
|
+
/**
|
|
174
|
+
* Date and time at which the mutation was created.
|
|
175
|
+
*/
|
|
79
176
|
created_at: string
|
|
80
177
|
|
|
178
|
+
/**
|
|
179
|
+
* Detailed description of the mutation.
|
|
180
|
+
*/
|
|
81
181
|
message: string
|
|
82
182
|
|
|
183
|
+
/**
|
|
184
|
+
* Mutation code to indicate that this access group is scheduled for automatic deletion when its access window expires.
|
|
185
|
+
*/
|
|
83
186
|
mutation_code: 'deferring_deletion'
|
|
84
|
-
}
|
|
187
|
+
} /**
|
|
188
|
+
* Seam is in the process of pushing an access group information update to the integrated access system.
|
|
189
|
+
*/
|
|
85
190
|
| {
|
|
191
|
+
/**
|
|
192
|
+
* Date and time at which the mutation was created.
|
|
193
|
+
*/
|
|
86
194
|
created_at: string
|
|
87
195
|
|
|
196
|
+
/**
|
|
197
|
+
* Old access group information.
|
|
198
|
+
*/
|
|
88
199
|
from: {
|
|
200
|
+
/**
|
|
201
|
+
* Name of the access group.
|
|
202
|
+
*/
|
|
89
203
|
name?: string | null | undefined
|
|
90
204
|
}
|
|
91
205
|
|
|
206
|
+
/**
|
|
207
|
+
* Detailed description of the mutation.
|
|
208
|
+
*/
|
|
92
209
|
message: string
|
|
93
210
|
|
|
211
|
+
/**
|
|
212
|
+
* Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.
|
|
213
|
+
*/
|
|
94
214
|
mutation_code: 'updating_group_information'
|
|
95
215
|
|
|
216
|
+
/**
|
|
217
|
+
* New access group information.
|
|
218
|
+
*/
|
|
96
219
|
to: {
|
|
220
|
+
/**
|
|
221
|
+
* Name of the access group.
|
|
222
|
+
*/
|
|
97
223
|
name?: string | null | undefined
|
|
98
224
|
}
|
|
99
|
-
}
|
|
225
|
+
} /**
|
|
226
|
+
* Seam is in the process of pushing an access schedule update to the integrated access system.
|
|
227
|
+
*/
|
|
100
228
|
| {
|
|
229
|
+
/**
|
|
230
|
+
* Date and time at which the mutation was created.
|
|
231
|
+
*/
|
|
101
232
|
created_at: string
|
|
102
233
|
|
|
234
|
+
/**
|
|
235
|
+
* Old access schedule information.
|
|
236
|
+
*/
|
|
103
237
|
from: {
|
|
238
|
+
/**
|
|
239
|
+
* Ending time for the access schedule.
|
|
240
|
+
*/
|
|
104
241
|
ends_at: string | null
|
|
242
|
+
/**
|
|
243
|
+
* Starting time for the access schedule.
|
|
244
|
+
*/
|
|
105
245
|
starts_at: string | null
|
|
106
246
|
}
|
|
107
247
|
|
|
248
|
+
/**
|
|
249
|
+
* Detailed description of the mutation.
|
|
250
|
+
*/
|
|
108
251
|
message: string
|
|
109
252
|
|
|
253
|
+
/**
|
|
254
|
+
* Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.
|
|
255
|
+
*/
|
|
110
256
|
mutation_code: 'updating_access_schedule'
|
|
111
257
|
|
|
258
|
+
/**
|
|
259
|
+
* New access schedule information.
|
|
260
|
+
*/
|
|
112
261
|
to: {
|
|
262
|
+
/**
|
|
263
|
+
* Ending time for the access schedule.
|
|
264
|
+
*/
|
|
113
265
|
ends_at: string | null
|
|
266
|
+
/**
|
|
267
|
+
* Starting time for the access schedule.
|
|
268
|
+
*/
|
|
114
269
|
starts_at: string | null
|
|
115
270
|
}
|
|
116
|
-
}
|
|
271
|
+
} /**
|
|
272
|
+
* Seam is in the process of pushing a user membership update to the integrated access system.
|
|
273
|
+
*/
|
|
117
274
|
| {
|
|
275
|
+
/**
|
|
276
|
+
* Date and time at which the mutation was created.
|
|
277
|
+
*/
|
|
118
278
|
created_at: string
|
|
119
279
|
|
|
280
|
+
/**
|
|
281
|
+
* Old user membership.
|
|
282
|
+
*/
|
|
120
283
|
from: {
|
|
284
|
+
/**
|
|
285
|
+
* Old user ID.
|
|
286
|
+
*/
|
|
121
287
|
acs_user_id: string | null
|
|
122
288
|
}
|
|
123
289
|
|
|
290
|
+
/**
|
|
291
|
+
* Detailed description of the mutation.
|
|
292
|
+
*/
|
|
124
293
|
message: string
|
|
125
294
|
|
|
295
|
+
/**
|
|
296
|
+
* Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.
|
|
297
|
+
*/
|
|
126
298
|
mutation_code: 'updating_user_membership'
|
|
127
299
|
|
|
300
|
+
/**
|
|
301
|
+
* New user membership.
|
|
302
|
+
*/
|
|
128
303
|
to: {
|
|
304
|
+
/**
|
|
305
|
+
* New user ID.
|
|
306
|
+
*/
|
|
129
307
|
acs_user_id: string | null
|
|
130
308
|
}
|
|
131
|
-
}
|
|
309
|
+
} /**
|
|
310
|
+
* Seam is in the process of pushing an entrance membership update to the integrated access system.
|
|
311
|
+
*/
|
|
132
312
|
| {
|
|
313
|
+
/**
|
|
314
|
+
* Date and time at which the mutation was created.
|
|
315
|
+
*/
|
|
133
316
|
created_at: string
|
|
134
317
|
|
|
318
|
+
/**
|
|
319
|
+
* Old entrance membership.
|
|
320
|
+
*/
|
|
135
321
|
from: {
|
|
322
|
+
/**
|
|
323
|
+
* Old entrance ID.
|
|
324
|
+
*/
|
|
136
325
|
acs_entrance_id: string | null
|
|
137
326
|
}
|
|
138
327
|
|
|
328
|
+
/**
|
|
329
|
+
* Detailed description of the mutation.
|
|
330
|
+
*/
|
|
139
331
|
message: string
|
|
140
332
|
|
|
333
|
+
/**
|
|
334
|
+
* Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.
|
|
335
|
+
*/
|
|
141
336
|
mutation_code: 'updating_entrance_membership'
|
|
142
337
|
|
|
338
|
+
/**
|
|
339
|
+
* New entrance membership.
|
|
340
|
+
*/
|
|
143
341
|
to: {
|
|
342
|
+
/**
|
|
343
|
+
* New entrance ID.
|
|
344
|
+
*/
|
|
144
345
|
acs_entrance_id: string | null
|
|
145
346
|
}
|
|
146
|
-
}
|
|
347
|
+
} /**
|
|
348
|
+
* A scheduled user membership change is pending for this access group.
|
|
349
|
+
*/
|
|
147
350
|
| {
|
|
351
|
+
/**
|
|
352
|
+
* ID of the user involved in the scheduled change.
|
|
353
|
+
*/
|
|
148
354
|
acs_user_id: string
|
|
149
355
|
|
|
356
|
+
/**
|
|
357
|
+
* Date and time at which the mutation was created.
|
|
358
|
+
*/
|
|
150
359
|
created_at: string
|
|
151
360
|
|
|
361
|
+
/**
|
|
362
|
+
* Detailed description of the mutation.
|
|
363
|
+
*/
|
|
152
364
|
message: string
|
|
153
365
|
|
|
366
|
+
/**
|
|
367
|
+
* Mutation code to indicate that a scheduled user membership change is pending for this access group.
|
|
368
|
+
*/
|
|
154
369
|
mutation_code: 'deferring_user_membership_update'
|
|
155
370
|
|
|
371
|
+
/**
|
|
372
|
+
* Whether the user is scheduled to be added to or removed from this access group.
|
|
373
|
+
*/
|
|
156
374
|
variant: 'adding' | 'removing'
|
|
157
375
|
}
|
|
158
376
|
>
|
|
159
377
|
|
|
378
|
+
/**
|
|
379
|
+
* Warnings associated with the `acs_access_group`.
|
|
380
|
+
*/
|
|
160
381
|
warnings: Array<{
|
|
382
|
+
/**
|
|
383
|
+
* Date and time at which Seam created the warning.
|
|
384
|
+
*/
|
|
161
385
|
created_at: string
|
|
162
386
|
|
|
387
|
+
/**
|
|
388
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
389
|
+
*/
|
|
163
390
|
message: string
|
|
164
391
|
|
|
392
|
+
/**
|
|
393
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
394
|
+
*/
|
|
165
395
|
warning_code: 'unknown_issue_with_acs_access_group' | 'being_deleted'
|
|
166
396
|
}>
|
|
167
397
|
|
|
398
|
+
/**
|
|
399
|
+
* ID of the workspace that contains the access group.
|
|
400
|
+
*/
|
|
168
401
|
workspace_id: string
|
|
169
402
|
}
|