/************************************* * Employment types *************************************/ export declare const internshipType = "Internship/Attachment"; export interface IEmploymentType { id: number; employmentType: string; } export declare const EMPLOYMENT_TYPES: IEmploymentType[]; export interface IPositionLevel { id: number; position: string; } export declare const POSITION_LEVELS: IPositionLevel[]; /************************************* * Job categories *************************************/ export interface IJobCategory { id: number; category: string; } export declare const JOB_CATEGORIES: IJobCategory[]; /************************************* * Schemes *************************************/ export declare enum SCHEME_ID { P_MAX = 1, CCP = 2, CAREER_TRIAL = 3, CAREER_SUPPORT = 4, SG_UNITED_TRAINEESHIPS = 5, SG_UNITED_MID_CAREER_PATHWAYS = 6, MID_CAREER_PATHWAYS = 7, GRIT = 8 } export interface IScheme { id: number; scheme: string; startDate: string; expiryDate: string; link: string; jobseekerLink: string; swdaJobseekerLink?: string; } export declare const SCHEMES: IScheme[]; /************************************* * Job Statuses *************************************/ export declare enum JOB_STATUS { CLOSED = 1, DRAFT = 2, OPEN = 3, REOPEN = 4 } export interface IJobStatus { id: JOB_STATUS; status: string; } export declare const JOB_STATUSES: IJobStatus[]; /************************************* * Districts *************************************/ export interface IDistrict { id: number; location: string; region: string; sectors: string[]; } export declare const DISTRICTS: IDistrict[]; /************************************* * Countries *************************************/ export interface IIsoCountryList { code: string; description: string; codeNumber: string; areaCodeNumber?: string; } export declare const ISO_COUNTRIES: IIsoCountryList[]; /************************************* * Salary Types *************************************/ export declare enum SALARY_TYPE { MONTHLY = 4, ANNUAL = 5 } export interface ISalaryType { id: SALARY_TYPE; salaryType: string; } export declare const SALARY_TYPES: ISalaryType[]; /************************************* * Company Registration Types *************************************/ export interface ICompanyRegistrationType { id: number; registrationType: string; } export declare const COMPANY_REGISTRATION_TYPES: ICompanyRegistrationType[]; /************************************* * Company Address Purpose *************************************/ export declare enum COMPANY_ADDRESS_PURPOSE { REGISTERED = 0, OPERATING = 1, CORRESPONDENCE = 2 } export interface ICompanyAddressPurpose { id: COMPANY_ADDRESS_PURPOSE; purpose: string; } export declare const COMPANY_ADDRESS_PURPOSES: ICompanyAddressPurpose[]; /************************************* * Job Screening Question Response *************************************/ export declare enum SCREEN_QUESTION_RESPONSE { YES = "yes", NO = "no" } export interface IScreeningQuestionResponse { label: string; value: string; } export declare const getScreeningQuestionResponse: (response: string) => IScreeningQuestionResponse; /************************************* * Job Application Statuses *************************************/ export declare enum JOB_APPLICATION_STATUS { NOT_SENT = 0, UNDER_REVIEW = 1,// When employer download the resume SUCCESSFUL = 2,// Hired UNSUCCESSFUL = 3,// Not Suitable RECEIVED = 4,// UnProcessed WITHDRAWN = 5, SAVED = 6 } export declare const JOB_APPLICATION_STATUSES: { 0: string; 1: string; 2: string; 3: string; 4: string; 5: string; 6: string; }; /************************************* * SSECE EQA List (Education) * Extracted from https://www.singstat.gov.sg/-/media/files/standards_and_classifications/educational_classification/ssec2015-report.pdf *************************************/ export interface ISsecEqa { code: string; description: string; } export declare const SSEC_EQA_LIST: ISsecEqa[]; export declare const ssecFosRequired: (ssecEqaCode: ISsecEqa["code"]) => boolean; export declare const CUSTOM_WORD_LIST: string[]; export declare const STOP_WORDS: string[]; export declare const removeStopWords: (str?: string) => string; export declare const removeWordsInBracket: (str?: string) => string; export declare const removePunctuations: (str?: string) => string; export declare const removeExcessWhitespaces: (str?: string) => string; export declare const removeRepeatedHyphens: (str?: string) => string; export declare const joinWords: (str?: string) => string; export declare const processStringToUrlFormat: (str?: string) => string; export declare const pathToJobId: (path: any) => string | null; export declare const isJobApplicationPath: (path: any) => boolean; export declare const pathToJobAlertChecksum: (path: any) => string | null; export declare const getCategoryByLabel: (label: any) => string | undefined; export declare const formatJobUrl: ({ jobTitle, company, uuid, categoryLabel, }: { jobTitle?: string; company?: string; uuid: string; categoryLabel?: string; }) => string; export declare const JOB_POST_SOURCE: { CAREERS_GOV: string; CAREER_CENTRE: string; EMPLOYER_PORTAL: string; }; export declare const CAREER_INTENT_OPTIONS: { value: number; label: string; }[];