The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
chore(apps): remove the twenty-for-twenty app (consolidated into twenty-eng) (#22549)
Charles Bochet74b3a4216eae
diff --git a/packages/twenty-apps/internal/twenty-for-twenty/.gitignore b/packages/twenty-apps/internal/twenty-for-twenty/.gitignoredeleted file mode 100644index 6cd06106246..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/.gitignore+++ /dev/null@@ -1,38 +0,0 @@-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.--# dependencies-/node_modules-/.pnp-.pnp.*-.yarn--# codegen-generated--# testing-/coverage--# dev-/dist/--.twenty--# production-/build--# misc-.DS_Store-*.pem--# debug-npm-debug.log*-yarn-debug.log*-yarn-error.log*-.pnpm-debug.log*--# env files (can opt-in for committing if needed)-.env*--# typescript-*.tsbuildinfo-*.d.tsdiff --git a/packages/twenty-apps/internal/twenty-for-twenty/.nvmrc b/packages/twenty-apps/internal/twenty-for-twenty/.nvmrcdeleted file mode 100644index 341cb50613a..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/.nvmrc+++ /dev/null@@ -1 +0,0 @@-24.5.0diff --git a/packages/twenty-apps/internal/twenty-for-twenty/.oxlintrc.json b/packages/twenty-apps/internal/twenty-for-twenty/.oxlintrc.jsondeleted file mode 100644index 2c2035b0fe3..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/.oxlintrc.json+++ /dev/null@@ -1,58 +0,0 @@-{- "$schema": "./node_modules/oxlint/configuration_schema.json",- "extends": ["../../.oxlintrc.base.json"],- "plugins": ["react", "typescript", "import", "unicorn"],- "categories": {- "correctness": "off"- },- "ignorePatterns": ["node_modules", "dist"],- "rules": {- "func-style": ["error", "declaration", { "allowArrowFunctions": true }],- "no-console": "off",- "no-control-regex": "off",- "no-debugger": "error",- "no-duplicate-imports": "error",- "no-undef": "off",- "no-unused-vars": "off",- "no-redeclare": "off",- "import/no-duplicates": "error",- "typescript/no-redeclare": "error",- "typescript/ban-ts-comment": "error",- "typescript/consistent-type-imports": [- "error",- {- "prefer": "type-imports",- "fixStyle": "inline-type-imports"- }- ],- "typescript/explicit-function-return-type": "off",- "typescript/explicit-module-boundary-types": "off",- "typescript/no-empty-object-type": [- "error",- {- "allowInterfaces": "with-single-extends"- }- ],- "typescript/no-empty-function": "off",- "typescript/no-explicit-any": "off",- "typescript/no-unused-vars": [- "warn",- {- "vars": "all",- "varsIgnorePattern": "^_",- "args": "after-used",- "argsIgnorePattern": "^_"- }- ],- "react/no-unescaped-entities": "off",- "react/prop-types": "off",- "react/jsx-key": "off",- "react/display-name": "off",- "react/jsx-uses-react": "off",- "react/react-in-jsx-scope": "off",- "react/jsx-no-useless-fragment": "off",- "react/jsx-props-no-spreading": ["error", { "explicitSpread": "ignore" }],- "react-hooks/rules-of-hooks": "error",- "react-hooks/exhaustive-deps": "warn"- }-}diff --git a/packages/twenty-apps/internal/twenty-for-twenty/.yarnrc.yml b/packages/twenty-apps/internal/twenty-for-twenty/.yarnrc.ymldeleted file mode 100644index 3186f3f0795..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/.yarnrc.yml+++ /dev/null@@ -1 +0,0 @@-nodeLinker: node-modulesdiff --git a/packages/twenty-apps/internal/twenty-for-twenty/AGENT.md b/packages/twenty-apps/internal/twenty-for-twenty/AGENT.mddeleted file mode 100644index b10256427b4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/AGENT.md+++ /dev/null@@ -1,14 +0,0 @@-## Base documentation--- Documentation: https://docs.twenty.com/developers/extend/apps/getting-started-- Rich app example: https://github.com/twentyhq/twenty/tree/main/packages/twenty-apps/examples/postcard--## UUID requirement--- All generated UUIDs must be valid UUID v4.--## Common Pitfalls--- Creating an object without an index view associated. Unless this is a technical object, user will need to visualize it.-- Creating a view without a navigationMenuItem associated. This will make the view available on the left sidebar.-- Creating a front-end component that has a scroll instead of being responsive to its fixed widget height and width, unless it is specifically meant to be used in a canvas tab.diff --git a/packages/twenty-apps/internal/twenty-for-twenty/CLAUDE.md b/packages/twenty-apps/internal/twenty-for-twenty/CLAUDE.mddeleted file mode 100644index b10256427b4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/CLAUDE.md+++ /dev/null@@ -1,14 +0,0 @@-## Base documentation--- Documentation: https://docs.twenty.com/developers/extend/apps/getting-started-- Rich app example: https://github.com/twentyhq/twenty/tree/main/packages/twenty-apps/examples/postcard--## UUID requirement--- All generated UUIDs must be valid UUID v4.--## Common Pitfalls--- Creating an object without an index view associated. Unless this is a technical object, user will need to visualize it.-- Creating a view without a navigationMenuItem associated. This will make the view available on the left sidebar.-- Creating a front-end component that has a scroll instead of being responsive to its fixed widget height and width, unless it is specifically meant to be used in a canvas tab.diff --git a/packages/twenty-apps/internal/twenty-for-twenty/LLMS.md b/packages/twenty-apps/internal/twenty-for-twenty/LLMS.mddeleted file mode 100644index b10256427b4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/LLMS.md+++ /dev/null@@ -1,14 +0,0 @@-## Base documentation--- Documentation: https://docs.twenty.com/developers/extend/apps/getting-started-- Rich app example: https://github.com/twentyhq/twenty/tree/main/packages/twenty-apps/examples/postcard--## UUID requirement--- All generated UUIDs must be valid UUID v4.--## Common Pitfalls--- Creating an object without an index view associated. Unless this is a technical object, user will need to visualize it.-- Creating a view without a navigationMenuItem associated. This will make the view available on the left sidebar.-- Creating a front-end component that has a scroll instead of being responsive to its fixed widget height and width, unless it is specifically meant to be used in a canvas tab.diff --git a/packages/twenty-apps/internal/twenty-for-twenty/README.md b/packages/twenty-apps/internal/twenty-for-twenty/README.mddeleted file mode 100644index d599591f20c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/README.md+++ /dev/null@@ -1,57 +0,0 @@-# Twenty for Twenty--The official Twenty internal app, with modules for Resend and more.--## Overview--**Twenty for Twenty** is the official internal Twenty app. It is organized into modules, each integrating a third-party service with Twenty.--### Resend module--Two-way sync between Twenty and the [Resend](https://resend.com) email platform. The module syncs contacts, segments, templates, broadcasts, and emails.--**Inbound (Resend → Twenty):**--- A cron job runs every 5 minutes to pull all entities from the Resend API.-- A webhook endpoint receives real-time events for contacts and emails.--**Outbound (Twenty → Resend):**--- Contact and segment changes in Twenty are pushed back to Resend when records are created, updated, or deleted.--## Configuration--In Twenty, go to **Settings → Applications → Twenty for Twenty** and set:--- **RESEND_API_KEY** — your Resend API key. Create one at https://resend.com/api-keys (full access recommended).-- **RESEND_WEBHOOK_SECRET** — the signing secret for verifying inbound webhooks (see "Webhook setup" below).--### Webhook setup--The app exposes an HTTP endpoint at `/s/webhook/resend` that receives Resend webhook events. To connect it:--1. Go to https://resend.com/webhooks-2. Click **Add webhook**-3. Set the **Endpoint URL** to your Twenty server's public URL + `/s/webhook/resend` (e.g. `https://your-domain.com/s/webhook/resend`)-4. Set **Event types** to **All Events**-5. Click **Add**-6. Copy the **signing secret** Resend displays and paste it into the `RESEND_WEBHOOK_SECRET` app variable in Twenty--## Sync behavior--### Inbound--| Source | Mechanism | Entities |-|---|---|---|-| Cron (every 5 min) | Polls Resend API, upserts into Twenty | Contacts, segments, templates, broadcasts, emails |-| Webhook (real-time) | Receives Resend events via HTTP | Contacts, emails |--### Outbound--| Twenty action | Resend |-|---|---|-| Create contact | Creates the contact in Resend |-| Update contact (name, email, unsubscribed) | Updates the Resend contact |-| Delete contact | Removes the Resend contact |-| Create segment | Creates the segment in Resend |-| Delete segment | Removes the Resend segment |diff --git a/packages/twenty-apps/internal/twenty-for-twenty/package.json b/packages/twenty-apps/internal/twenty-for-twenty/package.jsondeleted file mode 100644index d5db30aa196..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/package.json+++ /dev/null@@ -1,39 +0,0 @@-{- "name": "twenty-for-twenty",- "version": "0.2.0",- "license": "MIT",- "engines": {- "node": "^24.5.0",- "npm": "please-use-yarn",- "yarn": ">=4.0.2"- },- "keywords": [- "twenty-app"- ],- "packageManager": "[email protected]",- "scripts": {- "twenty": "twenty",- "lint": "oxlint -c .oxlintrc.json .",- "lint:fix": "oxlint --fix -c .oxlintrc.json .",- "typecheck": "tsgo --noEmit -p tsconfig.spec.json",- "test": "vitest run",- "test:watch": "vitest",- "test:unit": "vitest run --config vitest.unit.config.ts"- },- "dependencies": {- "resend": "^6.12.0"- },- "devDependencies": {- "@types/node": "^24.7.2",- "@types/react": "^18.2.0",- "@typescript/native-preview": "^7.0.0-dev.20260116.1",- "oxlint": "^0.16.0",- "react": "^18.2.0",- "react-dom": "^18.2.0",- "twenty-client-sdk": "^2.18.0",- "twenty-sdk": "^2.18.0",- "typescript": "^5.9.3",- "vite-tsconfig-paths": "^4.2.1",- "vitest": "^4.0.0"- }-}diff --git a/packages/twenty-apps/internal/twenty-for-twenty/public/resend-icon-black.svg b/packages/twenty-apps/internal/twenty-for-twenty/public/resend-icon-black.svgdeleted file mode 100644index 67af6bf6d61..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/public/resend-icon-black.svg+++ /dev/null@@ -1,3 +0,0 @@-<svg width="1800" height="1800" viewBox="0 0 1800 1800" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M1000.46 450C1174.77 450 1278.43 553.669 1278.43 691.282C1278.43 828.896 1174.77 932.563 1000.46 932.563H912.382L1350 1350H1040.82L707.794 1033.48C683.944 1011.47 672.936 985.781 672.935 963.765C672.935 932.572 694.959 905.049 737.161 893.122L908.712 847.244C973.85 829.812 1018.81 779.353 1018.81 713.298C1018.8 632.567 952.745 585.78 871.095 585.78H450V450H1000.46Z" fill="black"/>-</svg>diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/__tests__/global-setup.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/__tests__/global-setup.tsdeleted file mode 100644index e0f8c23b054..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/__tests__/global-setup.ts+++ /dev/null@@ -1,87 +0,0 @@-import * as fs from 'fs';-import * as os from 'os';-import * as path from 'path';--import { appDevOnce, appUninstall } from 'twenty-sdk/cli';--const APP_PATH = process.cwd();-const CONFIG_DIR = path.join(os.homedir(), '.twenty');--function validateEnv(): { apiUrl: string; apiKey: string } {- const apiUrl = process.env.TWENTY_API_URL;- const apiKey = process.env.TWENTY_API_KEY;-- if (!apiUrl || !apiKey) {- throw new Error(- 'TWENTY_API_URL and TWENTY_API_KEY must be set.\n' +- 'Start a local server: yarn twenty docker:start\n' +- 'Or set them in vitest env config.',- );- }-- return { apiUrl, apiKey };-}--async function checkServer(apiUrl: string) {- let response: Response;-- try {- response = await fetch(`${apiUrl}/healthz`);- } catch {- throw new Error(- `Twenty server is not reachable at ${apiUrl}. ` +- 'Make sure the server is running before executing integration tests.',- );- }-- if (!response.ok) {- throw new Error(`Server at ${apiUrl} returned ${response.status}`);- }-}--function writeConfig(apiUrl: string, apiKey: string) {- const payload = JSON.stringify(- {- remotes: {- local: { apiUrl, apiKey, accessToken: apiKey },- },- defaultRemote: 'local',- },- null,- 2,- );-- fs.mkdirSync(CONFIG_DIR, { recursive: true });- fs.writeFileSync(path.join(CONFIG_DIR, 'config.test.json'), payload);-}--export async function setup() {- const { apiUrl, apiKey } = validateEnv();-- await checkServer(apiUrl);-- writeConfig(apiUrl, apiKey);-- await appUninstall({ appPath: APP_PATH }).catch(() => {});-- const result = await appDevOnce({- appPath: APP_PATH,- onProgress: (message: string) => console.log(`[dev] ${message}`),- });-- if (!result.success) {- throw new Error(- `Dev sync failed: ${result.error?.message ?? 'Unknown error'}`,- );- }-}--export async function teardown() {- const uninstallResult = await appUninstall({ appPath: APP_PATH });-- if (!uninstallResult.success) {- console.warn(- `App uninstall failed: ${uninstallResult.error?.message ?? 'Unknown error'}`,- );- }-}diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/__tests__/twenty-for-twenty.integration-test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/__tests__/twenty-for-twenty.integration-test.tsdeleted file mode 100644index 5f8b929aa15..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/__tests__/twenty-for-twenty.integration-test.ts+++ /dev/null@@ -1,25 +0,0 @@-import { MetadataApiClient } from 'twenty-client-sdk/metadata';-import { describe, expect, it } from 'vitest';--import { APPLICATION_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';--describe('App installation', () => {- it('should find the installed Twenty for Twenty app in the applications list', async () => {- const client = new MetadataApiClient();-- const result = await client.query({- findManyApplications: {- id: true,- name: true,- universalIdentifier: true,- },- });-- const matchingApplication = result.findManyApplications.find(- (application: { universalIdentifier: string }) =>- application.universalIdentifier === APPLICATION_UNIVERSAL_IDENTIFIER,- );-- expect(matchingApplication).toBeDefined();- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/application-config.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/application-config.tsdeleted file mode 100644index 9e66c3da5e1..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/application-config.ts+++ /dev/null@@ -1,40 +0,0 @@-import { defineApplication } from 'twenty-sdk/define';--import {- APP_DESCRIPTION,- APP_DISPLAY_NAME,- APPLICATION_UNIVERSAL_IDENTIFIER,- DEFAULT_ROLE_UNIVERSAL_IDENTIFIER,-} from '@constants/universal-identifiers';-import {- INITIAL_SYNC_MODE_APP_VARIABLE_UNIVERSAL_IDENTIFIER,- RESEND_API_KEY_UNIVERSAL_IDENTIFIER,- RESEND_WEBHOOK_SECRET_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';--export default defineApplication({- universalIdentifier: APPLICATION_UNIVERSAL_IDENTIFIER,- displayName: APP_DISPLAY_NAME,- description: APP_DESCRIPTION,- logoUrl: 'public/resend-icon-black.svg',- applicationVariables: {- RESEND_API_KEY: {- universalIdentifier: RESEND_API_KEY_UNIVERSAL_IDENTIFIER,- description: 'API key for the Resend service',- isSecret: true,- },- RESEND_WEBHOOK_SECRET: {- universalIdentifier: RESEND_WEBHOOK_SECRET_UNIVERSAL_IDENTIFIER,- description: 'Signing secret for verifying Resend webhook payloads',- isSecret: true,- },- INITIAL_SYNC_MODE: {- universalIdentifier: INITIAL_SYNC_MODE_APP_VARIABLE_UNIVERSAL_IDENTIFIER,- description:- "When 'true', the initial-sync cron runs and the intermediate-sync cron is paused. Flipped to 'false' once every list has completed.",- isSecret: false,- value: 'false',- },- },- defaultRoleUniversalIdentifier: DEFAULT_ROLE_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/constants/universal-identifiers.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/constants/universal-identifiers.tsdeleted file mode 100644index 500b7cd5dfb..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/constants/universal-identifiers.ts+++ /dev/null@@ -1,5 +0,0 @@-export const APP_DISPLAY_NAME = 'Twenty for Twenty';-export const APP_DESCRIPTION =- 'The official Twenty internal app – modules for Resend and more';-export const APPLICATION_UNIVERSAL_IDENTIFIER = '9426c4a3-7da4-4f61-bdb7-01e1276478b8';-export const DEFAULT_ROLE_UNIVERSAL_IDENTIFIER = 'b115921d-7ca3-4a1f-94e3-7119174fef78';diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/default-role.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/default-role.tsdeleted file mode 100644index a81de5c541a..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/default-role.ts+++ /dev/null@@ -1,16 +0,0 @@-import { defineRole } from 'twenty-sdk/define';--import {- APP_DISPLAY_NAME,- DEFAULT_ROLE_UNIVERSAL_IDENTIFIER,-} from '@constants/universal-identifiers';--export default defineRole({- universalIdentifier: DEFAULT_ROLE_UNIVERSAL_IDENTIFIER,- label: `${APP_DISPLAY_NAME} default function role`,- description: `${APP_DISPLAY_NAME} default function role`,- canReadAllObjectRecords: true,- canUpdateAllObjectRecords: true,- canSoftDeleteAllObjectRecords: true,- canDestroyAllObjectRecords: false,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/__tests__/sync-config.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/__tests__/sync-config.test.tsdeleted file mode 100644index 942a1c95b86..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/__tests__/sync-config.test.ts+++ /dev/null@@ -1,92 +0,0 @@-import { describe, expect, it } from 'vitest';--import {- RESEND_SYNC_CRON_PATTERNS,- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS,- RESEND_SYNC_SLOT_TIMEOUT_SECONDS,-} from '@modules/resend/constants/sync-config';--const minutesInOneHour = (pattern: string): number[] => {- const [minuteField, hourField, ...rest] = pattern.split(' ');-- expect(hourField).toBe('*');- expect(rest).toEqual(['*', '*', '*']);-- const stepMatch = minuteField.match(/^(\d+)-59\/(\d+)$/);-- if (stepMatch === null) {- throw new Error(- `Unsupported cron minute field for this test helper: ${minuteField}`,- );- }-- const start = Number(stepMatch[1]);- const step = Number(stepMatch[2]);- const minutes: number[] = [];-- for (let m = start; m < 60; m += step) {- minutes.push(m);- }-- return minutes;-};--describe('RESEND_SYNC_CRON_PATTERNS', () => {- it('runs each cron exactly once per 5-minute window with a unique minute offset', () => {- const offsets = {- EMAILS: minutesInOneHour(RESEND_SYNC_CRON_PATTERNS.EMAILS).map(- (m) => m % 5,- ),- CONTACTS: minutesInOneHour(RESEND_SYNC_CRON_PATTERNS.CONTACTS).map(- (m) => m % 5,- ),- BROADCASTS: minutesInOneHour(RESEND_SYNC_CRON_PATTERNS.BROADCASTS).map(- (m) => m % 5,- ),- TEMPLATES: minutesInOneHour(RESEND_SYNC_CRON_PATTERNS.TEMPLATES).map(- (m) => m % 5,- ),- };-- expect(new Set(offsets.EMAILS)).toEqual(new Set([0]));- expect(new Set(offsets.CONTACTS)).toEqual(new Set([1]));- expect(new Set(offsets.BROADCASTS)).toEqual(new Set([2]));- expect(new Set(offsets.TEMPLATES)).toEqual(new Set([3]));-- const firstOffsets = [- offsets.EMAILS[0],- offsets.CONTACTS[0],- offsets.BROADCASTS[0],- offsets.TEMPLATES[0],- ];-- expect(new Set(firstOffsets).size).toBe(4);- });-- it('fires every five minutes for each cron', () => {- for (const pattern of Object.values(RESEND_SYNC_CRON_PATTERNS)) {- const minutes = minutesInOneHour(pattern);-- expect(minutes).toHaveLength(12);- for (let i = 1; i < minutes.length; i++) {- expect(minutes[i] - minutes[i - 1]).toBe(5);- }- }- });-});--describe('RESEND_SYNC_SLOT_TIMEOUT_SECONDS', () => {- it('keeps every 1-minute slot strictly under 60 seconds and the trailing 2-minute slot under 120 seconds', () => {- expect(RESEND_SYNC_SLOT_TIMEOUT_SECONDS.EMAILS).toBeLessThan(60);- expect(RESEND_SYNC_SLOT_TIMEOUT_SECONDS.CONTACTS).toBeLessThan(60);- expect(RESEND_SYNC_SLOT_TIMEOUT_SECONDS.BROADCASTS).toBeLessThan(60);- expect(RESEND_SYNC_SLOT_TIMEOUT_SECONDS.TEMPLATES).toBeLessThan(120);- });-- it('leaves enough slack for the deadline check to fire before the hard timeout', () => {- expect(RESEND_SYNC_SLOT_DEADLINE_SLACK_MS).toBeGreaterThan(0);- expect(RESEND_SYNC_SLOT_DEADLINE_SLACK_MS).toBeLessThan(- RESEND_SYNC_SLOT_TIMEOUT_SECONDS.EMAILS * 1_000,- );- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/sync-config.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/sync-config.tsdeleted file mode 100644index 4ad48f8e71c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/sync-config.ts+++ /dev/null@@ -1,31 +0,0 @@-export const RESEND_PAGE_SIZE = 100;--export const TWENTY_PAGE_SIZE = 100;--export const RATE_LIMIT_MAX_RETRIES = 5;--export const RATE_LIMIT_BASE_DELAY_MS = 1000;--export const RATE_LIMIT_MIN_INTERVAL_MS = 220;--export const SYNC_LOOKUP_PROGRESS = 0.1;--export const INITIAL_SYNC_MODE_ENV_VAR_NAME = 'INITIAL_SYNC_MODE';--export const INTERMEDIATE_SYNC_EMAILS_MAX_AGE_MS = 7 * 24 * 60 * 60 * 1000;--export const RESEND_SYNC_CRON_PATTERNS = {- EMAILS: '0-59/5 * * * *',- CONTACTS: '1-59/5 * * * *',- BROADCASTS: '2-59/5 * * * *',- TEMPLATES: '3-59/5 * * * *',-} as const;--export const RESEND_SYNC_SLOT_TIMEOUT_SECONDS = {- EMAILS: 55,- CONTACTS: 55,- BROADCASTS: 55,- TEMPLATES: 115,-} as const;--export const RESEND_SYNC_SLOT_DEADLINE_SLACK_MS = 5_000;diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/universal-identifiers.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/universal-identifiers.tsdeleted file mode 100644index b5fbc58e556..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/constants/universal-identifiers.ts+++ /dev/null@@ -1,442 +0,0 @@-// App-level-export const RESEND_API_KEY_UNIVERSAL_IDENTIFIER =- 'e5828892-33d5-4532-b796-551df48a07c0';-export const RESEND_WEBHOOK_SECRET_UNIVERSAL_IDENTIFIER =- 'b291b241-bd84-4661-8e79-3dc7a63371dd';-export const INITIAL_SYNC_MODE_APP_VARIABLE_UNIVERSAL_IDENTIFIER =- 'b2e884a5-ccd6-401b-bcd4-3623babaf409';--// Logic functions-export const RESEND_SYNC_BROADCASTS_AND_DEPENDENCIES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- '7fc0e28f-d67f-49ad-a9a5-aa62e9fa938a';-export const RESEND_SYNC_TEMPLATES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- '5a2bf3d1-5dec-4489-8bd8-2e22822ee37b';-export const RESEND_SYNC_CONTACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- 'b48d0d04-663f-4358-9972-3c69a5553dc8';-export const RESEND_SYNC_EMAILS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- '7fd06109-a23a-4bc1-b734-83dcd0862abe';-export const RESEND_INITIAL_SYNC_MODE_MONITOR_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- 'd8b6c007-f2a7-49e5-920f-465af4009072';-export const RESEND_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- '049b7227-3e8b-444b-84aa-939a7e4ca440';--export const ON_RESEND_CONTACT_CREATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- '656b85b4-71d0-477b-9741-4967d8d88ac9';-export const ON_RESEND_CONTACT_UPDATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- '7b770cc2-6d31-4f1b-a7db-48d44cf6109b';-export const ON_RESEND_CONTACT_DESTROYED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- '7a2341e7-d96a-4ba1-b41d-699c73d61081';-export const ON_RESEND_SEGMENT_CREATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- 'ac5b424a-f51d-46c8-a95a-42589fb81676';-export const ON_RESEND_SEGMENT_DESTROYED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER =- 'd5e5b6e1-e0d9-45f0-b3d9-6b96417e4ed0';--// Commands-export const SYNC_RESEND_DATA_COMMAND_UNIVERSAL_IDENTIFIER =- '70c1c7bc-b3f1-491a-90c8-2616facc7a9c';--// Front components-export const SYNC_RESEND_DATA_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =- '96e073b8-e331-40d1-9ec0-137bc921f486';-export const TEMPLATE_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =- '58d79064-1e2a-4500-b8e7-c023cd9835fe';-export const BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =- '79ad4e25-4f31-4e71-9716-4a84f4777e8d';-export const EMAIL_BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =- '842891d2-5c7c-4a7b-b9d0-e9fbdca06fd3';-export const RESEND_SYNC_STATUS_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =- '2b9c7e1d-6a4f-4d3b-9c8e-7f5a3d6b2c4e';-export const PERSON_RESEND_EMAIL_STATS_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =- 'a5f3c1e8-2d9b-4f7a-8e6c-1b3d5f7a9c2e';--// Objects-export const RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER =- 'd59c00df-9715-46b1-bacd-580681435cef';-export const RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER =- 'f06283b0-c7f9-4267-86de-e489f816cca1';-export const RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER =- 'cb91a26f-131b-4db4-916b-7a308fcc29d7';-export const RESEND_TEMPLATE_OBJECT_UNIVERSAL_IDENTIFIER =- '85ddb31f-0d1c-4619-bbaf-3d208c1b9fea';-export const RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER =- 'bebc114f-a8f5-455d-8c6f-e33f20f66967';-export const RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER =- 'e3d6d1a7-09dd-4524-9662-d46a569a1864';-export const RESEND_SYNC_CURSOR_OBJECT_UNIVERSAL_IDENTIFIER =- '3c0f80dc-4b88-4ef6-b08d-4ddd33ba3875';--// Object fields - Resend sync cursor-export const SYNC_CURSOR_STEP_FIELD_UNIVERSAL_IDENTIFIER =- 'cfdfc188-0db3-48f9-a750-c095263e9fbc';-export const SYNC_CURSOR_CURSOR_FIELD_UNIVERSAL_IDENTIFIER =- '18eae3e6-cf5b-4094-9c7f-d2db236e2db1';-export const SYNC_CURSOR_LAST_RUN_AT_FIELD_UNIVERSAL_IDENTIFIER =- 'a8f1c0e3-3bb6-4f5a-9e2c-7d12e96f4a31';-export const SYNC_CURSOR_LAST_RUN_STATUS_FIELD_UNIVERSAL_IDENTIFIER =- '6d4f8b7a-1c52-4d8a-bf7e-12c3a59f7d6c';--// Object fields - Resend email-export const SUBJECT_FIELD_UNIVERSAL_IDENTIFIER =- '9e52c08b-d619-445a-b70b-121dc7676ff3';-export const FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER =- 'c663f57e-0fe3-4066-91df-9eb001bab03a';-export const TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER =- '613e0400-709d-496e-9be4-b6eab8282d2e';-export const CC_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER =- 'eff53046-039e-444e-9142-33d7cc354ad6';-export const BCC_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER =- '3db64fe7-99e9-4d44-81be-e0a55d32b211';-export const REPLY_TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER =- 'acbea701-ca16-4db2-960f-7d8c8493e42d';-export const LAST_EVENT_FIELD_UNIVERSAL_IDENTIFIER =- 'c24331f3-43da-4143-9763-53ae01205300';-export const EMAIL_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER =- '374e4e3a-dc13-4159-813e-e5da789a97f0';-export const EMAIL_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '732e6009-67f7-4880-8161-a4310f4df690';-export const SCHEDULED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '3d1b8deb-f102-4c1b-929e-ed7b2647e64b';-export const EMAIL_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER =- '1b841d96-4318-48f5-aa0d-184d19e9af55';--// Object fields - Resend segment-export const SEGMENT_NAME_FIELD_UNIVERSAL_IDENTIFIER =- '92aad4eb-bfc7-4c3d-aa0a-fad5cf9cbda1';-export const SEGMENT_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER =- '5bce2a58-9eae-4903-b599-3a602e759373';-export const SEGMENT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '4757fafa-3032-4f69-ba09-86d968239a8f';-export const SEGMENT_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER =- '8001f093-09c0-4a22-b7a3-9b1dcee47ce2';--// Object fields - Resend contact-export const CONTACT_EMAIL_FIELD_UNIVERSAL_IDENTIFIER =- '62ce21e5-a015-4f26-8c7a-3c141b6d7064';-export const NAME_FIELD_UNIVERSAL_IDENTIFIER =- 'e0fb9280-4588-4c2b-8996-bbd4c1d33f54';-export const UNSUBSCRIBED_FIELD_UNIVERSAL_IDENTIFIER =- '41403b6f-b91e-4eb6-8875-8b5c21b0a6d3';-export const CONTACT_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER =- 'c84c8703-33e1-4acb-8a7f-1d62647166d5';-export const CONTACT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '040bf210-36cf-49cb-8d83-0da9b864c900';-export const CONTACT_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER =- 'd1874e6a-db94-4308-afc6-aeb4dc3a9eb2';--// Object fields - Resend template-export const TEMPLATE_NAME_FIELD_UNIVERSAL_IDENTIFIER =- 'a045319f-483d-4625-86cd-653111dc8ac3';-export const TEMPLATE_ALIAS_FIELD_UNIVERSAL_IDENTIFIER =- '850a9d4a-df38-4af0-ba69-aaef090cafef';-export const TEMPLATE_STATUS_FIELD_UNIVERSAL_IDENTIFIER =- 'f98b84c0-c8ef-4f9e-a72a-a53e2ef60fea';-export const TEMPLATE_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER =- '33a80d6c-e6ee-490e-b5ac-87b557bcdf50';-export const TEMPLATE_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER =- '3aff5a64-49fa-450c-b85d-4d4f210f6433';-export const TEMPLATE_REPLY_TO_FIELD_UNIVERSAL_IDENTIFIER =- 'b05c1a87-4cea-4e01-8e6a-eff5929de149';-export const TEMPLATE_HTML_FIELD_UNIVERSAL_IDENTIFIER =- '9ced95c8-345d-438d-97dc-f52b99f4a9c3';-export const TEMPLATE_TEXT_FIELD_UNIVERSAL_IDENTIFIER =- 'd7614d4c-ed00-4961-8765-7c8b0c9a320b';-export const TEMPLATE_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER =- '3883be35-ab0e-4bed-bc59-131683b9a0b2';-export const TEMPLATE_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '72939761-7a57-4448-997a-68da6b4f60db';-export const TEMPLATE_UPDATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- 'cfe6a645-ee89-4117-8ace-fb9623e726cc';-export const TEMPLATE_PUBLISHED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '669a3ebb-d60b-41a3-81e9-53ab8b18f2b1';--// Object fields - Resend broadcast-export const BROADCAST_NAME_FIELD_UNIVERSAL_IDENTIFIER =- 'e3222f79-751d-4c9e-b33d-c5f2e6ee8304';-export const BROADCAST_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER =- '51025e6b-375a-45a0-89eb-773314702073';-export const BROADCAST_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER =- 'fa189da3-3443-4984-b637-7fae9b30e2c5';-export const BROADCAST_REPLY_TO_FIELD_UNIVERSAL_IDENTIFIER =- '8674b4e8-1881-4001-a9df-8e9258b59d50';-export const PREVIEW_TEXT_FIELD_UNIVERSAL_IDENTIFIER =- 'b8a008aa-1a44-4edb-b472-f392af635867';-export const BROADCAST_STATUS_FIELD_UNIVERSAL_IDENTIFIER =- '394135a4-6488-4ec3-97bc-d0514921ded8';-export const BROADCAST_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER =- 'ee40a63f-6d32-496a-9f4d-1abfba386909';-export const BROADCAST_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '01855a84-450b-4de9-b172-e51555724370';-export const BROADCAST_SCHEDULED_AT_FIELD_UNIVERSAL_IDENTIFIER =- 'abbb4379-d0a5-432a-8c34-0e940242d687';-export const BROADCAST_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER =- 'e1e281aa-7ba7-47a0-951d-0f6150a63099';-export const BROADCAST_HTML_FIELD_UNIVERSAL_IDENTIFIER =- 'c5bb1861-5d20-4816-89ab-d3d7a35ce1f7';-export const BROADCAST_TEXT_FIELD_UNIVERSAL_IDENTIFIER =- '60de9fcc-7ebd-4c81-ab14-4dd623c5e01e';--// Object fields - Resend topic-export const TOPIC_NAME_FIELD_UNIVERSAL_IDENTIFIER =- '198b6f56-0657-45f6-9c34-c23433f54fc3';-export const TOPIC_DESCRIPTION_FIELD_UNIVERSAL_IDENTIFIER =- 'bd366dbc-8cff-4d92-9236-373daba472d1';-export const TOPIC_DEFAULT_SUBSCRIPTION_FIELD_UNIVERSAL_IDENTIFIER =- '58e26e08-cc90-447d-9cf4-e22afaf64679';-export const TOPIC_VISIBILITY_FIELD_UNIVERSAL_IDENTIFIER =- 'fe7ced6a-1978-4311-bb5e-b2d55c300d82';-export const TOPIC_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER =- 'af8a3e28-c9dd-4c61-8f93-b425cf6de452';-export const TOPIC_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '4cffe6e2-8cf2-4432-bafe-603847e7e283';-export const TOPIC_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER =- '8cbbe9d6-151b-4594-8441-dbce3cb3efde';--// Relation fields-export const SEGMENT_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER =- '8b335824-b19d-486e-b865-5761c795c971';-export const RESEND_BROADCASTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER =- '784601f0-e892-4164-90db-6903ab062c7e';-export const PERSON_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER =- '90353fa9-10fd-4cc8-b7b0-ef9a5d17ff8e';-export const RESEND_CONTACTS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER =- '134222c5-7760-4fd1-b89d-8a956f3068c5';-export const SEGMENT_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER =- '5fbd9063-fb4e-4584-820b-27918b6f95f0';-export const BROADCAST_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER =- '4cd54c84-1e3e-4d3f-a35d-b32a6e8e1137';-export const RESEND_EMAILS_ON_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER =- '0b346627-4797-4cff-8a7c-1dc8f4580d6f';-export const CONTACT_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER =- '46ffbf1c-0c25-4995-a209-291626b6fd2d';-export const RESEND_EMAILS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER =- 'c6142228-e0e4-4143-9942-df4fce3ef231';-export const RESEND_CONTACTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER =- 'ba14727c-19eb-4b08-844c-88bf33b8267d';-export const PERSON_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER =- 'cb08e862-8114-480e-986b-8f50fe49de41';-export const RESEND_EMAILS_ON_CONTACT_FIELD_UNIVERSAL_IDENTIFIER =- 'd8b69019-ca10-4599-b099-ecfc891d6438';-export const TOPIC_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER =- '05c7f816-4c1d-4d98-80e5-e24c6679b363';-export const RESEND_BROADCASTS_ON_TOPIC_FIELD_UNIVERSAL_IDENTIFIER =- '90c64f8d-1352-4f06-bd24-c13d47f0584d';--// Views-export const RESEND_BROADCAST_VIEW_UNIVERSAL_IDENTIFIER =- '9875e352-4dd7-4296-9291-5de5864594b8';-export const RESEND_TEMPLATE_VIEW_UNIVERSAL_IDENTIFIER =- 'c4a00e17-cec7-44f6-85c6-5826a0db8923';-export const RESEND_SEGMENT_VIEW_UNIVERSAL_IDENTIFIER =- '30683084-d0d4-4d25-bb5f-c6bcff9fc92a';-export const RESEND_CONTACT_VIEW_UNIVERSAL_IDENTIFIER =- '3d710924-5f47-4ac7-ba5e-28d3be9ee004';-export const RESEND_EMAIL_VIEW_UNIVERSAL_IDENTIFIER =- '43571c5b-f71d-47bf-95b3-8741b2201315';-export const RESEND_TOPIC_VIEW_UNIVERSAL_IDENTIFIER =- '06755bbf-a1b0-48ad-84d1-37e33cdca872';--// View fields - Resend broadcast view-export const RESEND_BROADCAST_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER =- '7d2bd63b-d609-441e-97b7-8d72e1f64fcb';-export const RESEND_BROADCAST_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER =- '0cb2b32f-a7ca-4c6e-91af-705be37416dd';-export const RESEND_BROADCAST_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER =- '24261a77-9ddd-4fee-bcef-10308b6e438e';-export const RESEND_BROADCAST_VIEW_STATUS_FIELD_UNIVERSAL_IDENTIFIER =- 'ba957060-3879-4812-98ac-0199732c79d9';-export const RESEND_BROADCAST_VIEW_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER =- '7e78132b-7b33-468e-962d-d7bb1b3025d4';-export const RESEND_BROADCAST_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- 'fdcf945c-5d0f-42f2-94e6-765d5216bd2f';-export const RESEND_BROADCAST_VIEW_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER =- '4d7eb630-9f44-4090-a887-7fb08e0c49ed';-export const RESEND_BROADCAST_VIEW_EMAILS_FIELD_UNIVERSAL_IDENTIFIER =- 'e1726752-fed7-4e9b-b395-e47b60f3d56d';-export const RESEND_BROADCAST_VIEW_TOPIC_FIELD_UNIVERSAL_IDENTIFIER =- '13d2f272-4670-4021-8443-eba57f8d3423';--// View fields - Resend topic view-export const RESEND_TOPIC_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER =- 'b78f30af-4973-4905-ae6c-d44e0febe1b9';-export const RESEND_TOPIC_VIEW_DESCRIPTION_FIELD_UNIVERSAL_IDENTIFIER =- '4c71eabd-f5c4-4644-a67d-0ece699dd7d4';-export const RESEND_TOPIC_VIEW_VISIBILITY_FIELD_UNIVERSAL_IDENTIFIER =- 'db96323c-9d07-47d9-9773-14068c513c75';-export const RESEND_TOPIC_VIEW_DEFAULT_SUBSCRIPTION_FIELD_UNIVERSAL_IDENTIFIER =- '0ffe1090-a4e1-4c4f-ad9f-03496d29dd55';-export const RESEND_TOPIC_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- 'c4c206e1-d9ca-4db1-abe0-7ccd9914df7b';-export const RESEND_TOPIC_VIEW_BROADCASTS_FIELD_UNIVERSAL_IDENTIFIER =- '53d704d6-196c-44a3-9ddc-d91bf6194eb0';--// View fields - Resend template view-export const RESEND_TEMPLATE_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER =- '01464797-cd0c-4686-b4fd-8e7f9d2e81d4';-export const RESEND_TEMPLATE_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER =- 'c9c823c4-27f2-4805-a6ce-e22e97c5ac16';-export const RESEND_TEMPLATE_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER =- '36a274f8-4273-4b16-8a66-99c652ca308d';-export const RESEND_TEMPLATE_VIEW_STATUS_FIELD_UNIVERSAL_IDENTIFIER =- '0474cc6b-3e28-4fb6-b0ba-3b22004eb9c4';-export const RESEND_TEMPLATE_VIEW_UPDATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '6bc34358-17b2-40c6-a0bc-3320ac972736';-export const RESEND_TEMPLATE_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- 'e3e90309-715c-4962-95d3-ddc46124fc93';--// View fields - Resend segment view-export const RESEND_SEGMENT_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER =- 'dc878169-b670-4aff-90b4-869849ec063e';-export const RESEND_SEGMENT_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '4898ae92-b94e-4bbf-850d-76011613fd64';-export const RESEND_SEGMENT_VIEW_CONTACTS_FIELD_UNIVERSAL_IDENTIFIER =- 'cd223c54-d968-4830-b84f-ebefe8595842';-export const RESEND_SEGMENT_VIEW_BROADCASTS_FIELD_UNIVERSAL_IDENTIFIER =- '0adacbc6-f355-49bb-9350-b7202cf28b8c';--// View fields - Resend contact view-export const RESEND_CONTACT_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER =- 'f589ef0c-0f8b-4895-8d84-bd3b743f925f';-export const RESEND_CONTACT_VIEW_EMAIL_FIELD_UNIVERSAL_IDENTIFIER =- '3af5988f-de6b-46de-996b-439bd5acd51c';-export const RESEND_CONTACT_VIEW_UNSUBSCRIBED_FIELD_UNIVERSAL_IDENTIFIER =- 'efa38cf1-afcf-461a-9780-6d916e02256b';-export const RESEND_CONTACT_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- 'a48545bb-8cf1-4836-82fa-d0c7bc314a1b';-export const RESEND_CONTACT_VIEW_PERSON_FIELD_UNIVERSAL_IDENTIFIER =- '9fc1ab4b-fc2d-4c33-9de5-3cff7b0ea5ec';-export const RESEND_CONTACT_VIEW_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER =- '54949f7e-0454-45a5-9e30-8f16f75adeaa';-export const RESEND_CONTACT_VIEW_EMAILS_FIELD_UNIVERSAL_IDENTIFIER =- 'fbbe207d-dbda-4bda-935c-a6fa9ae30645';--// View fields - Resend email view-export const RESEND_EMAIL_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER =- '3a3ee801-6dfa-43b4-ba22-5c079a2d238d';-export const RESEND_EMAIL_VIEW_TO_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER =- '4ddb4d8e-f597-418a-ac92-a8dbd93dbee6';-export const RESEND_EMAIL_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER =- '486e23dd-3d8b-42d8-86a8-146d5fd7aaf0';-export const RESEND_EMAIL_VIEW_LAST_EVENT_FIELD_UNIVERSAL_IDENTIFIER =- '94e9b3ce-c858-4b15-96ca-69fedf834853';-export const RESEND_EMAIL_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER =- '61dd7f9f-ce22-4fb4-aeee-f36154211cf8';-export const RESEND_EMAIL_VIEW_PERSON_FIELD_UNIVERSAL_IDENTIFIER =- '5b6cf4a7-f11f-49d4-bc05-8f1d6e0ad72a';-export const RESEND_EMAIL_VIEW_CONTACT_FIELD_UNIVERSAL_IDENTIFIER =- 'abee6dcd-4754-45b2-ae77-d42bec85afad';-export const RESEND_EMAIL_VIEW_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER =- '8d7df695-5ffb-46b7-9a57-ac979988351f';-export const RESEND_EMAIL_VIEW_TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER =- 'e52cc330-bd21-460f-a539-7a1b8a119dc8';--// Navigation menu items-export const RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER =- 'd87574b8-f09b-4963-bfa0-9e4afd433035';-export const RESEND_TEMPLATE_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER =- 'c56546f1-e4f0-4d03-a480-d152e4b8b427';-export const RESEND_SEGMENT_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER =- '6aa7a107-3c7a-4099-9f8e-b1fa21e6f612';-export const RESEND_EMAIL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER =- '9d99110c-68ba-41c0-bd95-9b829ab84974';-export const RESEND_BROADCAST_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER =- 'cb11a15d-2116-4dd2-9f7d-88ffd2271620';-export const RESEND_CONTACT_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER =- '7cf30c1e-3f3c-4250-9141-a6584dc6697b';-export const RESEND_TOPIC_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER =- '398560f0-3cd2-4749-99db-8096ab43e2f5';--// Page layouts - Resend template record page-export const RESEND_TEMPLATE_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER =- '466cb8b7-70ec-4bb8-802d-6a6bdab4f647';-export const RESEND_TEMPLATE_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER =- 'f8106373-a1a2-4bb8-86b5-0faf8ed52953';-export const RESEND_TEMPLATE_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER =- 'fa3ad75b-b700-4450-8961-c4395a10ba9f';-export const RESEND_TEMPLATE_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER =- '56206825-2f86-40be-b311-f5ebc91e016b';-export const RESEND_TEMPLATE_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER =- '534b14b0-8ed1-414b-8a83-b631955c2058';-export const RESEND_TEMPLATE_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER =- '8b62586a-f976-4bae-8ec0-696369e8ec0f';-export const RESEND_TEMPLATE_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER =- '4099d844-7104-4fc0-8cb0-b1e0f88d9d33';-export const RESEND_TEMPLATE_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER =- '5dc2596a-28c8-4cd1-8500-6648b576f64a';-export const RESEND_TEMPLATE_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER =- '2fe143b4-aa7e-43d3-8a4e-becbe94e96a6';-export const RESEND_TEMPLATE_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER =- 'd82f101a-93fc-44c6-afd9-26dd7a1ba99a';-export const RESEND_TEMPLATE_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER =- '57c3e4e2-d898-40f3-9273-2dbc07746dba';-export const RESEND_TEMPLATE_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER =- 'f017f93c-c611-46ca-9bef-6c5038cf9609';-export const RESEND_TEMPLATE_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER =- '3059a217-5322-4744-9ed0-4757591bba1c';--// Page layouts - Resend broadcast record page-export const RESEND_BROADCAST_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER =- 'bb61745d-f760-4d1b-aab6-be286a4e84c9';-export const RESEND_BROADCAST_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER =- 'b19ff920-72f6-4b16-9049-da27f35bc6c8';-export const RESEND_BROADCAST_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER =- '804f0a5d-32e2-414a-bb2a-b39cc98d1813';-export const RESEND_BROADCAST_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER =- 'bb2d137f-a07d-4e8e-9f99-5d2d401b5de5';-export const RESEND_BROADCAST_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER =- 'cd87eda6-f1d2-43ce-a8c0-b1d055d58134';-export const RESEND_BROADCAST_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER =- '0092e23d-72b4-4e24-90c2-c2bee1c1ceb7';-export const RESEND_BROADCAST_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER =- '9b70da94-185a-406a-8552-1013a2df58cb';-export const RESEND_BROADCAST_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER =- 'e7d41836-d4bf-47bb-9016-0e22571eb59f';-export const RESEND_BROADCAST_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER =- '59eb58c9-324a-4244-bbf0-d841b4dcaec2';-export const RESEND_BROADCAST_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER =- '44347daf-da78-4868-ab47-70643994cb8b';-export const RESEND_BROADCAST_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER =- '6dbc85dc-3f3e-4f00-94a7-0cfac5d63fca';-export const RESEND_BROADCAST_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER =- '7dfffff1-9dbf-4abd-af23-49ea60c00bf9';-export const RESEND_BROADCAST_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER =- '9ea88269-d202-469e-aec5-07409ef22987';--// Page layouts - Resend email record page-export const RESEND_EMAIL_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER =- 'e481afa9-f100-4d88-959d-d4b3518583a2';-export const RESEND_EMAIL_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER =- '7273a427-5920-42c9-8f50-82bebf01f2bd';-export const RESEND_EMAIL_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER =- '4eebad57-eb42-4b69-85a6-2e7c1d365b94';-export const RESEND_EMAIL_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER =- '074a8e3e-33b7-47de-b8da-122dccac06ed';-export const RESEND_EMAIL_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER =- '4842262b-eb12-4a51-b40d-faee1c563203';-export const RESEND_EMAIL_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER =- 'e6c548d4-c371-4b4c-b59c-5b5f4fe50b11';-export const RESEND_EMAIL_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER =- 'e45c80c7-d5b7-4109-aa5a-ab534d7c4ca2';-export const RESEND_EMAIL_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER =- 'bce4141e-d115-43ea-94f0-5c45d0ab38b2';-export const RESEND_EMAIL_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER =- '9eab60e5-e305-482d-aec0-ab928a20c855';-export const RESEND_EMAIL_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER =- '45ada37c-1f26-4552-9726-308638304ddc';-export const RESEND_EMAIL_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER =- 'a4edbea4-a5c3-4316-b6a7-c46fc97d36cd';-export const RESEND_EMAIL_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER =- 'c2f8a3d1-7e49-4b56-9c0a-8d1e5f3b7a92';-export const RESEND_EMAIL_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER =- 'b9d4e6f2-1a38-4c75-8b0d-3f7a9c2e5d14';--// Page layouts - Resend sync status standalone page-export const RESEND_SYNC_STATUS_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER =- '556a2d62-b21f-4958-8176-27c3ef50e00d';-export const RESEND_SYNC_STATUS_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER =- '026d6c62-4afe-4ce0-afcb-2b82c2f71b0b';-export const RESEND_SYNC_STATUS_PAGE_WIDGET_UNIVERSAL_IDENTIFIER =- 'a93cf282-e9b8-42e7-a4f5-1a5181b83786';--// Navigation menu items (additional)-export const RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER =- '8cd224de-885b-446b-9b81-d0e97e4e531c';diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/constants/email-status-groups.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/constants/email-status-groups.tsdeleted file mode 100644index 9c9035459af..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/constants/email-status-groups.ts+++ /dev/null@@ -1,108 +0,0 @@-export type ThemeColor =- | 'red'- | 'ruby'- | 'crimson'- | 'tomato'- | 'orange'- | 'amber'- | 'yellow'- | 'lime'- | 'grass'- | 'green'- | 'jade'- | 'mint'- | 'turquoise'- | 'cyan'- | 'sky'- | 'blue'- | 'iris'- | 'violet'- | 'purple'- | 'plum'- | 'pink'- | 'bronze'- | 'gold'- | 'brown'- | 'gray';--export type ResendEmailStatus =- | 'SENT'- | 'DELIVERED'- | 'DELIVERY_DELAYED'- | 'COMPLAINED'- | 'BOUNCED'- | 'OPENED'- | 'CLICKED'- | 'SCHEDULED'- | 'QUEUED'- | 'FAILED'- | 'CANCELED'- | 'RECEIVED'- | 'SUPPRESSED';--export type EmailStatusGroup = 'reached' | 'failed' | 'inFlight' | 'other';--export const EMAIL_STATUS_GROUP_BY_STATUS: Record<- ResendEmailStatus,- EmailStatusGroup-> = {- DELIVERED: 'reached',- OPENED: 'reached',- CLICKED: 'reached',- BOUNCED: 'failed',- FAILED: 'failed',- COMPLAINED: 'failed',- SUPPRESSED: 'failed',- SENT: 'inFlight',- QUEUED: 'inFlight',- SCHEDULED: 'inFlight',- DELIVERY_DELAYED: 'inFlight',- CANCELED: 'other',- RECEIVED: 'other',-};--export type EmailStatusMeta = {- label: string;- color: ThemeColor;-};--export const EMAIL_STATUS_META_BY_STATUS: Record<- ResendEmailStatus,- EmailStatusMeta-> = {- SENT: { label: 'Sent', color: 'blue' },- DELIVERED: { label: 'Delivered', color: 'green' },- DELIVERY_DELAYED: { label: 'Delivery Delayed', color: 'yellow' },- COMPLAINED: { label: 'Complained', color: 'orange' },- BOUNCED: { label: 'Bounced', color: 'red' },- OPENED: { label: 'Opened', color: 'turquoise' },- CLICKED: { label: 'Clicked', color: 'sky' },- SCHEDULED: { label: 'Scheduled', color: 'gray' },- QUEUED: { label: 'Queued', color: 'gray' },- FAILED: { label: 'Failed', color: 'red' },- CANCELED: { label: 'Canceled', color: 'gray' },- RECEIVED: { label: 'Received', color: 'blue' },- SUPPRESSED: { label: 'Suppressed', color: 'red' },-};--export const RESEND_EMAIL_STATUS_DISPLAY_ORDER: ReadonlyArray<ResendEmailStatus> =- [- 'DELIVERED',- 'OPENED',- 'CLICKED',- 'SENT',- 'QUEUED',- 'SCHEDULED',- 'DELIVERY_DELAYED',- 'BOUNCED',- 'COMPLAINED',- 'SUPPRESSED',- 'FAILED',- 'CANCELED',- 'RECEIVED',- ];--export const isResendEmailStatus = (- value: string | null | undefined,-): value is ResendEmailStatus =>- typeof value === 'string' && value in EMAIL_STATUS_GROUP_BY_STATUS;diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/front-components/PersonResendEmailStats.front-component.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/front-components/PersonResendEmailStats.front-component.tsxdeleted file mode 100644index acfc8a74494..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/front-components/PersonResendEmailStats.front-component.tsx+++ /dev/null@@ -1,339 +0,0 @@-import { defineFrontComponent } from 'twenty-sdk/define';-import {- Callout,- H2Title,- IconAlertCircle,- IconMail,- IconRefresh,-} from '@ui';--import { isDefined } from '@utils/is-defined';--import { PERSON_RESEND_EMAIL_STATS_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import {- EMAIL_STATUS_META_BY_STATUS,- RESEND_EMAIL_STATUS_DISPLAY_ORDER,- type ThemeColor,-} from '@modules/resend/email-stats/constants/email-status-groups';-import { usePersonResendEmailStats } from '@modules/resend/email-stats/hooks/usePersonResendEmailStats';--// Theme tokens are inlined as their CSS-variable values because the SDK mocks-// the UI package during manifest extraction, which would leave an imported-// `themeCssVariables` undefined at module level. The values mirror-// `twenty-ui/theme-constants`.-const THEME_COLORS: ReadonlyArray<ThemeColor> = [- 'red',- 'ruby',- 'crimson',- 'tomato',- 'orange',- 'amber',- 'yellow',- 'lime',- 'grass',- 'green',- 'jade',- 'mint',- 'turquoise',- 'cyan',- 'sky',- 'blue',- 'iris',- 'violet',- 'purple',- 'plum',- 'pink',- 'bronze',- 'gold',- 'brown',- 'gray',-];--const buildTagColorRecord = (variant: string): Record<ThemeColor, string> =>- Object.fromEntries(- THEME_COLORS.map((color) => [color, `var(--t-tag-${variant}-${color})`]),- ) as Record<ThemeColor, string>;--const themeCssVariables = {- spacing: {- '2': 'var(--t-spacing-2)',- '3': 'var(--t-spacing-3)',- '4': 'var(--t-spacing-4)',- '5': 'var(--t-spacing-5)',- },- background: {- secondary: 'var(--t-background-secondary)',- },- border: {- color: {- light: 'var(--t-border-color-light)',- },- radius: {- sm: 'var(--t-border-radius-sm)',- md: 'var(--t-border-radius-md)',- pill: 'var(--t-border-radius-pill)',- },- },- font: {- color: {- primary: 'var(--t-font-color-primary)',- secondary: 'var(--t-font-color-secondary)',- tertiary: 'var(--t-font-color-tertiary)',- },- size: {- xs: 'var(--t-font-size-xs)',- sm: 'var(--t-font-size-sm)',- },- family: 'var(--t-font-family)',- },- tag: {- background: buildTagColorRecord('background'),- text: buildTagColorRecord('text'),- },-};--const getDeliverabilityColor = (rate: number): ThemeColor => {- if (rate >= 0.95) return 'green';- if (rate >= 0.8) return 'yellow';- return 'red';-};--const formatRate = (rate: number): string => `${Math.round(rate * 100)}%`;--const formatPercentage = (value: number, total: number): string => {- if (total === 0) return '0%';-- const pct = (value / total) * 100;-- return pct >= 10 ? `${pct.toFixed(0)}%` : `${pct.toFixed(1)}%`;-};--type StatusPillProps = {- color: ThemeColor;- text: string;-};--const StatusPill = ({ color, text }: StatusPillProps) => (- <span- style={{- display: 'inline-flex',- alignItems: 'center',- padding: `0 ${themeCssVariables.spacing[2]}`,- height: themeCssVariables.spacing[5],- borderRadius: themeCssVariables.border.radius.sm,- background: themeCssVariables.tag.background[color],- color: themeCssVariables.tag.text[color],- fontSize: themeCssVariables.font.size.xs,- fontWeight: 500,- lineHeight: 1,- whiteSpace: 'nowrap',- }}- >- {text}- </span>-);--const PROGRESS_BAR_HEIGHT = '8px';--type MiniProgressBarProps = {- value: number;- color: ThemeColor;-};--const MiniProgressBar = ({ value, color }: MiniProgressBarProps) => {- const clamped = Math.max(0, Math.min(100, value));-- return (- <div- role="progressbar"- aria-valuenow={Math.round(clamped)}- aria-valuemin={0}- aria-valuemax={100}- style={{- position: 'relative',- width: '100%',- height: PROGRESS_BAR_HEIGHT,- borderRadius: themeCssVariables.border.radius.pill,- background: themeCssVariables.tag.background[color],- overflow: 'hidden',- }}- >- <div- style={{- width: `${clamped}%`,- height: '100%',- borderRadius: themeCssVariables.border.radius.pill,- background: themeCssVariables.tag.text[color],- transition: 'width 0.3s linear',- }}- />- </div>- );-};--const getStyles = (): Record<string, React.CSSProperties> => ({- container: {- fontFamily: themeCssVariables.font.family,- fontSize: themeCssVariables.font.size.sm,- color: themeCssVariables.font.color.primary,- display: 'flex',- flexDirection: 'column',- gap: themeCssVariables.spacing[3],- boxSizing: 'border-box',- },- card: {- padding: themeCssVariables.spacing[3],- borderRadius: themeCssVariables.border.radius.md,- background: themeCssVariables.background.secondary,- border: `1px solid ${themeCssVariables.border.color.light}`,- display: 'flex',- flexDirection: 'column',- gap: themeCssVariables.spacing[2],- },- cardHeader: {- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- gap: themeCssVariables.spacing[2],- },- h2TitleNoMargin: {- display: 'flex',- marginBottom: `calc(-1 * ${themeCssVariables.spacing[4]})`,- },- rateRow: {- display: 'flex',- alignItems: 'center',- gap: themeCssVariables.spacing[2],- color: themeCssVariables.font.color.secondary,- },- rateMeta: {- fontSize: themeCssVariables.font.size.xs,- color: themeCssVariables.font.color.tertiary,- },- legend: {- display: 'flex',- flexDirection: 'column',- gap: themeCssVariables.spacing[2],- },- statusRow: {- display: 'grid',- gridTemplateColumns: 'minmax(120px, max-content) 1fr auto',- alignItems: 'center',- gap: themeCssVariables.spacing[2],- },- statusCount: {- fontVariantNumeric: 'tabular-nums',- color: themeCssVariables.font.color.secondary,- whiteSpace: 'nowrap',- },-});--const PersonResendEmailStats = () => {- const { stats, loading, error } = usePersonResendEmailStats();- const styles = getStyles();-- if (loading) {- return (- <div style={styles.container}>- <Callout- variant="neutral"- title="Loading email stats"- description="Computing per-status counts and deliverability\u2026"- Icon={IconRefresh}- />- </div>- );- }-- if (isDefined(error)) {- return (- <div style={styles.container}>- <Callout- variant="error"- title="Failed to load email stats"- description={error}- Icon={IconAlertCircle}- />- </div>- );- }-- if (stats.total === 0) {- return (- <div style={styles.container}>- <Callout- variant="info"- title="No Resend emails yet"- description="This person has no linked Resend emails to compute stats from."- Icon={IconMail}- />- </div>- );- }-- const deliverabilityRate = stats.deliverabilityRate;- const deliverabilityDenominator =- stats.groupCounts.reached + stats.groupCounts.failed;- const rateColor = isDefined(deliverabilityRate)- ? getDeliverabilityColor(deliverabilityRate)- : 'gray';- const rateLabel = isDefined(deliverabilityRate)- ? formatRate(deliverabilityRate)- : 'N/A';-- return (- <div style={styles.container}>- <div style={styles.card}>- <div style={styles.cardHeader}>- <div style={styles.h2TitleNoMargin}>- <H2Title title="Deliverability rate" />- </div>- <StatusPill color={rateColor} text={rateLabel} />- </div>- <MiniProgressBar- value={isDefined(deliverabilityRate) ? deliverabilityRate * 100 : 0}- color={rateColor}- />- <div style={styles.rateMeta}>- {stats.groupCounts.reached} delivered out of{' '}- {deliverabilityDenominator} concluded ({stats.total} total emails)- </div>- </div>-- <div style={styles.card}>- <div style={styles.h2TitleNoMargin}>- <H2Title title="Status breakdown" />- </div>- <div style={styles.legend}>- {RESEND_EMAIL_STATUS_DISPLAY_ORDER.map((status) => {- const count = stats.countsByStatus[status];-- if (count === 0) return null;-- const meta = EMAIL_STATUS_META_BY_STATUS[status];- const percentage = (count / stats.total) * 100;-- return (- <div key={status} style={styles.statusRow}>- <StatusPill color={meta.color} text={meta.label} />- <MiniProgressBar value={percentage} color={meta.color} />- <span style={styles.statusCount}>- {count} ({formatPercentage(count, stats.total)})- </span>- </div>- );- })}- </div>- </div>- </div>- );-};--export default defineFrontComponent({- universalIdentifier:- PERSON_RESEND_EMAIL_STATS_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- name: 'Person Resend Email Stats',- description:- "Shows the breakdown of a person's linked Resend emails by last event and computes the deliverability rate.",- component: PersonResendEmailStats,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/hooks/usePersonResendEmailStats.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/hooks/usePersonResendEmailStats.tsdeleted file mode 100644index abbc707e517..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/hooks/usePersonResendEmailStats.ts+++ /dev/null@@ -1,126 +0,0 @@-import { useEffect, useState } from 'react';-import { CoreApiClient } from 'twenty-client-sdk/core';-import { useRecordId } from 'twenty-sdk/front-component';--import { isDefined } from '@utils/is-defined';--import { computeEmailStats, type EmailStats } from '@modules/resend/email-stats/utils/compute-email-stats';-import { extractConnection } from '@modules/resend/shared/utils/typed-client';--const PAGE_SIZE = 100;-const MAX_PAGES = 50;--type ResendEmailLastEventNode = {- lastEvent?: string | null;-};--export type PersonResendEmailStatsState = {- stats: EmailStats;- loading: boolean;- error: string | null;-};--const buildEmptyStats = (): EmailStats => computeEmailStats([]);--export const usePersonResendEmailStats = (): PersonResendEmailStatsState => {- const recordId = useRecordId();- const [state, setState] = useState<PersonResendEmailStatsState>({- stats: buildEmptyStats(),- loading: true,- error: null,- });-- useEffect(() => {- if (!isDefined(recordId)) {- setState({- stats: buildEmptyStats(),- loading: false,- error: 'No record ID',- });- return;- }-- let cancelled = false;-- const load = async () => {- setState({ stats: buildEmptyStats(), loading: true, error: null });-- try {- const client = new CoreApiClient();- const collected: ResendEmailLastEventNode[] = [];- let afterCursor: string | undefined;-- for (let page = 0; page < MAX_PAGES; page += 1) {- const queryArgs: Record<string, unknown> = {- filter: { personId: { eq: recordId } },- first: PAGE_SIZE,- };-- if (isDefined(afterCursor)) {- queryArgs.after = afterCursor;- }-- const queryResult = await client.query({- resendEmails: {- __args: queryArgs,- pageInfo: {- hasNextPage: true,- endCursor: true,- },- edges: {- node: {- lastEvent: true,- },- },- },- });-- const connection = extractConnection<ResendEmailLastEventNode>(- queryResult,- 'resendEmails',- );-- for (const edge of connection.edges) {- collected.push(edge.node);- }-- const hasNextPage = connection.pageInfo?.hasNextPage ?? false;- const endCursor = connection.pageInfo?.endCursor;-- if (!hasNextPage || !isDefined(endCursor)) {- break;- }-- afterCursor = endCursor;- }-- if (!cancelled) {- setState({- stats: computeEmailStats(collected),- loading: false,- error: null,- });- }- } catch (fetchError) {- if (!cancelled) {- setState({- stats: buildEmptyStats(),- loading: false,- error:- fetchError instanceof Error- ? fetchError.message- : String(fetchError),- });- }- }- };-- load();-- return () => {- cancelled = true;- };- }, [recordId]);-- return state;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/utils/__tests__/compute-email-stats.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/utils/__tests__/compute-email-stats.test.tsdeleted file mode 100644index c63052fd931..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/utils/__tests__/compute-email-stats.test.ts+++ /dev/null@@ -1,106 +0,0 @@-import { describe, expect, it } from 'vitest';--import { computeEmailStats } from '@modules/resend/email-stats/utils/compute-email-stats';--describe('computeEmailStats', () => {- it('returns zeroed counts and a null deliverability rate for an empty list', () => {- const stats = computeEmailStats([]);-- expect(stats.total).toBe(0);- expect(stats.deliverabilityRate).toBeNull();- expect(stats.groupCounts).toEqual({- reached: 0,- failed: 0,- inFlight: 0,- other: 0,- });- expect(stats.countsByStatus.DELIVERED).toBe(0);- expect(stats.countsByStatus.BOUNCED).toBe(0);- });-- it('returns a deliverability rate of 1 when all emails are delivered', () => {- const stats = computeEmailStats([- { lastEvent: 'DELIVERED' },- { lastEvent: 'DELIVERED' },- { lastEvent: 'OPENED' },- { lastEvent: 'CLICKED' },- ]);-- expect(stats.total).toBe(4);- expect(stats.groupCounts.reached).toBe(4);- expect(stats.groupCounts.failed).toBe(0);- expect(stats.deliverabilityRate).toBe(1);- });-- it('returns a deliverability rate of 0 when every email failed', () => {- const stats = computeEmailStats([- { lastEvent: 'BOUNCED' },- { lastEvent: 'FAILED' },- { lastEvent: 'COMPLAINED' },- { lastEvent: 'SUPPRESSED' },- ]);-- expect(stats.total).toBe(4);- expect(stats.groupCounts.reached).toBe(0);- expect(stats.groupCounts.failed).toBe(4);- expect(stats.deliverabilityRate).toBe(0);- });-- it('returns a null deliverability rate when only in-flight statuses are present', () => {- const stats = computeEmailStats([- { lastEvent: 'SENT' },- { lastEvent: 'QUEUED' },- { lastEvent: 'SCHEDULED' },- { lastEvent: 'DELIVERY_DELAYED' },- ]);-- expect(stats.total).toBe(4);- expect(stats.groupCounts.inFlight).toBe(4);- expect(stats.deliverabilityRate).toBeNull();- });-- it('aggregates a mixed list correctly', () => {- const stats = computeEmailStats([- { lastEvent: 'DELIVERED' },- { lastEvent: 'DELIVERED' },- { lastEvent: 'OPENED' },- { lastEvent: 'BOUNCED' },- { lastEvent: 'FAILED' },- { lastEvent: 'SENT' },- { lastEvent: 'CANCELED' },- ]);-- expect(stats.total).toBe(7);- expect(stats.countsByStatus.DELIVERED).toBe(2);- expect(stats.countsByStatus.OPENED).toBe(1);- expect(stats.countsByStatus.BOUNCED).toBe(1);- expect(stats.countsByStatus.FAILED).toBe(1);- expect(stats.countsByStatus.SENT).toBe(1);- expect(stats.countsByStatus.CANCELED).toBe(1);-- expect(stats.groupCounts).toEqual({- reached: 3,- failed: 2,- inFlight: 1,- other: 1,- });-- expect(stats.deliverabilityRate).toBeCloseTo(3 / 5);- });-- it('ignores unknown, null, and undefined statuses', () => {- const stats = computeEmailStats([- { lastEvent: 'DELIVERED' },- { lastEvent: 'BOUNCED' },- { lastEvent: null },- { lastEvent: undefined },- { lastEvent: 'NOT_A_REAL_STATUS' },- {},- ]);-- expect(stats.total).toBe(2);- expect(stats.groupCounts.reached).toBe(1);- expect(stats.groupCounts.failed).toBe(1);- expect(stats.deliverabilityRate).toBe(0.5);- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/utils/compute-email-stats.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/utils/compute-email-stats.tsdeleted file mode 100644index 6fa73204d39..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/email-stats/utils/compute-email-stats.ts+++ /dev/null@@ -1,71 +0,0 @@-import {- EMAIL_STATUS_GROUP_BY_STATUS,- isResendEmailStatus,- type EmailStatusGroup,- type ResendEmailStatus,-} from '@modules/resend/email-stats/constants/email-status-groups';--export type EmailStatsInput = ReadonlyArray<{- lastEvent?: string | null;-}>;--export type EmailStats = {- total: number;- countsByStatus: Record<ResendEmailStatus, number>;- groupCounts: Record<EmailStatusGroup, number>;- deliverabilityRate: number | null;-};--const buildEmptyStatusCounts = (): Record<ResendEmailStatus, number> => ({- SENT: 0,- DELIVERED: 0,- DELIVERY_DELAYED: 0,- COMPLAINED: 0,- BOUNCED: 0,- OPENED: 0,- CLICKED: 0,- SCHEDULED: 0,- QUEUED: 0,- FAILED: 0,- CANCELED: 0,- RECEIVED: 0,- SUPPRESSED: 0,-});--const buildEmptyGroupCounts = (): Record<EmailStatusGroup, number> => ({- reached: 0,- failed: 0,- inFlight: 0,- other: 0,-});--export const computeEmailStats = (emails: EmailStatsInput): EmailStats => {- const countsByStatus = buildEmptyStatusCounts();- const groupCounts = buildEmptyGroupCounts();- let total = 0;-- for (const email of emails) {- const status = email.lastEvent;-- if (!isResendEmailStatus(status)) {- continue;- }-- countsByStatus[status] += 1;- groupCounts[EMAIL_STATUS_GROUP_BY_STATUS[status]] += 1;- total += 1;- }-- const deliverabilityDenominator = groupCounts.reached + groupCounts.failed;- const deliverabilityRate =- deliverabilityDenominator > 0- ? groupCounts.reached / deliverabilityDenominator- : null;-- return {- total,- countsByStatus,- groupCounts,- deliverabilityRate,- };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/components/HtmlPreview.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/components/HtmlPreview.tsxdeleted file mode 100644index 305d047137d..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/components/HtmlPreview.tsx+++ /dev/null@@ -1,70 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { isDefined } from '@utils/is-defined';--type HtmlPreviewProps = {- html: string | null | undefined;-};--// Theme tokens are inlined as their CSS-variable values because the SDK mocks-// the UI package during manifest extraction, which would leave an imported-// `themeCssVariables` undefined at module level. The values mirror-// `twenty-ui/theme-constants`.-const themeCssVariables = {- spacing: {- '4': 'var(--t-spacing-4)',- },- background: {- primary: 'var(--t-background-primary)',- secondary: 'var(--t-background-secondary)',- },- font: {- color: {- tertiary: 'var(--t-font-color-tertiary)',- },- size: {- sm: 'var(--t-font-size-sm)',- },- family: 'var(--t-font-family)',- },-};--// Styles are computed lazily inside the component body because the SDK mocks-// the UI package at manifest-build time, which leaves `themeCssVariables`-// undefined during static module evaluation.-const getStyles = (): Record<string, React.CSSProperties> => ({- emptyState: {- display: 'flex',- alignItems: 'center',- justifyContent: 'center',- height: '100%',- padding: themeCssVariables.spacing[4],- fontFamily: themeCssVariables.font.family,- fontSize: themeCssVariables.font.size.sm,- color: themeCssVariables.font.color.tertiary,- background: themeCssVariables.background.secondary,- boxSizing: 'border-box',- },- iframe: {- width: '100%',- height: '100%',- border: 'none',- background: themeCssVariables.background.primary,- },-});--export const HtmlPreview = ({ html }: HtmlPreviewProps) => {- const styles = getStyles();-- if (!isDefined(html) || !isNonEmptyString(html)) {- return <div style={styles.emptyState}>No HTML content available</div>;- }-- return (- <iframe- srcDoc={html}- sandbox=""- title="Email HTML preview"- style={styles.iframe}- />- );-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/components/RecordHtmlViewer.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/components/RecordHtmlViewer.tsxdeleted file mode 100644index abf12c84a79..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/components/RecordHtmlViewer.tsx+++ /dev/null@@ -1,104 +0,0 @@-import { isDefined } from '@utils/is-defined';-import { Callout, IconAlertCircle } from '@ui';--import { HtmlPreview } from '@modules/resend/html-viewer/components/HtmlPreview';-import { useRecordHtml } from '@modules/resend/html-viewer/hooks/useRecordHtml';--type RecordHtmlViewerProps = {- objectName: string;- loadingText: string;-};--// Theme tokens are inlined as their CSS-variable values because the SDK mocks-// the UI package during manifest extraction, which would leave an imported-// `themeCssVariables` undefined at module level. The values mirror-// `twenty-ui/theme-constants`.-const themeCssVariables = {- spacing: {- '4': 'var(--t-spacing-4)',- },- background: {- secondary: 'var(--t-background-secondary)',- },- border: {- color: {- light: 'var(--t-border-color-light)',- },- radius: {- md: 'var(--t-border-radius-md)',- },- },- font: {- color: {- tertiary: 'var(--t-font-color-tertiary)',- },- size: {- sm: 'var(--t-font-size-sm)',- },- family: 'var(--t-font-family)',- },-};--// Styles are computed lazily inside the component body because the SDK mocks-// the UI package at manifest-build time, which leaves `themeCssVariables`-// undefined during static module evaluation.-const getStyles = (): Record<string, React.CSSProperties> => {- const stateContainer: React.CSSProperties = {- padding: themeCssVariables.spacing[4],- fontFamily: themeCssVariables.font.family,- height: '100%',- boxSizing: 'border-box',- };-- return {- stateContainer,- loader: {- ...stateContainer,- display: 'flex',- alignItems: 'center',- justifyContent: 'center',- color: themeCssVariables.font.color.tertiary,- fontSize: themeCssVariables.font.size.sm,- },- previewWrapper: {- width: '100%',- height: '100%',- background: themeCssVariables.background.secondary,- border: `1px solid ${themeCssVariables.border.color.light}`,- borderRadius: themeCssVariables.border.radius.md,- overflow: 'hidden',- boxSizing: 'border-box',- },- };-};--export const RecordHtmlViewer = ({- objectName,- loadingText,-}: RecordHtmlViewerProps) => {- const { html, loading, error } = useRecordHtml(objectName);- const styles = getStyles();-- if (loading) {- return <div style={styles.loader}>{loadingText}</div>;- }-- if (isDefined(error)) {- return (- <div style={styles.stateContainer}>- <Callout- variant="error"- title="Failed to load content"- description={error}- Icon={IconAlertCircle}- />- </div>- );- }-- return (- <div style={styles.previewWrapper}>- <HtmlPreview html={html} />- </div>- );-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/BroadcastHtmlViewer.front-component.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/BroadcastHtmlViewer.front-component.tsxdeleted file mode 100644index 62ddc1554fe..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/BroadcastHtmlViewer.front-component.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { defineFrontComponent } from 'twenty-sdk/define';--import { RecordHtmlViewer } from '@modules/resend/html-viewer/components/RecordHtmlViewer';-import { BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';--const BroadcastHtmlViewer = () => (- <RecordHtmlViewer- objectName="resendBroadcast"- loadingText="Loading broadcast..."- />-);--export default defineFrontComponent({- universalIdentifier:- BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- name: 'Broadcast HTML Viewer',- description: 'Renders the HTML body of a Resend broadcast',- component: BroadcastHtmlViewer,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/EmailBroadcastHtmlViewer.front-component.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/EmailBroadcastHtmlViewer.front-component.tsxdeleted file mode 100644index 10008cd983b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/EmailBroadcastHtmlViewer.front-component.tsx+++ /dev/null@@ -1,117 +0,0 @@-import { isDefined } from '@utils/is-defined';-import { defineFrontComponent } from 'twenty-sdk/define';-import { Callout, IconAlertCircle, IconInfoCircle } from '@ui';--import { EMAIL_BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import { HtmlPreview } from '@modules/resend/html-viewer/components/HtmlPreview';-import { useRelatedBroadcastHtml } from '@modules/resend/html-viewer/hooks/useRelatedBroadcastHtml';--// Theme tokens are inlined as their CSS-variable values because the SDK mocks-// the UI package during manifest extraction, which would leave an imported-// `themeCssVariables` undefined at module level. The values mirror-// `twenty-ui/theme-constants`.-const themeCssVariables = {- spacing: {- '4': 'var(--t-spacing-4)',- },- background: {- secondary: 'var(--t-background-secondary)',- },- border: {- color: {- light: 'var(--t-border-color-light)',- },- radius: {- md: 'var(--t-border-radius-md)',- },- },- font: {- color: {- tertiary: 'var(--t-font-color-tertiary)',- },- size: {- sm: 'var(--t-font-size-sm)',- },- family: 'var(--t-font-family)',- },-};--const getStyles = (): Record<string, React.CSSProperties> => {- const stateContainer: React.CSSProperties = {- padding: themeCssVariables.spacing[4],- fontFamily: themeCssVariables.font.family,- height: '100%',- boxSizing: 'border-box',- };-- return {- stateContainer,- loader: {- ...stateContainer,- display: 'flex',- alignItems: 'center',- justifyContent: 'center',- color: themeCssVariables.font.color.tertiary,- fontSize: themeCssVariables.font.size.sm,- },- previewWrapper: {- width: '100%',- height: '100%',- background: themeCssVariables.background.secondary,- border: `1px solid ${themeCssVariables.border.color.light}`,- borderRadius: themeCssVariables.border.radius.md,- overflow: 'hidden',- boxSizing: 'border-box',- },- };-};--const EmailBroadcastHtmlViewer = () => {- const { html, loading, error, hasBroadcast } = useRelatedBroadcastHtml();- const styles = getStyles();-- if (loading) {- return <div style={styles.loader}>Loading broadcast preview...</div>;- }-- if (isDefined(error)) {- return (- <div style={styles.stateContainer}>- <Callout- variant="error"- title="Failed to load broadcast preview"- description={error}- Icon={IconAlertCircle}- />- </div>- );- }-- if (!hasBroadcast) {- return (- <div style={styles.stateContainer}>- <Callout- variant="info"- title="No broadcast linked"- description="This email is not linked to a broadcast, so there is no HTML preview to display."- Icon={IconInfoCircle}- />- </div>- );- }-- return (- <div style={styles.previewWrapper}>- <HtmlPreview html={html} />- </div>- );-};--export default defineFrontComponent({- universalIdentifier:- EMAIL_BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- name: 'Email Broadcast HTML Viewer',- description:- 'Renders the HTML body of the broadcast linked to a Resend email',- component: EmailBroadcastHtmlViewer,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/TemplateHtmlViewer.front-component.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/TemplateHtmlViewer.front-component.tsxdeleted file mode 100644index ae62c69345b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/front-components/TemplateHtmlViewer.front-component.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { defineFrontComponent } from 'twenty-sdk/define';--import { RecordHtmlViewer } from '@modules/resend/html-viewer/components/RecordHtmlViewer';-import { TEMPLATE_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';--const TemplateHtmlViewer = () => (- <RecordHtmlViewer- objectName="resendTemplate"- loadingText="Loading template..."- />-);--export default defineFrontComponent({- universalIdentifier:- TEMPLATE_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- name: 'Template HTML Viewer',- description: 'Renders the HTML body of a Resend email template',- component: TemplateHtmlViewer,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/hooks/useRecordHtml.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/hooks/useRecordHtml.tsdeleted file mode 100644index ffabaf41a58..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/hooks/useRecordHtml.ts+++ /dev/null@@ -1,60 +0,0 @@-import { useEffect, useState } from 'react';-import { useRecordId } from 'twenty-sdk/front-component';-import { CoreApiClient } from 'twenty-client-sdk/core';--import { isDefined } from '@utils/is-defined';--type RecordHtmlState = {- html: string | null;- loading: boolean;- error: string | null;-};--export const useRecordHtml = (objectName: string): RecordHtmlState => {- const recordId = useRecordId();- const [state, setState] = useState<RecordHtmlState>({- html: null,- loading: true,- error: null,- });-- useEffect(() => {- if (!isDefined(recordId)) {- setState({ html: null, loading: false, error: 'No record ID' });- return;- }-- setState({ html: null, loading: true, error: null });-- new CoreApiClient()- .query({- [objectName]: {- __args: { filter: { id: { eq: recordId } } },- htmlBody: true,- },- })- .then((result: unknown) => {- const record = (result as Record<string, unknown>)[objectName] as- | { htmlBody?: string | null }- | undefined;-- setState(- isDefined(record)- ? { html: record.htmlBody ?? null, loading: false, error: null }- : { html: null, loading: false, error: 'Record not found' },- );- })- .catch((fetchError: unknown) => {- setState({- html: null,- loading: false,- error:- fetchError instanceof Error- ? fetchError.message- : String(fetchError),- });- });- }, [recordId, objectName]);-- return state;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/hooks/useRelatedBroadcastHtml.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/hooks/useRelatedBroadcastHtml.tsdeleted file mode 100644index 6b9ee5a7a57..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/html-viewer/hooks/useRelatedBroadcastHtml.ts+++ /dev/null@@ -1,96 +0,0 @@-import { useEffect, useState } from 'react';-import { useRecordId } from 'twenty-sdk/front-component';-import { CoreApiClient } from 'twenty-client-sdk/core';--import { isDefined } from '@utils/is-defined';--type RelatedBroadcastHtmlState = {- html: string | null;- loading: boolean;- error: string | null;- hasBroadcast: boolean;-};--type ResendEmailWithBroadcast = {- broadcast?: { htmlBody?: string | null } | null;-};--export const useRelatedBroadcastHtml = (): RelatedBroadcastHtmlState => {- const recordId = useRecordId();- const [state, setState] = useState<RelatedBroadcastHtmlState>({- html: null,- loading: true,- error: null,- hasBroadcast: false,- });-- useEffect(() => {- if (!isDefined(recordId)) {- setState({- html: null,- loading: false,- error: 'No record ID',- hasBroadcast: false,- });- return;- }-- setState({ html: null, loading: true, error: null, hasBroadcast: false });-- new CoreApiClient()- .query({- resendEmail: {- __args: { filter: { id: { eq: recordId } } },- broadcast: {- htmlBody: true,- },- },- })- .then((result: unknown) => {- const record = (result as Record<string, unknown>).resendEmail as- | ResendEmailWithBroadcast- | null- | undefined;-- if (!isDefined(record)) {- setState({- html: null,- loading: false,- error: 'Email not found',- hasBroadcast: false,- });- return;- }-- if (!isDefined(record.broadcast)) {- setState({- html: null,- loading: false,- error: null,- hasBroadcast: false,- });- return;- }-- setState({- html: record.broadcast.htmlBody ?? null,- loading: false,- error: null,- hasBroadcast: true,- });- })- .catch((fetchError: unknown) => {- setState({- html: null,- loading: false,- error:- fetchError instanceof Error- ? fetchError.message- : String(fetchError),- hasBroadcast: false,- });- });- }, [recordId]);-- return state;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/command-menu-items/sync-resend-data.command-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/command-menu-items/sync-resend-data.command-menu-item.tsdeleted file mode 100644index ee289d3ce3d..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/command-menu-items/sync-resend-data.command-menu-item.ts+++ /dev/null@@ -1,16 +0,0 @@-import { defineCommandMenuItem } from 'twenty-sdk/define';--import {- SYNC_RESEND_DATA_COMMAND_UNIVERSAL_IDENTIFIER,- SYNC_RESEND_DATA_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';--export default defineCommandMenuItem({- universalIdentifier: SYNC_RESEND_DATA_COMMAND_UNIVERSAL_IDENTIFIER,- label: 'Sync Resend data',- icon: 'IconRefresh',- isPinned: false,- availabilityType: 'GLOBAL',- frontComponentUniversalIdentifier:- SYNC_RESEND_DATA_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/components/ResendSyncStatus.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/components/ResendSyncStatus.tsxdeleted file mode 100644index f42ba58f0d3..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/components/ResendSyncStatus.tsx+++ /dev/null@@ -1,297 +0,0 @@-import { isDefined } from '@utils/is-defined';-import { useEffect, useState } from 'react';-import { CoreApiClient } from 'twenty-client-sdk/core';-import {- Callout,- H2Title,- IconAlertCircle,- IconRefresh,- Status,-} from '@ui';--import { extractConnection } from '@modules/resend/shared/utils/typed-client';-import { RESEND_SYNC_CURSOR_STEPS } from '@modules/resend/sync/cursor/constants/resend-sync-cursor-steps';-import type { SyncCursorStep } from '@modules/resend/sync/cursor/types/sync-cursor-step';--// Theme tokens are inlined as their CSS-variable values because the SDK mocks-// the UI package during manifest extraction, which would leave an imported-// `themeCssVariables` undefined at module level. The values mirror-// `twenty-ui/theme-constants`.-const themeCssVariables = {- spacing: {- '1': 'var(--t-spacing-1)',- '2': 'var(--t-spacing-2)',- '3': 'var(--t-spacing-3)',- '4': 'var(--t-spacing-4)',- },- background: {- secondary: 'var(--t-background-secondary)',- transparent: {- light: 'var(--t-background-transparent-light)',- },- },- border: {- color: {- light: 'var(--t-border-color-light)',- },- radius: {- sm: 'var(--t-border-radius-sm)',- md: 'var(--t-border-radius-md)',- },- },- font: {- color: {- primary: 'var(--t-font-color-primary)',- secondary: 'var(--t-font-color-secondary)',- },- size: {- xs: 'var(--t-font-size-xs)',- sm: 'var(--t-font-size-sm)',- },- family: 'var(--t-font-family)',- },-};--type CursorRowStatus = 'SUCCESS' | 'FAILED' | 'IN_PROGRESS';--type CursorRow = {- id: string;- step: SyncCursorStep;- cursor: string | null;- lastRunAt: string | null;- lastRunStatus: CursorRowStatus | null;-};--type FetchState = {- rows: CursorRow[];- loading: boolean;- error: string | null;-};--type StatusThemeColor = 'green' | 'red' | 'orange' | 'gray';--const STATUS_COLOR_BY_RUN_STATUS: Record<CursorRowStatus, StatusThemeColor> = {- SUCCESS: 'green',- FAILED: 'red',- IN_PROGRESS: 'orange',-};--const STATUS_LABEL_BY_RUN_STATUS: Record<CursorRowStatus, string> = {- SUCCESS: 'Success',- FAILED: 'Failed',- IN_PROGRESS: 'In progress',-};--const formatTimestamp = (value: string | null): string => {- if (!isDefined(value)) {- return '—';- }-- const parsed = new Date(value);-- if (Number.isNaN(parsed.getTime())) {- return value;- }-- return parsed.toLocaleString();-};--const formatStepLabel = (step: SyncCursorStep): string =>- step- .toLowerCase()- .split('_')- .map((part) =>- part.length > 0 ? part[0].toUpperCase() + part.slice(1) : part,- )- .join(' ');--const getStyles = (): Record<string, React.CSSProperties> => ({- container: {- fontFamily: themeCssVariables.font.family,- fontSize: themeCssVariables.font.size.sm,- color: themeCssVariables.font.color.primary,- display: 'flex',- flexDirection: 'column',- gap: themeCssVariables.spacing[3],- },- card: {- padding: themeCssVariables.spacing[3],- borderRadius: themeCssVariables.border.radius.md,- background: themeCssVariables.background.secondary,- border: `1px solid ${themeCssVariables.border.color.light}`,- display: 'flex',- flexDirection: 'column',- gap: themeCssVariables.spacing[2],- userSelect: 'text',- WebkitUserSelect: 'text',- cursor: 'text',- },- cardHeader: {- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- gap: themeCssVariables.spacing[2],- },- cursorCode: {- display: 'inline-block',- maxWidth: '100%',- overflow: 'hidden',- textOverflow: 'ellipsis',- whiteSpace: 'nowrap',- verticalAlign: 'bottom',- fontFamily: 'ui-monospace, SFMono-Regular, Menlo, monospace',- fontSize: themeCssVariables.font.size.xs,- color: themeCssVariables.font.color.secondary,- background: themeCssVariables.background.transparent.light,- borderRadius: themeCssVariables.border.radius.sm,- padding: `0 ${themeCssVariables.spacing[1]}`,- },- h2TitleNoMargin: {- display: 'flex',- marginBottom: `calc(-1 * ${themeCssVariables.spacing[4]})`,- },- cardLine: {- fontSize: themeCssVariables.font.size.sm,- color: themeCssVariables.font.color.secondary,- display: 'flex',- alignItems: 'center',- gap: themeCssVariables.spacing[1],- },-});--export const ResendSyncStatus = () => {- const [state, setState] = useState<FetchState>({- rows: [],- loading: true,- error: null,- });-- useEffect(() => {- let cancelled = false;-- const load = async () => {- try {- const client = new CoreApiClient();-- const cursorResult = await client.query({- resendSyncCursors: {- __args: { first: 50 },- edges: {- node: {- id: true,- step: true,- cursor: true,- lastRunAt: true,- lastRunStatus: true,- },- },- },- });-- const connection = extractConnection<CursorRow>(- cursorResult,- 'resendSyncCursors',- );-- if (!cancelled) {- setState({- rows: connection.edges.map((edge) => edge.node),- loading: false,- error: null,- });- }- } catch (fetchError) {- if (!cancelled) {- setState({- rows: [],- loading: false,- error:- fetchError instanceof Error- ? fetchError.message- : String(fetchError),- });- }- }- };-- load();-- return () => {- cancelled = true;- };- }, []);-- const styles = getStyles();-- if (state.loading) {- return (- <div style={styles.container}>- <Callout- variant="neutral"- title="Loading sync status"- description="Fetching cursors and queue counts…"- Icon={IconRefresh}- />- </div>- );- }-- if (isDefined(state.error)) {- return (- <div style={styles.container}>- <Callout- variant="error"- title="Failed to load sync status"- description={state.error}- Icon={IconAlertCircle}- />- </div>- );- }-- const rowByStep = new Map<SyncCursorStep, CursorRow>();-- for (const row of state.rows) {- rowByStep.set(row.step, row);- }-- return (- <div style={styles.container}>- {RESEND_SYNC_CURSOR_STEPS.map((step) => {- const row = rowByStep.get(step);- const runStatus = row?.lastRunStatus ?? null;- const cursor = row?.cursor ?? null;- const lastRunAt = row?.lastRunAt ?? null;- const statusColor: StatusThemeColor = isDefined(runStatus)- ? STATUS_COLOR_BY_RUN_STATUS[runStatus]- : 'gray';- const statusLabel = isDefined(runStatus)- ? STATUS_LABEL_BY_RUN_STATUS[runStatus]- : 'Not synced';-- return (- <div key={step} style={styles.card}>- <div style={styles.cardHeader}>- <div style={styles.h2TitleNoMargin}>- <H2Title title={formatStepLabel(step)} />- </div>- <Status- color={statusColor}- text={statusLabel}- isLoaderVisible={runStatus === 'IN_PROGRESS'}- />- </div>- <div style={styles.cardLine}>- Last run: {formatTimestamp(lastRunAt)}- </div>- {isDefined(cursor) && cursor !== '' && (- <div style={styles.cardLine}>- Resume cursor: <code style={styles.cursorCode}>{cursor}</code>- </div>- )}- </div>- );- })}- </div>- );-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/constants/resend-sync-status-menu-item-name.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/constants/resend-sync-status-menu-item-name.tsdeleted file mode 100644index 379e003b678..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/constants/resend-sync-status-menu-item-name.ts+++ /dev/null@@ -1 +0,0 @@-export const RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME = 'Sync Status';diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/front-components/ResendSyncStatus.front-component.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/front-components/ResendSyncStatus.front-component.tsxdeleted file mode 100644index 5563cbf7ce2..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/front-components/ResendSyncStatus.front-component.tsx+++ /dev/null@@ -1,12 +0,0 @@-import { defineFrontComponent } from 'twenty-sdk/define';--import { ResendSyncStatus } from '@modules/resend/manual-sync/components/ResendSyncStatus';-import { RESEND_SYNC_STATUS_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';--export default defineFrontComponent({- universalIdentifier: RESEND_SYNC_STATUS_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- name: 'Resend sync status',- description:- 'Displays the latest run timestamp, status, and error for each Resend sync step',- component: ResendSyncStatus,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/front-components/SyncResendData.front-component.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/front-components/SyncResendData.front-component.tsxdeleted file mode 100644index 42b483beb0b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/front-components/SyncResendData.front-component.tsx+++ /dev/null@@ -1,88 +0,0 @@-import { isDefined } from '@utils/is-defined';-import { CoreApiClient } from 'twenty-client-sdk/core';-import { MetadataApiClient } from 'twenty-client-sdk/metadata';-import { defineFrontComponent } from 'twenty-sdk/define';-import {- AppPath,- Command,- enqueueSnackbar,- navigate,-} from 'twenty-sdk/front-component';--import { APPLICATION_UNIVERSAL_IDENTIFIER } from '@constants/universal-identifiers';-import { INITIAL_SYNC_MODE_ENV_VAR_NAME } from '@modules/resend/constants/sync-config';-import { SYNC_RESEND_DATA_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import { resolveSyncStatusPageLayoutId } from '@modules/resend/manual-sync/utils/resolve-sync-status-page-layout-id';-import { resetAllSyncCursors } from '@modules/resend/sync/cursor/utils/reset-all-sync-cursors';--const resolveApplicationId = async (- metadataClient: MetadataApiClient,-): Promise<string> => {- const { findManyApplications } = await metadataClient.query({- findManyApplications: {- id: true,- universalIdentifier: true,- },- });-- const match = findManyApplications.find(- (application: { universalIdentifier: string }) =>- application.universalIdentifier === APPLICATION_UNIVERSAL_IDENTIFIER,- );-- if (!isDefined(match)) {- throw new Error('Twenty-for-Twenty application not found');- }-- return match.id;-};--const flipInitialSyncModeOn = async (- metadataClient: MetadataApiClient,- applicationId: string,-): Promise<void> => {- await metadataClient.mutation({- updateOneApplicationVariable: {- __args: {- key: INITIAL_SYNC_MODE_ENV_VAR_NAME,- value: 'true',- applicationId,- },- },- });-};--const execute = async () => {- const metadataClient = new MetadataApiClient();- const coreApiClient = new CoreApiClient();-- await resetAllSyncCursors(coreApiClient);-- const applicationId = await resolveApplicationId(metadataClient);-- await flipInitialSyncModeOn(metadataClient, applicationId);-- const pageLayoutId = await resolveSyncStatusPageLayoutId(- metadataClient,- applicationId,- );-- await enqueueSnackbar({- message:- 'Sync cursors reset and initial sync triggered — it will run in the background.',- variant: 'success',- });-- await navigate(AppPath.PageLayoutPage, { pageLayoutId });-};--const SyncResendData = () => <Command execute={execute} />;--export default defineFrontComponent({- universalIdentifier: SYNC_RESEND_DATA_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- name: 'Sync Resend Data',- description:- 'Resets every Resend sync cursor and flips the application into initial sync mode so the scheduled sync handlers restart from scratch on their next run.',- isHeadless: true,- component: SyncResendData,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/utils/__tests__/resolve-sync-status-page-layout-id.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/utils/__tests__/resolve-sync-status-page-layout-id.test.tsdeleted file mode 100644index 19947306206..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/utils/__tests__/resolve-sync-status-page-layout-id.test.ts+++ /dev/null@@ -1,112 +0,0 @@-import { type MetadataApiClient } from 'twenty-client-sdk/metadata';-import { describe, expect, it, vi } from 'vitest';--import { RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME } from '@modules/resend/manual-sync/constants/resend-sync-status-menu-item-name';-import { resolveSyncStatusPageLayoutId } from '@modules/resend/manual-sync/utils/resolve-sync-status-page-layout-id';--type NavigationMenuItem = {- id: string;- applicationId: string | null;- type: string;- name: string | null;- pageLayoutId: string | null;-};--const makeClient = (navigationMenuItems: NavigationMenuItem[]) => {- const query = vi.fn(async () => ({ navigationMenuItems }));-- return { query } as unknown as MetadataApiClient;-};--const APPLICATION_ID = 'app-1';-const PAGE_LAYOUT_ID = 'page-layout-1';--describe('resolveSyncStatusPageLayoutId', () => {- it('returns the pageLayoutId of the matching menu item', async () => {- const client = makeClient([- {- id: 'item-1',- applicationId: APPLICATION_ID,- type: 'PAGE_LAYOUT',- name: RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME,- pageLayoutId: PAGE_LAYOUT_ID,- },- ]);-- const result = await resolveSyncStatusPageLayoutId(client, APPLICATION_ID);-- expect(result).toBe(PAGE_LAYOUT_ID);- });-- it('ignores menu items from a different application', async () => {- const client = makeClient([- {- id: 'item-1',- applicationId: 'other-app',- type: 'PAGE_LAYOUT',- name: RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME,- pageLayoutId: 'other-page-layout',- },- ]);-- await expect(- resolveSyncStatusPageLayoutId(client, APPLICATION_ID),- ).rejects.toThrow('Resend Sync Status page layout not found');- });-- it('ignores menu items with a different type', async () => {- const client = makeClient([- {- id: 'item-1',- applicationId: APPLICATION_ID,- type: 'FOLDER',- name: RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME,- pageLayoutId: null,- },- ]);-- await expect(- resolveSyncStatusPageLayoutId(client, APPLICATION_ID),- ).rejects.toThrow('Resend Sync Status page layout not found');- });-- it('ignores menu items with a different name', async () => {- const client = makeClient([- {- id: 'item-1',- applicationId: APPLICATION_ID,- type: 'PAGE_LAYOUT',- name: 'Some Other Page',- pageLayoutId: PAGE_LAYOUT_ID,- },- ]);-- await expect(- resolveSyncStatusPageLayoutId(client, APPLICATION_ID),- ).rejects.toThrow('Resend Sync Status page layout not found');- });-- it('throws when the matching menu item has a null pageLayoutId', async () => {- const client = makeClient([- {- id: 'item-1',- applicationId: APPLICATION_ID,- type: 'PAGE_LAYOUT',- name: RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME,- pageLayoutId: null,- },- ]);-- await expect(- resolveSyncStatusPageLayoutId(client, APPLICATION_ID),- ).rejects.toThrow('Resend Sync Status page layout not found');- });-- it('throws when the response contains no menu items', async () => {- const client = makeClient([]);-- await expect(- resolveSyncStatusPageLayoutId(client, APPLICATION_ID),- ).rejects.toThrow('Resend Sync Status page layout not found');- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/utils/resolve-sync-status-page-layout-id.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/utils/resolve-sync-status-page-layout-id.tsdeleted file mode 100644index 5b2cf95524d..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/manual-sync/utils/resolve-sync-status-page-layout-id.ts+++ /dev/null@@ -1,39 +0,0 @@-import { isDefined } from '@utils/is-defined';-import { type MetadataApiClient } from 'twenty-client-sdk/metadata';--import { RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME } from '@modules/resend/manual-sync/constants/resend-sync-status-menu-item-name';--type NavigationMenuItem = {- applicationId: string | null;- type: string;- name: string | null;- pageLayoutId: string | null;-};--export const resolveSyncStatusPageLayoutId = async (- metadataClient: MetadataApiClient,- applicationId: string,-): Promise<string> => {- const { navigationMenuItems } = await metadataClient.query({- navigationMenuItems: {- id: true,- name: true,- type: true,- applicationId: true,- pageLayoutId: true,- },- });-- const match = (navigationMenuItems as NavigationMenuItem[]).find(- (item) =>- item.applicationId === applicationId &&- item.type === 'PAGE_LAYOUT' &&- item.name === RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME,- );-- if (!isDefined(match) || !isDefined(match.pageLayoutId)) {- throw new Error('Resend Sync Status page layout not found');- }-- return match.pageLayoutId;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/broadcast-on-resend-email.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/broadcast-on-resend-email.field.tsdeleted file mode 100644index 11790b1b3d3..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/broadcast-on-resend-email.field.ts+++ /dev/null@@ -1,24 +0,0 @@-import {- BROADCAST_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_EMAILS_ON_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: BROADCAST_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'broadcast',- label: 'Broadcast',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- RESEND_EMAILS_ON_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.MANY_TO_ONE,- joinColumnName: 'broadcastId',- },- icon: 'IconSpeakerphone',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/contact-on-resend-email.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/contact-on-resend-email.field.tsdeleted file mode 100644index a15e2b53622..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/contact-on-resend-email.field.ts+++ /dev/null@@ -1,24 +0,0 @@-import {- CONTACT_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_EMAILS_ON_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: CONTACT_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'contact',- label: 'Contact',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- RESEND_EMAILS_ON_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.MANY_TO_ONE,- joinColumnName: 'contactId',- },- icon: 'IconUser',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/person-on-resend-contact.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/person-on-resend-contact.field.tsdeleted file mode 100644index f99b1b2486a..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/person-on-resend-contact.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- PERSON_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACTS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType, STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: PERSON_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'person',- label: 'Person',- relationTargetObjectMetadataUniversalIdentifier:- STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.person.universalIdentifier,- relationTargetFieldMetadataUniversalIdentifier:- RESEND_CONTACTS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.MANY_TO_ONE,- joinColumnName: 'personId',- },- icon: 'IconUser',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/person-on-resend-email.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/person-on-resend-email.field.tsdeleted file mode 100644index 2d85536dd39..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/person-on-resend-email.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- PERSON_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAILS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType, STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: PERSON_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'person',- label: 'Person',- relationTargetObjectMetadataUniversalIdentifier:- STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.person.universalIdentifier,- relationTargetFieldMetadataUniversalIdentifier:- RESEND_EMAILS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.MANY_TO_ONE,- joinColumnName: 'personId',- },- icon: 'IconUser',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-broadcasts-on-segment.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-broadcasts-on-segment.field.tsdeleted file mode 100644index db3b195ab04..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-broadcasts-on-segment.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- RESEND_BROADCASTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- SEGMENT_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: RESEND_BROADCASTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'resendBroadcasts',- label: 'Broadcasts',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- SEGMENT_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.ONE_TO_MANY,- },- icon: 'IconSpeakerphone',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-broadcasts-on-topic.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-broadcasts-on-topic.field.tsdeleted file mode 100644index 4e374cd9b93..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-broadcasts-on-topic.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- RESEND_BROADCASTS_ON_TOPIC_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER,- TOPIC_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: RESEND_BROADCASTS_ON_TOPIC_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'resendBroadcasts',- label: 'Broadcasts',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- TOPIC_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.ONE_TO_MANY,- },- icon: 'IconSpeakerphone',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-contacts-on-person.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-contacts-on-person.field.tsdeleted file mode 100644index ae0e95a8ab4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-contacts-on-person.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- PERSON_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACTS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType, STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: RESEND_CONTACTS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier:- STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.person.universalIdentifier,- type: FieldType.RELATION,- name: 'resendContacts',- label: 'Resend Contacts',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- PERSON_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.ONE_TO_MANY,- },- icon: 'IconUser',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-contacts-on-segment.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-contacts-on-segment.field.tsdeleted file mode 100644index 253883f1010..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-contacts-on-segment.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- RESEND_CONTACTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- SEGMENT_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: RESEND_CONTACTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'resendContacts',- label: 'Contacts',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- SEGMENT_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.ONE_TO_MANY,- },- icon: 'IconUser',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-broadcast.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-broadcast.field.tsdeleted file mode 100644index 5e473516354..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-broadcast.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- BROADCAST_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_EMAILS_ON_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: RESEND_EMAILS_ON_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'resendEmails',- label: 'Emails',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- BROADCAST_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.ONE_TO_MANY,- },- icon: 'IconMail',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-contact.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-contact.field.tsdeleted file mode 100644index ca44f59aae3..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-contact.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- CONTACT_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_EMAILS_ON_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: RESEND_EMAILS_ON_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'resendEmails',- label: 'Emails',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- CONTACT_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.ONE_TO_MANY,- },- icon: 'IconMail',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-person.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-person.field.tsdeleted file mode 100644index 1e8f54c16e8..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/resend-emails-on-person.field.ts+++ /dev/null@@ -1,23 +0,0 @@-import {- PERSON_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAILS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType, STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: RESEND_EMAILS_ON_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier:- STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.person.universalIdentifier,- type: FieldType.RELATION,- name: 'resendEmails',- label: 'Resend Emails',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- PERSON_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.ONE_TO_MANY,- },- icon: 'IconMail',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/segment-on-resend-broadcast.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/segment-on-resend-broadcast.field.tsdeleted file mode 100644index 34ff7531d37..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/segment-on-resend-broadcast.field.ts+++ /dev/null@@ -1,24 +0,0 @@-import {- RESEND_BROADCASTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- SEGMENT_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: SEGMENT_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'segment',- label: 'Segment',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- RESEND_BROADCASTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.MANY_TO_ONE,- joinColumnName: 'segmentId',- },- icon: 'IconUsersGroup',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/segment-on-resend-contact.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/segment-on-resend-contact.field.tsdeleted file mode 100644index 28eeb3b9f8e..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/segment-on-resend-contact.field.ts+++ /dev/null@@ -1,24 +0,0 @@-import {- RESEND_CONTACTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- SEGMENT_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: SEGMENT_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'segment',- label: 'Segment',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- RESEND_CONTACTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.MANY_TO_ONE,- joinColumnName: 'segmentId',- },- icon: 'IconUsersGroup',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/topic-on-resend-broadcast.field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/topic-on-resend-broadcast.field.tsdeleted file mode 100644index a2614c4959d..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/fields/topic-on-resend-broadcast.field.ts+++ /dev/null@@ -1,24 +0,0 @@-import {- RESEND_BROADCASTS_ON_TOPIC_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER,- TOPIC_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineField, FieldType, RelationType } from 'twenty-sdk/define';--export default defineField({- universalIdentifier: TOPIC_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- objectUniversalIdentifier: RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- type: FieldType.RELATION,- name: 'topic',- label: 'Topic',- relationTargetObjectMetadataUniversalIdentifier:- RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER,- relationTargetFieldMetadataUniversalIdentifier:- RESEND_BROADCASTS_ON_TOPIC_FIELD_UNIVERSAL_IDENTIFIER,- universalSettings: {- relationType: RelationType.MANY_TO_ONE,- joinColumnName: 'topicId',- },- icon: 'IconHash',-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-broadcast-navigation-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-broadcast-navigation-menu-item.tsdeleted file mode 100644index 47c518b0edf..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-broadcast-navigation-menu-item.ts+++ /dev/null@@ -1,18 +0,0 @@-import {- RESEND_BROADCAST_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_UNIVERSAL_IDENTIFIER,- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineNavigationMenuItem, NavigationMenuItemType } from 'twenty-sdk/define';--export default defineNavigationMenuItem({- universalIdentifier:- RESEND_BROADCAST_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- name: 'Broadcasts',- icon: 'IconSpeakerphone',- position: 2,- type: NavigationMenuItemType.VIEW,- viewUniversalIdentifier: RESEND_BROADCAST_VIEW_UNIVERSAL_IDENTIFIER,- folderUniversalIdentifier:- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-contact-navigation-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-contact-navigation-menu-item.tsdeleted file mode 100644index b815c550772..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-contact-navigation-menu-item.ts+++ /dev/null@@ -1,17 +0,0 @@-import {- RESEND_CONTACT_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_UNIVERSAL_IDENTIFIER,- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineNavigationMenuItem, NavigationMenuItemType } from 'twenty-sdk/define';--export default defineNavigationMenuItem({- universalIdentifier: RESEND_CONTACT_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- name: 'Contacts',- icon: 'IconUser',- position: 1,- type: NavigationMenuItemType.VIEW,- viewUniversalIdentifier: RESEND_CONTACT_VIEW_UNIVERSAL_IDENTIFIER,- folderUniversalIdentifier:- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-email-navigation-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-email-navigation-menu-item.tsdeleted file mode 100644index 330469fe43c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-email-navigation-menu-item.ts+++ /dev/null@@ -1,17 +0,0 @@-import {- RESEND_EMAIL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_UNIVERSAL_IDENTIFIER,- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineNavigationMenuItem, NavigationMenuItemType } from 'twenty-sdk/define';--export default defineNavigationMenuItem({- universalIdentifier: RESEND_EMAIL_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- name: 'Emails',- icon: 'IconMail',- position: 0,- type: NavigationMenuItemType.VIEW,- viewUniversalIdentifier: RESEND_EMAIL_VIEW_UNIVERSAL_IDENTIFIER,- folderUniversalIdentifier:- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-folder-navigation-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-folder-navigation-menu-item.tsdeleted file mode 100644index 15c0b66ff48..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-folder-navigation-menu-item.ts+++ /dev/null@@ -1,10 +0,0 @@-import { RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import { defineNavigationMenuItem, NavigationMenuItemType } from 'twenty-sdk/define';--export default defineNavigationMenuItem({- universalIdentifier: RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- name: 'Resend',- icon: 'IconMail',- position: 0,- type: NavigationMenuItemType.FOLDER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-segment-navigation-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-segment-navigation-menu-item.tsdeleted file mode 100644index a76cf78883a..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-segment-navigation-menu-item.ts+++ /dev/null@@ -1,18 +0,0 @@-import {- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_VIEW_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineNavigationMenuItem, NavigationMenuItemType } from 'twenty-sdk/define';--export default defineNavigationMenuItem({- universalIdentifier:- RESEND_SEGMENT_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- name: 'Segments',- icon: 'IconUsersGroup',- position: 4,- type: NavigationMenuItemType.VIEW,- viewUniversalIdentifier: RESEND_SEGMENT_VIEW_UNIVERSAL_IDENTIFIER,- folderUniversalIdentifier:- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-sync-status-navigation-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-sync-status-navigation-menu-item.tsdeleted file mode 100644index 94c4bbc1852..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-sync-status-navigation-menu-item.ts+++ /dev/null@@ -1,20 +0,0 @@-import {- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_SYNC_STATUS_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME } from '@modules/resend/manual-sync/constants/resend-sync-status-menu-item-name';-import { defineNavigationMenuItem, NavigationMenuItemType } from 'twenty-sdk/define';--export default defineNavigationMenuItem({- universalIdentifier:- RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- name: RESEND_SYNC_STATUS_NAVIGATION_MENU_ITEM_NAME,- icon: 'IconRefresh',- position: 100,- type: NavigationMenuItemType.PAGE_LAYOUT,- pageLayoutUniversalIdentifier:- RESEND_SYNC_STATUS_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- folderUniversalIdentifier:- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-template-navigation-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-template-navigation-menu-item.tsdeleted file mode 100644index f5247f0495b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-template-navigation-menu-item.ts+++ /dev/null@@ -1,18 +0,0 @@-import {- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_VIEW_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineNavigationMenuItem, NavigationMenuItemType } from 'twenty-sdk/define';--export default defineNavigationMenuItem({- universalIdentifier:- RESEND_TEMPLATE_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- name: 'Templates',- icon: 'IconTemplate',- position: 3,- type: NavigationMenuItemType.VIEW,- viewUniversalIdentifier: RESEND_TEMPLATE_VIEW_UNIVERSAL_IDENTIFIER,- folderUniversalIdentifier:- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-topic-navigation-menu-item.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-topic-navigation-menu-item.tsdeleted file mode 100644index d844938329a..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/navigation-menu-items/resend-topic-navigation-menu-item.ts+++ /dev/null@@ -1,18 +0,0 @@-import {- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_VIEW_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineNavigationMenuItem, NavigationMenuItemType } from 'twenty-sdk/define';--export default defineNavigationMenuItem({- universalIdentifier:- RESEND_TOPIC_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,- name: 'Topics',- icon: 'IconHash',- position: 5,- type: NavigationMenuItemType.VIEW,- viewUniversalIdentifier: RESEND_TOPIC_VIEW_UNIVERSAL_IDENTIFIER,- folderUniversalIdentifier:- RESEND_FOLDER_NAVIGATION_MENU_ITEM_UNIVERSAL_IDENTIFIER,-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-broadcast.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-broadcast.tsdeleted file mode 100644index e6c6999ef97..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-broadcast.ts+++ /dev/null@@ -1,156 +0,0 @@-import {- BROADCAST_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_HTML_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_NAME_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_REPLY_TO_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_SCHEDULED_AT_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_TEXT_FIELD_UNIVERSAL_IDENTIFIER,- PREVIEW_TEXT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineObject, FieldType } from 'twenty-sdk/define';--export default defineObject({- universalIdentifier: RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- nameSingular: 'resendBroadcast',- namePlural: 'resendBroadcasts',- labelSingular: 'Resend broadcast',- labelPlural: 'Resend broadcasts',- description: 'A broadcast email campaign from Resend',- icon: 'IconSpeakerphone',- labelIdentifierFieldMetadataUniversalIdentifier:- BROADCAST_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fields: [- {- universalIdentifier: BROADCAST_NAME_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'name',- label: 'Name',- description: 'Name of the broadcast',- icon: 'IconAbc',- },- {- universalIdentifier: BROADCAST_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'subject',- label: 'Subject',- description: 'Email subject line',- icon: 'IconMail',- },- {- universalIdentifier: BROADCAST_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'fromAddress',- label: 'From',- description: 'Sender email address',- icon: 'IconMailForward',- },- {- universalIdentifier: BROADCAST_REPLY_TO_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'replyTo',- label: 'Reply to',- description: 'Reply-to email address',- icon: 'IconMailReply',- },- {- universalIdentifier: PREVIEW_TEXT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'previewText',- label: 'Preview text',- description: 'Preview text shown in email clients',- icon: 'IconEye',- },- {- universalIdentifier: BROADCAST_HTML_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'htmlBody',- label: 'HTML body',- description: 'HTML content of the broadcast',- icon: 'IconFileText',- },- {- universalIdentifier: BROADCAST_TEXT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'textBody',- label: 'Text body',- description: 'Plain text content of the broadcast',- icon: 'IconAlignLeft',- },- {- universalIdentifier: BROADCAST_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.SELECT,- name: 'status',- label: 'Status',- description: 'Current broadcast status',- icon: 'IconStatusChange',- options: [- {- id: 'c090f598-1e30-4cc2-9686-7413b926760e',- value: 'DRAFT',- label: 'Draft',- position: 0,- color: 'gray',- },- {- id: 'd8428e6a-8a2b-4307-89d8-f8095f8f425c',- value: 'QUEUED',- label: 'Queued',- position: 1,- color: 'blue',- },- {- id: '13c38a05-511b-4bf3-86c1-824d084107c8',- value: 'SENDING',- label: 'Sending',- position: 2,- color: 'yellow',- },- {- id: '79150897-a5c0-4695-9a59-cd40db44b066',- value: 'SENT',- label: 'Sent',- position: 3,- color: 'green',- },- ],- },- {- universalIdentifier: BROADCAST_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'resendId',- label: 'Resend ID',- description: 'Resend broadcast identifier',- icon: 'IconHash',- },- {- universalIdentifier: BROADCAST_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'createdAt',- label: 'Created at',- description: 'When the broadcast was created',- icon: 'IconCalendar',- },- {- universalIdentifier: BROADCAST_SCHEDULED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'scheduledAt',- label: 'Scheduled at',- description: 'When the broadcast is scheduled to be sent',- icon: 'IconCalendarEvent',- },- {- universalIdentifier: BROADCAST_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'sentAt',- label: 'Sent at',- description: 'When the broadcast was sent',- icon: 'IconSend',- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-contact.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-contact.tsdeleted file mode 100644index d24f69ca14b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-contact.ts+++ /dev/null@@ -1,73 +0,0 @@-import {- CONTACT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- CONTACT_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- CONTACT_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER,- CONTACT_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- NAME_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- UNSUBSCRIBED_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineObject, FieldType } from 'twenty-sdk/define';--export default defineObject({- universalIdentifier: RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- nameSingular: 'resendContact',- namePlural: 'resendContacts',- labelSingular: 'Resend contact',- labelPlural: 'Resend contacts',- description: 'A contact from Resend',- icon: 'IconUser',- labelIdentifierFieldMetadataUniversalIdentifier:- NAME_FIELD_UNIVERSAL_IDENTIFIER,- fields: [- {- universalIdentifier: CONTACT_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'email',- label: 'Email',- description: 'Contact email address',- icon: 'IconMail',- },- {- universalIdentifier: NAME_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.FULL_NAME,- name: 'name',- label: 'Name',- description: 'Name of the contact',- icon: 'IconUser',- },- {- universalIdentifier: UNSUBSCRIBED_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.BOOLEAN,- name: 'unsubscribed',- label: 'Unsubscribed',- description: 'Whether the contact has unsubscribed',- icon: 'IconMailOff',- },- {- universalIdentifier: CONTACT_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'resendId',- label: 'Resend ID',- description: 'Resend contact identifier',- icon: 'IconHash',- },- {- universalIdentifier: CONTACT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'createdAt',- label: 'Created at',- description: 'When the contact was created',- icon: 'IconCalendar',- },- {- universalIdentifier:- CONTACT_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'lastSyncedFromResend',- label: 'Last synced from Resend',- description: 'Timestamp of last inbound sync (used to prevent echo loops)',- icon: 'IconClock',- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-email.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-email.tsdeleted file mode 100644index de32439f06c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-email.ts+++ /dev/null@@ -1,211 +0,0 @@-import {- BCC_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- CC_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- EMAIL_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- EMAIL_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER,- EMAIL_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- LAST_EVENT_FIELD_UNIVERSAL_IDENTIFIER,- REPLY_TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- SCHEDULED_AT_FIELD_UNIVERSAL_IDENTIFIER,- SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineObject, FieldType } from 'twenty-sdk/define';--export default defineObject({- universalIdentifier: RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- nameSingular: 'resendEmail',- namePlural: 'resendEmails',- labelSingular: 'Resend email',- labelPlural: 'Resend emails',- description: 'An email sent via Resend',- icon: 'IconMail',- labelIdentifierFieldMetadataUniversalIdentifier:- SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- fields: [- {- universalIdentifier: SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'subject',- label: 'Subject',- description: 'Email subject line',- icon: 'IconAbc',- },- {- universalIdentifier: FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'fromAddress',- label: 'From',- description: 'Sender email address',- icon: 'IconMailForward',- },- {- universalIdentifier: TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'toAddresses',- label: 'To',- description: 'Recipient email addresses',- icon: 'IconUsers',- },- {- universalIdentifier: CC_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'ccAddresses',- label: 'CC',- description: 'Carbon copy email addresses',- icon: 'IconCopy',- },- {- universalIdentifier: BCC_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'bccAddresses',- label: 'BCC',- description: 'Blind carbon copy email addresses',- icon: 'IconEyeOff',- },- {- universalIdentifier: REPLY_TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'replyToAddresses',- label: 'Reply to',- description: 'Reply-to email addresses',- icon: 'IconMailReply',- },- {- universalIdentifier: LAST_EVENT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.SELECT,- name: 'lastEvent',- label: 'Last event',- description: 'Most recent delivery status',- icon: 'IconStatusChange',- options: [- {- id: '1b69e2c9-81f0-4f14-8361-dda018c1c343',- value: 'SENT',- label: 'Sent',- position: 0,- color: 'blue',- },- {- id: '9964e796-5b4a-4631-a0bd-7ab1848ae207',- value: 'DELIVERED',- label: 'Delivered',- position: 1,- color: 'green',- },- {- id: 'e4ae61fe-2ea8-4ee3-8bb5-0c8f5c6e8081',- value: 'DELIVERY_DELAYED',- label: 'Delivery Delayed',- position: 2,- color: 'yellow',- },- {- id: 'ea6d5170-c522-4559-a51e-f3f81435c632',- value: 'COMPLAINED',- label: 'Complained',- position: 3,- color: 'orange',- },- {- id: 'eeafaa07-3b8a-4b89-b1d6-f4b113b0276f',- value: 'BOUNCED',- label: 'Bounced',- position: 4,- color: 'red',- },- {- id: 'fa6b6add-7b95-4bb5-8f5f-a532430ac201',- value: 'OPENED',- label: 'Opened',- position: 5,- color: 'turquoise',- },- {- id: 'c4529bad-d911-4f1f-aac3-620852a09eae',- value: 'CLICKED',- label: 'Clicked',- position: 6,- color: 'sky',- },- {- id: '05bd5800-eade-4500-92f6-97d91afabb54',- value: 'SCHEDULED',- label: 'Scheduled',- position: 7,- color: 'gray',- },- {- id: 'd71a6236-2e6e-4c4f-9cae-b806c2724302',- value: 'QUEUED',- label: 'Queued',- position: 8,- color: 'gray',- },- {- id: 'd6674c98-eb98-488a-860d-fbf8b4a073c9',- value: 'FAILED',- label: 'Failed',- position: 9,- color: 'red',- },- {- id: '9e042a8d-3f33-4915-938e-978065712065',- value: 'CANCELED',- label: 'Canceled',- position: 10,- color: 'gray',- },- {- id: '0c837074-d7ce-43b1-ac08-553e6ee10ece',- value: 'RECEIVED',- label: 'Received',- position: 11,- color: 'blue',- },- {- id: '9bfec759-a242-4d85-b124-c4a83949b8da',- value: 'SUPPRESSED',- label: 'Suppressed',- position: 12,- color: 'red',- },- ],- },- {- universalIdentifier: EMAIL_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'resendId',- label: 'Resend ID',- description: 'Resend email identifier',- icon: 'IconHash',- },- {- universalIdentifier: EMAIL_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'createdAt',- label: 'Created at',- description: 'When the email was created',- icon: 'IconCalendar',- },- {- universalIdentifier: SCHEDULED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'scheduledAt',- label: 'Scheduled at',- description: 'When the email is scheduled to be sent',- icon: 'IconCalendarEvent',- },- {- universalIdentifier:- EMAIL_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'lastSyncedFromResend',- label: 'Last synced from Resend',- description: 'Timestamp of last inbound sync (used to prevent echo loops)',- icon: 'IconClock',- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-segment.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-segment.tsdeleted file mode 100644index 4ebe0a631ed..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-segment.ts+++ /dev/null@@ -1,55 +0,0 @@-import {- RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- SEGMENT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- SEGMENT_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER,- SEGMENT_NAME_FIELD_UNIVERSAL_IDENTIFIER,- SEGMENT_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineObject, FieldType } from 'twenty-sdk/define';--export default defineObject({- universalIdentifier: RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- nameSingular: 'resendSegment',- namePlural: 'resendSegments',- labelSingular: 'Resend segment',- labelPlural: 'Resend segments',- description: 'A contact segment from Resend',- icon: 'IconUsersGroup',- labelIdentifierFieldMetadataUniversalIdentifier:- SEGMENT_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fields: [- {- universalIdentifier: SEGMENT_NAME_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'name',- label: 'Name',- description: 'Name of the segment',- icon: 'IconAbc',- },- {- universalIdentifier: SEGMENT_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'resendId',- label: 'Resend ID',- description: 'Resend segment identifier',- icon: 'IconHash',- },- {- universalIdentifier: SEGMENT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'createdAt',- label: 'Created at',- description: 'When the segment was created',- icon: 'IconCalendar',- },- {- universalIdentifier:- SEGMENT_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'lastSyncedFromResend',- label: 'Last synced from Resend',- description: 'Timestamp of last inbound sync (used to prevent echo loops)',- icon: 'IconClock',- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-sync-cursor.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-sync-cursor.tsdeleted file mode 100644index aa1c8479e5b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-sync-cursor.ts+++ /dev/null@@ -1,125 +0,0 @@-import {- RESEND_SYNC_CURSOR_OBJECT_UNIVERSAL_IDENTIFIER,- SYNC_CURSOR_CURSOR_FIELD_UNIVERSAL_IDENTIFIER,- SYNC_CURSOR_LAST_RUN_AT_FIELD_UNIVERSAL_IDENTIFIER,- SYNC_CURSOR_LAST_RUN_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- SYNC_CURSOR_STEP_FIELD_UNIVERSAL_IDENTIFIER,-} from 'src/modules/resend/constants/universal-identifiers';-import { defineObject, FieldType } from 'twenty-sdk/define';--export default defineObject({- universalIdentifier: RESEND_SYNC_CURSOR_OBJECT_UNIVERSAL_IDENTIFIER,- nameSingular: 'resendSyncCursor',- namePlural: 'resendSyncCursors',- labelSingular: 'Resend sync cursor',- labelPlural: 'Resend sync cursors',- description:- 'Persisted per-step cursor state for the Resend sync (technical object used to resume failed runs)',- icon: 'IconBookmark',- labelIdentifierFieldMetadataUniversalIdentifier:- SYNC_CURSOR_CURSOR_FIELD_UNIVERSAL_IDENTIFIER,- fields: [- {- universalIdentifier: SYNC_CURSOR_STEP_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.SELECT,- name: 'step',- label: 'Step',- description: 'Sync step this cursor tracks',- icon: 'IconHash',- isUnique: true,- options: [- {- id: 'c271f363-c680-446b-9318-06970b9af137',- value: 'SEGMENTS',- label: 'Segments',- position: 0,- color: 'gray',- },- {- id: '7b63e182-8124-4085-ad17-9f2f3c9988e5',- value: 'TEMPLATES',- label: 'Templates',- position: 1,- color: 'blue',- },- {- id: '0dd5ce53-94ec-4d1e-9ef5-5642d69922fe',- value: 'CONTACTS',- label: 'Contacts',- position: 2,- color: 'green',- },- {- id: 'c9b5dc16-74f4-46d1-bfcd-010e46ab62e6',- value: 'EMAILS',- label: 'Emails',- position: 3,- color: 'purple',- },- {- id: 'da6acca3-1341-42d3-a21c-aa18905d7536',- value: 'BROADCASTS',- label: 'Broadcasts',- position: 4,- color: 'orange',- },- {- id: 'abec7a2d-20c5-4304-9356-7cf05db67a71',- value: 'TOPICS',- label: 'Topics',- position: 5,- color: 'pink',- },- ],- },- {- universalIdentifier: SYNC_CURSOR_CURSOR_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'cursor',- label: 'Cursor',- description:- 'Last successfully processed Resend ID; empty when not in progress',- icon: 'IconArrowBigRight',- },- {- universalIdentifier: SYNC_CURSOR_LAST_RUN_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'lastRunAt',- label: 'Last run at',- description: 'Timestamp of the most recent sync run for this step',- icon: 'IconClock',- },- {- universalIdentifier:- SYNC_CURSOR_LAST_RUN_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.SELECT,- name: 'lastRunStatus',- label: 'Last run status',- description: 'Outcome of the most recent sync run for this step',- icon: 'IconActivity',- options: [- {- id: 'b8e6cc9c-3b1f-4a6c-9f2c-77c5e1f0c8b1',- value: 'SUCCESS',- label: 'Success',- position: 0,- color: 'green',- },- {- id: '6a8d7c44-cb5b-4d4d-b6d6-6e02e1f0aa12',- value: 'FAILED',- label: 'Failed',- position: 1,- color: 'red',- },- {- id: 'c8d2bea1-0c5f-4b78-95cf-2f1de4d2f0a3',- value: 'IN_PROGRESS',- label: 'In progress',- position: 2,- color: 'yellow',- },- ],- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-template.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-template.tsdeleted file mode 100644index b27c082fd4b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-template.ts+++ /dev/null@@ -1,142 +0,0 @@-import {- RESEND_TEMPLATE_OBJECT_UNIVERSAL_IDENTIFIER,- TEMPLATE_ALIAS_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_HTML_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_NAME_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_PUBLISHED_AT_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_REPLY_TO_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_TEXT_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_UPDATED_AT_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineObject, FieldType } from 'twenty-sdk/define';--export default defineObject({- universalIdentifier: RESEND_TEMPLATE_OBJECT_UNIVERSAL_IDENTIFIER,- nameSingular: 'resendTemplate',- namePlural: 'resendTemplates',- labelSingular: 'Resend template',- labelPlural: 'Resend templates',- description: 'An email template from Resend',- icon: 'IconTemplate',- labelIdentifierFieldMetadataUniversalIdentifier:- TEMPLATE_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fields: [- {- universalIdentifier: TEMPLATE_NAME_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'name',- label: 'Name',- description: 'Name of the template',- icon: 'IconAbc',- },- {- universalIdentifier: TEMPLATE_ALIAS_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'alias',- label: 'Alias',- description: 'Alternative identifier for the template',- icon: 'IconTag',- },- {- universalIdentifier: TEMPLATE_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.SELECT,- name: 'status',- label: 'Status',- description: 'Publication status of the template',- icon: 'IconStatusChange',- options: [- {- id: '3047dfdd-5424-44bc-bead-f2e2a84f363f',- value: 'DRAFT',- label: 'Draft',- position: 0,- color: 'gray',- },- {- id: '146cf14d-e276-4477-86f5-4114de97bccb',- value: 'PUBLISHED',- label: 'Published',- position: 1,- color: 'green',- },- ],- },- {- universalIdentifier: TEMPLATE_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'fromAddress',- label: 'From',- description: 'Sender email address',- icon: 'IconMailForward',- },- {- universalIdentifier: TEMPLATE_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'subject',- label: 'Subject',- description: 'Email subject line',- icon: 'IconMail',- },- {- universalIdentifier: TEMPLATE_REPLY_TO_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.EMAILS,- name: 'replyTo',- label: 'Reply to',- description: 'Reply-to email address',- icon: 'IconMailReply',- },- {- universalIdentifier: TEMPLATE_HTML_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'htmlBody',- label: 'HTML body',- description: 'HTML content of the template',- icon: 'IconFileText',- },- {- universalIdentifier: TEMPLATE_TEXT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'textBody',- label: 'Text body',- description: 'Plain text content of the template',- icon: 'IconAlignLeft',- },- {- universalIdentifier: TEMPLATE_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'resendId',- label: 'Resend ID',- description: 'Resend template identifier',- icon: 'IconHash',- },- {- universalIdentifier: TEMPLATE_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'createdAt',- label: 'Created at',- description: 'When the template was created',- icon: 'IconCalendar',- },- {- universalIdentifier: TEMPLATE_UPDATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'resendUpdatedAt',- label: 'Resend updated at',- description: 'When the template was last updated in Resend',- icon: 'IconCalendarClock',- },- {- universalIdentifier: TEMPLATE_PUBLISHED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'publishedAt',- label: 'Published at',- description: 'When the template was published',- icon: 'IconCalendarEvent',- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-topic.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-topic.tsdeleted file mode 100644index ab6381499a2..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/objects/resend-topic.ts+++ /dev/null@@ -1,115 +0,0 @@-import {- RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER,- TOPIC_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_DEFAULT_SUBSCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_DESCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_NAME_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_VISIBILITY_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineObject, FieldType } from 'twenty-sdk/define';--export default defineObject({- universalIdentifier: RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER,- nameSingular: 'resendTopic',- namePlural: 'resendTopics',- labelSingular: 'Resend topic',- labelPlural: 'Resend topics',- description: 'A subscription topic from Resend',- icon: 'IconHash',- labelIdentifierFieldMetadataUniversalIdentifier:- TOPIC_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fields: [- {- universalIdentifier: TOPIC_NAME_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'name',- label: 'Name',- description: 'Name of the topic',- icon: 'IconAbc',- },- {- universalIdentifier: TOPIC_DESCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'description',- label: 'Description',- description: 'Description of the topic',- icon: 'IconAlignLeft',- },- {- universalIdentifier: TOPIC_DEFAULT_SUBSCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.SELECT,- name: 'defaultSubscription',- label: 'Default subscription',- description: 'Whether new contacts are subscribed to this topic by default',- icon: 'IconUserCheck',- options: [- {- id: '5c7f7114-6b96-49b2-88cc-d43cd87ee110',- value: 'OPT_IN',- label: 'Opt in',- position: 0,- color: 'green',- },- {- id: 'bff2b98d-7770-4b8f-be0e-ec0294e301df',- value: 'OPT_OUT',- label: 'Opt out',- position: 1,- color: 'gray',- },- ],- },- {- universalIdentifier: TOPIC_VISIBILITY_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.SELECT,- name: 'visibility',- label: 'Visibility',- description: 'Whether the topic is publicly visible to contacts',- icon: 'IconEye',- options: [- {- id: 'bdb9d1c3-0cb3-474e-8504-5bc2e1f66731',- value: 'PUBLIC',- label: 'Public',- position: 0,- color: 'green',- },- {- id: 'b7865f82-a387-48da-bb2d-5492d49ab6ad',- value: 'PRIVATE',- label: 'Private',- position: 1,- color: 'gray',- },- ],- },- {- universalIdentifier: TOPIC_RESEND_ID_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.TEXT,- name: 'resendId',- label: 'Resend ID',- description: 'Resend topic identifier',- icon: 'IconHash',- },- {- universalIdentifier: TOPIC_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'createdAt',- label: 'Created at',- description: 'When the topic was created',- icon: 'IconCalendar',- },- {- universalIdentifier:- TOPIC_LAST_SYNCED_FROM_RESEND_FIELD_UNIVERSAL_IDENTIFIER,- type: FieldType.DATE_TIME,- name: 'lastSyncedFromResend',- label: 'Last synced from Resend',- description:- 'Timestamp of last inbound sync (used to prevent echo loops)',- icon: 'IconClock',- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-broadcast-record-page.page-layout.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-broadcast-record-page.page-layout.tsdeleted file mode 100644index a3ed6fcdcd8..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-broadcast-record-page.page-layout.ts+++ /dev/null@@ -1,143 +0,0 @@-import {- BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { definePageLayout, PageLayoutTabLayoutMode } from 'twenty-sdk/define';--export default definePageLayout({- universalIdentifier: RESEND_BROADCAST_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- name: 'Resend Broadcast Record Page',- type: 'RECORD_PAGE',- objectUniversalIdentifier: RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- tabs: [- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER,- title: 'Home',- position: 50,- icon: 'IconHome',- layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,- widgets: [- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Fields',- type: 'FIELDS',- configuration: {- configurationType: 'FIELDS',- },- },- ],- },- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER,- title: 'Preview',- position: 75,- icon: 'IconEye',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Broadcast Preview',- type: 'FRONT_COMPONENT',- configuration: {- configurationType: 'FRONT_COMPONENT',- frontComponentUniversalIdentifier:- BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- },- },- ],- },- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER,- title: 'Timeline',- position: 100,- icon: 'IconTimelineEvent',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Timeline',- type: 'TIMELINE',- configuration: {- configurationType: 'TIMELINE',- },- },- ],- },- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER,- title: 'Tasks',- position: 200,- icon: 'IconCheckbox',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Tasks',- type: 'TASKS',- configuration: {- configurationType: 'TASKS',- },- },- ],- },- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER,- title: 'Notes',- position: 300,- icon: 'IconNotes',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Notes',- type: 'NOTES',- configuration: {- configurationType: 'NOTES',- },- },- ],- },- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER,- title: 'Files',- position: 400,- icon: 'IconPaperclip',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_BROADCAST_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Files',- type: 'FILES',- configuration: {- configurationType: 'FILES',- },- },- ],- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-email-record-page.page-layout.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-email-record-page.page-layout.tsdeleted file mode 100644index ec86f2c1203..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-email-record-page.page-layout.ts+++ /dev/null@@ -1,142 +0,0 @@-import {- EMAIL_BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { definePageLayout, PageLayoutTabLayoutMode } from 'twenty-sdk/define';--export default definePageLayout({- universalIdentifier: RESEND_EMAIL_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- name: 'Resend Email Record Page',- type: 'RECORD_PAGE',- objectUniversalIdentifier: RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- tabs: [- {- universalIdentifier: RESEND_EMAIL_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER,- title: 'Home',- position: 50,- icon: 'IconHome',- layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,- widgets: [- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Fields',- type: 'FIELDS',- configuration: {- configurationType: 'FIELDS',- },- },- ],- },- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER,- title: 'Preview',- position: 75,- icon: 'IconEye',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Broadcast Preview',- type: 'FRONT_COMPONENT',- configuration: {- configurationType: 'FRONT_COMPONENT',- frontComponentUniversalIdentifier:- EMAIL_BROADCAST_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- },- },- ],- },- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER,- title: 'Timeline',- position: 100,- icon: 'IconTimelineEvent',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Timeline',- type: 'TIMELINE',- configuration: {- configurationType: 'TIMELINE',- },- },- ],- },- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER,- title: 'Tasks',- position: 200,- icon: 'IconCheckbox',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Tasks',- type: 'TASKS',- configuration: {- configurationType: 'TASKS',- },- },- ],- },- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER,- title: 'Notes',- position: 300,- icon: 'IconNotes',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Notes',- type: 'NOTES',- configuration: {- configurationType: 'NOTES',- },- },- ],- },- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER,- title: 'Files',- position: 400,- icon: 'IconPaperclip',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_EMAIL_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Files',- type: 'FILES',- configuration: {- configurationType: 'FILES',- },- },- ],- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-sync-status.page-layout.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-sync-status.page-layout.tsdeleted file mode 100644index 1973d6248cc..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-sync-status.page-layout.ts+++ /dev/null@@ -1,42 +0,0 @@-import {- RESEND_SYNC_STATUS_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- RESEND_SYNC_STATUS_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER,- RESEND_SYNC_STATUS_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- RESEND_SYNC_STATUS_PAGE_WIDGET_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { definePageLayout, PageLayoutTabLayoutMode } from 'twenty-sdk/define';--export default definePageLayout({- universalIdentifier: RESEND_SYNC_STATUS_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- name: 'Resend Sync Status',- type: 'STANDALONE_PAGE',- tabs: [- {- universalIdentifier:- RESEND_SYNC_STATUS_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER,- title: 'Sync Status',- position: 0,- icon: 'IconRefresh',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_SYNC_STATUS_PAGE_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Sync Status',- type: 'FRONT_COMPONENT',- configuration: {- configurationType: 'FRONT_COMPONENT',- frontComponentUniversalIdentifier:- RESEND_SYNC_STATUS_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- },- gridPosition: {- row: 0,- column: 0,- rowSpan: 12,- columnSpan: 12,- },- },- ],- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-template-record-page.page-layout.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-template-record-page.page-layout.tsdeleted file mode 100644index 12a0da65ab2..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/page-layouts/resend-template-record-page.page-layout.ts+++ /dev/null@@ -1,142 +0,0 @@-import {- RESEND_TEMPLATE_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER,- TEMPLATE_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { definePageLayout, PageLayoutTabLayoutMode } from 'twenty-sdk/define';--export default definePageLayout({- universalIdentifier: RESEND_TEMPLATE_RECORD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER,- name: 'Resend Template Record Page',- type: 'RECORD_PAGE',- objectUniversalIdentifier: RESEND_TEMPLATE_OBJECT_UNIVERSAL_IDENTIFIER,- tabs: [- {- universalIdentifier: RESEND_TEMPLATE_RECORD_PAGE_HOME_TAB_UNIVERSAL_IDENTIFIER,- title: 'Home',- position: 50,- icon: 'IconHome',- layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,- widgets: [- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_HOME_FIELDS_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Fields',- type: 'FIELDS',- configuration: {- configurationType: 'FIELDS',- },- },- ],- },- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_PREVIEW_TAB_UNIVERSAL_IDENTIFIER,- title: 'Preview',- position: 75,- icon: 'IconEye',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_PREVIEW_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Template Preview',- type: 'FRONT_COMPONENT',- configuration: {- configurationType: 'FRONT_COMPONENT',- frontComponentUniversalIdentifier:- TEMPLATE_HTML_VIEWER_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER,- },- },- ],- },- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_TIMELINE_TAB_UNIVERSAL_IDENTIFIER,- title: 'Timeline',- position: 100,- icon: 'IconTimelineEvent',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_TIMELINE_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Timeline',- type: 'TIMELINE',- configuration: {- configurationType: 'TIMELINE',- },- },- ],- },- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_TASKS_TAB_UNIVERSAL_IDENTIFIER,- title: 'Tasks',- position: 200,- icon: 'IconCheckbox',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_TASKS_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Tasks',- type: 'TASKS',- configuration: {- configurationType: 'TASKS',- },- },- ],- },- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_NOTES_TAB_UNIVERSAL_IDENTIFIER,- title: 'Notes',- position: 300,- icon: 'IconNotes',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_NOTES_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Notes',- type: 'NOTES',- configuration: {- configurationType: 'NOTES',- },- },- ],- },- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_FILES_TAB_UNIVERSAL_IDENTIFIER,- title: 'Files',- position: 400,- icon: 'IconPaperclip',- layoutMode: PageLayoutTabLayoutMode.CANVAS,- widgets: [- {- universalIdentifier:- RESEND_TEMPLATE_RECORD_PAGE_FILES_WIDGET_UNIVERSAL_IDENTIFIER,- title: 'Files',- type: 'FILES',- configuration: {- configurationType: 'FILES',- },- },- ],- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-broadcast-view.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-broadcast-view.tsdeleted file mode 100644index 4b1e0fd9ecd..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-broadcast-view.ts+++ /dev/null@@ -1,113 +0,0 @@-import {- BROADCAST_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_NAME_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- BROADCAST_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_EMAILS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_TOPIC_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_BROADCAST_VIEW_UNIVERSAL_IDENTIFIER,- RESEND_EMAILS_ON_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- SEGMENT_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineView } from 'twenty-sdk/define';--export default defineView({- universalIdentifier: RESEND_BROADCAST_VIEW_UNIVERSAL_IDENTIFIER,- name: 'Resend broadcasts',- objectUniversalIdentifier: RESEND_BROADCAST_OBJECT_UNIVERSAL_IDENTIFIER,- icon: 'IconSpeakerphone',- position: 0,- fields: [- {- universalIdentifier: RESEND_BROADCAST_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- BROADCAST_NAME_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 0,- },- {- universalIdentifier:- RESEND_BROADCAST_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- BROADCAST_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 1,- },- {- universalIdentifier:- RESEND_BROADCAST_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- BROADCAST_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 2,- },- {- universalIdentifier:- RESEND_BROADCAST_VIEW_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- BROADCAST_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 3,- },- {- universalIdentifier:- RESEND_BROADCAST_VIEW_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- BROADCAST_SENT_AT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 4,- },- {- universalIdentifier:- RESEND_BROADCAST_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- BROADCAST_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 5,- },- {- universalIdentifier:- RESEND_BROADCAST_VIEW_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- SEGMENT_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 6,- },- {- universalIdentifier:- RESEND_BROADCAST_VIEW_TOPIC_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TOPIC_ON_RESEND_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 7,- },- {- universalIdentifier:- RESEND_BROADCAST_VIEW_EMAILS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- RESEND_EMAILS_ON_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 8,- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-contact-view.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-contact-view.tsdeleted file mode 100644index 88d8e017ac6..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-contact-view.ts+++ /dev/null@@ -1,89 +0,0 @@-import {- CONTACT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- CONTACT_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- NAME_FIELD_UNIVERSAL_IDENTIFIER,- PERSON_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_EMAILS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_UNIVERSAL_IDENTIFIER,- RESEND_CONTACT_VIEW_UNSUBSCRIBED_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAILS_ON_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- SEGMENT_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- UNSUBSCRIBED_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineView } from 'twenty-sdk/define';--export default defineView({- universalIdentifier: RESEND_CONTACT_VIEW_UNIVERSAL_IDENTIFIER,- name: 'Resend contacts',- objectUniversalIdentifier: RESEND_CONTACT_OBJECT_UNIVERSAL_IDENTIFIER,- icon: 'IconUser',- position: 0,- fields: [- {- universalIdentifier: RESEND_CONTACT_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier: NAME_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 0,- },- {- universalIdentifier: RESEND_CONTACT_VIEW_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- CONTACT_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 1,- },- {- universalIdentifier:- RESEND_CONTACT_VIEW_UNSUBSCRIBED_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- UNSUBSCRIBED_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 2,- },- {- universalIdentifier:- RESEND_CONTACT_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- CONTACT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 3,- },- {- universalIdentifier:- RESEND_CONTACT_VIEW_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- PERSON_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 4,- },- {- universalIdentifier:- RESEND_CONTACT_VIEW_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- SEGMENT_ON_RESEND_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 5,- },- {- universalIdentifier:- RESEND_CONTACT_VIEW_EMAILS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- RESEND_EMAILS_ON_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 6,- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-email-view.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-email-view.tsdeleted file mode 100644index de860a7370f..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-email-view.ts+++ /dev/null@@ -1,102 +0,0 @@-import {- BROADCAST_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- CONTACT_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- EMAIL_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- LAST_EVENT_FIELD_UNIVERSAL_IDENTIFIER,- PERSON_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_LAST_EVENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_EMAIL_VIEW_UNIVERSAL_IDENTIFIER,- SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineView } from 'twenty-sdk/define';--export default defineView({- universalIdentifier: RESEND_EMAIL_VIEW_UNIVERSAL_IDENTIFIER,- name: 'Resend emails',- objectUniversalIdentifier: RESEND_EMAIL_OBJECT_UNIVERSAL_IDENTIFIER,- icon: 'IconMail',- position: 0,- fields: [- {- universalIdentifier:- RESEND_EMAIL_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier: SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 0,- },- {- universalIdentifier:- RESEND_EMAIL_VIEW_TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TO_ADDRESSES_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 1,- },- {- universalIdentifier:- RESEND_EMAIL_VIEW_PERSON_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- PERSON_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 2,- },- {- universalIdentifier:- RESEND_EMAIL_VIEW_LAST_EVENT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- LAST_EVENT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 3,- },- {- universalIdentifier:- RESEND_EMAIL_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 4,- },- {- universalIdentifier:- RESEND_EMAIL_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- EMAIL_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 5,- },- {- universalIdentifier:- RESEND_EMAIL_VIEW_CONTACT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- CONTACT_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 6,- },- {- universalIdentifier:- RESEND_EMAIL_VIEW_BROADCAST_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- BROADCAST_ON_RESEND_EMAIL_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 7,- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-segment-view.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-segment-view.tsdeleted file mode 100644index ef414231b7a..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-segment-view.ts+++ /dev/null@@ -1,58 +0,0 @@-import {- RESEND_BROADCASTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_CONTACTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_VIEW_BROADCASTS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_VIEW_CONTACTS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_SEGMENT_VIEW_UNIVERSAL_IDENTIFIER,- SEGMENT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- SEGMENT_NAME_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineView } from 'twenty-sdk/define';--export default defineView({- universalIdentifier: RESEND_SEGMENT_VIEW_UNIVERSAL_IDENTIFIER,- name: 'Resend segments',- objectUniversalIdentifier: RESEND_SEGMENT_OBJECT_UNIVERSAL_IDENTIFIER,- icon: 'IconUsersGroup',- position: 0,- fields: [- {- universalIdentifier: RESEND_SEGMENT_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- SEGMENT_NAME_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 0,- },- {- universalIdentifier:- RESEND_SEGMENT_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- SEGMENT_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 1,- },- {- universalIdentifier:- RESEND_SEGMENT_VIEW_CONTACTS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- RESEND_CONTACTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 2,- },- {- universalIdentifier:- RESEND_SEGMENT_VIEW_BROADCASTS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- RESEND_BROADCASTS_ON_SEGMENT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 3,- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-template-view.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-template-view.tsdeleted file mode 100644index 147ece03647..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-template-view.ts+++ /dev/null@@ -1,80 +0,0 @@-import {- RESEND_TEMPLATE_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_VIEW_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_VIEW_UNIVERSAL_IDENTIFIER,- RESEND_TEMPLATE_VIEW_UPDATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_NAME_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- TEMPLATE_UPDATED_AT_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineView } from 'twenty-sdk/define';--export default defineView({- universalIdentifier: RESEND_TEMPLATE_VIEW_UNIVERSAL_IDENTIFIER,- name: 'Resend templates',- objectUniversalIdentifier: RESEND_TEMPLATE_OBJECT_UNIVERSAL_IDENTIFIER,- icon: 'IconTemplate',- position: 0,- fields: [- {- universalIdentifier: RESEND_TEMPLATE_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TEMPLATE_NAME_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 0,- },- {- universalIdentifier:- RESEND_TEMPLATE_VIEW_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TEMPLATE_SUBJECT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 1,- },- {- universalIdentifier:- RESEND_TEMPLATE_VIEW_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TEMPLATE_FROM_ADDRESS_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 2,- },- {- universalIdentifier:- RESEND_TEMPLATE_VIEW_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TEMPLATE_STATUS_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 3,- },- {- universalIdentifier:- RESEND_TEMPLATE_VIEW_UPDATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TEMPLATE_UPDATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 4,- },- {- universalIdentifier:- RESEND_TEMPLATE_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TEMPLATE_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 5,- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-topic-view.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-topic-view.tsdeleted file mode 100644index 704ac2887b4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/schema/views/resend-topic-view.ts+++ /dev/null@@ -1,79 +0,0 @@-import {- RESEND_BROADCASTS_ON_TOPIC_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_VIEW_BROADCASTS_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_VIEW_DEFAULT_SUBSCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_VIEW_DESCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_VIEW_UNIVERSAL_IDENTIFIER,- RESEND_TOPIC_VIEW_VISIBILITY_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_DEFAULT_SUBSCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_DESCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_NAME_FIELD_UNIVERSAL_IDENTIFIER,- TOPIC_VISIBILITY_FIELD_UNIVERSAL_IDENTIFIER,-} from '@modules/resend/constants/universal-identifiers';-import { defineView } from 'twenty-sdk/define';--export default defineView({- universalIdentifier: RESEND_TOPIC_VIEW_UNIVERSAL_IDENTIFIER,- name: 'Resend topics',- objectUniversalIdentifier: RESEND_TOPIC_OBJECT_UNIVERSAL_IDENTIFIER,- icon: 'IconHash',- position: 0,- fields: [- {- universalIdentifier: RESEND_TOPIC_VIEW_NAME_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier: TOPIC_NAME_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 0,- },- {- universalIdentifier:- RESEND_TOPIC_VIEW_DESCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TOPIC_DESCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 1,- },- {- universalIdentifier:- RESEND_TOPIC_VIEW_VISIBILITY_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TOPIC_VISIBILITY_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 2,- },- {- universalIdentifier:- RESEND_TOPIC_VIEW_DEFAULT_SUBSCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TOPIC_DEFAULT_SUBSCRIPTION_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 3,- },- {- universalIdentifier:- RESEND_TOPIC_VIEW_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- TOPIC_CREATED_AT_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 4,- },- {- universalIdentifier:- RESEND_TOPIC_VIEW_BROADCASTS_FIELD_UNIVERSAL_IDENTIFIER,- fieldMetadataUniversalIdentifier:- RESEND_BROADCASTS_ON_TOPIC_FIELD_UNIVERSAL_IDENTIFIER,- isVisible: true,- size: 12,- position: 5,- },- ],-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/emails-field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/emails-field.tsdeleted file mode 100644index bf601953041..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/emails-field.ts+++ /dev/null@@ -1,4 +0,0 @@-export type EmailsField = {- primaryEmail: string;- additionalEmails: string[] | null;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/resend-contact-record.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/resend-contact-record.tsdeleted file mode 100644index a4f68606a44..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/resend-contact-record.ts+++ /dev/null@@ -1,10 +0,0 @@-import type { EmailsField, FullNameField } from 'twenty-sdk/define';--export type ResendContactRecord = {- id: string;- resendId?: string;- email?: EmailsField;- name?: FullNameField;- unsubscribed?: boolean;- lastSyncedFromResend?: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/resend-segment-record.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/resend-segment-record.tsdeleted file mode 100644index de2101b6ff9..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/types/resend-segment-record.ts+++ /dev/null@@ -1,5 +0,0 @@-export type ResendSegmentRecord = {- id: string;- resendId?: string;- name?: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/find-resend-contacts-by-email.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/find-resend-contacts-by-email.test.tsdeleted file mode 100644index 8814a5a7de4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/find-resend-contacts-by-email.test.ts+++ /dev/null@@ -1,97 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { findResendContactsByEmail } from '@modules/resend/shared/utils/find-resend-contacts-by-email';--type QueryArgs = {- resendContacts: {- __args: { filter: { email: { primaryEmail: { in: string[] } } } };- };-};--describe('findResendContactsByEmail', () => {- const buildClient = (- queryImpl: ReturnType<typeof vi.fn>,- ): CoreApiClient => ({ query: queryImpl }) as unknown as CoreApiClient;-- beforeEach(() => {- vi.clearAllMocks();- });-- it('returns an empty map without querying when no emails are provided', async () => {- const query = vi.fn();-- const result = await findResendContactsByEmail(buildClient(query), []);-- expect(result.size).toBe(0);- expect(query).not.toHaveBeenCalled();- });-- it('returns an empty map without querying when only nullish/empty emails are provided', async () => {- const query = vi.fn();-- const result = await findResendContactsByEmail(buildClient(query), [- null,- undefined,- '',- ]);-- expect(result.size).toBe(0);- expect(query).not.toHaveBeenCalled();- });-- it('queries with deduplicated normalized emails and indexes results by normalized primaryEmail', async () => {- const query = vi.fn(async () => ({- resendContacts: {- edges: [- {- node: {- id: 'contact-1',- personId: 'person-1',- email: { primaryEmail: '[email protected]' },- },- },- {- node: {- id: 'contact-2',- personId: null,- email: { primaryEmail: '[email protected]' },- },- },- {- node: {- id: 'contact-3',- personId: null,- email: { primaryEmail: null },- },- },- ],- },- }));-- const result = await findResendContactsByEmail(buildClient(query), [- ' [email protected] ',- '[email protected]',- '[email protected]',- ]);-- expect(query).toHaveBeenCalledTimes(1);-- const [args] = query.mock.calls[0] as unknown as [QueryArgs];-- expect(args.resendContacts.__args.filter.email.primaryEmail.in).toEqual([- '[email protected]',- '[email protected]',- ]);-- expect(result.get('[email protected]')).toEqual({- id: 'contact-1',- personId: 'person-1',- });- expect(result.get('[email protected]')).toEqual({- id: 'contact-2',- personId: null,- });- expect(result.size).toBe(2);- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/for-each-page.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/for-each-page.test.tsdeleted file mode 100644index ef12aeb1461..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/for-each-page.test.ts+++ /dev/null@@ -1,262 +0,0 @@-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';--import {- forEachPage,- type ResendListFunction,-} from '@modules/resend/shared/utils/for-each-page';--type Item = { id: string };--type ListResponse = Awaited<ReturnType<ResendListFunction<Item>>>;--const page = (ids: string[], hasMore: boolean): ListResponse => ({- data: { data: ids.map((id) => ({ id })), has_more: hasMore },- error: null,-});--const createMockListFunction = (- pages: ListResponse[],-): {- listFunction: ResendListFunction<Item>;- calls: { limit: number; after?: string }[];-} => {- const calls: { limit: number; after?: string }[] = [];- let index = 0;-- const listFunction: ResendListFunction<Item> = async (- paginationParameters,- ) => {- calls.push(paginationParameters);- const result = pages[index] ?? page([], false);-- index++;-- return result;- };-- return { listFunction, calls };-};--beforeEach(() => {- vi.spyOn(console, 'log').mockImplementation(() => {});- vi.spyOn(console, 'warn').mockImplementation(() => {});-});--afterEach(() => {- vi.restoreAllMocks();-});--describe('forEachPage', () => {- it('calls onPage with each page in order', async () => {- const { listFunction } = createMockListFunction([- page(['a', 'b'], true),- page(['c'], false),- ]);-- const seen: { ids: string[]; pageNumber: number }[] = [];-- await forEachPage(listFunction, async (items, pageNumber) => {- seen.push({ ids: items.map((item) => item.id), pageNumber });- });-- expect(seen).toEqual([- { ids: ['a', 'b'], pageNumber: 1 },- { ids: ['c'], pageNumber: 2 },- ]);- });-- it('starts from options.startCursor when provided', async () => {- const { listFunction, calls } = createMockListFunction([- page(['c', 'd'], false),- ]);-- await forEachPage(listFunction, async () => {}, 'items', {- startCursor: 'b',- });-- expect(calls[0]).toEqual({ limit: 100, after: 'b' });- });-- it('omits after when startCursor is an empty string', async () => {- const { listFunction, calls } = createMockListFunction([- page(['a'], false),- ]);-- await forEachPage(listFunction, async () => {}, 'items', {- startCursor: '',- });-- expect(calls[0]).toEqual({ limit: 100 });- });-- it('calls onCursorAdvance after each successful page with the last item id', async () => {- const { listFunction } = createMockListFunction([- page(['a', 'b'], true),- page(['c', 'd'], false),- ]);-- const advances: { cursor: string }[] = [];-- await forEachPage(listFunction, async () => {}, 'items', {- onCursorAdvance: async (cursor) => {- advances.push({ cursor });- },- });-- expect(advances).toEqual([{ cursor: 'b' }, { cursor: 'd' }]);- });-- it('does not call onCursorAdvance when onPage throws', async () => {- const { listFunction } = createMockListFunction([- page(['a'], true),- page(['b'], false),- ]);- const onCursorAdvance = vi.fn(async () => {});-- await expect(- forEachPage(- listFunction,- async () => {- throw new Error('boom');- },- 'items',- { onCursorAdvance },- ),- ).rejects.toThrow('boom');-- expect(onCursorAdvance).not.toHaveBeenCalled();- });-- it('persists cursor for the final page even when has_more is false', async () => {- const { listFunction } = createMockListFunction([page(['a', 'b'], false)]);- const onCursorAdvance = vi.fn(async () => {});-- await forEachPage(listFunction, async () => {}, 'items', {- onCursorAdvance,- });-- expect(onCursorAdvance).toHaveBeenCalledTimes(1);- expect(onCursorAdvance).toHaveBeenCalledWith('b');- });-- it('continues past pages that return ok=false and advances the cursor over them', async () => {- const { listFunction, calls } = createMockListFunction([- page(['a', 'b'], true),- page(['c', 'd'], true),- page(['e', 'f'], false),- ]);-- const onCursorAdvance = vi.fn(async () => {});- const seenPages: string[][] = [];-- await forEachPage(- listFunction,- async (items, pageNumber) => {- seenPages.push(items.map((item) => item.id));-- return { ok: pageNumber !== 2, errors: ['boom'] };- },- 'items',- { onCursorAdvance },- );-- expect(seenPages).toEqual([- ['a', 'b'],- ['c', 'd'],- ['e', 'f'],- ]);- expect(calls).toHaveLength(3);- expect(onCursorAdvance).toHaveBeenCalledTimes(3);- expect(onCursorAdvance).toHaveBeenLastCalledWith('f');- });-- it('treats a void onPage return as ok and advances the cursor', async () => {- const { listFunction } = createMockListFunction([page(['a'], false)]);- const onCursorAdvance = vi.fn(async () => {});-- await forEachPage(listFunction, async () => {}, 'items', {- onCursorAdvance,- });-- expect(onCursorAdvance).toHaveBeenCalledWith('a');- });-- it('throws when the cursor does not advance across pages', async () => {- const { listFunction } = createMockListFunction([- page(['a'], true),- page(['a'], true),- ]);-- await expect(- forEachPage(listFunction, async () => {}, 'segments'),- ).rejects.toThrow(/Resend list\[segments\] cursor stuck at a/);- });-- it('stops requesting additional pages once deadlineAtMs is reached', async () => {- const { listFunction, calls } = createMockListFunction([- page(['a', 'b'], true),- page(['c', 'd'], true),- page(['e', 'f'], true),- ]);-- const onCursorAdvance = vi.fn(async () => {});- const seenPages: string[][] = [];-- let now = 1_000;- const dateNowSpy = vi.spyOn(Date, 'now').mockImplementation(() => now);-- await forEachPage(- listFunction,- async (items) => {- seenPages.push(items.map((item) => item.id));- now += 1_000;- },- 'items',- {- onCursorAdvance,- deadlineAtMs: 2_500,- },- );-- expect(seenPages).toEqual([- ['a', 'b'],- ['c', 'd'],- ]);- expect(calls).toHaveLength(2);- expect(onCursorAdvance).toHaveBeenCalledTimes(2);- expect(onCursorAdvance).toHaveBeenLastCalledWith('d');-- dateNowSpy.mockRestore();- });-- it('still processes the first page even if the deadline is already past at start', async () => {- const { listFunction, calls } = createMockListFunction([- page(['a'], true),- page(['b'], false),- ]);-- const onCursorAdvance = vi.fn(async () => {});- const seenPages: string[][] = [];-- const dateNowSpy = vi.spyOn(Date, 'now').mockReturnValue(10_000);-- await forEachPage(- listFunction,- async (items) => {- seenPages.push(items.map((item) => item.id));- },- 'items',- {- onCursorAdvance,- deadlineAtMs: 0,- },- );-- expect(seenPages).toEqual([['a']]);- expect(calls).toHaveLength(1);- expect(onCursorAdvance).toHaveBeenCalledTimes(1);- expect(onCursorAdvance).toHaveBeenCalledWith('a');-- dateNowSpy.mockRestore();- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/to-emails-field.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/to-emails-field.test.tsdeleted file mode 100644index 688e0ec8e99..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/to-emails-field.test.ts+++ /dev/null@@ -1,94 +0,0 @@-import { describe, expect, it } from 'vitest';--import { toEmailsField } from '@modules/resend/shared/utils/to-emails-field';--describe('toEmailsField', () => {- it('returns a plain email unchanged', () => {- expect(toEmailsField('[email protected]')).toEqual({- primaryEmail: '[email protected]',- additionalEmails: null,- });- });-- it('extracts the email from "Name <email>" format', () => {- expect(toEmailsField('Thomas <[email protected]>')).toEqual({- primaryEmail: '[email protected]',- additionalEmails: null,- });- });-- it('extracts the email from a quoted display name', () => {- expect(toEmailsField('"Last, First" <[email protected]>')).toEqual({- primaryEmail: '[email protected]',- additionalEmails: null,- });- });-- it('normalizes each entry of an array of mixed formats', () => {- expect(- toEmailsField([- 'Alice <[email protected]>',- '[email protected]',- '"Carol C." <[email protected]>',- ]),- ).toEqual({- primaryEmail: '[email protected]',- additionalEmails: ['[email protected]', '[email protected]'],- });- });-- it('returns empty primaryEmail for null', () => {- expect(toEmailsField(null)).toEqual({- primaryEmail: '',- additionalEmails: null,- });- });-- it('returns empty primaryEmail for undefined', () => {- expect(toEmailsField(undefined)).toEqual({- primaryEmail: '',- additionalEmails: null,- });- });-- it('returns empty primaryEmail for an empty string', () => {- expect(toEmailsField('')).toEqual({- primaryEmail: '',- additionalEmails: null,- });- });-- it('trims surrounding whitespace from a plain email', () => {- expect(toEmailsField(' [email protected] ')).toEqual({- primaryEmail: '[email protected]',- additionalEmails: null,- });- });-- it('lowercases a plain email', () => {- expect(toEmailsField('[email protected]')).toEqual({- primaryEmail: '[email protected]',- additionalEmails: null,- });- });-- it('lowercases the address inside the "Name <email>" format', () => {- expect(toEmailsField('Thomas <[email protected]>')).toEqual({- primaryEmail: '[email protected]',- additionalEmails: null,- });- });-- it('lowercases each entry of an array', () => {- expect(- toEmailsField([- 'Alice <[email protected]>',- '[email protected]',- '"Carol C." <[email protected]>',- ]),- ).toEqual({- primaryEmail: '[email protected]',- additionalEmails: ['[email protected]', '[email protected]'],- });- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/with-rate-limit-retry.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/with-rate-limit-retry.test.tsdeleted file mode 100644index 8f701cee0e4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/__tests__/with-rate-limit-retry.test.ts+++ /dev/null@@ -1,76 +0,0 @@-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';--import { withRateLimitRetry } from '@modules/resend/shared/utils/with-rate-limit-retry';--beforeEach(() => {- vi.spyOn(console, 'warn').mockImplementation(() => {});-});--afterEach(() => {- vi.restoreAllMocks();-});--describe('withRateLimitRetry', () => {- it('returns the resolved value when no error is present', async () => {- const result = await withRateLimitRetry(async () => ({- data: { ok: true },- error: null,- }));-- expect(result).toEqual({ data: { ok: true }, error: null });- });-- it('retries on a Resend-shape rate-limit error response and eventually returns success', async () => {- const fn = vi- .fn()- .mockResolvedValueOnce({- data: null,- error: { message: 'Too Many Requests', name: 'rate_limit_exceeded' },- })- .mockResolvedValueOnce({ data: { ok: true }, error: null });-- const result = await withRateLimitRetry(fn, {- channel: 'test-error-response',- });-- expect(fn).toHaveBeenCalledTimes(2);- expect(result).toEqual({ data: { ok: true }, error: null });- }, 15_000);-- it('retries on a thrown rate-limit error', async () => {- const fn = vi- .fn()- .mockRejectedValueOnce(new Error('rate limit hit'))- .mockResolvedValueOnce({ data: 'ok', error: null });-- const result = await withRateLimitRetry(fn, { channel: 'test-thrown' });-- expect(fn).toHaveBeenCalledTimes(2);- expect(result).toEqual({ data: 'ok', error: null });- }, 15_000);-- it('rethrows non-rate-limit errors immediately', async () => {- const fn = vi.fn().mockRejectedValue(new Error('schema mismatch'));-- await expect(- withRateLimitRetry(fn, { channel: 'test-rethrow' }),- ).rejects.toThrow('schema mismatch');- expect(fn).toHaveBeenCalledTimes(1);- });-- it('uses independent throttle timestamps per channel', async () => {- let counterA = 0;- let counterB = 0;-- const fnA = vi.fn(async () => ({ data: ++counterA, error: null }));- const fnB = vi.fn(async () => ({ data: ++counterB, error: null }));-- await Promise.all([- withRateLimitRetry(fnA, { channel: 'channel-a' }),- withRateLimitRetry(fnB, { channel: 'channel-b' }),- ]);-- expect(fnA).toHaveBeenCalledTimes(1);- expect(fnB).toHaveBeenCalledTimes(1);- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/capitalize.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/capitalize.tsdeleted file mode 100644index 4466ccaa5f9..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/capitalize.ts+++ /dev/null@@ -1,2 +0,0 @@-export const capitalize = (str: string): string =>- str.charAt(0).toUpperCase() + str.slice(1);diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-or-create-person.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-or-create-person.tsdeleted file mode 100644index 425fcaa9d60..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-or-create-person.ts+++ /dev/null@@ -1,102 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--type PersonName = {- firstName?: string;- lastName?: string;-};--type PeopleConnection = {- edges: Array<{ node: { id: string } }>;-};--const isUniqueViolationError = (error: unknown): boolean => {- const text =- error instanceof Error- ? error.message- : typeof error === 'object' && error !== null- ? JSON.stringify(error)- : typeof error === 'string'- ? error- : '';- const lower = text.toLowerCase();-- return (- lower.includes('duplicate') ||- lower.includes('unique constraint') ||- lower.includes('uniqueness') ||- lower.includes('already exists') ||- lower.includes('violates unique')- );-};--const findPersonByEmail = async (- client: CoreApiClient,- email: string,-): Promise<string | undefined> => {- const { people } = await client.query({- people: {- edges: { node: { id: true } },- __args: {- filter: {- emails: {- primaryEmail: { eq: email },- },- },- first: 1,- },- },- });-- return (people as PeopleConnection | undefined)?.edges[0]?.node?.id;-};--export const findOrCreatePerson = async (- client: CoreApiClient,- email: string | undefined | null,- name?: PersonName,-): Promise<string | undefined> => {- if (!isNonEmptyString(email)) {- return undefined;- }-- const existingPersonId = await findPersonByEmail(client, email);-- if (isDefined(existingPersonId)) {- return existingPersonId;- }-- try {- const { createPerson } = await client.mutation({- createPerson: {- __args: {- data: {- name: {- firstName: name?.firstName ?? '',- lastName: name?.lastName ?? '',- },- emails: {- primaryEmail: email,- },- },- },- id: true,- },- });-- return (createPerson as { id: string } | undefined)?.id;- } catch (createError) {- if (!isUniqueViolationError(createError)) {- throw createError;- }-- const raceWinnerId = await findPersonByEmail(client, email);-- if (isDefined(raceWinnerId)) {- return raceWinnerId;- }-- throw createError;- }-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-people-by-email.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-people-by-email.tsdeleted file mode 100644index 88364b1a05a..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-people-by-email.ts+++ /dev/null@@ -1,56 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { type CoreApiClient } from 'twenty-client-sdk/core';--type PeopleConnection = {- edges: Array<{- node: { id: string; emails?: { primaryEmail?: string | null } | null };- }>;-};--const normalize = (email: string): string => email.trim().toLowerCase();--export const findPeopleByEmail = async (- client: CoreApiClient,- emails: ReadonlyArray<string | undefined | null>,-): Promise<Map<string, string>> => {- const personIdByEmail = new Map<string, string>();-- const emailKeys = Array.from(- new Set(- emails- .filter((email): email is string => isNonEmptyString(email))- .map(normalize),- ),- );-- if (emailKeys.length === 0) return personIdByEmail;-- const { people } = await client.query({- people: {- __args: {- filter: {- emails: {- primaryEmail: { in: emailKeys },- },- },- first: emailKeys.length,- },- edges: {- node: {- id: true,- emails: { primaryEmail: true },- },- },- },- });-- for (const edge of (people as PeopleConnection | undefined)?.edges ?? []) {- const primaryEmail = edge.node.emails?.primaryEmail;-- if (isNonEmptyString(primaryEmail)) {- personIdByEmail.set(normalize(primaryEmail), edge.node.id);- }- }-- return personIdByEmail;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-record-by-resend-id.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-record-by-resend-id.tsdeleted file mode 100644index 1402db4eac8..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-record-by-resend-id.ts+++ /dev/null@@ -1,32 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';--import { extractConnection } from '@modules/resend/shared/utils/typed-client';--type ResendIdNode = { id: string; resendId: string };--export const findRecordByResendId = async (- client: CoreApiClient,- objectNamePlural: string,- resendId: string,-): Promise<string | undefined> => {- const result = await client.query({- [objectNamePlural]: {- __args: {- filter: {- resendId: { eq: resendId },- },- first: 1,- },- edges: {- node: {- id: true,- resendId: true,- },- },- },- });-- const connection = extractConnection<ResendIdNode>(result, objectNamePlural);-- return connection.edges[0]?.node.id;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-resend-contacts-by-email.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-resend-contacts-by-email.tsdeleted file mode 100644index 68b9d8b899b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-resend-contacts-by-email.ts+++ /dev/null@@ -1,72 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { type CoreApiClient } from 'twenty-client-sdk/core';--import { extractConnection } from '@modules/resend/shared/utils/typed-client';--export type ResendContactLookup = {- id: string;- personId: string | null;-};--type ResendContactNode = {- id: string;- personId?: string | null;- email?: { primaryEmail?: string | null } | null;-};--const normalize = (email: string): string => email.trim().toLowerCase();--export const findResendContactsByEmail = async (- client: CoreApiClient,- emails: ReadonlyArray<string | undefined | null>,-): Promise<Map<string, ResendContactLookup>> => {- const contactByEmail = new Map<string, ResendContactLookup>();-- const emailKeys = Array.from(- new Set(- emails- .filter((email): email is string => isNonEmptyString(email))- .map(normalize),- ),- );-- if (emailKeys.length === 0) return contactByEmail;-- const result = await client.query({- resendContacts: {- __args: {- filter: {- email: {- primaryEmail: { in: emailKeys },- },- },- first: emailKeys.length,- },- edges: {- node: {- id: true,- personId: true,- email: { primaryEmail: true },- },- },- },- });-- const connection = extractConnection<ResendContactNode>(- result,- 'resendContacts',- );-- for (const edge of connection.edges) {- const primaryEmail = edge.node.email?.primaryEmail;-- if (!isNonEmptyString(primaryEmail)) continue;-- contactByEmail.set(normalize(primaryEmail), {- id: edge.node.id,- personId: edge.node.personId ?? null,- });- }-- return contactByEmail;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-twenty-ids-by-resend-id.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-twenty-ids-by-resend-id.tsdeleted file mode 100644index 57f949ec6f1..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/find-twenty-ids-by-resend-id.ts+++ /dev/null@@ -1,55 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { extractConnection } from '@modules/resend/shared/utils/typed-client';--type ResendIdNode = {- id: string;- resendId?: string | null;-};--export const findTwentyIdsByResendId = async (- client: CoreApiClient,- objectNamePlural: string,- resendIds: ReadonlyArray<string | undefined | null>,-): Promise<Map<string, string>> => {- const map = new Map<string, string>();-- const filteredIds = Array.from(- new Set(- resendIds.filter(- (resendId): resendId is string =>- typeof resendId === 'string' && resendId.length > 0,- ),- ),- );-- if (filteredIds.length === 0) return map;-- const result = await client.query({- [objectNamePlural]: {- __args: {- filter: {- resendId: { in: filteredIds },- },- first: filteredIds.length,- },- edges: {- node: {- id: true,- resendId: true,- },- },- },- });-- const connection = extractConnection<ResendIdNode>(result, objectNamePlural);-- for (const edge of connection.edges) {- if (isDefined(edge.node.resendId)) {- map.set(edge.node.resendId, edge.node.id);- }- }-- return map;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/for-each-page.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/for-each-page.tsdeleted file mode 100644index 1ee2d6d41c2..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/for-each-page.ts+++ /dev/null@@ -1,121 +0,0 @@-import { isDefined } from '@utils/is-defined';--import { RESEND_PAGE_SIZE } from '@modules/resend/constants/sync-config';-import { withRateLimitRetry } from '@modules/resend/shared/utils/with-rate-limit-retry';--export type ResendListFunction<T> = (paginationParameters: {- limit: number;- after?: string;-}) => Promise<{- data: { data: T[]; has_more: boolean } | null;- error: unknown;-}>;--export type ForEachPageOptions = {- startCursor?: string;- onCursorAdvance?: (cursor: string) => Promise<void>;- deadlineAtMs?: number;-};--export type OnPageResult = {- ok: boolean;- stop?: boolean;- errors?: ReadonlyArray<string>;-};--export type OnPageHandler<T> = (- items: T[],- pageNumber: number,-) => Promise<OnPageResult | void>;--export type ForEachPageResult = {- completed: boolean;-};--export const forEachPage = async <T extends { id: string }>(- listFunction: ResendListFunction<T>,- onPage: OnPageHandler<T>,- label = 'items',- options?: ForEachPageOptions,-): Promise<ForEachPageResult> => {- let cursor: string | undefined = options?.startCursor;- let pageNumber = 0;- let totalFetched = 0;-- while (true) {- const paginationParameters = {- limit: RESEND_PAGE_SIZE,- ...(isDefined(cursor) && cursor.length > 0 && { after: cursor }),- };- const response = await withRateLimitRetry(- () => listFunction(paginationParameters),- { channel: label },- );-- if (isDefined(response.error)) {- throw new Error(- `Resend list[${label}] failed at cursor=${cursor ?? 'start'}: ${JSON.stringify(response.error)}`,- );- }-- const page = response.data;-- if (!isDefined(page) || page.data.length === 0) {- return { completed: true };- }-- pageNumber++;- totalFetched += page.data.length;-- console.log(- `[resend] fetched ${label} page ${pageNumber} (size=${page.data.length}, total=${totalFetched}, has_more=${page.has_more})`,- );-- const handlerResult = await onPage(page.data, pageNumber);- const pageOk = handlerResult?.ok ?? true;- const shouldStop = handlerResult?.stop === true;-- if (!pageOk) {- const perItemErrors = handlerResult?.errors ?? [];- const detail =- perItemErrors.length > 0- ? ` failures: ${perItemErrors.join(' | ')}`- : '';-- console.warn(- `[resend] ${label} page ${pageNumber} had per-item failures at cursor=${cursor ?? 'start'}; advancing past the page.${detail}`,- );- }-- const nextCursor = page.data[page.data.length - 1].id;-- if (isDefined(options?.onCursorAdvance)) {- await options.onCursorAdvance(nextCursor);- }-- if (shouldStop) {- return { completed: true };- }-- if (!page.has_more) {- return { completed: true };- }-- if (nextCursor === cursor) {- throw new Error(`Resend list[${label}] cursor stuck at ${nextCursor}`);- }-- if (- isDefined(options?.deadlineAtMs) &&- Date.now() >= options.deadlineAtMs- ) {- console.log(- `[resend] reached deadline for ${label} after page ${pageNumber}; stopping early (cursor will resume next tick)`,- );-- return { completed: false };- }-- cursor = nextCursor;- }-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/get-error-message.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/get-error-message.tsdeleted file mode 100644index 46279d6438c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/get-error-message.ts+++ /dev/null@@ -1,2 +0,0 @@-export const getErrorMessage = (error: unknown): string =>- error instanceof Error ? error.message : String(error);diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/get-resend-client.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/get-resend-client.tsdeleted file mode 100644index 304cdb1e8aa..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/get-resend-client.ts+++ /dev/null@@ -1,12 +0,0 @@-import { Resend } from 'resend';-import { isDefined } from '@utils/is-defined';--export const getResendClient = (): Resend => {- const apiKey = process.env.RESEND_API_KEY;-- if (!isDefined(apiKey)) {- throw new Error('RESEND_API_KEY environment variable is not set');- }-- return new Resend(apiKey);-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/map-last-event.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/map-last-event.tsdeleted file mode 100644index 7728a4e5507..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/map-last-event.ts+++ /dev/null@@ -1,45 +0,0 @@-import { isDefined } from '@utils/is-defined';--export type LastEvent =- | 'SENT'- | 'DELIVERED'- | 'DELIVERY_DELAYED'- | 'COMPLAINED'- | 'BOUNCED'- | 'OPENED'- | 'CLICKED'- | 'SCHEDULED'- | 'QUEUED'- | 'FAILED'- | 'CANCELED'- | 'RECEIVED'- | 'SUPPRESSED';--const EVENT_TO_LAST_EVENT: Record<string, LastEvent> = {- sent: 'SENT',- delivered: 'DELIVERED',- delivery_delayed: 'DELIVERY_DELAYED',- complained: 'COMPLAINED',- bounced: 'BOUNCED',- opened: 'OPENED',- clicked: 'CLICKED',- scheduled: 'SCHEDULED',- queued: 'QUEUED',- failed: 'FAILED',- canceled: 'CANCELED',- received: 'RECEIVED',- suppressed: 'SUPPRESSED',-};--export const mapLastEvent = (lastEvent: string): LastEvent | null => {- const key = lastEvent.replace(/^email\./, '').toLowerCase();- const mapped = EVENT_TO_LAST_EVENT[key];-- if (!isDefined(mapped)) {- console.warn(`[resend] Unknown email event: ${lastEvent}`);-- return null;- }-- return mapped;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/to-emails-field.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/to-emails-field.tsdeleted file mode 100644index af05220325e..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/to-emails-field.ts+++ /dev/null@@ -1,32 +0,0 @@-import type { EmailsField } from '@modules/resend/shared/types/emails-field';--const extractEmailAddress = (raw: string): string => {- const trimmed = raw.trim();-- const closingIndex = trimmed.lastIndexOf('>');- const openingIndex = trimmed.lastIndexOf('<', closingIndex);-- if (openingIndex !== -1 && closingIndex > openingIndex) {- return trimmed.slice(openingIndex + 1, closingIndex).trim().toLowerCase();- }-- return trimmed.toLowerCase();-};--export const toEmailsField = (- value: string | string[] | undefined | null,-): EmailsField => {- if (Array.isArray(value)) {- const normalized = value.map(extractEmailAddress);-- return {- primaryEmail: normalized[0] ?? '',- additionalEmails: normalized.length > 1 ? normalized.slice(1) : null,- };- }-- return {- primaryEmail: typeof value === 'string' ? extractEmailAddress(value) : '',- additionalEmails: null,- };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/to-iso-string.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/to-iso-string.tsdeleted file mode 100644index 596c7aa6693..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/to-iso-string.ts+++ /dev/null@@ -1,8 +0,0 @@-import { isDefined } from '@utils/is-defined';--export const toIsoString = (date: string): string =>- new Date(date).toISOString();--export const toIsoStringOrNull = (- date: string | null | undefined,-): string | null => (isDefined(date) ? toIsoString(date) : null);diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/typed-client.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/typed-client.tsdeleted file mode 100644index 3cd967be1ea..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/typed-client.ts+++ /dev/null@@ -1,47 +0,0 @@-export type PageInfo = {- hasNextPage: boolean;- endCursor: string | null;-};--export type Connection<TNode> = {- edges: Array<{ node: TNode }>;- pageInfo?: PageInfo;-};--const isObject = (value: unknown): value is Record<string, unknown> =>- typeof value === 'object' && value !== null;--export const extractConnection = <TNode>(- result: unknown,- field: string,-): Connection<TNode> => {- if (!isObject(result)) {- return { edges: [] };- }-- const candidate = result[field];-- if (!isObject(candidate)) {- return { edges: [] };- }-- return {- edges: Array.isArray((candidate as Connection<TNode>).edges)- ? (candidate as Connection<TNode>).edges- : [],- pageInfo: (candidate as Connection<TNode>).pageInfo,- };-};--export const extractMutationRecord = <T = { id: string }>(- result: unknown,- field: string,-): T | undefined => {- if (!isObject(result)) return undefined;-- const candidate = result[field];-- if (!isObject(candidate)) return undefined;-- return candidate as T;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/with-rate-limit-retry.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/with-rate-limit-retry.tsdeleted file mode 100644index 3f2133baa29..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/shared/utils/with-rate-limit-retry.ts+++ /dev/null@@ -1,93 +0,0 @@-import { isDefined } from '@utils/is-defined';--import {- RATE_LIMIT_BASE_DELAY_MS,- RATE_LIMIT_MAX_RETRIES,- RATE_LIMIT_MIN_INTERVAL_MS,-} from '@modules/resend/constants/sync-config';--const sleep = (ms: number) =>- new Promise<void>((resolve) => setTimeout(resolve, ms));--const isRateLimitError = (error: unknown): boolean => {- const text =- error instanceof Error- ? error.message- : typeof error === 'object' && error !== null- ? JSON.stringify(error)- : typeof error === 'string'- ? error- : '';- const lower = text.toLowerCase();-- return (- lower.includes('rate limit') ||- lower.includes('rate_limit') ||- lower.includes('too many requests')- );-};--const isResendErrorResponse = (- value: unknown,-): value is { error: unknown; data?: unknown } => {- if (typeof value !== 'object' || value === null) return false;-- return (- 'error' in value &&- isDefined((value as { error: unknown }).error)- );-};--const lastCallTimestampByChannel = new Map<string, number>();-const DEFAULT_CHANNEL = 'default';--export const withRateLimitRetry = async <T>(- fn: () => Promise<T>,- options?: { channel?: string },-): Promise<T> => {- const channel = options?.channel ?? DEFAULT_CHANNEL;-- for (let attempt = 0; attempt <= RATE_LIMIT_MAX_RETRIES; attempt++) {- const lastCallTimestamp = lastCallTimestampByChannel.get(channel) ?? 0;- const elapsed = Date.now() - lastCallTimestamp;-- if (elapsed < RATE_LIMIT_MIN_INTERVAL_MS) {- await sleep(RATE_LIMIT_MIN_INTERVAL_MS - elapsed);- }-- lastCallTimestampByChannel.set(channel, Date.now());-- try {- const result = await fn();-- if (- isResendErrorResponse(result) &&- isRateLimitError(result.error) &&- attempt < RATE_LIMIT_MAX_RETRIES- ) {- const delayMs = RATE_LIMIT_BASE_DELAY_MS * 2 ** attempt;-- console.warn(- `[resend] Rate limited (response.error), retrying in ${delayMs}ms (attempt ${attempt + 1}/${RATE_LIMIT_MAX_RETRIES})`,- );- await sleep(delayMs);- continue;- }-- return result;- } catch (error) {- if (!isRateLimitError(error) || attempt === RATE_LIMIT_MAX_RETRIES) {- throw error;- }-- const delayMs = RATE_LIMIT_BASE_DELAY_MS * 2 ** attempt;-- console.warn(- `[resend] Rate limited (thrown), retrying in ${delayMs}ms (attempt ${attempt + 1}/${RATE_LIMIT_MAX_RETRIES})`,- );- await sleep(delayMs);- }- }-- throw new Error('Unreachable');-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/constants/resend-sync-cursor-steps.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/constants/resend-sync-cursor-steps.tsdeleted file mode 100644index c2b8e34ac37..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/constants/resend-sync-cursor-steps.ts+++ /dev/null@@ -1,10 +0,0 @@-import type { SyncCursorStep } from '@modules/resend/sync/cursor/types/sync-cursor-step';--export const RESEND_SYNC_CURSOR_STEPS: ReadonlyArray<SyncCursorStep> = [- 'TOPICS',- 'SEGMENTS',- 'TEMPLATES',- 'CONTACTS',- 'EMAILS',- 'BROADCASTS',-];diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/types/sync-cursor-step.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/types/sync-cursor-step.tsdeleted file mode 100644index 26f6a24ec95..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/types/sync-cursor-step.ts+++ /dev/null@@ -1,13 +0,0 @@-export type SyncCursorStep =- | 'SEGMENTS'- | 'TEMPLATES'- | 'CONTACTS'- | 'EMAILS'- | 'BROADCASTS'- | 'TOPICS';--export type SyncCursorRow = {- id: string;- step: SyncCursorStep;- cursor: string | null;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/__tests__/reset-all-sync-cursors.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/__tests__/reset-all-sync-cursors.test.tsdeleted file mode 100644index e0957fd73da..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/__tests__/reset-all-sync-cursors.test.ts+++ /dev/null@@ -1,88 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { describe, expect, it, vi } from 'vitest';--import { resetAllSyncCursors } from '@modules/resend/sync/cursor/utils/reset-all-sync-cursors';--type CursorNode = {- id: string;- step?: string;- cursor?: string | null;- lastRunStatus?: 'SUCCESS' | 'FAILED' | 'IN_PROGRESS' | null;-};--const makeClient = (nodes: CursorNode[]) => {- const mutationCalls: Array<Record<string, unknown>> = [];-- const query = vi.fn(async () => ({- resendSyncCursors: {- edges: nodes.map((node) => ({ node })),- },- }));-- const mutation = vi.fn(async (m: Record<string, unknown>) => {- mutationCalls.push(m);-- return { updateResendSyncCursor: { id: 'updated' } };- });-- const client = { query, mutation } as unknown as CoreApiClient;-- return { client, mutationCalls, query, mutation };-};--const extractUpdateArgs = (call: Record<string, unknown>) => {- const updateBlock = call.updateResendSyncCursor as- | { __args?: { id?: string; data?: Record<string, unknown> } }- | undefined;-- return updateBlock?.__args;-};--describe('resetAllSyncCursors', () => {- it('issues no mutations when there are no rows', async () => {- const { client, mutation } = makeClient([]);-- await resetAllSyncCursors(client);-- expect(mutation).not.toHaveBeenCalled();- });-- it('resets every returned row with cursor/lastRunAt/lastRunStatus nulled', async () => {- const nodes: CursorNode[] = [- { id: 'row-1', step: 'TOPICS', cursor: null, lastRunStatus: 'SUCCESS' },- { id: 'row-2', step: 'EMAILS', cursor: 'mid', lastRunStatus: 'IN_PROGRESS' },- { id: 'row-3', step: 'BROADCASTS', cursor: null, lastRunStatus: 'FAILED' },- ];- const { client, mutationCalls } = makeClient(nodes);-- await resetAllSyncCursors(client);-- expect(mutationCalls).toHaveLength(3);-- const updatedIds = mutationCalls- .map((call) => extractUpdateArgs(call)?.id)- .sort();-- expect(updatedIds).toEqual(['row-1', 'row-2', 'row-3']);-- for (const call of mutationCalls) {- expect(extractUpdateArgs(call)?.data).toEqual({- cursor: null,- lastRunAt: null,- lastRunStatus: null,- });- }- });-- it('skips edges whose node has no id', async () => {- const { client, mutationCalls } = makeClient([- { id: 'row-1' },- { id: '' },- ]);-- await resetAllSyncCursors(client);-- expect(mutationCalls).toHaveLength(1);- expect(extractUpdateArgs(mutationCalls[0])?.id).toBe('row-1');- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/__tests__/with-sync-cursor.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/__tests__/with-sync-cursor.test.tsdeleted file mode 100644index c382075446c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/__tests__/with-sync-cursor.test.ts+++ /dev/null@@ -1,168 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { describe, expect, it, vi } from 'vitest';--import { withSyncCursor } from 'src/modules/resend/sync/cursor/utils/with-sync-cursor';--type CursorNode = {- id: string;- step: string;- cursor: string | null;-};--const makeClient = (existingNode?: CursorNode) => {- const mutationCalls: Array<Record<string, unknown>> = [];- const queryCalls: Array<Record<string, unknown>> = [];-- const query = vi.fn(async (q: Record<string, unknown>) => {- queryCalls.push(q);-- return {- resendSyncCursors: {- edges: existingNode ? [{ node: existingNode }] : [],- },- };- });-- const mutation = vi.fn(async (m: Record<string, unknown>) => {- mutationCalls.push(m);-- if ('createResendSyncCursor' in m) {- return { createResendSyncCursor: { id: 'created-cursor-id' } };- }-- return { updateResendSyncCursor: { id: 'updated' } };- });-- const client = { query, mutation } as unknown as CoreApiClient;-- return { client, mutationCalls, queryCalls };-};--const findUpdate = (- calls: Array<Record<string, unknown>>,- predicate: (data: Record<string, unknown>) => boolean,-): Record<string, unknown> | undefined => {- for (const call of calls) {- const updateBlock = call.updateResendSyncCursor as- | { __args?: { data?: Record<string, unknown> } }- | undefined;-- const data = updateBlock?.__args?.data;-- if (data !== undefined && predicate(data)) {- return data;- }- }-- return undefined;-};--describe('withSyncCursor', () => {- it('creates a cursor row when none exists, then clears the cursor on success', async () => {- const { client, mutationCalls } = makeClient();-- await withSyncCursor(client, 'SEGMENTS', async ({ resumeCursor }) => {- expect(resumeCursor).toBeUndefined();-- return { value: undefined, completed: true };- });-- const create = mutationCalls.find((c) => 'createResendSyncCursor' in c);-- expect(create).toBeDefined();-- const clearedUpdate = findUpdate(- mutationCalls,- (data) => data.cursor === null,- );-- expect(clearedUpdate).toBeDefined();- });-- it('resumes from stored cursor when one is persisted', async () => {- const { client } = makeClient({- id: 'cursor-1',- step: 'CONTACTS',- cursor: 'last-id',- });-- const seen: { resumeCursor: string | undefined }[] = [];-- await withSyncCursor(client, 'CONTACTS', async (ctx) => {- seen.push({ resumeCursor: ctx.resumeCursor });-- return { value: undefined, completed: true };- });-- expect(seen).toEqual([{ resumeCursor: 'last-id' }]);- });-- it('persists progress via onCursorAdvance', async () => {- const { client, mutationCalls } = makeClient({- id: 'cursor-1',- step: 'EMAILS',- cursor: null,- });-- await withSyncCursor(client, 'EMAILS', async ({ onCursorAdvance }) => {- await onCursorAdvance('item-99');-- return { value: undefined, completed: false };- });-- const progress = findUpdate(- mutationCalls,- (data) => data.cursor === 'item-99',- );-- expect(progress).toBeDefined();- });-- it('preserves the resume cursor when preserveCursor=true and run completes', async () => {- const { client, mutationCalls } = makeClient({- id: 'cursor-1',- step: 'EMAILS',- cursor: 'in-progress-id',- });-- await withSyncCursor(- client,- 'EMAILS',- async ({ onCursorAdvance }) => {- await onCursorAdvance('item-99');-- return { value: undefined, completed: true };- },- { preserveCursor: true },- );-- const cursorWriteAttempt = findUpdate(- mutationCalls,- (data) =>- Object.prototype.hasOwnProperty.call(data, 'cursor'),- );-- expect(cursorWriteAttempt).toBeUndefined();- });-- it('rethrows and leaves the cursor untouched when fn throws', async () => {- const { client, mutationCalls } = makeClient({- id: 'cursor-1',- step: 'CONTACTS',- cursor: 'last-id',- });-- await expect(- withSyncCursor(client, 'CONTACTS', async () => {- throw new Error('boom');- }),- ).rejects.toThrow('boom');-- const clearedUpdate = findUpdate(- mutationCalls,- (data) => data.cursor === null,- );-- expect(clearedUpdate).toBeUndefined();- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/get-or-create-sync-cursor.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/get-or-create-sync-cursor.tsdeleted file mode 100644index 92b34d3db5b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/get-or-create-sync-cursor.ts+++ /dev/null@@ -1,130 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import type {- SyncCursorRow,- SyncCursorStep,-} from 'src/modules/resend/sync/cursor/types/sync-cursor-step';-import {- extractConnection,- extractMutationRecord,-} from '@modules/resend/shared/utils/typed-client';--type SyncCursorNode = {- id: string;- step: SyncCursorStep;- cursor: string | null;-};--const findExistingCursor = async (- client: CoreApiClient,- step: SyncCursorStep,-): Promise<SyncCursorRow | null> => {- const queryResult = await client.query({- resendSyncCursors: {- __args: {- filter: {- // eslint-disable-next-line @typescript-eslint/no-explicit-any- step: { eq: step as any },- },- first: 1,- },- edges: {- node: {- id: true,- step: true,- cursor: true,- },- },- },- });-- const connection = extractConnection<SyncCursorNode>(- queryResult,- 'resendSyncCursors',- );-- const existingNode = connection.edges[0]?.node;-- if (!isDefined(existingNode)) {- return null;- }-- return {- id: existingNode.id,- step: existingNode.step,- cursor: existingNode.cursor,- };-};--export const getOrCreateSyncCursor = async (- client: CoreApiClient,- step: SyncCursorStep,-): Promise<SyncCursorRow> => {- const existing = await findExistingCursor(client, step);-- if (isDefined(existing)) {- return existing;- }-- try {- const createResult = await client.mutation({- createResendSyncCursor: {- __args: {- data: {- // eslint-disable-next-line @typescript-eslint/no-explicit-any- step: step as any,- },- },- id: true,- },- });-- const created = extractMutationRecord<{ id: string }>(- createResult,- 'createResendSyncCursor',- );-- if (!isDefined(created)) {- throw new Error(`Failed to create resendSyncCursor for step ${step}`);- }-- return {- id: created.id,- step,- cursor: null,- };- } catch (createError) {- if (!isUniqueViolationError(createError)) {- throw createError;- }-- const raceWinner = await findExistingCursor(client, step);-- if (isDefined(raceWinner)) {- return raceWinner;- }-- throw createError;- }-};--const isUniqueViolationError = (error: unknown): boolean => {- const text =- error instanceof Error- ? error.message- : typeof error === 'object' && error !== null- ? JSON.stringify(error)- : typeof error === 'string'- ? error- : '';- const lower = text.toLowerCase();-- return (- lower.includes('duplicate') ||- lower.includes('unique constraint') ||- lower.includes('uniqueness') ||- lower.includes('already exists') ||- lower.includes('violates unique')- );-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/reset-all-sync-cursors.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/reset-all-sync-cursors.tsdeleted file mode 100644index 72f2aecb01f..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/reset-all-sync-cursors.ts+++ /dev/null@@ -1,46 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { extractConnection } from '@modules/resend/shared/utils/typed-client';-import { RESEND_SYNC_CURSOR_STEPS } from '@modules/resend/sync/cursor/constants/resend-sync-cursor-steps';-import { updateCursorRow } from '@modules/resend/sync/cursor/utils/set-cursor';--type SyncCursorIdNode = {- id: string;-};--export const resetAllSyncCursors = async (- client: CoreApiClient,-): Promise<void> => {- const queryResult = await client.query({- resendSyncCursors: {- __args: {- first: RESEND_SYNC_CURSOR_STEPS.length + 5,- },- edges: {- node: {- id: true,- },- },- },- });-- const connection = extractConnection<SyncCursorIdNode>(- queryResult,- 'resendSyncCursors',- );-- const ids = connection.edges- .map((edge) => edge.node?.id)- .filter((id): id is string => isDefined(id) && id.length > 0);-- await Promise.all(- ids.map((id) =>- updateCursorRow(client, id, {- cursor: null,- lastRunAt: null,- lastRunStatus: null,- }),- ),- );-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/set-cursor.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/set-cursor.tsdeleted file mode 100644index e7d334d5fe4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/set-cursor.ts+++ /dev/null@@ -1,35 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';--export type SyncRunStatus = 'SUCCESS' | 'FAILED' | 'IN_PROGRESS';--type CursorUpdate = {- cursor?: string | null;- lastRunAt?: string | null;- lastRunStatus?: SyncRunStatus | null;-};--export const setCursor = async (- client: CoreApiClient,- id: string,- cursor: string | null,-): Promise<void> => {- await client.mutation({- updateResendSyncCursor: {- __args: { id, data: { cursor } },- id: true,- },- });-};--export const updateCursorRow = async (- client: CoreApiClient,- id: string,- data: CursorUpdate,-): Promise<void> => {- await client.mutation({- updateResendSyncCursor: {- __args: { id, data },- id: true,- },- });-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/with-sync-cursor.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/with-sync-cursor.tsdeleted file mode 100644index 913331e49ad..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/cursor/utils/with-sync-cursor.ts+++ /dev/null@@ -1,80 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { getOrCreateSyncCursor } from 'src/modules/resend/sync/cursor/utils/get-or-create-sync-cursor';-import {- setCursor,- updateCursorRow,-} from 'src/modules/resend/sync/cursor/utils/set-cursor';-import type { SyncCursorStep } from 'src/modules/resend/sync/cursor/types/sync-cursor-step';--export type SyncCursorContext = {- resumeCursor: string | undefined;- onCursorAdvance: (cursor: string) => Promise<void>;-};--export type SyncCursorRunResult<TValue> = {- value: TValue;- completed: boolean;-};--export type WithSyncCursorOptions = {- preserveCursor?: boolean;-};--export const withSyncCursor = async <TValue>(- client: CoreApiClient,- step: SyncCursorStep,- runWithCursor: (- context: SyncCursorContext,- ) => Promise<SyncCursorRunResult<TValue>>,- options?: WithSyncCursorOptions,-): Promise<TValue> => {- const cursorRow = await getOrCreateSyncCursor(client, step);- const startedAt = new Date().toISOString();- const preserveCursor = options?.preserveCursor === true;-- await updateCursorRow(client, cursorRow.id, {- lastRunAt: startedAt,- lastRunStatus: 'IN_PROGRESS',- });-- const hasResumeCursor =- isDefined(cursorRow.cursor) && cursorRow.cursor.length > 0;-- if (hasResumeCursor) {- console.log(- `[sync] resuming step ${step} from cursor ${cursorRow.cursor}`,- );- }-- const context: SyncCursorContext = {- resumeCursor: hasResumeCursor ? cursorRow.cursor ?? undefined : undefined,- onCursorAdvance: preserveCursor- ? async () => undefined- : (cursor) => setCursor(client, cursorRow.id, cursor),- };-- try {- const { value, completed } = await runWithCursor(context);-- if (completed) {- await updateCursorRow(client, cursorRow.id, {- ...(preserveCursor ? {} : { cursor: null }),- lastRunStatus: 'SUCCESS',- });- } else {- await updateCursorRow(client, cursorRow.id, {- lastRunStatus: 'IN_PROGRESS',- });- }-- return value;- } catch (runError) {- await updateCursorRow(client, cursorRow.id, {- lastRunStatus: 'FAILED',- });-- throw runError;- }-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-initial-sync-mode-monitor.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-initial-sync-mode-monitor.test.tsdeleted file mode 100644index 7a412ab19c3..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-initial-sync-mode-monitor.test.ts+++ /dev/null@@ -1,73 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';--import { resendInitialSyncModeMonitorHandler } from '@modules/resend/sync/logic-functions/resend-initial-sync-mode-monitor';--const mockSetInitialSyncMode = vi.fn();-const mockAreAllSyncCursorsEmpty = vi.fn();--vi.mock('twenty-client-sdk/core', () => ({- CoreApiClient: vi.fn(),-}));--vi.mock('twenty-client-sdk/metadata', () => ({- MetadataApiClient: vi.fn(),-}));--vi.mock('@modules/resend/sync/utils/set-initial-sync-mode', () => ({- setInitialSyncMode: (...args: unknown[]) => mockSetInitialSyncMode(...args),- isInitialSyncModeOn: async () => process.env.INITIAL_SYNC_MODE === 'true',-}));--vi.mock('@modules/resend/sync/utils/are-all-sync-cursors-empty', () => ({- areAllSyncCursorsEmpty: (...args: unknown[]) =>- mockAreAllSyncCursorsEmpty(...args),-}));--describe('resendInitialSyncModeMonitorHandler', () => {- const originalEnv = process.env.INITIAL_SYNC_MODE;-- beforeEach(() => {- mockSetInitialSyncMode.mockReset();- mockAreAllSyncCursorsEmpty.mockReset();- (CoreApiClient as unknown as ReturnType<typeof vi.fn>).mockReset();- });-- afterEach(() => {- if (originalEnv === undefined) {- delete process.env.INITIAL_SYNC_MODE;- } else {- process.env.INITIAL_SYNC_MODE = originalEnv;- }- });-- it('skips when INITIAL_SYNC_MODE is off', async () => {- process.env.INITIAL_SYNC_MODE = 'false';-- const result = await resendInitialSyncModeMonitorHandler();-- expect(result).toEqual({ skipped: true, flipped: false });- expect(mockAreAllSyncCursorsEmpty).not.toHaveBeenCalled();- expect(mockSetInitialSyncMode).not.toHaveBeenCalled();- });-- it('does nothing when cursors are not all empty', async () => {- process.env.INITIAL_SYNC_MODE = 'true';- mockAreAllSyncCursorsEmpty.mockResolvedValue(false);-- const result = await resendInitialSyncModeMonitorHandler();-- expect(result).toEqual({ skipped: false, flipped: false });- expect(mockSetInitialSyncMode).not.toHaveBeenCalled();- });-- it('flips INITIAL_SYNC_MODE to false when all cursors are empty', async () => {- process.env.INITIAL_SYNC_MODE = 'true';- mockAreAllSyncCursorsEmpty.mockResolvedValue(true);-- const result = await resendInitialSyncModeMonitorHandler();-- expect(result).toEqual({ skipped: false, flipped: true });- expect(mockSetInitialSyncMode).toHaveBeenCalledWith('false');- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-broadcasts-and-dependencies.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-broadcasts-and-dependencies.test.tsdeleted file mode 100644index 1beb3abefdd..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-broadcasts-and-dependencies.test.ts+++ /dev/null@@ -1,109 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { resendSyncBroadcastsAndDependenciesHandler } from '@modules/resend/sync/logic-functions/resend-sync-broadcasts-and-dependencies';--const mockSyncTopics = vi.fn();-const mockSyncSegments = vi.fn();-const mockSyncBroadcasts = vi.fn();-const mockGetResendClient = vi.fn();--vi.mock('twenty-client-sdk/core', () => ({- CoreApiClient: vi.fn(),-}));--vi.mock('@modules/resend/shared/utils/get-resend-client', () => ({- getResendClient: () => mockGetResendClient(),-}));--vi.mock('@modules/resend/sync/utils/sync-topics', () => ({- syncTopics: (...args: unknown[]) => mockSyncTopics(...args),-}));--vi.mock('@modules/resend/sync/utils/sync-segments', () => ({- syncSegments: (...args: unknown[]) => mockSyncSegments(...args),-}));--vi.mock('@modules/resend/sync/utils/sync-broadcasts', () => ({- syncBroadcasts: (...args: unknown[]) => mockSyncBroadcasts(...args),-}));--const okResult = <T>(value: T) => ({- result: { fetched: 0, created: 0, updated: 0, errors: [] },- value,-});--describe('resendSyncBroadcastsAndDependenciesHandler', () => {- beforeEach(() => {- mockSyncTopics.mockReset();- mockSyncSegments.mockReset();- mockSyncBroadcasts.mockReset();- mockGetResendClient.mockReset();- (CoreApiClient as unknown as ReturnType<typeof vi.fn>).mockReset();-- mockGetResendClient.mockReturnValue({});- });-- it('runs topics → segments → broadcasts in sequence with deadline propagation', async () => {- const topicMap = new Map([['topic-1', 'twenty-topic-1']]);- const segmentMap = new Map([['segment-1', 'twenty-segment-1']]);-- mockSyncTopics.mockResolvedValue(okResult(topicMap));- mockSyncSegments.mockResolvedValue(okResult(segmentMap));- mockSyncBroadcasts.mockResolvedValue(okResult(undefined));-- const summary = await resendSyncBroadcastsAndDependenciesHandler();-- expect(mockSyncTopics).toHaveBeenCalledTimes(1);- expect(mockSyncSegments).toHaveBeenCalledTimes(1);- expect(mockSyncBroadcasts).toHaveBeenCalledTimes(1);-- const broadcastsArgs = mockSyncBroadcasts.mock.calls[0];-- expect(broadcastsArgs).toHaveLength(3);- expect(broadcastsArgs[2]).toEqual({ deadlineAtMs: expect.any(Number) });-- const topicsArgs = mockSyncTopics.mock.calls[0];-- expect(topicsArgs[3]).toEqual({ deadlineAtMs: expect.any(Number) });-- const segmentsArgs = mockSyncSegments.mock.calls[0];-- expect(segmentsArgs[3]).toEqual({ deadlineAtMs: expect.any(Number) });-- expect(summary.steps.map((s) => s.name)).toEqual([- 'TOPICS',- 'SEGMENTS',- 'BROADCASTS',- ]);- expect(summary.steps.map((s) => s.status)).toEqual(['ok', 'ok', 'ok']);- });-- it('skips broadcasts when topics fails', async () => {- mockSyncTopics.mockRejectedValue(new Error('topics boom'));- mockSyncSegments.mockResolvedValue(okResult(new Map()));-- const summary = await resendSyncBroadcastsAndDependenciesHandler();-- expect(mockSyncBroadcasts).not.toHaveBeenCalled();-- const statusByName = new Map(summary.steps.map((s) => [s.name, s.status]));-- expect(statusByName.get('TOPICS')).toBe('failed');- expect(statusByName.get('BROADCASTS')).toBe('skipped');- });-- it('skips broadcasts when segments fails', async () => {- mockSyncTopics.mockResolvedValue(okResult(new Map()));- mockSyncSegments.mockRejectedValue(new Error('segments boom'));-- const summary = await resendSyncBroadcastsAndDependenciesHandler();-- expect(mockSyncBroadcasts).not.toHaveBeenCalled();-- const statusByName = new Map(summary.steps.map((s) => [s.name, s.status]));-- expect(statusByName.get('SEGMENTS')).toBe('failed');- expect(statusByName.get('BROADCASTS')).toBe('skipped');- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-contacts.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-contacts.test.tsdeleted file mode 100644index b55a3834743..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-contacts.test.ts+++ /dev/null@@ -1,43 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { resendSyncContactsHandler } from '@modules/resend/sync/logic-functions/resend-sync-contacts';--const mockSyncContacts = vi.fn();--vi.mock('twenty-client-sdk/core', () => ({- CoreApiClient: vi.fn(),-}));--vi.mock('@modules/resend/shared/utils/get-resend-client', () => ({- getResendClient: () => ({}),-}));--vi.mock('@modules/resend/sync/utils/sync-contacts', () => ({- syncContacts: (...args: unknown[]) => mockSyncContacts(...args),-}));--describe('resendSyncContactsHandler', () => {- beforeEach(() => {- mockSyncContacts.mockReset();- (CoreApiClient as unknown as ReturnType<typeof vi.fn>).mockReset();- });-- it('invokes syncContacts with a deadline and reports an ok CONTACTS step', async () => {- mockSyncContacts.mockResolvedValue({- result: { fetched: 1, created: 1, updated: 0, errors: [] },- value: undefined,- });-- const summary = await resendSyncContactsHandler();-- expect(mockSyncContacts).toHaveBeenCalledTimes(1);- const args = mockSyncContacts.mock.calls[0];-- expect(args[3]).toEqual({ deadlineAtMs: expect.any(Number) });- expect(args[3].deadlineAtMs).toBeGreaterThan(Date.now());- expect(summary.steps).toEqual([- expect.objectContaining({ name: 'CONTACTS', status: 'ok', created: 1 }),- ]);- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-emails.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-emails.test.tsdeleted file mode 100644index e54c6504751..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-emails.test.ts+++ /dev/null@@ -1,74 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';--import { INTERMEDIATE_SYNC_EMAILS_MAX_AGE_MS } from '@modules/resend/constants/sync-config';-import { resendSyncEmailsHandler } from '@modules/resend/sync/logic-functions/resend-sync-emails';--const mockSyncEmails = vi.fn();--vi.mock('twenty-client-sdk/core', () => ({- CoreApiClient: vi.fn(),-}));--vi.mock('@modules/resend/shared/utils/get-resend-client', () => ({- getResendClient: () => ({}),-}));--vi.mock('@modules/resend/sync/utils/set-initial-sync-mode', () => ({- isInitialSyncModeOn: async () => process.env.INITIAL_SYNC_MODE === 'true',- setInitialSyncMode: vi.fn(),-}));--vi.mock('@modules/resend/sync/utils/sync-emails', () => ({- syncEmails: (...args: unknown[]) => mockSyncEmails(...args),-}));--describe('resendSyncEmailsHandler', () => {- const originalMode = process.env.INITIAL_SYNC_MODE;-- beforeEach(() => {- mockSyncEmails.mockReset();- mockSyncEmails.mockResolvedValue({- result: { fetched: 0, created: 0, updated: 0, errors: [] },- value: undefined,- });- (CoreApiClient as unknown as ReturnType<typeof vi.fn>).mockReset();- });-- afterEach(() => {- if (originalMode === undefined) {- delete process.env.INITIAL_SYNC_MODE;- } else {- process.env.INITIAL_SYNC_MODE = originalMode;- }- });-- it('runs a full resumable sync in initial mode and forwards a deadline', async () => {- process.env.INITIAL_SYNC_MODE = 'true';-- await resendSyncEmailsHandler();-- expect(mockSyncEmails).toHaveBeenCalledTimes(1);- const args = mockSyncEmails.mock.calls[0];-- expect(args).toHaveLength(4);- expect(args[3]).toEqual({ deadlineAtMs: expect.any(Number) });- expect(args[3].deadlineAtMs).toBeGreaterThan(Date.now());- });-- it('runs a 7-day non-resumable sync in intermediate mode and forwards a deadline', async () => {- process.env.INITIAL_SYNC_MODE = 'false';-- await resendSyncEmailsHandler();-- expect(mockSyncEmails).toHaveBeenCalledTimes(1);- const args = mockSyncEmails.mock.calls[0];-- expect(args[3]).toEqual({- stopBeforeCreatedAtMs: INTERMEDIATE_SYNC_EMAILS_MAX_AGE_MS,- resumable: false,- deadlineAtMs: expect.any(Number),- });- expect(args[3].deadlineAtMs).toBeGreaterThan(Date.now());- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-templates.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-templates.test.tsdeleted file mode 100644index d9a4ef47dd8..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/__tests__/resend-sync-templates.test.ts+++ /dev/null@@ -1,59 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { resendSyncTemplatesHandler } from '@modules/resend/sync/logic-functions/resend-sync-templates';--const mockSyncTemplates = vi.fn();--vi.mock('twenty-client-sdk/core', () => ({- CoreApiClient: vi.fn(),-}));--vi.mock('@modules/resend/shared/utils/get-resend-client', () => ({- getResendClient: () => ({}),-}));--vi.mock('@modules/resend/sync/utils/sync-templates', () => ({- syncTemplates: (...args: unknown[]) => mockSyncTemplates(...args),-}));--describe('resendSyncTemplatesHandler', () => {- beforeEach(() => {- mockSyncTemplates.mockReset();- (CoreApiClient as unknown as ReturnType<typeof vi.fn>).mockReset();- });-- it('reports an ok TEMPLATES step on success and forwards a deadline', async () => {- mockSyncTemplates.mockResolvedValue({- result: { fetched: 5, created: 2, updated: 3, errors: [] },- value: undefined,- });-- const summary = await resendSyncTemplatesHandler();-- expect(mockSyncTemplates).toHaveBeenCalledTimes(1);- const args = mockSyncTemplates.mock.calls[0];-- expect(args[2]).toEqual({ deadlineAtMs: expect.any(Number) });- expect(args[2].deadlineAtMs).toBeGreaterThan(Date.now());- expect(summary.steps).toEqual([- expect.objectContaining({- name: 'TEMPLATES',- status: 'ok',- fetched: 5,- created: 2,- updated: 3,- }),- ]);- });-- it('reports a failed TEMPLATES step when sync throws', async () => {- mockSyncTemplates.mockRejectedValue(new Error('boom'));-- const summary = await resendSyncTemplatesHandler();-- expect(summary.steps).toEqual([- expect.objectContaining({ name: 'TEMPLATES', status: 'failed' }),- ]);- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-created.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-created.tsdeleted file mode 100644index 14aafbb3ffe..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-created.ts+++ /dev/null@@ -1,92 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction } from 'twenty-sdk/define';-import {- type DatabaseEventPayload,- type ObjectRecordCreateEvent,-} from 'twenty-sdk/logic-function';-import { isDefined } from '@utils/is-defined';--import { ON_RESEND_CONTACT_CREATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import type { ResendContactRecord } from '@modules/resend/shared/types/resend-contact-record';-import { findOrCreatePerson } from '@modules/resend/shared/utils/find-or-create-person';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';--type ContactCreateEvent = DatabaseEventPayload<- ObjectRecordCreateEvent<ResendContactRecord>->;--const handler = async (- event: ContactCreateEvent,-): Promise<object | undefined> => {- const { after } = event.properties;-- if (isNonEmptyString(after.resendId)) {- return {- skipped: true,- reason: 'record already has resendId (inbound sync)',- };- }-- const email = after.email?.primaryEmail;-- if (!isNonEmptyString(email)) {- return { skipped: true, reason: 'no email on record' };- }-- const resendClient = getResendClient();-- const { data, error } = await resendClient.contacts.create({- email,- firstName: after.name?.firstName ?? undefined,- lastName: after.name?.lastName ?? undefined,- unsubscribed: after.unsubscribed ?? false,- });-- if (isDefined(error) || !isDefined(data)) {- throw new Error(- `Failed to create Resend contact: ${JSON.stringify(error)}`,- );- }-- const client = new CoreApiClient();-- const personId = await findOrCreatePerson(client, email, {- firstName: after.name?.firstName ?? undefined,- lastName: after.name?.lastName ?? undefined,- });-- await client.mutation({- updateResendContact: {- __args: {- id: event.recordId,- data: {- resendId: data.id,- lastSyncedFromResend: new Date().toISOString(),- ...(isDefined(personId) && { personId }),- },- },- id: true,- },- });-- return {- synced: true,- resendId: data.id,- twentyId: event.recordId,- personId,- };-};--export default defineLogicFunction({- universalIdentifier:- ON_RESEND_CONTACT_CREATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'on-resend-contact-created',- description:- 'Creates a contact in Resend when a new resendContact record is created in Twenty',- timeoutSeconds: 30,- handler,- databaseEventTriggerSettings: {- eventName: 'resendContact.created',- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-destroyed.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-destroyed.tsdeleted file mode 100644index c0f422d23f5..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-destroyed.ts+++ /dev/null@@ -1,56 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { defineLogicFunction } from 'twenty-sdk/define';-import {- type DatabaseEventPayload,- type ObjectRecordDestroyEvent,-} from 'twenty-sdk/logic-function';-import { isDefined } from '@utils/is-defined';--import { ON_RESEND_CONTACT_DESTROYED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import type { ResendContactRecord } from '@modules/resend/shared/types/resend-contact-record';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';--type ContactDestroyEvent = DatabaseEventPayload<- ObjectRecordDestroyEvent<ResendContactRecord>->;--const handler = async (- event: ContactDestroyEvent,-): Promise<object | undefined> => {- const resendId = event.properties.before?.resendId;-- if (!isNonEmptyString(resendId)) {- return { skipped: true, reason: 'no resendId on record' };- }-- const resend = getResendClient();-- const { error } = await resend.contacts.remove({ id: resendId });-- if (isDefined(error)) {- const errorString = JSON.stringify(error);-- if (errorString.includes('not_found')) {- return { skipped: true, reason: 'contact already deleted on Resend' };- }-- throw new Error(- `Failed to delete Resend contact ${resendId}: ${errorString}`,- );- }-- return { synced: true, resendId, action: 'destroyed' };-};--export default defineLogicFunction({- universalIdentifier:- ON_RESEND_CONTACT_DESTROYED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'on-resend-contact-destroyed',- description:- 'Removes a contact from Resend when a resendContact record is permanently destroyed in Twenty',- timeoutSeconds: 30,- handler,- databaseEventTriggerSettings: {- eventName: 'resendContact.destroyed',- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-updated.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-updated.tsdeleted file mode 100644index f881453c21e..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-contact-updated.ts+++ /dev/null@@ -1,124 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction } from 'twenty-sdk/define';-import {- type DatabaseEventPayload,- type ObjectRecordUpdateEvent,-} from 'twenty-sdk/logic-function';-import { isDefined } from '@utils/is-defined';--import { ON_RESEND_CONTACT_UPDATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import type { ResendContactRecord } from '@modules/resend/shared/types/resend-contact-record';-import { findOrCreatePerson } from '@modules/resend/shared/utils/find-or-create-person';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';--type ContactUpdateEvent = DatabaseEventPayload<- ObjectRecordUpdateEvent<ResendContactRecord>->;--const valuesEqual = (a: unknown, b: unknown): boolean =>- JSON.stringify(a ?? null) === JSON.stringify(b ?? null);--const handler = async (- event: ContactUpdateEvent,-): Promise<object | undefined> => {- const { before, after } = event.properties;-- const lastSyncedChanged = !valuesEqual(- before?.lastSyncedFromResend,- after?.lastSyncedFromResend,- );-- const unsubscribedChanged = !valuesEqual(- before?.unsubscribed,- after?.unsubscribed,- );- const nameChanged = !valuesEqual(before?.name, after?.name);- const emailChanged = !valuesEqual(before?.email, after?.email);- const userFieldsChanged = unsubscribedChanged || nameChanged || emailChanged;-- if (lastSyncedChanged && !userFieldsChanged) {- return { skipped: true, reason: 'inbound sync echo' };- }-- const resendId = after?.resendId;-- if (!isNonEmptyString(resendId)) {- return { skipped: true, reason: 'no resendId on record' };- }-- const resendClient = getResendClient();-- const updatePayload: Record<string, unknown> = { id: resendId };-- if (unsubscribedChanged) {- updatePayload.unsubscribed = after.unsubscribed;- }-- if (nameChanged) {- updatePayload.firstName = after.name?.firstName ?? null;- updatePayload.lastName = after.name?.lastName ?? null;- }-- if (emailChanged) {- updatePayload.email = after.email?.primaryEmail;- }-- if (Object.keys(updatePayload).length <= 1) {- return { skipped: true, reason: 'no relevant fields changed' };- }-- const { error } = await resendClient.contacts.update(- updatePayload as Parameters<typeof resendClient.contacts.update>[0],- );-- if (isDefined(error)) {- throw new Error(- `Failed to update Resend contact ${resendId}: ${JSON.stringify(error)}`,- );- }-- let personId: string | undefined;-- if (emailChanged) {- const email = after.email?.primaryEmail;- const client = new CoreApiClient();-- personId = await findOrCreatePerson(client, email, {- firstName: after.name?.firstName ?? undefined,- lastName: after.name?.lastName ?? undefined,- });-- if (isDefined(personId)) {- await client.mutation({- updateResendContact: {- __args: { id: event.recordId, data: { personId } },- id: true,- },- });- }- }-- return {- synced: true,- resendId,- updatedFields: Object.keys(updatePayload).filter(- (payloadKey) => payloadKey !== 'id',- ),- personId,- };-};--export default defineLogicFunction({- universalIdentifier:- ON_RESEND_CONTACT_UPDATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'on-resend-contact-updated',- description:- 'Pushes contact field changes to Resend when a resendContact record is updated in Twenty',- timeoutSeconds: 30,- handler,- databaseEventTriggerSettings: {- eventName: 'resendContact.updated',- updatedFields: ['unsubscribed', 'name', 'email'],- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-segment-created.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-segment-created.tsdeleted file mode 100644index 2e841b4c12a..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-segment-created.ts+++ /dev/null@@ -1,68 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction } from 'twenty-sdk/define';-import {- type DatabaseEventPayload,- type ObjectRecordCreateEvent,-} from 'twenty-sdk/logic-function';--import { ON_RESEND_SEGMENT_CREATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import type { ResendSegmentRecord } from '@modules/resend/shared/types/resend-segment-record';-import { findOrCreateResendSegment } from '@modules/resend/sync/utils/find-or-create-resend-segment';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';--type SegmentCreateEvent = DatabaseEventPayload<- ObjectRecordCreateEvent<ResendSegmentRecord>->;--const handler = async (- event: SegmentCreateEvent,-): Promise<object | undefined> => {- const { after } = event.properties;-- if (isNonEmptyString(after.resendId)) {- return {- skipped: true,- reason: 'record already has resendId (inbound sync)',- };- }-- const name = after.name;-- if (!isNonEmptyString(name)) {- return { skipped: true, reason: 'no name on record' };- }-- const resendClient = getResendClient();- const client = new CoreApiClient();-- const resendId = await findOrCreateResendSegment(resendClient, client, name);-- await client.mutation({- updateResendSegment: {- __args: {- id: event.recordId,- data: {- resendId,- lastSyncedFromResend: new Date().toISOString(),- },- },- id: true,- },- });-- return { synced: true, resendId, twentyId: event.recordId };-};--export default defineLogicFunction({- universalIdentifier:- ON_RESEND_SEGMENT_CREATED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'on-resend-segment-created',- description:- 'Creates a segment in Resend when a new resendSegment record is created in Twenty',- timeoutSeconds: 30,- handler,- databaseEventTriggerSettings: {- eventName: 'resendSegment.created',- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-segment-destroyed.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-segment-destroyed.tsdeleted file mode 100644index 27eee82de6f..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/on-resend-segment-destroyed.ts+++ /dev/null@@ -1,56 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { defineLogicFunction } from 'twenty-sdk/define';-import {- type DatabaseEventPayload,- type ObjectRecordDestroyEvent,-} from 'twenty-sdk/logic-function';-import { isDefined } from '@utils/is-defined';--import { ON_RESEND_SEGMENT_DESTROYED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import type { ResendSegmentRecord } from '@modules/resend/shared/types/resend-segment-record';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';--type SegmentDestroyEvent = DatabaseEventPayload<- ObjectRecordDestroyEvent<ResendSegmentRecord>->;--const handler = async (- event: SegmentDestroyEvent,-): Promise<object | undefined> => {- const resendId = event.properties.before?.resendId;-- if (!isNonEmptyString(resendId)) {- return { skipped: true, reason: 'no resendId on record' };- }-- const resendClient = getResendClient();-- const { error } = await resendClient.segments.remove(resendId);-- if (isDefined(error)) {- const errorString = JSON.stringify(error);-- if (errorString.includes('not_found')) {- return { skipped: true, reason: 'segment already deleted on Resend' };- }-- throw new Error(- `Failed to delete Resend segment ${resendId}: ${errorString}`,- );- }-- return { synced: true, resendId, action: 'destroyed' };-};--export default defineLogicFunction({- universalIdentifier:- ON_RESEND_SEGMENT_DESTROYED_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'on-resend-segment-destroyed',- description:- 'Removes a segment from Resend when a resendSegment record is permanently destroyed in Twenty',- timeoutSeconds: 30,- handler,- databaseEventTriggerSettings: {- eventName: 'resendSegment.destroyed',- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-initial-sync-mode-monitor.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-initial-sync-mode-monitor.tsdeleted file mode 100644index 125de49559b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-initial-sync-mode-monitor.ts+++ /dev/null@@ -1,58 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction } from 'twenty-sdk/define';--import { RESEND_INITIAL_SYNC_MODE_MONITOR_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import { areAllSyncCursorsEmpty } from '@modules/resend/sync/utils/are-all-sync-cursors-empty';-import {- isInitialSyncModeOn,- setInitialSyncMode,-} from '@modules/resend/sync/utils/set-initial-sync-mode';--type ResendInitialSyncModeMonitorSummary = {- skipped: boolean;- flipped: boolean;-};--export const resendInitialSyncModeMonitorHandler =- async (): Promise<ResendInitialSyncModeMonitorSummary> => {- if (!(await isInitialSyncModeOn())) {- console.log(- '[resend-initial-sync-mode-monitor] INITIAL_SYNC_MODE is off - nothing to do',- );-- return { skipped: true, flipped: false };- }-- const coreApiClient = new CoreApiClient();-- const allCursorsCleared = await areAllSyncCursorsEmpty(coreApiClient);-- if (!allCursorsCleared) {- console.log(- '[resend-initial-sync-mode-monitor] some sync cursors are still in progress; not flipping yet',- );-- return { skipped: false, flipped: false };- }-- await setInitialSyncMode('false');-- console.log(- '[resend-initial-sync-mode-monitor] all sync cursors are empty - INITIAL_SYNC_MODE flipped to false',- );-- return { skipped: false, flipped: true };- };--export default defineLogicFunction({- universalIdentifier:- RESEND_INITIAL_SYNC_MODE_MONITOR_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'resend-initial-sync-mode-monitor',- description:- 'When INITIAL_SYNC_MODE is on, watches the Resend sync cursors and flips it to false once every step has cleared its cursor.',- timeoutSeconds: 30,- handler: resendInitialSyncModeMonitorHandler,- cronTriggerSettings: {- pattern: '*/5 * * * *',- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-broadcasts-and-dependencies.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-broadcasts-and-dependencies.tsdeleted file mode 100644index 40737e668c4..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-broadcasts-and-dependencies.ts+++ /dev/null@@ -1,82 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction } from 'twenty-sdk/define';--import {- RESEND_SYNC_CRON_PATTERNS,- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS,- RESEND_SYNC_SLOT_TIMEOUT_SECONDS,-} from '@modules/resend/constants/sync-config';-import { RESEND_SYNC_BROADCASTS_AND_DEPENDENCIES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';-import type { StepOutcome } from '@modules/resend/sync/types/step-outcome';-import { logStepOutcome } from '@modules/resend/sync/utils/log-step-outcome';-import {- runSyncStep,- skipDueToFailedDependencies,-} from '@modules/resend/sync/utils/run-sync-step';-import {- summariseOutcomes,- type SyncSummaryStep,-} from '@modules/resend/sync/utils/summarise-outcomes';-import { syncBroadcasts } from '@modules/resend/sync/utils/sync-broadcasts';-import { syncSegments } from '@modules/resend/sync/utils/sync-segments';-import { syncTopics } from '@modules/resend/sync/utils/sync-topics';--type ResendSyncBroadcastsAndDependenciesSummary = {- totalDurationMs: number;- steps: SyncSummaryStep[];-};--export const resendSyncBroadcastsAndDependenciesHandler =- async (): Promise<ResendSyncBroadcastsAndDependenciesSummary> => {- const resendClient = getResendClient();- const coreApiClient = new CoreApiClient();- const syncedAt = new Date().toISOString();-- const deadlineAtMs =- Date.now() +- RESEND_SYNC_SLOT_TIMEOUT_SECONDS.BROADCASTS * 1_000 -- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS;-- const topics = await runSyncStep('TOPICS', () =>- syncTopics(resendClient, coreApiClient, syncedAt, { deadlineAtMs }),- );-- const segments = await runSyncStep('SEGMENTS', () =>- syncSegments(resendClient, coreApiClient, syncedAt, { deadlineAtMs }),- );-- const broadcasts =- topics.status === 'ok' && segments.status === 'ok'- ? await runSyncStep('BROADCASTS', () =>- syncBroadcasts(resendClient, coreApiClient, { deadlineAtMs }),- )- : skipDueToFailedDependencies('BROADCASTS', { topics, segments });-- const outcomes: ReadonlyArray<StepOutcome<unknown>> = [- topics,- segments,- broadcasts,- ];-- for (const outcome of outcomes) {- logStepOutcome(outcome);- }-- const { totalDurationMs, steps } = summariseOutcomes(outcomes);-- return { totalDurationMs, steps };- };--export default defineLogicFunction({- universalIdentifier:- RESEND_SYNC_BROADCASTS_AND_DEPENDENCIES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'resend-sync-broadcasts-and-dependencies',- description:- 'Syncs Resend topics, segments, and broadcasts in sequence. Broadcasts depend on the in-memory topic and segment id maps produced by the first two steps. Each step has its own cursor and resumes from the last advance on the next tick if the function timeouts mid-pagination.',- timeoutSeconds: RESEND_SYNC_SLOT_TIMEOUT_SECONDS.BROADCASTS,- handler: resendSyncBroadcastsAndDependenciesHandler,- cronTriggerSettings: {- pattern: RESEND_SYNC_CRON_PATTERNS.BROADCASTS,- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-contacts.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-contacts.tsdeleted file mode 100644index 30ccaea6376..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-contacts.ts+++ /dev/null@@ -1,56 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction } from 'twenty-sdk/define';--import {- RESEND_SYNC_CRON_PATTERNS,- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS,- RESEND_SYNC_SLOT_TIMEOUT_SECONDS,-} from '@modules/resend/constants/sync-config';-import { RESEND_SYNC_CONTACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';-import { logStepOutcome } from '@modules/resend/sync/utils/log-step-outcome';-import { runSyncStep } from '@modules/resend/sync/utils/run-sync-step';-import {- summariseOutcomes,- type SyncSummaryStep,-} from '@modules/resend/sync/utils/summarise-outcomes';-import { syncContacts } from '@modules/resend/sync/utils/sync-contacts';--type ResendSyncContactsSummary = {- totalDurationMs: number;- steps: SyncSummaryStep[];-};--export const resendSyncContactsHandler =- async (): Promise<ResendSyncContactsSummary> => {- const resendClient = getResendClient();- const coreApiClient = new CoreApiClient();- const syncedAt = new Date().toISOString();-- const deadlineAtMs =- Date.now() +- RESEND_SYNC_SLOT_TIMEOUT_SECONDS.CONTACTS * 1_000 -- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS;-- const contacts = await runSyncStep('CONTACTS', () =>- syncContacts(resendClient, coreApiClient, syncedAt, { deadlineAtMs }),- );-- logStepOutcome(contacts);-- const { totalDurationMs, steps } = summariseOutcomes([contacts]);-- return { totalDurationMs, steps };- };--export default defineLogicFunction({- universalIdentifier: RESEND_SYNC_CONTACTS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'resend-sync-contacts',- description:- 'Syncs Resend contacts and links them to existing people by email. Resumes from its own cursor if the function timeouts mid-pagination.',- timeoutSeconds: RESEND_SYNC_SLOT_TIMEOUT_SECONDS.CONTACTS,- handler: resendSyncContactsHandler,- cronTriggerSettings: {- pattern: RESEND_SYNC_CRON_PATTERNS.CONTACTS,- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-emails.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-emails.tsdeleted file mode 100644index f2a1a4247e8..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-emails.ts+++ /dev/null@@ -1,66 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction } from 'twenty-sdk/define';--import {- INTERMEDIATE_SYNC_EMAILS_MAX_AGE_MS,- RESEND_SYNC_CRON_PATTERNS,- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS,- RESEND_SYNC_SLOT_TIMEOUT_SECONDS,-} from '@modules/resend/constants/sync-config';-import { RESEND_SYNC_EMAILS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';-import { logStepOutcome } from '@modules/resend/sync/utils/log-step-outcome';-import { runSyncStep } from '@modules/resend/sync/utils/run-sync-step';-import { isInitialSyncModeOn } from '@modules/resend/sync/utils/set-initial-sync-mode';-import {- summariseOutcomes,- type SyncSummaryStep,-} from '@modules/resend/sync/utils/summarise-outcomes';-import { syncEmails } from '@modules/resend/sync/utils/sync-emails';--type ResendSyncEmailsSummary = {- totalDurationMs: number;- steps: SyncSummaryStep[];-};--export const resendSyncEmailsHandler =- async (): Promise<ResendSyncEmailsSummary> => {- const resendClient = getResendClient();- const coreApiClient = new CoreApiClient();- const syncedAt = new Date().toISOString();-- const initialMode = await isInitialSyncModeOn();-- const deadlineAtMs =- Date.now() +- RESEND_SYNC_SLOT_TIMEOUT_SECONDS.EMAILS * 1_000 -- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS;-- const emails = await runSyncStep('EMAILS', () =>- initialMode- ? syncEmails(resendClient, coreApiClient, syncedAt, { deadlineAtMs })- : syncEmails(resendClient, coreApiClient, syncedAt, {- stopBeforeCreatedAtMs: INTERMEDIATE_SYNC_EMAILS_MAX_AGE_MS,- resumable: false,- deadlineAtMs,- }),- );-- logStepOutcome(emails);-- const { totalDurationMs, steps } = summariseOutcomes([emails]);-- return { totalDurationMs, steps };- };--export default defineLogicFunction({- universalIdentifier: RESEND_SYNC_EMAILS_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'resend-sync-emails',- description:- 'Syncs Resend emails and links them to existing people by email. In initial sync mode it does a full resumable pass; in intermediate mode it only fetches emails created in the last 7 days and does not persist a cursor.',- timeoutSeconds: RESEND_SYNC_SLOT_TIMEOUT_SECONDS.EMAILS,- handler: resendSyncEmailsHandler,- cronTriggerSettings: {- pattern: RESEND_SYNC_CRON_PATTERNS.EMAILS,- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-templates.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-templates.tsdeleted file mode 100644index 46eb6f2ef0c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/logic-functions/resend-sync-templates.ts+++ /dev/null@@ -1,55 +0,0 @@-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction } from 'twenty-sdk/define';--import {- RESEND_SYNC_CRON_PATTERNS,- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS,- RESEND_SYNC_SLOT_TIMEOUT_SECONDS,-} from '@modules/resend/constants/sync-config';-import { RESEND_SYNC_TEMPLATES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';-import { logStepOutcome } from '@modules/resend/sync/utils/log-step-outcome';-import { runSyncStep } from '@modules/resend/sync/utils/run-sync-step';-import {- summariseOutcomes,- type SyncSummaryStep,-} from '@modules/resend/sync/utils/summarise-outcomes';-import { syncTemplates } from '@modules/resend/sync/utils/sync-templates';--type ResendSyncTemplatesSummary = {- totalDurationMs: number;- steps: SyncSummaryStep[];-};--export const resendSyncTemplatesHandler =- async (): Promise<ResendSyncTemplatesSummary> => {- const resendClient = getResendClient();- const coreApiClient = new CoreApiClient();-- const deadlineAtMs =- Date.now() +- RESEND_SYNC_SLOT_TIMEOUT_SECONDS.TEMPLATES * 1_000 -- RESEND_SYNC_SLOT_DEADLINE_SLACK_MS;-- const templates = await runSyncStep('TEMPLATES', () =>- syncTemplates(resendClient, coreApiClient, { deadlineAtMs }),- );-- logStepOutcome(templates);-- const { totalDurationMs, steps } = summariseOutcomes([templates]);-- return { totalDurationMs, steps };- };--export default defineLogicFunction({- universalIdentifier: RESEND_SYNC_TEMPLATES_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'resend-sync-templates',- description:- 'Syncs Resend templates. Resumes from its own cursor if the function timeouts mid-pagination.',- timeoutSeconds: RESEND_SYNC_SLOT_TIMEOUT_SECONDS.TEMPLATES,- handler: resendSyncTemplatesHandler,- cronTriggerSettings: {- pattern: RESEND_SYNC_CRON_PATTERNS.TEMPLATES,- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/contact.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/contact.dto.tsdeleted file mode 100644index 7beff1abc5b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/contact.dto.ts+++ /dev/null@@ -1,11 +0,0 @@-import type { EmailsField } from '@modules/resend/shared/types/emails-field';--export type ContactDto = {- email: EmailsField;- name: { firstName: string; lastName: string };- unsubscribed: boolean;- createdAt: string;- lastSyncedFromResend: string;- personId?: string;- segmentId?: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-broadcast.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-broadcast.dto.tsdeleted file mode 100644index ff513c52dd3..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-broadcast.dto.ts+++ /dev/null@@ -1,6 +0,0 @@-import type { UpdateBroadcastDto } from '@modules/resend/sync/types/update-broadcast.dto';--export type CreateBroadcastDto = UpdateBroadcastDto & {- name: string;- createdAt: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-email.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-email.dto.tsdeleted file mode 100644index 4c479d43d6b..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-email.dto.ts+++ /dev/null@@ -1,5 +0,0 @@-import type { UpdateEmailDto } from '@modules/resend/sync/types/update-email.dto';--export type CreateEmailDto = UpdateEmailDto & {- createdAt: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-template.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-template.dto.tsdeleted file mode 100644index 41b89403470..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/create-template.dto.ts+++ /dev/null@@ -1,5 +0,0 @@-import type { UpdateTemplateDto } from '@modules/resend/sync/types/update-template.dto';--export type CreateTemplateDto = UpdateTemplateDto & {- createdAt: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/segment.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/segment.dto.tsdeleted file mode 100644index db647280bee..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/segment.dto.ts+++ /dev/null@@ -1,5 +0,0 @@-export type SegmentDto = {- name: string;- createdAt: string;- lastSyncedFromResend: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/step-outcome.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/step-outcome.tsdeleted file mode 100644index e26b1ec23ac..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/step-outcome.ts+++ /dev/null@@ -1,21 +0,0 @@-import type { SyncResult } from '@modules/resend/sync/types/sync-result';--export type StepOutcome<TValue = undefined> =- | {- name: string;- status: 'ok';- durationMs: number;- result: SyncResult;- value: TValue;- }- | {- name: string;- status: 'failed';- durationMs: number;- error: string;- }- | {- name: string;- status: 'skipped';- reason: string;- };diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/sync-result.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/sync-result.tsdeleted file mode 100644index ba260e58baa..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/sync-result.ts+++ /dev/null@@ -1,6 +0,0 @@-export type SyncResult = {- fetched: number;- created: number;- updated: number;- errors: string[];-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/sync-step-result.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/sync-step-result.tsdeleted file mode 100644index b03f3a4fe15..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/sync-step-result.ts+++ /dev/null@@ -1,6 +0,0 @@-import type { SyncResult } from '@modules/resend/sync/types/sync-result';--export type SyncStepResult<TValue = undefined> = {- result: SyncResult;- value: TValue;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/topic.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/topic.dto.tsdeleted file mode 100644index 343f918e6de..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/topic.dto.ts+++ /dev/null@@ -1,8 +0,0 @@-export type TopicDto = {- name: string;- description: string;- defaultSubscription: string;- visibility: string;- createdAt: string;- lastSyncedFromResend: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-broadcast.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-broadcast.dto.tsdeleted file mode 100644index 1d45489701c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-broadcast.dto.ts+++ /dev/null@@ -1,15 +0,0 @@-import type { EmailsField } from '@modules/resend/shared/types/emails-field';--export type UpdateBroadcastDto = {- status: string;- scheduledAt: string | null;- sentAt: string | null;- segmentId?: string | null;- topicId?: string | null;- subject?: string;- fromAddress?: EmailsField;- replyTo?: EmailsField;- previewText?: string;- htmlBody?: string;- textBody?: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-email.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-email.dto.tsdeleted file mode 100644index 01407371c2e..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-email.dto.ts+++ /dev/null@@ -1,17 +0,0 @@-import type { EmailsField } from '@modules/resend/shared/types/emails-field';-import type { LastEvent } from '@modules/resend/shared/utils/map-last-event';--export type UpdateEmailDto = {- subject: string;- fromAddress: EmailsField;- toAddresses: EmailsField;- ccAddresses: EmailsField;- bccAddresses: EmailsField;- replyToAddresses: EmailsField;- lastEvent?: LastEvent;- scheduledAt: string | null;- lastSyncedFromResend: string;- personId?: string;- contactId?: string;- broadcastId?: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-template.dto.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-template.dto.tsdeleted file mode 100644index 90bdf122722..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/update-template.dto.ts+++ /dev/null@@ -1,14 +0,0 @@-import type { EmailsField } from '@modules/resend/shared/types/emails-field';--export type UpdateTemplateDto = {- name: string;- alias: string;- status: string;- resendUpdatedAt: string;- publishedAt: string | null;- fromAddress?: EmailsField;- subject?: string;- replyTo?: EmailsField;- htmlBody?: string;- textBody?: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/upsert-records-options.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/upsert-records-options.tsdeleted file mode 100644index 0b0f13a8ebe..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/types/upsert-records-options.ts+++ /dev/null@@ -1,15 +0,0 @@-import type { CoreApiClient } from 'twenty-client-sdk/core';--export type UpsertRecordsOptions<- TListItem,- TCreateDto extends Record<string, unknown> = Record<string, unknown>,- TUpdateDto extends Record<string, unknown> = Record<string, unknown>,-> = {- items: TListItem[];- getId: (item: TListItem) => string;- mapCreateData: (detail: TListItem, item: TListItem) => TCreateDto;- mapUpdateData: (detail: TListItem, item: TListItem) => TUpdateDto;- client: CoreApiClient;- objectNameSingular: string;- objectNamePlural: string;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/are-all-sync-cursors-empty.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/are-all-sync-cursors-empty.test.tsdeleted file mode 100644index ae7c4fe2eef..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/are-all-sync-cursors-empty.test.ts+++ /dev/null@@ -1,85 +0,0 @@-import type { CoreApiClient } from 'twenty-client-sdk/core';-import { describe, expect, it, vi } from 'vitest';--import { areAllSyncCursorsEmpty } from '@modules/resend/sync/utils/are-all-sync-cursors-empty';--type CursorNode = {- step: string;- cursor: string | null;- lastRunStatus: 'SUCCESS' | 'FAILED' | 'IN_PROGRESS' | null;-};--const makeClient = (nodes: CursorNode[]) =>- ({- query: vi.fn(async () => ({- resendSyncCursors: {- edges: nodes.map((node) => ({ node })),- },- })),- mutation: vi.fn(),- }) as unknown as CoreApiClient;--const allSuccessfulRows: CursorNode[] = [- { step: 'TOPICS', cursor: null, lastRunStatus: 'SUCCESS' },- { step: 'SEGMENTS', cursor: null, lastRunStatus: 'SUCCESS' },- { step: 'TEMPLATES', cursor: null, lastRunStatus: 'SUCCESS' },- { step: 'CONTACTS', cursor: null, lastRunStatus: 'SUCCESS' },- { step: 'EMAILS', cursor: null, lastRunStatus: 'SUCCESS' },- { step: 'BROADCASTS', cursor: null, lastRunStatus: 'SUCCESS' },-];--describe('areAllSyncCursorsEmpty', () => {- it('returns true when every required step has a null cursor and SUCCESS status', async () => {- const client = makeClient(allSuccessfulRows);-- await expect(areAllSyncCursorsEmpty(client)).resolves.toBe(true);- });-- it('returns true when a step is IN_PROGRESS but cursor is cleared', async () => {- const client = makeClient(- allSuccessfulRows.map((row) =>- row.step === 'EMAILS'- ? { ...row, lastRunStatus: 'IN_PROGRESS' }- : row,- ),- );-- await expect(areAllSyncCursorsEmpty(client)).resolves.toBe(true);- });-- it('returns false when the TOPICS row is missing entirely', async () => {- const client = makeClient(- allSuccessfulRows.filter((row) => row.step !== 'TOPICS'),- );-- await expect(areAllSyncCursorsEmpty(client)).resolves.toBe(false);- });-- it('returns false when a step is missing a cursor row', async () => {- const client = makeClient(- allSuccessfulRows.filter((row) => row.step !== 'EMAILS'),- );-- await expect(areAllSyncCursorsEmpty(client)).resolves.toBe(false);- });-- it('returns false when a cursor is not yet drained', async () => {- const client = makeClient(- allSuccessfulRows.map((row) =>- row.step === 'EMAILS' ? { ...row, cursor: 'resume-me' } : row,- ),- );-- await expect(areAllSyncCursorsEmpty(client)).resolves.toBe(false);- });-- it('returns false when last run failed', async () => {- const client = makeClient(- allSuccessfulRows.map((row) =>- row.step === 'BROADCASTS' ? { ...row, lastRunStatus: 'FAILED' } : row,- ),- );-- await expect(areAllSyncCursorsEmpty(client)).resolves.toBe(false);- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/backfill-resend-contact-person-id.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/backfill-resend-contact-person-id.test.tsdeleted file mode 100644index 5c020738152..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/backfill-resend-contact-person-id.test.ts+++ /dev/null@@ -1,133 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { backfillResendContactPersonId } from '@modules/resend/sync/utils/backfill-resend-contact-person-id';--type QueryMock = ReturnType<typeof vi.fn>;-type MutationMock = ReturnType<typeof vi.fn>;--const buildClient = (- query: QueryMock,- mutation: MutationMock,-): CoreApiClient => ({ query, mutation }) as unknown as CoreApiClient;--describe('backfillResendContactPersonId', () => {- beforeEach(() => {- vi.clearAllMocks();- });-- it('returns early without querying when no entries are provided', async () => {- const query = vi.fn();- const mutation = vi.fn();-- const result = await backfillResendContactPersonId(- buildClient(query, mutation),- new Map(),- );-- expect(result).toEqual({ updated: 0, errors: [] });- expect(query).not.toHaveBeenCalled();- expect(mutation).not.toHaveBeenCalled();- });-- it('only updates contacts whose personId is null', async () => {- const query = vi.fn(async () => ({- resendContacts: {- edges: [- {- node: {- id: 'contact-1',- personId: null,- email: { primaryEmail: '[email protected]' },- },- },- {- node: {- id: 'contact-2',- personId: 'existing-person',- email: { primaryEmail: '[email protected]' },- },- },- ],- },- }));- const mutation = vi.fn(async () => ({}));-- const result = await backfillResendContactPersonId(- buildClient(query, mutation),- new Map([- ['[email protected]', 'twenty-person-foo'],- ['[email protected]', 'twenty-person-bar'],- ]),- );-- expect(result.updated).toBe(1);- expect(result.errors).toEqual([]);- expect(mutation).toHaveBeenCalledTimes(1);-- const [call] = mutation.mock.calls as unknown as Array<- [{ updateResendContact: { __args: unknown } }]- >;-- expect(call?.[0].updateResendContact.__args).toEqual({- id: 'contact-1',- data: { personId: 'twenty-person-foo' },- });- });-- it('captures mutation errors per record without aborting the batch', async () => {- const query = vi.fn(async () => ({- resendContacts: {- edges: [- {- node: {- id: 'contact-1',- personId: null,- email: { primaryEmail: '[email protected]' },- },- },- {- node: {- id: 'contact-2',- personId: null,- email: { primaryEmail: '[email protected]' },- },- },- ],- },- }));-- const mutation = vi- .fn()- .mockRejectedValueOnce(new Error('boom'))- .mockResolvedValueOnce({});-- const result = await backfillResendContactPersonId(- buildClient(query, mutation),- new Map([- ['[email protected]', 'twenty-person-foo'],- ['[email protected]', 'twenty-person-bar'],- ]),- );-- expect(result.updated).toBe(1);- expect(result.errors).toHaveLength(1);- expect(result.errors[0]).toContain('contact-1');- expect(result.errors[0]).toContain('boom');- });-- it('captures lookup errors and returns immediately', async () => {- const query = vi.fn().mockRejectedValue(new Error('lookup failed'));- const mutation = vi.fn();-- const result = await backfillResendContactPersonId(- buildClient(query, mutation),- new Map([['[email protected]', 'twenty-person-foo']]),- );-- expect(result.updated).toBe(0);- expect(result.errors).toHaveLength(1);- expect(result.errors[0]).toContain('lookup failed');- expect(mutation).not.toHaveBeenCalled();- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/backfill-resend-emails-from-contacts.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/backfill-resend-emails-from-contacts.test.tsdeleted file mode 100644index b4c335f9c08..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/backfill-resend-emails-from-contacts.test.ts+++ /dev/null@@ -1,287 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { backfillResendEmailsFromContacts } from '@modules/resend/sync/utils/backfill-resend-emails-from-contacts';--type QueryMock = ReturnType<typeof vi.fn>;-type MutationMock = ReturnType<typeof vi.fn>;--const buildClient = (- query: QueryMock,- mutation: MutationMock,-): CoreApiClient => ({ query, mutation }) as unknown as CoreApiClient;--describe('backfillResendEmailsFromContacts', () => {- beforeEach(() => {- vi.clearAllMocks();- });-- it('returns early without querying when no entries are provided', async () => {- const query = vi.fn();- const mutation = vi.fn();-- const result = await backfillResendEmailsFromContacts(- buildClient(query, mutation),- new Map(),- );-- expect(result).toEqual({ updated: 0, errors: [] });- expect(query).not.toHaveBeenCalled();- expect(mutation).not.toHaveBeenCalled();- });-- it('only fills the FK fields that are currently null and skips records where both are already set', async () => {- const query = vi.fn(async () => ({- resendEmails: {- edges: [- {- node: {- id: 'email-1',- contactId: null,- personId: null,- toAddresses: { primaryEmail: '[email protected]' },- },- },- {- node: {- id: 'email-2',- contactId: 'existing-contact',- personId: 'existing-person',- toAddresses: { primaryEmail: '[email protected]' },- },- },- {- node: {- id: 'email-3',- contactId: null,- personId: 'existing-person',- toAddresses: { primaryEmail: '[email protected]' },- },- },- {- node: {- id: 'email-4',- contactId: 'existing-contact',- personId: null,- toAddresses: { primaryEmail: '[email protected]' },- },- },- ],- },- }));- const mutation = vi.fn(async () => ({}));-- const result = await backfillResendEmailsFromContacts(- buildClient(query, mutation),- new Map([- [- '[email protected]',- { contactId: 'twenty-contact-foo', personId: 'twenty-person-foo' },- ],- ['[email protected]', { contactId: 'twenty-contact-bar' }],- ]),- );-- expect(result.updated).toBe(3);- expect(result.errors).toEqual([]);- expect(mutation).toHaveBeenCalledTimes(3);-- const callArgs = (- mutation.mock.calls as unknown as Array<- [{ updateResendEmail: { __args: unknown } }]- >- ).map((call) => call[0].updateResendEmail.__args);-- expect(callArgs).toEqual([- {- id: 'email-1',- data: {- contactId: 'twenty-contact-foo',- personId: 'twenty-person-foo',- },- },- {- id: 'email-3',- data: { contactId: 'twenty-contact-bar' },- },- {- id: 'email-4',- data: { personId: 'twenty-person-foo' },- },- ]);- });-- it('captures mutation errors per record without aborting the batch', async () => {- const query = vi.fn(async () => ({- resendEmails: {- edges: [- {- node: {- id: 'email-1',- contactId: null,- personId: null,- toAddresses: { primaryEmail: '[email protected]' },- },- },- {- node: {- id: 'email-2',- contactId: null,- personId: null,- toAddresses: { primaryEmail: '[email protected]' },- },- },- ],- },- }));-- const mutation = vi- .fn()- .mockRejectedValueOnce(new Error('boom'))- .mockResolvedValueOnce({});-- const result = await backfillResendEmailsFromContacts(- buildClient(query, mutation),- new Map([['[email protected]', { contactId: 'twenty-contact-foo' }]]),- );-- expect(result.updated).toBe(1);- expect(result.errors).toHaveLength(1);- expect(result.errors[0]).toContain('email-1');- expect(result.errors[0]).toContain('boom');- });-- it('paginates the resendEmails lookup until pageInfo.hasNextPage is false', async () => {- const query = vi- .fn()- .mockResolvedValueOnce({- resendEmails: {- edges: [- {- node: {- id: 'email-page-1',- contactId: null,- personId: null,- toAddresses: { primaryEmail: '[email protected]' },- },- },- ],- pageInfo: { hasNextPage: true, endCursor: 'cursor-1' },- },- })- .mockResolvedValueOnce({- resendEmails: {- edges: [- {- node: {- id: 'email-page-2',- contactId: null,- personId: null,- toAddresses: { primaryEmail: '[email protected]' },- },- },- ],- pageInfo: { hasNextPage: false, endCursor: 'cursor-2' },- },- });- const mutation = vi.fn(async () => ({}));-- const result = await backfillResendEmailsFromContacts(- buildClient(query, mutation),- new Map([['[email protected]', { contactId: 'twenty-contact-foo' }]]),- );-- expect(query).toHaveBeenCalledTimes(2);- expect(mutation).toHaveBeenCalledTimes(2);- expect(result.updated).toBe(2);- expect(result.errors).toEqual([]);-- const secondCallArgs = (- query.mock.calls[1] as unknown as Array<{- resendEmails: { __args: { after?: string } };- }>- )[0].resendEmails.__args;-- expect(secondCallArgs.after).toBe('cursor-1');- });-- it('also rewrites toAddresses with normalized primaryEmail / additionalEmails when the stored values are mixed case', async () => {- const query = vi.fn(async () => ({- resendEmails: {- edges: [- {- node: {- id: 'email-mixed',- contactId: null,- personId: null,- toAddresses: {- primaryEmail: '[email protected]',- additionalEmails: ['[email protected]', '[email protected]'],- },- },- },- {- node: {- id: 'email-already-normalized',- contactId: null,- personId: null,- toAddresses: {- primaryEmail: '[email protected]',- additionalEmails: null,- },- },- },- ],- },- }));- const mutation = vi.fn(async () => ({}));-- const result = await backfillResendEmailsFromContacts(- buildClient(query, mutation),- new Map([['[email protected]', { contactId: 'twenty-contact-foo' }]]),- );-- expect(result.updated).toBe(2);- expect(result.errors).toEqual([]);-- const callArgs = (- mutation.mock.calls as unknown as Array<- [{ updateResendEmail: { __args: unknown } }]- >- ).map((call) => call[0].updateResendEmail.__args);-- expect(callArgs).toEqual([- {- id: 'email-mixed',- data: {- contactId: 'twenty-contact-foo',- toAddresses: {- primaryEmail: '[email protected]',- additionalEmails: ['[email protected]', '[email protected]'],- },- },- },- {- id: 'email-already-normalized',- data: {- contactId: 'twenty-contact-foo',- },- },- ]);- });-- it('captures lookup errors and returns immediately', async () => {- const query = vi.fn().mockRejectedValue(new Error('lookup failed'));- const mutation = vi.fn();-- const result = await backfillResendEmailsFromContacts(- buildClient(query, mutation),- new Map([['[email protected]', { contactId: 'twenty-contact-foo' }]]),- );-- expect(result.updated).toBe(0);- expect(result.errors).toHaveLength(1);- expect(result.errors[0]).toContain('lookup failed');- expect(mutation).not.toHaveBeenCalled();- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/find-recent-sent-broadcasts.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/find-recent-sent-broadcasts.test.tsdeleted file mode 100644index 960de39d536..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/find-recent-sent-broadcasts.test.ts+++ /dev/null@@ -1,122 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { findRecentSentBroadcasts } from '@modules/resend/sync/utils/find-recent-sent-broadcasts';--type QueryMock = ReturnType<typeof vi.fn>;--const buildClient = (query: QueryMock): CoreApiClient =>- ({ query }) as unknown as CoreApiClient;--describe('findRecentSentBroadcasts', () => {- beforeEach(() => {- vi.clearAllMocks();- });-- it('queries resendBroadcasts with a sentAt gte filter', async () => {- const query = vi.fn(async () => ({- resendBroadcasts: {- edges: [],- pageInfo: { hasNextPage: false, endCursor: null },- },- }));-- await findRecentSentBroadcasts(buildClient(query), {- sinceIso: '2026-01-01T00:00:00.000Z',- });-- expect(query).toHaveBeenCalledTimes(1);-- const queryArgs = (- query.mock.calls[0] as unknown as Array<{- resendBroadcasts: { __args: { filter: unknown; first: number } };- }>- )[0].resendBroadcasts.__args;-- expect(queryArgs.filter).toEqual({- sentAt: { gte: '2026-01-01T00:00:00.000Z' },- });- expect(queryArgs.first).toBeGreaterThan(0);- });-- it('returns broadcasts sorted ascending by sentAtMs and skips invalid sentAt values', async () => {- const query = vi.fn(async () => ({- resendBroadcasts: {- edges: [- { node: { id: 'b-late', sentAt: '2026-01-01T11:00:00.000Z' } },- { node: { id: 'b-early', sentAt: '2026-01-01T09:00:00.000Z' } },- { node: { id: 'b-mid', sentAt: '2026-01-01T10:00:00.000Z' } },- { node: { id: 'b-null', sentAt: null } },- { node: { id: 'b-empty', sentAt: '' } },- { node: { id: 'b-bad', sentAt: 'not-a-date' } },- ],- pageInfo: { hasNextPage: false, endCursor: null },- },- }));-- const result = await findRecentSentBroadcasts(buildClient(query), {- sinceIso: '2026-01-01T00:00:00.000Z',- });-- expect(result.map((broadcast) => broadcast.id)).toEqual([- 'b-early',- 'b-mid',- 'b-late',- ]);- expect(result[0].sentAtMs).toBe(- new Date('2026-01-01T09:00:00.000Z').getTime(),- );- });-- it('paginates until hasNextPage is false', async () => {- const query = vi- .fn()- .mockResolvedValueOnce({- resendBroadcasts: {- edges: [- { node: { id: 'b-1', sentAt: '2026-01-01T09:00:00.000Z' } },- ],- pageInfo: { hasNextPage: true, endCursor: 'cursor-1' },- },- })- .mockResolvedValueOnce({- resendBroadcasts: {- edges: [- { node: { id: 'b-2', sentAt: '2026-01-01T10:00:00.000Z' } },- ],- pageInfo: { hasNextPage: false, endCursor: 'cursor-2' },- },- });-- const result = await findRecentSentBroadcasts(buildClient(query), {- sinceIso: '2026-01-01T00:00:00.000Z',- });-- expect(query).toHaveBeenCalledTimes(2);-- const secondCallArgs = (- query.mock.calls[1] as unknown as Array<{- resendBroadcasts: { __args: { after?: string } };- }>- )[0].resendBroadcasts.__args;-- expect(secondCallArgs.after).toBe('cursor-1');- expect(result.map((broadcast) => broadcast.id)).toEqual(['b-1', 'b-2']);- });-- it('stops paginating when endCursor is null even if hasNextPage is true', async () => {- const query = vi.fn().mockResolvedValueOnce({- resendBroadcasts: {- edges: [{ node: { id: 'b-1', sentAt: '2026-01-01T09:00:00.000Z' } }],- pageInfo: { hasNextPage: true, endCursor: null },- },- });-- const result = await findRecentSentBroadcasts(buildClient(query), {- sinceIso: '2026-01-01T00:00:00.000Z',- });-- expect(query).toHaveBeenCalledTimes(1);- expect(result).toHaveLength(1);- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/resolve-broadcast-id-for-email.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/resolve-broadcast-id-for-email.test.tsdeleted file mode 100644index d76f9c0ecf9..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/resolve-broadcast-id-for-email.test.ts+++ /dev/null@@ -1,99 +0,0 @@-import { describe, expect, it } from 'vitest';--import {- BROADCAST_EMAIL_MATCH_WINDOW_MS,- resolveBroadcastIdForEmail,-} from '@modules/resend/sync/utils/resolve-broadcast-id-for-email';--const buildBroadcasts = (- broadcasts: Array<[string, number]>,-): Array<{ id: string; sentAtMs: number }> =>- broadcasts- .map(([id, sentAtMs]) => ({ id, sentAtMs }))- .sort((left, right) => left.sentAtMs - right.sentAtMs);--describe('resolveBroadcastIdForEmail', () => {- it('returns undefined when there are no broadcasts', () => {- expect(resolveBroadcastIdForEmail(Date.now(), [])).toBeUndefined();- });-- it('returns undefined when emailCreatedAtMs is NaN', () => {- const broadcasts = buildBroadcasts([['b1', 1_000]]);-- expect(resolveBroadcastIdForEmail(Number.NaN, broadcasts)).toBeUndefined();- });-- it('picks the closest preceding broadcast within the 1h window', () => {- const baseSent = new Date('2026-01-01T10:00:00Z').getTime();- const broadcasts = buildBroadcasts([- ['old', baseSent - 30 * 60 * 1000],- ['recent', baseSent],- ]);- const emailCreatedAt = baseSent + 5 * 60 * 1000;-- expect(resolveBroadcastIdForEmail(emailCreatedAt, broadcasts)).toBe(- 'recent',- );- });-- it('returns undefined when the closest preceding broadcast is outside the 1h window', () => {- const broadcastSent = new Date('2026-01-01T10:00:00Z').getTime();- const broadcasts = buildBroadcasts([['too-old', broadcastSent]]);- const emailCreatedAt = broadcastSent + BROADCAST_EMAIL_MATCH_WINDOW_MS + 1;-- expect(- resolveBroadcastIdForEmail(emailCreatedAt, broadcasts),- ).toBeUndefined();- });-- it('matches broadcasts whose sentAt equals the email createdAt (boundary lower bound)', () => {- const sentAt = new Date('2026-01-01T10:00:00Z').getTime();- const broadcasts = buildBroadcasts([['exact', sentAt]]);-- expect(resolveBroadcastIdForEmail(sentAt, broadcasts)).toBe('exact');- });-- it('matches at the exact 1h upper bound', () => {- const sentAt = new Date('2026-01-01T10:00:00Z').getTime();- const broadcasts = buildBroadcasts([['edge', sentAt]]);- const emailCreatedAt = sentAt + BROADCAST_EMAIL_MATCH_WINDOW_MS;-- expect(resolveBroadcastIdForEmail(emailCreatedAt, broadcasts)).toBe('edge');- });-- it('ignores broadcasts sent strictly after the email', () => {- const emailCreatedAt = new Date('2026-01-01T10:00:00Z').getTime();- const broadcasts = buildBroadcasts([- ['future', emailCreatedAt + 60 * 1000],- ]);-- expect(- resolveBroadcastIdForEmail(emailCreatedAt, broadcasts),- ).toBeUndefined();- });-- it('on identical sentAt, picks the broadcast that comes last in the sorted array (deterministic tiebreak)', () => {- const sentAt = new Date('2026-01-01T10:00:00Z').getTime();- const broadcasts: Array<{ id: string; sentAtMs: number }> = [- { id: 'first', sentAtMs: sentAt },- { id: 'second', sentAtMs: sentAt },- ];-- expect(resolveBroadcastIdForEmail(sentAt + 60 * 1000, broadcasts)).toBe(- 'second',- );- });-- it('skips broadcasts sent after the email and returns the closest preceding one within the window', () => {- const baseSent = new Date('2026-01-01T10:00:00Z').getTime();- const broadcasts = buildBroadcasts([- ['preceding', baseSent],- ['later', baseSent + 30 * 60 * 1000],- ]);- const emailCreatedAt = baseSent + 10 * 60 * 1000;-- expect(resolveBroadcastIdForEmail(emailCreatedAt, broadcasts)).toBe(- 'preceding',- );- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-broadcasts.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-broadcasts.test.tsdeleted file mode 100644index 5f546408677..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-broadcasts.test.ts+++ /dev/null@@ -1,168 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { syncBroadcasts } from '@modules/resend/sync/utils/sync-broadcasts';--vi.mock('@modules/resend/sync/utils/upsert-records', () => ({- upsertRecords: vi.fn(),-}));--vi.mock('@modules/resend/sync/cursor/utils/with-sync-cursor', () => ({- withSyncCursor: async (- _client: unknown,- _step: unknown,- fn: (ctx: {- resumeCursor: undefined;- onCursorAdvance: (cursor: string) => Promise<void>;- }) => Promise<unknown>,- ) =>- fn({- resumeCursor: undefined,- onCursorAdvance: async () => undefined,- }),-}));--vi.mock('@modules/resend/shared/utils/with-rate-limit-retry', () => ({- withRateLimitRetry: async (fn: () => Promise<unknown>) => fn(),-}));--vi.mock('@modules/resend/shared/utils/find-twenty-ids-by-resend-id', () => ({- findTwentyIdsByResendId: vi.fn(),-}));--import { findTwentyIdsByResendId } from '@modules/resend/shared/utils/find-twenty-ids-by-resend-id';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';--const mockUpsertRecords = upsertRecords as unknown as ReturnType<typeof vi.fn>;-const mockFindTwentyIdsByResendId =- findTwentyIdsByResendId as unknown as ReturnType<typeof vi.fn>;--const buildResend = (pageBroadcasts: unknown[], detailById: Record<string, unknown>): Resend =>- ({- broadcasts: {- list: vi.fn(async () => ({- data: { data: pageBroadcasts, has_more: false },- error: null,- })),- get: vi.fn(async (id: string) => ({- data: detailById[id] ?? null,- error: detailById[id] ? null : { message: 'not found' },- })),- },- }) as unknown as Resend;--describe('syncBroadcasts', () => {- beforeEach(() => {- mockUpsertRecords.mockReset();- mockFindTwentyIdsByResendId.mockReset();- });-- it('captures html, text, and topicId from the broadcast detail', async () => {- const broadcast = {- id: 'broadcast-1',- name: 'Announcements',- segment_id: 'seg-1',- status: 'draft',- created_at: '2026-12-01T19:32:22.980Z',- scheduled_at: null,- sent_at: null,- };-- const detail = {- ...broadcast,- from: 'Acme <[email protected]>',- subject: 'hello world',- reply_to: null,- preview_text: 'Check out our latest announcements',- html: '<p>Hello!</p>',- text: 'Hello!',- topic_id: 'topic-1',- };-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 1, created: 1, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map([['broadcast-1', 'twenty-broadcast-1']]),- });-- mockFindTwentyIdsByResendId.mockImplementation(- async (_client: unknown, plural: string) => {- if (plural === 'resendSegments') {- return new Map([['seg-1', 'twenty-seg-1']]);- }-- if (plural === 'resendTopics') {- return new Map([['topic-1', 'twenty-topic-1']]);- }-- return new Map();- },- );-- const resend = buildResend([broadcast], { 'broadcast-1': detail });-- await syncBroadcasts(resend, {} as CoreApiClient);-- const upsertCall = mockUpsertRecords.mock.calls[0][0];- const createDto = upsertCall.mapCreateData(undefined, broadcast);- const updateDto = upsertCall.mapUpdateData(undefined, broadcast);-- expect(createDto).toMatchObject({- htmlBody: '<p>Hello!</p>',- textBody: 'Hello!',- segmentId: 'twenty-seg-1',- topicId: 'twenty-topic-1',- subject: 'hello world',- previewText: 'Check out our latest announcements',- });-- expect(updateDto).toMatchObject({- htmlBody: '<p>Hello!</p>',- textBody: 'Hello!',- segmentId: 'twenty-seg-1',- topicId: 'twenty-topic-1',- });- });-- it('sets topicId to null when the broadcast has no topic_id (update)', async () => {- const broadcast = {- id: 'broadcast-2',- name: 'No topic',- segment_id: null,- status: 'sent',- created_at: '2026-12-01T19:32:22.980Z',- scheduled_at: null,- sent_at: '2026-12-02T00:00:00Z',- };-- const detail = {- ...broadcast,- from: '[email protected]',- subject: 'hi',- reply_to: null,- preview_text: '',- html: '',- text: '',- topic_id: null,- };-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 1, created: 0, updated: 1, errors: [] },- ok: true,- twentyIdByResendId: new Map(),- });-- mockFindTwentyIdsByResendId.mockResolvedValue(new Map());-- const resend = buildResend([broadcast], { 'broadcast-2': detail });-- await syncBroadcasts(resend, {} as CoreApiClient);-- const upsertCall = mockUpsertRecords.mock.calls[0][0];- const updateDto = upsertCall.mapUpdateData(undefined, broadcast);-- expect(updateDto.topicId).toBeNull();- expect(updateDto.segmentId).toBeNull();- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-contacts.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-contacts.test.tsdeleted file mode 100644index e3abe22e8a3..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-contacts.test.ts+++ /dev/null@@ -1,335 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { syncContacts } from '@modules/resend/sync/utils/sync-contacts';--vi.mock('@modules/resend/sync/utils/upsert-records', () => ({- upsertRecords: vi.fn(),-}));--vi.mock('@modules/resend/sync/cursor/utils/with-sync-cursor', () => ({- withSyncCursor: async (- _client: unknown,- _step: unknown,- fn: (ctx: {- resumeCursor: undefined;- onCursorAdvance: (cursor: string) => Promise<void>;- }) => Promise<unknown>,- ) =>- fn({- resumeCursor: undefined,- onCursorAdvance: async () => undefined,- }),-}));--vi.mock('@modules/resend/shared/utils/with-rate-limit-retry', () => ({- withRateLimitRetry: async (fn: () => Promise<unknown>) => fn(),-}));--vi.mock('@modules/resend/shared/utils/find-people-by-email', () => ({- findPeopleByEmail: vi.fn(),-}));--vi.mock('@modules/resend/shared/utils/find-twenty-ids-by-resend-id', () => ({- findTwentyIdsByResendId: vi.fn(),-}));--vi.mock(- '@modules/resend/sync/utils/backfill-resend-emails-from-contacts',- () => ({- backfillResendEmailsFromContacts: vi.fn(),- }),-);--import { findPeopleByEmail } from '@modules/resend/shared/utils/find-people-by-email';-import { findTwentyIdsByResendId } from '@modules/resend/shared/utils/find-twenty-ids-by-resend-id';-import { backfillResendEmailsFromContacts } from '@modules/resend/sync/utils/backfill-resend-emails-from-contacts';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';--const mockUpsertRecords = upsertRecords as unknown as ReturnType<typeof vi.fn>;-const mockFindPeopleByEmail = findPeopleByEmail as unknown as ReturnType<- typeof vi.fn->;-const mockFindTwentyIdsByResendId =- findTwentyIdsByResendId as unknown as ReturnType<typeof vi.fn>;-const mockBackfillResendEmailsFromContacts =- backfillResendEmailsFromContacts as unknown as ReturnType<typeof vi.fn>;--const SYNCED_AT = '2026-01-01T00:00:00.000Z';--type ContactSegmentsByContactId = Record<string, string[]>;--const buildResend = (- pageContacts: unknown[],- contactSegmentsByContactId: ContactSegmentsByContactId = {},-): Resend =>- ({- contacts: {- list: vi.fn(async () => ({- data: { data: pageContacts, has_more: false },- error: null,- })),- segments: {- list: vi.fn(async ({ contactId }: { contactId: string }) => ({- data: {- data: (contactSegmentsByContactId[contactId] ?? []).map((id) => ({- id,- })),- has_more: false,- },- error: null,- })),- },- },- }) as unknown as Resend;--describe('syncContacts', () => {- beforeEach(() => {- mockUpsertRecords.mockReset();- mockFindPeopleByEmail.mockReset();- mockFindTwentyIdsByResendId.mockReset();- mockFindTwentyIdsByResendId.mockResolvedValue(new Map());- mockBackfillResendEmailsFromContacts.mockReset();- mockBackfillResendEmailsFromContacts.mockResolvedValue({- updated: 0,- errors: [],- });- });-- it('inlines personId into the upsert payload using a single batched lookup', async () => {- const pageContacts = [- {- id: 'contact-1',- email: '[email protected]',- first_name: 'Matched',- last_name: 'Person',- unsubscribed: false,- created_at: '2026-01-01T00:00:00Z',- },- {- id: 'contact-2',- email: '[email protected]',- first_name: 'Unmatched',- last_name: 'Person',- unsubscribed: true,- created_at: '2026-01-01T00:00:00Z',- },- ];-- mockFindPeopleByEmail.mockResolvedValue(- new Map([['[email protected]', 'person-1']]),- );-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 2, created: 2, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map(),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageContacts);-- await syncContacts(resend, client, SYNCED_AT);-- expect(mockFindPeopleByEmail).toHaveBeenCalledTimes(1);-- const upsertCall = mockUpsertRecords.mock.calls[0][0];-- const matched = upsertCall.mapCreateData(undefined, pageContacts[0]);- const unmatched = upsertCall.mapCreateData(undefined, pageContacts[1]);-- expect(matched.personId).toBe('person-1');- expect(unmatched.personId).toBeUndefined();- });-- it('backfills resendEmails with each upserted contact, including personId when known', async () => {- const pageContacts = [- {- id: 'contact-1',- email: '[email protected]',- first_name: 'Matched',- last_name: 'Person',- unsubscribed: false,- created_at: '2026-01-01T00:00:00Z',- },- {- id: 'contact-2',- email: '[email protected]',- first_name: 'Unmatched',- last_name: 'Person',- unsubscribed: true,- created_at: '2026-01-01T00:00:00Z',- },- ];-- mockFindPeopleByEmail.mockResolvedValue(- new Map([['[email protected]', 'person-1']]),- );-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 2, created: 2, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map([- ['contact-1', 'twenty-contact-1'],- ['contact-2', 'twenty-contact-2'],- ]),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageContacts);-- await syncContacts(resend, client, SYNCED_AT);-- expect(mockBackfillResendEmailsFromContacts).toHaveBeenCalledTimes(1);-- const [, entriesByEmail] =- mockBackfillResendEmailsFromContacts.mock.calls[0];-- expect(entriesByEmail).toEqual(- new Map([- [- '[email protected]',- { contactId: 'twenty-contact-1', personId: 'person-1' },- ],- ['[email protected]', { contactId: 'twenty-contact-2' }],- ]),- );- });-- it("inlines the first segment's Twenty id into the upsert payload when the contact has segments", async () => {- const pageContacts = [- {- id: 'contact-1',- email: '[email protected]',- first_name: 'Seg',- last_name: 'Mented',- unsubscribed: false,- created_at: '2026-01-01T00:00:00Z',- },- {- id: 'contact-2',- email: '[email protected]',- first_name: 'No',- last_name: 'Seg',- unsubscribed: false,- created_at: '2026-01-01T00:00:00Z',- },- {- id: 'contact-3',- email: '[email protected]',- first_name: 'Or',- last_name: 'Phan',- unsubscribed: false,- created_at: '2026-01-01T00:00:00Z',- },- ];-- mockFindPeopleByEmail.mockResolvedValue(new Map());-- mockFindTwentyIdsByResendId.mockResolvedValue(- new Map([['resend-segment-1', 'twenty-segment-1']]),- );-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 3, created: 3, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map(),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageContacts, {- 'contact-1': ['resend-segment-1', 'resend-segment-2'],- 'contact-3': ['resend-segment-unmapped'],- });-- await syncContacts(resend, client, SYNCED_AT);-- expect(mockFindTwentyIdsByResendId).toHaveBeenCalledTimes(1);- expect(mockFindTwentyIdsByResendId.mock.calls[0][1]).toBe('resendSegments');- expect(- Array.from(mockFindTwentyIdsByResendId.mock.calls[0][2]).sort(),- ).toEqual(['resend-segment-1', 'resend-segment-unmapped']);-- const upsertCall = mockUpsertRecords.mock.calls[0][0];-- const segmented = upsertCall.mapCreateData(undefined, pageContacts[0]);- const unsegmented = upsertCall.mapCreateData(undefined, pageContacts[1]);- const orphan = upsertCall.mapCreateData(undefined, pageContacts[2]);-- expect(segmented.segmentId).toBe('twenty-segment-1');- expect(unsegmented.segmentId).toBeUndefined();- expect(orphan.segmentId).toBeUndefined();- });-- it('does not call findTwentyIdsByResendId when no contacts have segments', async () => {- const pageContacts = [- {- id: 'contact-1',- email: '[email protected]',- first_name: null,- last_name: null,- unsubscribed: false,- created_at: '2026-01-01T00:00:00Z',- },- ];-- mockFindPeopleByEmail.mockResolvedValue(new Map());-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 1, created: 1, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map(),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageContacts);-- await syncContacts(resend, client, SYNCED_AT);-- expect(mockFindTwentyIdsByResendId).not.toHaveBeenCalled();- });-- it('skips backfill entries for contacts whose upsert did not return a Twenty id', async () => {- const pageContacts = [- {- id: 'contact-1',- email: '[email protected]',- first_name: null,- last_name: null,- unsubscribed: false,- created_at: '2026-01-01T00:00:00Z',- },- {- id: 'contact-2',- email: '[email protected]',- first_name: null,- last_name: null,- unsubscribed: false,- created_at: '2026-01-01T00:00:00Z',- },- ];-- mockFindPeopleByEmail.mockResolvedValue(new Map());-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 2, created: 1, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map([['contact-1', 'twenty-contact-1']]),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageContacts);-- await syncContacts(resend, client, SYNCED_AT);-- expect(mockBackfillResendEmailsFromContacts).toHaveBeenCalledTimes(1);-- const [, entriesByEmail] =- mockBackfillResendEmailsFromContacts.mock.calls[0];-- expect(entriesByEmail).toEqual(- new Map([['[email protected]', { contactId: 'twenty-contact-1' }]]),- );- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-emails.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-emails.test.tsdeleted file mode 100644index 6969a6fb5d2..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-emails.test.ts+++ /dev/null@@ -1,376 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { syncEmails } from '@modules/resend/sync/utils/sync-emails';--vi.mock('@modules/resend/sync/utils/upsert-records', () => ({- upsertRecords: vi.fn(),-}));--vi.mock('@modules/resend/sync/cursor/utils/with-sync-cursor', () => ({- withSyncCursor: async (- _client: unknown,- _step: unknown,- fn: (ctx: {- resumeCursor: undefined;- onCursorAdvance: (cursor: string) => Promise<void>;- }) => Promise<unknown>,- ) =>- fn({- resumeCursor: undefined,- onCursorAdvance: async () => undefined,- }),-}));--vi.mock('@modules/resend/shared/utils/with-rate-limit-retry', () => ({- withRateLimitRetry: async (fn: () => Promise<unknown>) => fn(),-}));--vi.mock('@modules/resend/shared/utils/find-people-by-email', () => ({- findPeopleByEmail: vi.fn(),-}));--vi.mock('@modules/resend/shared/utils/find-resend-contacts-by-email', () => ({- findResendContactsByEmail: vi.fn(),-}));--vi.mock('@modules/resend/sync/utils/backfill-resend-contact-person-id', () => ({- backfillResendContactPersonId: vi.fn(),-}));--vi.mock('@modules/resend/sync/utils/find-recent-sent-broadcasts', () => ({- findRecentSentBroadcasts: vi.fn(),-}));--import { findPeopleByEmail } from '@modules/resend/shared/utils/find-people-by-email';-import { findResendContactsByEmail } from '@modules/resend/shared/utils/find-resend-contacts-by-email';-import { backfillResendContactPersonId } from '@modules/resend/sync/utils/backfill-resend-contact-person-id';-import { findRecentSentBroadcasts } from '@modules/resend/sync/utils/find-recent-sent-broadcasts';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';--const mockUpsertRecords = upsertRecords as unknown as ReturnType<typeof vi.fn>;-const mockFindPeopleByEmail = findPeopleByEmail as unknown as ReturnType<- typeof vi.fn->;-const mockFindResendContactsByEmail =- findResendContactsByEmail as unknown as ReturnType<typeof vi.fn>;-const mockBackfillResendContactPersonId =- backfillResendContactPersonId as unknown as ReturnType<typeof vi.fn>;-const mockFindRecentSentBroadcasts =- findRecentSentBroadcasts as unknown as ReturnType<typeof vi.fn>;--const SYNCED_AT = '2026-01-01T00:00:00.000Z';--const buildResend = (pageEmails: unknown[]): Resend =>- ({- emails: {- list: vi.fn(async () => ({- data: { data: pageEmails, has_more: false },- error: null,- })),- },- }) as unknown as Resend;--describe('syncEmails', () => {- beforeEach(() => {- mockUpsertRecords.mockReset();- mockFindPeopleByEmail.mockReset();- mockFindResendContactsByEmail.mockReset();- mockBackfillResendContactPersonId.mockReset();- mockBackfillResendContactPersonId.mockResolvedValue({- updated: 0,- errors: [],- });- mockFindRecentSentBroadcasts.mockReset();- mockFindRecentSentBroadcasts.mockResolvedValue([]);- });-- it('looks up people once per page and inlines personId into the upsert payload', async () => {- const pageEmails = [- {- id: 'email-1',- subject: 'hello',- from: '[email protected]',- to: ['[email protected]'],- cc: null,- bcc: null,- reply_to: null,- last_event: 'delivered',- created_at: '2026-01-01T00:00:00Z',- scheduled_at: null,- },- {- id: 'email-2',- subject: 'world',- from: '[email protected]',- to: ['[email protected]'],- cc: null,- bcc: null,- reply_to: null,- last_event: 'delivered',- created_at: '2026-01-01T00:00:00Z',- scheduled_at: null,- },- ];-- mockFindPeopleByEmail.mockResolvedValue(- new Map([['[email protected]', 'person-1']]),- );- mockFindResendContactsByEmail.mockResolvedValue(new Map());-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 2, created: 2, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map([- ['email-1', 'twenty-email-1'],- ['email-2', 'twenty-email-2'],- ]),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageEmails);-- await syncEmails(resend, client, SYNCED_AT);-- expect(mockFindPeopleByEmail).toHaveBeenCalledTimes(1);- expect(mockFindPeopleByEmail).toHaveBeenCalledWith(client, [- '[email protected]',- '[email protected]',- ]);-- const upsertCall = mockUpsertRecords.mock.calls[0][0];-- expect(upsertCall.items).toBe(pageEmails);-- const matchedDto = upsertCall.mapCreateData(undefined, pageEmails[0]);- const unmatchedDto = upsertCall.mapCreateData(undefined, pageEmails[1]);-- expect(matchedDto.personId).toBe('person-1');- expect(unmatchedDto.personId).toBeUndefined();- });-- it('inlines contactId in the upsert payload when a resend contact matches the primary recipient', async () => {- const pageEmails = [- {- id: 'email-1',- subject: 'hello',- from: '[email protected]',- to: ['[email protected]'],- cc: null,- bcc: null,- reply_to: null,- last_event: 'delivered',- created_at: '2026-01-01T00:00:00Z',- scheduled_at: null,- },- ];-- mockFindPeopleByEmail.mockResolvedValue(new Map());- mockFindResendContactsByEmail.mockResolvedValue(- new Map([- [- '[email protected]',- { id: 'twenty-contact-1', personId: 'person-1' },- ],- ]),- );-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 1, created: 1, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map([['email-1', 'twenty-email-1']]),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageEmails);-- await syncEmails(resend, client, SYNCED_AT);-- const upsertCall = mockUpsertRecords.mock.calls[0][0];- const createDto = upsertCall.mapCreateData(undefined, pageEmails[0]);- const updateDto = upsertCall.mapUpdateData(undefined, pageEmails[0]);-- expect(createDto.contactId).toBe('twenty-contact-1');- expect(updateDto.contactId).toBe('twenty-contact-1');- });-- it('backfills personId on matched resend contacts that have a null personId', async () => {- const pageEmails = [- {- id: 'email-1',- subject: 'hello',- from: '[email protected]',- to: ['[email protected]'],- cc: null,- bcc: null,- reply_to: null,- last_event: 'delivered',- created_at: '2026-01-01T00:00:00Z',- scheduled_at: null,- },- {- id: 'email-2',- subject: 'hello again',- from: '[email protected]',- to: ['[email protected]'],- cc: null,- bcc: null,- reply_to: null,- last_event: 'delivered',- created_at: '2026-01-01T00:00:00Z',- scheduled_at: null,- },- ];-- mockFindPeopleByEmail.mockResolvedValue(- new Map([- ['[email protected]', 'person-matched'],- ['[email protected]', 'person-linked'],- ]),- );- mockFindResendContactsByEmail.mockResolvedValue(- new Map([- ['[email protected]', { id: 'contact-matched', personId: null }],- [- '[email protected]',- { id: 'contact-linked', personId: 'person-linked' },- ],- ]),- );-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 2, created: 2, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map(),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageEmails);-- await syncEmails(resend, client, SYNCED_AT);-- expect(mockBackfillResendContactPersonId).toHaveBeenCalledTimes(1);-- const [, personIdByEmail] = mockBackfillResendContactPersonId.mock.calls[0];-- expect(personIdByEmail).toEqual(- new Map([['[email protected]', 'person-matched']]),- );- });-- it('inlines broadcastId on create/update when the email was sent within an hour after a broadcast', async () => {- const broadcastSentAt = new Date('2026-01-01T10:00:00.000Z').getTime();- const emailCreatedAt = '2026-01-01T10:30:00.000Z';- const outOfWindowCreatedAt = '2026-01-01T12:00:00.000Z';-- const pageEmails = [- {- id: 'email-in-window',- subject: 'hello',- from: '[email protected]',- to: ['[email protected]'],- cc: null,- bcc: null,- reply_to: null,- last_event: 'delivered',- created_at: emailCreatedAt,- scheduled_at: null,- },- {- id: 'email-out-of-window',- subject: 'world',- from: '[email protected]',- to: ['[email protected]'],- cc: null,- bcc: null,- reply_to: null,- last_event: 'delivered',- created_at: outOfWindowCreatedAt,- scheduled_at: null,- },- ];-- mockFindPeopleByEmail.mockResolvedValue(new Map());- mockFindResendContactsByEmail.mockResolvedValue(new Map());- mockFindRecentSentBroadcasts.mockResolvedValue([- { id: 'twenty-broadcast-1', sentAtMs: broadcastSentAt },- ]);-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 2, created: 2, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map(),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageEmails);-- await syncEmails(resend, client, SYNCED_AT);-- expect(mockFindRecentSentBroadcasts).toHaveBeenCalledTimes(1);- expect(mockFindRecentSentBroadcasts).toHaveBeenCalledWith(client, {- sinceIso: expect.any(String),- });-- const upsertCall = mockUpsertRecords.mock.calls[0][0];-- const inWindowCreate = upsertCall.mapCreateData(undefined, pageEmails[0]);- const inWindowUpdate = upsertCall.mapUpdateData(undefined, pageEmails[0]);- const outOfWindowCreate = upsertCall.mapCreateData(undefined, pageEmails[1]);- const outOfWindowUpdate = upsertCall.mapUpdateData(undefined, pageEmails[1]);-- expect(inWindowCreate.broadcastId).toBe('twenty-broadcast-1');- expect(inWindowUpdate.broadcastId).toBe('twenty-broadcast-1');- expect(outOfWindowCreate.broadcastId).toBeUndefined();- expect(outOfWindowUpdate.broadcastId).toBeUndefined();- });-- it('picks the broadcast closest in time when multiple broadcasts precede the email within the window', async () => {- const earlierBroadcastSentAt = new Date(- '2026-01-01T10:00:00.000Z',- ).getTime();- const closerBroadcastSentAt = new Date(- '2026-01-01T10:45:00.000Z',- ).getTime();- const emailCreatedAt = '2026-01-01T11:00:00.000Z';-- const pageEmails = [- {- id: 'email-1',- subject: 'hello',- from: '[email protected]',- to: ['[email protected]'],- cc: null,- bcc: null,- reply_to: null,- last_event: 'delivered',- created_at: emailCreatedAt,- scheduled_at: null,- },- ];-- mockFindPeopleByEmail.mockResolvedValue(new Map());- mockFindResendContactsByEmail.mockResolvedValue(new Map());- mockFindRecentSentBroadcasts.mockResolvedValue([- { id: 'broadcast-earlier', sentAtMs: earlierBroadcastSentAt },- { id: 'broadcast-closer', sentAtMs: closerBroadcastSentAt },- ]);-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 1, created: 1, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map(),- });-- const client = {} as CoreApiClient;- const resend = buildResend(pageEmails);-- await syncEmails(resend, client, SYNCED_AT);-- const upsertCall = mockUpsertRecords.mock.calls[0][0];- const createDto = upsertCall.mapCreateData(undefined, pageEmails[0]);-- expect(createDto.broadcastId).toBe('broadcast-closer');- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-topics.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-topics.test.tsdeleted file mode 100644index 442a6c46979..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/__tests__/sync-topics.test.ts+++ /dev/null@@ -1,149 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--import { syncTopics } from '@modules/resend/sync/utils/sync-topics';--vi.mock('@modules/resend/sync/utils/upsert-records', () => ({- upsertRecords: vi.fn(),-}));--vi.mock('@modules/resend/sync/cursor/utils/with-sync-cursor', () => ({- withSyncCursor: async (- _client: unknown,- _step: unknown,- fn: (ctx: { resumeCursor: undefined; onCursorAdvance: () => void }) => Promise<unknown>,- ) => fn({ resumeCursor: undefined, onCursorAdvance: () => undefined }),-}));--vi.mock('@modules/resend/shared/utils/with-rate-limit-retry', () => ({- withRateLimitRetry: async (fn: () => Promise<unknown>) => fn(),-}));--import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';--const mockUpsertRecords = upsertRecords as unknown as ReturnType<typeof vi.fn>;--const SYNCED_AT = '2026-01-01T00:00:00.000Z';--const buildResend = (- topicsList: Array<{- id: string;- name: string;- description?: string;- default_subscription: string;- visibility?: string;- created_at: string;- }>,-): Resend =>- ({- topics: {- list: vi.fn(async () => ({- data: { data: topicsList },- error: null,- })),- },- }) as unknown as Resend;--const buildClient = (): CoreApiClient => ({}) as unknown as CoreApiClient;--describe('syncTopics', () => {- beforeEach(() => {- mockUpsertRecords.mockReset();- });-- it('returns an empty id map when the API returns no topics', async () => {- const resend = buildResend([]);- const client = buildClient();-- const { result, value } = await syncTopics(resend, client, SYNCED_AT);-- expect(value.size).toBe(0);- expect(result).toEqual({- fetched: 0,- created: 0,- updated: 0,- errors: [],- });- expect(mockUpsertRecords).not.toHaveBeenCalled();- });-- it('upserts topics with the correct DTO and returns the resend->twenty id map', async () => {- const resend = buildResend([- {- id: 'resend-topic-1',- name: 'Weekly Newsletter',- description: 'Weekly newsletter',- default_subscription: 'opt_in',- visibility: 'public',- created_at: '2026-04-08T00:11:13.110779+00:00',- },- ]);- const client = buildClient();-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 1, created: 1, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map([['resend-topic-1', 'twenty-topic-1']]),- });-- const { value } = await syncTopics(resend, client, SYNCED_AT);-- expect(value.get('resend-topic-1')).toBe('twenty-topic-1');-- const upsertCall = mockUpsertRecords.mock.calls[0][0];- const dto = upsertCall.mapCreateData(undefined, upsertCall.items[0]);-- expect(dto).toEqual({- name: 'Weekly Newsletter',- description: 'Weekly newsletter',- defaultSubscription: 'OPT_IN',- visibility: 'PUBLIC',- createdAt: '2026-04-08T00:11:13.110Z',- lastSyncedFromResend: SYNCED_AT,- });- });-- it('defaults visibility to PUBLIC when missing from the API response', async () => {- const resend = buildResend([- {- id: 'resend-topic-2',- name: 'No-visibility topic',- default_subscription: 'opt_out',- created_at: '2026-04-08T00:11:13.110779+00:00',- },- ]);- const client = buildClient();-- mockUpsertRecords.mockResolvedValue({- result: { fetched: 1, created: 1, updated: 0, errors: [] },- ok: true,- twentyIdByResendId: new Map(),- });-- await syncTopics(resend, client, SYNCED_AT);-- const upsertCall = mockUpsertRecords.mock.calls[0][0];- const dto = upsertCall.mapCreateData(undefined, upsertCall.items[0]);-- expect(dto.visibility).toBe('PUBLIC');- expect(dto.defaultSubscription).toBe('OPT_OUT');- expect(dto.description).toBe('');- });-- it('throws when the Resend API returns an error', async () => {- const resend = {- topics: {- list: vi.fn(async () => ({- data: null,- error: { message: 'boom' },- })),- },- } as unknown as Resend;- const client = buildClient();-- await expect(syncTopics(resend, client, SYNCED_AT)).rejects.toThrow(- /Resend list\[topics\] failed/,- );- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/are-all-sync-cursors-empty.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/are-all-sync-cursors-empty.tsdeleted file mode 100644index 15c481d58cf..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/are-all-sync-cursors-empty.ts+++ /dev/null@@ -1,55 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { extractConnection } from '@modules/resend/shared/utils/typed-client';-import { RESEND_SYNC_CURSOR_STEPS } from '@modules/resend/sync/cursor/constants/resend-sync-cursor-steps';-import type { SyncCursorStep } from '@modules/resend/sync/cursor/types/sync-cursor-step';--type SyncCursorNode = {- step: SyncCursorStep;- cursor: string | null;- lastRunStatus: 'SUCCESS' | 'FAILED' | 'IN_PROGRESS' | null;-};--export const areAllSyncCursorsEmpty = async (- client: CoreApiClient,-): Promise<boolean> => {- const queryResult = await client.query({- resendSyncCursors: {- __args: {- first: RESEND_SYNC_CURSOR_STEPS.length + 5,- },- edges: {- node: {- step: true,- cursor: true,- lastRunStatus: true,- },- },- },- });-- const connection = extractConnection<SyncCursorNode>(- queryResult,- 'resendSyncCursors',- );-- const rowByStep = new Map<SyncCursorStep, SyncCursorNode>();-- for (const edge of connection.edges) {- if (isDefined(edge.node?.step)) {- rowByStep.set(edge.node.step, edge.node);- }- }-- return RESEND_SYNC_CURSOR_STEPS.every((step) => {- const row = rowByStep.get(step);-- if (!isDefined(row)) return false;-- const cursorCleared = !isDefined(row.cursor) || row.cursor.length === 0;- const notFailed = row.lastRunStatus !== 'FAILED';-- return cursorCleared && notFailed;- });-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/backfill-resend-contact-person-id.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/backfill-resend-contact-person-id.tsdeleted file mode 100644index 44ccec02378..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/backfill-resend-contact-person-id.ts+++ /dev/null@@ -1,99 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { getErrorMessage } from '@modules/resend/shared/utils/get-error-message';-import { extractConnection } from '@modules/resend/shared/utils/typed-client';--type ExistingResendContact = {- id: string;- personId?: string | null;- email?: { primaryEmail?: string | null } | null;-};--export type BackfillResendContactPersonIdResult = {- updated: number;- errors: string[];-};--const normalize = (email: string): string => email.trim().toLowerCase();--export const backfillResendContactPersonId = async (- client: CoreApiClient,- personIdByEmail: ReadonlyMap<string, string>,-): Promise<BackfillResendContactPersonIdResult> => {- const result: BackfillResendContactPersonIdResult = {- updated: 0,- errors: [],- };-- const emailKeys = Array.from(personIdByEmail.keys());-- if (emailKeys.length === 0) return result;-- let existingContacts: ExistingResendContact[];-- try {- const queryResult = await client.query({- resendContacts: {- __args: {- filter: {- email: {- primaryEmail: { in: emailKeys },- },- },- first: emailKeys.length,- },- edges: {- node: {- id: true,- personId: true,- email: { primaryEmail: true },- },- },- },- });-- existingContacts = extractConnection<ExistingResendContact>(- queryResult,- 'resendContacts',- ).edges.map((edge) => edge.node);- } catch (error) {- result.errors.push(- `backfillResendContactPersonId lookup: ${getErrorMessage(error)}`,- );-- return result;- }-- for (const contact of existingContacts) {- if (isDefined(contact.personId)) continue;-- const primaryEmail = contact.email?.primaryEmail;-- if (typeof primaryEmail !== 'string' || primaryEmail.length === 0) continue;-- const personId = personIdByEmail.get(normalize(primaryEmail));-- if (!isDefined(personId)) continue;-- try {- await client.mutation({- updateResendContact: {- __args: {- id: contact.id,- data: { personId },- },- id: true,- },- });-- result.updated++;- } catch (error) {- result.errors.push(- `backfillResendContactPersonId ${contact.id}: ${getErrorMessage(error)}`,- );- }- }-- return result;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/backfill-resend-emails-from-contacts.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/backfill-resend-emails-from-contacts.tsdeleted file mode 100644index 399ae4aeb54..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/backfill-resend-emails-from-contacts.ts+++ /dev/null@@ -1,200 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { TWENTY_PAGE_SIZE } from '@modules/resend/constants/sync-config';-import { getErrorMessage } from '@modules/resend/shared/utils/get-error-message';-import { extractConnection } from '@modules/resend/shared/utils/typed-client';--export type ContactBackfillEntry = {- contactId: string;- personId?: string;-};--type StoredEmailsField = {- primaryEmail?: string | null;- additionalEmails?: ReadonlyArray<string> | null;-};--type ExistingResendEmail = {- id: string;- contactId?: string | null;- personId?: string | null;- toAddresses?: StoredEmailsField | null;-};--export type BackfillResendEmailsFromContactsResult = {- updated: number;- errors: string[];-};--const normalize = (email: string): string => email.trim().toLowerCase();--const normalizeAdditionalEmails = (- additionalEmails: ReadonlyArray<string> | null | undefined,-): string[] | null => {- if (!Array.isArray(additionalEmails) || additionalEmails.length === 0) {- return null;- }-- return additionalEmails.map((email) =>- typeof email === 'string' ? normalize(email) : email,- );-};--const additionalEmailsDiffer = (- current: ReadonlyArray<string> | null | undefined,- next: ReadonlyArray<string> | null,-): boolean => {- const currentArray = Array.isArray(current) ? current : null;-- if (currentArray === null && next === null) return false;- if (currentArray === null || next === null) return true;- if (currentArray.length !== next.length) return true;-- for (let index = 0; index < currentArray.length; index++) {- if (currentArray[index] !== next[index]) return true;- }-- return false;-};--export const backfillResendEmailsFromContacts = async (- client: CoreApiClient,- entriesByEmail: ReadonlyMap<string, ContactBackfillEntry>,-): Promise<BackfillResendEmailsFromContactsResult> => {- const result: BackfillResendEmailsFromContactsResult = {- updated: 0,- errors: [],- };-- const emailKeys = Array.from(entriesByEmail.keys());-- if (emailKeys.length === 0) return result;-- let hasNextPage = true;- let afterCursor: string | undefined;-- while (hasNextPage) {- let pageEmails: ExistingResendEmail[];- let endCursor: string | null | undefined;- let pageHasNext: boolean;-- try {- const queryArgs: Record<string, unknown> = {- filter: {- toAddresses: {- primaryEmail: { in: emailKeys },- },- },- first: TWENTY_PAGE_SIZE,- };-- if (isDefined(afterCursor)) {- queryArgs.after = afterCursor;- }-- const queryResult = await client.query({- resendEmails: {- __args: queryArgs,- pageInfo: {- hasNextPage: true,- endCursor: true,- },- edges: {- node: {- id: true,- contactId: true,- personId: true,- toAddresses: {- primaryEmail: true,- additionalEmails: true,- },- },- },- },- });-- const connection = extractConnection<ExistingResendEmail>(- queryResult,- 'resendEmails',- );-- pageEmails = connection.edges.map((edge) => edge.node);- pageHasNext = connection.pageInfo?.hasNextPage ?? false;- endCursor = connection.pageInfo?.endCursor;- } catch (error) {- result.errors.push(- `backfillResendEmailsFromContacts lookup: ${getErrorMessage(error)}`,- );-- return result;- }-- for (const email of pageEmails) {- const primaryRecipient = email.toAddresses?.primaryEmail;-- if (- typeof primaryRecipient !== 'string' ||- primaryRecipient.length === 0- ) {- continue;- }-- const normalizedPrimary = normalize(primaryRecipient);- const entry = entriesByEmail.get(normalizedPrimary);-- if (!isDefined(entry)) continue;-- const data: Record<string, unknown> = {};-- if (!isDefined(email.contactId)) {- data.contactId = entry.contactId;- }-- if (!isDefined(email.personId) && isDefined(entry.personId)) {- data.personId = entry.personId;- }-- const normalizedAdditional = normalizeAdditionalEmails(- email.toAddresses?.additionalEmails,- );- const primaryDiffers = primaryRecipient !== normalizedPrimary;- const additionalDiffers = additionalEmailsDiffer(- email.toAddresses?.additionalEmails,- normalizedAdditional,- );-- if (primaryDiffers || additionalDiffers) {- data.toAddresses = {- primaryEmail: normalizedPrimary,- additionalEmails: normalizedAdditional,- };- }-- if (Object.keys(data).length === 0) continue;-- try {- await client.mutation({- updateResendEmail: {- __args: {- id: email.id,- data,- },- id: true,- },- });-- result.updated++;- } catch (error) {- result.errors.push(- `backfillResendEmailsFromContacts ${email.id}: ${getErrorMessage(error)}`,- );- }- }-- hasNextPage = pageHasNext && isDefined(endCursor);- afterCursor = endCursor ?? undefined;- }-- return result;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/fetch-existing-twenty-ids.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/fetch-existing-twenty-ids.tsdeleted file mode 100644index dfd35247461..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/fetch-existing-twenty-ids.ts+++ /dev/null@@ -1,52 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { TWENTY_PAGE_SIZE } from '@modules/resend/constants/sync-config';-import { extractConnection } from '@modules/resend/shared/utils/typed-client';--type ExistingRecord = {- id: string;- resendId: string;-};--export const fetchExistingTwentyIdsByResendIds = async (- client: CoreApiClient,- objectNamePlural: string,- resendIds: ReadonlyArray<string>,-): Promise<Map<string, string>> => {- const map = new Map<string, string>();-- if (resendIds.length === 0) {- return map;- }-- const result = await client.query({- [objectNamePlural]: {- __args: {- filter: {- resendId: { in: [...resendIds] },- },- first: Math.max(resendIds.length, TWENTY_PAGE_SIZE),- },- edges: {- node: {- id: true,- resendId: true,- },- },- },- });-- const connection = extractConnection<ExistingRecord>(- result,- objectNamePlural,- );-- for (const edge of connection.edges) {- if (isDefined(edge.node.resendId)) {- map.set(edge.node.resendId, edge.node.id);- }- }-- return map;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/find-or-create-resend-segment.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/find-or-create-resend-segment.tsdeleted file mode 100644index 79377daf19d..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/find-or-create-resend-segment.ts+++ /dev/null@@ -1,54 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { findRecordByResendId } from '@modules/resend/shared/utils/find-record-by-resend-id';-import { forEachPage } from '@modules/resend/shared/utils/for-each-page';--export const findOrCreateResendSegment = async (- resend: Resend,- client: CoreApiClient,- name: string,-): Promise<string> => {- let unlinkedMatchId: string | undefined;-- await forEachPage(- (paginationParameters) => resend.segments.list(paginationParameters),- async (pageSegments) => {- for (const candidate of pageSegments) {- if (candidate.name !== name) {- continue;- }-- const linkedRecordId = await findRecordByResendId(- client,- 'resendSegments',- candidate.id,- );-- if (!isDefined(linkedRecordId)) {- unlinkedMatchId = candidate.id;-- return { ok: true, stop: true };- }- }-- return { ok: true };- },- 'segments',- );-- if (isDefined(unlinkedMatchId)) {- return unlinkedMatchId;- }-- const { data, error } = await resend.segments.create({ name });-- if (isDefined(error) || !isDefined(data)) {- throw new Error(- `Failed to create Resend segment: ${JSON.stringify(error)}`,- );- }-- return data.id;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/find-recent-sent-broadcasts.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/find-recent-sent-broadcasts.tsdeleted file mode 100644index 5075151bd8d..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/find-recent-sent-broadcasts.ts+++ /dev/null@@ -1,82 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { TWENTY_PAGE_SIZE } from '@modules/resend/constants/sync-config';-import { extractConnection } from '@modules/resend/shared/utils/typed-client';--export type SentBroadcast = {- id: string;- sentAtMs: number;-};--type SentBroadcastNode = {- id: string;- sentAt?: string | null;-};--export const findRecentSentBroadcasts = async (- client: CoreApiClient,- { sinceIso }: { sinceIso: string },-): Promise<SentBroadcast[]> => {- const broadcasts: SentBroadcast[] = [];-- let hasNextPage = true;- let afterCursor: string | undefined;-- while (hasNextPage) {- const queryArgs: Record<string, unknown> = {- filter: {- sentAt: { gte: sinceIso },- },- first: TWENTY_PAGE_SIZE,- };-- if (isDefined(afterCursor)) {- queryArgs.after = afterCursor;- }-- const queryResult = await client.query({- resendBroadcasts: {- __args: queryArgs,- pageInfo: {- hasNextPage: true,- endCursor: true,- },- edges: {- node: {- id: true,- sentAt: true,- },- },- },- });-- const connection = extractConnection<SentBroadcastNode>(- queryResult,- 'resendBroadcasts',- );-- for (const edge of connection.edges) {- const { id, sentAt } = edge.node;-- if (typeof sentAt !== 'string' || sentAt.length === 0) continue;-- const sentAtMs = new Date(sentAt).getTime();-- if (Number.isNaN(sentAtMs)) continue;-- broadcasts.push({ id, sentAtMs });- }-- hasNextPage = connection.pageInfo?.hasNextPage ?? false;- afterCursor = connection.pageInfo?.endCursor ?? undefined;-- if (!isDefined(afterCursor)) {- hasNextPage = false;- }- }-- broadcasts.sort((left, right) => left.sentAtMs - right.sentAtMs);-- return broadcasts;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/get-existing-records-map.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/get-existing-records-map.tsdeleted file mode 100644index 2e02ea48c63..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/get-existing-records-map.ts+++ /dev/null@@ -1,63 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { TWENTY_PAGE_SIZE } from '@modules/resend/constants/sync-config';-import { extractConnection } from '@modules/resend/shared/utils/typed-client';--type ExistingRecord = {- id: string;- resendId: string;-};--export const getExistingRecordsMap = async (- client: CoreApiClient,- objectNamePlural: string,-): Promise<Map<string, string>> => {- const map = new Map<string, string>();-- let hasNextPage = true;-- let afterCursor: string | undefined;-- while (hasNextPage) {- const connectionArguments: Record<string, unknown> = {- first: TWENTY_PAGE_SIZE,- };-- if (isDefined(afterCursor)) {- connectionArguments.after = afterCursor;- }-- const result = await client.query({- [objectNamePlural]: {- __args: connectionArguments,- pageInfo: {- hasNextPage: true,- endCursor: true,- },- edges: {- node: {- id: true,- resendId: true,- },- },- },- });-- const connection = extractConnection<ExistingRecord>(- result,- objectNamePlural,- );-- for (const edge of connection.edges) {- if (isDefined(edge.node.resendId)) {- map.set(edge.node.resendId, edge.node.id);- }- }-- hasNextPage = connection.pageInfo?.hasNextPage ?? false;- afterCursor = connection.pageInfo?.endCursor ?? undefined;- }-- return map;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/log-step-outcome.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/log-step-outcome.tsdeleted file mode 100644index 475cda0307f..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/log-step-outcome.ts+++ /dev/null@@ -1,27 +0,0 @@-import type { StepOutcome } from '@modules/resend/sync/types/step-outcome';--export const logStepOutcome = (outcome: StepOutcome<unknown>): void => {- if (outcome.status === 'ok') {- const { name, durationMs, result } = outcome;-- console.log(- `[sync] ${name}: ok in ${durationMs}ms — fetched=${result.fetched} created=${result.created} updated=${result.updated} errors=${result.errors.length}`,- );-- for (const error of result.errors) {- console.error(`[sync] ${name} error: ${error}`);- }-- return;- }-- if (outcome.status === 'failed') {- console.error(- `[sync] ${outcome.name}: failed in ${outcome.durationMs}ms — ${outcome.error}`,- );-- return;- }-- console.warn(`[sync] ${outcome.name}: skipped — ${outcome.reason}`);-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/resolve-broadcast-id-for-email.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/resolve-broadcast-id-for-email.tsdeleted file mode 100644index b4d4522e41e..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/resolve-broadcast-id-for-email.ts+++ /dev/null@@ -1,47 +0,0 @@-import type { SentBroadcast } from '@modules/resend/sync/utils/find-recent-sent-broadcasts';--export const BROADCAST_EMAIL_MATCH_WINDOW_MS = 60 * 60 * 1000;--const findLargestIndexAtOrBefore = (- sortedBroadcasts: ReadonlyArray<SentBroadcast>,- emailCreatedAtMs: number,-): number => {- let low = 0;- let high = sortedBroadcasts.length - 1;- let result = -1;-- while (low <= high) {- const mid = (low + high) >>> 1;-- if (sortedBroadcasts[mid].sentAtMs <= emailCreatedAtMs) {- result = mid;- low = mid + 1;- } else {- high = mid - 1;- }- }-- return result;-};--export const resolveBroadcastIdForEmail = (- emailCreatedAtMs: number,- sortedBroadcasts: ReadonlyArray<SentBroadcast>,-): string | undefined => {- if (sortedBroadcasts.length === 0) return undefined;- if (Number.isNaN(emailCreatedAtMs)) return undefined;-- const candidateIndex = findLargestIndexAtOrBefore(- sortedBroadcasts,- emailCreatedAtMs,- );-- if (candidateIndex === -1) return undefined;-- const candidate = sortedBroadcasts[candidateIndex];- const delta = emailCreatedAtMs - candidate.sentAtMs;-- if (delta > BROADCAST_EMAIL_MATCH_WINDOW_MS) return undefined;-- return candidate.id;-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/run-sync-step.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/run-sync-step.tsdeleted file mode 100644index a5c81244cf8..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/run-sync-step.ts+++ /dev/null@@ -1,44 +0,0 @@-import type { StepOutcome } from '@modules/resend/sync/types/step-outcome';-import type { SyncStepResult } from '@modules/resend/sync/types/sync-step-result';-import { getErrorMessage } from '@modules/resend/shared/utils/get-error-message';--export const runSyncStep = async <TValue>(- name: string,- executeStep: () => Promise<SyncStepResult<TValue>>,-): Promise<StepOutcome<TValue>> => {- const startedAt = performance.now();-- try {- const { result, value } = await executeStep();-- return {- name,- status: 'ok',- durationMs: Math.round(performance.now() - startedAt),- result,- value,- };- } catch (error) {- return {- name,- status: 'failed',- durationMs: Math.round(performance.now() - startedAt),- error: getErrorMessage(error),- };- }-};--export const skipDueToFailedDependencies = (- name: string,- prerequisiteOutcomes: Record<string, StepOutcome<unknown>>,-): StepOutcome<never> => {- const failed = Object.entries(prerequisiteOutcomes)- .filter(([, outcome]) => outcome.status !== 'ok')- .map(([prerequisiteName]) => prerequisiteName);-- return {- name,- status: 'skipped',- reason: `prerequisite step(s) did not complete successfully: ${failed.join(', ')}`,- };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/set-initial-sync-mode.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/set-initial-sync-mode.tsdeleted file mode 100644index 0bb032656b2..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/set-initial-sync-mode.ts+++ /dev/null@@ -1,71 +0,0 @@-import { isDefined } from '@utils/is-defined';-import { MetadataApiClient } from 'twenty-client-sdk/metadata';--import { INITIAL_SYNC_MODE_ENV_VAR_NAME } from '@modules/resend/constants/sync-config';--export type InitialSyncModeValue = 'true' | 'false';--const getApplicationId = (): string => {- const applicationId = process.env.APPLICATION_ID;-- if (typeof applicationId !== 'string' || applicationId.length === 0) {- throw new Error(- 'APPLICATION_ID is not available in the logic function environment',- );- }-- return applicationId;-};--export const setInitialSyncMode = async (- value: InitialSyncModeValue,-): Promise<void> => {- const applicationId = getApplicationId();-- const metadataClient = new MetadataApiClient();-- await metadataClient.mutation({- updateOneApplicationVariable: {- __args: {- key: INITIAL_SYNC_MODE_ENV_VAR_NAME,- value,- applicationId,- },- },- });-};--export const isInitialSyncModeOn = async (): Promise<boolean> => {- try {- const applicationId = getApplicationId();- const metadataClient = new MetadataApiClient();-- const result = await metadataClient.query({- findOneApplication: {- __args: { id: applicationId },- applicationVariables: {- key: true,- value: true,- },- },- });-- const variables = result?.findOneApplication?.applicationVariables;-- if (Array.isArray(variables)) {- const variable = variables.find(- (item) => item?.key === INITIAL_SYNC_MODE_ENV_VAR_NAME,- );-- if (isDefined(variable?.value)) {- return variable.value === 'true';- }- }- } catch (error) {- console.warn(- `[resend] failed to read INITIAL_SYNC_MODE from ApplicationVariable; falling back to env var: ${error instanceof Error ? error.message : String(error)}`,- );- }-- return process.env[INITIAL_SYNC_MODE_ENV_VAR_NAME] === 'true';-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/summarise-outcomes.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/summarise-outcomes.tsdeleted file mode 100644index dd4b683310c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/summarise-outcomes.ts+++ /dev/null@@ -1,59 +0,0 @@-import type { StepOutcome } from '@modules/resend/sync/types/step-outcome';--export type SyncSummaryStep = {- name: string;- status: 'ok' | 'failed' | 'skipped';- fetched: number;- created: number;- updated: number;- errorCount: number;- durationMs: number;-};--export const summariseOutcomes = (- outcomes: ReadonlyArray<StepOutcome<unknown>>,-): { totalDurationMs: number; steps: SyncSummaryStep[] } => {- let totalDurationMs = 0;-- const steps: SyncSummaryStep[] = outcomes.map((outcome) => {- if (outcome.status === 'ok') {- totalDurationMs += outcome.durationMs;-- return {- name: outcome.name,- status: 'ok',- fetched: outcome.result.fetched,- created: outcome.result.created,- updated: outcome.result.updated,- errorCount: outcome.result.errors.length,- durationMs: outcome.durationMs,- };- }-- if (outcome.status === 'failed') {- totalDurationMs += outcome.durationMs;-- return {- name: outcome.name,- status: 'failed',- fetched: 0,- created: 0,- updated: 0,- errorCount: 1,- durationMs: outcome.durationMs,- };- }-- return {- name: outcome.name,- status: 'skipped',- fetched: 0,- created: 0,- updated: 0,- errorCount: 0,- durationMs: 0,- };- });-- return { totalDurationMs, steps };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-broadcasts.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-broadcasts.tsdeleted file mode 100644index adb9572aac5..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-broadcasts.ts+++ /dev/null@@ -1,233 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { findTwentyIdsByResendId } from '@modules/resend/shared/utils/find-twenty-ids-by-resend-id';-import { forEachPage } from '@modules/resend/shared/utils/for-each-page';-import { getErrorMessage } from '@modules/resend/shared/utils/get-error-message';-import { toEmailsField } from '@modules/resend/shared/utils/to-emails-field';-import {- toIsoString,- toIsoStringOrNull,-} from '@modules/resend/shared/utils/to-iso-string';-import { withRateLimitRetry } from '@modules/resend/shared/utils/with-rate-limit-retry';-import { withSyncCursor } from '@modules/resend/sync/cursor/utils/with-sync-cursor';-import type { CreateBroadcastDto } from '@modules/resend/sync/types/create-broadcast.dto';-import type { SyncResult } from '@modules/resend/sync/types/sync-result';-import type { SyncStepResult } from '@modules/resend/sync/types/sync-step-result';-import type { UpdateBroadcastDto } from '@modules/resend/sync/types/update-broadcast.dto';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';--type BroadcastDetail = Awaited<- ReturnType<Resend['broadcasts']['get']>->['data'];--const fetchBroadcastDetailsForPage = async (- resend: Resend,- pageBroadcasts: ReadonlyArray<{ id: string }>,- errors: string[],-): Promise<Map<string, NonNullable<BroadcastDetail>>> => {- const detailByResendId = new Map<string, NonNullable<BroadcastDetail>>();-- for (const broadcast of pageBroadcasts) {- try {- const { data: detail, error } = await withRateLimitRetry(- () => resend.broadcasts.get(broadcast.id),- { channel: 'broadcasts-detail' },- );-- if (isDefined(error) || !isDefined(detail)) {- errors.push(- `resendBroadcast ${broadcast.id} detail: ${JSON.stringify(error)}`,- );- continue;- }-- detailByResendId.set(broadcast.id, detail);- } catch (error) {- errors.push(- `resendBroadcast ${broadcast.id} detail: ${getErrorMessage(error)}`,- );- }- }-- return detailByResendId;-};--export type SyncBroadcastsOptions = {- deadlineAtMs?: number;-};--export const syncBroadcasts = async (- resend: Resend,- client: CoreApiClient,- options?: SyncBroadcastsOptions,-): Promise<SyncStepResult> => {- const aggregate: SyncResult = {- fetched: 0,- created: 0,- updated: 0,- errors: [],- };-- await withSyncCursor(- client,- 'BROADCASTS',- async ({ resumeCursor, onCursorAdvance }) => {- const { completed } = await forEachPage(- (paginationParameters) => resend.broadcasts.list(paginationParameters),- async (pageBroadcasts) => {- const detailByResendId = await fetchBroadcastDetailsForPage(- resend,- pageBroadcasts,- aggregate.errors,- );-- const segmentResendIds = pageBroadcasts- .map((broadcast) => broadcast.segment_id)- .filter(- (segmentId): segmentId is string =>- typeof segmentId === 'string' && segmentId.length > 0,- );-- const topicResendIds = Array.from(detailByResendId.values())- .map((detail) => detail.topic_id)- .filter(- (topicId): topicId is string =>- typeof topicId === 'string' && topicId.length > 0,- );-- const [segmentMap, topicMap] = await Promise.all([- segmentResendIds.length > 0- ? findTwentyIdsByResendId(- client,- 'resendSegments',- segmentResendIds,- )- : Promise.resolve(new Map<string, string>()),- topicResendIds.length > 0- ? findTwentyIdsByResendId(- client,- 'resendTopics',- topicResendIds,- )- : Promise.resolve(new Map<string, string>()),- ]);-- const pageOutcome = await upsertRecords({- items: pageBroadcasts,- getId: (broadcast) => broadcast.id,- mapCreateData: (_detail, broadcast): CreateBroadcastDto => {- const data: CreateBroadcastDto = {- name: broadcast.name,- status: broadcast.status.toUpperCase(),- createdAt: toIsoString(broadcast.created_at),- scheduledAt: toIsoStringOrNull(broadcast.scheduled_at),- sentAt: toIsoStringOrNull(broadcast.sent_at),- };-- if (isDefined(broadcast.segment_id)) {- const segmentId = segmentMap.get(broadcast.segment_id);-- if (isDefined(segmentId)) {- data.segmentId = segmentId;- }- }-- const detail = detailByResendId.get(broadcast.id);-- if (isDefined(detail)) {- data.subject = detail.subject ?? '';- data.fromAddress = toEmailsField(detail.from);- data.replyTo = toEmailsField(detail.reply_to);- data.previewText = detail.preview_text ?? '';- data.htmlBody = detail.html ?? '';- data.textBody = detail.text ?? '';-- if (isDefined(detail.topic_id)) {- const topicId = topicMap.get(detail.topic_id);-- if (isDefined(topicId)) {- data.topicId = topicId;- }- }- }-- return data;- },- mapUpdateData: (_detail, broadcast): UpdateBroadcastDto => {- const data: UpdateBroadcastDto = {- status: broadcast.status.toUpperCase(),- scheduledAt: toIsoStringOrNull(broadcast.scheduled_at),- sentAt: toIsoStringOrNull(broadcast.sent_at),- };-- if (!isDefined(broadcast.segment_id)) {- data.segmentId = null;- } else {- const segmentId = segmentMap.get(broadcast.segment_id);-- if (isDefined(segmentId)) {- data.segmentId = segmentId;- } else {- console.warn(- `[sync] broadcast ${broadcast.id}: segment ${broadcast.segment_id} not found in lookup map; leaving segmentId untouched`,- );- }- }-- const detail = detailByResendId.get(broadcast.id);-- if (isDefined(detail)) {- data.subject = detail.subject ?? '';- data.fromAddress = toEmailsField(detail.from);- data.replyTo = toEmailsField(detail.reply_to);- data.previewText = detail.preview_text ?? '';- data.htmlBody = detail.html ?? '';- data.textBody = detail.text ?? '';-- if (!isDefined(detail.topic_id)) {- data.topicId = null;- } else {- const topicId = topicMap.get(detail.topic_id);-- if (isDefined(topicId)) {- data.topicId = topicId;- } else {- console.warn(- `[sync] broadcast ${broadcast.id}: topic ${detail.topic_id} not found in lookup map; leaving topicId untouched`,- );- }- }- }-- return data;- },- client,- objectNameSingular: 'resendBroadcast',- objectNamePlural: 'resendBroadcasts',- });-- aggregate.fetched += pageOutcome.result.fetched;- aggregate.created += pageOutcome.result.created;- aggregate.updated += pageOutcome.result.updated;- aggregate.errors.push(...pageOutcome.result.errors);-- return { ok: pageOutcome.ok, errors: pageOutcome.result.errors };- },- 'broadcasts',- {- startCursor: resumeCursor,- onCursorAdvance,- ...(isDefined(options?.deadlineAtMs) && {- deadlineAtMs: options.deadlineAtMs,- }),- },- );-- return { value: undefined, completed };- },- );-- return { result: aggregate, value: undefined };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-contacts.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-contacts.tsdeleted file mode 100644index 31bca318569..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-contacts.ts+++ /dev/null@@ -1,210 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import type { ContactDto } from '@modules/resend/sync/types/contact.dto';-import type { SyncResult } from '@modules/resend/sync/types/sync-result';-import type { SyncStepResult } from '@modules/resend/sync/types/sync-step-result';-import { findPeopleByEmail } from '@modules/resend/shared/utils/find-people-by-email';-import { findTwentyIdsByResendId } from '@modules/resend/shared/utils/find-twenty-ids-by-resend-id';-import { forEachPage } from '@modules/resend/shared/utils/for-each-page';-import { getErrorMessage } from '@modules/resend/shared/utils/get-error-message';-import { toEmailsField } from '@modules/resend/shared/utils/to-emails-field';-import { toIsoString } from '@modules/resend/shared/utils/to-iso-string';-import { withRateLimitRetry } from '@modules/resend/shared/utils/with-rate-limit-retry';-import {- backfillResendEmailsFromContacts,- type ContactBackfillEntry,-} from '@modules/resend/sync/utils/backfill-resend-emails-from-contacts';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';-import { withSyncCursor } from '@modules/resend/sync/cursor/utils/with-sync-cursor';--type RawContact = {- id: string;- email: string;- first_name: string | null;- last_name: string | null;- unsubscribed: boolean;- created_at: string;-};--const toContactDto = (- contact: RawContact,- syncedAt: string,- personId: string | undefined,- segmentId: string | undefined,-): ContactDto => ({- email: toEmailsField(contact.email),- name: {- firstName: contact.first_name ?? '',- lastName: contact.last_name ?? '',- },- unsubscribed: contact.unsubscribed,- createdAt: toIsoString(contact.created_at),- lastSyncedFromResend: syncedAt,- ...(isDefined(personId) && { personId }),- ...(isDefined(segmentId) && { segmentId }),-});--const fetchFirstSegmentResendIdsForPage = async (- resend: Resend,- pageContacts: ReadonlyArray<RawContact>,- errors: string[],-): Promise<Map<string, string>> => {- const firstSegmentByContactId = new Map<string, string>();-- for (const contact of pageContacts) {- try {- const { data, error } = await withRateLimitRetry(- () =>- resend.contacts.segments.list({- contactId: contact.id,- limit: 1,- }),- { channel: 'contact-segments' },- );-- if (isDefined(error)) {- errors.push(- `resendContact ${contact.id} segments: ${JSON.stringify(error)}`,- );- continue;- }-- const firstSegmentId = data?.data?.[0]?.id;-- if (typeof firstSegmentId === 'string' && firstSegmentId.length > 0) {- firstSegmentByContactId.set(contact.id, firstSegmentId);- }- } catch (error) {- errors.push(- `resendContact ${contact.id} segments: ${getErrorMessage(error)}`,- );- }- }-- return firstSegmentByContactId;-};--export type SyncContactsOptions = {- deadlineAtMs?: number;-};--export const syncContacts = async (- resend: Resend,- client: CoreApiClient,- syncedAt: string,- options?: SyncContactsOptions,-): Promise<SyncStepResult> => {- const aggregate: SyncResult = {- fetched: 0,- created: 0,- updated: 0,- errors: [],- };-- await withSyncCursor(client, 'CONTACTS', async ({ resumeCursor, onCursorAdvance }) => {- const { completed } = await forEachPage(- (paginationParameters) => resend.contacts.list(paginationParameters),- async (pageContacts) => {- const firstSegmentByContactId = await fetchFirstSegmentResendIdsForPage(- resend,- pageContacts,- aggregate.errors,- );-- const uniqueSegmentResendIds = Array.from(- new Set(firstSegmentByContactId.values()),- );-- const [personIdByEmail, twentySegmentIdByResendId] = await Promise.all([- findPeopleByEmail(- client,- pageContacts.map((contact) => contact.email),- ),- uniqueSegmentResendIds.length > 0- ? findTwentyIdsByResendId(- client,- 'resendSegments',- uniqueSegmentResendIds,- )- : Promise.resolve(new Map<string, string>()),- ]);-- const resolvePersonId = (email: string): string | undefined =>- personIdByEmail.get(email.trim().toLowerCase());-- const resolveSegmentId = (contactId: string): string | undefined => {- const segmentResendId = firstSegmentByContactId.get(contactId);-- if (!isDefined(segmentResendId)) return undefined;-- return twentySegmentIdByResendId.get(segmentResendId);- };-- const pageOutcome = await upsertRecords({- items: pageContacts,- getId: (contact) => contact.id,- mapCreateData: (_detail, item) =>- toContactDto(- item,- syncedAt,- resolvePersonId(item.email),- resolveSegmentId(item.id),- ),- mapUpdateData: (_detail, item) =>- toContactDto(- item,- syncedAt,- resolvePersonId(item.email),- resolveSegmentId(item.id),- ),- client,- objectNameSingular: 'resendContact',- objectNamePlural: 'resendContacts',- });-- aggregate.fetched += pageOutcome.result.fetched;- aggregate.created += pageOutcome.result.created;- aggregate.updated += pageOutcome.result.updated;- aggregate.errors.push(...pageOutcome.result.errors);-- const entriesByEmail = new Map<string, ContactBackfillEntry>();-- for (const contact of pageContacts) {- const twentyContactId = pageOutcome.twentyIdByResendId.get(contact.id);-- if (!isDefined(twentyContactId)) continue;-- const personId = resolvePersonId(contact.email);-- entriesByEmail.set(contact.email.trim().toLowerCase(), {- contactId: twentyContactId,- ...(isDefined(personId) && { personId }),- });- }-- const emailBackfill = await backfillResendEmailsFromContacts(- client,- entriesByEmail,- );-- aggregate.errors.push(...emailBackfill.errors);-- return { ok: pageOutcome.ok, errors: pageOutcome.result.errors };- },- 'contacts',- {- startCursor: resumeCursor,- onCursorAdvance,- ...(isDefined(options?.deadlineAtMs) && {- deadlineAtMs: options.deadlineAtMs,- }),- },- );-- return { value: undefined, completed };- });-- return { result: aggregate, value: undefined };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-emails.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-emails.tsdeleted file mode 100644index 062206de2b0..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-emails.ts+++ /dev/null@@ -1,215 +0,0 @@-import { isDefined } from '@utils/is-defined';-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';--import { findPeopleByEmail } from '@modules/resend/shared/utils/find-people-by-email';-import { findResendContactsByEmail } from '@modules/resend/shared/utils/find-resend-contacts-by-email';-import { forEachPage } from '@modules/resend/shared/utils/for-each-page';-import { mapLastEvent } from '@modules/resend/shared/utils/map-last-event';-import { toEmailsField } from '@modules/resend/shared/utils/to-emails-field';-import {- toIsoString,- toIsoStringOrNull,-} from '@modules/resend/shared/utils/to-iso-string';-import { withSyncCursor } from '@modules/resend/sync/cursor/utils/with-sync-cursor';-import type { CreateEmailDto } from '@modules/resend/sync/types/create-email.dto';-import type { SyncResult } from '@modules/resend/sync/types/sync-result';-import type { SyncStepResult } from '@modules/resend/sync/types/sync-step-result';-import type { UpdateEmailDto } from '@modules/resend/sync/types/update-email.dto';-import { backfillResendContactPersonId } from '@modules/resend/sync/utils/backfill-resend-contact-person-id';-import { findRecentSentBroadcasts } from '@modules/resend/sync/utils/find-recent-sent-broadcasts';-import {- BROADCAST_EMAIL_MATCH_WINDOW_MS,- resolveBroadcastIdForEmail,-} from '@modules/resend/sync/utils/resolve-broadcast-id-for-email';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';--export type SyncEmailsOptions = {- stopBeforeCreatedAtMs?: number;- resumable?: boolean;- deadlineAtMs?: number;-};--export const syncEmails = async (- resend: Resend,- client: CoreApiClient,- syncedAt: string,- options?: SyncEmailsOptions,-): Promise<SyncStepResult> => {- const aggregate: SyncResult = {- fetched: 0,- created: 0,- updated: 0,- errors: [],- };-- const resumable = options?.resumable ?? true;- const stopBeforeCreatedAtMs = options?.stopBeforeCreatedAtMs;- const cutoffTimestampMs = isDefined(stopBeforeCreatedAtMs)- ? Date.now() - stopBeforeCreatedAtMs- : undefined;-- const broadcastSinceIso = isDefined(cutoffTimestampMs)- ? new Date(cutoffTimestampMs - BROADCAST_EMAIL_MATCH_WINDOW_MS).toISOString()- : new Date(0).toISOString();- const sortedBroadcasts = await findRecentSentBroadcasts(client, {- sinceIso: broadcastSinceIso,- });-- await withSyncCursor(- client,- 'EMAILS',- async ({ resumeCursor, onCursorAdvance }) => {- const { completed } = await forEachPage(- (paginationParameters) => resend.emails.list(paginationParameters),- async (pageEmails) => {- const primaryToByEmail = new Map<string, string>();-- for (const email of pageEmails) {- const primaryTo = Array.isArray(email.to) ? email.to[0] : email.to;-- if (typeof primaryTo === 'string' && primaryTo.length > 0) {- primaryToByEmail.set(email.id, primaryTo);- }- }-- const primaryEmails = Array.from(primaryToByEmail.values());-- const [personIdByEmail, contactByEmail] = await Promise.all([- findPeopleByEmail(client, primaryEmails),- findResendContactsByEmail(client, primaryEmails),- ]);-- const resolvePersonId = (resendEmailId: string): string | undefined => {- const primaryTo = primaryToByEmail.get(resendEmailId);-- if (!isDefined(primaryTo)) return undefined;-- return personIdByEmail.get(primaryTo.trim().toLowerCase());- };-- const resolveContactId = (- resendEmailId: string,- ): string | undefined => {- const primaryTo = primaryToByEmail.get(resendEmailId);-- if (!isDefined(primaryTo)) return undefined;-- return contactByEmail.get(primaryTo.trim().toLowerCase())?.id;- };-- const resolveBroadcastId = (createdAt: string): string | undefined =>- resolveBroadcastIdForEmail(- new Date(createdAt).getTime(),- sortedBroadcasts,- );-- const pageOutcome = await upsertRecords({- items: pageEmails,- getId: (email) => email.id,- mapCreateData: (_detail, email): CreateEmailDto => {- const mappedLastEvent = mapLastEvent(email.last_event);- const personId = resolvePersonId(email.id);- const contactId = resolveContactId(email.id);- const broadcastId = resolveBroadcastId(email.created_at);-- return {- subject: email.subject,- fromAddress: toEmailsField(email.from),- toAddresses: toEmailsField(email.to),- ccAddresses: toEmailsField(email.cc),- bccAddresses: toEmailsField(email.bcc),- replyToAddresses: toEmailsField(email.reply_to),- ...(isDefined(mappedLastEvent) && {- lastEvent: mappedLastEvent,- }),- createdAt: toIsoString(email.created_at),- scheduledAt: toIsoStringOrNull(email.scheduled_at),- lastSyncedFromResend: syncedAt,- ...(isDefined(personId) && { personId }),- ...(isDefined(contactId) && { contactId }),- ...(isDefined(broadcastId) && { broadcastId }),- };- },- mapUpdateData: (_detail, email): UpdateEmailDto => {- const mappedLastEvent = mapLastEvent(email.last_event);- const personId = resolvePersonId(email.id);- const contactId = resolveContactId(email.id);- const broadcastId = resolveBroadcastId(email.created_at);-- return {- subject: email.subject,- fromAddress: toEmailsField(email.from),- toAddresses: toEmailsField(email.to),- ccAddresses: toEmailsField(email.cc),- bccAddresses: toEmailsField(email.bcc),- replyToAddresses: toEmailsField(email.reply_to),- ...(isDefined(mappedLastEvent) && {- lastEvent: mappedLastEvent,- }),- scheduledAt: toIsoStringOrNull(email.scheduled_at),- lastSyncedFromResend: syncedAt,- ...(isDefined(personId) && { personId }),- ...(isDefined(contactId) && { contactId }),- ...(isDefined(broadcastId) && { broadcastId }),- };- },- client,- objectNameSingular: 'resendEmail',- objectNamePlural: 'resendEmails',- });-- aggregate.fetched += pageOutcome.result.fetched;- aggregate.created += pageOutcome.result.created;- aggregate.updated += pageOutcome.result.updated;- aggregate.errors.push(...pageOutcome.result.errors);-- const personBackfillForContacts = new Map<string, string>();-- for (const [normalizedEmail, contact] of contactByEmail) {- if (isDefined(contact.personId)) continue;-- const personId = personIdByEmail.get(normalizedEmail);-- if (isDefined(personId)) {- personBackfillForContacts.set(normalizedEmail, personId);- }- }-- const contactBackfill = await backfillResendContactPersonId(- client,- personBackfillForContacts,- );-- aggregate.errors.push(...contactBackfill.errors);-- const reachedCutoff =- isDefined(cutoffTimestampMs) &&- pageEmails.some(- (email) =>- new Date(email.created_at).getTime() < cutoffTimestampMs,- );-- return {- ok: pageOutcome.ok,- stop: reachedCutoff,- errors: pageOutcome.result.errors,- };- },- 'emails',- {- startCursor: resumable ? resumeCursor : undefined,- ...(resumable && { onCursorAdvance }),- ...(isDefined(options?.deadlineAtMs) && {- deadlineAtMs: options.deadlineAtMs,- }),- },- );-- return { value: undefined, completed: resumable ? completed : true };- },- { preserveCursor: !resumable },- );-- return { result: aggregate, value: undefined };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-segments.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-segments.tsdeleted file mode 100644index c682c3ab383..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-segments.ts+++ /dev/null@@ -1,85 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import type { SegmentDto } from '@modules/resend/sync/types/segment.dto';-import type { SyncResult } from '@modules/resend/sync/types/sync-result';-import type { SyncStepResult } from '@modules/resend/sync/types/sync-step-result';-import { forEachPage } from '@modules/resend/shared/utils/for-each-page';-import { toIsoString } from '@modules/resend/shared/utils/to-iso-string';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';-import { withSyncCursor } from '@modules/resend/sync/cursor/utils/with-sync-cursor';--export type SegmentIdMap = Map<string, string>;--type RawSegment = {- id: string;- name: string;- created_at: string;-};--const toSegmentDto = (segment: RawSegment, syncedAt: string): SegmentDto => ({- name: segment.name,- createdAt: toIsoString(segment.created_at),- lastSyncedFromResend: syncedAt,-});--export type SyncSegmentsOptions = {- deadlineAtMs?: number;-};--export const syncSegments = async (- resend: Resend,- client: CoreApiClient,- syncedAt: string,- options?: SyncSegmentsOptions,-): Promise<SyncStepResult<SegmentIdMap>> => {- const aggregate: SyncResult = {- fetched: 0,- created: 0,- updated: 0,- errors: [],- };-- const segmentIdMap: SegmentIdMap = new Map();-- await withSyncCursor(client, 'SEGMENTS', async ({ resumeCursor, onCursorAdvance }) => {- const { completed } = await forEachPage(- (paginationParameters) => resend.segments.list(paginationParameters),- async (pageSegments) => {- const pageOutcome = await upsertRecords({- items: pageSegments,- getId: (segment) => segment.id,- mapCreateData: (_detail, item) => toSegmentDto(item, syncedAt),- mapUpdateData: (_detail, item) => toSegmentDto(item, syncedAt),- client,- objectNameSingular: 'resendSegment',- objectNamePlural: 'resendSegments',- });-- aggregate.fetched += pageOutcome.result.fetched;- aggregate.created += pageOutcome.result.created;- aggregate.updated += pageOutcome.result.updated;- aggregate.errors.push(...pageOutcome.result.errors);-- for (const [resendId, twentyId] of pageOutcome.twentyIdByResendId) {- segmentIdMap.set(resendId, twentyId);- }-- return { ok: pageOutcome.ok, errors: pageOutcome.result.errors };- },- 'segments',- {- startCursor: resumeCursor,- onCursorAdvance,- ...(isDefined(options?.deadlineAtMs) && {- deadlineAtMs: options.deadlineAtMs,- }),- },- );-- return { value: undefined, completed };- });-- return { result: aggregate, value: segmentIdMap };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-templates.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-templates.tsdeleted file mode 100644index c023f5c22c0..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-templates.ts+++ /dev/null@@ -1,152 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { forEachPage } from '@modules/resend/shared/utils/for-each-page';-import { getErrorMessage } from '@modules/resend/shared/utils/get-error-message';-import { toEmailsField } from '@modules/resend/shared/utils/to-emails-field';-import {- toIsoString,- toIsoStringOrNull,-} from '@modules/resend/shared/utils/to-iso-string';-import { withRateLimitRetry } from '@modules/resend/shared/utils/with-rate-limit-retry';-import { withSyncCursor } from '@modules/resend/sync/cursor/utils/with-sync-cursor';-import type { CreateTemplateDto } from '@modules/resend/sync/types/create-template.dto';-import type { SyncResult } from '@modules/resend/sync/types/sync-result';-import type { SyncStepResult } from '@modules/resend/sync/types/sync-step-result';-import type { UpdateTemplateDto } from '@modules/resend/sync/types/update-template.dto';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';--type TemplateDetail = Awaited<- ReturnType<Resend['templates']['get']>->['data'];--const fetchTemplateDetailsForPage = async (- resend: Resend,- pageTemplates: ReadonlyArray<{ id: string }>,- errors: string[],-): Promise<Map<string, NonNullable<TemplateDetail>>> => {- const detailByResendId = new Map<string, NonNullable<TemplateDetail>>();-- for (const template of pageTemplates) {- try {- const { data: detail, error } = await withRateLimitRetry(- () => resend.templates.get(template.id),- { channel: 'templates-detail' },- );-- if (isDefined(error) || !isDefined(detail)) {- errors.push(- `resendTemplate ${template.id} detail: ${JSON.stringify(error)}`,- );- continue;- }-- detailByResendId.set(template.id, detail);- } catch (error) {- errors.push(- `resendTemplate ${template.id} detail: ${getErrorMessage(error)}`,- );- }- }-- return detailByResendId;-};--export type SyncTemplatesOptions = {- deadlineAtMs?: number;-};--export const syncTemplates = async (- resend: Resend,- client: CoreApiClient,- options?: SyncTemplatesOptions,-): Promise<SyncStepResult> => {- const aggregate: SyncResult = {- fetched: 0,- created: 0,- updated: 0,- errors: [],- };-- await withSyncCursor(- client,- 'TEMPLATES',- async ({ resumeCursor, onCursorAdvance }) => {- const { completed } = await forEachPage(- (paginationParameters) => resend.templates.list(paginationParameters),- async (pageTemplates) => {- const detailByResendId = await fetchTemplateDetailsForPage(- resend,- pageTemplates,- aggregate.errors,- );-- const pageOutcome = await upsertRecords({- items: pageTemplates,- getId: (template) => template.id,- mapCreateData: (_detail, template): CreateTemplateDto => {- const detail = detailByResendId.get(template.id);-- return {- name: template.name,- alias: template.alias ?? '',- status: template.status.toUpperCase(),- createdAt: toIsoString(template.created_at),- resendUpdatedAt: toIsoString(template.updated_at),- publishedAt: toIsoStringOrNull(template.published_at),- ...(isDefined(detail) && {- fromAddress: toEmailsField(detail.from),- subject: detail.subject ?? '',- replyTo: toEmailsField(detail.reply_to),- htmlBody: detail.html ?? '',- textBody: detail.text ?? '',- }),- };- },- mapUpdateData: (_detail, template): UpdateTemplateDto => {- const detail = detailByResendId.get(template.id);-- return {- name: template.name,- alias: template.alias ?? '',- status: template.status.toUpperCase(),- resendUpdatedAt: toIsoString(template.updated_at),- publishedAt: toIsoStringOrNull(template.published_at),- ...(isDefined(detail) && {- fromAddress: toEmailsField(detail.from),- subject: detail.subject ?? '',- replyTo: toEmailsField(detail.reply_to),- htmlBody: detail.html ?? '',- textBody: detail.text ?? '',- }),- };- },- client,- objectNameSingular: 'resendTemplate',- objectNamePlural: 'resendTemplates',- });-- aggregate.fetched += pageOutcome.result.fetched;- aggregate.created += pageOutcome.result.created;- aggregate.updated += pageOutcome.result.updated;- aggregate.errors.push(...pageOutcome.result.errors);-- return { ok: pageOutcome.ok, errors: pageOutcome.result.errors };- },- 'templates',- {- startCursor: resumeCursor,- onCursorAdvance,- ...(isDefined(options?.deadlineAtMs) && {- deadlineAtMs: options.deadlineAtMs,- }),- },- );-- return { value: undefined, completed };- },- );-- return { result: aggregate, value: undefined };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-topics.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-topics.tsdeleted file mode 100644index 7a4aa8f1a11..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/sync-topics.ts+++ /dev/null@@ -1,105 +0,0 @@-import type { Resend } from 'resend';-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { withRateLimitRetry } from '@modules/resend/shared/utils/with-rate-limit-retry';-import { withSyncCursor } from '@modules/resend/sync/cursor/utils/with-sync-cursor';-import type { SyncResult } from '@modules/resend/sync/types/sync-result';-import type { SyncStepResult } from '@modules/resend/sync/types/sync-step-result';-import type { TopicDto } from '@modules/resend/sync/types/topic.dto';-import { toIsoString } from '@modules/resend/shared/utils/to-iso-string';-import { upsertRecords } from '@modules/resend/sync/utils/upsert-records';--export type TopicIdMap = Map<string, string>;--type RawTopic = {- id: string;- name: string;- description?: string | null;- default_subscription: string;- visibility?: string;- created_at: string;-};--const toTopicDto = (topic: RawTopic, syncedAt: string): TopicDto => ({- name: topic.name,- description: topic.description ?? '',- defaultSubscription: topic.default_subscription.toUpperCase(),- visibility: (topic.visibility ?? 'public').toUpperCase(),- createdAt: toIsoString(topic.created_at),- lastSyncedFromResend: syncedAt,-});--export type SyncTopicsOptions = {- deadlineAtMs?: number;-};--export const syncTopics = async (- resend: Resend,- client: CoreApiClient,- syncedAt: string,- _options?: SyncTopicsOptions,-): Promise<SyncStepResult<TopicIdMap>> => {- const aggregate: SyncResult = {- fetched: 0,- created: 0,- updated: 0,- errors: [],- };-- const topicIdMap: TopicIdMap = new Map();-- await withSyncCursor(client, 'TOPICS', async () => {- const response = await withRateLimitRetry(() => resend.topics.list(), {- channel: 'topics',- });-- if (isDefined(response.error)) {- throw new Error(- `Resend list[topics] failed: ${JSON.stringify(response.error)}`,- );- }-- const topics = (response.data?.data ?? []) as RawTopic[];-- if (topics.length === 0) {- return { value: undefined, completed: true };- }-- console.log(`[resend] fetched topics page 1 (size=${topics.length})`);-- const pageOutcome = await upsertRecords({- items: topics,- getId: (topic) => topic.id,- mapCreateData: (_detail, item) => toTopicDto(item, syncedAt),- mapUpdateData: (_detail, item) => toTopicDto(item, syncedAt),- client,- objectNameSingular: 'resendTopic',- objectNamePlural: 'resendTopics',- });-- aggregate.fetched += pageOutcome.result.fetched;- aggregate.created += pageOutcome.result.created;- aggregate.updated += pageOutcome.result.updated;- aggregate.errors.push(...pageOutcome.result.errors);-- for (const [resendId, twentyId] of pageOutcome.twentyIdByResendId) {- topicIdMap.set(resendId, twentyId);- }-- if (!pageOutcome.ok) {- const detail =- pageOutcome.result.errors.length > 0- ? ` failures: ${pageOutcome.result.errors.join(' | ')}`- : '';-- throw new Error(- `Resend topics page reported per-item failures; aborting.${detail}`,- );- }-- return { value: undefined, completed: true };- });-- return { result: aggregate, value: topicIdMap };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/upsert-record.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/upsert-record.tsdeleted file mode 100644index f5533b4b4d7..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/upsert-record.ts+++ /dev/null@@ -1,52 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { isDefined } from '@utils/is-defined';--import { capitalize } from '@modules/resend/shared/utils/capitalize';-import { extractMutationRecord } from '@modules/resend/shared/utils/typed-client';--export const upsertRecord = async (- client: CoreApiClient,- objectNameSingular: string,- existingMap: Map<string, string>,- resendId: string,- data: Record<string, unknown>,-): Promise<'created' | 'updated'> => {- const existingTwentyId = existingMap.get(resendId);-- const createMutationName = `create${capitalize(objectNameSingular)}`;- const updateMutationName = `update${capitalize(objectNameSingular)}`;-- if (isDefined(existingTwentyId)) {- await client.mutation({- [updateMutationName]: {- __args: {- id: existingTwentyId,- data,- },- id: true,- },- });-- return 'updated';- }-- const createResult = await client.mutation({- [createMutationName]: {- __args: {- data: { ...data, resendId },- },- id: true,- },- });-- const created = extractMutationRecord<{ id: string }>(- createResult,- createMutationName,- );-- if (isDefined(created)) {- existingMap.set(resendId, created.id);- }-- return 'created';-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/upsert-records.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/upsert-records.tsdeleted file mode 100644index 3ac99adc7fd..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/sync/utils/upsert-records.ts+++ /dev/null@@ -1,84 +0,0 @@-import type { SyncResult } from '@modules/resend/sync/types/sync-result';-import type { UpsertRecordsOptions } from '@modules/resend/sync/types/upsert-records-options';-import { fetchExistingTwentyIdsByResendIds } from '@modules/resend/sync/utils/fetch-existing-twenty-ids';-import { getErrorMessage } from '@modules/resend/shared/utils/get-error-message';-import { upsertRecord } from '@modules/resend/sync/utils/upsert-record';--export type UpsertRecordsPageOutcome = {- result: SyncResult;- ok: boolean;- twentyIdByResendId: Map<string, string>;-};--export const upsertRecords = async <- TListItem,- TCreateDto extends Record<string, unknown> = Record<string, unknown>,- TUpdateDto extends Record<string, unknown> = Record<string, unknown>,->(- options: UpsertRecordsOptions<TListItem, TCreateDto, TUpdateDto>,-): Promise<UpsertRecordsPageOutcome> => {- const {- items,- getId,- mapCreateData,- mapUpdateData,- client,- objectNameSingular,- objectNamePlural,- } = options;-- const result: SyncResult = {- fetched: items.length,- created: 0,- updated: 0,- errors: [],- };-- const resendIds = items.map(getId);-- const twentyIdByResendId = await fetchExistingTwentyIdsByResendIds(- client,- objectNamePlural,- resendIds,- );-- for (const item of items) {- const resendId = getId(item);-- try {- const isNew = !twentyIdByResendId.has(resendId);-- if (isNew) {- const data = mapCreateData(item, item);- await upsertRecord(- client,- objectNameSingular,- twentyIdByResendId,- resendId,- data,- );- result.created++;- } else {- const data = mapUpdateData(item, item);- await upsertRecord(- client,- objectNameSingular,- twentyIdByResendId,- resendId,- data,- );- result.updated++;- }- } catch (error) {- const message = getErrorMessage(error);-- result.errors.push(`${objectNameSingular} ${resendId}: ${message}`);- }- }-- return {- result,- ok: result.errors.length === 0,- twentyIdByResendId,- };-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/logic-functions/__tests__/resend-webhook.test.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/logic-functions/__tests__/resend-webhook.test.tsdeleted file mode 100644index 516a96fdbbc..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/logic-functions/__tests__/resend-webhook.test.ts+++ /dev/null@@ -1,143 +0,0 @@-import { type CoreApiClient } from 'twenty-client-sdk/core';-import { beforeEach, describe, expect, it, vi } from 'vitest';--vi.mock('@modules/resend/shared/utils/find-or-create-person', () => ({- findOrCreatePerson: vi.fn(),-}));--vi.mock('@modules/resend/shared/utils/find-record-by-resend-id', () => ({- findRecordByResendId: vi.fn(),-}));--vi.mock('@modules/resend/shared/utils/find-twenty-ids-by-resend-id', () => ({- findTwentyIdsByResendId: vi.fn(),-}));--import { findOrCreatePerson } from '@modules/resend/shared/utils/find-or-create-person';-import { findRecordByResendId } from '@modules/resend/shared/utils/find-record-by-resend-id';-import { findTwentyIdsByResendId } from '@modules/resend/shared/utils/find-twenty-ids-by-resend-id';-import { handleContactCreatedOrUpdated } from '@modules/resend/webhooks/logic-functions/resend-webhook';--const mockFindOrCreatePerson = findOrCreatePerson as unknown as ReturnType<- typeof vi.fn->;-const mockFindRecordByResendId = findRecordByResendId as unknown as ReturnType<- typeof vi.fn->;-const mockFindTwentyIdsByResendId =- findTwentyIdsByResendId as unknown as ReturnType<typeof vi.fn>;--type MutationMock = ReturnType<typeof vi.fn>;--const buildClient = (mutation: MutationMock): CoreApiClient =>- ({- mutation,- }) as unknown as CoreApiClient;--const baseContactEvent = {- id: 'resend-contact-1',- email: '[email protected]',- first_name: 'Foo',- last_name: 'Bar',- unsubscribed: false,- segment_ids: [] as string[],- created_at: '2026-01-01T00:00:00Z',- updated_at: '2026-01-01T00:00:00Z',-};--describe('handleContactCreatedOrUpdated (webhook)', () => {- beforeEach(() => {- vi.clearAllMocks();- mockFindOrCreatePerson.mockResolvedValue('twenty-person-1');- });-- it('resolves the first segment_ids entry to a Twenty segment id and inlines it on create', async () => {- mockFindRecordByResendId.mockResolvedValue(undefined);- mockFindTwentyIdsByResendId.mockResolvedValue(- new Map([['resend-segment-1', 'twenty-segment-1']]),- );-- const mutation = vi.fn(async () => ({- createResendContact: { id: 'twenty-contact-1' },- }));-- const result = await handleContactCreatedOrUpdated(buildClient(mutation), {- ...baseContactEvent,- segment_ids: ['resend-segment-1', 'resend-segment-2'],- });-- expect(mockFindTwentyIdsByResendId).toHaveBeenCalledWith(- expect.anything(),- 'resendSegments',- ['resend-segment-1'],- );-- expect(mutation).toHaveBeenCalledTimes(1);-- const args = (- mutation.mock.calls[0] as unknown as Array<{- createResendContact: { __args: { data: Record<string, unknown> } };- }>- )[0].createResendContact.__args;-- expect(args.data.segmentId).toBe('twenty-segment-1');- expect(args.data.personId).toBe('twenty-person-1');- expect(args.data.resendId).toBe('resend-contact-1');- expect(args.data.email).toEqual({- primaryEmail: '[email protected]',- additionalEmails: null,- });-- expect(result).toEqual({- action: 'created',- twentyId: 'twenty-contact-1',- resendId: 'resend-contact-1',- personId: 'twenty-person-1',- });- });-- it('omits segmentId when the first segment is not yet known to Twenty', async () => {- mockFindRecordByResendId.mockResolvedValue(undefined);- mockFindTwentyIdsByResendId.mockResolvedValue(new Map());-- const mutation = vi.fn(async () => ({- createResendContact: { id: 'twenty-contact-1' },- }));-- await handleContactCreatedOrUpdated(buildClient(mutation), {- ...baseContactEvent,- segment_ids: ['unknown-segment'],- });-- const args = (- mutation.mock.calls[0] as unknown as Array<{- createResendContact: { __args: { data: Record<string, unknown> } };- }>- )[0].createResendContact.__args;-- expect(args.data.segmentId).toBeUndefined();- });-- it('does not look up segments when segment_ids is empty and inlines segmentId on update', async () => {- mockFindRecordByResendId.mockResolvedValue('twenty-contact-existing');-- const mutation = vi.fn(async () => ({- updateResendContact: { id: 'twenty-contact-existing' },- }));-- await handleContactCreatedOrUpdated(buildClient(mutation), {- ...baseContactEvent,- segment_ids: [],- });-- expect(mockFindTwentyIdsByResendId).not.toHaveBeenCalled();-- const args = (- mutation.mock.calls[0] as unknown as Array<{- updateResendContact: { __args: { data: Record<string, unknown> } };- }>- )[0].updateResendContact.__args;-- expect(args.data.segmentId).toBeUndefined();- });-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/logic-functions/resend-webhook.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/logic-functions/resend-webhook.tsdeleted file mode 100644index 7701e296bc0..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/logic-functions/resend-webhook.ts+++ /dev/null@@ -1,293 +0,0 @@-import { isNonEmptyString } from '@sniptt/guards';-import { CoreApiClient } from 'twenty-client-sdk/core';-import { defineLogicFunction, type RoutePayload } from 'twenty-sdk/define';-import { isDefined } from '@utils/is-defined';--import { RESEND_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER } from '@modules/resend/constants/universal-identifiers';-import type { WebhookHandlerResult } from '@modules/resend/webhooks/types/webhook-handler-result';-import { findOrCreatePerson } from '@modules/resend/shared/utils/find-or-create-person';-import { findRecordByResendId } from '@modules/resend/shared/utils/find-record-by-resend-id';-import { findTwentyIdsByResendId } from '@modules/resend/shared/utils/find-twenty-ids-by-resend-id';-import { getResendClient } from '@modules/resend/shared/utils/get-resend-client';-import { mapLastEvent } from '@modules/resend/shared/utils/map-last-event';-import { toEmailsField } from '@modules/resend/shared/utils/to-emails-field';--type ContactEventData = {- id: string;- email: string;- first_name?: string;- last_name?: string;- unsubscribed: boolean;- segment_ids: string[];- created_at: string;- updated_at: string;-};--type BaseEmailEventData = {- email_id: string;- from: string;- to: string[];- subject: string;- created_at: string;- broadcast_id?: string;- template_id?: string;-};--type WebhookPayload = {- type: string;- created_at: string;- data: ContactEventData | BaseEmailEventData | Record<string, unknown>;-};--export const handleContactCreatedOrUpdated = async (- client: CoreApiClient,- data: ContactEventData,-): Promise<WebhookHandlerResult> => {- const existingId = await findRecordByResendId(- client,- 'resendContacts',- data.id,- );-- const personId = await findOrCreatePerson(client, data.email, {- firstName: data.first_name ?? '',- lastName: data.last_name ?? '',- });-- const firstSegmentResendId = Array.isArray(data.segment_ids)- ? data.segment_ids.find(- (id): id is string => typeof id === 'string' && id.length > 0,- )- : undefined;-- let segmentId: string | undefined;-- if (isDefined(firstSegmentResendId)) {- const segmentIdMap = await findTwentyIdsByResendId(- client,- 'resendSegments',- [firstSegmentResendId],- );-- segmentId = segmentIdMap.get(firstSegmentResendId);- }-- const contactData: Record<string, unknown> = {- email: toEmailsField(data.email),- name: {- firstName: data.first_name ?? '',- lastName: data.last_name ?? '',- },- unsubscribed: data.unsubscribed,- lastSyncedFromResend: new Date().toISOString(),- ...(isDefined(personId) && { personId }),- ...(isDefined(segmentId) && { segmentId }),- };-- if (isDefined(existingId)) {- await client.mutation({- updateResendContact: {- __args: { id: existingId, data: contactData },- id: true,- },- });-- return { action: 'updated', twentyId: existingId, resendId: data.id, personId };- }-- const createResult = await client.mutation({- createResendContact: {- __args: {- data: {- ...contactData,- resendId: data.id,- createdAt: data.created_at,- },- },- id: true,- },- });-- return {- action: 'created',- twentyId: createResult.createResendContact?.id,- resendId: data.id,- personId,- };-};--const handleContactDeleted = async (- client: CoreApiClient,- data: ContactEventData,-): Promise<WebhookHandlerResult> => {- const existingId = await findRecordByResendId(- client,- 'resendContacts',- data.id,- );-- if (!isDefined(existingId)) {- return { skipped: true, reason: 'contact not found in Twenty' };- }-- await client.mutation({- deleteResendContact: {- __args: { id: existingId },- id: true,- },- });-- return { action: 'deleted', twentyId: existingId, resendId: data.id };-};--const handleEmailEvent = async (- client: CoreApiClient,- eventType: string,- data: BaseEmailEventData,-): Promise<WebhookHandlerResult> => {- const existingId = await findRecordByResendId(- client,- 'resendEmails',- data.email_id,- );-- if (!isDefined(existingId)) {- return {- skipped: true,- reason: `email ${data.email_id} not found in Twenty`,- };- }-- const lastEvent = mapLastEvent(eventType);-- if (!isDefined(lastEvent)) {- return {- skipped: true,- reason: `unknown email event type: ${eventType}`,- };- }-- await client.mutation({- updateResendEmail: {- __args: {- id: existingId,- data: {- lastEvent,- lastSyncedFromResend: new Date().toISOString(),- },- },- id: true,- },- });-- return {- action: 'updated',- twentyId: existingId,- resendId: data.email_id,- lastEvent,- };-};--const handler = async (- routePayload: RoutePayload<WebhookPayload>,-): Promise<WebhookHandlerResult> => {- const webhookSecret = process.env.RESEND_WEBHOOK_SECRET;-- if (!isNonEmptyString(webhookSecret)) {- throw new Error('RESEND_WEBHOOK_SECRET environment variable is not set');- }-- const svixId = routePayload.headers['svix-id'];- const svixTimestamp = routePayload.headers['svix-timestamp'];- const svixSignature = routePayload.headers['svix-signature'];-- if (- !isDefined(svixId) ||- !isDefined(svixTimestamp) ||- !isDefined(svixSignature)- ) {- return { error: 'Missing webhook signature headers' };- }-- const resendClient = getResendClient();-- let event;- try {- event = resendClient.webhooks.verify({- payload: JSON.stringify(routePayload.body),- headers: {- id: svixId,- timestamp: svixTimestamp,- signature: svixSignature,- },- webhookSecret,- });- } catch (error) {- console.error('[webhook] Resend signature verification failed', error);-- return { error: 'Invalid webhook signature' };- }-- const client = new CoreApiClient();- const eventType = event.type;-- switch (eventType) {- case 'contact.created':- case 'contact.updated':- return handleContactCreatedOrUpdated(- client,- event.data as ContactEventData,- );-- case 'contact.deleted':- return handleContactDeleted(client, event.data as ContactEventData);-- case 'email.sent':- case 'email.scheduled':- case 'email.delivered':- case 'email.delivery_delayed':- case 'email.complained':- case 'email.bounced':- case 'email.opened':- case 'email.clicked':- case 'email.received':- case 'email.failed':- case 'email.suppressed':- return handleEmailEvent(- client,- eventType,- event.data as BaseEmailEventData,- );-- case 'domain.created':- case 'domain.updated':- case 'domain.deleted':- console.log(`[webhook] Domain event ${eventType} received, skipping`);-- return { skipped: true, reason: 'domain events not yet handled' };-- default:- console.log(`[webhook] Unknown event type: ${eventType}`);-- return { skipped: true, reason: `unknown event type: ${eventType}` };- }-};--export default defineLogicFunction({- universalIdentifier: RESEND_WEBHOOK_LOGIC_FUNCTION_UNIVERSAL_IDENTIFIER,- name: 'resend-webhook',- description:- 'Receives Resend webhook events for real-time inbound sync of contacts and email delivery status',- timeoutSeconds: 30,- handler,- httpRouteTriggerSettings: {- path: '/webhook/resend',- httpMethod: 'POST',- isAuthRequired: false,- forwardedRequestHeaders: [- 'svix-id',- 'svix-timestamp',- 'svix-signature',- ],- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/types/webhook-handler-result.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/types/webhook-handler-result.tsdeleted file mode 100644index 5fc5d0c4765..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/modules/resend/webhooks/types/webhook-handler-result.ts+++ /dev/null@@ -1,21 +0,0 @@-type WebhookSkippedResult = {- skipped: true;- reason: string;-};--type WebhookErrorResult = {- error: string;-};--type WebhookSyncedResult = {- action: 'created' | 'updated' | 'deleted';- twentyId?: string;- resendId: string;- personId?: string;- lastEvent?: string;-};--export type WebhookHandlerResult =- | WebhookSkippedResult- | WebhookErrorResult- | WebhookSyncedResult;diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/Callout.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/ui/Callout.tsxdeleted file mode 100644index 820b604c9aa..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/Callout.tsx+++ /dev/null@@ -1,140 +0,0 @@-import { IconHelp, type IconComponent } from '@ui/icons';--// Inline reimplementation of twenty-ui's `Callout`, styled with the Twenty-// theme's `--t-*` CSS variables (injected by the front-component host). Only-// the subset the app uses is kept: variant, title, description and Icon.-export type CalloutVariant =- | 'info'- | 'warning'- | 'error'- | 'neutral'- | 'success';--type CalloutVariantColors = {- background: string;- border: string;- icon: string;-};--const VARIANT_COLORS: Record<CalloutVariant, CalloutVariantColors> = {- info: {- background: 'var(--t-accent-accent1)',- border: 'var(--t-accent-accent6)',- icon: 'var(--t-accent-accent9)',- },- warning: {- background: 'var(--t-color-orange1)',- border: 'var(--t-color-orange6)',- icon: 'var(--t-color-orange9)',- },- success: {- background: 'var(--t-color-turquoise1)',- border: 'var(--t-color-turquoise6)',- icon: 'var(--t-color-turquoise9)',- },- error: {- background: 'var(--t-color-red1)',- border: 'var(--t-color-red6)',- icon: 'var(--t-color-red9)',- },- neutral: {- background: 'var(--t-color-gray1)',- border: 'var(--t-color-gray6)',- icon: 'var(--t-color-gray9)',- },-};--export type CalloutProps = {- variant: CalloutVariant;- title: string;- description: string;- Icon?: IconComponent;-};--export const Callout = ({- variant,- title,- description,- Icon = IconHelp,-}: CalloutProps) => {- const colors = VARIANT_COLORS[variant];-- return (- <div- style={{- boxSizing: 'border-box',- display: 'flex',- flexDirection: 'column',- alignItems: 'flex-start',- gap: 'var(--t-spacing-2)',- width: '100%',- maxWidth: '512px',- padding: 'var(--t-spacing-3) var(--t-spacing-3) var(--t-spacing-2)',- border: `1px solid ${colors.border}`,- borderRadius: 'var(--t-border-radius-md)',- background: colors.background,- fontFamily: 'var(--t-font-family)',- }}- >- <div- style={{- display: 'flex',- flexDirection: 'row',- alignItems: 'center',- alignSelf: 'stretch',- gap: 'var(--t-spacing-2)',- minHeight: 'var(--t-spacing-6)',- }}- >- <div- style={{- display: 'flex',- alignItems: 'center',- justifyContent: 'center',- flexShrink: 0,- height: 'var(--t-spacing-4)',- width: 'var(--t-spacing-4)',- color: colors.icon,- }}- >- <Icon size={16} />- </div>- <div- style={{- flex: 1,- color: 'var(--t-font-color-primary)',- fontSize: 'var(--t-font-size-md)',- fontWeight: 'var(--t-font-weight-medium)' as React.CSSProperties['fontWeight'],- lineHeight: 1.4,- overflow: 'hidden',- textOverflow: 'ellipsis',- whiteSpace: 'nowrap',- }}- >- {title}- </div>- </div>- <div- style={{- display: 'flex',- alignItems: 'center',- alignSelf: 'stretch',- paddingLeft: 'var(--t-spacing-6)',- paddingBottom: 'var(--t-spacing-2)',- }}- >- <div- style={{- flex: 1,- color: 'var(--t-font-color-tertiary)',- fontSize: 'var(--t-font-size-sm)',- fontWeight: 'var(--t-font-weight-regular)' as React.CSSProperties['fontWeight'],- lineHeight: 1.4,- }}- >- {description}- </div>- </div>- </div>- );-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/H2Title.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/ui/H2Title.tsxdeleted file mode 100644index a10f83117d7..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/H2Title.tsx+++ /dev/null@@ -1,39 +0,0 @@-// Inline reimplementation of twenty-ui's `H2Title` (title-only usage), styled-// with the Twenty theme's `--t-*` CSS variables. The `margin-bottom` is kept-// identical to twenty-ui so the callers' negative-margin layout hack still lines up.-export type H2TitleProps = {- title: string;- className?: string;-};--export const H2Title = ({ title }: H2TitleProps) => {- return (- <div- style={{- display: 'flex',- flexDirection: 'column',- marginBottom: 'var(--t-spacing-4)',- }}- >- <div- style={{- display: 'flex',- alignItems: 'center',- justifyContent: 'space-between',- }}- >- <h2- style={{- margin: 0,- color: 'var(--t-font-color-primary)',- fontSize: 'var(--t-font-size-md)',- fontWeight:- 'var(--t-font-weight-semi-bold)' as React.CSSProperties['fontWeight'],- }}- >- {title}- </h2>- </div>- </div>- );-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/Status.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/ui/Status.tsxdeleted file mode 100644index 9178ac4427c..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/Status.tsx+++ /dev/null@@ -1,81 +0,0 @@-import { type ThemeColor } from '@ui/theme-color';--// Inline reimplementation of twenty-ui's `Status` pill, styled with the Twenty-// theme's `--t-tag-*` CSS variables. The leading dot (twenty-ui renders it as a-// `::before`) is an explicit element here, and the loader is a self-contained-// SMIL-animated SVG so no `@keyframes` injection is required in front-components.-export type StatusProps = {- color: ThemeColor;- text: string;- isLoaderVisible?: boolean;-};--const StatusLoader = ({ colorVar }: { colorVar: string }) => (- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true">- <circle- cx="12"- cy="12"- r="9"- stroke={colorVar}- strokeOpacity="0.25"- strokeWidth="3"- />- <path d="M21 12a9 9 0 0 0 -9 -9" stroke={colorVar} strokeWidth="3" strokeLinecap="round">- <animateTransform- attributeName="transform"- type="rotate"- from="0 12 12"- to="360 12 12"- dur="0.8s"- repeatCount="indefinite"- />- </path>- </svg>-);--export const Status = ({ color, text, isLoaderVisible = false }: StatusProps) => {- const backgroundVar = `var(--t-tag-background-${color})`;- const textColorVar = `var(--t-tag-text-${color})`;-- return (- <h3- style={{- display: 'inline-flex',- alignItems: 'center',- gap: 'var(--t-spacing-1)',- height: 'var(--t-spacing-5)',- margin: 0,- padding: isLoaderVisible- ? '0 var(--t-spacing-1) 0 var(--t-spacing-2)'- : '0 var(--t-spacing-2)',- borderRadius: 'var(--t-border-radius-pill)',- background: backgroundVar,- color: textColorVar,- fontSize: 'var(--t-font-size-md)',- fontWeight: 'var(--t-font-weight-regular)' as React.CSSProperties['fontWeight'],- fontStyle: 'normal',- overflow: 'hidden',- }}- >- <span- style={{- flexShrink: 0,- height: 'var(--t-spacing-1)',- width: 'var(--t-spacing-1)',- borderRadius: 'var(--t-border-radius-rounded)',- background: textColorVar,- }}- />- <span- style={{- overflow: 'hidden',- textOverflow: 'ellipsis',- whiteSpace: 'nowrap',- }}- >- {text}- </span>- {isLoaderVisible ? <StatusLoader colorVar={textColorVar} /> : null}- </h3>- );-};diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/icons.tsx b/packages/twenty-apps/internal/twenty-for-twenty/src/ui/icons.tsxdeleted file mode 100644index 0f2d097b2e9..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/icons.tsx+++ /dev/null@@ -1,74 +0,0 @@-// Self-contained Tabler-style icons.-// Replaces the icons that used to come from `twenty-sdk/ui`, which stopped-// re-exporting `twenty-ui` in twenty-sdk 2.18. Paths mirror the outline-// variants of `@tabler/icons` so front-components keep the same visuals-// without depending on the (React 19 only) `twenty-ui` package.--export type IconComponentProps = {- size?: number;- color?: string;- stroke?: number;- className?: string;- style?: React.CSSProperties;-};--export type IconComponent = (props: IconComponentProps) => React.ReactElement;--const createIcon =- (children: React.ReactNode): IconComponent =>- ({ size = 24, color = 'currentColor', stroke = 2, className, style }) => (- <svg- xmlns="http://www.w3.org/2000/svg"- width={size}- height={size}- viewBox="0 0 24 24"- fill="none"- stroke={color}- strokeWidth={stroke}- strokeLinecap="round"- strokeLinejoin="round"- className={className}- style={style}- aria-hidden="true"- >- {children}- </svg>- );--export const IconAlertCircle = createIcon(- <>- <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />- <path d="M12 8v4" />- <path d="M12 16h.01" />- </>,-);--export const IconInfoCircle = createIcon(- <>- <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />- <path d="M12 9h.01" />- <path d="M11 12h1v4h1" />- </>,-);--export const IconMail = createIcon(- <>- <path d="M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10" />- <path d="M3 7l9 6l9 -6" />- </>,-);--export const IconRefresh = createIcon(- <>- <path d="M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4" />- <path d="M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" />- </>,-);--export const IconHelp = createIcon(- <>- <path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />- <path d="M12 17l0 .01" />- <path d="M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4" />- </>,-);diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/index.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/ui/index.tsdeleted file mode 100644index 650b4878c6d..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/index.ts+++ /dev/null@@ -1,16 +0,0 @@-// Local, self-contained replacements for the primitives that used to be-// imported from `twenty-sdk/ui` (removed in twenty-sdk 2.18). See the-// individual files for details.-export { Callout, type CalloutProps, type CalloutVariant } from '@ui/Callout';-export { H2Title, type H2TitleProps } from '@ui/H2Title';-export { Status, type StatusProps } from '@ui/Status';-export { type ThemeColor } from '@ui/theme-color';-export {- IconAlertCircle,- IconInfoCircle,- IconMail,- IconRefresh,- IconHelp,- type IconComponent,- type IconComponentProps,-} from '@ui/icons';diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/theme-color.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/ui/theme-color.tsdeleted file mode 100644index beaa3f6ce98..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/ui/theme-color.ts+++ /dev/null@@ -1,28 +0,0 @@-// Tag color palette exposed by the Twenty theme as `--t-tag-{background,text}-{color}`-// CSS variables. Mirrors twenty-ui's `ThemeColor` so components can key into it.-export type ThemeColor =- | 'red'- | 'ruby'- | 'crimson'- | 'tomato'- | 'orange'- | 'amber'- | 'yellow'- | 'lime'- | 'grass'- | 'green'- | 'jade'- | 'mint'- | 'turquoise'- | 'cyan'- | 'sky'- | 'blue'- | 'iris'- | 'violet'- | 'purple'- | 'plum'- | 'pink'- | 'bronze'- | 'gold'- | 'brown'- | 'gray';diff --git a/packages/twenty-apps/internal/twenty-for-twenty/src/utils/is-defined.ts b/packages/twenty-apps/internal/twenty-for-twenty/src/utils/is-defined.tsdeleted file mode 100644index f0f3ead7d66..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/src/utils/is-defined.ts+++ /dev/null@@ -1,2 +0,0 @@-export const isDefined = <T>(value: T | null | undefined): value is T =>- value !== null && value !== undefined;diff --git a/packages/twenty-apps/internal/twenty-for-twenty/tsconfig.json b/packages/twenty-apps/internal/twenty-for-twenty/tsconfig.jsondeleted file mode 100644index 83b549c73e5..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/tsconfig.json+++ /dev/null@@ -1,47 +0,0 @@-{- "compileOnSave": false,- "compilerOptions": {- "sourceMap": true,- "declaration": true,- "outDir": "./dist",- "rootDir": ".",- "jsx": "react-jsx",- "moduleResolution": "bundler",- "allowSyntheticDefaultImports": true,- "emitDecoratorMetadata": true,- "experimentalDecorators": true,- "importHelpers": true,- "allowUnreachableCode": false,- "strict": true,- "alwaysStrict": true,- "noImplicitAny": true,- "strictBindCallApply": false,- "target": "es2020",- "module": "esnext",- "lib": ["es2020", "dom"],- "skipLibCheck": true,- "skipDefaultLibCheck": true,- "resolveJsonModule": true,- "paths": {- "src/*": ["./src/*"],- "~/*": ["./*"],- "@utils/*": ["./src/utils/*"],- "@constants/*": ["./src/constants/*"],- "@modules/*": ["./src/modules/*"],- "@ui": ["./src/ui/index.ts"],- "@ui/*": ["./src/ui/*"]- }- },- "exclude": [- "node_modules",- "dist",- "**/*.test.ts",- "**/*.spec.ts",- "**/*.integration-test.ts"- ],- "references": [- {- "path": "./tsconfig.spec.json"- }- ]-}diff --git a/packages/twenty-apps/internal/twenty-for-twenty/tsconfig.spec.json b/packages/twenty-apps/internal/twenty-for-twenty/tsconfig.spec.jsondeleted file mode 100644index ea69a6c0105..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/tsconfig.spec.json+++ /dev/null@@ -1,9 +0,0 @@-{- "extends": "./tsconfig.json",- "compilerOptions": {- "composite": true,- "types": ["vitest/globals", "node"]- },- "include": ["src/**/*.ts", "src/**/*.tsx"],- "exclude": ["node_modules", "dist"]-}diff --git a/packages/twenty-apps/internal/twenty-for-twenty/vitest.config.ts b/packages/twenty-apps/internal/twenty-for-twenty/vitest.config.tsdeleted file mode 100644index 055af77dbec..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/vitest.config.ts+++ /dev/null@@ -1,31 +0,0 @@-import tsconfigPaths from 'vite-tsconfig-paths';-import { defineConfig } from 'vitest/config';--const TWENTY_API_URL = process.env.TWENTY_API_URL ?? 'http://localhost:2020';-const TWENTY_API_KEY =- process.env.TWENTY_API_KEY ??- 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIyMDIwMjAyMC0xYzI1LTRkMDItYmYyNS02YWVjY2Y3ZWE0MTkiLCJ0eXBlIjoiQVBJX0tFWSIsIndvcmtzcGFjZUlkIjoiMjAyMDIwMjAtMWMyNS00ZDAyLWJmMjUtNmFlY2NmN2VhNDE5IiwiaWF0IjoxNzM1Njg5NjAwLCJleHAiOjQ4OTE0NDk2MDAsImp0aSI6IjIwMjAyMDIwLWY0MDEtNGQ4YS1hNzMxLTY0ZDAwN2MyN2JhZCJ9.bfQjfyN0NEtTCLE_xPyNcwonDzlSXFoP8kdCQTdnuDc';--// Make env vars available to globalSetup (test.env only applies to workers)-process.env.TWENTY_API_URL = TWENTY_API_URL;-process.env.TWENTY_API_KEY = TWENTY_API_KEY;--export default defineConfig({- plugins: [- tsconfigPaths({- projects: ['tsconfig.spec.json'],- ignoreConfigErrors: true,- }),- ],- test: {- testTimeout: 120_000,- hookTimeout: 120_000,- fileParallelism: false,- include: ['src/**/*.integration-test.ts'],- globalSetup: ['src/__tests__/global-setup.ts'],- env: {- TWENTY_API_URL,- TWENTY_API_KEY,- },- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/vitest.unit.config.ts b/packages/twenty-apps/internal/twenty-for-twenty/vitest.unit.config.tsdeleted file mode 100644index e0d140015bb..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/vitest.unit.config.ts+++ /dev/null@@ -1,14 +0,0 @@-import tsconfigPaths from 'vite-tsconfig-paths';-import { defineConfig } from 'vitest/config';--export default defineConfig({- plugins: [- tsconfigPaths({- projects: ['tsconfig.spec.json'],- ignoreConfigErrors: true,- }),- ],- test: {- include: ['src/**/*.test.ts'],- },-});diff --git a/packages/twenty-apps/internal/twenty-for-twenty/yarn.lock b/packages/twenty-apps/internal/twenty-for-twenty/yarn.lockdeleted file mode 100644index ea20ac929dd..00000000000--- a/packages/twenty-apps/internal/twenty-for-twenty/yarn.lock+++ /dev/null@@ -1,3611 +0,0 @@-# This file is generated by running "yarn install" inside your project.-# Manual changes might be lost - proceed with caution!--__metadata:- version: 8- cacheKey: 10c0--"@alcalzone/ansi-tokenize@npm:^0.2.4":- version: 0.2.5- resolution: "@alcalzone/ansi-tokenize@npm:0.2.5"- dependencies:- ansi-styles: "npm:^6.2.1"- is-fullwidth-code-point: "npm:^5.0.0"- checksum: 10c0/dd8622288426b5b7dbf8b68d51d4b930cea591d0e3b9dbc3f523131464d78ac922c165fcb7ba5307f133d35dbcaa0e6648a1c3fb6a0dc2725546d6f867b70af4- languageName: node- linkType: hard--"@emnapi/core@npm:1.10.0":- version: 1.10.0- resolution: "@emnapi/core@npm:1.10.0"- dependencies:- "@emnapi/wasi-threads": "npm:1.2.1"- tslib: "npm:^2.4.0"- checksum: 10c0/f51d08227857b60632de7714d708124f0e100a1462dde6df8221760939aa3204a73193830371830fac0716f3ccd2129f2cac1b17cd7d7958bc4da9018a296edb- languageName: node- linkType: hard--"@emnapi/runtime@npm:1.10.0":- version: 1.10.0- resolution: "@emnapi/runtime@npm:1.10.0"- dependencies:- tslib: "npm:^2.4.0"- checksum: 10c0/953f14991d1aefb92ee6f8eb27dea725e484791a53a0cb5f47d9e0087b9a2c929ff2e92adf95af15d6ad456db6300c6b761ebf72b50a875b874a83520b3ba093- languageName: node- linkType: hard--"@emnapi/runtime@npm:^1.7.0":- version: 1.11.1- resolution: "@emnapi/runtime@npm:1.11.1"- dependencies:- tslib: "npm:^2.4.0"- checksum: 10c0/04332fb62076afc440aa23316c04bec42f584ca8b074e5507d08e2b33a47cbe0493b1aadb8f3c1057b64ae1e17f5bde1a7bc37f7facc9d0bc25c18197cbd366f- languageName: node- linkType: hard--"@emnapi/wasi-threads@npm:1.2.1":- version: 1.2.1- resolution: "@emnapi/wasi-threads@npm:1.2.1"- dependencies:- tslib: "npm:^2.4.0"- checksum: 10c0/32fcfa81ab396533b2ec1f4082b1ff779a05d9c836bbbd3f4398405b0e6814c0d9503b7993130e37bc6941dbc1ded49f55e9700ae9ca4e803bab2b5bc5deb331- languageName: node- linkType: hard--"@esbuild/aix-ppc64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/aix-ppc64@npm:0.28.1"- conditions: os=aix & cpu=ppc64- languageName: node- linkType: hard--"@esbuild/android-arm64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/android-arm64@npm:0.28.1"- conditions: os=android & cpu=arm64- languageName: node- linkType: hard--"@esbuild/android-arm@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/android-arm@npm:0.28.1"- conditions: os=android & cpu=arm- languageName: node- linkType: hard--"@esbuild/android-x64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/android-x64@npm:0.28.1"- conditions: os=android & cpu=x64- languageName: node- linkType: hard--"@esbuild/darwin-arm64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/darwin-arm64@npm:0.28.1"- conditions: os=darwin & cpu=arm64- languageName: node- linkType: hard--"@esbuild/darwin-x64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/darwin-x64@npm:0.28.1"- conditions: os=darwin & cpu=x64- languageName: node- linkType: hard--"@esbuild/freebsd-arm64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/freebsd-arm64@npm:0.28.1"- conditions: os=freebsd & cpu=arm64- languageName: node- linkType: hard--"@esbuild/freebsd-x64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/freebsd-x64@npm:0.28.1"- conditions: os=freebsd & cpu=x64- languageName: node- linkType: hard--"@esbuild/linux-arm64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-arm64@npm:0.28.1"- conditions: os=linux & cpu=arm64- languageName: node- linkType: hard--"@esbuild/linux-arm@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-arm@npm:0.28.1"- conditions: os=linux & cpu=arm- languageName: node- linkType: hard--"@esbuild/linux-ia32@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-ia32@npm:0.28.1"- conditions: os=linux & cpu=ia32- languageName: node- linkType: hard--"@esbuild/linux-loong64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-loong64@npm:0.28.1"- conditions: os=linux & cpu=loong64- languageName: node- linkType: hard--"@esbuild/linux-mips64el@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-mips64el@npm:0.28.1"- conditions: os=linux & cpu=mips64el- languageName: node- linkType: hard--"@esbuild/linux-ppc64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-ppc64@npm:0.28.1"- conditions: os=linux & cpu=ppc64- languageName: node- linkType: hard--"@esbuild/linux-riscv64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-riscv64@npm:0.28.1"- conditions: os=linux & cpu=riscv64- languageName: node- linkType: hard--"@esbuild/linux-s390x@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-s390x@npm:0.28.1"- conditions: os=linux & cpu=s390x- languageName: node- linkType: hard--"@esbuild/linux-x64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/linux-x64@npm:0.28.1"- conditions: os=linux & cpu=x64- languageName: node- linkType: hard--"@esbuild/netbsd-arm64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/netbsd-arm64@npm:0.28.1"- conditions: os=netbsd & cpu=arm64- languageName: node- linkType: hard--"@esbuild/netbsd-x64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/netbsd-x64@npm:0.28.1"- conditions: os=netbsd & cpu=x64- languageName: node- linkType: hard--"@esbuild/openbsd-arm64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/openbsd-arm64@npm:0.28.1"- conditions: os=openbsd & cpu=arm64- languageName: node- linkType: hard--"@esbuild/openbsd-x64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/openbsd-x64@npm:0.28.1"- conditions: os=openbsd & cpu=x64- languageName: node- linkType: hard--"@esbuild/openharmony-arm64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/openharmony-arm64@npm:0.28.1"- conditions: os=openharmony & cpu=arm64- languageName: node- linkType: hard--"@esbuild/sunos-x64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/sunos-x64@npm:0.28.1"- conditions: os=sunos & cpu=x64- languageName: node- linkType: hard--"@esbuild/win32-arm64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/win32-arm64@npm:0.28.1"- conditions: os=win32 & cpu=arm64- languageName: node- linkType: hard--"@esbuild/win32-ia32@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/win32-ia32@npm:0.28.1"- conditions: os=win32 & cpu=ia32- languageName: node- linkType: hard--"@esbuild/win32-x64@npm:0.28.1":- version: 0.28.1- resolution: "@esbuild/win32-x64@npm:0.28.1"- conditions: os=win32 & cpu=x64- languageName: node- linkType: hard--"@gar/promise-retry@npm:^1.0.0":- version: 1.0.3- resolution: "@gar/promise-retry@npm:1.0.3"- checksum: 10c0/885b02c8b0d75b2d215da25f3b639158c4fbe8fefe0d79163304534b9a6d0710db4b7699f7cd3cc1a730792bff04cbe19f4850a62d3e105a663eaeec88f38332- languageName: node- linkType: hard--"@genql/runtime@npm:^2.10.0":- version: 2.10.0- resolution: "@genql/runtime@npm:2.10.0"- dependencies:- "@types/qs": "npm:^6.9.0"- "@types/ws": "npm:^6.0.1"- graphql-query-batcher: "npm:^1.0.1"- isomorphic-unfetch: "npm:^3.0.0"- lodash: "npm:^4.17.20"- subscriptions-transport-ws: "npm:^0.9.16"- tslib: "npm:^2.0.0"- utility-types: "npm:^3.10.0"- ws: "npm:^6.1.4"- zen-observable-ts: "npm:^0.8.21"- peerDependencies:- graphql: "*"- checksum: 10c0/e2a886c2469c933681e2b0ddd6a5b7f4cb12932251ba460e3cf2db4246817da79313ea4ba9769ec7cbe53ab9c1cb81ad8fcce6a969cd241185b79398d2a4f3c6- languageName: node- linkType: hard--"@img/colour@npm:^1.0.0":- version: 1.1.0- resolution: "@img/colour@npm:1.1.0"- checksum: 10c0/2ebea2c0bbaee73b99badcefa04e1e71d83f36e5369337d3121dca841f4569533c4e2faddda6d62dd247f0d5cca143711f9446c59bcce81e427ba433a7a94a17- languageName: node- linkType: hard--"@img/sharp-darwin-arm64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-darwin-arm64@npm:0.34.5"- dependencies:- "@img/sharp-libvips-darwin-arm64": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-darwin-arm64":- optional: true- conditions: os=darwin & cpu=arm64- languageName: node- linkType: hard--"@img/sharp-darwin-x64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-darwin-x64@npm:0.34.5"- dependencies:- "@img/sharp-libvips-darwin-x64": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-darwin-x64":- optional: true- conditions: os=darwin & cpu=x64- languageName: node- linkType: hard--"@img/sharp-libvips-darwin-arm64@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-darwin-arm64@npm:1.2.4"- conditions: os=darwin & cpu=arm64- languageName: node- linkType: hard--"@img/sharp-libvips-darwin-x64@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-darwin-x64@npm:1.2.4"- conditions: os=darwin & cpu=x64- languageName: node- linkType: hard--"@img/sharp-libvips-linux-arm64@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-linux-arm64@npm:1.2.4"- conditions: os=linux & cpu=arm64 & libc=glibc- languageName: node- linkType: hard--"@img/sharp-libvips-linux-arm@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-linux-arm@npm:1.2.4"- conditions: os=linux & cpu=arm & libc=glibc- languageName: node- linkType: hard--"@img/sharp-libvips-linux-ppc64@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-linux-ppc64@npm:1.2.4"- conditions: os=linux & cpu=ppc64 & libc=glibc- languageName: node- linkType: hard--"@img/sharp-libvips-linux-riscv64@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-linux-riscv64@npm:1.2.4"- conditions: os=linux & cpu=riscv64 & libc=glibc- languageName: node- linkType: hard--"@img/sharp-libvips-linux-s390x@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-linux-s390x@npm:1.2.4"- conditions: os=linux & cpu=s390x & libc=glibc- languageName: node- linkType: hard--"@img/sharp-libvips-linux-x64@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-linux-x64@npm:1.2.4"- conditions: os=linux & cpu=x64 & libc=glibc- languageName: node- linkType: hard--"@img/sharp-libvips-linuxmusl-arm64@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.2.4"- conditions: os=linux & cpu=arm64 & libc=musl- languageName: node- linkType: hard--"@img/sharp-libvips-linuxmusl-x64@npm:1.2.4":- version: 1.2.4- resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.2.4"- conditions: os=linux & cpu=x64 & libc=musl- languageName: node- linkType: hard--"@img/sharp-linux-arm64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-linux-arm64@npm:0.34.5"- dependencies:- "@img/sharp-libvips-linux-arm64": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-linux-arm64":- optional: true- conditions: os=linux & cpu=arm64 & libc=glibc- languageName: node- linkType: hard--"@img/sharp-linux-arm@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-linux-arm@npm:0.34.5"- dependencies:- "@img/sharp-libvips-linux-arm": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-linux-arm":- optional: true- conditions: os=linux & cpu=arm & libc=glibc- languageName: node- linkType: hard--"@img/sharp-linux-ppc64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-linux-ppc64@npm:0.34.5"- dependencies:- "@img/sharp-libvips-linux-ppc64": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-linux-ppc64":- optional: true- conditions: os=linux & cpu=ppc64 & libc=glibc- languageName: node- linkType: hard--"@img/sharp-linux-riscv64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-linux-riscv64@npm:0.34.5"- dependencies:- "@img/sharp-libvips-linux-riscv64": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-linux-riscv64":- optional: true- conditions: os=linux & cpu=riscv64 & libc=glibc- languageName: node- linkType: hard--"@img/sharp-linux-s390x@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-linux-s390x@npm:0.34.5"- dependencies:- "@img/sharp-libvips-linux-s390x": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-linux-s390x":- optional: true- conditions: os=linux & cpu=s390x & libc=glibc- languageName: node- linkType: hard--"@img/sharp-linux-x64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-linux-x64@npm:0.34.5"- dependencies:- "@img/sharp-libvips-linux-x64": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-linux-x64":- optional: true- conditions: os=linux & cpu=x64 & libc=glibc- languageName: node- linkType: hard--"@img/sharp-linuxmusl-arm64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-linuxmusl-arm64@npm:0.34.5"- dependencies:- "@img/sharp-libvips-linuxmusl-arm64": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-linuxmusl-arm64":- optional: true- conditions: os=linux & cpu=arm64 & libc=musl- languageName: node- linkType: hard--"@img/sharp-linuxmusl-x64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-linuxmusl-x64@npm:0.34.5"- dependencies:- "@img/sharp-libvips-linuxmusl-x64": "npm:1.2.4"- dependenciesMeta:- "@img/sharp-libvips-linuxmusl-x64":- optional: true- conditions: os=linux & cpu=x64 & libc=musl- languageName: node- linkType: hard--"@img/sharp-wasm32@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-wasm32@npm:0.34.5"- dependencies:- "@emnapi/runtime": "npm:^1.7.0"- conditions: cpu=wasm32- languageName: node- linkType: hard--"@img/sharp-win32-arm64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-win32-arm64@npm:0.34.5"- conditions: os=win32 & cpu=arm64- languageName: node- linkType: hard--"@img/sharp-win32-ia32@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-win32-ia32@npm:0.34.5"- conditions: os=win32 & cpu=ia32- languageName: node- linkType: hard--"@img/sharp-win32-x64@npm:0.34.5":- version: 0.34.5- resolution: "@img/sharp-win32-x64@npm:0.34.5"- conditions: os=win32 & cpu=x64- languageName: node- linkType: hard--"@inquirer/ansi@npm:^2.0.7":- version: 2.0.7- resolution: "@inquirer/ansi@npm:2.0.7"- checksum: 10c0/a574f97a899f0d9346fa26b528b3f4a9ba6dcb9172288efb6b4314d8486470ed53d2f538200f66a25b843c6e0cbf83688c6d5174a8dc6eca853b291b09609c5a- languageName: node- linkType: hard--"@inquirer/checkbox@npm:^5.2.1":- version: 5.2.1- resolution: "@inquirer/checkbox@npm:5.2.1"- dependencies:- "@inquirer/ansi": "npm:^2.0.7"- "@inquirer/core": "npm:^11.2.1"- "@inquirer/figures": "npm:^2.0.7"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/e3a845156c718fbbec228a0e7fd2a4f10775185615eac1f405b3a2bb2ae607dda6baf178fbd6487db0e12e5e33014536e81acefe65de57cd476a7aeaea6fb35d- languageName: node- linkType: hard--"@inquirer/confirm@npm:^6.1.1":- version: 6.1.1- resolution: "@inquirer/confirm@npm:6.1.1"- dependencies:- "@inquirer/core": "npm:^11.2.1"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/4684406161c09327df830b4026f3165b31e13831276d215051586408ed434423263b15686393ce95a4b55058c1b7f9b08aa4b66f5ac930b47523fff75051d36f- languageName: node- linkType: hard--"@inquirer/core@npm:^11.2.1":- version: 11.2.1- resolution: "@inquirer/core@npm:11.2.1"- dependencies:- "@inquirer/ansi": "npm:^2.0.7"- "@inquirer/figures": "npm:^2.0.7"- "@inquirer/type": "npm:^4.0.7"- cli-width: "npm:^4.1.0"- fast-wrap-ansi: "npm:^0.2.0"- mute-stream: "npm:^3.0.0"- signal-exit: "npm:^4.1.0"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/b5be386cecd9e441ac2f9d3417a6ae1c4658b3ee6cdf5dae791211400f4de158851f81fca2245e2062833716f95366b9e1717770828cb7365e756c16e822f0d2- languageName: node- linkType: hard--"@inquirer/editor@npm:^5.2.2":- version: 5.2.2- resolution: "@inquirer/editor@npm:5.2.2"- dependencies:- "@inquirer/core": "npm:^11.2.1"- "@inquirer/external-editor": "npm:^3.0.3"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/a75e7012aad3ccc3ec84893463ed689924515a6cbaee8e2a475769fb27c12bcf359fcdd5f62e92107fc4be88fd69444c15adf13071982efc140c7015a6604d9a- languageName: node- linkType: hard--"@inquirer/expand@npm:^5.1.1":- version: 5.1.1- resolution: "@inquirer/expand@npm:5.1.1"- dependencies:- "@inquirer/core": "npm:^11.2.1"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/4de661a042147759ce351971a4f92010ab66cb76450424e7d8aec5de79b449d14e8751f54f557d0b047180bca2b76707626f4835ee46603c6200139c31b59652- languageName: node- linkType: hard--"@inquirer/external-editor@npm:^3.0.3":- version: 3.0.3- resolution: "@inquirer/external-editor@npm:3.0.3"- dependencies:- chardet: "npm:^2.1.1"- iconv-lite: "npm:^0.7.2"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/fc24ddbff15f0874db6498c16d2fe153bb19a670d83605f480486d6ff0ea872ae2f32a548fd555797989db09850fa019a6b5e49a8d40cfee0d7deacad17edc1e- languageName: node- linkType: hard--"@inquirer/figures@npm:^2.0.7":- version: 2.0.7- resolution: "@inquirer/figures@npm:2.0.7"- checksum: 10c0/e0573dc9ad25fa3628d5164745e52852d8cd832a9918605b7716df2e37a0005a0aaf40b6d81cef2ca09cb708b200e61b82d1dcd17003f572577e233c19a9ec7b- languageName: node- linkType: hard--"@inquirer/input@npm:^5.1.2":- version: 5.1.2- resolution: "@inquirer/input@npm:5.1.2"- dependencies:- "@inquirer/core": "npm:^11.2.1"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/9c3614f8d79fc2bec07a088858a58967a162046c9292b0c6f0c6f63396cf391181cfb54bb636f5b3dce8d23924c24ee4a0310183a493c94190e4750218f3744d- languageName: node- linkType: hard--"@inquirer/number@npm:^4.1.1":- version: 4.1.1- resolution: "@inquirer/number@npm:4.1.1"- dependencies:- "@inquirer/core": "npm:^11.2.1"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/06210dd70bf89d35242af43009b5e3f76a5f07d6275a9d842bbed61536032f5f349ecba1c20012975d7b0362deb89746d5903e90f21516da10bfd8c2055829a9- languageName: node- linkType: hard--"@inquirer/password@npm:^5.1.1":- version: 5.1.1- resolution: "@inquirer/password@npm:5.1.1"- dependencies:- "@inquirer/ansi": "npm:^2.0.7"- "@inquirer/core": "npm:^11.2.1"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/e4cb3a53b56743808f83958a8fe85738d721599690a4bc7640eaa07fb8f4765bc6f174e40c16efcc8a5958a7169667e240714a706a36e831f9c7a6822cbe8b55- languageName: node- linkType: hard--"@inquirer/prompts@npm:^8.5.2":- version: 8.5.2- resolution: "@inquirer/prompts@npm:8.5.2"- dependencies:- "@inquirer/checkbox": "npm:^5.2.1"- "@inquirer/confirm": "npm:^6.1.1"- "@inquirer/editor": "npm:^5.2.2"- "@inquirer/expand": "npm:^5.1.1"- "@inquirer/input": "npm:^5.1.2"- "@inquirer/number": "npm:^4.1.1"- "@inquirer/password": "npm:^5.1.1"- "@inquirer/rawlist": "npm:^5.3.1"- "@inquirer/search": "npm:^4.2.1"- "@inquirer/select": "npm:^5.2.1"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/253b92e31c6a1f8f00a778eda8196bb53fc931723f7db4a03937f38ccd4d07c987766d4f60b9250b5d90bfe30b04747dfa73927a9f6fb886bd48091ccb202535- languageName: node- linkType: hard--"@inquirer/rawlist@npm:^5.3.1":- version: 5.3.1- resolution: "@inquirer/rawlist@npm:5.3.1"- dependencies:- "@inquirer/core": "npm:^11.2.1"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/a05eb6a16633bd7b32b3b6b2c1f645e6e28d955475b21ba7222e7e66806b1be15be9f91235b2933e8d27e04fdad81ebfb2d64fc1fc0d4b8d82dcd2718817b2b9- languageName: node- linkType: hard--"@inquirer/search@npm:^4.2.1":- version: 4.2.1- resolution: "@inquirer/search@npm:4.2.1"- dependencies:- "@inquirer/core": "npm:^11.2.1"- "@inquirer/figures": "npm:^2.0.7"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/eae9b2d524aae58266f96987696be22ad62f608661d28763c413f2560094d571a39d72a40630d2470f503ad5e6e50d8c574a653cc028bf79b51104fa91f59a67- languageName: node- linkType: hard--"@inquirer/select@npm:^5.2.1":- version: 5.2.1- resolution: "@inquirer/select@npm:5.2.1"- dependencies:- "@inquirer/ansi": "npm:^2.0.7"- "@inquirer/core": "npm:^11.2.1"- "@inquirer/figures": "npm:^2.0.7"- "@inquirer/type": "npm:^4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/3c6d0151b5a29111254a58eaf8b93bb4c476e68b0751526d8bff61a4bea457bdbe782890ae33977c5d2015f436596b5d32a8bb0677bfdf610f5f5998e65f5a92- languageName: node- linkType: hard--"@inquirer/type@npm:^4.0.7":- version: 4.0.7- resolution: "@inquirer/type@npm:4.0.7"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/80678ac1c6e19ce309909e4a54a69adc95697ea3abc2cb92f17b1bc52f4caadbcb4003ae7339fb5a70c0d36d3bde975e1bb4450069662f41c953a0d28695bb70- languageName: node- linkType: hard--"@isaacs/fs-minipass@npm:^4.0.0":- version: 4.0.1- resolution: "@isaacs/fs-minipass@npm:4.0.1"- dependencies:- minipass: "npm:^7.0.4"- checksum: 10c0/c25b6dc1598790d5b55c0947a9b7d111cfa92594db5296c3b907e2f533c033666f692a3939eadac17b1c7c40d362d0b0635dc874cbfe3e70db7c2b07cc97a5d2- languageName: node- linkType: hard--"@jridgewell/sourcemap-codec@npm:^1.5.5":- version: 1.5.5- resolution: "@jridgewell/sourcemap-codec@npm:1.5.5"- checksum: 10c0/f9e538f302b63c0ebc06eecb1dd9918dd4289ed36147a0ddce35d6ea4d7ebbda243cda7b2213b6a5e1d8087a298d5cf630fb2bd39329cdecb82017023f6081a0- languageName: node- linkType: hard--"@napi-rs/wasm-runtime@npm:^1.1.4":- version: 1.1.5- resolution: "@napi-rs/wasm-runtime@npm:1.1.5"- dependencies:- "@tybys/wasm-util": "npm:^0.10.2"- peerDependencies:- "@emnapi/core": ^1.7.1- "@emnapi/runtime": ^1.7.1- checksum: 10c0/727f2b6ae0e68bbe5d39aeb68aa6f183314e9f03dc50bb55a962849535b2db53ecc3fbf1554d8656a54488a608df5a2634670595cf5874dc4af2ee59f817c65d- languageName: node- linkType: hard--"@npmcli/agent@npm:^4.0.0":- version: 4.0.0- resolution: "@npmcli/agent@npm:4.0.0"- dependencies:- agent-base: "npm:^7.1.0"- http-proxy-agent: "npm:^7.0.0"- https-proxy-agent: "npm:^7.0.1"- lru-cache: "npm:^11.2.1"- socks-proxy-agent: "npm:^8.0.3"- checksum: 10c0/f7b5ce0f3dd42c3f8c6546e8433573d8049f67ef11ec22aa4704bc41483122f68bf97752e06302c455ead667af5cb753e6a09bff06632bc465c1cfd4c4b75a53- languageName: node- linkType: hard--"@npmcli/fs@npm:^5.0.0":- version: 5.0.0- resolution: "@npmcli/fs@npm:5.0.0"- dependencies:- semver: "npm:^7.3.5"- checksum: 10c0/26e376d780f60ff16e874a0ac9bc3399186846baae0b6e1352286385ac134d900cc5dafaded77f38d77f86898fc923ae1cee9d7399f0275b1aa24878915d722b- languageName: node- linkType: hard--"@npmcli/redact@npm:^4.0.0":- version: 4.0.0- resolution: "@npmcli/redact@npm:4.0.0"- checksum: 10c0/a1e9ba9c70a6b40e175bda2c3dd8cfdaf096e6b7f7a132c855c083c8dfe545c3237cd56702e2e6627a580b1d63373599d49a1192c4078a85bf47bbde824df31c- languageName: node- linkType: hard--"@oxc-project/types@npm:=0.133.0":- version: 0.133.0- resolution: "@oxc-project/types@npm:0.133.0"- checksum: 10c0/70c57ba58644f7ec217b670c301801f4d06995f4ccdba6b2bd106ea3e5ee49d616573e6ef8d55530b87571a960696543687f3850e87ad173d3f88965c30cdd63- languageName: node- linkType: hard--"@oxlint/darwin-arm64@npm:0.16.12":- version: 0.16.12- resolution: "@oxlint/darwin-arm64@npm:0.16.12"- conditions: os=darwin & cpu=arm64- languageName: node- linkType: hard--"@oxlint/darwin-x64@npm:0.16.12":- version: 0.16.12- resolution: "@oxlint/darwin-x64@npm:0.16.12"- conditions: os=darwin & cpu=x64- languageName: node- linkType: hard--"@oxlint/linux-arm64-gnu@npm:0.16.12":- version: 0.16.12- resolution: "@oxlint/linux-arm64-gnu@npm:0.16.12"- conditions: os=linux & cpu=arm64 & libc=glibc- languageName: node- linkType: hard--"@oxlint/linux-arm64-musl@npm:0.16.12":- version: 0.16.12- resolution: "@oxlint/linux-arm64-musl@npm:0.16.12"- conditions: os=linux & cpu=arm64 & libc=musl- languageName: node- linkType: hard--"@oxlint/linux-x64-gnu@npm:0.16.12":- version: 0.16.12- resolution: "@oxlint/linux-x64-gnu@npm:0.16.12"- conditions: os=linux & cpu=x64 & libc=glibc- languageName: node- linkType: hard--"@oxlint/linux-x64-musl@npm:0.16.12":- version: 0.16.12- resolution: "@oxlint/linux-x64-musl@npm:0.16.12"- conditions: os=linux & cpu=x64 & libc=musl- languageName: node- linkType: hard--"@oxlint/win32-arm64@npm:0.16.12":- version: 0.16.12- resolution: "@oxlint/win32-arm64@npm:0.16.12"- conditions: os=win32 & cpu=arm64- languageName: node- linkType: hard--"@oxlint/win32-x64@npm:0.16.12":- version: 0.16.12- resolution: "@oxlint/win32-x64@npm:0.16.12"- conditions: os=win32 & cpu=x64- languageName: node- linkType: hard--"@rolldown/binding-android-arm64@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-android-arm64@npm:1.0.3"- conditions: os=android & cpu=arm64- languageName: node- linkType: hard--"@rolldown/binding-darwin-arm64@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-darwin-arm64@npm:1.0.3"- conditions: os=darwin & cpu=arm64- languageName: node- linkType: hard--"@rolldown/binding-darwin-x64@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-darwin-x64@npm:1.0.3"- conditions: os=darwin & cpu=x64- languageName: node- linkType: hard--"@rolldown/binding-freebsd-x64@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-freebsd-x64@npm:1.0.3"- conditions: os=freebsd & cpu=x64- languageName: node- linkType: hard--"@rolldown/binding-linux-arm-gnueabihf@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-linux-arm-gnueabihf@npm:1.0.3"- conditions: os=linux & cpu=arm- languageName: node- linkType: hard--"@rolldown/binding-linux-arm64-gnu@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-linux-arm64-gnu@npm:1.0.3"- conditions: os=linux & cpu=arm64 & libc=glibc- languageName: node- linkType: hard--"@rolldown/binding-linux-arm64-musl@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-linux-arm64-musl@npm:1.0.3"- conditions: os=linux & cpu=arm64 & libc=musl- languageName: node- linkType: hard--"@rolldown/binding-linux-ppc64-gnu@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-linux-ppc64-gnu@npm:1.0.3"- conditions: os=linux & cpu=ppc64 & libc=glibc- languageName: node- linkType: hard--"@rolldown/binding-linux-s390x-gnu@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-linux-s390x-gnu@npm:1.0.3"- conditions: os=linux & cpu=s390x & libc=glibc- languageName: node- linkType: hard--"@rolldown/binding-linux-x64-gnu@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-linux-x64-gnu@npm:1.0.3"- conditions: os=linux & cpu=x64 & libc=glibc- languageName: node- linkType: hard--"@rolldown/binding-linux-x64-musl@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-linux-x64-musl@npm:1.0.3"- conditions: os=linux & cpu=x64 & libc=musl- languageName: node- linkType: hard--"@rolldown/binding-openharmony-arm64@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-openharmony-arm64@npm:1.0.3"- conditions: os=openharmony & cpu=arm64- languageName: node- linkType: hard--"@rolldown/binding-wasm32-wasi@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-wasm32-wasi@npm:1.0.3"- dependencies:- "@emnapi/core": "npm:1.10.0"- "@emnapi/runtime": "npm:1.10.0"- "@napi-rs/wasm-runtime": "npm:^1.1.4"- conditions: cpu=wasm32- languageName: node- linkType: hard--"@rolldown/binding-win32-arm64-msvc@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-win32-arm64-msvc@npm:1.0.3"- conditions: os=win32 & cpu=arm64- languageName: node- linkType: hard--"@rolldown/binding-win32-x64-msvc@npm:1.0.3":- version: 1.0.3- resolution: "@rolldown/binding-win32-x64-msvc@npm:1.0.3"- conditions: os=win32 & cpu=x64- languageName: node- linkType: hard--"@rolldown/pluginutils@npm:^1.0.0":- version: 1.0.1- resolution: "@rolldown/pluginutils@npm:1.0.1"- checksum: 10c0/99d9b06d90196823e4d8c841f258db7a16e5dbba5824a2962b05d907b79f1ba929d56f22dd744fd530936e568c865ee56a719dc31e57e13bc0a8eb4764a8d8dd- languageName: node- linkType: hard--"@sniptt/guards@npm:^0.2.0":- version: 0.2.0- resolution: "@sniptt/guards@npm:0.2.0"- checksum: 10c0/749bb0f550d1ddd4abdb23dc1076cba26e977659922b73d000bceeb253c09270aaced0d18e92f09d4ce2fdaae33e55f60f2142f5359bc90ba505422af0873526- languageName: node- linkType: hard--"@stablelib/base64@npm:^1.0.0":- version: 1.0.1- resolution: "@stablelib/base64@npm:1.0.1"- checksum: 10c0/6330720f021819d19cecfe274111b79a256caa81df478d6b0ae7effc8842b96915b6aeed85926ff05b4d48ec1fc78ad043d928b730ee4e6cc6e8cba6aa097bed- languageName: node- linkType: hard--"@standard-schema/spec@npm:^1.1.0":- version: 1.1.0- resolution: "@standard-schema/spec@npm:1.1.0"- checksum: 10c0/d90f55acde4b2deb983529c87e8025fa693de1a5e8b49ecc6eb84d1fd96328add0e03d7d551442156c7432fd78165b2c26ff561b970a9a881f046abb78d6a526- languageName: node- linkType: hard--"@tybys/wasm-util@npm:^0.10.2":- version: 0.10.2- resolution: "@tybys/wasm-util@npm:0.10.2"- dependencies:- tslib: "npm:^2.4.0"- checksum: 10c0/26165bcd1fd7269f42d7fbe3de318f854a8968de8397e89fc9a423bb3e2da35a52150f382e6323b3367595beb16d9800a6f35971a5599daf76da1742ec3afc25- languageName: node- linkType: hard--"@types/chai@npm:^5.2.2":- version: 5.2.3- resolution: "@types/chai@npm:5.2.3"- dependencies:- "@types/deep-eql": "npm:*"- assertion-error: "npm:^2.0.1"- checksum: 10c0/e0ef1de3b6f8045a5e473e867c8565788c444271409d155588504840ad1a53611011f85072188c2833941189400228c1745d78323dac13fcede9c2b28bacfb2f- languageName: node- linkType: hard--"@types/deep-eql@npm:*":- version: 4.0.2- resolution: "@types/deep-eql@npm:4.0.2"- checksum: 10c0/bf3f811843117900d7084b9d0c852da9a044d12eb40e6de73b552598a6843c21291a8a381b0532644574beecd5e3491c5ff3a0365ab86b15d59862c025384844- languageName: node- linkType: hard--"@types/estree@npm:^1.0.0":- version: 1.0.8- resolution: "@types/estree@npm:1.0.8"- checksum: 10c0/39d34d1afaa338ab9763f37ad6066e3f349444f9052b9676a7cc0252ef9485a41c6d81c9c4e0d26e9077993354edf25efc853f3224dd4b447175ef62bdcc86a5- languageName: node- linkType: hard--"@types/node@npm:*":- version: 25.6.0- resolution: "@types/node@npm:25.6.0"- dependencies:- undici-types: "npm:~7.19.0"- checksum: 10c0/d2d2015630ff098a201407f55f5077a20270ae4f465c739b40865cd9933b91b9c5d2b85568eadaf3db0801b91e267333ca7eb39f007428b173d1cdab4b339ac5- languageName: node- linkType: hard--"@types/node@npm:^24.7.2":- version: 24.12.2- resolution: "@types/node@npm:24.12.2"- dependencies:- undici-types: "npm:~7.16.0"- checksum: 10c0/710050c42f89075c4479e4e1e4c2532486b0c41b1e2a8a13ad88641c88b88cdaea87414e19224f30028719737bd70e327edcaa184d50e86b9418941edd7eb02b- languageName: node- linkType: hard--"@types/prop-types@npm:*":- version: 15.7.15- resolution: "@types/prop-types@npm:15.7.15"- checksum: 10c0/b59aad1ad19bf1733cf524fd4e618196c6c7690f48ee70a327eb450a42aab8e8a063fbe59ca0a5701aebe2d92d582292c0fb845ea57474f6a15f6994b0e260b2- languageName: node- linkType: hard--"@types/qs@npm:^6.9.0":- version: 6.15.0- resolution: "@types/qs@npm:6.15.0"- checksum: 10c0/1b104cac50e655fc41d7fc1de2c2aba2908c4cf833a555b6808fb4c96752662b439238f2392a15d2590a7a6ca75dbd40e42d9378ac2be0d548ee484954363688- languageName: node- linkType: hard--"@types/react@npm:^18.2.0":- version: 18.3.28- resolution: "@types/react@npm:18.3.28"- dependencies:- "@types/prop-types": "npm:*"- csstype: "npm:^3.2.2"- checksum: 10c0/683e19cd12b5c691215529af2e32b5ffbaccae3bf0ba93bfafa0e460e8dfee18423afed568be2b8eadf4b837c3749dd296a4f64e2d79f68fa66962c05f5af661- languageName: node- linkType: hard--"@types/ws@npm:^6.0.1":- version: 6.0.4- resolution: "@types/ws@npm:6.0.4"- dependencies:- "@types/node": "npm:*"- checksum: 10c0/fa958e64596ca9487c3ed6012834de70b47f25d971f1950cfb8e6a99cb77ff340ae82ac7627744e01b58010674ef8ede07d5a2ac29ca9ad0d67a430fcc69ae14- languageName: node- linkType: hard--"@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20260619.1":- version: 7.0.0-dev.20260619.1- resolution: "@typescript/native-preview-darwin-arm64@npm:7.0.0-dev.20260619.1"- conditions: os=darwin & cpu=arm64- languageName: node- linkType: hard--"@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20260619.1":- version: 7.0.0-dev.20260619.1- resolution: "@typescript/native-preview-darwin-x64@npm:7.0.0-dev.20260619.1"- conditions: os=darwin & cpu=x64- languageName: node- linkType: hard--"@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20260619.1":- version: 7.0.0-dev.20260619.1- resolution: "@typescript/native-preview-linux-arm64@npm:7.0.0-dev.20260619.1"- conditions: os=linux & cpu=arm64- languageName: node- linkType: hard--"@typescript/native-preview-linux-arm@npm:7.0.0-dev.20260619.1":- version: 7.0.0-dev.20260619.1- resolution: "@typescript/native-preview-linux-arm@npm:7.0.0-dev.20260619.1"- conditions: os=linux & cpu=arm- languageName: node- linkType: hard--"@typescript/native-preview-linux-x64@npm:7.0.0-dev.20260619.1":- version: 7.0.0-dev.20260619.1- resolution: "@typescript/native-preview-linux-x64@npm:7.0.0-dev.20260619.1"- conditions: os=linux & cpu=x64- languageName: node- linkType: hard--"@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20260619.1":- version: 7.0.0-dev.20260619.1- resolution: "@typescript/native-preview-win32-arm64@npm:7.0.0-dev.20260619.1"- conditions: os=win32 & cpu=arm64- languageName: node- linkType: hard--"@typescript/native-preview-win32-x64@npm:7.0.0-dev.20260619.1":- version: 7.0.0-dev.20260619.1- resolution: "@typescript/native-preview-win32-x64@npm:7.0.0-dev.20260619.1"- conditions: os=win32 & cpu=x64- languageName: node- linkType: hard--"@typescript/native-preview@npm:^7.0.0-dev.20260116.1":- version: 7.0.0-dev.20260619.1- resolution: "@typescript/native-preview@npm:7.0.0-dev.20260619.1"- dependencies:- "@typescript/native-preview-darwin-arm64": "npm:7.0.0-dev.20260619.1"- "@typescript/native-preview-darwin-x64": "npm:7.0.0-dev.20260619.1"- "@typescript/native-preview-linux-arm": "npm:7.0.0-dev.20260619.1"- "@typescript/native-preview-linux-arm64": "npm:7.0.0-dev.20260619.1"- "@typescript/native-preview-linux-x64": "npm:7.0.0-dev.20260619.1"- "@typescript/native-preview-win32-arm64": "npm:7.0.0-dev.20260619.1"- "@typescript/native-preview-win32-x64": "npm:7.0.0-dev.20260619.1"- dependenciesMeta:- "@typescript/native-preview-darwin-arm64":- optional: true- "@typescript/native-preview-darwin-x64":- optional: true- "@typescript/native-preview-linux-arm":- optional: true- "@typescript/native-preview-linux-arm64":- optional: true- "@typescript/native-preview-linux-x64":- optional: true- "@typescript/native-preview-win32-arm64":- optional: true- "@typescript/native-preview-win32-x64":- optional: true- bin:- tsgo: bin/tsgo.js- checksum: 10c0/e8bc6cf171ee29131934f662c9b3577374d7e872247831da36a5723abe175998f1318a134ed8eb0ee5213887dbb1f1209fac5555cdf5b6b19d0d7da044d0cdc9- languageName: node- linkType: hard--"@vitest/expect@npm:4.1.8":- version: 4.1.8- resolution: "@vitest/expect@npm:4.1.8"- dependencies:- "@standard-schema/spec": "npm:^1.1.0"- "@types/chai": "npm:^5.2.2"- "@vitest/spy": "npm:4.1.8"- "@vitest/utils": "npm:4.1.8"- chai: "npm:^6.2.2"- tinyrainbow: "npm:^3.1.0"- checksum: 10c0/f7bf6c720d2427c3bd0b35472ebd84d963be7d09ecf52a0fb05e8c4d5d0c9ee164a8c28eee6360947be1b245b47faefab54560cb98e5cb678c1c1074260b9149- languageName: node- linkType: hard--"@vitest/mocker@npm:4.1.8":- version: 4.1.8- resolution: "@vitest/mocker@npm:4.1.8"- dependencies:- "@vitest/spy": "npm:4.1.8"- estree-walker: "npm:^3.0.3"- magic-string: "npm:^0.30.21"- peerDependencies:- msw: ^2.4.9- vite: ^6.0.0 || ^7.0.0 || ^8.0.0- peerDependenciesMeta:- msw:- optional: true- vite:- optional: true- checksum: 10c0/f8cb2b8b55dc2cba0b2399aeee528b0187042f22cbc2d50a4fd6141f5aa246ebc41700f45dd1d73eca44ddfb57dcde48b2eb317bfbb1198f5ab2cc4fd04b2ea0- languageName: node- linkType: hard--"@vitest/pretty-format@npm:4.1.8":- version: 4.1.8- resolution: "@vitest/pretty-format@npm:4.1.8"- dependencies:- tinyrainbow: "npm:^3.1.0"- checksum: 10c0/553c456692a4b9ae13cd116c234c74b4495e0f1a0d5c51ffc3fab8ea085e3550769967e29db79bdac0cf127b1bf88b7f70bfba3dcc72be6bddf834433e30cc91- languageName: node- linkType: hard--"@vitest/runner@npm:4.1.8":- version: 4.1.8- resolution: "@vitest/runner@npm:4.1.8"- dependencies:- "@vitest/utils": "npm:4.1.8"- pathe: "npm:^2.0.3"- checksum: 10c0/706808a4b7b95ea9a9268fc152dd39e15a9a754f37c7990aea167486a9094caa913dae454771ae02c18dccfabd667f8cc38eed33a1307a79d32a89878b5bcce1- languageName: node- linkType: hard--"@vitest/snapshot@npm:4.1.8":- version: 4.1.8- resolution: "@vitest/snapshot@npm:4.1.8"- dependencies:- "@vitest/pretty-format": "npm:4.1.8"- "@vitest/utils": "npm:4.1.8"- magic-string: "npm:^0.30.21"- pathe: "npm:^2.0.3"- checksum: 10c0/ba4c32112491d42d24986f921c50ede5edbdb4b7eafa16c72cf8d2c9ecc44121fdb3d9365236747a9841f0d6776affc6457470fcbb082df9dbc28c24792a0c6d- languageName: node- linkType: hard--"@vitest/spy@npm:4.1.8":- version: 4.1.8- resolution: "@vitest/spy@npm:4.1.8"- checksum: 10c0/3c10c0325a09d16bc0e77c0be96c47c15416186e33332880c0d1dd0a51d51a866091067b81f2a2ef6fb422a7760e6cf15c04d91a0eca4d59f62e8c8401fa53fc- languageName: node- linkType: hard--"@vitest/utils@npm:4.1.8":- version: 4.1.8- resolution: "@vitest/utils@npm:4.1.8"- dependencies:- "@vitest/pretty-format": "npm:4.1.8"- convert-source-map: "npm:^2.0.0"- tinyrainbow: "npm:^3.1.0"- checksum: 10c0/acda9d3d640c1ebc81afb358ac30589d7d7d583af81e2d09419f0af9cbe41f3ce0b90527326943bf0da51614be5fc31afcd32259f6beb32b3417999d6ef380f3- languageName: node- linkType: hard--"abbrev@npm:^4.0.0":- version: 4.0.0- resolution: "abbrev@npm:4.0.0"- checksum: 10c0/b4cc16935235e80702fc90192e349e32f8ef0ed151ef506aa78c81a7c455ec18375c4125414b99f84b2e055199d66383e787675f0bcd87da7a4dbd59f9eac1d5- languageName: node- linkType: hard--"agent-base@npm:6":- version: 6.0.2- resolution: "agent-base@npm:6.0.2"- dependencies:- debug: "npm:4"- checksum: 10c0/dc4f757e40b5f3e3d674bc9beb4f1048f4ee83af189bae39be99f57bf1f48dde166a8b0a5342a84b5944ee8e6ed1e5a9d801858f4ad44764e84957122fe46261- languageName: node- linkType: hard--"agent-base@npm:^7.1.0, agent-base@npm:^7.1.2":- version: 7.1.4- resolution: "agent-base@npm:7.1.4"- checksum: 10c0/c2c9ab7599692d594b6a161559ada307b7a624fa4c7b03e3afdb5a5e31cd0e53269115b620fcab024c5ac6a6f37fa5eb2e004f076ad30f5f7e6b8b671f7b35fe- languageName: node- linkType: hard--"ansi-escapes@npm:^7.3.0":- version: 7.3.0- resolution: "ansi-escapes@npm:7.3.0"- dependencies:- environment: "npm:^1.0.0"- checksum: 10c0/068961d99f0ef28b661a4a9f84a5d645df93ccf3b9b93816cc7d46bbe1913321d4cdf156bb842a4e1e4583b7375c631fa963efb43001c4eb7ff9ab8f78fc0679- languageName: node- linkType: hard--"ansi-regex@npm:^6.2.2":- version: 6.2.2- resolution: "ansi-regex@npm:6.2.2"- checksum: 10c0/05d4acb1d2f59ab2cf4b794339c7b168890d44dda4bf0ce01152a8da0213aca207802f930442ce8cd22d7a92f44907664aac6508904e75e038fa944d2601b30f- languageName: node- linkType: hard--"ansi-styles@npm:^6.2.1, ansi-styles@npm:^6.2.3":- version: 6.2.3- resolution: "ansi-styles@npm:6.2.3"- checksum: 10c0/23b8a4ce14e18fb854693b95351e286b771d23d8844057ed2e7d083cd3e708376c3323707ec6a24365f7d7eda3ca00327fe04092e29e551499ec4c8b7bfac868- languageName: node- linkType: hard--"assertion-error@npm:^2.0.1":- version: 2.0.1- resolution: "assertion-error@npm:2.0.1"- checksum: 10c0/bbbcb117ac6480138f8c93cf7f535614282dea9dc828f540cdece85e3c665e8f78958b96afac52f29ff883c72638e6a87d469ecc9fe5bc902df03ed24a55dba8- languageName: node- linkType: hard--"async-function@npm:^1.0.0":- version: 1.0.0- resolution: "async-function@npm:1.0.0"- checksum: 10c0/669a32c2cb7e45091330c680e92eaeb791bc1d4132d827591e499cd1f776ff5a873e77e5f92d0ce795a8d60f10761dec9ddfe7225a5de680f5d357f67b1aac73- languageName: node- linkType: hard--"async-generator-function@npm:^1.0.0":- version: 1.0.0- resolution: "async-generator-function@npm:1.0.0"- checksum: 10c0/2c50ef856c543ad500d8d8777d347e3c1ba623b93e99c9263ecc5f965c1b12d2a140e2ab6e43c3d0b85366110696f28114649411cbcd10b452a92a2318394186- languageName: node- linkType: hard--"async-limiter@npm:~1.0.0":- version: 1.0.1- resolution: "async-limiter@npm:1.0.1"- checksum: 10c0/0693d378cfe86842a70d4c849595a0bb50dc44c11649640ca982fa90cbfc74e3cc4753b5a0847e51933f2e9c65ce8e05576e75e5e1fd963a086e673735b35969- languageName: node- linkType: hard--"asynckit@npm:^0.4.0":- version: 0.4.0- resolution: "asynckit@npm:0.4.0"- checksum: 10c0/d73e2ddf20c4eb9337e1b3df1a0f6159481050a5de457c55b14ea2e5cb6d90bb69e004c9af54737a5ee0917fcf2c9e25de67777bbe58261847846066ba75bc9d- languageName: node- linkType: hard--"auto-bind@npm:^5.0.1":- version: 5.0.1- resolution: "auto-bind@npm:5.0.1"- checksum: 10c0/a703375350ea7b6e92405d8e6bcc6dbfb84b0d7c7172b33e5788a7593929a18227999ff9aa9c32436741d06d021e6672457b1cec73287efe3fab95cff6627eaf- languageName: node- linkType: hard--"axios@npm:^1.16.0":- version: 1.17.0- resolution: "axios@npm:1.17.0"- dependencies:- follow-redirects: "npm:^1.16.0"- form-data: "npm:^4.0.5"- https-proxy-agent: "npm:^5.0.1"- proxy-from-env: "npm:^2.1.0"- checksum: 10c0/c4fa19ff3a3a63bde48beec03ad816b133b9a6385cccffffe172577ab18c6a70e299280d57f12c80c867fe25df41f92cb91d3a8258708a6d2be3e9e085f92650- languageName: node- linkType: hard--"backo2@npm:^1.0.2":- version: 1.0.2- resolution: "backo2@npm:1.0.2"- checksum: 10c0/a9e825a6a38a6d1c4a94476eabc13d6127dfaafb0967baf104affbb67806ae26abbb58dab8d572d2cd21ef06634ff57c3ad48dff14b904e18de1474cc2f22bf3- languageName: node- linkType: hard--"balanced-match@npm:^4.0.2":- version: 4.0.4- resolution: "balanced-match@npm:4.0.4"- checksum: 10c0/07e86102a3eb2ee2a6a1a89164f29d0dbaebd28f2ca3f5ca786f36b8b23d9e417eb3be45a4acf754f837be5ac0a2317de90d3fcb7f4f4dc95720a1f36b26a17b- languageName: node- linkType: hard--"brace-expansion@npm:^5.0.5":- version: 5.0.6- resolution: "brace-expansion@npm:5.0.6"- dependencies:- balanced-match: "npm:^4.0.2"- checksum: 10c0/8c919869b90f61d533b341d3340be5ee4413232ea89b8246cbc2f38eb014f1d8182785c98a006eaf6111d02dc9eeffefdc240d5ac158625b2ed084dccd4bbf9b- languageName: node- linkType: hard--"cacache@npm:^20.0.1":- version: 20.0.4- resolution: "cacache@npm:20.0.4"- dependencies:- "@npmcli/fs": "npm:^5.0.0"- fs-minipass: "npm:^3.0.0"- glob: "npm:^13.0.0"- lru-cache: "npm:^11.1.0"- minipass: "npm:^7.0.3"- minipass-collect: "npm:^2.0.1"- minipass-flush: "npm:^1.0.5"- minipass-pipeline: "npm:^1.2.4"- p-map: "npm:^7.0.2"- ssri: "npm:^13.0.0"- checksum: 10c0/539bf4020e44ba9ca5afc2ec435623ed7e0dd80c020097677e6b4a0545df5cc9d20b473212d01209c8b4aea43c0d095af0bb6da97bcb991642ea6fac0d7c462b- languageName: node- linkType: hard--"call-bind-apply-helpers@npm:^1.0.1, call-bind-apply-helpers@npm:^1.0.2":- version: 1.0.2- resolution: "call-bind-apply-helpers@npm:1.0.2"- dependencies:- es-errors: "npm:^1.3.0"- function-bind: "npm:^1.1.2"- checksum: 10c0/47bd9901d57b857590431243fea704ff18078b16890a6b3e021e12d279bbf211d039155e27d7566b374d49ee1f8189344bac9833dec7a20cdec370506361c938- languageName: node- linkType: hard--"chai@npm:^6.2.2":- version: 6.2.2- resolution: "chai@npm:6.2.2"- checksum: 10c0/e6c69e5f0c11dffe6ea13d0290936ebb68fcc1ad688b8e952e131df6a6d5797d5e860bc55cef1aca2e950c3e1f96daf79e9d5a70fb7dbaab4e46355e2635ed53- languageName: node- linkType: hard--"chalk@npm:^5.3.0, chalk@npm:^5.6.0":- version: 5.6.2- resolution: "chalk@npm:5.6.2"- checksum: 10c0/99a4b0f0e7991796b1e7e3f52dceb9137cae2a9dfc8fc0784a550dc4c558e15ab32ed70b14b21b52beb2679b4892b41a0aa44249bcb996f01e125d58477c6976- languageName: node- linkType: hard--"chardet@npm:^2.1.1":- version: 2.1.1- resolution: "chardet@npm:2.1.1"- checksum: 10c0/d8391dd412338442b3de0d3a488aa9327f8bcf74b62b8723d6bd0b85c4084d50b731320e0a7c710edb1d44de75969995d2784b80e4c13b004a6c7a0db4c6e793- languageName: node- linkType: hard--"chokidar@npm:^4.0.0":- version: 4.0.3- resolution: "chokidar@npm:4.0.3"- dependencies:- readdirp: "npm:^4.0.1"- checksum: 10c0/a58b9df05bb452f7d105d9e7229ac82fa873741c0c40ddcc7bb82f8a909fbe3f7814c9ebe9bc9a2bef9b737c0ec6e2d699d179048ef06ad3ec46315df0ebe6ad- languageName: node- linkType: hard--"chownr@npm:^3.0.0":- version: 3.0.0- resolution: "chownr@npm:3.0.0"- checksum: 10c0/43925b87700f7e3893296c8e9c56cc58f926411cce3a6e5898136daaf08f08b9a8eb76d37d3267e707d0dcc17aed2e2ebdf5848c0c3ce95cf910a919935c1b10- languageName: node- linkType: hard--"cli-boxes@npm:^3.0.0":- version: 3.0.0- resolution: "cli-boxes@npm:3.0.0"- checksum: 10c0/4db3e8fbfaf1aac4fb3a6cbe5a2d3fa048bee741a45371b906439b9ffc821c6e626b0f108bdcd3ddf126a4a319409aedcf39a0730573ff050fdd7b6731e99fb9- languageName: node- linkType: hard--"cli-cursor@npm:^4.0.0":- version: 4.0.0- resolution: "cli-cursor@npm:4.0.0"- dependencies:- restore-cursor: "npm:^4.0.0"- checksum: 10c0/e776e8c3c6727300d0539b0d25160b2bb56aed1a63942753ba1826b012f337a6f4b7ace3548402e4f2f13b5e16bfd751be672c44b203205e7eca8be94afec42c- languageName: node- linkType: hard--"cli-truncate@npm:^5.1.1":- version: 5.2.0- resolution: "cli-truncate@npm:5.2.0"- dependencies:- slice-ansi: "npm:^8.0.0"- string-width: "npm:^8.2.0"- checksum: 10c0/0d4ec94702ca85b64522ac93633837fb5ea7db17b79b1322a60f6045e6ae2b8cd7bd4c1d19ac7d1f9e10e3bbda1112e172e439b68c02b785ee00da8d6a5c5471- languageName: node- linkType: hard--"cli-width@npm:^4.1.0":- version: 4.1.0- resolution: "cli-width@npm:4.1.0"- checksum: 10c0/1fbd56413578f6117abcaf858903ba1f4ad78370a4032f916745fa2c7e390183a9d9029cf837df320b0fdce8137668e522f60a30a5f3d6529ff3872d265a955f- languageName: node- linkType: hard--"code-excerpt@npm:^4.0.0":- version: 4.0.0- resolution: "code-excerpt@npm:4.0.0"- dependencies:- convert-to-spaces: "npm:^2.0.1"- checksum: 10c0/b6c5a06e039cecd2ab6a0e10ee0831de8362107d1f298ca3558b5f9004cb8e0260b02dd6c07f57b9a0e346c76864d2873311ee1989809fdeb05bd5fbbadde773- languageName: node- linkType: hard--"combined-stream@npm:^1.0.8":- version: 1.0.8- resolution: "combined-stream@npm:1.0.8"- dependencies:- delayed-stream: "npm:~1.0.0"- checksum: 10c0/0dbb829577e1b1e839fa82b40c07ffaf7de8a09b935cadd355a73652ae70a88b4320db322f6634a4ad93424292fa80973ac6480986247f1734a1137debf271d5- languageName: node- linkType: hard--"commander@npm:^12.0.0":- version: 12.1.0- resolution: "commander@npm:12.1.0"- checksum: 10c0/6e1996680c083b3b897bfc1cfe1c58dfbcd9842fd43e1aaf8a795fbc237f65efcc860a3ef457b318e73f29a4f4a28f6403c3d653d021d960e4632dd45bde54a9- languageName: node- linkType: hard--"convert-source-map@npm:^2.0.0":- version: 2.0.0- resolution: "convert-source-map@npm:2.0.0"- checksum: 10c0/8f2f7a27a1a011cc6cc88cc4da2d7d0cfa5ee0369508baae3d98c260bb3ac520691464e5bbe4ae7cdf09860c1d69ecc6f70c63c6e7c7f7e3f18ec08484dc7d9b- languageName: node- linkType: hard--"convert-to-spaces@npm:^2.0.1":- version: 2.0.1- resolution: "convert-to-spaces@npm:2.0.1"- checksum: 10c0/d90aa0e3b6a27f9d5265a8d32def3c5c855b3e823a9db1f26d772f8146d6b91020a2fdfd905ce8048a73fad3aaf836fef8188c67602c374405e2ae8396c4ac46- languageName: node- linkType: hard--"csstype@npm:^3.2.2":- version: 3.2.3- resolution: "csstype@npm:3.2.3"- checksum: 10c0/cd29c51e70fa822f1cecd8641a1445bed7063697469d35633b516e60fe8c1bde04b08f6c5b6022136bb669b64c63d4173af54864510fbb4ee23281801841a3ce- languageName: node- linkType: hard--"debug@npm:4, debug@npm:^4.1.1, debug@npm:^4.3.4":- version: 4.4.3- resolution: "debug@npm:4.4.3"- dependencies:- ms: "npm:^2.1.3"- peerDependenciesMeta:- supports-color:- optional: true- checksum: 10c0/d79136ec6c83ecbefd0f6a5593da6a9c91ec4d7ddc4b54c883d6e71ec9accb5f67a1a5e96d00a328196b5b5c86d365e98d8a3a70856aaf16b4e7b1985e67f5a6- languageName: node- linkType: hard--"delayed-stream@npm:~1.0.0":- version: 1.0.0- resolution: "delayed-stream@npm:1.0.0"- checksum: 10c0/d758899da03392e6712f042bec80aa293bbe9e9ff1b2634baae6a360113e708b91326594c8a486d475c69d6259afb7efacdc3537bfcda1c6c648e390ce601b19- languageName: node- linkType: hard--"detect-libc@npm:^2.0.3, detect-libc@npm:^2.1.2":- version: 2.1.2- resolution: "detect-libc@npm:2.1.2"- checksum: 10c0/acc675c29a5649fa1fb6e255f993b8ee829e510b6b56b0910666949c80c364738833417d0edb5f90e4e46be17228b0f2b66a010513984e18b15deeeac49369c4- languageName: node- linkType: hard--"dunder-proto@npm:^1.0.1":- version: 1.0.1- resolution: "dunder-proto@npm:1.0.1"- dependencies:- call-bind-apply-helpers: "npm:^1.0.1"- es-errors: "npm:^1.3.0"- gopd: "npm:^1.2.0"- checksum: 10c0/199f2a0c1c16593ca0a145dbf76a962f8033ce3129f01284d48c45ed4e14fea9bbacd7b3610b6cdc33486cef20385ac054948fefc6272fcce645c09468f93031- languageName: node- linkType: hard--"emoji-regex@npm:^10.3.0":- version: 10.6.0- resolution: "emoji-regex@npm:10.6.0"- checksum: 10c0/1e4aa097bb007301c3b4b1913879ae27327fdc48e93eeefefe3b87e495eb33c5af155300be951b4349ff6ac084f4403dc9eff970acba7c1c572d89396a9a32d7- languageName: node- linkType: hard--"env-paths@npm:^2.2.0":- version: 2.2.1- resolution: "env-paths@npm:2.2.1"- checksum: 10c0/285325677bf00e30845e330eec32894f5105529db97496ee3f598478e50f008c5352a41a30e5e72ec9de8a542b5a570b85699cd63bd2bc646dbcb9f311d83bc4- languageName: node- linkType: hard--"environment@npm:^1.0.0":- version: 1.1.0- resolution: "environment@npm:1.1.0"- checksum: 10c0/fb26434b0b581ab397039e51ff3c92b34924a98b2039dcb47e41b7bca577b9dbf134a8eadb364415c74464b682e2d3afe1a4c0eb9873dc44ea814c5d3103331d- languageName: node- linkType: hard--"es-define-property@npm:^1.0.1":- version: 1.0.1- resolution: "es-define-property@npm:1.0.1"- checksum: 10c0/3f54eb49c16c18707949ff25a1456728c883e81259f045003499efba399c08bad00deebf65cccde8c0e07908c1a225c9d472b7107e558f2a48e28d530e34527c- languageName: node- linkType: hard--"es-errors@npm:^1.3.0":- version: 1.3.0- resolution: "es-errors@npm:1.3.0"- checksum: 10c0/0a61325670072f98d8ae3b914edab3559b6caa980f08054a3b872052640d91da01d38df55df797fcc916389d77fc92b8d5906cf028f4db46d7e3003abecbca85- languageName: node- linkType: hard--"es-module-lexer@npm:^2.0.0":- version: 2.1.0- resolution: "es-module-lexer@npm:2.1.0"- checksum: 10c0/93bcf2454fa72d67fe3ccd0abef8ce7933f5840a319513418a643dd8e9c6aa8f49709cecfae02ded722805dd327232d30723a807cc52e6809d6ac697c62c29fb- languageName: node- linkType: hard--"es-object-atoms@npm:^1.0.0, es-object-atoms@npm:^1.1.1":- version: 1.1.1- resolution: "es-object-atoms@npm:1.1.1"- dependencies:- es-errors: "npm:^1.3.0"- checksum: 10c0/65364812ca4daf48eb76e2a3b7a89b3f6a2e62a1c420766ce9f692665a29d94fe41fe88b65f24106f449859549711e4b40d9fb8002d862dfd7eb1c512d10be0c- languageName: node- linkType: hard--"es-set-tostringtag@npm:^2.1.0":- version: 2.1.0- resolution: "es-set-tostringtag@npm:2.1.0"- dependencies:- es-errors: "npm:^1.3.0"- get-intrinsic: "npm:^1.2.6"- has-tostringtag: "npm:^1.0.2"- hasown: "npm:^2.0.2"- checksum: 10c0/ef2ca9ce49afe3931cb32e35da4dcb6d86ab02592cfc2ce3e49ced199d9d0bb5085fc7e73e06312213765f5efa47cc1df553a6a5154584b21448e9fb8355b1af- languageName: node- linkType: hard--"es-toolkit@npm:^1.39.10":- version: 1.45.1- resolution: "es-toolkit@npm:1.45.1"- dependenciesMeta:- "@trivago/[email protected]":- unplugged: true- unplugged: true- checksum: 10c0/b19180c778af8fe2fb450e8e05a5793166c91e0aa66b87d9fcfcc5618bd33e6ceec9c103e074458d32b2044972dc4fc63631b3b615834fde261917e9561f6f59- languageName: node- linkType: hard--"esbuild@npm:^0.28.1":- version: 0.28.1- resolution: "esbuild@npm:0.28.1"- dependencies:- "@esbuild/aix-ppc64": "npm:0.28.1"- "@esbuild/android-arm": "npm:0.28.1"- "@esbuild/android-arm64": "npm:0.28.1"- "@esbuild/android-x64": "npm:0.28.1"- "@esbuild/darwin-arm64": "npm:0.28.1"- "@esbuild/darwin-x64": "npm:0.28.1"- "@esbuild/freebsd-arm64": "npm:0.28.1"- "@esbuild/freebsd-x64": "npm:0.28.1"- "@esbuild/linux-arm": "npm:0.28.1"- "@esbuild/linux-arm64": "npm:0.28.1"- "@esbuild/linux-ia32": "npm:0.28.1"- "@esbuild/linux-loong64": "npm:0.28.1"- "@esbuild/linux-mips64el": "npm:0.28.1"- "@esbuild/linux-ppc64": "npm:0.28.1"- "@esbuild/linux-riscv64": "npm:0.28.1"- "@esbuild/linux-s390x": "npm:0.28.1"- "@esbuild/linux-x64": "npm:0.28.1"- "@esbuild/netbsd-arm64": "npm:0.28.1"- "@esbuild/netbsd-x64": "npm:0.28.1"- "@esbuild/openbsd-arm64": "npm:0.28.1"- "@esbuild/openbsd-x64": "npm:0.28.1"- "@esbuild/openharmony-arm64": "npm:0.28.1"- "@esbuild/sunos-x64": "npm:0.28.1"- "@esbuild/win32-arm64": "npm:0.28.1"- "@esbuild/win32-ia32": "npm:0.28.1"- "@esbuild/win32-x64": "npm:0.28.1"- dependenciesMeta:- "@esbuild/aix-ppc64":- optional: true- "@esbuild/android-arm":- optional: true- "@esbuild/android-arm64":- optional: true- "@esbuild/android-x64":- optional: true- "@esbuild/darwin-arm64":- optional: true- "@esbuild/darwin-x64":- optional: true- "@esbuild/freebsd-arm64":- optional: true- "@esbuild/freebsd-x64":- optional: true- "@esbuild/linux-arm":- optional: true- "@esbuild/linux-arm64":- optional: true- "@esbuild/linux-ia32":- optional: true- "@esbuild/linux-loong64":- optional: true- "@esbuild/linux-mips64el":- optional: true- "@esbuild/linux-ppc64":- optional: true- "@esbuild/linux-riscv64":- optional: true- "@esbuild/linux-s390x":- optional: true- "@esbuild/linux-x64":- optional: true- "@esbuild/netbsd-arm64":- optional: true- "@esbuild/netbsd-x64":- optional: true- "@esbuild/openbsd-arm64":- optional: true- "@esbuild/openbsd-x64":- optional: true- "@esbuild/openharmony-arm64":- optional: true- "@esbuild/sunos-x64":- optional: true- "@esbuild/win32-arm64":- optional: true- "@esbuild/win32-ia32":- optional: true- "@esbuild/win32-x64":- optional: true- bin:- esbuild: bin/esbuild- checksum: 10c0/29cd456a79ce35ac2c7e05fe871330416b2c395c045d849653f843e51378d6e0d6e774d6dcd01b35f4e83238a29bf8decd04fcd34b3780c589a250b21e5f92bb- languageName: node- linkType: hard--"escape-string-regexp@npm:^2.0.0":- version: 2.0.0- resolution: "escape-string-regexp@npm:2.0.0"- checksum: 10c0/2530479fe8db57eace5e8646c9c2a9c80fa279614986d16dcc6bcaceb63ae77f05a851ba6c43756d816c61d7f4534baf56e3c705e3e0d884818a46808811c507- languageName: node- linkType: hard--"estree-walker@npm:^3.0.3":- version: 3.0.3- resolution: "estree-walker@npm:3.0.3"- dependencies:- "@types/estree": "npm:^1.0.0"- checksum: 10c0/c12e3c2b2642d2bcae7d5aa495c60fa2f299160946535763969a1c83fc74518ffa9c2cd3a8b69ac56aea547df6a8aac25f729a342992ef0bbac5f1c73e78995d- languageName: node- linkType: hard--"eventemitter3@npm:^3.1.0":- version: 3.1.2- resolution: "eventemitter3@npm:3.1.2"- checksum: 10c0/c67262eccbf85848b7cc6d4abb6c6e34155e15686db2a01c57669fd0d44441a574a19d44d25948b442929e065774cbe5003d8e77eed47674fbf876ac77887793- languageName: node- linkType: hard--"expect-type@npm:^1.3.0":- version: 1.3.0- resolution: "expect-type@npm:1.3.0"- checksum: 10c0/8412b3fe4f392c420ab41dae220b09700e4e47c639a29ba7ba2e83cc6cffd2b4926f7ac9e47d7e277e8f4f02acda76fd6931cb81fd2b382fa9477ef9ada953fd- languageName: node- linkType: hard--"exponential-backoff@npm:^3.1.1":- version: 3.1.3- resolution: "exponential-backoff@npm:3.1.3"- checksum: 10c0/77e3ae682b7b1f4972f563c6dbcd2b0d54ac679e62d5d32f3e5085feba20483cf28bd505543f520e287a56d4d55a28d7874299941faf637e779a1aa5994d1267- languageName: node- linkType: hard--"fast-sha256@npm:^1.3.0":- version: 1.3.0- resolution: "fast-sha256@npm:1.3.0"- checksum: 10c0/87f9e4baa7639576cf60a2b6235c9f436e1a1c52323abbd8a705b5bea8355500acf176f2aed0c14f2ecd6d6007e26151461bab2f27b8953bcca8d9d6b76a86e4- languageName: node- linkType: hard--"fast-string-truncated-width@npm:^3.0.2":- version: 3.0.3- resolution: "fast-string-truncated-width@npm:3.0.3"- checksum: 10c0/043b8663397d14a3880ce4f3407bcda60b40db9bbeafe62863a35d1f9c69ea17c8da3fcd72de235553e6c9cd053128cde9e24ca0d4a7463208f48db3cd23d981- languageName: node- linkType: hard--"fast-string-width@npm:^3.0.2":- version: 3.0.2- resolution: "fast-string-width@npm:3.0.2"- dependencies:- fast-string-truncated-width: "npm:^3.0.2"- checksum: 10c0/c8822d175315bb353ebe782b65214ac53b13e3bf704e03b132ea7bdfa8de6a636375b3ab7a4097545393d109381c37c4f387c72a462c90b61412dbc4632f39a7- languageName: node- linkType: hard--"fast-wrap-ansi@npm:^0.2.0":- version: 0.2.2- resolution: "fast-wrap-ansi@npm:0.2.2"- dependencies:- fast-string-width: "npm:^3.0.2"- checksum: 10c0/1aa7be4f7cb86f4bdb14691cb6bcc0b8df8b3b89df142ade3ae1602332dcf6f990cd750a923cd581ca0847808cb4ec1aa5afaafa7a72f849e87a2a62c98fa370- languageName: node- linkType: hard--"fdir@npm:^6.5.0":- version: 6.5.0- resolution: "fdir@npm:6.5.0"- peerDependencies:- picomatch: ^3 || ^4- peerDependenciesMeta:- picomatch:- optional: true- checksum: 10c0/e345083c4306b3aed6cb8ec551e26c36bab5c511e99ea4576a16750ddc8d3240e63826cc624f5ae17ad4dc82e68a253213b60d556c11bfad064b7607847ed07f- languageName: node- linkType: hard--"follow-redirects@npm:^1.16.0":- version: 1.16.0- resolution: "follow-redirects@npm:1.16.0"- peerDependenciesMeta:- debug:- optional: true- checksum: 10c0/a1e2900163e6f1b4d1ed5c221b607f41decbab65534c63fe7e287e40a5d552a6496e7d9d7d976fa4ba77b4c51c11e5e9f683f10b43011ea11e442ff128d0e181- languageName: node- linkType: hard--"form-data@npm:^4.0.5":- version: 4.0.6- resolution: "form-data@npm:4.0.6"- dependencies:- asynckit: "npm:^0.4.0"- combined-stream: "npm:^1.0.8"- es-set-tostringtag: "npm:^2.1.0"- hasown: "npm:^2.0.4"- mime-types: "npm:^2.1.35"- checksum: 10c0/43947a77bf0ff45c6ceed789778982d47a3f3e720a74b71721174ebf3310a5f1a8be1d6b38a3ee3688e8a18a2c4273073ec0844cd37efda3eaf46d41c9c318ff- languageName: node- linkType: hard--"fs-minipass@npm:^3.0.0":- version: 3.0.3- resolution: "fs-minipass@npm:3.0.3"- dependencies:- minipass: "npm:^7.0.3"- checksum: 10c0/63e80da2ff9b621e2cb1596abcb9207f1cf82b968b116ccd7b959e3323144cce7fb141462200971c38bbf2ecca51695069db45265705bed09a7cd93ae5b89f94- languageName: node- linkType: hard--"fsevents@npm:~2.3.3":- version: 2.3.3- resolution: "fsevents@npm:2.3.3"- dependencies:- node-gyp: "npm:latest"- checksum: 10c0/a1f0c44595123ed717febbc478aa952e47adfc28e2092be66b8ab1635147254ca6cfe1df792a8997f22716d4cbafc73309899ff7bfac2ac3ad8cf2e4ecc3ec60- conditions: os=darwin- languageName: node- linkType: hard--"fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin<compat/fsevents>":- version: 2.3.3- resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"- dependencies:- node-gyp: "npm:latest"- conditions: os=darwin- languageName: node- linkType: hard--"function-bind@npm:^1.1.2":- version: 1.1.2- resolution: "function-bind@npm:1.1.2"- checksum: 10c0/d8680ee1e5fcd4c197e4ac33b2b4dce03c71f4d91717292785703db200f5c21f977c568d28061226f9b5900cbcd2c84463646134fd5337e7925e0942bc3f46d5- languageName: node- linkType: hard--"generator-function@npm:^2.0.0":- version: 2.0.1- resolution: "generator-function@npm:2.0.1"- checksum: 10c0/8a9f59df0f01cfefafdb3b451b80555e5cf6d76487095db91ac461a0e682e4ff7a9dbce15f4ecec191e53586d59eece01949e05a4b4492879600bbbe8e28d6b8- languageName: node- linkType: hard--"get-east-asian-width@npm:^1.0.0, get-east-asian-width@npm:^1.3.1, get-east-asian-width@npm:^1.5.0":- version: 1.5.0- resolution: "get-east-asian-width@npm:1.5.0"- checksum: 10c0/bff8bbc8d81790b9477f7aa55b1806b9f082a8dc1359fff7bd8b96939622c86b729685afc2bfeb22def1fc6ef1e5228e4d87dd4e6da60bc43a5edfb03c4ee167- languageName: node- linkType: hard--"get-intrinsic@npm:^1.2.6":- version: 1.3.1- resolution: "get-intrinsic@npm:1.3.1"- dependencies:- async-function: "npm:^1.0.0"- async-generator-function: "npm:^1.0.0"- call-bind-apply-helpers: "npm:^1.0.2"- es-define-property: "npm:^1.0.1"- es-errors: "npm:^1.3.0"- es-object-atoms: "npm:^1.1.1"- function-bind: "npm:^1.1.2"- generator-function: "npm:^2.0.0"- get-proto: "npm:^1.0.1"- gopd: "npm:^1.2.0"- has-symbols: "npm:^1.1.0"- hasown: "npm:^2.0.2"- math-intrinsics: "npm:^1.1.0"- checksum: 10c0/9f4ab0cf7efe0fd2c8185f52e6f637e708f3a112610c88869f8f041bb9ecc2ce44bf285dfdbdc6f4f7c277a5b88d8e94a432374d97cca22f3de7fc63795deb5d- languageName: node- linkType: hard--"get-proto@npm:^1.0.1":- version: 1.0.1- resolution: "get-proto@npm:1.0.1"- dependencies:- dunder-proto: "npm:^1.0.1"- es-object-atoms: "npm:^1.0.0"- checksum: 10c0/9224acb44603c5526955e83510b9da41baf6ae73f7398875fba50edc5e944223a89c4a72b070fcd78beb5f7bdda58ecb6294adc28f7acfc0da05f76a2399643c- languageName: node- linkType: hard--"glob@npm:^13.0.0":- version: 13.0.6- resolution: "glob@npm:13.0.6"- dependencies:- minimatch: "npm:^10.2.2"- minipass: "npm:^7.1.3"- path-scurry: "npm:^2.0.2"- checksum: 10c0/269c236f11a9b50357fe7a8c6aadac667e01deb5242b19c84975628f05f4438d8ee1354bb62c5d6c10f37fd59911b54d7799730633a2786660d8c69f1d18120a- languageName: node- linkType: hard--"globrex@npm:^0.1.2":- version: 0.1.2- resolution: "globrex@npm:0.1.2"- checksum: 10c0/a54c029520cf58bda1d8884f72bd49b4cd74e977883268d931fd83bcbd1a9eb96d57c7dbd4ad80148fb9247467ebfb9b215630b2ed7563b2a8de02e1ff7f89d1- languageName: node- linkType: hard--"gopd@npm:^1.2.0":- version: 1.2.0- resolution: "gopd@npm:1.2.0"- checksum: 10c0/50fff1e04ba2b7737c097358534eacadad1e68d24cccee3272e04e007bed008e68d2614f3987788428fd192a5ae3889d08fb2331417e4fc4a9ab366b2043cead- languageName: node- linkType: hard--"graceful-fs@npm:^4.2.6":- version: 4.2.11- resolution: "graceful-fs@npm:4.2.11"- checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2- languageName: node- linkType: hard--"graphql-query-batcher@npm:^1.0.1":- version: 1.0.1- resolution: "graphql-query-batcher@npm:1.0.1"- checksum: 10c0/804d0f4064721a2116a16b9eac422e9233e85f4ab5b250cb8f83662725658ffde35779a8ae8211037f3dd2f9717de8cb63b394ad8057ce22171a83db2471196a- languageName: node- linkType: hard--"graphql-sse@npm:^2.5.4":- version: 2.6.0- resolution: "graphql-sse@npm:2.6.0"- peerDependencies:- graphql: ">=0.11 <=16"- checksum: 10c0/e05f0b5c8539d61e5ce34af8e0bb418c02bf922d6a7f9232a9abd53c77df5654684ca14f674ac771645c8fba9c37ce666c5d06f46eef54ea07e63653468065b0- languageName: node- linkType: hard--"graphql@npm:^16.8.1":- version: 16.13.2- resolution: "graphql@npm:16.13.2"- checksum: 10c0/64e822a0a0e4398781e4bc9765b88d370c08261498b517add4b878038ef7be2005b6b394a79a5102b9379d57052f60bc7f23fec8f39808d101984a74772ebd9d- languageName: node- linkType: hard--"has-symbols@npm:^1.0.3, has-symbols@npm:^1.1.0":- version: 1.1.0- resolution: "has-symbols@npm:1.1.0"- checksum: 10c0/dde0a734b17ae51e84b10986e651c664379018d10b91b6b0e9b293eddb32f0f069688c841fb40f19e9611546130153e0a2a48fd7f512891fb000ddfa36f5a20e- languageName: node- linkType: hard--"has-tostringtag@npm:^1.0.2":- version: 1.0.2- resolution: "has-tostringtag@npm:1.0.2"- dependencies:- has-symbols: "npm:^1.0.3"- checksum: 10c0/a8b166462192bafe3d9b6e420a1d581d93dd867adb61be223a17a8d6dad147aa77a8be32c961bb2f27b3ef893cae8d36f564ab651f5e9b7938ae86f74027c48c- languageName: node- linkType: hard--"hasown@npm:^2.0.2":- version: 2.0.2- resolution: "hasown@npm:2.0.2"- dependencies:- function-bind: "npm:^1.1.2"- checksum: 10c0/3769d434703b8ac66b209a4cca0737519925bbdb61dd887f93a16372b14694c63ff4e797686d87c90f08168e81082248b9b028bad60d4da9e0d1148766f56eb9- languageName: node- linkType: hard--"hasown@npm:^2.0.4":- version: 2.0.4- resolution: "hasown@npm:2.0.4"- dependencies:- function-bind: "npm:^1.1.2"- checksum: 10c0/2d8de939e270b70618f8cebb69746620db10617dbb495bc66ddad326955ea24d3ca4af133aff3eb7c1853e0218f867bc2b050ec26fe02e3aea58f880ffc5e506- languageName: node- linkType: hard--"http-cache-semantics@npm:^4.1.1":- version: 4.2.0- resolution: "http-cache-semantics@npm:4.2.0"- checksum: 10c0/45b66a945cf13ec2d1f29432277201313babf4a01d9e52f44b31ca923434083afeca03f18417f599c9ab3d0e7b618ceb21257542338b57c54b710463b4a53e37- languageName: node- linkType: hard--"http-proxy-agent@npm:^7.0.0":- version: 7.0.2- resolution: "http-proxy-agent@npm:7.0.2"- dependencies:- agent-base: "npm:^7.1.0"- debug: "npm:^4.3.4"- checksum: 10c0/4207b06a4580fb85dd6dff521f0abf6db517489e70863dca1a0291daa7f2d3d2d6015a57bd702af068ea5cf9f1f6ff72314f5f5b4228d299c0904135d2aef921- languageName: node- linkType: hard--"https-proxy-agent@npm:^5.0.1":- version: 5.0.1- resolution: "https-proxy-agent@npm:5.0.1"- dependencies:- agent-base: "npm:6"- debug: "npm:4"- checksum: 10c0/6dd639f03434003577c62b27cafdb864784ef19b2de430d8ae2a1d45e31c4fd60719e5637b44db1a88a046934307da7089e03d6089ec3ddacc1189d8de8897d1- languageName: node- linkType: hard--"https-proxy-agent@npm:^7.0.1":- version: 7.0.6- resolution: "https-proxy-agent@npm:7.0.6"- dependencies:- agent-base: "npm:^7.1.2"- debug: "npm:4"- checksum: 10c0/f729219bc735edb621fa30e6e84e60ee5d00802b8247aac0d7b79b0bd6d4b3294737a337b93b86a0bd9e68099d031858a39260c976dc14cdbba238ba1f8779ac- languageName: node- linkType: hard--"iconv-lite@npm:^0.7.2":- version: 0.7.2- resolution: "iconv-lite@npm:0.7.2"- dependencies:- safer-buffer: "npm:>= 2.1.2 < 3.0.0"- checksum: 10c0/3c228920f3bd307f56bf8363706a776f4a060eb042f131cd23855ceca962951b264d0997ab38a1ad340e1c5df8499ed26e1f4f0db6b2a2ad9befaff22f14b722- languageName: node- linkType: hard--"indent-string@npm:^5.0.0":- version: 5.0.0- resolution: "indent-string@npm:5.0.0"- checksum: 10c0/8ee77b57d92e71745e133f6f444d6fa3ed503ad0e1bcd7e80c8da08b42375c07117128d670589725ed07b1978065803fa86318c309ba45415b7fe13e7f170220- languageName: node- linkType: hard--"ink@npm:^6.8.0":- version: 6.8.0- resolution: "ink@npm:6.8.0"- dependencies:- "@alcalzone/ansi-tokenize": "npm:^0.2.4"- ansi-escapes: "npm:^7.3.0"- ansi-styles: "npm:^6.2.1"- auto-bind: "npm:^5.0.1"- chalk: "npm:^5.6.0"- cli-boxes: "npm:^3.0.0"- cli-cursor: "npm:^4.0.0"- cli-truncate: "npm:^5.1.1"- code-excerpt: "npm:^4.0.0"- es-toolkit: "npm:^1.39.10"- indent-string: "npm:^5.0.0"- is-in-ci: "npm:^2.0.0"- patch-console: "npm:^2.0.0"- react-reconciler: "npm:^0.33.0"- scheduler: "npm:^0.27.0"- signal-exit: "npm:^3.0.7"- slice-ansi: "npm:^8.0.0"- stack-utils: "npm:^2.0.6"- string-width: "npm:^8.1.1"- terminal-size: "npm:^4.0.1"- type-fest: "npm:^5.4.1"- widest-line: "npm:^6.0.0"- wrap-ansi: "npm:^9.0.0"- ws: "npm:^8.18.0"- yoga-layout: "npm:~3.2.1"- peerDependencies:- "@types/react": ">=19.0.0"- react: ">=19.0.0"- react-devtools-core: ">=6.1.2"- peerDependenciesMeta:- "@types/react":- optional: true- react-devtools-core:- optional: true- checksum: 10c0/50500e547fdf6a1f1d836d6befbd4770e3ab649ef0be1884500a6da411fb68a90e22dd7dcc9c404911d30e9f87506b3b9d8e997c6c6ceac85ee054b4dadefaff- languageName: node- linkType: hard--"inquirer@npm:^14.0.0":- version: 14.0.2- resolution: "inquirer@npm:14.0.2"- dependencies:- "@inquirer/ansi": "npm:^2.0.7"- "@inquirer/core": "npm:^11.2.1"- "@inquirer/prompts": "npm:^8.5.2"- "@inquirer/type": "npm:^4.0.7"- mute-stream: "npm:^3.0.0"- run-async: "npm:^4.0.6"- peerDependencies:- "@types/node": ">=18"- peerDependenciesMeta:- "@types/node":- optional: true- checksum: 10c0/31ec80b7d599dcb19568540d694865b1da116f701b75503a23ed38189d96fca70eb1fb6ccb1dbd994f6f79d407d51dc1a94d06dcef5370644ce736792414781b- languageName: node- linkType: hard--"ip-address@npm:^10.0.1":- version: 10.2.0- resolution: "ip-address@npm:10.2.0"- checksum: 10c0/5a00aada6e922c9c69dfc800ed5d0fa3348675ebdeed0e1575f503f27ca385b5f534363c9af7ad1daf64c1f1409388cdd3cc2e9b9b0fe1c924a431378d55075a- languageName: node- linkType: hard--"is-fullwidth-code-point@npm:^5.0.0, is-fullwidth-code-point@npm:^5.1.0":- version: 5.1.0- resolution: "is-fullwidth-code-point@npm:5.1.0"- dependencies:- get-east-asian-width: "npm:^1.3.1"- checksum: 10c0/c1172c2e417fb73470c56c431851681591f6a17233603a9e6f94b7ba870b2e8a5266506490573b607fb1081318589372034aa436aec07b465c2029c0bc7f07a4- languageName: node- linkType: hard--"is-in-ci@npm:^2.0.0":- version: 2.0.0- resolution: "is-in-ci@npm:2.0.0"- bin:- is-in-ci: cli.js- checksum: 10c0/1e1d1056939a681e8206035de5ad84e0404556eaa7622bb55f0f1868b9788bff3df427bc0b1ed5a172623154a90fcb1e759a230817cd73d09435543ae3c71feb- languageName: node- linkType: hard--"isexe@npm:^4.0.0":- version: 4.0.0- resolution: "isexe@npm:4.0.0"- checksum: 10c0/5884815115bceac452877659a9c7726382531592f43dc29e5d48b7c4100661aed54018cb90bd36cb2eaeba521092570769167acbb95c18d39afdccbcca06c5ce- languageName: node- linkType: hard--"isomorphic-unfetch@npm:^3.0.0":- version: 3.1.0- resolution: "isomorphic-unfetch@npm:3.1.0"- dependencies:- node-fetch: "npm:^2.6.1"- unfetch: "npm:^4.2.0"- checksum: 10c0/d3b61fca06304db692b7f76bdfd3a00f410e42cfa7403c3b250546bf71589d18cf2f355922f57198e4cc4a9872d3647b20397a5c3edf1a347c90d57c83cf2a89- languageName: node- linkType: hard--"iterall@npm:^1.2.1":- version: 1.3.0- resolution: "iterall@npm:1.3.0"- checksum: 10c0/40de624e5fe937c4c0e511981b91caea9ff2142bfc0316cccc8506eaa03aa253820cc17c5bc5f0a98706c7268a373e5ebee9af9a0c8a359730cf7c05938b57b5- languageName: node- linkType: hard--"js-tokens@npm:^3.0.0 || ^4.0.0":- version: 4.0.0- resolution: "js-tokens@npm:4.0.0"- checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed- languageName: node- linkType: hard--"jsonc-parser@npm:^3.2.0":- version: 3.3.1- resolution: "jsonc-parser@npm:3.3.1"- checksum: 10c0/269c3ae0a0e4f907a914bf334306c384aabb9929bd8c99f909275ebd5c2d3bc70b9bcd119ad794f339dec9f24b6a4ee9cd5a8ab2e6435e730ad4075388fc2ab6- languageName: node- linkType: hard--"lightningcss-android-arm64@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-android-arm64@npm:1.32.0"- conditions: os=android & cpu=arm64- languageName: node- linkType: hard--"lightningcss-darwin-arm64@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-darwin-arm64@npm:1.32.0"- conditions: os=darwin & cpu=arm64- languageName: node- linkType: hard--"lightningcss-darwin-x64@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-darwin-x64@npm:1.32.0"- conditions: os=darwin & cpu=x64- languageName: node- linkType: hard--"lightningcss-freebsd-x64@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-freebsd-x64@npm:1.32.0"- conditions: os=freebsd & cpu=x64- languageName: node- linkType: hard--"lightningcss-linux-arm-gnueabihf@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-linux-arm-gnueabihf@npm:1.32.0"- conditions: os=linux & cpu=arm- languageName: node- linkType: hard--"lightningcss-linux-arm64-gnu@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-linux-arm64-gnu@npm:1.32.0"- conditions: os=linux & cpu=arm64 & libc=glibc- languageName: node- linkType: hard--"lightningcss-linux-arm64-musl@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-linux-arm64-musl@npm:1.32.0"- conditions: os=linux & cpu=arm64 & libc=musl- languageName: node- linkType: hard--"lightningcss-linux-x64-gnu@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-linux-x64-gnu@npm:1.32.0"- conditions: os=linux & cpu=x64 & libc=glibc- languageName: node- linkType: hard--"lightningcss-linux-x64-musl@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-linux-x64-musl@npm:1.32.0"- conditions: os=linux & cpu=x64 & libc=musl- languageName: node- linkType: hard--"lightningcss-win32-arm64-msvc@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-win32-arm64-msvc@npm:1.32.0"- conditions: os=win32 & cpu=arm64- languageName: node- linkType: hard--"lightningcss-win32-x64-msvc@npm:1.32.0":- version: 1.32.0- resolution: "lightningcss-win32-x64-msvc@npm:1.32.0"- conditions: os=win32 & cpu=x64- languageName: node- linkType: hard--"lightningcss@npm:^1.32.0":- version: 1.32.0- resolution: "lightningcss@npm:1.32.0"- dependencies:- detect-libc: "npm:^2.0.3"- lightningcss-android-arm64: "npm:1.32.0"- lightningcss-darwin-arm64: "npm:1.32.0"- lightningcss-darwin-x64: "npm:1.32.0"- lightningcss-freebsd-x64: "npm:1.32.0"- lightningcss-linux-arm-gnueabihf: "npm:1.32.0"- lightningcss-linux-arm64-gnu: "npm:1.32.0"- lightningcss-linux-arm64-musl: "npm:1.32.0"- lightningcss-linux-x64-gnu: "npm:1.32.0"- lightningcss-linux-x64-musl: "npm:1.32.0"- lightningcss-win32-arm64-msvc: "npm:1.32.0"- lightningcss-win32-x64-msvc: "npm:1.32.0"- dependenciesMeta:- lightningcss-android-arm64:- optional: true- lightningcss-darwin-arm64:- optional: true- lightningcss-darwin-x64:- optional: true- lightningcss-freebsd-x64:- optional: true- lightningcss-linux-arm-gnueabihf:- optional: true- lightningcss-linux-arm64-gnu:- optional: true- lightningcss-linux-arm64-musl:- optional: true- lightningcss-linux-x64-gnu:- optional: true- lightningcss-linux-x64-musl:- optional: true- lightningcss-win32-arm64-msvc:- optional: true- lightningcss-win32-x64-msvc:- optional: true- checksum: 10c0/70945bd55097af46fc9fab7f5ed09cd5869d85940a2acab7ee06d0117004a1d68155708a2d462531cea2fc3c67aefc9333a7068c80b0b78dd404c16838809e03- languageName: node- linkType: hard--"lodash@npm:^4.17.20, lodash@npm:^4.17.21":- version: 4.18.1- resolution: "lodash@npm:4.18.1"- checksum: 10c0/757228fc68805c59789e82185135cf85f05d0b2d3d54631d680ca79ec21944ec8314d4533639a14b8bcfbd97a517e78960933041a5af17ecb693ec6eecb99a27- languageName: node- linkType: hard--"loose-envify@npm:^1.1.0":- version: 1.4.0- resolution: "loose-envify@npm:1.4.0"- dependencies:- js-tokens: "npm:^3.0.0 || ^4.0.0"- bin:- loose-envify: cli.js- checksum: 10c0/655d110220983c1a4b9c0c679a2e8016d4b67f6e9c7b5435ff5979ecdb20d0813f4dec0a08674fcbdd4846a3f07edbb50a36811fd37930b94aaa0d9daceb017e- languageName: node- linkType: hard--"lru-cache@npm:^11.0.0, lru-cache@npm:^11.1.0, lru-cache@npm:^11.2.1":- version: 11.3.5- resolution: "lru-cache@npm:11.3.5"- checksum: 10c0/5b54ef7b88afb4bd25b7a778f1b2b1cde32d9770913e530da34ab203cf0442413bcaa6e372800cbab9562557a4480e4d8bf32e3a368bb5a91b12218eca085c66- languageName: node- linkType: hard--"magic-string@npm:^0.30.21":- version: 0.30.21- resolution: "magic-string@npm:0.30.21"- dependencies:- "@jridgewell/sourcemap-codec": "npm:^1.5.5"- checksum: 10c0/299378e38f9a270069fc62358522ddfb44e94244baa0d6a8980ab2a9b2490a1d03b236b447eee309e17eb3bddfa482c61259d47960eb018a904f0ded52780c4a- languageName: node- linkType: hard--"make-fetch-happen@npm:^15.0.0":- version: 15.0.5- resolution: "make-fetch-happen@npm:15.0.5"- dependencies:- "@gar/promise-retry": "npm:^1.0.0"- "@npmcli/agent": "npm:^4.0.0"- "@npmcli/redact": "npm:^4.0.0"- cacache: "npm:^20.0.1"- http-cache-semantics: "npm:^4.1.1"- minipass: "npm:^7.0.2"- minipass-fetch: "npm:^5.0.0"- minipass-flush: "npm:^1.0.5"- minipass-pipeline: "npm:^1.2.4"- negotiator: "npm:^1.0.0"- proc-log: "npm:^6.0.0"- ssri: "npm:^13.0.0"- checksum: 10c0/527580eb5e5476e6ad07a4e3bd017d13e935f4be815674b442081ae5a721c13d3af5715006619e6be79a85723067e047f83a0c9e699f41d8cec43609a8de4f7b- languageName: node- linkType: hard--"math-intrinsics@npm:^1.1.0":- version: 1.1.0- resolution: "math-intrinsics@npm:1.1.0"- checksum: 10c0/7579ff94e899e2f76ab64491d76cf606274c874d8f2af4a442c016bd85688927fcfca157ba6bf74b08e9439dc010b248ce05b96cc7c126a354c3bae7fcb48b7f- languageName: node- linkType: hard--"mime-db@npm:1.52.0":- version: 1.52.0- resolution: "mime-db@npm:1.52.0"- checksum: 10c0/0557a01deebf45ac5f5777fe7740b2a5c309c6d62d40ceab4e23da9f821899ce7a900b7ac8157d4548ddbb7beffe9abc621250e6d182b0397ec7f10c7b91a5aa- languageName: node- linkType: hard--"mime-types@npm:^2.1.35":- version: 2.1.35- resolution: "mime-types@npm:2.1.35"- dependencies:- mime-db: "npm:1.52.0"- checksum: 10c0/82fb07ec56d8ff1fc999a84f2f217aa46cb6ed1033fefaabd5785b9a974ed225c90dc72fff460259e66b95b73648596dbcc50d51ed69cdf464af2d237d3149b2- languageName: node- linkType: hard--"mimic-fn@npm:^2.1.0":- version: 2.1.0- resolution: "mimic-fn@npm:2.1.0"- checksum: 10c0/b26f5479d7ec6cc2bce275a08f146cf78f5e7b661b18114e2506dd91ec7ec47e7a25bf4360e5438094db0560bcc868079fb3b1fb3892b833c1ecbf63f80c95a4- languageName: node- linkType: hard--"minimatch@npm:^10.2.2":- version: 10.2.5- resolution: "minimatch@npm:10.2.5"- dependencies:- brace-expansion: "npm:^5.0.5"- checksum: 10c0/6bb058bd6324104b9ec2f763476a35386d05079c1f5fe4fbf1f324a25237cd4534d6813ecd71f48208f4e635c1221899bef94c3c89f7df55698fe373aaae20fd- languageName: node- linkType: hard--"minipass-collect@npm:^2.0.1":- version: 2.0.1- resolution: "minipass-collect@npm:2.0.1"- dependencies:- minipass: "npm:^7.0.3"- checksum: 10c0/5167e73f62bb74cc5019594709c77e6a742051a647fe9499abf03c71dca75515b7959d67a764bdc4f8b361cf897fbf25e2d9869ee039203ed45240f48b9aa06e- languageName: node- linkType: hard--"minipass-fetch@npm:^5.0.0":- version: 5.0.2- resolution: "minipass-fetch@npm:5.0.2"- dependencies:- iconv-lite: "npm:^0.7.2"- minipass: "npm:^7.0.3"- minipass-sized: "npm:^2.0.0"- minizlib: "npm:^3.0.1"- dependenciesMeta:- iconv-lite:- optional: true- checksum: 10c0/ce4ab9f21cfabaead2097d95dd33f485af8072fbc6b19611bce694965393453a1639d641c2bcf1c48f2ea7d41ea7fab8278373f1d0bee4e63b0a5b2cdd0ef649- languageName: node- linkType: hard--"minipass-flush@npm:^1.0.5":- version: 1.0.7- resolution: "minipass-flush@npm:1.0.7"- dependencies:- minipass: "npm:^3.0.0"- checksum: 10c0/960915c02aa0991662c37c404517dd93708d17f96533b2ca8c1e776d158715d8107c5ced425ffc61674c167d93607f07f48a83c139ce1057f8781e5dfb4b90c2- languageName: node- linkType: hard--"minipass-pipeline@npm:^1.2.4":- version: 1.2.4- resolution: "minipass-pipeline@npm:1.2.4"- dependencies:- minipass: "npm:^3.0.0"- checksum: 10c0/cbda57cea20b140b797505dc2cac71581a70b3247b84480c1fed5ca5ba46c25ecc25f68bfc9e6dcb1a6e9017dab5c7ada5eab73ad4f0a49d84e35093e0c643f2- languageName: node- linkType: hard--"minipass-sized@npm:^2.0.0":- version: 2.0.0- resolution: "minipass-sized@npm:2.0.0"- dependencies:- minipass: "npm:^7.1.2"- checksum: 10c0/f9201696a6f6d68610d04c9c83e3d2e5cb9c026aae1c8cbf7e17f386105cb79c1bb088dbc21bf0b1eb4f3fb5df384fd1e7aa3bf1f33868c416ae8c8a92679db8- languageName: node- linkType: hard--"minipass@npm:^3.0.0":- version: 3.3.6- resolution: "minipass@npm:3.3.6"- dependencies:- yallist: "npm:^4.0.0"- checksum: 10c0/a114746943afa1dbbca8249e706d1d38b85ed1298b530f5808ce51f8e9e941962e2a5ad2e00eae7dd21d8a4aae6586a66d4216d1a259385e9d0358f0c1eba16c- languageName: node- linkType: hard--"minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.0.4, minipass@npm:^7.1.2, minipass@npm:^7.1.3":- version: 7.1.3- resolution: "minipass@npm:7.1.3"- checksum: 10c0/539da88daca16533211ea5a9ee98dc62ff5742f531f54640dd34429e621955e91cc280a91a776026264b7f9f6735947629f920944e9c1558369e8bf22eb33fbb- languageName: node- linkType: hard--"minizlib@npm:^3.0.1, minizlib@npm:^3.1.0":- version: 3.1.0- resolution: "minizlib@npm:3.1.0"- dependencies:- minipass: "npm:^7.1.2"- checksum: 10c0/5aad75ab0090b8266069c9aabe582c021ae53eb33c6c691054a13a45db3b4f91a7fb1bd79151e6b4e9e9a86727b522527c0a06ec7d45206b745d54cd3097bcec- languageName: node- linkType: hard--"ms@npm:^2.1.3":- version: 2.1.3- resolution: "ms@npm:2.1.3"- checksum: 10c0/d924b57e7312b3b63ad21fc5b3dc0af5e78d61a1fc7cfb5457edaf26326bf62be5307cc87ffb6862ef1c2b33b0233cdb5d4f01c4c958cc0d660948b65a287a48- languageName: node- linkType: hard--"mute-stream@npm:^3.0.0":- version: 3.0.0- resolution: "mute-stream@npm:3.0.0"- checksum: 10c0/12cdb36a101694c7a6b296632e6d93a30b74401873cf7507c88861441a090c71c77a58f213acadad03bc0c8fa186639dec99d68a14497773a8744320c136e701- languageName: node- linkType: hard--"nanoid@npm:^3.3.12":- version: 3.3.12- resolution: "nanoid@npm:3.3.12"- bin:- nanoid: bin/nanoid.cjs- checksum: 10c0/ba142b7b39e11e80c16dd74b0365d407880c87c1cf7e1480956981ae940ee36060fa5b6f092cd1e315184dd19244c657bd017d03327bd3c62247d691c5e8edfb- languageName: node- linkType: hard--"negotiator@npm:^1.0.0":- version: 1.0.0- resolution: "negotiator@npm:1.0.0"- checksum: 10c0/4c559dd52669ea48e1914f9d634227c561221dd54734070791f999c52ed0ff36e437b2e07d5c1f6e32909fc625fe46491c16e4a8f0572567d4dd15c3a4fda04b- languageName: node- linkType: hard--"node-fetch@npm:^2.6.1":- version: 2.7.0- resolution: "node-fetch@npm:2.7.0"- dependencies:- whatwg-url: "npm:^5.0.0"- peerDependencies:- encoding: ^0.1.0- peerDependenciesMeta:- encoding:- optional: true- checksum: 10c0/b55786b6028208e6fbe594ccccc213cab67a72899c9234eb59dba51062a299ea853210fcf526998eaa2867b0963ad72338824450905679ff0fa304b8c5093ae8- languageName: node- linkType: hard--"node-gyp@npm:latest":- version: 12.2.0- resolution: "node-gyp@npm:12.2.0"- dependencies:- env-paths: "npm:^2.2.0"- exponential-backoff: "npm:^3.1.1"- graceful-fs: "npm:^4.2.6"- make-fetch-happen: "npm:^15.0.0"- nopt: "npm:^9.0.0"- proc-log: "npm:^6.0.0"- semver: "npm:^7.3.5"- tar: "npm:^7.5.4"- tinyglobby: "npm:^0.2.12"- which: "npm:^6.0.0"- bin:- node-gyp: bin/node-gyp.js- checksum: 10c0/3ed046746a5a7d90950cd8b0547332b06598443f31fe213ef4332a7174c7b7d259e1704835feda79b87d3f02e59d7791842aac60642ede4396ab25fdf0f8f759- languageName: node- linkType: hard--"nopt@npm:^9.0.0":- version: 9.0.0- resolution: "nopt@npm:9.0.0"- dependencies:- abbrev: "npm:^4.0.0"- bin:- nopt: bin/nopt.js- checksum: 10c0/1822eb6f9b020ef6f7a7516d7b64a8036e09666ea55ac40416c36e4b2b343122c3cff0e2f085675f53de1d2db99a2a89a60ccea1d120bcd6a5347bf6ceb4a7fd- languageName: node- linkType: hard--"obug@npm:^2.1.1":- version: 2.1.2- resolution: "obug@npm:2.1.2"- checksum: 10c0/e857080ef23c018bd4ad8553238cd97008cd4ab8472b4b83eafe75c19e9b6f84ac8fe53ef7f50b515a1dbf83e6372dd0b198aece33bc716edfa70366f6f6ed5e- languageName: node- linkType: hard--"onetime@npm:^5.1.0":- version: 5.1.2- resolution: "onetime@npm:5.1.2"- dependencies:- mimic-fn: "npm:^2.1.0"- checksum: 10c0/ffcef6fbb2692c3c40749f31ea2e22677a876daea92959b8a80b521d95cca7a668c884d8b2045d1d8ee7d56796aa405c405462af112a1477594cc63531baeb8f- languageName: node- linkType: hard--"oxlint@npm:^0.16.0":- version: 0.16.12- resolution: "oxlint@npm:0.16.12"- dependencies:- "@oxlint/darwin-arm64": "npm:0.16.12"- "@oxlint/darwin-x64": "npm:0.16.12"- "@oxlint/linux-arm64-gnu": "npm:0.16.12"- "@oxlint/linux-arm64-musl": "npm:0.16.12"- "@oxlint/linux-x64-gnu": "npm:0.16.12"- "@oxlint/linux-x64-musl": "npm:0.16.12"- "@oxlint/win32-arm64": "npm:0.16.12"- "@oxlint/win32-x64": "npm:0.16.12"- dependenciesMeta:- "@oxlint/darwin-arm64":- optional: true- "@oxlint/darwin-x64":- optional: true- "@oxlint/linux-arm64-gnu":- optional: true- "@oxlint/linux-arm64-musl":- optional: true- "@oxlint/linux-x64-gnu":- optional: true- "@oxlint/linux-x64-musl":- optional: true- "@oxlint/win32-arm64":- optional: true- "@oxlint/win32-x64":- optional: true- bin:- oxc_language_server: bin/oxc_language_server- oxlint: bin/oxlint- checksum: 10c0/209c3484039c4f1fdd340689e81be93a70fdf74e8c111731e70d81580d223b0029439107c95fa4118cec3c9b03ba6c56624d3dcb8cdc79af222da3561122b3e7- languageName: node- linkType: hard--"p-map@npm:^7.0.2":- version: 7.0.4- resolution: "p-map@npm:7.0.4"- checksum: 10c0/a5030935d3cb2919d7e89454d1ce82141e6f9955413658b8c9403cfe379283770ed3048146b44cde168aa9e8c716505f196d5689db0ae3ce9a71521a2fef3abd- languageName: node- linkType: hard--"patch-console@npm:^2.0.0":- version: 2.0.0- resolution: "patch-console@npm:2.0.0"- checksum: 10c0/486602591a0af7af8d4c76d8eea42cad32b6de7200488819c6383c75e43733ca7bdc80e30f2e68ce05f06a1607cce1683a1706c6672ca27dada1921b366e8f1c- languageName: node- linkType: hard--"path-scurry@npm:^2.0.2":- version: 2.0.2- resolution: "path-scurry@npm:2.0.2"- dependencies:- lru-cache: "npm:^11.0.0"- minipass: "npm:^7.1.2"- checksum: 10c0/b35ad37cf6557a87fd057121ce2be7695380c9138d93e87ae928609da259ea0a170fac6f3ef1eb3ece8a068e8b7f2f3adf5bb2374cf4d4a57fe484954fcc9482- languageName: node- linkType: hard--"pathe@npm:^2.0.3":- version: 2.0.3- resolution: "pathe@npm:2.0.3"- checksum: 10c0/c118dc5a8b5c4166011b2b70608762e260085180bb9e33e80a50dcdb1e78c010b1624f4280c492c92b05fc276715a4c357d1f9edc570f8f1b3d90b6839ebaca1- languageName: node- linkType: hard--"picocolors@npm:^1.1.1":- version: 1.1.1- resolution: "picocolors@npm:1.1.1"- checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58- languageName: node- linkType: hard--"picomatch@npm:^4.0.3, picomatch@npm:^4.0.4":- version: 4.0.4- resolution: "picomatch@npm:4.0.4"- checksum: 10c0/e2c6023372cc7b5764719a5ffb9da0f8e781212fa7ca4bd0562db929df8e117460f00dff3cb7509dacfc06b86de924b247f504d0ce1806a37fac4633081466b0- languageName: node- linkType: hard--"postal-mime@npm:2.7.4":- version: 2.7.4- resolution: "postal-mime@npm:2.7.4"- checksum: 10c0/836220ef876b8e3ae7236341a4fbff5b8bf6618952a1208966a4e3040c9f51c14572fa695b1863bd445e8d7894536d2eb4e5001f50795c3f7fbfe39c8946ba09- languageName: node- linkType: hard--"postcss@npm:^8.5.15":- version: 8.5.15- resolution: "postcss@npm:8.5.15"- dependencies:- nanoid: "npm:^3.3.12"- picocolors: "npm:^1.1.1"- source-map-js: "npm:^1.2.1"- checksum: 10c0/7f2e63ae22fbe43aace1bf652bd99da4e90737c64194d49e51ddc9cd0f9e51ff2861a7d734379b494deffa03a880a5c65eec70bc29ee9ebaa7136dde3eee8f31- languageName: node- linkType: hard--"preact@npm:^10.28.3":- version: 10.29.1- resolution: "preact@npm:10.29.1"- checksum: 10c0/55da3994d0d9ebcc26476552c6571f8be1150cccdafe842aad40eff9abc84c867555f6d01db386fc63ac4cbe9f9da245002468bb24df0642365162d8f1b545e2- languageName: node- linkType: hard--"prettier@npm:^3.8.3":- version: 3.8.4- resolution: "prettier@npm:3.8.4"- bin:- prettier: bin/prettier.cjs- checksum: 10c0/b90a0cbe75b88ac0af9c13fe0f359bd19926fabccd88483227b21f71f0c1cc42da056fc1ac3a361e665577c568371d5ccfb2c62c31c8a1186f8d1bd531a063e9- languageName: node- linkType: hard--"proc-log@npm:^6.0.0":- version: 6.1.0- resolution: "proc-log@npm:6.1.0"- checksum: 10c0/4f178d4062733ead9d71a9b1ab24ebcecdfe2250916a5b1555f04fe2eda972a0ec76fbaa8df1ad9c02707add6749219d118a4fc46dc56bdfe4dde4b47d80bb82- languageName: node- linkType: hard--"proxy-from-env@npm:^2.1.0":- version: 2.1.0- resolution: "proxy-from-env@npm:2.1.0"- checksum: 10c0/ed01729fd4d094eab619cd7e17ce3698b3413b31eb102c4904f9875e677cd207392795d5b4adee9cec359dfd31c44d5ad7595a3a3ad51c40250e141512281c58- languageName: node- linkType: hard--"react-dom@npm:^18.2.0":- version: 18.3.1- resolution: "react-dom@npm:18.3.1"- dependencies:- loose-envify: "npm:^1.1.0"- scheduler: "npm:^0.23.2"- peerDependencies:- react: ^18.3.1- checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85- languageName: node- linkType: hard--"react-dom@npm:^19.2.0":- version: 19.2.7- resolution: "react-dom@npm:19.2.7"- dependencies:- scheduler: "npm:^0.27.0"- peerDependencies:- react: ^19.2.7- checksum: 10c0/970ff600f6e80d47d39e2f226f12f226173b3cba3382efc97c5f0cd663de9af38c7a4c11c213fb936094faeac83060d660247accaa96b752180d5b951b9cfecb- languageName: node- linkType: hard--"react-reconciler@npm:^0.33.0":- version: 0.33.0- resolution: "react-reconciler@npm:0.33.0"- dependencies:- scheduler: "npm:^0.27.0"- peerDependencies:- react: ^19.2.0- checksum: 10c0/3f7b27ea8d0ff4c8bf0e402a285e1af9b7d0e6f4c1a70a28f4384938bc1130bc82a90a31df0b79ef5e380e2e55e2598bd90b4dbf802b1203d735ba0355817d3a- languageName: node- linkType: hard--"react@npm:^18.2.0":- version: 18.3.1- resolution: "react@npm:18.3.1"- dependencies:- loose-envify: "npm:^1.1.0"- checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3- languageName: node- linkType: hard--"react@npm:^19.2.0":- version: 19.2.7- resolution: "react@npm:19.2.7"- checksum: 10c0/0bd0e2f1bbd4ba97561c6597bf8a5fec05e6476fe61e165c1065598d16668efc6715205599c94d3ddd49d36cb0f21cbf1b9bcc18ee840b805ce222c3e8d558ac- languageName: node- linkType: hard--"readdirp@npm:^4.0.1":- version: 4.1.2- resolution: "readdirp@npm:4.1.2"- checksum: 10c0/60a14f7619dec48c9c850255cd523e2717001b0e179dc7037cfa0895da7b9e9ab07532d324bfb118d73a710887d1e35f79c495fa91582784493e085d18c72c62- languageName: node- linkType: hard--"resend@npm:^6.12.0":- version: 6.12.4- resolution: "resend@npm:6.12.4"- dependencies:- postal-mime: "npm:2.7.4"- standardwebhooks: "npm:1.0.0"- peerDependencies:- "@react-email/render": "*"- peerDependenciesMeta:- "@react-email/render":- optional: true- checksum: 10c0/092681171100dc704848c2bf67d7ab3ffe8ebbf6683e127a453cb45110a12c59654fd878ea2300dcc0d56fcb05558657c9d696216357d02f823a2bea305bb26c- languageName: node- linkType: hard--"restore-cursor@npm:^4.0.0":- version: 4.0.0- resolution: "restore-cursor@npm:4.0.0"- dependencies:- onetime: "npm:^5.1.0"- signal-exit: "npm:^3.0.2"- checksum: 10c0/6f7da8c5e422ac26aa38354870b1afac09963572cf2879443540449068cb43476e9cbccf6f8de3e0171e0d6f7f533c2bc1a0a008003c9a525bbc098e89041318- languageName: node- linkType: hard--"rolldown@npm:1.0.3":- version: 1.0.3- resolution: "rolldown@npm:1.0.3"- dependencies:- "@oxc-project/types": "npm:=0.133.0"- "@rolldown/binding-android-arm64": "npm:1.0.3"- "@rolldown/binding-darwin-arm64": "npm:1.0.3"- "@rolldown/binding-darwin-x64": "npm:1.0.3"- "@rolldown/binding-freebsd-x64": "npm:1.0.3"- "@rolldown/binding-linux-arm-gnueabihf": "npm:1.0.3"- "@rolldown/binding-linux-arm64-gnu": "npm:1.0.3"- "@rolldown/binding-linux-arm64-musl": "npm:1.0.3"- "@rolldown/binding-linux-ppc64-gnu": "npm:1.0.3"- "@rolldown/binding-linux-s390x-gnu": "npm:1.0.3"- "@rolldown/binding-linux-x64-gnu": "npm:1.0.3"- "@rolldown/binding-linux-x64-musl": "npm:1.0.3"- "@rolldown/binding-openharmony-arm64": "npm:1.0.3"- "@rolldown/binding-wasm32-wasi": "npm:1.0.3"- "@rolldown/binding-win32-arm64-msvc": "npm:1.0.3"- "@rolldown/binding-win32-x64-msvc": "npm:1.0.3"- "@rolldown/pluginutils": "npm:^1.0.0"- dependenciesMeta:- "@rolldown/binding-android-arm64":- optional: true- "@rolldown/binding-darwin-arm64":- optional: true- "@rolldown/binding-darwin-x64":- optional: true- "@rolldown/binding-freebsd-x64":- optional: true- "@rolldown/binding-linux-arm-gnueabihf":- optional: true- "@rolldown/binding-linux-arm64-gnu":- optional: true- "@rolldown/binding-linux-arm64-musl":- optional: true- "@rolldown/binding-linux-ppc64-gnu":- optional: true- "@rolldown/binding-linux-s390x-gnu":- optional: true- "@rolldown/binding-linux-x64-gnu":- optional: true- "@rolldown/binding-linux-x64-musl":- optional: true- "@rolldown/binding-openharmony-arm64":- optional: true- "@rolldown/binding-wasm32-wasi":- optional: true- "@rolldown/binding-win32-arm64-msvc":- optional: true- "@rolldown/binding-win32-x64-msvc":- optional: true- bin:- rolldown: ./bin/cli.mjs- checksum: 10c0/5f9dd47b7abf203b16bc600db68542f245e974c800e59ff50b76157d1dada1403657690435b036fabca88e93d13a67c31abe5cfaa6f61ce33717f61720204cdf- languageName: node- linkType: hard--"run-async@npm:^4.0.6":- version: 4.0.6- resolution: "run-async@npm:4.0.6"- checksum: 10c0/3e512c689d356238a06a59839deddeb09aec23bc66f780fe970fcf12b64bfc00c6880e9530ea22b8cf88a927145561f5a43343d8be87166e849ec0daaa3d4cf4- languageName: node- linkType: hard--"safer-buffer@npm:>= 2.1.2 < 3.0.0":- version: 2.1.2- resolution: "safer-buffer@npm:2.1.2"- checksum: 10c0/7e3c8b2e88a1841c9671094bbaeebd94448111dd90a81a1f606f3f67708a6ec57763b3b47f06da09fc6054193e0e6709e77325415dc8422b04497a8070fa02d4- languageName: node- linkType: hard--"scheduler@npm:^0.23.2":- version: 0.23.2- resolution: "scheduler@npm:0.23.2"- dependencies:- loose-envify: "npm:^1.1.0"- checksum: 10c0/26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78- languageName: node- linkType: hard--"scheduler@npm:^0.27.0":- version: 0.27.0- resolution: "scheduler@npm:0.27.0"- checksum: 10c0/4f03048cb05a3c8fddc45813052251eca00688f413a3cee236d984a161da28db28ba71bd11e7a3dd02f7af84ab28d39fb311431d3b3772fed557945beb00c452- languageName: node- linkType: hard--"semver@npm:7.6.3":- version: 7.6.3- resolution: "semver@npm:7.6.3"- bin:- semver: bin/semver.js- checksum: 10c0/88f33e148b210c153873cb08cfe1e281d518aaa9a666d4d148add6560db5cd3c582f3a08ccb91f38d5f379ead256da9931234ed122057f40bb5766e65e58adaf- languageName: node- linkType: hard--"semver@npm:^7.3.5":- version: 7.7.4- resolution: "semver@npm:7.7.4"- bin:- semver: bin/semver.js- checksum: 10c0/5215ad0234e2845d4ea5bb9d836d42b03499546ddafb12075566899fc617f68794bb6f146076b6881d755de17d6c6cc73372555879ec7dce2c2feee947866ad2- languageName: node- linkType: hard--"semver@npm:^7.7.3":- version: 7.8.5- resolution: "semver@npm:7.8.5"- bin:- semver: bin/semver.js- checksum: 10c0/b1f3127a5be8125a94f37188b361c212466c292c6910adce3ec106cff5dc211ccaedc4739c11bb70fda59d6fc1f040a9bca289f4e093451521a2372e5231fe0c- languageName: node- linkType: hard--"sharp@npm:^0.34.5":- version: 0.34.5- resolution: "sharp@npm:0.34.5"- dependencies:- "@img/colour": "npm:^1.0.0"- "@img/sharp-darwin-arm64": "npm:0.34.5"- "@img/sharp-darwin-x64": "npm:0.34.5"- "@img/sharp-libvips-darwin-arm64": "npm:1.2.4"- "@img/sharp-libvips-darwin-x64": "npm:1.2.4"- "@img/sharp-libvips-linux-arm": "npm:1.2.4"- "@img/sharp-libvips-linux-arm64": "npm:1.2.4"- "@img/sharp-libvips-linux-ppc64": "npm:1.2.4"- "@img/sharp-libvips-linux-riscv64": "npm:1.2.4"- "@img/sharp-libvips-linux-s390x": "npm:1.2.4"- "@img/sharp-libvips-linux-x64": "npm:1.2.4"- "@img/sharp-libvips-linuxmusl-arm64": "npm:1.2.4"- "@img/sharp-libvips-linuxmusl-x64": "npm:1.2.4"- "@img/sharp-linux-arm": "npm:0.34.5"- "@img/sharp-linux-arm64": "npm:0.34.5"- "@img/sharp-linux-ppc64": "npm:0.34.5"- "@img/sharp-linux-riscv64": "npm:0.34.5"- "@img/sharp-linux-s390x": "npm:0.34.5"- "@img/sharp-linux-x64": "npm:0.34.5"- "@img/sharp-linuxmusl-arm64": "npm:0.34.5"- "@img/sharp-linuxmusl-x64": "npm:0.34.5"- "@img/sharp-wasm32": "npm:0.34.5"- "@img/sharp-win32-arm64": "npm:0.34.5"- "@img/sharp-win32-ia32": "npm:0.34.5"- "@img/sharp-win32-x64": "npm:0.34.5"- detect-libc: "npm:^2.1.2"- semver: "npm:^7.7.3"- dependenciesMeta:- "@img/sharp-darwin-arm64":- optional: true- "@img/sharp-darwin-x64":- optional: true- "@img/sharp-libvips-darwin-arm64":- optional: true- "@img/sharp-libvips-darwin-x64":- optional: true- "@img/sharp-libvips-linux-arm":- optional: true- "@img/sharp-libvips-linux-arm64":- optional: true- "@img/sharp-libvips-linux-ppc64":- optional: true- "@img/sharp-libvips-linux-riscv64":- optional: true- "@img/sharp-libvips-linux-s390x":- optional: true- "@img/sharp-libvips-linux-x64":- optional: true- "@img/sharp-libvips-linuxmusl-arm64":- optional: true- "@img/sharp-libvips-linuxmusl-x64":- optional: true- "@img/sharp-linux-arm":- optional: true- "@img/sharp-linux-arm64":- optional: true- "@img/sharp-linux-ppc64":- optional: true- "@img/sharp-linux-riscv64":- optional: true- "@img/sharp-linux-s390x":- optional: true- "@img/sharp-linux-x64":- optional: true- "@img/sharp-linuxmusl-arm64":- optional: true- "@img/sharp-linuxmusl-x64":- optional: true- "@img/sharp-wasm32":- optional: true- "@img/sharp-win32-arm64":- optional: true- "@img/sharp-win32-ia32":- optional: true- "@img/sharp-win32-x64":- optional: true- checksum: 10c0/fd79e29df0597a7d5704b8461c51f944ead91a5243691697be6e8243b966402beda53ddc6f0a53b96ea3cb8221f0b244aa588114d3ebf8734fb4aefd41ab802f- languageName: node- linkType: hard--"siginfo@npm:^2.0.0":- version: 2.0.0- resolution: "siginfo@npm:2.0.0"- checksum: 10c0/3def8f8e516fbb34cb6ae415b07ccc5d9c018d85b4b8611e3dc6f8be6d1899f693a4382913c9ed51a06babb5201639d76453ab297d1c54a456544acf5c892e34- languageName: node- linkType: hard--"signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.7":- version: 3.0.7- resolution: "signal-exit@npm:3.0.7"- checksum: 10c0/25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912- languageName: node- linkType: hard--"signal-exit@npm:^4.1.0":- version: 4.1.0- resolution: "signal-exit@npm:4.1.0"- checksum: 10c0/41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83- languageName: node- linkType: hard--"slice-ansi@npm:^8.0.0":- version: 8.0.0- resolution: "slice-ansi@npm:8.0.0"- dependencies:- ansi-styles: "npm:^6.2.3"- is-fullwidth-code-point: "npm:^5.1.0"- checksum: 10c0/0ce4aa91febb7cea4a00c2c27bb820fa53b6d2862ce0f80f7120134719f7914fc416b0ed966cf35250a3169e152916392f35917a2d7cad0fcc5d8b841010fa9a- languageName: node- linkType: hard--"smart-buffer@npm:^4.2.0":- version: 4.2.0- resolution: "smart-buffer@npm:4.2.0"- checksum: 10c0/a16775323e1404dd43fabafe7460be13a471e021637bc7889468eb45ce6a6b207261f454e4e530a19500cc962c4cc5348583520843b363f4193cee5c00e1e539- languageName: node- linkType: hard--"socks-proxy-agent@npm:^8.0.3":- version: 8.0.5- resolution: "socks-proxy-agent@npm:8.0.5"- dependencies:- agent-base: "npm:^7.1.2"- debug: "npm:^4.3.4"- socks: "npm:^2.8.3"- checksum: 10c0/5d2c6cecba6821389aabf18728325730504bf9bb1d9e342e7987a5d13badd7a98838cc9a55b8ed3cb866ad37cc23e1086f09c4d72d93105ce9dfe76330e9d2a6- languageName: node- linkType: hard--"socks@npm:^2.8.3":- version: 2.8.7- resolution: "socks@npm:2.8.7"- dependencies:- ip-address: "npm:^10.0.1"- smart-buffer: "npm:^4.2.0"- checksum: 10c0/2805a43a1c4bcf9ebf6e018268d87b32b32b06fbbc1f9282573583acc155860dc361500f89c73bfbb157caa1b4ac78059eac0ef15d1811eb0ca75e0bdadbc9d2- languageName: node- linkType: hard--"source-map-js@npm:^1.2.1":- version: 1.2.1- resolution: "source-map-js@npm:1.2.1"- checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf- languageName: node- linkType: hard--"ssri@npm:^13.0.0":- version: 13.0.1- resolution: "ssri@npm:13.0.1"- dependencies:- minipass: "npm:^7.0.3"- checksum: 10c0/cf6408a18676c57ff2ed06b8a20dc64bb3e748e5c7e095332e6aecaa2b8422b1e94a739a8453bf65156a8a47afe23757ba4ab52d3ea3b62322dc40875763e17a- languageName: node- linkType: hard--"stack-utils@npm:^2.0.6":- version: 2.0.6- resolution: "stack-utils@npm:2.0.6"- dependencies:- escape-string-regexp: "npm:^2.0.0"- checksum: 10c0/651c9f87667e077584bbe848acaecc6049bc71979f1e9a46c7b920cad4431c388df0f51b8ad7cfd6eed3db97a2878d0fc8b3122979439ea8bac29c61c95eec8a- languageName: node- linkType: hard--"stackback@npm:0.0.2":- version: 0.0.2- resolution: "stackback@npm:0.0.2"- checksum: 10c0/89a1416668f950236dd5ac9f9a6b2588e1b9b62b1b6ad8dff1bfc5d1a15dbf0aafc9b52d2226d00c28dffff212da464eaeebfc6b7578b9d180cef3e3782c5983- languageName: node- linkType: hard--"standardwebhooks@npm:1.0.0":- version: 1.0.0- resolution: "standardwebhooks@npm:1.0.0"- dependencies:- "@stablelib/base64": "npm:^1.0.0"- fast-sha256: "npm:^1.3.0"- checksum: 10c0/aee097d0f3c05172c19b80df1ed9596a2ce92f8956957650d0bbe47c2ca6d36515796b51d523333cb4a48c889b2ab130d789e7879e14975c4381bc7a61274327- languageName: node- linkType: hard--"std-env@npm:^4.0.0-rc.1":- version: 4.1.0- resolution: "std-env@npm:4.1.0"- checksum: 10c0/2e14b6b490db34cb969a48d9cf7c35bca4a47653914aac2814221baae7b867a5b15940d133625c391621971f98cd2266a5dc7036669960e883f1081db2a56558- languageName: node- linkType: hard--"string-width@npm:^7.0.0":- version: 7.2.0- resolution: "string-width@npm:7.2.0"- dependencies:- emoji-regex: "npm:^10.3.0"- get-east-asian-width: "npm:^1.0.0"- strip-ansi: "npm:^7.1.0"- checksum: 10c0/eb0430dd43f3199c7a46dcbf7a0b34539c76fe3aa62763d0b0655acdcbdf360b3f66f3d58ca25ba0205f42ea3491fa00f09426d3b7d3040e506878fc7664c9b9- languageName: node- linkType: hard--"string-width@npm:^8.1.0, string-width@npm:^8.1.1, string-width@npm:^8.2.0":- version: 8.2.0- resolution: "string-width@npm:8.2.0"- dependencies:- get-east-asian-width: "npm:^1.5.0"- strip-ansi: "npm:^7.1.2"- checksum: 10c0/d8915428b43519b0f494da6590dbe4491857d8a12e40250e50fc01fbb616ffd8400a436bbe25712255ee129511fe0414c49d3b6b9627e2bc3a33dcec1d2eda02- languageName: node- linkType: hard--"strip-ansi@npm:^7.1.0, strip-ansi@npm:^7.1.2":- version: 7.2.0- resolution: "strip-ansi@npm:7.2.0"- dependencies:- ansi-regex: "npm:^6.2.2"- checksum: 10c0/544d13b7582f8254811ea97db202f519e189e59d35740c46095897e254e4f1aa9fe1524a83ad6bc5ad67d4dd6c0281d2e0219ed62b880a6238a16a17d375f221- languageName: node- linkType: hard--"subscriptions-transport-ws@npm:^0.9.16":- version: 0.9.19- resolution: "subscriptions-transport-ws@npm:0.9.19"- dependencies:- backo2: "npm:^1.0.2"- eventemitter3: "npm:^3.1.0"- iterall: "npm:^1.2.1"- symbol-observable: "npm:^1.0.4"- ws: "npm:^5.2.0 || ^6.0.0 || ^7.0.0"- peerDependencies:- graphql: ">=0.10.0"- checksum: 10c0/6f2ade56865f0ba291d3ff82c79781b051c2374873bac853286fedfdbc05001b8c4018ab7cba44af667ead7f573e48d18892d58a8f9ca8d90dfb4bff5c125045- languageName: node- linkType: hard--"symbol-observable@npm:^1.0.4":- version: 1.2.0- resolution: "symbol-observable@npm:1.2.0"- checksum: 10c0/009fee50798ef80ed4b8195048288f108b03de162db07493f2e1fd993b33fafa72d659e832b584da5a2427daa78e5a738fb2a9ab027ee9454252e0bedbcd1fdc- languageName: node- linkType: hard--"tagged-tag@npm:^1.0.0":- version: 1.0.0- resolution: "tagged-tag@npm:1.0.0"- checksum: 10c0/91d25c9ffb86a91f20522cefb2cbec9b64caa1febe27ad0df52f08993ff60888022d771e868e6416cf2e72dab68449d2139e8709ba009b74c6c7ecd4000048d1- languageName: node- linkType: hard--"tar@npm:^7.5.4":- version: 7.5.16- resolution: "tar@npm:7.5.16"- dependencies:- "@isaacs/fs-minipass": "npm:^4.0.0"- chownr: "npm:^3.0.0"- minipass: "npm:^7.1.2"- minizlib: "npm:^3.1.0"- yallist: "npm:^5.0.0"- checksum: 10c0/4f37f3c4bd2ca2755fd736a5df1d573c1a868ec1b1e893346aeafa95ac510f9e2fd1469420bd866cc7904799e5bd4ac62b5d4f03fe27747d6e1e373b44505c5c- languageName: node- linkType: hard--"terminal-size@npm:^4.0.1":- version: 4.0.1- resolution: "terminal-size@npm:4.0.1"- checksum: 10c0/89afd9d816dd9dbfe4499da9aeea70491bbde4ff4592226a9c8ac71074a7580afead6a78e95ecc35f6d42e09087b55ffcb1019302cd55e0cc957b6ce5c4847e8- languageName: node- linkType: hard--"tinybench@npm:^2.9.0":- version: 2.9.0- resolution: "tinybench@npm:2.9.0"- checksum: 10c0/c3500b0f60d2eb8db65250afe750b66d51623057ee88720b7f064894a6cb7eb93360ca824a60a31ab16dab30c7b1f06efe0795b352e37914a9d4bad86386a20c- languageName: node- linkType: hard--"tinyexec@npm:^1.0.2":- version: 1.2.4- resolution: "tinyexec@npm:1.2.4"- checksum: 10c0/153b8db6b080194b558ff145b9cffc36b80a6e07babd644dcfbe49c807eee668c876049d28bdee90b96304476f883352f2dad91b3f86bc23832532f4363e66ff- languageName: node- linkType: hard--"tinyglobby@npm:^0.2.12, tinyglobby@npm:^0.2.15":- version: 0.2.16- resolution: "tinyglobby@npm:0.2.16"- dependencies:- fdir: "npm:^6.5.0"- picomatch: "npm:^4.0.4"- checksum: 10c0/f2e09fd93dd95c41e522113b686ff6f7c13020962f8698a864a257f3d7737599afc47722b7ab726e12f8a813f779906187911ff8ee6701ede65072671a7e934b- languageName: node- linkType: hard--"tinyglobby@npm:^0.2.17":- version: 0.2.17- resolution: "tinyglobby@npm:0.2.17"- dependencies:- fdir: "npm:^6.5.0"- picomatch: "npm:^4.0.4"- checksum: 10c0/7f7bb0f197c88bc4b20c231e0deca4240ca3bf313a88f5a7fee93a872b84966a4d50220947c0455ad07a60b3b360961c5b7fd979222aeb716a9f99b412002e4c- languageName: node- linkType: hard--"tinyrainbow@npm:^3.1.0":- version: 3.1.0- resolution: "tinyrainbow@npm:3.1.0"- checksum: 10c0/f11cf387a26c5c9255bec141a90ac511b26172981b10c3e50053bc6700ea7d2336edcc4a3a21dbb8412fe7c013477d2ba4d7e4877800f3f8107be5105aad6511- languageName: node- linkType: hard--"tr46@npm:~0.0.3":- version: 0.0.3- resolution: "tr46@npm:0.0.3"- checksum: 10c0/047cb209a6b60c742f05c9d3ace8fa510bff609995c129a37ace03476a9b12db4dbf975e74600830ef0796e18882b2381fb5fb1f6b4f96b832c374de3ab91a11- languageName: node- linkType: hard--"tsconfck@npm:^3.0.3":- version: 3.1.6- resolution: "tsconfck@npm:3.1.6"- peerDependencies:- typescript: ^5.0.0- peerDependenciesMeta:- typescript:- optional: true- bin:- tsconfck: bin/tsconfck.js- checksum: 10c0/269c3c513540be44844117bb9b9258fe6f8aeab026d32aeebf458d5299125f330711429dbb556dbf125a0bc25f4a81e6c24ac96de2740badd295c3fb400f66c4- languageName: node- linkType: hard--"tslib@npm:^1.9.3":- version: 1.14.1- resolution: "tslib@npm:1.14.1"- checksum: 10c0/69ae09c49eea644bc5ebe1bca4fa4cc2c82b7b3e02f43b84bd891504edf66dbc6b2ec0eef31a957042de2269139e4acff911e6d186a258fb14069cd7f6febce2- languageName: node- linkType: hard--"tslib@npm:^2.0.0, tslib@npm:^2.4.0":- version: 2.8.1- resolution: "tslib@npm:2.8.1"- checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62- languageName: node- linkType: hard--"twenty-client-sdk@npm:2.18.0, twenty-client-sdk@npm:^2.18.0":- version: 2.18.0- resolution: "twenty-client-sdk@npm:2.18.0"- dependencies:- "@genql/runtime": "npm:^2.10.0"- esbuild: "npm:^0.28.1"- graphql: "npm:^16.8.1"- lodash: "npm:^4.17.21"- prettier: "npm:^3.8.3"- checksum: 10c0/3b7d6ca4e7b59c04cd2348af0f2ba8de153e70d565b4a38c2744b44998dfcc6c2bdb84ba6315cec208953d8c6fa7573ab33c17355f971f279299d470c57be06e- languageName: node- linkType: hard--"twenty-for-twenty@workspace:.":- version: 0.0.0-use.local- resolution: "twenty-for-twenty@workspace:."- dependencies:- "@types/node": "npm:^24.7.2"- "@types/react": "npm:^18.2.0"- "@typescript/native-preview": "npm:^7.0.0-dev.20260116.1"- oxlint: "npm:^0.16.0"- react: "npm:^18.2.0"- react-dom: "npm:^18.2.0"- resend: "npm:^6.12.0"- twenty-client-sdk: "npm:^2.18.0"- twenty-sdk: "npm:^2.18.0"- typescript: "npm:^5.9.3"- vite-tsconfig-paths: "npm:^4.2.1"- vitest: "npm:^4.0.0"- languageName: unknown- linkType: soft--"twenty-sdk@npm:^2.18.0":- version: 2.18.0- resolution: "twenty-sdk@npm:2.18.0"- dependencies:- "@sniptt/guards": "npm:^0.2.0"- axios: "npm:^1.16.0"- chalk: "npm:^5.3.0"- chokidar: "npm:^4.0.0"- commander: "npm:^12.0.0"- esbuild: "npm:^0.28.1"- graphql: "npm:^16.8.1"- graphql-sse: "npm:^2.5.4"- ink: "npm:^6.8.0"- inquirer: "npm:^14.0.0"- jsonc-parser: "npm:^3.2.0"- preact: "npm:^10.28.3"- react: "npm:^19.2.0"- react-dom: "npm:^19.2.0"- semver: "npm:7.6.3"- sharp: "npm:^0.34.5"- tinyglobby: "npm:^0.2.15"- twenty-client-sdk: "npm:2.18.0"- typescript: "npm:^5.9.3"- uuid: "npm:^13.0.2"- bin:- twenty: dist/cli.cjs- checksum: 10c0/7e6d300894c427029e4124047614b55988671c914332613acb38f830cee11ecc480ff2a586b6153756aab1b7fa7f4520cf072c9db1428cd9ce9b9f7a62dfcd64- languageName: node- linkType: hard--"type-fest@npm:^5.4.1":- version: 5.5.0- resolution: "type-fest@npm:5.5.0"- dependencies:- tagged-tag: "npm:^1.0.0"- checksum: 10c0/60bf79a8df45abf99490e3204eceb5cf7f915413f8a69fb578c75cab37ddcb7d29ee21f185f0e1617323ac0b2a441e001b8dc691e220d0b087e9c29ea205538c- languageName: node- linkType: hard--"typescript@npm:^5.9.3":- version: 5.9.3- resolution: "typescript@npm:5.9.3"- bin:- tsc: bin/tsc- tsserver: bin/tsserver- checksum: 10c0/6bd7552ce39f97e711db5aa048f6f9995b53f1c52f7d8667c1abdc1700c68a76a308f579cd309ce6b53646deb4e9a1be7c813a93baaf0a28ccd536a30270e1c5- languageName: node- linkType: hard--"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin<compat/typescript>":- version: 5.9.3- resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin<compat/typescript>::version=5.9.3&hash=5786d5"- bin:- tsc: bin/tsc- tsserver: bin/tsserver- checksum: 10c0/ad09fdf7a756814dce65bc60c1657b40d44451346858eea230e10f2e95a289d9183b6e32e5c11e95acc0ccc214b4f36289dcad4bf1886b0adb84d711d336a430- languageName: node- linkType: hard--"undici-types@npm:~7.16.0":- version: 7.16.0- resolution: "undici-types@npm:7.16.0"- checksum: 10c0/3033e2f2b5c9f1504bdc5934646cb54e37ecaca0f9249c983f7b1fc2e87c6d18399ebb05dc7fd5419e02b2e915f734d872a65da2e3eeed1813951c427d33cc9a- languageName: node- linkType: hard--"undici-types@npm:~7.19.0":- version: 7.19.2- resolution: "undici-types@npm:7.19.2"- checksum: 10c0/7159f10546f9f6c47d36776bb1bbf8671e87c1e587a6fee84ae1f111ae8de4f914efa8ca0dfcd224f4f4a9dfc3f6028f627ccb5ddaccf82d7fd54671b89fac3e- languageName: node- linkType: hard--"unfetch@npm:^4.2.0":- version: 4.2.0- resolution: "unfetch@npm:4.2.0"- checksum: 10c0/a5c0a896a6f09f278b868075aea65652ad185db30e827cb7df45826fe5ab850124bf9c44c4dafca4bf0c55a0844b17031e8243467fcc38dd7a7d435007151f1b- languageName: node- linkType: hard--"utility-types@npm:^3.10.0":- version: 3.11.0- resolution: "utility-types@npm:3.11.0"- checksum: 10c0/2f1580137b0c3e6cf5405f37aaa8f5249961a76d26f1ca8efc0ff49a2fc0e0b2db56de8e521a174d075758e0c7eb3e590edec0832eb44478b958f09914920f19- languageName: node- linkType: hard--"uuid@npm:^13.0.2":- version: 13.0.2- resolution: "uuid@npm:13.0.2"- bin:- uuid: dist-node/bin/uuid- checksum: 10c0/32c7ee84fa7c7966cc09b3a1514a752a8e2f609f15c00033fbaedc0255d577d1877b839f11ee537f37e587bbc620bbb98c3b3a1482931b8ed47d79497cd7a7cd- languageName: node- linkType: hard--"vite-tsconfig-paths@npm:^4.2.1":- version: 4.3.2- resolution: "vite-tsconfig-paths@npm:4.3.2"- dependencies:- debug: "npm:^4.1.1"- globrex: "npm:^0.1.2"- tsconfck: "npm:^3.0.3"- peerDependencies:- vite: "*"- peerDependenciesMeta:- vite:- optional: true- checksum: 10c0/f390ac1d1c3992fc5ac50f9274c1090f8b55ab34a89ea88893db9a6924a3b26c9f64bc1163615150ad100749db73b6b2cf1d57f6cd60df6e762ceb5b8ad30024- languageName: node- linkType: hard--"vite@npm:^6.0.0 || ^7.0.0 || ^8.0.0":- version: 8.0.16- resolution: "vite@npm:8.0.16"- dependencies:- fsevents: "npm:~2.3.3"- lightningcss: "npm:^1.32.0"- picomatch: "npm:^4.0.4"- postcss: "npm:^8.5.15"- rolldown: "npm:1.0.3"- tinyglobby: "npm:^0.2.17"- peerDependencies:- "@types/node": ^20.19.0 || >=22.12.0- "@vitejs/devtools": ^0.1.18- esbuild: ^0.27.0 || ^0.28.0- jiti: ">=1.21.0"- less: ^4.0.0- sass: ^1.70.0- sass-embedded: ^1.70.0- stylus: ">=0.54.8"- sugarss: ^5.0.0- terser: ^5.16.0- tsx: ^4.8.1- yaml: ^2.4.2- dependenciesMeta:- fsevents:- optional: true- peerDependenciesMeta:- "@types/node":- optional: true- "@vitejs/devtools":- optional: true- esbuild:- optional: true- jiti:- optional: true- less:- optional: true- sass:- optional: true- sass-embedded:- optional: true- stylus:- optional: true- sugarss:- optional: true- terser:- optional: true- tsx:- optional: true- yaml:- optional: true- bin:- vite: bin/vite.js- checksum: 10c0/d75be3fbe2f63e6a8145325970338afaf0dd4d96ba9175c13f9a286fd5f95afc489401b693e4fa6c0899a4dd0e137be91cdf9401a40a635563911ad5036e3467- languageName: node- linkType: hard--"vitest@npm:^4.0.0":- version: 4.1.8- resolution: "vitest@npm:4.1.8"- dependencies:- "@vitest/expect": "npm:4.1.8"- "@vitest/mocker": "npm:4.1.8"- "@vitest/pretty-format": "npm:4.1.8"- "@vitest/runner": "npm:4.1.8"- "@vitest/snapshot": "npm:4.1.8"- "@vitest/spy": "npm:4.1.8"- "@vitest/utils": "npm:4.1.8"- es-module-lexer: "npm:^2.0.0"- expect-type: "npm:^1.3.0"- magic-string: "npm:^0.30.21"- obug: "npm:^2.1.1"- pathe: "npm:^2.0.3"- picomatch: "npm:^4.0.3"- std-env: "npm:^4.0.0-rc.1"- tinybench: "npm:^2.9.0"- tinyexec: "npm:^1.0.2"- tinyglobby: "npm:^0.2.15"- tinyrainbow: "npm:^3.1.0"- vite: "npm:^6.0.0 || ^7.0.0 || ^8.0.0"- why-is-node-running: "npm:^2.3.0"- peerDependencies:- "@edge-runtime/vm": "*"- "@opentelemetry/api": ^1.9.0- "@types/node": ^20.0.0 || ^22.0.0 || >=24.0.0- "@vitest/browser-playwright": 4.1.8- "@vitest/browser-preview": 4.1.8- "@vitest/browser-webdriverio": 4.1.8- "@vitest/coverage-istanbul": 4.1.8- "@vitest/coverage-v8": 4.1.8- "@vitest/ui": 4.1.8- happy-dom: "*"- jsdom: "*"- vite: ^6.0.0 || ^7.0.0 || ^8.0.0- peerDependenciesMeta:- "@edge-runtime/vm":- optional: true- "@opentelemetry/api":- optional: true- "@types/node":- optional: true- "@vitest/browser-playwright":- optional: true- "@vitest/browser-preview":- optional: true- "@vitest/browser-webdriverio":- optional: true- "@vitest/coverage-istanbul":- optional: true- "@vitest/coverage-v8":- optional: true- "@vitest/ui":- optional: true- happy-dom:- optional: true- jsdom:- optional: true- vite:- optional: false- bin:- vitest: vitest.mjs- checksum: 10c0/f459c500f8818c7a2318cd23228b4e5c0b5efb25bf8e5cb7f116c6d26e51482b2f800a8bb19837c0b5f0d05c51519edbf502bc8ceb5bd86868e8facf1d2c498e- languageName: node- linkType: hard--"webidl-conversions@npm:^3.0.0":- version: 3.0.1- resolution: "webidl-conversions@npm:3.0.1"- checksum: 10c0/5612d5f3e54760a797052eb4927f0ddc01383550f542ccd33d5238cfd65aeed392a45ad38364970d0a0f4fea32e1f4d231b3d8dac4a3bdd385e5cf802ae097db- languageName: node- linkType: hard--"whatwg-url@npm:^5.0.0":- version: 5.0.0- resolution: "whatwg-url@npm:5.0.0"- dependencies:- tr46: "npm:~0.0.3"- webidl-conversions: "npm:^3.0.0"- checksum: 10c0/1588bed84d10b72d5eec1d0faa0722ba1962f1821e7539c535558fb5398d223b0c50d8acab950b8c488b4ba69043fd833cc2697056b167d8ad46fac3995a55d5- languageName: node- linkType: hard--"which@npm:^6.0.0":- version: 6.0.1- resolution: "which@npm:6.0.1"- dependencies:- isexe: "npm:^4.0.0"- bin:- node-which: bin/which.js- checksum: 10c0/7e710e54ea36d2d6183bee2f9caa27a3b47b9baf8dee55a199b736fcf85eab3b9df7556fca3d02b50af7f3dfba5ea3a45644189836df06267df457e354da66d5- languageName: node- linkType: hard--"why-is-node-running@npm:^2.3.0":- version: 2.3.0- resolution: "why-is-node-running@npm:2.3.0"- dependencies:- siginfo: "npm:^2.0.0"- stackback: "npm:0.0.2"- bin:- why-is-node-running: cli.js- checksum: 10c0/1cde0b01b827d2cf4cb11db962f3958b9175d5d9e7ac7361d1a7b0e2dc6069a263e69118bd974c4f6d0a890ef4eedfe34cf3d5167ec14203dbc9a18620537054- languageName: node- linkType: hard--"widest-line@npm:^6.0.0":- version: 6.0.0- resolution: "widest-line@npm:6.0.0"- dependencies:- string-width: "npm:^8.1.0"- checksum: 10c0/735f1fdcd97fe765a07bb8b5e73c020bed8e53ab34e83ce0ef01693ba3c914d9e7977fe5f5facf0d0b670297a82dd5e376d3efa0896860dfcdaf7cd6924c0fb7- languageName: node- linkType: hard--"wrap-ansi@npm:^9.0.0":- version: 9.0.2- resolution: "wrap-ansi@npm:9.0.2"- dependencies:- ansi-styles: "npm:^6.2.1"- string-width: "npm:^7.0.0"- strip-ansi: "npm:^7.1.0"- checksum: 10c0/3305839b9a0d6fb930cb63a52f34d3936013d8b0682ff3ec133c9826512620f213800ffa19ea22904876d5b7e9a3c1f40682f03597d986a4ca881fa7b033688c- languageName: node- linkType: hard--"ws@npm:^5.2.0 || ^6.0.0 || ^7.0.0":- version: 7.5.11- resolution: "ws@npm:7.5.11"- peerDependencies:- bufferutil: ^4.0.1- utf-8-validate: ^5.0.2- peerDependenciesMeta:- bufferutil:- optional: true- utf-8-validate:- optional: true- checksum: 10c0/7972670b676fb1ccba73b0899ca3c2e04e8c2075629c2614cced7f556536f96a672bbf4619fc5a06c8b8720bb839a47ca88c69c95dc14c9c61a99fbecba1c866- languageName: node- linkType: hard--"ws@npm:^6.1.4":- version: 6.2.4- resolution: "ws@npm:6.2.4"- dependencies:- async-limiter: "npm:~1.0.0"- checksum: 10c0/5c2b9474164f9cb68c7776a1d10b0461c186f3a69bffb1028fca33eba5ab7206a09173fb0b311d6c5a81c8cf148406f8deb0b7d899542ab8ca67407d99717dad- languageName: node- linkType: hard--"ws@npm:^8.18.0":- version: 8.21.0- resolution: "ws@npm:8.21.0"- peerDependencies:- bufferutil: ^4.0.1- utf-8-validate: ">=5.0.2"- peerDependenciesMeta:- bufferutil:- optional: true- utf-8-validate:- optional: true- checksum: 10c0/ef4a243476283fc49bc7550966c4af4aa0eef56273837211e700de3b664e08604a760cdddcb5ba43c049140e74ccfec5b0ee0bb439e08c2adf9138902fdde5f9- languageName: node- linkType: hard--"yallist@npm:^4.0.0":- version: 4.0.0- resolution: "yallist@npm:4.0.0"- checksum: 10c0/2286b5e8dbfe22204ab66e2ef5cc9bbb1e55dfc873bbe0d568aa943eb255d131890dfd5bf243637273d31119b870f49c18fcde2c6ffbb7a7a092b870dc90625a- languageName: node- linkType: hard--"yallist@npm:^5.0.0":- version: 5.0.0- resolution: "yallist@npm:5.0.0"- checksum: 10c0/a499c81ce6d4a1d260d4ea0f6d49ab4da09681e32c3f0472dee16667ed69d01dae63a3b81745a24bd78476ec4fcf856114cb4896ace738e01da34b2c42235416- languageName: node- linkType: hard--"yoga-layout@npm:~3.2.1":- version: 3.2.1- resolution: "yoga-layout@npm:3.2.1"- checksum: 10c0/9001e51be993c85e03757e5a04a2b61b8b30c9e5a7865d0156ca87a6431a3b717d51eb4990bfe588189fcfeac688dd9c3de707bbd50d1c344a84e63974cc54a8- languageName: node- linkType: hard--"zen-observable-ts@npm:^0.8.21":- version: 0.8.21- resolution: "zen-observable-ts@npm:0.8.21"- dependencies:- tslib: "npm:^1.9.3"- zen-observable: "npm:^0.8.0"- checksum: 10c0/fe4a02f862b5f7e8ae0f86230c37b84c7d5611f5c206981afb4043e732d04cf7067a6cbe1ba82d20f18b735a3387937195a12542158a631d308ae3959a1d93c4- languageName: node- linkType: hard--"zen-observable@npm:^0.8.0":- version: 0.8.15- resolution: "zen-observable@npm:0.8.15"- checksum: 10c0/71cc2f2bbb537300c3f569e25693d37b3bc91f225cefce251a71c30bc6bb3e7f8e9420ca0eb57f2ac9e492b085b8dfa075fd1e8195c40b83c951dd59c6e4fbf8- languageName: node- linkType: hard