(dc): data-connector enhancements
This commit is contained in:
@@ -66,6 +66,18 @@ type DocumentInfo {
|
||||
tdLocation: String
|
||||
}
|
||||
|
||||
type HomeDashboardKPIs {
|
||||
anomalyCount: Int!
|
||||
billableTourCount: Int!
|
||||
billableTourRevenueSum: Float!
|
||||
billedTourCount: Int!
|
||||
billedTourNegativeRevenueDeviation: Float!
|
||||
billedTourPositiveRevenueDeviation: Float!
|
||||
employeesWithoutTourCount: Int!
|
||||
revenueTrend: [RevenueTrend!]!
|
||||
toursWithoutApprovalCount: Int!
|
||||
}
|
||||
|
||||
type Interval {
|
||||
end: DateTime!
|
||||
start: DateTime!
|
||||
@@ -88,6 +100,17 @@ type KPIMetadata {
|
||||
tourAmount: Float!
|
||||
}
|
||||
|
||||
type KpiInfo {
|
||||
additional: [Metric!]!
|
||||
main: Metric!
|
||||
secondary: Metric!
|
||||
}
|
||||
|
||||
type Metric {
|
||||
label: String!
|
||||
value: Float!
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
acceptAnomaly(id: String!): Anomaly!
|
||||
setAnomalyToSleep(id: String!): Anomaly!
|
||||
@@ -133,14 +156,31 @@ type Query {
|
||||
anomaliesProto: [Anomaly!]!
|
||||
anomaly(id: String!): Anomaly!
|
||||
groupedAnomalies(cursor: String, take: Int! = 10): PaginatedAnomalyGroup!
|
||||
homeDashboardKpis: HomeDashboardKPIs!
|
||||
managerKpi(ordinanceType: String!): KpiInfo!
|
||||
searchTickets(query: String!): [Ticket!]!
|
||||
ticket(id: String!): Ticket!
|
||||
ticketStateKeyFigures(state: TicketValidationState!): TicketStateKeyFigures!
|
||||
ticketStateKpi(state: TicketValidationState!): KpiInfo!
|
||||
ticketStateMeta(state: TicketValidationState!): TicketStateMeta!
|
||||
tickets(cursor: String, filters: TicketFilterArgs, state: TicketValidationState!, take: Int! = 10): PaginatedTicket!
|
||||
timePerTourMetricForDay(day: DateTime!, ordinanceType: String!): [TimePerTourMetric!]!
|
||||
timePerTourMetricForMonth(day: DateTime!, ordinanceType: String!): [TimePerTourMetric!]!
|
||||
tourCostBreakdown(operationId: String!): TourCostBreakdown!
|
||||
toursPerTimeKPI(ordinanceTypes: String!): [TimePerTourKPISummary!]!
|
||||
upcomingTours: [Tour!]!
|
||||
}
|
||||
|
||||
type RevenueTrend {
|
||||
date: DateTime!
|
||||
ordinanceType: String!
|
||||
revenueSum: Float!
|
||||
}
|
||||
|
||||
type ServicePosition {
|
||||
description: String!
|
||||
value: Float!
|
||||
variant: String!
|
||||
}
|
||||
|
||||
type SolutionTarget {
|
||||
@@ -287,7 +327,15 @@ type Tour {
|
||||
type: String!
|
||||
}
|
||||
|
||||
type TourCostBreakdown {
|
||||
servicePositions: [ServicePosition!]!
|
||||
tariffDescription: String!
|
||||
tariffValidityPeriod: String!
|
||||
}
|
||||
|
||||
type TourStateMeta {
|
||||
count: Int!
|
||||
negativeRevenueDeviation: Float
|
||||
positiveRevenueDeviation: Float
|
||||
revenueSum: Float
|
||||
}
|
||||
Reference in New Issue
Block a user