using AIStudio.Tools.PluginSystem.Assistants;
namespace AIStudio.Settings.DataModel.PreviousModels;
///
/// The data model of settings files with version V6.
///
public sealed class DataV6
{
///
/// The version of the settings file. Allows us to upgrade the settings
/// when a new version is available.
///
public Version Version { get; set; } = Version.V6;
///
/// List of configured providers.
///
public List Providers { get; set; } = [];
///
/// Settings concerning confidence levels.
///
public DataConfidence Confidence { get; set; } = new();
///
/// Settings concerning data source security checks.
///
public DataSourceSecuritySettings DataSourceSecurity { get; set; } = new();
///
/// A collection of embedding providers configured.
///
public List EmbeddingProviders { get; set; } = [];
///
/// A collection of speech providers configured.
///
public List TranscriptionProviders { get; set; } = [];
///
/// A collection of data sources configured.
///
public List DataSources { get; set; } = [];
///
/// A collection of mailboxes configured.
///
public List Mailboxes { get; set; } = [];
///
/// Settings which apply to all mailboxes.
///
public DataMailboxes MailboxSettings { get; set; } = new();
///
/// List of configured profiles.
///
public List Profiles { get; set; } = [];
///
/// List of configured chat templates.
///
public List ChatTemplates { get; set; } = [];
///
/// List of enabled plugins.
///
public List EnabledPlugins { get; set; } = [];
///
/// Metadata for managed settings that use a plugin-provided editable default.
///
public Dictionary ManagedEditableDefaults { get; set; } = [];
///
/// The configuration plugin that owns each locked managed setting.
///
public Dictionary ManagedLockedConfigurations { get; set; } = [];
///
/// The value each managed setting had before a configuration plugin took it over, as JSON.
///
public Dictionary ManagedUserValueSnapshots { get; set; } = [];
///
/// Cached audit results for assistant plugins.
///
public List AssistantPluginAudits { get; set; } = [];
///
/// The assistant plugin hashes whose organization default for the activation was already applied.
///
public List AppliedEnterpriseAssistantActivations { get; set; } = [];
///
/// Whether AI Studio already stored the chats and the settings once more, so that every path below
/// the data directory in them is relative.
///
public bool StoredDataPathsAreRelative { get; set; }
///
/// The next provider number to use.
///
public uint NextProviderNum { get; set; } = 1;
///
/// The next embedding provider number to use.
///
public uint NextEmbeddingNum { get; set; } = 1;
///
/// The next transcription provider number to use.
///
public uint NextTranscriptionNum { get; set; } = 1;
///
/// The next data source number to use.
///
public uint NextDataSourceNum { get; set; } = 1;
///
/// The next profile number to use.
///
public uint NextProfileNum { get; set; } = 1;
///
/// The next chat template number to use.
///
public uint NextChatTemplateNum { get; set; } = 1;
///
/// The next document analysis policy number to use.
///
public uint NextDocumentAnalysisPolicyNum { get; set; } = 1;
public DataApp App { get; set; } = new();
public DataChat Chat { get; set; } = new();
public DataAssistantsPage AssistantsPage { get; set; } = new();
public DataWorkspace Workspace { get; set; } = new();
public DataIconFinder IconFinder { get; set; } = new();
public DataTranslationV6 Translation { get; set; } = new();
public DataCoding Coding { get; set; } = new();
public DataERI ERI { get; set; } = new();
public DataDocumentAnalysis DocumentAnalysis { get; set; } = new();
public DataBatchProcessing BatchProcessing { get; set; } = new();
public DataMandatoryInformation MandatoryInformation { get; set; } = new();
public DataTextSummarizerV6 TextSummarizer { get; set; } = new();
public DataSWOTAnalysisV6 SWOTAnalysis { get; set; } = new();
public DataTextContentCleanerV6 TextContentCleaner { get; set; } = new();
public DataAgentDataSourceSelectionV6 AgentDataSourceSelection { get; set; } = new();
public DataAgentRetrievalContextValidationV6 AgentRetrievalContextValidation { get; set; } = new();
public DataAssistantPluginAuditV6 AssistantPluginAudit { get; set; } = new();
public DataAgenda Agenda { get; set; } = new();
public DataGrammarSpelling GrammarSpelling { get; set; } = new();
public DataRewriteImprove RewriteImprove { get; set; } = new();
public DataPromptOptimizer PromptOptimizer { get; set; } = new();
public DataEMail EMail { get; set; } = new();
public DataSlideBuilder SlideBuilder { get; set; } = new();
public DataAssistantBuilder AssistantBuilder { get; set; } = new();
public DataVisualBriefing VisualBriefing { get; set; } = new();
public DataBeyondFactsLab BeyondFactsLab { get; set; } = new();
public DataModelComparison ModelComparison { get; set; } = new();
public DataLegalCheckV6 LegalCheck { get; set; } = new();
public DataSynonyms Synonyms { get; set; } = new();
public DataMyTasks MyTasks { get; set; } = new();
public DataJobPostings JobPostings { get; set; } = new();
public DataBiasOfTheDay BiasOfTheDay { get; set; } = new();
public DataI18N I18N { get; set; } = new();
public DataTools Tools { get; set; } = new();
}