diff --git a/src/lib/seam/connect/models/acs/acs-user.ts b/src/lib/seam/connect/models/acs/acs-user.ts index 7eebac34..580318c7 100644 --- a/src/lib/seam/connect/models/acs/acs-user.ts +++ b/src/lib/seam/connect/models/acs/acs-user.ts @@ -234,25 +234,25 @@ const common_acs_user = z }) .merge(user_fields) -export const acs_user = common_acs_user.merge( - z - .object({ +export const acs_user = common_acs_user + .merge( + z.object({ is_managed: z.literal(true), - }) - .describe( - 'Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).', - ), -) + }), + ) + .describe( + 'Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).', + ) -export const unmanaged_acs_user = common_acs_user.merge( - z - .object({ +export const unmanaged_acs_user = common_acs_user + .merge( + z.object({ is_managed: z.literal(false), - }) - .describe( - 'Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).', - ), -) + }), + ) + .describe( + 'Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).', + ) export type AcsUser = z.output export type AcsUnmanagedUser = z.output diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 8ace7d41..48f08f4b 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -1050,6 +1050,8 @@ export default { type: 'object', }, acs_user: { + description: + 'Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).', properties: { access_schedule: { description: @@ -11725,6 +11727,8 @@ export default { schema: { properties: { acs_user: { + description: + 'Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).', properties: { access_schedule: { description: @@ -12118,6 +12122,8 @@ export default { properties: { acs_users: { items: { + description: + 'Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).', properties: { access_schedule: { description: diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 6a1ca448..190ee890 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -9240,6 +9240,7 @@ export interface Routes { commonParams: {} formData: {} jsonResponse: { + /** Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */ acs_user: { /** ID of the `acs_user`. */ acs_user_id: string @@ -9375,6 +9376,7 @@ export interface Routes { } formData: {} jsonResponse: { + /** Represents a [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */ acs_user: { /** ID of the `acs_user`. */ acs_user_id: string @@ -9748,6 +9750,7 @@ export interface Routes { } formData: {} jsonResponse: { + /** Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */ acs_user: { /** ID of the `acs_user`. */ acs_user_id: string