The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { ROLE_FRAGMENT } from '@/settings/roles/graphql/fragments/roleFragment';
import { gql } from '@apollo/client';
export const UPDATE_WORKSPACE = gql`
${ROLE_FRAGMENT}
mutation UpdateWorkspace($input: UpdateWorkspaceInput!) {
updateWorkspace(data: $input) {
id
aiChatDirectMessageAssistantMode
aiChatInboxAssistantMode
customDomain
subdomain
displayName
logo
allowImpersonation
isPublicInviteLinkEnabled
isCampaignClickTrackingEnabled
isCampaignOpenTrackingEnabled
workspaceDiscoverability
isGoogleAuthEnabled
isMicrosoftAuthEnabled
isPasswordAuthEnabled
isTwoFactorAuthenticationEnforced
isInternalMessagesImportEnabled
defaultRole {
...RoleFragment
}
}
}
`;