import gql from 'graphql-tag';

export const CUSTOMERS = gql`
  query people($input: PeopleInput!) {
    people(input: $input) {
      pageInfo {
        hasNextPage
        totalCount
      }
      people {
        name
        nationalId
        address
        postCode
        city
        country
        isSystemId
        hasBannedDirectMarketing
        dateOfBirth
        maritalStatus
        nationality
        familyRegistrationCode
        spouseNationalId
        guardianNationalId
        linkedNationalId
        status
      }
    }
  }
`;
