12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- query search(
- $search: String!
- $onlyIn: EnumSearchableModels
- $limit: Int = 30
- ) {
- search(search: $search, onlyIn: $onlyIn, limit: $limit) {
- ... on Ticket {
- id
- internalId
- title
- number
- state {
- id
- name
- }
- priority {
- name
- defaultCreate
- uiColor
- }
- customer {
- id
- internalId
- fullname
- }
- updatedAt
- updatedBy {
- id
- fullname
- }
- stateColorCode
- }
- ... on User {
- id
- internalId
- firstname
- lastname
- image
- active
- outOfOffice
- outOfOfficeStartAt
- outOfOfficeEndAt
- vip
- organization {
- id
- internalId
- name
- }
- updatedAt
- updatedBy {
- id
- fullname
- }
- ticketsCount {
- open
- closed
- }
- }
- ... on Organization {
- id
- internalId
- members(first: 2) {
- edges {
- node {
- id
- fullname
- }
- }
- totalCount
- }
- active
- name
- vip
- updatedAt
- updatedBy {
- id
- fullname
- }
- ticketsCount {
- open
- closed
- }
- }
- }
- }
|