From 6459627b0ce7d97ba810d2eadc43ece105720353 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Wed, 14 Jan 2026 11:13:12 +0000 Subject: [PATCH] Remove Rocket.Chat REST template and logo --- .../assets/rest-template-icons/rocketchat.svg | 6 - .../src/stores/builder/restTemplates.ts | 130 ------------------ packages/types/src/ui/rest.ts | 17 --- 3 files changed, 153 deletions(-) delete mode 100644 packages/builder/assets/rest-template-icons/rocketchat.svg diff --git a/packages/builder/assets/rest-template-icons/rocketchat.svg b/packages/builder/assets/rest-template-icons/rocketchat.svg deleted file mode 100644 index 450b6ddd9a74..000000000000 --- a/packages/builder/assets/rest-template-icons/rocketchat.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/packages/builder/src/stores/builder/restTemplates.ts b/packages/builder/src/stores/builder/restTemplates.ts index 21ad00413740..4fcba65ee7be 100644 --- a/packages/builder/src/stores/builder/restTemplates.ts +++ b/packages/builder/src/stores/builder/restTemplates.ts @@ -65,7 +65,6 @@ import PodiumLogo from "assets/rest-template-icons/podium.svg" import RemoteLogo from "assets/rest-template-icons/remote.svg" import ResendLogo from "assets/rest-template-icons/resend.svg" import RiveryLogo from "assets/rest-template-icons/rivery.svg" -import RocketChatLogo from "assets/rest-template-icons/rocketchat.svg" import SageLogo from "assets/rest-template-icons/sage.svg" import SecodaLogo from "assets/rest-template-icons/secoda.svg" import ShipengineLogo from "assets/rest-template-icons/shipengine.svg" @@ -549,134 +548,6 @@ const microsoftSharepointRestTemplateGroup: RestTemplateGroup<"Microsoft SharePo }, ], } -const rocketChatRestTemplateGroup: RestTemplateGroup<"Rocket.Chat"> = { - name: "Rocket.Chat", - icon: RocketChatLogo, - verified: true, - description: "Open source team chat and omnichannel messaging platform APIs.", - templates: [ - { - name: "Rocket.Chat Authentication", - description: "Login, user auth, and session management endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/authentication.yaml", - }, - ], - }, - { - name: "Rocket.Chat Content Management", - description: "Content management and moderation endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/content-management.yaml", - }, - ], - }, - { - name: "Rocket.Chat Integrations", - description: "Incoming and outgoing integrations and webhooks.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/integrations.yaml", - }, - ], - }, - { - name: "Rocket.Chat Marketplace Apps", - description: "Marketplace app discovery, install, and management.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/marketplace-apps.yaml", - }, - ], - }, - { - name: "Rocket.Chat Messaging", - description: "Messages, threads, reactions, and uploads.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/messaging.yaml", - }, - ], - }, - { - name: "Rocket.Chat Miscellaneous", - description: "Utility and miscellaneous endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/miscellaneous.yaml", - }, - ], - }, - { - name: "Rocket.Chat Notifications", - description: "Push, email, and notification endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/notifications.yaml", - }, - ], - }, - { - name: "Rocket.Chat Omnichannel", - description: "Livechat, visitor, and omnichannel routing endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/omnichannel.yaml", - }, - ], - }, - { - name: "Rocket.Chat Rooms", - description: "Rooms, channels, and groups management endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/rooms.yaml", - }, - ], - }, - { - name: "Rocket.Chat Settings", - description: "Server settings and configuration endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/settings.yaml", - }, - ], - }, - { - name: "Rocket.Chat Statistics", - description: "Analytics and usage reporting endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/statistics.yaml", - }, - ], - }, - { - name: "Rocket.Chat User Management", - description: "User, role, and permission management endpoints.", - specs: [ - { - version: "1.0.0", - url: "https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/user-management.yaml", - }, - ], - }, - ], -} const INITIAL_REST_TEMPLATES_STATE: RestTemplatesState = { templates: [ @@ -1603,7 +1474,6 @@ const INITIAL_REST_TEMPLATES_STATE: RestTemplatesState = { ], templateGroups: [ microsoftSharepointRestTemplateGroup, - rocketChatRestTemplateGroup, twilioRestTemplateGroup, zendeskRestTemplateGroup, ], diff --git a/packages/types/src/ui/rest.ts b/packages/types/src/ui/rest.ts index 417d0ec783ea..ef59542c369d 100644 --- a/packages/types/src/ui/rest.ts +++ b/packages/types/src/ui/rest.ts @@ -87,11 +87,9 @@ export type RestTemplateName = | MicrosoftSharepointRestTemplateName | TwilioRestTemplateName | ZendeskRestTemplateName - | RocketChatRestTemplateName export type RestTemplateGroupName = | "Microsoft SharePoint" - | "Rocket.Chat" | "Twilio" | "Zendesk" @@ -99,7 +97,6 @@ export type RestTemplateGroups = { "Microsoft SharePoint": MicrosoftSharepointRestTemplateName Twilio: TwilioRestTemplateName Zendesk: ZendeskRestTemplateName - "Rocket.Chat": RocketChatRestTemplateName } export type TwilioRestTemplateName = @@ -149,20 +146,6 @@ export type MicrosoftSharepointRestTemplateName = | "SharePoint Shares" | "SharePoint Sites" -export type RocketChatRestTemplateName = - | "Rocket.Chat Authentication" - | "Rocket.Chat Content Management" - | "Rocket.Chat Integrations" - | "Rocket.Chat Marketplace Apps" - | "Rocket.Chat Messaging" - | "Rocket.Chat Miscellaneous" - | "Rocket.Chat Notifications" - | "Rocket.Chat Omnichannel" - | "Rocket.Chat Rooms" - | "Rocket.Chat Settings" - | "Rocket.Chat Statistics" - | "Rocket.Chat User Management" - export interface RestTemplate { name: RestTemplateName description: string