Scheduling infrastructure for absolutely everyone.
feat: 8x8 app-store setup (#9015)
Shivam Kalra92b2d5787191
diff --git a/packages/app-store/apps.metadata.generated.ts b/packages/app-store/apps.metadata.generated.tsindex db829a26f2e..093ab0365f2 100644--- a/packages/app-store/apps.metadata.generated.ts+++ b/packages/app-store/apps.metadata.generated.ts@@ -11,6 +11,7 @@ import closecom_config_json from "./closecom/config.json";import cron_config_json from "./cron/config.json";import { metadata as dailyvideo__metadata_ts } from "./dailyvideo/_metadata";import discord_config_json from "./discord/config.json";+import eightxeight_config_json from "./eightxeight/config.json";import { metadata as exchange2013calendar__metadata_ts } from "./exchange2013calendar/_metadata";import { metadata as exchange2016calendar__metadata_ts } from "./exchange2016calendar/_metadata";import exchangecalendar_config_json from "./exchangecalendar/config.json";@@ -75,6 +76,7 @@ export const appStoreMetadata = {cron: cron_config_json,dailyvideo: dailyvideo__metadata_ts,discord: discord_config_json,+ eightxeight: eightxeight_config_json,exchange2013calendar: exchange2013calendar__metadata_ts,exchange2016calendar: exchange2016calendar__metadata_ts,exchangecalendar: exchangecalendar_config_json,diff --git a/packages/app-store/apps.server.generated.ts b/packages/app-store/apps.server.generated.tsindex cabd37632f9..b9f0998801c 100644--- a/packages/app-store/apps.server.generated.ts+++ b/packages/app-store/apps.server.generated.ts@@ -11,6 +11,7 @@ export const apiHandlers = {closecom: import("./closecom/api"),cron: import("./cron/api"),discord: import("./discord/api"),+ eightxeight: import("./eightxeight/api"),exchange2013calendar: import("./exchange2013calendar/api"),exchange2016calendar: import("./exchange2016calendar/api"),exchangecalendar: import("./exchangecalendar/api"),diff --git a/packages/app-store/eightxeight/DESCRIPTION.md b/packages/app-store/eightxeight/DESCRIPTION.mdnew file mode 100644index 00000000000..4831ab5fd26--- /dev/null+++ b/packages/app-store/eightxeight/DESCRIPTION.md@@ -0,0 +1,12 @@+---+items:+ - 1.jpeg+ - 2.jpeg+---++{DESCRIPTION}+- High definition video conferencing on any device for up to 500 participants+- Rich content sharing and collaboration+- Enterprise grade reliability and availability for a business of five or 50,000+- 100% secured and encrypted+- Copy your room link and start scheduling calls in 8x8\ No newline at end of filediff --git a/packages/app-store/eightxeight/api/add.ts b/packages/app-store/eightxeight/api/add.tsnew file mode 100644index 00000000000..9a4afb9b2cb--- /dev/null+++ b/packages/app-store/eightxeight/api/add.ts@@ -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 }) =>+ createDefaultInstallation({ appType, userId: user.id, slug, key: {} }),+};++export default handler;diff --git a/packages/app-store/eightxeight/api/index.ts b/packages/app-store/eightxeight/api/index.tsnew file mode 100644index 00000000000..4c0d2ead01e--- /dev/null+++ b/packages/app-store/eightxeight/api/index.ts@@ -0,0 +1 @@+export { default as add } from "./add";diff --git a/packages/app-store/eightxeight/config.json b/packages/app-store/eightxeight/config.jsonnew file mode 100644index 00000000000..781a2a13488--- /dev/null+++ b/packages/app-store/eightxeight/config.json@@ -0,0 +1,28 @@+{+ "/*": "Don't modify slug - If required, do it using cli edit command",+ "name": "8x8",+ "slug": "eightxeight",+ "type": "eightxeight_video",+ "logo": "icon.svg",+ "url": "https://cal.com/apps/eightxeight",+ "variant": "conferencing",+ "categories": [+ "video"+ ],+ "publisher": "shivamklr",+ "email": "[email protected]",+ "appData": {+ "location": {+ "type": "integrations:{SLUG}_video",+ "label": "{TITLE}",+ "linkType": "static",+ "organizerInputPlaceholder": "https://8x8.vc/company",+ "urlRegExp": "^(http|https)://(www\\.)?8x8.vc/[a-zA-Z0-9]*"+ }+ },+ "description": "The best video conferencing solution for businesses of any size. Fully secure, reliable, packed with features and ridiculously simple to use.\r\r",+ "isTemplate": false,+ "__createdUsingCli": true,+ "__template": "event-type-location-video-static",+ "dirName": "eightxeight"+}\ No newline at end of filediff --git a/packages/app-store/eightxeight/index.ts b/packages/app-store/eightxeight/index.tsnew file mode 100644index 00000000000..d7f36022040--- /dev/null+++ b/packages/app-store/eightxeight/index.ts@@ -0,0 +1 @@+export * as api from "./api";diff --git a/packages/app-store/eightxeight/package.json b/packages/app-store/eightxeight/package.jsonnew file mode 100644index 00000000000..9b17d187a16--- /dev/null+++ b/packages/app-store/eightxeight/package.json@@ -0,0 +1,14 @@+{+ "$schema": "https://json.schemastore.org/package.json",+ "private": true,+ "name": "@calcom/eightxeight",+ "version": "0.0.0",+ "main": "./index.ts",+ "dependencies": {+ "@calcom/lib": "*"+ },+ "devDependencies": {+ "@calcom/types": "*"+ },+ "description": "The best video conferencing solution for businesses of any size. Fully secure, reliable, packed with features and ridiculously simple to use.\r\r"+}diff --git a/packages/app-store/eightxeight/static/1.jpeg b/packages/app-store/eightxeight/static/1.jpegnew file mode 100644index 00000000000..3d7dfce47c2Binary files /dev/null and b/packages/app-store/eightxeight/static/1.jpeg differdiff --git a/packages/app-store/eightxeight/static/2.jpeg b/packages/app-store/eightxeight/static/2.jpegnew file mode 100644index 00000000000..6d53580982aBinary files /dev/null and b/packages/app-store/eightxeight/static/2.jpeg differdiff --git a/packages/app-store/eightxeight/static/icon.svg b/packages/app-store/eightxeight/static/icon.svgnew file mode 100644index 00000000000..20f3e28854a--- /dev/null+++ b/packages/app-store/eightxeight/static/icon.svg@@ -0,0 +1,22 @@+<?xml version="1.0" encoding="utf-8"?>+<!-- Generator: Adobe Illustrator 24.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->+<svg version="1.1" 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 288 288" style="enable-background:new 0 0 288 288;" xml:space="preserve">+<style type="text/css">+ .st0{fill:#CB2233;}+ .st1{fill:#FFFFFF;}+</style>+<rect x="-0.2" y="0.5" class="st0" width="288" height="288"/>+<path class="st1" d="M172.7,132.1h-21.9l-5,9.6c-0.5,1.1-1.1,2.2-1.8,3.2h-0.2c0,0-1-1.7-1.8-3.2l-5-9.6h-21.9l17.2,26.5l-17.1,26.5+ h21.5l5.8-11.1c0.6-1,1.4-3,1.4-3h0.2c0,0,0.8,2,1.4,3l5.9,11.1h21.5l-17.1-26.5L172.7,132.1L172.7,132.1z"/>+<path class="st1" d="M75.9,171.7c-5.9,0.1-10.7-4.5-10.9-10.4c0,0,0-0.1,0-0.1c0.1-4.1,1.9-8.1,4.8-11c8.8,4,16.9,7.1,16.9,12.2+ C86.7,168.4,82.6,171.7,75.9,171.7L75.9,171.7z M76.5,117.3c5.9,0,9.5,3.3,9.5,8.3c-0.1,3.9-1.2,7.7-3.2,11.1+ c-7.9-3.4-14.5-6.4-14.5-12.4C68.3,120.4,70.8,117.3,76.5,117.3z M98.7,144.5c0.9-1.1,8.8-10.9,8.8-20.6c0-16.8-13.8-26.1-30.5-26.1+ c-21.1,0-30.3,12.9-30.3,26c0,7.7,3.4,13.1,8.2,17.3c-2.8,2.1-12.5,10.4-12.5,22c0,14.4,11.5,28,33.4,28c22.3,0,33.4-13.8,33.4-27.5+ C109.3,154.5,104.8,148.7,98.7,144.5L98.7,144.5z"/>+<path class="st1" d="M211.7,171.7c-5.9,0.1-10.7-4.5-10.8-10.4c0,0,0-0.1,0-0.1c0.1-4.1,1.8-8.1,4.8-11c8.8,4,16.9,7.1,16.9,12.2+ C222.5,168.4,218.4,171.7,211.7,171.7L211.7,171.7z M212.3,117.3c5.9,0,9.5,3.3,9.5,8.3c-0.1,3.9-1.2,7.7-3.2,11.1+ c-7.9-3.4-14.5-6.4-14.5-12.4C204.1,120.4,206.7,117.3,212.3,117.3z M234.5,144.5c0.9-1.1,8.8-10.9,8.8-20.6+ c0-16.8-13.8-26.1-30.6-26.1c-21.1,0-30.3,12.9-30.3,26c0,7.7,3.4,13.1,8.2,17.3c-2.8,2.1-12.5,10.4-12.5,22c0,14.4,11.5,28,33.4,28+ c22.3,0,33.4-13.8,33.4-27.5C245.1,154.5,240.6,148.7,234.5,144.5L234.5,144.5z"/>+</svg>