import { z } from 'zod';
export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
    action_attempt_id: z.ZodString;
} & {
    status: z.ZodLiteral<"pending">;
    result: z.ZodNull;
    error: z.ZodNull;
} & {
    action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
}, "strip", z.ZodTypeAny, {
    status: "pending";
    action_attempt_id: string;
    error: null;
    result: null;
    action_type: "ENCODE_CREDENTIAL";
}, {
    status: "pending";
    action_attempt_id: string;
    error: null;
    result: null;
    action_type: "ENCODE_CREDENTIAL";
}>, z.ZodObject<{
    action_attempt_id: z.ZodString;
} & {
    status: z.ZodLiteral<"success">;
    error: z.ZodNull;
} & {
    action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
    result: z.ZodUnion<[z.ZodObject<{
        acs_credential_id: z.ZodString;
        acs_user_id: z.ZodOptional<z.ZodString>;
        user_identity_id: z.ZodOptional<z.ZodString>;
        connected_account_id: z.ZodString;
        acs_credential_pool_id: z.ZodOptional<z.ZodString>;
        acs_system_id: z.ZodString;
        parent_acs_credential_id: z.ZodOptional<z.ZodString>;
        display_name: z.ZodString;
        code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        is_one_time_use: z.ZodOptional<z.ZodBoolean>;
        card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        is_issued: z.ZodOptional<z.ZodBoolean>;
        issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        access_method: z.ZodEnum<["code", "card", "mobile_key", "cloud_key"]>;
        external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "brivo_digital_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card"]>>;
        external_type_display_name: z.ZodOptional<z.ZodString>;
        created_at: z.ZodString;
        workspace_id: z.ZodString;
        starts_at: z.ZodOptional<z.ZodString>;
        ends_at: z.ZodOptional<z.ZodString>;
        errors: z.ZodArray<z.ZodObject<{
            error_code: z.ZodString;
            message: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            message: string;
            error_code: string;
        }, {
            message: string;
            error_code: string;
        }>, "many">;
        warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
            created_at: z.ZodString;
            message: z.ZodString;
        } & {
            warning_code: z.ZodLiteral<"waiting_to_be_issued">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        }, {
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        }>, z.ZodObject<{
            created_at: z.ZodString;
            message: z.ZodString;
        } & {
            warning_code: z.ZodLiteral<"schedule_externally_modified">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        }, {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        }>, z.ZodObject<{
            created_at: z.ZodString;
            message: z.ZodString;
        } & {
            warning_code: z.ZodLiteral<"schedule_modified">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        }, {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        }>, 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<"unknown_issue_with_acs_credential">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        }, {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        }>, z.ZodObject<{
            created_at: z.ZodString;
            message: z.ZodString;
        } & {
            warning_code: z.ZodLiteral<"needs_to_be_reissued">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        }, {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        }>]>, "many">;
        is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
        is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
        latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        visionline_metadata: z.ZodOptional<z.ZodObject<{
            card_function_type: z.ZodEnum<["guest", "staff"]>;
            joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            is_valid: z.ZodOptional<z.ZodBoolean>;
            auto_join: z.ZodOptional<z.ZodBoolean>;
            card_id: z.ZodOptional<z.ZodString>;
            credential_id: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        }, {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        }>>;
        assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
            auto_join: z.ZodOptional<z.ZodBoolean>;
            override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            key_id: z.ZodOptional<z.ZodString>;
            key_issuing_request_id: z.ZodOptional<z.ZodString>;
            door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            endpoint_id: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        }, {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        }>>;
    } & {
        is_managed: z.ZodLiteral<true>;
    }, "strip", z.ZodTypeAny, {
        display_name: string;
        workspace_id: string;
        created_at: string;
        errors: {
            message: string;
            error_code: string;
        }[];
        connected_account_id: string;
        warnings: ({
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "being_deleted";
        } | {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        } | {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        })[];
        is_managed: true;
        acs_system_id: string;
        acs_credential_id: string;
        access_method: "code" | "card" | "mobile_key" | "cloud_key";
        code?: string | null | undefined;
        starts_at?: string | undefined;
        ends_at?: string | undefined;
        visionline_metadata?: {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        } | undefined;
        assa_abloy_vostio_metadata?: {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        } | undefined;
        is_one_time_use?: boolean | undefined;
        user_identity_id?: string | undefined;
        issued_at?: string | null | undefined;
        is_issued?: boolean | undefined;
        acs_user_id?: string | undefined;
        external_type?: "pti_card" | "brivo_credential" | "brivo_digital_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
        external_type_display_name?: string | undefined;
        acs_credential_pool_id?: string | undefined;
        parent_acs_credential_id?: string | undefined;
        card_number?: string | null | undefined;
        is_multi_phone_sync_credential?: boolean | undefined;
        is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
        latest_desired_state_synced_with_provider_at?: string | null | undefined;
    }, {
        display_name: string;
        workspace_id: string;
        created_at: string;
        errors: {
            message: string;
            error_code: string;
        }[];
        connected_account_id: string;
        warnings: ({
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "being_deleted";
        } | {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        } | {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        })[];
        is_managed: true;
        acs_system_id: string;
        acs_credential_id: string;
        access_method: "code" | "card" | "mobile_key" | "cloud_key";
        code?: string | null | undefined;
        starts_at?: string | undefined;
        ends_at?: string | undefined;
        visionline_metadata?: {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        } | undefined;
        assa_abloy_vostio_metadata?: {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        } | undefined;
        is_one_time_use?: boolean | undefined;
        user_identity_id?: string | undefined;
        issued_at?: string | null | undefined;
        is_issued?: boolean | undefined;
        acs_user_id?: string | undefined;
        external_type?: "pti_card" | "brivo_credential" | "brivo_digital_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
        external_type_display_name?: string | undefined;
        acs_credential_pool_id?: string | undefined;
        parent_acs_credential_id?: string | undefined;
        card_number?: string | null | undefined;
        is_multi_phone_sync_credential?: boolean | undefined;
        is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
        latest_desired_state_synced_with_provider_at?: string | null | undefined;
    }>, z.ZodObject<{
        acs_credential_id: z.ZodString;
        acs_user_id: z.ZodOptional<z.ZodString>;
        user_identity_id: z.ZodOptional<z.ZodString>;
        connected_account_id: z.ZodString;
        acs_credential_pool_id: z.ZodOptional<z.ZodString>;
        acs_system_id: z.ZodString;
        parent_acs_credential_id: z.ZodOptional<z.ZodString>;
        display_name: z.ZodString;
        code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        is_one_time_use: z.ZodOptional<z.ZodBoolean>;
        card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        is_issued: z.ZodOptional<z.ZodBoolean>;
        issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        access_method: z.ZodEnum<["code", "card", "mobile_key", "cloud_key"]>;
        external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "brivo_digital_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access", "dormakaba_ambiance_credential", "hotek_card"]>>;
        external_type_display_name: z.ZodOptional<z.ZodString>;
        created_at: z.ZodString;
        workspace_id: z.ZodString;
        starts_at: z.ZodOptional<z.ZodString>;
        ends_at: z.ZodOptional<z.ZodString>;
        errors: z.ZodArray<z.ZodObject<{
            error_code: z.ZodString;
            message: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            message: string;
            error_code: string;
        }, {
            message: string;
            error_code: string;
        }>, "many">;
        warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
            created_at: z.ZodString;
            message: z.ZodString;
        } & {
            warning_code: z.ZodLiteral<"waiting_to_be_issued">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        }, {
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        }>, z.ZodObject<{
            created_at: z.ZodString;
            message: z.ZodString;
        } & {
            warning_code: z.ZodLiteral<"schedule_externally_modified">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        }, {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        }>, z.ZodObject<{
            created_at: z.ZodString;
            message: z.ZodString;
        } & {
            warning_code: z.ZodLiteral<"schedule_modified">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        }, {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        }>, 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<"unknown_issue_with_acs_credential">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        }, {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        }>, z.ZodObject<{
            created_at: z.ZodString;
            message: z.ZodString;
        } & {
            warning_code: z.ZodLiteral<"needs_to_be_reissued">;
        }, "strip", z.ZodTypeAny, {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        }, {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        }>]>, "many">;
        is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
        is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
        latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        visionline_metadata: z.ZodOptional<z.ZodObject<{
            card_function_type: z.ZodEnum<["guest", "staff"]>;
            joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            is_valid: z.ZodOptional<z.ZodBoolean>;
            auto_join: z.ZodOptional<z.ZodBoolean>;
            card_id: z.ZodOptional<z.ZodString>;
            credential_id: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        }, {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        }>>;
        assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
            auto_join: z.ZodOptional<z.ZodBoolean>;
            override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            key_id: z.ZodOptional<z.ZodString>;
            key_issuing_request_id: z.ZodOptional<z.ZodString>;
            door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
            endpoint_id: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        }, {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        }>>;
    } & {
        is_managed: z.ZodLiteral<false>;
    }, "strip", z.ZodTypeAny, {
        display_name: string;
        workspace_id: string;
        created_at: string;
        errors: {
            message: string;
            error_code: string;
        }[];
        connected_account_id: string;
        warnings: ({
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "being_deleted";
        } | {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        } | {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        })[];
        is_managed: false;
        acs_system_id: string;
        acs_credential_id: string;
        access_method: "code" | "card" | "mobile_key" | "cloud_key";
        code?: string | null | undefined;
        starts_at?: string | undefined;
        ends_at?: string | undefined;
        visionline_metadata?: {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        } | undefined;
        assa_abloy_vostio_metadata?: {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        } | undefined;
        is_one_time_use?: boolean | undefined;
        user_identity_id?: string | undefined;
        issued_at?: string | null | undefined;
        is_issued?: boolean | undefined;
        acs_user_id?: string | undefined;
        external_type?: "pti_card" | "brivo_credential" | "brivo_digital_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
        external_type_display_name?: string | undefined;
        acs_credential_pool_id?: string | undefined;
        parent_acs_credential_id?: string | undefined;
        card_number?: string | null | undefined;
        is_multi_phone_sync_credential?: boolean | undefined;
        is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
        latest_desired_state_synced_with_provider_at?: string | null | undefined;
    }, {
        display_name: string;
        workspace_id: string;
        created_at: string;
        errors: {
            message: string;
            error_code: string;
        }[];
        connected_account_id: string;
        warnings: ({
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "being_deleted";
        } | {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        } | {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        })[];
        is_managed: false;
        acs_system_id: string;
        acs_credential_id: string;
        access_method: "code" | "card" | "mobile_key" | "cloud_key";
        code?: string | null | undefined;
        starts_at?: string | undefined;
        ends_at?: string | undefined;
        visionline_metadata?: {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        } | undefined;
        assa_abloy_vostio_metadata?: {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        } | undefined;
        is_one_time_use?: boolean | undefined;
        user_identity_id?: string | undefined;
        issued_at?: string | null | undefined;
        is_issued?: boolean | undefined;
        acs_user_id?: string | undefined;
        external_type?: "pti_card" | "brivo_credential" | "brivo_digital_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
        external_type_display_name?: string | undefined;
        acs_credential_pool_id?: string | undefined;
        parent_acs_credential_id?: string | undefined;
        card_number?: string | null | undefined;
        is_multi_phone_sync_credential?: boolean | undefined;
        is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
        latest_desired_state_synced_with_provider_at?: string | null | undefined;
    }>]>;
}, "strip", z.ZodTypeAny, {
    status: "success";
    action_attempt_id: string;
    error: null;
    result: {
        display_name: string;
        workspace_id: string;
        created_at: string;
        errors: {
            message: string;
            error_code: string;
        }[];
        connected_account_id: string;
        warnings: ({
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "being_deleted";
        } | {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        } | {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        })[];
        is_managed: true;
        acs_system_id: string;
        acs_credential_id: string;
        access_method: "code" | "card" | "mobile_key" | "cloud_key";
        code?: string | null | undefined;
        starts_at?: string | undefined;
        ends_at?: string | undefined;
        visionline_metadata?: {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        } | undefined;
        assa_abloy_vostio_metadata?: {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        } | undefined;
        is_one_time_use?: boolean | undefined;
        user_identity_id?: string | undefined;
        issued_at?: string | null | undefined;
        is_issued?: boolean | undefined;
        acs_user_id?: string | undefined;
        external_type?: "pti_card" | "brivo_credential" | "brivo_digital_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
        external_type_display_name?: string | undefined;
        acs_credential_pool_id?: string | undefined;
        parent_acs_credential_id?: string | undefined;
        card_number?: string | null | undefined;
        is_multi_phone_sync_credential?: boolean | undefined;
        is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
        latest_desired_state_synced_with_provider_at?: string | null | undefined;
    } | {
        display_name: string;
        workspace_id: string;
        created_at: string;
        errors: {
            message: string;
            error_code: string;
        }[];
        connected_account_id: string;
        warnings: ({
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "being_deleted";
        } | {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        } | {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        })[];
        is_managed: false;
        acs_system_id: string;
        acs_credential_id: string;
        access_method: "code" | "card" | "mobile_key" | "cloud_key";
        code?: string | null | undefined;
        starts_at?: string | undefined;
        ends_at?: string | undefined;
        visionline_metadata?: {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        } | undefined;
        assa_abloy_vostio_metadata?: {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        } | undefined;
        is_one_time_use?: boolean | undefined;
        user_identity_id?: string | undefined;
        issued_at?: string | null | undefined;
        is_issued?: boolean | undefined;
        acs_user_id?: string | undefined;
        external_type?: "pti_card" | "brivo_credential" | "brivo_digital_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
        external_type_display_name?: string | undefined;
        acs_credential_pool_id?: string | undefined;
        parent_acs_credential_id?: string | undefined;
        card_number?: string | null | undefined;
        is_multi_phone_sync_credential?: boolean | undefined;
        is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
        latest_desired_state_synced_with_provider_at?: string | null | undefined;
    };
    action_type: "ENCODE_CREDENTIAL";
}, {
    status: "success";
    action_attempt_id: string;
    error: null;
    result: {
        display_name: string;
        workspace_id: string;
        created_at: string;
        errors: {
            message: string;
            error_code: string;
        }[];
        connected_account_id: string;
        warnings: ({
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "being_deleted";
        } | {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        } | {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        })[];
        is_managed: true;
        acs_system_id: string;
        acs_credential_id: string;
        access_method: "code" | "card" | "mobile_key" | "cloud_key";
        code?: string | null | undefined;
        starts_at?: string | undefined;
        ends_at?: string | undefined;
        visionline_metadata?: {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        } | undefined;
        assa_abloy_vostio_metadata?: {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        } | undefined;
        is_one_time_use?: boolean | undefined;
        user_identity_id?: string | undefined;
        issued_at?: string | null | undefined;
        is_issued?: boolean | undefined;
        acs_user_id?: string | undefined;
        external_type?: "pti_card" | "brivo_credential" | "brivo_digital_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
        external_type_display_name?: string | undefined;
        acs_credential_pool_id?: string | undefined;
        parent_acs_credential_id?: string | undefined;
        card_number?: string | null | undefined;
        is_multi_phone_sync_credential?: boolean | undefined;
        is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
        latest_desired_state_synced_with_provider_at?: string | null | undefined;
    } | {
        display_name: string;
        workspace_id: string;
        created_at: string;
        errors: {
            message: string;
            error_code: string;
        }[];
        connected_account_id: string;
        warnings: ({
            message: string;
            created_at: string;
            warning_code: "waiting_to_be_issued";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_externally_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "schedule_modified";
        } | {
            message: string;
            created_at: string;
            warning_code: "being_deleted";
        } | {
            message: string;
            created_at: string;
            warning_code: "unknown_issue_with_acs_credential";
        } | {
            message: string;
            created_at: string;
            warning_code: "needs_to_be_reissued";
        })[];
        is_managed: false;
        acs_system_id: string;
        acs_credential_id: string;
        access_method: "code" | "card" | "mobile_key" | "cloud_key";
        code?: string | null | undefined;
        starts_at?: string | undefined;
        ends_at?: string | undefined;
        visionline_metadata?: {
            card_function_type: "guest" | "staff";
            auto_join?: boolean | undefined;
            joiner_acs_credential_ids?: string[] | undefined;
            guest_acs_entrance_ids?: string[] | undefined;
            common_acs_entrance_ids?: string[] | undefined;
            is_valid?: boolean | undefined;
            card_id?: string | undefined;
            credential_id?: string | undefined;
        } | undefined;
        assa_abloy_vostio_metadata?: {
            key_id?: string | undefined;
            endpoint_id?: string | undefined;
            auto_join?: boolean | undefined;
            override_guest_acs_entrance_ids?: string[] | undefined;
            key_issuing_request_id?: string | undefined;
            door_names?: string[] | undefined;
        } | undefined;
        is_one_time_use?: boolean | undefined;
        user_identity_id?: string | undefined;
        issued_at?: string | null | undefined;
        is_issued?: boolean | undefined;
        acs_user_id?: string | undefined;
        external_type?: "pti_card" | "brivo_credential" | "brivo_digital_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
        external_type_display_name?: string | undefined;
        acs_credential_pool_id?: string | undefined;
        parent_acs_credential_id?: string | undefined;
        card_number?: string | null | undefined;
        is_multi_phone_sync_credential?: boolean | undefined;
        is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
        latest_desired_state_synced_with_provider_at?: string | null | undefined;
    };
    action_type: "ENCODE_CREDENTIAL";
}>, z.ZodObject<{
    action_attempt_id: z.ZodString;
} & {
    status: z.ZodLiteral<"error">;
    result: z.ZodNull;
} & {
    action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
    error: z.ZodUnion<[z.ZodObject<{
        type: z.ZodLiteral<"uncategorized_error">;
        message: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        type: "uncategorized_error";
    }, {
        message: string;
        type: "uncategorized_error";
    }>, z.ZodObject<{
        type: z.ZodLiteral<"action_attempt_expired">;
        message: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        type: "action_attempt_expired";
    }, {
        message: string;
        type: "action_attempt_expired";
    }>, z.ZodObject<{
        type: z.ZodLiteral<"no_credential_on_encoder">;
        message: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        type: "no_credential_on_encoder";
    }, {
        message: string;
        type: "no_credential_on_encoder";
    }>, z.ZodObject<{
        type: z.ZodLiteral<"incompatible_card_format">;
        message: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        type: "incompatible_card_format";
    }, {
        message: string;
        type: "incompatible_card_format";
    }>, z.ZodObject<{
        type: z.ZodLiteral<"credential_cannot_be_reissued">;
        message: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        type: "credential_cannot_be_reissued";
    }, {
        message: string;
        type: "credential_cannot_be_reissued";
    }>, z.ZodObject<{
        type: z.ZodLiteral<"encoder_not_online">;
        message: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        type: "encoder_not_online";
    }, {
        message: string;
        type: "encoder_not_online";
    }>]>;
}, "strip", z.ZodTypeAny, {
    status: "error";
    action_attempt_id: string;
    error: {
        message: string;
        type: "uncategorized_error";
    } | {
        message: string;
        type: "action_attempt_expired";
    } | {
        message: string;
        type: "no_credential_on_encoder";
    } | {
        message: string;
        type: "incompatible_card_format";
    } | {
        message: string;
        type: "credential_cannot_be_reissued";
    } | {
        message: string;
        type: "encoder_not_online";
    };
    result: null;
    action_type: "ENCODE_CREDENTIAL";
}, {
    status: "error";
    action_attempt_id: string;
    error: {
        message: string;
        type: "uncategorized_error";
    } | {
        message: string;
        type: "action_attempt_expired";
    } | {
        message: string;
        type: "no_credential_on_encoder";
    } | {
        message: string;
        type: "incompatible_card_format";
    } | {
        message: string;
        type: "credential_cannot_be_reissued";
    } | {
        message: string;
        type: "encoder_not_online";
    };
    result: null;
    action_type: "ENCODE_CREDENTIAL";
}>]>;
export type EncodeCredentialActionAttempt = z.infer<typeof encode_credential_action_attempt>;
