Skip to content

The open alternative to Salesforce, designed for AI.

18.1 KB
Raw Blame
import { msg } from '@lingui/core/macro';

import { SETTINGS_BILLING_PERSONAL_AI_USAGE_COMPARISON_ROW } from '@/settings/billing/constants/SettingsBillingPersonalAiUsageComparisonRow';
import { type SettingsBillingPlanComparisonRow } from '@/settings/billing/types/SettingsBillingPlanComparison';
import { BillingPlanKey } from '~/generated-metadata/graphql';

export const SETTINGS_BILLING_PLAN_COMPARISON_ROWS = [
  { title: msg`Plan essentials`, type: 'category' },
  SETTINGS_BILLING_PERSONAL_AI_USAGE_COMPARISON_ROW,
  {
    featureLabel: msg`Workspace credits`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: {
        detail: msg`≈ 50,000 workflow steps`,
        kind: 'text',
        text: msg`5 credits/month`,
      },
      [BillingPlanKey.ORGANIZATION_V2]: {
        detail: msg`≈ 40,000 workflow steps`,
        kind: 'text',
        text: msg`4 credits/user/month`,
      },
      [BillingPlanKey.PRO]: {
        detail: msg`≈ 50,000 workflow steps`,
        kind: 'text',
        text: msg`5 credits/month`,
      },
      [BillingPlanKey.PRO_V2]: {
        detail: msg`≈ 10,000 workflow steps`,
        kind: 'text',
        text: msg`1 credit/user/month`,
      },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Permissions`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: {
        detail: msg`down to fields and rows`,
        kind: 'text',
        text: msg`Custom roles`,
      },
      [BillingPlanKey.ORGANIZATION_V2]: {
        detail: msg`down to fields and rows`,
        kind: 'text',
        text: msg`Custom roles`,
      },
      [BillingPlanKey.PRO]: {
        detail: msg`down to fields`,
        kind: 'text',
        text: msg`Custom roles`,
      },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Admin & Member` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`SSO`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`SAML/OIDC` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`SAML/OIDC` },
      [BillingPlanKey.PRO]: { kind: 'excluded' },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Support`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Priority` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Priority` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Email and chat` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Email and chat` },
    },
    type: 'feature',
  },
  { title: msg`Workspace`, type: 'category' },
  {
    featureLabel: msg`Seats limit`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Custom objects`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Custom fields`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Custom views`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`View types`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: {
        kind: 'text',
        text: msg`Table, Kanban, Calendar`,
      },
      [BillingPlanKey.ORGANIZATION_V2]: {
        kind: 'text',
        text: msg`Table, Kanban, Calendar`,
      },
      [BillingPlanKey.PRO]: {
        kind: 'text',
        text: msg`Table, Kanban, Calendar`,
      },
      [BillingPlanKey.PRO_V2]: {
        kind: 'text',
        text: msg`Table, Kanban, Calendar`,
      },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Custom layout`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Records`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`CSV import & export`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Languages`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`30+` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`30+` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`30+` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`30+` },
    },
    type: 'feature',
  },
  { title: msg`Reports`, type: 'category' },
  {
    featureLabel: msg`Number of dashboards`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  { title: msg`Emails & Calendar`, type: 'category' },
  {
    featureLabel: msg`Internet accounts per user`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Folder/Label import`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Email sharing`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: {
        kind: 'text',
        text: msg`Fully customizable`,
      },
      [BillingPlanKey.ORGANIZATION_V2]: {
        kind: 'text',
        text: msg`Fully customizable`,
      },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Fully customizable` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Fully customizable` },
    },
    type: 'feature',
  },
  { title: msg`AI & Automations`, type: 'category' },
  {
    featureLabel: msg`Workflows`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`AI agents`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Extra credits`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: {
        detail: msg`$1 per credit, from $20/month`,
        kind: 'text',
        text: msg`Credit packs`,
      },
      [BillingPlanKey.ORGANIZATION_V2]: {
        detail: msg`$1 per credit, from $20/month`,
        kind: 'text',
        text: msg`Credit packs`,
      },
      [BillingPlanKey.PRO]: {
        detail: msg`$1 per credit, from $20/month`,
        kind: 'text',
        text: msg`Credit packs`,
      },
      [BillingPlanKey.PRO_V2]: {
        detail: msg`$1 per credit, from $20/month`,
        kind: 'text',
        text: msg`Credit packs`,
      },
    },
    type: 'feature',
  },
  { title: msg`Security`, type: 'category' },
  {
    featureLabel: msg`Two-factor authentication`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`User roles`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Admin & Member` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Read/Edit/Delete permissions`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Field-level permissions`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Row-level permissions`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'excluded' },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Encryption key rotation`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'excluded' },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Record change logs`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Audit logs`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'excluded' },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Log retention`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: {
        kind: 'text',
        text: msg`Custom, up to 3 years`,
      },
      [BillingPlanKey.ORGANIZATION_V2]: {
        kind: 'text',
        text: msg`Custom, up to 3 years`,
      },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`2 hours` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`2 hours` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Environments`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: {
        kind: 'text',
        text: msg`Local, Production`,
      },
      [BillingPlanKey.ORGANIZATION_V2]: {
        kind: 'text',
        text: msg`Local, Production`,
      },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Local, Production` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Local, Production` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Impersonate users`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Data Processing Agreement (DPA)`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  { title: msg`Support`, type: 'category' },
  {
    featureLabel: msg`Community`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Help center`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Email and Chat`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Priority support`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'excluded' },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Onboarding Packs`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Implementation partners`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'excluded' },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  { title: msg`Customization`, type: 'category' },
  {
    featureLabel: msg`Custom apps`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`Unlimited` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`Unlimited` },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Subdomain (yourco.twenty.com)`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Custom domain (crm.yourco.com)`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'excluded' },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  { title: msg`Developers`, type: 'category' },
  {
    featureLabel: msg`REST & GraphQL API`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Webhooks`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`MCP server`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`App logs`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'included' },
      [BillingPlanKey.PRO_V2]: { kind: 'included' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`Install shared tarball app`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'included' },
      [BillingPlanKey.ORGANIZATION_V2]: { kind: 'included' },
      [BillingPlanKey.PRO]: { kind: 'excluded' },
      [BillingPlanKey.PRO_V2]: { kind: 'excluded' },
    },
    type: 'feature',
  },
  {
    featureLabel: msg`API calls`,
    plans: {
      [BillingPlanKey.ENTERPRISE]: { kind: 'text', text: msg`100 per minute` },
      [BillingPlanKey.ORGANIZATION_V2]: {
        kind: 'text',
        text: msg`100 per minute`,
      },
      [BillingPlanKey.PRO]: { kind: 'text', text: msg`50 per minute` },
      [BillingPlanKey.PRO_V2]: { kind: 'text', text: msg`50 per minute` },
    },
    type: 'feature',
  },
] satisfies SettingsBillingPlanComparisonRow[];