feat: added chatbase app (#18302)

This commit is contained in:
Peer Richelsen
2024-12-20 17:50:19 +00:00
committed by GitHub
parent d72a954896
commit 6f1556a2fd
13 changed files with 77 additions and 0 deletions
@@ -13,6 +13,7 @@ import bolna_config_json from "./bolna/config.json";
import { metadata as caldavcalendar__metadata_ts } from "./caldavcalendar/_metadata";
import campfire_config_json from "./campfire/config.json";
import campsite_config_json from "./campsite/config.json";
import chatbase_config_json from "./chatbase/config.json";
import clic_config_json from "./clic/config.json";
import closecom_config_json from "./closecom/config.json";
import cron_config_json from "./cron/config.json";
@@ -112,6 +113,7 @@ export const appStoreMetadata = {
caldavcalendar: caldavcalendar__metadata_ts,
campfire: campfire_config_json,
campsite: campsite_config_json,
chatbase: chatbase_config_json,
clic: clic_config_json,
closecom: closecom_config_json,
cron: cron_config_json,
@@ -14,6 +14,7 @@ export const apiHandlers = {
caldavcalendar: import("./caldavcalendar/api"),
campfire: import("./campfire/api"),
campsite: import("./campsite/api"),
chatbase: import("./chatbase/api"),
clic: import("./clic/api"),
closecom: import("./closecom/api"),
cron: import("./cron/api"),
@@ -0,0 +1,12 @@
---
items:
- 1.jpg
- 2.jpg
- 3.jpg
---
# Custom ChatGPT for your business
Build a custom GPT, embed it on your website and let it handle customer support, lead generation, engage with your users, and more.
{DESCRIPTION}
+20
View File
@@ -0,0 +1,20 @@
import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";
import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";
import appConfig from "../config.json";
const handler: AppDeclarativeHandler = {
appType: appConfig.type,
variant: appConfig.variant,
slug: appConfig.slug,
supportsMultipleInstalls: false,
handlerType: "add",
redirect: {
newTab: true,
url: "https://www.chatbase.co/guide/cal",
},
createCredential: ({ appType, user, slug, teamId }) =>
createDefaultInstallation({ appType, user: user, slug, key: {}, teamId }),
};
export default handler;
+1
View File
@@ -0,0 +1 @@
export { default as add } from "./add";
+16
View File
@@ -0,0 +1,16 @@
{
"/*": "Don't modify slug - If required, do it using cli edit command",
"name": "Chatbase",
"slug": "chatbase",
"type": "chatbase_other",
"logo": "icon-dark.svg",
"url": "https://www.chatbase.co/guide/cal",
"variant": "other",
"categories": ["other"],
"publisher": "Chatbase",
"email": "sandra@chatbase.co",
"description": "Add Cal.com to your Chatbase AI Chatbot and accept bookings right inside chat.",
"isTemplate": false,
"__createdUsingCli": true,
"__template": "link-as-an-app"
}
+1
View File
@@ -0,0 +1 @@
export * as api from "./api";
+14
View File
@@ -0,0 +1,14 @@
{
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"name": "@calcom/chatbase",
"version": "0.0.0",
"main": "./index.ts",
"dependencies": {
"@calcom/lib": "*"
},
"devDependencies": {
"@calcom/types": "*"
},
"description": "Add Cal.com to your Chatbase AI Chatbot and accept bookings right inside chat."
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

@@ -0,0 +1,10 @@
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.85714 0.404297H1.33333C0.596954 0.404297 0 1.00125 0 1.73763V4.26144C0 4.99782 0.596954 5.59477 1.33333 5.59477H3.85714C4.59352 5.59477 5.19048 4.99782 5.19048 4.26144V1.73763C5.19048 1.00125 4.59352 0.404297 3.85714 0.404297Z" fill="#09090B"/>
<path d="M4.02316 2.61876H3.18506C3.1803 2.55299 3.16419 2.48855 3.13744 2.42828C3.113 2.3724 3.07704 2.3223 3.03191 2.28127C2.98678 2.24024 2.93349 2.2092 2.87554 2.19019C2.80692 2.16493 2.73437 2.15203 2.66125 2.15209C2.5184 2.15209 2.40411 2.18542 2.30887 2.25209C2.21363 2.31876 2.13744 2.41876 2.08983 2.54257C2.04221 2.67114 2.0184 2.82352 2.0184 2.99971C2.0184 3.19019 2.04221 3.34257 2.08983 3.47114C2.14221 3.59495 2.21363 3.69019 2.30887 3.75685C2.40411 3.81876 2.5184 3.85209 2.65649 3.85209C2.73268 3.85209 2.79935 3.8378 2.86125 3.81876C2.9184 3.79971 2.97078 3.77114 3.0184 3.73304C3.06602 3.69971 3.09935 3.65209 3.12792 3.59971C3.15649 3.55209 3.17554 3.49019 3.18506 3.42352L4.02316 3.42828C4.01078 3.56555 3.97368 3.69945 3.91363 3.82352C3.77325 4.11755 3.52646 4.34732 3.22316 4.46638C3.03653 4.53885 2.83762 4.57443 2.63744 4.57114C2.35649 4.57114 2.10411 4.50923 1.88506 4.39019C1.66235 4.26708 1.48033 4.08175 1.36125 3.85685C1.22792 3.62352 1.16602 3.3378 1.16602 2.99971C1.16602 2.65685 1.23268 2.37114 1.36125 2.14257C1.49459 1.90447 1.67078 1.72828 1.88983 1.60923C2.28608 1.41139 2.74378 1.37552 3.16602 1.50923C3.32792 1.55685 3.47078 1.6378 3.59459 1.7378C3.7179 1.8396 3.81848 1.96613 3.88983 2.10923C3.96125 2.25685 4.00887 2.42828 4.02316 2.61876Z" fill="white"/>
<mask id="mask0_2819_55" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="1" y="1" width="3" height="4">
<path d="M1.97619 1.5L2.42857 2.19048L2.97619 3.78571L3.09524 4.54762L1.59524 4.64286L1 3.78571L1.16667 2.11905L1.97619 1.5Z" fill="#A1A1AA"/>
</mask>
<g mask="url(#mask0_2819_55)">
<path d="M4.02316 2.61876H3.18506C3.1803 2.55299 3.16419 2.48855 3.13744 2.42828C3.113 2.3724 3.07704 2.3223 3.03191 2.28127C2.98678 2.24024 2.93349 2.2092 2.87554 2.19019C2.80692 2.16493 2.73437 2.15203 2.66125 2.15209C2.5184 2.15209 2.40411 2.18542 2.30887 2.25209C2.21363 2.31876 2.13744 2.41876 2.08983 2.54257C2.04221 2.67114 2.0184 2.82352 2.0184 2.99971C2.0184 3.19019 2.04221 3.34257 2.08983 3.47114C2.14221 3.59495 2.21363 3.69019 2.30887 3.75685C2.40411 3.81876 2.5184 3.85209 2.65649 3.85209C2.73268 3.85209 2.79935 3.8378 2.86125 3.81876C2.9184 3.79971 2.97078 3.77114 3.0184 3.73304C3.06602 3.69971 3.09935 3.65209 3.12792 3.59971C3.15649 3.55209 3.17554 3.49019 3.18506 3.42352L4.02316 3.42828C4.01078 3.56555 3.97368 3.69945 3.91363 3.82352C3.77325 4.11755 3.52646 4.34732 3.22316 4.46638C3.03653 4.53885 2.83762 4.57443 2.63744 4.57114C2.35649 4.57114 2.10411 4.50923 1.88506 4.39019C1.66235 4.26708 1.48033 4.08175 1.36125 3.85685C1.22792 3.62352 1.16602 3.3378 1.16602 2.99971C1.16602 2.65685 1.23268 2.37114 1.36125 2.14257C1.49459 1.90447 1.67078 1.72828 1.88983 1.60923C2.28608 1.41139 2.74378 1.37552 3.16602 1.50923C3.32792 1.55685 3.47078 1.6378 3.59459 1.7378C3.7179 1.8396 3.81848 1.96613 3.88983 2.10923C3.96125 2.25685 4.00887 2.42828 4.02316 2.61876Z" fill="#B2AEB9"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB