Skip to content

The open alternative to Salesforce, designed for AI.

564 B
Raw Blame
import { gql } from '@apollo/client';

export const GET_WORKSPACE_AGNOSTIC_TOKEN_FROM_EMAIL_VERIFICATION_TOKEN = gql`
  mutation VerifyEmailAndGetWorkspaceAgnosticToken(
    $emailVerificationToken: String!
    $email: String!
    $captchaToken: String
  ) {
    verifyEmailAndGetWorkspaceAgnosticToken(
      emailVerificationToken: $emailVerificationToken
      email: $email
      captchaToken: $captchaToken
    ) {
      availableWorkspaces {
        ...AvailableWorkspacesFragment
      }
      tokens {
        ...AuthTokenPairFragment
      }
    }
  }
`;