From 24440915a37022ed0f999cd603e4cc96085e688b Mon Sep 17 00:00:00 2001 From: Toofff Date: Wed, 18 Dec 2024 15:19:41 -0500 Subject: [PATCH] feat: update SourceType enum - CTCORE-10551 (#899) - rename the GENERIC key to GENERIC_REST to match its value - rename the MICROSOFT key to MICROSOFT_DYNAMICS to match its value - added SourceType: SALESFORCE_SITES & SAP - delete SourceType: - BOX - BOX_ENTERPRISE - DROPBOX - EXCHANGE - EXCHANGE_ENTERPRISE - GMAIL - GMAIL_DOMAIN_WIDE - GMAIL_SINGLE_USER - GOOGLE_DRIVE_SINGLE_USER - ONEDRIVE - SHAREPOINT_ONLINE - TWITTER2 --- src/resources/Enums.ts | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/src/resources/Enums.ts b/src/resources/Enums.ts index afdbb0d2..9cae4e29 100644 --- a/src/resources/Enums.ts +++ b/src/resources/Enums.ts @@ -132,28 +132,25 @@ export enum SourceStatusTypeWithTransition { } export enum SourceType { + /** + * @deprecated + */ ADOBE_EXPERIENCE_MANAGER = 'ADOBE_EXPERIENCE_MANAGER', AMAZONS3 = 'AMAZONS3', - BOX = 'BOX', - BOX_ENTERPRISE = 'BOX_ENTERPRISE', BOX_ENTERPRISE2 = 'BOX_ENTERPRISE2', CATALOG = 'CATALOG', + /** + * @deprecated + */ CONFLUENCE = 'CONFLUENCE', CONFLUENCE2 = 'CONFLUENCE2', CONFLUENCE2_HOSTED = 'CONFLUENCE2_HOSTED', CUSTOM = 'CUSTOM', DATABASE = 'DATABASE', - DROPBOX = 'DROPBOX', DROPBOX_FOR_BUSINESS = 'DROPBOX_FOR_BUSINESS', - EXCHANGE = 'EXCHANGE', - EXCHANGE_ENTERPRISE = 'EXCHANGE_ENTERPRISE', FILE = 'FILE', - GENERIC = 'GENERIC_REST', - GMAIL = 'GMAIL', - GMAIL_DOMAIN_WIDE = 'GMAIL_DOMAIN_WIDE', - GMAIL_SINGLE_USER = 'GMAIL_SINGLE_USER', + GENERIC_REST = 'GENERIC_REST', GOOGLE_DRIVE_DOMAIN_WIDE = 'GOOGLE_DRIVE_DOMAIN_WIDE', - GOOGLE_DRIVE_SINGLE_USER = 'GOOGLE_DRIVE_SINGLE_USER', GRAPHQL = 'GRAPHQL', JIRA2 = 'JIRA2', JIRA2_HOSTED = 'JIRA2_HOSTED', @@ -161,19 +158,18 @@ export enum SourceType { JIVE_HOSTED = 'JIVE_HOSTED', KHOROS = 'KHOROS', LITHIUM = 'LITHIUM', - MICROSOFT = 'MICROSOFT_DYNAMICS', - ONEDRIVE = 'ONEDRIVE_FOR_BUSINESS', + MICROSOFT_DYNAMICS = 'MICROSOFT_DYNAMICS', PUSH = 'PUSH', RSS = 'RSS', SALESFORCE = 'SALESFORCE', + SALESFORCE_SITES = 'SALESFORCE_SITES', + SAP = 'SAP', SERVICENOW = 'SERVICENOW', SHAREPOINT = 'SHAREPOINT', - SHAREPOINT_ONLINE = 'SHAREPOINT_ONLINE', SHAREPOINT_ONLINE2 = 'SHAREPOINT_ONLINE2', SITECORE = 'SITECORE', SITEMAP = 'SITEMAP', SLACK = 'SLACK', - TWITTER2 = 'TWITTER2', WEB2 = 'WEB2', YOUTUBE = 'YOUTUBE', ZENDESK = 'ZENDESK',