import { z } from 'zod';
export declare const access_code_created_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.created">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.created";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.created";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeCreatedEvent = z.infer<typeof access_code_created_event>;
export declare const access_code_changed_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.changed">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.changed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.changed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeChangedEvent = z.infer<typeof access_code_changed_event>;
export declare const access_code_scheduled_on_device_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
    code: z.ZodString;
}, "strip", z.ZodTypeAny, {
    code: string;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.scheduled_on_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    code: string;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.scheduled_on_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeScheduledOnDeviceEvent = z.infer<typeof access_code_scheduled_on_device_event>;
export declare const access_code_set_on_device_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.set_on_device">;
    code: z.ZodString;
}, "strip", z.ZodTypeAny, {
    code: string;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.set_on_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    code: string;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.set_on_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeSetOnDeviceEvent = z.infer<typeof access_code_set_on_device_event>;
export declare const access_code_removed_from_device_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.removed_from_device">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.removed_from_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.removed_from_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeRemovedFromDeviceEvent = z.infer<typeof access_code_removed_from_device_event>;
export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.delay_in_setting_on_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.delay_in_setting_on_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeDelayInSettingOnDeviceEvent = z.infer<typeof access_code_delay_in_setting_on_device_event>;
export declare const access_code_failed_to_set_on_device_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.failed_to_set_on_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.failed_to_set_on_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeFailedToSetOnDeviceEvent = z.infer<typeof access_code_failed_to_set_on_device_event>;
export declare const access_code_deleted_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.deleted">;
    code: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    code: string | null;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.deleted";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    code: string | null;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.deleted";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeDeletedEvent = z.infer<typeof access_code_deleted_event>;
export declare const access_code_delay_in_removing_from_device_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.delay_in_removing_from_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.delay_in_removing_from_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeDelayInRemovingFromDeviceEvent = z.infer<typeof access_code_delay_in_removing_from_device_event>;
export declare const access_code_failed_to_remove_from_device_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.failed_to_remove_from_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.failed_to_remove_from_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeFailedToRemoveFromDeviceEvent = z.infer<typeof access_code_failed_to_remove_from_device_event>;
export declare const access_code_modified_external_to_seam_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.modified_external_to_seam";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.modified_external_to_seam";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeModifiedExternalToSeamEvent = z.infer<typeof access_code_modified_external_to_seam_event>;
export declare const access_code_deleted_external_to_seam_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.deleted_external_to_seam";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.deleted_external_to_seam";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeDeletedExternalToSeamEvent = z.infer<typeof access_code_deleted_external_to_seam_event>;
export declare const access_code_backup_access_code_pulled_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
    backup_access_code_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.backup_access_code_pulled";
    backup_access_code_id: string;
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.backup_access_code_pulled";
    backup_access_code_id: string;
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type AccessCodeBackupAccessCodePulledEvent = z.infer<typeof access_code_backup_access_code_pulled_event>;
export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.converted_to_managed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.converted_to_managed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type UnmanagedAccessCodeConvertedToManagedEvent = z.infer<typeof unmanaged_access_code_converted_to_managed_event>;
export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.failed_to_convert_to_managed";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.failed_to_convert_to_managed";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type UnmanagedAccessCodeFailedToConvertToManagedEvent = z.infer<typeof unmanaged_access_code_failed_to_convert_to_managed_event>;
export declare const unmanaged_access_code_created_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.unmanaged.created">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.created";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.created";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type UnmanagedAccessCodeCreatedEvent = z.infer<typeof unmanaged_access_code_created_event>;
export declare const unmanaged_access_code_removed_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.removed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.removed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type UnmanagedAccessCodeRemovedEvent = z.infer<typeof unmanaged_access_code_removed_event>;
export declare const access_code_events: readonly [z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.created">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.created";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.created";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.changed">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.changed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.changed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
    code: z.ZodString;
}, "strip", z.ZodTypeAny, {
    code: string;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.scheduled_on_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    code: string;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.scheduled_on_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.set_on_device">;
    code: z.ZodString;
}, "strip", z.ZodTypeAny, {
    code: string;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.set_on_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    code: string;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.set_on_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.removed_from_device">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.removed_from_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.removed_from_device";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.delay_in_setting_on_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.delay_in_setting_on_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.failed_to_set_on_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.failed_to_set_on_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.deleted">;
    code: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    code: string | null;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.deleted";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    code: string | null;
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.deleted";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.delay_in_removing_from_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.delay_in_removing_from_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.failed_to_remove_from_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.failed_to_remove_from_device";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.modified_external_to_seam";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.modified_external_to_seam";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.deleted_external_to_seam";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.deleted_external_to_seam";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
    backup_access_code_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.backup_access_code_pulled";
    backup_access_code_id: string;
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.backup_access_code_pulled";
    backup_access_code_id: string;
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.converted_to_managed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.converted_to_managed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
} & {
    connected_account_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    connected_account_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    device_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    device_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
    access_code_errors: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        error_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: string;
    }, {
        message: string;
        created_at: string;
        error_code: string;
    }>, "many">;
    access_code_warnings: z.ZodArray<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        warning_code: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: string;
    }, {
        message: string;
        created_at: string;
        warning_code: string;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.failed_to_convert_to_managed";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.failed_to_convert_to_managed";
    connected_account_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    connected_account_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    device_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    access_code_errors: {
        message: string;
        created_at: string;
        error_code: string;
    }[];
    access_code_warnings: {
        message: string;
        created_at: string;
        warning_code: string;
    }[];
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.unmanaged.created">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.created";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.created";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    access_code_id: z.ZodString;
    device_id: z.ZodString;
    connected_account_id: z.ZodString;
    device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
}, "strip", z.ZodTypeAny, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.removed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    device_id: string;
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    access_code_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "access_code.unmanaged.removed";
    device_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>];
