userDetailAttributes.api.ts 863 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { ObjectAttributeValuesFragmentDoc } from './objectAttributeValues.api';
  4. export const UserDetailAttributesFragmentDoc = gql`
  5. fragment userDetailAttributes on User {
  6. id
  7. internalId
  8. firstname
  9. lastname
  10. fullname
  11. image
  12. email
  13. web
  14. vip
  15. phone
  16. outOfOffice
  17. mobile
  18. fax
  19. note
  20. active
  21. objectAttributeValues {
  22. ...objectAttributeValues
  23. }
  24. organization {
  25. id
  26. internalId
  27. name
  28. active
  29. vip
  30. ticketsCount {
  31. open
  32. closed
  33. }
  34. }
  35. secondaryOrganizations(first: $secondaryOrganizationsCount) {
  36. edges {
  37. node {
  38. id
  39. internalId
  40. active
  41. name
  42. }
  43. }
  44. totalCount
  45. }
  46. hasSecondaryOrganizations
  47. ticketsCount {
  48. open
  49. closed
  50. }
  51. }
  52. ${ObjectAttributeValuesFragmentDoc}`;