import{g as e}from"./chunk-QO3I7KTG.js";var t=["117282026629369750113","105983899177282987945","108352622680835010966"];var r=[{title:"Google Workspace Settings",key:"google",subTitle:"Change Google Workspace Settings",route:"/settings/credentials/google",iconClass:"fa fa-google",licenseFlags:["gmail_backup_enabled","gdrive_backup_enabled"],tabs:[{title:"Settings",key:"settings",fields:[{label:"Super Admin Gmail Id",type:"input",inputType:"text",key:"adminMail",dataType:"string",containerClass:"col-lg-6",pattern:"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$",isRequired:!0,requiredError:"Email ID is required.",patternError:"Please enter a valid email address."},{label:"Client Id",class:"d-none",type:"placeholder",inputType:"text",key:"clientIds",dataType:"array",containerClass:"col-lg-6",defaultValue:t,isRequired:!0,requiredError:"is required."},{label:"Default Policy",class:"h4",style:"color: #585f69;",type:"legend",model:!1,inputType:"text",key:"DPHeader",dataType:"array",containerClass:"col-lg-6"},{type:"placeholder",inputType:"placeholder",model:!1,key:"DPplaceholder",containerClass:"col-lg-6"},{label:"Default Policy name for Gmail",title:"Select Gmail Policy",type:"select",inputType:"text",key:"defaultGmailPolicyName",dataType:"string",optionsGetter:e.prototype.getAllPolicyNamesGsuite,argumentsToGetter:["Gmail"],containerClass:"col-lg-6",isRequired:!0,requiredError:"is required.",licensedTo:["gmail_backup_enabled"]},{label:"Default Policy name for Google Drive",title:"Select Google Drive Policy",type:"select",inputType:"text",key:"defaultGdrivePolicyName",dataType:"string",optionsGetter:e.prototype.getAllPolicyNamesGsuite,argumentsToGetter:["Google Drive"],containerClass:"col-lg-6",isRequired:!0,requiredError:"is required.",licensedTo:["gdrive_backup_enabled"]},{label:"Google Workspace Group Names",type:"component",inputTypes:"groupnamesmapping",key:"groupConfigs",dataType:"customObject",containerClass:"col-lg-12",productOptions:[{title:"Gmail",key:"Gmail",licensedTo:["gmail_backup_enabled"]},{title:"Google Drive",key:"Google Drive",licensedTo:["gdrive_backup_enabled"]}],defaultValue:[{groupName:"New Group",productType:"",policyName:""}]}]}],removeAPI:e.prototype.removeGoogleWorkspaceSettings,saveAPI:e.prototype.saveGoogleWorkspaceSettings,getAPI:e.prototype.getGoogleWorkspaceSettings}];export{r as a};
