import { z } from 'zod';
declare const access_grant_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
    created_at: z.ZodString;
    message: z.ZodString;
} & {
    error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
}, "strip", z.ZodTypeAny, {
    message: string;
    created_at: string;
    error_code: "cannot_create_requested_access_methods";
}, {
    message: string;
    created_at: string;
    error_code: "cannot_create_requested_access_methods";
}>]>;
export type AccessGrantError = z.infer<typeof access_grant_error>;
export declare const _access_grant_error_map: z.ZodObject<{
    cannot_create_requested_access_methods: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }>>>;
}, "strip", z.ZodTypeAny, {
    cannot_create_requested_access_methods?: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    } | null | undefined;
}, {
    cannot_create_requested_access_methods?: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    } | null | undefined;
}>;
export type AccessGrantErrorMap = z.infer<typeof _access_grant_error_map>;
declare const _access_grant_warning_map: z.ZodObject<{
    being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"being_deleted">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }>>>;
    underprovisioned_access: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"underprovisioned_access">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    }, {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    }>>>;
    overprovisioned_access: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"overprovisioned_access">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    }, {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    }>>>;
    updating_access_times: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"updating_access_times">;
        access_method_ids: z.ZodArray<z.ZodString, "many">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    }, {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    }>>>;
    requested_code_unavailable_by_device: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"requested_code_unavailable">;
        device_id: z.ZodString;
        original_code: z.ZodString;
        new_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    }, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    }>>>>;
    device_does_not_support_access_codes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"device_does_not_support_access_codes">;
        device_id: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    }, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    }>>>>;
}, "strip", z.ZodTypeAny, {
    being_deleted?: {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    } | null | undefined;
    updating_access_times?: {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    } | null | undefined;
    underprovisioned_access?: {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    } | null | undefined;
    overprovisioned_access?: {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    } | null | undefined;
    device_does_not_support_access_codes?: Record<string, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    }> | null | undefined;
    requested_code_unavailable_by_device?: Record<string, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    }> | null | undefined;
}, {
    being_deleted?: {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    } | null | undefined;
    updating_access_times?: {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    } | null | undefined;
    underprovisioned_access?: {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    } | null | undefined;
    overprovisioned_access?: {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    } | null | undefined;
    device_does_not_support_access_codes?: Record<string, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    }> | null | undefined;
    requested_code_unavailable_by_device?: Record<string, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    }> | null | undefined;
}>;
export type AccessGrantWarningMap = z.infer<typeof _access_grant_warning_map>;
export declare const access_grant: z.ZodObject<{
    workspace_id: z.ZodString;
    access_grant_id: z.ZodString;
    access_grant_key: z.ZodOptional<z.ZodString>;
    reservation_key: z.ZodOptional<z.ZodString>;
    user_identity_id: z.ZodString;
    location_ids: z.ZodArray<z.ZodString, "many">;
    space_ids: z.ZodArray<z.ZodString, "many">;
    requested_access_methods: z.ZodArray<z.ZodObject<{
        display_name: z.ZodString;
        mode: z.ZodEnum<["code", "card", "mobile_key"]>;
        code: z.ZodOptional<z.ZodString>;
        instant_key_max_use_count: z.ZodOptional<z.ZodNumber>;
        created_at: z.ZodString;
        created_access_method_ids: z.ZodArray<z.ZodString, "many">;
    }, "strip", z.ZodTypeAny, {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
        instant_key_max_use_count?: number | undefined;
    }, {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
        instant_key_max_use_count?: number | undefined;
    }>, "many">;
    access_method_ids: z.ZodArray<z.ZodString, "many">;
    client_session_token: z.ZodOptional<z.ZodString>;
    name: z.ZodNullable<z.ZodString>;
    display_name: z.ZodString;
    instant_key_url: z.ZodOptional<z.ZodString>;
    created_at: z.ZodString;
    starts_at: z.ZodString;
    ends_at: z.ZodNullable<z.ZodString>;
    warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"being_deleted">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"underprovisioned_access">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    }, {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"overprovisioned_access">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    }, {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"updating_access_times">;
        access_method_ids: z.ZodArray<z.ZodString, "many">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    }, {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"requested_code_unavailable">;
        device_id: z.ZodString;
        original_code: z.ZodString;
        new_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    }, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"device_does_not_support_access_codes">;
        device_id: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    }, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    }>]>, "many">;
    errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }>]>, "many">;
    customization_profile_id: z.ZodOptional<z.ZodString>;
    pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        mutation_code: z.ZodLiteral<"updating_spaces">;
        from: z.ZodObject<{
            device_ids: z.ZodArray<z.ZodString, "many">;
        }, "strip", z.ZodTypeAny, {
            device_ids: string[];
        }, {
            device_ids: string[];
        }>;
        to: z.ZodObject<{
            device_ids: z.ZodArray<z.ZodString, "many">;
            common_code_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        }, "strip", z.ZodTypeAny, {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        }, {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        }>;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        mutation_code: "updating_spaces";
        from: {
            device_ids: string[];
        };
        to: {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        };
    }, {
        message: string;
        created_at: string;
        mutation_code: "updating_spaces";
        from: {
            device_ids: string[];
        };
        to: {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        };
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        mutation_code: z.ZodLiteral<"updating_access_times">;
        access_method_ids: z.ZodArray<z.ZodString, "many">;
        from: z.ZodObject<{
            starts_at: z.ZodNullable<z.ZodString>;
            ends_at: z.ZodNullable<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            starts_at: string | null;
            ends_at: string | null;
        }, {
            starts_at: string | null;
            ends_at: string | null;
        }>;
        to: z.ZodObject<{
            starts_at: z.ZodNullable<z.ZodString>;
            ends_at: z.ZodNullable<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            starts_at: string | null;
            ends_at: string | null;
        }, {
            starts_at: string | null;
            ends_at: string | null;
        }>;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        mutation_code: "updating_access_times";
        from: {
            starts_at: string | null;
            ends_at: string | null;
        };
        to: {
            starts_at: string | null;
            ends_at: string | null;
        };
        access_method_ids: string[];
    }, {
        message: string;
        created_at: string;
        mutation_code: "updating_access_times";
        from: {
            starts_at: string | null;
            ends_at: string | null;
        };
        to: {
            starts_at: string | null;
            ends_at: string | null;
        };
        access_method_ids: string[];
    }>]>, "many">;
}, "strip", z.ZodTypeAny, {
    name: string | null;
    display_name: string;
    workspace_id: string;
    created_at: string;
    starts_at: string;
    ends_at: string | null;
    errors: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }[];
    warnings: ({
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    } | {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    } | {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    } | {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    } | {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    } | {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    })[];
    space_ids: string[];
    access_method_ids: string[];
    access_grant_id: string;
    user_identity_id: string;
    location_ids: string[];
    requested_access_methods: {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
        instant_key_max_use_count?: number | undefined;
    }[];
    pending_mutations: ({
        message: string;
        created_at: string;
        mutation_code: "updating_spaces";
        from: {
            device_ids: string[];
        };
        to: {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        };
    } | {
        message: string;
        created_at: string;
        mutation_code: "updating_access_times";
        from: {
            starts_at: string | null;
            ends_at: string | null;
        };
        to: {
            starts_at: string | null;
            ends_at: string | null;
        };
        access_method_ids: string[];
    })[];
    access_grant_key?: string | undefined;
    reservation_key?: string | undefined;
    client_session_token?: string | undefined;
    instant_key_url?: string | undefined;
    customization_profile_id?: string | undefined;
}, {
    name: string | null;
    display_name: string;
    workspace_id: string;
    created_at: string;
    starts_at: string;
    ends_at: string | null;
    errors: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }[];
    warnings: ({
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    } | {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    } | {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    } | {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    } | {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    } | {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    })[];
    space_ids: string[];
    access_method_ids: string[];
    access_grant_id: string;
    user_identity_id: string;
    location_ids: string[];
    requested_access_methods: {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
        instant_key_max_use_count?: number | undefined;
    }[];
    pending_mutations: ({
        message: string;
        created_at: string;
        mutation_code: "updating_spaces";
        from: {
            device_ids: string[];
        };
        to: {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        };
    } | {
        message: string;
        created_at: string;
        mutation_code: "updating_access_times";
        from: {
            starts_at: string | null;
            ends_at: string | null;
        };
        to: {
            starts_at: string | null;
            ends_at: string | null;
        };
        access_method_ids: string[];
    })[];
    access_grant_key?: string | undefined;
    reservation_key?: string | undefined;
    client_session_token?: string | undefined;
    instant_key_url?: string | undefined;
    customization_profile_id?: string | undefined;
}>;
export type AccessGrant = z.infer<typeof access_grant>;
export declare const unmanaged_access_grant: z.ZodObject<Omit<{
    workspace_id: z.ZodString;
    access_grant_id: z.ZodString;
    access_grant_key: z.ZodOptional<z.ZodString>;
    reservation_key: z.ZodOptional<z.ZodString>;
    user_identity_id: z.ZodString;
    location_ids: z.ZodArray<z.ZodString, "many">;
    space_ids: z.ZodArray<z.ZodString, "many">;
    requested_access_methods: z.ZodArray<z.ZodObject<{
        display_name: z.ZodString;
        mode: z.ZodEnum<["code", "card", "mobile_key"]>;
        code: z.ZodOptional<z.ZodString>;
        instant_key_max_use_count: z.ZodOptional<z.ZodNumber>;
        created_at: z.ZodString;
        created_access_method_ids: z.ZodArray<z.ZodString, "many">;
    }, "strip", z.ZodTypeAny, {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
        instant_key_max_use_count?: number | undefined;
    }, {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
        instant_key_max_use_count?: number | undefined;
    }>, "many">;
    access_method_ids: z.ZodArray<z.ZodString, "many">;
    client_session_token: z.ZodOptional<z.ZodString>;
    name: z.ZodNullable<z.ZodString>;
    display_name: z.ZodString;
    instant_key_url: z.ZodOptional<z.ZodString>;
    created_at: z.ZodString;
    starts_at: z.ZodString;
    ends_at: z.ZodNullable<z.ZodString>;
    warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"being_deleted">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"underprovisioned_access">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    }, {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"overprovisioned_access">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    }, {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"updating_access_times">;
        access_method_ids: z.ZodArray<z.ZodString, "many">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    }, {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"requested_code_unavailable">;
        device_id: z.ZodString;
        original_code: z.ZodString;
        new_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    }, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"device_does_not_support_access_codes">;
        device_id: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    }, {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    }>]>, "many">;
    errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }>]>, "many">;
    customization_profile_id: z.ZodOptional<z.ZodString>;
    pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        mutation_code: z.ZodLiteral<"updating_spaces">;
        from: z.ZodObject<{
            device_ids: z.ZodArray<z.ZodString, "many">;
        }, "strip", z.ZodTypeAny, {
            device_ids: string[];
        }, {
            device_ids: string[];
        }>;
        to: z.ZodObject<{
            device_ids: z.ZodArray<z.ZodString, "many">;
            common_code_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        }, "strip", z.ZodTypeAny, {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        }, {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        }>;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        mutation_code: "updating_spaces";
        from: {
            device_ids: string[];
        };
        to: {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        };
    }, {
        message: string;
        created_at: string;
        mutation_code: "updating_spaces";
        from: {
            device_ids: string[];
        };
        to: {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        };
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        mutation_code: z.ZodLiteral<"updating_access_times">;
        access_method_ids: z.ZodArray<z.ZodString, "many">;
        from: z.ZodObject<{
            starts_at: z.ZodNullable<z.ZodString>;
            ends_at: z.ZodNullable<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            starts_at: string | null;
            ends_at: string | null;
        }, {
            starts_at: string | null;
            ends_at: string | null;
        }>;
        to: z.ZodObject<{
            starts_at: z.ZodNullable<z.ZodString>;
            ends_at: z.ZodNullable<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            starts_at: string | null;
            ends_at: string | null;
        }, {
            starts_at: string | null;
            ends_at: string | null;
        }>;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        mutation_code: "updating_access_times";
        from: {
            starts_at: string | null;
            ends_at: string | null;
        };
        to: {
            starts_at: string | null;
            ends_at: string | null;
        };
        access_method_ids: string[];
    }, {
        message: string;
        created_at: string;
        mutation_code: "updating_access_times";
        from: {
            starts_at: string | null;
            ends_at: string | null;
        };
        to: {
            starts_at: string | null;
            ends_at: string | null;
        };
        access_method_ids: string[];
    }>]>, "many">;
}, "access_grant_key" | "user_identity_id" | "client_session_token" | "instant_key_url" | "customization_profile_id"> & {
    user_identity_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    name: string | null;
    display_name: string;
    workspace_id: string;
    created_at: string;
    starts_at: string;
    ends_at: string | null;
    errors: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }[];
    warnings: ({
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    } | {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    } | {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    } | {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    } | {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    } | {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    })[];
    space_ids: string[];
    access_method_ids: string[];
    access_grant_id: string;
    location_ids: string[];
    requested_access_methods: {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
        instant_key_max_use_count?: number | undefined;
    }[];
    pending_mutations: ({
        message: string;
        created_at: string;
        mutation_code: "updating_spaces";
        from: {
            device_ids: string[];
        };
        to: {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        };
    } | {
        message: string;
        created_at: string;
        mutation_code: "updating_access_times";
        from: {
            starts_at: string | null;
            ends_at: string | null;
        };
        to: {
            starts_at: string | null;
            ends_at: string | null;
        };
        access_method_ids: string[];
    })[];
    reservation_key?: string | undefined;
    user_identity_id?: string | undefined;
}, {
    name: string | null;
    display_name: string;
    workspace_id: string;
    created_at: string;
    starts_at: string;
    ends_at: string | null;
    errors: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }[];
    warnings: ({
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    } | {
        message: string;
        created_at: string;
        warning_code: "underprovisioned_access";
    } | {
        message: string;
        created_at: string;
        warning_code: "overprovisioned_access";
    } | {
        message: string;
        created_at: string;
        warning_code: "updating_access_times";
        access_method_ids: string[];
    } | {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "requested_code_unavailable";
        original_code: string;
        new_code: string;
    } | {
        message: string;
        device_id: string;
        created_at: string;
        warning_code: "device_does_not_support_access_codes";
    })[];
    space_ids: string[];
    access_method_ids: string[];
    access_grant_id: string;
    location_ids: string[];
    requested_access_methods: {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
        instant_key_max_use_count?: number | undefined;
    }[];
    pending_mutations: ({
        message: string;
        created_at: string;
        mutation_code: "updating_spaces";
        from: {
            device_ids: string[];
        };
        to: {
            device_ids: string[];
            common_code_key?: string | null | undefined;
        };
    } | {
        message: string;
        created_at: string;
        mutation_code: "updating_access_times";
        from: {
            starts_at: string | null;
            ends_at: string | null;
        };
        to: {
            starts_at: string | null;
            ends_at: string | null;
        };
        access_method_ids: string[];
    })[];
    reservation_key?: string | undefined;
    user_identity_id?: string | undefined;
}>;
export type UnmanagedAccessGrant = z.infer<typeof unmanaged_access_grant>;
export {};
