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;
}>, ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
error_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
error_code: "failed_to_update_on_acs_system";
message: string;
}, {
created_at: string;
error_code: "failed_to_update_on_acs_system";
message: string;
}>, ZodObject<extendShape<{
created_at: ZodString;
message: ZodString;
}, {
error_code: ZodLiteral<(...)>;
}>, "strip", ZodTypeAny, {
created_at: string;
error_code: "failed_to_delete_on_acs_system";
message: string;
}, {
created_at: string;
error_code: "failed_to_delete_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_latest_desired_state_synced_with_provider: ZodOptional<ZodNullable<ZodBoolean>>;
is_suspended: ZodOptional<ZodBoolean>;
latest_desired_state_synced_with_provider_at: ZodOptional<ZodNullable<ZodString>>;
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";
}>]>, "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;
})[];
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_latest_desired_state_synced_with_provider?: null | boolean;
is_managed: true;
is_suspended?: boolean;
latest_desired_state_synced_with_provider_at?: 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";
})[];
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;
})[];
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_latest_desired_state_synced_with_provider?: null | boolean;
is_managed: true;
is_suspended?: boolean;
latest_desired_state_synced_with_provider_at?: 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";
})[];
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;
})[]
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
Optional
is_latest_desired_state_synced_with_provider?: null | boolean
is_managed: true
Optional
is_suspended?: boolean
Optional
latest_desired_state_synced_with_provider_at?: 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";
})[]
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;
})[]
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
Optional
is_latest_desired_state_synced_with_provider?: null | boolean
is_managed: true
Optional
is_suspended?: boolean
Optional
latest_desired_state_synced_with_provider_at?: 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";
})[]
workspace_id: string