feat: add Dialpad conferencing (#15444)

* feat: Dialpad conferencing

* update

* final update

* refactor

* update

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
This commit is contained in:
Anik Dhabal Babu
2024-10-23 19:47:09 +05:30
committed by GitHub
co-authored by Keith Williams
parent 3ddef59761
commit 4caec83c8f
13 changed files with 86 additions and 0 deletions
@@ -19,6 +19,7 @@ import cron_config_json from "./cron/config.json";
import { metadata as dailyvideo__metadata_ts } from "./dailyvideo/_metadata";
import deel_config_json from "./deel/config.json";
import demodesk_config_json from "./demodesk/config.json";
import dialpad_config_json from "./dialpad/config.json";
import discord_config_json from "./discord/config.json";
import eightxeight_config_json from "./eightxeight/config.json";
import element_call_config_json from "./element-call/config.json";
@@ -117,6 +118,7 @@ export const appStoreMetadata = {
dailyvideo: dailyvideo__metadata_ts,
deel: deel_config_json,
demodesk: demodesk_config_json,
dialpad: dialpad_config_json,
discord: discord_config_json,
eightxeight: eightxeight_config_json,
"element-call": element_call_config_json,
@@ -19,6 +19,7 @@ export const apiHandlers = {
cron: import("./cron/api"),
deel: import("./deel/api"),
demodesk: import("./demodesk/api"),
dialpad: import("./dialpad/api"),
discord: import("./discord/api"),
eightxeight: import("./eightxeight/api"),
"element-call": import("./element-call/api"),
@@ -7,6 +7,7 @@ import campfire_config_json from "./campfire/config.json";
import campsite_config_json from "./campsite/config.json";
import { metadata as dailyvideo__metadata_ts } from "./dailyvideo/_metadata";
import demodesk_config_json from "./demodesk/config.json";
import dialpad_config_json from "./dialpad/config.json";
import discord_config_json from "./discord/config.json";
import eightxeight_config_json from "./eightxeight/config.json";
import element_call_config_json from "./element-call/config.json";
@@ -52,6 +53,7 @@ export const appStoreMetadata = {
campsite: campsite_config_json,
dailyvideo: dailyvideo__metadata_ts,
demodesk: demodesk_config_json,
dialpad: dialpad_config_json,
discord: discord_config_json,
eightxeight: eightxeight_config_json,
"element-call": element_call_config_json,
@@ -0,0 +1,8 @@
---
items:
- 1.jpeg
- 2.jpeg
- 3.jpeg
---
{DESCRIPTION}
+16
View File
@@ -0,0 +1,16 @@
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",
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";
+27
View File
@@ -0,0 +1,27 @@
{
"/*": "Don't modify slug - If required, do it using cli edit command",
"name": "dialpad",
"slug": "dialpad",
"type": "dialpad_conferencing",
"logo": "icon.svg",
"url": "https://meetings.dialpad.com/",
"variant": "conferencing",
"categories": [
"conferencing"
],
"publisher": "Cal.com",
"email": "help@cal.com",
"appData": {
"location": {
"type": "integrations:{SLUG}_video",
"label": "{TITLE}",
"linkType": "static",
"organizerInputPlaceholder": "https://meetings.dialpad.com/adb2002",
"urlRegExp": "^https:\\/\\/meetings\\.dialpad\\.com\\/[a-zA-Z0-9]+$"
}
},
"description": "A new way to meet, with built-in Ai",
"isTemplate": false,
"__createdUsingCli": true,
"__template": "event-type-location-video-static"
}
+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/dialpad",
"version": "0.0.0",
"main": "./index.ts",
"dependencies": {
"@calcom/lib": "*"
},
"devDependencies": {
"@calcom/types": "*"
},
"description": "A new way to meet, with built-in Ai"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 1014 719" style="enable-background:new 0 0 1014 719;" xml:space="preserve">
<style type="text/css">
.st0{fill:#6C3DFF;}
.st1{fill:none;}
</style>
<path class="st0" d="M682.3,180.4c-42.6,0-83.7,15.7-115.6,44c-32.2,28.6-53.1,67.9-58.9,110.5V88c0-1.1-0.6-2.1-1.7-2.5
c-1-0.4-2.2-0.2-2.9,0.6l-103,108.3c-21.7-9.3-45-14.1-68.6-14.1c-97.3,0-176.2,80.2-176.2,179.1s78.9,179.2,176.2,179.2
c42.6,0,83.7-15.7,115.6-44c32.2-28.6,53.1-67.9,58.9-110.5V631c0,1.5,1.1,2.7,2.6,2.7c0.7,0,1.5-0.3,2-0.8l103.1-108.3
c21.7,9.3,45,14.1,68.6,14.1c97.3,0,176.2-80.2,176.2-179.2S779.6,180.4,682.3,180.4z"/>
<rect x="114" y="58" class="st1" width="786" height="603"/>
</svg>

After

Width:  |  Height:  |  Size: 944 B