Skip to content

The open alternative to Salesforce, designed for AI.

Rename meeting bot app variables from RECALL_BOT_* to MEETING_BOT_* (#21878)

nitindd6fbbe854a5
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/README.md b/packages/twenty-apps/internal/twenty-meeting-bot/README.md
index 253ef3ff84f..a166e00b5ac 100644
--- a/packages/twenty-apps/internal/twenty-meeting-bot/README.md
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/README.md
@@ -31,11 +31,11 @@ A workspace admin can adjust bot behavior through application variables:
| Application variable | Default | Purpose |
| --- | --- | --- |
-| `RECALL_BOT_NAME` | `Twenty Meeting Bot` | Display name used when scheduling Recall.ai meeting bots. |
-| `RECALL_BOT_JOIN_EARLY_MINUTES` | `1` | How many minutes before the meeting start time the bot should join. Set to `0` to join at the scheduled start time. |
-| `RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS` | `1200` | How many seconds the bot waits in a meeting lobby before giving up and leaving. |
-| `RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS` | `1200` | How many seconds the bot stays in an empty meeting when no one else ever joins. |
-| `RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS` | `2` | How many seconds the bot keeps recording after everyone else leaves the meeting. |
+| `MEETING_BOT_NAME` | `Twenty Meeting Bot` | Display name the meeting bot uses when it joins a call. |
+| `MEETING_BOT_JOIN_EARLY_MINUTES` | `1` | How many minutes before the meeting start time the bot should join. Set to `0` to join at the scheduled start time. |
+| `MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS` | `1200` | How many seconds the bot waits in a meeting lobby before giving up and leaving. |
+| `MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS` | `1200` | How many seconds the bot stays in an empty meeting when no one else ever joins. |
+| `MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS` | `2` | How many seconds the bot keeps recording after everyone else leaves the meeting. |
### Configuring the webhook
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/package.json b/packages/twenty-apps/internal/twenty-meeting-bot/package.json
index 0502e168e99..fdcf2acab1e 100644
--- a/packages/twenty-apps/internal/twenty-meeting-bot/package.json
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/package.json
@@ -1,6 +1,6 @@
{
"name": "twenty-meeting-bot",
- "version": "0.1.2",
+ "version": "0.1.3",
"license": "MIT",
"engines": {
"node": "^24.5.0",
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/application-config.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/application-config.ts
index 437fb57a182..4ed31467808 100644
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/application-config.ts
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/application-config.ts
@@ -3,23 +3,23 @@ import { defineApplication } from 'twenty-sdk/define';
import { APP_DESCRIPTION } from 'src/constants/app-description';
import { APP_DISPLAY_NAME } from 'src/constants/app-display-name';
import { APPLICATION_UNIVERSAL_IDENTIFIER } from 'src/constants/application-universal-identifier';
-import { RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/recall-bot-everyone-left-timeout-seconds-app-variable-universal-identifier';
-import { RECALL_BOT_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/recall-bot-join-early-minutes-app-variable-universal-identifier';
-import { RECALL_BOT_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/recall-bot-name-app-variable-universal-identifier';
-import { RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/recall-bot-noone-joined-timeout-seconds-app-variable-universal-identifier';
-import { RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/recall-bot-waiting-room-timeout-seconds-app-variable-universal-identifier';
-import { DEFAULT_RECALL_BOT_JOIN_EARLY_MINUTES } from 'src/logic-functions/constants/default-recall-bot-join-early-minutes';
-import { DEFAULT_RECALL_BOT_NAME } from 'src/logic-functions/constants/default-recall-bot-name';
+import { MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/meeting-bot-everyone-left-timeout-seconds-app-variable-universal-identifier';
+import { MEETING_BOT_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/meeting-bot-join-early-minutes-app-variable-universal-identifier';
+import { MEETING_BOT_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/meeting-bot-name-app-variable-universal-identifier';
+import { MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/meeting-bot-noone-joined-timeout-seconds-app-variable-universal-identifier';
+import { MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER } from 'src/constants/meeting-bot-waiting-room-timeout-seconds-app-variable-universal-identifier';
+import { DEFAULT_MEETING_BOT_JOIN_EARLY_MINUTES } from 'src/logic-functions/constants/default-meeting-bot-join-early-minutes';
+import { DEFAULT_MEETING_BOT_NAME } from 'src/logic-functions/constants/default-meeting-bot-name';
import { DEFAULT_RECALL_REGION } from 'src/logic-functions/constants/default-recall-region';
+import { MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS } from 'src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds';
+import { MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds-env-var-name';
+import { MEETING_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-join-early-minutes-env-var-name';
+import { MEETING_BOT_NAME_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-name-env-var-name';
+import { MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS } from 'src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds';
+import { MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds-env-var-name';
+import { MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS } from 'src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds';
+import { MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds-env-var-name';
import { RECALL_API_KEY_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-api-key-env-var-name';
-import { RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS } from 'src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds';
-import { RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds-env-var-name';
-import { RECALL_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-join-early-minutes-env-var-name';
-import { RECALL_BOT_NAME_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-name-env-var-name';
-import { RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS } from 'src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds';
-import { RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds-env-var-name';
-import { RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS } from 'src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds';
-import { RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds-env-var-name';
import { RECALL_REGION_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-region-env-var-name';
import { RECALL_WEBHOOK_SECRET_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-webhook-secret-env-var-name';
@@ -29,43 +29,43 @@ export default defineApplication({
description: APP_DESCRIPTION,
logoUrl: 'public/logo.svg',
applicationVariables: {
- [RECALL_BOT_NAME_ENV_VAR_NAME]: {
- universalIdentifier: RECALL_BOT_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
- description: 'Display name used when scheduling Recall.ai meeting bots.',
+ [MEETING_BOT_NAME_ENV_VAR_NAME]: {
+ universalIdentifier: MEETING_BOT_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ description: 'Display name the meeting bot uses when it joins a call.',
isSecret: false,
- value: DEFAULT_RECALL_BOT_NAME,
+ value: DEFAULT_MEETING_BOT_NAME,
},
- [RECALL_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME]: {
+ [MEETING_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME]: {
universalIdentifier:
- RECALL_BOT_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ MEETING_BOT_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
description:
'How many minutes before the meeting start time the bot should join. Set to 0 to join at the scheduled start time.',
isSecret: false,
- value: String(DEFAULT_RECALL_BOT_JOIN_EARLY_MINUTES),
+ value: String(DEFAULT_MEETING_BOT_JOIN_EARLY_MINUTES),
},
- [RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME]: {
+ [MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME]: {
universalIdentifier:
- RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
description:
'How many seconds the bot waits in a meeting lobby before giving up and leaving.',
isSecret: false,
- value: String(RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS),
+ value: String(MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS),
},
- [RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME]: {
+ [MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME]: {
universalIdentifier:
- RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
description:
'How many seconds the bot stays in an empty meeting when no one else ever joins.',
isSecret: false,
- value: String(RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS),
+ value: String(MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS),
},
- [RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME]: {
+ [MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME]: {
universalIdentifier:
- RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
+ MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER,
description:
'How many seconds the bot keeps recording after everyone else leaves the meeting.',
isSecret: false,
- value: String(RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS),
+ value: String(MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS),
},
},
serverVariables: {
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-everyone-left-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-everyone-left-timeout-seconds-app-variable-universal-identifier.ts
new file mode 100644
index 00000000000..6197b972b7b
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-everyone-left-timeout-seconds-app-variable-universal-identifier.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ 'c866ddd4-fb7b-4cb4-8ad1-5599755e495c';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-join-early-minutes-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-join-early-minutes-app-variable-universal-identifier.ts
new file mode 100644
index 00000000000..3d4165ec0e3
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-join-early-minutes-app-variable-universal-identifier.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '0568ebb2-3f64-47de-8c0d-d367dfbb7462';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-name-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-name-app-variable-universal-identifier.ts
new file mode 100644
index 00000000000..51a8ac9177e
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-name-app-variable-universal-identifier.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ 'c54cbacd-ad10-40b4-9056-7aaf23846d64';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-noone-joined-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-noone-joined-timeout-seconds-app-variable-universal-identifier.ts
new file mode 100644
index 00000000000..60b8a04a009
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-noone-joined-timeout-seconds-app-variable-universal-identifier.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '241180e8-d864-4160-ad02-db44a9e8d395';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-waiting-room-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-waiting-room-timeout-seconds-app-variable-universal-identifier.ts
new file mode 100644
index 00000000000..bec5abdce41
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/meeting-bot-waiting-room-timeout-seconds-app-variable-universal-identifier.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
+ '12e4e14d-d539-4d07-b477-4773539dd20b';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-everyone-left-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-everyone-left-timeout-seconds-app-variable-universal-identifier.ts
deleted file mode 100644
index 3555cd8546d..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-everyone-left-timeout-seconds-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- 'c866ddd4-fb7b-4cb4-8ad1-5599755e495c';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-join-early-minutes-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-join-early-minutes-app-variable-universal-identifier.ts
deleted file mode 100644
index 6b41f80c9f4..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-join-early-minutes-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_JOIN_EARLY_MINUTES_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '0568ebb2-3f64-47de-8c0d-d367dfbb7462';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-name-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-name-app-variable-universal-identifier.ts
deleted file mode 100644
index a30824b424e..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-name-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_NAME_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- 'c54cbacd-ad10-40b4-9056-7aaf23846d64';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-noone-joined-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-noone-joined-timeout-seconds-app-variable-universal-identifier.ts
deleted file mode 100644
index cd9da509113..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-noone-joined-timeout-seconds-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '241180e8-d864-4160-ad02-db44a9e8d395';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-waiting-room-timeout-seconds-app-variable-universal-identifier.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-waiting-room-timeout-seconds-app-variable-universal-identifier.ts
deleted file mode 100644
index e2b81c227aa..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/constants/recall-bot-waiting-room-timeout-seconds-app-variable-universal-identifier.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS_APP_VARIABLE_UNIVERSAL_IDENTIFIER =
- '12e4e14d-d539-4d07-b477-4773539dd20b';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-meeting-bot-join-early-minutes.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-meeting-bot-join-early-minutes.ts
new file mode 100644
index 00000000000..4af45b74e94
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-meeting-bot-join-early-minutes.ts
@@ -0,0 +1 @@
+export const DEFAULT_MEETING_BOT_JOIN_EARLY_MINUTES = 1;
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-meeting-bot-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-meeting-bot-name.ts
new file mode 100644
index 00000000000..4c2a6f77e3a
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-meeting-bot-name.ts
@@ -0,0 +1 @@
+export const DEFAULT_MEETING_BOT_NAME = 'Twenty Meeting Bot';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-recall-bot-join-early-minutes.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-recall-bot-join-early-minutes.ts
deleted file mode 100644
index cbaa7b1a801..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-recall-bot-join-early-minutes.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const DEFAULT_RECALL_BOT_JOIN_EARLY_MINUTES = 1;
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-recall-bot-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-recall-bot-name.ts
deleted file mode 100644
index 4e0bacb9ed0..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/default-recall-bot-name.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const DEFAULT_RECALL_BOT_NAME = 'Twenty Meeting Bot';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds-env-var-name.ts
new file mode 100644
index 00000000000..25285992823
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds-env-var-name.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME =
+ 'MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds.ts
new file mode 100644
index 00000000000..e4c841805a5
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds.ts
@@ -0,0 +1 @@
+export const MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS = 2;
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-join-early-minutes-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-join-early-minutes-env-var-name.ts
new file mode 100644
index 00000000000..7cb8ac5121f
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-join-early-minutes-env-var-name.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME =
+ 'MEETING_BOT_JOIN_EARLY_MINUTES';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-name-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-name-env-var-name.ts
new file mode 100644
index 00000000000..efa200e15ef
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-name-env-var-name.ts
@@ -0,0 +1 @@
+export const MEETING_BOT_NAME_ENV_VAR_NAME = 'MEETING_BOT_NAME';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds-env-var-name.ts
new file mode 100644
index 00000000000..f530a83ca4e
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds-env-var-name.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME =
+ 'MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds.ts
new file mode 100644
index 00000000000..52ed2c3672a
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds.ts
@@ -0,0 +1 @@
+export const MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS = 20 * 60;
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds-env-var-name.ts
new file mode 100644
index 00000000000..ca872670bc4
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds-env-var-name.ts
@@ -0,0 +1,2 @@
+export const MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME =
+ 'MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds.ts
new file mode 100644
index 00000000000..42bfa924982
--- /dev/null
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds.ts
@@ -0,0 +1 @@
+export const MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS = 1200;
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-automatic-leave.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-automatic-leave.ts
index 633e4be73b7..5eb60dd57de 100644
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-automatic-leave.ts
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-automatic-leave.ts
@@ -1,9 +1,9 @@
import { isUndefined } from '@sniptt/guards';
+import { MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-everyone-left-timeout-seconds-env-var-name';
+import { MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-noone-joined-timeout-seconds-env-var-name';
+import { MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-waiting-room-timeout-seconds-env-var-name';
import { RECALL_BOT_EVERYONE_LEFT_MIN_ACTIVATE_AFTER_SECONDS } from 'src/logic-functions/constants/recall-bot-everyone-left-min-activate-after-seconds';
-import { RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds-env-var-name';
-import { RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds-env-var-name';
-import { RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds-env-var-name';
import { getApplicationVariableValue } from 'src/logic-functions/utils/get-application-variable-value.util';
import { isNonEmptyString } from 'src/logic-functions/utils/is-non-empty-string.util';
@@ -20,13 +20,13 @@ export const getRecallBotAutomaticLeave = ():
| RecallBotAutomaticLeave
| undefined => {
const waitingRoomTimeoutSeconds = getOptionalPositiveIntegerVariable(
- RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME,
+ MEETING_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME,
);
const nooneJoinedTimeoutSeconds = getOptionalPositiveIntegerVariable(
- RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME,
+ MEETING_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME,
);
const everyoneLeftTimeoutSeconds = getOptionalPositiveIntegerVariable(
- RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME,
+ MEETING_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME,
);
const automaticLeave: RecallBotAutomaticLeave = {};
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds-env-var-name.ts
deleted file mode 100644
index 687eb60710d..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds-env-var-name.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS_ENV_VAR_NAME =
- 'RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds.ts
deleted file mode 100644
index 94c5f147027..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-everyone-left-timeout-seconds.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const RECALL_BOT_EVERYONE_LEFT_TIMEOUT_SECONDS = 2;
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-join-early-minutes-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-join-early-minutes-env-var-name.ts
deleted file mode 100644
index 1d69f876093..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-join-early-minutes-env-var-name.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME =
- 'RECALL_BOT_JOIN_EARLY_MINUTES';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-name-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-name-env-var-name.ts
deleted file mode 100644
index 4d6d97f0705..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-name-env-var-name.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const RECALL_BOT_NAME_ENV_VAR_NAME = 'RECALL_BOT_NAME';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds-env-var-name.ts
deleted file mode 100644
index be178a91093..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds-env-var-name.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS_ENV_VAR_NAME =
- 'RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds.ts
deleted file mode 100644
index 2a4337a0a8d..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-noone-joined-timeout-seconds.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const RECALL_BOT_NOONE_JOINED_TIMEOUT_SECONDS = 20 * 60;
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds-env-var-name.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds-env-var-name.ts
deleted file mode 100644
index 673c9923337..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds-env-var-name.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export const RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS_ENV_VAR_NAME =
- 'RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS';
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds.ts
deleted file mode 100644
index e366ee008b3..00000000000
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/constants/recall-bot-waiting-room-timeout-seconds.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const RECALL_BOT_WAITING_ROOM_TIMEOUT_SECONDS = 1200;
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/domain/compute-recall-bot-join-at.util.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/domain/compute-recall-bot-join-at.util.ts
index bf6355a9a01..cfef069543a 100644
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/domain/compute-recall-bot-join-at.util.ts
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/domain/compute-recall-bot-join-at.util.ts
@@ -1,6 +1,6 @@
-import { DEFAULT_RECALL_BOT_JOIN_EARLY_MINUTES } from 'src/logic-functions/constants/default-recall-bot-join-early-minutes';
+import { DEFAULT_MEETING_BOT_JOIN_EARLY_MINUTES } from 'src/logic-functions/constants/default-meeting-bot-join-early-minutes';
import { MILLISECONDS_PER_MINUTE } from 'src/logic-functions/constants/milliseconds-per-minute';
-import { RECALL_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-join-early-minutes-env-var-name';
+import { MEETING_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-join-early-minutes-env-var-name';
import { getApplicationVariableValue } from 'src/logic-functions/utils/get-application-variable-value.util';
import { isNonEmptyString } from 'src/logic-functions/utils/is-non-empty-string.util';
@@ -19,16 +19,16 @@ export const computeRecallBotJoinAt = (meetingStartsAt: string): string => {
const getRecallBotJoinEarlyMinutes = (): number => {
const rawValue = getApplicationVariableValue(
- RECALL_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME,
+ MEETING_BOT_JOIN_EARLY_MINUTES_ENV_VAR_NAME,
);
if (!isNonEmptyString(rawValue)) {
- return DEFAULT_RECALL_BOT_JOIN_EARLY_MINUTES;
+ return DEFAULT_MEETING_BOT_JOIN_EARLY_MINUTES;
}
const joinEarlyMinutes = Number(rawValue.trim());
return Number.isInteger(joinEarlyMinutes) && joinEarlyMinutes >= 0
? joinEarlyMinutes
- : DEFAULT_RECALL_BOT_JOIN_EARLY_MINUTES;
+ : DEFAULT_MEETING_BOT_JOIN_EARLY_MINUTES;
};
diff --git a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/recall-api/get-recall-api-config.util.ts b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/recall-api/get-recall-api-config.util.ts
index a08a2f5b6b4..3bac96a9329 100644
--- a/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/recall-api/get-recall-api-config.util.ts
+++ b/packages/twenty-apps/internal/twenty-meeting-bot/src/logic-functions/recall-api/get-recall-api-config.util.ts
@@ -1,9 +1,9 @@
import { isUndefined } from '@sniptt/guards';
-import { DEFAULT_RECALL_BOT_NAME } from 'src/logic-functions/constants/default-recall-bot-name';
+import { DEFAULT_MEETING_BOT_NAME } from 'src/logic-functions/constants/default-meeting-bot-name';
import { DEFAULT_RECALL_REGION } from 'src/logic-functions/constants/default-recall-region';
+import { MEETING_BOT_NAME_ENV_VAR_NAME } from 'src/logic-functions/constants/meeting-bot-name-env-var-name';
import { RECALL_API_KEY_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-api-key-env-var-name';
-import { RECALL_BOT_NAME_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-bot-name-env-var-name';
import { RECALL_REGION_ENV_VAR_NAME } from 'src/logic-functions/constants/recall-region-env-var-name';
import { getApplicationVariableValue } from 'src/logic-functions/utils/get-application-variable-value.util';
import { isNonEmptyString } from 'src/logic-functions/utils/is-non-empty-string.util';
@@ -41,8 +41,8 @@ export const getRecallApiConfig = ():
) ?? DEFAULT_RECALL_REGION;
const botName =
normalizeOptionalString(
- getApplicationVariableValue(RECALL_BOT_NAME_ENV_VAR_NAME),
- ) ?? DEFAULT_RECALL_BOT_NAME;
+ getApplicationVariableValue(MEETING_BOT_NAME_ENV_VAR_NAME),
+ ) ?? DEFAULT_MEETING_BOT_NAME;
return {
success: true,