From 863ffcd1e34d59e6cc6f8c09faff62a04e232858 Mon Sep 17 00:00:00 2001 From: Adlet Zeineken Date: Wed, 11 Dec 2024 08:18:41 -0800 Subject: [PATCH] Sync WWW CarePlatformVertical enum with CareVertical in thrift IDL Summary: Added a BREEZE enum case to CareVertical enum in Thrift IDL for syncing with CarePlatformVertical in www. Syncing is important for having consistent enum cases and generating correct enums in correct order in www side using ThriftSync command. Differential Revision: D66961334 fbshipit-source-id: ba1db10d8bbf3b8ec2cd57be715105030a285787 --- ...sforce_case_with_mail_draft_service.thrift | 24 ++++--------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/third-party/thrift/src/thrift/care_platform_client/if/create_salesforce_case_with_mail/create_salesforce_case_with_mail_draft_service.thrift b/third-party/thrift/src/thrift/care_platform_client/if/create_salesforce_case_with_mail/create_salesforce_case_with_mail_draft_service.thrift index 37be22cdf0018..efa6d99aee2c7 100644 --- a/third-party/thrift/src/thrift/care_platform_client/if/create_salesforce_case_with_mail/create_salesforce_case_with_mail_draft_service.thrift +++ b/third-party/thrift/src/thrift/care_platform_client/if/create_salesforce_case_with_mail/create_salesforce_case_with_mail_draft_service.thrift @@ -49,21 +49,6 @@ enum CaseVisibility { PUBLIC = 1, } -enum CareVertical { - EC = 0, - HELPDESK = 1, - HRHOME = 2, - HRHUB = 3, - LEGALHUB = 4, - MULESOFT_CLOUDHUB = 5, - PAYMENT_PARTNER = 6, - PEEPS = 7, - PRIVACY_PORTAL = 8, - RL = 9, - SUPPLYCHAIN = 10, - TEST_VERTICAL = 11, -} - struct Info { 1: CareContactInfo contact_info; 2: string subject; @@ -100,11 +85,10 @@ struct EmailMessageInfo { struct CreateSalesforceCaseWithMailDraftRequest { 1: optional string session_id; 2: Info info; - 3: CareVertical vertical; - 4: string case_intake_classification_key; - 5: optional bool dry_run; - 6: optional list subscribers; - 7: optional EmailMessageInfo email_message_info; + 3: string case_intake_classification_key; + 4: optional bool dry_run; + 5: optional list subscribers; + 6: optional EmailMessageInfo email_message_info; } service CreateSalesforceCaseWithMailDraftService {