Variable acs_access_groupConst
acs_access_group: ZodObject<
{
access_group_type: ZodEnum<
[
"pti_unit",
"pti_access_level",
"salto_ks_access_group",
"brivo_group",
"salto_space_group",
"dormakaba_community_access_group",
"dormakaba_ambiance_access_group",
],
>;
access_group_type_display_name: ZodString;
access_schedule: ZodOptional<
ZodObject<
{ ends_at: ZodNullable<ZodString>; starts_at: ZodString },
"strip",
ZodTypeAny,
{ ends_at: string | null; starts_at: string },
{ ends_at: string | null; starts_at: string },
>,
>;
acs_access_group_id: ZodString;
acs_system_id: ZodString;
connected_account_id: ZodString;
created_at: ZodString;
display_name: ZodString;
external_type: ZodEnum<
[
"pti_unit",
"pti_access_level",
"salto_ks_access_group",
"brivo_group",
"salto_space_group",
"dormakaba_community_access_group",
"dormakaba_ambiance_access_group",
],
>;
external_type_display_name: ZodString;
name: ZodString;
pending_mutations: ZodArray<
ZodDiscriminatedUnion<
"mutation_code",
[
ZodObject<
{ created_at: ZodString; message: ZodString } & {
mutation_code: ZodLiteral<"creating">;
},
"strip",
ZodTypeAny,
{ created_at: string; message: string; mutation_code: "creating" },
{ created_at: string; message: string; mutation_code: "creating" },
>,
ZodObject<
{ created_at: ZodString; message: ZodString } & {
mutation_code: ZodLiteral<"deleting">;
},
"strip",
ZodTypeAny,
{ created_at: string; message: string; mutation_code: "deleting" },
{ created_at: string; message: string; mutation_code: "deleting" },
>,
ZodObject<
{ created_at: ZodString; message: ZodString } & {
from: ZodObject<
{ name: ... },
"strip",
ZodTypeAny,
{ name?: ... },
{ name?: ... },
>;
mutation_code: ZodLiteral<"updating_group_information">;
to: ZodObject<
{ name: ... },
"strip",
ZodTypeAny,
{ name?: ... },
{ name?: ... },
>;
},
"strip",
ZodTypeAny,
{
created_at: string;
from: { name?: string
| null };
message: string;
mutation_code: "updating_group_information";
to: { name?: string | null };
},
{
created_at: string;
from: { name?: string
| null };
message: string;
mutation_code: "updating_group_information";
to: { name?: string | null };
},
>,
],
>,
"many",
>;
warnings: ZodArray<
ZodUnion<
[
ZodObject<
{ created_at: ZodString; message: ZodString } & {
warning_code: ZodLiteral<"unknown_issue_with_acs_access_group">;
},
"strip",
ZodTypeAny,
{
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_access_group";
},
{
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_access_group";
},
>,
ZodObject<
{ created_at: ZodString; message: ZodString } & {
warning_code: ZodLiteral<"being_deleted">;
},
"strip",
ZodTypeAny,
{ created_at: string; message: string; warning_code: "being_deleted" },
{ created_at: string; message: string; warning_code: "being_deleted" },
>,
],
>,
"many",
>;
workspace_id: ZodString;
} & { is_managed: ZodLiteral<true> },
"strip",
ZodTypeAny,
{
access_group_type:
| "pti_unit"
| "pti_access_level"
| "salto_ks_access_group"
| "brivo_group"
| "salto_space_group"
| "dormakaba_community_access_group"
| "dormakaba_ambiance_access_group";
access_group_type_display_name: string;
access_schedule?: { ends_at: string
| null; starts_at: string };
acs_access_group_id: string;
acs_system_id: string;
connected_account_id: string;
created_at: string;
display_name: string;
external_type:
| "pti_unit"
| "pti_access_level"
| "salto_ks_access_group"
| "brivo_group"
| "salto_space_group"
| "dormakaba_community_access_group"
| "dormakaba_ambiance_access_group";
external_type_display_name: string;
is_managed: true;
name: string;
pending_mutations: (
| { created_at: string; message: string; mutation_code: "creating" }
| { created_at: string; message: string; mutation_code: "deleting" }
| {
created_at: string;
from: { name?: string | null };
message: string;
mutation_code: "updating_group_information";
to: { name?: 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: { acs_user_id: string
| null };
message: string;
mutation_code: "updating_user_membership";
to: { acs_user_id: string | null };
}
| {
created_at: string;
from: { acs_entrance_id: string
| null };
message: string;
mutation_code: "updating_entrance_membership";
to: { acs_entrance_id: string | null };
}
)[];
warnings: (
| {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_access_group";
}
| { created_at: string; message: string; warning_code: "being_deleted" }
)[];
workspace_id: string;
},
{
access_group_type: | "pti_unit"
| "pti_access_level"
| "salto_ks_access_group"
| "brivo_group"
| "salto_space_group"
| "dormakaba_community_access_group"
| "dormakaba_ambiance_access_group";
access_group_type_display_name: string;
access_schedule?: { ends_at: string
| null; starts_at: string };
acs_access_group_id: string;
acs_system_id: string;
connected_account_id: string;
created_at: string;
display_name: string;
external_type:
| "pti_unit"
| "pti_access_level"
| "salto_ks_access_group"
| "brivo_group"
| "salto_space_group"
| "dormakaba_community_access_group"
| "dormakaba_ambiance_access_group";
external_type_display_name: string;
is_managed: true;
name: string;
pending_mutations: (
| { created_at: string; message: string; mutation_code: "creating" }
| { created_at: string; message: string; mutation_code: "deleting" }
| {
created_at: string;
from: { name?: string | null };
message: string;
mutation_code: "updating_group_information";
to: { name?: 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: { acs_user_id: string
| null };
message: string;
mutation_code: "updating_user_membership";
to: { acs_user_id: string | null };
}
| {
created_at: string;
from: { acs_entrance_id: string
| null };
message: string;
mutation_code: "updating_entrance_membership";
to: { acs_entrance_id: string | null };
}
)[];
warnings: (
| {
created_at: string;
message: string;
warning_code: "unknown_issue_with_acs_access_group";
}
| { created_at: string; message: string; warning_code: "being_deleted" }
)[];
workspace_id: string;
},
> = ...