input AddressInput { city: String region: String district: String street: String buildingNumber: String streetNumber: String postcode: String cityPart: String } type Branch { id: ID name: String isDeleted: Boolean } type BranchList { nodes: [Branch] } type Case { id: ID jurisdictionCountry: Country caseNumber: String name: String openingDate: Date closingDate: Date locationName: String note: String state: CaseState category: CaseCategory processStage: CaseProcessStage persons: CasePersonConnection users: CaseUserConnection favoritingUsers: CaseFavoritingUsersConnection labels: CaseLabelConnection branch: Branch modified: DateTime customFieldValues(includeDeleted: Boolean): [CaseCustomFieldValue] customFieldBoolean(name: String): Boolean customFieldDecimal(name: String): Decimal customFieldLong(name: String): Long customFieldString(name: String): String customFieldDate(name: String): Date } input CaseAddDocumentInput { caseId: ID! tmpFileId: ID! folderPath: String name: String! } type CaseAddDocumentPayload { id: ID } input CaseAddLabelInput { labelId: ID! caseId: ID! } type CaseAddLabelPayload { labelEdge: CaseLabelEdge } input CaseAddPersonInput { roleId: ID! processRoleId: ID materialRoleId: ID attorneyId: ID personId: ID! caseId: ID! caseNumber: String } type CaseAddPersonPayload { personEdge: CasePersonEdge } input CaseAddUserInput { caseUserRoleId: ID! userId: ID! caseId: ID! } type CaseAddUserPayload { userEdge: CaseUserEdge } type CaseCategory { id: ID name: String isDeleted: Boolean } type CaseCategoryList { nodes: [CaseCategory] } type CaseConnection { nodes: [Case] } input CaseCreateInput { name: String! caseNumberSeriesId: ID numberSeriesId: ID caseStateId: ID stateId: ID caseBranchId: ID branchId: ID caseProcessStageId: ID processStageId: ID caseCategoryId: ID categoryId: ID mainClientId: ID note: String locationName: String openingDate: Date closingDate: Date caseNumber: String } type CaseCreatePayload { case: Case } type CaseCusomFieldList { nodes: [CaseCustomField] } type CaseCustomField { fieldName: String nazev: String name: String isDeleted: Boolean dataType: CustomFieldDataEnumType } type CaseCustomFieldValue { decimalValue: Decimal booleanValue: Boolean dateValue: DateTime stringValue: String longValue: Long customField: CaseCustomField } type CaseFavoritingUsersConnection { nodes: [User] } input CaseFilterInput { modified: ComparableDateTimeOperationFilterInput } type CaseLabel { id: ID name: String isDeleted: Boolean } type CaseLabelConnection { nodes: [CaseLabel] edges: [CaseLabelEdge] } type CaseLabelEdge { node: CaseLabel } type CaseLabelList { nodes: [CaseLabel] } type CaseNumberSeries { id: ID name: String isDeleted: Boolean } type CaseNumberSeriesList { nodes: [CaseNumberSeries] } type CasePersonConnection { nodes: [Person] edges: [CasePersonEdge] } type CasePersonEdge { edgeInfo: CasePersonEdgeInfo node: Person } type CasePersonEdgeInfo { id: ID processRole: CasePersonProcessRole materialRole: CasePersonMaterialRole role: CasePersonRole attorney: Person caseNumber: String isMainPayer: Boolean isMainClient: Boolean } type CasePersonMaterialRole { id: ID name: String isDeleted: Boolean } type CasePersonMaterialRoleList { nodes: [CasePersonMaterialRole] } type CasePersonProcessRole { id: ID name: String isDeleted: Boolean } type CasePersonProcessRoleList { nodes: [CasePersonProcessRole] } type CasePersonRole { id: ID name: String isDeleted: Boolean } type CasePersonRoleList { nodes: [CasePersonRole] } type CaseProcessStage { id: ID name: String isDeleted: Boolean } type CaseProcessStageList { nodes: [CaseProcessStage] } type CaseState { id: ID name: String isDeleted: Boolean } type CaseStateList { nodes: [CaseState] } input CaseUpdateInput { id: ID! name: String stateId: ID caseProcessStageId: ID processStageId: ID caseCategoryId: ID categoryId: ID caseBranchId: ID branchId: ID note: String locationName: String openingDate: Date closingDate: Date caseNumber: String } type CaseUpdatePayload { case: Case } type CaseUserConnection { nodes: [User] edges: [CaseUserEdge] } type CaseUserEdge { edgeInfo: CaseUserEdgeInfo node: User } type CaseUserEdgeInfo { id: ID caseUserRole: CaseUserRole } type CaseUserRole { id: ID name: String isDeleted: Boolean } type CaseUserRoleList { nodes: [CaseUserRole] } input ComparableDateTimeOperationFilterInput { gt: DateTime lt: DateTime } type ContactDetailType { id: ID name: String isDeleted: Boolean } type ContactDetailTypeList { nodes: [ContactDetailType] } type Country { id: ID name: String code: String abbrev: String isDeleted: Boolean } type Currency { id: ID name: String code: String isDeleted: Boolean } type CurrencyList { nodes: [Currency] } enum CustomFieldDataEnumType { BOOLEAN STRING DECIMAL DATE_TIME LONG } scalar Date scalar DateTime scalar Decimal type IdDocument { number: String type: IdDocumentType } type IdDocumentType { id: ID name: String isDeleted: Boolean } type IdDocumentTypeList { nodes: [IdDocumentType] } type Invoice { id: ID number: String responsibleUser: User issuer: User client: Person payer: Person totalAmountWithoutVAT: Decimal totalAmountWithVAT: Decimal currency: Currency paidAmount: Decimal state: InvoiceState issueDate: Date dueDate: Date taxableDate: Date labels: InvoiceLabelConnection cases: InvoiceCaseConnection } input InvoiceAddLabelInput { labelId: ID! invoiceId: ID! } type InvoiceAddLabelPayload { labelEdge: InvoiceLabelEdge } type InvoiceCaseConnection { nodes: [Case] edges: [InvoiceCaseEdge] } type InvoiceCaseEdge { node: Case } type InvoiceConnection { nodes: [Invoice] } type InvoiceLabel { id: ID name: String isDeleted: Boolean } type InvoiceLabelConnection { nodes: [InvoiceLabel] edges: [InvoiceLabelEdge] } type InvoiceLabelEdge { node: InvoiceLabel } type InvoiceLabelList { nodes: [InvoiceLabel] } type InvoiceState { id: ID name: String } type InvoiceStateList { nodes: [InvoiceState] } type Lists { caseStates(includeDeleted: Boolean): CaseStateList caseProcessStages(includeDeleted: Boolean): CaseProcessStageList caseCategories(includeDeleted: Boolean): CaseCategoryList caseLabels(includeDeleted: Boolean): CaseLabelList invoiceLabels(includeDeleted: Boolean): InvoiceLabelList personLabels(includeDeleted: Boolean): PersonLabelList branches(includeDeleted: Boolean): BranchList taskStates: TaskStateList invoiceStates: InvoiceStateList messageTypes: MessageTypeList messageStates: MessageStateList personTypes(includeDeleted: Boolean): PersonTypeList idDocumentTypes(includeDeleted: Boolean): IdDocumentTypeList caseNumberSeries(includeDeleted: Boolean): CaseNumberSeriesList contactDetailTypes(includeDeleted: Boolean): ContactDetailTypeList caseUserRoles(includeDeleted: Boolean): CaseUserRoleList casePersonRoles(includeDeleted: Boolean): CasePersonRoleList casePersonProcessRoles(includeDeleted: Boolean): CasePersonProcessRoleList casePersonMaterialRoles(includeDeleted: Boolean): CasePersonMaterialRoleList caseCustomFields(includeDeleted: Boolean): CaseCusomFieldList personCustomFields(includeDeleted: Boolean): PersonCustomFieldList currencies(includeDeleted: Boolean): CurrencyList } scalar Long type Message { id: ID deliveredDate: DateTime internalNote: String isSent: Boolean receivedDate: DateTime recipient: Person recipientAddress: PersonAddress sender: Person sentDate: DateTime subject: String trackingNumber: String type: MessageType assignees: MessageAssigneeConnection attention: String isPublic: Boolean isPrivate: Boolean number: String state: MessageState senderCaseNumber: String senderReferenceNumber: String recipientCaseNumber: String recipientReferenceNumber: String restrictedDelivery: Boolean attachments: [MessageAttachment] } input MessageAddAssigneeInput { messageId: ID! userId: ID! } type MessageAddAssigneePayload { assigneeEdge: MessageAssigneeEdge } input MessageAddAttachmentInput { messageId: ID! name: String! renameIfNeeded: Boolean! tmpFileId: ID! } type MessageAddAttachmentPayload { attachment: MessageAttachment } type MessageAssigneeConnection { nodes: [User] edges: [MessageAssigneeEdge] } type MessageAssigneeEdge { edgeInfo: MessageAssigneeEdgeInfo node: User } type MessageAssigneeEdgeInfo { id: ID } type MessageAttachment { id: ID name: String size: Int hash: String } type MessageConnection { nodes: [Message] } input MessageCreateInput { sentDate: DateTime receivedDate: DateTime deliveredDate: DateTime subject: String internalNote: String typeId: Int isSent: Boolean senderId: ID recipientId: ID } type MessageCreatePayload { message: Message } type MessageState { id: ID name: String } type MessageStateList { nodes: [MessageState] } type MessageType { id: ID name: String messageServiceTypeId: String isDeleted: Boolean } type MessageTypeList { nodes: [MessageType] } input MessageUpdateAttachmentInput { attachmentId: ID! tmpFileId: ID! } type MessageUpdateAttachmentPayload { attachment: MessageAttachment } input MessageUpdateInput { sentDate: DateTime receivedDate: DateTime deliveredDate: DateTime subject: String internalNote: String typeId: Int isSent: Boolean senderId: ID recipientId: ID id: ID! } type MessageUpdatePayload { message: Message } type Mutation { caseCreate(input: CaseCreateInput!): CaseCreatePayload caseUpdate(input: CaseUpdateInput): CaseUpdatePayload caseAddPerson(input: CaseAddPersonInput): CaseAddPersonPayload caseAddUser(input: CaseAddUserInput): CaseAddUserPayload caseAddDocument(input: CaseAddDocumentInput!): CaseAddDocumentPayload caseAddLabel(input: CaseAddLabelInput): CaseAddLabelPayload invoiceAddLabel(input: InvoiceAddLabelInput): InvoiceAddLabelPayload personCreate(input: PersonCreateInput!): PersonCreatePayload personUpdate(input: PersonUpdateInput): PersonUpdatePayload personAddContactDetail(input: PersonAddContactDetailInputData): PersonAddContactDetailPayload taskCreate(input: TaskCreateInput!): TaskCreatePayload taskUpdate(input: TaskUpdateInput): TaskUpdatePayload messageCreate(input: MessageCreateInput!): MessageCreatePayload messageUpdate(input: MessageUpdateInput): MessageUpdatePayload messageAddAssignee(input: MessageAddAssigneeInput): MessageAddAssigneePayload messageAddAttachment(input: MessageAddAttachmentInput): MessageAddAttachmentPayload messageUpdateAttachment(input: MessageUpdateAttachmentInput): MessageUpdateAttachmentPayload } type Person { id: ID firstName: String surname: String companyName: String displayName: String nationalIdentificationNumber: String companyIdentificationNumber: String vatNumber: String nationalTaxNumber: String namePrefix: String nameSuffix: String birthDate: Date note: String modified: DateTime mainAddress: PersonAddress labels: PersonLabelConnection cases: PersonCaseConnection type: PersonType contactDetails: [PersonContactDetail] idDocuments: [IdDocument] customFieldValues(includeDeleted: Boolean): [PersonCustomFieldValue] customFieldBoolean(name: String): Boolean customFieldDecimal(name: String): Decimal customFieldLong(name: String): Long customFieldString(name: String): String customFieldDate(name: String): Date } input PersonAddContactDetailInputData { personId: ID! contactDetailTypeId: ID typeId: ID isPreferred: Boolean value: String! note: String } type PersonAddContactDetailPayload { contactDetail: PersonContactDetail } type PersonAddress { street: String city: String district: String buildingNumber: String streetNumber: String postcode: String region: String cityPart: String singleLine: String multiLine: String } type PersonCaseConnection { nodes: [Case] edges: [PersonCaseEdge] } type PersonCaseEdge { edgeInfo: CasePersonEdgeInfo node: Case } type PersonConnection { nodes: [Person] } type PersonContactDetail { id: ID value: String type: ContactDetailType isPreferred: Boolean note: String } input PersonCreateInput { firstName: String surname: String companyName: String nationalIdentificationNumber: String companyIdentificationNumber: String vatNumber: String namePrefix: String nameSuffix: String personTypeId: ID typeId: ID birthDate: Date note: String mainAddress: AddressInput } type PersonCreatePayload { person: Person } type PersonCustomField { fieldName: String nazev: String name: String isDeleted: Boolean dataType: CustomFieldDataEnumType } type PersonCustomFieldList { nodes: [PersonCustomField] } type PersonCustomFieldValue { decimalValue: Decimal booleanValue: Boolean dateValue: DateTime stringValue: String longValue: Long customField: PersonCustomField } input PersonFilterInput { modified: ComparableDateTimeOperationFilterInput } type PersonLabel { id: ID name: String isDeleted: Boolean } type PersonLabelConnection { nodes: [PersonLabel] edges: [PersonLabelEdge] } type PersonLabelEdge { node: PersonLabel } type PersonLabelList { nodes: [PersonLabel] } type PersonType { id: ID name: String isDeleted: Boolean } type PersonTypeList { nodes: [PersonType] } input PersonUpdateInput { id: ID! firstName: String surname: String companyName: String nationalIdentificationNumber: String companyIdentificationNumber: String vatNumber: String namePrefix: String nameSuffix: String personTypeId: ID typeId: ID birthDate: Date note: String mainAddress: AddressInput } type PersonUpdatePayload { person: Person } type Query { lists: Lists cases(where: CaseFilterInput): CaseConnection case(id: ID!): Case persons(where: PersonFilterInput): PersonConnection person(id: ID!): Person tasks(where: TaskFilterInput): TaskConnection task(id: ID!): Task messages: MessageConnection message(id: ID!): Message users: UserConnection user(id: ID, username: String): User invoices: InvoiceConnection invoice(id: ID!): Invoice getReport(id_Report: ID!, reportParams: [ReportParamInput]): [String] } input ReportParamInput { name: String! stringValue: String intValue: Int decimalValue: Decimal dateValue: Date } type Task { id: ID subject: String name: String description: String deadline: DateTime person: Person case: Case state: TaskState reporter: User asignee: User assignee: User modified: DateTime } type TaskConnection { nodes: [Task] } input TaskCreateInput { name: String subject: String description: String deadline: DateTime! taskStateId: ID stateId: ID asigneeId: ID assigneeId: ID reporterId: ID personId: ID } type TaskCreatePayload { task: Task } input TaskFilterInput { modified: ComparableDateTimeOperationFilterInput } type TaskState { id: ID name: String } type TaskStateList { nodes: [TaskState] } input TaskUpdateInput { id: ID! name: String subject: String description: String deadline: DateTime taskStateId: ID stateId: ID asigneeId: ID assigneeId: ID reporterId: ID personId: ID } type TaskUpdatePayload { task: Task } type User { id: ID username: String name: String email: String abbreviation: String note: String isDeleted: Boolean person: Person branch: Branch favoriteCases: UserFavoriteCasesConnection } type UserConnection { nodes: [User] } type UserFavoriteCasesConnection { nodes: [Case] }