Skip to content

The open alternative to Salesforce, designed for AI.

Remove chrome extension (#13729)

Félix Malfaita27dc5ddf1a1
diff --git a/.github/workflows/ci-chrome-extension.yaml b/.github/workflows/ci-chrome-extension.yaml
deleted file mode 100644
index 411d6a429be..00000000000
--- a/.github/workflows/ci-chrome-extension.yaml
+++ /dev/null
@@ -1,48 +0,0 @@
-name: CI Chrome Extension
-on:
- push:
- branches:
- - main
-
- pull_request:
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
-
-jobs:
- changed-files-check:
- uses: ./.github/workflows/changed-files.yaml
- with:
- files: |
- package.json
- packages/twenty-chrome-extension/**
- chrome-extension-build:
- needs: changed-files-check
- if: needs.changed-files-check.outputs.any_changed == 'true'
- timeout-minutes: 15
- runs-on: ubuntu-latest
- env:
- VITE_SERVER_BASE_URL: http://localhost:3000
- VITE_FRONT_BASE_URL: http://localhost:3001
- steps:
- - name: Cancel Previous Runs
- uses: styfle/[email protected]
- with:
- access_token: ${{ github.token }}
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
- - name: Install dependencies
- uses: ./.github/workflows/actions/yarn-install
- - name: Chrome Extension / Run build
- run: npx nx build twenty-chrome-extension
- ci-chrome-extension-status-check:
- if: always() && !cancelled()
- timeout-minutes: 5
- runs-on: ubuntu-latest
- needs: [changed-files-check, chrome-extension-build]
- steps:
- - name: Fail job if any needs failed
- if: contains(needs.*.result, 'failure')
- run: exit 1
diff --git a/.vscode/twenty.code-workspace b/.vscode/twenty.code-workspace
index ef9fafba968..43a21c44658 100644
--- a/.vscode/twenty.code-workspace
+++ b/.vscode/twenty.code-workspace
@@ -4,10 +4,6 @@
"name": "ROOT",
"path": "../"
},
- {
- "name": "packages/twenty-chrome-extension",
- "path": "../packages/twenty-chrome-extension"
- },
{
"name": "packages/twenty-docker",
"path": "../packages/twenty-docker"
diff --git a/CLAUDE.md b/CLAUDE.md
index 78d23cf7eb5..fb3c24606f2 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -89,7 +89,6 @@ packages/
├── twenty-ui/ # Shared UI components library
├── twenty-shared/ # Common types and utilities
├── twenty-emails/ # Email templates with React Email
-├── twenty-chrome-extension/ # Chrome extension
├── twenty-website/ # Next.js documentation website
├── twenty-zapier/ # Zapier integration
└── twenty-e2e-testing/ # Playwright E2E tests
diff --git a/package.json b/package.json
index e0acd379c5d..d4482843aa4 100644
--- a/package.json
+++ b/package.json
@@ -349,7 +349,6 @@
},
"workspaces": {
"packages": [
- "packages/twenty-chrome-extension",
"packages/twenty-front",
"packages/twenty-server",
"packages/twenty-emails",
diff --git a/packages/twenty-chrome-extension/.env.example b/packages/twenty-chrome-extension/.env.example
deleted file mode 100644
index 6871e9e33c8..00000000000
--- a/packages/twenty-chrome-extension/.env.example
+++ /dev/null
@@ -1,6 +0,0 @@
-VITE_SERVER_BASE_URL=https://api.twenty.com
-VITE_FRONT_BASE_URL=https://app.twenty.com
-VITE_MODE=production
-
-# Used to generate packages/twenty-chrome-extension/src/generated/graphql.tsx
-AUTH_TOKEN=<YOUR-TOKEN-HERE>
diff --git a/packages/twenty-chrome-extension/.eslintrc-ci.cjs b/packages/twenty-chrome-extension/.eslintrc-ci.cjs
deleted file mode 100644
index a0b8a80632e..00000000000
--- a/packages/twenty-chrome-extension/.eslintrc-ci.cjs
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = {
- extends: ['./.eslintrc.cjs'],
- rules: {
- 'no-console': 'error',
- },
-};
diff --git a/packages/twenty-chrome-extension/.eslintrc.cjs b/packages/twenty-chrome-extension/.eslintrc.cjs
deleted file mode 100644
index 836a34a41da..00000000000
--- a/packages/twenty-chrome-extension/.eslintrc.cjs
+++ /dev/null
@@ -1,20 +0,0 @@
-module.exports = {
- root: true,
- extends: ['../../.eslintrc.global.cjs', '../../.eslintrc.react.cjs'],
- ignorePatterns: [
- 'node_modules',
- 'dist',
- '**/generated/*',
- ],
- overrides: [
- {
- files: ['**/*.ts', '**/*.tsx'],
- parserOptions: {
- project: ['packages/twenty-chrome-extension/tsconfig.*.json'],
- },
- rules: {
- '@nx/workspace-explicit-boolean-predicates-in-if': 'warn',
- },
- },
- ],
-};
diff --git a/packages/twenty-chrome-extension/.gitignore b/packages/twenty-chrome-extension/.gitignore
deleted file mode 100644
index a547bf36d8d..00000000000
--- a/packages/twenty-chrome-extension/.gitignore
+++ /dev/null
@@ -1,24 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-dist
-dist-ssr
-*.local
-
-# Editor directories and files
-.vscode/*
-!.vscode/extensions.json
-.idea
-.DS_Store
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/packages/twenty-chrome-extension/.prettierignore b/packages/twenty-chrome-extension/.prettierignore
deleted file mode 100644
index 80697f2272d..00000000000
--- a/packages/twenty-chrome-extension/.prettierignore
+++ /dev/null
@@ -1 +0,0 @@
-src/generated
\ No newline at end of file
diff --git a/packages/twenty-chrome-extension/README.md b/packages/twenty-chrome-extension/README.md
deleted file mode 100644
index 64e92e4130b..00000000000
--- a/packages/twenty-chrome-extension/README.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# Twenty Chrome Extension.
-
-This extension allows you to save `company` and `people` information to your twenty workspace directly from LinkedIn.
-
-To install the extension in development mode with hmr (hot module reload), follow these steps.
-
-- STEP 1: Clone the repository and run `yarn install` in the root directory.
-
-- STEP 2: Once the dependencies installation succeeds, create a file with env variables by executing the following command in the root directory.
-
-```
-cp ./packages/twenty-chrome-extension/.env.example ./packages/twenty-chrome-extension/.env
-```
-
-- STEP 3 (optional): Update values of the environment variables to match those of your instance for `twenty-front` and `twenty-server`. If you want to work on your local machine with the default setup from `Twenty Docs`, replace everything in the .env file with the following.
-
-```
-VITE_SERVER_BASE_URL=http://localhost:3000
-VITE_FRONT_BASE_URL=http://localhost:3001
-```
-
-- STEP 4: Now, execute the following command in the root directory to start up the development server on Port 3002. This will create a `dist` folder in `twenty-chrome-extension`.
-
-```
-npx nx start twenty-chrome-extension
-```
-
-- STEP 5: Open Google Chrome and head to the extensions page by typing `chrome://extensions` in the address bar.
-
-<p align="center">
- <img src="../twenty-chrome-extension/public/readme-images/01-img-one.png" width="600" />
-</p>
-
-- STEP 6: Turn on the `Developer mode` from the top-right corner and click `Load unpacked`.
-
-<p align="center">
- <img src="../twenty-chrome-extension/public/readme-images/02-img-two.png" width="600" />
-</p>
-
-- STEP 7: Select the `dist` folder from `twenty-chrome-extension`.
-
-<p align="center">
- <img src="../twenty-chrome-extension/public/readme-images/03-img-three.png" width="600" />
-</p>
-
-- STEP 8: This opens up the `options` page, where you must enter your API key.
-
-<p align="center">
- <img src="../twenty-chrome-extension/public/readme-images/04-img-four.png" width="600" />
-</p>
-
-- STEP 9: Reload any LinkedIn page that you opened before installing the extension for seamless experience.
-
-- STEP 10: Visit any individual or company profile on LinkedIn and click the `Add to Twenty` button to test.
-
-<p align="center">
- <img src="../twenty-chrome-extension/public/readme-images/05-img-five.png" width="600" />
-</p>
-
-To install the extension in production mode without hmr (hot module reload), replace the command in STEP FOUR with `npx nx build twenty-chrome-extension`. You may or may not want to execute STEP THREE based on your requirements.
\ No newline at end of file
diff --git a/packages/twenty-chrome-extension/codegen.ts b/packages/twenty-chrome-extension/codegen.ts
deleted file mode 100644
index fef2e0e8ef4..00000000000
--- a/packages/twenty-chrome-extension/codegen.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import { CodegenConfig } from '@graphql-codegen/cli';
-
-const config: CodegenConfig = {
- schema: [
- {
- [`${import.meta.env.VITE_SERVER_BASE_URL}/graphql`]: {
- // some of the mutations and queries require authorization (people or companies)
- // so to regenerate the schema with types we need to pass an auth token
- headers: {
- Authorization: `Bearer ${import.meta.env.AUTH_TOKEN}`,
- },
- },
- },
- ],
- overwrite: true,
- documents: ['./src/**/*.ts', '!src/generated/**/*.*'],
- generates: {
- './src/generated/graphql.tsx': {
- plugins: [
- 'typescript',
- 'typescript-operations',
- 'typescript-react-apollo',
- ],
- config: {
- skipTypename: true,
- withHooks: true,
- withHOC: false,
- withComponent: false,
- },
- },
- },
-};
-
-export default config;
diff --git a/packages/twenty-chrome-extension/loading.html b/packages/twenty-chrome-extension/loading.html
deleted file mode 100644
index b8bc0e0aa8e..00000000000
--- a/packages/twenty-chrome-extension/loading.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <link rel="icon" href="images/icons/android/android-launchericon-48-48.png" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Twenty</title>
- </head>
- <body>
- <div id="app"></div>
- <script type="module" src="/src/options/loading-index.tsx"></script>
- </body>
-</html>
diff --git a/packages/twenty-chrome-extension/package.json b/packages/twenty-chrome-extension/package.json
deleted file mode 100644
index 935a06e8d68..00000000000
--- a/packages/twenty-chrome-extension/package.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "name": "twenty-chrome-extension",
- "description": "",
- "private": true,
- "version": "0.0.1",
- "type": "module",
- "scripts": {
- "build": "npx vite build"
- },
- "dependencies": {
- "twenty-shared": "workspace:*"
- }
-}
diff --git a/packages/twenty-chrome-extension/page-inaccessible.html b/packages/twenty-chrome-extension/page-inaccessible.html
deleted file mode 100644
index c418bf7884e..00000000000
--- a/packages/twenty-chrome-extension/page-inaccessible.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <link rel="icon" href="images/icons/android/android-launchericon-48-48.png" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Twenty</title>
- </head>
- <body>
- <div id="app"></div>
- <script type="module" src="/src/options/page-inaccessible-index.tsx"></script>
- </body>
-</html>
\ No newline at end of file
diff --git a/packages/twenty-chrome-extension/project.json b/packages/twenty-chrome-extension/project.json
deleted file mode 100644
index eb42f1ef6be..00000000000
--- a/packages/twenty-chrome-extension/project.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "name": "twenty-chrome-extension",
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
- "projectType": "application",
- "tags": ["scope:frontend"],
- "targets": {
- "build": {
- "outputs": ["{options.outputPath}"],
- "options": {
- "outputPath": "{projectRoot}/dist"
- },
- "dependsOn": ["^build"]
- },
- "start": {
- "executor": "nx:run-commands",
- "dependsOn": ["build"],
- "options": {
- "cwd": "packages/twenty-chrome-extension",
- "command": "VITE_MODE=development vite"
- }
- },
- "preview": {
- "executor": "@nx/vite:preview-server",
- "options": {
- "buildTarget": "twenty-chrome-extension:build",
- "port": 3002,
- "open": true
- }
- },
- "reset:env": {
- "executor": "nx:run-commands",
- "inputs": ["{projectRoot}/.env.example"],
- "outputs": ["{projectRoot}/.env"],
- "cache": true,
- "options": {
- "cwd": "{projectRoot}",
- "command": "cp .env.example .env"
- }
- },
- "typecheck": {},
- "lint": {
- "options": {
- "lintFilePatterns": [
- "{projectRoot}/src/**/*.{ts,tsx,json}",
- "{projectRoot}/package.json"
- ],
- "maxWarnings": 0,
- "reportUnusedDisableDirectives": "error"
- },
- "configurations": {
- "ci": { "eslintConfig": "{projectRoot}/.eslintrc-ci.cjs" },
- "fix": {}
- }
- },
- "fmt": {
- "options": {
- "files": "src"
- },
- "configurations": {
- "fix": {}
- }
- },
- "graphql:generate": {
- "executor": "nx:run-commands",
- "options": {
- "cwd": "{projectRoot}",
- "command": "graphql-codegen"
- }
- }
- }
-}
diff --git a/packages/twenty-chrome-extension/public/light-noise.png b/packages/twenty-chrome-extension/public/light-noise.png
deleted file mode 100644
index d7b3bc2c064..00000000000
Binary files a/packages/twenty-chrome-extension/public/light-noise.png and /dev/null differ
diff --git a/packages/twenty-chrome-extension/public/logo/32-32.png b/packages/twenty-chrome-extension/public/logo/32-32.png
deleted file mode 100644
index b3733570810..00000000000
Binary files a/packages/twenty-chrome-extension/public/logo/32-32.png and /dev/null differ
diff --git a/packages/twenty-chrome-extension/public/logo/32-32.svg b/packages/twenty-chrome-extension/public/logo/32-32.svg
deleted file mode 100644
index b5f1e311f5b..00000000000
--- a/packages/twenty-chrome-extension/public/logo/32-32.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<svg width="32" height="32" viewBox="0 0 136 136" fill="none" xmlns="http://www.w3.org/2000/svg">
-<g clip-path="url(#clip0_2343_96406)">
-<path d="M136 2.28882e-05H0L0.000144482 136H136V2.28882e-05ZM27.27 50.6401C27.27 43.2101 33.3 37.1801 40.73 37.1801H66.64C67.02 37.1801 67.37 37.4101 67.53 37.7601C67.69 38.1101 67.62 38.5201 67.36 38.8101L61.68 44.9801C60.69 46.0501 59.3 46.6701 57.84 46.6701H40.8C38.57 46.6701 36.76 48.4801 36.76 50.7101V60.8901C36.76 62.2001 35.7 63.2601 34.39 63.2601H29.65C28.34 63.2601 27.28 62.2001 27.28 60.8901V50.6401H27.27ZM107.88 85.3601C107.88 92.7901 101.85 98.82 94.42 98.82H83.41C75.98 98.82 69.95 92.7901 69.95 85.3601V66.0901C69.95 64.7801 70.44 63.5201 71.33 62.5501L77.75 55.5801C78.02 55.2901 78.44 55.1901 78.82 55.3301C79.19 55.4801 79.44 55.83 79.44 56.23V85.3001C79.44 87.5301 81.25 89.3401 83.48 89.3401H94.36C96.59 89.3401 98.4 87.5301 98.4 85.3001V50.7101C98.4 48.4801 96.59 46.6701 94.36 46.6701H81.71C80.26 46.6701 78.88 47.2801 77.89 48.3401L40.16 89.3401H62.83C64.14 89.3401 65.2 90.4001 65.2 91.7101V96.4501C65.2 97.7601 64.14 98.82 62.83 98.82H32.28C29.51 98.82 27.26 96.5701 27.26 93.8001V91.29C27.26 90.03 27.73 88.8201 28.59 87.8901L70.89 41.9401C73.69 38.9001 77.62 37.1801 81.75 37.1801H94.41C101.84 37.1801 107.87 43.2101 107.87 50.6401V85.3601H107.88Z" fill="black"/>
-<path d="M27.27 50.6401C27.27 43.2101 33.3 37.1801 40.73 37.1801H66.64C67.02 37.1801 67.37 37.4101 67.53 37.7601C67.69 38.1101 67.62 38.5201 67.36 38.8101L61.68 44.9801C60.69 46.0501 59.3 46.6701 57.84 46.6701H40.8C38.57 46.6701 36.76 48.4801 36.76 50.7101V60.8901C36.76 62.2001 35.7 63.2601 34.39 63.2601H29.65C28.34 63.2601 27.28 62.2001 27.28 60.8901V50.6401H27.27Z" fill="white"/>
-<path d="M107.88 85.3601C107.88 92.7901 101.85 98.82 94.42 98.82H83.41C75.98 98.82 69.95 92.7901 69.95 85.3601V66.0901C69.95 64.7801 70.44 63.5201 71.33 62.5501L77.75 55.5801C78.02 55.2901 78.44 55.1901 78.82 55.3301C79.19 55.4801 79.44 55.83 79.44 56.23V85.3001C79.44 87.5301 81.25 89.3401 83.48 89.3401H94.36C96.59 89.3401 98.4 87.5301 98.4 85.3001V50.7101C98.4 48.4801 96.59 46.6701 94.36 46.6701H81.71C80.26 46.6701 78.88 47.2801 77.89 48.3401L40.16 89.3401H62.83C64.14 89.3401 65.2 90.4001 65.2 91.7101V96.4501C65.2 97.7601 64.14 98.82 62.83 98.82H32.28C29.51 98.82 27.26 96.5701 27.26 93.8001V91.29C27.26 90.03 27.73 88.8201 28.59 87.8901L70.89 41.9401C73.69 38.9001 77.62 37.1801 81.75 37.1801H94.41C101.84 37.1801 107.87 43.2101 107.87 50.6401V85.3601H107.88Z" fill="white"/>
-</g>
-<defs>
-<clipPath id="clip0_2343_96406">
-<rect width="136" height="136" rx="16" fill="white"/>
-</clipPath>
-</defs>
-</svg>
diff --git a/packages/twenty-chrome-extension/public/readme-images/01-img-one.png b/packages/twenty-chrome-extension/public/readme-images/01-img-one.png
deleted file mode 100644
index 220d400ad54..00000000000
Binary files a/packages/twenty-chrome-extension/public/readme-images/01-img-one.png and /dev/null differ
diff --git a/packages/twenty-chrome-extension/public/readme-images/02-img-two.png b/packages/twenty-chrome-extension/public/readme-images/02-img-two.png
deleted file mode 100644
index a80e7adc1e9..00000000000
Binary files a/packages/twenty-chrome-extension/public/readme-images/02-img-two.png and /dev/null differ
diff --git a/packages/twenty-chrome-extension/public/readme-images/03-img-three.png b/packages/twenty-chrome-extension/public/readme-images/03-img-three.png
deleted file mode 100644
index 2bcc5ec06d8..00000000000
Binary files a/packages/twenty-chrome-extension/public/readme-images/03-img-three.png and /dev/null differ
diff --git a/packages/twenty-chrome-extension/public/readme-images/04-img-four.png b/packages/twenty-chrome-extension/public/readme-images/04-img-four.png
deleted file mode 100644
index eaea637fb96..00000000000
Binary files a/packages/twenty-chrome-extension/public/readme-images/04-img-four.png and /dev/null differ
diff --git a/packages/twenty-chrome-extension/public/readme-images/05-img-five.png b/packages/twenty-chrome-extension/public/readme-images/05-img-five.png
deleted file mode 100644
index ab88203cde4..00000000000
Binary files a/packages/twenty-chrome-extension/public/readme-images/05-img-five.png and /dev/null differ
diff --git a/packages/twenty-chrome-extension/public/vite.svg b/packages/twenty-chrome-extension/public/vite.svg
deleted file mode 100644
index e7b8dfb1b2a..00000000000
--- a/packages/twenty-chrome-extension/public/vite.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
\ No newline at end of file
diff --git a/packages/twenty-chrome-extension/sidepanel.html b/packages/twenty-chrome-extension/sidepanel.html
deleted file mode 100644
index d167383f9cb..00000000000
--- a/packages/twenty-chrome-extension/sidepanel.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <link rel="icon" href="images/icons/android/android-launchericon-48-48.png" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>Twenty</title>
- <style>
- /* Reset margin and padding */
- html, body {
- margin: 0;
- padding: 0;
- height: 100%; /* Ensure body takes full viewport height */
- overflow: hidden; /* Prevents scrollbars from appearing */
- }
- </style>
-
- </head>
- <body>
- <div id="app"></div>
- <script type="module" src="/src/options/index.tsx"></script>
- </body>
-</html>
\ No newline at end of file
diff --git a/packages/twenty-chrome-extension/src/background/index.ts b/packages/twenty-chrome-extension/src/background/index.ts
deleted file mode 100644
index d4d284753c3..00000000000
--- a/packages/twenty-chrome-extension/src/background/index.ts
+++ /dev/null
@@ -1,96 +0,0 @@
-import { isDefined } from 'twenty-shared/utils';
-// Open options page programmatically in a new tab.
-// chrome.runtime.onInstalled.addListener((details) => {
-// if (details.reason === 'install') {
-// openOptionsPage();
-// }
-// });
-
-chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true });
-
-// This listens for an event from other parts of the extension, such as the content script, and performs the required tasks.
-// The cases themselves are labelled such that their operations are reflected by their names.
-chrome.runtime.onMessage.addListener((message, _, sendResponse) => {
- switch (message.action) {
- case 'getActiveTab': {
- // e.g. "https://linkedin.com/company/twenty/"
- chrome.tabs.query({ active: true, currentWindow: true }, ([tab]) => {
- if (isDefined(tab) && isDefined(tab.id)) {
- sendResponse({ tab });
- }
- });
- break;
- }
- case 'openSidepanel': {
- chrome.tabs.query({ active: true, currentWindow: true }, ([tab]) => {
- if (isDefined(tab) && isDefined(tab.id)) {
- chrome.sidePanel.open({ tabId: tab.id });
- }
- });
- break;
- }
- default:
- break;
- }
-
- return true;
-});
-
-chrome.tabs.onUpdated.addListener(async (tabId, _, tab) => {
- const isDesiredRoute =
- tab.url?.match(/^https?:\/\/(?:www\.)?linkedin\.com\/company(?:\/\S+)?/) ||
- tab.url?.match(/^https?:\/\/(?:www\.)?linkedin\.com\/in(?:\/\S+)?/);
-
- if (tab.active === true) {
- if (isDefined(isDesiredRoute)) {
- chrome.tabs.sendMessage(tabId, { action: 'executeContentScript' });
- }
- }
-
- await chrome.sidePanel.setOptions({
- tabId,
- path: tab.url?.match(/^https?:\/\/(?:www\.)?linkedin\.com/)
- ? 'sidepanel.html'
- : 'page-inaccessible.html',
- enabled: true,
- });
-});
-
-const setTokenStateFromCookie = (cookie: string) => {
- const decodedValue = decodeURIComponent(cookie);
- const tokenPair = JSON.parse(decodedValue);
- if (isDefined(tokenPair)) {
- chrome.storage.local.set({
- isAuthenticated: true,
- accessToken: tokenPair.accessOrWorkspaceAgnosticToken,
- refreshToken: tokenPair.refreshToken,
- });
- }
-};
-
-chrome.cookies.onChanged.addListener(async ({ cookie }) => {
- if (cookie.name === 'tokenPair') {
- const store = await chrome.storage.local.get(['clientUrl']);
- const clientUrl = isDefined(store.clientUrl)
- ? store.clientUrl
- : import.meta.env.VITE_FRONT_BASE_URL;
- chrome.cookies.get({ name: 'tokenPair', url: `${clientUrl}` }, (cookie) => {
- if (isDefined(cookie)) {
- setTokenStateFromCookie(cookie.value);
- }
- });
- }
-});
-
-// This will only run the very first time the extension loads, after we have stored the
-// cookiesRead variable to true, this will not allow to change the token state everytime background script runs
-chrome.cookies.get(
- { name: 'tokenPair', url: `${import.meta.env.VITE_FRONT_BASE_URL}` },
- async (cookie) => {
- const store = await chrome.storage.local.get(['cookiesRead']);
- if (isDefined(cookie) && !isDefined(store.cookiesRead)) {
- setTokenStateFromCookie(cookie.value);
- chrome.storage.local.set({ cookiesRead: true });
- }
- },
-);
diff --git a/packages/twenty-chrome-extension/src/contentScript/createButton.ts b/packages/twenty-chrome-extension/src/contentScript/createButton.ts
deleted file mode 100644
index f75737e88c3..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/createButton.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-import { isDefined } from 'twenty-shared/utils';
-interface CustomDiv extends HTMLDivElement {
- onClickHandler: (newHandler: () => void) => void;
-}
-
-export const createDefaultButton = (
- buttonId: string,
- buttonText = '',
-): CustomDiv => {
- const btn = document.getElementById(buttonId) as CustomDiv;
- if (isDefined(btn)) return btn;
- const div = document.createElement('div') as CustomDiv;
- const img = document.createElement('img');
- const span = document.createElement('span');
-
- span.textContent = buttonText;
- img.src =
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACb0lEQVR4nO2VO4taQRTHr3AblbjxEVlwCwVhg7BoqqCIjy/gAyyFWNlYBOxsfH0KuxgQGwXRUkGuL2S7i1barGAgiwbdW93SnGOc4BonPiKahf3DwXFmuP/fPM4ZlvmlTxAhCBdzHnEQWYiv7Mr4C3NeuVYhQYDPzOUUQgDLBQGcLHNhvQK8DACPx8PTxiqVyvISG43GbyaT6Qfpn06n0m63e/tPAPF4vJ1MJu8kEsnWTCkWi1yr1RKGw+GDRqPBOTfr44vFQvD7/Q/lcpmaaVQAr9fLp1IpO22c47hGOBz+MB6PH+Vy+VYDAL8qlUoGtVotzOfzq4MAgsHgE/6KojiQyWR/bKVSqbSszHFM8Pl8z1YK48JsNltCOBwOnrYLO+8AAIjb+nHbycoTiUQfDJ7tFq4YAHiVSmXBxcD41u8flQU8z7fhzO0r83atVns3Go3u9Xr9x0O/RQXo9/tsIBBg6vX606a52Wz+bZ7P5/WwG29gxSJzhKgA6XTaDoFNF+krFAocmC//4yWEcSf2wTm7mCO19xFgSsKOLI16vV7b7XY7mRNoLwA0JymJ5uQIzgIAuX5PzDElT2m+E8BqtQ4ymcx7Yq7T6a6ZE4sKgOadTucaCwkxp1UzlEKh0GDxIXOwDWHAdi6Xe3swQDQa/Q7mywoolUpvsaptymazDWKxmBHTlWXZm405BFZoNpuGgwEmk4mE2SGtVivii4f1AO7J3ZopkQCQj7Ar1FeRChCJRJzVapX6DKNIfSc1Ax+wtQWQ55h6bH8FWDfYV4fO3wlwDr0C/BcADYiTPCxHqIEA2QsCZAkAKnRGkMbKN/sTX5YHPQ1e7SkAAAAASUVORK5CYII=';
- img.height = 16;
- img.width = 16;
- img.alt = 'Twenty logo';
-
- // Write universal styles for the button
- const divStyles = {
- border: '1px solid black',
- borderRadius: '20px',
- backgroundColor: 'black',
- color: 'white',
- fontWeight: '600',
- fontSize: '1.5rem',
- display: 'flex',
- alignItems: 'center',
- gap: '5px',
- justifyContent: 'center',
- padding: '0 1rem',
- cursor: 'pointer',
- height: '32px',
- width: 'max-content',
- };
-
- Object.assign(div.style, divStyles);
-
- // Apply common styles to specifc states of a button.
- div.addEventListener('mouseenter', () => {
- const hoverStyles = {
- //eslint-disable-next-line @nx/workspace-no-hardcoded-colors
- backgroundColor: '#5e5e5e',
- //eslint-disable-next-line @nx/workspace-no-hardcoded-colors
- borderColor: '#5e5e5e',
- };
- Object.assign(div.style, hoverStyles);
- });
-
- div.addEventListener('mouseleave', () => {
- Object.assign(div.style, divStyles);
- });
-
- div.onClickHandler = (newHandler) => {
- div.onclick = async () => {
- const store = await chrome.storage.local.get();
-
- // If an api key is not set, the options page opens up to allow the user to configure an api key.
- if (!store.accessToken) {
- chrome.runtime.sendMessage({ action: 'openSidepanel' });
- return;
- }
- newHandler();
- };
- };
-
- div.id = buttonId;
-
- div.appendChild(img);
- div.appendChild(span);
-
- return div;
-};
diff --git a/packages/twenty-chrome-extension/src/contentScript/extractCompanyProfile.ts b/packages/twenty-chrome-extension/src/contentScript/extractCompanyProfile.ts
deleted file mode 100644
index 7122668796f..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/extractCompanyProfile.ts
+++ /dev/null
@@ -1,126 +0,0 @@
-import { createDefaultButton } from '~/contentScript/createButton';
-import changeSidePanelUrl from '~/contentScript/utils/changeSidepanelUrl';
-import extractCompanyLinkedinLink from '~/contentScript/utils/extractCompanyLinkedinLink';
-import extractDomain from '~/contentScript/utils/extractDomain';
-import { createCompany, fetchCompany } from '~/db/company.db';
-import { CompanyInput } from '~/db/types/company.types';
-import { isDefined } from 'twenty-shared/utils';
-
-export const checkIfCompanyExists = async () => {
- const { tab: activeTab } = await chrome.runtime.sendMessage({
- action: 'getActiveTab',
- });
-
- const companyURL = extractCompanyLinkedinLink(activeTab.url);
-
- return await fetchCompany({
- linkedinLink: {
- url: { eq: companyURL },
- label: { eq: companyURL },
- },
- });
-};
-
-export const addCompany = async () => {
- // Extract company-specific data from the DOM
- const companyNameElement = document.querySelector(
- '.org-top-card-summary__title',
- );
- const domainNameElement = document.querySelector(
- '.org-top-card-primary-actions__inner a',
- );
- const addressElement = document.querySelectorAll(
- '.org-top-card-summary-info-list__info-item',
- )[1];
- const employeesNumberElement = document.querySelectorAll(
- '.org-top-card-summary-info-list__info-item',
- )[3];
-
- // Get the text content or other necessary data from the DOM elements
- const companyName = companyNameElement
- ? companyNameElement.getAttribute('title')
- : '';
- const domainName = extractDomain(
- domainNameElement && domainNameElement.getAttribute('href'),
- );
- const address = addressElement
- ? addressElement.textContent?.trim().replace(/\s+/g, ' ')
- : '';
- const employees = employeesNumberElement
- ? Number(
- employeesNumberElement.textContent
- ?.trim()
- .replace(/\s+/g, ' ')
- .split('-')[0],
- )
- : 0;
-
- // Prepare company data to send to the backend
- const companyInputData: CompanyInput = {
- name: companyName ?? '',
- domainName: domainName,
- address: address ?? '',
- employees: employees,
- };
-
- // Extract active tab url using chrome API - an event is triggered here and is caught by background script.
- const { tab: activeTab } = await chrome.runtime.sendMessage({
- action: 'getActiveTab',
- });
-
- // Convert URLs like https://www.linkedin.com/company/twenty/about/ to https://www.linkedin.com/company/twenty
- const companyURL = extractCompanyLinkedinLink(activeTab.url);
- companyInputData.linkedinLink = { url: companyURL, label: companyURL };
-
- const companyId = await createCompany(companyInputData);
-
- if (isDefined(companyId)) {
- await changeSidePanelUrl(`/object/company/${companyId}`);
- }
-
- return companyId;
-};
-
-export const insertButtonForCompany = async () => {
- const companyButtonDiv = createDefaultButton('twenty-company-btn');
-
- const companyDiv: HTMLDivElement | null = document.querySelector(
- '.org-top-card__primary-content',
- );
-
- if (isDefined(companyDiv)) {
- Object.assign(companyButtonDiv.style, {
- marginTop: '.8rem',
- });
- companyDiv.parentElement?.append(companyButtonDiv);
- }
-
- const companyButtonSpan = companyButtonDiv.getElementsByTagName('span')[0];
- const company = await checkIfCompanyExists();
-
- const openCompanyOnSidePanel = (companyId: string) => {
- companyButtonSpan.textContent = 'View in Twenty';
- companyButtonDiv.onClickHandler(async () => {
- await changeSidePanelUrl(`/object/company/${companyId}`);
- chrome.runtime.sendMessage({ action: 'openSidepanel' });
- });
- };
-
- if (isDefined(company)) {
- await changeSidePanelUrl(`/object/company/${company.id}`);
- if (isDefined(company.id)) openCompanyOnSidePanel(company.id);
- } else {
- await changeSidePanelUrl(`/objects/companies`);
- companyButtonSpan.textContent = 'Add to Twenty';
-
- companyButtonDiv.onClickHandler(async () => {
- companyButtonSpan.textContent = 'Saving...';
- const companyId = await addCompany();
- if (isDefined(companyId)) {
- openCompanyOnSidePanel(companyId);
- } else {
- companyButtonSpan.textContent = 'Try again';
- }
- });
- }
-};
diff --git a/packages/twenty-chrome-extension/src/contentScript/extractPersonProfile.ts b/packages/twenty-chrome-extension/src/contentScript/extractPersonProfile.ts
deleted file mode 100644
index 487f2dd367b..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/extractPersonProfile.ts
+++ /dev/null
@@ -1,133 +0,0 @@
-import { createDefaultButton } from '~/contentScript/createButton';
-import changeSidePanelUrl from '~/contentScript/utils/changeSidepanelUrl';
-import extractFirstAndLastName from '~/contentScript/utils/extractFirstAndLastName';
-import { createPerson, fetchPerson } from '~/db/person.db';
-import { PersonInput } from '~/db/types/person.types';
-import { isDefined } from 'twenty-shared/utils';
-
-export const checkIfPersonExists = async () => {
- const { tab: activeTab } = await chrome.runtime.sendMessage({
- action: 'getActiveTab',
- });
-
- let activeTabUrl = '';
- if (isDefined(activeTab.url.endsWith('/'))) {
- activeTabUrl = activeTab.url.slice(0, -1);
- }
-
- const personNameElement = document.querySelector('.text-heading-xlarge');
- const personName = personNameElement ? personNameElement.textContent : '';
-
- const { firstName, lastName } = extractFirstAndLastName(String(personName));
- const person = await fetchPerson({
- name: {
- firstName: { eq: firstName },
- lastName: { eq: lastName },
- },
- linkedinLink: { url: { eq: activeTabUrl }, label: { eq: activeTabUrl } },
- });
- return person;
-};
-
-export const addPerson = async () => {
- const personNameElement = document.querySelector('.text-heading-xlarge');
-
- const separatorElement = document.querySelector(
- '.pv-text-details__separator',
- );
- const personCityElement = separatorElement?.previousElementSibling;
-
- const profilePictureElement = document.querySelector(
- '.pv-top-card-profile-picture__image',
- );
-
- const firstListItem = document.querySelector(
- 'div[data-view-name="profile-component-entity"]',
- );
- const secondDivElement = firstListItem?.querySelector('div:nth-child(2)');
- const ariaHiddenSpan = secondDivElement?.querySelector(
- 'span[aria-hidden="true"]',
- );
-
- // Get the text content or other necessary data from the DOM elements.
- const personName = personNameElement ? personNameElement.textContent : '';
- const personCity = personCityElement
- ? personCityElement.textContent?.trim().replace(/\s+/g, ' ').split(',')[0]
- : '';
- const profilePicture = profilePictureElement
- ? profilePictureElement?.getAttribute('src')
- : '';
- const jobTitle = ariaHiddenSpan ? ariaHiddenSpan.textContent?.trim() : '';
-
- const { firstName, lastName } = extractFirstAndLastName(String(personName));
-
- // Prepare person data to send to the backend.
- const personData: PersonInput = {
- name: { firstName, lastName },
- city: personCity ?? '',
- avatarUrl: profilePicture ?? '',
- jobTitle: jobTitle ?? '',
- linkedinLink: { url: '', label: '' },
- };
-
- // Extract active tab url using chrome API - an event is triggered here and is caught by background script.
- const { tab: activeTab } = await chrome.runtime.sendMessage({
- action: 'getActiveTab',
- });
-
- let activeTabUrl = '';
-
- // Remove last slash from the URL for consistency when saving usernames.
- if (isDefined(activeTab.url.endsWith('/'))) {
- activeTabUrl = activeTab.url.slice(0, -1);
- }
-
- personData.linkedinLink = { url: activeTabUrl, label: activeTabUrl };
- const personId = await createPerson(personData);
-
- if (isDefined(personId)) {
- await changeSidePanelUrl(`/object/person/${personId}`);
- }
-
- return personId;
-};
-
-export const insertButtonForPerson = async () => {
- const personButtonDiv = createDefaultButton('twenty-person-btn');
-
- if (isDefined(personButtonDiv)) {
- const addedProfileDiv = document.querySelector('.artdeco-card > .ph5');
-
- if (isDefined(addedProfileDiv)) {
- Object.assign(personButtonDiv.style, {
- marginTop: '.8rem',
- });
- addedProfileDiv.append(personButtonDiv);
- }
-
- const personButtonSpan = personButtonDiv.getElementsByTagName('span')[0];
- const person = await checkIfPersonExists();
-
- const openPersonOnSidePanel = (personId: string) => {
- personButtonSpan.textContent = 'View in Twenty';
- personButtonDiv.onClickHandler(async () => {
- await changeSidePanelUrl(`/object/person/${personId}`);
- chrome.runtime.sendMessage({ action: 'openSidepanel' });
- });
- };
-
- if (isDefined(person)) {
- await changeSidePanelUrl(`/object/person/${person.id}`);
- if (isDefined(person.id)) openPersonOnSidePanel(person.id);
- } else {
- await changeSidePanelUrl(`/objects/people`);
- personButtonSpan.textContent = 'Add to Twenty';
- personButtonDiv.onClickHandler(async () => {
- personButtonSpan.textContent = 'Saving...';
- const personId = await addPerson();
- if (isDefined(personId)) openPersonOnSidePanel(personId);
- else personButtonSpan.textContent = 'Try again';
- });
- }
- }
-};
diff --git a/packages/twenty-chrome-extension/src/contentScript/index.ts b/packages/twenty-chrome-extension/src/contentScript/index.ts
deleted file mode 100644
index 79110dbc435..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/index.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-import { insertButtonForCompany } from '~/contentScript/extractCompanyProfile';
-import { insertButtonForPerson } from '~/contentScript/extractPersonProfile';
-import { isDefined } from 'twenty-shared/utils';
-
-// Inject buttons into the DOM when SPA is reloaded on the resource url.
-// e.g. reload the page when on https://www.linkedin.com/in/mabdullahabaid/
-// await insertButtonForCompany();
-
-const companyRoute = /^https?:\/\/(?:www\.)?linkedin\.com\/company(?:\/\S+)?/;
-const personRoute = /^https?:\/\/(?:www\.)?linkedin\.com\/in(?:\/\S+)?/;
-
-const executeScript = async () => {
- const loc = window.location.href;
- switch (true) {
- case companyRoute.test(loc):
- await insertButtonForCompany();
- break;
- case personRoute.test(loc):
- await insertButtonForPerson();
- break;
- default:
- break;
- }
-};
-
-// The content script gets executed upon load, so the the content script is executed when a user visits https://www.linkedin.com/feed/.
-// However, there would never be another reload in a single page application unless triggered manually.
-// Therefore, if the user navigates to a person or a company page, we must manually re-execute the content script to create the "Add to Twenty" button.
-// e.g. create "Add to Twenty" button when a user navigates to https://www.linkedin.com/in/mabdullahabaid/ from https://www.linkedin.com/feed/
-chrome.runtime.onMessage.addListener(async (message, _, sendResponse) => {
- if (message.action === 'executeContentScript') {
- await executeScript();
- }
-
- sendResponse('Executing!');
-});
-
-chrome.storage.local.onChanged.addListener(async (store) => {
- if (isDefined(store.accessToken)) {
- if (isDefined(store.accessToken.newValue)) {
- await executeScript();
- }
- }
-});
diff --git a/packages/twenty-chrome-extension/src/contentScript/insertSettingsButton.ts b/packages/twenty-chrome-extension/src/contentScript/insertSettingsButton.ts
deleted file mode 100644
index f0669edcb94..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/insertSettingsButton.ts
+++ /dev/null
@@ -1,58 +0,0 @@
-import { isDefined } from 'twenty-shared/utils';
-const btn = document.getElementById('twenty-settings-btn');
-if (!isDefined(btn)) {
- const div = document.createElement('div');
- const img = document.createElement('img');
- img.src =
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACb0lEQVR4nO2VO4taQRTHr3AblbjxEVlwCwVhg7BoqqCIjy/gAyyFWNlYBOxsfH0KuxgQGwXRUkGuL2S7i1barGAgiwbdW93SnGOc4BonPiKahf3DwXFmuP/fPM4ZlvmlTxAhCBdzHnEQWYiv7Mr4C3NeuVYhQYDPzOUUQgDLBQGcLHNhvQK8DACPx8PTxiqVyvISG43GbyaT6Qfpn06n0m63e/tPAPF4vJ1MJu8kEsnWTCkWi1yr1RKGw+GDRqPBOTfr44vFQvD7/Q/lcpmaaVQAr9fLp1IpO22c47hGOBz+MB6PH+Vy+VYDAL8qlUoGtVotzOfzq4MAgsHgE/6KojiQyWR/bKVSqbSszHFM8Pl8z1YK48JsNltCOBwOnrYLO+8AAIjb+nHbycoTiUQfDJ7tFq4YAHiVSmXBxcD41u8flQU8z7fhzO0r83atVns3Go3u9Xr9x0O/RQXo9/tsIBBg6vX606a52Wz+bZ7P5/WwG29gxSJzhKgA6XTaDoFNF+krFAocmC//4yWEcSf2wTm7mCO19xFgSsKOLI16vV7b7XY7mRNoLwA0JymJ5uQIzgIAuX5PzDElT2m+E8BqtQ4ymcx7Yq7T6a6ZE4sKgOadTucaCwkxp1UzlEKh0GDxIXOwDWHAdi6Xe3swQDQa/Q7mywoolUpvsaptymazDWKxmBHTlWXZm405BFZoNpuGgwEmk4mE2SGtVivii4f1AO7J3ZopkQCQj7Ar1FeRChCJRJzVapX6DKNIfSc1Ax+wtQWQ55h6bH8FWDfYV4fO3wlwDr0C/BcADYiTPCxHqIEA2QsCZAkAKnRGkMbKN/sTX5YHPQ1e7SkAAAAASUVORK5CYII=';
- img.height = 20;
- img.width = 20;
- img.alt = 'Twenty logo';
-
- // Write universal styles for the button
- const divStyles = {
- border: '1px solid black',
- borderRadius: '50%',
- backgroundColor: 'black',
- color: 'white',
- fontWeight: '600',
- fontSize: '1.5rem',
- display: 'flex',
- alignItems: 'center',
- gap: '5px',
- justifyContent: 'center',
- padding: '0 1rem',
- cursor: 'pointer',
- height: '50px',
- width: '50px',
- position: 'fixed',
- bottom: '80px',
- right: '20px',
- zIndex: '9999999999999999999999999',
- };
-
- div.addEventListener('mouseenter', () => {
- const hoverStyles = {
- //eslint-disable-next-line @nx/workspace-no-hardcoded-colors
- backgroundColor: '#5e5e5e',
- //eslint-disable-next-line @nx/workspace-no-hardcoded-colors
- borderColor: '#5e5e5e',
- };
- Object.assign(div.style, hoverStyles);
- });
-
- div.addEventListener('mouseleave', () => {
- Object.assign(div.style, divStyles);
- });
-
- div.onclick = async () => {
- chrome.runtime.sendMessage({ action: 'openSidepanel' });
- chrome.storage.local.set({ navigateSidepanel: 'settings' });
- };
-
- div.appendChild(img);
-
- Object.assign(div.style, divStyles);
-
- document.body.appendChild(div);
-}
diff --git a/packages/twenty-chrome-extension/src/contentScript/utils/changeSidepanelUrl.ts b/packages/twenty-chrome-extension/src/contentScript/utils/changeSidepanelUrl.ts
deleted file mode 100644
index c55a3cac8a8..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/utils/changeSidepanelUrl.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { isDefined } from 'twenty-shared/utils';
-const changeSidePanelUrl = async (url: string) => {
- if (isDefined(url)) {
- chrome.storage.local.set({ navigateSidepanel: 'sidepanel' });
- // we first clear the sidepanelUrl to trigger the onchange listener on sidepanel
- // which will pass the post meessage to handle internal navigation of iframe
- chrome.storage.local.set({ sidepanelUrl: '' });
- chrome.storage.local.set({ sidepanelUrl: url });
- }
-};
-
-export default changeSidePanelUrl;
diff --git a/packages/twenty-chrome-extension/src/contentScript/utils/extractCompanyLinkedinLink.ts b/packages/twenty-chrome-extension/src/contentScript/utils/extractCompanyLinkedinLink.ts
deleted file mode 100644
index 3f696f81e16..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/utils/extractCompanyLinkedinLink.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { isDefined } from 'twenty-shared/utils';
-// "https://www.linkedin.com/company/twenty/" "https://www.linkedin.com/company/twenty/about/" "https://www.linkedin.com/company/twenty/people/".
-const extractCompanyLinkedinLink = (activeTabUrl: string) => {
- // Regular expression to match the company ID
- const regex = /\/company\/([^/]*)/;
-
- // Extract the company ID using the regex
- const match = activeTabUrl.match(regex);
-
- if (isDefined(match) && isDefined(match[1])) {
- const companyID = match[1];
- const cleanCompanyURL = `https://www.linkedin.com/company/${companyID}`;
- return cleanCompanyURL;
- }
-
- return '';
-};
-
-export default extractCompanyLinkedinLink;
diff --git a/packages/twenty-chrome-extension/src/contentScript/utils/extractDomain.ts b/packages/twenty-chrome-extension/src/contentScript/utils/extractDomain.ts
deleted file mode 100644
index 82cce7853ba..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/utils/extractDomain.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-const extractDomain = (url: string | null) => {
- if (!url) return '';
-
- const hostname = new URL(url).hostname;
- let domain = hostname.replace('www.', '');
-
- const parts = domain.split('.');
- if (parts.length > 2) {
- domain = parts.slice(1).join('.');
- }
-
- return domain;
-};
-
-export default extractDomain;
diff --git a/packages/twenty-chrome-extension/src/contentScript/utils/extractFirstAndLastName.ts b/packages/twenty-chrome-extension/src/contentScript/utils/extractFirstAndLastName.ts
deleted file mode 100644
index 5074609e919..00000000000
--- a/packages/twenty-chrome-extension/src/contentScript/utils/extractFirstAndLastName.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-// Separate first name and last name from a full name.
-const extractFirstAndLastName = (fullName: string) => {
- const spaceIndex = fullName.lastIndexOf(' ');
- const firstName = fullName.substring(0, spaceIndex);
- const lastName = fullName.substring(spaceIndex + 1);
- return { firstName, lastName };
-};
-
-export default extractFirstAndLastName;
diff --git a/packages/twenty-chrome-extension/src/db/auth.db.ts b/packages/twenty-chrome-extension/src/db/auth.db.ts
deleted file mode 100644
index ea01554f111..00000000000
--- a/packages/twenty-chrome-extension/src/db/auth.db.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import {
- ExchangeAuthCodeInput,
- ExchangeAuthCodeResponse,
- Tokens,
-} from '~/db/types/auth.types';
-import { EXCHANGE_AUTHORIZATION_CODE } from '~/graphql/auth/mutations';
-import { callMutation } from '~/utils/requestDb';
-import { isDefined } from 'twenty-shared/utils';
-
-export const exchangeAuthorizationCode = async (
- exchangeAuthCodeInput: ExchangeAuthCodeInput,
-): Promise<Tokens | null> => {
- const data = await callMutation<ExchangeAuthCodeResponse>(
- EXCHANGE_AUTHORIZATION_CODE,
- exchangeAuthCodeInput,
- );
- if (isDefined(data?.exchangeAuthorizationCode))
- return data.exchangeAuthorizationCode;
- else return null;
-};
diff --git a/packages/twenty-chrome-extension/src/db/company.db.ts b/packages/twenty-chrome-extension/src/db/company.db.ts
deleted file mode 100644
index 39c27430015..00000000000
--- a/packages/twenty-chrome-extension/src/db/company.db.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import {
- CompanyInput,
- CreateCompanyResponse,
- FindCompanyResponse,
-} from '~/db/types/company.types';
-import { Company, CompanyFilterInput } from '~/generated/graphql';
-import { CREATE_COMPANY } from '~/graphql/company/mutations';
-import { FIND_COMPANY } from '~/graphql/company/queries';
-
-import { callMutation, callQuery } from '../utils/requestDb';
-import { isDefined } from 'twenty-shared/utils';
-
-export const fetchCompany = async (
- companyfilerInput: CompanyFilterInput,
-): Promise<Company | null> => {
- const data = await callQuery<FindCompanyResponse>(FIND_COMPANY, {
- filter: {
- ...companyfilerInput,
- },
- });
- if (isDefined(data?.companies.edges)) {
- return data.companies.edges.length > 0
- ? isDefined(data.companies.edges[0].node)
- ? data.companies.edges[0].node
- : null
- : null;
- }
- return null;
-};
-
-export const createCompany = async (
- company: CompanyInput,
-): Promise<string | null> => {
- const data = await callMutation<CreateCompanyResponse>(CREATE_COMPANY, {
- input: company,
- });
- if (isDefined(data)) {
- return data.createCompany.id;
- }
- return null;
-};
diff --git a/packages/twenty-chrome-extension/src/db/person.db.ts b/packages/twenty-chrome-extension/src/db/person.db.ts
deleted file mode 100644
index 9680c6a52ac..00000000000
--- a/packages/twenty-chrome-extension/src/db/person.db.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import {
- CreatePersonResponse,
- FindPersonResponse,
- PersonInput,
-} from '~/db/types/person.types';
-import { Person, PersonFilterInput } from '~/generated/graphql';
-import { CREATE_PERSON } from '~/graphql/person/mutations';
-import { FIND_PERSON } from '~/graphql/person/queries';
-
-import { callMutation, callQuery } from '../utils/requestDb';
-import { isDefined } from 'twenty-shared/utils';
-
-export const fetchPerson = async (
- personFilterData: PersonFilterInput,
-): Promise<Person | null> => {
- const data = await callQuery<FindPersonResponse>(FIND_PERSON, {
- filter: {
- ...personFilterData,
- },
- });
- if (isDefined(data?.people.edges)) {
- return data.people.edges.length > 0
- ? isDefined(data.people.edges[0].node)
- ? data.people.edges[0].node
- : null
- : null;
- }
- return null;
-};
-
-export const createPerson = async (
- person: PersonInput,
-): Promise<string | null> => {
- const data = await callMutation<CreatePersonResponse>(CREATE_PERSON, {
- input: person,
- });
- if (isDefined(data?.createPerson)) {
- return data.createPerson.id;
- }
- return null;
-};
diff --git a/packages/twenty-chrome-extension/src/db/token.db.ts b/packages/twenty-chrome-extension/src/db/token.db.ts
deleted file mode 100644
index d3d25d75e8f..00000000000
--- a/packages/twenty-chrome-extension/src/db/token.db.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import { ApolloClient, InMemoryCache } from '@apollo/client';
-import { Tokens } from '~/db/types/auth.types';
-import { RENEW_TOKEN } from '~/graphql/auth/mutations';
-import { isDefined } from 'twenty-shared/utils';
-
-export const renewToken = async (
- appToken: string,
-): Promise<{ renewToken: { tokens: Tokens } } | null> => {
- const store = await chrome.storage.local.get();
- const serverUrl = `${
- isDefined(store.serverBaseUrl)
- ? store.serverBaseUrl
- : import.meta.env.VITE_SERVER_BASE_URL
- }/graphql`;
-
- // Create new client to call refresh token graphql mutation
- const client = new ApolloClient({
- uri: serverUrl,
- cache: new InMemoryCache({}),
- });
-
- const { data } = await client.mutate({
- mutation: RENEW_TOKEN,
- variables: {
- appToken,
- },
- fetchPolicy: 'network-only',
- });
-
- if (isDefined(data)) {
- return data;
- } else {
- return null;
- }
-};
diff --git a/packages/twenty-chrome-extension/src/db/types/auth.types.ts b/packages/twenty-chrome-extension/src/db/types/auth.types.ts
deleted file mode 100644
index 82853ac5e33..00000000000
--- a/packages/twenty-chrome-extension/src/db/types/auth.types.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-export type AuthToken = {
- token: string;
- expiresAt: Date;
-};
-
-export type ExchangeAuthCodeInput = {
- authorizationCode: string;
- codeVerifier?: string;
- clientSecret?: string;
-};
-
-export type Tokens = {
- loginToken: AuthToken;
- accessOrWorkspaceAgnosticToken: AuthToken;
- refreshToken: AuthToken;
-};
-
-export type ExchangeAuthCodeResponse = {
- exchangeAuthorizationCode: Tokens;
-};
diff --git a/packages/twenty-chrome-extension/src/db/types/company.types.ts b/packages/twenty-chrome-extension/src/db/types/company.types.ts
deleted file mode 100644
index f6c1241652f..00000000000
--- a/packages/twenty-chrome-extension/src/db/types/company.types.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { Company, CompanyConnection } from '~/generated/graphql';
-
-export type CompanyInput = Pick<
- Company,
- 'name' | 'domainName' | 'address' | 'employees' | 'linkedinLink'
->;
-export type FindCompanyResponse = {
- companies: Pick<CompanyConnection, 'edges'>;
-};
-export type CreateCompanyResponse = { createCompany: { id: string } };
diff --git a/packages/twenty-chrome-extension/src/db/types/person.types.ts b/packages/twenty-chrome-extension/src/db/types/person.types.ts
deleted file mode 100644
index 914240eb144..00000000000
--- a/packages/twenty-chrome-extension/src/db/types/person.types.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { Person, PersonConnection } from '~/generated/graphql';
-
-export type PersonInput = Pick<
- Person,
- 'name' | 'city' | 'avatarUrl' | 'jobTitle' | 'linkedinLink'
->;
-export type FindPersonResponse = { people: Pick<PersonConnection, 'edges'> };
-export type CreatePersonResponse = { createPerson: { id: string } };
diff --git a/packages/twenty-chrome-extension/src/generated/graphql.tsx b/packages/twenty-chrome-extension/src/generated/graphql.tsx
deleted file mode 100644
index 64ebea47f5b..00000000000
--- a/packages/twenty-chrome-extension/src/generated/graphql.tsx
+++ /dev/null
@@ -1,8172 +0,0 @@
-import * as Apollo from '@apollo/client';
-import { gql } from '@apollo/client';
-export type Maybe<T> = T | null;
-export type InputMaybe<T> = Maybe<T>;
-export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
-export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
-export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
-const defaultOptions = {} as const;
-/** All built-in and custom scalars, mapped to their actual values */
-export type Scalars = {
- ID: string;
- String: string;
- Boolean: boolean;
- Int: number;
- Float: number;
- BigFloat: any;
- ConnectionCursor: any;
- Cursor: any;
- Date: any;
- DateTime: any;
- JSON: any;
- Position: any;
- RawJSONScalar: any;
- UUID: any;
- Upload: any;
-};
-
-export type ActivateWorkspaceInput = {
- displayName?: InputMaybe<Scalars['String']>;
-};
-
-/** An activity */
-export type Activity = {
- /** Activity targets */
- activityTargets?: Maybe<ActivityTargetConnection>;
- /** Activity assignee */
- assignee?: Maybe<WorkspaceMember>;
- /** Activity assignee id foreign key */
- assigneeId?: Maybe<Scalars['UUID']>;
- /** Activity attachments */
- attachments?: Maybe<AttachmentConnection>;
- /** Activity author */
- author?: Maybe<WorkspaceMember>;
- /** Activity author id foreign key */
- authorId?: Maybe<Scalars['UUID']>;
- /** Activity body */
- body?: Maybe<Scalars['String']>;
- /** Activity comments */
- comments?: Maybe<CommentConnection>;
- /** Activity completion date */
- completedAt?: Maybe<Scalars['DateTime']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Activity due date */
- dueAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Activity reminder date */
- reminderAt?: Maybe<Scalars['DateTime']>;
- /** Activity title */
- title?: Maybe<Scalars['String']>;
- /** Activity type */
- type?: Maybe<Scalars['String']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-
-/** An activity */
-export type ActivityActivityTargetsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ActivityTargetFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ActivityTargetOrderByInput>>>;
-};
-
-
-/** An activity */
-export type ActivityAttachmentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<AttachmentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<AttachmentOrderByInput>>>;
-};
-
-
-/** An activity */
-export type ActivityCommentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CommentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CommentOrderByInput>>>;
-};
-
-/** An activity */
-export type ActivityConnection = {
- edges?: Maybe<Array<ActivityEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** An activity */
-export type ActivityCreateInput = {
- /** Activity assignee id foreign key */
- assigneeId?: InputMaybe<Scalars['UUID']>;
- /** Activity author id foreign key */
- authorId?: InputMaybe<Scalars['UUID']>;
- /** Activity body */
- body?: InputMaybe<Scalars['String']>;
- /** Activity completion date */
- completedAt?: InputMaybe<Scalars['DateTime']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Activity due date */
- dueAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Activity reminder date */
- reminderAt?: InputMaybe<Scalars['DateTime']>;
- /** Activity title */
- title?: InputMaybe<Scalars['String']>;
- /** Activity type */
- type?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** An activity */
-export type ActivityEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Activity>;
-};
-
-/** An activity */
-export type ActivityFilterInput = {
- and?: InputMaybe<Array<InputMaybe<ActivityFilterInput>>>;
- /** Activity assignee id foreign key */
- assigneeId?: InputMaybe<IdFilter>;
- /** Activity author id foreign key */
- authorId?: InputMaybe<IdFilter>;
- /** Activity body */
- body?: InputMaybe<StringFilter>;
- /** Activity completion date */
- completedAt?: InputMaybe<DateFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Activity due date */
- dueAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<ActivityFilterInput>;
- or?: InputMaybe<Array<InputMaybe<ActivityFilterInput>>>;
- /** Activity reminder date */
- reminderAt?: InputMaybe<DateFilter>;
- /** Activity title */
- title?: InputMaybe<StringFilter>;
- /** Activity type */
- type?: InputMaybe<StringFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** An activity */
-export type ActivityOrderByInput = {
- /** Activity assignee id foreign key */
- assigneeId?: InputMaybe<OrderByDirection>;
- /** Activity author id foreign key */
- authorId?: InputMaybe<OrderByDirection>;
- /** Activity body */
- body?: InputMaybe<OrderByDirection>;
- /** Activity completion date */
- completedAt?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Activity due date */
- dueAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Activity reminder date */
- reminderAt?: InputMaybe<OrderByDirection>;
- /** Activity title */
- title?: InputMaybe<OrderByDirection>;
- /** Activity type */
- type?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** An activity target */
-export type ActivityTarget = {
- /** ActivityTarget activity */
- activity?: Maybe<Activity>;
- /** ActivityTarget activity id foreign key */
- activityId?: Maybe<Scalars['UUID']>;
- /** ActivityTarget company */
- company?: Maybe<Company>;
- /** ActivityTarget company id foreign key */
- companyId?: Maybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** ActivityTarget opportunity */
- opportunity?: Maybe<Opportunity>;
- /** ActivityTarget opportunity id foreign key */
- opportunityId?: Maybe<Scalars['UUID']>;
- /** ActivityTarget person */
- person?: Maybe<Person>;
- /** ActivityTarget person id foreign key */
- personId?: Maybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-/** An activity target */
-export type ActivityTargetConnection = {
- edges?: Maybe<Array<ActivityTargetEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** An activity target */
-export type ActivityTargetCreateInput = {
- /** ActivityTarget activity id foreign key */
- activityId?: InputMaybe<Scalars['UUID']>;
- /** ActivityTarget company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** ActivityTarget opportunity id foreign key */
- opportunityId?: InputMaybe<Scalars['UUID']>;
- /** ActivityTarget person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** An activity target */
-export type ActivityTargetEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<ActivityTarget>;
-};
-
-/** An activity target */
-export type ActivityTargetFilterInput = {
- /** ActivityTarget activity id foreign key */
- activityId?: InputMaybe<IdFilter>;
- and?: InputMaybe<Array<InputMaybe<ActivityTargetFilterInput>>>;
- /** ActivityTarget company id foreign key */
- companyId?: InputMaybe<IdFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<ActivityTargetFilterInput>;
- /** ActivityTarget opportunity id foreign key */
- opportunityId?: InputMaybe<IdFilter>;
- or?: InputMaybe<Array<InputMaybe<ActivityTargetFilterInput>>>;
- /** ActivityTarget person id foreign key */
- personId?: InputMaybe<IdFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** An activity target */
-export type ActivityTargetOrderByInput = {
- /** ActivityTarget activity id foreign key */
- activityId?: InputMaybe<OrderByDirection>;
- /** ActivityTarget company id foreign key */
- companyId?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** ActivityTarget opportunity id foreign key */
- opportunityId?: InputMaybe<OrderByDirection>;
- /** ActivityTarget person id foreign key */
- personId?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** An activity target */
-export type ActivityTargetUpdateInput = {
- /** ActivityTarget activity id foreign key */
- activityId?: InputMaybe<Scalars['UUID']>;
- /** ActivityTarget company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** ActivityTarget opportunity id foreign key */
- opportunityId?: InputMaybe<Scalars['UUID']>;
- /** ActivityTarget person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** An activity */
-export type ActivityUpdateInput = {
- /** Activity assignee id foreign key */
- assigneeId?: InputMaybe<Scalars['UUID']>;
- /** Activity author id foreign key */
- authorId?: InputMaybe<Scalars['UUID']>;
- /** Activity body */
- body?: InputMaybe<Scalars['String']>;
- /** Activity completion date */
- completedAt?: InputMaybe<Scalars['DateTime']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Activity due date */
- dueAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Activity reminder date */
- reminderAt?: InputMaybe<Scalars['DateTime']>;
- /** Activity title */
- title?: InputMaybe<Scalars['String']>;
- /** Activity type */
- type?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-export type Address = {
- addressCity?: Maybe<Scalars['String']>;
- addressCountry?: Maybe<Scalars['String']>;
- addressLat?: Maybe<Scalars['BigFloat']>;
- addressLng?: Maybe<Scalars['BigFloat']>;
- addressPostcode?: Maybe<Scalars['String']>;
- addressState?: Maybe<Scalars['String']>;
- addressStreet1?: Maybe<Scalars['String']>;
- addressStreet2?: Maybe<Scalars['String']>;
-};
-
-export type AddressCreateInput = {
- addressCity?: InputMaybe<Scalars['String']>;
- addressCountry?: InputMaybe<Scalars['String']>;
- addressLat?: InputMaybe<Scalars['BigFloat']>;
- addressLng?: InputMaybe<Scalars['BigFloat']>;
- addressPostcode?: InputMaybe<Scalars['String']>;
- addressState?: InputMaybe<Scalars['String']>;
- addressStreet1?: InputMaybe<Scalars['String']>;
- addressStreet2?: InputMaybe<Scalars['String']>;
-};
-
-export type AddressFilterInput = {
- addressCity?: InputMaybe<StringFilter>;
- addressCountry?: InputMaybe<StringFilter>;
- addressLat?: InputMaybe<BigFloatFilter>;
- addressLng?: InputMaybe<BigFloatFilter>;
- addressPostcode?: InputMaybe<StringFilter>;
- addressState?: InputMaybe<StringFilter>;
- addressStreet1?: InputMaybe<StringFilter>;
- addressStreet2?: InputMaybe<StringFilter>;
-};
-
-export type AddressOrderByInput = {
- addressCity?: InputMaybe<OrderByDirection>;
- addressCountry?: InputMaybe<OrderByDirection>;
- addressLat?: InputMaybe<OrderByDirection>;
- addressLng?: InputMaybe<OrderByDirection>;
- addressPostcode?: InputMaybe<OrderByDirection>;
- addressState?: InputMaybe<OrderByDirection>;
- addressStreet1?: InputMaybe<OrderByDirection>;
- addressStreet2?: InputMaybe<OrderByDirection>;
-};
-
-export type AddressUpdateInput = {
- addressCity?: InputMaybe<Scalars['String']>;
- addressCountry?: InputMaybe<Scalars['String']>;
- addressLat?: InputMaybe<Scalars['BigFloat']>;
- addressLng?: InputMaybe<Scalars['BigFloat']>;
- addressPostcode?: InputMaybe<Scalars['String']>;
- addressState?: InputMaybe<Scalars['String']>;
- addressStreet1?: InputMaybe<Scalars['String']>;
- addressStreet2?: InputMaybe<Scalars['String']>;
-};
-
-export type Analytics = {
- /** Boolean that confirms query was dispatched */
- success: Scalars['Boolean'];
-};
-
-export type ApiConfig = {
- mutationMaximumAffectedRecords: Scalars['Float'];
-};
-
-/** An api key */
-export type ApiKey = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** ApiKey expiration date */
- expiresAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** ApiKey name */
- name?: Maybe<Scalars['String']>;
- /** ApiKey revocation date */
- revokedAt?: Maybe<Scalars['DateTime']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-/** An api key */
-export type ApiKeyConnection = {
- edges?: Maybe<Array<ApiKeyEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** An api key */
-export type ApiKeyCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** ApiKey expiration date */
- expiresAt: Scalars['DateTime'];
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** ApiKey name */
- name?: InputMaybe<Scalars['String']>;
- /** ApiKey revocation date */
- revokedAt?: InputMaybe<Scalars['DateTime']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** An api key */
-export type ApiKeyEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<ApiKey>;
-};
-
-/** An api key */
-export type ApiKeyFilterInput = {
- and?: InputMaybe<Array<InputMaybe<ApiKeyFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** ApiKey expiration date */
- expiresAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** ApiKey name */
- name?: InputMaybe<StringFilter>;
- not?: InputMaybe<ApiKeyFilterInput>;
- or?: InputMaybe<Array<InputMaybe<ApiKeyFilterInput>>>;
- /** ApiKey revocation date */
- revokedAt?: InputMaybe<DateFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** An api key */
-export type ApiKeyOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** ApiKey expiration date */
- expiresAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** ApiKey name */
- name?: InputMaybe<OrderByDirection>;
- /** ApiKey revocation date */
- revokedAt?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-export type ApiKeyToken = {
- token: Scalars['String'];
-};
-
-/** An api key */
-export type ApiKeyUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** ApiKey expiration date */
- expiresAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** ApiKey name */
- name?: InputMaybe<Scalars['String']>;
- /** ApiKey revocation date */
- revokedAt?: InputMaybe<Scalars['DateTime']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-export type AppToken = {
- createdAt: Scalars['DateTime'];
- expiresAt: Scalars['DateTime'];
- id: Scalars['UUID'];
- type: Scalars['String'];
- updatedAt: Scalars['DateTime'];
-};
-
-export type AppTokenEdge = {
- /** Cursor for this node. */
- cursor: Scalars['ConnectionCursor'];
- /** The node containing the AppToken */
- node: AppToken;
-};
-
-/** An attachment */
-export type Attachment = {
- /** Attachment activity */
- activity?: Maybe<Activity>;
- /** Attachment activity id foreign key */
- activityId?: Maybe<Scalars['UUID']>;
- /** Attachment author */
- author?: Maybe<WorkspaceMember>;
- /** Attachment author id foreign key */
- authorId?: Maybe<Scalars['UUID']>;
- /** Attachment company */
- company?: Maybe<Company>;
- /** Attachment company id foreign key */
- companyId?: Maybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Attachment full path */
- fullPath?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Attachment name */
- name?: Maybe<Scalars['String']>;
- /** Attachment opportunity */
- opportunity?: Maybe<Opportunity>;
- /** Attachment opportunity id foreign key */
- opportunityId?: Maybe<Scalars['UUID']>;
- /** Attachment person */
- person?: Maybe<Person>;
- /** Attachment person id foreign key */
- personId?: Maybe<Scalars['UUID']>;
- /** Attachment type */
- type?: Maybe<Scalars['String']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-/** An attachment */
-export type AttachmentConnection = {
- edges?: Maybe<Array<AttachmentEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** An attachment */
-export type AttachmentCreateInput = {
- /** Attachment activity id foreign key */
- activityId?: InputMaybe<Scalars['UUID']>;
- /** Attachment author id foreign key */
- authorId: Scalars['UUID'];
- /** Attachment company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Attachment full path */
- fullPath?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Attachment name */
- name?: InputMaybe<Scalars['String']>;
- /** Attachment opportunity id foreign key */
- opportunityId?: InputMaybe<Scalars['UUID']>;
- /** Attachment person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Attachment type */
- type?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** An attachment */
-export type AttachmentEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Attachment>;
-};
-
-/** An attachment */
-export type AttachmentFilterInput = {
- /** Attachment activity id foreign key */
- activityId?: InputMaybe<IdFilter>;
- and?: InputMaybe<Array<InputMaybe<AttachmentFilterInput>>>;
- /** Attachment author id foreign key */
- authorId?: InputMaybe<IdFilter>;
- /** Attachment company id foreign key */
- companyId?: InputMaybe<IdFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Attachment full path */
- fullPath?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Attachment name */
- name?: InputMaybe<StringFilter>;
- not?: InputMaybe<AttachmentFilterInput>;
- /** Attachment opportunity id foreign key */
- opportunityId?: InputMaybe<IdFilter>;
- or?: InputMaybe<Array<InputMaybe<AttachmentFilterInput>>>;
- /** Attachment person id foreign key */
- personId?: InputMaybe<IdFilter>;
- /** Attachment type */
- type?: InputMaybe<StringFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** An attachment */
-export type AttachmentOrderByInput = {
- /** Attachment activity id foreign key */
- activityId?: InputMaybe<OrderByDirection>;
- /** Attachment author id foreign key */
- authorId?: InputMaybe<OrderByDirection>;
- /** Attachment company id foreign key */
- companyId?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Attachment full path */
- fullPath?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Attachment name */
- name?: InputMaybe<OrderByDirection>;
- /** Attachment opportunity id foreign key */
- opportunityId?: InputMaybe<OrderByDirection>;
- /** Attachment person id foreign key */
- personId?: InputMaybe<OrderByDirection>;
- /** Attachment type */
- type?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** An attachment */
-export type AttachmentUpdateInput = {
- /** Attachment activity id foreign key */
- activityId?: InputMaybe<Scalars['UUID']>;
- /** Attachment author id foreign key */
- authorId?: InputMaybe<Scalars['UUID']>;
- /** Attachment company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Attachment full path */
- fullPath?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Attachment name */
- name?: InputMaybe<Scalars['String']>;
- /** Attachment opportunity id foreign key */
- opportunityId?: InputMaybe<Scalars['UUID']>;
- /** Attachment person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Attachment type */
- type?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** An audit log of actions performed in the system */
-export type AuditLog = {
- /** Json object to provide context (user, device, workspace, etc.) */
- context?: Maybe<Scalars['RawJSONScalar']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Event name/type */
- name?: Maybe<Scalars['String']>;
- /** If the event is related to a particular object */
- objectMetadataId?: Maybe<Scalars['String']>;
- /** If the event is related to a particular object */
- objectName?: Maybe<Scalars['String']>;
- /** Json value for event details */
- properties?: Maybe<Scalars['RawJSONScalar']>;
- /** Event name/type */
- recordId?: Maybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Event workspace member */
- workspaceMember?: Maybe<WorkspaceMember>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: Maybe<Scalars['UUID']>;
-};
-
-/** An audit log of actions performed in the system */
-export type AuditLogConnection = {
- edges?: Maybe<Array<AuditLogEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** An audit log of actions performed in the system */
-export type AuditLogCreateInput = {
- /** Json object to provide context (user, device, workspace, etc.) */
- context?: InputMaybe<Scalars['RawJSONScalar']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Event name/type */
- name?: InputMaybe<Scalars['String']>;
- /** If the event is related to a particular object */
- objectMetadataId?: InputMaybe<Scalars['String']>;
- /** If the event is related to a particular object */
- objectName?: InputMaybe<Scalars['String']>;
- /** Json value for event details */
- properties?: InputMaybe<Scalars['RawJSONScalar']>;
- /** Event name/type */
- recordId?: InputMaybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** An audit log of actions performed in the system */
-export type AuditLogEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<AuditLog>;
-};
-
-/** An audit log of actions performed in the system */
-export type AuditLogFilterInput = {
- and?: InputMaybe<Array<InputMaybe<AuditLogFilterInput>>>;
- /** Json object to provide context (user, device, workspace, etc.) */
- context?: InputMaybe<RawJsonFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Event name/type */
- name?: InputMaybe<StringFilter>;
- not?: InputMaybe<AuditLogFilterInput>;
- /** If the event is related to a particular object */
- objectMetadataId?: InputMaybe<StringFilter>;
- /** If the event is related to a particular object */
- objectName?: InputMaybe<StringFilter>;
- or?: InputMaybe<Array<InputMaybe<AuditLogFilterInput>>>;
- /** Json value for event details */
- properties?: InputMaybe<RawJsonFilter>;
- /** Event name/type */
- recordId?: InputMaybe<IdFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: InputMaybe<IdFilter>;
-};
-
-/** An audit log of actions performed in the system */
-export type AuditLogOrderByInput = {
- /** Json object to provide context (user, device, workspace, etc.) */
- context?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Event name/type */
- name?: InputMaybe<OrderByDirection>;
- /** If the event is related to a particular object */
- objectMetadataId?: InputMaybe<OrderByDirection>;
- /** If the event is related to a particular object */
- objectName?: InputMaybe<OrderByDirection>;
- /** Json value for event details */
- properties?: InputMaybe<OrderByDirection>;
- /** Event name/type */
- recordId?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: InputMaybe<OrderByDirection>;
-};
-
-/** An audit log of actions performed in the system */
-export type AuditLogUpdateInput = {
- /** Json object to provide context (user, device, workspace, etc.) */
- context?: InputMaybe<Scalars['RawJSONScalar']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Event name/type */
- name?: InputMaybe<Scalars['String']>;
- /** If the event is related to a particular object */
- objectMetadataId?: InputMaybe<Scalars['String']>;
- /** If the event is related to a particular object */
- objectName?: InputMaybe<Scalars['String']>;
- /** Json value for event details */
- properties?: InputMaybe<Scalars['RawJSONScalar']>;
- /** Event name/type */
- recordId?: InputMaybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-export type AuthProviders = {
- google: Scalars['Boolean'];
- magicLink: Scalars['Boolean'];
- microsoft: Scalars['Boolean'];
- password: Scalars['Boolean'];
-};
-
-export type AuthToken = {
- expiresAt: Scalars['DateTime'];
- token: Scalars['String'];
-};
-
-export type AuthTokenPair = {
- accessOrWorkspaceAgnosticToken: AuthToken;
- refreshToken: AuthToken;
-};
-
-export type AuthTokens = {
- tokens: AuthTokenPair;
-};
-
-export type AuthorizeApp = {
- redirectUrl: Scalars['String'];
-};
-
-export type BigFloatFilter = {
- eq?: InputMaybe<Scalars['BigFloat']>;
- gt?: InputMaybe<Scalars['BigFloat']>;
- gte?: InputMaybe<Scalars['BigFloat']>;
- in?: InputMaybe<Array<Scalars['BigFloat']>>;
- is?: InputMaybe<FilterIs>;
- lt?: InputMaybe<Scalars['BigFloat']>;
- lte?: InputMaybe<Scalars['BigFloat']>;
- neq?: InputMaybe<Scalars['BigFloat']>;
-};
-
-export type Billing = {
- billingFreeTrialDurationInDays?: Maybe<Scalars['Float']>;
- billingUrl?: Maybe<Scalars['String']>;
- isBillingEnabled: Scalars['Boolean'];
-};
-
-export type BillingSubscription = {
- id: Scalars['UUID'];
- interval?: Maybe<SubscriptionInterval>;
- status: SubscriptionStatus;
-};
-
-export type BillingSubscriptionFilter = {
- and?: InputMaybe<Array<BillingSubscriptionFilter>>;
- id?: InputMaybe<UuidFilterComparison>;
- or?: InputMaybe<Array<BillingSubscriptionFilter>>;
-};
-
-export type BillingSubscriptionSort = {
- direction: SortDirection;
- field: BillingSubscriptionSortFields;
- nulls?: InputMaybe<SortNulls>;
-};
-
-export enum BillingSubscriptionSortFields {
- Id = 'id'
-}
-
-/** Blocklist */
-export type Blocklist = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Handle */
- handle?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** WorkspaceMember */
- workspaceMember?: Maybe<WorkspaceMember>;
- /** WorkspaceMember id foreign key */
- workspaceMemberId?: Maybe<Scalars['UUID']>;
-};
-
-/** Blocklist */
-export type BlocklistConnection = {
- edges?: Maybe<Array<BlocklistEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Blocklist */
-export type BlocklistCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** WorkspaceMember id foreign key */
- workspaceMemberId: Scalars['UUID'];
-};
-
-/** Blocklist */
-export type BlocklistEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Blocklist>;
-};
-
-/** Blocklist */
-export type BlocklistFilterInput = {
- and?: InputMaybe<Array<InputMaybe<BlocklistFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Handle */
- handle?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<BlocklistFilterInput>;
- or?: InputMaybe<Array<InputMaybe<BlocklistFilterInput>>>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** WorkspaceMember id foreign key */
- workspaceMemberId?: InputMaybe<IdFilter>;
-};
-
-/** Blocklist */
-export type BlocklistOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Handle */
- handle?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** WorkspaceMember id foreign key */
- workspaceMemberId?: InputMaybe<OrderByDirection>;
-};
-
-/** Blocklist */
-export type BlocklistUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** WorkspaceMember id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-export type BooleanFieldComparison = {
- is?: InputMaybe<Scalars['Boolean']>;
- isNot?: InputMaybe<Scalars['Boolean']>;
-};
-
-export type BooleanFilter = {
- eq?: InputMaybe<Scalars['Boolean']>;
- is?: InputMaybe<FilterIs>;
-};
-
-/** Calendar Channels */
-export type CalendarChannel = {
- /** Calendar Channel Event Associations */
- calendarChannelEventAssociations?: Maybe<CalendarChannelEventAssociationConnection>;
- /** Connected Account */
- connectedAccount?: Maybe<ConnectedAccount>;
- /** Connected Account id foreign key */
- connectedAccountId?: Maybe<Scalars['UUID']>;
- /** Automatically create records for people you participated with in an event. */
- contactAutoCreationPolicy?: Maybe<CalendarChannelContactAutoCreationPolicyEnum>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Handle */
- handle?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: Maybe<Scalars['Boolean']>;
- /** Is Sync Enabled */
- isSyncEnabled?: Maybe<Scalars['Boolean']>;
- /** Sync Cursor. Used for syncing events from the calendar provider */
- syncCursor?: Maybe<Scalars['String']>;
- /** Sync stage */
- syncStage?: Maybe<CalendarChannelSyncStageEnum>;
- /** Sync stage started at */
- syncStageStartedAt?: Maybe<Scalars['DateTime']>;
- /** Sync status */
- syncStatus?: Maybe<CalendarChannelSyncStatusEnum>;
- /** Throttle Failure Count */
- throttleFailureCount?: Maybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Visibility */
- visibility?: Maybe<CalendarChannelVisibilityEnum>;
-};
-
-
-/** Calendar Channels */
-export type CalendarChannelCalendarChannelEventAssociationsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarChannelEventAssociationFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarChannelEventAssociationOrderByInput>>>;
-};
-
-/** Calendar Channels */
-export type CalendarChannelConnection = {
- edges?: Maybe<Array<CalendarChannelEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Automatically create records for people you participated with in an event. */
-export enum CalendarChannelContactAutoCreationPolicyEnum {
- /** As Organizer */
- AsOrganizer = 'AS_ORGANIZER',
- /** As Participant */
- AsParticipant = 'AS_PARTICIPANT',
- /** As Participant and Organizer */
- AsParticipantAndOrganizer = 'AS_PARTICIPANT_AND_ORGANIZER',
- /** None */
- None = 'NONE'
-}
-
-export type CalendarChannelContactAutoCreationPolicyEnumFilter = {
- eq?: InputMaybe<CalendarChannelContactAutoCreationPolicyEnum>;
- in?: InputMaybe<Array<InputMaybe<CalendarChannelContactAutoCreationPolicyEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<CalendarChannelContactAutoCreationPolicyEnum>;
-};
-
-/** Calendar Channels */
-export type CalendarChannelCreateInput = {
- /** Connected Account id foreign key */
- connectedAccountId: Scalars['UUID'];
- /** Automatically create records for people you participated with in an event. */
- contactAutoCreationPolicy?: InputMaybe<CalendarChannelContactAutoCreationPolicyEnum>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: InputMaybe<Scalars['Boolean']>;
- /** Is Sync Enabled */
- isSyncEnabled?: InputMaybe<Scalars['Boolean']>;
- /** Sync Cursor. Used for syncing events from the calendar provider */
- syncCursor?: InputMaybe<Scalars['String']>;
- /** Sync stage */
- syncStage?: InputMaybe<CalendarChannelSyncStageEnum>;
- /** Sync stage started at */
- syncStageStartedAt?: InputMaybe<Scalars['DateTime']>;
- /** Sync status */
- syncStatus?: InputMaybe<CalendarChannelSyncStatusEnum>;
- /** Throttle Failure Count */
- throttleFailureCount?: InputMaybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Visibility */
- visibility?: InputMaybe<CalendarChannelVisibilityEnum>;
-};
-
-/** Calendar Channels */
-export type CalendarChannelEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<CalendarChannel>;
-};
-
-/** Calendar Channel Event Associations */
-export type CalendarChannelEventAssociation = {
- /** Channel ID */
- calendarChannel?: Maybe<CalendarChannel>;
- /** Channel ID id foreign key */
- calendarChannelId?: Maybe<Scalars['UUID']>;
- /** Event ID */
- calendarEvent?: Maybe<CalendarEvent>;
- /** Event ID id foreign key */
- calendarEventId?: Maybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Event external ID */
- eventExternalId?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-/** Calendar Channel Event Associations */
-export type CalendarChannelEventAssociationConnection = {
- edges?: Maybe<Array<CalendarChannelEventAssociationEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Calendar Channel Event Associations */
-export type CalendarChannelEventAssociationCreateInput = {
- /** Channel ID id foreign key */
- calendarChannelId: Scalars['UUID'];
- /** Event ID id foreign key */
- calendarEventId: Scalars['UUID'];
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Event external ID */
- eventExternalId?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** Calendar Channel Event Associations */
-export type CalendarChannelEventAssociationEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<CalendarChannelEventAssociation>;
-};
-
-/** Calendar Channel Event Associations */
-export type CalendarChannelEventAssociationFilterInput = {
- and?: InputMaybe<Array<InputMaybe<CalendarChannelEventAssociationFilterInput>>>;
- /** Channel ID id foreign key */
- calendarChannelId?: InputMaybe<IdFilter>;
- /** Event ID id foreign key */
- calendarEventId?: InputMaybe<IdFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Event external ID */
- eventExternalId?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<CalendarChannelEventAssociationFilterInput>;
- or?: InputMaybe<Array<InputMaybe<CalendarChannelEventAssociationFilterInput>>>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** Calendar Channel Event Associations */
-export type CalendarChannelEventAssociationOrderByInput = {
- /** Channel ID id foreign key */
- calendarChannelId?: InputMaybe<OrderByDirection>;
- /** Event ID id foreign key */
- calendarEventId?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Event external ID */
- eventExternalId?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** Calendar Channel Event Associations */
-export type CalendarChannelEventAssociationUpdateInput = {
- /** Channel ID id foreign key */
- calendarChannelId?: InputMaybe<Scalars['UUID']>;
- /** Event ID id foreign key */
- calendarEventId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Event external ID */
- eventExternalId?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** Calendar Channels */
-export type CalendarChannelFilterInput = {
- and?: InputMaybe<Array<InputMaybe<CalendarChannelFilterInput>>>;
- /** Connected Account id foreign key */
- connectedAccountId?: InputMaybe<IdFilter>;
- /** Automatically create records for people you participated with in an event. */
- contactAutoCreationPolicy?: InputMaybe<CalendarChannelContactAutoCreationPolicyEnumFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Handle */
- handle?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: InputMaybe<BooleanFilter>;
- /** Is Sync Enabled */
- isSyncEnabled?: InputMaybe<BooleanFilter>;
- not?: InputMaybe<CalendarChannelFilterInput>;
- or?: InputMaybe<Array<InputMaybe<CalendarChannelFilterInput>>>;
- /** Sync Cursor. Used for syncing events from the calendar provider */
- syncCursor?: InputMaybe<StringFilter>;
- /** Sync stage */
- syncStage?: InputMaybe<CalendarChannelSyncStageEnumFilter>;
- /** Sync stage started at */
- syncStageStartedAt?: InputMaybe<DateFilter>;
- /** Sync status */
- syncStatus?: InputMaybe<CalendarChannelSyncStatusEnumFilter>;
- /** Throttle Failure Count */
- throttleFailureCount?: InputMaybe<FloatFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Visibility */
- visibility?: InputMaybe<CalendarChannelVisibilityEnumFilter>;
-};
-
-/** Calendar Channels */
-export type CalendarChannelOrderByInput = {
- /** Connected Account id foreign key */
- connectedAccountId?: InputMaybe<OrderByDirection>;
- /** Automatically create records for people you participated with in an event. */
- contactAutoCreationPolicy?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Handle */
- handle?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: InputMaybe<OrderByDirection>;
- /** Is Sync Enabled */
- isSyncEnabled?: InputMaybe<OrderByDirection>;
- /** Sync Cursor. Used for syncing events from the calendar provider */
- syncCursor?: InputMaybe<OrderByDirection>;
- /** Sync stage */
- syncStage?: InputMaybe<OrderByDirection>;
- /** Sync stage started at */
- syncStageStartedAt?: InputMaybe<OrderByDirection>;
- /** Sync status */
- syncStatus?: InputMaybe<OrderByDirection>;
- /** Throttle Failure Count */
- throttleFailureCount?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Visibility */
- visibility?: InputMaybe<OrderByDirection>;
-};
-
-/** Sync stage */
-export enum CalendarChannelSyncStageEnum {
- /** Calendar events import ongoing */
- CalendarEventsImportOngoing = 'CALENDAR_EVENTS_IMPORT_ONGOING',
- /** Calendar events import pending */
- CalendarEventsImportPending = 'CALENDAR_EVENTS_IMPORT_PENDING',
- /** Calendar event list fetch ongoing */
- CalendarEventListFetchOngoing = 'CALENDAR_EVENT_LIST_FETCH_ONGOING',
- /** Failed */
- Failed = 'FAILED',
- /** Full calendar event list fetch pending */
- FullCalendarEventListFetchPending = 'FULL_CALENDAR_EVENT_LIST_FETCH_PENDING',
- /** Partial calendar event list fetch pending */
- PartialCalendarEventListFetchPending = 'PARTIAL_CALENDAR_EVENT_LIST_FETCH_PENDING'
-}
-
-export type CalendarChannelSyncStageEnumFilter = {
- eq?: InputMaybe<CalendarChannelSyncStageEnum>;
- in?: InputMaybe<Array<InputMaybe<CalendarChannelSyncStageEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<CalendarChannelSyncStageEnum>;
-};
-
-/** Sync status */
-export enum CalendarChannelSyncStatusEnum {
- /** Active */
- Active = 'ACTIVE',
- /** Failed Insufficient Permissions */
- FailedInsufficientPermissions = 'FAILED_INSUFFICIENT_PERMISSIONS',
- /** Failed Unknown */
- FailedUnknown = 'FAILED_UNKNOWN',
- /** Not Synced */
- NotSynced = 'NOT_SYNCED',
- /** Ongoing */
- Ongoing = 'ONGOING'
-}
-
-export type CalendarChannelSyncStatusEnumFilter = {
- eq?: InputMaybe<CalendarChannelSyncStatusEnum>;
- in?: InputMaybe<Array<InputMaybe<CalendarChannelSyncStatusEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<CalendarChannelSyncStatusEnum>;
-};
-
-/** Calendar Channels */
-export type CalendarChannelUpdateInput = {
- /** Connected Account id foreign key */
- connectedAccountId?: InputMaybe<Scalars['UUID']>;
- /** Automatically create records for people you participated with in an event. */
- contactAutoCreationPolicy?: InputMaybe<CalendarChannelContactAutoCreationPolicyEnum>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: InputMaybe<Scalars['Boolean']>;
- /** Is Sync Enabled */
- isSyncEnabled?: InputMaybe<Scalars['Boolean']>;
- /** Sync Cursor. Used for syncing events from the calendar provider */
- syncCursor?: InputMaybe<Scalars['String']>;
- /** Sync stage */
- syncStage?: InputMaybe<CalendarChannelSyncStageEnum>;
- /** Sync stage started at */
- syncStageStartedAt?: InputMaybe<Scalars['DateTime']>;
- /** Sync status */
- syncStatus?: InputMaybe<CalendarChannelSyncStatusEnum>;
- /** Throttle Failure Count */
- throttleFailureCount?: InputMaybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Visibility */
- visibility?: InputMaybe<CalendarChannelVisibilityEnum>;
-};
-
-/** Visibility of the calendar channel */
-export enum CalendarChannelVisibility {
- Metadata = 'METADATA',
- ShareEverything = 'SHARE_EVERYTHING'
-}
-
-/** Visibility */
-export enum CalendarChannelVisibilityEnum {
- /** Metadata */
- Metadata = 'METADATA',
- /** Share Everything */
- ShareEverything = 'SHARE_EVERYTHING'
-}
-
-export type CalendarChannelVisibilityEnumFilter = {
- eq?: InputMaybe<CalendarChannelVisibilityEnum>;
- in?: InputMaybe<Array<InputMaybe<CalendarChannelVisibilityEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<CalendarChannelVisibilityEnum>;
-};
-
-/** Calendar events */
-export type CalendarEvent = {
- /** Calendar Channel Event Associations */
- calendarChannelEventAssociations?: Maybe<CalendarChannelEventAssociationConnection>;
- /** Event Participants */
- calendarEventParticipants?: Maybe<CalendarEventParticipantConnection>;
- /** Meet Link */
- conferenceLink?: Maybe<Link>;
- /** Conference Solution */
- conferenceSolution?: Maybe<Scalars['String']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Description */
- description?: Maybe<Scalars['String']>;
- /** End Date */
- endsAt?: Maybe<Scalars['DateTime']>;
- /** Creation DateTime */
- externalCreatedAt?: Maybe<Scalars['DateTime']>;
- /** Update DateTime */
- externalUpdatedAt?: Maybe<Scalars['DateTime']>;
- /** iCal UID */
- iCalUID?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Is canceled */
- isCanceled?: Maybe<Scalars['Boolean']>;
- /** Is Full Day */
- isFullDay?: Maybe<Scalars['Boolean']>;
- /** Location */
- location?: Maybe<Scalars['String']>;
- /** Recurring Event ID */
- recurringEventExternalId?: Maybe<Scalars['String']>;
- /** Start Date */
- startsAt?: Maybe<Scalars['DateTime']>;
- /** Title */
- title?: Maybe<Scalars['String']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-
-/** Calendar events */
-export type CalendarEventCalendarChannelEventAssociationsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarChannelEventAssociationFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarChannelEventAssociationOrderByInput>>>;
-};
-
-
-/** Calendar events */
-export type CalendarEventCalendarEventParticipantsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarEventParticipantFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarEventParticipantOrderByInput>>>;
-};
-
-/** Calendar events */
-export type CalendarEventConnection = {
- edges?: Maybe<Array<CalendarEventEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Calendar events */
-export type CalendarEventCreateInput = {
- /** Meet Link */
- conferenceLink?: InputMaybe<LinkCreateInput>;
- /** Conference Solution */
- conferenceSolution?: InputMaybe<Scalars['String']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Description */
- description?: InputMaybe<Scalars['String']>;
- /** End Date */
- endsAt?: InputMaybe<Scalars['DateTime']>;
- /** Creation DateTime */
- externalCreatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Update DateTime */
- externalUpdatedAt?: InputMaybe<Scalars['DateTime']>;
- /** iCal UID */
- iCalUID?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Is canceled */
- isCanceled: Scalars['Boolean'];
- /** Is Full Day */
- isFullDay: Scalars['Boolean'];
- /** Location */
- location?: InputMaybe<Scalars['String']>;
- /** Recurring Event ID */
- recurringEventExternalId?: InputMaybe<Scalars['String']>;
- /** Start Date */
- startsAt?: InputMaybe<Scalars['DateTime']>;
- /** Title */
- title?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** Calendar events */
-export type CalendarEventEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<CalendarEvent>;
-};
-
-/** Calendar events */
-export type CalendarEventFilterInput = {
- and?: InputMaybe<Array<InputMaybe<CalendarEventFilterInput>>>;
- /** Meet Link */
- conferenceLink?: InputMaybe<LinkFilterInput>;
- /** Conference Solution */
- conferenceSolution?: InputMaybe<StringFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Description */
- description?: InputMaybe<StringFilter>;
- /** End Date */
- endsAt?: InputMaybe<DateFilter>;
- /** Creation DateTime */
- externalCreatedAt?: InputMaybe<DateFilter>;
- /** Update DateTime */
- externalUpdatedAt?: InputMaybe<DateFilter>;
- /** iCal UID */
- iCalUID?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Is canceled */
- isCanceled?: InputMaybe<BooleanFilter>;
- /** Is Full Day */
- isFullDay?: InputMaybe<BooleanFilter>;
- /** Location */
- location?: InputMaybe<StringFilter>;
- not?: InputMaybe<CalendarEventFilterInput>;
- or?: InputMaybe<Array<InputMaybe<CalendarEventFilterInput>>>;
- /** Recurring Event ID */
- recurringEventExternalId?: InputMaybe<StringFilter>;
- /** Start Date */
- startsAt?: InputMaybe<DateFilter>;
- /** Title */
- title?: InputMaybe<StringFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** Calendar events */
-export type CalendarEventOrderByInput = {
- /** Meet Link */
- conferenceLink?: InputMaybe<LinkOrderByInput>;
- /** Conference Solution */
- conferenceSolution?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Description */
- description?: InputMaybe<OrderByDirection>;
- /** End Date */
- endsAt?: InputMaybe<OrderByDirection>;
- /** Creation DateTime */
- externalCreatedAt?: InputMaybe<OrderByDirection>;
- /** Update DateTime */
- externalUpdatedAt?: InputMaybe<OrderByDirection>;
- /** iCal UID */
- iCalUID?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Is canceled */
- isCanceled?: InputMaybe<OrderByDirection>;
- /** Is Full Day */
- isFullDay?: InputMaybe<OrderByDirection>;
- /** Location */
- location?: InputMaybe<OrderByDirection>;
- /** Recurring Event ID */
- recurringEventExternalId?: InputMaybe<OrderByDirection>;
- /** Start Date */
- startsAt?: InputMaybe<OrderByDirection>;
- /** Title */
- title?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** Calendar event participants */
-export type CalendarEventParticipant = {
- /** Event ID */
- calendarEvent?: Maybe<CalendarEvent>;
- /** Event ID id foreign key */
- calendarEventId?: Maybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Display Name */
- displayName?: Maybe<Scalars['String']>;
- /** Handle */
- handle?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Is Organizer */
- isOrganizer?: Maybe<Scalars['Boolean']>;
- /** Person */
- person?: Maybe<Person>;
- /** Person id foreign key */
- personId?: Maybe<Scalars['UUID']>;
- /** Response Status */
- responseStatus?: Maybe<CalendarEventParticipantResponseStatusEnum>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Workspace Member */
- workspaceMember?: Maybe<WorkspaceMember>;
- /** Workspace Member id foreign key */
- workspaceMemberId?: Maybe<Scalars['UUID']>;
-};
-
-/** Calendar event participants */
-export type CalendarEventParticipantConnection = {
- edges?: Maybe<Array<CalendarEventParticipantEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Calendar event participants */
-export type CalendarEventParticipantCreateInput = {
- /** Event ID id foreign key */
- calendarEventId: Scalars['UUID'];
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Display Name */
- displayName?: InputMaybe<Scalars['String']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Is Organizer */
- isOrganizer?: InputMaybe<Scalars['Boolean']>;
- /** Person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Response Status */
- responseStatus?: InputMaybe<CalendarEventParticipantResponseStatusEnum>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Workspace Member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** Calendar event participants */
-export type CalendarEventParticipantEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<CalendarEventParticipant>;
-};
-
-/** Calendar event participants */
-export type CalendarEventParticipantFilterInput = {
- and?: InputMaybe<Array<InputMaybe<CalendarEventParticipantFilterInput>>>;
- /** Event ID id foreign key */
- calendarEventId?: InputMaybe<IdFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Display Name */
- displayName?: InputMaybe<StringFilter>;
- /** Handle */
- handle?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Is Organizer */
- isOrganizer?: InputMaybe<BooleanFilter>;
- not?: InputMaybe<CalendarEventParticipantFilterInput>;
- or?: InputMaybe<Array<InputMaybe<CalendarEventParticipantFilterInput>>>;
- /** Person id foreign key */
- personId?: InputMaybe<IdFilter>;
- /** Response Status */
- responseStatus?: InputMaybe<CalendarEventParticipantResponseStatusEnumFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Workspace Member id foreign key */
- workspaceMemberId?: InputMaybe<IdFilter>;
-};
-
-/** Calendar event participants */
-export type CalendarEventParticipantOrderByInput = {
- /** Event ID id foreign key */
- calendarEventId?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Display Name */
- displayName?: InputMaybe<OrderByDirection>;
- /** Handle */
- handle?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Is Organizer */
- isOrganizer?: InputMaybe<OrderByDirection>;
- /** Person id foreign key */
- personId?: InputMaybe<OrderByDirection>;
- /** Response Status */
- responseStatus?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Workspace Member id foreign key */
- workspaceMemberId?: InputMaybe<OrderByDirection>;
-};
-
-/** Response Status */
-export enum CalendarEventParticipantResponseStatusEnum {
- /** Accepted */
- Accepted = 'ACCEPTED',
- /** Declined */
- Declined = 'DECLINED',
- /** Needs Action */
- NeedsAction = 'NEEDS_ACTION',
- /** Tentative */
- Tentative = 'TENTATIVE'
-}
-
-export type CalendarEventParticipantResponseStatusEnumFilter = {
- eq?: InputMaybe<CalendarEventParticipantResponseStatusEnum>;
- in?: InputMaybe<Array<InputMaybe<CalendarEventParticipantResponseStatusEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<CalendarEventParticipantResponseStatusEnum>;
-};
-
-/** Calendar event participants */
-export type CalendarEventParticipantUpdateInput = {
- /** Event ID id foreign key */
- calendarEventId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Display Name */
- displayName?: InputMaybe<Scalars['String']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Is Organizer */
- isOrganizer?: InputMaybe<Scalars['Boolean']>;
- /** Person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Response Status */
- responseStatus?: InputMaybe<CalendarEventParticipantResponseStatusEnum>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Workspace Member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** Calendar events */
-export type CalendarEventUpdateInput = {
- /** Meet Link */
- conferenceLink?: InputMaybe<LinkUpdateInput>;
- /** Conference Solution */
- conferenceSolution?: InputMaybe<Scalars['String']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Description */
- description?: InputMaybe<Scalars['String']>;
- /** End Date */
- endsAt?: InputMaybe<Scalars['DateTime']>;
- /** Creation DateTime */
- externalCreatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Update DateTime */
- externalUpdatedAt?: InputMaybe<Scalars['DateTime']>;
- /** iCal UID */
- iCalUID?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Is canceled */
- isCanceled?: InputMaybe<Scalars['Boolean']>;
- /** Is Full Day */
- isFullDay?: InputMaybe<Scalars['Boolean']>;
- /** Location */
- location?: InputMaybe<Scalars['String']>;
- /** Recurring Event ID */
- recurringEventExternalId?: InputMaybe<Scalars['String']>;
- /** Start Date */
- startsAt?: InputMaybe<Scalars['DateTime']>;
- /** Title */
- title?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-export type Captcha = {
- provider?: Maybe<CaptchaDriverType>;
- siteKey?: Maybe<Scalars['String']>;
-};
-
-export enum CaptchaDriverType {
- GoogleRecaptcha = 'GoogleRecaptcha',
- Turnstile = 'Turnstile'
-}
-
-export type ClientConfig = {
- api: ApiConfig;
- authProviders: AuthProviders;
- billing: Billing;
- captcha: Captcha;
- chromeExtensionId?: Maybe<Scalars['String']>;
- debugMode: Scalars['Boolean'];
- sentry: Sentry;
- signInPrefilled: Scalars['Boolean'];
- signUpDisabled: Scalars['Boolean'];
- support: Support;
- telemetry: Telemetry;
-};
-
-/** A comment */
-export type Comment = {
- /** Comment activity */
- activity?: Maybe<Activity>;
- /** Comment activity id foreign key */
- activityId?: Maybe<Scalars['UUID']>;
- /** Comment author */
- author?: Maybe<WorkspaceMember>;
- /** Comment author id foreign key */
- authorId?: Maybe<Scalars['UUID']>;
- /** Comment body */
- body?: Maybe<Scalars['String']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-/** A comment */
-export type CommentConnection = {
- edges?: Maybe<Array<CommentEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** A comment */
-export type CommentCreateInput = {
- /** Comment activity id foreign key */
- activityId: Scalars['UUID'];
- /** Comment author id foreign key */
- authorId: Scalars['UUID'];
- /** Comment body */
- body?: InputMaybe<Scalars['String']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** A comment */
-export type CommentEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Comment>;
-};
-
-/** A comment */
-export type CommentFilterInput = {
- /** Comment activity id foreign key */
- activityId?: InputMaybe<IdFilter>;
- and?: InputMaybe<Array<InputMaybe<CommentFilterInput>>>;
- /** Comment author id foreign key */
- authorId?: InputMaybe<IdFilter>;
- /** Comment body */
- body?: InputMaybe<StringFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<CommentFilterInput>;
- or?: InputMaybe<Array<InputMaybe<CommentFilterInput>>>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** A comment */
-export type CommentOrderByInput = {
- /** Comment activity id foreign key */
- activityId?: InputMaybe<OrderByDirection>;
- /** Comment author id foreign key */
- authorId?: InputMaybe<OrderByDirection>;
- /** Comment body */
- body?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** A comment */
-export type CommentUpdateInput = {
- /** Comment activity id foreign key */
- activityId?: InputMaybe<Scalars['UUID']>;
- /** Comment author id foreign key */
- authorId?: InputMaybe<Scalars['UUID']>;
- /** Comment body */
- body?: InputMaybe<Scalars['String']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** A company */
-export type Company = {
- /** Your team member responsible for managing the company account */
- accountOwner?: Maybe<WorkspaceMember>;
- /** Your team member responsible for managing the company account id foreign key */
- accountOwnerId?: Maybe<Scalars['UUID']>;
- /** Activities tied to the company */
- activityTargets?: Maybe<ActivityTargetConnection>;
- /** The company address */
- address?: Maybe<Scalars['String']>;
- /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */
- annualRecurringRevenue?: Maybe<Currency>;
- /** Attachments linked to the company */
- attachments?: Maybe<AttachmentConnection>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** The company website URL. We use this url to fetch the company icon */
- domainName?: Maybe<Scalars['String']>;
- /** Number of employees in the company */
- employees?: Maybe<Scalars['Float']>;
- /** Favorites linked to the company */
- favorites?: Maybe<FavoriteConnection>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */
- idealCustomerProfile?: Maybe<Scalars['Boolean']>;
- /** The company Linkedin account */
- linkedinLink?: Maybe<Link>;
- /** The company name */
- name?: Maybe<Scalars['String']>;
- /** Opportunities linked to the company. */
- opportunities?: Maybe<OpportunityConnection>;
- /** People linked to the company. */
- people?: Maybe<PersonConnection>;
- /** Company record position */
- position?: Maybe<Scalars['Position']>;
- /** Timeline Activities linked to the company */
- timelineActivities?: Maybe<TimelineActivityConnection>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** The company Twitter/X account */
- xLink?: Maybe<Link>;
-};
-
-
-/** A company */
-export type CompanyActivityTargetsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ActivityTargetFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ActivityTargetOrderByInput>>>;
-};
-
-
-/** A company */
-export type CompanyAttachmentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<AttachmentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<AttachmentOrderByInput>>>;
-};
-
-
-/** A company */
-export type CompanyFavoritesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<FavoriteFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<FavoriteOrderByInput>>>;
-};
-
-
-/** A company */
-export type CompanyOpportunitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<OpportunityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<OpportunityOrderByInput>>>;
-};
-
-
-/** A company */
-export type CompanyPeopleArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<PersonFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<PersonOrderByInput>>>;
-};
-
-
-/** A company */
-export type CompanyTimelineActivitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<TimelineActivityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<TimelineActivityOrderByInput>>>;
-};
-
-/** A company */
-export type CompanyConnection = {
- edges?: Maybe<Array<CompanyEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** A company */
-export type CompanyCreateInput = {
- /** Your team member responsible for managing the company account id foreign key */
- accountOwnerId?: InputMaybe<Scalars['UUID']>;
- /** The company address */
- address?: InputMaybe<Scalars['String']>;
- /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */
- annualRecurringRevenue?: InputMaybe<CurrencyCreateInput>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** The company website URL. We use this url to fetch the company icon */
- domainName?: InputMaybe<Scalars['String']>;
- /** Number of employees in the company */
- employees?: InputMaybe<Scalars['Float']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */
- idealCustomerProfile?: InputMaybe<Scalars['Boolean']>;
- /** The company Linkedin account */
- linkedinLink?: InputMaybe<LinkCreateInput>;
- /** The company name */
- name?: InputMaybe<Scalars['String']>;
- /** Company record position */
- position?: InputMaybe<Scalars['Position']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** The company Twitter/X account */
- xLink?: InputMaybe<LinkCreateInput>;
-};
-
-/** A company */
-export type CompanyEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Company>;
-};
-
-/** A company */
-export type CompanyFilterInput = {
- /** Your team member responsible for managing the company account id foreign key */
- accountOwnerId?: InputMaybe<IdFilter>;
- /** The company address */
- address?: InputMaybe<StringFilter>;
- and?: InputMaybe<Array<InputMaybe<CompanyFilterInput>>>;
- /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */
- annualRecurringRevenue?: InputMaybe<CurrencyFilterInput>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** The company website URL. We use this url to fetch the company icon */
- domainName?: InputMaybe<StringFilter>;
- /** Number of employees in the company */
- employees?: InputMaybe<FloatFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */
- idealCustomerProfile?: InputMaybe<BooleanFilter>;
- /** The company Linkedin account */
- linkedinLink?: InputMaybe<LinkFilterInput>;
- /** The company name */
- name?: InputMaybe<StringFilter>;
- not?: InputMaybe<CompanyFilterInput>;
- or?: InputMaybe<Array<InputMaybe<CompanyFilterInput>>>;
- /** Company record position */
- position?: InputMaybe<FloatFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** The company Twitter/X account */
- xLink?: InputMaybe<LinkFilterInput>;
-};
-
-/** A company */
-export type CompanyOrderByInput = {
- /** Your team member responsible for managing the company account id foreign key */
- accountOwnerId?: InputMaybe<OrderByDirection>;
- /** The company address */
- address?: InputMaybe<OrderByDirection>;
- /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */
- annualRecurringRevenue?: InputMaybe<CurrencyOrderByInput>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** The company website URL. We use this url to fetch the company icon */
- domainName?: InputMaybe<OrderByDirection>;
- /** Number of employees in the company */
- employees?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */
- idealCustomerProfile?: InputMaybe<OrderByDirection>;
- /** The company Linkedin account */
- linkedinLink?: InputMaybe<LinkOrderByInput>;
- /** The company name */
- name?: InputMaybe<OrderByDirection>;
- /** Company record position */
- position?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** The company Twitter/X account */
- xLink?: InputMaybe<LinkOrderByInput>;
-};
-
-/** A company */
-export type CompanyUpdateInput = {
- /** Your team member responsible for managing the company account id foreign key */
- accountOwnerId?: InputMaybe<Scalars['UUID']>;
- /** The company address */
- address?: InputMaybe<Scalars['String']>;
- /** Annual Recurring Revenue: The actual or estimated annual revenue of the company */
- annualRecurringRevenue?: InputMaybe<CurrencyUpdateInput>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** The company website URL. We use this url to fetch the company icon */
- domainName?: InputMaybe<Scalars['String']>;
- /** Number of employees in the company */
- employees?: InputMaybe<Scalars['Float']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you */
- idealCustomerProfile?: InputMaybe<Scalars['Boolean']>;
- /** The company Linkedin account */
- linkedinLink?: InputMaybe<LinkUpdateInput>;
- /** The company name */
- name?: InputMaybe<Scalars['String']>;
- /** Company record position */
- position?: InputMaybe<Scalars['Position']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** The company Twitter/X account */
- xLink?: InputMaybe<LinkUpdateInput>;
-};
-
-/** A connected account */
-export type ConnectedAccount = {
- /** Messaging provider access token */
- accessToken?: Maybe<Scalars['String']>;
- /** Account Owner */
- accountOwner?: Maybe<WorkspaceMember>;
- /** Account Owner id foreign key */
- accountOwnerId?: Maybe<Scalars['UUID']>;
- /** Auth failed at */
- authFailedAt?: Maybe<Scalars['DateTime']>;
- /** Calendar Channels */
- calendarChannels?: Maybe<CalendarChannelConnection>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** The account handle (email, username, phone number, etc.) */
- handle?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Last sync history ID */
- lastSyncHistoryId?: Maybe<Scalars['String']>;
- /** Message Channels */
- messageChannels?: Maybe<MessageChannelConnection>;
- /** The account provider */
- provider?: Maybe<Scalars['String']>;
- /** Messaging provider refresh token */
- refreshToken?: Maybe<Scalars['String']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-
-/** A connected account */
-export type ConnectedAccountCalendarChannelsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarChannelFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarChannelOrderByInput>>>;
-};
-
-
-/** A connected account */
-export type ConnectedAccountMessageChannelsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageChannelFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageChannelOrderByInput>>>;
-};
-
-/** A connected account */
-export type ConnectedAccountConnection = {
- edges?: Maybe<Array<ConnectedAccountEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** A connected account */
-export type ConnectedAccountCreateInput = {
- /** Messaging provider access token */
- accessToken?: InputMaybe<Scalars['String']>;
- /** Account Owner id foreign key */
- accountOwnerId: Scalars['UUID'];
- /** Auth failed at */
- authFailedAt?: InputMaybe<Scalars['DateTime']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** The account handle (email, username, phone number, etc.) */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Last sync history ID */
- lastSyncHistoryId?: InputMaybe<Scalars['String']>;
- /** The account provider */
- provider?: InputMaybe<Scalars['String']>;
- /** Messaging provider refresh token */
- refreshToken?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** A connected account */
-export type ConnectedAccountEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<ConnectedAccount>;
-};
-
-/** A connected account */
-export type ConnectedAccountFilterInput = {
- /** Messaging provider access token */
- accessToken?: InputMaybe<StringFilter>;
- /** Account Owner id foreign key */
- accountOwnerId?: InputMaybe<IdFilter>;
- and?: InputMaybe<Array<InputMaybe<ConnectedAccountFilterInput>>>;
- /** Auth failed at */
- authFailedAt?: InputMaybe<DateFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** The account handle (email, username, phone number, etc.) */
- handle?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Last sync history ID */
- lastSyncHistoryId?: InputMaybe<StringFilter>;
- not?: InputMaybe<ConnectedAccountFilterInput>;
- or?: InputMaybe<Array<InputMaybe<ConnectedAccountFilterInput>>>;
- /** The account provider */
- provider?: InputMaybe<StringFilter>;
- /** Messaging provider refresh token */
- refreshToken?: InputMaybe<StringFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** A connected account */
-export type ConnectedAccountOrderByInput = {
- /** Messaging provider access token */
- accessToken?: InputMaybe<OrderByDirection>;
- /** Account Owner id foreign key */
- accountOwnerId?: InputMaybe<OrderByDirection>;
- /** Auth failed at */
- authFailedAt?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** The account handle (email, username, phone number, etc.) */
- handle?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Last sync history ID */
- lastSyncHistoryId?: InputMaybe<OrderByDirection>;
- /** The account provider */
- provider?: InputMaybe<OrderByDirection>;
- /** Messaging provider refresh token */
- refreshToken?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** A connected account */
-export type ConnectedAccountUpdateInput = {
- /** Messaging provider access token */
- accessToken?: InputMaybe<Scalars['String']>;
- /** Account Owner id foreign key */
- accountOwnerId?: InputMaybe<Scalars['UUID']>;
- /** Auth failed at */
- authFailedAt?: InputMaybe<Scalars['DateTime']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** The account handle (email, username, phone number, etc.) */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Last sync history ID */
- lastSyncHistoryId?: InputMaybe<Scalars['String']>;
- /** The account provider */
- provider?: InputMaybe<Scalars['String']>;
- /** Messaging provider refresh token */
- refreshToken?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-export type Currency = {
- amountMicros?: Maybe<Scalars['BigFloat']>;
- currencyCode?: Maybe<Scalars['String']>;
-};
-
-export type CurrencyCreateInput = {
- amountMicros?: InputMaybe<Scalars['BigFloat']>;
- currencyCode?: InputMaybe<Scalars['String']>;
-};
-
-export type CurrencyFilterInput = {
- amountMicros?: InputMaybe<BigFloatFilter>;
- currencyCode?: InputMaybe<StringFilter>;
-};
-
-export type CurrencyOrderByInput = {
- amountMicros?: InputMaybe<OrderByDirection>;
- currencyCode?: InputMaybe<OrderByDirection>;
-};
-
-export type CurrencyUpdateInput = {
- amountMicros?: InputMaybe<Scalars['BigFloat']>;
- currencyCode?: InputMaybe<Scalars['String']>;
-};
-
-export type CursorPaging = {
- /** Paginate after opaque cursor */
- after?: InputMaybe<Scalars['ConnectionCursor']>;
- /** Paginate before opaque cursor */
- before?: InputMaybe<Scalars['ConnectionCursor']>;
- /** Paginate first */
- first?: InputMaybe<Scalars['Int']>;
- /** Paginate last */
- last?: InputMaybe<Scalars['Int']>;
-};
-
-export type DateFilter = {
- eq?: InputMaybe<Scalars['Date']>;
- gt?: InputMaybe<Scalars['Date']>;
- gte?: InputMaybe<Scalars['Date']>;
- in?: InputMaybe<Array<Scalars['Date']>>;
- is?: InputMaybe<FilterIs>;
- lt?: InputMaybe<Scalars['Date']>;
- lte?: InputMaybe<Scalars['Date']>;
- neq?: InputMaybe<Scalars['Date']>;
-};
-
-export type DeleteOneObjectInput = {
- /** The id of the record to delete. */
- id: Scalars['UUID'];
-};
-
-/** Schema update on a table */
-export enum DistantTableUpdate {
- ColumnsAdded = 'COLUMNS_ADDED',
- ColumnsDeleted = 'COLUMNS_DELETED',
- ColumnsTypeChanged = 'COLUMNS_TYPE_CHANGED',
- TableDeleted = 'TABLE_DELETED'
-}
-
-export type EmailPasswordResetLink = {
- /** Boolean that confirms query was dispatched */
- success: Scalars['Boolean'];
-};
-
-export type ExchangeAuthCode = {
- accessToken: AuthToken;
- loginToken: AuthToken;
- refreshToken: AuthToken;
-};
-
-/** A favorite */
-export type Favorite = {
- /** Favorite company */
- company?: Maybe<Company>;
- /** Favorite company id foreign key */
- companyId?: Maybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Favorite opportunity */
- opportunity?: Maybe<Opportunity>;
- /** Favorite opportunity id foreign key */
- opportunityId?: Maybe<Scalars['UUID']>;
- /** Favorite person */
- person?: Maybe<Person>;
- /** Favorite person id foreign key */
- personId?: Maybe<Scalars['UUID']>;
- /** Favorite position */
- position?: Maybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Favorite workspace member */
- workspaceMember?: Maybe<WorkspaceMember>;
- /** Favorite workspace member id foreign key */
- workspaceMemberId?: Maybe<Scalars['UUID']>;
-};
-
-/** A favorite */
-export type FavoriteConnection = {
- edges?: Maybe<Array<FavoriteEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** A favorite */
-export type FavoriteCreateInput = {
- /** Favorite company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Favorite opportunity id foreign key */
- opportunityId?: InputMaybe<Scalars['UUID']>;
- /** Favorite person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Favorite position */
- position?: InputMaybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Favorite workspace member id foreign key */
- workspaceMemberId: Scalars['UUID'];
-};
-
-/** A favorite */
-export type FavoriteEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Favorite>;
-};
-
-/** A favorite */
-export type FavoriteFilterInput = {
- and?: InputMaybe<Array<InputMaybe<FavoriteFilterInput>>>;
- /** Favorite company id foreign key */
- companyId?: InputMaybe<IdFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<FavoriteFilterInput>;
- /** Favorite opportunity id foreign key */
- opportunityId?: InputMaybe<IdFilter>;
- or?: InputMaybe<Array<InputMaybe<FavoriteFilterInput>>>;
- /** Favorite person id foreign key */
- personId?: InputMaybe<IdFilter>;
- /** Favorite position */
- position?: InputMaybe<FloatFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Favorite workspace member id foreign key */
- workspaceMemberId?: InputMaybe<IdFilter>;
-};
-
-/** A favorite */
-export type FavoriteOrderByInput = {
- /** Favorite company id foreign key */
- companyId?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Favorite opportunity id foreign key */
- opportunityId?: InputMaybe<OrderByDirection>;
- /** Favorite person id foreign key */
- personId?: InputMaybe<OrderByDirection>;
- /** Favorite position */
- position?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Favorite workspace member id foreign key */
- workspaceMemberId?: InputMaybe<OrderByDirection>;
-};
-
-/** A favorite */
-export type FavoriteUpdateInput = {
- /** Favorite company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Favorite opportunity id foreign key */
- opportunityId?: InputMaybe<Scalars['UUID']>;
- /** Favorite person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Favorite position */
- position?: InputMaybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Favorite workspace member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-export type FeatureFlag = {
- id: Scalars['UUID'];
- key: Scalars['String'];
- value: Scalars['Boolean'];
- workspaceId: Scalars['String'];
-};
-
-export type FeatureFlagFilter = {
- and?: InputMaybe<Array<FeatureFlagFilter>>;
- id?: InputMaybe<UuidFilterComparison>;
- or?: InputMaybe<Array<FeatureFlagFilter>>;
-};
-
-export type FeatureFlagSort = {
- direction: SortDirection;
- field: FeatureFlagSortFields;
- nulls?: InputMaybe<SortNulls>;
-};
-
-export enum FeatureFlagSortFields {
- Id = 'id'
-}
-
-export type FieldConnection = {
- /** Array of edges. */
- edges: Array<FieldEdge>;
- /** Paging information */
- pageInfo: PageInfo;
-};
-
-/** Type of the field */
-export enum FieldMetadataType {
- Address = 'ADDRESS',
- Boolean = 'BOOLEAN',
- Currency = 'CURRENCY',
- Date = 'DATE',
- DateTime = 'DATE_TIME',
- Email = 'EMAIL',
- FullName = 'FULL_NAME',
- Link = 'LINK',
- Links = 'LINKS',
- MultiSelect = 'MULTI_SELECT',
- Number = 'NUMBER',
- Numeric = 'NUMERIC',
- Phone = 'PHONE',
- Phones = 'PHONES',
- Position = 'POSITION',
- Rating = 'RATING',
- RawJson = 'RAW_JSON',
- Relation = 'RELATION',
- Select = 'SELECT',
- Text = 'TEXT',
- Uuid = 'UUID'
-}
-
-export enum FileFolder {
- Attachment = 'Attachment',
- PersonPicture = 'PersonPicture',
- ProfilePicture = 'ProfilePicture',
- WorkspaceLogo = 'WorkspaceLogo'
-}
-
-/** This enum to filter by nullability */
-export enum FilterIs {
- /** Non-nulish values */
- NotNull = 'NOT_NULL',
- /** Nulish values */
- Null = 'NULL'
-}
-
-export type FloatFilter = {
- eq?: InputMaybe<Scalars['Float']>;
- gt?: InputMaybe<Scalars['Float']>;
- gte?: InputMaybe<Scalars['Float']>;
- in?: InputMaybe<Array<Scalars['Float']>>;
- is?: InputMaybe<FilterIs>;
- lt?: InputMaybe<Scalars['Float']>;
- lte?: InputMaybe<Scalars['Float']>;
- neq?: InputMaybe<Scalars['Float']>;
-};
-
-export type FullName = {
- firstName: Scalars['String'];
- lastName: Scalars['String'];
-};
-
-export type FullNameCreateInput = {
- firstName?: InputMaybe<Scalars['String']>;
- lastName?: InputMaybe<Scalars['String']>;
-};
-
-export type FullNameFilterInput = {
- firstName?: InputMaybe<StringFilter>;
- lastName?: InputMaybe<StringFilter>;
-};
-
-export type FullNameOrderByInput = {
- firstName?: InputMaybe<OrderByDirection>;
- lastName?: InputMaybe<OrderByDirection>;
-};
-
-export type FullNameUpdateInput = {
- firstName?: InputMaybe<Scalars['String']>;
- lastName?: InputMaybe<Scalars['String']>;
-};
-
-export type IdFilter = {
- eq?: InputMaybe<Scalars['ID']>;
- gt?: InputMaybe<Scalars['ID']>;
- gte?: InputMaybe<Scalars['ID']>;
- in?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
- is?: InputMaybe<FilterIs>;
- lt?: InputMaybe<Scalars['ID']>;
- lte?: InputMaybe<Scalars['ID']>;
- neq?: InputMaybe<Scalars['ID']>;
-};
-
-export type InvalidatePassword = {
- /** Boolean that confirms query was dispatched */
- success: Scalars['Boolean'];
-};
-
-export type Link = {
- label?: Maybe<Scalars['String']>;
- url?: Maybe<Scalars['String']>;
-};
-
-export type LinkCreateInput = {
- label?: InputMaybe<Scalars['String']>;
- url?: InputMaybe<Scalars['String']>;
-};
-
-export type LinkFilterInput = {
- label?: InputMaybe<StringFilter>;
- url?: InputMaybe<StringFilter>;
-};
-
-export type LinkMetadata = {
- label: Scalars['String'];
- url: Scalars['String'];
-};
-
-export type LinkOrderByInput = {
- label?: InputMaybe<OrderByDirection>;
- url?: InputMaybe<OrderByDirection>;
-};
-
-export type LinkUpdateInput = {
- label?: InputMaybe<Scalars['String']>;
- url?: InputMaybe<Scalars['String']>;
-};
-
-export type Links = {
- primaryLinkLabel?: Maybe<Scalars['String']>;
- primaryLinkUrl?: Maybe<Scalars['String']>;
- secondaryLinks?: Maybe<Scalars['RawJSONScalar']>;
-};
-
-export type LinksCreateInput = {
- primaryLinkLabel?: InputMaybe<Scalars['String']>;
- primaryLinkUrl?: InputMaybe<Scalars['String']>;
- secondaryLinks?: InputMaybe<Scalars['RawJSONScalar']>;
-};
-
-export type LinksFilterInput = {
- primaryLinkLabel?: InputMaybe<StringFilter>;
- primaryLinkUrl?: InputMaybe<StringFilter>;
- secondaryLinks?: InputMaybe<RawJsonFilter>;
-};
-
-export type LinksOrderByInput = {
- primaryLinkLabel?: InputMaybe<OrderByDirection>;
- primaryLinkUrl?: InputMaybe<OrderByDirection>;
- secondaryLinks?: InputMaybe<OrderByDirection>;
-};
-
-export type LinksUpdateInput = {
- primaryLinkLabel?: InputMaybe<Scalars['String']>;
- primaryLinkUrl?: InputMaybe<Scalars['String']>;
- secondaryLinks?: InputMaybe<Scalars['RawJSONScalar']>;
-};
-
-export type LoginToken = {
- loginToken: AuthToken;
-};
-
-/** Message */
-export type Message = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Message Direction */
- direction?: Maybe<MessageDirectionEnum>;
- /** Message id from the message header */
- headerMessageId?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Messages from the channel. */
- messageChannelMessageAssociations?: Maybe<MessageChannelMessageAssociationConnection>;
- /** Message Participants */
- messageParticipants?: Maybe<MessageParticipantConnection>;
- /** Message Thread Id */
- messageThread?: Maybe<MessageThread>;
- /** Message Thread Id id foreign key */
- messageThreadId?: Maybe<Scalars['UUID']>;
- /** The date the message was received */
- receivedAt?: Maybe<Scalars['DateTime']>;
- /** Subject */
- subject?: Maybe<Scalars['String']>;
- /** Text */
- text?: Maybe<Scalars['String']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-
-/** Message */
-export type MessageMessageChannelMessageAssociationsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageChannelMessageAssociationFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageChannelMessageAssociationOrderByInput>>>;
-};
-
-
-/** Message */
-export type MessageMessageParticipantsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageParticipantFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageParticipantOrderByInput>>>;
-};
-
-/** Message Channels */
-export type MessageChannel = {
- /** Connected Account */
- connectedAccount?: Maybe<ConnectedAccount>;
- /** Connected Account id foreign key */
- connectedAccountId?: Maybe<Scalars['UUID']>;
- /** Automatically create People records when receiving or sending emails */
- contactAutoCreationPolicy?: Maybe<MessageChannelContactAutoCreationPolicyEnum>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Exclude group emails */
- excludeGroupEmails?: Maybe<Scalars['Boolean']>;
- /** Exclude non professional emails */
- excludeNonProfessionalEmails?: Maybe<Scalars['Boolean']>;
- /** Handle */
- handle?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: Maybe<Scalars['Boolean']>;
- /** Is Sync Enabled */
- isSyncEnabled?: Maybe<Scalars['Boolean']>;
- /** Messages from the channel. */
- messageChannelMessageAssociations?: Maybe<MessageChannelMessageAssociationConnection>;
- /** Last sync cursor */
- syncCursor?: Maybe<Scalars['String']>;
- /** Sync stage */
- syncStage?: Maybe<MessageChannelSyncStageEnum>;
- /** Sync stage started at */
- syncStageStartedAt?: Maybe<Scalars['DateTime']>;
- /** Sync status */
- syncStatus?: Maybe<MessageChannelSyncStatusEnum>;
- /** Last sync date */
- syncedAt?: Maybe<Scalars['DateTime']>;
- /** Throttle Failure Count */
- throttleFailureCount?: Maybe<Scalars['Float']>;
- /** Channel Type */
- type?: Maybe<MessageChannelTypeEnum>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Visibility */
- visibility?: Maybe<MessageChannelVisibilityEnum>;
-};
-
-
-/** Message Channels */
-export type MessageChannelMessageChannelMessageAssociationsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageChannelMessageAssociationFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageChannelMessageAssociationOrderByInput>>>;
-};
-
-/** Message Channels */
-export type MessageChannelConnection = {
- edges?: Maybe<Array<MessageChannelEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Automatically create People records when receiving or sending emails */
-export enum MessageChannelContactAutoCreationPolicyEnum {
- /** None */
- None = 'NONE',
- /** Sent */
- Sent = 'SENT',
- /** Sent and Received */
- SentAndReceived = 'SENT_AND_RECEIVED'
-}
-
-export type MessageChannelContactAutoCreationPolicyEnumFilter = {
- eq?: InputMaybe<MessageChannelContactAutoCreationPolicyEnum>;
- in?: InputMaybe<Array<InputMaybe<MessageChannelContactAutoCreationPolicyEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<MessageChannelContactAutoCreationPolicyEnum>;
-};
-
-/** Message Channels */
-export type MessageChannelCreateInput = {
- /** Connected Account id foreign key */
- connectedAccountId: Scalars['UUID'];
- /** Automatically create People records when receiving or sending emails */
- contactAutoCreationPolicy?: InputMaybe<MessageChannelContactAutoCreationPolicyEnum>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Exclude group emails */
- excludeGroupEmails?: InputMaybe<Scalars['Boolean']>;
- /** Exclude non professional emails */
- excludeNonProfessionalEmails?: InputMaybe<Scalars['Boolean']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: InputMaybe<Scalars['Boolean']>;
- /** Is Sync Enabled */
- isSyncEnabled?: InputMaybe<Scalars['Boolean']>;
- /** Last sync cursor */
- syncCursor?: InputMaybe<Scalars['String']>;
- /** Sync stage */
- syncStage?: InputMaybe<MessageChannelSyncStageEnum>;
- /** Sync stage started at */
- syncStageStartedAt?: InputMaybe<Scalars['DateTime']>;
- /** Sync status */
- syncStatus?: InputMaybe<MessageChannelSyncStatusEnum>;
- /** Last sync date */
- syncedAt?: InputMaybe<Scalars['DateTime']>;
- /** Throttle Failure Count */
- throttleFailureCount?: InputMaybe<Scalars['Float']>;
- /** Channel Type */
- type?: InputMaybe<MessageChannelTypeEnum>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Visibility */
- visibility?: InputMaybe<MessageChannelVisibilityEnum>;
-};
-
-/** Message Channels */
-export type MessageChannelEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<MessageChannel>;
-};
-
-/** Message Channels */
-export type MessageChannelFilterInput = {
- and?: InputMaybe<Array<InputMaybe<MessageChannelFilterInput>>>;
- /** Connected Account id foreign key */
- connectedAccountId?: InputMaybe<IdFilter>;
- /** Automatically create People records when receiving or sending emails */
- contactAutoCreationPolicy?: InputMaybe<MessageChannelContactAutoCreationPolicyEnumFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Exclude group emails */
- excludeGroupEmails?: InputMaybe<BooleanFilter>;
- /** Exclude non professional emails */
- excludeNonProfessionalEmails?: InputMaybe<BooleanFilter>;
- /** Handle */
- handle?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: InputMaybe<BooleanFilter>;
- /** Is Sync Enabled */
- isSyncEnabled?: InputMaybe<BooleanFilter>;
- not?: InputMaybe<MessageChannelFilterInput>;
- or?: InputMaybe<Array<InputMaybe<MessageChannelFilterInput>>>;
- /** Last sync cursor */
- syncCursor?: InputMaybe<StringFilter>;
- /** Sync stage */
- syncStage?: InputMaybe<MessageChannelSyncStageEnumFilter>;
- /** Sync stage started at */
- syncStageStartedAt?: InputMaybe<DateFilter>;
- /** Sync status */
- syncStatus?: InputMaybe<MessageChannelSyncStatusEnumFilter>;
- /** Last sync date */
- syncedAt?: InputMaybe<DateFilter>;
- /** Throttle Failure Count */
- throttleFailureCount?: InputMaybe<FloatFilter>;
- /** Channel Type */
- type?: InputMaybe<MessageChannelTypeEnumFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Visibility */
- visibility?: InputMaybe<MessageChannelVisibilityEnumFilter>;
-};
-
-/** Message Synced with a Message Channel */
-export type MessageChannelMessageAssociation = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Message Id */
- message?: Maybe<Message>;
- /** Message Channel Id */
- messageChannel?: Maybe<MessageChannel>;
- /** Message Channel Id id foreign key */
- messageChannelId?: Maybe<Scalars['UUID']>;
- /** Message id from the messaging provider */
- messageExternalId?: Maybe<Scalars['String']>;
- /** Message Id id foreign key */
- messageId?: Maybe<Scalars['UUID']>;
- /** Message Thread Id */
- messageThread?: Maybe<MessageThread>;
- /** Thread id from the messaging provider */
- messageThreadExternalId?: Maybe<Scalars['String']>;
- /** Message Thread Id id foreign key */
- messageThreadId?: Maybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-/** Message Synced with a Message Channel */
-export type MessageChannelMessageAssociationConnection = {
- edges?: Maybe<Array<MessageChannelMessageAssociationEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Message Synced with a Message Channel */
-export type MessageChannelMessageAssociationCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Message Channel Id id foreign key */
- messageChannelId?: InputMaybe<Scalars['UUID']>;
- /** Message id from the messaging provider */
- messageExternalId?: InputMaybe<Scalars['String']>;
- /** Message Id id foreign key */
- messageId?: InputMaybe<Scalars['UUID']>;
- /** Thread id from the messaging provider */
- messageThreadExternalId?: InputMaybe<Scalars['String']>;
- /** Message Thread Id id foreign key */
- messageThreadId?: InputMaybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** Message Synced with a Message Channel */
-export type MessageChannelMessageAssociationEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<MessageChannelMessageAssociation>;
-};
-
-/** Message Synced with a Message Channel */
-export type MessageChannelMessageAssociationFilterInput = {
- and?: InputMaybe<Array<InputMaybe<MessageChannelMessageAssociationFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Message Channel Id id foreign key */
- messageChannelId?: InputMaybe<IdFilter>;
- /** Message id from the messaging provider */
- messageExternalId?: InputMaybe<StringFilter>;
- /** Message Id id foreign key */
- messageId?: InputMaybe<IdFilter>;
- /** Thread id from the messaging provider */
- messageThreadExternalId?: InputMaybe<StringFilter>;
- /** Message Thread Id id foreign key */
- messageThreadId?: InputMaybe<IdFilter>;
- not?: InputMaybe<MessageChannelMessageAssociationFilterInput>;
- or?: InputMaybe<Array<InputMaybe<MessageChannelMessageAssociationFilterInput>>>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** Message Synced with a Message Channel */
-export type MessageChannelMessageAssociationOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Message Channel Id id foreign key */
- messageChannelId?: InputMaybe<OrderByDirection>;
- /** Message id from the messaging provider */
- messageExternalId?: InputMaybe<OrderByDirection>;
- /** Message Id id foreign key */
- messageId?: InputMaybe<OrderByDirection>;
- /** Thread id from the messaging provider */
- messageThreadExternalId?: InputMaybe<OrderByDirection>;
- /** Message Thread Id id foreign key */
- messageThreadId?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** Message Synced with a Message Channel */
-export type MessageChannelMessageAssociationUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Message Channel Id id foreign key */
- messageChannelId?: InputMaybe<Scalars['UUID']>;
- /** Message id from the messaging provider */
- messageExternalId?: InputMaybe<Scalars['String']>;
- /** Message Id id foreign key */
- messageId?: InputMaybe<Scalars['UUID']>;
- /** Thread id from the messaging provider */
- messageThreadExternalId?: InputMaybe<Scalars['String']>;
- /** Message Thread Id id foreign key */
- messageThreadId?: InputMaybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** Message Channels */
-export type MessageChannelOrderByInput = {
- /** Connected Account id foreign key */
- connectedAccountId?: InputMaybe<OrderByDirection>;
- /** Automatically create People records when receiving or sending emails */
- contactAutoCreationPolicy?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Exclude group emails */
- excludeGroupEmails?: InputMaybe<OrderByDirection>;
- /** Exclude non professional emails */
- excludeNonProfessionalEmails?: InputMaybe<OrderByDirection>;
- /** Handle */
- handle?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: InputMaybe<OrderByDirection>;
- /** Is Sync Enabled */
- isSyncEnabled?: InputMaybe<OrderByDirection>;
- /** Last sync cursor */
- syncCursor?: InputMaybe<OrderByDirection>;
- /** Sync stage */
- syncStage?: InputMaybe<OrderByDirection>;
- /** Sync stage started at */
- syncStageStartedAt?: InputMaybe<OrderByDirection>;
- /** Sync status */
- syncStatus?: InputMaybe<OrderByDirection>;
- /** Last sync date */
- syncedAt?: InputMaybe<OrderByDirection>;
- /** Throttle Failure Count */
- throttleFailureCount?: InputMaybe<OrderByDirection>;
- /** Channel Type */
- type?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Visibility */
- visibility?: InputMaybe<OrderByDirection>;
-};
-
-/** Sync stage */
-export enum MessageChannelSyncStageEnum {
- /** Failed */
- Failed = 'FAILED',
- /** Full messages list fetch pending */
- FullMessageListFetchPending = 'FULL_MESSAGE_LIST_FETCH_PENDING',
- /** Messages import ongoing */
- MessagesImportOngoing = 'MESSAGES_IMPORT_ONGOING',
- /** Messages import pending */
- MessagesImportPending = 'MESSAGES_IMPORT_PENDING',
- /** Messages list fetch ongoing */
- MessageListFetchOngoing = 'MESSAGE_LIST_FETCH_ONGOING',
- /** Partial messages list fetch pending */
- PartialMessageListFetchPending = 'PARTIAL_MESSAGE_LIST_FETCH_PENDING'
-}
-
-export type MessageChannelSyncStageEnumFilter = {
- eq?: InputMaybe<MessageChannelSyncStageEnum>;
- in?: InputMaybe<Array<InputMaybe<MessageChannelSyncStageEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<MessageChannelSyncStageEnum>;
-};
-
-/** Sync status */
-export enum MessageChannelSyncStatusEnum {
- /** Active */
- Active = 'ACTIVE',
- /** Failed */
- Failed = 'FAILED',
- /** Failed Insufficient Permissions */
- FailedInsufficientPermissions = 'FAILED_INSUFFICIENT_PERMISSIONS',
- /** Failed Unknown */
- FailedUnknown = 'FAILED_UNKNOWN',
- /** Not Synced */
- NotSynced = 'NOT_SYNCED',
- /** Ongoing */
- Ongoing = 'ONGOING',
- /** Pending */
- Pending = 'PENDING',
- /** Succeeded */
- Succeeded = 'SUCCEEDED'
-}
-
-export type MessageChannelSyncStatusEnumFilter = {
- eq?: InputMaybe<MessageChannelSyncStatusEnum>;
- in?: InputMaybe<Array<InputMaybe<MessageChannelSyncStatusEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<MessageChannelSyncStatusEnum>;
-};
-
-/** Channel Type */
-export enum MessageChannelTypeEnum {
- /** Email */
- Email = 'email',
- /** SMS */
- Sms = 'sms'
-}
-
-export type MessageChannelTypeEnumFilter = {
- eq?: InputMaybe<MessageChannelTypeEnum>;
- in?: InputMaybe<Array<InputMaybe<MessageChannelTypeEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<MessageChannelTypeEnum>;
-};
-
-/** Message Channels */
-export type MessageChannelUpdateInput = {
- /** Connected Account id foreign key */
- connectedAccountId?: InputMaybe<Scalars['UUID']>;
- /** Automatically create People records when receiving or sending emails */
- contactAutoCreationPolicy?: InputMaybe<MessageChannelContactAutoCreationPolicyEnum>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Exclude group emails */
- excludeGroupEmails?: InputMaybe<Scalars['Boolean']>;
- /** Exclude non professional emails */
- excludeNonProfessionalEmails?: InputMaybe<Scalars['Boolean']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Is Contact Auto Creation Enabled */
- isContactAutoCreationEnabled?: InputMaybe<Scalars['Boolean']>;
- /** Is Sync Enabled */
- isSyncEnabled?: InputMaybe<Scalars['Boolean']>;
- /** Last sync cursor */
- syncCursor?: InputMaybe<Scalars['String']>;
- /** Sync stage */
- syncStage?: InputMaybe<MessageChannelSyncStageEnum>;
- /** Sync stage started at */
- syncStageStartedAt?: InputMaybe<Scalars['DateTime']>;
- /** Sync status */
- syncStatus?: InputMaybe<MessageChannelSyncStatusEnum>;
- /** Last sync date */
- syncedAt?: InputMaybe<Scalars['DateTime']>;
- /** Throttle Failure Count */
- throttleFailureCount?: InputMaybe<Scalars['Float']>;
- /** Channel Type */
- type?: InputMaybe<MessageChannelTypeEnum>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Visibility */
- visibility?: InputMaybe<MessageChannelVisibilityEnum>;
-};
-
-/** Visibility of the message channel */
-export enum MessageChannelVisibility {
- Metadata = 'METADATA',
- ShareEverything = 'SHARE_EVERYTHING',
- Subject = 'SUBJECT'
-}
-
-/** Visibility */
-export enum MessageChannelVisibilityEnum {
- /** Metadata */
- Metadata = 'METADATA',
- /** Share Everything */
- ShareEverything = 'SHARE_EVERYTHING',
- /** Subject */
- Subject = 'SUBJECT'
-}
-
-export type MessageChannelVisibilityEnumFilter = {
- eq?: InputMaybe<MessageChannelVisibilityEnum>;
- in?: InputMaybe<Array<InputMaybe<MessageChannelVisibilityEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<MessageChannelVisibilityEnum>;
-};
-
-/** Message */
-export type MessageConnection = {
- edges?: Maybe<Array<MessageEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Message */
-export type MessageCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Message Direction */
- direction?: InputMaybe<MessageDirectionEnum>;
- /** Message id from the message header */
- headerMessageId?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Message Thread Id id foreign key */
- messageThreadId?: InputMaybe<Scalars['UUID']>;
- /** The date the message was received */
- receivedAt?: InputMaybe<Scalars['DateTime']>;
- /** Subject */
- subject?: InputMaybe<Scalars['String']>;
- /** Text */
- text?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** Message Direction */
-export enum MessageDirectionEnum {
- /** Incoming */
- Incoming = 'incoming',
- /** Outgoing */
- Outgoing = 'outgoing'
-}
-
-export type MessageDirectionEnumFilter = {
- eq?: InputMaybe<MessageDirectionEnum>;
- in?: InputMaybe<Array<InputMaybe<MessageDirectionEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<MessageDirectionEnum>;
-};
-
-/** Message */
-export type MessageEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Message>;
-};
-
-/** Message */
-export type MessageFilterInput = {
- and?: InputMaybe<Array<InputMaybe<MessageFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Message Direction */
- direction?: InputMaybe<MessageDirectionEnumFilter>;
- /** Message id from the message header */
- headerMessageId?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Message Thread Id id foreign key */
- messageThreadId?: InputMaybe<IdFilter>;
- not?: InputMaybe<MessageFilterInput>;
- or?: InputMaybe<Array<InputMaybe<MessageFilterInput>>>;
- /** The date the message was received */
- receivedAt?: InputMaybe<DateFilter>;
- /** Subject */
- subject?: InputMaybe<StringFilter>;
- /** Text */
- text?: InputMaybe<StringFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** Message */
-export type MessageOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Message Direction */
- direction?: InputMaybe<OrderByDirection>;
- /** Message id from the message header */
- headerMessageId?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Message Thread Id id foreign key */
- messageThreadId?: InputMaybe<OrderByDirection>;
- /** The date the message was received */
- receivedAt?: InputMaybe<OrderByDirection>;
- /** Subject */
- subject?: InputMaybe<OrderByDirection>;
- /** Text */
- text?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** Message Participants */
-export type MessageParticipant = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Display Name */
- displayName?: Maybe<Scalars['String']>;
- /** Handle */
- handle?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Message */
- message?: Maybe<Message>;
- /** Message id foreign key */
- messageId?: Maybe<Scalars['UUID']>;
- /** Person */
- person?: Maybe<Person>;
- /** Person id foreign key */
- personId?: Maybe<Scalars['UUID']>;
- /** Role */
- role?: Maybe<MessageParticipantRoleEnum>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Workspace member */
- workspaceMember?: Maybe<WorkspaceMember>;
- /** Workspace member id foreign key */
- workspaceMemberId?: Maybe<Scalars['UUID']>;
-};
-
-/** Message Participants */
-export type MessageParticipantConnection = {
- edges?: Maybe<Array<MessageParticipantEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Message Participants */
-export type MessageParticipantCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Display Name */
- displayName?: InputMaybe<Scalars['String']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Message id foreign key */
- messageId: Scalars['UUID'];
- /** Person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Role */
- role?: InputMaybe<MessageParticipantRoleEnum>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Workspace member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** Message Participants */
-export type MessageParticipantEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<MessageParticipant>;
-};
-
-/** Message Participants */
-export type MessageParticipantFilterInput = {
- and?: InputMaybe<Array<InputMaybe<MessageParticipantFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Display Name */
- displayName?: InputMaybe<StringFilter>;
- /** Handle */
- handle?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Message id foreign key */
- messageId?: InputMaybe<IdFilter>;
- not?: InputMaybe<MessageParticipantFilterInput>;
- or?: InputMaybe<Array<InputMaybe<MessageParticipantFilterInput>>>;
- /** Person id foreign key */
- personId?: InputMaybe<IdFilter>;
- /** Role */
- role?: InputMaybe<MessageParticipantRoleEnumFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Workspace member id foreign key */
- workspaceMemberId?: InputMaybe<IdFilter>;
-};
-
-/** Message Participants */
-export type MessageParticipantOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Display Name */
- displayName?: InputMaybe<OrderByDirection>;
- /** Handle */
- handle?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Message id foreign key */
- messageId?: InputMaybe<OrderByDirection>;
- /** Person id foreign key */
- personId?: InputMaybe<OrderByDirection>;
- /** Role */
- role?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Workspace member id foreign key */
- workspaceMemberId?: InputMaybe<OrderByDirection>;
-};
-
-/** Role */
-export enum MessageParticipantRoleEnum {
- /** Bcc */
- Bcc = 'bcc',
- /** Cc */
- Cc = 'cc',
- /** From */
- From = 'from',
- /** To */
- To = 'to'
-}
-
-export type MessageParticipantRoleEnumFilter = {
- eq?: InputMaybe<MessageParticipantRoleEnum>;
- in?: InputMaybe<Array<InputMaybe<MessageParticipantRoleEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<MessageParticipantRoleEnum>;
-};
-
-/** Message Participants */
-export type MessageParticipantUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Display Name */
- displayName?: InputMaybe<Scalars['String']>;
- /** Handle */
- handle?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Message id foreign key */
- messageId?: InputMaybe<Scalars['UUID']>;
- /** Person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Role */
- role?: InputMaybe<MessageParticipantRoleEnum>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Workspace member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** Message Thread */
-export type MessageThread = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Messages from the channel */
- messageChannelMessageAssociations?: Maybe<MessageChannelMessageAssociationConnection>;
- /** Messages from the thread. */
- messages?: Maybe<MessageConnection>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-
-/** Message Thread */
-export type MessageThreadMessageChannelMessageAssociationsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageChannelMessageAssociationFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageChannelMessageAssociationOrderByInput>>>;
-};
-
-
-/** Message Thread */
-export type MessageThreadMessagesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageOrderByInput>>>;
-};
-
-/** Message Thread */
-export type MessageThreadConnection = {
- edges?: Maybe<Array<MessageThreadEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Message Thread */
-export type MessageThreadCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** Message Thread */
-export type MessageThreadEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<MessageThread>;
-};
-
-/** Message Thread */
-export type MessageThreadFilterInput = {
- and?: InputMaybe<Array<InputMaybe<MessageThreadFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<MessageThreadFilterInput>;
- or?: InputMaybe<Array<InputMaybe<MessageThreadFilterInput>>>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** Message Thread */
-export type MessageThreadOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** Message Thread */
-export type MessageThreadUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** Message */
-export type MessageUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Message Direction */
- direction?: InputMaybe<MessageDirectionEnum>;
- /** Message id from the message header */
- headerMessageId?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Message Thread Id id foreign key */
- messageThreadId?: InputMaybe<Scalars['UUID']>;
- /** The date the message was received */
- receivedAt?: InputMaybe<Scalars['DateTime']>;
- /** Subject */
- subject?: InputMaybe<Scalars['String']>;
- /** Text */
- text?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-export type Mutation = {
- activateWorkspace: Workspace;
- addUserToWorkspace: User;
- authorizeApp: AuthorizeApp;
- challenge: LoginToken;
- checkoutSession: SessionEntity;
- createActivities?: Maybe<Array<Activity>>;
- createActivity?: Maybe<Activity>;
- createActivityTarget?: Maybe<ActivityTarget>;
- createActivityTargets?: Maybe<Array<ActivityTarget>>;
- createApiKey?: Maybe<ApiKey>;
- createApiKeys?: Maybe<Array<ApiKey>>;
- createAttachment?: Maybe<Attachment>;
- createAttachments?: Maybe<Array<Attachment>>;
- createAuditLog?: Maybe<AuditLog>;
- createAuditLogs?: Maybe<Array<AuditLog>>;
- createBlocklist?: Maybe<Blocklist>;
- createBlocklists?: Maybe<Array<Blocklist>>;
- createCalendarChannel?: Maybe<CalendarChannel>;
- createCalendarChannelEventAssociation?: Maybe<CalendarChannelEventAssociation>;
- createCalendarChannelEventAssociations?: Maybe<Array<CalendarChannelEventAssociation>>;
- createCalendarChannels?: Maybe<Array<CalendarChannel>>;
- createCalendarEvent?: Maybe<CalendarEvent>;
- createCalendarEventParticipant?: Maybe<CalendarEventParticipant>;
- createCalendarEventParticipants?: Maybe<Array<CalendarEventParticipant>>;
- createCalendarEvents?: Maybe<Array<CalendarEvent>>;
- createComment?: Maybe<Comment>;
- createComments?: Maybe<Array<Comment>>;
- createCompanies?: Maybe<Array<Company>>;
- createCompany?: Maybe<Company>;
- createConnectedAccount?: Maybe<ConnectedAccount>;
- createConnectedAccounts?: Maybe<Array<ConnectedAccount>>;
- createFavorite?: Maybe<Favorite>;
- createFavorites?: Maybe<Array<Favorite>>;
- createMessage?: Maybe<Message>;
- createMessageChannel?: Maybe<MessageChannel>;
- createMessageChannelMessageAssociation?: Maybe<MessageChannelMessageAssociation>;
- createMessageChannelMessageAssociations?: Maybe<Array<MessageChannelMessageAssociation>>;
- createMessageChannels?: Maybe<Array<MessageChannel>>;
- createMessageParticipant?: Maybe<MessageParticipant>;
- createMessageParticipants?: Maybe<Array<MessageParticipant>>;
- createMessageThread?: Maybe<MessageThread>;
- createMessageThreads?: Maybe<Array<MessageThread>>;
- createMessages?: Maybe<Array<Message>>;
- createOneAppToken: AppToken;
- createOneObject: Object;
- createOpportunities?: Maybe<Array<Opportunity>>;
- createOpportunity?: Maybe<Opportunity>;
- createPeople?: Maybe<Array<Person>>;
- createPerson?: Maybe<Person>;
- createTimelineActivities?: Maybe<Array<TimelineActivity>>;
- createTimelineActivity?: Maybe<TimelineActivity>;
- createView?: Maybe<View>;
- createViewField?: Maybe<ViewField>;
- createViewFields?: Maybe<Array<ViewField>>;
- createViewFilter?: Maybe<ViewFilter>;
- createViewFilters?: Maybe<Array<ViewFilter>>;
- createViewSort?: Maybe<ViewSort>;
- createViewSorts?: Maybe<Array<ViewSort>>;
- createViews?: Maybe<Array<View>>;
- createWebhook?: Maybe<Webhook>;
- createWebhooks?: Maybe<Array<Webhook>>;
- createWorkspaceMember?: Maybe<WorkspaceMember>;
- createWorkspaceMembers?: Maybe<Array<WorkspaceMember>>;
- deleteActivities?: Maybe<Array<Activity>>;
- deleteActivity?: Maybe<Activity>;
- deleteActivityTarget?: Maybe<ActivityTarget>;
- deleteActivityTargets?: Maybe<Array<ActivityTarget>>;
- deleteApiKey?: Maybe<ApiKey>;
- deleteApiKeys?: Maybe<Array<ApiKey>>;
- deleteAttachment?: Maybe<Attachment>;
- deleteAttachments?: Maybe<Array<Attachment>>;
- deleteAuditLog?: Maybe<AuditLog>;
- deleteAuditLogs?: Maybe<Array<AuditLog>>;
- deleteBlocklist?: Maybe<Blocklist>;
- deleteBlocklists?: Maybe<Array<Blocklist>>;
- deleteCalendarChannel?: Maybe<CalendarChannel>;
- deleteCalendarChannelEventAssociation?: Maybe<CalendarChannelEventAssociation>;
- deleteCalendarChannelEventAssociations?: Maybe<Array<CalendarChannelEventAssociation>>;
- deleteCalendarChannels?: Maybe<Array<CalendarChannel>>;
- deleteCalendarEvent?: Maybe<CalendarEvent>;
- deleteCalendarEventParticipant?: Maybe<CalendarEventParticipant>;
- deleteCalendarEventParticipants?: Maybe<Array<CalendarEventParticipant>>;
- deleteCalendarEvents?: Maybe<Array<CalendarEvent>>;
- deleteComment?: Maybe<Comment>;
- deleteComments?: Maybe<Array<Comment>>;
- deleteCompanies?: Maybe<Array<Company>>;
- deleteCompany?: Maybe<Company>;
- deleteConnectedAccount?: Maybe<ConnectedAccount>;
- deleteConnectedAccounts?: Maybe<Array<ConnectedAccount>>;
- deleteCurrentWorkspace: Workspace;
- deleteFavorite?: Maybe<Favorite>;
- deleteFavorites?: Maybe<Array<Favorite>>;
- deleteMessage?: Maybe<Message>;
- deleteMessageChannel?: Maybe<MessageChannel>;
- deleteMessageChannelMessageAssociation?: Maybe<MessageChannelMessageAssociation>;
- deleteMessageChannelMessageAssociations?: Maybe<Array<MessageChannelMessageAssociation>>;
- deleteMessageChannels?: Maybe<Array<MessageChannel>>;
- deleteMessageParticipant?: Maybe<MessageParticipant>;
- deleteMessageParticipants?: Maybe<Array<MessageParticipant>>;
- deleteMessageThread?: Maybe<MessageThread>;
- deleteMessageThreads?: Maybe<Array<MessageThread>>;
- deleteMessages?: Maybe<Array<Message>>;
- deleteOneObject: Object;
- deleteOpportunities?: Maybe<Array<Opportunity>>;
- deleteOpportunity?: Maybe<Opportunity>;
- deletePeople?: Maybe<Array<Person>>;
- deletePerson?: Maybe<Person>;
- deleteTimelineActivities?: Maybe<Array<TimelineActivity>>;
- deleteTimelineActivity?: Maybe<TimelineActivity>;
- deleteUser: User;
- deleteView?: Maybe<View>;
- deleteViewField?: Maybe<ViewField>;
- deleteViewFields?: Maybe<Array<ViewField>>;
- deleteViewFilter?: Maybe<ViewFilter>;
- deleteViewFilters?: Maybe<Array<ViewFilter>>;
- deleteViewSort?: Maybe<ViewSort>;
- deleteViewSorts?: Maybe<Array<ViewSort>>;
- deleteViews?: Maybe<Array<View>>;
- deleteWebhook?: Maybe<Webhook>;
- deleteWebhooks?: Maybe<Array<Webhook>>;
- deleteWorkspaceMember?: Maybe<WorkspaceMember>;
- deleteWorkspaceMembers?: Maybe<Array<WorkspaceMember>>;
- disablePostgresProxy: PostgresCredentials;
- emailPasswordResetLink: EmailPasswordResetLink;
- enablePostgresProxy: PostgresCredentials;
- exchangeAuthorizationCode: ExchangeAuthCode;
- executeQuickActionOnActivity?: Maybe<Activity>;
- executeQuickActionOnActivityTarget?: Maybe<ActivityTarget>;
- executeQuickActionOnApiKey?: Maybe<ApiKey>;
- executeQuickActionOnAttachment?: Maybe<Attachment>;
- executeQuickActionOnAuditLog?: Maybe<AuditLog>;
- executeQuickActionOnBlocklist?: Maybe<Blocklist>;
- executeQuickActionOnCalendarChannel?: Maybe<CalendarChannel>;
- executeQuickActionOnCalendarChannelEventAssociation?: Maybe<CalendarChannelEventAssociation>;
- executeQuickActionOnCalendarEvent?: Maybe<CalendarEvent>;
- executeQuickActionOnCalendarEventParticipant?: Maybe<CalendarEventParticipant>;
- executeQuickActionOnComment?: Maybe<Comment>;
- executeQuickActionOnCompany?: Maybe<Company>;
- executeQuickActionOnConnectedAccount?: Maybe<ConnectedAccount>;
- executeQuickActionOnFavorite?: Maybe<Favorite>;
- executeQuickActionOnMessage?: Maybe<Message>;
- executeQuickActionOnMessageChannel?: Maybe<MessageChannel>;
- executeQuickActionOnMessageChannelMessageAssociation?: Maybe<MessageChannelMessageAssociation>;
- executeQuickActionOnMessageParticipant?: Maybe<MessageParticipant>;
- executeQuickActionOnMessageThread?: Maybe<MessageThread>;
- executeQuickActionOnOpportunity?: Maybe<Opportunity>;
- executeQuickActionOnPerson?: Maybe<Person>;
- executeQuickActionOnTimelineActivity?: Maybe<TimelineActivity>;
- executeQuickActionOnView?: Maybe<View>;
- executeQuickActionOnViewField?: Maybe<ViewField>;
- executeQuickActionOnViewFilter?: Maybe<ViewFilter>;
- executeQuickActionOnViewSort?: Maybe<ViewSort>;
- executeQuickActionOnWebhook?: Maybe<Webhook>;
- executeQuickActionOnWorkspaceMember?: Maybe<WorkspaceMember>;
- generateApiKeyToken: ApiKeyToken;
- generateJWT: AuthTokens;
- generateTransientToken: TransientToken;
- impersonate: Verify;
- renewToken: AuthTokens;
- sendInviteLink: SendInviteLink;
- signUp: LoginToken;
- skipSyncEmailOnboardingStep: OnboardingStepSuccess;
- track: Analytics;
- updateActivities?: Maybe<Array<Activity>>;
- updateActivity?: Maybe<Activity>;
- updateActivityTarget?: Maybe<ActivityTarget>;
- updateActivityTargets?: Maybe<Array<ActivityTarget>>;
- updateApiKey?: Maybe<ApiKey>;
- updateApiKeys?: Maybe<Array<ApiKey>>;
- updateAttachment?: Maybe<Attachment>;
- updateAttachments?: Maybe<Array<Attachment>>;
- updateAuditLog?: Maybe<AuditLog>;
- updateAuditLogs?: Maybe<Array<AuditLog>>;
- updateBillingSubscription: UpdateBillingEntity;
- updateBlocklist?: Maybe<Blocklist>;
- updateBlocklists?: Maybe<Array<Blocklist>>;
- updateCalendarChannel?: Maybe<CalendarChannel>;
- updateCalendarChannelEventAssociation?: Maybe<CalendarChannelEventAssociation>;
- updateCalendarChannelEventAssociations?: Maybe<Array<CalendarChannelEventAssociation>>;
- updateCalendarChannels?: Maybe<Array<CalendarChannel>>;
- updateCalendarEvent?: Maybe<CalendarEvent>;
- updateCalendarEventParticipant?: Maybe<CalendarEventParticipant>;
- updateCalendarEventParticipants?: Maybe<Array<CalendarEventParticipant>>;
- updateCalendarEvents?: Maybe<Array<CalendarEvent>>;
- updateComment?: Maybe<Comment>;
- updateComments?: Maybe<Array<Comment>>;
- updateCompanies?: Maybe<Array<Company>>;
- updateCompany?: Maybe<Company>;
- updateConnectedAccount?: Maybe<ConnectedAccount>;
- updateConnectedAccounts?: Maybe<Array<ConnectedAccount>>;
- updateFavorite?: Maybe<Favorite>;
- updateFavorites?: Maybe<Array<Favorite>>;
- updateMessage?: Maybe<Message>;
- updateMessageChannel?: Maybe<MessageChannel>;
- updateMessageChannelMessageAssociation?: Maybe<MessageChannelMessageAssociation>;
- updateMessageChannelMessageAssociations?: Maybe<Array<MessageChannelMessageAssociation>>;
- updateMessageChannels?: Maybe<Array<MessageChannel>>;
- updateMessageParticipant?: Maybe<MessageParticipant>;
- updateMessageParticipants?: Maybe<Array<MessageParticipant>>;
- updateMessageThread?: Maybe<MessageThread>;
- updateMessageThreads?: Maybe<Array<MessageThread>>;
- updateMessages?: Maybe<Array<Message>>;
- updateOneObject: Object;
- updateOpportunities?: Maybe<Array<Opportunity>>;
- updateOpportunity?: Maybe<Opportunity>;
- updatePasswordViaResetToken: InvalidatePassword;
- updatePeople?: Maybe<Array<Person>>;
- updatePerson?: Maybe<Person>;
- updateTimelineActivities?: Maybe<Array<TimelineActivity>>;
- updateTimelineActivity?: Maybe<TimelineActivity>;
- updateView?: Maybe<View>;
- updateViewField?: Maybe<ViewField>;
- updateViewFields?: Maybe<Array<ViewField>>;
- updateViewFilter?: Maybe<ViewFilter>;
- updateViewFilters?: Maybe<Array<ViewFilter>>;
- updateViewSort?: Maybe<ViewSort>;
- updateViewSorts?: Maybe<Array<ViewSort>>;
- updateViews?: Maybe<Array<View>>;
- updateWebhook?: Maybe<Webhook>;
- updateWebhooks?: Maybe<Array<Webhook>>;
- updateWorkspace: Workspace;
- updateWorkspaceMember?: Maybe<WorkspaceMember>;
- updateWorkspaceMembers?: Maybe<Array<WorkspaceMember>>;
- uploadFile: Scalars['String'];
- uploadImage: Scalars['String'];
- uploadProfilePicture: Scalars['String'];
- uploadWorkspaceLogo: Scalars['String'];
- verify: Verify;
-};
-
-
-export type MutationActivateWorkspaceArgs = {
- data: ActivateWorkspaceInput;
-};
-
-
-export type MutationAddUserToWorkspaceArgs = {
- inviteHash: Scalars['String'];
-};
-
-
-export type MutationAuthorizeAppArgs = {
- clientId: Scalars['String'];
- codeChallenge?: InputMaybe<Scalars['String']>;
- redirectUrl: Scalars['String'];
-};
-
-
-export type MutationChallengeArgs = {
- captchaToken?: InputMaybe<Scalars['String']>;
- email: Scalars['String'];
- password: Scalars['String'];
-};
-
-
-export type MutationCheckoutSessionArgs = {
- recurringInterval: SubscriptionInterval;
- successUrlPath?: InputMaybe<Scalars['String']>;
-};
-
-
-export type MutationCreateActivitiesArgs = {
- data?: InputMaybe<Array<ActivityCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateActivityArgs = {
- data?: InputMaybe<ActivityCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateActivityTargetArgs = {
- data?: InputMaybe<ActivityTargetCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateActivityTargetsArgs = {
- data?: InputMaybe<Array<ActivityTargetCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateApiKeyArgs = {
- data?: InputMaybe<ApiKeyCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateApiKeysArgs = {
- data?: InputMaybe<Array<ApiKeyCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateAttachmentArgs = {
- data?: InputMaybe<AttachmentCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateAttachmentsArgs = {
- data?: InputMaybe<Array<AttachmentCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateAuditLogArgs = {
- data?: InputMaybe<AuditLogCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateAuditLogsArgs = {
- data?: InputMaybe<Array<AuditLogCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateBlocklistArgs = {
- data?: InputMaybe<BlocklistCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateBlocklistsArgs = {
- data?: InputMaybe<Array<BlocklistCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCalendarChannelArgs = {
- data?: InputMaybe<CalendarChannelCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCalendarChannelEventAssociationArgs = {
- data?: InputMaybe<CalendarChannelEventAssociationCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCalendarChannelEventAssociationsArgs = {
- data?: InputMaybe<Array<CalendarChannelEventAssociationCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCalendarChannelsArgs = {
- data?: InputMaybe<Array<CalendarChannelCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCalendarEventArgs = {
- data?: InputMaybe<CalendarEventCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCalendarEventParticipantArgs = {
- data?: InputMaybe<CalendarEventParticipantCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCalendarEventParticipantsArgs = {
- data?: InputMaybe<Array<CalendarEventParticipantCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCalendarEventsArgs = {
- data?: InputMaybe<Array<CalendarEventCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCommentArgs = {
- data?: InputMaybe<CommentCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCommentsArgs = {
- data?: InputMaybe<Array<CommentCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCompaniesArgs = {
- data?: InputMaybe<Array<CompanyCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateCompanyArgs = {
- data?: InputMaybe<CompanyCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateConnectedAccountArgs = {
- data?: InputMaybe<ConnectedAccountCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateConnectedAccountsArgs = {
- data?: InputMaybe<Array<ConnectedAccountCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateFavoriteArgs = {
- data?: InputMaybe<FavoriteCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateFavoritesArgs = {
- data?: InputMaybe<Array<FavoriteCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageArgs = {
- data?: InputMaybe<MessageCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageChannelArgs = {
- data?: InputMaybe<MessageChannelCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageChannelMessageAssociationArgs = {
- data?: InputMaybe<MessageChannelMessageAssociationCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageChannelMessageAssociationsArgs = {
- data?: InputMaybe<Array<MessageChannelMessageAssociationCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageChannelsArgs = {
- data?: InputMaybe<Array<MessageChannelCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageParticipantArgs = {
- data?: InputMaybe<MessageParticipantCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageParticipantsArgs = {
- data?: InputMaybe<Array<MessageParticipantCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageThreadArgs = {
- data?: InputMaybe<MessageThreadCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessageThreadsArgs = {
- data?: InputMaybe<Array<MessageThreadCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateMessagesArgs = {
- data?: InputMaybe<Array<MessageCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateOpportunitiesArgs = {
- data?: InputMaybe<Array<OpportunityCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateOpportunityArgs = {
- data?: InputMaybe<OpportunityCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreatePeopleArgs = {
- data?: InputMaybe<Array<PersonCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreatePersonArgs = {
- data?: InputMaybe<PersonCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateTimelineActivitiesArgs = {
- data?: InputMaybe<Array<TimelineActivityCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateTimelineActivityArgs = {
- data?: InputMaybe<TimelineActivityCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateViewArgs = {
- data?: InputMaybe<ViewCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateViewFieldArgs = {
- data?: InputMaybe<ViewFieldCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateViewFieldsArgs = {
- data?: InputMaybe<Array<ViewFieldCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateViewFilterArgs = {
- data?: InputMaybe<ViewFilterCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateViewFiltersArgs = {
- data?: InputMaybe<Array<ViewFilterCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateViewSortArgs = {
- data?: InputMaybe<ViewSortCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateViewSortsArgs = {
- data?: InputMaybe<Array<ViewSortCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateViewsArgs = {
- data?: InputMaybe<Array<ViewCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateWebhookArgs = {
- data?: InputMaybe<WebhookCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateWebhooksArgs = {
- data?: InputMaybe<Array<WebhookCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateWorkspaceMemberArgs = {
- data?: InputMaybe<WorkspaceMemberCreateInput>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationCreateWorkspaceMembersArgs = {
- data?: InputMaybe<Array<WorkspaceMemberCreateInput>>;
- upsert?: InputMaybe<Scalars['Boolean']>;
-};
-
-
-export type MutationDeleteActivitiesArgs = {
- filter?: InputMaybe<ActivityFilterInput>;
-};
-
-
-export type MutationDeleteActivityArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteActivityTargetArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteActivityTargetsArgs = {
- filter?: InputMaybe<ActivityTargetFilterInput>;
-};
-
-
-export type MutationDeleteApiKeyArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteApiKeysArgs = {
- filter?: InputMaybe<ApiKeyFilterInput>;
-};
-
-
-export type MutationDeleteAttachmentArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteAttachmentsArgs = {
- filter?: InputMaybe<AttachmentFilterInput>;
-};
-
-
-export type MutationDeleteAuditLogArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteAuditLogsArgs = {
- filter?: InputMaybe<AuditLogFilterInput>;
-};
-
-
-export type MutationDeleteBlocklistArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteBlocklistsArgs = {
- filter?: InputMaybe<BlocklistFilterInput>;
-};
-
-
-export type MutationDeleteCalendarChannelArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteCalendarChannelEventAssociationArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteCalendarChannelEventAssociationsArgs = {
- filter?: InputMaybe<CalendarChannelEventAssociationFilterInput>;
-};
-
-
-export type MutationDeleteCalendarChannelsArgs = {
- filter?: InputMaybe<CalendarChannelFilterInput>;
-};
-
-
-export type MutationDeleteCalendarEventArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteCalendarEventParticipantArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteCalendarEventParticipantsArgs = {
- filter?: InputMaybe<CalendarEventParticipantFilterInput>;
-};
-
-
-export type MutationDeleteCalendarEventsArgs = {
- filter?: InputMaybe<CalendarEventFilterInput>;
-};
-
-
-export type MutationDeleteCommentArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteCommentsArgs = {
- filter?: InputMaybe<CommentFilterInput>;
-};
-
-
-export type MutationDeleteCompaniesArgs = {
- filter?: InputMaybe<CompanyFilterInput>;
-};
-
-
-export type MutationDeleteCompanyArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteConnectedAccountArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteConnectedAccountsArgs = {
- filter?: InputMaybe<ConnectedAccountFilterInput>;
-};
-
-
-export type MutationDeleteFavoriteArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteFavoritesArgs = {
- filter?: InputMaybe<FavoriteFilterInput>;
-};
-
-
-export type MutationDeleteMessageArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteMessageChannelArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteMessageChannelMessageAssociationArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteMessageChannelMessageAssociationsArgs = {
- filter?: InputMaybe<MessageChannelMessageAssociationFilterInput>;
-};
-
-
-export type MutationDeleteMessageChannelsArgs = {
- filter?: InputMaybe<MessageChannelFilterInput>;
-};
-
-
-export type MutationDeleteMessageParticipantArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteMessageParticipantsArgs = {
- filter?: InputMaybe<MessageParticipantFilterInput>;
-};
-
-
-export type MutationDeleteMessageThreadArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteMessageThreadsArgs = {
- filter?: InputMaybe<MessageThreadFilterInput>;
-};
-
-
-export type MutationDeleteMessagesArgs = {
- filter?: InputMaybe<MessageFilterInput>;
-};
-
-
-export type MutationDeleteOneObjectArgs = {
- input: DeleteOneObjectInput;
-};
-
-
-export type MutationDeleteOpportunitiesArgs = {
- filter?: InputMaybe<OpportunityFilterInput>;
-};
-
-
-export type MutationDeleteOpportunityArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeletePeopleArgs = {
- filter?: InputMaybe<PersonFilterInput>;
-};
-
-
-export type MutationDeletePersonArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteTimelineActivitiesArgs = {
- filter?: InputMaybe<TimelineActivityFilterInput>;
-};
-
-
-export type MutationDeleteTimelineActivityArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteViewArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteViewFieldArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteViewFieldsArgs = {
- filter?: InputMaybe<ViewFieldFilterInput>;
-};
-
-
-export type MutationDeleteViewFilterArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteViewFiltersArgs = {
- filter?: InputMaybe<ViewFilterFilterInput>;
-};
-
-
-export type MutationDeleteViewSortArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteViewSortsArgs = {
- filter?: InputMaybe<ViewSortFilterInput>;
-};
-
-
-export type MutationDeleteViewsArgs = {
- filter?: InputMaybe<ViewFilterInput>;
-};
-
-
-export type MutationDeleteWebhookArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteWebhooksArgs = {
- filter?: InputMaybe<WebhookFilterInput>;
-};
-
-
-export type MutationDeleteWorkspaceMemberArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationDeleteWorkspaceMembersArgs = {
- filter?: InputMaybe<WorkspaceMemberFilterInput>;
-};
-
-
-export type MutationEmailPasswordResetLinkArgs = {
- email: Scalars['String'];
-};
-
-
-export type MutationExchangeAuthorizationCodeArgs = {
- authorizationCode: Scalars['String'];
- clientSecret?: InputMaybe<Scalars['String']>;
- codeVerifier?: InputMaybe<Scalars['String']>;
-};
-
-
-export type MutationExecuteQuickActionOnActivityArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnActivityTargetArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnApiKeyArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnAttachmentArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnAuditLogArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnBlocklistArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnCalendarChannelArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnCalendarChannelEventAssociationArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnCalendarEventArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnCalendarEventParticipantArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnCommentArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnCompanyArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnConnectedAccountArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnFavoriteArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnMessageArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnMessageChannelArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnMessageChannelMessageAssociationArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnMessageParticipantArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnMessageThreadArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnOpportunityArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnPersonArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnTimelineActivityArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnViewArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnViewFieldArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnViewFilterArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnViewSortArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnWebhookArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationExecuteQuickActionOnWorkspaceMemberArgs = {
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationGenerateApiKeyTokenArgs = {
- apiKeyId: Scalars['String'];
- expiresAt: Scalars['String'];
-};
-
-
-export type MutationGenerateJwtArgs = {
- workspaceId: Scalars['String'];
-};
-
-
-export type MutationImpersonateArgs = {
- userId: Scalars['String'];
-};
-
-
-export type MutationRenewTokenArgs = {
- appToken: Scalars['String'];
-};
-
-
-export type MutationSendInviteLinkArgs = {
- emails: Array<Scalars['String']>;
-};
-
-
-export type MutationSignUpArgs = {
- captchaToken?: InputMaybe<Scalars['String']>;
- email: Scalars['String'];
- password: Scalars['String'];
- workspaceInviteHash?: InputMaybe<Scalars['String']>;
-};
-
-
-export type MutationTrackArgs = {
- data: Scalars['JSON'];
- type: Scalars['String'];
-};
-
-
-export type MutationUpdateActivitiesArgs = {
- data?: InputMaybe<ActivityUpdateInput>;
- filter?: InputMaybe<ActivityFilterInput>;
-};
-
-
-export type MutationUpdateActivityArgs = {
- data?: InputMaybe<ActivityUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateActivityTargetArgs = {
- data?: InputMaybe<ActivityTargetUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateActivityTargetsArgs = {
- data?: InputMaybe<ActivityTargetUpdateInput>;
- filter?: InputMaybe<ActivityTargetFilterInput>;
-};
-
-
-export type MutationUpdateApiKeyArgs = {
- data?: InputMaybe<ApiKeyUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateApiKeysArgs = {
- data?: InputMaybe<ApiKeyUpdateInput>;
- filter?: InputMaybe<ApiKeyFilterInput>;
-};
-
-
-export type MutationUpdateAttachmentArgs = {
- data?: InputMaybe<AttachmentUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateAttachmentsArgs = {
- data?: InputMaybe<AttachmentUpdateInput>;
- filter?: InputMaybe<AttachmentFilterInput>;
-};
-
-
-export type MutationUpdateAuditLogArgs = {
- data?: InputMaybe<AuditLogUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateAuditLogsArgs = {
- data?: InputMaybe<AuditLogUpdateInput>;
- filter?: InputMaybe<AuditLogFilterInput>;
-};
-
-
-export type MutationUpdateBlocklistArgs = {
- data?: InputMaybe<BlocklistUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateBlocklistsArgs = {
- data?: InputMaybe<BlocklistUpdateInput>;
- filter?: InputMaybe<BlocklistFilterInput>;
-};
-
-
-export type MutationUpdateCalendarChannelArgs = {
- data?: InputMaybe<CalendarChannelUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateCalendarChannelEventAssociationArgs = {
- data?: InputMaybe<CalendarChannelEventAssociationUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateCalendarChannelEventAssociationsArgs = {
- data?: InputMaybe<CalendarChannelEventAssociationUpdateInput>;
- filter?: InputMaybe<CalendarChannelEventAssociationFilterInput>;
-};
-
-
-export type MutationUpdateCalendarChannelsArgs = {
- data?: InputMaybe<CalendarChannelUpdateInput>;
- filter?: InputMaybe<CalendarChannelFilterInput>;
-};
-
-
-export type MutationUpdateCalendarEventArgs = {
- data?: InputMaybe<CalendarEventUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateCalendarEventParticipantArgs = {
- data?: InputMaybe<CalendarEventParticipantUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateCalendarEventParticipantsArgs = {
- data?: InputMaybe<CalendarEventParticipantUpdateInput>;
- filter?: InputMaybe<CalendarEventParticipantFilterInput>;
-};
-
-
-export type MutationUpdateCalendarEventsArgs = {
- data?: InputMaybe<CalendarEventUpdateInput>;
- filter?: InputMaybe<CalendarEventFilterInput>;
-};
-
-
-export type MutationUpdateCommentArgs = {
- data?: InputMaybe<CommentUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateCommentsArgs = {
- data?: InputMaybe<CommentUpdateInput>;
- filter?: InputMaybe<CommentFilterInput>;
-};
-
-
-export type MutationUpdateCompaniesArgs = {
- data?: InputMaybe<CompanyUpdateInput>;
- filter?: InputMaybe<CompanyFilterInput>;
-};
-
-
-export type MutationUpdateCompanyArgs = {
- data?: InputMaybe<CompanyUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateConnectedAccountArgs = {
- data?: InputMaybe<ConnectedAccountUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateConnectedAccountsArgs = {
- data?: InputMaybe<ConnectedAccountUpdateInput>;
- filter?: InputMaybe<ConnectedAccountFilterInput>;
-};
-
-
-export type MutationUpdateFavoriteArgs = {
- data?: InputMaybe<FavoriteUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateFavoritesArgs = {
- data?: InputMaybe<FavoriteUpdateInput>;
- filter?: InputMaybe<FavoriteFilterInput>;
-};
-
-
-export type MutationUpdateMessageArgs = {
- data?: InputMaybe<MessageUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateMessageChannelArgs = {
- data?: InputMaybe<MessageChannelUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateMessageChannelMessageAssociationArgs = {
- data?: InputMaybe<MessageChannelMessageAssociationUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateMessageChannelMessageAssociationsArgs = {
- data?: InputMaybe<MessageChannelMessageAssociationUpdateInput>;
- filter?: InputMaybe<MessageChannelMessageAssociationFilterInput>;
-};
-
-
-export type MutationUpdateMessageChannelsArgs = {
- data?: InputMaybe<MessageChannelUpdateInput>;
- filter?: InputMaybe<MessageChannelFilterInput>;
-};
-
-
-export type MutationUpdateMessageParticipantArgs = {
- data?: InputMaybe<MessageParticipantUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateMessageParticipantsArgs = {
- data?: InputMaybe<MessageParticipantUpdateInput>;
- filter?: InputMaybe<MessageParticipantFilterInput>;
-};
-
-
-export type MutationUpdateMessageThreadArgs = {
- data?: InputMaybe<MessageThreadUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateMessageThreadsArgs = {
- data?: InputMaybe<MessageThreadUpdateInput>;
- filter?: InputMaybe<MessageThreadFilterInput>;
-};
-
-
-export type MutationUpdateMessagesArgs = {
- data?: InputMaybe<MessageUpdateInput>;
- filter?: InputMaybe<MessageFilterInput>;
-};
-
-
-export type MutationUpdateOneObjectArgs = {
- input: UpdateOneObjectInput;
-};
-
-
-export type MutationUpdateOpportunitiesArgs = {
- data?: InputMaybe<OpportunityUpdateInput>;
- filter?: InputMaybe<OpportunityFilterInput>;
-};
-
-
-export type MutationUpdateOpportunityArgs = {
- data?: InputMaybe<OpportunityUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdatePasswordViaResetTokenArgs = {
- newPassword: Scalars['String'];
- passwordResetToken: Scalars['String'];
-};
-
-
-export type MutationUpdatePeopleArgs = {
- data?: InputMaybe<PersonUpdateInput>;
- filter?: InputMaybe<PersonFilterInput>;
-};
-
-
-export type MutationUpdatePersonArgs = {
- data?: InputMaybe<PersonUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateTimelineActivitiesArgs = {
- data?: InputMaybe<TimelineActivityUpdateInput>;
- filter?: InputMaybe<TimelineActivityFilterInput>;
-};
-
-
-export type MutationUpdateTimelineActivityArgs = {
- data?: InputMaybe<TimelineActivityUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateViewArgs = {
- data?: InputMaybe<ViewUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateViewFieldArgs = {
- data?: InputMaybe<ViewFieldUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateViewFieldsArgs = {
- data?: InputMaybe<ViewFieldUpdateInput>;
- filter?: InputMaybe<ViewFieldFilterInput>;
-};
-
-
-export type MutationUpdateViewFilterArgs = {
- data?: InputMaybe<ViewFilterUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateViewFiltersArgs = {
- data?: InputMaybe<ViewFilterUpdateInput>;
- filter?: InputMaybe<ViewFilterFilterInput>;
-};
-
-
-export type MutationUpdateViewSortArgs = {
- data?: InputMaybe<ViewSortUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateViewSortsArgs = {
- data?: InputMaybe<ViewSortUpdateInput>;
- filter?: InputMaybe<ViewSortFilterInput>;
-};
-
-
-export type MutationUpdateViewsArgs = {
- data?: InputMaybe<ViewUpdateInput>;
- filter?: InputMaybe<ViewFilterInput>;
-};
-
-
-export type MutationUpdateWebhookArgs = {
- data?: InputMaybe<WebhookUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateWebhooksArgs = {
- data?: InputMaybe<WebhookUpdateInput>;
- filter?: InputMaybe<WebhookFilterInput>;
-};
-
-
-export type MutationUpdateWorkspaceArgs = {
- data: UpdateWorkspaceInput;
-};
-
-
-export type MutationUpdateWorkspaceMemberArgs = {
- data?: InputMaybe<WorkspaceMemberUpdateInput>;
- id?: InputMaybe<Scalars['ID']>;
-};
-
-
-export type MutationUpdateWorkspaceMembersArgs = {
- data?: InputMaybe<WorkspaceMemberUpdateInput>;
- filter?: InputMaybe<WorkspaceMemberFilterInput>;
-};
-
-
-export type MutationUploadFileArgs = {
- file: Scalars['Upload'];
- fileFolder?: InputMaybe<FileFolder>;
-};
-
-
-export type MutationUploadImageArgs = {
- file: Scalars['Upload'];
- fileFolder?: InputMaybe<FileFolder>;
-};
-
-
-export type MutationUploadProfilePictureArgs = {
- file: Scalars['Upload'];
-};
-
-
-export type MutationUploadWorkspaceLogoArgs = {
- file: Scalars['Upload'];
-};
-
-
-export type MutationVerifyArgs = {
- loginToken: Scalars['String'];
-};
-
-export type ObjectConnection = {
- /** Array of edges. */
- edges: Array<ObjectEdge>;
- /** Paging information */
- pageInfo: PageInfo;
-};
-
-export type ObjectFieldsConnection = {
- /** Array of edges. */
- edges: Array<FieldEdge>;
- /** Paging information */
- pageInfo: PageInfo;
-};
-
-/** Onboarding status */
-export enum OnboardingStatus {
- Completed = 'COMPLETED',
- InviteTeam = 'INVITE_TEAM',
- PlanRequired = 'PLAN_REQUIRED',
- ProfileCreation = 'PROFILE_CREATION',
- SyncEmail = 'SYNC_EMAIL',
- WorkspaceActivation = 'WORKSPACE_ACTIVATION'
-}
-
-export type OnboardingStepSuccess = {
- /** Boolean that confirms query was dispatched */
- success: Scalars['Boolean'];
-};
-
-/** An opportunity */
-export type Opportunity = {
- /** Activities tied to the opportunity */
- activityTargets?: Maybe<ActivityTargetConnection>;
- /** Opportunity amount */
- amount?: Maybe<Currency>;
- /** Attachments linked to the opportunity */
- attachments?: Maybe<AttachmentConnection>;
- /** Opportunity close date */
- closeDate?: Maybe<Scalars['DateTime']>;
- /** Opportunity company */
- company?: Maybe<Company>;
- /** Opportunity company id foreign key */
- companyId?: Maybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Favorites linked to the opportunity */
- favorites?: Maybe<FavoriteConnection>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** The opportunity name */
- name?: Maybe<Scalars['String']>;
- /** Opportunity point of contact */
- pointOfContact?: Maybe<Person>;
- /** Opportunity point of contact id foreign key */
- pointOfContactId?: Maybe<Scalars['UUID']>;
- /** Opportunity record position */
- position?: Maybe<Scalars['Position']>;
- /** Opportunity probability */
- probability?: Maybe<Scalars['String']>;
- /** Opportunity stage */
- stage?: Maybe<OpportunityStageEnum>;
- /** Timeline Activities linked to the opportunity. */
- timelineActivities?: Maybe<TimelineActivityConnection>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-
-/** An opportunity */
-export type OpportunityActivityTargetsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ActivityTargetFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ActivityTargetOrderByInput>>>;
-};
-
-
-/** An opportunity */
-export type OpportunityAttachmentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<AttachmentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<AttachmentOrderByInput>>>;
-};
-
-
-/** An opportunity */
-export type OpportunityFavoritesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<FavoriteFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<FavoriteOrderByInput>>>;
-};
-
-
-/** An opportunity */
-export type OpportunityTimelineActivitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<TimelineActivityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<TimelineActivityOrderByInput>>>;
-};
-
-/** An opportunity */
-export type OpportunityConnection = {
- edges?: Maybe<Array<OpportunityEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** An opportunity */
-export type OpportunityCreateInput = {
- /** Opportunity amount */
- amount?: InputMaybe<CurrencyCreateInput>;
- /** Opportunity close date */
- closeDate?: InputMaybe<Scalars['DateTime']>;
- /** Opportunity company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** The opportunity name */
- name?: InputMaybe<Scalars['String']>;
- /** Opportunity point of contact id foreign key */
- pointOfContactId?: InputMaybe<Scalars['UUID']>;
- /** Opportunity record position */
- position?: InputMaybe<Scalars['Position']>;
- /** Opportunity probability */
- probability?: InputMaybe<Scalars['String']>;
- /** Opportunity stage */
- stage?: InputMaybe<OpportunityStageEnum>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** An opportunity */
-export type OpportunityEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Opportunity>;
-};
-
-/** An opportunity */
-export type OpportunityFilterInput = {
- /** Opportunity amount */
- amount?: InputMaybe<CurrencyFilterInput>;
- and?: InputMaybe<Array<InputMaybe<OpportunityFilterInput>>>;
- /** Opportunity close date */
- closeDate?: InputMaybe<DateFilter>;
- /** Opportunity company id foreign key */
- companyId?: InputMaybe<IdFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** The opportunity name */
- name?: InputMaybe<StringFilter>;
- not?: InputMaybe<OpportunityFilterInput>;
- or?: InputMaybe<Array<InputMaybe<OpportunityFilterInput>>>;
- /** Opportunity point of contact id foreign key */
- pointOfContactId?: InputMaybe<IdFilter>;
- /** Opportunity record position */
- position?: InputMaybe<FloatFilter>;
- /** Opportunity probability */
- probability?: InputMaybe<StringFilter>;
- /** Opportunity stage */
- stage?: InputMaybe<OpportunityStageEnumFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** An opportunity */
-export type OpportunityOrderByInput = {
- /** Opportunity amount */
- amount?: InputMaybe<CurrencyOrderByInput>;
- /** Opportunity close date */
- closeDate?: InputMaybe<OrderByDirection>;
- /** Opportunity company id foreign key */
- companyId?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** The opportunity name */
- name?: InputMaybe<OrderByDirection>;
- /** Opportunity point of contact id foreign key */
- pointOfContactId?: InputMaybe<OrderByDirection>;
- /** Opportunity record position */
- position?: InputMaybe<OrderByDirection>;
- /** Opportunity probability */
- probability?: InputMaybe<OrderByDirection>;
- /** Opportunity stage */
- stage?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** Opportunity stage */
-export enum OpportunityStageEnum {
- /** Customer */
- Customer = 'CUSTOMER',
- /** Meeting */
- Meeting = 'MEETING',
- /** New */
- New = 'NEW',
- /** Proposal */
- Proposal = 'PROPOSAL',
- /** Screening */
- Screening = 'SCREENING'
-}
-
-export type OpportunityStageEnumFilter = {
- eq?: InputMaybe<OpportunityStageEnum>;
- in?: InputMaybe<Array<InputMaybe<OpportunityStageEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<OpportunityStageEnum>;
-};
-
-/** An opportunity */
-export type OpportunityUpdateInput = {
- /** Opportunity amount */
- amount?: InputMaybe<CurrencyUpdateInput>;
- /** Opportunity close date */
- closeDate?: InputMaybe<Scalars['DateTime']>;
- /** Opportunity company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** The opportunity name */
- name?: InputMaybe<Scalars['String']>;
- /** Opportunity point of contact id foreign key */
- pointOfContactId?: InputMaybe<Scalars['UUID']>;
- /** Opportunity record position */
- position?: InputMaybe<Scalars['Position']>;
- /** Opportunity probability */
- probability?: InputMaybe<Scalars['String']>;
- /** Opportunity stage */
- stage?: InputMaybe<OpportunityStageEnum>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** This enum is used to specify the order of results */
-export enum OrderByDirection {
- /** Ascending order, nulls first */
- AscNullsFirst = 'AscNullsFirst',
- /** Ascending order, nulls last */
- AscNullsLast = 'AscNullsLast',
- /** Descending order, nulls first */
- DescNullsFirst = 'DescNullsFirst',
- /** Descending order, nulls last */
- DescNullsLast = 'DescNullsLast'
-}
-
-export type PageInfo = {
- /** The cursor of the last returned record. */
- endCursor?: Maybe<Scalars['ConnectionCursor']>;
- /** true if paging forward and there are more records. */
- hasNextPage: Scalars['Boolean'];
- /** true if paging backwards and there are more records. */
- hasPreviousPage: Scalars['Boolean'];
- /** The cursor of the first returned record. */
- startCursor?: Maybe<Scalars['ConnectionCursor']>;
-};
-
-/** A person */
-export type Person = {
- /** Activities tied to the contact */
- activityTargets?: Maybe<ActivityTargetConnection>;
- /** Attachments linked to the contact. */
- attachments?: Maybe<AttachmentConnection>;
- /** Contact’s avatar */
- avatarUrl?: Maybe<Scalars['String']>;
- /** Calendar Event Participants */
- calendarEventParticipants?: Maybe<CalendarEventParticipantConnection>;
- /** Contact’s city */
- city?: Maybe<Scalars['String']>;
- /** Contact’s company */
- company?: Maybe<Company>;
- /** Contact’s company id foreign key */
- companyId?: Maybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Contact’s Email */
- email?: Maybe<Scalars['String']>;
- /** Favorites linked to the contact */
- favorites?: Maybe<FavoriteConnection>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Contact’s job title */
- jobTitle?: Maybe<Scalars['String']>;
- /** Contact’s Linkedin account */
- linkedinLink?: Maybe<Link>;
- /** Message Participants */
- messageParticipants?: Maybe<MessageParticipantConnection>;
- /** Contact’s name */
- name?: Maybe<FullName>;
- /** Contact’s phone number */
- phone?: Maybe<Scalars['String']>;
- /** Point of Contact for Opportunities */
- pointOfContactForOpportunities?: Maybe<OpportunityConnection>;
- /** Person record Position */
- position?: Maybe<Scalars['Position']>;
- /** Events linked to the company */
- timelineActivities?: Maybe<TimelineActivityConnection>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Contact’s X/Twitter account */
- xLink?: Maybe<Link>;
-};
-
-
-/** A person */
-export type PersonActivityTargetsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ActivityTargetFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ActivityTargetOrderByInput>>>;
-};
-
-
-/** A person */
-export type PersonAttachmentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<AttachmentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<AttachmentOrderByInput>>>;
-};
-
-
-/** A person */
-export type PersonCalendarEventParticipantsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarEventParticipantFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarEventParticipantOrderByInput>>>;
-};
-
-
-/** A person */
-export type PersonFavoritesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<FavoriteFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<FavoriteOrderByInput>>>;
-};
-
-
-/** A person */
-export type PersonMessageParticipantsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageParticipantFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageParticipantOrderByInput>>>;
-};
-
-
-/** A person */
-export type PersonPointOfContactForOpportunitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<OpportunityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<OpportunityOrderByInput>>>;
-};
-
-
-/** A person */
-export type PersonTimelineActivitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<TimelineActivityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<TimelineActivityOrderByInput>>>;
-};
-
-/** A person */
-export type PersonConnection = {
- edges?: Maybe<Array<PersonEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** A person */
-export type PersonCreateInput = {
- /** Contact’s avatar */
- avatarUrl?: InputMaybe<Scalars['String']>;
- /** Contact’s city */
- city?: InputMaybe<Scalars['String']>;
- /** Contact’s company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Contact’s Email */
- email?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Contact’s job title */
- jobTitle?: InputMaybe<Scalars['String']>;
- /** Contact’s Linkedin account */
- linkedinLink?: InputMaybe<LinkCreateInput>;
- /** Contact’s name */
- name?: InputMaybe<FullNameCreateInput>;
- /** Contact’s phone number */
- phone?: InputMaybe<Scalars['String']>;
- /** Person record Position */
- position?: InputMaybe<Scalars['Position']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Contact’s X/Twitter account */
- xLink?: InputMaybe<LinkCreateInput>;
-};
-
-/** A person */
-export type PersonEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Person>;
-};
-
-/** A person */
-export type PersonFilterInput = {
- and?: InputMaybe<Array<InputMaybe<PersonFilterInput>>>;
- /** Contact’s avatar */
- avatarUrl?: InputMaybe<StringFilter>;
- /** Contact’s city */
- city?: InputMaybe<StringFilter>;
- /** Contact’s company id foreign key */
- companyId?: InputMaybe<IdFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Contact’s Email */
- email?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Contact’s job title */
- jobTitle?: InputMaybe<StringFilter>;
- /** Contact’s Linkedin account */
- linkedinLink?: InputMaybe<LinkFilterInput>;
- /** Contact’s name */
- name?: InputMaybe<FullNameFilterInput>;
- not?: InputMaybe<PersonFilterInput>;
- or?: InputMaybe<Array<InputMaybe<PersonFilterInput>>>;
- /** Contact’s phone number */
- phone?: InputMaybe<StringFilter>;
- /** Person record Position */
- position?: InputMaybe<FloatFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Contact’s X/Twitter account */
- xLink?: InputMaybe<LinkFilterInput>;
-};
-
-/** A person */
-export type PersonOrderByInput = {
- /** Contact’s avatar */
- avatarUrl?: InputMaybe<OrderByDirection>;
- /** Contact’s city */
- city?: InputMaybe<OrderByDirection>;
- /** Contact’s company id foreign key */
- companyId?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Contact’s Email */
- email?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Contact’s job title */
- jobTitle?: InputMaybe<OrderByDirection>;
- /** Contact’s Linkedin account */
- linkedinLink?: InputMaybe<LinkOrderByInput>;
- /** Contact’s name */
- name?: InputMaybe<FullNameOrderByInput>;
- /** Contact’s phone number */
- phone?: InputMaybe<OrderByDirection>;
- /** Person record Position */
- position?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Contact’s X/Twitter account */
- xLink?: InputMaybe<LinkOrderByInput>;
-};
-
-/** A person */
-export type PersonUpdateInput = {
- /** Contact’s avatar */
- avatarUrl?: InputMaybe<Scalars['String']>;
- /** Contact’s city */
- city?: InputMaybe<Scalars['String']>;
- /** Contact’s company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Contact’s Email */
- email?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Contact’s job title */
- jobTitle?: InputMaybe<Scalars['String']>;
- /** Contact’s Linkedin account */
- linkedinLink?: InputMaybe<LinkUpdateInput>;
- /** Contact’s name */
- name?: InputMaybe<FullNameUpdateInput>;
- /** Contact’s phone number */
- phone?: InputMaybe<Scalars['String']>;
- /** Person record Position */
- position?: InputMaybe<Scalars['Position']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Contact’s X/Twitter account */
- xLink?: InputMaybe<LinkUpdateInput>;
-};
-
-export type PostgresCredentials = {
- id: Scalars['UUID'];
- password: Scalars['String'];
- user: Scalars['String'];
- workspaceId: Scalars['String'];
-};
-
-export type ProductPriceEntity = {
- created: Scalars['Float'];
- recurringInterval: SubscriptionInterval;
- stripePriceId: Scalars['String'];
- unitAmount: Scalars['Float'];
-};
-
-export type ProductPricesEntity = {
- productPrices: Array<ProductPriceEntity>;
- totalNumberOfPrices: Scalars['Int'];
-};
-
-export type Query = {
- activities?: Maybe<ActivityConnection>;
- activity?: Maybe<Activity>;
- activityDuplicates?: Maybe<Array<ActivityConnection>>;
- activityTarget?: Maybe<ActivityTarget>;
- activityTargetDuplicates?: Maybe<Array<ActivityTargetConnection>>;
- activityTargets?: Maybe<ActivityTargetConnection>;
- apiKey?: Maybe<ApiKey>;
- apiKeyDuplicates?: Maybe<Array<ApiKeyConnection>>;
- apiKeys?: Maybe<ApiKeyConnection>;
- attachment?: Maybe<Attachment>;
- attachmentDuplicates?: Maybe<Array<AttachmentConnection>>;
- attachments?: Maybe<AttachmentConnection>;
- auditLog?: Maybe<AuditLog>;
- auditLogDuplicates?: Maybe<Array<AuditLogConnection>>;
- auditLogs?: Maybe<AuditLogConnection>;
- billingPortalSession: SessionEntity;
- blocklist?: Maybe<Blocklist>;
- blocklistDuplicates?: Maybe<Array<BlocklistConnection>>;
- blocklists?: Maybe<BlocklistConnection>;
- calendarChannel?: Maybe<CalendarChannel>;
- calendarChannelDuplicates?: Maybe<Array<CalendarChannelConnection>>;
- calendarChannelEventAssociation?: Maybe<CalendarChannelEventAssociation>;
- calendarChannelEventAssociationDuplicates?: Maybe<Array<CalendarChannelEventAssociationConnection>>;
- calendarChannelEventAssociations?: Maybe<CalendarChannelEventAssociationConnection>;
- calendarChannels?: Maybe<CalendarChannelConnection>;
- calendarEvent?: Maybe<CalendarEvent>;
- calendarEventDuplicates?: Maybe<Array<CalendarEventConnection>>;
- calendarEventParticipant?: Maybe<CalendarEventParticipant>;
- calendarEventParticipantDuplicates?: Maybe<Array<CalendarEventParticipantConnection>>;
- calendarEventParticipants?: Maybe<CalendarEventParticipantConnection>;
- calendarEvents?: Maybe<CalendarEventConnection>;
- checkUserExists: UserExists;
- checkWorkspaceInviteHashIsValid: WorkspaceInviteHashValid;
- clientConfig: ClientConfig;
- comment?: Maybe<Comment>;
- commentDuplicates?: Maybe<Array<CommentConnection>>;
- comments?: Maybe<CommentConnection>;
- companies?: Maybe<CompanyConnection>;
- company?: Maybe<Company>;
- companyDuplicates?: Maybe<Array<CompanyConnection>>;
- connectedAccount?: Maybe<ConnectedAccount>;
- connectedAccountDuplicates?: Maybe<Array<ConnectedAccountConnection>>;
- connectedAccounts?: Maybe<ConnectedAccountConnection>;
- currentUser: User;
- currentWorkspace: Workspace;
- favorite?: Maybe<Favorite>;
- favoriteDuplicates?: Maybe<Array<FavoriteConnection>>;
- favorites?: Maybe<FavoriteConnection>;
- findWorkspaceFromInviteHash: Workspace;
- getPostgresCredentials?: Maybe<PostgresCredentials>;
- getProductPrices: ProductPricesEntity;
- getTimelineCalendarEventsFromCompanyId: TimelineCalendarEventsWithTotal;
- getTimelineCalendarEventsFromPersonId: TimelineCalendarEventsWithTotal;
- getTimelineThreadsFromCompanyId: TimelineThreadsWithTotal;
- getTimelineThreadsFromPersonId: TimelineThreadsWithTotal;
- message?: Maybe<Message>;
- messageChannel?: Maybe<MessageChannel>;
- messageChannelDuplicates?: Maybe<Array<MessageChannelConnection>>;
- messageChannelMessageAssociation?: Maybe<MessageChannelMessageAssociation>;
- messageChannelMessageAssociationDuplicates?: Maybe<Array<MessageChannelMessageAssociationConnection>>;
- messageChannelMessageAssociations?: Maybe<MessageChannelMessageAssociationConnection>;
- messageChannels?: Maybe<MessageChannelConnection>;
- messageDuplicates?: Maybe<Array<MessageConnection>>;
- messageParticipant?: Maybe<MessageParticipant>;
- messageParticipantDuplicates?: Maybe<Array<MessageParticipantConnection>>;
- messageParticipants?: Maybe<MessageParticipantConnection>;
- messageThread?: Maybe<MessageThread>;
- messageThreadDuplicates?: Maybe<Array<MessageThreadConnection>>;
- messageThreads?: Maybe<MessageThreadConnection>;
- messages?: Maybe<MessageConnection>;
- object: Object;
- objects: ObjectConnection;
- opportunities?: Maybe<OpportunityConnection>;
- opportunity?: Maybe<Opportunity>;
- opportunityDuplicates?: Maybe<Array<OpportunityConnection>>;
- people?: Maybe<PersonConnection>;
- person?: Maybe<Person>;
- personDuplicates?: Maybe<Array<PersonConnection>>;
- timelineActivities?: Maybe<TimelineActivityConnection>;
- timelineActivity?: Maybe<TimelineActivity>;
- timelineActivityDuplicates?: Maybe<Array<TimelineActivityConnection>>;
- validatePasswordResetToken: ValidatePasswordResetToken;
- view?: Maybe<View>;
- viewDuplicates?: Maybe<Array<ViewConnection>>;
- viewField?: Maybe<ViewField>;
- viewFieldDuplicates?: Maybe<Array<ViewFieldConnection>>;
- viewFields?: Maybe<ViewFieldConnection>;
- viewFilter?: Maybe<ViewFilter>;
- viewFilterDuplicates?: Maybe<Array<ViewFilterConnection>>;
- viewFilters?: Maybe<ViewFilterConnection>;
- viewSort?: Maybe<ViewSort>;
- viewSortDuplicates?: Maybe<Array<ViewSortConnection>>;
- viewSorts?: Maybe<ViewSortConnection>;
- views?: Maybe<ViewConnection>;
- webhook?: Maybe<Webhook>;
- webhookDuplicates?: Maybe<Array<WebhookConnection>>;
- webhooks?: Maybe<WebhookConnection>;
- workspaceMember?: Maybe<WorkspaceMember>;
- workspaceMemberDuplicates?: Maybe<Array<WorkspaceMemberConnection>>;
- workspaceMembers?: Maybe<WorkspaceMemberConnection>;
-};
-
-
-export type QueryActivitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ActivityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ActivityOrderByInput>>>;
-};
-
-
-export type QueryActivityArgs = {
- filter?: InputMaybe<ActivityFilterInput>;
-};
-
-
-export type QueryActivityDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<ActivityCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryActivityTargetArgs = {
- filter?: InputMaybe<ActivityTargetFilterInput>;
-};
-
-
-export type QueryActivityTargetDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<ActivityTargetCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryActivityTargetsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ActivityTargetFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ActivityTargetOrderByInput>>>;
-};
-
-
-export type QueryApiKeyArgs = {
- filter?: InputMaybe<ApiKeyFilterInput>;
-};
-
-
-export type QueryApiKeyDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<ApiKeyCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryApiKeysArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ApiKeyFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ApiKeyOrderByInput>>>;
-};
-
-
-export type QueryAttachmentArgs = {
- filter?: InputMaybe<AttachmentFilterInput>;
-};
-
-
-export type QueryAttachmentDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<AttachmentCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryAttachmentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<AttachmentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<AttachmentOrderByInput>>>;
-};
-
-
-export type QueryAuditLogArgs = {
- filter?: InputMaybe<AuditLogFilterInput>;
-};
-
-
-export type QueryAuditLogDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<AuditLogCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryAuditLogsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<AuditLogFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<AuditLogOrderByInput>>>;
-};
-
-
-export type QueryBillingPortalSessionArgs = {
- returnUrlPath?: InputMaybe<Scalars['String']>;
-};
-
-
-export type QueryBlocklistArgs = {
- filter?: InputMaybe<BlocklistFilterInput>;
-};
-
-
-export type QueryBlocklistDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<BlocklistCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryBlocklistsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<BlocklistFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<BlocklistOrderByInput>>>;
-};
-
-
-export type QueryCalendarChannelArgs = {
- filter?: InputMaybe<CalendarChannelFilterInput>;
-};
-
-
-export type QueryCalendarChannelDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<CalendarChannelCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryCalendarChannelEventAssociationArgs = {
- filter?: InputMaybe<CalendarChannelEventAssociationFilterInput>;
-};
-
-
-export type QueryCalendarChannelEventAssociationDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<CalendarChannelEventAssociationCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryCalendarChannelEventAssociationsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarChannelEventAssociationFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarChannelEventAssociationOrderByInput>>>;
-};
-
-
-export type QueryCalendarChannelsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarChannelFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarChannelOrderByInput>>>;
-};
-
-
-export type QueryCalendarEventArgs = {
- filter?: InputMaybe<CalendarEventFilterInput>;
-};
-
-
-export type QueryCalendarEventDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<CalendarEventCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryCalendarEventParticipantArgs = {
- filter?: InputMaybe<CalendarEventParticipantFilterInput>;
-};
-
-
-export type QueryCalendarEventParticipantDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<CalendarEventParticipantCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryCalendarEventParticipantsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarEventParticipantFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarEventParticipantOrderByInput>>>;
-};
-
-
-export type QueryCalendarEventsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarEventFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarEventOrderByInput>>>;
-};
-
-
-export type QueryCheckUserExistsArgs = {
- captchaToken?: InputMaybe<Scalars['String']>;
- email: Scalars['String'];
-};
-
-
-export type QueryCheckWorkspaceInviteHashIsValidArgs = {
- inviteHash: Scalars['String'];
-};
-
-
-export type QueryCommentArgs = {
- filter?: InputMaybe<CommentFilterInput>;
-};
-
-
-export type QueryCommentDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<CommentCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryCommentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CommentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CommentOrderByInput>>>;
-};
-
-
-export type QueryCompaniesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CompanyFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CompanyOrderByInput>>>;
-};
-
-
-export type QueryCompanyArgs = {
- filter?: InputMaybe<CompanyFilterInput>;
-};
-
-
-export type QueryCompanyDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<CompanyCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryConnectedAccountArgs = {
- filter?: InputMaybe<ConnectedAccountFilterInput>;
-};
-
-
-export type QueryConnectedAccountDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<ConnectedAccountCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryConnectedAccountsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ConnectedAccountFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ConnectedAccountOrderByInput>>>;
-};
-
-
-export type QueryFavoriteArgs = {
- filter?: InputMaybe<FavoriteFilterInput>;
-};
-
-
-export type QueryFavoriteDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<FavoriteCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryFavoritesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<FavoriteFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<FavoriteOrderByInput>>>;
-};
-
-
-export type QueryFindWorkspaceFromInviteHashArgs = {
- inviteHash: Scalars['String'];
-};
-
-
-export type QueryGetProductPricesArgs = {
- product: Scalars['String'];
-};
-
-
-export type QueryGetTimelineCalendarEventsFromCompanyIdArgs = {
- companyId: Scalars['UUID'];
- page: Scalars['Int'];
- pageSize: Scalars['Int'];
-};
-
-
-export type QueryGetTimelineCalendarEventsFromPersonIdArgs = {
- page: Scalars['Int'];
- pageSize: Scalars['Int'];
- personId: Scalars['UUID'];
-};
-
-
-export type QueryGetTimelineThreadsFromCompanyIdArgs = {
- companyId: Scalars['UUID'];
- page: Scalars['Int'];
- pageSize: Scalars['Int'];
-};
-
-
-export type QueryGetTimelineThreadsFromPersonIdArgs = {
- page: Scalars['Int'];
- pageSize: Scalars['Int'];
- personId: Scalars['UUID'];
-};
-
-
-export type QueryMessageArgs = {
- filter?: InputMaybe<MessageFilterInput>;
-};
-
-
-export type QueryMessageChannelArgs = {
- filter?: InputMaybe<MessageChannelFilterInput>;
-};
-
-
-export type QueryMessageChannelDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<MessageChannelCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryMessageChannelMessageAssociationArgs = {
- filter?: InputMaybe<MessageChannelMessageAssociationFilterInput>;
-};
-
-
-export type QueryMessageChannelMessageAssociationDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<MessageChannelMessageAssociationCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryMessageChannelMessageAssociationsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageChannelMessageAssociationFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageChannelMessageAssociationOrderByInput>>>;
-};
-
-
-export type QueryMessageChannelsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageChannelFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageChannelOrderByInput>>>;
-};
-
-
-export type QueryMessageDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<MessageCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryMessageParticipantArgs = {
- filter?: InputMaybe<MessageParticipantFilterInput>;
-};
-
-
-export type QueryMessageParticipantDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<MessageParticipantCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryMessageParticipantsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageParticipantFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageParticipantOrderByInput>>>;
-};
-
-
-export type QueryMessageThreadArgs = {
- filter?: InputMaybe<MessageThreadFilterInput>;
-};
-
-
-export type QueryMessageThreadDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<MessageThreadCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryMessageThreadsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageThreadFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageThreadOrderByInput>>>;
-};
-
-
-export type QueryMessagesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageOrderByInput>>>;
-};
-
-
-export type QueryOpportunitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<OpportunityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<OpportunityOrderByInput>>>;
-};
-
-
-export type QueryOpportunityArgs = {
- filter?: InputMaybe<OpportunityFilterInput>;
-};
-
-
-export type QueryOpportunityDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<OpportunityCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryPeopleArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<PersonFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<PersonOrderByInput>>>;
-};
-
-
-export type QueryPersonArgs = {
- filter?: InputMaybe<PersonFilterInput>;
-};
-
-
-export type QueryPersonDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<PersonCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryTimelineActivitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<TimelineActivityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<TimelineActivityOrderByInput>>>;
-};
-
-
-export type QueryTimelineActivityArgs = {
- filter?: InputMaybe<TimelineActivityFilterInput>;
-};
-
-
-export type QueryTimelineActivityDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<TimelineActivityCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryValidatePasswordResetTokenArgs = {
- passwordResetToken: Scalars['String'];
-};
-
-
-export type QueryViewArgs = {
- filter?: InputMaybe<ViewFilterInput>;
-};
-
-
-export type QueryViewDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<ViewCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryViewFieldArgs = {
- filter?: InputMaybe<ViewFieldFilterInput>;
-};
-
-
-export type QueryViewFieldDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<ViewFieldCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryViewFieldsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ViewFieldFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ViewFieldOrderByInput>>>;
-};
-
-
-export type QueryViewFilterArgs = {
- filter?: InputMaybe<ViewFilterFilterInput>;
-};
-
-
-export type QueryViewFilterDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<ViewFilterCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryViewFiltersArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ViewFilterFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ViewFilterOrderByInput>>>;
-};
-
-
-export type QueryViewSortArgs = {
- filter?: InputMaybe<ViewSortFilterInput>;
-};
-
-
-export type QueryViewSortDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<ViewSortCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryViewSortsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ViewSortFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ViewSortOrderByInput>>>;
-};
-
-
-export type QueryViewsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ViewFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ViewOrderByInput>>>;
-};
-
-
-export type QueryWebhookArgs = {
- filter?: InputMaybe<WebhookFilterInput>;
-};
-
-
-export type QueryWebhookDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<WebhookCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryWebhooksArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<WebhookFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<WebhookOrderByInput>>>;
-};
-
-
-export type QueryWorkspaceMemberArgs = {
- filter?: InputMaybe<WorkspaceMemberFilterInput>;
-};
-
-
-export type QueryWorkspaceMemberDuplicatesArgs = {
- data?: InputMaybe<Array<InputMaybe<WorkspaceMemberCreateInput>>>;
- ids?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
-};
-
-
-export type QueryWorkspaceMembersArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<WorkspaceMemberFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<WorkspaceMemberOrderByInput>>>;
-};
-
-export type RawJsonFilter = {
- is?: InputMaybe<FilterIs>;
-};
-
-export type RelationConnection = {
- /** Array of edges. */
- edges: Array<RelationEdge>;
- /** Paging information */
- pageInfo: PageInfo;
-};
-
-export type RelationDefinition = {
- direction: RelationType;
- relationId: Scalars['UUID'];
- sourceFieldMetadata: Field;
- sourceObjectMetadata: Object;
- targetFieldMetadata: Field;
- targetObjectMetadata: Object;
-};
-
-/** Relation definition type */
-export enum RelationType {
- ManyToMany = 'MANY_TO_MANY',
- ManyToOne = 'MANY_TO_ONE',
- OneToMany = 'ONE_TO_MANY',
- OneToOne = 'ONE_TO_ONE'
-}
-
-/** Type of the relation */
-export enum RelationMetadataType {
- ManyToMany = 'MANY_TO_MANY',
- ManyToOne = 'MANY_TO_ONE',
- OneToMany = 'ONE_TO_MANY',
- OneToOne = 'ONE_TO_ONE'
-}
-
-export type RemoteServer = {
- createdAt: Scalars['DateTime'];
- foreignDataWrapperId: Scalars['ID'];
- foreignDataWrapperOptions?: Maybe<Scalars['JSON']>;
- foreignDataWrapperType: Scalars['String'];
- id: Scalars['ID'];
- label: Scalars['String'];
- schema?: Maybe<Scalars['String']>;
- updatedAt: Scalars['DateTime'];
- userMappingOptions?: Maybe<UserMappingOptionsUser>;
-};
-
-export type RemoteTable = {
- id?: Maybe<Scalars['UUID']>;
- name: Scalars['String'];
- schema?: Maybe<Scalars['String']>;
- schemaPendingUpdates?: Maybe<Array<DistantTableUpdate>>;
- status: RemoteTableStatus;
-};
-
-/** Status of the table */
-export enum RemoteTableStatus {
- NotSynced = 'NOT_SYNCED',
- Synced = 'SYNCED'
-}
-
-export type SendInviteLink = {
- /** Boolean that confirms query was dispatched */
- success: Scalars['Boolean'];
-};
-
-export type Sentry = {
- dsn?: Maybe<Scalars['String']>;
- environment?: Maybe<Scalars['String']>;
- release?: Maybe<Scalars['String']>;
-};
-
-export type SessionEntity = {
- url?: Maybe<Scalars['String']>;
-};
-
-/** Sort Directions */
-export enum SortDirection {
- Asc = 'ASC',
- Desc = 'DESC'
-}
-
-/** Sort Nulls Options */
-export enum SortNulls {
- NullsFirst = 'NULLS_FIRST',
- NullsLast = 'NULLS_LAST'
-}
-
-export type StringFilter = {
- eq?: InputMaybe<Scalars['String']>;
- gt?: InputMaybe<Scalars['String']>;
- gte?: InputMaybe<Scalars['String']>;
- ilike?: InputMaybe<Scalars['String']>;
- in?: InputMaybe<Array<Scalars['String']>>;
- iregex?: InputMaybe<Scalars['String']>;
- is?: InputMaybe<FilterIs>;
- like?: InputMaybe<Scalars['String']>;
- lt?: InputMaybe<Scalars['String']>;
- lte?: InputMaybe<Scalars['String']>;
- neq?: InputMaybe<Scalars['String']>;
- regex?: InputMaybe<Scalars['String']>;
- startsWith?: InputMaybe<Scalars['String']>;
-};
-
-export enum SubscriptionInterval {
- Day = 'Day',
- Month = 'Month',
- Week = 'Week',
- Year = 'Year'
-}
-
-export enum SubscriptionStatus {
- Active = 'Active',
- Canceled = 'Canceled',
- Incomplete = 'Incomplete',
- IncompleteExpired = 'IncompleteExpired',
- PastDue = 'PastDue',
- Paused = 'Paused',
- Trialing = 'Trialing',
- Unpaid = 'Unpaid'
-}
-
-export type Support = {
- supportDriver: Scalars['String'];
- supportFrontChatId?: Maybe<Scalars['String']>;
-};
-
-export type Telemetry = {
- enabled: Scalars['Boolean'];
-};
-
-/** Aggregated / filtered event to be displayed on the timeline */
-export type TimelineActivity = {
- /** Event company */
- company?: Maybe<Company>;
- /** Event company id foreign key */
- companyId?: Maybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Creation date */
- happensAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** inked Object Metadata Id */
- linkedObjectMetadataId?: Maybe<Scalars['UUID']>;
- /** Cached record name */
- linkedRecordCachedName?: Maybe<Scalars['String']>;
- /** Linked Record id */
- linkedRecordId?: Maybe<Scalars['UUID']>;
- /** Event name */
- name?: Maybe<Scalars['String']>;
- /** Event opportunity */
- opportunity?: Maybe<Opportunity>;
- /** Event opportunity id foreign key */
- opportunityId?: Maybe<Scalars['UUID']>;
- /** Event person */
- person?: Maybe<Person>;
- /** Event person id foreign key */
- personId?: Maybe<Scalars['UUID']>;
- /** Json value for event details */
- properties?: Maybe<Scalars['RawJSONScalar']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Event workspace member */
- workspaceMember?: Maybe<WorkspaceMember>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: Maybe<Scalars['UUID']>;
-};
-
-/** Aggregated / filtered event to be displayed on the timeline */
-export type TimelineActivityConnection = {
- edges?: Maybe<Array<TimelineActivityEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** Aggregated / filtered event to be displayed on the timeline */
-export type TimelineActivityCreateInput = {
- /** Event company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Creation date */
- happensAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** inked Object Metadata Id */
- linkedObjectMetadataId?: InputMaybe<Scalars['UUID']>;
- /** Cached record name */
- linkedRecordCachedName?: InputMaybe<Scalars['String']>;
- /** Linked Record id */
- linkedRecordId?: InputMaybe<Scalars['UUID']>;
- /** Event name */
- name?: InputMaybe<Scalars['String']>;
- /** Event opportunity id foreign key */
- opportunityId?: InputMaybe<Scalars['UUID']>;
- /** Event person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Json value for event details */
- properties?: InputMaybe<Scalars['RawJSONScalar']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** Aggregated / filtered event to be displayed on the timeline */
-export type TimelineActivityEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<TimelineActivity>;
-};
-
-/** Aggregated / filtered event to be displayed on the timeline */
-export type TimelineActivityFilterInput = {
- and?: InputMaybe<Array<InputMaybe<TimelineActivityFilterInput>>>;
- /** Event company id foreign key */
- companyId?: InputMaybe<IdFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Creation date */
- happensAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** inked Object Metadata Id */
- linkedObjectMetadataId?: InputMaybe<IdFilter>;
- /** Cached record name */
- linkedRecordCachedName?: InputMaybe<StringFilter>;
- /** Linked Record id */
- linkedRecordId?: InputMaybe<IdFilter>;
- /** Event name */
- name?: InputMaybe<StringFilter>;
- not?: InputMaybe<TimelineActivityFilterInput>;
- /** Event opportunity id foreign key */
- opportunityId?: InputMaybe<IdFilter>;
- or?: InputMaybe<Array<InputMaybe<TimelineActivityFilterInput>>>;
- /** Event person id foreign key */
- personId?: InputMaybe<IdFilter>;
- /** Json value for event details */
- properties?: InputMaybe<RawJsonFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: InputMaybe<IdFilter>;
-};
-
-/** Aggregated / filtered event to be displayed on the timeline */
-export type TimelineActivityOrderByInput = {
- /** Event company id foreign key */
- companyId?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Creation date */
- happensAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** inked Object Metadata Id */
- linkedObjectMetadataId?: InputMaybe<OrderByDirection>;
- /** Cached record name */
- linkedRecordCachedName?: InputMaybe<OrderByDirection>;
- /** Linked Record id */
- linkedRecordId?: InputMaybe<OrderByDirection>;
- /** Event name */
- name?: InputMaybe<OrderByDirection>;
- /** Event opportunity id foreign key */
- opportunityId?: InputMaybe<OrderByDirection>;
- /** Event person id foreign key */
- personId?: InputMaybe<OrderByDirection>;
- /** Json value for event details */
- properties?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: InputMaybe<OrderByDirection>;
-};
-
-/** Aggregated / filtered event to be displayed on the timeline */
-export type TimelineActivityUpdateInput = {
- /** Event company id foreign key */
- companyId?: InputMaybe<Scalars['UUID']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Creation date */
- happensAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** inked Object Metadata Id */
- linkedObjectMetadataId?: InputMaybe<Scalars['UUID']>;
- /** Cached record name */
- linkedRecordCachedName?: InputMaybe<Scalars['String']>;
- /** Linked Record id */
- linkedRecordId?: InputMaybe<Scalars['UUID']>;
- /** Event name */
- name?: InputMaybe<Scalars['String']>;
- /** Event opportunity id foreign key */
- opportunityId?: InputMaybe<Scalars['UUID']>;
- /** Event person id foreign key */
- personId?: InputMaybe<Scalars['UUID']>;
- /** Json value for event details */
- properties?: InputMaybe<Scalars['RawJSONScalar']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Event workspace member id foreign key */
- workspaceMemberId?: InputMaybe<Scalars['UUID']>;
-};
-
-export type TimelineCalendarEvent = {
- conferenceLink: LinkMetadata;
- conferenceSolution: Scalars['String'];
- description: Scalars['String'];
- endsAt: Scalars['DateTime'];
- id: Scalars['UUID'];
- isCanceled: Scalars['Boolean'];
- isFullDay: Scalars['Boolean'];
- location: Scalars['String'];
- participants: Array<TimelineCalendarEventParticipant>;
- startsAt: Scalars['DateTime'];
- title: Scalars['String'];
- visibility: CalendarChannelVisibility;
-};
-
-export type TimelineCalendarEventParticipant = {
- avatarUrl: Scalars['String'];
- displayName: Scalars['String'];
- firstName: Scalars['String'];
- handle: Scalars['String'];
- lastName: Scalars['String'];
- personId?: Maybe<Scalars['UUID']>;
- workspaceMemberId?: Maybe<Scalars['UUID']>;
-};
-
-export type TimelineCalendarEventsWithTotal = {
- timelineCalendarEvents: Array<TimelineCalendarEvent>;
- totalNumberOfCalendarEvents: Scalars['Int'];
-};
-
-export type TimelineThread = {
- firstParticipant: TimelineThreadParticipant;
- id: Scalars['UUID'];
- lastMessageBody: Scalars['String'];
- lastMessageReceivedAt: Scalars['DateTime'];
- lastTwoParticipants: Array<TimelineThreadParticipant>;
- numberOfMessagesInThread: Scalars['Float'];
- participantCount: Scalars['Float'];
- read: Scalars['Boolean'];
- subject: Scalars['String'];
- visibility: MessageChannelVisibility;
-};
-
-export type TimelineThreadParticipant = {
- avatarUrl: Scalars['String'];
- displayName: Scalars['String'];
- firstName: Scalars['String'];
- handle: Scalars['String'];
- lastName: Scalars['String'];
- personId?: Maybe<Scalars['UUID']>;
- workspaceMemberId?: Maybe<Scalars['UUID']>;
-};
-
-export type TimelineThreadsWithTotal = {
- timelineThreads: Array<TimelineThread>;
- totalNumberOfThreads: Scalars['Int'];
-};
-
-export type TransientToken = {
- transientToken: AuthToken;
-};
-
-export type UuidFilterComparison = {
- eq?: InputMaybe<Scalars['UUID']>;
- gt?: InputMaybe<Scalars['UUID']>;
- gte?: InputMaybe<Scalars['UUID']>;
- iLike?: InputMaybe<Scalars['UUID']>;
- in?: InputMaybe<Array<Scalars['UUID']>>;
- is?: InputMaybe<Scalars['Boolean']>;
- isNot?: InputMaybe<Scalars['Boolean']>;
- like?: InputMaybe<Scalars['UUID']>;
- lt?: InputMaybe<Scalars['UUID']>;
- lte?: InputMaybe<Scalars['UUID']>;
- neq?: InputMaybe<Scalars['UUID']>;
- notILike?: InputMaybe<Scalars['UUID']>;
- notIn?: InputMaybe<Array<Scalars['UUID']>>;
- notLike?: InputMaybe<Scalars['UUID']>;
-};
-
-export type UpdateBillingEntity = {
- /** Boolean that confirms query was successful */
- success: Scalars['Boolean'];
-};
-
-export type UpdateObjectPayload = {
- description?: InputMaybe<Scalars['String']>;
- icon?: InputMaybe<Scalars['String']>;
- imageIdentifierFieldMetadataId?: InputMaybe<Scalars['String']>;
- isActive?: InputMaybe<Scalars['Boolean']>;
- labelIdentifierFieldMetadataId?: InputMaybe<Scalars['String']>;
- labelPlural?: InputMaybe<Scalars['String']>;
- labelSingular?: InputMaybe<Scalars['String']>;
- namePlural?: InputMaybe<Scalars['String']>;
- nameSingular?: InputMaybe<Scalars['String']>;
-};
-
-export type UpdateOneObjectInput = {
- /** The id of the object to update */
- id: Scalars['UUID'];
- update: UpdateObjectPayload;
-};
-
-export type UpdateWorkspaceInput = {
- allowImpersonation?: InputMaybe<Scalars['Boolean']>;
- displayName?: InputMaybe<Scalars['String']>;
- domainName?: InputMaybe<Scalars['String']>;
- inviteHash?: InputMaybe<Scalars['String']>;
- logo?: InputMaybe<Scalars['String']>;
-};
-
-export type User = {
- canImpersonate: Scalars['Boolean'];
- createdAt: Scalars['DateTime'];
- defaultAvatarUrl?: Maybe<Scalars['String']>;
- defaultWorkspace: Workspace;
- defaultWorkspaceId: Scalars['String'];
- deletedAt?: Maybe<Scalars['DateTime']>;
- disabled?: Maybe<Scalars['Boolean']>;
- email: Scalars['String'];
- emailVerified: Scalars['Boolean'];
- firstName: Scalars['String'];
- id: Scalars['UUID'];
- lastName: Scalars['String'];
- onboardingStatus?: Maybe<OnboardingStatus>;
- passwordHash?: Maybe<Scalars['String']>;
- /** @deprecated field migrated into the AppTokens Table ref: https://github.com/twentyhq/twenty/issues/5021 */
- passwordResetToken?: Maybe<Scalars['String']>;
- /** @deprecated field migrated into the AppTokens Table ref: https://github.com/twentyhq/twenty/issues/5021 */
- passwordResetTokenExpiresAt?: Maybe<Scalars['DateTime']>;
- supportUserHash?: Maybe<Scalars['String']>;
- updatedAt: Scalars['DateTime'];
- workspaceMember?: Maybe<WorkspaceMember>;
- workspaces: Array<UserWorkspace>;
-};
-
-export type UserEdge = {
- /** Cursor for this node. */
- cursor: Scalars['ConnectionCursor'];
- /** The node containing the User */
- node: User;
-};
-
-export type UserExists = {
- exists: Scalars['Boolean'];
-};
-
-export type UserMappingOptionsUser = {
- user?: Maybe<Scalars['String']>;
-};
-
-export type UserWorkspace = {
- createdAt: Scalars['DateTime'];
- deletedAt?: Maybe<Scalars['DateTime']>;
- id: Scalars['UUID'];
- updatedAt: Scalars['DateTime'];
- user: User;
- userId: Scalars['String'];
- workspace?: Maybe<Workspace>;
- workspaceId: Scalars['String'];
-};
-
-export type ValidatePasswordResetToken = {
- email: Scalars['String'];
- id: Scalars['String'];
-};
-
-export type Verify = {
- tokens: AuthTokenPair;
- user: User;
-};
-
-/** (System) Views */
-export type View = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** View icon */
- icon?: Maybe<Scalars['String']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Describes if the view is in compact mode */
- isCompact?: Maybe<Scalars['Boolean']>;
- /** View Kanban column field */
- kanbanFieldMetadataId?: Maybe<Scalars['String']>;
- /** View key */
- key?: Maybe<ViewKeyEnum>;
- /** View name */
- name?: Maybe<Scalars['String']>;
- /** View target object */
- objectMetadataId?: Maybe<Scalars['UUID']>;
- /** View position */
- position?: Maybe<Scalars['Position']>;
- /** View type */
- type?: Maybe<Scalars['String']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** View Fields */
- viewFields?: Maybe<ViewFieldConnection>;
- /** View Filters */
- viewFilters?: Maybe<ViewFilterConnection>;
- /** View Sorts */
- viewSorts?: Maybe<ViewSortConnection>;
-};
-
-
-/** (System) Views */
-export type ViewViewFieldsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ViewFieldFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ViewFieldOrderByInput>>>;
-};
-
-
-/** (System) Views */
-export type ViewViewFiltersArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ViewFilterFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ViewFilterOrderByInput>>>;
-};
-
-
-/** (System) Views */
-export type ViewViewSortsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ViewSortFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ViewSortOrderByInput>>>;
-};
-
-/** (System) Views */
-export type ViewConnection = {
- edges?: Maybe<Array<ViewEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** (System) Views */
-export type ViewCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** View icon */
- icon?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Describes if the view is in compact mode */
- isCompact?: InputMaybe<Scalars['Boolean']>;
- /** View Kanban column field */
- kanbanFieldMetadataId?: InputMaybe<Scalars['String']>;
- /** View key */
- key?: InputMaybe<ViewKeyEnum>;
- /** View name */
- name?: InputMaybe<Scalars['String']>;
- /** View target object */
- objectMetadataId: Scalars['UUID'];
- /** View position */
- position?: InputMaybe<Scalars['Position']>;
- /** View type */
- type?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** (System) Views */
-export type ViewEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<View>;
-};
-
-/** (System) View Fields */
-export type ViewField = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** View Field target field */
- fieldMetadataId?: Maybe<Scalars['UUID']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** View Field visibility */
- isVisible?: Maybe<Scalars['Boolean']>;
- /** View Field position */
- position?: Maybe<Scalars['Float']>;
- /** View Field size */
- size?: Maybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** View Field related view */
- view?: Maybe<View>;
- /** View Field related view id foreign key */
- viewId?: Maybe<Scalars['UUID']>;
-};
-
-/** (System) View Fields */
-export type ViewFieldConnection = {
- edges?: Maybe<Array<ViewFieldEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** (System) View Fields */
-export type ViewFieldCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** View Field target field */
- fieldMetadataId: Scalars['UUID'];
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** View Field visibility */
- isVisible?: InputMaybe<Scalars['Boolean']>;
- /** View Field position */
- position?: InputMaybe<Scalars['Float']>;
- /** View Field size */
- size?: InputMaybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** View Field related view id foreign key */
- viewId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** (System) View Fields */
-export type ViewFieldEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<ViewField>;
-};
-
-/** (System) View Fields */
-export type ViewFieldFilterInput = {
- and?: InputMaybe<Array<InputMaybe<ViewFieldFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** View Field target field */
- fieldMetadataId?: InputMaybe<IdFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** View Field visibility */
- isVisible?: InputMaybe<BooleanFilter>;
- not?: InputMaybe<ViewFieldFilterInput>;
- or?: InputMaybe<Array<InputMaybe<ViewFieldFilterInput>>>;
- /** View Field position */
- position?: InputMaybe<FloatFilter>;
- /** View Field size */
- size?: InputMaybe<FloatFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** View Field related view id foreign key */
- viewId?: InputMaybe<IdFilter>;
-};
-
-/** (System) View Fields */
-export type ViewFieldOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** View Field target field */
- fieldMetadataId?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** View Field visibility */
- isVisible?: InputMaybe<OrderByDirection>;
- /** View Field position */
- position?: InputMaybe<OrderByDirection>;
- /** View Field size */
- size?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** View Field related view id foreign key */
- viewId?: InputMaybe<OrderByDirection>;
-};
-
-/** (System) View Fields */
-export type ViewFieldUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** View Field target field */
- fieldMetadataId?: InputMaybe<Scalars['UUID']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** View Field visibility */
- isVisible?: InputMaybe<Scalars['Boolean']>;
- /** View Field position */
- position?: InputMaybe<Scalars['Float']>;
- /** View Field size */
- size?: InputMaybe<Scalars['Float']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** View Field related view id foreign key */
- viewId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** (System) View Filters */
-export type ViewFilter = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** View Filter Display Value */
- displayValue?: Maybe<Scalars['String']>;
- /** View Filter target field */
- fieldMetadataId?: Maybe<Scalars['UUID']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** View Filter operand */
- operand?: Maybe<Scalars['String']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** View Filter value */
- value?: Maybe<Scalars['String']>;
- /** View Filter related view */
- view?: Maybe<View>;
- /** View Filter related view id foreign key */
- viewId?: Maybe<Scalars['UUID']>;
-};
-
-/** (System) View Filters */
-export type ViewFilterConnection = {
- edges?: Maybe<Array<ViewFilterEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** (System) View Filters */
-export type ViewFilterCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** View Filter Display Value */
- displayValue?: InputMaybe<Scalars['String']>;
- /** View Filter target field */
- fieldMetadataId: Scalars['UUID'];
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** View Filter operand */
- operand?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** View Filter value */
- value?: InputMaybe<Scalars['String']>;
- /** View Filter related view id foreign key */
- viewId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** (System) View Filters */
-export type ViewFilterEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<ViewFilter>;
-};
-
-/** (System) View Filters */
-export type ViewFilterFilterInput = {
- and?: InputMaybe<Array<InputMaybe<ViewFilterFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** View Filter Display Value */
- displayValue?: InputMaybe<StringFilter>;
- /** View Filter target field */
- fieldMetadataId?: InputMaybe<IdFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<ViewFilterFilterInput>;
- /** View Filter operand */
- operand?: InputMaybe<StringFilter>;
- or?: InputMaybe<Array<InputMaybe<ViewFilterFilterInput>>>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** View Filter value */
- value?: InputMaybe<StringFilter>;
- /** View Filter related view id foreign key */
- viewId?: InputMaybe<IdFilter>;
-};
-
-/** (System) Views */
-export type ViewFilterInput = {
- and?: InputMaybe<Array<InputMaybe<ViewFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** View icon */
- icon?: InputMaybe<StringFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Describes if the view is in compact mode */
- isCompact?: InputMaybe<BooleanFilter>;
- /** View Kanban column field */
- kanbanFieldMetadataId?: InputMaybe<StringFilter>;
- /** View key */
- key?: InputMaybe<ViewKeyEnumFilter>;
- /** View name */
- name?: InputMaybe<StringFilter>;
- not?: InputMaybe<ViewFilterInput>;
- /** View target object */
- objectMetadataId?: InputMaybe<IdFilter>;
- or?: InputMaybe<Array<InputMaybe<ViewFilterInput>>>;
- /** View position */
- position?: InputMaybe<FloatFilter>;
- /** View type */
- type?: InputMaybe<StringFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** (System) View Filters */
-export type ViewFilterOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** View Filter Display Value */
- displayValue?: InputMaybe<OrderByDirection>;
- /** View Filter target field */
- fieldMetadataId?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** View Filter operand */
- operand?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** View Filter value */
- value?: InputMaybe<OrderByDirection>;
- /** View Filter related view id foreign key */
- viewId?: InputMaybe<OrderByDirection>;
-};
-
-/** (System) View Filters */
-export type ViewFilterUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** View Filter Display Value */
- displayValue?: InputMaybe<Scalars['String']>;
- /** View Filter target field */
- fieldMetadataId?: InputMaybe<Scalars['UUID']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** View Filter operand */
- operand?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** View Filter value */
- value?: InputMaybe<Scalars['String']>;
- /** View Filter related view id foreign key */
- viewId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** View key */
-export enum ViewKeyEnum {
- /** Index */
- Index = 'INDEX'
-}
-
-export type ViewKeyEnumFilter = {
- eq?: InputMaybe<ViewKeyEnum>;
- in?: InputMaybe<Array<InputMaybe<ViewKeyEnum>>>;
- is?: InputMaybe<FilterIs>;
- neq?: InputMaybe<ViewKeyEnum>;
-};
-
-/** (System) Views */
-export type ViewOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** View icon */
- icon?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Describes if the view is in compact mode */
- isCompact?: InputMaybe<OrderByDirection>;
- /** View Kanban column field */
- kanbanFieldMetadataId?: InputMaybe<OrderByDirection>;
- /** View key */
- key?: InputMaybe<OrderByDirection>;
- /** View name */
- name?: InputMaybe<OrderByDirection>;
- /** View target object */
- objectMetadataId?: InputMaybe<OrderByDirection>;
- /** View position */
- position?: InputMaybe<OrderByDirection>;
- /** View type */
- type?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** (System) View Sorts */
-export type ViewSort = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** View Sort direction */
- direction?: Maybe<Scalars['String']>;
- /** View Sort target field */
- fieldMetadataId?: Maybe<Scalars['UUID']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** View Sort related view */
- view?: Maybe<View>;
- /** View Sort related view id foreign key */
- viewId?: Maybe<Scalars['UUID']>;
-};
-
-/** (System) View Sorts */
-export type ViewSortConnection = {
- edges?: Maybe<Array<ViewSortEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** (System) View Sorts */
-export type ViewSortCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** View Sort direction */
- direction?: InputMaybe<Scalars['String']>;
- /** View Sort target field */
- fieldMetadataId: Scalars['UUID'];
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** View Sort related view id foreign key */
- viewId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** (System) View Sorts */
-export type ViewSortEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<ViewSort>;
-};
-
-/** (System) View Sorts */
-export type ViewSortFilterInput = {
- and?: InputMaybe<Array<InputMaybe<ViewSortFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** View Sort direction */
- direction?: InputMaybe<StringFilter>;
- /** View Sort target field */
- fieldMetadataId?: InputMaybe<IdFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<ViewSortFilterInput>;
- or?: InputMaybe<Array<InputMaybe<ViewSortFilterInput>>>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** View Sort related view id foreign key */
- viewId?: InputMaybe<IdFilter>;
-};
-
-/** (System) View Sorts */
-export type ViewSortOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** View Sort direction */
- direction?: InputMaybe<OrderByDirection>;
- /** View Sort target field */
- fieldMetadataId?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** View Sort related view id foreign key */
- viewId?: InputMaybe<OrderByDirection>;
-};
-
-/** (System) View Sorts */
-export type ViewSortUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** View Sort direction */
- direction?: InputMaybe<Scalars['String']>;
- /** View Sort target field */
- fieldMetadataId?: InputMaybe<Scalars['UUID']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** View Sort related view id foreign key */
- viewId?: InputMaybe<Scalars['UUID']>;
-};
-
-/** (System) Views */
-export type ViewUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** View icon */
- icon?: InputMaybe<Scalars['String']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Describes if the view is in compact mode */
- isCompact?: InputMaybe<Scalars['Boolean']>;
- /** View Kanban column field */
- kanbanFieldMetadataId?: InputMaybe<Scalars['String']>;
- /** View key */
- key?: InputMaybe<ViewKeyEnum>;
- /** View name */
- name?: InputMaybe<Scalars['String']>;
- /** View target object */
- objectMetadataId?: InputMaybe<Scalars['UUID']>;
- /** View position */
- position?: InputMaybe<Scalars['Position']>;
- /** View type */
- type?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** A webhook */
-export type Webhook = {
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Id */
- id?: Maybe<Scalars['UUID']>;
- /** Webhook operation */
- operation?: Maybe<Scalars['String']>;
- /** Webhook target url */
- targetUrl?: Maybe<Scalars['String']>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
-};
-
-/** A webhook */
-export type WebhookConnection = {
- edges?: Maybe<Array<WebhookEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** A webhook */
-export type WebhookCreateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Webhook operation */
- operation?: InputMaybe<Scalars['String']>;
- /** Webhook target url */
- targetUrl?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-/** A webhook */
-export type WebhookEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<Webhook>;
-};
-
-/** A webhook */
-export type WebhookFilterInput = {
- and?: InputMaybe<Array<InputMaybe<WebhookFilterInput>>>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- not?: InputMaybe<WebhookFilterInput>;
- /** Webhook operation */
- operation?: InputMaybe<StringFilter>;
- or?: InputMaybe<Array<InputMaybe<WebhookFilterInput>>>;
- /** Webhook target url */
- targetUrl?: InputMaybe<StringFilter>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
-};
-
-/** A webhook */
-export type WebhookOrderByInput = {
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Webhook operation */
- operation?: InputMaybe<OrderByDirection>;
- /** Webhook target url */
- targetUrl?: InputMaybe<OrderByDirection>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
-};
-
-/** A webhook */
-export type WebhookUpdateInput = {
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Webhook operation */
- operation?: InputMaybe<Scalars['String']>;
- /** Webhook target url */
- targetUrl?: InputMaybe<Scalars['String']>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
-};
-
-export type Workspace = {
- activationStatus: Scalars['String'];
- allowImpersonation: Scalars['Boolean'];
- billingSubscriptions?: Maybe<Array<BillingSubscription>>;
- createdAt: Scalars['DateTime'];
- currentBillingSubscription?: Maybe<BillingSubscription>;
- metadataVersion?: Maybe<Scalars['String']>;
- deletedAt?: Maybe<Scalars['DateTime']>;
- displayName?: Maybe<Scalars['String']>;
- domainName?: Maybe<Scalars['String']>;
- featureFlags?: Maybe<Array<FeatureFlag>>;
- id: Scalars['UUID'];
- inviteHash?: Maybe<Scalars['String']>;
- logo?: Maybe<Scalars['String']>;
- updatedAt: Scalars['DateTime'];
- workspaceMembersCount?: Maybe<Scalars['Float']>;
-};
-
-
-export type WorkspaceBillingSubscriptionsArgs = {
- filter?: BillingSubscriptionFilter;
- sorting?: Array<BillingSubscriptionSort>;
-};
-
-
-export type WorkspaceFeatureFlagsArgs = {
- filter?: FeatureFlagFilter;
- sorting?: Array<FeatureFlagSort>;
-};
-
-export type WorkspaceEdge = {
- /** Cursor for this node. */
- cursor: Scalars['ConnectionCursor'];
- /** The node containing the Workspace */
- node: Workspace;
-};
-
-export type WorkspaceInviteHashValid = {
- isValid: Scalars['Boolean'];
-};
-
-/** A workspace member */
-export type WorkspaceMember = {
- /** Account owner for companies */
- accountOwnerForCompanies?: Maybe<CompanyConnection>;
- /** Activities assigned to the workspace member */
- assignedActivities?: Maybe<ActivityConnection>;
- /** Audit Logs linked to the workspace member */
- auditLogs?: Maybe<AuditLogConnection>;
- /** Activities created by the workspace member */
- authoredActivities?: Maybe<ActivityConnection>;
- /** Attachments created by the workspace member */
- authoredAttachments?: Maybe<AttachmentConnection>;
- /** Authored comments */
- authoredComments?: Maybe<CommentConnection>;
- /** Workspace member avatar */
- avatarUrl?: Maybe<Scalars['String']>;
- /** Blocklisted handles */
- blocklist?: Maybe<BlocklistConnection>;
- /** Calendar Event Participants */
- calendarEventParticipants?: Maybe<CalendarEventParticipantConnection>;
- /** Preferred color scheme */
- colorScheme: Scalars['String'];
- /** Connected accounts */
- connectedAccounts?: Maybe<ConnectedAccountConnection>;
- /** Creation date */
- createdAt?: Maybe<Scalars['DateTime']>;
- /** Favorites linked to the workspace member */
- favorites?: Maybe<FavoriteConnection>;
- /** Id */
- id: Scalars['UUID'];
- /** Preferred language */
- locale: Scalars['String'];
- /** Message Participants */
- messageParticipants?: Maybe<MessageParticipantConnection>;
- /** Workspace member name */
- name: FullName;
- /** Events linked to the workspace member */
- timelineActivities?: Maybe<TimelineActivityConnection>;
- /** Update date */
- updatedAt?: Maybe<Scalars['DateTime']>;
- /** Related user email address */
- userEmail?: Maybe<Scalars['String']>;
- /** Associated User Id */
- userId?: Maybe<Scalars['UUID']>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberAccountOwnerForCompaniesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CompanyFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CompanyOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberAssignedActivitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ActivityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ActivityOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberAuditLogsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<AuditLogFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<AuditLogOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberAuthoredActivitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ActivityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ActivityOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberAuthoredAttachmentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<AttachmentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<AttachmentOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberAuthoredCommentsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CommentFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CommentOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberBlocklistArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<BlocklistFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<BlocklistOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberCalendarEventParticipantsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<CalendarEventParticipantFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<CalendarEventParticipantOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberConnectedAccountsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<ConnectedAccountFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<ConnectedAccountOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberFavoritesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<FavoriteFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<FavoriteOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberMessageParticipantsArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<MessageParticipantFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<MessageParticipantOrderByInput>>>;
-};
-
-
-/** A workspace member */
-export type WorkspaceMemberTimelineActivitiesArgs = {
- after?: InputMaybe<Scalars['String']>;
- before?: InputMaybe<Scalars['String']>;
- filter?: InputMaybe<TimelineActivityFilterInput>;
- first?: InputMaybe<Scalars['Int']>;
- last?: InputMaybe<Scalars['Int']>;
- limit?: InputMaybe<Scalars['Int']>;
- orderBy?: InputMaybe<Array<InputMaybe<TimelineActivityOrderByInput>>>;
-};
-
-/** A workspace member */
-export type WorkspaceMemberConnection = {
- edges?: Maybe<Array<WorkspaceMemberEdge>>;
- pageInfo?: Maybe<PageInfo>;
- /** Total number of records in the connection */
- totalCount?: Maybe<Scalars['Int']>;
-};
-
-/** A workspace member */
-export type WorkspaceMemberCreateInput = {
- /** Workspace member avatar */
- avatarUrl?: InputMaybe<Scalars['String']>;
- /** Preferred color scheme */
- colorScheme?: InputMaybe<Scalars['String']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Preferred language */
- locale?: InputMaybe<Scalars['String']>;
- /** Workspace member name */
- name?: InputMaybe<FullNameCreateInput>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Related user email address */
- userEmail?: InputMaybe<Scalars['String']>;
- /** Associated User Id */
- userId: Scalars['UUID'];
-};
-
-/** A workspace member */
-export type WorkspaceMemberEdge = {
- cursor?: Maybe<Scalars['Cursor']>;
- node?: Maybe<WorkspaceMember>;
-};
-
-/** A workspace member */
-export type WorkspaceMemberFilterInput = {
- and?: InputMaybe<Array<InputMaybe<WorkspaceMemberFilterInput>>>;
- /** Workspace member avatar */
- avatarUrl?: InputMaybe<StringFilter>;
- /** Preferred color scheme */
- colorScheme?: InputMaybe<StringFilter>;
- /** Creation date */
- createdAt?: InputMaybe<DateFilter>;
- /** Id */
- id?: InputMaybe<IdFilter>;
- /** Preferred language */
- locale?: InputMaybe<StringFilter>;
- /** Workspace member name */
- name?: InputMaybe<FullNameFilterInput>;
- not?: InputMaybe<WorkspaceMemberFilterInput>;
- or?: InputMaybe<Array<InputMaybe<WorkspaceMemberFilterInput>>>;
- /** Update date */
- updatedAt?: InputMaybe<DateFilter>;
- /** Related user email address */
- userEmail?: InputMaybe<StringFilter>;
- /** Associated User Id */
- userId?: InputMaybe<IdFilter>;
-};
-
-/** A workspace member */
-export type WorkspaceMemberOrderByInput = {
- /** Workspace member avatar */
- avatarUrl?: InputMaybe<OrderByDirection>;
- /** Preferred color scheme */
- colorScheme?: InputMaybe<OrderByDirection>;
- /** Creation date */
- createdAt?: InputMaybe<OrderByDirection>;
- /** Id */
- id?: InputMaybe<OrderByDirection>;
- /** Preferred language */
- locale?: InputMaybe<OrderByDirection>;
- /** Workspace member name */
- name?: InputMaybe<FullNameOrderByInput>;
- /** Update date */
- updatedAt?: InputMaybe<OrderByDirection>;
- /** Related user email address */
- userEmail?: InputMaybe<OrderByDirection>;
- /** Associated User Id */
- userId?: InputMaybe<OrderByDirection>;
-};
-
-/** A workspace member */
-export type WorkspaceMemberUpdateInput = {
- /** Workspace member avatar */
- avatarUrl?: InputMaybe<Scalars['String']>;
- /** Preferred color scheme */
- colorScheme?: InputMaybe<Scalars['String']>;
- /** Creation date */
- createdAt?: InputMaybe<Scalars['DateTime']>;
- /** Id */
- id?: InputMaybe<Scalars['ID']>;
- /** Preferred language */
- locale?: InputMaybe<Scalars['String']>;
- /** Workspace member name */
- name?: InputMaybe<FullNameUpdateInput>;
- /** Update date */
- updatedAt?: InputMaybe<Scalars['DateTime']>;
- /** Related user email address */
- userEmail?: InputMaybe<Scalars['String']>;
- /** Associated User Id */
- userId?: InputMaybe<Scalars['UUID']>;
-};
-
-export type Field = {
- createdAt: Scalars['DateTime'];
- defaultValue?: Maybe<Scalars['JSON']>;
- description?: Maybe<Scalars['String']>;
- fromRelationMetadata?: Maybe<Relation>;
- icon?: Maybe<Scalars['String']>;
- id: Scalars['UUID'];
- isActive?: Maybe<Scalars['Boolean']>;
- isCustom?: Maybe<Scalars['Boolean']>;
- isNullable?: Maybe<Scalars['Boolean']>;
- isSystem?: Maybe<Scalars['Boolean']>;
- label: Scalars['String'];
- name: Scalars['String'];
- options?: Maybe<Scalars['JSON']>;
- relationDefinition?: Maybe<RelationDefinition>;
- settings?: Maybe<Scalars['JSON']>;
- toRelationMetadata?: Maybe<Relation>;
- type: FieldMetadataType;
- updatedAt: Scalars['DateTime'];
-};
-
-export type FieldEdge = {
- /** Cursor for this node. */
- cursor: Scalars['ConnectionCursor'];
- /** The node containing the field */
- node: Field;
-};
-
-export type FieldFilter = {
- and?: InputMaybe<Array<FieldFilter>>;
- id?: InputMaybe<UuidFilterComparison>;
- isActive?: InputMaybe<BooleanFieldComparison>;
- isCustom?: InputMaybe<BooleanFieldComparison>;
- isSystem?: InputMaybe<BooleanFieldComparison>;
- or?: InputMaybe<Array<FieldFilter>>;
-};
-
-export type Object = {
- createdAt: Scalars['DateTime'];
- dataSourceId: Scalars['String'];
- description?: Maybe<Scalars['String']>;
- fields: ObjectFieldsConnection;
- icon?: Maybe<Scalars['String']>;
- id: Scalars['UUID'];
- imageIdentifierFieldMetadataId?: Maybe<Scalars['String']>;
- isActive: Scalars['Boolean'];
- isCustom: Scalars['Boolean'];
- isRemote: Scalars['Boolean'];
- isSystem: Scalars['Boolean'];
- labelIdentifierFieldMetadataId?: Maybe<Scalars['String']>;
- labelPlural: Scalars['String'];
- labelSingular: Scalars['String'];
- namePlural: Scalars['String'];
- nameSingular: Scalars['String'];
- updatedAt: Scalars['DateTime'];
-};
-
-
-export type ObjectFieldsArgs = {
- filter?: FieldFilter;
- paging?: CursorPaging;
-};
-
-export type ObjectEdge = {
- /** Cursor for this node. */
- cursor: Scalars['ConnectionCursor'];
- /** The node containing the object */
- node: Object;
-};
-
-export type Relation = {
- createdAt: Scalars['DateTime'];
- fromFieldMetadataId: Scalars['String'];
- fromObjectMetadata: Object;
- fromObjectMetadataId: Scalars['String'];
- id: Scalars['UUID'];
- relationType: RelationMetadataType;
- toFieldMetadataId: Scalars['String'];
- toObjectMetadata: Object;
- toObjectMetadataId: Scalars['String'];
- updatedAt: Scalars['DateTime'];
-};
-
-export type RelationEdge = {
- /** Cursor for this node. */
- cursor: Scalars['ConnectionCursor'];
- /** The node containing the relation */
- node: Relation;
-};
-
-export type ExchangeAuthorizationCodeMutationVariables = Exact<{
- authorizationCode: Scalars['String'];
- codeVerifier?: InputMaybe<Scalars['String']>;
- clientSecret?: InputMaybe<Scalars['String']>;
-}>;
-
-
-export type ExchangeAuthorizationCodeMutation = { exchangeAuthorizationCode: { loginToken: { token: string, expiresAt: any }, accessToken: { token: string, expiresAt: any }, refreshToken: { token: string, expiresAt: any } } };
-
-export type RenewTokenMutationVariables = Exact<{
- appToken: Scalars['String'];
-}>;
-
-
-export type RenewTokenMutation = { renewToken: { tokens: { accessToken: { token: string, expiresAt: any }, refreshToken: { token: string, expiresAt: any } } } };
-
-export type CreateOneCompanyMutationVariables = Exact<{
- input: CompanyCreateInput;
-}>;
-
-
-export type CreateOneCompanyMutation = { createCompany?: { id?: any | null } | null };
-
-export type FindCompanyQueryVariables = Exact<{
- filter: CompanyFilterInput;
-}>;
-
-
-export type FindCompanyQuery = { companies?: { edges?: Array<{ node?: { id?: any | null, name?: string | null, linkedinLink?: { url?: string | null, label?: string | null } | null } | null }> | null } | null };
-
-export type CreateOnePersonMutationVariables = Exact<{
- input: PersonCreateInput;
-}>;
-
-
-export type CreateOnePersonMutation = { createPerson?: { id?: any | null } | null };
-
-export type FindPersonQueryVariables = Exact<{
- filter: PersonFilterInput;
-}>;
-
-
-export type FindPersonQuery = { people?: { edges?: Array<{ node?: { id?: any | null, name?: { firstName: string, lastName: string } | null, linkedinLink?: { url?: string | null, label?: string | null } | null } | null }> | null } | null };
-
-
-export const ExchangeAuthorizationCodeDocument = gql`
- mutation ExchangeAuthorizationCode($authorizationCode: String!, $codeVerifier: String, $clientSecret: String) {
- exchangeAuthorizationCode(
- authorizationCode: $authorizationCode
- codeVerifier: $codeVerifier
- clientSecret: $clientSecret
- ) {
- loginToken {
- token
- expiresAt
- }
- accessToken {
- token
- expiresAt
- }
- refreshToken {
- token
- expiresAt
- }
- }
-}
- `;
-export type ExchangeAuthorizationCodeMutationFn = Apollo.MutationFunction<ExchangeAuthorizationCodeMutation, ExchangeAuthorizationCodeMutationVariables>;
-
-/**
- * __useExchangeAuthorizationCodeMutation__
- *
- * To run a mutation, you first call `useExchangeAuthorizationCodeMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useExchangeAuthorizationCodeMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
- *
- * @example
- * const [exchangeAuthorizationCodeMutation, { data, loading, error }] = useExchangeAuthorizationCodeMutation({
- * variables: {
- * authorizationCode: // value for 'authorizationCode'
- * codeVerifier: // value for 'codeVerifier'
- * clientSecret: // value for 'clientSecret'
- * },
- * });
- */
-export function useExchangeAuthorizationCodeMutation(baseOptions?: Apollo.MutationHookOptions<ExchangeAuthorizationCodeMutation, ExchangeAuthorizationCodeMutationVariables>) {
- const options = {...defaultOptions, ...baseOptions}
- return Apollo.useMutation<ExchangeAuthorizationCodeMutation, ExchangeAuthorizationCodeMutationVariables>(ExchangeAuthorizationCodeDocument, options);
- }
-export type ExchangeAuthorizationCodeMutationHookResult = ReturnType<typeof useExchangeAuthorizationCodeMutation>;
-export type ExchangeAuthorizationCodeMutationResult = Apollo.MutationResult<ExchangeAuthorizationCodeMutation>;
-export type ExchangeAuthorizationCodeMutationOptions = Apollo.BaseMutationOptions<ExchangeAuthorizationCodeMutation, ExchangeAuthorizationCodeMutationVariables>;
-export const RenewTokenDocument = gql`
- mutation RenewToken($appToken: String!) {
- renewToken(appToken: $appToken) {
- tokens {
- accessToken {
- token
- expiresAt
- }
- refreshToken {
- token
- expiresAt
- }
- }
- }
-}
- `;
-export type RenewTokenMutationFn = Apollo.MutationFunction<RenewTokenMutation, RenewTokenMutationVariables>;
-
-/**
- * __useRenewTokenMutation__
- *
- * To run a mutation, you first call `useRenewTokenMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useRenewTokenMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
- *
- * @example
- * const [renewTokenMutation, { data, loading, error }] = useRenewTokenMutation({
- * variables: {
- * appToken: // value for 'appToken'
- * },
- * });
- */
-export function useRenewTokenMutation(baseOptions?: Apollo.MutationHookOptions<RenewTokenMutation, RenewTokenMutationVariables>) {
- const options = {...defaultOptions, ...baseOptions}
- return Apollo.useMutation<RenewTokenMutation, RenewTokenMutationVariables>(RenewTokenDocument, options);
- }
-export type RenewTokenMutationHookResult = ReturnType<typeof useRenewTokenMutation>;
-export type RenewTokenMutationResult = Apollo.MutationResult<RenewTokenMutation>;
-export type RenewTokenMutationOptions = Apollo.BaseMutationOptions<RenewTokenMutation, RenewTokenMutationVariables>;
-export const CreateOneCompanyDocument = gql`
- mutation CreateOneCompany($input: CompanyCreateInput!) {
- createCompany(data: $input) {
- id
- }
-}
- `;
-export type CreateOneCompanyMutationFn = Apollo.MutationFunction<CreateOneCompanyMutation, CreateOneCompanyMutationVariables>;
-
-/**
- * __useCreateOneCompanyMutation__
- *
- * To run a mutation, you first call `useCreateOneCompanyMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useCreateOneCompanyMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
- *
- * @example
- * const [createOneCompanyMutation, { data, loading, error }] = useCreateOneCompanyMutation({
- * variables: {
- * input: // value for 'input'
- * },
- * });
- */
-export function useCreateOneCompanyMutation(baseOptions?: Apollo.MutationHookOptions<CreateOneCompanyMutation, CreateOneCompanyMutationVariables>) {
- const options = {...defaultOptions, ...baseOptions}
- return Apollo.useMutation<CreateOneCompanyMutation, CreateOneCompanyMutationVariables>(CreateOneCompanyDocument, options);
- }
-export type CreateOneCompanyMutationHookResult = ReturnType<typeof useCreateOneCompanyMutation>;
-export type CreateOneCompanyMutationResult = Apollo.MutationResult<CreateOneCompanyMutation>;
-export type CreateOneCompanyMutationOptions = Apollo.BaseMutationOptions<CreateOneCompanyMutation, CreateOneCompanyMutationVariables>;
-export const FindCompanyDocument = gql`
- query FindCompany($filter: CompanyFilterInput!) {
- companies(filter: $filter) {
- edges {
- node {
- id
- name
- linkedinLink {
- url
- label
- }
- }
- }
- }
-}
- `;
-
-/**
- * __useFindCompanyQuery__
- *
- * To run a query within a React component, call `useFindCompanyQuery` and pass it any options that fit your needs.
- * When your component renders, `useFindCompanyQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
- *
- * @example
- * const { data, loading, error } = useFindCompanyQuery({
- * variables: {
- * filter: // value for 'filter'
- * },
- * });
- */
-export function useFindCompanyQuery(baseOptions: Apollo.QueryHookOptions<FindCompanyQuery, FindCompanyQueryVariables>) {
- const options = {...defaultOptions, ...baseOptions}
- return Apollo.useQuery<FindCompanyQuery, FindCompanyQueryVariables>(FindCompanyDocument, options);
- }
-export function useFindCompanyLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<FindCompanyQuery, FindCompanyQueryVariables>) {
- const options = {...defaultOptions, ...baseOptions}
- return Apollo.useLazyQuery<FindCompanyQuery, FindCompanyQueryVariables>(FindCompanyDocument, options);
- }
-export type FindCompanyQueryHookResult = ReturnType<typeof useFindCompanyQuery>;
-export type FindCompanyLazyQueryHookResult = ReturnType<typeof useFindCompanyLazyQuery>;
-export type FindCompanyQueryResult = Apollo.QueryResult<FindCompanyQuery, FindCompanyQueryVariables>;
-export const CreateOnePersonDocument = gql`
- mutation CreateOnePerson($input: PersonCreateInput!) {
- createPerson(data: $input) {
- id
- }
-}
- `;
-export type CreateOnePersonMutationFn = Apollo.MutationFunction<CreateOnePersonMutation, CreateOnePersonMutationVariables>;
-
-/**
- * __useCreateOnePersonMutation__
- *
- * To run a mutation, you first call `useCreateOnePersonMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useCreateOnePersonMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
- *
- * @example
- * const [createOnePersonMutation, { data, loading, error }] = useCreateOnePersonMutation({
- * variables: {
- * input: // value for 'input'
- * },
- * });
- */
-export function useCreateOnePersonMutation(baseOptions?: Apollo.MutationHookOptions<CreateOnePersonMutation, CreateOnePersonMutationVariables>) {
- const options = {...defaultOptions, ...baseOptions}
- return Apollo.useMutation<CreateOnePersonMutation, CreateOnePersonMutationVariables>(CreateOnePersonDocument, options);
- }
-export type CreateOnePersonMutationHookResult = ReturnType<typeof useCreateOnePersonMutation>;
-export type CreateOnePersonMutationResult = Apollo.MutationResult<CreateOnePersonMutation>;
-export type CreateOnePersonMutationOptions = Apollo.BaseMutationOptions<CreateOnePersonMutation, CreateOnePersonMutationVariables>;
-export const FindPersonDocument = gql`
- query FindPerson($filter: PersonFilterInput!) {
- people(filter: $filter) {
- edges {
- node {
- id
- name {
- firstName
- lastName
- }
- linkedinLink {
- url
- label
- }
- }
- }
- }
-}
- `;
-
-/**
- * __useFindPersonQuery__
- *
- * To run a query within a React component, call `useFindPersonQuery` and pass it any options that fit your needs.
- * When your component renders, `useFindPersonQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
- *
- * @example
- * const { data, loading, error } = useFindPersonQuery({
- * variables: {
- * filter: // value for 'filter'
- * },
- * });
- */
-export function useFindPersonQuery(baseOptions: Apollo.QueryHookOptions<FindPersonQuery, FindPersonQueryVariables>) {
- const options = {...defaultOptions, ...baseOptions}
- return Apollo.useQuery<FindPersonQuery, FindPersonQueryVariables>(FindPersonDocument, options);
- }
-export function useFindPersonLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<FindPersonQuery, FindPersonQueryVariables>) {
- const options = {...defaultOptions, ...baseOptions}
- return Apollo.useLazyQuery<FindPersonQuery, FindPersonQueryVariables>(FindPersonDocument, options);
- }
-export type FindPersonQueryHookResult = ReturnType<typeof useFindPersonQuery>;
-export type FindPersonLazyQueryHookResult = ReturnType<typeof useFindPersonLazyQuery>;
-export type FindPersonQueryResult = Apollo.QueryResult<FindPersonQuery, FindPersonQueryVariables>;
\ No newline at end of file
diff --git a/packages/twenty-chrome-extension/src/global.d.ts b/packages/twenty-chrome-extension/src/global.d.ts
deleted file mode 100644
index dbb4c627d26..00000000000
--- a/packages/twenty-chrome-extension/src/global.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-/// <reference types="vite/client" />
-
-declare const __APP_VERSION__: string;
diff --git a/packages/twenty-chrome-extension/src/graphql/auth/mutations.ts b/packages/twenty-chrome-extension/src/graphql/auth/mutations.ts
deleted file mode 100644
index 45804f7069a..00000000000
--- a/packages/twenty-chrome-extension/src/graphql/auth/mutations.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import { gql } from '@apollo/client';
-
-export const EXCHANGE_AUTHORIZATION_CODE = gql`
- mutation ExchangeAuthorizationCode(
- $authorizationCode: String!
- $codeVerifier: String
- $clientSecret: String
- ) {
- exchangeAuthorizationCode(
- authorizationCode: $authorizationCode
- codeVerifier: $codeVerifier
- clientSecret: $clientSecret
- ) {
- loginToken {
- token
- expiresAt
- }
- accessOrWorkspaceAgnosticToken {
- token
- expiresAt
- }
- refreshToken {
- token
- expiresAt
- }
- }
- }
-`;
-
-export const RENEW_TOKEN = gql`
- mutation RenewToken($appToken: String!) {
- renewToken(appToken: $appToken) {
- tokens {
- accessOrWorkspaceAgnosticToken {
- token
- expiresAt
- }
- refreshToken {
- token
- expiresAt
- }
- }
- }
- }
-`;
diff --git a/packages/twenty-chrome-extension/src/graphql/company/mutations.ts b/packages/twenty-chrome-extension/src/graphql/company/mutations.ts
deleted file mode 100644
index 36bfabf401a..00000000000
--- a/packages/twenty-chrome-extension/src/graphql/company/mutations.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { gql } from '@apollo/client';
-
-export const CREATE_COMPANY = gql`
- mutation CreateOneCompany($input: CompanyCreateInput!) {
- createCompany(data: $input) {
- id
- }
- }
-`;
diff --git a/packages/twenty-chrome-extension/src/graphql/company/queries.ts b/packages/twenty-chrome-extension/src/graphql/company/queries.ts
deleted file mode 100644
index 7c546855eff..00000000000
--- a/packages/twenty-chrome-extension/src/graphql/company/queries.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { gql } from '@apollo/client';
-
-export const FIND_COMPANY = gql`
- query FindCompany($filter: CompanyFilterInput!) {
- companies(filter: $filter) {
- edges {
- node {
- id
- name
- linkedinLink {
- url
- label
- }
- }
- }
- }
- }
-`;
diff --git a/packages/twenty-chrome-extension/src/graphql/person/mutations.ts b/packages/twenty-chrome-extension/src/graphql/person/mutations.ts
deleted file mode 100644
index 947d3a4e0cd..00000000000
--- a/packages/twenty-chrome-extension/src/graphql/person/mutations.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { gql } from '@apollo/client';
-
-export const CREATE_PERSON = gql`
- mutation CreateOnePerson($input: PersonCreateInput!) {
- createPerson(data: $input) {
- id
- }
- }
-`;
diff --git a/packages/twenty-chrome-extension/src/graphql/person/queries.ts b/packages/twenty-chrome-extension/src/graphql/person/queries.ts
deleted file mode 100644
index efbad921128..00000000000
--- a/packages/twenty-chrome-extension/src/graphql/person/queries.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { gql } from '@apollo/client';
-
-export const FIND_PERSON = gql`
- query FindPerson($filter: PersonFilterInput!) {
- people(filter: $filter) {
- edges {
- node {
- id
- name {
- firstName
- lastName
- }
- linkedinLink {
- url
- label
- }
- }
- }
- }
- }
-`;
diff --git a/packages/twenty-chrome-extension/src/index.css b/packages/twenty-chrome-extension/src/index.css
deleted file mode 100644
index 164e9067cc0..00000000000
--- a/packages/twenty-chrome-extension/src/index.css
+++ /dev/null
@@ -1,11 +0,0 @@
-* {
- margin: 0;
- box-sizing: border-box;
- font-family: 'Inter', sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-html {
- font-size: 13px;
-}
diff --git a/packages/twenty-chrome-extension/src/manifest.ts b/packages/twenty-chrome-extension/src/manifest.ts
deleted file mode 100644
index 797d705aecf..00000000000
--- a/packages/twenty-chrome-extension/src/manifest.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-import { defineManifest } from '@crxjs/vite-plugin';
-
-import packageData from '../package.json';
-
-const external_sites =
- process.env.VITE_MODE === 'development'
- ? [`https://app.twenty.com/*`, `http://localhost:3001/*`]
- : [`https://app.twenty.com/*`];
-
-export default defineManifest({
- manifest_version: 3,
- name: 'Twenty',
- description: packageData.description,
- version: packageData.version,
-
- icons: {
- 16: 'logo/32-32.png',
- 32: 'logo/32-32.png',
- 48: 'logo/32-32.png',
- },
-
- action: {},
-
- //TODO: change this to a documenation page
- options_page: 'sidepanel.html',
-
- background: {
- service_worker: 'src/background/index.ts',
- type: 'module',
- },
-
- content_scripts: [
- {
- matches: ['https://www.linkedin.com/*'],
- js: [
- 'src/contentScript/index.ts',
- 'src/contentScript/insertSettingsButton.ts',
- ],
- run_at: 'document_end',
- },
- ],
-
- web_accessible_resources: [
- {
- resources: ['sidepanel.html', 'page-inaccessible.html'],
- matches: ['https://www.linkedin.com/*'],
- },
- ],
-
- permissions: ['activeTab', 'storage', 'identity', 'sidePanel', 'cookies'],
-
- // setting host permissions to all http connections will allow
- // for people who host on their custom domain to get access to
- // extension instead of white listing individual urls
- host_permissions: ['https://*/*', 'http://*/*'],
-
- externally_connectable: {
- matches: external_sites,
- },
-});
diff --git a/packages/twenty-chrome-extension/src/options/App.tsx b/packages/twenty-chrome-extension/src/options/App.tsx
deleted file mode 100644
index 9f41b4caf42..00000000000
--- a/packages/twenty-chrome-extension/src/options/App.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import { useEffect, useState } from 'react';
-import Settings from '~/options/Settings';
-import Sidepanel from '~/options/Sidepanel';
-import { isDefined } from 'twenty-shared/utils';
-
-const App = () => {
- const [currentScreen, setCurrentScreen] = useState('');
-
- useEffect(() => {
- const setCurrentScreenState = async () => {
- const store = await chrome.storage.local.get(['navigateSidepanel']);
- if (isDefined(store.navigateSidepanel)) {
- setCurrentScreen(store.navigateSidepanel);
- }
- };
-
- setCurrentScreenState();
- }, []);
-
- useEffect(() => {
- chrome.storage.local.onChanged.addListener((updatedStore) => {
- if (
- isDefined(updatedStore.navigateSidepanel) &&
- isDefined(updatedStore.navigateSidepanel.newValue)
- ) {
- setCurrentScreen(updatedStore.navigateSidepanel.newValue);
- }
- });
- }, [setCurrentScreen]);
-
- switch (currentScreen) {
- case 'sidepanel':
- return <Sidepanel />;
- case 'settings':
- return <Settings />;
- default:
- return <Settings />;
- }
-};
-
-export default App;
diff --git a/packages/twenty-chrome-extension/src/options/Loading.tsx b/packages/twenty-chrome-extension/src/options/Loading.tsx
deleted file mode 100644
index a0543c9c6da..00000000000
--- a/packages/twenty-chrome-extension/src/options/Loading.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import { Loader } from '@/ui/display/loader/components/Loader';
-import styled from '@emotion/styled';
-
-const StyledContainer = styled.div`
- align-items: center;
- background: ${({ theme }) => theme.background.noisy};
- display: flex;
- flex-direction: column;
- height: 100vh;
- gap: ${({ theme }) => theme.spacing(2)};
- justify-content: center;
-`;
-
-const Loading = () => {
- return (
- <StyledContainer>
- <img src="/logo/32-32.svg" alt="twenty-logo" height={64} width={64} />
- <Loader />
- </StyledContainer>
- );
-};
-
-export default Loading;
diff --git a/packages/twenty-chrome-extension/src/options/PageInaccessible.tsx b/packages/twenty-chrome-extension/src/options/PageInaccessible.tsx
deleted file mode 100644
index 3f0ade3666d..00000000000
--- a/packages/twenty-chrome-extension/src/options/PageInaccessible.tsx
+++ /dev/null
@@ -1,64 +0,0 @@
-import styled from '@emotion/styled';
-
-import { MainButton } from '@/ui/input/button/MainButton';
-
-const StyledWrapper = styled.div`
- align-items: center;
- background: ${({ theme }) => theme.background.primary};
- display: flex;
- height: 100vh;
- justify-content: center;
-`;
-
-const StyledContainer = styled.div`
- width: 400px;
- height: 350px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: ${({ theme }) => theme.spacing(8)};
-`;
-
-const StyledTextContainer = styled.div`
- align-items: center;
- display: flex;
- flex-direction: column;
- gap: ${({ theme }) => theme.spacing(2)};
- justify-content: center;
-`;
-
-const StyledLargeText = styled.div`
- color: ${({ theme }) => theme.font.color.primary};
- font-size: ${({ theme }) => theme.font.size.lg};
- font-weight: ${({ theme }) => theme.font.weight.semiBold};
-`;
-
-const StyledMediumText = styled.div`
- color: ${({ theme }) => theme.font.color.light};
- font-size: ${({ theme }) => theme.font.size.md};
-`;
-
-const PageInaccessible = () => {
- return (
- <StyledWrapper>
- <StyledContainer>
- <img src="/logo/32-32.svg" alt="twenty-logo" height={40} width={40} />
- <StyledTextContainer>
- <StyledLargeText>
- Extension not available on the website
- </StyledLargeText>
- <StyledMediumText>
- Open LinkedIn to use the extension
- </StyledMediumText>
- </StyledTextContainer>
- <MainButton
- title="Go to LinkedIn"
- onClick={() => window.open('https://www.linkedin.com/')}
- />
- </StyledContainer>
- </StyledWrapper>
- );
-};
-
-export default PageInaccessible;
diff --git a/packages/twenty-chrome-extension/src/options/Settings.tsx b/packages/twenty-chrome-extension/src/options/Settings.tsx
deleted file mode 100644
index 6c714faa8f4..00000000000
--- a/packages/twenty-chrome-extension/src/options/Settings.tsx
+++ /dev/null
@@ -1,123 +0,0 @@
-import styled from '@emotion/styled';
-import { useEffect, useState } from 'react';
-
-import { MainButton } from '@/ui/input/button/MainButton';
-import { TextInput } from '@/ui/input/components/TextInput';
-import { clearStore } from '~/utils/apolloClient';
-import { isDefined } from 'twenty-shared/utils';
-
-const StyledWrapper = styled.div`
- align-items: center;
- background: ${({ theme }) => theme.background.primary};
- display: flex;
- height: 100vh;
- justify-content: center;
-`;
-
-const StyledContainer = styled.div`
- width: 400px;
- height: 350px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: ${({ theme }) => theme.spacing(8)};
-`;
-
-const StyledActionContainer = styled.div`
- align-items: center;
- display: flex;
- flex-direction: column;
- gap: 10px;
- justify-content: center;
- width: 300px;
-`;
-
-const Settings = () => {
- const [serverBaseUrl, setServerBaseUrl] = useState('');
- const [clientUrl, setClientUrl] = useState('');
- const [currentClientUrl, setCurrentClientUrl] = useState('');
- const [currentServerUrl, setCurrentServerUrl] = useState('');
-
- useEffect(() => {
- const getState = async () => {
- const store = await chrome.storage.local.get([
- 'serverBaseUrl',
- 'clientUrl',
- ]);
- if (isDefined(store.serverBaseUrl)) {
- setServerBaseUrl(store.serverBaseUrl);
- setCurrentServerUrl(store.serverBaseUrl);
- } else {
- setServerBaseUrl(import.meta.env.VITE_SERVER_BASE_URL);
- setCurrentServerUrl(import.meta.env.VITE_SERVER_BASE_URL);
- }
-
- if (isDefined(store.clientUrl)) {
- setClientUrl(store.clientUrl);
- setCurrentClientUrl(store.clientUrl);
- } else {
- setClientUrl(import.meta.env.VITE_FRONT_BASE_URL);
- setCurrentClientUrl(import.meta.env.VITE_FRONT_BASE_URL);
- }
- };
- void getState();
- }, []);
-
- const handleSettingsChange = () => {
- chrome.storage.local.set({
- serverBaseUrl,
- clientUrl,
- navigateSidepanel: 'sidepanel',
- });
- clearStore();
- };
-
- const handleCloseSettings = () => {
- chrome.storage.local.set({
- navigateSidepanel: 'sidepanel',
- });
- };
-
- return (
- <StyledWrapper>
- <StyledContainer>
- <img src="/logo/32-32.svg" alt="twenty-logo" height={40} width={40} />
- <StyledActionContainer>
- <TextInput
- label="Client URL"
- value={clientUrl}
- onChange={setClientUrl}
- placeholder="My client URL"
- fullWidth
- />
- <TextInput
- label="Server URL"
- value={serverBaseUrl}
- onChange={setServerBaseUrl}
- placeholder="My server URL"
- fullWidth
- />
- <MainButton
- title="Done"
- disabled={
- currentClientUrl === clientUrl &&
- currentServerUrl === serverBaseUrl
- }
- variant="primary"
- onClick={handleSettingsChange}
- fullWidth
- />
- <MainButton
- title="Close"
- variant="secondary"
- onClick={handleCloseSettings}
- fullWidth
- />
- </StyledActionContainer>
- </StyledContainer>
- </StyledWrapper>
- );
-};
-
-export default Settings;
diff --git a/packages/twenty-chrome-extension/src/options/Sidepanel.tsx b/packages/twenty-chrome-extension/src/options/Sidepanel.tsx
deleted file mode 100644
index 973142f92b7..00000000000
--- a/packages/twenty-chrome-extension/src/options/Sidepanel.tsx
+++ /dev/null
@@ -1,173 +0,0 @@
-import styled from '@emotion/styled';
-import { useCallback, useEffect, useRef, useState } from 'react';
-
-import { MainButton } from '@/ui/input/button/MainButton';
-import { isDefined } from 'twenty-shared/utils';
-
-const StyledIframe = styled.iframe`
- display: block;
- width: 100%;
- height: 100vh;
- border: none;
-`;
-
-const StyledWrapper = styled.div`
- align-items: center;
- background: ${({ theme }) => theme.background.primary};
- display: flex;
- height: 100vh;
- justify-content: center;
-`;
-
-const StyledContainer = styled.div`
- width: 400px;
- height: 350px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: ${({ theme }) => theme.spacing(8)};
-`;
-
-const StyledActionContainer = styled.div`
- align-items: center;
- display: flex;
- flex-direction: column;
- gap: 10px;
- justify-content: center;
- width: 300px;
-`;
-
-const Sidepanel = () => {
- const [isAuthenticated, setIsAuthenticated] = useState(false);
- const [clientUrl, setClientUrl] = useState(
- import.meta.env.VITE_FRONT_BASE_URL,
- );
- const iframeRef = useRef<HTMLIFrameElement>(null);
-
- const setIframeState = useCallback(async () => {
- const store = await chrome.storage.local.get([
- 'isAuthenticated',
- 'sidepanelUrl',
- 'clientUrl',
- 'accessToken',
- 'refreshToken',
- ]);
-
- if (
- store.isAuthenticated === true &&
- isDefined(store.accessToken) &&
- isDefined(store.refreshToken) &&
- new Date(store.accessToken.expiresAt).getTime() >= Date.now()
- ) {
- setIsAuthenticated(true);
- if (isDefined(store.sidepanelUrl)) {
- if (isDefined(store.clientUrl)) {
- setClientUrl(`${store.clientUrl}${store.sidepanelUrl}`);
- } else {
- setClientUrl(
- `${import.meta.env.VITE_FRONT_BASE_URL}${store.sidepanelUrl}`,
- );
- }
- }
- } else {
- chrome.storage.local.set({ isAuthenticated: false });
- if (isDefined(store.clientUrl)) {
- setClientUrl(store.clientUrl);
- }
- }
- }, [setClientUrl]);
-
- useEffect(() => {
- void setIframeState();
- }, [setIframeState]);
-
- useEffect(() => {
- window.addEventListener('message', async (event) => {
- const store = await chrome.storage.local.get([
- 'clientUrl',
- 'accessToken',
- 'refreshToken',
- ]);
- const clientUrl = isDefined(store.clientUrl)
- ? store.clientUrl
- : import.meta.env.VITE_FRONT_BASE_URL;
-
- if (
- isDefined(store.accessToken) &&
- isDefined(store.refreshToken) &&
- event.origin === clientUrl &&
- event.data === 'loaded'
- ) {
- event.source?.postMessage(
- {
- type: 'tokens',
- value: {
- accessToken: {
- token: store.accessToken.token,
- expiresAt: store.accessToken.expiresAt,
- },
- refreshToken: {
- token: store.refreshToken.token,
- expiresAt: store.refreshToken.expiresAt,
- },
- },
- },
- clientUrl,
- );
- }
- });
- }, []);
-
- useEffect(() => {
- chrome.storage.local.onChanged.addListener(async (updatedStore) => {
- if (isDefined(updatedStore.isAuthenticated)) {
- if (updatedStore.isAuthenticated.newValue === true) {
- setIframeState();
- }
- }
-
- if (isDefined(updatedStore.sidepanelUrl)) {
- if (isDefined(updatedStore.sidepanelUrl.newValue)) {
- const store = await chrome.storage.local.get(['clientUrl']);
- const clientUrl = isDefined(store.clientUrl)
- ? store.clientUrl
- : import.meta.env.VITE_FRONT_BASE_URL;
-
- iframeRef.current?.contentWindow?.postMessage(
- {
- type: 'navigate',
- value: updatedStore.sidepanelUrl.newValue,
- },
- clientUrl,
- );
- }
- }
- });
- }, [setIframeState]);
-
- return isAuthenticated ? (
- <StyledIframe
- ref={iframeRef}
- title="twenty-website"
- src={clientUrl}
- ></StyledIframe>
- ) : (
- <StyledWrapper>
- <StyledContainer>
- <img src="/logo/32-32.svg" alt="twenty-logo" height={40} width={40} />
- <StyledActionContainer>
- <MainButton
- title="Connect your account"
- fullWidth
- onClick={() => {
- window.open(clientUrl, '_blank');
- }}
- />
- </StyledActionContainer>
- </StyledContainer>
- </StyledWrapper>
- );
-};
-
-export default Sidepanel;
diff --git a/packages/twenty-chrome-extension/src/options/index.tsx b/packages/twenty-chrome-extension/src/options/index.tsx
deleted file mode 100644
index 01656e4af95..00000000000
--- a/packages/twenty-chrome-extension/src/options/index.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react';
-import ReactDOM from 'react-dom/client';
-
-import { AppThemeProvider } from '@/ui/theme/components/AppThemeProvider';
-import { ThemeType } from '@/ui/theme/constants/ThemeLight';
-import App from '~/options/App';
-
-import '~/index.css';
-
-ReactDOM.createRoot(document.getElementById('app') as HTMLElement).render(
- <AppThemeProvider>
- <React.StrictMode>
- <App />
- </React.StrictMode>
- </AppThemeProvider>,
-);
-
-declare module '@emotion/react' {
- export interface Theme extends ThemeType {}
-}
diff --git a/packages/twenty-chrome-extension/src/options/loading-index.tsx b/packages/twenty-chrome-extension/src/options/loading-index.tsx
deleted file mode 100644
index 46f2193fe04..00000000000
--- a/packages/twenty-chrome-extension/src/options/loading-index.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react';
-import ReactDOM from 'react-dom/client';
-
-import { AppThemeProvider } from '@/ui/theme/components/AppThemeProvider';
-import { ThemeType } from '@/ui/theme/constants/ThemeLight';
-import Loading from '~/options/Loading';
-
-import '~/index.css';
-
-ReactDOM.createRoot(document.getElementById('app') as HTMLElement).render(
- <AppThemeProvider>
- <React.StrictMode>
- <Loading />
- </React.StrictMode>
- </AppThemeProvider>,
-);
-
-declare module '@emotion/react' {
- export interface Theme extends ThemeType {}
-}
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/display/loader/components/Loader.tsx b/packages/twenty-chrome-extension/src/options/modules/ui/display/loader/components/Loader.tsx
deleted file mode 100644
index 15cc0385298..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/display/loader/components/Loader.tsx
+++ /dev/null
@@ -1,38 +0,0 @@
-import styled from '@emotion/styled';
-import { motion } from 'framer-motion';
-
-const StyledLoaderContainer = styled.div`
- justify-content: center;
- align-items: center;
- display: flex;
- gap: ${({ theme }) => theme.spacing(2)};
- width: ${({ theme }) => theme.spacing(6)};
- height: ${({ theme }) => theme.spacing(3)};
- border-radius: ${({ theme }) => theme.border.radius.pill};
- border: 1px solid ${({ theme }) => theme.font.color.tertiary};
- overflow: hidden;
-`;
-
-const StyledLoader = styled(motion.div)`
- background-color: ${({ theme }) => theme.font.color.tertiary};
- border-radius: ${({ theme }) => theme.border.radius.pill};
- height: 8px;
- width: 8px;
-`;
-
-export const Loader = () => (
- <StyledLoaderContainer>
- <StyledLoader
- animate={{
- x: [-16, 0, 16],
- width: [8, 12, 8],
- height: [8, 2, 8],
- }}
- transition={{
- duration: 0.8,
- times: [0, 0.15, 0.3],
- repeat: Infinity,
- }}
- />
- </StyledLoaderContainer>
-);
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/display/typography/components/H2Title.tsx b/packages/twenty-chrome-extension/src/options/modules/ui/display/typography/components/H2Title.tsx
deleted file mode 100644
index 3d1dd27060d..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/display/typography/components/H2Title.tsx
+++ /dev/null
@@ -1,44 +0,0 @@
-import styled from '@emotion/styled';
-
-type H2TitleProps = {
- title: string;
- description?: string;
- adornment?: React.ReactNode;
-};
-
-const StyledContainer = styled.div`
- display: flex;
- flex-direction: column;
- margin-bottom: ${({ theme }) => theme.spacing(4)};
-`;
-
-const StyledTitleContainer = styled.div`
- align-items: center;
- display: flex;
- justify-content: space-between;
-`;
-
-const StyledTitle = styled.h2`
- color: ${({ theme }) => theme.font.color.primary};
- font-size: ${({ theme }) => theme.font.size.md};
- font-weight: ${({ theme }) => theme.font.weight.semiBold};
- margin: 0;
-`;
-
-const StyledDescription = styled.h3`
- color: ${({ theme }) => theme.font.color.tertiary};
- font-size: ${({ theme }) => theme.font.size.md};
- font-weight: ${({ theme }) => theme.font.weight.regular};
- margin: 0;
- margin-top: ${({ theme }) => theme.spacing(3)};
-`;
-
-export const H2Title = ({ title, description, adornment }: H2TitleProps) => (
- <StyledContainer>
- <StyledTitleContainer>
- <StyledTitle>{title}</StyledTitle>
- {adornment}
- </StyledTitleContainer>
- {description && <StyledDescription>{description}</StyledDescription>}
- </StyledContainer>
-);
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/input/button/Button.tsx b/packages/twenty-chrome-extension/src/options/modules/ui/input/button/Button.tsx
deleted file mode 100644
index aa54bdf5c92..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/input/button/Button.tsx
+++ /dev/null
@@ -1,85 +0,0 @@
-import React from 'react';
-import styled from '@emotion/styled';
-
-export type ButtonSize = 'medium' | 'small';
-export type ButtonPosition = 'standalone' | 'left' | 'middle' | 'right';
-export type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
-export type ButtonAccent = 'default' | 'blue' | 'danger';
-
-export type ButtonProps = {
- className?: string;
- Icon?: React.ReactNode;
- title?: string;
- fullWidth?: boolean;
- variant?: ButtonVariant;
- size?: ButtonSize;
- position?: ButtonPosition;
- accent?: ButtonAccent;
- soon?: boolean;
- disabled?: boolean;
- onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
-};
-
-const StyledButton = styled.button<ButtonProps>`
- border: 1px solid transparent;
- border-radius: ${({ position, theme }) => {
- switch (position) {
- case 'left':
- return `${theme.border.radius.sm} 0px 0px ${theme.border.radius.sm}`;
- case 'right':
- return `0px ${theme.border.radius.sm} ${theme.border.radius.sm} 0px`;
- case 'middle':
- return '0px';
- case 'standalone':
- return theme.border.radius.sm;
- default:
- return theme.border.radius.sm;
- }
- }};
- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
- display: inline-flex;
- align-items: center;
- font-family: ${({ theme }) => theme.font.family};
- font-weight: 500;
- gap: ${({ theme }) => theme.spacing(1)};
- height: ${({ size }) => (size === 'small' ? '24px' : '32px')};
- padding: 0 ${({ theme }) => theme.spacing(2)};
- white-space: nowrap;
- width: ${({ fullWidth }) => (fullWidth ? '100%' : 'auto')};
-
- &:hover {
- border-color: transparent;
- filter: brightness(0.9);
- }
-
- &:focus {
- outline: none;
- }
-`;
-
-export const Button = ({
- className,
- Icon,
- title,
- fullWidth = false,
- variant = 'primary',
- size = 'medium',
- position = 'standalone',
- soon = false,
- disabled = false,
- onClick,
-}: ButtonProps) => (
- <StyledButton
- fullWidth={fullWidth}
- variant={variant}
- size={size}
- position={position}
- disabled={soon || disabled}
- className={className}
- onClick={onClick}
- >
- {Icon && Icon}
- {title}
- {soon && 'Soon'}
- </StyledButton>
-);
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/input/button/MainButton.tsx b/packages/twenty-chrome-extension/src/options/modules/ui/input/button/MainButton.tsx
deleted file mode 100644
index b319b8070ec..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/input/button/MainButton.tsx
+++ /dev/null
@@ -1,116 +0,0 @@
-import React from 'react';
-import styled from '@emotion/styled';
-
-type Variant = 'primary' | 'secondary';
-
-type MainButtonProps = {
- title: string;
- fullWidth?: boolean;
- width?: number;
- variant?: Variant;
- soon?: boolean;
-} & React.ComponentProps<'button'>;
-
-const StyledButton = styled.button<
- Pick<MainButtonProps, 'fullWidth' | 'width' | 'variant'>
->`
- align-items: center;
- background: ${({ theme, variant, disabled }) => {
- if (disabled === true) {
- return theme.background.secondary;
- }
-
- switch (variant) {
- case 'primary':
- return theme.background.primaryInverted;
- case 'secondary':
- return theme.background.primary;
- default:
- return theme.background.primary;
- }
- }};
- border: 1px solid;
- border-color: ${({ theme, disabled, variant }) => {
- if (disabled === true) {
- return theme.background.transparent.lighter;
- }
-
- switch (variant) {
- case 'primary':
- return theme.background.transparent.strong;
- case 'secondary':
- return theme.border.color.medium;
- default:
- return theme.background.primary;
- }
- }};
- border-radius: ${({ theme }) => theme.border.radius.md};
- ${({ theme, disabled }) => {
- if (disabled === true) {
- return '';
- }
-
- return `box-shadow: ${theme.boxShadow.light};`;
- }}
- color: ${({ theme, variant, disabled }) => {
- if (disabled === true) {
- return theme.font.color.light;
- }
-
- switch (variant) {
- case 'primary':
- return theme.font.color.inverted;
- case 'secondary':
- return theme.font.color.primary;
- default:
- return theme.font.color.primary;
- }
- }};
- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
- display: flex;
- flex-direction: row;
- font-family: ${({ theme }) => theme.font.family};
- font-weight: ${({ theme }) => theme.font.weight.semiBold};
- gap: ${({ theme }) => theme.spacing(2)};
- justify-content: center;
- outline: none;
- padding: ${({ theme }) => theme.spacing(2)} ${({ theme }) => theme.spacing(3)};
- width: ${({ fullWidth, width }) =>
- fullWidth ? '100%' : width ? `${width}px` : 'auto'};
- ${({ theme, variant }) => {
- switch (variant) {
- case 'secondary':
- return `
- &:hover {
- background: ${theme.background.tertiary};
- }
- `;
- default:
- return `
- &:hover {
- background: ${theme.background.primaryInvertedHover}};
- }
- `;
- }
- }};
-`;
-
-export const MainButton = ({
- title,
- width,
- fullWidth = false,
- variant = 'primary',
- type,
- onClick,
- disabled,
- className,
-}: MainButtonProps) => {
- return (
- <StyledButton
- className={className}
- {...{ disabled, fullWidth, width, onClick, type, variant }}
- >
- {title}
- </StyledButton>
- );
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/input/components/TextInput.tsx b/packages/twenty-chrome-extension/src/options/modules/ui/input/components/TextInput.tsx
deleted file mode 100644
index c6dc189a1a1..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/input/components/TextInput.tsx
+++ /dev/null
@@ -1,87 +0,0 @@
-import styled from '@emotion/styled';
-import React, { useId } from 'react';
-
-interface TextInputProps {
- label?: string;
- value: string;
- onChange: (value: string) => void;
- fullWidth?: boolean;
- error?: string;
- placeholder?: string;
- icon?: React.ReactNode;
-}
-
-const StyledContainer = styled.div<{ fullWidth?: boolean }>`
- display: flex;
- flex-direction: column;
- width: ${({ fullWidth }) => (fullWidth ? `100%` : 'auto')};
- margin-bottom: ${({ theme }) => theme.spacing(4)};
-`;
-
-const StyledLabel = styled.label`
- color: ${({ theme }) => theme.font.color.light};
- font-size: ${({ theme }) => theme.font.size.xs};
- font-weight: ${({ theme }) => theme.font.weight.semiBold};
- margin-bottom: ${({ theme }) => theme.spacing(1)};
- text-transform: uppercase;
-`;
-
-const StyledInputContainer = styled.div`
- display: flex;
- align-items: center;
- border: 1px solid ${({ theme }) => theme.color.gray30};
- border-radius: 4px;
- padding: 8px;
-`;
-
-const StyledIcon = styled.span`
- margin-right: 8px;
-`;
-
-const StyledInput = styled.input`
- flex: 1;
- border: none;
- outline: none;
- font-size: 14px;
-
- &::placeholder {
- color: ${({ theme }) => theme.font.color.light};
- }
-`;
-
-const StyledErrorHelper = styled.div`
- color: ${({ theme }) => theme.color.red};
- font-size: 12px;
- padding: 5px 0;
-`;
-
-const TextInput: React.FC<TextInputProps> = ({
- label,
- value,
- onChange,
- fullWidth,
- error,
- placeholder,
- icon,
-}) => {
- const instanceId = useId();
-
- return (
- <StyledContainer fullWidth={fullWidth}>
- {label && <StyledLabel htmlFor={instanceId}>{label}</StyledLabel>}
- <StyledInputContainer>
- {icon && <StyledIcon>{icon}</StyledIcon>}
- <StyledInput
- id={instanceId}
- type="text"
- value={value}
- onChange={(e) => onChange(e.target.value)}
- placeholder={placeholder}
- />
- </StyledInputContainer>
- {error && <StyledErrorHelper>{error}</StyledErrorHelper>}
- </StyledContainer>
- );
-};
-
-export { TextInput };
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/input/components/Toggle.tsx b/packages/twenty-chrome-extension/src/options/modules/ui/input/components/Toggle.tsx
deleted file mode 100644
index 5b07a100531..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/input/components/Toggle.tsx
+++ /dev/null
@@ -1,84 +0,0 @@
-import styled from '@emotion/styled';
-import { motion } from 'framer-motion';
-import { useEffect, useState } from 'react';
-import { isDefined } from 'twenty-shared/utils';
-
-export type ToggleSize = 'small' | 'medium';
-
-type ContainerProps = {
- isOn: boolean;
- color?: string;
- toggleSize: ToggleSize;
-};
-
-const StyledContainer = styled.div<ContainerProps>`
- align-items: center;
- background-color: ${({ theme, isOn, color }) =>
- isOn ? (color ?? theme.color.blue) : theme.background.quaternary};
- border-radius: 10px;
- cursor: pointer;
- display: flex;
- height: ${({ toggleSize }) => (toggleSize === 'small' ? 16 : 20)}px;
- transition: background-color 0.3s ease;
- width: ${({ toggleSize }) => (toggleSize === 'small' ? 24 : 32)}px;
-`;
-
-const StyledCircle = styled(motion.div)<{
- toggleSize: ToggleSize;
-}>`
- background-color: ${({ theme }) => theme.background.primary};
- border-radius: 50%;
- height: ${({ toggleSize }) => (toggleSize === 'small' ? 12 : 16)}px;
- width: ${({ toggleSize }) => (toggleSize === 'small' ? 12 : 16)}px;
-`;
-
-export type ToggleProps = {
- value?: boolean;
- onChange?: (value: boolean) => void;
- color?: string;
- toggleSize?: ToggleSize;
-};
-
-export const Toggle = ({
- value,
- onChange,
- color,
- toggleSize = 'medium',
-}: ToggleProps) => {
- const [isOn, setIsOn] = useState(value ?? false);
-
- const circleVariants = {
- on: { x: toggleSize === 'small' ? 10 : 14 },
- off: { x: 2 },
- };
-
- const handleChange = () => {
- setIsOn(!isOn);
-
- if (isDefined(onChange)) {
- onChange(!isOn);
- }
- };
-
- useEffect(() => {
- if (value !== isOn) {
- setIsOn(value ?? false);
- }
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [value]);
-
- return (
- <StyledContainer
- onClick={handleChange}
- isOn={isOn}
- color={color}
- toggleSize={toggleSize}
- >
- <StyledCircle
- animate={isOn ? 'on' : 'off'}
- variants={circleVariants}
- toggleSize={toggleSize}
- />
- </StyledContainer>
- );
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/assets/dark-noise.jpg b/packages/twenty-chrome-extension/src/options/modules/ui/theme/assets/dark-noise.jpg
deleted file mode 100644
index 6fc95715e9d..00000000000
Binary files a/packages/twenty-chrome-extension/src/options/modules/ui/theme/assets/dark-noise.jpg and /dev/null differ
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/assets/light-noise.png b/packages/twenty-chrome-extension/src/options/modules/ui/theme/assets/light-noise.png
deleted file mode 100644
index d7b3bc2c064..00000000000
Binary files a/packages/twenty-chrome-extension/src/options/modules/ui/theme/assets/light-noise.png and /dev/null differ
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/components/AppThemeProvider.tsx b/packages/twenty-chrome-extension/src/options/modules/ui/theme/components/AppThemeProvider.tsx
deleted file mode 100644
index b19507fc085..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/components/AppThemeProvider.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import { ThemeProvider } from '@emotion/react';
-
-import { THEME_LIGHT } from '@/ui/theme/constants/ThemeLight';
-
-type AppThemeProviderProps = {
- children: JSX.Element;
-};
-
-const AppThemeProvider: React.FC<AppThemeProviderProps> = ({ children }) => {
- const theme = THEME_LIGHT;
-
- return <ThemeProvider theme={theme}>{children}</ThemeProvider>;
-};
-
-export { AppThemeProvider };
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/AccentDark.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/AccentDark.ts
deleted file mode 100644
index 55896534fac..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/AccentDark.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { COLOR } from '@/ui/theme/constants/Colors';
-
-export const ACCENT_DARK = {
- primary: COLOR.blueAccent75,
- secondary: COLOR.blueAccent80,
- tertiary: COLOR.blueAccent85,
- quaternary: COLOR.blueAccent90,
- accent3570: COLOR.blueAccent70,
- accent4060: COLOR.blueAccent60,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/AccentLight.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/AccentLight.ts
deleted file mode 100644
index ea28b4c34f5..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/AccentLight.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { COLOR } from '@/ui/theme/constants/Colors';
-
-export const ACCENT_LIGHT = {
- primary: COLOR.blueAccent25,
- secondary: COLOR.blueAccent20,
- tertiary: COLOR.blueAccent15,
- quaternary: COLOR.blueAccent10,
- accent3570: COLOR.blueAccent35,
- accent4060: COLOR.blueAccent40,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Animation.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Animation.ts
deleted file mode 100644
index 865d43b2b9a..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Animation.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-export const ANIMATION = {
- duration: {
- instant: 0.075,
- fast: 0.15,
- normal: 0.3,
- },
-};
-
-export type AnimationDuration = 'instant' | 'fast' | 'normal';
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BackgroundDark.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BackgroundDark.ts
deleted file mode 100644
index 631039e7217..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BackgroundDark.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/* eslint-disable @nx/workspace-no-hardcoded-colors */
-import DarkNoise from '@/ui/theme/assets/dark-noise.jpg';
-import { COLOR } from '@/ui/theme/constants/Colors';
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-import { RGBA } from '@/ui/theme/constants/Rgba';
-
-export const BACKGROUND_DARK = {
- noisy: `url(${DarkNoise.toString()});`,
- primary: GRAY_SCALE.gray85,
- secondary: GRAY_SCALE.gray80,
- tertiary: GRAY_SCALE.gray75,
- quaternary: GRAY_SCALE.gray70,
- danger: COLOR.red80,
- transparent: {
- primary: RGBA(GRAY_SCALE.gray85, 0.5),
- secondary: RGBA(GRAY_SCALE.gray80, 0.5),
- strong: RGBA(GRAY_SCALE.gray0, 0.14),
- medium: RGBA(GRAY_SCALE.gray0, 0.1),
- light: RGBA(GRAY_SCALE.gray0, 0.06),
- lighter: RGBA(GRAY_SCALE.gray0, 0.03),
- danger: RGBA(COLOR.red, 0.08),
- },
- overlay: RGBA(GRAY_SCALE.gray80, 0.8),
- radialGradient: `radial-gradient(50% 62.62% at 50% 0%, #505050 0%, ${GRAY_SCALE.gray60} 100%)`,
- radialGradientHover: `radial-gradient(76.32% 95.59% at 50% 0%, #505050 0%, ${GRAY_SCALE.gray60} 100%)`,
- primaryInverted: GRAY_SCALE.gray20,
- primaryInvertedHover: GRAY_SCALE.gray15,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BackgroundLight.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BackgroundLight.ts
deleted file mode 100644
index 5df07a383dc..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BackgroundLight.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-/* eslint-disable @nx/workspace-no-hardcoded-colors */
-import LightNoise from '@/ui/theme/assets/light-noise.png';
-import { COLOR } from '@/ui/theme/constants/Colors';
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-import { RGBA } from '@/ui/theme/constants/Rgba';
-
-export const BACKGROUND_LIGHT = {
- noisy: `url(${LightNoise.toString()});`,
- primary: GRAY_SCALE.gray0,
- secondary: GRAY_SCALE.gray10,
- tertiary: GRAY_SCALE.gray15,
- quaternary: GRAY_SCALE.gray20,
- danger: COLOR.red10,
- transparent: {
- primary: RGBA(GRAY_SCALE.gray0, 0.5),
- secondary: RGBA(GRAY_SCALE.gray10, 0.5),
- strong: RGBA(GRAY_SCALE.gray100, 0.16),
- medium: RGBA(GRAY_SCALE.gray100, 0.08),
- light: RGBA(GRAY_SCALE.gray100, 0.04),
- lighter: RGBA(GRAY_SCALE.gray100, 0.02),
- danger: RGBA(COLOR.red, 0.08),
- },
- overlay: RGBA(GRAY_SCALE.gray80, 0.8),
- radialGradient: `radial-gradient(50% 62.62% at 50% 0%, #505050 0%, ${GRAY_SCALE.gray60} 100%)`,
- radialGradientHover: `radial-gradient(76.32% 95.59% at 50% 0%, #505050 0%, ${GRAY_SCALE.gray60} 100%)`,
- primaryInverted: GRAY_SCALE.gray60,
- primaryInvertedHover: GRAY_SCALE.gray55,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Blur.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Blur.ts
deleted file mode 100644
index 01f2651473e..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Blur.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export const BLUR = {
- light: 'blur(6px)',
- strong: 'blur(20px)',
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderCommon.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderCommon.ts
deleted file mode 100644
index a68f017bc44..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderCommon.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-export const BORDER_COMMON = {
- radius: {
- xs: '2px',
- sm: '4px',
- md: '8px',
- xl: '20px',
- pill: '999px',
- rounded: '100%',
- },
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderDark.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderDark.ts
deleted file mode 100644
index 98d7cb80b29..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderDark.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { BORDER_COMMON } from '@/ui/theme/constants/BorderCommon';
-import { COLOR } from '@/ui/theme/constants/Colors';
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-
-export const BORDER_DARK = {
- color: {
- strong: GRAY_SCALE.gray55,
- medium: GRAY_SCALE.gray65,
- light: GRAY_SCALE.gray70,
- secondaryInverted: GRAY_SCALE.gray35,
- inverted: GRAY_SCALE.gray20,
- danger: COLOR.red70,
- },
- ...BORDER_COMMON,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderLight.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderLight.ts
deleted file mode 100644
index fbc43b13073..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BorderLight.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { BORDER_COMMON } from '@/ui/theme/constants/BorderCommon';
-import { COLOR } from '@/ui/theme/constants/Colors';
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-
-export const BORDER_LIGHT = {
- color: {
- strong: GRAY_SCALE.gray25,
- medium: GRAY_SCALE.gray20,
- light: GRAY_SCALE.gray15,
- secondaryInverted: GRAY_SCALE.gray50,
- inverted: GRAY_SCALE.gray60,
- danger: COLOR.red20,
- },
- ...BORDER_COMMON,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BoxShadowDark.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BoxShadowDark.ts
deleted file mode 100644
index 3c0ae9c333b..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BoxShadowDark.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-import { RGBA } from '@/ui/theme/constants/Rgba';
-
-export const BOX_SHADOW_DARK = {
- light: `0px 2px 4px 0px ${RGBA(
- GRAY_SCALE.gray100,
- 0.04,
- )}, 0px 0px 4px 0px ${RGBA(GRAY_SCALE.gray100, 0.08)}`,
- strong: `2px 4px 16px 0px ${RGBA(
- GRAY_SCALE.gray100,
- 0.16,
- )}, 0px 2px 4px 0px ${RGBA(GRAY_SCALE.gray100, 0.08)}`,
- underline: `0px 1px 0px 0px ${RGBA(GRAY_SCALE.gray100, 0.32)}`,
- superHeavy: `2px 4px 16px 0px ${RGBA(
- GRAY_SCALE.gray100,
- 0.12,
- )}, 0px 2px 4px 0px ${RGBA(GRAY_SCALE.gray100, 0.04)}`,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BoxShadowLight.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BoxShadowLight.ts
deleted file mode 100644
index 9ed6fd12383..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/BoxShadowLight.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-import { RGBA } from '@/ui/theme/constants/Rgba';
-
-export const BOX_SHADOW_LIGHT = {
- light: `0px 2px 4px 0px ${RGBA(
- GRAY_SCALE.gray100,
- 0.04,
- )}, 0px 0px 4px 0px ${RGBA(GRAY_SCALE.gray100, 0.08)}`,
- strong: `2px 4px 16px 0px ${RGBA(
- GRAY_SCALE.gray100,
- 0.12,
- )}, 0px 2px 4px 0px ${RGBA(GRAY_SCALE.gray100, 0.04)}`,
- underline: `0px 1px 0px 0px ${RGBA(GRAY_SCALE.gray100, 0.32)}`,
- superHeavy: `0px 0px 8px 0px ${RGBA(
- GRAY_SCALE.gray100,
- 0.16,
- )}, 0px 8px 64px -16px ${RGBA(
- GRAY_SCALE.gray100,
- 0.48,
- )}, 0px 24px 56px -16px ${RGBA(GRAY_SCALE.gray100, 0.08)}`,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Colors.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Colors.ts
deleted file mode 100644
index 022a67b707a..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Colors.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { MAIN_COLORS } from '@/ui/theme/constants/MainColors';
-import { SECONDARY_COLORS } from '@/ui/theme/constants/SecondaryColors';
-
-export const COLOR = {
- ...MAIN_COLORS,
- ...SECONDARY_COLORS,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontCommon.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontCommon.ts
deleted file mode 100644
index 65556c018d3..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontCommon.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-export const FONT_COMMON = {
- size: {
- xxs: '0.625rem',
- xs: '0.85rem',
- sm: '0.92rem',
- md: '1rem',
- lg: '1.23rem',
- xl: '1.54rem',
- xxl: '1.85rem',
- },
- weight: {
- regular: 400,
- medium: 500,
- semiBold: 600,
- },
- family: 'Inter, sans-serif',
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontDark.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontDark.ts
deleted file mode 100644
index 07aac6f97c2..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontDark.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { COLOR } from '@/ui/theme/constants/Colors';
-import { FONT_COMMON } from '@/ui/theme/constants/FontCommon';
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-
-export const FONT_DARK = {
- color: {
- primary: GRAY_SCALE.gray20,
- secondary: GRAY_SCALE.gray35,
- tertiary: GRAY_SCALE.gray45,
- light: GRAY_SCALE.gray50,
- extraLight: GRAY_SCALE.gray55,
- inverted: GRAY_SCALE.gray100,
- danger: COLOR.red,
- },
- ...FONT_COMMON,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontLight.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontLight.ts
deleted file mode 100644
index 9681a650276..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/FontLight.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { COLOR } from '@/ui/theme/constants/Colors';
-import { FONT_COMMON } from '@/ui/theme/constants/FontCommon';
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-
-export const FONT_LIGHT = {
- color: {
- primary: GRAY_SCALE.gray60,
- secondary: GRAY_SCALE.gray50,
- tertiary: GRAY_SCALE.gray40,
- light: GRAY_SCALE.gray35,
- extraLight: GRAY_SCALE.gray30,
- inverted: GRAY_SCALE.gray0,
- danger: COLOR.red,
- },
- ...FONT_COMMON,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/GrayScale.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/GrayScale.ts
deleted file mode 100644
index 90c194d9241..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/GrayScale.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/* eslint-disable @nx/workspace-no-hardcoded-colors */
-export const GRAY_SCALE = {
- gray100: '#000000',
- gray90: '#141414',
- gray85: '#171717',
- gray80: '#1b1b1b',
- gray75: '#1d1d1d',
- gray70: '#222222',
- gray65: '#292929',
- gray60: '#333333',
- gray55: '#4c4c4c',
- gray50: '#666666',
- gray45: '#818181',
- gray40: '#999999',
- gray35: '#b3b3b3',
- gray30: '#cccccc',
- gray25: '#d6d6d6',
- gray20: '#ebebeb',
- gray15: '#f1f1f1',
- gray10: '#fcfcfc',
- gray0: '#ffffff',
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/HoverBackground.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/HoverBackground.ts
deleted file mode 100644
index cbd9b9e0e4a..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/HoverBackground.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { css } from '@emotion/react';
-
-export const HOVER_BACKGROUND = (props: any) => css`
- transition: background 0.1s ease;
- &:hover {
- background: ${props.theme.background.transparent.light};
- }
-`;
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Icon.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Icon.ts
deleted file mode 100644
index e103c0b8ec3..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Icon.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-export const ICON = {
- size: {
- sm: 14,
- md: 16,
- lg: 20,
- xl: 40,
- },
- stroke: {
- sm: 1.6,
- md: 2,
- lg: 2.5,
- },
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MainColorNames.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MainColorNames.ts
deleted file mode 100644
index 648389ee7de..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MainColorNames.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import { MAIN_COLORS } from '@/ui/theme/constants/MainColors';
-
-export const MAIN_COLOR_NAMES = Object.keys(MAIN_COLORS) as ThemeColor[];
-
-export type ThemeColor = keyof typeof MAIN_COLORS;
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MainColors.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MainColors.ts
deleted file mode 100644
index d9d969a62bc..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MainColors.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-/* eslint-disable @nx/workspace-no-hardcoded-colors */
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-
-export const MAIN_COLORS = {
- green: '#55ef3c',
- turquoise: '#15de8f',
- sky: '#00e0ff',
- blue: '#1961ed',
- purple: '#915ffd',
- pink: '#f54bd0',
- red: '#f83e3e',
- orange: '#ff7222',
- yellow: '#ffd338',
- gray: GRAY_SCALE.gray30,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MobileViewport.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MobileViewport.ts
deleted file mode 100644
index 485d2dacd0f..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/MobileViewport.ts
+++ /dev/null
@@ -1 +0,0 @@
-export const MOBILE_VIEWPORT = 768;
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Modal.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Modal.ts
deleted file mode 100644
index 2a53265cc00..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Modal.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export const MODAL = {
- size: {
- sm: '300px',
- md: '400px',
- lg: '53%',
- },
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/OverlayBackground.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/OverlayBackground.ts
deleted file mode 100644
index b3e46818261..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/OverlayBackground.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { css } from '@emotion/react';
-
-import { ThemeType } from '@/ui/theme/constants/ThemeLight';
-
-export const OVERLAY_BACKGROUND = (props: { theme: ThemeType }) => css`
- backdrop-filter: blur(12px) saturate(200%) contrast(50%) brightness(130%);
- background: ${props.theme.background.transparent.secondary};
- box-shadow: ${props.theme.boxShadow.strong};
-`;
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Rgba.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Rgba.ts
deleted file mode 100644
index 6b06f2a64e9..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Rgba.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/* eslint-disable @nx/workspace-no-hardcoded-colors */
-import hexRgb from 'hex-rgb';
-
-export const RGBA = (hex: string, alpha: number) => {
- return `rgba(${hexRgb(hex, { format: 'array' })
- .slice(0, -1)
- .join(',')},${alpha})`;
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/SecondaryColors.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/SecondaryColors.ts
deleted file mode 100644
index 2eb3be248fd..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/SecondaryColors.ts
+++ /dev/null
@@ -1,106 +0,0 @@
-/* eslint-disable @nx/workspace-no-hardcoded-colors */
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-
-export const SECONDARY_COLORS = {
- yellow80: '#2e2a1a',
- yellow70: '#453d1e',
- yellow60: '#746224',
- yellow50: '#b99b2e',
- yellow40: '#ffe074',
- yellow30: '#ffedaf',
- yellow20: '#fff6d7',
- yellow10: '#fffbeb',
-
- green80: '#1d2d1b',
- green70: '#23421e',
- green60: '#2a5822',
- green50: '#42ae31',
- green40: '#88f477',
- green30: '#ccfac5',
- green20: '#ddfcd8',
- green10: '#eefdec',
-
- turquoise80: '#172b23',
- turquoise70: '#173f2f',
- turquoise60: '#166747',
- turquoise50: '#16a26b',
- turquoise40: '#5be8b1',
- turquoise30: '#a1f2d2',
- turquoise20: '#d0f8e9',
- turquoise10: '#e8fcf4',
-
- sky80: '#152b2e',
- sky70: '#123f45',
- sky60: '#0e6874',
- sky50: '#07a4b9',
- sky40: '#4de9ff',
- sky30: '#99f3ff',
- sky20: '#ccf9ff',
- sky10: '#e5fcff',
-
- blue80: '#171e2c',
- blue70: '#172642',
- blue60: '#18356d',
- blue50: '#184bad',
- blue40: '#5e90f2',
- blue30: '#a3c0f8',
- blue20: '#d1dffb',
- blue10: '#e8effd',
-
- purple80: '#231e2e',
- purple70: '#2f2545',
- purple60: '#483473',
- purple50: '#6c49b8',
- purple40: '#b28ffe',
- purple30: '#d3bffe',
- purple20: '#e9dfff',
- purple10: '#f4efff',
-
- pink80: '#2d1c29',
- pink70: '#43213c',
- pink60: '#702c61',
- pink50: '#b23b98',
- pink40: '#f881de',
- pink30: '#fbb7ec',
- pink20: '#fddbf6',
- pink10: '#feedfa',
-
- red80: '#2d1b1b',
- red70: '#441f1f',
- red60: '#712727',
- red50: '#b43232',
- red40: '#fa7878',
- red30: '#fcb2b2',
- red20: '#fed8d8',
- red10: '#feecec',
-
- orange80: '#2e2018',
- orange70: '#452919',
- orange60: '#743b1b',
- orange50: '#b9571f',
- orange40: '#ff9c64',
- orange30: '#ffc7a7',
- orange20: '#ffe3d3',
- orange10: '#fff1e9',
-
- gray80: GRAY_SCALE.gray70,
- gray70: GRAY_SCALE.gray65,
- gray60: GRAY_SCALE.gray55,
- gray50: GRAY_SCALE.gray40,
- gray40: GRAY_SCALE.gray25,
- gray30: GRAY_SCALE.gray20,
- gray20: GRAY_SCALE.gray15,
- gray10: GRAY_SCALE.gray10,
- blueAccent90: '#141a25',
- blueAccent85: '#151d2e',
- blueAccent80: '#152037',
- blueAccent75: '#16233f',
- blueAccent70: '#17294a',
- blueAccent60: '#18356d',
- blueAccent40: '#a3c0f8',
- blueAccent35: '#c8d9fb',
- blueAccent25: '#dae6fc',
- blueAccent20: '#e2ecfd',
- blueAccent15: '#edf2fe',
- blueAccent10: '#f5f9fd',
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TagDark.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TagDark.ts
deleted file mode 100644
index f146d694b53..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TagDark.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { COLOR } from '@/ui/theme/constants/Colors';
-
-export const TAG_DARK = {
- text: {
- green: COLOR.green10,
- turquoise: COLOR.turquoise10,
- sky: COLOR.sky10,
- blue: COLOR.blue10,
- purple: COLOR.purple10,
- pink: COLOR.pink10,
- red: COLOR.red10,
- orange: COLOR.orange10,
- yellow: COLOR.yellow10,
- gray: COLOR.gray10,
- },
- background: {
- green: COLOR.green60,
- turquoise: COLOR.turquoise60,
- sky: COLOR.sky60,
- blue: COLOR.blue60,
- purple: COLOR.purple60,
- pink: COLOR.pink60,
- red: COLOR.red60,
- orange: COLOR.orange60,
- yellow: COLOR.yellow60,
- gray: COLOR.gray60,
- },
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TagLight.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TagLight.ts
deleted file mode 100644
index 5e00c3e2a34..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TagLight.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { COLOR } from '@/ui/theme/constants/Colors';
-
-export const TAG_LIGHT = {
- text: {
- green: COLOR.green60,
- turquoise: COLOR.turquoise60,
- sky: COLOR.sky60,
- blue: COLOR.blue60,
- purple: COLOR.purple60,
- pink: COLOR.pink60,
- red: COLOR.red60,
- orange: COLOR.orange60,
- yellow: COLOR.yellow60,
- gray: COLOR.gray60,
- },
- background: {
- green: COLOR.green20,
- turquoise: COLOR.turquoise20,
- sky: COLOR.sky20,
- blue: COLOR.blue20,
- purple: COLOR.purple20,
- pink: COLOR.pink20,
- red: COLOR.red20,
- orange: COLOR.orange20,
- yellow: COLOR.yellow20,
- gray: COLOR.gray20,
- },
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Text.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Text.ts
deleted file mode 100644
index db9a0786b76..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/Text.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-export const TEXT = {
- lineHeight: {
- lg: 1.5,
- md: 1.2,
- },
-
- iconSizeMedium: 16,
- iconSizeSmall: 14,
-
- iconStrikeLight: 1.6,
- iconStrikeMedium: 2,
- iconStrikeBold: 2.5,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TextInputStyle.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TextInputStyle.ts
deleted file mode 100644
index 2058dbde3a8..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/TextInputStyle.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { css } from '@emotion/react';
-
-import { ThemeType } from '@/ui/theme/constants/ThemeLight';
-
-export const TEXT_INPUT_STYLE = (props: { theme: ThemeType }) => css`
- background-color: transparent;
- border: none;
- color: ${props.theme.font.color.primary};
- font-family: ${props.theme.font.family};
- font-size: inherit;
- font-weight: inherit;
- outline: none;
- padding: ${props.theme.spacing(0)} ${props.theme.spacing(2)};
-
- &::placeholder,
- &::-webkit-input-placeholder {
- color: ${props.theme.font.color.light};
- font-family: ${props.theme.font.family};
- font-weight: ${props.theme.font.weight.medium};
- }
-`;
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeCommon.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeCommon.ts
deleted file mode 100644
index 1480582a2fb..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeCommon.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/* eslint-disable @nx/workspace-no-hardcoded-colors */
-import { ANIMATION } from '@/ui/theme/constants/Animation';
-import { BLUR } from '@/ui/theme/constants/Blur';
-import { COLOR } from '@/ui/theme/constants/Colors';
-import { GRAY_SCALE } from '@/ui/theme/constants/GrayScale';
-import { ICON } from '@/ui/theme/constants/Icon';
-import { MODAL } from '@/ui/theme/constants/Modal';
-import { TEXT } from '@/ui/theme/constants/Text';
-
-export const THEME_COMMON = {
- color: COLOR,
- grayScale: GRAY_SCALE,
- icon: ICON,
- modal: MODAL,
- text: TEXT,
- blur: BLUR,
- animation: ANIMATION,
- snackBar: {
- success: {
- background: '#16A26B',
- color: '#D0F8E9',
- },
- error: {
- background: '#B43232',
- color: '#FED8D8',
- },
- info: {
- background: COLOR.gray80,
- color: GRAY_SCALE.gray0,
- },
- },
- spacingMultiplicator: 4,
- spacing: (...args: number[]) =>
- args.map((multiplicator) => `${multiplicator * 4}px`).join(' '),
- betweenSiblingsGap: `2px`,
- table: {
- horizontalCellMargin: '8px',
- checkboxColumnWidth: '32px',
- horizontalCellPadding: '8px',
- },
- rightDrawerWidth: '500px',
- clickableElementBackgroundTransition: 'background 0.1s ease',
- lastLayerZIndex: 2147483647,
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeDark.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeDark.ts
deleted file mode 100644
index a80f03071c5..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeDark.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { ACCENT_DARK } from '@/ui/theme/constants/AccentDark';
-import { BACKGROUND_DARK } from '@/ui/theme/constants/BackgroundDark';
-import { BORDER_DARK } from '@/ui/theme/constants/BorderDark';
-import { BOX_SHADOW_DARK } from '@/ui/theme/constants/BoxShadowDark';
-import { FONT_DARK } from '@/ui/theme/constants/FontDark';
-import { TAG_DARK } from '@/ui/theme/constants/TagDark';
-import { THEME_COMMON } from '@/ui/theme/constants/ThemeCommon';
-import { ThemeType } from '@/ui/theme/constants/ThemeLight';
-
-export const THEME_DARK: ThemeType = {
- ...THEME_COMMON,
- ...{
- accent: ACCENT_DARK,
- background: BACKGROUND_DARK,
- border: BORDER_DARK,
- tag: TAG_DARK,
- boxShadow: BOX_SHADOW_DARK,
- font: FONT_DARK,
- name: 'dark',
- },
-};
diff --git a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeLight.ts b/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeLight.ts
deleted file mode 100644
index 3f837e48f3c..00000000000
--- a/packages/twenty-chrome-extension/src/options/modules/ui/theme/constants/ThemeLight.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { ACCENT_LIGHT } from '@/ui/theme/constants/AccentLight';
-import { BACKGROUND_LIGHT } from '@/ui/theme/constants/BackgroundLight';
-import { BORDER_LIGHT } from '@/ui/theme/constants/BorderLight';
-import { BOX_SHADOW_LIGHT } from '@/ui/theme/constants/BoxShadowLight';
-import { FONT_LIGHT } from '@/ui/theme/constants/FontLight';
-import { TAG_LIGHT } from '@/ui/theme/constants/TagLight';
-import { THEME_COMMON } from '@/ui/theme/constants/ThemeCommon';
-
-export const THEME_LIGHT = {
- ...THEME_COMMON,
- ...{
- accent: ACCENT_LIGHT,
- background: BACKGROUND_LIGHT,
- border: BORDER_LIGHT,
- tag: TAG_LIGHT,
- boxShadow: BOX_SHADOW_LIGHT,
- font: FONT_LIGHT,
- name: 'light',
- },
-};
-
-export type ThemeType = typeof THEME_LIGHT;
diff --git a/packages/twenty-chrome-extension/src/options/page-inaccessible-index.tsx b/packages/twenty-chrome-extension/src/options/page-inaccessible-index.tsx
deleted file mode 100644
index 1584913e23e..00000000000
--- a/packages/twenty-chrome-extension/src/options/page-inaccessible-index.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react';
-import ReactDOM from 'react-dom/client';
-
-import { AppThemeProvider } from '@/ui/theme/components/AppThemeProvider';
-import { ThemeType } from '@/ui/theme/constants/ThemeLight';
-import PageInaccessible from '~/options/PageInaccessible';
-
-import '~/index.css';
-
-ReactDOM.createRoot(document.getElementById('app') as HTMLElement).render(
- <AppThemeProvider>
- <React.StrictMode>
- <PageInaccessible />
- </React.StrictMode>
- </AppThemeProvider>,
-);
-
-declare module '@emotion/react' {
- export interface Theme extends ThemeType {}
-}
diff --git a/packages/twenty-chrome-extension/src/utils/apolloClient.ts b/packages/twenty-chrome-extension/src/utils/apolloClient.ts
deleted file mode 100644
index 4b602f481e9..00000000000
--- a/packages/twenty-chrome-extension/src/utils/apolloClient.ts
+++ /dev/null
@@ -1,86 +0,0 @@
-import { ApolloClient, from, HttpLink, InMemoryCache } from '@apollo/client';
-import { setContext } from '@apollo/client/link/context';
-import { onError } from '@apollo/client/link/error';
-import { isDefined } from 'twenty-shared/utils';
-
-export const clearStore = () => {
- chrome.storage.local.remove([
- 'loginToken',
- 'accessToken',
- 'refreshToken',
- 'sidepanelUrl',
- ]);
- chrome.storage.local.set({ isAuthenticated: false });
-};
-
-export const getServerUrl = async () => {
- const store = await chrome.storage.local.get();
- const serverUrl = `${
- isDefined(store.serverBaseUrl)
- ? store.serverBaseUrl
- : import.meta.env.VITE_SERVER_BASE_URL
- }/graphql`;
- return serverUrl;
-};
-
-const getAuthToken = async () => {
- const store = await chrome.storage.local.get();
- if (isDefined(store.accessToken)) return `Bearer ${store.accessToken.token}`;
- else return '';
-};
-
-const getApolloClient = async () => {
- const authLink = setContext(async (_, { headers }) => {
- const token = await getAuthToken();
- return {
- headers: {
- ...headers,
- authorization: token,
- },
- };
- });
- const errorLink = onError(({ graphQLErrors, networkError }) => {
- if (isDefined(graphQLErrors)) {
- for (const graphQLError of graphQLErrors) {
- if (graphQLError.message === 'Unauthorized') {
- clearStore();
- return;
- }
- switch (graphQLError?.extensions?.code) {
- case 'UNAUTHENTICATED': {
- clearStore();
- break;
- }
- default:
- // eslint-disable-next-line no-console
- console.error(
- `[GraphQL error]: Message: ${graphQLError.message}, Location: ${
- graphQLError.locations
- ? JSON.stringify(graphQLError.locations)
- : graphQLError.locations
- }, Path: ${graphQLError.path}`,
- );
- break;
- }
- }
- }
-
- if (isDefined(networkError)) {
- // eslint-disable-next-line no-console
- console.error(`[Network error]: ${networkError}`);
- }
- });
-
- const httpLink = new HttpLink({
- uri: await getServerUrl(),
- });
-
- const client = new ApolloClient({
- cache: new InMemoryCache(),
- link: from([errorLink, authLink, httpLink]),
- });
-
- return client;
-};
-
-export default getApolloClient;
diff --git a/packages/twenty-chrome-extension/src/utils/handleQueryParams.ts b/packages/twenty-chrome-extension/src/utils/handleQueryParams.ts
deleted file mode 100644
index c0396653feb..00000000000
--- a/packages/twenty-chrome-extension/src/utils/handleQueryParams.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-// Convert extracted data into a structure that can be sent to the server for storage.
-const handleQueryParams = (inputData: { [x: string]: unknown }): string => {
- let result = '';
- Object.keys(inputData).forEach((key) => {
- let quote = '';
- if (typeof inputData[key] === 'string') quote = '"';
- if (typeof inputData[key] === 'object') {
- result = result.concat(
- `${key}: {${handleQueryParams(
- inputData[key] as { [x: string]: unknown },
- )}}, `,
- );
- } else {
- result = result.concat(`${key}: ${quote}${inputData[key]}${quote}, `);
- }
- });
- if (result.length > 0) result = result.slice(0, -2); // Remove the last ', '
- return result;
-};
-
-export default handleQueryParams;
diff --git a/packages/twenty-chrome-extension/src/utils/requestDb.ts b/packages/twenty-chrome-extension/src/utils/requestDb.ts
deleted file mode 100644
index 2d6503a652c..00000000000
--- a/packages/twenty-chrome-extension/src/utils/requestDb.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import { OperationVariables } from '@apollo/client';
-import { DocumentNode } from 'graphql';
-import getApolloClient from '~/utils/apolloClient';
-import { isDefined } from 'twenty-shared/utils';
-
-export const callQuery = async <T>(
- query: DocumentNode,
- variables?: OperationVariables,
-): Promise<T | null> => {
- try {
- const client = await getApolloClient();
- const { data } = await client.query<T>({ query, variables });
-
- if (isDefined(data)) return data;
- else return null;
- } catch (error) {
- return null;
- }
-};
-
-export const callMutation = async <T>(
- mutation: DocumentNode,
- variables?: OperationVariables,
-): Promise<T | null> => {
- try {
- const client = await getApolloClient();
-
- const { data } = await client.mutate<T>({ mutation, variables });
-
- if (isDefined(data)) return data;
- else return null;
- } catch (error) {
- return null;
- }
-};
diff --git a/packages/twenty-chrome-extension/src/vite-env.d.ts b/packages/twenty-chrome-extension/src/vite-env.d.ts
deleted file mode 100644
index dbc3e503f24..00000000000
--- a/packages/twenty-chrome-extension/src/vite-env.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/// <reference types="vite/client" />
-
-interface ImportMetaEnv {
- readonly VITE_SERVER_BASE_URL: string;
- readonly VITE_FRONT_BASE_URL: string;
- readonly VITE_MODE: string;
- readonly AUTH_TOKEN: string | undefined;
-}
-
-interface ImportMeta {
- readonly env: ImportMetaEnv;
-}
diff --git a/packages/twenty-chrome-extension/tsconfig.app.json b/packages/twenty-chrome-extension/tsconfig.app.json
deleted file mode 100644
index ce50a898d1d..00000000000
--- a/packages/twenty-chrome-extension/tsconfig.app.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "exclude": [
- "**/*.spec.ts",
- "**/*.test.ts",
- "**/*.spec.tsx",
- "**/*.test.tsx",
- "jest.config.ts"
- ],
- "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"]
-}
diff --git a/packages/twenty-chrome-extension/tsconfig.json b/packages/twenty-chrome-extension/tsconfig.json
deleted file mode 100644
index d9bd2f66b54..00000000000
--- a/packages/twenty-chrome-extension/tsconfig.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "extends": "../../tsconfig.base.json",
- "compilerOptions": {
- "outDir": "../../.cache/tsc",
- "target": "ES2022",
- "useDefineForClassFields": true,
- "lib": ["ES2022", "DOM", "DOM.Iterable"],
- "module": "ESNext",
- "skipLibCheck": true,
- "esModuleInterop": true,
- "paths": {
- "@/*": ["./src/options/modules/*"],
- "~/*": ["./src/*"]
- },
-
- /* Bundler mode */
- "moduleResolution": "bundler",
- "allowSyntheticDefaultImports": true,
- "allowImportingTsExtensions": true,
- "resolveJsonModule": true,
- "isolatedModules": true,
- "noEmit": true,
- "jsx": "react-jsx",
-
- /* Linting */
- "strict": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "noFallthroughCasesInSwitch": true,
- "forceConsistentCasingInFileNames": true
- },
- "files": [],
- "include": [],
- "references": [
- {
- "path": "./tsconfig.app.json"
- },
- {
- "path": "./tsconfig.spec.json"
- }
- ]
-}
diff --git a/packages/twenty-chrome-extension/tsconfig.spec.json b/packages/twenty-chrome-extension/tsconfig.spec.json
deleted file mode 100644
index 0436d0542f8..00000000000
--- a/packages/twenty-chrome-extension/tsconfig.spec.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "compilerOptions": {
- "types": ["jest", "node"]
- },
- "include": [
- "codegen.ts",
- "vite.config.ts",
- "jest.config.ts",
- "**/*.test.ts",
- "**/*.test.tsx",
- "**/*.spec.ts",
- "**/*.d.ts",
- ".storybook/**/*",
- "**/*.stories.tsx"
- ]
-}
diff --git a/packages/twenty-chrome-extension/vite.config.ts b/packages/twenty-chrome-extension/vite.config.ts
deleted file mode 100644
index f30851658a9..00000000000
--- a/packages/twenty-chrome-extension/vite.config.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-import { crx } from '@crxjs/vite-plugin';
-import react from '@vitejs/plugin-react';
-import { defineConfig, Plugin } from 'vite';
-import tsconfigPaths from 'vite-tsconfig-paths';
-
-import manifest from './src/manifest';
-
-const viteManifestHack: Plugin & {
- renderCrxManifest: (manifest: unknown, bundle: unknown) => void;
-} = {
- // Workaround from https://github.com/crxjs/chrome-extension-tools/issues/846#issuecomment-1861880919.
- name: 'manifestHack',
- renderCrxManifest: (_manifest, bundle: any) => {
- bundle['manifest.json'] = bundle['.vite/manifest.json'];
- bundle['manifest.json'].fileName = 'manifest.json';
- delete bundle['.vite/manifest.json'];
- },
-};
-
-export default defineConfig(() => {
- return {
- root: __dirname,
- cacheDir: '../../node_modules/.vite/packages/twenty-chrome-extension',
-
- build: {
- emptyOutDir: true,
- outDir: 'dist',
- rollupOptions: {
- output: { chunkFileNames: 'assets/chunk-[hash].js' },
- },
- target: 'ES2022',
- },
-
- // Adding this to fix websocket connection error.
- server: {
- port: 3002,
- strictPort: true,
- hmr: { port: 3002 },
- },
-
- plugins: [viteManifestHack, crx({ manifest }), react(), tsconfigPaths()],
- };
-});
diff --git a/packages/twenty-shared/scripts/migrateFromSingleToMultiBarrelImport.ts b/packages/twenty-shared/scripts/migrateFromSingleToMultiBarrelImport.ts
index ddcda5b5814..be0b751e512 100644
--- a/packages/twenty-shared/scripts/migrateFromSingleToMultiBarrelImport.ts
+++ b/packages/twenty-shared/scripts/migrateFromSingleToMultiBarrelImport.ts
@@ -475,7 +475,6 @@ const main = () => {
'twenty-server',
'twenty-emails',
'twenty-zapier',
- 'twenty-chrome-extension',
];
for (const currPackage of packagesToMigrate) {
console.log(`About to run over ${currPackage}`);
diff --git a/yarn.lock b/yarn.lock
index 3e2397caf92..0b30d5450dd 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -54683,14 +54683,6 @@ __metadata:
languageName: node
linkType: hard
-"twenty-chrome-extension@workspace:packages/twenty-chrome-extension":
- version: 0.0.0-use.local
- resolution: "twenty-chrome-extension@workspace:packages/twenty-chrome-extension"
- dependencies:
- twenty-shared: "workspace:*"
- languageName: unknown
- linkType: soft
-
"twenty-e2e-testing@workspace:packages/twenty-e2e-testing":
version: 0.0.0-use.local
resolution: "twenty-e2e-testing@workspace:packages/twenty-e2e-testing"