The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { type ClientConfig } from '@/client-config/types/ClientConfig';
import { CaptchaDriverType, SupportDriver } from '~/generated-metadata/graphql';
export const mockedClientConfig: ClientConfig = {
aiModels: [],
aiEvaluationModels: [],
aiModelTiers: [],
signInPrefilled: true,
isMultiWorkspaceEnabled: false,
isEmailVerificationRequired: false,
authProviders: {
google: true,
magicLink: false,
password: true,
microsoft: false,
sso: [],
},
frontDomain: 'localhost',
serverUrl: 'http://localhost:3000',
defaultSubdomain: 'app',
analyticsEnabled: true,
support: {
supportDriver: SupportDriver.FRONT,
supportFrontChatId: null,
},
sentry: {
dsn: 'MOCKED_DSN',
release: 'MOCKED_RELEASE',
environment: 'MOCKED_ENVIRONMENT',
},
billing: {
isBillingEnabled: true,
billingUrl: '',
trialPeriods: [
{
duration: 30,
isCreditCardRequired: true,
},
{
duration: 7,
isCreditCardRequired: false,
},
],
},
captcha: {
provider: CaptchaDriverType.GOOGLE_RECAPTCHA,
siteKey: 'MOCKED_SITE_KEY',
},
api: { mutationMaximumAffectedRecords: 100 },
onboarding: {
importContactsCreditsReward: 2,
inviteTeamCreditsRewardPerUser: 3,
createProfileCreditsReward: 0.5,
upgradeCreditsReward: 2,
inviteTeamMaxInvites: 10,
},
canManageFeatureFlags: true,
publicFeatureFlags: [],
isMicrosoftMessagingEnabled: true,
isMicrosoftCalendarEnabled: true,
isGoogleMessagingEnabled: true,
isGoogleCalendarEnabled: true,
isAttachmentPreviewEnabled: true,
isConfigVariablesInDbEnabled: false,
isImapSmtpCaldavEnabled: false,
isTwoFactorAuthenticationEnabled: false,
isEmailingDomainInDemoMode: false,
allowRequestsToTwentyIcons: true,
isCloudflareIntegrationEnabled: false,
isClickHouseConfigured: false,
isWorkspaceSchemaDDLLocked: false,
isOnboardingAiChatEnabled: false,
isBookCallOnboardingStepEnabled: false,
isCompanyEnrichmentEnabled: false,
};