Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions packages/builder/assets/rest-template-icons/rocketchat.svg

This file was deleted.

130 changes: 0 additions & 130 deletions packages/builder/src/stores/builder/restTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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: [
Expand Down Expand Up @@ -1603,7 +1474,6 @@ const INITIAL_REST_TEMPLATES_STATE: RestTemplatesState = {
],
templateGroups: [
microsoftSharepointRestTemplateGroup,
rocketChatRestTemplateGroup,
twilioRestTemplateGroup,
zendeskRestTemplateGroup,
],
Expand Down
17 changes: 0 additions & 17 deletions packages/types/src/ui/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,16 @@ export type RestTemplateName =
| MicrosoftSharepointRestTemplateName
| TwilioRestTemplateName
| ZendeskRestTemplateName
| RocketChatRestTemplateName

export type RestTemplateGroupName =
| "Microsoft SharePoint"
| "Rocket.Chat"
| "Twilio"
| "Zendesk"

export type RestTemplateGroups = {
"Microsoft SharePoint": MicrosoftSharepointRestTemplateName
Twilio: TwilioRestTemplateName
Zendesk: ZendeskRestTemplateName
"Rocket.Chat": RocketChatRestTemplateName
}

export type TwilioRestTemplateName =
Expand Down Expand Up @@ -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
Expand Down
Loading