@seamapi/types 1.1078.0 → 1.1079.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/models/access-codes/managed-access-code.js +9 -9
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +2 -2
- package/lib/seam/connect/models/access-grants/access-grant.js +5 -5
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.js +11 -11
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +3 -3
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js +3 -3
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js +54 -54
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js +11 -11
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.js +21 -21
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +39 -39
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +38 -38
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.js +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
- package/lib/seam/connect/models/bridges/bridge-connected-system.js +4 -4
- package/lib/seam/connect/models/bridges/bridge-connected-system.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge.js +1 -1
- package/lib/seam/connect/models/client-sessions/client-session.js +12 -12
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +5 -5
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +4 -4
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/custom-metadata.js +2 -2
- package/lib/seam/connect/models/custom-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/capabilities-supported.js +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +2 -2
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +21 -21
- package/lib/seam/connect/models/devices/device.js +8 -8
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.js +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -1
- package/lib/seam/connect/models/events/access-codes.js +26 -26
- package/lib/seam/connect/models/events/access-grants.js +1 -1
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.js +4 -4
- package/lib/seam/connect/models/events/acs/encoders.js +2 -2
- package/lib/seam/connect/models/events/acs/entrances.js +2 -2
- package/lib/seam/connect/models/events/acs/systems.js +3 -3
- package/lib/seam/connect/models/events/acs/users.js +2 -2
- package/lib/seam/connect/models/events/devices.js +17 -17
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.js +1 -1
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js +2 -2
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js.map +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js +13 -13
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +11 -11
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js +1 -1
- package/lib/seam/connect/models/webhooks/webhook.js +4 -4
- package/lib/seam/connect/models/webhooks/webhook.js.map +1 -1
- package/lib/seam/connect/models/workspaces/workspace.js +12 -12
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.js +1066 -1064
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8171 -8171
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +9 -9
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +2 -2
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +5 -5
- package/src/lib/seam/connect/models/access-grants/access-method.ts +11 -11
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +3 -3
- package/src/lib/seam/connect/models/acs/acs-credential-provisioning-automation.ts +3 -3
- package/src/lib/seam/connect/models/acs/acs-credential.ts +54 -54
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +11 -11
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +21 -21
- package/src/lib/seam/connect/models/acs/acs-system.ts +39 -39
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +38 -38
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +1 -1
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +1 -1
- package/src/lib/seam/connect/models/bridges/bridge-connected-system.ts +4 -4
- package/src/lib/seam/connect/models/bridges/bridge.ts +1 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +12 -12
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +5 -5
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
- package/src/lib/seam/connect/models/custom-metadata.ts +2 -2
- package/src/lib/seam/connect/models/devices/capabilities-supported.ts +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +2 -2
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +21 -21
- package/src/lib/seam/connect/models/devices/device.ts +8 -8
- package/src/lib/seam/connect/models/devices/phone.ts +1 -1
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +26 -26
- package/src/lib/seam/connect/models/events/access-grants.ts +1 -1
- package/src/lib/seam/connect/models/events/acs/credentials.ts +4 -4
- package/src/lib/seam/connect/models/events/acs/encoders.ts +2 -2
- package/src/lib/seam/connect/models/events/acs/entrances.ts +2 -2
- package/src/lib/seam/connect/models/events/acs/systems.ts +3 -3
- package/src/lib/seam/connect/models/events/acs/users.ts +2 -2
- package/src/lib/seam/connect/models/events/devices.ts +17 -17
- package/src/lib/seam/connect/models/events/enrollment-automations.ts +1 -1
- package/src/lib/seam/connect/models/noise-sensors/noise-threshold.ts +2 -2
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +13 -13
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +1 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +11 -11
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +1 -1
- package/src/lib/seam/connect/models/webhooks/webhook.ts +4 -4
- package/src/lib/seam/connect/models/workspaces/workspace.ts +12 -12
- package/src/lib/seam/connect/openapi.ts +1066 -1064
- package/src/lib/seam/connect/route-types.ts +8171 -8168
package/package.json
CHANGED
|
@@ -190,7 +190,7 @@ const access_code_error = z
|
|
|
190
190
|
failed_to_remove,
|
|
191
191
|
])
|
|
192
192
|
.describe(
|
|
193
|
-
'Errors associated with the [access code](https://
|
|
193
|
+
'Errors associated with the [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).',
|
|
194
194
|
)
|
|
195
195
|
|
|
196
196
|
export type AccessCodeError = z.infer<typeof access_code_error>
|
|
@@ -370,7 +370,7 @@ const access_code_warning = z
|
|
|
370
370
|
unknown_issue_with_access_code,
|
|
371
371
|
])
|
|
372
372
|
.describe(
|
|
373
|
-
'Warnings associated with the [access code](https://
|
|
373
|
+
'Warnings associated with the [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).',
|
|
374
374
|
)
|
|
375
375
|
|
|
376
376
|
export type AccessCodeWarning = z.infer<typeof access_code_warning>
|
|
@@ -531,7 +531,7 @@ export const access_code = z.object({
|
|
|
531
531
|
provider_metadata:
|
|
532
532
|
name: Provider Metadata
|
|
533
533
|
---
|
|
534
|
-
Errors associated with the [access code](https://
|
|
534
|
+
Errors associated with the [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).
|
|
535
535
|
`),
|
|
536
536
|
warnings: z.array(access_code_warning).describe(`
|
|
537
537
|
---
|
|
@@ -551,7 +551,7 @@ export const access_code = z.object({
|
|
|
551
551
|
provider_metadata:
|
|
552
552
|
name: Provider Metadata
|
|
553
553
|
---
|
|
554
|
-
Warnings associated with the [access code](https://
|
|
554
|
+
Warnings associated with the [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).
|
|
555
555
|
`),
|
|
556
556
|
is_managed: z
|
|
557
557
|
.literal(true)
|
|
@@ -572,7 +572,7 @@ export const access_code = z.object({
|
|
|
572
572
|
---
|
|
573
573
|
deprecated: Use \`display_status\` to show a person the code's state. To make decisions, read \`pending_mutations\`, \`errors\`, \`warnings\`, \`starts_at\`, and \`ends_at\`.
|
|
574
574
|
---
|
|
575
|
-
Current status of the access code within the operational lifecycle. Values are \`setting\`, a transitional phase that indicates that the code is being configured or activated; \`set\`, which indicates that the code is active and operational; \`unset\`, which indicates a deactivated or unused state, either before activation or after deliberate deactivation; \`removing\`, which indicates a transitional period in which the code is being deleted or made inactive; and \`unknown\`, which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting. See also [Lifecycle of Access Codes](https://
|
|
575
|
+
Current status of the access code within the operational lifecycle. Values are \`setting\`, a transitional phase that indicates that the code is being configured or activated; \`set\`, which indicates that the code is active and operational; \`unset\`, which indicates a deactivated or unused state, either before activation or after deliberate deactivation; \`removing\`, which indicates a transitional period in which the code is being deleted or made inactive; and \`unknown\`, which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting. See also [Lifecycle of Access Codes](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/lifecycle-of-access-codes).
|
|
576
576
|
`),
|
|
577
577
|
display_status: z
|
|
578
578
|
.string()
|
|
@@ -626,15 +626,15 @@ export const access_code = z.object({
|
|
|
626
626
|
---
|
|
627
627
|
route_path: /access_codes
|
|
628
628
|
---
|
|
629
|
-
Represents a smart lock [access code](https://
|
|
629
|
+
Represents a smart lock [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).
|
|
630
630
|
|
|
631
631
|
An access code is a code used for a keypad or pinpad device. Unlike physical keys, which can easily be lost or duplicated, PIN codes can be customized, tracked, and altered on the fly. Using the Seam Access Code API, you can easily generate access codes on the hundreds of door lock models with which we integrate.
|
|
632
632
|
|
|
633
|
-
Seam supports programming two types of access codes: [ongoing](https://
|
|
633
|
+
Seam supports programming two types of access codes: [ongoing](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the \`type\` property of the access code. Ongoing codes display as \`ongoing\`, whereas time-bound codes are labeled \`time_bound\`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both \`starts_at\` and \`ends_at\` empty. A time-bound access code will be programmed at the \`starts_at\` time and removed at the \`ends_at\` time.
|
|
634
634
|
|
|
635
|
-
In addition, for certain devices, Seam also supports [offline access codes](https://
|
|
635
|
+
In addition, for certain devices, Seam also supports [offline access codes](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
636
636
|
|
|
637
|
-
For granting a person access to a space, [Access Grants](https://
|
|
637
|
+
For granting a person access to a space, [Access Grants](https://www.seam.co/docs/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes.
|
|
638
638
|
`)
|
|
639
639
|
|
|
640
640
|
export type AccessCode = z.infer<typeof access_code>
|
|
@@ -57,7 +57,7 @@ export const unmanaged_access_code = access_code
|
|
|
57
57
|
---
|
|
58
58
|
route_path: /access_codes/unmanaged
|
|
59
59
|
---
|
|
60
|
-
Represents an [unmanaged smart lock access code](https://
|
|
60
|
+
Represents an [unmanaged smart lock access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes).
|
|
61
61
|
|
|
62
62
|
An access code is a code used for a keypad or pinpad device. Unlike physical keys, which can easily be lost or duplicated, PIN codes can be customized, tracked, and altered on the fly.
|
|
63
63
|
|
|
@@ -67,7 +67,7 @@ export const unmanaged_access_code = access_code
|
|
|
67
67
|
|
|
68
68
|
Not all providers support unmanaged access codes. The following providers do not support unmanaged access codes:
|
|
69
69
|
|
|
70
|
-
- [Kwikset](https://
|
|
70
|
+
- [Kwikset](https://www.seam.co/docs/device-and-system-integration-guides/kwikset-locks)
|
|
71
71
|
`)
|
|
72
72
|
|
|
73
73
|
export type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>
|
|
@@ -68,7 +68,7 @@ const being_deleted = common_access_grant_warning
|
|
|
68
68
|
warning_code: z.literal('being_deleted').describe(warning_code_description),
|
|
69
69
|
})
|
|
70
70
|
.describe(
|
|
71
|
-
'Indicates that the [access grant](https://
|
|
71
|
+
'Indicates that the [access grant](https://www.seam.co/docs/use-cases/granting-access) is being deleted.',
|
|
72
72
|
)
|
|
73
73
|
|
|
74
74
|
const underprovisioned_access = common_access_grant_warning
|
|
@@ -122,7 +122,7 @@ const updating_access_times = common_access_grant_warning
|
|
|
122
122
|
.describe('IDs of the access methods being updated.'),
|
|
123
123
|
})
|
|
124
124
|
.describe(
|
|
125
|
-
'Indicates that the access times for this [access grant](https://
|
|
125
|
+
'Indicates that the access times for this [access grant](https://www.seam.co/docs/use-cases/granting-access) are being updated.',
|
|
126
126
|
)
|
|
127
127
|
|
|
128
128
|
const requested_code_unavailable = common_access_grant_warning
|
|
@@ -195,7 +195,7 @@ const access_grant_warning = z
|
|
|
195
195
|
device_time_constraints_violated,
|
|
196
196
|
])
|
|
197
197
|
.describe(
|
|
198
|
-
'Warning associated with the [access grant](https://
|
|
198
|
+
'Warning associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access).',
|
|
199
199
|
)
|
|
200
200
|
|
|
201
201
|
const _access_grant_warning_map = z.object({
|
|
@@ -288,12 +288,12 @@ export const access_grant = z.object({
|
|
|
288
288
|
warnings: z
|
|
289
289
|
.array(access_grant_warning)
|
|
290
290
|
.describe(
|
|
291
|
-
'Warnings associated with the [access grant](https://
|
|
291
|
+
'Warnings associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access).',
|
|
292
292
|
),
|
|
293
293
|
errors: z
|
|
294
294
|
.array(access_grant_error)
|
|
295
295
|
.describe(
|
|
296
|
-
'Errors associated with the [access grant](https://
|
|
296
|
+
'Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access).',
|
|
297
297
|
),
|
|
298
298
|
customization_profile_id: z
|
|
299
299
|
.string()
|
|
@@ -21,7 +21,7 @@ const being_deleted = common_access_method_warning
|
|
|
21
21
|
warning_code: z.literal('being_deleted').describe(warning_code_description),
|
|
22
22
|
})
|
|
23
23
|
.describe(
|
|
24
|
-
'Indicates that the [access method](https://
|
|
24
|
+
'Indicates that the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant) is being deleted.',
|
|
25
25
|
)
|
|
26
26
|
|
|
27
27
|
const updating_access_times_warning = common_access_method_warning
|
|
@@ -31,7 +31,7 @@ const updating_access_times_warning = common_access_method_warning
|
|
|
31
31
|
.describe(warning_code_description),
|
|
32
32
|
})
|
|
33
33
|
.describe(
|
|
34
|
-
'Indicates that the access times for this [access method](https://
|
|
34
|
+
'Indicates that the access times for this [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant) are being updated.',
|
|
35
35
|
)
|
|
36
36
|
|
|
37
37
|
const pulled_backup_access_code_warning = common_access_method_warning
|
|
@@ -58,7 +58,7 @@ const delay_in_issuing_warning = common_access_method_warning
|
|
|
58
58
|
.describe(warning_code_description),
|
|
59
59
|
})
|
|
60
60
|
.describe(
|
|
61
|
-
'Indicates that Seam has not yet issued this [access method](https://
|
|
61
|
+
'Indicates that Seam has not yet issued this [access method](https://www.seam.co/docs/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.',
|
|
62
62
|
)
|
|
63
63
|
|
|
64
64
|
const user_identity_missing_email_address_warning = common_access_method_warning
|
|
@@ -68,7 +68,7 @@ const user_identity_missing_email_address_warning = common_access_method_warning
|
|
|
68
68
|
.describe(warning_code_description),
|
|
69
69
|
})
|
|
70
70
|
.describe(
|
|
71
|
-
"Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://
|
|
71
|
+
"Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.",
|
|
72
72
|
)
|
|
73
73
|
|
|
74
74
|
const user_identity_missing_phone_number_warning = common_access_method_warning
|
|
@@ -78,7 +78,7 @@ const user_identity_missing_phone_number_warning = common_access_method_warning
|
|
|
78
78
|
.describe(warning_code_description),
|
|
79
79
|
})
|
|
80
80
|
.describe(
|
|
81
|
-
"Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://
|
|
81
|
+
"Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.",
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
const access_method_warning = z
|
|
@@ -91,7 +91,7 @@ const access_method_warning = z
|
|
|
91
91
|
user_identity_missing_phone_number_warning,
|
|
92
92
|
])
|
|
93
93
|
.describe(
|
|
94
|
-
'Warning associated with the [access method](https://
|
|
94
|
+
'Warning associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant).',
|
|
95
95
|
)
|
|
96
96
|
|
|
97
97
|
const _access_method_warning_map = z.object({
|
|
@@ -130,13 +130,13 @@ const failed_to_issue_error = common_access_method_error.extend({
|
|
|
130
130
|
---
|
|
131
131
|
resource_type: access_method
|
|
132
132
|
---
|
|
133
|
-
Indicates that Seam was unable to issue this [access method](https://
|
|
133
|
+
Indicates that Seam was unable to issue this [access method](https://www.seam.co/docs/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.
|
|
134
134
|
`)
|
|
135
135
|
|
|
136
136
|
const access_method_error = z
|
|
137
137
|
.discriminatedUnion('error_code', [failed_to_issue_error])
|
|
138
138
|
.describe(
|
|
139
|
-
'Error associated with the [access method](https://
|
|
139
|
+
'Error associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant).',
|
|
140
140
|
)
|
|
141
141
|
|
|
142
142
|
const _access_method_error_map = z.object({
|
|
@@ -336,17 +336,17 @@ export const access_method = z.object({
|
|
|
336
336
|
warnings: z
|
|
337
337
|
.array(access_method_warning)
|
|
338
338
|
.describe(
|
|
339
|
-
'Warnings associated with the [access method](https://
|
|
339
|
+
'Warnings associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant).',
|
|
340
340
|
),
|
|
341
341
|
errors: z
|
|
342
342
|
.array(access_method_error)
|
|
343
343
|
.describe(
|
|
344
|
-
'Errors associated with the [access method](https://
|
|
344
|
+
'Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant).',
|
|
345
345
|
),
|
|
346
346
|
pending_mutations: z
|
|
347
347
|
.array(access_method_pending_mutations)
|
|
348
348
|
.describe(
|
|
349
|
-
'Pending mutations for the [access method](https://
|
|
349
|
+
'Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress.',
|
|
350
350
|
),
|
|
351
351
|
customization_profile_id: z
|
|
352
352
|
.string()
|
|
@@ -44,7 +44,7 @@ const acs_access_groups_failed_to_create_on_acs_system =
|
|
|
44
44
|
---
|
|
45
45
|
resource_type: acs_access_group
|
|
46
46
|
---
|
|
47
|
-
Indicates that the [access group](https://
|
|
47
|
+
Indicates that the [access group](https://www.seam.co/docs/low-level-apis/access-systems/user-management/assigning-users-to-access-groups) was not created on the [access system](https://www.seam.co/docs/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
|
|
48
48
|
`)
|
|
49
49
|
|
|
50
50
|
const acs_access_group_errors = z
|
|
@@ -175,9 +175,9 @@ export const acs_access_group = common_acs_access_group.extend({
|
|
|
175
175
|
---
|
|
176
176
|
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.
|
|
177
177
|
|
|
178
|
-
Some access control systems use [access group](https://
|
|
178
|
+
Some access control systems use [access group](https://www.seam.co/docs/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.
|
|
179
179
|
|
|
180
|
-
To learn whether your access control system supports access groups, see the corresponding [system integration guide](https://
|
|
180
|
+
To learn whether your access control system supports access groups, see the corresponding [system integration guide](https://www.seam.co/docs/device-and-system-integration-guides#access-control-systems).
|
|
181
181
|
`)
|
|
182
182
|
export const unmanaged_acs_access_group = common_acs_access_group.extend({
|
|
183
183
|
is_managed: z.literal(false),
|
|
@@ -25,13 +25,13 @@ export const enrollment_automation = z.object({
|
|
|
25
25
|
.string()
|
|
26
26
|
.uuid()
|
|
27
27
|
.describe(
|
|
28
|
-
'ID of the associated [ACS system](https://
|
|
28
|
+
'ID of the associated [ACS system](https://www.seam.co/docs/low-level-apis/access-systems) that serves as the credential manager.',
|
|
29
29
|
),
|
|
30
30
|
user_identity_id: z
|
|
31
31
|
.string()
|
|
32
32
|
.uuid()
|
|
33
33
|
.describe(
|
|
34
|
-
'ID of the associated [user identity](https://
|
|
34
|
+
'ID of the associated [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|
|
35
35
|
),
|
|
36
36
|
created_at: datetime.describe(
|
|
37
37
|
'Date and time at which the enrollment automation was created.',
|
|
@@ -45,7 +45,7 @@ export const enrollment_automation = z.object({
|
|
|
45
45
|
route_path: /user_identities/enrollment_automations
|
|
46
46
|
undocumented: Will be removed.
|
|
47
47
|
---
|
|
48
|
-
Represents an [enrollment automation](https://
|
|
48
|
+
Represents an [enrollment automation](https://www.seam.co/docs/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system) within the [Seam mobile access solution](https://www.seam.co/docs/capability-guides/mobile-access).
|
|
49
49
|
`)
|
|
50
50
|
|
|
51
51
|
export type EnrollmentAutomation = z.output<typeof enrollment_automation>
|