import { z } from 'zod';
export declare const connected_account_connected_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.connected">;
    connect_webview_id: z.ZodOptional<z.ZodString>;
    customer_key: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.connected";
    customer_key?: string | undefined;
    connect_webview_id?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.connected";
    customer_key?: string | undefined;
    connect_webview_id?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountConnectedEvent = z.infer<typeof connected_account_connected_event>;
export declare const connected_account_created_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.created">;
    connect_webview_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.created";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.created";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountCreatedEvent = z.infer<typeof connected_account_created_event>;
/** @deprecated */
export declare const connected_account_successful_login_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.successful_login">;
    connect_webview_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.successful_login";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.successful_login";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
/** @deprecated Rely on ConnectWebviewLoginSucceededEvent instead */
export type ConnectedAccountSuccessfulLoginEvent = z.infer<typeof connected_account_successful_login_event>;
export declare const connected_account_disconnected_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.disconnected">;
    connected_account_errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
        is_bridge_error: z.ZodOptional<z.ZodBoolean>;
    } & {
        error_code: z.ZodLiteral<"account_disconnected">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "account_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }, {
        message: string;
        created_at: string;
        error_code: "account_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
        is_bridge_error: z.ZodOptional<z.ZodBoolean>;
    } & {
        error_code: z.ZodLiteral<"bridge_disconnected">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "bridge_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }, {
        message: string;
        created_at: string;
        error_code: "bridge_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
        is_bridge_error: z.ZodOptional<z.ZodBoolean>;
    } & {
        error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
        salto_ks_metadata: z.ZodObject<{
            sites: z.ZodArray<z.ZodObject<{
                site_id: z.ZodString;
                site_name: z.ZodString;
                subscribed_site_user_count: z.ZodNumber;
                site_user_subscription_limit: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }, {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }>, "many">;
        }, "strip", z.ZodTypeAny, {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        }, {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        }>;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "salto_ks_subscription_limit_exceeded";
        salto_ks_metadata: {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        };
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }, {
        message: string;
        created_at: string;
        error_code: "salto_ks_subscription_limit_exceeded";
        salto_ks_metadata: {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        };
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }>]>, "many">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.disconnected";
    connected_account_errors: ({
        message: string;
        created_at: string;
        error_code: "account_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    } | {
        message: string;
        created_at: string;
        error_code: "bridge_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    } | {
        message: string;
        created_at: string;
        error_code: "salto_ks_subscription_limit_exceeded";
        salto_ks_metadata: {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        };
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    })[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.disconnected";
    connected_account_errors: ({
        message: string;
        created_at: string;
        error_code: "account_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    } | {
        message: string;
        created_at: string;
        error_code: "bridge_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    } | {
        message: string;
        created_at: string;
        error_code: "salto_ks_subscription_limit_exceeded";
        salto_ks_metadata: {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        };
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    })[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountDisconnectedEvent = z.infer<typeof connected_account_disconnected_event>;
export declare const connected_account_completed_first_sync_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountCompletedFirstSyncEvent = z.infer<typeof connected_account_completed_first_sync_event>;
export declare const connected_account_deleted_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.deleted">;
    connected_account_type: z.ZodOptional<z.ZodString>;
    customer_key: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.deleted";
    customer_key?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_type?: string | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.deleted";
    customer_key?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_type?: string | undefined;
}>;
export type ConnectedAccountDeletedEvent = z.infer<typeof connected_account_deleted_event>;
export declare const connected_account_completed_first_sync_after_reconnection_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync_after_reconnection";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync_after_reconnection";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountCompletedFirstSyncAfterReconnectionEvent = z.infer<typeof connected_account_completed_first_sync_after_reconnection_event>;
export declare const connected_account_reauthorization_requested_event: z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.reauthorization_requested">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.reauthorization_requested";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.reauthorization_requested";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>;
export type ConnectedAccountReauthorizationRequestedEvent = z.infer<typeof connected_account_reauthorization_requested_event>;
export declare const connected_account_events: readonly [z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.connected">;
    connect_webview_id: z.ZodOptional<z.ZodString>;
    customer_key: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.connected";
    customer_key?: string | undefined;
    connect_webview_id?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.connected";
    customer_key?: string | undefined;
    connect_webview_id?: string | 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;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.created">;
    connect_webview_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.created";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.created";
    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;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.successful_login">;
    connect_webview_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.successful_login";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    connect_webview_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.successful_login";
    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;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.disconnected">;
    connected_account_errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
        is_bridge_error: z.ZodOptional<z.ZodBoolean>;
    } & {
        error_code: z.ZodLiteral<"account_disconnected">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "account_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }, {
        message: string;
        created_at: string;
        error_code: "account_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
        is_bridge_error: z.ZodOptional<z.ZodBoolean>;
    } & {
        error_code: z.ZodLiteral<"bridge_disconnected">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "bridge_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }, {
        message: string;
        created_at: string;
        error_code: "bridge_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }>, z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
        is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
        is_bridge_error: z.ZodOptional<z.ZodBoolean>;
    } & {
        error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
        salto_ks_metadata: z.ZodObject<{
            sites: z.ZodArray<z.ZodObject<{
                site_id: z.ZodString;
                site_name: z.ZodString;
                subscribed_site_user_count: z.ZodNumber;
                site_user_subscription_limit: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }, {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }>, "many">;
        }, "strip", z.ZodTypeAny, {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        }, {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        }>;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "salto_ks_subscription_limit_exceeded";
        salto_ks_metadata: {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        };
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }, {
        message: string;
        created_at: string;
        error_code: "salto_ks_subscription_limit_exceeded";
        salto_ks_metadata: {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        };
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    }>]>, "many">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.disconnected";
    connected_account_errors: ({
        message: string;
        created_at: string;
        error_code: "account_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    } | {
        message: string;
        created_at: string;
        error_code: "bridge_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    } | {
        message: string;
        created_at: string;
        error_code: "salto_ks_subscription_limit_exceeded";
        salto_ks_metadata: {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        };
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    })[];
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.disconnected";
    connected_account_errors: ({
        message: string;
        created_at: string;
        error_code: "account_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    } | {
        message: string;
        created_at: string;
        error_code: "bridge_disconnected";
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: boolean | undefined;
    } | {
        message: string;
        created_at: string;
        error_code: "salto_ks_subscription_limit_exceeded";
        salto_ks_metadata: {
            sites: {
                site_id: string;
                site_name: string;
                subscribed_site_user_count: number;
                site_user_subscription_limit: number;
            }[];
        };
        is_connected_account_error?: boolean | undefined;
        is_bridge_error?: 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;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync";
    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;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.deleted">;
    connected_account_type: z.ZodOptional<z.ZodString>;
    customer_key: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.deleted";
    customer_key?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_type?: string | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.deleted";
    customer_key?: string | undefined;
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
    connected_account_type?: string | undefined;
}>, z.ZodObject<{
    event_id: z.ZodString;
    workspace_id: z.ZodString;
    created_at: z.ZodString;
    occurred_at: z.ZodString;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync_after_reconnection";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.completed_first_sync_after_reconnection";
    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;
} & {
    connected_account_id: z.ZodString;
    connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
} & {
    event_type: z.ZodLiteral<"connected_account.reauthorization_requested">;
}, "strip", z.ZodTypeAny, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.reauthorization_requested";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}, {
    workspace_id: string;
    created_at: string;
    connected_account_id: string;
    event_id: string;
    occurred_at: string;
    event_type: "connected_account.reauthorization_requested";
    connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
}>];
