@acceliance/twenty-click-to-call 0.1.0 β 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dependencies/yarn.lock +2091 -2091
- package/manifest.json +29 -7
- package/package.json +1 -1
- package/public/gallery/1-call-button.png +0 -0
- package/public/gallery/2-call-logged-task.png +0 -0
- package/public/gallery/3-tasks-tab.png +0 -0
- package/public/logo.svg +0 -0
- package/src/constants/universal-identifiers.ts +0 -0
- package/src/front-components/call-on-mobile.mjs +0 -0
- package/src/front-components/call-on-mobile.mjs.map +0 -0
- package/src/front-components/call-on-mobile.tsx +0 -0
- package/src/logic-functions/health-check.mjs +0 -0
- package/src/logic-functions/health-check.mjs.map +1 -1
- package/src/logic-functions/health-check.ts +11 -11
- package/src/logic-functions/send-call-notification.mjs +0 -0
- package/src/logic-functions/send-call-notification.mjs.map +1 -1
- package/src/logic-functions/send-call-notification.ts +0 -0
- package/src/types/notify-result.ts +0 -0
- package/src/utils/build-tel-uri.ts +36 -36
- package/src/utils/topic-for-member.ts +0 -0
- package/tsconfig.json +37 -37
package/manifest.json
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
"author": "Acceliance",
|
|
7
7
|
"emailSupport": "contact@acceliance.fr",
|
|
8
8
|
"logo": "public/logo.svg",
|
|
9
|
+
"galleryImages": [
|
|
10
|
+
"public/gallery/1-call-button.png",
|
|
11
|
+
"public/gallery/2-call-logged-task.png",
|
|
12
|
+
"public/gallery/3-tasks-tab.png"
|
|
13
|
+
],
|
|
9
14
|
"websiteUrl": "https://github.com/acceliance/twenty-click-to-call",
|
|
10
15
|
"issueReportUrl": "https://github.com/acceliance/twenty-click-to-call/issues",
|
|
11
16
|
"applicationVariables": {
|
|
@@ -38,11 +43,10 @@
|
|
|
38
43
|
"isSecret": false
|
|
39
44
|
}
|
|
40
45
|
},
|
|
41
|
-
"galleryImages": [],
|
|
42
46
|
"defaultRoleUniversalIdentifier": "8730c5aa-9120-4ee6-b6bf-87120a1b12e6",
|
|
43
|
-
"aboutDescription": "[](https://www.acceliance.fr)\n\n# Click to Call for Twenty, offered by Acceliance\n\n**Your sales team calls contacts from their Android phone in one click, straight from [Twenty CRM](https://twenty.com), and every call is logged automatically. Free, open source, self-hostable.**\n\n[](https://www.acceliance.fr)\n[](LICENSE)\n[](https://www.npmjs.com/package/@acceliance/twenty-click-to-call)\n[](https://github.com/acceliance/twenty-click-to-call/actions/workflows/ci.yml)\n[](https://twenty.com)\n[](https://ntfy.sh)\n[](https://play.google.com/store/apps/details?id=io.heckel.ntfy)\n[](#languages)\n[](#requirements)\n\n> **Using Twenty for sales?** Acceliance built this app for its own team and **offers** it to the Twenty community.\n> Questions, feedback or a custom integration: **[contact@acceliance.fr](mailto:contact@acceliance.fr?subject=Twenty%20Click%20to%20Call)**.\n\n---\n\n## π Why Click to Call?\n\nSalespeople live in the CRM but call from their mobile. Copying numbers by hand is slow, error-prone, and calls rarely\nget logged.\n\n| | Before | With Click to Call |\n|---|---|---|\n| π **Dialing** | Read the number on screen, type it on the phone | One click in Twenty, one tap on the phone |\n| β
**Accuracy** | Typos, wrong country code | Number normalized to international format (`+33β¦`) |\n| π **Activity log** | Calls forgotten in the CRM | Every call logged as a done task on the contact, assigned to the caller |\n| ποΈ **Call notes** | Written later, if ever | The task opens right away in the side panel, ready for notes |\n| π **Privacy** | Numbers in third-party apps | Push through **your own** ntfy server; nothing else leaves your infrastructure |\n| π± **Setup** | Custom mobile app to build and maintain | The free ntfy Android app, configured in two minutes |\n\n## β¨ What it does\n\n1. Click **Call** on a person in Twenty.\n2. Your phone gets a push notification with the contact's name, company and number.\n3. Tap it: the phone's dialer opens with the number ready. Press call.\n4. The call is logged as a **done task** on the contact, assigned to you, and opens in the side panel so you can take notes.\n\nNotifications go through [ntfy](https://ntfy.sh), an open-source push service you can self-host. No custom mobile app is needed: your team uses the free ntfy Android app.\n\n> Android never lets an app place a call silently: the dialer opens and the user presses call.\n\n## How it works\n\n```\nPerson β[Call]ββΊ front component βPOST /s/click-to-call/notifyββΊ logic function\n reads the contact with the caller's permissions, builds +33β¦, publishes to ntfy topic <prefix><user>\n βΌ\n ntfy server ββΊ ntfy Android app βtapββΊ dialer (tel:+33β¦)\n```\n\nEach user receives notifications on their own topic: `<prefix>` + the part of their Twenty email before the `@`, made topic-safe. For `jane.doe@example.com` with the default prefix, that's `call-jane-doe`.\n\n## Requirements\n\n- Twenty 2.59 or later, with logic functions enabled on self-hosted servers (`LOGIC_FUNCTION_TYPE=LOCAL` or `LAMBDA`).\n- An ntfy server with access control. Self-hosting is strongly recommended: notifications contain contact names and phone numbers. A Docker setup takes a few minutes ([ntfy docs](https://docs.ntfy.sh/install/)).\n- Android phones with the [ntfy app](https://play.google.com/store/apps/details?id=io.heckel.ntfy).\n\n## Setup\n\n### 1. ntfy server\n\nRun ntfy with `auth-default-access: deny-all`, then create a publisher account and a token for Twenty:\n\n```bash\nntfy user add twenty\nntfy access twenty 'call-*' write-only\nntfy token add twenty # copy the tk_β¦ token\n```\n\nFor each Twenty user (here `jane.doe@example.com`):\n\n```bash\nntfy user add jane-doe\nntfy access jane-doe call-jane-doe read-only\n```\n\n### 2. App settings in Twenty\n\nInstall the app, then open **Settings β Apps β Click to Call β Variables**:\n\n| Variable | Required | Default | Description |\n| --- | --- | --- | --- |\n| `NTFY_URL` | yes | | Your ntfy server, e.g. `https://ntfy.example.com` |\n| `NTFY_TOKEN` | yes | | The publisher token (`tk_β¦`), stored as a secret |\n| `NTFY_TOPIC_PREFIX` | no | `call-` | Topic prefix for each user |\n| `CALL_TASK_TITLE` | no | `Call` | Title of the logged task (e.g. `Appel`). Empty = no task |\n\n### 3. Each phone\n\nIn the ntfy app: **Settings β Manage users β Add user** with your ntfy server and account, then **+** β topic `call-jane-doe`, tick **Use another server**, enter your server URL and turn on **Instant delivery**.\n\nReload Twenty after installing or updating the app to see the button.\n\n## Permissions\n\nThe app reads the contact and the caller's workspace member, and creates the call task and its link to the contact. It never deletes records. Every action runs with the clicking user's own permissions on top of the app's role.\n\n## Languages\n\nEnglish and French (`locales/`). Contributions for other languages are welcome: run `twenty app translations extract --locale <locale>`.\n\n## Development\n\nRequires Node 24.5+ and Yarn 4 (on Windows, use WSL 2).\n\n```bash\nnpm install -g twenty\nyarn install\ntwenty auth login --url https://your-twenty.example.com\nyarn typecheck && yarn test:unit\ntwenty app apply --create # first install; then `twenty app dev` or `twenty app apply`\n```\n\nReleases are published to npm from GitHub Actions with provenance (`.github/workflows/publish.yml`): bump `version` in `package.json`, then push a `vX.Y.Z` tag.\n\n## License\n\n[MIT](LICENSE) Β© Acceliance\n\n---\n\n## π Built by Acceliance\n\nClick to Call is a small example of how **Acceliance** connects business tools with automation: a CRM button, a\nserverless function, a self-hosted push service and the phone's own dialer, assembled into one smooth workflow with\nno new mobile app to maintain.\n\n- **Twenty CRM apps**: buttons, logic functions, workflows, data models and integrations for your sales process;\n- **AI automation**: knowledge graphs, RAG, agents (MCP, A2A), governed AI and model-centric architectures;\n- **Sovereign deployments**: on-premise or on the host of your choice, GDPR and AI Act ready.\n\nWant the same approach for your own processes? **[Let's talk](mailto:contact@acceliance.fr?subject=Twenty%20%2F%20AI%20project)**.\nSee also our free AI candidate-matching platform, [CVMatcher](https://github.com/acceliance/CVMatcher-Deploy), and our\nprompt generator, [MasterPrompter](https://masterprompter.acceliance.fr).\n\n## π€ About Acceliance\n\n**Acceliance** designs AI and automation architectures and solutions: knowledge graphs, RAG, agents, business\nmodeling, AI governance and sovereign deployments.\n\nπ§ [contact@acceliance.fr](mailto:contact@acceliance.fr) Β· π [www.acceliance.fr](https://www.acceliance.fr) Β·\nπ [github.com/acceliance](https://github.com/acceliance)\n\n**Your CRM knows who to call. Now your phone does too.**\n",
|
|
44
|
-
"yarnLockChecksum": "
|
|
45
|
-
"packageJsonChecksum": "
|
|
47
|
+
"aboutDescription": "[](https://www.acceliance.fr)\n\n# Click to Call for Twenty, offered by Acceliance\n\n**Your sales team calls contacts from their Android phone in one click, straight from [Twenty CRM](https://twenty.com), and every call is logged automatically. Free, open source, self-hostable.**\n\n[](https://www.acceliance.fr)\n[](LICENSE)\n[](https://www.npmjs.com/package/@acceliance/twenty-click-to-call)\n[](https://github.com/acceliance/twenty-click-to-call/actions/workflows/ci.yml)\n[](https://twenty.com)\n[](https://ntfy.sh)\n[](https://play.google.com/store/apps/details?id=io.heckel.ntfy)\n[](#languages)\n[](#requirements)\n\n> **Using Twenty for sales?** Acceliance built this app for its own team and **offers** it to the Twenty community.\n> Questions, feedback or a custom integration: **[contact@acceliance.fr](mailto:contact@acceliance.fr?subject=Twenty%20Click%20to%20Call)**.\n\n---\n\n## π Why Click to Call?\n\nSalespeople live in the CRM but call from their mobile. Copying numbers by hand is slow, error-prone, and calls rarely\nget logged.\n\n| | Before | With Click to Call |\n|---|---|---|\n| π **Dialing** | Read the number on screen, type it on the phone | One click in Twenty, one tap on the phone |\n| β
**Accuracy** | Typos, wrong country code | Number normalized to international format (`+33β¦`) |\n| π **Activity log** | Calls forgotten in the CRM | Every call logged as a done task on the contact, assigned to the caller |\n| ποΈ **Call notes** | Written later, if ever | The task opens right away in the side panel, ready for notes |\n| π **Privacy** | Numbers in third-party apps | Push through **your own** ntfy server; nothing else leaves your infrastructure |\n| π± **Setup** | Custom mobile app to build and maintain | The free ntfy Android app, configured in two minutes |\n\n## β¨ What it does\n\n1. Click **Call** on a person in Twenty.\n2. Your phone gets a push notification with the contact's name, company and number.\n3. Tap it: the phone's dialer opens with the number ready. Press call.\n4. The call is logged as a **done task** on the contact, assigned to you, and opens in the side panel so you can take notes.\n\nNotifications go through [ntfy](https://ntfy.sh), an open-source push service you can self-host. No custom mobile app is needed: your team uses the free ntfy Android app.\n\n> Android never lets an app place a call silently: the dialer opens and the user presses call.\n\n## πΈ Screenshots\n\n**1. One click on the contact.** The **Call** button (here in French, \"Appeler\") sits next to \"Send email\" on every person.\n\n\n\n**2. The call is logged and opened.** While the phone rings the dialer, Twenty creates a done task, assigned to you and linked to the contact, and opens it for your notes.\n\n\n\n**3. Every call stays in the contact's history.**\n\n\n\n*Screenshots use a fictional contact.*\n\n## How it works\n\n```\nPerson β[Call]ββΊ front component βPOST /s/click-to-call/notifyββΊ logic function\n reads the contact with the caller's permissions, builds +33β¦, publishes to ntfy topic <prefix><user>\n βΌ\n ntfy server ββΊ ntfy Android app βtapββΊ dialer (tel:+33β¦)\n```\n\nEach user receives notifications on their own topic: `<prefix>` + the part of their Twenty email before the `@`, made topic-safe. For `jane.doe@example.com` with the default prefix, that's `call-jane-doe`.\n\n## Requirements\n\n- Twenty 2.59 or later, with logic functions enabled on self-hosted servers (`LOGIC_FUNCTION_TYPE=LOCAL` or `LAMBDA`).\n- An ntfy server with access control. Self-hosting is strongly recommended: notifications contain contact names and phone numbers. A Docker setup takes a few minutes ([ntfy docs](https://docs.ntfy.sh/install/)).\n- Android phones with the [ntfy app](https://play.google.com/store/apps/details?id=io.heckel.ntfy).\n\n## Setup\n\n### 1. ntfy server\n\nRun ntfy with `auth-default-access: deny-all`, then create a publisher account and a token for Twenty:\n\n```bash\nntfy user add twenty\nntfy access twenty 'call-*' write-only\nntfy token add twenty # copy the tk_β¦ token\n```\n\nFor each Twenty user (here `jane.doe@example.com`):\n\n```bash\nntfy user add jane-doe\nntfy access jane-doe call-jane-doe read-only\n```\n\n### 2. App settings in Twenty\n\nInstall the app, then open **Settings β Apps β Click to Call β Variables**:\n\n| Variable | Required | Default | Description |\n| --- | --- | --- | --- |\n| `NTFY_URL` | yes | | Your ntfy server, e.g. `https://ntfy.example.com` |\n| `NTFY_TOKEN` | yes | | The publisher token (`tk_β¦`), stored as a secret |\n| `NTFY_TOPIC_PREFIX` | no | `call-` | Topic prefix for each user |\n| `CALL_TASK_TITLE` | no | `Call` | Title of the logged task (e.g. `Appel`). Empty = no task |\n\n### 3. Each phone\n\nIn the ntfy app: **Settings β Manage users β Add user** with your ntfy server and account, then **+** β topic `call-jane-doe`, tick **Use another server**, enter your server URL and turn on **Instant delivery**.\n\nReload Twenty after installing or updating the app to see the button.\n\n## Permissions\n\nThe app reads the contact and the caller's workspace member, and creates the call task and its link to the contact. It never deletes records. Every action runs with the clicking user's own permissions on top of the app's role.\n\n## Languages\n\nEnglish and French (`locales/`). Contributions for other languages are welcome: run `twenty app translations extract --locale <locale>`.\n\n## Development\n\nRequires Node 24.5+ and Yarn 4 (on Windows, use WSL 2).\n\n```bash\nnpm install -g twenty\nyarn install\ntwenty auth login --url https://your-twenty.example.com\nyarn typecheck && yarn test:unit\ntwenty app apply --create # first install; then `twenty app dev` or `twenty app apply`\n```\n\nReleases are published to npm from GitHub Actions with provenance (`.github/workflows/publish.yml`): bump `version` in `package.json`, then push a `vX.Y.Z` tag.\n\n## License\n\n[MIT](LICENSE) Β© Acceliance\n\n---\n\n## π Built by Acceliance\n\nClick to Call is a small example of how **Acceliance** connects business tools with automation: a CRM button, a\nserverless function, a self-hosted push service and the phone's own dialer, assembled into one smooth workflow with\nno new mobile app to maintain.\n\n- **Twenty CRM apps**: buttons, logic functions, workflows, data models and integrations for your sales process;\n- **AI automation**: knowledge graphs, RAG, agents (MCP, A2A), governed AI and model-centric architectures;\n- **Sovereign deployments**: on-premise or on the host of your choice, GDPR and AI Act ready.\n\nWant the same approach for your own processes? **[Let's talk](mailto:contact@acceliance.fr?subject=Twenty%20%2F%20AI%20project)**.\nSee also our free AI candidate-matching platform, [CVMatcher](https://github.com/acceliance/CVMatcher-Deploy), and our\nprompt generator, [MasterPrompter](https://masterprompter.acceliance.fr).\n\n## π€ About Acceliance\n\n**Acceliance** designs AI and automation architectures and solutions: knowledge graphs, RAG, agents, business\nmodeling, AI governance and sovereign deployments.\n\nπ§ [contact@acceliance.fr](mailto:contact@acceliance.fr) Β· π [www.acceliance.fr](https://www.acceliance.fr) Β·\nπ [github.com/acceliance](https://github.com/acceliance)\n\n**Your CRM knows who to call. Now your phone does too.**\n",
|
|
48
|
+
"yarnLockChecksum": "6c6b4084f1cf241045004a78ef14fe02",
|
|
49
|
+
"packageJsonChecksum": "7f1e5de6d8aead73cc416815ca9ae643",
|
|
46
50
|
"requiredServerVersionRange": ">=2.59.0",
|
|
47
51
|
"healthCheckLogicFunction": {
|
|
48
52
|
"universalIdentifier": "3c507fcc-391c-4e5d-b294-aef81dfd84de"
|
|
@@ -134,6 +138,24 @@
|
|
|
134
138
|
}
|
|
135
139
|
],
|
|
136
140
|
"publicAssets": [
|
|
141
|
+
{
|
|
142
|
+
"filePath": "public/gallery/1-call-button.png",
|
|
143
|
+
"fileName": "1-call-button.png",
|
|
144
|
+
"fileType": "png",
|
|
145
|
+
"checksum": "54696e88707c8307ad0a7b6315145888"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"filePath": "public/gallery/2-call-logged-task.png",
|
|
149
|
+
"fileName": "2-call-logged-task.png",
|
|
150
|
+
"fileType": "png",
|
|
151
|
+
"checksum": "d855cc57506c1aa0f840ccf60d3447ff"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"filePath": "public/gallery/3-tasks-tab.png",
|
|
155
|
+
"fileName": "3-tasks-tab.png",
|
|
156
|
+
"fileType": "png",
|
|
157
|
+
"checksum": "ac197dbe382c04881a6cc12745982d71"
|
|
158
|
+
},
|
|
137
159
|
{
|
|
138
160
|
"filePath": "public/logo.svg",
|
|
139
161
|
"fileName": "logo.svg",
|
|
@@ -173,7 +195,7 @@
|
|
|
173
195
|
},
|
|
174
196
|
{
|
|
175
197
|
"filePath": "src/logic-functions/health-check.ts",
|
|
176
|
-
"checksum": "
|
|
198
|
+
"checksum": "76226e2e68f38a18fc1bad7c17c1faf9"
|
|
177
199
|
},
|
|
178
200
|
{
|
|
179
201
|
"filePath": "src/logic-functions/send-call-notification.ts",
|
|
@@ -185,7 +207,7 @@
|
|
|
185
207
|
},
|
|
186
208
|
{
|
|
187
209
|
"filePath": "src/utils/build-tel-uri.ts",
|
|
188
|
-
"checksum": "
|
|
210
|
+
"checksum": "5042d3bb640ae37eb0c6e5afedb1658e"
|
|
189
211
|
},
|
|
190
212
|
{
|
|
191
213
|
"filePath": "src/utils/topic-for-member.ts",
|
|
@@ -193,7 +215,7 @@
|
|
|
193
215
|
},
|
|
194
216
|
{
|
|
195
217
|
"filePath": "tsconfig.json",
|
|
196
|
-
"checksum": "
|
|
218
|
+
"checksum": "8d3ba534b75f4ad2c989f966877f5973"
|
|
197
219
|
}
|
|
198
220
|
],
|
|
199
221
|
"translations": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acceliance/twenty-click-to-call",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Twenty CRM app: call a contact from your Android phone in one click (ntfy push opens the dialer) and log the call as a task.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Acceliance",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/logo.svg
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["twenty-sdk-define-stub:__twenty-sdk-define-stub__", "../../../../../../../src/constants/universal-identifiers.ts", "../../../../../../../src/logic-functions/health-check.ts"],
|
|
4
|
-
"sourcesContent": ["\n// Auto-generated stub for twenty-sdk/define injected by the Twenty CLI.\n// Real implementations would pull in zod, twenty-shared and ~1MB of code; at\n// runtime only `default.config.handler` is consumed, so tiny no-ops suffice.\nconst __defineFactoryStub = (config) => ({\n success: true,\n config,\n errors: [],\n});\n\nconst __anyHandler = {\n get(_target, prop) {\n if (prop === '__esModule') return true;\n if (prop === Symbol.toPrimitive) return () => '';\n if (typeof prop === 'symbol') return undefined;\n return new Proxy(() => undefined, __anyHandler);\n },\n apply() {\n return new Proxy(() => undefined, __anyHandler);\n },\n};\nconst __anyStub = new Proxy(() => undefined, __anyHandler);\n\nexport const createValidationResult = __defineFactoryStub;\nexport const defineAgent = __defineFactoryStub;\nexport const defineApplication = __defineFactoryStub;\nexport const defineApplicationRole = __defineFactoryStub;\nexport const defineCommandMenuItem = __defineFactoryStub;\nexport const defineConnectionProvider = __defineFactoryStub;\nexport const defineField = __defineFactoryStub;\nexport const defineFrontComponent = __defineFactoryStub;\nexport const defineHealthCheck = __defineFactoryStub;\nexport const defineIndex = __defineFactoryStub;\nexport const defineLogicFunction = __defineFactoryStub;\nexport const defineMcpServer = __defineFactoryStub;\nexport const defineMessagingProvider = __defineFactoryStub;\nexport const defineNavigationMenuItem = __defineFactoryStub;\nexport const defineObject = __defineFactoryStub;\nexport const definePageLayout = __defineFactoryStub;\nexport const definePageLayoutTab = __defineFactoryStub;\nexport const definePageLayoutWidget = __defineFactoryStub;\nexport const definePermissionFlag = __defineFactoryStub;\nexport const definePostInstallLogicFunction = __defineFactoryStub;\nexport const definePreInstallLogicFunction = __defineFactoryStub;\nexport const defineRelatedRecordPath = __defineFactoryStub;\nexport const defineRole = __defineFactoryStub;\nexport const defineSettingsFrontComponent = __defineFactoryStub;\nexport const defineSettingsMenuItem = __defineFactoryStub;\nexport const defineSkill = __defineFactoryStub;\nexport const defineTimelineActivityType = __defineFactoryStub;\nexport const defineUninstallLogicFunction = __defineFactoryStub;\nexport const defineValidationRule = __defineFactoryStub;\nexport const defineView = __defineFactoryStub;\nexport const defineViewField = __defineFactoryStub;\nexport const defineWorkflow = __defineFactoryStub;\nexport const AggregateOperations = {\"MIN\":\"MIN\",\"MAX\":\"MAX\",\"AVG\":\"AVG\",\"SUM\":\"SUM\",\"COUNT\":\"COUNT\",\"COUNT_UNIQUE_VALUES\":\"COUNT_UNIQUE_VALUES\",\"COUNT_EMPTY\":\"COUNT_EMPTY\",\"COUNT_NOT_EMPTY\":\"COUNT_NOT_EMPTY\",\"COUNT_TRUE\":\"COUNT_TRUE\",\"COUNT_FALSE\":\"COUNT_FALSE\",\"PERCENTAGE_EMPTY\":\"PERCENTAGE_EMPTY\",\"PERCENTAGE_NOT_EMPTY\":\"PERCENTAGE_NOT_EMPTY\"};\nexport const ApplicationHealthStatus = {\"OK\":\"OK\",\"SUCCESS\":\"SUCCESS\",\"INFO\":\"INFO\",\"WARNING\":\"WARNING\",\"ERROR\":\"ERROR\",\"NEUTRAL\":\"NEUTRAL\",\"UNKNOWN\":\"UNKNOWN\"};\nexport const CommandMenuItemAvailabilityType = {\"GLOBAL\":\"GLOBAL\",\"GLOBAL_OBJECT_CONTEXT\":\"GLOBAL_OBJECT_CONTEXT\",\"RECORD_SELECTION\":\"RECORD_SELECTION\",\"FALLBACK\":\"FALLBACK\"};\nexport const DateDisplayFormat = {\"RELATIVE\":\"RELATIVE\",\"USER_SETTINGS\":\"USER_SETTINGS\",\"CUSTOM\":\"CUSTOM\"};\nexport const FieldMetadataSettingsOnClickAction = {\"COPY\":\"COPY\",\"OPEN_LINK\":\"OPEN_LINK\",\"OPEN_IN_APP\":\"OPEN_IN_APP\"};\nexport const FieldType = {\"ACTOR\":\"ACTOR\",\"ADDRESS\":\"ADDRESS\",\"ARRAY\":\"ARRAY\",\"BOOLEAN\":\"BOOLEAN\",\"CURRENCY\":\"CURRENCY\",\"DATE\":\"DATE\",\"DATE_TIME\":\"DATE_TIME\",\"EMAILS\":\"EMAILS\",\"FILES\":\"FILES\",\"FULL_NAME\":\"FULL_NAME\",\"LINKS\":\"LINKS\",\"MORPH_RELATION\":\"MORPH_RELATION\",\"MULTI_SELECT\":\"MULTI_SELECT\",\"NUMBER\":\"NUMBER\",\"NUMERIC\":\"NUMERIC\",\"PHONES\":\"PHONES\",\"POSITION\":\"POSITION\",\"RATING\":\"RATING\",\"RAW_JSON\":\"RAW_JSON\",\"RELATION\":\"RELATION\",\"RICH_TEXT\":\"RICH_TEXT\",\"SELECT\":\"SELECT\",\"TEXT\":\"TEXT\",\"TS_VECTOR\":\"TS_VECTOR\",\"UUID\":\"UUID\"};\nexport const HTTPMethod = {\"GET\":\"GET\",\"POST\":\"POST\",\"PUT\":\"PUT\",\"PATCH\":\"PATCH\",\"DELETE\":\"DELETE\"};\nexport const IndexType = {\"BTREE\":\"BTREE\",\"GIN\":\"GIN\"};\nexport const NavigationMenuItemType = {\"VIEW\":\"VIEW\",\"FOLDER\":\"FOLDER\",\"LINK\":\"LINK\",\"OBJECT\":\"OBJECT\",\"RECORD\":\"RECORD\",\"PAGE_LAYOUT\":\"PAGE_LAYOUT\",\"AGENT_CHAT_CHANNEL\":\"AGENT_CHAT_CHANNEL\",\"NATIVE_PAGE\":\"NATIVE_PAGE\",\"WORKFLOW\":\"WORKFLOW\",\"AGENT\":\"AGENT\"};\nexport const NumberDataType = {\"FLOAT\":\"float\",\"INT\":\"int\",\"BIGINT\":\"bigint\"};\nexport const ObjectOpenRecordIn = {\"SIDE_PANEL\":\"SIDE_PANEL\",\"RECORD_PAGE\":\"RECORD_PAGE\",\"USER_CHOICE\":\"USER_CHOICE\"};\nexport const ObjectRecordGroupByDateGranularity = {\"DAY\":\"DAY\",\"MONTH\":\"MONTH\",\"QUARTER\":\"QUARTER\",\"YEAR\":\"YEAR\",\"WEEK\":\"WEEK\",\"DAY_OF_THE_WEEK\":\"DAY_OF_THE_WEEK\",\"MONTH_OF_THE_YEAR\":\"MONTH_OF_THE_YEAR\",\"QUARTER_OF_THE_YEAR\":\"QUARTER_OF_THE_YEAR\",\"NONE\":\"NONE\"};\nexport const OnDeleteAction = {\"CASCADE\":\"CASCADE\",\"RESTRICT\":\"RESTRICT\",\"SET_NULL\":\"SET_NULL\",\"NO_ACTION\":\"NO_ACTION\"};\nexport const PageLayoutTabLayoutMode = {\"GRID\":\"GRID\",\"VERTICAL_LIST\":\"VERTICAL_LIST\",\"CANVAS\":\"CANVAS\"};\nexport const PageLayoutType = {\"RECORD_INDEX\":\"RECORD_INDEX\",\"RECORD_PAGE\":\"RECORD_PAGE\",\"DASHBOARD\":\"DASHBOARD\",\"STANDALONE_PAGE\":\"STANDALONE_PAGE\",\"RECORD_FORM\":\"RECORD_FORM\"};\nexport const PageLayoutWidgetVerticalListHeightBehavior = {\"FIT_CONTENT\":\"FIT_CONTENT\",\"TAB_VIEWPORT\":\"TAB_VIEWPORT\"};\nexport const RecordFilterGroupLogicalOperator = {\"AND\":\"AND\",\"OR\":\"OR\"};\nexport const RelationType = {\"MANY_TO_ONE\":\"MANY_TO_ONE\",\"ONE_TO_MANY\":\"ONE_TO_MANY\"};\nexport const RowLevelPermissionPredicateGroupLogicalOperator = {\"AND\":\"AND\",\"OR\":\"OR\"};\nexport const RowLevelPermissionPredicateOperand = {\"IS\":\"IS\",\"IS_NOT_NULL\":\"IS_NOT_NULL\",\"IS_NOT\":\"IS_NOT\",\"LESS_THAN_OR_EQUAL\":\"LESS_THAN_OR_EQUAL\",\"GREATER_THAN_OR_EQUAL\":\"GREATER_THAN_OR_EQUAL\",\"IS_BEFORE\":\"IS_BEFORE\",\"IS_AFTER\":\"IS_AFTER\",\"CONTAINS\":\"CONTAINS\",\"DOES_NOT_CONTAIN\":\"DOES_NOT_CONTAIN\",\"IS_EMPTY\":\"IS_EMPTY\",\"IS_NOT_EMPTY\":\"IS_NOT_EMPTY\",\"IS_RELATIVE\":\"IS_RELATIVE\",\"IS_IN_PAST\":\"IS_IN_PAST\",\"IS_IN_FUTURE\":\"IS_IN_FUTURE\",\"IS_TODAY\":\"IS_TODAY\",\"VECTOR_SEARCH\":\"VECTOR_SEARCH\"};\nexport const SYSTEM_VIEW_KEYS = {\"INDEX\":\"INDEX\",\"FIELDS_WIDGET\":\"FIELDS_WIDGET\"};\nexport const StepLogicalOperator = {\"AND\":\"AND\",\"OR\":\"OR\"};\nexport const SystemPermissionFlag = /* @__PURE__ */ Object.defineProperties({\"API_KEYS_AND_WEBHOOKS\":\"beb99803-9a0e-588d-9c4b-3dd14d9cdf21\",\"WORKSPACE\":\"86a58859-a539-5fa8-ba18-a6aaddc811b6\",\"WORKSPACE_MEMBERS\":\"ec342166-2df7-53e7-aa9b-64992d6cb35f\",\"ROLES\":\"80f1e5ab-484c-5660-a5a1-0ee7413d8190\",\"DATA_MODEL\":\"f0c08013-3c9a-5489-bd45-a641fe5f085d\",\"SECURITY\":\"4a8b6016-1d3d-5c94-bbe8-a74c5f32335a\",\"WORKFLOWS\":\"6189e7bd-4051-5752-b6b1-5f31358fbaf1\",\"IMPERSONATE\":\"dd2274d1-bbd5-551d-bcf2-3147539cef11\",\"SSO_BYPASS\":\"2e9cfdc0-4669-58ab-b241-b6c3c14d96df\",\"APPLICATIONS\":\"9faa55f7-2606-566b-9e1d-aefbedbd0136\",\"MARKETPLACE_APPS\":\"3a37e2f5-d3e4-56d6-b541-adf0237468ff\",\"LAYOUTS\":\"458d1ee5-ba12-5f4e-9d17-6f8c11fcd7fd\",\"BILLING\":\"24b66701-ed97-51e4-aa63-794e1b31414c\",\"AI_SETTINGS\":\"e8cc4a30-c120-5925-8f5d-73d6a2247fee\",\"AI\":\"1c7f09a7-367d-568b-a0e8-c274eccd6ee3\",\"VIEWS\":\"c68354c4-535d-53a9-848a-e3a6774b5fb8\",\"UPLOAD_FILE\":\"dc6931a9-44bd-5164-a983-3db5db837f54\",\"DOWNLOAD_FILE\":\"6edf252f-228e-5e2f-9706-7bab7a796fd3\",\"SEND_EMAIL_TOOL\":\"19f382a8-689d-5792-a18c-737f0ce9025f\",\"CREATE_CALENDAR_EVENT_TOOL\":\"5b8c104e-24d3-4e89-986b-1d9208df6cf4\",\"HTTP_REQUEST_TOOL\":\"1bf49cf1-bb8f-5eb9-809a-5f34ea79fc6a\",\"CODE_INTERPRETER_TOOL\":\"11f31c3a-7042-54b7-a2dd-ae31dd9e9fa2\",\"IMPORT_CSV\":\"c4912536-a4db-5af9-85ac-be2919c24c5e\",\"EXPORT_CSV\":\"88efced9-ca6d-5316-a695-f1b9158e7370\",\"CONNECTED_ACCOUNTS\":\"e5f63b2d-5369-5df6-8f32-a8bd9e79e653\",\"PROFILE_INFORMATION\":\"7c13f23f-78d8-5e7d-8963-a7c8772fb4e8\"}, {\"USER_APPS\":{\"value\":\"e5f63b2d-5369-5df6-8f32-a8bd9e79e653\"},\"WORKSPACE_APPS\":{\"value\":\"9faa55f7-2606-566b-9e1d-aefbedbd0136\"}});\nexport const ViewCalendarLayout = {\"DAY\":\"DAY\",\"WEEK\":\"WEEK\",\"MONTH\":\"MONTH\"};\nexport const ViewFilterGroupLogicalOperator = {\"AND\":\"AND\",\"OR\":\"OR\",\"NOT\":\"NOT\"};\nexport const ViewFilterOperand = {\"IS\":\"IS\",\"IS_NOT_NULL\":\"IS_NOT_NULL\",\"IS_NOT\":\"IS_NOT\",\"LESS_THAN_OR_EQUAL\":\"LESS_THAN_OR_EQUAL\",\"GREATER_THAN_OR_EQUAL\":\"GREATER_THAN_OR_EQUAL\",\"IS_BEFORE\":\"IS_BEFORE\",\"IS_AFTER\":\"IS_AFTER\",\"CONTAINS\":\"CONTAINS\",\"DOES_NOT_CONTAIN\":\"DOES_NOT_CONTAIN\",\"IS_EMPTY\":\"IS_EMPTY\",\"IS_NOT_EMPTY\":\"IS_NOT_EMPTY\",\"IS_RELATIVE\":\"IS_RELATIVE\",\"IS_IN_PAST\":\"IS_IN_PAST\",\"IS_IN_FUTURE\":\"IS_IN_FUTURE\",\"IS_TODAY\":\"IS_TODAY\",\"VECTOR_SEARCH\":\"VECTOR_SEARCH\"};\nexport const ViewFilterOperandDeprecated = {\"Is\":\"is\",\"IsNotNull\":\"isNotNull\",\"IsNot\":\"isNot\",\"LessThanOrEqual\":\"lessThan\",\"GreaterThanOrEqual\":\"greaterThan\",\"IsBefore\":\"isBefore\",\"IsAfter\":\"isAfter\",\"Contains\":\"contains\",\"DoesNotContain\":\"doesNotContain\",\"IsEmpty\":\"isEmpty\",\"IsNotEmpty\":\"isNotEmpty\",\"IsRelative\":\"isRelative\",\"IsInPast\":\"isInPast\",\"IsInFuture\":\"isInFuture\",\"IsToday\":\"isToday\"};\nexport const ViewKey = {\"INDEX\":\"INDEX\"};\nexport const ViewOpenRecordIn = {\"SIDE_PANEL\":\"SIDE_PANEL\",\"RECORD_PAGE\":\"RECORD_PAGE\"};\nexport const ViewSortDirection = {\"ASC\":\"ASC\",\"DESC\":\"DESC\"};\nexport const ViewType = {\"TABLE\":\"TABLE\",\"KANBAN\":\"KANBAN\",\"CALENDAR\":\"CALENDAR\",\"LIST\":\"LIST\",\"FIELDS_WIDGET\":\"FIELDS_WIDGET\",\"TABLE_WIDGET\":\"TABLE_WIDGET\",\"KANBAN_WIDGET\":\"KANBAN_WIDGET\",\"LIST_WIDGET\":\"LIST_WIDGET\",\"CALENDAR_WIDGET\":\"CALENDAR_WIDGET\"};\nexport const ViewVisibility = {\"WORKSPACE\":\"WORKSPACE\",\"UNLISTED\":\"UNLISTED\"};\nexport const WidgetType = {\"VIEW\":\"VIEW\",\"IFRAME\":\"IFRAME\",\"FIELD\":\"FIELD\",\"FIELDS\":\"FIELDS\",\"GRAPH\":\"GRAPH\",\"STANDALONE_RICH_TEXT\":\"STANDALONE_RICH_TEXT\",\"TIMELINE\":\"TIMELINE\",\"TASKS\":\"TASKS\",\"NOTES\":\"NOTES\",\"FILES\":\"FILES\",\"EMAILS\":\"EMAILS\",\"CALENDAR\":\"CALENDAR\",\"FIELD_RICH_TEXT\":\"FIELD_RICH_TEXT\",\"WORKFLOW\":\"WORKFLOW\",\"WORKFLOW_VERSION\":\"WORKFLOW_VERSION\",\"WORKFLOW_RUN\":\"WORKFLOW_RUN\",\"FRONT_COMPONENT\":\"FRONT_COMPONENT\",\"RECORD_TABLE\":\"RECORD_TABLE\",\"EMAIL_THREAD\":\"EMAIL_THREAD\",\"CALL_RECORDING_SUMMARY\":\"CALL_RECORDING_SUMMARY\",\"CALL_RECORDING_TRANSCRIPT\":\"CALL_RECORDING_TRANSCRIPT\",\"MESSAGE_CAMPAIGN_BODY\":\"MESSAGE_CAMPAIGN_BODY\",\"MESSAGE_CAMPAIGN_DETAILS\":\"MESSAGE_CAMPAIGN_DETAILS\",\"FORM_FIELD\":\"FORM_FIELD\",\"CHAT_THREADS\":\"CHAT_THREADS\",\"CHAT\":\"CHAT\"};\nexport const STANDARD_OBJECT = __anyStub;\nexport const STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS = __anyStub;\nexport const STANDARD_PAGE_LAYOUT = __anyStub;\nexport const STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS = __anyStub;\nexport const canAccessFullAdminPanel = __anyStub;\nexport const canImpersonate = __anyStub;\nexport const currentView = __anyStub;\nexport const every = __anyStub;\nexport const everyDefined = __anyStub;\nexport const everyEquals = __anyStub;\nexport const favoriteRecordIds = __anyStub;\nexport const featureFlags = __anyStub;\nexport const getFieldUniversalIdentifier = __anyStub;\nexport const getSystemPageLayoutTabUniversalIdentifier = __anyStub;\nexport const getSystemRecordPageLayoutUniversalIdentifier = __anyStub;\nexport const getSystemRelationFieldUniversalIdentifier = __anyStub;\nexport const getSystemViewFieldUniversalIdentifier = __anyStub;\nexport const getSystemViewUniversalIdentifier = __anyStub;\nexport const hasAnySoftDeleteFilterOnView = __anyStub;\nexport const includes = __anyStub;\nexport const includesEvery = __anyStub;\nexport const isDashboardPageLayoutInEditMode = __anyStub;\nexport const isDefined = __anyStub;\nexport const isInSidePanel = __anyStub;\nexport const isLayoutCustomizationModeEnabled = __anyStub;\nexport const isNonEmptyString = __anyStub;\nexport const isSelectAll = __anyStub;\nexport const none = __anyStub;\nexport const noneDefined = __anyStub;\nexport const noneEquals = __anyStub;\nexport const numberOfSelectedRecords = __anyStub;\nexport const objectMetadataItem = __anyStub;\nexport const objectMetadataLabel = __anyStub;\nexport const objectPermissions = __anyStub;\nexport const pageType = __anyStub;\nexport const ruleExpression = __anyStub;\nexport const selectedRecords = __anyStub;\nexport const some = __anyStub;\nexport const someDefined = __anyStub;\nexport const someEquals = __anyStub;\nexport const someNonEmptyString = __anyStub;\nexport const targetObjectReadPermissions = __anyStub;\nexport const targetObjectWritePermissions = __anyStub;\nexport const validateFields = __anyStub;\n", "export const APP_DISPLAY_NAME = 'Click to Call';\nexport const APP_DESCRIPTION =\n \"Call a contact from your Android phone in one click: a push notification opens the phone's dialer with the number, and the call is logged as a task.\";\n\nexport const APPLICATION_UNIVERSAL_IDENTIFIER = '911f3bf1-e2a2-4725-ba51-3e4f8bddd7d4';\nexport const DEFAULT_ROLE_UNIVERSAL_IDENTIFIER = '8730c5aa-9120-4ee6-b6bf-87120a1b12e6';\nexport const HEALTH_CHECK_UNIVERSAL_IDENTIFIER = '3c507fcc-391c-4e5d-b294-aef81dfd84de';\n\nexport const SEND_CALL_NOTIFICATION_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =\n 'cadd059b-5eea-4c90-b3b2-7919c9b84535';\nexport const CALL_ON_MOBILE_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =\n '6416339b-a860-4a07-8765-74d8d3002408';\nexport const CALL_ON_MOBILE_COMMAND_MENU_ITEM_UNIVERSAL_IDENTIFIER =\n 'cee7e741-e05e-4cbf-a2c0-d8616703fa6a';\n\nexport const NTFY_URL_VARIABLE_UNIVERSAL_IDENTIFIER = 'fb766589-4e65-4044-aaf3-3b6a26ca625d';\nexport const NTFY_TOKEN_VARIABLE_UNIVERSAL_IDENTIFIER = 'e73bb165-5c61-4b41-84fc-0c316d224ba3';\nexport const NTFY_TOPIC_PREFIX_VARIABLE_UNIVERSAL_IDENTIFIER =\n 'd07550a5-4a1e-4a06-99e0-7be0a53cd109';\nexport const CALL_TASK_TITLE_VARIABLE_UNIVERSAL_IDENTIFIER =\n '9ef4c8e7-8f39-4e2f-ba54-417ce0a7fe28';\n\n// Route served under /s (the front component calls '/s' + this path)\nexport const SEND_CALL_NOTIFICATION_ROUTE_PATH = '/click-to-call/notify';\n", "import { defineHealthCheck } from 'twenty-sdk/define';\r\n\r\nimport { HEALTH_CHECK_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';\r\n\r\nexport default defineHealthCheck({\r\n universalIdentifier: HEALTH_CHECK_UNIVERSAL_IDENTIFIER,\r\n name: 'health-check',\r\n handler: async () => {\r\n return { status: 'OK' };\r\n },\r\n});\r\n"],
|
|
4
|
+
"sourcesContent": ["\n// Auto-generated stub for twenty-sdk/define injected by the Twenty CLI.\n// Real implementations would pull in zod, twenty-shared and ~1MB of code; at\n// runtime only `default.config.handler` is consumed, so tiny no-ops suffice.\nconst __defineFactoryStub = (config) => ({\n success: true,\n config,\n errors: [],\n});\n\nconst __anyHandler = {\n get(_target, prop) {\n if (prop === '__esModule') return true;\n if (prop === Symbol.toPrimitive) return () => '';\n if (typeof prop === 'symbol') return undefined;\n return new Proxy(() => undefined, __anyHandler);\n },\n apply() {\n return new Proxy(() => undefined, __anyHandler);\n },\n};\nconst __anyStub = new Proxy(() => undefined, __anyHandler);\n\nexport const createValidationResult = __defineFactoryStub;\nexport const defineAgent = __defineFactoryStub;\nexport const defineApplication = __defineFactoryStub;\nexport const defineApplicationRole = __defineFactoryStub;\nexport const defineCommandMenuItem = __defineFactoryStub;\nexport const defineConnectionProvider = __defineFactoryStub;\nexport const defineField = __defineFactoryStub;\nexport const defineFrontComponent = __defineFactoryStub;\nexport const defineHealthCheck = __defineFactoryStub;\nexport const defineIndex = __defineFactoryStub;\nexport const defineLogicFunction = __defineFactoryStub;\nexport const defineMcpServer = __defineFactoryStub;\nexport const defineMessagingProvider = __defineFactoryStub;\nexport const defineNavigationMenuItem = __defineFactoryStub;\nexport const defineObject = __defineFactoryStub;\nexport const definePageLayout = __defineFactoryStub;\nexport const definePageLayoutTab = __defineFactoryStub;\nexport const definePageLayoutWidget = __defineFactoryStub;\nexport const definePermissionFlag = __defineFactoryStub;\nexport const definePostInstallLogicFunction = __defineFactoryStub;\nexport const definePreInstallLogicFunction = __defineFactoryStub;\nexport const defineRelatedRecordPath = __defineFactoryStub;\nexport const defineRole = __defineFactoryStub;\nexport const defineSettingsFrontComponent = __defineFactoryStub;\nexport const defineSettingsMenuItem = __defineFactoryStub;\nexport const defineSkill = __defineFactoryStub;\nexport const defineTimelineActivityType = __defineFactoryStub;\nexport const defineUninstallLogicFunction = __defineFactoryStub;\nexport const defineValidationRule = __defineFactoryStub;\nexport const defineView = __defineFactoryStub;\nexport const defineViewField = __defineFactoryStub;\nexport const defineWorkflow = __defineFactoryStub;\nexport const AggregateOperations = {\"MIN\":\"MIN\",\"MAX\":\"MAX\",\"AVG\":\"AVG\",\"SUM\":\"SUM\",\"COUNT\":\"COUNT\",\"COUNT_UNIQUE_VALUES\":\"COUNT_UNIQUE_VALUES\",\"COUNT_EMPTY\":\"COUNT_EMPTY\",\"COUNT_NOT_EMPTY\":\"COUNT_NOT_EMPTY\",\"COUNT_TRUE\":\"COUNT_TRUE\",\"COUNT_FALSE\":\"COUNT_FALSE\",\"PERCENTAGE_EMPTY\":\"PERCENTAGE_EMPTY\",\"PERCENTAGE_NOT_EMPTY\":\"PERCENTAGE_NOT_EMPTY\"};\nexport const ApplicationHealthStatus = {\"OK\":\"OK\",\"SUCCESS\":\"SUCCESS\",\"INFO\":\"INFO\",\"WARNING\":\"WARNING\",\"ERROR\":\"ERROR\",\"NEUTRAL\":\"NEUTRAL\",\"UNKNOWN\":\"UNKNOWN\"};\nexport const CommandMenuItemAvailabilityType = {\"GLOBAL\":\"GLOBAL\",\"GLOBAL_OBJECT_CONTEXT\":\"GLOBAL_OBJECT_CONTEXT\",\"RECORD_SELECTION\":\"RECORD_SELECTION\",\"FALLBACK\":\"FALLBACK\"};\nexport const DateDisplayFormat = {\"RELATIVE\":\"RELATIVE\",\"USER_SETTINGS\":\"USER_SETTINGS\",\"CUSTOM\":\"CUSTOM\"};\nexport const FieldMetadataSettingsOnClickAction = {\"COPY\":\"COPY\",\"OPEN_LINK\":\"OPEN_LINK\",\"OPEN_IN_APP\":\"OPEN_IN_APP\"};\nexport const FieldType = {\"ACTOR\":\"ACTOR\",\"ADDRESS\":\"ADDRESS\",\"ARRAY\":\"ARRAY\",\"BOOLEAN\":\"BOOLEAN\",\"CURRENCY\":\"CURRENCY\",\"DATE\":\"DATE\",\"DATE_TIME\":\"DATE_TIME\",\"EMAILS\":\"EMAILS\",\"FILES\":\"FILES\",\"FULL_NAME\":\"FULL_NAME\",\"LINKS\":\"LINKS\",\"MORPH_RELATION\":\"MORPH_RELATION\",\"MULTI_SELECT\":\"MULTI_SELECT\",\"NUMBER\":\"NUMBER\",\"NUMERIC\":\"NUMERIC\",\"PHONES\":\"PHONES\",\"POSITION\":\"POSITION\",\"RATING\":\"RATING\",\"RAW_JSON\":\"RAW_JSON\",\"RELATION\":\"RELATION\",\"RICH_TEXT\":\"RICH_TEXT\",\"SELECT\":\"SELECT\",\"TEXT\":\"TEXT\",\"TS_VECTOR\":\"TS_VECTOR\",\"UUID\":\"UUID\"};\nexport const HTTPMethod = {\"GET\":\"GET\",\"POST\":\"POST\",\"PUT\":\"PUT\",\"PATCH\":\"PATCH\",\"DELETE\":\"DELETE\"};\nexport const IndexType = {\"BTREE\":\"BTREE\",\"GIN\":\"GIN\"};\nexport const NavigationMenuItemType = {\"VIEW\":\"VIEW\",\"FOLDER\":\"FOLDER\",\"LINK\":\"LINK\",\"OBJECT\":\"OBJECT\",\"RECORD\":\"RECORD\",\"PAGE_LAYOUT\":\"PAGE_LAYOUT\",\"AGENT_CHAT_CHANNEL\":\"AGENT_CHAT_CHANNEL\",\"NATIVE_PAGE\":\"NATIVE_PAGE\",\"WORKFLOW\":\"WORKFLOW\",\"AGENT\":\"AGENT\"};\nexport const NumberDataType = {\"FLOAT\":\"float\",\"INT\":\"int\",\"BIGINT\":\"bigint\"};\nexport const ObjectOpenRecordIn = {\"SIDE_PANEL\":\"SIDE_PANEL\",\"RECORD_PAGE\":\"RECORD_PAGE\",\"USER_CHOICE\":\"USER_CHOICE\"};\nexport const ObjectRecordGroupByDateGranularity = {\"DAY\":\"DAY\",\"MONTH\":\"MONTH\",\"QUARTER\":\"QUARTER\",\"YEAR\":\"YEAR\",\"WEEK\":\"WEEK\",\"DAY_OF_THE_WEEK\":\"DAY_OF_THE_WEEK\",\"MONTH_OF_THE_YEAR\":\"MONTH_OF_THE_YEAR\",\"QUARTER_OF_THE_YEAR\":\"QUARTER_OF_THE_YEAR\",\"NONE\":\"NONE\"};\nexport const OnDeleteAction = {\"CASCADE\":\"CASCADE\",\"RESTRICT\":\"RESTRICT\",\"SET_NULL\":\"SET_NULL\",\"NO_ACTION\":\"NO_ACTION\"};\nexport const PageLayoutTabLayoutMode = {\"GRID\":\"GRID\",\"VERTICAL_LIST\":\"VERTICAL_LIST\",\"CANVAS\":\"CANVAS\"};\nexport const PageLayoutType = {\"RECORD_INDEX\":\"RECORD_INDEX\",\"RECORD_PAGE\":\"RECORD_PAGE\",\"DASHBOARD\":\"DASHBOARD\",\"STANDALONE_PAGE\":\"STANDALONE_PAGE\",\"RECORD_FORM\":\"RECORD_FORM\"};\nexport const PageLayoutWidgetVerticalListHeightBehavior = {\"FIT_CONTENT\":\"FIT_CONTENT\",\"TAB_VIEWPORT\":\"TAB_VIEWPORT\"};\nexport const RecordFilterGroupLogicalOperator = {\"AND\":\"AND\",\"OR\":\"OR\"};\nexport const RelationType = {\"MANY_TO_ONE\":\"MANY_TO_ONE\",\"ONE_TO_MANY\":\"ONE_TO_MANY\"};\nexport const RowLevelPermissionPredicateGroupLogicalOperator = {\"AND\":\"AND\",\"OR\":\"OR\"};\nexport const RowLevelPermissionPredicateOperand = {\"IS\":\"IS\",\"IS_NOT_NULL\":\"IS_NOT_NULL\",\"IS_NOT\":\"IS_NOT\",\"LESS_THAN_OR_EQUAL\":\"LESS_THAN_OR_EQUAL\",\"GREATER_THAN_OR_EQUAL\":\"GREATER_THAN_OR_EQUAL\",\"IS_BEFORE\":\"IS_BEFORE\",\"IS_AFTER\":\"IS_AFTER\",\"CONTAINS\":\"CONTAINS\",\"DOES_NOT_CONTAIN\":\"DOES_NOT_CONTAIN\",\"IS_EMPTY\":\"IS_EMPTY\",\"IS_NOT_EMPTY\":\"IS_NOT_EMPTY\",\"IS_RELATIVE\":\"IS_RELATIVE\",\"IS_IN_PAST\":\"IS_IN_PAST\",\"IS_IN_FUTURE\":\"IS_IN_FUTURE\",\"IS_TODAY\":\"IS_TODAY\",\"VECTOR_SEARCH\":\"VECTOR_SEARCH\"};\nexport const SYSTEM_VIEW_KEYS = {\"INDEX\":\"INDEX\",\"FIELDS_WIDGET\":\"FIELDS_WIDGET\"};\nexport const StepLogicalOperator = {\"AND\":\"AND\",\"OR\":\"OR\"};\nexport const SystemPermissionFlag = /* @__PURE__ */ Object.defineProperties({\"API_KEYS_AND_WEBHOOKS\":\"beb99803-9a0e-588d-9c4b-3dd14d9cdf21\",\"WORKSPACE\":\"86a58859-a539-5fa8-ba18-a6aaddc811b6\",\"WORKSPACE_MEMBERS\":\"ec342166-2df7-53e7-aa9b-64992d6cb35f\",\"ROLES\":\"80f1e5ab-484c-5660-a5a1-0ee7413d8190\",\"DATA_MODEL\":\"f0c08013-3c9a-5489-bd45-a641fe5f085d\",\"SECURITY\":\"4a8b6016-1d3d-5c94-bbe8-a74c5f32335a\",\"WORKFLOWS\":\"6189e7bd-4051-5752-b6b1-5f31358fbaf1\",\"IMPERSONATE\":\"dd2274d1-bbd5-551d-bcf2-3147539cef11\",\"SSO_BYPASS\":\"2e9cfdc0-4669-58ab-b241-b6c3c14d96df\",\"APPLICATIONS\":\"9faa55f7-2606-566b-9e1d-aefbedbd0136\",\"MARKETPLACE_APPS\":\"3a37e2f5-d3e4-56d6-b541-adf0237468ff\",\"LAYOUTS\":\"458d1ee5-ba12-5f4e-9d17-6f8c11fcd7fd\",\"BILLING\":\"24b66701-ed97-51e4-aa63-794e1b31414c\",\"AI_SETTINGS\":\"e8cc4a30-c120-5925-8f5d-73d6a2247fee\",\"AI\":\"1c7f09a7-367d-568b-a0e8-c274eccd6ee3\",\"VIEWS\":\"c68354c4-535d-53a9-848a-e3a6774b5fb8\",\"UPLOAD_FILE\":\"dc6931a9-44bd-5164-a983-3db5db837f54\",\"DOWNLOAD_FILE\":\"6edf252f-228e-5e2f-9706-7bab7a796fd3\",\"SEND_EMAIL_TOOL\":\"19f382a8-689d-5792-a18c-737f0ce9025f\",\"CREATE_CALENDAR_EVENT_TOOL\":\"5b8c104e-24d3-4e89-986b-1d9208df6cf4\",\"HTTP_REQUEST_TOOL\":\"1bf49cf1-bb8f-5eb9-809a-5f34ea79fc6a\",\"CODE_INTERPRETER_TOOL\":\"11f31c3a-7042-54b7-a2dd-ae31dd9e9fa2\",\"IMPORT_CSV\":\"c4912536-a4db-5af9-85ac-be2919c24c5e\",\"EXPORT_CSV\":\"88efced9-ca6d-5316-a695-f1b9158e7370\",\"CONNECTED_ACCOUNTS\":\"e5f63b2d-5369-5df6-8f32-a8bd9e79e653\",\"PROFILE_INFORMATION\":\"7c13f23f-78d8-5e7d-8963-a7c8772fb4e8\"}, {\"USER_APPS\":{\"value\":\"e5f63b2d-5369-5df6-8f32-a8bd9e79e653\"},\"WORKSPACE_APPS\":{\"value\":\"9faa55f7-2606-566b-9e1d-aefbedbd0136\"}});\nexport const ViewCalendarLayout = {\"DAY\":\"DAY\",\"WEEK\":\"WEEK\",\"MONTH\":\"MONTH\"};\nexport const ViewFilterGroupLogicalOperator = {\"AND\":\"AND\",\"OR\":\"OR\",\"NOT\":\"NOT\"};\nexport const ViewFilterOperand = {\"IS\":\"IS\",\"IS_NOT_NULL\":\"IS_NOT_NULL\",\"IS_NOT\":\"IS_NOT\",\"LESS_THAN_OR_EQUAL\":\"LESS_THAN_OR_EQUAL\",\"GREATER_THAN_OR_EQUAL\":\"GREATER_THAN_OR_EQUAL\",\"IS_BEFORE\":\"IS_BEFORE\",\"IS_AFTER\":\"IS_AFTER\",\"CONTAINS\":\"CONTAINS\",\"DOES_NOT_CONTAIN\":\"DOES_NOT_CONTAIN\",\"IS_EMPTY\":\"IS_EMPTY\",\"IS_NOT_EMPTY\":\"IS_NOT_EMPTY\",\"IS_RELATIVE\":\"IS_RELATIVE\",\"IS_IN_PAST\":\"IS_IN_PAST\",\"IS_IN_FUTURE\":\"IS_IN_FUTURE\",\"IS_TODAY\":\"IS_TODAY\",\"VECTOR_SEARCH\":\"VECTOR_SEARCH\"};\nexport const ViewFilterOperandDeprecated = {\"Is\":\"is\",\"IsNotNull\":\"isNotNull\",\"IsNot\":\"isNot\",\"LessThanOrEqual\":\"lessThan\",\"GreaterThanOrEqual\":\"greaterThan\",\"IsBefore\":\"isBefore\",\"IsAfter\":\"isAfter\",\"Contains\":\"contains\",\"DoesNotContain\":\"doesNotContain\",\"IsEmpty\":\"isEmpty\",\"IsNotEmpty\":\"isNotEmpty\",\"IsRelative\":\"isRelative\",\"IsInPast\":\"isInPast\",\"IsInFuture\":\"isInFuture\",\"IsToday\":\"isToday\"};\nexport const ViewKey = {\"INDEX\":\"INDEX\"};\nexport const ViewOpenRecordIn = {\"SIDE_PANEL\":\"SIDE_PANEL\",\"RECORD_PAGE\":\"RECORD_PAGE\"};\nexport const ViewSortDirection = {\"ASC\":\"ASC\",\"DESC\":\"DESC\"};\nexport const ViewType = {\"TABLE\":\"TABLE\",\"KANBAN\":\"KANBAN\",\"CALENDAR\":\"CALENDAR\",\"LIST\":\"LIST\",\"FIELDS_WIDGET\":\"FIELDS_WIDGET\",\"TABLE_WIDGET\":\"TABLE_WIDGET\",\"KANBAN_WIDGET\":\"KANBAN_WIDGET\",\"LIST_WIDGET\":\"LIST_WIDGET\",\"CALENDAR_WIDGET\":\"CALENDAR_WIDGET\"};\nexport const ViewVisibility = {\"WORKSPACE\":\"WORKSPACE\",\"UNLISTED\":\"UNLISTED\"};\nexport const WidgetType = {\"VIEW\":\"VIEW\",\"IFRAME\":\"IFRAME\",\"FIELD\":\"FIELD\",\"FIELDS\":\"FIELDS\",\"GRAPH\":\"GRAPH\",\"STANDALONE_RICH_TEXT\":\"STANDALONE_RICH_TEXT\",\"TIMELINE\":\"TIMELINE\",\"TASKS\":\"TASKS\",\"NOTES\":\"NOTES\",\"FILES\":\"FILES\",\"EMAILS\":\"EMAILS\",\"CALENDAR\":\"CALENDAR\",\"FIELD_RICH_TEXT\":\"FIELD_RICH_TEXT\",\"WORKFLOW\":\"WORKFLOW\",\"WORKFLOW_VERSION\":\"WORKFLOW_VERSION\",\"WORKFLOW_RUN\":\"WORKFLOW_RUN\",\"FRONT_COMPONENT\":\"FRONT_COMPONENT\",\"RECORD_TABLE\":\"RECORD_TABLE\",\"EMAIL_THREAD\":\"EMAIL_THREAD\",\"CALL_RECORDING_SUMMARY\":\"CALL_RECORDING_SUMMARY\",\"CALL_RECORDING_TRANSCRIPT\":\"CALL_RECORDING_TRANSCRIPT\",\"MESSAGE_CAMPAIGN_BODY\":\"MESSAGE_CAMPAIGN_BODY\",\"MESSAGE_CAMPAIGN_DETAILS\":\"MESSAGE_CAMPAIGN_DETAILS\",\"FORM_FIELD\":\"FORM_FIELD\",\"CHAT_THREADS\":\"CHAT_THREADS\",\"CHAT\":\"CHAT\"};\nexport const STANDARD_OBJECT = __anyStub;\nexport const STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS = __anyStub;\nexport const STANDARD_PAGE_LAYOUT = __anyStub;\nexport const STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS = __anyStub;\nexport const canAccessFullAdminPanel = __anyStub;\nexport const canImpersonate = __anyStub;\nexport const currentView = __anyStub;\nexport const every = __anyStub;\nexport const everyDefined = __anyStub;\nexport const everyEquals = __anyStub;\nexport const favoriteRecordIds = __anyStub;\nexport const featureFlags = __anyStub;\nexport const getFieldUniversalIdentifier = __anyStub;\nexport const getSystemPageLayoutTabUniversalIdentifier = __anyStub;\nexport const getSystemRecordPageLayoutUniversalIdentifier = __anyStub;\nexport const getSystemRelationFieldUniversalIdentifier = __anyStub;\nexport const getSystemViewFieldUniversalIdentifier = __anyStub;\nexport const getSystemViewUniversalIdentifier = __anyStub;\nexport const hasAnySoftDeleteFilterOnView = __anyStub;\nexport const includes = __anyStub;\nexport const includesEvery = __anyStub;\nexport const isDashboardPageLayoutInEditMode = __anyStub;\nexport const isDefined = __anyStub;\nexport const isInSidePanel = __anyStub;\nexport const isLayoutCustomizationModeEnabled = __anyStub;\nexport const isNonEmptyString = __anyStub;\nexport const isSelectAll = __anyStub;\nexport const none = __anyStub;\nexport const noneDefined = __anyStub;\nexport const noneEquals = __anyStub;\nexport const numberOfSelectedRecords = __anyStub;\nexport const objectMetadataItem = __anyStub;\nexport const objectMetadataLabel = __anyStub;\nexport const objectPermissions = __anyStub;\nexport const pageType = __anyStub;\nexport const ruleExpression = __anyStub;\nexport const selectedRecords = __anyStub;\nexport const some = __anyStub;\nexport const someDefined = __anyStub;\nexport const someEquals = __anyStub;\nexport const someNonEmptyString = __anyStub;\nexport const targetObjectReadPermissions = __anyStub;\nexport const targetObjectWritePermissions = __anyStub;\nexport const validateFields = __anyStub;\n", "export const APP_DISPLAY_NAME = 'Click to Call';\nexport const APP_DESCRIPTION =\n \"Call a contact from your Android phone in one click: a push notification opens the phone's dialer with the number, and the call is logged as a task.\";\n\nexport const APPLICATION_UNIVERSAL_IDENTIFIER = '911f3bf1-e2a2-4725-ba51-3e4f8bddd7d4';\nexport const DEFAULT_ROLE_UNIVERSAL_IDENTIFIER = '8730c5aa-9120-4ee6-b6bf-87120a1b12e6';\nexport const HEALTH_CHECK_UNIVERSAL_IDENTIFIER = '3c507fcc-391c-4e5d-b294-aef81dfd84de';\n\nexport const SEND_CALL_NOTIFICATION_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =\n 'cadd059b-5eea-4c90-b3b2-7919c9b84535';\nexport const CALL_ON_MOBILE_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =\n '6416339b-a860-4a07-8765-74d8d3002408';\nexport const CALL_ON_MOBILE_COMMAND_MENU_ITEM_UNIVERSAL_IDENTIFIER =\n 'cee7e741-e05e-4cbf-a2c0-d8616703fa6a';\n\nexport const NTFY_URL_VARIABLE_UNIVERSAL_IDENTIFIER = 'fb766589-4e65-4044-aaf3-3b6a26ca625d';\nexport const NTFY_TOKEN_VARIABLE_UNIVERSAL_IDENTIFIER = 'e73bb165-5c61-4b41-84fc-0c316d224ba3';\nexport const NTFY_TOPIC_PREFIX_VARIABLE_UNIVERSAL_IDENTIFIER =\n 'd07550a5-4a1e-4a06-99e0-7be0a53cd109';\nexport const CALL_TASK_TITLE_VARIABLE_UNIVERSAL_IDENTIFIER =\n '9ef4c8e7-8f39-4e2f-ba54-417ce0a7fe28';\n\n// Route served under /s (the front component calls '/s' + this path)\nexport const SEND_CALL_NOTIFICATION_ROUTE_PATH = '/click-to-call/notify';\n", "import { defineHealthCheck } from 'twenty-sdk/define';\n\nimport { HEALTH_CHECK_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';\n\nexport default defineHealthCheck({\n universalIdentifier: HEALTH_CHECK_UNIVERSAL_IDENTIFIER,\n name: 'health-check',\n handler: async () => {\n return { status: 'OK' };\n },\n});\n"],
|
|
5
5
|
"mappings": ";;;;AAIA,IAAM,sBAAsB,CAAC,YAAY;AAAA,EACvC,SAAS;AAAA,EACT;AAAA,EACA,QAAQ,CAAC;AACX;AAEA,IAAM,eAAe;AAAA,EACnB,IAAI,SAAS,MAAM;AACjB,QAAI,SAAS,aAAc,QAAO;AAClC,QAAI,SAAS,OAAO,YAAa,QAAO,MAAM;AAC9C,QAAI,OAAO,SAAS,SAAU,QAAO;AACrC,WAAO,IAAI,MAAM,MAAM,QAAW,YAAY;AAAA,EAChD;AAAA,EACA,QAAQ;AACN,WAAO,IAAI,MAAM,MAAM,QAAW,YAAY;AAAA,EAChD;AACF;AACA,IAAM,YAAY,IAAI,MAAM,MAAM,QAAW,YAAY;AAUlD,IAAM,oBAAoB;;;ACzB1B,IAAM,oCAAoC;;;ACFjD,IAAO,uBAAQ,kBAAkB;AAAA,EAC/B,qBAAqB;AAAA,EACrB,MAAM;AAAA,EACN,SAAS,YAAY;AACnB,WAAO,EAAE,QAAQ,KAAK;AAAA,EACxB;AACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineHealthCheck } from 'twenty-sdk/define';
|
|
2
|
-
|
|
3
|
-
import { HEALTH_CHECK_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
|
|
4
|
-
|
|
5
|
-
export default defineHealthCheck({
|
|
6
|
-
universalIdentifier: HEALTH_CHECK_UNIVERSAL_IDENTIFIER,
|
|
7
|
-
name: 'health-check',
|
|
8
|
-
handler: async () => {
|
|
9
|
-
return { status: 'OK' };
|
|
10
|
-
},
|
|
11
|
-
});
|
|
1
|
+
import { defineHealthCheck } from 'twenty-sdk/define';
|
|
2
|
+
|
|
3
|
+
import { HEALTH_CHECK_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
|
|
4
|
+
|
|
5
|
+
export default defineHealthCheck({
|
|
6
|
+
universalIdentifier: HEALTH_CHECK_UNIVERSAL_IDENTIFIER,
|
|
7
|
+
name: 'health-check',
|
|
8
|
+
handler: async () => {
|
|
9
|
+
return { status: 'OK' };
|
|
10
|
+
},
|
|
11
|
+
});
|
|
File without changes
|