acs_user: ZodObject<extendShape<extendShape<{
access_schedule: ZodOptional<ZodObject<{
ends_at: ZodNullable<ZodString>;
starts_at: ZodString;
}, "strip", ZodTypeAny, {
ends_at: null | string;
starts_at: string;
}, {
ends_at: null | string;
starts_at: string;
}>>;
acs_system_id: ZodString;
acs_user_id: ZodString;
created_at: ZodString;
display_name: ZodString;
errors: ZodArray<ZodDiscriminatedUnion<"error_code", [ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
error_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
error_code: "deleted_externally";
message: string;
}, {
created_at: string;
error_code: "deleted_externally";
message: string;
}>, ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
error_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
error_code: "salto_ks_subscription_limit_exceeded";
message: string;
}, {
created_at: string;
error_code: "salto_ks_subscription_limit_exceeded";
message: string;
}>, ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
error_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
error_code: "failed_to_create_on_acs_system";
message: string;
}, {
created_at: string;
error_code: "failed_to_create_on_acs_system";
message: string;
}>]>, "many">;
external_type: ZodOptional<ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user", "dormakaba_community_user", "salto_space_user"]>>;
external_type_display_name: ZodOptional<ZodString>;
hid_acs_system_id: ZodOptional<ZodString>;
is_suspended: ZodOptional<ZodBoolean>;
pending_mutations: ZodOptional<ZodArray<ZodDiscriminatedUnion<"mutation_code", [ZodObject<extendShape<{
created_at: ...;
message: ...;
}, {
mutation_code: ...;
}>, "strip", ZodTypeAny, {
created_at: string;
message: string;
mutation_code: "creating";
}, {
created_at: string;
message: string;
mutation_code: "creating";
}>, ZodObject<extendShape<{
created_at: ...;
message: ...;
}, {
mutation_code: ...;
}>, "strip", ZodTypeAny, {
created_at: string;
message: string;
mutation_code: "deleting";
}, {
created_at: string;
message: string;
mutation_code: "deleting";
}>, ZodObject<extendShape<{
created_at: ...;
message: ...;
}, {
from: ...;
mutation_code: ...;
to: ...;
}>, "strip", ZodTypeAny, {
created_at: string;
from: {
email_address?: ...;
full_name?: ...;
phone_number?: ...;
};
message: string;
mutation_code: "updating_user_information";
to: {
email_address?: ...;
full_name?: ...;
phone_number?: ...;
};
}, {
created_at: string;
from: {
email_address?: ...;
full_name?: ...;
phone_number?: ...;
};
message: string;
mutation_code: "updating_user_information";
to: {
email_address?: ...;
full_name?: ...;
phone_number?: ...;
};
}>]>, "many">>;
user_identity_email_address: ZodOptional<ZodNullable<ZodString>>;
user_identity_full_name: ZodOptional<ZodNullable<ZodString>>;
user_identity_id: ZodOptional<ZodString>;
user_identity_phone_number: ZodOptional<ZodNullable<ZodString>>;
warnings: ZodArray<ZodDiscriminatedUnion<"warning_code", [ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
warning_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
message: string;
warning_code: "being_deleted";
}, {
created_at: string;
message: string;
warning_code: "being_deleted";
}>, ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
warning_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
message: string;
warning_code: "salto_ks_user_not_subscribed";
}, {
created_at: string;
message: string;
warning_code: "salto_ks_user_not_subscribed";
}>, ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
warning_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_user";
}, {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_user";
}>, ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
warning_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
message: string;
warning_code: "latch_resident_user";
}, {
created_at: string;
message: string;
warning_code: "latch_resident_user";
}>]>, "many">;
workspace_id: ZodString;
}, {
email: ZodOptional<ZodString>;
email_address: ZodOptional<ZodString>;
full_name: ZodOptional<ZodString>;
phone_number: ZodOptional<ZodEffects<ZodString, string, string>>;
}>, {
is_managed: ZodLiteral<true>;
}>, "strip", ZodTypeAny, {
access_schedule?: {
ends_at: null | string;
starts_at: string;
};
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
email_address?: string;
errors: ({
created_at: string;
error_code: "deleted_externally";
message: string;
} | {
created_at: string;
error_code: "salto_ks_subscription_limit_exceeded";
message: string;
} | {
created_at: string;
error_code: "failed_to_create_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "failed_to_update_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "failed_to_delete_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "latch_conflict_with_resident_user";
message: string;
})[];
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user";
external_type_display_name?: string;
full_name?: string;
hid_acs_system_id?: string;
is_managed: true;
is_suspended?: boolean;
pending_mutations?: ({
created_at: string;
message: string;
mutation_code: "creating";
} | {
created_at: string;
message: string;
mutation_code: "deleting";
} | {
created_at: string;
from: {
email_address?: null | string;
full_name?: null | string;
phone_number?: null | string;
};
message: string;
mutation_code: "updating_user_information";
to: {
email_address?: null | string;
full_name?: null | string;
phone_number?: null | string;
};
} | {
created_at: string;
from: {
ends_at: null | string;
starts_at: null | string;
};
message: string;
mutation_code: "updating_access_schedule";
to: {
ends_at: null | string;
starts_at: null | string;
};
} | {
created_at: string;
from: {
is_suspended: boolean;
};
message: string;
mutation_code: "updating_suspension_state";
to: {
is_suspended: boolean;
};
} | {
created_at: string;
from: {
acs_access_group_id: null | string;
};
message: string;
mutation_code: "updating_group_membership";
to: {
acs_access_group_id: null | string;
};
})[];
phone_number?: string;
user_identity_email_address?: null | string;
user_identity_full_name?: null | string;
user_identity_id?: string;
user_identity_phone_number?: null | string;
warnings: ({
created_at: string;
message: string;
warning_code: "being_deleted";
} | {
created_at: string;
message: string;
warning_code: "salto_ks_user_not_subscribed";
} | {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_user";
} | {
created_at: string;
message: string;
warning_code: "latch_resident_user";
})[];
workspace_id: string;
}, {
access_schedule?: {
ends_at: null | string;
starts_at: string;
};
acs_system_id: string;
acs_user_id: string;
created_at: string;
display_name: string;
email?: string;
email_address?: string;
errors: ({
created_at: string;
error_code: "deleted_externally";
message: string;
} | {
created_at: string;
error_code: "salto_ks_subscription_limit_exceeded";
message: string;
} | {
created_at: string;
error_code: "failed_to_create_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "failed_to_update_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "failed_to_delete_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "latch_conflict_with_resident_user";
message: string;
})[];
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user";
external_type_display_name?: string;
full_name?: string;
hid_acs_system_id?: string;
is_managed: true;
is_suspended?: boolean;
pending_mutations?: ({
created_at: string;
message: string;
mutation_code: "creating";
} | {
created_at: string;
message: string;
mutation_code: "deleting";
} | {
created_at: string;
from: {
email_address?: null | string;
full_name?: null | string;
phone_number?: null | string;
};
message: string;
mutation_code: "updating_user_information";
to: {
email_address?: null | string;
full_name?: null | string;
phone_number?: null | string;
};
} | {
created_at: string;
from: {
ends_at: null | string;
starts_at: null | string;
};
message: string;
mutation_code: "updating_access_schedule";
to: {
ends_at: null | string;
starts_at: null | string;
};
} | {
created_at: string;
from: {
is_suspended: boolean;
};
message: string;
mutation_code: "updating_suspension_state";
to: {
is_suspended: boolean;
};
} | {
created_at: string;
from: {
acs_access_group_id: null | string;
};
message: string;
mutation_code: "updating_group_membership";
to: {
acs_access_group_id: null | string;
};
})[];
phone_number?: string;
user_identity_email_address?: null | string;
user_identity_full_name?: null | string;
user_identity_id?: string;
user_identity_phone_number?: null | string;
warnings: ({
created_at: string;
message: string;
warning_code: "being_deleted";
} | {
created_at: string;
message: string;
warning_code: "salto_ks_user_not_subscribed";
} | {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_user";
} | {
created_at: string;
message: string;
warning_code: "latch_resident_user";
})[];
workspace_id: string;
}> = ...
Type declaration
Optional
access_schedule?: {
ends_at: null | string;
starts_at: string;
}
ends_at: null | string
starts_at: string
acs_system_id: string
acs_user_id: string
created_at: string
display_name: string
Optional
email?: string
Optional
email_address?: string
errors: ({
created_at: string;
error_code: "deleted_externally";
message: string;
} | {
created_at: string;
error_code: "salto_ks_subscription_limit_exceeded";
message: string;
} | {
created_at: string;
error_code: "failed_to_create_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "failed_to_update_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "failed_to_delete_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "latch_conflict_with_resident_user";
message: string;
})[]
Optional
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user"
Optional
external_type_display_name?: string
Optional
full_name?: string
Optional
hid_acs_system_id?: string
is_managed: true
Optional
is_suspended?: boolean
Optional
pending_mutations?: ({
created_at: string;
message: string;
mutation_code: "creating";
} | {
created_at: string;
message: string;
mutation_code: "deleting";
} | {
created_at: string;
from: {
email_address?: null | string;
full_name?: null | string;
phone_number?: null | string;
};
message: string;
mutation_code: "updating_user_information";
to: {
email_address?: null | string;
full_name?: null | string;
phone_number?: null | string;
};
} | {
created_at: string;
from: {
ends_at: null | string;
starts_at: null | string;
};
message: string;
mutation_code: "updating_access_schedule";
to: {
ends_at: null | string;
starts_at: null | string;
};
} | {
created_at: string;
from: {
is_suspended: boolean;
};
message: string;
mutation_code: "updating_suspension_state";
to: {
is_suspended: boolean;
};
} | {
created_at: string;
from: {
acs_access_group_id: null | string;
};
message: string;
mutation_code: "updating_group_membership";
to: {
acs_access_group_id: null | string;
};
})[]
Optional
phone_number?: string
Optional
user_identity_email_address?: null | string
Optional
user_identity_full_name?: null | string
Optional
user_identity_id?: string
Optional
user_identity_phone_number?: null | string
warnings: ({
created_at: string;
message: string;
warning_code: "being_deleted";
} | {
created_at: string;
message: string;
warning_code: "salto_ks_user_not_subscribed";
} | {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_user";
} | {
created_at: string;
message: string;
warning_code: "latch_resident_user";
})[]
workspace_id: string
Type declaration
Optional
access_schedule?: {
ends_at: null | string;
starts_at: string;
}
ends_at: null | string
starts_at: string
acs_system_id: string
acs_user_id: string
created_at: string
display_name: string
Optional
email?: string
Optional
email_address?: string
errors: ({
created_at: string;
error_code: "deleted_externally";
message: string;
} | {
created_at: string;
error_code: "salto_ks_subscription_limit_exceeded";
message: string;
} | {
created_at: string;
error_code: "failed_to_create_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "failed_to_update_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "failed_to_delete_on_acs_system";
message: string;
} | {
created_at: string;
error_code: "latch_conflict_with_resident_user";
message: string;
})[]
Optional
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user"
Optional
external_type_display_name?: string
Optional
full_name?: string
Optional
hid_acs_system_id?: string
is_managed: true
Optional
is_suspended?: boolean
Optional
pending_mutations?: ({
created_at: string;
message: string;
mutation_code: "creating";
} | {
created_at: string;
message: string;
mutation_code: "deleting";
} | {
created_at: string;
from: {
email_address?: null | string;
full_name?: null | string;
phone_number?: null | string;
};
message: string;
mutation_code: "updating_user_information";
to: {
email_address?: null | string;
full_name?: null | string;
phone_number?: null | string;
};
} | {
created_at: string;
from: {
ends_at: null | string;
starts_at: null | string;
};
message: string;
mutation_code: "updating_access_schedule";
to: {
ends_at: null | string;
starts_at: null | string;
};
} | {
created_at: string;
from: {
is_suspended: boolean;
};
message: string;
mutation_code: "updating_suspension_state";
to: {
is_suspended: boolean;
};
} | {
created_at: string;
from: {
acs_access_group_id: null | string;
};
message: string;
mutation_code: "updating_group_membership";
to: {
acs_access_group_id: null | string;
};
})[]
Optional
phone_number?: string
Optional
user_identity_email_address?: null | string
Optional
user_identity_full_name?: null | string
Optional
user_identity_id?: string
Optional
user_identity_phone_number?: null | string
warnings: ({
created_at: string;
message: string;
warning_code: "being_deleted";
} | {
created_at: string;
message: string;
warning_code: "salto_ks_user_not_subscribed";
} | {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_user";
} | {
created_at: string;
message: string;
warning_code: "latch_resident_user";
})[]
workspace_id: string