export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
  ID: { input: string; output: string; }
  String: { input: string; output: string; }
  Boolean: { input: boolean; output: boolean; }
  Int: { input: number; output: number; }
  Float: { input: number; output: number; }
  BinaryString: { input: string; output: string; }
  FormId: { input: string; output: string; }
  ISO8601Date: { input: string; output: string; }
  ISO8601DateTime: { input: string; output: string; }
  JSON: { input: any; output: any; }
  KnowledgeBaseIconSet: { input: 'anticon' | 'FontAwesome' | 'material' | 'ionicons' | 'Simple-Line-Icons'; output: 'anticon' | 'FontAwesome' | 'material' | 'ionicons' | 'Simple-Line-Icons'; }
  NonEmptyString: { input: string; output: string; }
  UriHttpString: { input: string; output: string; }
};

/** AI::Agents */
export type AiAgent = {
  __typename?: 'AIAgent';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** Name of the AI Agent */
  name: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** AI Analytics Metadata type that returns related run ID and usage data if present */
export type AiAnalyticsMetadata = {
  __typename?: 'AIAnalyticsMetadata';
  /** Indicates if the summary is unread by the current user. */
  isUnread?: Maybe<Scalars['Boolean']['output']>;
  /** ID of the related AI::Analytics::Run. */
  run?: Maybe<AiAnalyticsRun>;
  /** AI analytics usage record. */
  usage?: Maybe<AiAnalyticsUsage>;
};

/** AI::Analytics::Run identifies an AI result that can be used for analytics purposes. */
export type AiAnalyticsRun = {
  __typename?: 'AIAnalyticsRun';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** The ticket related to this AI result. */
  relatedObject?: Maybe<Ticket>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** AI::Analytics::Usage records a usage of an AI result that can be used for analytics purposes. */
export type AiAnalyticsUsage = {
  __typename?: 'AIAnalyticsUsage';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  /** Indicates if the user has already provided feedback for this AI result. */
  userHasProvidedFeedback?: Maybe<Scalars['Boolean']['output']>;
};

/** Input for the AI analytics usage. */
export type AiAnalyticsUsageInput = {
  /** Usage comment on the AI result. */
  comment?: InputMaybe<Scalars['String']['input']>;
  /** Context data of the usage, e.g. approval status. */
  context?: InputMaybe<Scalars['JSON']['input']>;
  /** Usage rating of the AI result. */
  rating?: InputMaybe<Scalars['Boolean']['input']>;
};

/** Autogenerated return type of AIAnalyticsUsage. */
export type AiAnalyticsUsagePayload = {
  __typename?: 'AIAnalyticsUsagePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** AI analytics usage record. */
  usage?: Maybe<AiAnalyticsUsage>;
};

/** Autogenerated return type of AIAssistanceTextToolsRun. */
export type AiAssistanceTextToolsRunPayload = {
  __typename?: 'AIAssistanceTextToolsRunPayload';
  /** Analytics metadata */
  analytics?: Maybe<AiAnalyticsMetadata>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Returned text */
  output?: Maybe<Scalars['String']['output']>;
};

/** AI::TextTool represents a tool that can be used to process text or HTML content using AI services. */
export type AiTextTool = {
  __typename?: 'AITextTool';
  active: Scalars['Boolean']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  groups?: Maybe<GroupConnection>;
  id: Scalars['ID']['output'];
  instruction: Scalars['String']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  name: Scalars['String']['output'];
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};


/** AI::TextTool represents a tool that can be used to process text or HTML content using AI services. */
export type AiTextToolGroupsArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};

/** Autogenerated return type of AITextToolUpdates. */
export type AiTextToolUpdatesPayload = {
  __typename?: 'AITextToolUpdatesPayload';
  /** The group IDs from the updated AI text tool */
  groupIds?: Maybe<Array<Scalars['ID']['output']>>;
  /** The AI text tool ID that was removed */
  removeTextToolId?: Maybe<Scalars['ID']['output']>;
  /** AI text tool ID that was updated */
  textToolId?: Maybe<Scalars['ID']['output']>;
};

/** Objects used to build activity message */
export type ActivityMessageMetaObject = DataPrivacyTask | Group | KnowledgeBaseAnswerTranslation | OnlineNotificationStandalone | Organization | Role | Ticket | TicketArticle | User;

/** A field which may contain one or more email or other addresses. */
export type AddressesField = {
  __typename?: 'AddressesField';
  /** If email addresses were found and parseable, this will hold the parsed result. */
  parsed?: Maybe<Array<EmailAddressParsed>>;
  /** Unparsed content of the addresses field. */
  raw: Scalars['String']['output'];
};

/** Autogenerated return type of AdminPasswordAuthSend. */
export type AdminPasswordAuthSendPayload = {
  __typename?: 'AdminPasswordAuthSendPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if sending the token was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of AdminPasswordAuthVerify. */
export type AdminPasswordAuthVerifyPayload = {
  __typename?: 'AdminPasswordAuthVerifyPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Login of the user */
  login?: Maybe<Scalars['String']['output']>;
};

/** Autogenerated return type of AppMaintenance. */
export type AppMaintenancePayload = {
  __typename?: 'AppMaintenancePayload';
  /** Maintenance type, may trigger actions in the front end */
  type?: Maybe<EnumAppMaintenanceType>;
};

/** Represents an error with the execution of an async job. */
export type AsyncExecutionError = {
  __typename?: 'AsyncExecutionError';
  exception: Scalars['String']['output'];
  message: Scalars['String']['output'];
};

/** Represents the attachment attributes to be used e.g. in ticket create/update. */
export type AttachmentInput = {
  /** The attached files. */
  files: Array<UploadFileInput>;
  /** FormID for the attached files. */
  formId: Scalars['FormId']['input'];
};

/** Authorization for an account linked to a user */
export type Authorization = {
  __typename?: 'Authorization';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  id: Scalars['ID']['output'];
  provider: Scalars['String']['output'];
  uid: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  username?: Maybe<Scalars['String']['output']>;
};

/** Type that represents an autocomplete entry with a string value. */
export type AutocompleteSearchEntry = {
  __typename?: 'AutocompleteSearchEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  value: Scalars['String']['output'];
};

/** Type that represents an autocomplete entry with an external data source value. */
export type AutocompleteSearchExternalDataSourceEntry = {
  __typename?: 'AutocompleteSearchExternalDataSourceEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  value: Scalars['JSON']['output'];
};

/** Type that represents a generic autocomplete entry. */
export type AutocompleteSearchGenericEntry = {
  __typename?: 'AutocompleteSearchGenericEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  object: Item;
  value: Scalars['Int']['output'];
};

/** Input fields for generic autocomplete searches. */
export type AutocompleteSearchGenericInput = {
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Optionally restrict search certain models */
  onlyIn?: InputMaybe<Array<EnumSearchableModels>>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** The default fields for autocomplete searches. */
export type AutocompleteSearchInput = {
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** Type that represents an autocomplete knowledge base answer entry. */
export type AutocompleteSearchKnowledgeBaseAnswerEntry = {
  __typename?: 'AutocompleteSearchKnowledgeBaseAnswerEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  /** Route of the answer in the desktop app, e.g. the href to write when linking it from another answer */
  url: Scalars['String']['output'];
  value: Scalars['String']['output'];
  /** Publication state, used for the state icon in the picker */
  visibility: EnumKnowledgeBaseVisibility;
};

/** Input fields for knowledge base answer autocomplete searches. */
export type AutocompleteSearchKnowledgeBaseAnswerInput = {
  /** Optional knowledge base answer translation IDs to be filtered out from results */
  exceptAnswerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** Type that represents an autocomplete knowledge base category icon entry. Its `value` is the codepoint stored on the category, which doubles as the sprite symbol id. */
export type AutocompleteSearchKnowledgeBaseCategoryIconEntry = {
  __typename?: 'AutocompleteSearchKnowledgeBaseCategoryIconEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  /** Icon font the entry was found in, needed to render it from the correct sprite */
  iconSet: Scalars['KnowledgeBaseIconSet']['output'];
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  value: Scalars['String']['output'];
};

/** Input fields for knowledge base category icon autocomplete searches. */
export type AutocompleteSearchKnowledgeBaseCategoryIconInput = {
  /** Icon font of the knowledge base the category belongs to, selecting the catalog to search */
  iconSet: Scalars['KnowledgeBaseIconSet']['input'];
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** Input fields for object attribute external data source autocomplete searches. */
export type AutocompleteSearchObjectAttributeExternalDataSourceInput = {
  /** Name of the object attribute */
  attributeName: Scalars['String']['input'];
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Object name of the object attribute, e.g. Ticket */
  object: EnumObjectManagerObjects;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
  /** Context data for the search url rendering, e.g. customer data. */
  templateRenderContext: TemplateRenderContextInput;
};

/** Type that represents an autocomplete organization entry. */
export type AutocompleteSearchOrganizationEntry = {
  __typename?: 'AutocompleteSearchOrganizationEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  organization: Organization;
  value: Scalars['Int']['output'];
};

/** Input fields for organization autocomplete searches. */
export type AutocompleteSearchOrganizationInput = {
  /** Customer ID to filter the organizations by */
  customerId?: InputMaybe<Scalars['ID']['input']>;
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** Type that represents an autocomplete recipient entry. */
export type AutocompleteSearchRecipientEntry = {
  __typename?: 'AutocompleteSearchRecipientEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  user: User;
  value: Scalars['String']['output'];
};

/** Input fields for recipient autocomplete searches. */
export type AutocompleteSearchRecipientInput = {
  /** User contact type option, i.e. email or phone */
  contact?: InputMaybe<EnumUserContact>;
  /** Optional user ID to be filtered out from results */
  exceptInternalId?: InputMaybe<Scalars['Int']['input']>;
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** Input fields for tag autocomplete searches. */
export type AutocompleteSearchTagInput = {
  /** Optional tags to be filtered out from results */
  exceptTags?: InputMaybe<Array<Scalars['String']['input']>>;
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** Type that represents an autocomplete ticket entry. */
export type AutocompleteSearchTicketEntry = {
  __typename?: 'AutocompleteSearchTicketEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  ticket: Ticket;
  value: Scalars['String']['output'];
};

/** Input fields for ticket autocomplete searches. */
export type AutocompleteSearchTicketInput = {
  /** Optional ticket ID to be filtered out from results */
  exceptTicketInternalId?: InputMaybe<Scalars['Int']['input']>;
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** Type that represents an autocomplete user entry. */
export type AutocompleteSearchUserEntry = {
  __typename?: 'AutocompleteSearchUserEntry';
  disabled?: Maybe<Scalars['Boolean']['output']>;
  heading?: Maybe<Scalars['String']['output']>;
  headingPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  icon?: Maybe<Scalars['String']['output']>;
  label: Scalars['String']['output'];
  labelPlaceholder?: Maybe<Array<Scalars['String']['output']>>;
  user: User;
  value: Scalars['Int']['output'];
};

/** Input fields for user autocomplete searches. */
export type AutocompleteSearchUserInput = {
  /** Optional user ID to be filtered out from results */
  exceptInternalId?: InputMaybe<Scalars['Int']['input']>;
  /** Limit for the amount of entries */
  limit?: InputMaybe<Scalars['Int']['input']>;
  /** Query from the autocomplete field */
  query: Scalars['String']['input'];
};

/** Avatar for users */
export type Avatar = {
  __typename?: 'Avatar';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  default: Scalars['Boolean']['output'];
  deletable: Scalars['Boolean']['output'];
  id: Scalars['ID']['output'];
  imageFull?: Maybe<Scalars['String']['output']>;
  imageHash?: Maybe<Scalars['String']['output']>;
  imageResize?: Maybe<Scalars['String']['output']>;
  initial: Scalars['Boolean']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** The fields for uploading a new avatar. */
export type AvatarInput = {
  /** The original image to use for the avatar. */
  original: UploadFileInput;
  /** The resized/cropped image to use for the avatar. */
  resized: UploadFileInput;
};

/** Input for the feedback on BETA UI. */
export type BetaUiFeedbackInput = {
  /** The feedback comment text */
  comment: Scalars['String']['input'];
  /** The feedback rating (1-5) */
  rating?: InputMaybe<Scalars['Int']['input']>;
  /** Time spent in the BETA UI in minutes */
  timeSpent: Scalars['Int']['input'];
  /** The type of feedback */
  type: EnumBetaUiFeedbackType;
};

/** Autogenerated return type of BetaUiSendFeedback. */
export type BetaUiSendFeedbackPayload = {
  __typename?: 'BetaUiSendFeedbackPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the submission successful? */
  success: Scalars['Boolean']['output'];
};

/** The connection type for Ticket. */
export type CachedTicketConnection = {
  __typename?: 'CachedTicketConnection';
  /** Signature that identifies the current collection state. This is always returned, even if the edges data is not because the signature is still the same. */
  collectionSignature: Scalars['String']['output'];
  /** A list of edges. */
  edges?: Maybe<Array<TicketEdge>>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** Event from ICS file */
export type CalendarIcsFileEvent = {
  __typename?: 'CalendarIcsFileEvent';
  attendees?: Maybe<Array<Scalars['String']['output']>>;
  description?: Maybe<Scalars['String']['output']>;
  endDate?: Maybe<Scalars['ISO8601DateTime']['output']>;
  location?: Maybe<Scalars['String']['output']>;
  organizer?: Maybe<Scalars['String']['output']>;
  startDate?: Maybe<Scalars['ISO8601DateTime']['output']>;
  title?: Maybe<Scalars['String']['output']>;
};

/** Channels */
export type Channel = {
  __typename?: 'Channel';
  active: Scalars['Boolean']['output'];
  area: Scalars['String']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  /** resolver for Rails' belongs_to relationship */
  group?: Maybe<Group>;
  id: Scalars['ID']['output'];
  lastLogIn?: Maybe<Scalars['String']['output']>;
  lastLogOut?: Maybe<Scalars['String']['output']>;
  options?: Maybe<Scalars['JSON']['output']>;
  preferences?: Maybe<Scalars['JSON']['output']>;
  statusIn?: Maybe<Scalars['String']['output']>;
  statusOut?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Fields for a new email channel. */
export type ChannelEmailAddInput = {
  /** Sender email address for this channel */
  emailAddress: Scalars['String']['input'];
  /** Sender email realname for this channel */
  emailRealname: Scalars['String']['input'];
  /** Group for this channel */
  groupId?: InputMaybe<Scalars['ID']['input']>;
  /** Configuration to validate */
  inboundConfiguration: ChannelEmailInboundConfigurationInput;
  /** Configuration to validate */
  outboundConfiguration: ChannelEmailOutboundConfigurationInput;
};

/** Autogenerated return type of ChannelEmailAdd. */
export type ChannelEmailAddPayload = {
  __typename?: 'ChannelEmailAddPayload';
  /** The new channel object */
  channel?: Maybe<Channel>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of ChannelEmailGuessConfiguration. */
export type ChannelEmailGuessConfigurationPayload = {
  __typename?: 'ChannelEmailGuessConfigurationPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Holds the guessed configurations. */
  result: ChannelEmailGuessConfigurationResult;
};

/** Result for channel configuration guessing. */
export type ChannelEmailGuessConfigurationResult = {
  __typename?: 'ChannelEmailGuessConfigurationResult';
  /** If present, the probing for inbound was successful */
  inboundConfiguration?: Maybe<ChannelEmailInboundConfiguration>;
  /** Inbound mailbox data */
  mailboxStats?: Maybe<ChannelEmailInboundMailboxStats>;
  /** If present, the probing for inbound was successful */
  outboundConfiguration?: Maybe<ChannelEmailOutboundConfiguration>;
};

/** Configuration for an inbound email channel. */
export type ChannelEmailInboundConfiguration = {
  __typename?: 'ChannelEmailInboundConfiguration';
  /** Protocol/adapter for this email channel */
  adapter: EnumChannelEmailInboundAdapter;
  /** IMAP Mailbox folder to fetch emails from */
  folder?: Maybe<Scalars['String']['output']>;
  /** Hostname for the email service to connect to */
  host?: Maybe<Scalars['String']['output']>;
  port?: Maybe<Scalars['Int']['output']>;
  ssl?: Maybe<EnumChannelEmailSsl>;
  /** Whether to perform SSL verification */
  sslVerify?: Maybe<Scalars['Boolean']['output']>;
  /** Username for the email service to connect with */
  user?: Maybe<Scalars['String']['output']>;
};

/** Configuration for an inbound email channel. */
export type ChannelEmailInboundConfigurationInput = {
  /** Protocol/adapter for this email channel */
  adapter: EnumChannelEmailInboundAdapter;
  /** Whether to perform the email import in archive mode */
  archive?: InputMaybe<Scalars['Boolean']['input']>;
  /** Import mails older than this date in archive mode */
  archiveBefore?: InputMaybe<Scalars['ISO8601DateTime']['input']>;
  /** Archive ticket target state internal ID */
  archiveStateId?: InputMaybe<Scalars['Int']['input']>;
  /** IMAP Mailbox folder to fetch emails from */
  folder?: InputMaybe<Scalars['String']['input']>;
  /** Hostname for the email service to connect to */
  host: Scalars['String']['input'];
  /** Whether messages should be kept on the IMAP server when fetching */
  keepOnServer?: InputMaybe<Scalars['Boolean']['input']>;
  /** Password for the email service to connect with */
  password: Scalars['String']['input'];
  /** Port for the email service to connect to */
  port: Scalars['Int']['input'];
  /** Whether to use TLS/SSL */
  ssl: EnumChannelEmailSsl;
  /** Whether to perform SSL verification */
  sslVerify?: InputMaybe<Scalars['Boolean']['input']>;
  /** Username for the email service to connect with */
  user: Scalars['String']['input'];
};

/** Inbound mailbox statistics. */
export type ChannelEmailInboundMailboxStats = {
  __typename?: 'ChannelEmailInboundMailboxStats';
  /** Number of content emails found during account probing. */
  contentMessages?: Maybe<Scalars['Int']['output']>;
};

/** Configuration for an outbound email channel. */
export type ChannelEmailOutboundConfiguration = {
  __typename?: 'ChannelEmailOutboundConfiguration';
  /** Protocol/adapter for this email channel */
  adapter: EnumChannelEmailOutboundAdapter;
  /** Hostname for the email service to connect to */
  host?: Maybe<Scalars['String']['output']>;
  port?: Maybe<Scalars['Int']['output']>;
  /** Whether to perform SSL verification */
  sslVerify?: Maybe<Scalars['Boolean']['output']>;
  /** Username for the email service to connect with */
  user?: Maybe<Scalars['String']['output']>;
};

/** Configuration for an outbound email channel. */
export type ChannelEmailOutboundConfigurationInput = {
  /** Protocol/adapter for this email channel */
  adapter: EnumChannelEmailOutboundAdapter;
  /** Hostname for the email service to connect to */
  host?: InputMaybe<Scalars['String']['input']>;
  /** Password for the email service to connect with */
  password?: InputMaybe<Scalars['String']['input']>;
  /** Port for the email service to connect to */
  port?: InputMaybe<Scalars['Int']['input']>;
  /** Whether to perform SSL verification */
  sslVerify?: InputMaybe<Scalars['Boolean']['input']>;
  /** Username for the email service to connect with */
  user?: InputMaybe<Scalars['String']['input']>;
};

/** Autogenerated return type of ChannelEmailSetNotificationConfiguration. */
export type ChannelEmailSetNotificationConfigurationPayload = {
  __typename?: 'ChannelEmailSetNotificationConfigurationPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the operation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of ChannelEmailValidateConfigurationInbound. */
export type ChannelEmailValidateConfigurationInboundPayload = {
  __typename?: 'ChannelEmailValidateConfigurationInboundPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Inbound mailbox data */
  mailboxStats?: Maybe<ChannelEmailInboundMailboxStats>;
  /** Was the validation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of ChannelEmailValidateConfigurationOutbound. */
export type ChannelEmailValidateConfigurationOutboundPayload = {
  __typename?: 'ChannelEmailValidateConfigurationOutboundPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the validation successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of ChannelEmailValidateConfigurationRoundtrip. */
export type ChannelEmailValidateConfigurationRoundtripPayload = {
  __typename?: 'ChannelEmailValidateConfigurationRoundtripPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the validation successful? */
  success: Scalars['Boolean']['output'];
};

/** Ticket checklist */
export type Checklist = {
  __typename?: 'Checklist';
  complete: Scalars['Int']['output'];
  completed: Scalars['Boolean']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  incomplete: Scalars['Int']['output'];
  items: Array<ChecklistItem>;
  name?: Maybe<Scalars['String']['output']>;
  /** resolver for Rails' belongs_to relationship */
  ticket: Ticket;
  total: Scalars['Int']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Ticket checklist item */
export type ChecklistItem = {
  __typename?: 'ChecklistItem';
  checked: Scalars['Boolean']['output'];
  /** resolver for Rails' belongs_to relationship */
  checklist: Checklist;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  text: Scalars['String']['output'];
  ticketReference?: Maybe<TicketReference>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Checklist template */
export type ChecklistTemplate = {
  __typename?: 'ChecklistTemplate';
  active?: Maybe<Scalars['Boolean']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  name?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Autogenerated return type of ChecklistTemplateUpdates. */
export type ChecklistTemplateUpdatesPayload = {
  __typename?: 'ChecklistTemplateUpdatesPayload';
  /** Checklist templates */
  checklistTemplates?: Maybe<Array<ChecklistTemplate>>;
};

/** Autogenerated return type of ConfigUpdates. */
export type ConfigUpdatesPayload = {
  __typename?: 'ConfigUpdatesPayload';
  /** Updated setting */
  setting?: Maybe<KeyComplexValue>;
};

/** The translation of the content of an object */
export type ContentTranslation = {
  __typename?: 'ContentTranslation';
  /** The service that produced the translation, e.g. "ai" */
  backend?: Maybe<Scalars['String']['output']>;
  /** The translated content, in the format of the original */
  content?: Maybe<Scalars['String']['output']>;
  /** False if the content was returned as it is, because there was nothing to translate */
  translated?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of CtiCallPickup. */
export type CtiCallPickupPayload = {
  __typename?: 'CtiCallPickupPayload';
  /** The view to open, resolved on the server */
  target?: Maybe<CtiPickupTarget>;
};

/** Caller log entry of the CTI integration */
export type CtiLog = {
  __typename?: 'CtiLog';
  comment?: Maybe<Scalars['String']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  direction: Scalars['String']['output'];
  done: Scalars['Boolean']['output'];
  durationTalkingTime?: Maybe<Scalars['Int']['output']>;
  durationWaitingTime?: Maybe<Scalars['Int']['output']>;
  from: Scalars['String']['output'];
  /** Name the telephony backend sent for the calling side, e.g. the agent who dialled */
  fromComment?: Maybe<Scalars['String']['output']>;
  /** Caller IDs matched to the calling number */
  fromMatches: Array<CtiLogCallerIdMatch>;
  fromPretty: Scalars['String']['output'];
  id: Scalars['ID']['output'];
  state: Scalars['String']['output'];
  to: Scalars['String']['output'];
  /** Name the telephony backend sent for the called side, e.g. the agent who answered or the queue */
  toComment?: Maybe<Scalars['String']['output']>;
  /** Caller IDs matched to the called number */
  toMatches: Array<CtiLogCallerIdMatch>;
  toPretty: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};

/** A caller ID matched to one side of a call, either a known or a possible user */
export type CtiLogCallerIdMatch = {
  __typename?: 'CtiLogCallerIdMatch';
  comment?: Maybe<Scalars['String']['output']>;
  /** Match quality, 'known' or 'maybe' */
  level: Scalars['String']['output'];
  user?: Maybe<User>;
};

/** The connection type for CtiLog. */
export type CtiLogConnection = {
  __typename?: 'CtiLogConnection';
  /** A list of edges. */
  edges: Array<CtiLogEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** Autogenerated return type of CtiLogDoneUpdate. */
export type CtiLogDoneUpdatePayload = {
  __typename?: 'CtiLogDoneUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated caller log entry */
  log?: Maybe<CtiLog>;
};

/** An edge in a connection. */
export type CtiLogEdge = {
  __typename?: 'CtiLogEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: CtiLog;
};

/** Autogenerated return type of CtiLogUpdates. */
export type CtiLogUpdatesPayload = {
  __typename?: 'CtiLogUpdatesPayload';
  /** A new call needs to be added to the caller log */
  addLog?: Maybe<CtiLog>;
  /** A call must be removed from the caller log */
  removeLogId?: Maybe<Scalars['ID']['output']>;
  /** An existing call was changed */
  updateLog?: Maybe<CtiLog>;
};

/** The view an agent who picked up a call lands on, decided on the server like for the old UI */
export type CtiPickupTarget = {
  __typename?: 'CtiPickupTarget';
  /** Detected customer, when any */
  customer?: Maybe<User>;
  /** The picked-up call */
  log: CtiLog;
  view: EnumCtiPickupView;
};

/** What the navigation entry of the CTI integration shows for the current user */
export type CtiSidebar = {
  __typename?: 'CtiSidebar';
  /** Calls still ringing among the entries the caller log shows, newest first */
  ringingCalls: Array<CtiLog>;
  /** Calls not marked as done, across the whole caller log of the user */
  unhandledCount: Scalars['Int']['output'];
};

/** Autogenerated return type of CtiSidebarUpdates. */
export type CtiSidebarUpdatesPayload = {
  __typename?: 'CtiSidebarUpdatesPayload';
  /** The current state, resolved like the ctiSidebar query */
  sidebar?: Maybe<CtiSidebar>;
};

/** Data privacy task type */
export type DataPrivacyTask = {
  __typename?: 'DataPrivacyTask';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  deletableId?: Maybe<Scalars['Int']['output']>;
  deletableType?: Maybe<Scalars['String']['output']>;
  id: Scalars['ID']['output'];
  state?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Union of data payloads for standalone online notifications */
export type DataUnion = OnlineNotificationStandaloneBulkJobData | OnlineNotificationStandaloneKbAnswerGenerationFailedData;

/** EmailAddress model instances */
export type EmailAddress = {
  __typename?: 'EmailAddress';
  active: Scalars['Boolean']['output'];
  /** resolver for Rails' belongs_to relationship */
  channel?: Maybe<Channel>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  email: Scalars['String']['output'];
  id: Scalars['ID']['output'];
  name: Scalars['String']['output'];
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  preferences?: Maybe<Scalars['JSON']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Represents a parsed email address. */
export type EmailAddressParsed = {
  __typename?: 'EmailAddressParsed';
  /** Email address. */
  emailAddress?: Maybe<Scalars['String']['output']>;
  /** Is email added as system EmailAddress? */
  isSystemAddress: Scalars['Boolean']['output'];
  /** Display name + comment part of email (if any). */
  name?: Maybe<Scalars['String']['output']>;
};

/** Possible AfterAuth message types */
export enum EnumAfterAuthType {
  /** DoorkeeperReturnTo */
  DoorkeeperReturnTo = 'DoorkeeperReturnTo',
  /** TwoFactorConfiguration */
  TwoFactorConfiguration = 'TwoFactorConfiguration'
}

/** Possible AppVersion messages */
export enum EnumAppMaintenanceType {
  /** A new version of the app is available. */
  AppVersion = 'app_version',
  /** The app configuration has changed. */
  ConfigChanged = 'config_changed',
  /** Force browsers to refresh. */
  ForceRefresh = 'force_refresh',
  /** App is restarting. */
  RestartAuto = 'restart_auto',
  /** App needs a restart. */
  RestartManual = 'restart_manual'
}

/** Option to choose the appearance theme */
export enum EnumAppearanceTheme {
  /** Prefer color scheme as indicated by the operating system. */
  Auto = 'auto',
  /** A color scheme that uses light-colored elements on a dark background. */
  Dark = 'dark',
  /** A color scheme that uses dark-colored elements on a light background. */
  Light = 'light'
}

/** Available thirdparty authentication providers */
export enum EnumAuthenticationProvider {
  Facebook = 'facebook',
  Github = 'github',
  Gitlab = 'gitlab',
  GoogleOauth2 = 'google_oauth2',
  Linkedin = 'linkedin',
  MicrosoftOffice365 = 'microsoft_office365',
  OpenidConnect = 'openid_connect',
  Saml = 'saml',
  Sso = 'sso',
  Twitter = 'twitter',
  Weibo = 'weibo'
}

/** BETA UI feedback type */
export enum EnumBetaUiFeedbackType {
  /** Switch back to old UI */
  BackToOldUi = 'back_to_old_ui',
  /** Manual feedback */
  ManualFeedback = 'manual_feedback',
  /** Milestone question */
  MilestoneQuestion = 'milestone_question'
}

/** Bulk update status type */
export enum EnumBulkUpdateStatusStatus {
  /** Bulk update failed */
  Failed = 'failed',
  /** No bulk update in progress */
  None = 'none',
  /** Bulk update is pending and will start soon */
  Pending = 'pending',
  /** Bulk update is currently running */
  Running = 'running',
  /** Bulk update completed successfully */
  Succeeded = 'succeeded'
}

/** The channel area type */
export enum EnumChannelArea {
  EmailAccount = 'Email__Account',
  EmailNotification = 'Email__Notification',
  FacebookAccount = 'Facebook__Account',
  GoogleAccount = 'Google__Account',
  Microsoft365Account = 'Microsoft365__Account',
  MicrosoftGraphAccount = 'MicrosoftGraph__Account',
  SmsAccount = 'Sms__Account',
  SmsNotification = 'Sms__Notification',
  TelegramBot = 'Telegram__Bot',
  WhatsAppBusiness = 'WhatsApp__Business'
}

/** Inbound email protocols/adapters */
export enum EnumChannelEmailInboundAdapter {
  Imap = 'imap',
  Pop3 = 'pop3'
}

/** Outbound email protocols/adapters */
export enum EnumChannelEmailOutboundAdapter {
  Sendmail = 'sendmail',
  Smtp = 'smtp'
}

/** Possible values for email SSL/TLS transport security */
export enum EnumChannelEmailSsl {
  Off = 'off',
  Ssl = 'ssl',
  Starttls = 'starttls'
}

/** View to open for an agent who picked up a call */
export enum EnumCtiPickupView {
  /** The ticket create screen, for the detected customer or the calling number */
  TicketCreate = 'ticketCreate',
  /** The detail view of the detected customer */
  UserDetail = 'userDetail'
}

/** All available form updaters */
export enum EnumFormUpdaterId {
  FormUpdaterUpdaterGuidedSetupEmailArchive = 'FormUpdater__Updater__GuidedSetup__EmailArchive',
  FormUpdaterUpdaterGuidedSetupEmailInbound = 'FormUpdater__Updater__GuidedSetup__EmailInbound',
  FormUpdaterUpdaterGuidedSetupEmailNotification = 'FormUpdater__Updater__GuidedSetup__EmailNotification',
  FormUpdaterUpdaterGuidedSetupEmailOutbound = 'FormUpdater__Updater__GuidedSetup__EmailOutbound',
  FormUpdaterUpdaterKnowledgeBaseAnswerCreate = 'FormUpdater__Updater__KnowledgeBase__Answer__Create',
  FormUpdaterUpdaterKnowledgeBaseAnswerEdit = 'FormUpdater__Updater__KnowledgeBase__Answer__Edit',
  FormUpdaterUpdaterKnowledgeBaseCategoryCreate = 'FormUpdater__Updater__KnowledgeBase__Category__Create',
  FormUpdaterUpdaterKnowledgeBaseCategoryEdit = 'FormUpdater__Updater__KnowledgeBase__Category__Edit',
  FormUpdaterUpdaterKnowledgeBaseEdit = 'FormUpdater__Updater__KnowledgeBase__Edit',
  FormUpdaterUpdaterOrganizationEdit = 'FormUpdater__Updater__Organization__Edit',
  FormUpdaterUpdaterSearchAdvancedFilters = 'FormUpdater__Updater__Search__AdvancedFilters',
  FormUpdaterUpdaterTicketBulkEdit = 'FormUpdater__Updater__Ticket__BulkEdit',
  FormUpdaterUpdaterTicketCreate = 'FormUpdater__Updater__Ticket__Create',
  FormUpdaterUpdaterTicketEdit = 'FormUpdater__Updater__Ticket__Edit',
  FormUpdaterUpdaterTicketTimeAccounting = 'FormUpdater__Updater__Ticket__TimeAccounting',
  FormUpdaterUpdaterUserCreate = 'FormUpdater__Updater__User__Create',
  FormUpdaterUpdaterUserCurrentNewAccessToken = 'FormUpdater__Updater__User__Current__NewAccessToken',
  FormUpdaterUpdaterUserEdit = 'FormUpdater__Updater__User__Edit',
  FormUpdaterUpdaterUserInvite = 'FormUpdater__Updater__User__Invite',
  FormUpdaterUpdaterUserNotifications = 'FormUpdater__Updater__User__Notifications'
}

/** The knowledge base answer screen a preference applies to */
export enum EnumKnowledgeBaseAnswerScreen {
  /** The view an answer is added in. */
  Create = 'create',
  /** The view an existing answer is edited in. */
  Edit = 'edit'
}

/** Option to choose what happens after a knowledge base answer was saved */
export enum EnumKnowledgeBaseAnswerScreenBehavior {
  /** Close the tab and open a fresh form to add the next answer in the same category. Create screen only. */
  CloseTabAndAddAnother = 'closeTabAndAddAnother',
  /** Close the tab and read the saved answer. */
  CloseTabAndOpenAnswer = 'closeTabAndOpenAnswer',
  /** Close the tab and return to the answer's category. */
  CloseTabAndOpenCategory = 'closeTabAndOpenCategory',
  /** Keep the tab open on the saved answer. Edit screen only. */
  StayOnTab = 'stayOnTab'
}

/** Access level a role has on a knowledge base object */
export enum EnumKnowledgeBasePermissionAccess {
  /** May read and edit the content. */
  Editor = 'editor',
  /** Has no access at all. */
  None = 'none',
  /** May read the content, including internally published answers. */
  Reader = 'reader'
}

/** Publication state a scheduled visibility change of knowledge base content can reach */
export enum EnumKnowledgeBaseSchedulableVisibility {
  /** No longer published, retained for reference. */
  Archived = 'archived',
  /** Published internally, visible to agents. */
  Internal = 'internal',
  /** Published publicly. */
  Published = 'published'
}

/** Kind of knowledge base content to search for */
export enum EnumKnowledgeBaseSearchEntity {
  /** Answers, matched in their title, body, attachments and tags. */
  Answer = 'answer',
  /** Categories, matched in their title. */
  Category = 'category'
}

/** How the content of a knowledge base node — its root or a single category — is ordered when browsed */
export enum EnumKnowledgeBaseSortingMode {
  Alphabetical = 'alphabetical',
  LastUpdate = 'last_update',
  Manual = 'manual'
}

/** Publication state used for color-coding knowledge base content */
export enum EnumKnowledgeBaseVisibility {
  /** No longer published, retained for reference. */
  Archived = 'archived',
  /** Not yet published (grey). */
  Draft = 'draft',
  /** Published internally, visible to agents (blue). */
  Internal = 'internal',
  /** Published publicly (green). */
  Published = 'published'
}

/** Link type */
export enum EnumLinkType {
  /** Target is child of source */
  Child = 'child',
  /** Equally related */
  Normal = 'normal',
  /** Target is parent of source */
  Parent = 'parent'
}

/** Available notification sound files */
export enum EnumNotificationSoundFile {
  Bell = 'Bell',
  Kalimba = 'Kalimba',
  Marimba = 'Marimba',
  Peep = 'Peep',
  Plop = 'Plop',
  Ring = 'Ring',
  Space = 'Space',
  Wood = 'Wood',
  Xylo = 'Xylo'
}

/** All backend managed objects */
export enum EnumObjectManagerObjects {
  Group = 'Group',
  Organization = 'Organization',
  Ticket = 'Ticket',
  TicketArticle = 'TicketArticle',
  User = 'User'
}

/** Option to choose SQL sorting direction */
export enum EnumOrderDirection {
  /** Sort with ascending order */
  Ascending = 'ASCENDING',
  /** Sort with descending order */
  Descending = 'DESCENDING'
}

/** Different user access levels */
export enum EnumPermissionAccess {
  Change = 'change',
  Create = 'create',
  Full = 'full',
  Overview = 'overview',
  Read = 'read'
}

/** All available public links screens */
export enum EnumPublicLinksScreen {
  Login = 'login',
  PasswordReset = 'password_reset',
  Signup = 'signup'
}

/** All searchable models */
export enum EnumSearchableModels {
  KnowledgeBaseAnswerTranslation = 'KnowledgeBase__Answer__Translation',
  Organization = 'Organization',
  Ticket = 'Ticket',
  User = 'User'
}

/** Ticket article security options for email security methods */
export enum EnumSecurityOption {
  /** Encrypt article */
  Encryption = 'encryption',
  /** Sign article */
  Sign = 'sign'
}

/** Available email security methods */
export enum EnumSecurityStateType {
  /** PGP */
  Pgp = 'PGP',
  /** S/MIME */
  Smime = 'SMIME'
}

/** Third-party system source */
export enum EnumSystemImportSource {
  Freshdesk = 'freshdesk',
  Kayako = 'kayako',
  Otrs = 'otrs',
  Zendesk = 'zendesk'
}

/** Possible system setup status */
export enum EnumSystemSetupInfoStatus {
  Automated = 'automated',
  Done = 'done',
  InProgress = 'in_progress',
  New = 'new'
}

/** Possible system setup types */
export enum EnumSystemSetupInfoType {
  Auto = 'auto',
  Import = 'import',
  Manual = 'manual'
}

/** All taskbar app values */
export enum EnumTaskbarApp {
  Desktop = 'desktop',
  Mobile = 'mobile'
}

/** All taskbar entity values */
export enum EnumTaskbarEntity {
  KnowledgeBaseAnswerCreate = 'KnowledgeBaseAnswerCreate',
  KnowledgeBaseAnswerEdit = 'KnowledgeBaseAnswerEdit',
  OrganizationProfile = 'OrganizationProfile',
  Search = 'Search',
  TicketCreate = 'TicketCreate',
  TicketZoom = 'TicketZoom',
  UserProfile = 'UserProfile'
}

/** All taskbar entity access type values */
export enum EnumTaskbarEntityAccess {
  /** Access to this entity is forbidden */
  Forbidden = 'Forbidden',
  /** Access to this entity is granted */
  Granted = 'Granted',
  /** The entity could not be found */
  NotFound = 'NotFound'
}

/** All taskbar state update type values */
export enum EnumTaskbarStateUpdate {
  /** The taskbar item state has changed */
  Changed = 'changed',
  /** The taskbar item state has been reset */
  Reset = 'reset'
}

/** Option to choose SQL sorting direction */
export enum EnumTextDirection {
  /** Left-to-right */
  Ltr = 'ltr',
  /** Right-to-left */
  Rtl = 'rtl'
}

/** Ticket article sender names */
export enum EnumTicketArticleSenderName {
  Agent = 'Agent',
  Customer = 'Customer',
  System = 'System'
}

/** Why translating a whole ticket left an article in its original language */
export enum EnumTicketArticleTranslationSkipReason {
  /** The article is in a language the agent reads in the original */
  ExcludedLanguage = 'excluded_language'
}

/** Possible values for issue tracker item states */
export enum EnumTicketExternalReferencesIssueTrackerItemState {
  Closed = 'closed',
  Open = 'open'
}

/** Possible values for issue tracker type */
export enum EnumTicketExternalReferencesIssueTrackerType {
  /** GitHub */
  Github = 'github',
  /** GitLab */
  Gitlab = 'gitlab'
}

/** Option to choose the ticket screen behavior */
export enum EnumTicketScreenBehavior {
  /** Next in overview */
  CloseNextInOverview = 'closeNextInOverview',
  /** Close tab */
  CloseTab = 'closeTab',
  /** Close tab on ticket close */
  CloseTabOnTicketClose = 'closeTabOnTicketClose',
  /** Stay on tab */
  StayOnTab = 'stayOnTab'
}

/** Ticket state color code */
export enum EnumTicketStateColorCode {
  /** Closed. */
  Closed = 'closed',
  /** Requires urgent attention. */
  Escalating = 'escalating',
  /** Ready for action. */
  Open = 'open',
  /** Marked as pending; no immediate action required. */
  Pending = 'pending'
}

/** Ticket state color code */
export enum EnumTicketStateTypeCategory {
  ArchivableInto = 'archivable_into',
  Closed = 'closed',
  Merged = 'merged',
  Open = 'open',
  Pending = 'pending',
  PendingAction = 'pending_action',
  PendingReminder = 'pending_reminder',
  Resolved = 'resolved',
  Viewable = 'viewable',
  ViewableAgentEdit = 'viewable_agent_edit',
  ViewableAgentNew = 'viewable_agent_new',
  ViewableCustomerEdit = 'viewable_customer_edit',
  ViewableCustomerNew = 'viewable_customer_new',
  WorkOn = 'work_on',
  WorkOnAll = 'work_on_all'
}

/** Defines when the ticket summary should be generated */
export enum EnumTicketSummaryGeneration {
  /** Use global default setting. */
  GlobalDefault = 'global_default',
  /** On ticket detail opening */
  OnTicketDetailOpening = 'on_ticket_detail_opening',
  /** On ticket summary sidebar activation */
  OnTicketSummarySidebarActivation = 'on_ticket_summary_sidebar_activation'
}

/** Possible two factor authentication methods (availability depends on system configuration) */
export enum EnumTwoFactorAuthenticationMethod {
  /** Authenticator App */
  AuthenticatorApp = 'authenticator_app',
  /** Security Keys */
  SecurityKeys = 'security_keys'
}

/** User contact option */
export enum EnumUserContact {
  /** User email address */
  Email = 'email',
  /** User phone number */
  Phone = 'phone'
}

/** All user error exception values */
export enum EnumUserErrorException {
  ServiceKnowledgeBaseAnswerUpdateValidatorConcurrentAttachmentChangeError = 'Service__KnowledgeBase__Answer__Update__Validator__ConcurrentAttachmentChange__Error',
  ServiceTicketUpdateValidatorChecklistCompletedError = 'Service__Ticket__Update__Validator__ChecklistCompleted__Error',
  ServiceTicketUpdateValidatorTimeAccountingError = 'Service__Ticket__Update__Validator__TimeAccounting__Error'
}

/** Represents the form changed field information. */
export type FormUpdaterChangedFieldInput = {
  /** Changed field name */
  name: Scalars['String']['input'];
  /** New value from changed field */
  newValue?: InputMaybe<Scalars['JSON']['input']>;
  /** Old value from changed field */
  oldValue?: InputMaybe<Scalars['JSON']['input']>;
};

/** Represents the form meta information. */
export type FormUpdaterMetaInput = {
  /** Additional changed fields in the same tick */
  additionalChangedFields?: InputMaybe<Array<FormUpdaterChangedFieldInput>>;
  /** Additional data for form updater */
  additionalData?: InputMaybe<Scalars['JSON']['input']>;
  /** Changed field information */
  changedField?: InputMaybe<FormUpdaterChangedFieldInput>;
  /** List of dirty fields */
  dirtyFields?: InputMaybe<Array<Scalars['String']['input']>>;
  /** Generated frontend form ID */
  formId: Scalars['FormId']['input'];
  /** Initial form updater request */
  initial?: InputMaybe<Scalars['Boolean']['input']>;
  /** Generated frontend request ID */
  requestId?: InputMaybe<Scalars['String']['input']>;
  /** After form reset form updater request */
  reset?: InputMaybe<Scalars['Boolean']['input']>;
};

/** Represents the relation field information. */
export type FormUpdaterRelationField = {
  /** Optional filter ids from the frontend */
  filterIds?: InputMaybe<Array<Scalars['Int']['input']>>;
  /** Field name of the relation field */
  name: Scalars['String']['input'];
  /** Relation name for the current field (e.g. group) */
  relation: Scalars['String']['input'];
};

/** Holds the fields and flags information for an form updater resolver. */
export type FormUpdaterResult = {
  __typename?: 'FormUpdaterResult';
  fields: Scalars['JSON']['output'];
  flags: Scalars['JSON']['output'];
};

/** Autogenerated return type of FormUploadCacheAdd. */
export type FormUploadCacheAddPayload = {
  __typename?: 'FormUploadCacheAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Information about the uploaded files, in the order of the given files. */
  uploadedFiles: Array<StoredFile>;
};

/** Autogenerated return type of FormUploadCacheRemove. */
export type FormUploadCacheRemovePayload = {
  __typename?: 'FormUploadCacheRemovePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success: Scalars['Boolean']['output'];
};

/** Groups */
export type Group = {
  __typename?: 'Group';
  active: Scalars['Boolean']['output'];
  assignmentTimeout?: Maybe<Scalars['Int']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  emailAddress?: Maybe<EmailAddressParsed>;
  followUpAssignment?: Maybe<Scalars['Boolean']['output']>;
  followUpPossible?: Maybe<Scalars['String']['output']>;
  id: Scalars['ID']['output'];
  name?: Maybe<Scalars['String']['output']>;
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  sharedDrafts?: Maybe<Scalars['Boolean']['output']>;
  /** Ticket summary generation behavior for this group */
  summaryGeneration?: Maybe<EnumTicketSummaryGeneration>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** The connection type for Group. */
export type GroupConnection = {
  __typename?: 'GroupConnection';
  /** A list of edges. */
  edges: Array<GroupEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** An edge in a connection. */
export type GroupEdge = {
  __typename?: 'GroupEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: Group;
};

/** Autogenerated return type of GuidedSetupSetSystemInformation. */
export type GuidedSetupSetSystemInformationPayload = {
  __typename?: 'GuidedSetupSetSystemInformationPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** System setup information updated successfully? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** History record */
export type HistoryGroup = {
  __typename?: 'HistoryGroup';
  /** Date and time of the history record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** Records of the history record */
  records: Array<HistoryRecord>;
};

/** History record */
export type HistoryRecord = {
  __typename?: 'HistoryRecord';
  /** Events of the history record */
  events: Array<HistoryRecordEvent>;
  /** User or system service who created the history record */
  issuer: HistoryRecordIssuer;
};

/** History record event */
export type HistoryRecordEvent = {
  __typename?: 'HistoryRecordEvent';
  /** Action of the event */
  action: Scalars['String']['output'];
  /** Attribute of the event */
  attribute?: Maybe<Scalars['String']['output']>;
  /** Changes of the event */
  changes?: Maybe<Scalars['JSON']['output']>;
  /** Date and time of the event */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** Object of the event */
  object: HistoryRecordEventObject;
};

/** History record event object */
export type HistoryRecordEventObject = Checklist | ChecklistItem | Group | Mention | ObjectClass | Organization | Ticket | TicketArticle | TicketSharedDraftZoom | User;

/** History record issuer */
export type HistoryRecordIssuer = AiAgent | Job | Macro | ObjectClass | PostmasterFilter | Trigger | User;

/** Import job information */
export type ImportJob = {
  __typename?: 'ImportJob';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  finishedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  id: Scalars['ID']['output'];
  name: Scalars['String']['output'];
  result?: Maybe<Scalars['JSON']['output']>;
  startedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Objects found by search */
export type Item = KnowledgeBaseAnswerTranslation | Organization | Ticket | User;

/** Jobs */
export type Job = {
  __typename?: 'Job';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** Name of the job */
  name: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Key/value type with complex (JSON) values. */
export type KeyComplexValue = {
  __typename?: 'KeyComplexValue';
  key: Scalars['String']['output'];
  value?: Maybe<Scalars['JSON']['output']>;
};

/** Key/value type with string values. */
export type KeyValue = {
  __typename?: 'KeyValue';
  key: Scalars['String']['output'];
  value?: Maybe<Scalars['String']['output']>;
};

/** Knowledge Base */
export type KnowledgeBase = {
  __typename?: 'KnowledgeBase';
  active: Scalars['Boolean']['output'];
  categoryLayout: Scalars['String']['output'];
  /** How the top level categories of the knowledge base are ordered when browsed */
  categorySortingMode: EnumKnowledgeBaseSortingMode;
  colorHeader: Scalars['String']['output'];
  colorHeaderLink: Scalars['String']['output'];
  colorHighlight: Scalars['String']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** Locale the content resolved to (given, else user-preferred, else primary) */
  currentLocale?: Maybe<KnowledgeBaseLocale>;
  customAddress?: Maybe<Scalars['String']['output']>;
  homepageLayout: Scalars['String']['output'];
  iconset: Scalars['String']['output'];
  id: Scalars['ID']['output'];
  /** Whether a public knowledge base with published content is reachable */
  isPubliclyAvailable: Scalars['Boolean']['output'];
  /** Whether the public help site shows content in the given locale (drives the "view public knowledge base" link) */
  isVisiblePublicly: Scalars['Boolean']['output'];
  /** Available locales, used for the language selector */
  kbLocales: Array<KnowledgeBaseLocale>;
  /** Which actions the current user may perform on this knowledge base, including adding a top level category */
  policy: PolicyKnowledgeBase;
  /** Whether the feeds are offered at all (admin setting "Show Feed Icon") */
  showFeedIcon: Scalars['Boolean']['output'];
  /** The knowledge base in the given locale (falls back to the primary locale) */
  translation?: Maybe<KnowledgeBaseTranslation>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};


/** Knowledge Base */
export type KnowledgeBaseCurrentLocaleArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** Knowledge Base */
export type KnowledgeBaseIsVisiblePubliclyArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** Knowledge Base */
export type KnowledgeBaseTranslationArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};

/** Knowledge Base Answer */
export type KnowledgeBaseAnswer = {
  __typename?: 'KnowledgeBaseAnswer';
  /** Only for users with internal access to the category; the public site knows publication only. Only once reached unless the user may edit the answer */
  archivedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  /** resolver for Rails' belongs_to relationship */
  archivedBy?: Maybe<User>;
  /** Files attached to the answer, sorted by file name; locale-independent, and without the inline images of the translation body */
  attachments: Array<StoredFile>;
  /** resolver for Rails' belongs_to relationship */
  category: KnowledgeBaseCategory;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Only for users with internal access to the category; the public site knows publication only. Only once reached unless the user may edit the answer */
  internalAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  /** resolver for Rails' belongs_to relationship */
  internalBy?: Maybe<User>;
  /** Which actions the current user may perform on this answer */
  policy: PolicyDefault;
  position: Scalars['Int']['output'];
  /** When the answer was published; only once reached unless the user may edit it */
  publishedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  /** resolver for Rails' belongs_to relationship */
  publishedBy?: Maybe<User>;
  /** Assigned tags */
  tags?: Maybe<Array<Scalars['String']['output']>>;
  /** The answer in the given locale (falls back to the primary locale) */
  translation?: Maybe<KnowledgeBaseAnswerTranslation>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  /** Publication state, used for color-coding */
  visibility: EnumKnowledgeBaseVisibility;
  /** Visibility changes the answer is going to make, in the order they take effect; only for users who may edit the answer */
  visibilitySchedules?: Maybe<Array<KnowledgeBaseAnswerVisibilitySchedule>>;
};


/** Knowledge Base Answer */
export type KnowledgeBaseAnswerTranslationArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};

/** Autogenerated return type of KnowledgeBaseAnswerAdd. */
export type KnowledgeBaseAnswerAddPayload = {
  __typename?: 'KnowledgeBaseAnswerAddPayload';
  /** The created answer. */
  answer?: Maybe<KnowledgeBaseAnswer>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** The connection type for KnowledgeBaseAnswer. */
export type KnowledgeBaseAnswerConnection = {
  __typename?: 'KnowledgeBaseAnswerConnection';
  /** A list of edges. */
  edges: Array<KnowledgeBaseAnswerEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** Autogenerated return type of KnowledgeBaseAnswerDelete. */
export type KnowledgeBaseAnswerDeletePayload = {
  __typename?: 'KnowledgeBaseAnswerDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** An edge in a connection. */
export type KnowledgeBaseAnswerEdge = {
  __typename?: 'KnowledgeBaseAnswerEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: KnowledgeBaseAnswer;
};

/** One attachment the form was opened with, identified the only way it can be: the upload cache holds copies whose ids are not the answer's. */
export type KnowledgeBaseAnswerKnownAttachmentInput = {
  /** File name. */
  name: Scalars['String']['input'];
  /** File size in bytes. */
  size: Scalars['Int']['input'];
};

/** Knowledge base answer live user information */
export type KnowledgeBaseAnswerLiveUser = {
  __typename?: 'KnowledgeBaseAnswerLiveUser';
  /** Different apps information from the user */
  apps: Array<KnowledgeBaseAnswerLiveUserApp>;
  user: User;
};

/** Knowledge base answer live user app information */
export type KnowledgeBaseAnswerLiveUserApp = {
  __typename?: 'KnowledgeBaseAnswerLiveUserApp';
  editing: Scalars['Boolean']['output'];
  /** Last interaction time from the user in the frontend */
  lastInteraction: Scalars['ISO8601DateTime']['output'];
  name: EnumTaskbarApp;
};

/** Autogenerated return type of KnowledgeBaseAnswerLiveUserUpdates. */
export type KnowledgeBaseAnswerLiveUserUpdatesPayload = {
  __typename?: 'KnowledgeBaseAnswerLiveUserUpdatesPayload';
  /** Current live users from the knowledge base answer. */
  liveUsers?: Maybe<Array<KnowledgeBaseAnswerLiveUser>>;
};

/** Navigation between visible answers in one category */
export type KnowledgeBaseAnswerNavigation = {
  __typename?: 'KnowledgeBaseAnswerNavigation';
  /** 1-based position of this answer among the visible answers of its category */
  index: Scalars['Int']['output'];
  /** Next sibling; wraps to the first answer */
  nextAnswer: KnowledgeBaseAnswer;
  /** Previous sibling; wraps to the last answer */
  previousAnswer: KnowledgeBaseAnswer;
  /** Number of answers visible to the user in this answer’s category */
  totalCount: Scalars['Int']['output'];
};

/** Autogenerated return type of KnowledgeBaseAnswerSuggestionContentTransform. */
export type KnowledgeBaseAnswerSuggestionContentTransformPayload = {
  __typename?: 'KnowledgeBaseAnswerSuggestionContentTransformPayload';
  /** Attachments of the answer */
  attachments?: Maybe<Array<StoredFile>>;
  /** Answer translation content */
  body?: Maybe<Scalars['String']['output']>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Knowledge Base Answer Translation */
export type KnowledgeBaseAnswerTranslation = {
  __typename?: 'KnowledgeBaseAnswerTranslation';
  /** resolver for Rails' belongs_to relationship */
  answer: KnowledgeBaseAnswer;
  categoryTreeTranslation: Array<KnowledgeBaseCategoryTranslation>;
  /** resolver for Rails' belongs_to relationship */
  content: KnowledgeBaseAnswerTranslationContent;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  /** When this translation was last edited; only for users with internal access to the category */
  editedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  /** Last user that edited this translation; only for users with internal access to the category */
  editedBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** resolver for Rails' belongs_to relationship */
  kbLocale: KnowledgeBaseLocale;
  /** Specified only for knowledge bases with multiple locales */
  maybeLocale?: Maybe<Scalars['String']['output']>;
  /** Position and neighbours of this answer within its category listing in this locale */
  navigation?: Maybe<KnowledgeBaseAnswerNavigation>;
  title: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  /** Publication state of the translation's answer, used for color-coding */
  visibility: EnumKnowledgeBaseVisibility;
};

/** Knowledge Base Answer Translation Content */
export type KnowledgeBaseAnswerTranslationContent = {
  __typename?: 'KnowledgeBaseAnswerTranslationContent';
  body?: Maybe<Scalars['String']['output']>;
  /** Short plain-text excerpt of the body (~50 words, cut on sentence boundaries). */
  bodyExcerpt?: Maybe<Scalars['String']['output']>;
  /** The stored body with inline image URLs resolved and nothing else rendered - what an editor loads, as opposed to `bodyWithUrls` */
  bodyForEditing?: Maybe<Scalars['String']['output']>;
  bodyWithUrls?: Maybe<Scalars['String']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  hasAttachments: Scalars['Boolean']['output'];
  id: Scalars['ID']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};

/** How to carry out a knowledge base answer update, as opposed to what to store. */
export type KnowledgeBaseAnswerUpdateMetaInput = {
  /** The attachments the form was opened with, to detect a concurrent change. Omit to skip that check. */
  knownAttachments?: InputMaybe<Array<KnowledgeBaseAnswerKnownAttachmentInput>>;
  /** Validator exceptions the caller was warned about and chooses to override. */
  skipValidators?: InputMaybe<Array<EnumUserErrorException>>;
};

/** Autogenerated return type of KnowledgeBaseAnswerUpdate. */
export type KnowledgeBaseAnswerUpdatePayload = {
  __typename?: 'KnowledgeBaseAnswerUpdatePayload';
  /** The updated answer. */
  answer?: Maybe<KnowledgeBaseAnswer>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of KnowledgeBaseAnswerUpdates. */
export type KnowledgeBaseAnswerUpdatesPayload = {
  __typename?: 'KnowledgeBaseAnswerUpdatesPayload';
  /** Updated answer */
  answer?: Maybe<KnowledgeBaseAnswer>;
};

/** A scheduled visibility change of a knowledge base answer */
export type KnowledgeBaseAnswerVisibilitySchedule = {
  __typename?: 'KnowledgeBaseAnswerVisibilitySchedule';
  /** When the answer reaches that state */
  scheduledAt: Scalars['ISO8601DateTime']['output'];
  /** Publication state the answer is going to reach */
  visibility: EnumKnowledgeBaseSchedulableVisibility;
};

/** Autogenerated return type of KnowledgeBaseAnswerVisibilityScheduleAdd. */
export type KnowledgeBaseAnswerVisibilityScheduleAddPayload = {
  __typename?: 'KnowledgeBaseAnswerVisibilityScheduleAddPayload';
  /** The answer with its updated schedule. */
  answer?: Maybe<KnowledgeBaseAnswer>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of KnowledgeBaseAnswerVisibilityScheduleRemove. */
export type KnowledgeBaseAnswerVisibilityScheduleRemovePayload = {
  __typename?: 'KnowledgeBaseAnswerVisibilityScheduleRemovePayload';
  /** The answer with its updated schedule. */
  answer?: Maybe<KnowledgeBaseAnswer>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Knowledge Base Category */
export type KnowledgeBaseCategory = {
  __typename?: 'KnowledgeBaseCategory';
  /** Number of answers visible to the current user in this category and its whole subtree, in the given locale */
  answerCount: Scalars['Int']['output'];
  /** How the answers of this category are ordered when browsed */
  answerSortingMode: EnumKnowledgeBaseSortingMode;
  /** Ancestors of this category, root first, including itself */
  breadcrumb: Array<KnowledgeBaseCategory>;
  categoryIcon: Scalars['String']['output'];
  /** How the subcategories of this category are ordered when browsed */
  categorySortingMode: EnumKnowledgeBaseSortingMode;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** Number of answers visible to the current user directly in this category (its immediate level only), in the given locale */
  directAnswerCount: Scalars['Int']['output'];
  /** Number of immediate child categories visible to the current user (its next level only), in the given locale */
  directSubcategoryCount: Scalars['Int']['output'];
  /** When the category was last edited in the requested locale, counting edits to the content below it */
  editedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  /** Icon font of the knowledge base this category belongs to, needed to render `categoryIcon` */
  iconSet: Scalars['KnowledgeBaseIconSet']['output'];
  id: Scalars['ID']['output'];
  /** Whether this category is empty, i.e. whether deleting it would be refused because of subcategories or answers below it */
  isDeletable: Scalars['Boolean']['output'];
  /** Whether this category shows published content in the given locale on the public help site (drives the "view public knowledge base" link) */
  isVisiblePublicly: Scalars['Boolean']['output'];
  /** resolver for Rails' belongs_to relationship */
  knowledgeBase: KnowledgeBase;
  /** resolver for Rails' belongs_to relationship */
  parent?: Maybe<KnowledgeBaseCategory>;
  /** Which actions the current user may perform on this category */
  policy: PolicyKnowledgeBaseCategory;
  position: Scalars['Int']['output'];
  /** Number of categories visible to the current user in this category and its whole subtree, in the given locale */
  subcategoryCount: Scalars['Int']['output'];
  /** The category in the given locale (falls back to the primary locale) */
  translation?: Maybe<KnowledgeBaseCategoryTranslation>;
  translations: Array<KnowledgeBaseCategoryTranslation>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Highest visibility of the content in this category and its subtree, in the given locale (untranslated content counts as draft) */
  visibility: EnumKnowledgeBaseVisibility;
};


/** Knowledge Base Category */
export type KnowledgeBaseCategoryAnswerCountArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** Knowledge Base Category */
export type KnowledgeBaseCategoryDirectAnswerCountArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** Knowledge Base Category */
export type KnowledgeBaseCategoryDirectSubcategoryCountArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** Knowledge Base Category */
export type KnowledgeBaseCategoryIsVisiblePubliclyArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** Knowledge Base Category */
export type KnowledgeBaseCategorySubcategoryCountArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** Knowledge Base Category */
export type KnowledgeBaseCategoryTranslationArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** Knowledge Base Category */
export type KnowledgeBaseCategoryVisibilityArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};

/** Autogenerated return type of KnowledgeBaseCategoryAdd. */
export type KnowledgeBaseCategoryAddPayload = {
  __typename?: 'KnowledgeBaseCategoryAddPayload';
  /** The created category. */
  category?: Maybe<KnowledgeBaseCategory>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of KnowledgeBaseCategoryDelete. */
export type KnowledgeBaseCategoryDeletePayload = {
  __typename?: 'KnowledgeBaseCategoryDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Represents the knowledge base category attributes to be used in create and update. */
export type KnowledgeBaseCategoryInput = {
  /** Icon of the category, from the icon set of its knowledge base. Defaults to the knowledge base default icon on create. */
  categoryIcon?: InputMaybe<Scalars['String']['input']>;
  /** Category this category belongs under. Pass `null` for the top level, omit it to leave the parent unchanged. */
  parentId?: InputMaybe<Scalars['ID']['input']>;
  /** Granular access per role, applied in the same transaction as the category itself. Omitted leaves the stored permissions alone, an empty list drops all of them (everything is then inherited). */
  permissions?: InputMaybe<Array<KnowledgeBaseRolePermissionInput>>;
  /** Title of the category in the locale of this mutation. */
  title?: InputMaybe<Scalars['NonEmptyString']['input']>;
};

/** Autogenerated return type of KnowledgeBaseCategorySubcategories. */
export type KnowledgeBaseCategorySubcategoriesPayload = {
  __typename?: 'KnowledgeBaseCategorySubcategoriesPayload';
  /** The opened category (null at the knowledge base root); read its `breadcrumb` field for the header */
  category?: Maybe<KnowledgeBaseCategory>;
  /** Child categories visible to the current user, each carrying its own breadcrumb */
  subcategories: Array<KnowledgeBaseCategory>;
};

/** Knowledge Base Category Translation */
export type KnowledgeBaseCategoryTranslation = {
  __typename?: 'KnowledgeBaseCategoryTranslation';
  /** resolver for Rails' belongs_to relationship */
  category: KnowledgeBaseCategory;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  editedAt: Scalars['ISO8601DateTime']['output'];
  id: Scalars['ID']['output'];
  /** resolver for Rails' belongs_to relationship */
  kbLocale: KnowledgeBaseLocale;
  title: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};

/** Autogenerated return type of KnowledgeBaseCategoryUpdate. */
export type KnowledgeBaseCategoryUpdatePayload = {
  __typename?: 'KnowledgeBaseCategoryUpdatePayload';
  /** The updated category. */
  category?: Maybe<KnowledgeBaseCategory>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of KnowledgeBaseContentUpdates. */
export type KnowledgeBaseContentUpdatesPayload = {
  __typename?: 'KnowledgeBaseContentUpdatesPayload';
  /** IDs of the changed category and its ancestors (whose counts/visibility may change), limited to the ones visible to the subscriber; empty for knowledge-base-wide changes */
  affectedCategoryIds?: Maybe<Array<Scalars['ID']['output']>>;
  /** The active knowledge base; null once none is active */
  knowledgeBase?: Maybe<KnowledgeBase>;
};

/** Represents the knowledge base answer attributes to be used in create. */
export type KnowledgeBaseCreateAnswerInput = {
  /** Rich text body of the answer in the locale of this mutation. */
  body: Scalars['String']['input'];
  /** Category to file the answer in. */
  categoryId: Scalars['ID']['input'];
  /** Form the answer is submitted from. Its upload cache holds the files to attach, minus the inline images of the body. */
  formId?: InputMaybe<Scalars['FormId']['input']>;
  /** Tags to assign to the answer, empty for none. A tag that does not exist yet is only created when the `tag_new` setting allows it. */
  tags: Array<Scalars['String']['input']>;
  /** Title of the answer in the locale of this mutation. */
  title: Scalars['NonEmptyString']['input'];
  /** Publication state to put the answer in, effective immediately. */
  visibility: EnumKnowledgeBaseVisibility;
};

/** Feed paths of the internal knowledge base, including the access token */
export type KnowledgeBaseFeed = {
  __typename?: 'KnowledgeBaseFeed';
  /** Feed covering the browsed category including its sub-categories (null at the knowledge base root) */
  categoryPath?: Maybe<Scalars['String']['output']>;
  /** Feed covering all updates of the knowledge base */
  knowledgeBasePath: Scalars['String']['output'];
};

/** Autogenerated return type of KnowledgeBaseFeedTokenRenew. */
export type KnowledgeBaseFeedTokenRenewPayload = {
  __typename?: 'KnowledgeBaseFeedTokenRenewPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Feed paths carrying the renewed access token */
  feed: KnowledgeBaseFeed;
};

/** Represents the knowledge base attributes to be used in update. */
export type KnowledgeBaseInput = {
  /** Footer note of the knowledge base in the locale of this mutation. */
  footerNote: Scalars['NonEmptyString']['input'];
  /** Granular access per role, applied in the same transaction as the knowledge base itself. Omitted leaves the stored permissions alone, an empty list drops all of them. */
  permissions?: InputMaybe<Array<KnowledgeBaseRolePermissionInput>>;
  /** Title of the knowledge base in the locale of this mutation. */
  title: Scalars['NonEmptyString']['input'];
};

/** Knowledge Base Locale */
export type KnowledgeBaseLocale = {
  __typename?: 'KnowledgeBaseLocale';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  id: Scalars['ID']['output'];
  /** resolver for Rails' belongs_to relationship */
  knowledgeBase: KnowledgeBase;
  primary: Scalars['Boolean']['output'];
  /** resolver for Rails' belongs_to relationship */
  systemLocale: Locale;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};

/** Autogenerated return type of KnowledgeBaseReorderAnswers. */
export type KnowledgeBaseReorderAnswersPayload = {
  __typename?: 'KnowledgeBaseReorderAnswersPayload';
  /** The category with its updated `answerSortingMode`. */
  category?: Maybe<KnowledgeBaseCategory>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of KnowledgeBaseReorderCategories. */
export type KnowledgeBaseReorderCategoriesPayload = {
  __typename?: 'KnowledgeBaseReorderCategoriesPayload';
  /** The category with its updated `categorySortingMode`. */
  category?: Maybe<KnowledgeBaseCategory>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of KnowledgeBaseReorderRootCategories. */
export type KnowledgeBaseReorderRootCategoriesPayload = {
  __typename?: 'KnowledgeBaseReorderRootCategoriesPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The knowledge base with its updated `categorySortingMode`. */
  knowledgeBase?: Maybe<KnowledgeBase>;
};

/** Represents the access one role is granted on a knowledge base object. */
export type KnowledgeBaseRolePermissionInput = {
  /** Access level to grant the role. */
  access: EnumKnowledgeBasePermissionAccess;
  /** Role the access applies to. */
  roleId: Scalars['ID']['input'];
};

/** Object found by a knowledge base search */
export type KnowledgeBaseSearchItem = KnowledgeBaseAnswer | KnowledgeBaseCategory;

/** One category on the path to a search result */
export type KnowledgeBaseSearchPathSegment = {
  __typename?: 'KnowledgeBaseSearchPathSegment';
  /** Category id, for linking the breadcrumb */
  id: Scalars['ID']['output'];
  /** Title in the given locale (falls back to the primary locale) */
  title?: Maybe<Scalars['String']['output']>;
};


/** One category on the path to a search result */
export type KnowledgeBaseSearchPathSegmentTitleArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};

/** One run of text in a search preview, either matched or not */
export type KnowledgeBaseSearchPreviewSegment = {
  __typename?: 'KnowledgeBaseSearchPreviewSegment';
  /** Whether this run matched the search term and should be marked */
  highlight: Scalars['Boolean']['output'];
  /** Plain text, safe to render as text */
  text: Scalars['String']['output'];
};

/** One knowledge base search hit, with the previews that show why it matched */
export type KnowledgeBaseSearchResult = {
  __typename?: 'KnowledgeBaseSearchResult';
  /** Excerpt of the body around the match, split into matched and unmatched runs; empty for a category */
  bodyPreview: Array<KnowledgeBaseSearchPreviewSegment>;
  /** Categories leading to this hit, root first; empty at the top level */
  categoryPath: Array<KnowledgeBaseSearchPathSegment>;
  /** The found answer or category */
  item: KnowledgeBaseSearchItem;
  /** The title, split into matched and unmatched runs */
  titlePreview: Array<KnowledgeBaseSearchPreviewSegment>;
};

/** The connection type for KnowledgeBaseSearchResult. */
export type KnowledgeBaseSearchResultConnection = {
  __typename?: 'KnowledgeBaseSearchResultConnection';
  /** A list of edges. */
  edges: Array<KnowledgeBaseSearchResultEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** An edge in a connection. */
export type KnowledgeBaseSearchResultEdge = {
  __typename?: 'KnowledgeBaseSearchResultEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: KnowledgeBaseSearchResult;
};

/** Knowledge Base Translation */
export type KnowledgeBaseTranslation = {
  __typename?: 'KnowledgeBaseTranslation';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  footerNote?: Maybe<Scalars['String']['output']>;
  id: Scalars['ID']['output'];
  title: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};

/** Represents the knowledge base answer attributes to be used in update. */
export type KnowledgeBaseUpdateAnswerInput = {
  /** Rich text body of the answer in the locale of this mutation. */
  body?: InputMaybe<Scalars['String']['input']>;
  /** Category to file the answer in. */
  categoryId?: InputMaybe<Scalars['ID']['input']>;
  /** Form the answer is submitted from. Its upload cache holds the files to attach, minus the inline images of the body. */
  formId?: InputMaybe<Scalars['FormId']['input']>;
  /** Title of the answer in the locale of this mutation. */
  title?: InputMaybe<Scalars['NonEmptyString']['input']>;
  /** Publication state to put the answer in, effective immediately. */
  visibility?: InputMaybe<EnumKnowledgeBaseVisibility>;
};

/** Autogenerated return type of KnowledgeBaseUpdate. */
export type KnowledgeBaseUpdatePayload = {
  __typename?: 'KnowledgeBaseUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated knowledge base. */
  knowledgeBase?: Maybe<KnowledgeBase>;
};

/** Links between objects */
export type Link = {
  __typename?: 'Link';
  item: LinkObject;
  type: EnumLinkType;
};

/** Autogenerated return type of LinkAdd. */
export type LinkAddPayload = {
  __typename?: 'LinkAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The created link */
  link?: Maybe<Link>;
};

/** Link input */
export type LinkInput = {
  /** Source object ID */
  sourceId: Scalars['ID']['input'];
  /** Target object ID */
  targetId: Scalars['ID']['input'];
  /** Link type */
  type: EnumLinkType;
};

/** Linkable objects */
export type LinkObject = KnowledgeBaseAnswerTranslation | Ticket;

/** Autogenerated return type of LinkRemove. */
export type LinkRemovePayload = {
  __typename?: 'LinkRemovePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of LinkUpdates. */
export type LinkUpdatesPayload = {
  __typename?: 'LinkUpdatesPayload';
  /** Link records */
  links?: Maybe<Array<Link>>;
};

/** Locales available in the system */
export type Locale = {
  __typename?: 'Locale';
  active: Scalars['Boolean']['output'];
  alias?: Maybe<Scalars['String']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  dir: EnumTextDirection;
  id: Scalars['ID']['output'];
  /** The language of the locale without region, as Locale.language_of names it, e.g. "en" or "zh-Hant" */
  language: Scalars['String']['output'];
  locale: Scalars['String']['output'];
  name: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};

/** The user login fields. */
export type LoginInput = {
  /** User name */
  login: Scalars['String']['input'];
  /** Password */
  password: Scalars['String']['input'];
  /** Remember me - Session expire date will be set to one year */
  rememberMe?: InputMaybe<Scalars['Boolean']['input']>;
  /** Two factor authentication */
  twoFactorAuthentication?: InputMaybe<TwoFactorAuthenticationInput>;
  /** Two factor recovery */
  twoFactorRecovery?: InputMaybe<TwoFactorRecoveryInput>;
};

/** Autogenerated return type of Login. */
export type LoginPayload = {
  __typename?: 'LoginPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The current session, if the login was successful. */
  session?: Maybe<Session>;
  /** Two factor authentication methods available for the user about to log-in. */
  twoFactorRequired?: Maybe<UserLoginTwoFactorMethods>;
};

/** Autogenerated return type of Logout. */
export type LogoutPayload = {
  __typename?: 'LogoutPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** External logout URL (e.g. for SAML)? */
  externalLogoutUrl?: Maybe<Scalars['String']['output']>;
  /** Was the logout successful? */
  success: Scalars['Boolean']['output'];
};

/** Returns a list of macros */
export type Macro = {
  __typename?: 'Macro';
  active: Scalars['Boolean']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  name: Scalars['String']['output'];
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  perform: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  uxFlowNextUp: Scalars['String']['output'];
};

/** Autogenerated return type of MacrosUpdate. */
export type MacrosUpdatePayload = {
  __typename?: 'MacrosUpdatePayload';
  /** The group IDs from the updated macro */
  groupIds?: Maybe<Array<Scalars['ID']['output']>>;
  /** Macro ID that was updated */
  macroId?: Maybe<Scalars['ID']['output']>;
  /** The macro ID that was removed */
  removeMacroId?: Maybe<Scalars['ID']['output']>;
};

/** Mention */
export type Mention = {
  __typename?: 'Mention';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** resolver for Rails' belongs_to relationship */
  mentionable: Ticket;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  /** resolver for Rails' belongs_to relationship */
  user: User;
  userTicketAccess: PolicyMentionUserTicketAccess;
};

/** The connection type for Mention. */
export type MentionConnection = {
  __typename?: 'MentionConnection';
  /** A list of edges. */
  edges: Array<MentionEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** An edge in a connection. */
export type MentionEdge = {
  __typename?: 'MentionEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: Mention;
};

/** Autogenerated return type of MentionSubscribe. */
export type MentionSubscribePayload = {
  __typename?: 'MentionSubscribePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of MentionUnsubscribe. */
export type MentionUnsubscribePayload = {
  __typename?: 'MentionUnsubscribePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** All available mutations */
export type Mutations = {
  __typename?: 'Mutations';
  /** Sends an email with a token to login via password. */
  adminPasswordAuthSend?: Maybe<AdminPasswordAuthSendPayload>;
  /** Verify admin password authentication */
  adminPasswordAuthVerify?: Maybe<AdminPasswordAuthVerifyPayload>;
  /** Record usage of an AI result for purposes of analytics */
  aiAnalyticsUsage?: Maybe<AiAnalyticsUsagePayload>;
  /** Run an AI text tool service on the supplied text or HTML content */
  aiAssistanceTextToolsRun?: Maybe<AiAssistanceTextToolsRunPayload>;
  /** Submits user feedback on the new BETA UI */
  betaUiSendFeedback?: Maybe<BetaUiSendFeedbackPayload>;
  /** Create a new email channel. This does not perform email validation. */
  channelEmailAdd?: Maybe<ChannelEmailAddPayload>;
  /** Try to guess email channel configuration from user credentials */
  channelEmailGuessConfiguration?: Maybe<ChannelEmailGuessConfigurationPayload>;
  /** Set confioguration for sending system notification emails */
  channelEmailSetNotificationConfiguration?: Maybe<ChannelEmailSetNotificationConfigurationPayload>;
  /** Validate an inbound email channel configuration by trying to fetch email */
  channelEmailValidateConfigurationInbound?: Maybe<ChannelEmailValidateConfigurationInboundPayload>;
  /** Validate an outbound email channel configuration by sending a test email */
  channelEmailValidateConfigurationOutbound?: Maybe<ChannelEmailValidateConfigurationOutboundPayload>;
  /** Validate an email channel configuration first sending and then fetching that same mail */
  channelEmailValidateConfigurationRoundtrip?: Maybe<ChannelEmailValidateConfigurationRoundtripPayload>;
  /** Mark a caller log entry of the CTI integration as handled or as not handled */
  ctiLogDoneUpdate?: Maybe<CtiLogDoneUpdatePayload>;
  /** Upload files for a form */
  formUploadCacheAdd?: Maybe<FormUploadCacheAddPayload>;
  /** Remove uploaded files for a form */
  formUploadCacheRemove?: Maybe<FormUploadCacheRemovePayload>;
  /** Sets basic system information */
  guidedSetupSetSystemInformation?: Maybe<GuidedSetupSetSystemInformationPayload>;
  /** Create a knowledge base answer. */
  knowledgeBaseAnswerAdd?: Maybe<KnowledgeBaseAnswerAddPayload>;
  /** Delete a knowledge base answer. */
  knowledgeBaseAnswerDelete?: Maybe<KnowledgeBaseAnswerDeletePayload>;
  /** Transform the content of a knowledge base answer suggestion to be usable in the frontend */
  knowledgeBaseAnswerSuggestionContentTransform?: Maybe<KnowledgeBaseAnswerSuggestionContentTransformPayload>;
  /** Update a knowledge base answer. */
  knowledgeBaseAnswerUpdate?: Maybe<KnowledgeBaseAnswerUpdatePayload>;
  /** Schedule a visibility change of a knowledge base answer. */
  knowledgeBaseAnswerVisibilityScheduleAdd?: Maybe<KnowledgeBaseAnswerVisibilityScheduleAddPayload>;
  /** Clear a scheduled visibility change of a knowledge base answer. */
  knowledgeBaseAnswerVisibilityScheduleRemove?: Maybe<KnowledgeBaseAnswerVisibilityScheduleRemovePayload>;
  /** Create a knowledge base category. */
  knowledgeBaseCategoryAdd?: Maybe<KnowledgeBaseCategoryAddPayload>;
  /** Delete an empty knowledge base category. */
  knowledgeBaseCategoryDelete?: Maybe<KnowledgeBaseCategoryDeletePayload>;
  /** Update a knowledge base category. */
  knowledgeBaseCategoryUpdate?: Maybe<KnowledgeBaseCategoryUpdatePayload>;
  /** Renew the access token of the internal knowledge base feeds, invalidating the previous feed URLs */
  knowledgeBaseFeedTokenRenew?: Maybe<KnowledgeBaseFeedTokenRenewPayload>;
  /** Set how the answers of a knowledge base category are ordered, and store their hand-made order. The subcategories of that category are a list of their own, unaffected by this (see KnowledgeBaseReorderCategories). */
  knowledgeBaseReorderAnswers?: Maybe<KnowledgeBaseReorderAnswersPayload>;
  /** Set how the subcategories of a knowledge base category are ordered, and store their hand-made order. The answers of that category are a list of their own, unaffected by this (see KnowledgeBaseReorderAnswers). */
  knowledgeBaseReorderCategories?: Maybe<KnowledgeBaseReorderCategoriesPayload>;
  /** Set how the top level categories of the knowledge base are ordered, and store their hand-made order. */
  knowledgeBaseReorderRootCategories?: Maybe<KnowledgeBaseReorderRootCategoriesPayload>;
  /** Update the knowledge base. */
  knowledgeBaseUpdate?: Maybe<KnowledgeBaseUpdatePayload>;
  /** Add a link between objects */
  linkAdd?: Maybe<LinkAddPayload>;
  /** Remove link between objects */
  linkRemove?: Maybe<LinkRemovePayload>;
  /** Performs a user login to create a session */
  login?: Maybe<LoginPayload>;
  /** End the current session */
  logout?: Maybe<LogoutPayload>;
  /** Subscribe to updates to an object. */
  mentionSubscribe?: Maybe<MentionSubscribePayload>;
  /** Unsubscribe from updates to an object. */
  mentionUnsubscribe?: Maybe<MentionUnsubscribePayload>;
  /** Marks notifications for active user as seen */
  onlineNotificationDelete?: Maybe<OnlineNotificationDeletePayload>;
  /** Deletes all online notifications for the current user */
  onlineNotificationDeleteAll?: Maybe<OnlineNotificationDeleteAllPayload>;
  /** Marks all notifications of the current user as seen */
  onlineNotificationMarkAllAsSeen?: Maybe<OnlineNotificationMarkAllAsSeenPayload>;
  /** Mark an online notification as seen */
  onlineNotificationSeen?: Maybe<OnlineNotificationSeenPayload>;
  /** Update the note field of an organization. */
  organizationNoteUpdate?: Maybe<OrganizationNoteUpdatePayload>;
  /** Update organization data. */
  organizationUpdate?: Maybe<OrganizationUpdatePayload>;
  /** Verify and apply third-party system import configuration */
  systemImportConfiguration?: Maybe<SystemImportConfigurationPayload>;
  /** Start the system import process */
  systemImportStart?: Maybe<SystemImportStartPayload>;
  /** Lock critical section, system setup. */
  systemSetupLock?: Maybe<SystemSetupLockPayload>;
  /** Executes the auto wizard for automated system set-up. */
  systemSetupRunAutoWizard?: Maybe<SystemSetupRunAutoWizardPayload>;
  /** Unlock critical section, system setup. */
  systemSetupUnlock?: Maybe<SystemSetupUnlockPayload>;
  /** Assign a tag to an object. This will create tags as needed. */
  tagAssignmentAdd?: Maybe<TagAssignmentAddPayload>;
  /** Removes a tag from an object. */
  tagAssignmentRemove?: Maybe<TagAssignmentRemovePayload>;
  /** Update tags of an object. This will create tags as needed. */
  tagAssignmentUpdate?: Maybe<TagAssignmentUpdatePayload>;
  /** Trigger generation of a knowledge base answer draft for a ticket */
  ticketAIAssistanceEnqueueKnowledgeBaseAnswer?: Maybe<TicketAiAssistanceEnqueueKnowledgeBaseAnswerPayload>;
  /** Return current summary or trigger generation in the background */
  ticketAIAssistanceSummarize?: Maybe<TicketAiAssistanceSummarizePayload>;
  /** Change ticket article visibility from public to internal or vice versa */
  ticketArticleChangeVisibility?: Maybe<TicketArticleChangeVisibilityPayload>;
  /** Deletes ticket article if eligible */
  ticketArticleDelete?: Maybe<TicketArticleDeletePayload>;
  /** Prepare for a new forward or reply email article */
  ticketArticleEmailForwardReply?: Maybe<TicketArticleEmailForwardReplyPayload>;
  /** Store highlighted text in the article preferences */
  ticketArticleHighlightedTextUpsert?: Maybe<TicketArticleHighlightedTextUpsertPayload>;
  /** Retry an article's media download. */
  ticketArticleRetryMediaDownload?: Maybe<TicketArticleRetryMediaDownloadPayload>;
  /** Retry an article's security process. */
  ticketArticleRetrySecurityProcess?: Maybe<TicketArticleRetrySecurityProcessPayload>;
  /** Return a stored translation of an article or trigger its generation in the background */
  ticketArticleTranslate?: Maybe<TicketArticleTranslatePayload>;
  /** Check or generate translations for several articles of a ticket */
  ticketArticleTranslateMany?: Maybe<TicketArticleTranslateManyPayload>;
  /** Create an empty checklist or a checklist based on a template for a ticket. */
  ticketChecklistAdd?: Maybe<TicketChecklistAddPayload>;
  /** Delete a ticket checklist. */
  ticketChecklistDelete?: Maybe<TicketChecklistDeletePayload>;
  /** Delete a ticket checklist item. */
  ticketChecklistItemDelete?: Maybe<TicketChecklistItemDeletePayload>;
  /** Update order of the ticket checklist items. */
  ticketChecklistItemOrderUpdate?: Maybe<TicketChecklistItemOrderUpdatePayload>;
  /** Update or create a ticket checklist item. */
  ticketChecklistItemUpsert?: Maybe<TicketChecklistItemUpsertPayload>;
  /** Add checklist items. */
  ticketChecklistItemsAdd?: Maybe<TicketChecklistItemsAddPayload>;
  /** Update title of the ticket checklist. */
  ticketChecklistTitleUpdate?: Maybe<TicketChecklistTitleUpdatePayload>;
  /** Create a new ticket. */
  ticketCreate?: Maybe<TicketCreatePayload>;
  /** Update a ticket. */
  ticketCustomerUpdate?: Maybe<TicketCustomerUpdatePayload>;
  /** Add idoit objects to a ticket or just resolve them for ticket creation. */
  ticketExternalReferencesIdoitObjectAdd?: Maybe<TicketExternalReferencesIdoitObjectAddPayload>;
  /** Remove an idoit object from a ticket. */
  ticketExternalReferencesIdoitObjectRemove?: Maybe<TicketExternalReferencesIdoitObjectRemovePayload>;
  /** Add an issue tracker link to a ticket or just resolve it for ticket creation. */
  ticketExternalReferencesIssueTrackerItemAdd?: Maybe<TicketExternalReferencesIssueTrackerItemAddPayload>;
  /** Removes an issue tracker link from an ticket. */
  ticketExternalReferencesIssueTrackerItemRemove?: Maybe<TicketExternalReferencesIssueTrackerItemRemovePayload>;
  /** Deletes the desired live user entry. */
  ticketLiveUserDelete?: Maybe<TicketLiveUserDeletePayload>;
  /** Updates the current live user entry. If no matching live user entry is found, a new live user entry for the current user and ticket will be created. */
  ticketLiveUserUpsert?: Maybe<TicketLiveUserUpsertPayload>;
  /** Create a new ticket. */
  ticketMerge?: Maybe<TicketMergePayload>;
  /** Deletes ticket shared draft */
  ticketSharedDraftStartCreate?: Maybe<TicketSharedDraftStartCreatePayload>;
  /** Deletes ticket shared draft */
  ticketSharedDraftStartDelete?: Maybe<TicketSharedDraftStartDeletePayload>;
  /** Deletes ticket shared draft */
  ticketSharedDraftStartUpdate?: Maybe<TicketSharedDraftStartUpdatePayload>;
  /** Create ticket shared draft in detail view */
  ticketSharedDraftZoomCreate?: Maybe<TicketSharedDraftZoomCreatePayload>;
  /** Deletes ticket shared draft */
  ticketSharedDraftZoomDelete?: Maybe<TicketSharedDraftZoomDeletePayload>;
  /** Update ticket shared draft in detail view */
  ticketSharedDraftZoomUpdate?: Maybe<TicketSharedDraftZoomUpdatePayload>;
  /** Update a ticket title. */
  ticketTitleUpdate?: Maybe<TicketTitleUpdatePayload>;
  /** Update a ticket. */
  ticketUpdate?: Maybe<TicketUpdatePayload>;
  /** Bulk-update tickets. */
  ticketUpdateBulk?: Maybe<TicketUpdateBulkPayload>;
  /** Fetches the initiation phase data for a two-factor authentication method. */
  twoFactorMethodInitiateAuthentication?: Maybe<TwoFactorMethodInitiateAuthenticationPayload>;
  /** Add a new user. */
  userAdd?: Maybe<UserAddPayload>;
  /** Add the first admin user during system set-up and log that user in. */
  userAddFirstAdmin?: Maybe<UserAddFirstAdminPayload>;
  /** Create a new user access token */
  userCurrentAccessTokenAdd?: Maybe<UserCurrentAccessTokenAddPayload>;
  /** Deletes user access token */
  userCurrentAccessTokenDelete?: Maybe<UserCurrentAccessTokenDeletePayload>;
  /** Update user profile appearance settings */
  userCurrentAppearance?: Maybe<UserCurrentAppearancePayload>;
  /** Add a new avatar for the currently logged in user. */
  userCurrentAvatarAdd?: Maybe<UserCurrentAvatarAddPayload>;
  /** Delete an existing avatar for the currently logged in user. */
  userCurrentAvatarDelete?: Maybe<UserCurrentAvatarDeletePayload>;
  /** Select avatar for the currently logged in user. */
  userCurrentAvatarSelect?: Maybe<UserCurrentAvatarSelectPayload>;
  /** Fetch calendar subscriptions settings */
  userCurrentCalendarSubscriptionUpdate?: Maybe<UserCurrentCalendarSubscriptionUpdatePayload>;
  /** Update the caller notification setting of the current user */
  userCurrentCallerNotificationUpdate?: Maybe<UserCurrentCallerNotificationUpdatePayload>;
  /** Change user password. */
  userCurrentChangePassword?: Maybe<UserCurrentChangePasswordPayload>;
  /** Remember whether the current user reads whole tickets in their target language */
  userCurrentContentTranslationAuto?: Maybe<UserCurrentContentTranslationAutoPayload>;
  /** Remember the languages the current user reads in the original when whole tickets are translated */
  userCurrentContentTranslationExcludedLanguages?: Maybe<UserCurrentContentTranslationExcludedLanguagesPayload>;
  /** Remember the language the current user translates content into */
  userCurrentContentTranslationTargetLocale?: Maybe<UserCurrentContentTranslationTargetLocalePayload>;
  /** Delete a user (session) device. */
  userCurrentDeviceDelete?: Maybe<UserCurrentDeviceDeletePayload>;
  /** Update what happens for the current user after a knowledge base answer was saved */
  userCurrentKnowledgeBaseAnswerScreenBehavior?: Maybe<UserCurrentKnowledgeBaseAnswerScreenBehaviorPayload>;
  /** Update the language of the currently logged in user */
  userCurrentLocale?: Maybe<UserCurrentLocalePayload>;
  /** Reset user notification settings */
  userCurrentNotificationPreferencesReset?: Maybe<UserCurrentNotificationPreferencesResetPayload>;
  /** Update user notification settings */
  userCurrentNotificationPreferencesUpdate?: Maybe<UserCurrentNotificationPreferencesUpdatePayload>;
  /** Update user profile out of office settings */
  userCurrentOutOfOffice?: Maybe<UserCurrentOutOfOfficePayload>;
  /** Reset the overview sorting for the current user */
  userCurrentOverviewResetOrder?: Maybe<UserCurrentOverviewResetOrderPayload>;
  /** Update the last used information of the current user in their user preferences */
  userCurrentOverviewUpdateLastUsed?: Maybe<UserCurrentOverviewUpdateLastUsedPayload>;
  /** Update the overview sorting for the current user */
  userCurrentOverviewUpdateOrder?: Maybe<UserCurrentOverviewUpdateOrderPayload>;
  /** Check your password */
  userCurrentPasswordCheck?: Maybe<UserCurrentPasswordCheckPayload>;
  /** Register the web push subscription of the current browser for the current user */
  userCurrentPushSubscriptionAdd?: Maybe<UserCurrentPushSubscriptionAddPayload>;
  /** Remove a web push subscription of the current user */
  userCurrentPushSubscriptionDelete?: Maybe<UserCurrentPushSubscriptionDeletePayload>;
  /** Reset recently closed items of the current user */
  userCurrentRecentCloseReset?: Maybe<UserCurrentRecentCloseResetPayload>;
  /** Remove a linked account of the current user's profile */
  userCurrentRemoveLinkedAccount?: Maybe<UserCurrentRemoveLinkedAccountPayload>;
  /** Create a taskbar item for the currently logged-in user. */
  userCurrentTaskbarItemAdd?: Maybe<UserCurrentTaskbarItemAddPayload>;
  /** Delete a taskbar item of the currently logged-in user */
  userCurrentTaskbarItemDelete?: Maybe<UserCurrentTaskbarItemDeletePayload>;
  /** Sort taskbar item list by priority. */
  userCurrentTaskbarItemListPrio?: Maybe<UserCurrentTaskbarItemListPrioPayload>;
  /** Update last_contact_at for a taskbar item of the currently logged-in user */
  userCurrentTaskbarItemTouchLastContact?: Maybe<UserCurrentTaskbarItemTouchLastContactPayload>;
  /** Update a taskbar item of the currently logged-in user */
  userCurrentTaskbarItemUpdate?: Maybe<UserCurrentTaskbarItemUpdatePayload>;
  /** Update user ticket screen behavior settings */
  userCurrentTicketScreenBehavior?: Maybe<UserCurrentTicketScreenBehaviorPayload>;
  /** Regenerates new two factor recovery codes */
  userCurrentTwoFactorRecoveryCodesGenerate?: Maybe<UserCurrentTwoFactorRecoveryCodesGeneratePayload>;
  /** Removes given two factor authentication method */
  userCurrentTwoFactorRemoveMethod?: Maybe<UserCurrentTwoFactorRemoveMethodPayload>;
  /** Removes given two factor authentication method */
  userCurrentTwoFactorRemoveMethodCredentials?: Maybe<UserCurrentTwoFactorRemoveMethodCredentialsPayload>;
  /** Sets given two factor authentication method as default */
  userCurrentTwoFactorSetDefaultMethod?: Maybe<UserCurrentTwoFactorSetDefaultMethodPayload>;
  /** Verifies two factor authentication method configuration. */
  userCurrentTwoFactorVerifyMethodConfiguration?: Maybe<UserCurrentTwoFactorVerifyMethodConfigurationPayload>;
  /** Update the note field of a user. */
  userNoteUpdate?: Maybe<UserNoteUpdatePayload>;
  /** Send password reset link to the user. */
  userPasswordResetSend?: Maybe<UserPasswordResetSendPayload>;
  /** Update user password via reset token. */
  userPasswordResetUpdate?: Maybe<UserPasswordResetUpdatePayload>;
  /** Verify password reset token. */
  userPasswordResetVerify?: Maybe<UserPasswordResetVerifyPayload>;
  /** Sign-up / register user. */
  userSignup?: Maybe<UserSignupPayload>;
  /** Resend signup verification email. */
  userSignupResend?: Maybe<UserSignupResendPayload>;
  /** Verify a signed up user. */
  userSignupVerify?: Maybe<UserSignupVerifyPayload>;
  /** Update an existing user. */
  userUpdate?: Maybe<UserUpdatePayload>;
};


/** All available mutations */
export type MutationsAdminPasswordAuthSendArgs = {
  login: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsAdminPasswordAuthVerifyArgs = {
  token: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsAiAnalyticsUsageArgs = {
  aiAnalyticsRunId: Scalars['ID']['input'];
  input?: InputMaybe<AiAnalyticsUsageInput>;
};


/** All available mutations */
export type MutationsAiAssistanceTextToolsRunArgs = {
  input: Scalars['String']['input'];
  templateRenderContext: TemplateRenderContextInput;
  textToolId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsBetaUiSendFeedbackArgs = {
  input: BetaUiFeedbackInput;
};


/** All available mutations */
export type MutationsChannelEmailAddArgs = {
  input: ChannelEmailAddInput;
};


/** All available mutations */
export type MutationsChannelEmailGuessConfigurationArgs = {
  emailAddress: Scalars['String']['input'];
  password: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsChannelEmailSetNotificationConfigurationArgs = {
  outboundConfiguration: ChannelEmailOutboundConfigurationInput;
};


/** All available mutations */
export type MutationsChannelEmailValidateConfigurationInboundArgs = {
  inboundConfiguration: ChannelEmailInboundConfigurationInput;
};


/** All available mutations */
export type MutationsChannelEmailValidateConfigurationOutboundArgs = {
  emailAddress: Scalars['String']['input'];
  outboundConfiguration: ChannelEmailOutboundConfigurationInput;
};


/** All available mutations */
export type MutationsChannelEmailValidateConfigurationRoundtripArgs = {
  emailAddress: Scalars['String']['input'];
  inboundConfiguration: ChannelEmailInboundConfigurationInput;
  outboundConfiguration: ChannelEmailOutboundConfigurationInput;
};


/** All available mutations */
export type MutationsCtiLogDoneUpdateArgs = {
  done: Scalars['Boolean']['input'];
  id: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsFormUploadCacheAddArgs = {
  files: Array<UploadCacheFileInput>;
  formId: Scalars['FormId']['input'];
};


/** All available mutations */
export type MutationsFormUploadCacheRemoveArgs = {
  fileIds: Array<Scalars['ID']['input']>;
  formId: Scalars['FormId']['input'];
};


/** All available mutations */
export type MutationsGuidedSetupSetSystemInformationArgs = {
  input: SystemInformation;
};


/** All available mutations */
export type MutationsKnowledgeBaseAnswerAddArgs = {
  input: KnowledgeBaseCreateAnswerInput;
  locale: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsKnowledgeBaseAnswerDeleteArgs = {
  answerId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsKnowledgeBaseAnswerSuggestionContentTransformArgs = {
  formId: Scalars['FormId']['input'];
  translationId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsKnowledgeBaseAnswerUpdateArgs = {
  answerId: Scalars['ID']['input'];
  input: KnowledgeBaseUpdateAnswerInput;
  locale: Scalars['String']['input'];
  meta?: InputMaybe<KnowledgeBaseAnswerUpdateMetaInput>;
};


/** All available mutations */
export type MutationsKnowledgeBaseAnswerVisibilityScheduleAddArgs = {
  answerId: Scalars['ID']['input'];
  scheduledAt: Scalars['ISO8601DateTime']['input'];
  visibility: EnumKnowledgeBaseSchedulableVisibility;
};


/** All available mutations */
export type MutationsKnowledgeBaseAnswerVisibilityScheduleRemoveArgs = {
  answerId: Scalars['ID']['input'];
  visibility: EnumKnowledgeBaseSchedulableVisibility;
};


/** All available mutations */
export type MutationsKnowledgeBaseCategoryAddArgs = {
  input: KnowledgeBaseCategoryInput;
  locale: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsKnowledgeBaseCategoryDeleteArgs = {
  categoryId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsKnowledgeBaseCategoryUpdateArgs = {
  categoryId: Scalars['ID']['input'];
  input: KnowledgeBaseCategoryInput;
  locale: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsKnowledgeBaseFeedTokenRenewArgs = {
  categoryId?: InputMaybe<Scalars['ID']['input']>;
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** All available mutations */
export type MutationsKnowledgeBaseReorderAnswersArgs = {
  answerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  categoryId: Scalars['ID']['input'];
  sortingMode: EnumKnowledgeBaseSortingMode;
};


/** All available mutations */
export type MutationsKnowledgeBaseReorderCategoriesArgs = {
  categoryIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  parentCategoryId: Scalars['ID']['input'];
  sortingMode: EnumKnowledgeBaseSortingMode;
};


/** All available mutations */
export type MutationsKnowledgeBaseReorderRootCategoriesArgs = {
  categoryIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  sortingMode: EnumKnowledgeBaseSortingMode;
};


/** All available mutations */
export type MutationsKnowledgeBaseUpdateArgs = {
  input: KnowledgeBaseInput;
  locale: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsLinkAddArgs = {
  input: LinkInput;
};


/** All available mutations */
export type MutationsLinkRemoveArgs = {
  input: LinkInput;
};


/** All available mutations */
export type MutationsLoginArgs = {
  input: LoginInput;
};


/** All available mutations */
export type MutationsMentionSubscribeArgs = {
  objectId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsMentionUnsubscribeArgs = {
  objectId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsOnlineNotificationDeleteArgs = {
  onlineNotificationId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsOnlineNotificationSeenArgs = {
  objectId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsOrganizationNoteUpdateArgs = {
  id: Scalars['ID']['input'];
  note: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsOrganizationUpdateArgs = {
  id: Scalars['ID']['input'];
  input: OrganizationInput;
};


/** All available mutations */
export type MutationsSystemImportConfigurationArgs = {
  configuration: SystemImportConfigurationInput;
};


/** All available mutations */
export type MutationsSystemSetupLockArgs = {
  ttl?: InputMaybe<Scalars['Int']['input']>;
};


/** All available mutations */
export type MutationsSystemSetupRunAutoWizardArgs = {
  token?: InputMaybe<Scalars['String']['input']>;
};


/** All available mutations */
export type MutationsSystemSetupUnlockArgs = {
  value: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsTagAssignmentAddArgs = {
  objectId: Scalars['ID']['input'];
  tag: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsTagAssignmentRemoveArgs = {
  objectId: Scalars['ID']['input'];
  tag: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsTagAssignmentUpdateArgs = {
  objectId: Scalars['ID']['input'];
  tags: Array<Scalars['String']['input']>;
};


/** All available mutations */
export type MutationsTicketAiAssistanceEnqueueKnowledgeBaseAnswerArgs = {
  ticketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketAiAssistanceSummarizeArgs = {
  regenerationOfId?: InputMaybe<Scalars['ID']['input']>;
  ticketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketArticleChangeVisibilityArgs = {
  articleId: Scalars['ID']['input'];
  internal: Scalars['Boolean']['input'];
};


/** All available mutations */
export type MutationsTicketArticleDeleteArgs = {
  articleId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketArticleEmailForwardReplyArgs = {
  articleId: Scalars['ID']['input'];
  formId: Scalars['FormId']['input'];
};


/** All available mutations */
export type MutationsTicketArticleHighlightedTextUpsertArgs = {
  articleId: Scalars['ID']['input'];
  highlight?: InputMaybe<Array<TicketArticleHighlightedTextInput>>;
};


/** All available mutations */
export type MutationsTicketArticleRetryMediaDownloadArgs = {
  articleId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketArticleRetrySecurityProcessArgs = {
  articleId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketArticleTranslateArgs = {
  articleId: Scalars['ID']['input'];
  force?: InputMaybe<Scalars['Boolean']['input']>;
  regenerationOfId?: InputMaybe<Scalars['ID']['input']>;
  targetLocale: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsTicketArticleTranslateManyArgs = {
  afterCursor?: InputMaybe<Scalars['String']['input']>;
  beforeCursor?: InputMaybe<Scalars['String']['input']>;
  firstArticlesCount?: InputMaybe<Scalars['Int']['input']>;
  generateMissing?: InputMaybe<Scalars['Boolean']['input']>;
  loadFirstArticles?: InputMaybe<Scalars['Boolean']['input']>;
  pageSize?: InputMaybe<Scalars['Int']['input']>;
  targetLocale: Scalars['String']['input'];
  ticketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketChecklistAddArgs = {
  createFirstItem?: InputMaybe<Scalars['Boolean']['input']>;
  templateId?: InputMaybe<Scalars['ID']['input']>;
  ticketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketChecklistDeleteArgs = {
  checklistId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketChecklistItemDeleteArgs = {
  checklistId: Scalars['ID']['input'];
  checklistItemId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketChecklistItemOrderUpdateArgs = {
  checklistId: Scalars['ID']['input'];
  order: Array<Scalars['ID']['input']>;
};


/** All available mutations */
export type MutationsTicketChecklistItemUpsertArgs = {
  checklistId: Scalars['ID']['input'];
  checklistItemId?: InputMaybe<Scalars['ID']['input']>;
  input: TicketChecklistItemInput;
};


/** All available mutations */
export type MutationsTicketChecklistItemsAddArgs = {
  checklistId: Scalars['ID']['input'];
  input: Array<TicketChecklistItemInput>;
};


/** All available mutations */
export type MutationsTicketChecklistTitleUpdateArgs = {
  checklistId: Scalars['ID']['input'];
  title?: InputMaybe<Scalars['String']['input']>;
};


/** All available mutations */
export type MutationsTicketCreateArgs = {
  input: TicketCreateInput;
};


/** All available mutations */
export type MutationsTicketCustomerUpdateArgs = {
  input: TicketCustomerUpdateInput;
  ticketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketExternalReferencesIdoitObjectAddArgs = {
  idoitObjectIds: Array<Scalars['Int']['input']>;
  ticketId?: InputMaybe<Scalars['ID']['input']>;
};


/** All available mutations */
export type MutationsTicketExternalReferencesIdoitObjectRemoveArgs = {
  idoitObjectId: Scalars['Int']['input'];
  ticketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketExternalReferencesIssueTrackerItemAddArgs = {
  issueTrackerLink: Scalars['UriHttpString']['input'];
  issueTrackerType: EnumTicketExternalReferencesIssueTrackerType;
  ticketId?: InputMaybe<Scalars['ID']['input']>;
};


/** All available mutations */
export type MutationsTicketExternalReferencesIssueTrackerItemRemoveArgs = {
  issueTrackerLink: Scalars['UriHttpString']['input'];
  issueTrackerType: EnumTicketExternalReferencesIssueTrackerType;
  ticketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketLiveUserDeleteArgs = {
  app: EnumTaskbarApp;
  id: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketLiveUserUpsertArgs = {
  app: EnumTaskbarApp;
  editing: Scalars['Boolean']['input'];
  id: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketMergeArgs = {
  sourceTicketId: Scalars['ID']['input'];
  targetTicketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketSharedDraftStartCreateArgs = {
  input: TicketSharedDraftStartInput;
  name: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsTicketSharedDraftStartDeleteArgs = {
  sharedDraftId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketSharedDraftStartUpdateArgs = {
  input: TicketSharedDraftStartInput;
  sharedDraftId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketSharedDraftZoomCreateArgs = {
  input: TicketSharedDraftZoomInput;
};


/** All available mutations */
export type MutationsTicketSharedDraftZoomDeleteArgs = {
  sharedDraftId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketSharedDraftZoomUpdateArgs = {
  input: TicketSharedDraftZoomInput;
  sharedDraftId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketTitleUpdateArgs = {
  ticketId: Scalars['ID']['input'];
  title: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsTicketUpdateArgs = {
  input: TicketUpdateInput;
  meta?: InputMaybe<TicketUpdateMetaInput>;
  ticketId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsTicketUpdateBulkArgs = {
  perform: TicketBulkPerformInput;
  selector: TicketBulkSelectorInput;
};


/** All available mutations */
export type MutationsTwoFactorMethodInitiateAuthenticationArgs = {
  login: Scalars['String']['input'];
  password: Scalars['String']['input'];
  twoFactorMethod: EnumTwoFactorAuthenticationMethod;
};


/** All available mutations */
export type MutationsUserAddArgs = {
  input: UserInput;
  sendInvite?: InputMaybe<Scalars['Boolean']['input']>;
};


/** All available mutations */
export type MutationsUserAddFirstAdminArgs = {
  input: UserSignupInput;
};


/** All available mutations */
export type MutationsUserCurrentAccessTokenAddArgs = {
  input: UserAccessTokenInput;
};


/** All available mutations */
export type MutationsUserCurrentAccessTokenDeleteArgs = {
  tokenId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsUserCurrentAppearanceArgs = {
  theme: EnumAppearanceTheme;
};


/** All available mutations */
export type MutationsUserCurrentAvatarAddArgs = {
  images: AvatarInput;
};


/** All available mutations */
export type MutationsUserCurrentAvatarDeleteArgs = {
  id: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsUserCurrentAvatarSelectArgs = {
  id: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsUserCurrentCalendarSubscriptionUpdateArgs = {
  input: UserCalendarSubscriptionsConfigInput;
};


/** All available mutations */
export type MutationsUserCurrentCallerNotificationUpdateArgs = {
  enabled: Scalars['Boolean']['input'];
};


/** All available mutations */
export type MutationsUserCurrentChangePasswordArgs = {
  currentPassword: Scalars['String']['input'];
  newPassword: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentContentTranslationAutoArgs = {
  enabled: Scalars['Boolean']['input'];
};


/** All available mutations */
export type MutationsUserCurrentContentTranslationExcludedLanguagesArgs = {
  languages: Array<Scalars['String']['input']>;
};


/** All available mutations */
export type MutationsUserCurrentContentTranslationTargetLocaleArgs = {
  targetLocale: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentDeviceDeleteArgs = {
  deviceId: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsUserCurrentKnowledgeBaseAnswerScreenBehaviorArgs = {
  behavior: EnumKnowledgeBaseAnswerScreenBehavior;
  screen: EnumKnowledgeBaseAnswerScreen;
};


/** All available mutations */
export type MutationsUserCurrentLocaleArgs = {
  locale: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentNotificationPreferencesUpdateArgs = {
  groupIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  matrix: UserNotificationMatrixInput;
  sound: UserNotificationSoundInput;
};


/** All available mutations */
export type MutationsUserCurrentOutOfOfficeArgs = {
  input: OutOfOfficeInput;
};


/** All available mutations */
export type MutationsUserCurrentOverviewUpdateLastUsedArgs = {
  overviewsLastUsed: Array<UserCurrentOverviewLastUsed>;
};


/** All available mutations */
export type MutationsUserCurrentOverviewUpdateOrderArgs = {
  overviewIds: Array<Scalars['ID']['input']>;
};


/** All available mutations */
export type MutationsUserCurrentPasswordCheckArgs = {
  password: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentPushSubscriptionAddArgs = {
  input: UserPushSubscriptionInput;
};


/** All available mutations */
export type MutationsUserCurrentPushSubscriptionDeleteArgs = {
  endpoint: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentRemoveLinkedAccountArgs = {
  provider: EnumAuthenticationProvider;
  uid: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentTaskbarItemAddArgs = {
  input: UserTaskbarItemInput;
};


/** All available mutations */
export type MutationsUserCurrentTaskbarItemDeleteArgs = {
  id: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsUserCurrentTaskbarItemListPrioArgs = {
  list: Array<UserTaskbarItemListPrioInput>;
};


/** All available mutations */
export type MutationsUserCurrentTaskbarItemTouchLastContactArgs = {
  id: Scalars['ID']['input'];
};


/** All available mutations */
export type MutationsUserCurrentTaskbarItemUpdateArgs = {
  id: Scalars['ID']['input'];
  input: UserTaskbarItemInput;
};


/** All available mutations */
export type MutationsUserCurrentTicketScreenBehaviorArgs = {
  behavior: EnumTicketScreenBehavior;
};


/** All available mutations */
export type MutationsUserCurrentTwoFactorRecoveryCodesGenerateArgs = {
  token: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentTwoFactorRemoveMethodArgs = {
  methodName: Scalars['String']['input'];
  token: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentTwoFactorRemoveMethodCredentialsArgs = {
  credentialId: Scalars['String']['input'];
  methodName: Scalars['String']['input'];
  token: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentTwoFactorSetDefaultMethodArgs = {
  methodName: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserCurrentTwoFactorVerifyMethodConfigurationArgs = {
  configuration: Scalars['JSON']['input'];
  methodName: EnumTwoFactorAuthenticationMethod;
  payload: Scalars['JSON']['input'];
  token: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserNoteUpdateArgs = {
  id: Scalars['ID']['input'];
  note: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserPasswordResetSendArgs = {
  username: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserPasswordResetUpdateArgs = {
  password: Scalars['String']['input'];
  token: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserPasswordResetVerifyArgs = {
  token: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserSignupArgs = {
  input: UserSignupInput;
};


/** All available mutations */
export type MutationsUserSignupResendArgs = {
  email: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserSignupVerifyArgs = {
  token: Scalars['String']['input'];
};


/** All available mutations */
export type MutationsUserUpdateArgs = {
  id: Scalars['ID']['input'];
  input: UserInput;
};

/** Data of one object attribute value of another object */
export type ObjectAttributeValue = {
  __typename?: 'ObjectAttributeValue';
  /** The object attribute record */
  attribute: ObjectManagerFrontendAttribute;
  /** Rendered version of link, if attribute has defined template */
  renderedLink?: Maybe<Scalars['String']['output']>;
  /** The value of the current object's object attribute */
  value?: Maybe<Scalars['JSON']['output']>;
};

/** Data of one object attribute value of another object */
export type ObjectAttributeValueInput = {
  /** The name of the current object's attribute */
  name: Scalars['String']['input'];
  /** The value of the current object's object attribute */
  value?: InputMaybe<Scalars['JSON']['input']>;
};

/** Custom object fields (only non-internal & active) */
export type ObjectAttributeValuesInterface = {
  objectAttributeValues?: Maybe<Array<ObjectAttributeValue>>;
};

/** Object class */
export type ObjectClass = {
  __typename?: 'ObjectClass';
  /** Info about the object class */
  info?: Maybe<Scalars['String']['output']>;
  /** Name of the object class */
  klass?: Maybe<Scalars['String']['output']>;
};

/** An object manager attribute record especially for the frontend */
export type ObjectManagerFrontendAttribute = {
  __typename?: 'ObjectManagerFrontendAttribute';
  dataOption?: Maybe<Scalars['JSON']['output']>;
  dataType: Scalars['String']['output'];
  display: Scalars['String']['output'];
  isInternal: Scalars['Boolean']['output'];
  name: Scalars['String']['output'];
  screens?: Maybe<Scalars['JSON']['output']>;
};

/** Autogenerated return type of ObjectManagerFrontendAttributes. */
export type ObjectManagerFrontendAttributesPayload = {
  __typename?: 'ObjectManagerFrontendAttributesPayload';
  /** Attributes to be shown in the frontend */
  attributes: Array<ObjectManagerFrontendAttribute>;
  /** Screens with attributes to be shown in the frontend */
  screens: Array<ObjectManagerScreenAttributes>;
};

/** Screens with underlying attributes. */
export type ObjectManagerScreenAttributes = {
  __typename?: 'ObjectManagerScreenAttributes';
  attributes: Array<Scalars['String']['output']>;
  name: Scalars['String']['output'];
};

/** Online notifications for a user */
export type OnlineNotification = {
  __typename?: 'OnlineNotification';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  meta: OnlineNotificationMeta;
  /** resolver for Rails' belongs_to relationship */
  metaObject?: Maybe<ActivityMessageMetaObject>;
  /** resolver for Rails' has_one relationship */
  objectName: Scalars['String']['output'];
  seen: Scalars['Boolean']['output'];
  /** resolver for Rails' has_one relationship */
  typeName: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** The connection type for OnlineNotification. */
export type OnlineNotificationConnection = {
  __typename?: 'OnlineNotificationConnection';
  /** A list of edges. */
  edges: Array<OnlineNotificationEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** Autogenerated return type of OnlineNotificationDeleteAll. */
export type OnlineNotificationDeleteAllPayload = {
  __typename?: 'OnlineNotificationDeleteAllPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the deletion successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of OnlineNotificationDelete. */
export type OnlineNotificationDeletePayload = {
  __typename?: 'OnlineNotificationDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the notification deletion successful? */
  success: Scalars['Boolean']['output'];
};

/** An edge in a connection. */
export type OnlineNotificationEdge = {
  __typename?: 'OnlineNotificationEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: OnlineNotification;
};

/** Autogenerated return type of OnlineNotificationMarkAllAsSeen. */
export type OnlineNotificationMarkAllAsSeenPayload = {
  __typename?: 'OnlineNotificationMarkAllAsSeenPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the marking successful? */
  success: Scalars['Boolean']['output'];
};

/** Meta information for an online notification */
export type OnlineNotificationMeta = {
  __typename?: 'OnlineNotificationMeta';
  createdByAi: Scalars['Boolean']['output'];
};

/** Autogenerated return type of OnlineNotificationSeen. */
export type OnlineNotificationSeenPayload = {
  __typename?: 'OnlineNotificationSeenPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Did we successfully set the online notification to seen? */
  success: Scalars['Boolean']['output'];
};

/** Standalone notification for a user, not related to a specific database object */
export type OnlineNotificationStandalone = {
  __typename?: 'OnlineNotificationStandalone';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  data: DataUnion;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};

/** Data payload for bulk job standalone notifications */
export type OnlineNotificationStandaloneBulkJobData = {
  __typename?: 'OnlineNotificationStandaloneBulkJobData';
  failedCount: Scalars['Int']['output'];
  total: Scalars['Int']['output'];
};

/** Data payload for knowledge base answer generation failure notifications */
export type OnlineNotificationStandaloneKbAnswerGenerationFailedData = {
  __typename?: 'OnlineNotificationStandaloneKbAnswerGenerationFailedData';
  errorMessage: Scalars['String']['output'];
  ticketTitle: Scalars['String']['output'];
};

/** Autogenerated return type of OnlineNotificationsCount. */
export type OnlineNotificationsCountPayload = {
  __typename?: 'OnlineNotificationsCountPayload';
  /** Count of unseen notifications for the user */
  unseenCount: Scalars['Int']['output'];
  /** Tags of the web pushes whose notifications the user has not seen yet, so a device can close the other ones */
  unseenPushTags: Array<Scalars['String']['output']>;
};

/** Organizations that users can belong to */
export type Organization = ObjectAttributeValuesInterface & {
  __typename?: 'Organization';
  active?: Maybe<Scalars['Boolean']['output']>;
  /** All assigned users */
  allMembers?: Maybe<UserConnection>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  domain?: Maybe<Scalars['String']['output']>;
  domainAssignment?: Maybe<Scalars['Boolean']['output']>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** Users assigned via primary organization */
  members?: Maybe<UserConnection>;
  name?: Maybe<Scalars['String']['output']>;
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  objectAttributeValues?: Maybe<Array<ObjectAttributeValue>>;
  policy: PolicyDefault;
  /** Users assigned via secondary organization */
  secondaryMembers?: Maybe<UserConnection>;
  shared?: Maybe<Scalars['Boolean']['output']>;
  ticketsCount?: Maybe<TicketCount>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  vip?: Maybe<Scalars['Boolean']['output']>;
};


/** Organizations that users can belong to */
export type OrganizationAllMembersArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};


/** Organizations that users can belong to */
export type OrganizationMembersArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};


/** Organizations that users can belong to */
export type OrganizationSecondaryMembersArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};

/** The connection type for Organization. */
export type OrganizationConnection = {
  __typename?: 'OrganizationConnection';
  /** A list of edges. */
  edges: Array<OrganizationEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** An edge in a connection. */
export type OrganizationEdge = {
  __typename?: 'OrganizationEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: Organization;
};

/** The organization insert/update fields. */
export type OrganizationInput = {
  /** The organization active flag */
  active?: InputMaybe<Scalars['Boolean']['input']>;
  /** The organization domain */
  domain?: InputMaybe<Scalars['String']['input']>;
  /** The organization domain assignment flag */
  domainAssignment?: InputMaybe<Scalars['Boolean']['input']>;
  /** The organization name */
  name?: InputMaybe<Scalars['String']['input']>;
  /** The organization note */
  note?: InputMaybe<Scalars['String']['input']>;
  /** Additional custom attributes (names + values) */
  objectAttributeValues?: InputMaybe<Array<ObjectAttributeValueInput>>;
  /** The organization shared flag */
  shared?: InputMaybe<Scalars['Boolean']['input']>;
  /** The organization VIP flag */
  vip?: InputMaybe<Scalars['Boolean']['input']>;
};

/** Autogenerated return type of OrganizationNoteUpdate. */
export type OrganizationNoteUpdatePayload = {
  __typename?: 'OrganizationNoteUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated organization. */
  organization?: Maybe<Organization>;
};

/** Autogenerated return type of OrganizationUpdate. */
export type OrganizationUpdatePayload = {
  __typename?: 'OrganizationUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated organization. */
  organization?: Maybe<Organization>;
};

/** Autogenerated return type of OrganizationUpdates. */
export type OrganizationUpdatesPayload = {
  __typename?: 'OrganizationUpdatesPayload';
  /** Updated organization */
  organization?: Maybe<Organization>;
};

/** Out of office information */
export type OutOfOfficeInput = {
  /** Out of office enabled? */
  enabled: Scalars['Boolean']['input'];
  /** Out of office date range */
  endAt?: InputMaybe<Scalars['ISO8601Date']['input']>;
  /** User ID of replacement */
  replacementId?: InputMaybe<Scalars['ID']['input']>;
  /** Out of office date range */
  startAt?: InputMaybe<Scalars['ISO8601Date']['input']>;
  /** Out of office message */
  text?: InputMaybe<Scalars['String']['input']>;
};

/** Ticket overviews */
export type Overview = {
  __typename?: 'Overview';
  active: Scalars['Boolean']['output'];
  /** Cached count of tickets the authenticated user may see in this overview */
  cachedTicketCount: Scalars['Int']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  groupBy?: Maybe<Scalars['String']['output']>;
  groupDirection?: Maybe<EnumOrderDirection>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  link: Scalars['String']['output'];
  name: Scalars['String']['output'];
  orderBy: Scalars['String']['output'];
  /** Columns that may be used as order_by of overview queries, with assigned label values */
  orderColumns: Array<KeyValue>;
  orderDirection: EnumOrderDirection;
  organizationShared?: Maybe<Scalars['Boolean']['output']>;
  outOfOffice?: Maybe<Scalars['Boolean']['output']>;
  prio: Scalars['Int']['output'];
  /** Count of tickets the authenticated user may see in this overview */
  ticketCount: Scalars['Int']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  /** Columns to be shown on screen, with assigned label values */
  viewColumns: Array<KeyValue>;
  /** Columns to be shown on screen, mapped to actual internal field IDs */
  viewColumnsRaw: Array<Scalars['String']['output']>;
};


/** Ticket overviews */
export type OverviewCachedTicketCountArgs = {
  cacheTtl: Scalars['Int']['input'];
};

/** Information about pagination in a connection. */
export type PageInfo = {
  __typename?: 'PageInfo';
  /** When paginating forwards, the cursor to continue. */
  endCursor?: Maybe<Scalars['String']['output']>;
  /** When paginating forwards, are there more items? */
  hasNextPage: Scalars['Boolean']['output'];
  /** When paginating backwards, are there more items? */
  hasPreviousPage: Scalars['Boolean']['output'];
  /** When paginating backwards, the cursor to continue. */
  startCursor?: Maybe<Scalars['String']['output']>;
};

/** Access Pundit policy queries for the current object and user. */
export type PolicyDefault = {
  __typename?: 'PolicyDefault';
  /** Is the user allowed to delete this object? */
  destroy: Scalars['Boolean']['output'];
  /** Is the user allowed to update this object? */
  update: Scalars['Boolean']['output'];
};

/** Access knowledge base specific Pundit policy queries for the current object and user. */
export type PolicyKnowledgeBase = {
  __typename?: 'PolicyKnowledgeBase';
  /** Is the user allowed to update this knowledge base? */
  update: Scalars['Boolean']['output'];
};

/** Access knowledge base category specific Pundit policy queries for the current object and user. */
export type PolicyKnowledgeBaseCategory = {
  __typename?: 'PolicyKnowledgeBaseCategory';
  /** Is the user allowed to create an answer in this category? */
  createAnswer: Scalars['Boolean']['output'];
  /** Is the user allowed to add a category under this category? */
  createSubcategory: Scalars['Boolean']['output'];
  /** Is the user allowed to delete this object? */
  destroy: Scalars['Boolean']['output'];
  /** Is the user allowed to delete answers in this category? */
  destroyAnswer: Scalars['Boolean']['output'];
  /** Is the user allowed to see and change the permissions of this category? */
  permissions: Scalars['Boolean']['output'];
  /** Is the user allowed to update this object? */
  update: Scalars['Boolean']['output'];
  /** Is the user allowed to edit the answers in this category? */
  updateAnswer: Scalars['Boolean']['output'];
};

/** Check Pundit policy queries for the mentioned object and user. */
export type PolicyMentionUserTicketAccess = {
  __typename?: 'PolicyMentionUserTicketAccess';
  /** Does the user have agent-level read access to this ticket? */
  agentReadAccess: Scalars['Boolean']['output'];
  /** Does the user have agent-level update access to this ticket? */
  agentUpdateAccess: Scalars['Boolean']['output'];
  /** Is the user allowed to create user subscriptions for this ticket? */
  createMentions: Scalars['Boolean']['output'];
  /** Is the user allowed to delete this object? */
  destroy: Scalars['Boolean']['output'];
  /** Is the user allowed to create a follow-up for this ticket? */
  followUp: Scalars['Boolean']['output'];
  /** Is the user allowed to update this object? */
  update: Scalars['Boolean']['output'];
};

/** Access ticket specific Pundit policy queries for the current object and user. */
export type PolicyTicket = {
  __typename?: 'PolicyTicket';
  /** Does the user have agent-level read access to this ticket? */
  agentReadAccess: Scalars['Boolean']['output'];
  /** Does the user have agent-level update access to this ticket? */
  agentUpdateAccess: Scalars['Boolean']['output'];
  /** Is the user allowed to create user subscriptions for this ticket? */
  createMentions: Scalars['Boolean']['output'];
  /** Is the user allowed to delete this object? */
  destroy: Scalars['Boolean']['output'];
  /** Is the user allowed to create a follow-up for this ticket? */
  followUp: Scalars['Boolean']['output'];
  /** Is the user allowed to update this object? */
  update: Scalars['Boolean']['output'];
};

/** PostmasterFilters */
export type PostmasterFilter = {
  __typename?: 'PostmasterFilter';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** Name of the postmaster filter */
  name: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Public links available in the system */
export type PublicLink = {
  __typename?: 'PublicLink';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  description?: Maybe<Scalars['String']['output']>;
  id: Scalars['ID']['output'];
  link: Scalars['String']['output'];
  newTab: Scalars['Boolean']['output'];
  title: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Autogenerated return type of PublicLinkUpdates. */
export type PublicLinkUpdatesPayload = {
  __typename?: 'PublicLinkUpdatesPayload';
  /** Current available public links */
  publicLinks?: Maybe<Array<PublicLink>>;
};

/** Autogenerated return type of PushMessages. */
export type PushMessagesPayload = {
  __typename?: 'PushMessagesPayload';
  /** Message text */
  text?: Maybe<Scalars['String']['output']>;
  /** Message title */
  title?: Maybe<Scalars['String']['output']>;
};

/** All available queries */
export type Queries = {
  __typename?: 'Queries';
  /** Get a list of available AI text tools */
  aiAssistanceTextToolsList: Array<AiTextTool>;
  /** Checksum of the currently built front-end application. If this changes, the front-end(s) should reload. */
  applicationBuildChecksum: Scalars['String']['output'];
  /** Configuration required for front end operation (more results returned for authenticated users) */
  applicationConfig: Array<KeyComplexValue>;
  /** Search for agents */
  autocompleteSearchAgent: Array<AutocompleteSearchUserEntry>;
  /** Generic autocomplete search */
  autocompleteSearchGeneric: Array<AutocompleteSearchGenericEntry>;
  /** Search for idoit object types */
  autocompleteSearchIdoitObjectTypes: Array<AutocompleteSearchEntry>;
  /** Search for knowledge base answers */
  autocompleteSearchKnowledgeBaseAnswer: Array<AutocompleteSearchKnowledgeBaseAnswerEntry>;
  /** Search for knowledge base category icons */
  autocompleteSearchKnowledgeBaseCategoryIcon: Array<AutocompleteSearchKnowledgeBaseCategoryIconEntry>;
  /** Search for values in object attributes for external data sources */
  autocompleteSearchObjectAttributeExternalDataSource: Array<AutocompleteSearchExternalDataSourceEntry>;
  /** Search for organizations */
  autocompleteSearchOrganization: Array<AutocompleteSearchOrganizationEntry>;
  /** Search for recipients */
  autocompleteSearchRecipient: Array<AutocompleteSearchRecipientEntry>;
  /** Search for tags */
  autocompleteSearchTag: Array<AutocompleteSearchEntry>;
  /** Search for tickets */
  autocompleteSearchTicket: Array<AutocompleteSearchTicketEntry>;
  /** Search for users */
  autocompleteSearchUser: Array<AutocompleteSearchUserEntry>;
  /** Fetch events from ICS file */
  calendarIcsFileEvents: Array<CalendarIcsFileEvent>;
  /** Fetch checklist templates */
  checklistTemplates: Array<ChecklistTemplate>;
  /** Fetch the paginated caller log of the CTI integration, newest first */
  ctiLogs: CtiLogConnection;
  /** Fetch the counter and the ringing calls the navigation entry of the CTI integration shows */
  ctiSidebar: CtiSidebar;
  /** Information about the authenticated user */
  currentUser: User;
  /** EmailAddresses available in the system */
  emailAddresses: Array<EmailAddress>;
  /** Return updated form information for a frontend form (e.g. core workflow information or resolved relations). */
  formUpdater: FormUpdaterResult;
  /** Fetch the active knowledge base for browsing (landing + language selector) */
  knowledgeBase?: Maybe<KnowledgeBase>;
  /** Fetch a single knowledge base answer */
  knowledgeBaseAnswer: KnowledgeBaseAnswer;
  /** Suggestions for insertable knowledge base answers in a new ticket article */
  knowledgeBaseAnswerSuggestions?: Maybe<Array<KnowledgeBaseAnswerTranslation>>;
  /** Fetch the paginated answers directly below a knowledge base category */
  knowledgeBaseAnswers: KnowledgeBaseAnswerConnection;
  /** Fetch a knowledge base node: its breadcrumb and the visible child categories (subcategories) */
  knowledgeBaseCategorySubcategories?: Maybe<KnowledgeBaseCategorySubcategoriesPayload>;
  /** Fetch the feed paths of the internal knowledge base for the current user */
  knowledgeBaseFeed: KnowledgeBaseFeed;
  /** Search the knowledge base for answers or categories */
  knowledgeBaseSearch: KnowledgeBaseSearchResultConnection;
  /** List linked objects */
  linkList?: Maybe<Array<Link>>;
  /** Locales available in the system */
  locales: Array<Locale>;
  /** Returns a list of macros */
  macros: Array<Macro>;
  /** Suggestions for mentionable users in a new ticket article */
  mentionSuggestions?: Maybe<Array<User>>;
  /** Fetch meta information about object manager attributes for usage in frontend. */
  objectManagerFrontendAttributes?: Maybe<ObjectManagerFrontendAttributesPayload>;
  /** Online notifications for a given user */
  onlineNotifications: OnlineNotificationConnection;
  /** Fetch an organization by ID */
  organization: Organization;
  /** Fetch history of an organization */
  organizationHistory: Array<HistoryGroup>;
  /** Fetch the version of Zammad */
  productAbout: Scalars['String']['output'];
  /** Fetch public links */
  publicLinks?: Maybe<Array<PublicLink>>;
  /** Generic object search */
  search: SearchResult;
  /** Generic object search, finds only hit counts across models */
  searchCounts: Array<SearchCountsResult>;
  /** The session of the currently authenticated user. */
  session: Session;
  /** Fetch system import state */
  systemImportState?: Maybe<ImportJob>;
  /** Get current system setup state */
  systemSetupInfo: SystemSetupInfo;
  /** Fetch ticket templates */
  templates: Array<Template>;
  /** Search for text modules and return them with variable interpolation */
  textModuleSuggestions: Array<TextModule>;
  /** Fetch a ticket by ID */
  ticket: Ticket;
  /** Find knowledge base answers related to a ticket via vector similarity search */
  ticketAIRelatedKnowledgeBaseAnswers: TicketAiRelatedKnowledgeBaseAnswersResult;
  /** Header lines of an article to quote when forwarding or replying to it */
  ticketArticleQuotedHeader: TicketArticleQuotedHeader;
  /** Locales a ticket article can be translated into with the configured translation service */
  ticketArticleTranslationTargetLocales: Array<Locale>;
  /** Fetch ticket articles by ticket ID */
  ticketArticles: TicketArticleConnection;
  /** Fetch ticket attachments by ticket ID */
  ticketAttachments: Array<StoredFile>;
  /** Fetch ticket checklist */
  ticketChecklist?: Maybe<Checklist>;
  /** Detailed idoit objects for the given idoit object ids or the given ticket */
  ticketExternalReferencesIdoitObjectList: Array<TicketExternalReferencesIdoitObject>;
  /** Search for idoit objects belonging to a selected type */
  ticketExternalReferencesIdoitObjectSearch: Array<TicketExternalReferencesIdoitObject>;
  /** Detailed issue tracker items for the given issue tracker links or the given ticket */
  ticketExternalReferencesIssueTrackerItemList: Array<TicketExternalReferencesIssueTrackerItem>;
  /** Fetch history of a ticket */
  ticketHistory: Array<HistoryGroup>;
  /** Ticket overviews available in the system */
  ticketOverviews: Array<Overview>;
  /** Ticket shared drafts available to start new ticket in a given group */
  ticketSharedDraftStartList: Array<TicketSharedDraftStart>;
  /** Ticket shared drafts available to start new ticket in a given group */
  ticketSharedDraftStartSingle: TicketSharedDraftStart;
  /** Get a single ticket shared draft in detail view */
  ticketSharedDraftZoomShow: TicketSharedDraftZoom;
  /** Fetch tickets of a given customer with optional filters */
  ticketsByCustomer: TicketConnection;
  /** Fetch tickets of a given organization with optional filters */
  ticketsByOrganization: TicketConnection;
  /** Fetch tickets of a given ticket overview */
  ticketsByOverview: TicketConnection;
  /** Fetch tickets of a given ticket overview */
  ticketsCachedByOverview: CachedTicketConnection;
  /** Fetch recent customer tickets */
  ticketsRecentByCustomer: Array<Ticket>;
  /** Fetch tickets recently viewed by the current user */
  ticketsRecentlyViewed: Array<Ticket>;
  /** Fetch monthly ticket stats by customer */
  ticketsStatsMonthlyByCustomer: Array<TicketStatsMonthly>;
  /** Fetch monthly ticket stats by organization */
  ticketsStatsMonthlyByOrganization: Array<TicketStatsMonthly>;
  /** Translations for a given locale */
  translations?: Maybe<TranslationsPayload>;
  /** Fetch a user information by ID */
  user: User;
  /** Fetch current user access tokens */
  userCurrentAccessTokenList?: Maybe<Array<Token>>;
  /** Fetch actively used avatar of the currently logged-in user. */
  userCurrentAvatarActive?: Maybe<Avatar>;
  /** Fetch available avatar list of the currently logged-in user. */
  userCurrentAvatarList?: Maybe<Array<Avatar>>;
  /** Fetch calendar subscriptions settings */
  userCurrentCalendarSubscriptionList: UserPersonalSettingsCalendarSubscriptionsConfig;
  /** Fetch available device list of the currently logged-in user */
  userCurrentDeviceList?: Maybe<Array<UserDevice>>;
  /** Fetch recently closed objects for the current user */
  userCurrentRecentCloseList: Array<RecentClose>;
  /** Fetch available taskbar item list of the currently logged-in user */
  userCurrentTaskbarItemList?: Maybe<Array<UserTaskbarItem>>;
  /** Ticket overviews according to the personal sorting of the current user */
  userCurrentTicketOverviews: Array<Overview>;
  /** Fetch list of configured two factor authentication methods and . */
  userCurrentTwoFactorConfiguration: UserConfigurationTwoFactor;
  /** Fetch list of configured two factor authentication methods. */
  userCurrentTwoFactorGetMethodConfiguration?: Maybe<Scalars['JSON']['output']>;
  /** Fetch needed initial configuration data to initiate a authentication method configuration. */
  userCurrentTwoFactorInitiateMethodConfiguration: Scalars['JSON']['output'];
  /** Fetch history of a user */
  userHistory: Array<HistoryGroup>;
};


/** All available queries */
export type QueriesAiAssistanceTextToolsListArgs = {
  groupId?: InputMaybe<Scalars['ID']['input']>;
  limit?: InputMaybe<Scalars['Int']['input']>;
  ticketId?: InputMaybe<Scalars['ID']['input']>;
};


/** All available queries */
export type QueriesAutocompleteSearchAgentArgs = {
  input: AutocompleteSearchUserInput;
};


/** All available queries */
export type QueriesAutocompleteSearchGenericArgs = {
  input: AutocompleteSearchGenericInput;
};


/** All available queries */
export type QueriesAutocompleteSearchIdoitObjectTypesArgs = {
  input: AutocompleteSearchInput;
};


/** All available queries */
export type QueriesAutocompleteSearchKnowledgeBaseAnswerArgs = {
  input: AutocompleteSearchKnowledgeBaseAnswerInput;
};


/** All available queries */
export type QueriesAutocompleteSearchKnowledgeBaseCategoryIconArgs = {
  input: AutocompleteSearchKnowledgeBaseCategoryIconInput;
};


/** All available queries */
export type QueriesAutocompleteSearchObjectAttributeExternalDataSourceArgs = {
  input: AutocompleteSearchObjectAttributeExternalDataSourceInput;
};


/** All available queries */
export type QueriesAutocompleteSearchOrganizationArgs = {
  input: AutocompleteSearchOrganizationInput;
};


/** All available queries */
export type QueriesAutocompleteSearchRecipientArgs = {
  input: AutocompleteSearchRecipientInput;
};


/** All available queries */
export type QueriesAutocompleteSearchTagArgs = {
  input: AutocompleteSearchTagInput;
};


/** All available queries */
export type QueriesAutocompleteSearchTicketArgs = {
  input: AutocompleteSearchTicketInput;
};


/** All available queries */
export type QueriesAutocompleteSearchUserArgs = {
  input: AutocompleteSearchUserInput;
};


/** All available queries */
export type QueriesCalendarIcsFileEventsArgs = {
  fileId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesChecklistTemplatesArgs = {
  onlyActive?: InputMaybe<Scalars['Boolean']['input']>;
};


/** All available queries */
export type QueriesCtiLogsArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};


/** All available queries */
export type QueriesEmailAddressesArgs = {
  onlyActive?: InputMaybe<Scalars['Boolean']['input']>;
};


/** All available queries */
export type QueriesFormUpdaterArgs = {
  data: Scalars['JSON']['input'];
  formUpdaterId: EnumFormUpdaterId;
  id?: InputMaybe<Scalars['ID']['input']>;
  meta: FormUpdaterMetaInput;
  relationFields: Array<FormUpdaterRelationField>;
};


/** All available queries */
export type QueriesKnowledgeBaseArgs = {
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** All available queries */
export type QueriesKnowledgeBaseAnswerArgs = {
  answerId: Scalars['ID']['input'];
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** All available queries */
export type QueriesKnowledgeBaseAnswerSuggestionsArgs = {
  query: Scalars['String']['input'];
};


/** All available queries */
export type QueriesKnowledgeBaseAnswersArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  categoryId: Scalars['ID']['input'];
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
  locale?: InputMaybe<Scalars['String']['input']>;
  sortingMode?: InputMaybe<EnumKnowledgeBaseSortingMode>;
};


/** All available queries */
export type QueriesKnowledgeBaseCategorySubcategoriesArgs = {
  categoryId?: InputMaybe<Scalars['ID']['input']>;
  locale?: InputMaybe<Scalars['String']['input']>;
  sortingMode?: InputMaybe<EnumKnowledgeBaseSortingMode>;
};


/** All available queries */
export type QueriesKnowledgeBaseFeedArgs = {
  categoryId?: InputMaybe<Scalars['ID']['input']>;
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** All available queries */
export type QueriesKnowledgeBaseSearchArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  categoryId?: InputMaybe<Scalars['ID']['input']>;
  entity?: EnumKnowledgeBaseSearchEntity;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
  locale?: InputMaybe<Scalars['String']['input']>;
  query: Scalars['String']['input'];
};


/** All available queries */
export type QueriesLinkListArgs = {
  objectId: Scalars['ID']['input'];
  targetType: Scalars['String']['input'];
};


/** All available queries */
export type QueriesLocalesArgs = {
  onlyActive?: InputMaybe<Scalars['Boolean']['input']>;
};


/** All available queries */
export type QueriesMacrosArgs = {
  selector: TicketMacrosSelectorInput;
};


/** All available queries */
export type QueriesMentionSuggestionsArgs = {
  groupId: Scalars['ID']['input'];
  query: Scalars['String']['input'];
};


/** All available queries */
export type QueriesObjectManagerFrontendAttributesArgs = {
  object: EnumObjectManagerObjects;
};


/** All available queries */
export type QueriesOnlineNotificationsArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};


/** All available queries */
export type QueriesOrganizationArgs = {
  organizationId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesOrganizationHistoryArgs = {
  organizationId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesPublicLinksArgs = {
  screen: EnumPublicLinksScreen;
};


/** All available queries */
export type QueriesSearchArgs = {
  filter?: InputMaybe<SelectorNodeInput>;
  limit?: InputMaybe<Scalars['Int']['input']>;
  offset?: InputMaybe<Scalars['Int']['input']>;
  onlyIn: EnumSearchableModels;
  orderBy?: InputMaybe<Scalars['String']['input']>;
  orderDirection?: InputMaybe<EnumOrderDirection>;
  search?: InputMaybe<Scalars['String']['input']>;
};


/** All available queries */
export type QueriesSearchCountsArgs = {
  filters?: InputMaybe<Array<SelectorObjectInput>>;
  onlyIn: Array<EnumSearchableModels>;
  search?: InputMaybe<Scalars['String']['input']>;
};


/** All available queries */
export type QueriesTemplatesArgs = {
  onlyActive?: InputMaybe<Scalars['Boolean']['input']>;
};


/** All available queries */
export type QueriesTextModuleSuggestionsArgs = {
  groupId?: InputMaybe<Scalars['ID']['input']>;
  limit?: InputMaybe<Scalars['Int']['input']>;
  query: Scalars['String']['input'];
  ticketId?: InputMaybe<Scalars['ID']['input']>;
};


/** All available queries */
export type QueriesTicketArgs = {
  ticketId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketAiRelatedKnowledgeBaseAnswersArgs = {
  includeDraftsAndArchived?: InputMaybe<Scalars['Boolean']['input']>;
  includeLinkedAnswers?: InputMaybe<Scalars['Boolean']['input']>;
  ticketId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketArticleQuotedHeaderArgs = {
  articleId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketArticlesArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
  ticketId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketAttachmentsArgs = {
  ticketId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketChecklistArgs = {
  ticketId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketExternalReferencesIdoitObjectListArgs = {
  input: TicketExternalReferencesIdoitObjectListInput;
};


/** All available queries */
export type QueriesTicketExternalReferencesIdoitObjectSearchArgs = {
  idoitTypeId?: InputMaybe<Scalars['String']['input']>;
  limit?: InputMaybe<Scalars['Int']['input']>;
  query?: InputMaybe<Scalars['String']['input']>;
};


/** All available queries */
export type QueriesTicketExternalReferencesIssueTrackerItemListArgs = {
  input: TicketExternalReferencesIssueTrackerListInput;
  issueTrackerType: EnumTicketExternalReferencesIssueTrackerType;
};


/** All available queries */
export type QueriesTicketHistoryArgs = {
  ticketId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketOverviewsArgs = {
  filterOverviewIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  ignoreUserConditions: Scalars['Boolean']['input'];
};


/** All available queries */
export type QueriesTicketSharedDraftStartListArgs = {
  groupId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketSharedDraftStartSingleArgs = {
  sharedDraftId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketSharedDraftZoomShowArgs = {
  sharedDraftId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketsByCustomerArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  customerId: Scalars['ID']['input'];
  customerOrganizations?: InputMaybe<Scalars['Boolean']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
  stateTypeCategory?: InputMaybe<EnumTicketStateTypeCategory>;
};


/** All available queries */
export type QueriesTicketsByOrganizationArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
  organizationId: Scalars['ID']['input'];
  stateTypeCategory?: InputMaybe<EnumTicketStateTypeCategory>;
};


/** All available queries */
export type QueriesTicketsByOverviewArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
  orderBy?: InputMaybe<Scalars['String']['input']>;
  orderDirection?: InputMaybe<EnumOrderDirection>;
  overviewId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketsCachedByOverviewArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  cacheTtl: Scalars['Int']['input'];
  first?: InputMaybe<Scalars['Int']['input']>;
  knownCollectionSignature?: InputMaybe<Scalars['String']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
  orderBy?: InputMaybe<Scalars['String']['input']>;
  orderDirection?: InputMaybe<EnumOrderDirection>;
  overviewId: Scalars['ID']['input'];
  renewCache?: InputMaybe<Scalars['Boolean']['input']>;
};


/** All available queries */
export type QueriesTicketsRecentByCustomerArgs = {
  customerId: Scalars['ID']['input'];
  exceptTicketInternalId?: InputMaybe<Scalars['Int']['input']>;
  limit?: InputMaybe<Scalars['Int']['input']>;
};


/** All available queries */
export type QueriesTicketsRecentlyViewedArgs = {
  exceptTicketInternalId?: InputMaybe<Scalars['Int']['input']>;
  limit?: InputMaybe<Scalars['Int']['input']>;
};


/** All available queries */
export type QueriesTicketsStatsMonthlyByCustomerArgs = {
  customerId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTicketsStatsMonthlyByOrganizationArgs = {
  organizationId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesTranslationsArgs = {
  cacheKey?: InputMaybe<Scalars['String']['input']>;
  locale: Scalars['String']['input'];
};


/** All available queries */
export type QueriesUserArgs = {
  userId: Scalars['ID']['input'];
};


/** All available queries */
export type QueriesUserCurrentRecentCloseListArgs = {
  limit?: InputMaybe<Scalars['Int']['input']>;
};


/** All available queries */
export type QueriesUserCurrentTaskbarItemListArgs = {
  app?: InputMaybe<EnumTaskbarApp>;
};


/** All available queries */
export type QueriesUserCurrentTicketOverviewsArgs = {
  ignoreUserConditions: Scalars['Boolean']['input'];
};


/** All available queries */
export type QueriesUserCurrentTwoFactorGetMethodConfigurationArgs = {
  methodName: Scalars['String']['input'];
  token: Scalars['String']['input'];
};


/** All available queries */
export type QueriesUserCurrentTwoFactorInitiateMethodConfigurationArgs = {
  methodName: EnumTwoFactorAuthenticationMethod;
  token: Scalars['String']['input'];
};


/** All available queries */
export type QueriesUserHistoryArgs = {
  userId: Scalars['ID']['input'];
};

/** Recently closed object */
export type RecentClose = Organization | Ticket | User;

/** Roles */
export type Role = {
  __typename?: 'Role';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  name?: Maybe<Scalars['String']['output']>;
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Search count results */
export type SearchCountsResult = {
  __typename?: 'SearchCountsResult';
  /** Model that was searched in */
  model: EnumSearchableModels;
  /** Total count of found entries for the current model */
  totalCount: Scalars['Int']['output'];
};

/** Search result for one model */
export type SearchResult = {
  __typename?: 'SearchResult';
  /** Found items */
  items: Array<Item>;
  /** Total count of found entries across all pages */
  totalCount: Scalars['Int']['output'];
};

/** Selector node: either a single condition (name/operator/value) or a subclause (operator/conditions). */
export type SelectorNodeInput = {
  /** Nested conditions, present on subclauses only. */
  conditions?: InputMaybe<Array<SelectorNodeInput>>;
  /** Target attribute, e.g. "ticket.title", conditions only. */
  name?: InputMaybe<Scalars['String']['input']>;
  /** Block operator (AND/OR/NOT) for subclauses or the condition operator (e.g. "is", "contains") for single conditions. */
  operator: Scalars['String']['input'];
  /** Optional pre-condition (e.g. "current_user.id", "not_set"), conditions only. */
  preCondition?: InputMaybe<Scalars['String']['input']>;
  /** Optional range unit for relative time operators (e.g. "minute", "day"), conditions only. */
  range?: InputMaybe<Scalars['String']['input']>;
  /** Condition value (primitive or array), conditions only. */
  value?: InputMaybe<Scalars['JSON']['input']>;
};

/** Per-object selector, pairing a searchable model with its selector conditions. */
export type SelectorObjectInput = {
  /** Searchable model the selector applies to, e.g. Ticket */
  object: EnumSearchableModels;
  /** Selector conditions to apply for the given object */
  selector: SelectorNodeInput;
};

/** Session of the currently logged-in user */
export type Session = {
  __typename?: 'Session';
  afterAuth?: Maybe<SessionAfterAuth>;
  /** Opaque identifier of the session, derived from the session ID. */
  id: Scalars['String']['output'];
};

/** After-authorization information for front ends */
export type SessionAfterAuth = {
  __typename?: 'SessionAfterAuth';
  data?: Maybe<Scalars['JSON']['output']>;
  type: EnumAfterAuthType;
};

/** Represents a stored file. */
export type StoredFile = {
  __typename?: 'StoredFile';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** File name. */
  name: Scalars['String']['output'];
  preferences?: Maybe<Scalars['JSON']['output']>;
  /** File size in bytes */
  size?: Maybe<Scalars['Int']['output']>;
  /** File's content-type. */
  type?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
};

/** All available subscriptions */
export type Subscriptions = {
  __typename?: 'Subscriptions';
  /** Updated AI text tools */
  aiTextToolUpdates: AiTextToolUpdatesPayload;
  /** Application update/change events */
  appMaintenance: AppMaintenancePayload;
  /** Subscription for checklist template changes. */
  checklistTemplateUpdates: ChecklistTemplateUpdatesPayload;
  /** Updates to configuration settings */
  configUpdates: ConfigUpdatesPayload;
  /** The view to open when the current user picks up a call of the CTI integration */
  ctiCallPickup: CtiCallPickupPayload;
  /** Changes to the caller log of the CTI integration */
  ctiLogUpdates: CtiLogUpdatesPayload;
  /** Updates to what the navigation entry of the CTI integration shows for the current user */
  ctiSidebarUpdates: CtiSidebarUpdatesPayload;
  /** Updates to knowledge base answer live users (for editors). */
  knowledgeBaseAnswerLiveUserUpdates: KnowledgeBaseAnswerLiveUserUpdatesPayload;
  /** Updates to a single knowledge base answer */
  knowledgeBaseAnswerUpdates: KnowledgeBaseAnswerUpdatesPayload;
  /** Ping emitted when knowledge base content changes, so browse views can refetch */
  knowledgeBaseContentUpdates: KnowledgeBaseContentUpdatesPayload;
  /** Updates to link records */
  linkUpdates: LinkUpdatesPayload;
  /** Updated macros */
  macrosUpdate: MacrosUpdatePayload;
  /** Updates unseen notifications count */
  onlineNotificationsCount: OnlineNotificationsCountPayload;
  /** Updates to organization records */
  organizationUpdates: OrganizationUpdatesPayload;
  /** Updates to public links */
  publicLinkUpdates: PublicLinkUpdatesPayload;
  /** Broadcast messages to all users */
  pushMessages: PushMessagesPayload;
  /** Updates to ticket templates */
  templateUpdates: TemplateUpdatesPayload;
  /** Updates to triggered AI assistance summary */
  ticketAIAssistanceSummaryUpdates: TicketAiAssistanceSummaryUpdatesPayload;
  /** Ping that the related knowledge base answers for a ticket may have changed */
  ticketAIRelatedKnowledgeBaseAnswersUpdates: TicketAiRelatedKnowledgeBaseAnswersUpdatesPayload;
  /** Updates to triggered translations of the articles of a ticket */
  ticketArticleTranslationUpdates: TicketArticleTranslationUpdatesPayload;
  /** Changes to the list of ticket articles */
  ticketArticleUpdates: TicketArticleUpdatesPayload;
  /** Updated customer tickets by filter */
  ticketByCustomerUpdates: TicketByCustomerUpdatesPayload;
  /** Updated organization tickets by filter */
  ticketByOrganizationUpdates: TicketByOrganizationUpdatesPayload;
  /** Subscription for ticket checklist changes. */
  ticketChecklistUpdates: TicketChecklistUpdatesPayload;
  /** Updates to ticket live users (for agents). */
  ticketLiveUserUpdates: TicketLiveUserUpdatesPayload;
  /** Updates to overviews */
  ticketOverviewUpdates: TicketOverviewUpdatesPayload;
  /** Updates to ticket records */
  ticketSharedDraftStartUpdateByGroup: TicketSharedDraftStartUpdateByGroupPayload;
  /** Updates to ticket records */
  ticketUpdates: TicketUpdatesPayload;
  /** Updates to user access tokens */
  userCurrentAccessTokenUpdates: UserCurrentAccessTokenUpdatesPayload;
  /** Updates to account avatar records */
  userCurrentAvatarUpdates: UserCurrentAvatarUpdatesPayload;
  /** Updates to account devices records */
  userCurrentDevicesUpdates: UserCurrentDevicesUpdatesPayload;
  /** Updates to account overview sorting records */
  userCurrentOverviewOrderingUpdates: UserCurrentOverviewOrderingUpdatesPayload;
  /** Updates for the recently closed items of the current user */
  userCurrentRecentCloseUpdates: UserCurrentRecentCloseUpdatesPayload;
  /** Subscription for taskbar item list priority changes */
  userCurrentTaskbarItemListUpdates: UserCurrentTaskbarItemListUpdatesPayload;
  /** Changes to the state of a taskbar item of the currently logged-in user */
  userCurrentTaskbarItemStateUpdates: UserCurrentTaskbarItemStateUpdatesPayload;
  /** Changes to the list of taskbar items of the currently logged-in user */
  userCurrentTaskbarItemUpdates: UserCurrentTaskbarItemUpdatesPayload;
  /** Updates for ticket bulk update status changes for the current user. */
  userCurrentTicketBulkUpdateStatusUpdates: UserCurrentTicketBulkUpdateStatusUpdatesPayload;
  /** Updates to overviews according to the sorting of the current user */
  userCurrentTicketOverviewUpdates: UserCurrentTicketOverviewUpdatesPayload;
  /** Updates to current user two factor records */
  userCurrentTwoFactorUpdates: UserCurrentTwoFactorUpdatesPayload;
  /** Updates to user records */
  userUpdates: UserUpdatesPayload;
};


/** All available subscriptions */
export type SubscriptionsChecklistTemplateUpdatesArgs = {
  onlyActive?: InputMaybe<Scalars['Boolean']['input']>;
};


/** All available subscriptions */
export type SubscriptionsKnowledgeBaseAnswerLiveUserUpdatesArgs = {
  app: EnumTaskbarApp;
  key: Scalars['String']['input'];
};


/** All available subscriptions */
export type SubscriptionsKnowledgeBaseAnswerUpdatesArgs = {
  answerId: Scalars['ID']['input'];
  initial?: Scalars['Boolean']['input'];
  locale?: InputMaybe<Scalars['String']['input']>;
};


/** All available subscriptions */
export type SubscriptionsLinkUpdatesArgs = {
  objectId: Scalars['ID']['input'];
  targetType: Scalars['String']['input'];
};


/** All available subscriptions */
export type SubscriptionsOrganizationUpdatesArgs = {
  initial?: Scalars['Boolean']['input'];
  organizationId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsPublicLinkUpdatesArgs = {
  screen: EnumPublicLinksScreen;
};


/** All available subscriptions */
export type SubscriptionsTemplateUpdatesArgs = {
  onlyActive?: InputMaybe<Scalars['Boolean']['input']>;
};


/** All available subscriptions */
export type SubscriptionsTicketAiAssistanceSummaryUpdatesArgs = {
  locale: Scalars['String']['input'];
  ticketId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketAiRelatedKnowledgeBaseAnswersUpdatesArgs = {
  ticketId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketArticleTranslationUpdatesArgs = {
  targetLocale: Scalars['String']['input'];
  ticketId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketArticleUpdatesArgs = {
  ticketId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketByCustomerUpdatesArgs = {
  customerId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketByOrganizationUpdatesArgs = {
  organizationId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketChecklistUpdatesArgs = {
  ticketId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketLiveUserUpdatesArgs = {
  app: EnumTaskbarApp;
  key: Scalars['String']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketOverviewUpdatesArgs = {
  ignoreUserConditions: Scalars['Boolean']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketSharedDraftStartUpdateByGroupArgs = {
  groupId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsTicketUpdatesArgs = {
  initial?: Scalars['Boolean']['input'];
  ticketId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsUserCurrentOverviewOrderingUpdatesArgs = {
  ignoreUserConditions: Scalars['Boolean']['input'];
};


/** All available subscriptions */
export type SubscriptionsUserCurrentTaskbarItemListUpdatesArgs = {
  app: EnumTaskbarApp;
};


/** All available subscriptions */
export type SubscriptionsUserCurrentTaskbarItemStateUpdatesArgs = {
  taskbarItemId: Scalars['ID']['input'];
};


/** All available subscriptions */
export type SubscriptionsUserCurrentTaskbarItemUpdatesArgs = {
  app: EnumTaskbarApp;
};


/** All available subscriptions */
export type SubscriptionsUserCurrentTicketOverviewUpdatesArgs = {
  ignoreUserConditions: Scalars['Boolean']['input'];
};


/** All available subscriptions */
export type SubscriptionsUserUpdatesArgs = {
  initial?: Scalars['Boolean']['input'];
  userId: Scalars['ID']['input'];
};

/** Third-party system configuration information */
export type SystemImportConfigurationInput = {
  /** Third-party system password/token */
  secret?: InputMaybe<Scalars['String']['input']>;
  /** Third-party system source */
  source: EnumSystemImportSource;
  /** Verify TLS certificate */
  tlsVerify?: InputMaybe<Scalars['Boolean']['input']>;
  /** Third-party system URL */
  url: Scalars['UriHttpString']['input'];
  /** Third-party system username */
  username?: InputMaybe<Scalars['String']['input']>;
};

/** Autogenerated return type of SystemImportConfiguration. */
export type SystemImportConfigurationPayload = {
  __typename?: 'SystemImportConfigurationPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Is the configuration valid? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of SystemImportStart. */
export type SystemImportStartPayload = {
  __typename?: 'SystemImportStartPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the start successful? */
  success: Scalars['Boolean']['output'];
};

/** Basic system information */
export type SystemInformation = {
  /** Default system locale */
  localeDefault?: InputMaybe<Scalars['String']['input']>;
  /** Images to be uploaded. */
  logo?: InputMaybe<Scalars['BinaryString']['input']>;
  /** System name to display in the app */
  organization: Scalars['String']['input'];
  /** Default system time zone */
  timezoneDefault?: InputMaybe<Scalars['String']['input']>;
  /** System URL */
  url?: InputMaybe<Scalars['String']['input']>;
};

/** System setup state. */
export type SystemSetupInfo = {
  __typename?: 'SystemSetupInfo';
  /** System setup status. */
  status: EnumSystemSetupInfoStatus;
  /** System setup type. */
  type?: Maybe<EnumSystemSetupInfoType>;
};

/** Autogenerated return type of SystemSetupLock. */
export type SystemSetupLockPayload = {
  __typename?: 'SystemSetupLockPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Critical section resoure name. */
  resource?: Maybe<Scalars['String']['output']>;
  /** Critical section resoure value. */
  value?: Maybe<Scalars['String']['output']>;
};

/** Autogenerated return type of SystemSetupRunAutoWizard. */
export type SystemSetupRunAutoWizardPayload = {
  __typename?: 'SystemSetupRunAutoWizardPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The current session, if the auto wizard was successfully executed. */
  session?: Maybe<Session>;
};

/** Autogenerated return type of SystemSetupUnlock. */
export type SystemSetupUnlockPayload = {
  __typename?: 'SystemSetupUnlockPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Success. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TagAssignmentAdd. */
export type TagAssignmentAddPayload = {
  __typename?: 'TagAssignmentAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TagAssignmentRemove. */
export type TagAssignmentRemovePayload = {
  __typename?: 'TagAssignmentRemovePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TagAssignmentUpdate. */
export type TagAssignmentUpdatePayload = {
  __typename?: 'TagAssignmentUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Assigned tags */
export type TagsInterface = {
  tags?: Maybe<Array<Scalars['String']['output']>>;
};

/** Objects representing taskbar item entity */
export type TaskbarItemEntity = KnowledgeBaseAnswerTranslation | Organization | Ticket | User | UserTaskbarItemEntityKnowledgeBaseAnswerCreate | UserTaskbarItemEntitySearch | UserTaskbarItemEntityTicketCreate;

/** Ticket template */
export type Template = {
  __typename?: 'Template';
  active?: Maybe<Scalars['Boolean']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  name: Scalars['String']['output'];
  options?: Maybe<Scalars['JSON']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Context data for template rendering, e.g. customer data. */
export type TemplateRenderContextInput = {
  /** Ticket customer (if no ticket exists yet) */
  customerId?: InputMaybe<Scalars['ID']['input']>;
  /** Group */
  groupId?: InputMaybe<Scalars['ID']['input']>;
  /** Organization */
  organizationId?: InputMaybe<Scalars['ID']['input']>;
  /** Ticket */
  ticketId?: InputMaybe<Scalars['ID']['input']>;
  /** User (if not present the currently logged in user will be passed) */
  userId?: InputMaybe<Scalars['ID']['input']>;
};

/** Autogenerated return type of TemplateUpdates. */
export type TemplateUpdatesPayload = {
  __typename?: 'TemplateUpdatesPayload';
  /** Current ticket templates */
  templates?: Maybe<Array<Template>>;
};

/** Text modules */
export type TextModule = {
  __typename?: 'TextModule';
  active: Scalars['Boolean']['output'];
  content?: Maybe<Scalars['String']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  groups?: Maybe<GroupConnection>;
  id: Scalars['ID']['output'];
  keywords?: Maybe<Scalars['String']['output']>;
  name: Scalars['String']['output'];
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  renderedContent?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};


/** Text modules */
export type TextModuleGroupsArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};


/** Text modules */
export type TextModuleRenderedContentArgs = {
  templateRenderContext: TemplateRenderContextInput;
};

/** Tickets */
export type Ticket = ObjectAttributeValuesInterface & TagsInterface & {
  __typename?: 'Ticket';
  /** Returns true if an AI agent is running for this ticket */
  aiAgentRunning?: Maybe<Scalars['Boolean']['output']>;
  /** Returns the stored and current AI summary in the locale of the current user, never triggers a generation */
  aiStoredSummary?: Maybe<TicketAiAssistanceSummary>;
  /** Returns true if the AI summary is enabled for this ticket */
  aiSummaryEnabled?: Maybe<Scalars['Boolean']['output']>;
  /** Count of ticket articles that were not sent by 'System'. */
  articleCount?: Maybe<Scalars['Int']['output']>;
  /** Returns the checklist of this ticket, if present */
  checklist?: Maybe<Checklist>;
  closeAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  closeDiffInMin?: Maybe<Scalars['Int']['output']>;
  closeEscalationAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  closeInMin?: Maybe<Scalars['Int']['output']>;
  /** resolver for Rails' belongs_to relationship */
  createArticleType?: Maybe<TicketArticleType>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  /** resolver for Rails' belongs_to relationship */
  customer: User;
  escalationAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  /** Returns links to external services */
  externalReferences?: Maybe<TicketExternalReferences>;
  /** First article of this ticket, excluding system notifications */
  firstArticle?: Maybe<TicketArticle>;
  firstResponseAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  firstResponseDiffInMin?: Maybe<Scalars['Int']['output']>;
  firstResponseEscalationAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  firstResponseInMin?: Maybe<Scalars['Int']['output']>;
  /** resolver for Rails' belongs_to relationship */
  group: Group;
  id: Scalars['ID']['output'];
  /** The initial channel of the ticket. */
  initialChannel?: Maybe<EnumChannelArea>;
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** Last article of this ticket, excluding system notifications */
  lastArticle?: Maybe<TicketArticle>;
  lastCloseAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  lastContactAgentAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  lastContactAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  lastContactCustomerAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  lastOwnerUpdateAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  mentions?: Maybe<MentionConnection>;
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  number: Scalars['String']['output'];
  objectAttributeValues?: Maybe<Array<ObjectAttributeValue>>;
  /** resolver for Rails' belongs_to relationship */
  organization?: Maybe<Organization>;
  /** resolver for Rails' belongs_to relationship */
  owner: User;
  pendingTime?: Maybe<Scalars['ISO8601DateTime']['output']>;
  policy: PolicyTicket;
  preferences?: Maybe<Scalars['JSON']['output']>;
  /** resolver for Rails' belongs_to relationship */
  priority: TicketPriority;
  /** Returns (only accessible) other tickets which reference the current ticket */
  referencingChecklistTickets?: Maybe<Array<Ticket>>;
  /** The Shared draft ID if the ticket has a shared draft. */
  sharedDraftZoomId?: Maybe<Scalars['ID']['output']>;
  /** resolver for Rails' belongs_to relationship */
  state: TicketState;
  /** Ticket color indicator state. */
  stateColorCode: EnumTicketStateColorCode;
  subscribed?: Maybe<Scalars['Boolean']['output']>;
  tags?: Maybe<Array<Scalars['String']['output']>>;
  timeUnit?: Maybe<Scalars['Float']['output']>;
  timeUnitsPerType?: Maybe<Array<TicketTimeAccountingTypeSum>>;
  title: Scalars['String']['output'];
  updateDiffInMin?: Maybe<Scalars['Int']['output']>;
  updateEscalationAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  updateInMin?: Maybe<Scalars['Int']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};


/** Tickets */
export type TicketMentionsArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};

/** Autogenerated return type of TicketAIAssistanceEnqueueKnowledgeBaseAnswer. */
export type TicketAiAssistanceEnqueueKnowledgeBaseAnswerPayload = {
  __typename?: 'TicketAIAssistanceEnqueueKnowledgeBaseAnswerPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Whether the generation job was enqueued successfully. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TicketAIAssistanceSummarize. */
export type TicketAiAssistanceSummarizePayload = {
  __typename?: 'TicketAIAssistanceSummarizePayload';
  /** Analytics metadata */
  analytics?: Maybe<AiAnalyticsMetadata>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Different parts of the generated summary */
  summary?: Maybe<TicketAiAssistanceSummary>;
};

/** The ticket summary */
export type TicketAiAssistanceSummary = {
  __typename?: 'TicketAIAssistanceSummary';
  conversationSummary?: Maybe<Array<Scalars['String']['output']>>;
  customerEmotion?: Maybe<Scalars['String']['output']>;
  customerMood?: Maybe<Scalars['String']['output']>;
  customerRequest?: Maybe<Scalars['String']['output']>;
  openQuestions?: Maybe<Array<Scalars['String']['output']>>;
  upcomingEvents?: Maybe<Array<Scalars['String']['output']>>;
};

/** Autogenerated return type of TicketAIAssistanceSummaryUpdates. */
export type TicketAiAssistanceSummaryUpdatesPayload = {
  __typename?: 'TicketAIAssistanceSummaryUpdatesPayload';
  /** Analytics metadata */
  analytics?: Maybe<AiAnalyticsMetadata>;
  /** Error that occurred during the execution of the async job */
  error?: Maybe<AsyncExecutionError>;
  /** Different parts of the generated summary */
  summary?: Maybe<TicketAiAssistanceSummary>;
};

/** A knowledge base answer related to a ticket, found via vector similarity search */
export type TicketAiRelatedKnowledgeBaseAnswer = {
  __typename?: 'TicketAIRelatedKnowledgeBaseAnswer';
  /** Relevance score of the match (higher is more relevant) */
  score: Scalars['Float']['output'];
  /** The matching knowledge base answer translation */
  translation: KnowledgeBaseAnswerTranslation;
};

/** Result of a related knowledge base answers search for a ticket */
export type TicketAiRelatedKnowledgeBaseAnswersResult = {
  __typename?: 'TicketAIRelatedKnowledgeBaseAnswersResult';
  /** The related knowledge base answers, ordered by relevance. Null while the ticket summary is still being generated. */
  answers?: Maybe<Array<TicketAiRelatedKnowledgeBaseAnswer>>;
  /** Whether the ticket summary the search relies on is still being generated. Subscribe to the ping and refetch when it arrives. */
  pending: Scalars['Boolean']['output'];
};

/** Autogenerated return type of TicketAIRelatedKnowledgeBaseAnswersUpdates. */
export type TicketAiRelatedKnowledgeBaseAnswersUpdatesPayload = {
  __typename?: 'TicketAIRelatedKnowledgeBaseAnswersUpdatesPayload';
  /** Set when the embedding could not be produced; the client shows the error state instead of re-running the search */
  error?: Maybe<Scalars['String']['output']>;
  /** Identifier of the ticket whose related knowledge base answers may have changed (null on subscribe) */
  ticketId?: Maybe<Scalars['ID']['output']>;
};

/** Ticket articles */
export type TicketArticle = {
  __typename?: 'TicketArticle';
  /** The activity type of the accounted time of this article. */
  accountedTimeType?: Maybe<TicketTimeAccountingType>;
  /** All attached files as stored in the database. */
  attachments: Array<StoredFile>;
  /** Attachments for display, with inline images filtered out. */
  attachmentsWithoutInline: Array<StoredFile>;
  /** The originator (originBy, if any) or the creator of an article. */
  author: User;
  /** Raw body as saved in the database. */
  body: Scalars['String']['output'];
  /** Short plain-text excerpt of the body (~50 words, cut on sentence boundaries). */
  bodyExcerpt?: Maybe<Scalars['String']['output']>;
  /** True when the body could not be rendered due to HTML processing issues and contains an untranslated error message. */
  bodyRenderingError: Scalars['Boolean']['output'];
  /** Body with cid: URLs replaced for inline images in HTML articles. */
  bodyWithUrls: Scalars['String']['output'];
  cc?: Maybe<AddressesField>;
  contentType: Scalars['String']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  detectedLanguage?: Maybe<Scalars['String']['output']>;
  from?: Maybe<AddressesField>;
  highlightedTexts?: Maybe<Array<TicketArticleHighlightedText>>;
  id: Scalars['ID']['output'];
  inReplyTo?: Maybe<Scalars['String']['output']>;
  internal: Scalars['Boolean']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  mediaErrorState?: Maybe<TicketArticleMediaErrorState>;
  messageId?: Maybe<Scalars['String']['output']>;
  messageIdMd5?: Maybe<Scalars['String']['output']>;
  preferences?: Maybe<Scalars['JSON']['output']>;
  replyTo?: Maybe<AddressesField>;
  securityState?: Maybe<TicketArticleSecurityState>;
  /** resolver for Rails' belongs_to relationship */
  sender?: Maybe<TicketArticleSender>;
  subject?: Maybe<Scalars['String']['output']>;
  /** resolver for Rails' belongs_to relationship */
  ticket: Ticket;
  /** The accounted time of this article. */
  timeUnit?: Maybe<Scalars['Float']['output']>;
  to?: Maybe<AddressesField>;
  /** The stored translation of the current article content */
  translation?: Maybe<ContentTranslation>;
  /** Whether a translation into the given locale is stored for the current content of this article */
  translationAvailable?: Maybe<Scalars['Boolean']['output']>;
  /** resolver for Rails' belongs_to relationship */
  type?: Maybe<TicketArticleType>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};


/** Ticket articles */
export type TicketArticleTranslationArgs = {
  targetLocale: Scalars['String']['input'];
};


/** Ticket articles */
export type TicketArticleTranslationAvailableArgs = {
  targetLocale?: InputMaybe<Scalars['String']['input']>;
};

/** Autogenerated return type of TicketArticleChangeVisibility. */
export type TicketArticleChangeVisibilityPayload = {
  __typename?: 'TicketArticleChangeVisibilityPayload';
  /** The updated ticket article */
  article?: Maybe<TicketArticle>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** The connection type for TicketArticle. */
export type TicketArticleConnection = {
  __typename?: 'TicketArticleConnection';
  /** A list of edges. */
  edges: Array<TicketArticleEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** Autogenerated return type of TicketArticleDelete. */
export type TicketArticleDeletePayload = {
  __typename?: 'TicketArticleDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the ticket article deletion successful? */
  success: Scalars['Boolean']['output'];
};

/** An edge in a connection. */
export type TicketArticleEdge = {
  __typename?: 'TicketArticleEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: TicketArticle;
};

/** Autogenerated return type of TicketArticleEmailForwardReply. */
export type TicketArticleEmailForwardReplyPayload = {
  __typename?: 'TicketArticleEmailForwardReplyPayload';
  /** Cloned attachments for the new article. */
  attachments: Array<StoredFile>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** 'Cc' information of the original email to be inserted in the quoted email block */
  quotableCc?: Maybe<Scalars['String']['output']>;
  /** 'From' information of the original email to be inserted in the quoted email block */
  quotableFrom?: Maybe<Scalars['String']['output']>;
  /** 'To' information of the original email to be inserted in the quoted email block */
  quotableTo?: Maybe<Scalars['String']['output']>;
};

/** Ticket article highlighted text information */
export type TicketArticleHighlightedText = {
  __typename?: 'TicketArticleHighlightedText';
  colorClass: Scalars['String']['output'];
  endIndex: Scalars['Int']['output'];
  startIndex: Scalars['Int']['output'];
};

/** Input fields for ticket article highlighted text information. */
export type TicketArticleHighlightedTextInput = {
  /** Color of the highlighted text */
  colorClass: Scalars['String']['input'];
  /** End index of the highlighted text */
  endIndex: Scalars['Int']['input'];
  /** Start index of the highlighted text */
  startIndex: Scalars['Int']['input'];
};

/** Autogenerated return type of TicketArticleHighlightedTextUpsert. */
export type TicketArticleHighlightedTextUpsertPayload = {
  __typename?: 'TicketArticleHighlightedTextUpsertPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Did the highlight data get successfully stored? */
  success: Scalars['Boolean']['output'];
};

/** Represents the article attributes to be used in ticket create/update. */
export type TicketArticleInput = {
  /** The article accounted time activity type. */
  accountedTimeTypeId?: InputMaybe<Scalars['ID']['input']>;
  /** The article attachments. */
  attachments?: InputMaybe<AttachmentInput>;
  /** The article body. */
  body?: InputMaybe<Scalars['String']['input']>;
  /** The article CC address. */
  cc?: InputMaybe<Array<Scalars['String']['input']>>;
  /** The article content type. */
  contentType?: InputMaybe<Scalars['String']['input']>;
  /** The article sender address. */
  from?: InputMaybe<Scalars['String']['input']>;
  /** Message id of the article this article replies to. */
  inReplyTo?: InputMaybe<Scalars['String']['input']>;
  /** Whether the article is internal. */
  internal?: InputMaybe<Scalars['Boolean']['input']>;
  /** The article preferences. */
  preferences?: InputMaybe<Scalars['JSON']['input']>;
  /** The article security options. */
  security?: InputMaybe<TicketSecurityInput>;
  /** The article sender. */
  sender?: InputMaybe<Scalars['String']['input']>;
  /** The article subject. */
  subject?: InputMaybe<Scalars['String']['input']>;
  /** The article subtype. */
  subtype?: InputMaybe<Scalars['String']['input']>;
  /** The article accounted time. */
  timeUnit?: InputMaybe<Scalars['Float']['input']>;
  /** The article recipient address. */
  to?: InputMaybe<Array<Scalars['String']['input']>>;
  /** The article type. */
  type?: InputMaybe<Scalars['String']['input']>;
};

/** Ticket article media error information, e.g. for WhatsApp Business */
export type TicketArticleMediaErrorState = {
  __typename?: 'TicketArticleMediaErrorState';
  error?: Maybe<Scalars['Boolean']['output']>;
};

/** Header lines of an article to quote when forwarding or replying to it, following the configured email sender format */
export type TicketArticleQuotedHeader = {
  __typename?: 'TicketArticleQuotedHeader';
  /** Author name for the reply citation ('On ..., X wrote:') */
  authorName?: Maybe<Scalars['String']['output']>;
  /** 'Cc' information of the original email to be inserted in the quoted email block */
  cc?: Maybe<Scalars['String']['output']>;
  /** 'From' information of the original email to be inserted in the quoted email block */
  from?: Maybe<Scalars['String']['output']>;
  /** 'To' information of the original email to be inserted in the quoted email block */
  to?: Maybe<Scalars['String']['output']>;
};

/** Autogenerated return type of TicketArticleRetryMediaDownload. */
export type TicketArticleRetryMediaDownloadPayload = {
  __typename?: 'TicketArticleRetryMediaDownloadPayload';
  /** Updated article (article is not updated in case of an error result). */
  article?: Maybe<TicketArticle>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the operation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TicketArticleRetrySecurityProcess. */
export type TicketArticleRetrySecurityProcessPayload = {
  __typename?: 'TicketArticleRetrySecurityProcessPayload';
  /** Updated article (article is not updated in case of an error result). */
  article?: Maybe<TicketArticle>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Result of the operation. */
  retryResult?: Maybe<TicketArticleSecurityState>;
};

/** Ticket article security information, e.g. for S/MIME */
export type TicketArticleSecurityState = {
  __typename?: 'TicketArticleSecurityState';
  encryptionMessage?: Maybe<Scalars['String']['output']>;
  encryptionSuccess?: Maybe<Scalars['Boolean']['output']>;
  signingMessage?: Maybe<Scalars['String']['output']>;
  signingSuccess?: Maybe<Scalars['Boolean']['output']>;
  /** The used email security method */
  type?: Maybe<EnumSecurityStateType>;
};

/** Ticket article senders */
export type TicketArticleSender = {
  __typename?: 'TicketArticleSender';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  name?: Maybe<EnumTicketArticleSenderName>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Autogenerated return type of TicketArticleTranslateMany. */
export type TicketArticleTranslateManyPayload = {
  __typename?: 'TicketArticleTranslateManyPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Articles whose translations will arrive through the subscription */
  pendingArticleIds: Array<Scalars['ID']['output']>;
  /** The service producing the pending translations, e.g. "ai" */
  pendingBackend?: Maybe<Scalars['String']['output']>;
  /** Translation availability and outcomes for all selected articles */
  results: Array<TicketArticleTranslationResult>;
};

/** Autogenerated return type of TicketArticleTranslate. */
export type TicketArticleTranslatePayload = {
  __typename?: 'TicketArticleTranslatePayload';
  /** Analytics metadata */
  analytics?: Maybe<AiAnalyticsMetadata>;
  /** The article whose translation was requested */
  article: TicketArticle;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The service producing the translation while it is pending, e.g. "ai" */
  pendingBackend?: Maybe<Scalars['String']['output']>;
  /** The translation, if one is available already */
  translation?: Maybe<ContentTranslation>;
};

/** The outcome of translating one article of a ticket */
export type TicketArticleTranslationResult = {
  __typename?: 'TicketArticleTranslationResult';
  /** Analytics metadata of the translation, if one is available */
  analytics?: Maybe<AiAnalyticsMetadata>;
  /** The article the translation belongs to */
  article: TicketArticle;
  /** Why the article was skipped, if it is one of the listed reasons */
  skipReason?: Maybe<EnumTicketArticleTranslationSkipReason>;
  /** True when translated, false when skipped, and null without a completed translation request */
  translated?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TicketArticleTranslationUpdates. */
export type TicketArticleTranslationUpdatesPayload = {
  __typename?: 'TicketArticleTranslationUpdatesPayload';
  /** Analytics metadata */
  analytics?: Maybe<AiAnalyticsMetadata>;
  /** The article the translation belongs to */
  article?: Maybe<TicketArticle>;
  /** Error that occurred during the execution of the async job */
  error?: Maybe<AsyncExecutionError>;
  /** The translation */
  translation?: Maybe<ContentTranslation>;
};

/** Ticket article types */
export type TicketArticleType = {
  __typename?: 'TicketArticleType';
  communication?: Maybe<Scalars['Boolean']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  name?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Autogenerated return type of TicketArticleUpdates. */
export type TicketArticleUpdatesPayload = {
  __typename?: 'TicketArticleUpdatesPayload';
  /** A new article needs to be added to the list */
  addArticle?: Maybe<TicketArticle>;
  /** The list of articles changed as a whole and needs to be loaded again */
  refetchArticles?: Maybe<Scalars['Boolean']['output']>;
  /** An article must be removed from the list */
  removeArticleId?: Maybe<Scalars['ID']['output']>;
  /** An existing article was changed */
  updateArticle?: Maybe<TicketArticle>;
};

/** Represents the bulk update action to be performed on the selected tickets. */
export type TicketBulkPerformInput = {
  /** The ticket data */
  input?: InputMaybe<TicketUpdateInput>;
  /** The macro to apply onto ticket */
  macroId?: InputMaybe<Scalars['ID']['input']>;
};

/** Represents the selector for bulk ticket update. */
export type TicketBulkSelectorInput = {
  /** The tickets to be updated */
  entityIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  /** Ticket overview for selecting tickets */
  overviewId?: InputMaybe<Scalars['ID']['input']>;
  /** Advanced search filters as selector conditions */
  searchFilter?: InputMaybe<SelectorNodeInput>;
  /** Search query to filter tickets */
  searchQuery?: InputMaybe<Scalars['String']['input']>;
};

/** Ticket bulk update status information */
export type TicketBulkUpdateStatus = {
  __typename?: 'TicketBulkUpdateStatus';
  /** Number of tickets that failed to update */
  failedCount?: Maybe<Scalars['Int']['output']>;
  /** Number of tickets processed so far */
  processedCount?: Maybe<Scalars['Int']['output']>;
  /** Current status of the bulk update */
  status: EnumBulkUpdateStatusStatus;
  /** Total number of tickets to be updated */
  total?: Maybe<Scalars['Int']['output']>;
};

/** Autogenerated return type of TicketByCustomerUpdates. */
export type TicketByCustomerUpdatesPayload = {
  __typename?: 'TicketByCustomerUpdatesPayload';
  /** Signals that the customer tickets list has changed */
  listChanged?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TicketByOrganizationUpdates. */
export type TicketByOrganizationUpdatesPayload = {
  __typename?: 'TicketByOrganizationUpdatesPayload';
  /** Signals that the organization tickets list has changed */
  listChanged?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TicketChecklistAdd. */
export type TicketChecklistAddPayload = {
  __typename?: 'TicketChecklistAddPayload';
  /** Created checklist */
  checklist?: Maybe<Checklist>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of TicketChecklistDelete. */
export type TicketChecklistDeletePayload = {
  __typename?: 'TicketChecklistDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation succcessful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TicketChecklistItemDelete. */
export type TicketChecklistItemDeletePayload = {
  __typename?: 'TicketChecklistItemDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation succcessful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Input fields for ticket checklist item. */
export type TicketChecklistItemInput = {
  /** Checklist item state */
  checked?: InputMaybe<Scalars['Boolean']['input']>;
  /** Checklist item label */
  text?: InputMaybe<Scalars['String']['input']>;
};

/** Autogenerated return type of TicketChecklistItemOrderUpdate. */
export type TicketChecklistItemOrderUpdatePayload = {
  __typename?: 'TicketChecklistItemOrderUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation succcessful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of TicketChecklistItemUpsert. */
export type TicketChecklistItemUpsertPayload = {
  __typename?: 'TicketChecklistItemUpsertPayload';
  /** Updated or created checklist item. */
  checklistItem: ChecklistItem;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of TicketChecklistItemsAdd. */
export type TicketChecklistItemsAddPayload = {
  __typename?: 'TicketChecklistItemsAddPayload';
  /** Updated checklist. */
  checklist: Checklist;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of TicketChecklistTitleUpdate. */
export type TicketChecklistTitleUpdatePayload = {
  __typename?: 'TicketChecklistTitleUpdatePayload';
  /** Created checklist */
  checklist?: Maybe<Checklist>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of TicketChecklistUpdates. */
export type TicketChecklistUpdatesPayload = {
  __typename?: 'TicketChecklistUpdatesPayload';
  /** Ticket checklist was removed from ticket */
  removedTicketChecklist?: Maybe<Scalars['Boolean']['output']>;
  /** Ticket checklist */
  ticketChecklist?: Maybe<Checklist>;
};

/** The connection type for Ticket. */
export type TicketConnection = {
  __typename?: 'TicketConnection';
  /** A list of edges. */
  edges: Array<TicketEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** Open and closed ticket information */
export type TicketCount = {
  __typename?: 'TicketCount';
  /** Closed ticket count of the related object */
  closed: Scalars['Int']['output'];
  /** Closed ticket search query of the related object */
  closedSearchQuery?: Maybe<Scalars['String']['output']>;
  /** Open ticket count of the related object */
  open: Scalars['Int']['output'];
  /** Open ticket search query of the related object */
  openSearchQuery?: Maybe<Scalars['String']['output']>;
  /** Closed ticket count of the related object's organizations */
  organizationClosed?: Maybe<Scalars['Int']['output']>;
  /** Closed ticket search query of the related object's organizations */
  organizationClosedSearchQuery?: Maybe<Scalars['String']['output']>;
  /** Open ticket count of the related object's organizations */
  organizationOpen?: Maybe<Scalars['Int']['output']>;
  /** Open ticket search query of the related object's organizations */
  organizationOpenSearchQuery?: Maybe<Scalars['String']['output']>;
};

/** Represents the ticket attributes to be used in ticket create. */
export type TicketCreateInput = {
  /** The article data. */
  article?: InputMaybe<TicketArticleInput>;
  /** The customer of the ticket. */
  customer?: InputMaybe<TicketCustomerInput>;
  /** External references to create for the newly created ticket */
  externalReferences?: InputMaybe<TicketExternalReferencesInput>;
  /** The group of the ticket. */
  groupId: Scalars['ID']['input'];
  /** Links to create for the newly created ticket */
  links?: InputMaybe<Array<TicketLinkInput>>;
  /** Additional custom attributes (names + values) */
  objectAttributeValues?: InputMaybe<Array<ObjectAttributeValueInput>>;
  /** The organization of the ticket. */
  organizationId?: InputMaybe<Scalars['ID']['input']>;
  /** The owner of the ticket. */
  ownerId?: InputMaybe<Scalars['ID']['input']>;
  /** The pending time of the ticket. */
  pendingTime?: InputMaybe<Scalars['ISO8601DateTime']['input']>;
  /** The priority of the ticket. */
  priorityId?: InputMaybe<Scalars['ID']['input']>;
  /** The shared draft used to create this ticket. */
  sharedDraftId?: InputMaybe<Scalars['ID']['input']>;
  /** The state of the ticket. */
  stateId?: InputMaybe<Scalars['ID']['input']>;
  /** The tags that should be assigned to the new ticket. */
  tags?: InputMaybe<Array<Scalars['String']['input']>>;
  /** The title of the ticket. */
  title: Scalars['NonEmptyString']['input'];
};

/** Autogenerated return type of TicketCreate. */
export type TicketCreatePayload = {
  __typename?: 'TicketCreatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The created ticket. If this is present but empty, the mutation was successful but the user has no rights to view the new ticket. */
  ticket?: Maybe<Ticket>;
};

/** Base ticket input customer type */
export type TicketCustomerInput = {
  /** A customer email address. */
  email?: InputMaybe<Scalars['String']['input']>;
  /** The customer of the ticket. */
  id?: InputMaybe<Scalars['ID']['input']>;
  /** A customer phone number. */
  phone?: InputMaybe<Scalars['String']['input']>;
};

/** Payload to update a ticket customer */
export type TicketCustomerUpdateInput = {
  /** The customer of the ticket. */
  customerId: Scalars['ID']['input'];
  /** The organization of the ticket (only needed if the customer belongs to several organizations). */
  organizationId?: InputMaybe<Scalars['ID']['input']>;
};

/** Autogenerated return type of TicketCustomerUpdate. */
export type TicketCustomerUpdatePayload = {
  __typename?: 'TicketCustomerUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated ticket. */
  ticket?: Maybe<Ticket>;
};

/** An edge in a connection. */
export type TicketEdge = {
  __typename?: 'TicketEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: Ticket;
};

/** Links attached to a ticket and pointing to external services */
export type TicketExternalReferences = {
  __typename?: 'TicketExternalReferences';
  /** Returns exising links for the github integration */
  github?: Maybe<Array<Scalars['UriHttpString']['output']>>;
  /** Returns exising links for the gitlab integration */
  gitlab?: Maybe<Array<Scalars['UriHttpString']['output']>>;
  /** Returns exising object ids for the idoit integration */
  idoit?: Maybe<Array<Scalars['Int']['output']>>;
};

/** Idoit object item for an external reference for a ticket */
export type TicketExternalReferencesIdoitObject = {
  __typename?: 'TicketExternalReferencesIdoitObject';
  /** Idoit object id */
  idoitObjectId: Scalars['Int']['output'];
  /** Link to the object in the idoit GUI */
  link?: Maybe<Scalars['UriHttpString']['output']>;
  status: Scalars['String']['output'];
  title: Scalars['String']['output'];
  type: Scalars['String']['output'];
};

/** Autogenerated return type of TicketExternalReferencesIdoitObjectAdd. */
export type TicketExternalReferencesIdoitObjectAddPayload = {
  __typename?: 'TicketExternalReferencesIdoitObjectAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The added / resolved idoit objects */
  idoitObjects?: Maybe<Array<TicketExternalReferencesIdoitObject>>;
};

/** Represents information to fetch detailed idoit objects for the given idoit object ids or the given ticket */
export type TicketExternalReferencesIdoitObjectListInput = {
  /** The idoit object ids for the detailed list */
  idoitObjectIds?: InputMaybe<Array<Scalars['Int']['input']>>;
  /** The related ticket for the idoit objects */
  ticketId?: InputMaybe<Scalars['ID']['input']>;
};

/** Autogenerated return type of TicketExternalReferencesIdoitObjectRemove. */
export type TicketExternalReferencesIdoitObjectRemovePayload = {
  __typename?: 'TicketExternalReferencesIdoitObjectRemovePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Represents the ticket external links to be added */
export type TicketExternalReferencesInput = {
  /** Links for the github integration */
  github?: InputMaybe<Array<Scalars['UriHttpString']['input']>>;
  /** Links for the gitlab integration */
  gitlab?: InputMaybe<Array<Scalars['UriHttpString']['input']>>;
  /** Object ids for the Idoit integration */
  idoit?: InputMaybe<Array<Scalars['Int']['input']>>;
};

/** Issue tracker item for an external reference for a ticket */
export type TicketExternalReferencesIssueTrackerItem = {
  __typename?: 'TicketExternalReferencesIssueTrackerItem';
  /** The assignees of the issue */
  assignees?: Maybe<Array<Scalars['String']['output']>>;
  /** The issue ID from the external issue tracker */
  issueId: Scalars['Int']['output'];
  /** The issue type of the issue */
  issueType?: Maybe<TicketExternalReferencesIssueTrackerItemIssueType>;
  /** The labels of the issue */
  labels?: Maybe<Array<TicketExternalReferencesIssueTrackerItemLabel>>;
  /** The milestone of the issue */
  milestone?: Maybe<Scalars['String']['output']>;
  /** The state of the issue */
  state: EnumTicketExternalReferencesIssueTrackerItemState;
  /** The title of the issue */
  title: Scalars['String']['output'];
  /** The URL of the issue */
  url: Scalars['UriHttpString']['output'];
};

/** Autogenerated return type of TicketExternalReferencesIssueTrackerItemAdd. */
export type TicketExternalReferencesIssueTrackerItemAddPayload = {
  __typename?: 'TicketExternalReferencesIssueTrackerItemAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The added issue tracker item */
  issueTrackerItem?: Maybe<TicketExternalReferencesIssueTrackerItem>;
};

/** The issue type of the Issue tracker item */
export type TicketExternalReferencesIssueTrackerItemIssueType = {
  __typename?: 'TicketExternalReferencesIssueTrackerItemIssueType';
  /** The GitHub color identifier of the issue type (e.g. PURPLE, RED) */
  color?: Maybe<Scalars['String']['output']>;
  /** The name of the issue type */
  name: Scalars['String']['output'];
};

/** The labels of the Issue tracker item */
export type TicketExternalReferencesIssueTrackerItemLabel = {
  __typename?: 'TicketExternalReferencesIssueTrackerItemLabel';
  /** The color of the label */
  color: Scalars['String']['output'];
  /** The text color of the label */
  textColor: Scalars['String']['output'];
  /** The title of the label */
  title: Scalars['String']['output'];
};

/** Autogenerated return type of TicketExternalReferencesIssueTrackerItemRemove. */
export type TicketExternalReferencesIssueTrackerItemRemovePayload = {
  __typename?: 'TicketExternalReferencesIssueTrackerItemRemovePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the mutation successful? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Represents information to fetch detailed issue tracker items for the given issue tracker links or the given ticket */
export type TicketExternalReferencesIssueTrackerListInput = {
  /** The issue tracker links for the detailed list */
  issueTrackerLinks?: InputMaybe<Array<Scalars['UriHttpString']['input']>>;
  /** The related ticket for the issue tracker items */
  ticketId?: InputMaybe<Scalars['ID']['input']>;
};

/** Represents a ticket link to another object. */
export type TicketLinkInput = {
  /** The target object to link to */
  linkObjectId: Scalars['ID']['input'];
  /** The link type to set, e.g. normal/parent/child */
  linkType: Scalars['String']['input'];
};

/** Ticket live user information */
export type TicketLiveUser = {
  __typename?: 'TicketLiveUser';
  /** Different apps information from the user */
  apps: Array<TicketLiveUserApp>;
  user: User;
};

/** Ticket live user app information */
export type TicketLiveUserApp = {
  __typename?: 'TicketLiveUserApp';
  editing: Scalars['Boolean']['output'];
  /** Last interaction time from the user in the frontend */
  lastInteraction: Scalars['ISO8601DateTime']['output'];
  name: EnumTaskbarApp;
};

/** Autogenerated return type of TicketLiveUserDelete. */
export type TicketLiveUserDeletePayload = {
  __typename?: 'TicketLiveUserDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the live user entry deletion successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of TicketLiveUserUpdates. */
export type TicketLiveUserUpdatesPayload = {
  __typename?: 'TicketLiveUserUpdatesPayload';
  /** Current live users from the ticket. */
  liveUsers?: Maybe<Array<TicketLiveUser>>;
};

/** Autogenerated return type of TicketLiveUserUpsert. */
export type TicketLiveUserUpsertPayload = {
  __typename?: 'TicketLiveUserUpsertPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Did we succeed to insert/update the live user entry? */
  success: Scalars['Boolean']['output'];
};

/** Represents the selector for ticket macros query. */
export type TicketMacrosSelectorInput = {
  /** The groups to be considered */
  entityIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  /** Ticket overview for selecting tickets and their groups */
  overviewId?: InputMaybe<Scalars['ID']['input']>;
  /** Advanced search filters as selector conditions */
  searchFilter?: InputMaybe<SelectorNodeInput>;
  /** Search query to filter tickets and their groups */
  searchQuery?: InputMaybe<Scalars['String']['input']>;
};

/** Autogenerated return type of TicketMerge. */
export type TicketMergePayload = {
  __typename?: 'TicketMergePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The source ticket after merging. */
  sourceTicket?: Maybe<Ticket>;
  /** The target ticket after merging. */
  targetTicket?: Maybe<Ticket>;
};

/** Autogenerated return type of TicketOverviewUpdates. */
export type TicketOverviewUpdatesPayload = {
  __typename?: 'TicketOverviewUpdatesPayload';
  /** Current ticket overviews for the user. */
  ticketOverviews?: Maybe<Array<Overview>>;
};

/** Ticket priorities */
export type TicketPriority = {
  __typename?: 'TicketPriority';
  active: Scalars['Boolean']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  defaultCreate: Scalars['Boolean']['output'];
  id: Scalars['ID']['output'];
  name: Scalars['String']['output'];
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  uiColor?: Maybe<Scalars['String']['output']>;
  uiIcon?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Refer to a ticket without raising authorization errors in case of missing permissions */
export type TicketReference = {
  __typename?: 'TicketReference';
  /** The ticket, if there is read permission */
  ticket?: Maybe<Ticket>;
};

/** Represents the security attributes to be used in ticket article create/update. */
export type TicketSecurityInput = {
  /** Security method. */
  method: EnumSecurityStateType;
  /** Enabled security options. */
  options: Array<EnumSecurityOption>;
};

/** Ticket shared draft to start new tickets */
export type TicketSharedDraftStart = {
  __typename?: 'TicketSharedDraftStart';
  content?: Maybe<Scalars['JSON']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  /** resolver for Rails' belongs_to relationship */
  group?: Maybe<Group>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  name?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Autogenerated return type of TicketSharedDraftStartCreate. */
export type TicketSharedDraftStartCreatePayload = {
  __typename?: 'TicketSharedDraftStartCreatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated draft. */
  sharedDraft: TicketSharedDraftStart;
};

/** Autogenerated return type of TicketSharedDraftStartDelete. */
export type TicketSharedDraftStartDeletePayload = {
  __typename?: 'TicketSharedDraftStartDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the ticket article deletion successful? */
  success: Scalars['Boolean']['output'];
};

/** The ticket start draft fields */
export type TicketSharedDraftStartInput = {
  /** Content of the draft */
  content: Scalars['JSON']['input'];
  /** Form ID to copy attachments from */
  formId: Scalars['String']['input'];
  /** Group to put shared draft into */
  groupId: Scalars['ID']['input'];
};

/** Autogenerated return type of TicketSharedDraftStartUpdateByGroup. */
export type TicketSharedDraftStartUpdateByGroupPayload = {
  __typename?: 'TicketSharedDraftStartUpdateByGroupPayload';
  /** Up-to-date drafts in the given */
  sharedDraftStarts?: Maybe<Array<TicketSharedDraftStart>>;
};

/** Autogenerated return type of TicketSharedDraftStartUpdate. */
export type TicketSharedDraftStartUpdatePayload = {
  __typename?: 'TicketSharedDraftStartUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated draft. */
  sharedDraft: TicketSharedDraftStart;
};

/** Ticket shared draft in detail view */
export type TicketSharedDraftZoom = {
  __typename?: 'TicketSharedDraftZoom';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  newArticle?: Maybe<Scalars['JSON']['output']>;
  ticketAttributes?: Maybe<Scalars['JSON']['output']>;
  ticketId?: Maybe<Scalars['ID']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Autogenerated return type of TicketSharedDraftZoomCreate. */
export type TicketSharedDraftZoomCreatePayload = {
  __typename?: 'TicketSharedDraftZoomCreatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The created draft. */
  sharedDraft: TicketSharedDraftZoom;
};

/** Autogenerated return type of TicketSharedDraftZoomDelete. */
export type TicketSharedDraftZoomDeletePayload = {
  __typename?: 'TicketSharedDraftZoomDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the ticket article deletion successful? */
  success: Scalars['Boolean']['output'];
};

/** The ticket zoom draft fields */
export type TicketSharedDraftZoomInput = {
  /** Form ID to copy attachments from */
  formId: Scalars['String']['input'];
  /** Article content of the draft */
  newArticle: Scalars['JSON']['input'];
  /** Ticket attributes of the draft */
  ticketAttributes: Scalars['JSON']['input'];
  /** Ticket to put the draft into */
  ticketId: Scalars['ID']['input'];
};

/** Autogenerated return type of TicketSharedDraftZoomUpdate. */
export type TicketSharedDraftZoomUpdatePayload = {
  __typename?: 'TicketSharedDraftZoomUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated draft. */
  sharedDraft: TicketSharedDraftZoom;
};

/** Ticket states */
export type TicketState = {
  __typename?: 'TicketState';
  active: Scalars['Boolean']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  defaultClose: Scalars['Boolean']['output'];
  defaultCreate: Scalars['Boolean']['output'];
  defaultFollowUp: Scalars['Boolean']['output'];
  id: Scalars['ID']['output'];
  ignoreEscalation: Scalars['Boolean']['output'];
  name: Scalars['String']['output'];
  nextStateId?: Maybe<Scalars['Int']['output']>;
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  /** resolver for Rails' belongs_to relationship */
  stateType: TicketStateType;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Ticket state types */
export type TicketStateType = {
  __typename?: 'TicketStateType';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  name: Scalars['String']['output'];
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Monthly ticket stats */
export type TicketStatsMonthly = {
  __typename?: 'TicketStatsMonthly';
  monthLabel: Scalars['String']['output'];
  monthNumber: Scalars['String']['output'];
  ticketsClosed: Scalars['Int']['output'];
  ticketsCreated: Scalars['Int']['output'];
  year: Scalars['String']['output'];
};

/** Ticket time accounting activity types */
export type TicketTimeAccountingType = {
  __typename?: 'TicketTimeAccountingType';
  active: Scalars['Boolean']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  name: Scalars['String']['output'];
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Ticket time accounting - sum per type */
export type TicketTimeAccountingTypeSum = {
  __typename?: 'TicketTimeAccountingTypeSum';
  name: Scalars['String']['output'];
  timeUnit: Scalars['Float']['output'];
};

/** Autogenerated return type of TicketTitleUpdate. */
export type TicketTitleUpdatePayload = {
  __typename?: 'TicketTitleUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated ticket. */
  ticket?: Maybe<Ticket>;
};

/** Autogenerated return type of TicketUpdateBulk. */
export type TicketUpdateBulkPayload = {
  __typename?: 'TicketUpdateBulkPayload';
  /** Whether the update is being processed asynchronously. This will be true if the number of tickets exceeds the defined threshold. */
  async?: Maybe<Scalars['Boolean']['output']>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  failedCount?: Maybe<Scalars['Int']['output']>;
  /** Tickets that are no longer accessible to the user. */
  inaccessibleTicketIds?: Maybe<Array<Scalars['ID']['output']>>;
  /** Tickets that failed to update due to validation errors or other issues. */
  invalidTicketIds?: Maybe<Array<Scalars['ID']['output']>>;
  /** Total number of tickets selected for update. */
  total?: Maybe<Scalars['Int']['output']>;
};

/** Represents the ticket attributes to be used in ticket update. */
export type TicketUpdateInput = {
  /** The article data. */
  article?: InputMaybe<TicketArticleInput>;
  /** The customer of the ticket. */
  customer?: InputMaybe<TicketCustomerInput>;
  /** The group of the ticket. */
  groupId?: InputMaybe<Scalars['ID']['input']>;
  /** Additional custom attributes (names + values) */
  objectAttributeValues?: InputMaybe<Array<ObjectAttributeValueInput>>;
  /** The organization of the ticket. */
  organizationId?: InputMaybe<Scalars['ID']['input']>;
  /** The owner of the ticket. */
  ownerId?: InputMaybe<Scalars['ID']['input']>;
  /** The pending time of the ticket. */
  pendingTime?: InputMaybe<Scalars['ISO8601DateTime']['input']>;
  /** The priority of the ticket. */
  priorityId?: InputMaybe<Scalars['ID']['input']>;
  /** The shared draft used to update this ticket. */
  sharedDraftId?: InputMaybe<Scalars['ID']['input']>;
  /** The state of the ticket. */
  stateId?: InputMaybe<Scalars['ID']['input']>;
  /** The title of the ticket. */
  title?: InputMaybe<Scalars['NonEmptyString']['input']>;
};

/** Represents ticket update meta information to be used in ticket update. */
export type TicketUpdateMetaInput = {
  /** The macro to apply onto ticket */
  macroId?: InputMaybe<Scalars['ID']['input']>;
  /** The ticket update validators to skip */
  skipValidators?: InputMaybe<Array<EnumUserErrorException>>;
};

/** Autogenerated return type of TicketUpdate. */
export type TicketUpdatePayload = {
  __typename?: 'TicketUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated ticket. If this is present but empty, the mutation was successful but the user has no rights to view the updated ticket. */
  ticket?: Maybe<Ticket>;
};

/** Autogenerated return type of TicketUpdates. */
export type TicketUpdatesPayload = {
  __typename?: 'TicketUpdatesPayload';
  /** Updated ticket */
  ticket?: Maybe<Ticket>;
};

/** User access token */
export type Token = {
  __typename?: 'Token';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  expiresAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  id: Scalars['ID']['output'];
  lastUsedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
  name?: Maybe<Scalars['String']['output']>;
  preferences?: Maybe<Scalars['JSON']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  /** resolver for Rails' belongs_to relationship */
  user?: Maybe<User>;
};

/** Autogenerated return type of Translations. */
export type TranslationsPayload = {
  __typename?: 'TranslationsPayload';
  /** Cache key that the front end should use to cache the new translation data. */
  cacheKey?: Maybe<Scalars['String']['output']>;
  /** If this is true, then the front end's translation cache is still valid and should be used, cacheKey and translation will not be returned. */
  isCacheStillValid: Scalars['Boolean']['output'];
  /** The actual translation data as Hash where keys are source and values target strings (excluding untranslated strings). */
  translations?: Maybe<Scalars['JSON']['output']>;
};

/** Triggers */
export type Trigger = {
  __typename?: 'Trigger';
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  id: Scalars['ID']['output'];
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  /** Name of the trigger */
  name: Scalars['String']['output'];
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
};

/** Payload for the two factor authentication */
export type TwoFactorAuthenticationInput = {
  /** Two factor authentication method */
  twoFactorMethod: EnumTwoFactorAuthenticationMethod;
  /** Two factor authentication token */
  twoFactorPayload: Scalars['JSON']['input'];
};

/** Two factor authentication methods available for the user about to log-in. */
export type TwoFactorEnabledAuthenticationMethod = {
  __typename?: 'TwoFactorEnabledAuthenticationMethod';
  authenticationMethod: EnumTwoFactorAuthenticationMethod;
  configured: Scalars['Boolean']['output'];
  default: Scalars['Boolean']['output'];
};

/** Autogenerated return type of TwoFactorMethodInitiateAuthentication. */
export type TwoFactorMethodInitiateAuthenticationPayload = {
  __typename?: 'TwoFactorMethodInitiateAuthenticationPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  initiationData?: Maybe<Scalars['JSON']['output']>;
};

/** Payload for the two factor recovery authentication */
export type TwoFactorRecoveryInput = {
  /** Two factor recovery code */
  recoveryCode: Scalars['String']['input'];
};

/** A file to be added to the upload cache of a form, either from its content or copied from an existing attachment. */
export type UploadCacheFileInput = {
  /** Existing attachment to copy, instead of the content. */
  attachmentId?: InputMaybe<Scalars['ID']['input']>;
  /** File content */
  content?: InputMaybe<Scalars['BinaryString']['input']>;
  /** Content-Disposition: inline flag */
  inline?: InputMaybe<Scalars['Boolean']['input']>;
  /** File name, defaults to the name of the copied attachment. */
  name?: InputMaybe<Scalars['String']['input']>;
  /** File's content-type. */
  type?: InputMaybe<Scalars['String']['input']>;
};

/** A file to be uploaded. */
export type UploadFileInput = {
  /** File content */
  content?: InputMaybe<Scalars['BinaryString']['input']>;
  /** Content-Disposition: inline flag */
  inline?: InputMaybe<Scalars['Boolean']['input']>;
  /** File name. */
  name: Scalars['String']['input'];
  /** File's content-type. */
  type?: InputMaybe<Scalars['String']['input']>;
};

/** Users (admins, agents and customers) */
export type User = ObjectAttributeValuesInterface & {
  __typename?: 'User';
  active?: Maybe<Scalars['Boolean']['output']>;
  authorizations?: Maybe<Array<Authorization>>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  email?: Maybe<Scalars['String']['output']>;
  fax?: Maybe<Scalars['String']['output']>;
  firstname?: Maybe<Scalars['String']['output']>;
  fullname?: Maybe<Scalars['String']['output']>;
  /** Whether the user has access to the BETA UI switch */
  hasBetaUiSwitchAvailable?: Maybe<Scalars['Boolean']['output']>;
  /** Whether the user may have the articles of a whole ticket translated automatically */
  hasContentTranslationAutoAvailable?: Maybe<Scalars['Boolean']['output']>;
  hasSecondaryOrganizations?: Maybe<Scalars['Boolean']['output']>;
  id: Scalars['ID']['output'];
  image?: Maybe<Scalars['String']['output']>;
  imageSource?: Maybe<Scalars['String']['output']>;
  /** Internal database ID */
  internalId: Scalars['Int']['output'];
  lastname?: Maybe<Scalars['String']['output']>;
  login?: Maybe<Scalars['String']['output']>;
  mobile?: Maybe<Scalars['String']['output']>;
  /** Internal note */
  note?: Maybe<Scalars['String']['output']>;
  objectAttributeValues?: Maybe<Array<ObjectAttributeValue>>;
  /** resolver for Rails' belongs_to relationship */
  organization?: Maybe<Organization>;
  outOfOffice?: Maybe<Scalars['Boolean']['output']>;
  outOfOfficeEndAt?: Maybe<Scalars['ISO8601Date']['output']>;
  /** Replacement agent if this user is out of office */
  outOfOfficeReplacement?: Maybe<User>;
  outOfOfficeStartAt?: Maybe<Scalars['ISO8601Date']['output']>;
  permissions?: Maybe<UserPermission>;
  /** Typed access to user preferences */
  personalSettings?: Maybe<UserPersonalSettings>;
  phone?: Maybe<Scalars['String']['output']>;
  policy: PolicyDefault;
  /** Direct access to preferences store */
  preferences?: Maybe<Scalars['JSON']['output']>;
  secondaryOrganizations?: Maybe<OrganizationConnection>;
  source?: Maybe<Scalars['String']['output']>;
  ticketsCount?: Maybe<TicketCount>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  verified?: Maybe<Scalars['Boolean']['output']>;
  vip?: Maybe<Scalars['Boolean']['output']>;
  web?: Maybe<Scalars['String']['output']>;
};


/** Users (admins, agents and customers) */
export type UserSecondaryOrganizationsArgs = {
  after?: InputMaybe<Scalars['String']['input']>;
  before?: InputMaybe<Scalars['String']['input']>;
  first?: InputMaybe<Scalars['Int']['input']>;
  last?: InputMaybe<Scalars['Int']['input']>;
};

/** User access token creation fields */
export type UserAccessTokenInput = {
  /** The token expiration date */
  expiresAt?: InputMaybe<Scalars['ISO8601Date']['input']>;
  /** The token name */
  name: Scalars['String']['input'];
  /** Permission names */
  permission: Array<Scalars['String']['input']>;
};

/** Autogenerated return type of UserAddFirstAdmin. */
export type UserAddFirstAdminPayload = {
  __typename?: 'UserAddFirstAdminPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The current session, if the user was successfully created. */
  session?: Maybe<Session>;
};

/** Autogenerated return type of UserAdd. */
export type UserAddPayload = {
  __typename?: 'UserAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The created user. */
  user?: Maybe<User>;
};

/** Calendar subscriptions all calendars options saving */
export type UserCalendarSubscriptionSingleOptionsInput = {
  /** Defines if not assigned tickets are included */
  notAssigned: Scalars['Boolean']['input'];
  /** Defines if own tickets are included */
  own: Scalars['Boolean']['input'];
};

/** Calendar subscriptions options saving */
export type UserCalendarSubscriptionsConfigInput = {
  /** Defines if alarm is added */
  alarm: Scalars['Boolean']['input'];
  /** Options for Escalation tab */
  escalation: UserCalendarSubscriptionSingleOptionsInput;
  /** Options for New & opened tab */
  newOpen: UserCalendarSubscriptionSingleOptionsInput;
  /** Options for Pending tab */
  pending: UserCalendarSubscriptionSingleOptionsInput;
};

/** Two factor configuration information (e.g. configured and default methods) for the user. */
export type UserConfigurationTwoFactor = {
  __typename?: 'UserConfigurationTwoFactor';
  /** List of enabled two factor authentication methods (and information about the current user). */
  enabledAuthenticationMethods: Array<TwoFactorEnabledAuthenticationMethod>;
  /** Whether recovery codes exist for the current user. */
  recoveryCodesExist: Scalars['Boolean']['output'];
};

/** The connection type for User. */
export type UserConnection = {
  __typename?: 'UserConnection';
  /** A list of edges. */
  edges: Array<UserEdge>;
  /** Information to aid in pagination. */
  pageInfo: PageInfo;
  /** Indicates the total number of available records. */
  totalCount: Scalars['Int']['output'];
};

/** Autogenerated return type of UserCurrentAccessTokenAdd. */
export type UserCurrentAccessTokenAddPayload = {
  __typename?: 'UserCurrentAccessTokenAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The token data */
  token?: Maybe<Token>;
  /** The token itself, shown once */
  tokenValue: Scalars['String']['output'];
};

/** Autogenerated return type of UserCurrentAccessTokenDelete. */
export type UserCurrentAccessTokenDeletePayload = {
  __typename?: 'UserCurrentAccessTokenDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the access token deletion successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentAccessTokenUpdates. */
export type UserCurrentAccessTokenUpdatesPayload = {
  __typename?: 'UserCurrentAccessTokenUpdatesPayload';
  /** List of access tokens for the user */
  tokens?: Maybe<Array<Token>>;
};

/** Autogenerated return type of UserCurrentAppearance. */
export type UserCurrentAppearancePayload = {
  __typename?: 'UserCurrentAppearancePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Profile appearance settings updated successfully? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentAvatarAdd. */
export type UserCurrentAvatarAddPayload = {
  __typename?: 'UserCurrentAvatarAddPayload';
  /** The newly created avatar. */
  avatar?: Maybe<Avatar>;
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
};

/** Autogenerated return type of UserCurrentAvatarDelete. */
export type UserCurrentAvatarDeletePayload = {
  __typename?: 'UserCurrentAvatarDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the avatar deletion successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentAvatarSelect. */
export type UserCurrentAvatarSelectPayload = {
  __typename?: 'UserCurrentAvatarSelectPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the avatar selection successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentAvatarUpdates. */
export type UserCurrentAvatarUpdatesPayload = {
  __typename?: 'UserCurrentAvatarUpdatesPayload';
  /** List of avatars for the user */
  avatars?: Maybe<Array<Avatar>>;
};

/** Autogenerated return type of UserCurrentCalendarSubscriptionUpdate. */
export type UserCurrentCalendarSubscriptionUpdatePayload = {
  __typename?: 'UserCurrentCalendarSubscriptionUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Profile appearance settings updated successfully? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentCallerNotificationUpdate. */
export type UserCurrentCallerNotificationUpdatePayload = {
  __typename?: 'UserCurrentCallerNotificationUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Whether the caller notification setting was updated successfully */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentChangePassword. */
export type UserCurrentChangePasswordPayload = {
  __typename?: 'UserCurrentChangePasswordPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if changing the password was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentContentTranslationAuto. */
export type UserCurrentContentTranslationAutoPayload = {
  __typename?: 'UserCurrentContentTranslationAutoPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the update successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentContentTranslationExcludedLanguages. */
export type UserCurrentContentTranslationExcludedLanguagesPayload = {
  __typename?: 'UserCurrentContentTranslationExcludedLanguagesPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the update successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentContentTranslationTargetLocale. */
export type UserCurrentContentTranslationTargetLocalePayload = {
  __typename?: 'UserCurrentContentTranslationTargetLocalePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the update successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentDeviceDelete. */
export type UserCurrentDeviceDeletePayload = {
  __typename?: 'UserCurrentDeviceDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if deleting the user (session) device was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentDevicesUpdates. */
export type UserCurrentDevicesUpdatesPayload = {
  __typename?: 'UserCurrentDevicesUpdatesPayload';
  /** List of devices for the user */
  devices?: Maybe<Array<UserDevice>>;
};

/** Autogenerated return type of UserCurrentKnowledgeBaseAnswerScreenBehavior. */
export type UserCurrentKnowledgeBaseAnswerScreenBehaviorPayload = {
  __typename?: 'UserCurrentKnowledgeBaseAnswerScreenBehaviorPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Whether the setting was updated successfully */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentLocale. */
export type UserCurrentLocalePayload = {
  __typename?: 'UserCurrentLocalePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the update successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentNotificationPreferencesReset. */
export type UserCurrentNotificationPreferencesResetPayload = {
  __typename?: 'UserCurrentNotificationPreferencesResetPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Updated user object */
  user: User;
};

/** Autogenerated return type of UserCurrentNotificationPreferencesUpdate. */
export type UserCurrentNotificationPreferencesUpdatePayload = {
  __typename?: 'UserCurrentNotificationPreferencesUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Updated user object */
  user: User;
};

/** Autogenerated return type of UserCurrentOutOfOffice. */
export type UserCurrentOutOfOfficePayload = {
  __typename?: 'UserCurrentOutOfOfficePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Profile out of office settings updated successfully? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Hold last used information for an overview */
export type UserCurrentOverviewLastUsed = {
  /** When the overview was last used */
  lastUsedAt: Scalars['ISO8601DateTime']['input'];
  /** The overview */
  overviewId: Scalars['ID']['input'];
};

/** Autogenerated return type of UserCurrentOverviewOrderingUpdates. */
export type UserCurrentOverviewOrderingUpdatesPayload = {
  __typename?: 'UserCurrentOverviewOrderingUpdatesPayload';
  /** List of sorted overviews for the user */
  overviews?: Maybe<Array<Overview>>;
};

/** Autogenerated return type of UserCurrentOverviewResetOrder. */
export type UserCurrentOverviewResetOrderPayload = {
  __typename?: 'UserCurrentOverviewResetOrderPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** List of overview sortings for the user */
  overviews?: Maybe<Array<Overview>>;
  /** Was the reset successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentOverviewUpdateLastUsed. */
export type UserCurrentOverviewUpdateLastUsedPayload = {
  __typename?: 'UserCurrentOverviewUpdateLastUsedPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the save successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentOverviewUpdateOrder. */
export type UserCurrentOverviewUpdateOrderPayload = {
  __typename?: 'UserCurrentOverviewUpdateOrderPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the reset successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentPasswordCheck. */
export type UserCurrentPasswordCheckPayload = {
  __typename?: 'UserCurrentPasswordCheckPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if given password matches current user password */
  success?: Maybe<Scalars['Boolean']['output']>;
  /** One-time token which should be included in a subsequent request (where applicable) */
  token?: Maybe<Scalars['String']['output']>;
};

/** Autogenerated return type of UserCurrentPushSubscriptionAdd. */
export type UserCurrentPushSubscriptionAddPayload = {
  __typename?: 'UserCurrentPushSubscriptionAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the subscription registered? */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentPushSubscriptionDelete. */
export type UserCurrentPushSubscriptionDeletePayload = {
  __typename?: 'UserCurrentPushSubscriptionDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the subscription removed? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentRecentCloseReset. */
export type UserCurrentRecentCloseResetPayload = {
  __typename?: 'UserCurrentRecentCloseResetPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the reset successful? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentRecentCloseUpdates. */
export type UserCurrentRecentCloseUpdatesPayload = {
  __typename?: 'UserCurrentRecentCloseUpdatesPayload';
  /** The recently closed list of the user has changed. */
  recentCloseUpdated?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentRemoveLinkedAccount. */
export type UserCurrentRemoveLinkedAccountPayload = {
  __typename?: 'UserCurrentRemoveLinkedAccountPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Was the linked account removed? */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentTaskbarItemAdd. */
export type UserCurrentTaskbarItemAddPayload = {
  __typename?: 'UserCurrentTaskbarItemAddPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The created taskbar item. */
  taskbarItem?: Maybe<UserTaskbarItem>;
};

/** Autogenerated return type of UserCurrentTaskbarItemDelete. */
export type UserCurrentTaskbarItemDeletePayload = {
  __typename?: 'UserCurrentTaskbarItemDeletePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if deleting the user (session) device was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentTaskbarItemListPrio. */
export type UserCurrentTaskbarItemListPrioPayload = {
  __typename?: 'UserCurrentTaskbarItemListPrioPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if sorting the taskbar item list was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentTaskbarItemListUpdates. */
export type UserCurrentTaskbarItemListUpdatesPayload = {
  __typename?: 'UserCurrentTaskbarItemListUpdatesPayload';
  /** List of taskbar items */
  taskbarItemList?: Maybe<Array<UserTaskbarItem>>;
};

/** Autogenerated return type of UserCurrentTaskbarItemStateUpdates. */
export type UserCurrentTaskbarItemStateUpdatesPayload = {
  __typename?: 'UserCurrentTaskbarItemStateUpdatesPayload';
  /** The type of state update */
  stateUpdateType?: Maybe<EnumTaskbarStateUpdate>;
  /** The updated taskbar item, so consumers can apply the new state directly (e.g. cross-tab search sync) */
  taskbarItem?: Maybe<UserTaskbarItem>;
};

/** Autogenerated return type of UserCurrentTaskbarItemTouchLastContact. */
export type UserCurrentTaskbarItemTouchLastContactPayload = {
  __typename?: 'UserCurrentTaskbarItemTouchLastContactPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated taskbar item. */
  taskbarItem?: Maybe<UserTaskbarItem>;
};

/** Autogenerated return type of UserCurrentTaskbarItemUpdate. */
export type UserCurrentTaskbarItemUpdatePayload = {
  __typename?: 'UserCurrentTaskbarItemUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated taskbar item. */
  taskbarItem?: Maybe<UserTaskbarItem>;
};

/** Autogenerated return type of UserCurrentTaskbarItemUpdates. */
export type UserCurrentTaskbarItemUpdatesPayload = {
  __typename?: 'UserCurrentTaskbarItemUpdatesPayload';
  /** A new taskbar item needs to be added to the list */
  addItem?: Maybe<UserTaskbarItem>;
  /** An item must be removed from the list */
  removeItem?: Maybe<Scalars['ID']['output']>;
  /** An existing taskbar item was changed */
  updateItem?: Maybe<UserTaskbarItem>;
};

/** Autogenerated return type of UserCurrentTicketBulkUpdateStatusUpdates. */
export type UserCurrentTicketBulkUpdateStatusUpdatesPayload = {
  __typename?: 'UserCurrentTicketBulkUpdateStatusUpdatesPayload';
  /** Current status of the bulk update */
  bulkUpdateStatus: TicketBulkUpdateStatus;
};

/** Autogenerated return type of UserCurrentTicketOverviewUpdates. */
export type UserCurrentTicketOverviewUpdatesPayload = {
  __typename?: 'UserCurrentTicketOverviewUpdatesPayload';
  /** Current ticket overviews for the user. */
  ticketOverviews?: Maybe<Array<Overview>>;
};

/** Autogenerated return type of UserCurrentTicketScreenBehavior. */
export type UserCurrentTicketScreenBehaviorPayload = {
  __typename?: 'UserCurrentTicketScreenBehaviorPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** Whether the user ticket screen behavior setting was updated successfully */
  success: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserCurrentTwoFactorRecoveryCodesGenerate. */
export type UserCurrentTwoFactorRecoveryCodesGeneratePayload = {
  __typename?: 'UserCurrentTwoFactorRecoveryCodesGeneratePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** One-time two-factor authentication codes */
  recoveryCodes?: Maybe<Array<Scalars['String']['output']>>;
};

/** Autogenerated return type of UserCurrentTwoFactorRemoveMethodCredentials. */
export type UserCurrentTwoFactorRemoveMethodCredentialsPayload = {
  __typename?: 'UserCurrentTwoFactorRemoveMethodCredentialsPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if removing authentication method was successful */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentTwoFactorRemoveMethod. */
export type UserCurrentTwoFactorRemoveMethodPayload = {
  __typename?: 'UserCurrentTwoFactorRemoveMethodPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if removing authentication method was successful */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentTwoFactorSetDefaultMethod. */
export type UserCurrentTwoFactorSetDefaultMethodPayload = {
  __typename?: 'UserCurrentTwoFactorSetDefaultMethodPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if setting authentication method as default was successful */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserCurrentTwoFactorUpdates. */
export type UserCurrentTwoFactorUpdatesPayload = {
  __typename?: 'UserCurrentTwoFactorUpdatesPayload';
  /** Configuration information for the current user. */
  configuration?: Maybe<UserConfigurationTwoFactor>;
};

/** Autogenerated return type of UserCurrentTwoFactorVerifyMethodConfiguration. */
export type UserCurrentTwoFactorVerifyMethodConfigurationPayload = {
  __typename?: 'UserCurrentTwoFactorVerifyMethodConfigurationPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** One-time two-factor authentication codes */
  recoveryCodes?: Maybe<Array<Scalars['String']['output']>>;
};

/** Users (session) device */
export type UserDevice = {
  __typename?: 'UserDevice';
  browser?: Maybe<Scalars['String']['output']>;
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  deviceDetails?: Maybe<Scalars['JSON']['output']>;
  fingerprint?: Maybe<Scalars['String']['output']>;
  id: Scalars['ID']['output'];
  ip?: Maybe<Scalars['String']['output']>;
  location?: Maybe<Scalars['String']['output']>;
  locationDetails?: Maybe<Scalars['JSON']['output']>;
  name: Scalars['String']['output'];
  os?: Maybe<Scalars['String']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  userAgent?: Maybe<Scalars['String']['output']>;
  userId: Scalars['ID']['output'];
};

/** An edge in a connection. */
export type UserEdge = {
  __typename?: 'UserEdge';
  /** A cursor for use in pagination. */
  cursor: Scalars['String']['output'];
  /** The item at the end of the edge. */
  node: User;
};

/** Represents an error in the input of a mutation. */
export type UserError = {
  __typename?: 'UserError';
  exception?: Maybe<EnumUserErrorException>;
  field?: Maybe<Scalars['String']['output']>;
  message: Scalars['String']['output'];
  messagePlaceholder?: Maybe<Array<Scalars['String']['output']>>;
};

/** Represents a User <-> Group permission entry. */
export type UserGroupPermissionEntry = {
  /** Assigned access levels for the user in the group */
  accessType: Array<EnumPermissionAccess>;
  /** Internal ID of the group */
  groupInternalId: Scalars['Int']['input'];
};

/** The user add/update fields. */
export type UserInput = {
  /** The user active flag */
  active?: InputMaybe<Scalars['Boolean']['input']>;
  /** The user email */
  email?: InputMaybe<Scalars['String']['input']>;
  /** The user fax */
  fax?: InputMaybe<Scalars['String']['input']>;
  /** The user first name */
  firstname?: InputMaybe<Scalars['String']['input']>;
  /** User group access levels */
  groupIds?: InputMaybe<Array<UserGroupPermissionEntry>>;
  /** The user last name */
  lastname?: InputMaybe<Scalars['String']['input']>;
  /** The user mobile */
  mobile?: InputMaybe<Scalars['String']['input']>;
  /** The user note */
  note?: InputMaybe<Scalars['String']['input']>;
  /** Additional custom attributes (names + values) */
  objectAttributeValues?: InputMaybe<Array<ObjectAttributeValueInput>>;
  /** The organization the user belongs to */
  organizationId?: InputMaybe<Scalars['ID']['input']>;
  /** The secondary organizations the user belongs to */
  organizationIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  /** The user password */
  password?: InputMaybe<Scalars['String']['input']>;
  /** The user phone */
  phone?: InputMaybe<Scalars['String']['input']>;
  /** The roles (e.g. admin, agent, (e.g. Agent or Customer) this user has */
  roleIds?: InputMaybe<Array<Scalars['ID']['input']>>;
  /** The user vip flag */
  vip?: InputMaybe<Scalars['Boolean']['input']>;
  /** The user web */
  web?: InputMaybe<Scalars['String']['input']>;
};

/** Two factor authentication methods available for the user about to log-in. */
export type UserLoginTwoFactorMethods = {
  __typename?: 'UserLoginTwoFactorMethods';
  availableTwoFactorAuthenticationMethods: Array<EnumTwoFactorAuthenticationMethod>;
  defaultTwoFactorAuthenticationMethod?: Maybe<EnumTwoFactorAuthenticationMethod>;
  recoveryCodesAvailable: Scalars['Boolean']['output'];
};

/** Autogenerated return type of UserNoteUpdate. */
export type UserNoteUpdatePayload = {
  __typename?: 'UserNoteUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The created user. */
  user?: Maybe<User>;
};

/** Settings for ticket notification channels. */
export type UserNotificationMatrixChannelInput = {
  /** Whether to send notifications via email */
  email: Scalars['Boolean']['input'];
  /** Whether to show notifications via GUI */
  online?: InputMaybe<Scalars['Boolean']['input']>;
};

/** Filter for ticket notification channels. */
export type UserNotificationMatrixCriteriaInput = {
  /** No filter - send notificationy for any tickets */
  no: Scalars['Boolean']['input'];
  /** Send notifications for my tickets */
  ownedByMe: Scalars['Boolean']['input'];
  /** Send notifications for unassigned tickets */
  ownedByNobody: Scalars['Boolean']['input'];
  /** Send notifications for my subscribed tickets */
  subscribed: Scalars['Boolean']['input'];
};

/** Settings for ticket notifications. */
export type UserNotificationMatrixInput = {
  /** Notification settings for new tickets */
  create: UserNotificationMatrixRowInput;
  /** Notification settings for ticket escalations */
  escalation: UserNotificationMatrixRowInput;
  /** Notification settings for reached ticket reminders */
  reminderReached: UserNotificationMatrixRowInput;
  /** Notification settings for updated tickets */
  update: UserNotificationMatrixRowInput;
};

/** Settings for ticket notifications. */
export type UserNotificationMatrixRowInput = {
  /** Channels for notification delivery */
  channel: UserNotificationMatrixChannelInput;
  /** Filter for ticket notifications */
  criteria: UserNotificationMatrixCriteriaInput;
};

/** Settings for notification sounds. */
export type UserNotificationSoundInput = {
  /** Whether to play notification sounds */
  enabled: Scalars['Boolean']['input'];
  /** Which audio file to play for notification sounds */
  file: EnumNotificationSoundFile;
};

/** Autogenerated return type of UserPasswordResetSend. */
export type UserPasswordResetSendPayload = {
  __typename?: 'UserPasswordResetSendPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if sending of the password reset link was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserPasswordResetUpdate. */
export type UserPasswordResetUpdatePayload = {
  __typename?: 'UserPasswordResetUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if the password update was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserPasswordResetVerify. */
export type UserPasswordResetVerifyPayload = {
  __typename?: 'UserPasswordResetVerifyPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if the password reset token is valid. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Permissions for the current user */
export type UserPermission = {
  __typename?: 'UserPermission';
  ids: Array<Scalars['Int']['output']>;
  names: Array<Scalars['String']['output']>;
};

/** Personal settings of the current user */
export type UserPersonalSettings = {
  __typename?: 'UserPersonalSettings';
  /** Whether the caller notification for incoming calls is enabled */
  callerNotificationEnabled: Scalars['Boolean']['output'];
  notificationConfig?: Maybe<UserPersonalSettingsNotificationConfig>;
  notificationSound?: Maybe<UserPersonalSettingsNotificationSound>;
};

/** Options applying for all calendar subscriptions */
export type UserPersonalSettingsCalendarSubscriptionGlobalOptions = {
  __typename?: 'UserPersonalSettingsCalendarSubscriptionGlobalOptions';
  alarm?: Maybe<Scalars['Boolean']['output']>;
};

/** Settings for the single calendar subscription */
export type UserPersonalSettingsCalendarSubscriptionSingle = {
  __typename?: 'UserPersonalSettingsCalendarSubscriptionSingle';
  options?: Maybe<UserPersonalSettingsCalendarSubscriptionSingleOptions>;
  url?: Maybe<Scalars['UriHttpString']['output']>;
};

/** Options for the single calendar subscription */
export type UserPersonalSettingsCalendarSubscriptionSingleOptions = {
  __typename?: 'UserPersonalSettingsCalendarSubscriptionSingleOptions';
  notAssigned?: Maybe<Scalars['Boolean']['output']>;
  own?: Maybe<Scalars['Boolean']['output']>;
};

/** Settings for calendar subscription */
export type UserPersonalSettingsCalendarSubscriptionsConfig = {
  __typename?: 'UserPersonalSettingsCalendarSubscriptionsConfig';
  combinedUrl?: Maybe<Scalars['UriHttpString']['output']>;
  escalation?: Maybe<UserPersonalSettingsCalendarSubscriptionSingle>;
  globalOptions?: Maybe<UserPersonalSettingsCalendarSubscriptionGlobalOptions>;
  newOpen?: Maybe<UserPersonalSettingsCalendarSubscriptionSingle>;
  pending?: Maybe<UserPersonalSettingsCalendarSubscriptionSingle>;
};

/** Settings for ticket notifications. */
export type UserPersonalSettingsNotificationConfig = {
  __typename?: 'UserPersonalSettingsNotificationConfig';
  groupIds?: Maybe<Array<Scalars['Int']['output']>>;
  matrix?: Maybe<UserPersonalSettingsNotificationMatrix>;
};

/** Settings for ticket notifications. */
export type UserPersonalSettingsNotificationMatrix = {
  __typename?: 'UserPersonalSettingsNotificationMatrix';
  /** Notification settings for new tickets */
  create?: Maybe<UserPersonalSettingsNotificationMatrixRow>;
  /** Notification settings for ticket escalations */
  escalation?: Maybe<UserPersonalSettingsNotificationMatrixRow>;
  /** Notification settings for reached ticket reminders */
  reminderReached?: Maybe<UserPersonalSettingsNotificationMatrixRow>;
  /** Notification settings for updated tickets */
  update?: Maybe<UserPersonalSettingsNotificationMatrixRow>;
};

/** Settings for ticket notification channels. */
export type UserPersonalSettingsNotificationMatrixChannel = {
  __typename?: 'UserPersonalSettingsNotificationMatrixChannel';
  /** Whether to send notifications via email */
  email?: Maybe<Scalars['Boolean']['output']>;
  /** Whether to show notifications via GUI */
  online?: Maybe<Scalars['Boolean']['output']>;
};

/** Filter for ticket notification channels. */
export type UserPersonalSettingsNotificationMatrixCriteria = {
  __typename?: 'UserPersonalSettingsNotificationMatrixCriteria';
  /** No filter - send notificationy for any tickets */
  no?: Maybe<Scalars['Boolean']['output']>;
  /** Send notifications for my tickets */
  ownedByMe?: Maybe<Scalars['Boolean']['output']>;
  /** Send notifications for unassigned tickets */
  ownedByNobody?: Maybe<Scalars['Boolean']['output']>;
  /** Send notifications for my subscribed tickets */
  subscribed?: Maybe<Scalars['Boolean']['output']>;
};

/** Settings for ticket notifications. */
export type UserPersonalSettingsNotificationMatrixRow = {
  __typename?: 'UserPersonalSettingsNotificationMatrixRow';
  /** Channels for notification delivery */
  channel?: Maybe<UserPersonalSettingsNotificationMatrixChannel>;
  /** Filter for ticket notifications */
  criteria?: Maybe<UserPersonalSettingsNotificationMatrixCriteria>;
};

/** Settings for notification sounds. */
export type UserPersonalSettingsNotificationSound = {
  __typename?: 'UserPersonalSettingsNotificationSound';
  /** Whether to play notification sounds */
  enabled?: Maybe<Scalars['Boolean']['output']>;
  /** Which audio file to play for notification sounds */
  file?: Maybe<EnumNotificationSoundFile>;
};

/** Web push subscription of the current browser (PushSubscription.toJSON()) */
export type UserPushSubscriptionInput = {
  /** Push service endpoint of the subscription */
  endpoint: Scalars['String']['input'];
  /** Client keys of the subscription */
  keys: UserPushSubscriptionKeysInput;
};

/** Client keys of a web push subscription (PushSubscription.toJSON().keys) */
export type UserPushSubscriptionKeysInput = {
  /** Authentication secret of the client, base64url encoded */
  auth: Scalars['String']['input'];
  /** Public key of the client, base64url encoded */
  p256dh: Scalars['String']['input'];
};

/** The user sign-up fields. */
export type UserSignupInput = {
  /** The user email */
  email: Scalars['String']['input'];
  /** The user first name */
  firstname?: InputMaybe<Scalars['String']['input']>;
  /** The user last name */
  lastname?: InputMaybe<Scalars['String']['input']>;
  /** The user password */
  password: Scalars['String']['input'];
};

/** Autogenerated return type of UserSignup. */
export type UserSignupPayload = {
  __typename?: 'UserSignupPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if creating the user and sending the token was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserSignupResend. */
export type UserSignupResendPayload = {
  __typename?: 'UserSignupResendPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if sending of the token via email was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Autogenerated return type of UserSignupVerify. */
export type UserSignupVerifyPayload = {
  __typename?: 'UserSignupVerifyPayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** This indicates if the verification was successful. */
  success?: Maybe<Scalars['Boolean']['output']>;
};

/** Users taskbar item */
export type UserTaskbarItem = {
  __typename?: 'UserTaskbarItem';
  active: Scalars['Boolean']['output'];
  app: EnumTaskbarApp;
  callback: EnumTaskbarEntity;
  changed: Scalars['Boolean']['output'];
  /** Create date/time of the record */
  createdAt: Scalars['ISO8601DateTime']['output'];
  /** User that created this record */
  createdBy?: Maybe<User>;
  dirty: Scalars['Boolean']['output'];
  entity?: Maybe<TaskbarItemEntity>;
  entityAccess?: Maybe<EnumTaskbarEntityAccess>;
  formId?: Maybe<Scalars['String']['output']>;
  formNewArticlePresent: Scalars['Boolean']['output'];
  id: Scalars['ID']['output'];
  key: Scalars['String']['output'];
  notify: Scalars['Boolean']['output'];
  params?: Maybe<Scalars['JSON']['output']>;
  prio: Scalars['Int']['output'];
  state?: Maybe<Scalars['JSON']['output']>;
  /** Last update date/time of the record */
  updatedAt: Scalars['ISO8601DateTime']['output'];
  /** Last user that updated this record */
  updatedBy?: Maybe<User>;
  userId: Scalars['ID']['output'];
};

/** Entity representing taskbar item knowledge base answer create */
export type UserTaskbarItemEntityKnowledgeBaseAnswerCreate = {
  __typename?: 'UserTaskbarItemEntityKnowledgeBaseAnswerCreate';
  locale?: Maybe<Scalars['String']['output']>;
  title: Scalars['String']['output'];
  uid: Scalars['String']['output'];
  visibility: EnumKnowledgeBaseVisibility;
};

/** Entity representing taskbar item search */
export type UserTaskbarItemEntitySearch = {
  __typename?: 'UserTaskbarItemEntitySearch';
  filterCount?: Maybe<Scalars['Int']['output']>;
  filters?: Maybe<Scalars['String']['output']>;
  model?: Maybe<Scalars['String']['output']>;
  query?: Maybe<Scalars['String']['output']>;
};

/** Entity representing taskbar item ticket create */
export type UserTaskbarItemEntityTicketCreate = {
  __typename?: 'UserTaskbarItemEntityTicketCreate';
  createArticleTypeKey?: Maybe<Scalars['String']['output']>;
  title: Scalars['String']['output'];
  uid: Scalars['String']['output'];
};

/** The taskbar item fields. */
export type UserTaskbarItemInput = {
  /** The taskbar item application */
  app: EnumTaskbarApp;
  /** The taskbar item related object callback */
  callback: EnumTaskbarEntity;
  /** The taskbar item form updater dirty flag */
  dirty?: InputMaybe<Scalars['Boolean']['input']>;
  /** The itaskbar item related object key identifier */
  key: Scalars['String']['input'];
  /** The taskbar item notification about changes */
  notify: Scalars['Boolean']['input'];
  /** The taskbar item related object parameters */
  params?: InputMaybe<Scalars['JSON']['input']>;
  /** The taskbar item sorting priority */
  prio: Scalars['Int']['input'];
  /** The taskbar item related object state */
  state?: InputMaybe<Scalars['JSON']['input']>;
};

/** The taskbar item list priority fields. */
export type UserTaskbarItemListPrioInput = {
  /** The taskbar item ID */
  id: Scalars['ID']['input'];
  /** The taskbar item priority */
  prio: Scalars['Int']['input'];
};

/** Autogenerated return type of UserUpdate. */
export type UserUpdatePayload = {
  __typename?: 'UserUpdatePayload';
  /** Errors encountered during execution of the mutation. */
  errors?: Maybe<Array<UserError>>;
  /** The updated user. */
  user?: Maybe<User>;
};

/** Autogenerated return type of UserUpdates. */
export type UserUpdatesPayload = {
  __typename?: 'UserUpdatesPayload';
  /** Updated user */
  user?: Maybe<User>;
};
