@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
|
@@ -1,94 +1,351 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents an unmanaged Access Grant. Unmanaged Access Grants do not have client sessions, instant keys, customization profiles, or keys.
|
|
3
|
+
*/
|
|
1
4
|
export type UnmanagedAccessGrant = {
|
|
5
|
+
/**
|
|
6
|
+
* ID of the Access Grant.
|
|
7
|
+
*/
|
|
2
8
|
access_grant_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* IDs of the access methods created for the Access Grant.
|
|
11
|
+
*/
|
|
3
12
|
access_method_ids: Array<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Date and time at which the Access Grant was created.
|
|
15
|
+
*/
|
|
4
16
|
created_at: string;
|
|
17
|
+
/**
|
|
18
|
+
* Display name of the Access Grant.
|
|
19
|
+
*/
|
|
5
20
|
display_name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Date and time at which the Access Grant ends.
|
|
23
|
+
*/
|
|
6
24
|
ends_at: string | null;
|
|
7
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Errors associated with the [access grant](https://docs.seam.co/use-cases/granting-access).
|
|
27
|
+
*/
|
|
28
|
+
errors: Array<
|
|
29
|
+
/**
|
|
30
|
+
* Indicates that Seam could not create one or more of the requested access methods for the access grant.
|
|
31
|
+
*/
|
|
32
|
+
{
|
|
33
|
+
/**
|
|
34
|
+
* Date and time at which Seam created the error.
|
|
35
|
+
*/
|
|
8
36
|
created_at: string;
|
|
37
|
+
/**
|
|
38
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
39
|
+
*/
|
|
9
40
|
error_code: 'cannot_create_requested_access_methods';
|
|
41
|
+
/**
|
|
42
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
43
|
+
*/
|
|
10
44
|
message: string;
|
|
45
|
+
/**
|
|
46
|
+
* IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.
|
|
47
|
+
*/
|
|
11
48
|
missing_device_ids?: Array<string> | undefined;
|
|
12
49
|
}>;
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Use `space_ids`.
|
|
52
|
+
*/
|
|
13
53
|
location_ids: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Name of the Access Grant. If not provided, the display name will be computed.
|
|
56
|
+
*/
|
|
14
57
|
name: string | null;
|
|
15
|
-
|
|
58
|
+
/**
|
|
59
|
+
* List of pending mutations for the access grant. This shows updates that are in progress.
|
|
60
|
+
*/
|
|
61
|
+
pending_mutations: Array<
|
|
62
|
+
/**
|
|
63
|
+
* Seam is in the process of updating the devices/spaces associated with this access grant.
|
|
64
|
+
*/
|
|
65
|
+
{
|
|
66
|
+
/**
|
|
67
|
+
* Date and time at which the mutation was created.
|
|
68
|
+
*/
|
|
16
69
|
created_at: string;
|
|
70
|
+
/**
|
|
71
|
+
* Previous location configuration.
|
|
72
|
+
*/
|
|
17
73
|
from: {
|
|
74
|
+
/**
|
|
75
|
+
* Previous device IDs where access codes existed.
|
|
76
|
+
*/
|
|
18
77
|
device_ids: Array<string>;
|
|
19
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* Detailed description of the mutation.
|
|
81
|
+
*/
|
|
20
82
|
message: string;
|
|
83
|
+
/**
|
|
84
|
+
* Mutation code to indicate that Seam is in the process of updating the spaces (devices) associated with this access grant.
|
|
85
|
+
*/
|
|
21
86
|
mutation_code: 'updating_spaces';
|
|
87
|
+
/**
|
|
88
|
+
* New location configuration.
|
|
89
|
+
*/
|
|
22
90
|
to: {
|
|
91
|
+
/**
|
|
92
|
+
* Common code key to ensure PIN code reuse across devices.
|
|
93
|
+
*/
|
|
23
94
|
common_code_key?: string | null | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* New device IDs where access codes should be created.
|
|
97
|
+
*/
|
|
24
98
|
device_ids: Array<string>;
|
|
25
99
|
};
|
|
26
|
-
}
|
|
100
|
+
} /**
|
|
101
|
+
* Seam is in the process of updating the access times for this access grant.
|
|
102
|
+
*/ | {
|
|
103
|
+
/**
|
|
104
|
+
* IDs of the access methods being updated.
|
|
105
|
+
*/
|
|
27
106
|
access_method_ids: Array<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Date and time at which the mutation was created.
|
|
109
|
+
*/
|
|
28
110
|
created_at: string;
|
|
111
|
+
/**
|
|
112
|
+
* Previous access time configuration.
|
|
113
|
+
*/
|
|
29
114
|
from: {
|
|
115
|
+
/**
|
|
116
|
+
* Previous end time for access.
|
|
117
|
+
*/
|
|
30
118
|
ends_at: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* Previous start time for access.
|
|
121
|
+
*/
|
|
31
122
|
starts_at: string | null;
|
|
32
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* Detailed description of the mutation.
|
|
126
|
+
*/
|
|
33
127
|
message: string;
|
|
128
|
+
/**
|
|
129
|
+
* Mutation code to indicate that Seam is in the process of updating the access times for this access grant.
|
|
130
|
+
*/
|
|
34
131
|
mutation_code: 'updating_access_times';
|
|
132
|
+
/**
|
|
133
|
+
* New access time configuration.
|
|
134
|
+
*/
|
|
35
135
|
to: {
|
|
136
|
+
/**
|
|
137
|
+
* New end time for access.
|
|
138
|
+
*/
|
|
36
139
|
ends_at: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* New start time for access.
|
|
142
|
+
*/
|
|
37
143
|
starts_at: string | null;
|
|
38
144
|
};
|
|
39
145
|
}>;
|
|
146
|
+
/**
|
|
147
|
+
* Access methods that the user requested for the Access Grant.
|
|
148
|
+
*/
|
|
40
149
|
requested_access_methods: Array<{
|
|
150
|
+
/**
|
|
151
|
+
* Specific PIN code to use for this access method. Only applicable when mode is 'code'.
|
|
152
|
+
*/
|
|
41
153
|
code?: string | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* IDs of the access methods created for the requested access method.
|
|
156
|
+
*/
|
|
42
157
|
created_access_method_ids: Array<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Date and time at which the requested access method was added to the Access Grant.
|
|
160
|
+
*/
|
|
43
161
|
created_at: string;
|
|
162
|
+
/**
|
|
163
|
+
* Display name of the access method.
|
|
164
|
+
*/
|
|
44
165
|
display_name: string;
|
|
166
|
+
/**
|
|
167
|
+
* Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified.
|
|
168
|
+
*/
|
|
45
169
|
instant_key_max_use_count?: number | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
|
|
172
|
+
*/
|
|
46
173
|
mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
|
|
47
174
|
}>;
|
|
175
|
+
/**
|
|
176
|
+
* Reservation key for the access grant.
|
|
177
|
+
*/
|
|
48
178
|
reservation_key?: string | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* IDs of the spaces to which the Access Grant gives access.
|
|
181
|
+
*/
|
|
49
182
|
space_ids: Array<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Date and time at which the Access Grant starts.
|
|
185
|
+
*/
|
|
50
186
|
starts_at: string;
|
|
187
|
+
/**
|
|
188
|
+
* ID of user identity to which the Access Grant gives access.
|
|
189
|
+
*/
|
|
51
190
|
user_identity_id?: string | undefined;
|
|
52
|
-
|
|
191
|
+
/**
|
|
192
|
+
* Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access).
|
|
193
|
+
*/
|
|
194
|
+
warnings: Array<
|
|
195
|
+
/**
|
|
196
|
+
* Indicates that the [access grant](https://docs.seam.co/use-cases/granting-access) is being deleted.
|
|
197
|
+
*/
|
|
198
|
+
{
|
|
199
|
+
/**
|
|
200
|
+
* Date and time at which Seam created the warning.
|
|
201
|
+
*/
|
|
53
202
|
created_at: string;
|
|
203
|
+
/**
|
|
204
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
205
|
+
*/
|
|
54
206
|
message: string;
|
|
207
|
+
/**
|
|
208
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
209
|
+
*/
|
|
55
210
|
warning_code: 'being_deleted';
|
|
56
|
-
}
|
|
211
|
+
} /**
|
|
212
|
+
* Indicates that the access grant should have access to more locations than it currently does. Access methods are being created for the missing locations.
|
|
213
|
+
*/ | {
|
|
214
|
+
/**
|
|
215
|
+
* Date and time at which Seam created the warning.
|
|
216
|
+
*/
|
|
57
217
|
created_at: string;
|
|
218
|
+
/**
|
|
219
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
220
|
+
*/
|
|
58
221
|
message: string;
|
|
222
|
+
/**
|
|
223
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
224
|
+
*/
|
|
59
225
|
warning_code: 'underprovisioned_access';
|
|
60
|
-
}
|
|
226
|
+
} /**
|
|
227
|
+
* Indicates that the access grant has access to locations it should not have. Access methods are being removed from the extra locations.
|
|
228
|
+
*/ | {
|
|
229
|
+
/**
|
|
230
|
+
* Date and time at which Seam created the warning.
|
|
231
|
+
*/
|
|
61
232
|
created_at: string;
|
|
233
|
+
/**
|
|
234
|
+
* Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).
|
|
235
|
+
*/
|
|
62
236
|
failed_devices?: Array<{
|
|
237
|
+
/**
|
|
238
|
+
* Device whose access code could not be revoked.
|
|
239
|
+
*/
|
|
63
240
|
device_id: string;
|
|
241
|
+
/**
|
|
242
|
+
* Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).
|
|
243
|
+
*/
|
|
64
244
|
error_code: string;
|
|
245
|
+
/**
|
|
246
|
+
* Human-readable description of why revocation failed.
|
|
247
|
+
*/
|
|
65
248
|
message: string;
|
|
66
249
|
}> | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
252
|
+
*/
|
|
67
253
|
message: string;
|
|
254
|
+
/**
|
|
255
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
256
|
+
*/
|
|
68
257
|
warning_code: 'overprovisioned_access';
|
|
69
|
-
}
|
|
258
|
+
} /**
|
|
259
|
+
* Indicates that the access times for this [access grant](https://docs.seam.co/use-cases/granting-access) are being updated.
|
|
260
|
+
*/ | {
|
|
261
|
+
/**
|
|
262
|
+
* IDs of the access methods being updated.
|
|
263
|
+
*/
|
|
70
264
|
access_method_ids: Array<string>;
|
|
265
|
+
/**
|
|
266
|
+
* Date and time at which Seam created the warning.
|
|
267
|
+
*/
|
|
71
268
|
created_at: string;
|
|
269
|
+
/**
|
|
270
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
271
|
+
*/
|
|
72
272
|
message: string;
|
|
273
|
+
/**
|
|
274
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
275
|
+
*/
|
|
73
276
|
warning_code: 'updating_access_times';
|
|
74
|
-
}
|
|
277
|
+
} /**
|
|
278
|
+
* Indicates that the requested PIN code was already in use on a device, so a different code was assigned.
|
|
279
|
+
*/ | {
|
|
280
|
+
/**
|
|
281
|
+
* Date and time at which Seam created the warning.
|
|
282
|
+
*/
|
|
75
283
|
created_at: string;
|
|
284
|
+
/**
|
|
285
|
+
* ID of the device where the requested code was unavailable.
|
|
286
|
+
*/
|
|
76
287
|
device_id: string;
|
|
288
|
+
/**
|
|
289
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
290
|
+
*/
|
|
77
291
|
message: string;
|
|
292
|
+
/**
|
|
293
|
+
* The new PIN code that was assigned instead.
|
|
294
|
+
*/
|
|
78
295
|
new_code: string;
|
|
296
|
+
/**
|
|
297
|
+
* The originally requested PIN code that was unavailable.
|
|
298
|
+
*/
|
|
79
299
|
original_code: string;
|
|
300
|
+
/**
|
|
301
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
302
|
+
*/
|
|
80
303
|
warning_code: 'requested_code_unavailable';
|
|
81
|
-
}
|
|
304
|
+
} /**
|
|
305
|
+
* Indicates that a device in the access grant does not support access codes and was excluded from code materialization.
|
|
306
|
+
*/ | {
|
|
307
|
+
/**
|
|
308
|
+
* Date and time at which Seam created the warning.
|
|
309
|
+
*/
|
|
82
310
|
created_at: string;
|
|
311
|
+
/**
|
|
312
|
+
* ID of the device that does not support access codes.
|
|
313
|
+
*/
|
|
83
314
|
device_id: string;
|
|
315
|
+
/**
|
|
316
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
317
|
+
*/
|
|
84
318
|
message: string;
|
|
319
|
+
/**
|
|
320
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
321
|
+
*/
|
|
85
322
|
warning_code: 'device_does_not_support_access_codes';
|
|
86
|
-
}
|
|
323
|
+
} /**
|
|
324
|
+
* Indicates that a device in the access grant cannot program an access code for the grant's time range because of device-specific time constraints.
|
|
325
|
+
*/ | {
|
|
326
|
+
/**
|
|
327
|
+
* Date and time at which Seam created the warning.
|
|
328
|
+
*/
|
|
87
329
|
created_at: string;
|
|
330
|
+
/**
|
|
331
|
+
* ID of the device whose time constraints the access grant violates.
|
|
332
|
+
*/
|
|
88
333
|
device_id: string;
|
|
334
|
+
/**
|
|
335
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
336
|
+
*/
|
|
89
337
|
message: string;
|
|
338
|
+
/**
|
|
339
|
+
* Specific reason why the grant's times are not programmable on the device.
|
|
340
|
+
*/
|
|
90
341
|
reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
|
|
342
|
+
/**
|
|
343
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
344
|
+
*/
|
|
91
345
|
warning_code: 'device_time_constraints_violated';
|
|
92
346
|
}>;
|
|
347
|
+
/**
|
|
348
|
+
* ID of the Seam workspace associated with the Access Grant.
|
|
349
|
+
*/
|
|
93
350
|
workspace_id: string;
|
|
94
351
|
};
|
|
@@ -1,70 +1,257 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents an unmanaged access method. Unmanaged access methods do not have client sessions, instant keys, customization profiles, or keys.
|
|
3
|
+
*/
|
|
1
4
|
export type UnmanagedAccessMethod = {
|
|
5
|
+
/**
|
|
6
|
+
* ID of the access method.
|
|
7
|
+
*/
|
|
2
8
|
access_method_id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The actual PIN code for code access methods.
|
|
11
|
+
*/
|
|
3
12
|
code?: string | null | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Date and time at which the access method was created.
|
|
15
|
+
*/
|
|
4
16
|
created_at: string;
|
|
17
|
+
/**
|
|
18
|
+
* Display name of the access method.
|
|
19
|
+
*/
|
|
5
20
|
display_name: string;
|
|
6
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).
|
|
23
|
+
*/
|
|
24
|
+
errors: Array<
|
|
25
|
+
/**
|
|
26
|
+
* Indicates that Seam was unable to issue this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) before its access grant started, so the recipient may be unable to access the space. This usually points to a problem that needs attention, such as an offline or disconnected device. Seam keeps retrying, and this error clears automatically if the access method is eventually issued.
|
|
27
|
+
*/
|
|
28
|
+
{
|
|
29
|
+
/**
|
|
30
|
+
* Date and time at which Seam created the error.
|
|
31
|
+
*/
|
|
7
32
|
created_at: string;
|
|
33
|
+
/**
|
|
34
|
+
* Unique identifier of the type of error. Enables quick recognition and categorization of the issue.
|
|
35
|
+
*/
|
|
8
36
|
error_code: 'failed_to_issue';
|
|
37
|
+
/**
|
|
38
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
39
|
+
*/
|
|
9
40
|
message: string;
|
|
10
41
|
}>;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates whether an existing card credential must be assigned to this access method before it can be issued. Only applies to card-mode access methods on systems that support credential assignment.
|
|
44
|
+
*/
|
|
11
45
|
is_assignment_required?: boolean | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.
|
|
48
|
+
*/
|
|
12
49
|
is_encoding_required?: boolean | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Indicates whether the access method has been issued.
|
|
52
|
+
*/
|
|
13
53
|
is_issued: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Indicates whether the access method is ready for card assignment. This is true when the access method is in card mode, has not yet been issued, and the system supports credential assignment.
|
|
56
|
+
*/
|
|
14
57
|
is_ready_for_assignment?: boolean | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.
|
|
60
|
+
*/
|
|
15
61
|
is_ready_for_encoding?: boolean | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Date and time at which the access method was issued.
|
|
64
|
+
*/
|
|
16
65
|
issued_at: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
|
|
68
|
+
*/
|
|
17
69
|
mode: 'code' | 'card' | 'mobile_key' | 'cloud_key';
|
|
18
|
-
|
|
70
|
+
/**
|
|
71
|
+
* Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress.
|
|
72
|
+
*/
|
|
73
|
+
pending_mutations: Array<
|
|
74
|
+
/**
|
|
75
|
+
* Seam is in the process of provisioning access for this access method on new devices.
|
|
76
|
+
*/
|
|
77
|
+
{
|
|
78
|
+
/**
|
|
79
|
+
* Date and time at which the mutation was created.
|
|
80
|
+
*/
|
|
19
81
|
created_at: string;
|
|
82
|
+
/**
|
|
83
|
+
* Previous device configuration.
|
|
84
|
+
*/
|
|
20
85
|
from: {
|
|
86
|
+
/**
|
|
87
|
+
* Previous device IDs where access was provisioned.
|
|
88
|
+
*/
|
|
21
89
|
device_ids: Array<string>;
|
|
22
90
|
};
|
|
91
|
+
/**
|
|
92
|
+
* Detailed description of the mutation.
|
|
93
|
+
*/
|
|
23
94
|
message: string;
|
|
95
|
+
/**
|
|
96
|
+
* Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices.
|
|
97
|
+
*/
|
|
24
98
|
mutation_code: 'provisioning_access';
|
|
99
|
+
/**
|
|
100
|
+
* New device configuration.
|
|
101
|
+
*/
|
|
25
102
|
to: {
|
|
103
|
+
/**
|
|
104
|
+
* New device IDs where access is being provisioned.
|
|
105
|
+
*/
|
|
26
106
|
device_ids: Array<string>;
|
|
27
107
|
};
|
|
28
|
-
}
|
|
108
|
+
} /**
|
|
109
|
+
* Seam is in the process of revoking access for this access method from devices.
|
|
110
|
+
*/ | {
|
|
111
|
+
/**
|
|
112
|
+
* Date and time at which the mutation was created.
|
|
113
|
+
*/
|
|
29
114
|
created_at: string;
|
|
115
|
+
/**
|
|
116
|
+
* Previous device configuration.
|
|
117
|
+
*/
|
|
30
118
|
from: {
|
|
119
|
+
/**
|
|
120
|
+
* Previous device IDs where access existed.
|
|
121
|
+
*/
|
|
31
122
|
device_ids: Array<string>;
|
|
32
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* Detailed description of the mutation.
|
|
126
|
+
*/
|
|
33
127
|
message: string;
|
|
128
|
+
/**
|
|
129
|
+
* Mutation code to indicate that Seam is in the process of revoking access for this access method from devices.
|
|
130
|
+
*/
|
|
34
131
|
mutation_code: 'revoking_access';
|
|
132
|
+
/**
|
|
133
|
+
* New device configuration.
|
|
134
|
+
*/
|
|
35
135
|
to: {
|
|
136
|
+
/**
|
|
137
|
+
* New device IDs where access should remain.
|
|
138
|
+
*/
|
|
36
139
|
device_ids: Array<string>;
|
|
37
140
|
};
|
|
38
|
-
}
|
|
141
|
+
} /**
|
|
142
|
+
* Seam is in the process of updating the access times for this access method.
|
|
143
|
+
*/ | {
|
|
144
|
+
/**
|
|
145
|
+
* Date and time at which the mutation was created.
|
|
146
|
+
*/
|
|
39
147
|
created_at: string;
|
|
148
|
+
/**
|
|
149
|
+
* Previous access time configuration.
|
|
150
|
+
*/
|
|
40
151
|
from: {
|
|
152
|
+
/**
|
|
153
|
+
* Previous end time for access.
|
|
154
|
+
*/
|
|
41
155
|
ends_at: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* Previous start time for access.
|
|
158
|
+
*/
|
|
42
159
|
starts_at: string | null;
|
|
43
160
|
};
|
|
161
|
+
/**
|
|
162
|
+
* Detailed description of the mutation.
|
|
163
|
+
*/
|
|
44
164
|
message: string;
|
|
165
|
+
/**
|
|
166
|
+
* Mutation code to indicate that Seam is in the process of updating the access times for this access method.
|
|
167
|
+
*/
|
|
45
168
|
mutation_code: 'updating_access_times';
|
|
169
|
+
/**
|
|
170
|
+
* New access time configuration.
|
|
171
|
+
*/
|
|
46
172
|
to: {
|
|
173
|
+
/**
|
|
174
|
+
* New end time for access.
|
|
175
|
+
*/
|
|
47
176
|
ends_at: string | null;
|
|
177
|
+
/**
|
|
178
|
+
* New start time for access.
|
|
179
|
+
*/
|
|
48
180
|
starts_at: string | null;
|
|
49
181
|
};
|
|
50
182
|
}>;
|
|
51
|
-
|
|
183
|
+
/**
|
|
184
|
+
* Warnings associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant).
|
|
185
|
+
*/
|
|
186
|
+
warnings: Array<
|
|
187
|
+
/**
|
|
188
|
+
* Indicates that the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) is being deleted.
|
|
189
|
+
*/
|
|
190
|
+
{
|
|
191
|
+
/**
|
|
192
|
+
* Date and time at which Seam created the warning.
|
|
193
|
+
*/
|
|
52
194
|
created_at: string;
|
|
195
|
+
/**
|
|
196
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
197
|
+
*/
|
|
53
198
|
message: string;
|
|
199
|
+
/**
|
|
200
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
201
|
+
*/
|
|
54
202
|
warning_code: 'being_deleted';
|
|
55
|
-
}
|
|
203
|
+
} /**
|
|
204
|
+
* Indicates that the access times for this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) are being updated.
|
|
205
|
+
*/ | {
|
|
206
|
+
/**
|
|
207
|
+
* Date and time at which Seam created the warning.
|
|
208
|
+
*/
|
|
56
209
|
created_at: string;
|
|
210
|
+
/**
|
|
211
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
212
|
+
*/
|
|
57
213
|
message: string;
|
|
214
|
+
/**
|
|
215
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
216
|
+
*/
|
|
58
217
|
warning_code: 'updating_access_times';
|
|
59
|
-
}
|
|
218
|
+
} /**
|
|
219
|
+
* Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.
|
|
220
|
+
*/ | {
|
|
221
|
+
/**
|
|
222
|
+
* Date and time at which Seam created the warning.
|
|
223
|
+
*/
|
|
60
224
|
created_at: string;
|
|
225
|
+
/**
|
|
226
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
227
|
+
*/
|
|
61
228
|
message: string;
|
|
229
|
+
/**
|
|
230
|
+
* ID of the original access method from which this backup access method was split, if applicable.
|
|
231
|
+
*/
|
|
62
232
|
original_access_method_id?: string | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
235
|
+
*/
|
|
63
236
|
warning_code: 'pulled_backup_access_code';
|
|
64
|
-
}
|
|
237
|
+
} /**
|
|
238
|
+
* Indicates that Seam has not yet issued this [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant), even though its access grant is about to begin, so access may not be ready when the recipient arrives. Seam is still attempting to issue it, and this warning clears automatically once issuance succeeds.
|
|
239
|
+
*/ | {
|
|
240
|
+
/**
|
|
241
|
+
* Date and time at which Seam created the warning.
|
|
242
|
+
*/
|
|
65
243
|
created_at: string;
|
|
244
|
+
/**
|
|
245
|
+
* Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.
|
|
246
|
+
*/
|
|
66
247
|
message: string;
|
|
248
|
+
/**
|
|
249
|
+
* Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.
|
|
250
|
+
*/
|
|
67
251
|
warning_code: 'delay_in_issuing';
|
|
68
252
|
}>;
|
|
253
|
+
/**
|
|
254
|
+
* ID of the Seam workspace associated with the access method.
|
|
255
|
+
*/
|
|
69
256
|
workspace_id: string;
|
|
70
257
|
};
|