import{inject as n}from"@angular/core";import{HttpClient as o}from"@angular/common/http";import*as i from"@angular/core";function l(){return{atlassian:{deployment_type:"cloud",base_url:"",email:"",api_token:"",jira_projects:[],confluence_spaces:[],cache_dir:"",refresh_duration:3600},repositories:[],ai_providers:[],ai_proxy:{name:"Proxy",base_url:"",api_key:""},ai_tasks:[],whisper:{base_url:"https://api.openai.com/v1",api_key:"",model:"whisper-1",postprocess_provider:"",postprocess_model:""},scratch_base_dir:"",file_viewers:[],encryption_salt:null}}var s=class t{http=n(o);getSettings(){return this.http.get("/api/settings")}getSections(){return this.http.get("/api/settings/sections")}updateSettings(e){return this.http.put("/api/settings",e)}testAIProvider(e,r){return this.http.post("/api/settings/test-ai-provider",{provider_name:e,message:r})}getAITaskPrompts(e){return this.http.get(`/api/settings/ai-task-prompts/${encodeURIComponent(e)}`)}testAtlassianConnection(){return this.http.post("/api/settings/test-atlassian",{})}lookupJiraProject(e){return this.http.get("/api/settings/atlassian/project",{params:{key:e}})}lookupConfluenceSpace(e){return this.http.get("/api/settings/atlassian/confluence-space",{params:{key:e}})}browseFolder(e=""){return this.http.post("/api/settings/browse-folder",{initial_dir:e})}listSubfolders(e){return this.http.post("/api/settings/list-subfolders",{path:e})}static \u0275fac=function(r){return new(r||t)};static \u0275prov=i.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})};export{l as a,s as b};
