import { CrudSchemaFromOptions, CrudTypeOf } from "../../crud.js"; import * as yup from "yup"; //#region src/interface/crud/projects.d.ts declare const emailConfigSchema: yup.ObjectSchema<{ type: "standard" | "shared"; host: string | undefined; port: number | undefined; username: string | undefined; password: string | undefined; sender_name: string | undefined; sender_email: string | undefined; }, yup.AnyObject, { type: undefined; host: undefined; port: undefined; username: undefined; password: undefined; sender_name: undefined; sender_email: undefined; }, "">; declare const emailConfigWithoutPasswordSchema: yup.ObjectSchema<{ type: "standard" | "shared"; host: string | undefined; port: number | undefined; username: string | undefined; sender_name: string | undefined; sender_email: string | undefined; }, yup.AnyObject, { type: undefined; host: undefined; port: undefined; username: undefined; password: undefined; sender_name: undefined; sender_email: undefined; }, "">; declare const projectsCrudAdminReadSchema: yup.ObjectSchema<{ id: string; display_name: string; description: string; logo_url: string | null | undefined; logo_full_url: string | null | undefined; logo_dark_mode_url: string | null | undefined; logo_full_dark_mode_url: string | null | undefined; created_at_millis: number; is_production_mode: boolean; owner_team_id: string | null; onboarding_status: "config_choice" | "apps_selection" | "auth_setup" | "domain_setup" | "email_theme_setup" | "payments_setup" | "completed"; config: { oauth_providers: { client_id?: string | undefined; client_secret?: string | undefined; facebook_config_id?: string | undefined; microsoft_tenant_id?: string | undefined; apple_bundle_ids?: string[] | undefined; type: "standard" | "shared"; id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; provider_config_id: string; }[]; allow_localhost: boolean; sign_up_enabled: boolean; credential_enabled: boolean; magic_link_enabled: boolean; passkey_enabled: boolean; client_team_creation_enabled: boolean; client_user_deletion_enabled: boolean; allow_user_api_keys: boolean; allow_team_api_keys: boolean; enabled_oauth_providers: { id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[]; domains: { domain: string; handler_path: string; }[]; email_config: { password?: string | undefined; host?: string | undefined; port?: number | undefined; username?: string | undefined; sender_name?: string | undefined; sender_email?: string | undefined; type: "standard" | "shared"; }; email_theme: string; create_team_on_sign_up: boolean; team_creator_default_permissions: { id: string; }[]; team_member_default_permissions: { id: string; }[]; user_default_permissions: { id: string; }[]; oauth_account_merge_strategy: "link_method" | "raise_error" | "allow_duplicates"; }; }, yup.AnyObject, { id: undefined; display_name: undefined; description: undefined; logo_url: undefined; logo_full_url: undefined; logo_dark_mode_url: undefined; logo_full_dark_mode_url: undefined; created_at_millis: undefined; is_production_mode: undefined; owner_team_id: undefined; onboarding_status: undefined; config: { allow_localhost: undefined; sign_up_enabled: undefined; credential_enabled: undefined; magic_link_enabled: undefined; passkey_enabled: undefined; client_team_creation_enabled: undefined; client_user_deletion_enabled: undefined; allow_user_api_keys: undefined; allow_team_api_keys: undefined; oauth_providers: undefined; enabled_oauth_providers: undefined; domains: undefined; email_config: { type: undefined; host: undefined; port: undefined; username: undefined; password: undefined; sender_name: undefined; sender_email: undefined; }; email_theme: undefined; create_team_on_sign_up: undefined; team_creator_default_permissions: undefined; team_member_default_permissions: undefined; user_default_permissions: undefined; oauth_account_merge_strategy: undefined; }; }, "">; declare const projectsCrudClientReadSchema: yup.ObjectSchema<{ id: string; display_name: string; config: { sign_up_enabled: boolean; credential_enabled: boolean; magic_link_enabled: boolean; passkey_enabled: boolean; client_team_creation_enabled: boolean; client_user_deletion_enabled: boolean; allow_user_api_keys: boolean; allow_team_api_keys: boolean; enabled_oauth_providers: { id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[]; domains: { domain: string; handler_path: string; }[]; }; }, yup.AnyObject, { id: undefined; display_name: undefined; config: { sign_up_enabled: undefined; credential_enabled: undefined; magic_link_enabled: undefined; passkey_enabled: undefined; client_team_creation_enabled: undefined; client_user_deletion_enabled: undefined; allow_user_api_keys: undefined; allow_team_api_keys: undefined; enabled_oauth_providers: undefined; domains: undefined; }; }, "">; declare const projectsCrudAdminUpdateSchema: yup.ObjectSchema<{ display_name: string | undefined; description: string | null | undefined; logo_url: string | null | undefined; logo_full_url: string | null | undefined; logo_dark_mode_url: string | null | undefined; logo_full_dark_mode_url: string | null | undefined; is_production_mode: boolean | undefined; onboarding_status: "config_choice" | "apps_selection" | "auth_setup" | "domain_setup" | "email_theme_setup" | "payments_setup" | "completed" | undefined; config: { oauth_providers?: { client_id?: string | undefined; client_secret?: string | undefined; facebook_config_id?: string | undefined; microsoft_tenant_id?: string | undefined; apple_bundle_ids?: string[] | undefined; type: "standard" | "shared"; id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[] | undefined; allow_localhost?: boolean | undefined; sign_up_enabled?: boolean | undefined; credential_enabled?: boolean | undefined; magic_link_enabled?: boolean | undefined; passkey_enabled?: boolean | undefined; client_team_creation_enabled?: boolean | undefined; client_user_deletion_enabled?: boolean | undefined; allow_user_api_keys?: boolean | undefined; allow_team_api_keys?: boolean | undefined; domains?: { domain: string; handler_path: string; }[] | undefined; email_config?: { password?: string | undefined; host?: string | undefined; port?: number | undefined; username?: string | undefined; sender_name?: string | undefined; sender_email?: string | undefined; type: "standard" | "shared"; } | undefined; email_theme?: string | undefined; create_team_on_sign_up?: boolean | undefined; team_creator_default_permissions?: { id: string; }[] | undefined; team_member_default_permissions?: { id: string; }[] | undefined; user_default_permissions?: { id: string; }[] | undefined; oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined; require_email_verification?: boolean | undefined; } | undefined; }, yup.AnyObject, { display_name: undefined; description: undefined; logo_url: undefined; logo_full_url: undefined; logo_dark_mode_url: undefined; logo_full_dark_mode_url: undefined; is_production_mode: undefined; onboarding_status: undefined; config: undefined; }, "">; declare const projectsCrudAdminCreateSchema: yup.ObjectSchema<{ display_name: string; description: string | null | undefined; logo_url: string | null | undefined; logo_full_url: string | null | undefined; logo_dark_mode_url: string | null | undefined; logo_full_dark_mode_url: string | null | undefined; is_production_mode: boolean | undefined; onboarding_status: "config_choice" | "apps_selection" | "auth_setup" | "domain_setup" | "email_theme_setup" | "payments_setup" | "completed" | undefined; config: { oauth_providers?: { client_id?: string | undefined; client_secret?: string | undefined; facebook_config_id?: string | undefined; microsoft_tenant_id?: string | undefined; apple_bundle_ids?: string[] | undefined; type: "standard" | "shared"; id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[] | undefined; allow_localhost?: boolean | undefined; sign_up_enabled?: boolean | undefined; credential_enabled?: boolean | undefined; magic_link_enabled?: boolean | undefined; passkey_enabled?: boolean | undefined; client_team_creation_enabled?: boolean | undefined; client_user_deletion_enabled?: boolean | undefined; allow_user_api_keys?: boolean | undefined; allow_team_api_keys?: boolean | undefined; domains?: { domain: string; handler_path: string; }[] | undefined; email_config?: { password?: string | undefined; host?: string | undefined; port?: number | undefined; username?: string | undefined; sender_name?: string | undefined; sender_email?: string | undefined; type: "standard" | "shared"; } | undefined; email_theme?: string | undefined; create_team_on_sign_up?: boolean | undefined; team_creator_default_permissions?: { id: string; }[] | undefined; team_member_default_permissions?: { id: string; }[] | undefined; user_default_permissions?: { id: string; }[] | undefined; oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined; require_email_verification?: boolean | undefined; } | undefined; } & { display_name: string; owner_team_id: string; }, yup.AnyObject, { display_name: undefined; description: undefined; logo_url: undefined; logo_full_url: undefined; logo_dark_mode_url: undefined; logo_full_dark_mode_url: undefined; is_production_mode: undefined; onboarding_status: undefined; config: undefined; owner_team_id: undefined; }, "">; declare const projectsCrudAdminDeleteSchema: yup.MixedSchema<{} | undefined, yup.AnyObject, undefined, "">; declare const clientProjectsCrud: CrudSchemaFromOptions<{ clientReadSchema: yup.ObjectSchema<{ id: string; display_name: string; config: { sign_up_enabled: boolean; credential_enabled: boolean; magic_link_enabled: boolean; passkey_enabled: boolean; client_team_creation_enabled: boolean; client_user_deletion_enabled: boolean; allow_user_api_keys: boolean; allow_team_api_keys: boolean; enabled_oauth_providers: { id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[]; domains: { domain: string; handler_path: string; }[]; }; }, yup.AnyObject, { id: undefined; display_name: undefined; config: { sign_up_enabled: undefined; credential_enabled: undefined; magic_link_enabled: undefined; passkey_enabled: undefined; client_team_creation_enabled: undefined; client_user_deletion_enabled: undefined; allow_user_api_keys: undefined; allow_team_api_keys: undefined; enabled_oauth_providers: undefined; domains: undefined; }; }, "">; docs: { clientRead: { summary: string; description: string; tags: string[]; }; }; }>; type ClientProjectsCrud = CrudTypeOf; declare const projectsCrud: CrudSchemaFromOptions<{ adminReadSchema: yup.ObjectSchema<{ id: string; display_name: string; description: string; logo_url: string | null | undefined; logo_full_url: string | null | undefined; logo_dark_mode_url: string | null | undefined; logo_full_dark_mode_url: string | null | undefined; created_at_millis: number; is_production_mode: boolean; owner_team_id: string | null; onboarding_status: "config_choice" | "apps_selection" | "auth_setup" | "domain_setup" | "email_theme_setup" | "payments_setup" | "completed"; config: { oauth_providers: { client_id?: string | undefined; client_secret?: string | undefined; facebook_config_id?: string | undefined; microsoft_tenant_id?: string | undefined; apple_bundle_ids?: string[] | undefined; type: "standard" | "shared"; id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; provider_config_id: string; }[]; allow_localhost: boolean; sign_up_enabled: boolean; credential_enabled: boolean; magic_link_enabled: boolean; passkey_enabled: boolean; client_team_creation_enabled: boolean; client_user_deletion_enabled: boolean; allow_user_api_keys: boolean; allow_team_api_keys: boolean; enabled_oauth_providers: { id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[]; domains: { domain: string; handler_path: string; }[]; email_config: { password?: string | undefined; host?: string | undefined; port?: number | undefined; username?: string | undefined; sender_name?: string | undefined; sender_email?: string | undefined; type: "standard" | "shared"; }; email_theme: string; create_team_on_sign_up: boolean; team_creator_default_permissions: { id: string; }[]; team_member_default_permissions: { id: string; }[]; user_default_permissions: { id: string; }[]; oauth_account_merge_strategy: "link_method" | "raise_error" | "allow_duplicates"; }; }, yup.AnyObject, { id: undefined; display_name: undefined; description: undefined; logo_url: undefined; logo_full_url: undefined; logo_dark_mode_url: undefined; logo_full_dark_mode_url: undefined; created_at_millis: undefined; is_production_mode: undefined; owner_team_id: undefined; onboarding_status: undefined; config: { allow_localhost: undefined; sign_up_enabled: undefined; credential_enabled: undefined; magic_link_enabled: undefined; passkey_enabled: undefined; client_team_creation_enabled: undefined; client_user_deletion_enabled: undefined; allow_user_api_keys: undefined; allow_team_api_keys: undefined; oauth_providers: undefined; enabled_oauth_providers: undefined; domains: undefined; email_config: { type: undefined; host: undefined; port: undefined; username: undefined; password: undefined; sender_name: undefined; sender_email: undefined; }; email_theme: undefined; create_team_on_sign_up: undefined; team_creator_default_permissions: undefined; team_member_default_permissions: undefined; user_default_permissions: undefined; oauth_account_merge_strategy: undefined; }; }, "">; adminUpdateSchema: yup.ObjectSchema<{ display_name: string | undefined; description: string | null | undefined; logo_url: string | null | undefined; logo_full_url: string | null | undefined; logo_dark_mode_url: string | null | undefined; logo_full_dark_mode_url: string | null | undefined; is_production_mode: boolean | undefined; onboarding_status: "config_choice" | "apps_selection" | "auth_setup" | "domain_setup" | "email_theme_setup" | "payments_setup" | "completed" | undefined; config: { oauth_providers?: { client_id?: string | undefined; client_secret?: string | undefined; facebook_config_id?: string | undefined; microsoft_tenant_id?: string | undefined; apple_bundle_ids?: string[] | undefined; type: "standard" | "shared"; id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[] | undefined; allow_localhost?: boolean | undefined; sign_up_enabled?: boolean | undefined; credential_enabled?: boolean | undefined; magic_link_enabled?: boolean | undefined; passkey_enabled?: boolean | undefined; client_team_creation_enabled?: boolean | undefined; client_user_deletion_enabled?: boolean | undefined; allow_user_api_keys?: boolean | undefined; allow_team_api_keys?: boolean | undefined; domains?: { domain: string; handler_path: string; }[] | undefined; email_config?: { password?: string | undefined; host?: string | undefined; port?: number | undefined; username?: string | undefined; sender_name?: string | undefined; sender_email?: string | undefined; type: "standard" | "shared"; } | undefined; email_theme?: string | undefined; create_team_on_sign_up?: boolean | undefined; team_creator_default_permissions?: { id: string; }[] | undefined; team_member_default_permissions?: { id: string; }[] | undefined; user_default_permissions?: { id: string; }[] | undefined; oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined; require_email_verification?: boolean | undefined; } | undefined; }, yup.AnyObject, { display_name: undefined; description: undefined; logo_url: undefined; logo_full_url: undefined; logo_dark_mode_url: undefined; logo_full_dark_mode_url: undefined; is_production_mode: undefined; onboarding_status: undefined; config: undefined; }, "">; adminDeleteSchema: yup.MixedSchema<{} | undefined, yup.AnyObject, undefined, "">; docs: { adminRead: { summary: string; description: string; tags: string[]; hidden: true; }; adminUpdate: { summary: string; description: string; tags: string[]; hidden: true; }; adminDelete: { summary: string; description: string; tags: string[]; hidden: true; }; }; }>; type ProjectsCrud = CrudTypeOf; declare const adminUserProjectsCrud: CrudSchemaFromOptions<{ clientReadSchema: yup.ObjectSchema<{ id: string; display_name: string; description: string; logo_url: string | null | undefined; logo_full_url: string | null | undefined; logo_dark_mode_url: string | null | undefined; logo_full_dark_mode_url: string | null | undefined; created_at_millis: number; is_production_mode: boolean; owner_team_id: string | null; onboarding_status: "config_choice" | "apps_selection" | "auth_setup" | "domain_setup" | "email_theme_setup" | "payments_setup" | "completed"; config: { oauth_providers: { client_id?: string | undefined; client_secret?: string | undefined; facebook_config_id?: string | undefined; microsoft_tenant_id?: string | undefined; apple_bundle_ids?: string[] | undefined; type: "standard" | "shared"; id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; provider_config_id: string; }[]; allow_localhost: boolean; sign_up_enabled: boolean; credential_enabled: boolean; magic_link_enabled: boolean; passkey_enabled: boolean; client_team_creation_enabled: boolean; client_user_deletion_enabled: boolean; allow_user_api_keys: boolean; allow_team_api_keys: boolean; enabled_oauth_providers: { id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[]; domains: { domain: string; handler_path: string; }[]; email_config: { password?: string | undefined; host?: string | undefined; port?: number | undefined; username?: string | undefined; sender_name?: string | undefined; sender_email?: string | undefined; type: "standard" | "shared"; }; email_theme: string; create_team_on_sign_up: boolean; team_creator_default_permissions: { id: string; }[]; team_member_default_permissions: { id: string; }[]; user_default_permissions: { id: string; }[]; oauth_account_merge_strategy: "link_method" | "raise_error" | "allow_duplicates"; }; }, yup.AnyObject, { id: undefined; display_name: undefined; description: undefined; logo_url: undefined; logo_full_url: undefined; logo_dark_mode_url: undefined; logo_full_dark_mode_url: undefined; created_at_millis: undefined; is_production_mode: undefined; owner_team_id: undefined; onboarding_status: undefined; config: { allow_localhost: undefined; sign_up_enabled: undefined; credential_enabled: undefined; magic_link_enabled: undefined; passkey_enabled: undefined; client_team_creation_enabled: undefined; client_user_deletion_enabled: undefined; allow_user_api_keys: undefined; allow_team_api_keys: undefined; oauth_providers: undefined; enabled_oauth_providers: undefined; domains: undefined; email_config: { type: undefined; host: undefined; port: undefined; username: undefined; password: undefined; sender_name: undefined; sender_email: undefined; }; email_theme: undefined; create_team_on_sign_up: undefined; team_creator_default_permissions: undefined; team_member_default_permissions: undefined; user_default_permissions: undefined; oauth_account_merge_strategy: undefined; }; }, "">; clientCreateSchema: yup.ObjectSchema<{ display_name: string; description: string | null | undefined; logo_url: string | null | undefined; logo_full_url: string | null | undefined; logo_dark_mode_url: string | null | undefined; logo_full_dark_mode_url: string | null | undefined; is_production_mode: boolean | undefined; onboarding_status: "config_choice" | "apps_selection" | "auth_setup" | "domain_setup" | "email_theme_setup" | "payments_setup" | "completed" | undefined; config: { oauth_providers?: { client_id?: string | undefined; client_secret?: string | undefined; facebook_config_id?: string | undefined; microsoft_tenant_id?: string | undefined; apple_bundle_ids?: string[] | undefined; type: "standard" | "shared"; id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch"; }[] | undefined; allow_localhost?: boolean | undefined; sign_up_enabled?: boolean | undefined; credential_enabled?: boolean | undefined; magic_link_enabled?: boolean | undefined; passkey_enabled?: boolean | undefined; client_team_creation_enabled?: boolean | undefined; client_user_deletion_enabled?: boolean | undefined; allow_user_api_keys?: boolean | undefined; allow_team_api_keys?: boolean | undefined; domains?: { domain: string; handler_path: string; }[] | undefined; email_config?: { password?: string | undefined; host?: string | undefined; port?: number | undefined; username?: string | undefined; sender_name?: string | undefined; sender_email?: string | undefined; type: "standard" | "shared"; } | undefined; email_theme?: string | undefined; create_team_on_sign_up?: boolean | undefined; team_creator_default_permissions?: { id: string; }[] | undefined; team_member_default_permissions?: { id: string; }[] | undefined; user_default_permissions?: { id: string; }[] | undefined; oauth_account_merge_strategy?: "link_method" | "raise_error" | "allow_duplicates" | undefined; require_email_verification?: boolean | undefined; } | undefined; } & { display_name: string; owner_team_id: string; }, yup.AnyObject, { display_name: undefined; description: undefined; logo_url: undefined; logo_full_url: undefined; logo_dark_mode_url: undefined; logo_full_dark_mode_url: undefined; is_production_mode: undefined; onboarding_status: undefined; config: undefined; owner_team_id: undefined; }, "">; docs: { clientList: { hidden: true; }; clientCreate: { hidden: true; }; }; }>; type AdminUserProjectsCrud = CrudTypeOf; //#endregion export { AdminUserProjectsCrud, ClientProjectsCrud, ProjectsCrud, adminUserProjectsCrud, clientProjectsCrud, emailConfigSchema, emailConfigWithoutPasswordSchema, projectsCrud, projectsCrudAdminCreateSchema, projectsCrudAdminDeleteSchema, projectsCrudAdminReadSchema, projectsCrudAdminUpdateSchema, projectsCrudClientReadSchema }; //# sourceMappingURL=projects.d.ts.map