userDetailAttributes.api.ts 903 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. outOfOffice
  12. outOfOfficeStartAt
  13. outOfOfficeEndAt
  14. image
  15. email
  16. web
  17. vip
  18. phone
  19. mobile
  20. fax
  21. note
  22. active
  23. objectAttributeValues {
  24. ...objectAttributeValues
  25. }
  26. organization {
  27. id
  28. internalId
  29. name
  30. active
  31. vip
  32. ticketsCount {
  33. open
  34. closed
  35. }
  36. }
  37. secondaryOrganizations(first: $secondaryOrganizationsCount) {
  38. edges {
  39. node {
  40. id
  41. internalId
  42. active
  43. name
  44. }
  45. }
  46. totalCount
  47. }
  48. hasSecondaryOrganizations
  49. ticketsCount {
  50. open
  51. closed
  52. }
  53. }
  54. ${ObjectAttributeValuesFragmentDoc}`;