From 2c09615e914bbb93455b8f69d5ab64a22d48b5c5 Mon Sep 17 00:00:00 2001 From: Pedro Coelho Torres <88852599+pcoelho-coveo@users.noreply.github.com> Date: Tue, 26 Mar 2024 09:24:24 -0400 Subject: [PATCH] feat(projects): add new project types (#808) TSP-214 --- src/resources/Projects/ProjectInterfaces.ts | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/resources/Projects/ProjectInterfaces.ts b/src/resources/Projects/ProjectInterfaces.ts index 345245533..375d9d758 100644 --- a/src/resources/Projects/ProjectInterfaces.ts +++ b/src/resources/Projects/ProjectInterfaces.ts @@ -28,11 +28,37 @@ export const projectResourceTypes = [ export type ProjectResourceType = (typeof projectResourceTypes)[number]; +/** + * Enum representing the possible project types. + * + * @enum {string} + */ export enum ProjectType { + CaseDeflection = 'CASE_DEFLECTION', Commerce = 'COMMERCE', + CommunityPortal = 'COMMUNITY_PORTAL', + CorporateWebsite = 'CORPORATE_WEBSITE', + HrEmployeePortal = 'HR_EMPLOYEE_PORTAL', + Intranet = 'INTRANET', + InProductSearch = 'IN_PRODUCT_SEARCH', + ItEmployeePortal = 'IT_EMPLOYEE_PORTAL', Other = 'OTHER', + SupportExperience = 'SUPPORT_EXPERIENCE', + SupportPortal = 'SUPPORT_PORTAL', + + /** + * @deprecated Use SupportPortal instead + */ Service = 'SERVICE', + + /** + * @deprecated Use CorporateWebsite instead + */ Website = 'WEBSITE', + + /** + * @deprecated Use Intranet instead + */ Workplace = 'WORKPLACE', }