export const PSD_SOURCE = {
  SF: 'SF',
  R360: 'R360',
};

export const TICKET_TYPE = {
  Account_Research: 'Account_Research',
  Enforcement: 'Enforcement',
  Account_Research_Value: 'Account Research',
};

export const SWAGGER_CONSTANTS = {
  TITLE: 'R360 API',
  DESCRIPTION: 'The API description for R360',
  VERSION: '1.0',
  PATH: 'swagger/doc',
};

export enum SWAGGER_TAGS {
  PSD = 'psd',
  COHORT = 'cohort',
  Activity = 'activity',
  Analytics = 'analytics',
  Area = 'area',
  Associateusers = 'associates/user',
  Associates = 'associates',
  City = 'city',
  Companies = 'companies',
  Company_recruiters = 'company_recruiters',
  Config_settings = 'config_settings',
  Country = 'country',
  Dashboard = 'dashboard',
  Education_levels = 'education_levels',
  Experiences = 'experiences',
  FranchiseHistory = 'franchiseHistory',
  Franchises = 'franchises',
  Industries = 'industries',
  Seekerjob_alerts = 'seeker/job_alerts',
  JobApplications = 'jobApplications',
  Job_categories = 'job_categories',
  JobLevel = 'jobLevel',
  Job_perks = 'job_perks',
  Job_posts = 'job_posts',
  JobSaved = 'jobSaved',
  Job_type = 'job_type',
  Job_views = 'job_views',
  Languages = 'languages',
  Locations = 'locations',
  Modules = 'modules',
  Perks = 'perks',
  Recruiter_cv_usage = 'recruiter_cv_usage',
  Recruiter_verification = 'recruiter_verification',
  Reports = 'reports',
  RoleAccess = 'roleAccess',
  Role_levels = 'role_levels',
  Roles = 'roles',
  SeekerAddress = 'seekerAddress',
  SeekerEducation = 'seekerEducation',
  SeekerExperience = 'seekerExperience',
  Seekerpreferences = 'seeker/preferences',
  Apiseeker_resumes = 'api/seeker_resumes',
  SeekerSocialLinks = 'seekerSocialLinks',
  Skills = 'skills',
  SocialPlatform = 'socialPlatform',
  State = 'state',
  Stats = 'stats',
  Tags = 'tags',
  TempFranchise = 'tempFranchise',
  TempTrainers = 'tempTrainers',
  Users = 'users',
  ai_interview_schedules = 'ai_interview_schedules',
  AI_Screening = 'AI_Screening',
  job_post_ai_settings = 'job_post_ai_settings',
  question_bank = 'question_bank',
  mock_test_attempts = 'mock_test_attempts',
  user_ai_interviews = 'user_ai_interviews',
  Mobile_Auth = 'Mobile_Auth',
  mobile_home = 'mobile_home',
  mock_templates = 'mock_templates',
  mobile_seeker_profile_settings = 'mobile_seeker_profile_settings',
  mobile_applied_jobs = 'mobile_applied_jobs',
}
export const Asset_Type_Label = {
  app: 'App',
  dams: 'DAMs',
  digitalAds: 'Digital Ads',
  ePubs: 'e-Pubs',
  software: 'Software',
  web: 'Web',
  webServers: 'Web Servers',
};

export const Asset_Type_Ids = {
  app: 1,
  web: 2,
};

export const AppWebTaskIdsWithDisplayFlagZero = {
  appIds: [9, 12, 13, 26],
  webIds: [10, 14, 15],
};

export const PyFontChefTaskId = 25;
export const PyFontChefTaskName = 'PyFont Chef';
export const dataAiTaskId = 26;
export const dataAiTaskName = 'data.ai';
export const bulkUploadTaskName = 'Bulk Upload';
export const bulkUploadTaskId = 38;
export const G10B = {
  app: 'G10B Apps',
  web: 'G10B Web',
};

export const USE_CASE_TO_ASSET_TYPE_PK = {
  'Mobile App': 1,
  'Web Font': 2,
  'Digital Ad': 3,
  PDF: 4,
  Software: 5,
  DAMs: 6,
  Webservers: 7,
};

export const ASSET_TYPE_PK_TO_USE_CASE = {
  '1': 'Mobile App',
  '2': 'Web Font',
  '3': 'Digital Ad',
  '4': 'PDF',
  '5': 'Software',
  '6': 'DAMs',
  '7': 'Webservers',
};
export const ASSET_TYPE_PK_TO_USE_CASE_NEW = {
  '1': 'app',
  '2': 'web',
  '3': 'digitalAds',
  '4': 'ePubs',
  '5': 'software',
  '6': 'dams',
  '7': 'webServers',
};
export const initialData = {
  app: 0,
  web: 0,
  digitalAds: 0,
  ePubs: 0,
  software: 0,
  dams: 0,
  webServers: 0,
};
export const ASSET_TO_USE_CASE = {
  App: 'Mobile App',
  Web: 'Web Font',
  'Digital Ads': 'Digital Ad',
  'e-Pubs': 'PDF',
  Software: 'Software',
  DAMs: 'DAMs',
  Webservers: 'Webservers',
};

export const ASSET_TO_USE_CASE_ID = {
  1: 'Mobile App',
  2: 'Web Font',
  3: 'Digital Ad',
  4: 'PDF',
  5: 'Software',
  6: 'DAMs',
  7: 'Webservers',
};

export const App_PLATFORM = {
  Android: 'Android',
  iOS: 'iOS',
};

export const Affirmative = {
  YES: 'Yes',
  NO: 'No',
};

export const Account_Actions = {
  ADD: 'Added',
  REMOVE: 'Removed',
  UPDATE: 'Updated',
};

export const Asset_Type_To_FK = {
  App: 1,
  Web: 2,
  'Digital Ads': 3,
  'e-Pubs': 4,
  Software: 5,
  DAMs: 6,
  Webservers: 7,
};

export const accountAssetSource = {
  dataAi: 'Data.AI',
  R360: 'R360',
  G10B: 'G10B',
  PyFont: 'PyFont',
  other: 'other-sources',
};

export const taskCategoryNames = {
  legalEntityMapping: 'Legal Entity Mapping',
  assetMapping: 'Asset Mapping',
  researchAutomation: 'Research Automation',
  reviewFontUsage: 'Review Font Usage',
  mapFontToPIM: 'Map Font to PIM',
  reviewMyWork: 'Review My Work',
};

export const CORS_OPTIONS = {
  origin: [/localhost:*/, 'http://localhost'],
  options: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
};

export const PyFont_Headers = [
  'Enforceable IP?',
  'Font Name',
  'Use Case',
  'Website/App Title',
  'Font File Name',
  'Copyright',
  'Trademark',
  'Family',
  'Subfamily',
  'License Description',
  'License Info URL',
  'Unique ID',
  'Misc1',
  'Misc2',
  'Version',
  'Manufacturer',
  'Designer',
  'Designer URL',
  'Vendor',
  'Vendor URL',
  'Vendor ID',
  'File Type',
  'Foundry (test)',
  'Path',
  'Web Path',
  'Verified Domain',
  'License Indicator',
  'App Platform',
  'App Developer',
  'App URL',
  'WhyEnforce',
  'Remarks',
  'ID',
  'Similarweb_domain',
  'Pages/Visit',
  'MonthlyVisits',
  'PageViews',
  'md5',
  'geometry_md5',
  'Font_Size(kb)',
  'Asset_Id',
  'Material ID',
  'Mapping Basis',
  'PostScript Name',
  'Mapping Remarks',
];

export const TASK_ID = {
  Legal_Entity_Mapping: 1,
  Asset_Mapping_App: 2,
  Asset_Mapping_Web: 3,
  Asset_Mapping_Digital_Ads: 4,
  Asset_Mapping_ePubs: 5,
  Asset_Mapping_Software: 6,
  Asset_Mapping_DAMs: 7,
  Asset_Mapping_Webservers: 8,
  Asset_Mapping_G10B_App: 9,
  Asset_Mapping_G10B_Web: 10,
  Research_Automation: 11,
  Research_Automation_Apps_Research_All: 12,
  Research_Automation_Apps_Research_Selected: 13,
  Research_Automation_Web_Research_All: 14,
  Research_Automation_Web_Research_Selected: 15,
  Review_Font_Usage_App: 16,
  Review_Font_Usage_Web: 17,
  Review_Font_Usage_Digital_Ads: 18,
  Review_Font_Usage_ePubs: 19,
  Review_Font_Usage_Software: 20,
  Review_Font_Usage_DAMs: 21,
  Review_Font_Usage_Webservers: 22,
  Map_Font_To_PIM: 23,
  Review_My_Work: 24,
  Review_Font_Usage_PyFont_Chef: 25,
  Asset_Mapping_Data_AI: 26,
};
export const ENF_Task_ID = {
  Vetting_Process: 37,
};

export const VETTING_TASK_IDS = {
  VETTING_TASK_CATEGORY: 37,
};

export const VETTING_TASK_CATEGORY_TASK_IDS = [29, 30, 31, 32, 33, 34, 35];

export const Operation = {
  CREATE: 'CREATE',
  UPDATE: 'UPDATE',
};

export const MappingType = {
  unmapped: 0,
  mapped: 1,
  selectedAsDraft: 2,
};

export const SHOEnforceTicketPrefix = 'R360';
export const enforcementTicketCategory = 'vet technical research';
export const sfEnforcementTaskCategory = 'Vet technical research';
export const DLTicketPrefix = 'SFDC';
