Files
twenty_crm/front/src/modules/people/graphql/mutations/updateOnePerson.ts
2023-09-05 09:52:06 +02:00

29 lines
476 B
TypeScript

import { gql } from '@apollo/client';
export const UPDATE_ONE_PERSON = gql`
mutation UpdateOnePerson(
$where: PersonWhereUniqueInput!
$data: PersonUpdateInput!
) {
updateOnePerson(data: $data, where: $where) {
id
city
company {
domainName
name
id
}
avatarUrl
email
jobTitle
linkedinUrl
xUrl
firstName
lastName
displayName
phone
createdAt
}
}
`;