Optionalaccess_schedule
access_schedule?: { ends_at: string | null; starts_at: string }
acs_system_id
acs_system_id: string
acs_user_id
acs_user_id: string
connected_account_id
connected_account_id: string
created_at
created_at: string
display_name
display_name: string
Optionalemail
email?: string
Optionalemail_address
email_address?: string
errors
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;
}
)[]
Optionalexternal_type
external_type?:
| "pti_user"
| "brivo_user"
| "hid_credential_manager_user"
| "salto_site_user"
| "latch_user"
| "dormakaba_community_user"
| "salto_space_user"
| "avigilon_alta_user"
| "kisi_user"
Optionalexternal_type_display_name
external_type_display_name?: string
Optionalfull_name
full_name?: string
Optionalhid_acs_system_id
hid_acs_system_id?: string
is_managed
is_managed: boolean
Optionalis_suspended
is_suspended?: boolean
last_successful_sync_at
last_successful_sync_at: string | null
Optionalpending_mutations
pending_mutations?: (
| { created_at: string; message: string; mutation_code: "creating" }
| { created_at: string; message: string; mutation_code: "deleting" }
| {
created_at: string;
message: string;
mutation_code: "deferring_creation";
scheduled_at?: string | null;
}
| {
created_at: string;
from: {
email_address?: string
| null;
full_name?: string | null;
phone_number?: string | null;
};
message: string;
mutation_code: "updating_user_information";
to: {
email_address?: string
| null;
full_name?: string | null;
phone_number?: string | null;
};
}
| {
created_at: string;
from: { ends_at: string
| null; starts_at: string | null };
message: string;
mutation_code: "updating_access_schedule";
to: { ends_at: string | null; starts_at: string | null };
}
| {
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: string
| null };
message: string;
mutation_code: "updating_group_membership";
to: { acs_access_group_id: string | null };
}
| {
acs_access_group_id: string;
created_at: string;
message: string;
mutation_code: "deferring_group_membership_update";
variant: "adding"
| "removing";
}
| {
created_at: string;
from: { acs_credential_id: string
| null };
message: string;
mutation_code: "updating_credential_assignment";
to: { acs_credential_id: string | null };
}
)[]
Optionalphone_number
phone_number?: string
salto_ks_metadata?: { is_subscribed?: boolean }
salto_space_metadata?: { audit_openings?: boolean; user_id?: string }
Optionaluser_identity_email_address
user_identity_email_address?: string | null
Optionaluser_identity_full_name
user_identity_full_name?: string | null
Optionaluser_identity_id
user_identity_id?: string
Optionaluser_identity_phone_number
user_identity_phone_number?: string | null
warnings
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: "acs_user_inactive";
}
| {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_user";
}
| {
created_at: string;
message: string;
warning_code: "latch_resident_user";
}
)[]
workspace_id
workspace_id: string