Skip to content

Service Operations

Quellverzeichnis: modules/service-operations/

Werkstattaufträge (RO), Termine, Serviceleistungen und Techniker-Workflows.

Geschäftslogik des Moduls (src/services/):

  • AppointmentNotFoundError
  • AppointmentService
  • BayNotFoundError
  • CalendarSyncConfigNotFoundError
  • CalendarSyncRecordNotFoundError
  • CalendarSyncService
  • InsufficientStockError
  • InsuranceClaimNotFoundError
  • InsuranceClaimService
  • InsuranceClaimValidationError
  • InvalidCalendarProviderError
  • InvalidTireSeasonError
  • LineItemNotFoundError
  • NoSlotsAvailableError
  • PickupDeliveryOrderNotFoundError
  • PickupDeliveryOrderService
  • PickupDeliveryOrderValidationError
  • RepairOrderNotFoundError
  • RepairOrderService
  • RoNumberConflictError
  • ServiceContractNotFoundError
  • ServiceContractService
  • ServiceContractUsageExceededError
  • ServiceContractValidationError
  • SubletOrderNotFoundError
  • SubletOrderService
  • SubletOrderValidationError
  • TechnicianNotFoundError
  • TireChangeOrderNotFoundError
  • TireChangeOrderTransitionError
  • TireInventoryNotFoundError
  • TireService
  • TireSkuConflictError
  • WaitlistEntryNotFoundError
  • WaitlistEntryTransitionError
  • WorkshopService

Datenzugriffs-Ports (src/repositories/):

  • AppointmentRepository
  • BayRepository
  • CalendarSyncConfigRepository
  • CalendarSyncRecordRepository
  • InMemoryAppointmentRepository
  • InMemoryBayRepository
  • InMemoryCalendarSyncConfigRepository
  • InMemoryCalendarSyncRecordRepository
  • InMemoryInsuranceClaimRepository
  • InMemoryPickupDeliveryOrderRepository
  • InMemoryRepairOrderRepository
  • InMemoryServiceContractRepository
  • InMemorySubletOrderRepository
  • InMemoryTechnicianRepository
  • InMemoryTireChangeOrderRepository
  • InMemoryTireInventoryRepository
  • InMemoryWaitlistRepository
  • InsuranceClaimRepository
  • PickupDeliveryOrderRepository
  • RepairOrderRepository
  • ServiceContractRepository
  • SubletOrderRepository
  • TechnicianRepository
  • TireChangeOrderRepository
  • TireInventoryRepository
  • WaitlistRepository

Vom Modul emittierte Ereignisse (src/events.ts):

  • EventHandler
  • appointmentCheckedIn
  • appointmentConfirmed
  • appointmentDesynced
  • appointmentNoShow
  • appointmentRequested
  • appointmentStatusChanged
  • appointmentSyncFailed
  • appointmentSynced
  • calendarSyncConfigCreated
  • calendarSyncConfigUpdated
  • countInspectionStatuses
  • diagnosticCodesDetected
  • inspectionCompleted
  • insuranceClaimApproved
  • insuranceClaimCancelled
  • insuranceClaimCompleted
  • insuranceClaimCreated
  • insuranceClaimDeclined
  • insuranceClaimStatusChanged
  • insuranceClaimSubmittedForReview
  • pickupDeliveryCancelled
  • pickupDeliveryCompleted
  • pickupDeliveryCreated
  • pickupDeliveryPhotoAdded
  • pickupDeliveryScheduled
  • pickupDeliveryStarted
  • pickupDeliveryStatusChanged
  • repairOrderClosed
  • repairOrderCreated
  • repairOrderCustomerApproved
  • repairOrderEstimateSent
  • repairOrderInProgress
  • repairOrderInvoiced
  • repairOrderPaid
  • repairOrderPartsIssued
  • repairOrderQcPassed
  • repairOrderReady
  • repairOrderStatusChanged
  • repairOrderVehicleOut
  • … und 30 weitere

HTTP-Endpunkte unter api/routes/service/ — Details in der API-Referenz.

Methode Pfad Datei
GET /v1/repair-orders repair-orders.ts
POST /v1/repair-orders repair-orders.ts
GET /v1/repair-orders/:id repair-orders.ts
POST /v1/repair-orders/:id/approve repair-orders.ts
POST /v1/repair-orders/:id/cancel repair-orders.ts
POST /v1/repair-orders/:id/check-in repair-orders.ts
POST /v1/repair-orders/:id/close repair-orders.ts
POST /v1/repair-orders/:id/diagnostics repair-orders.ts
POST /v1/repair-orders/:id/estimate repair-orders.ts
POST /v1/repair-orders/:id/feedback repair-orders.ts
POST /v1/repair-orders/:id/follow-up repair-orders.ts
POST /v1/repair-orders/:id/inspection repair-orders.ts
POST /v1/repair-orders/:id/invoice repair-orders.ts
POST /v1/repair-orders/:id/job-card repair-orders.ts
POST /v1/repair-orders/:id/line-items repair-orders.ts
PATCH /v1/repair-orders/:id/line-items/:lineItemId repair-orders.ts
POST /v1/repair-orders/:id/parts-issue repair-orders.ts
POST /v1/repair-orders/:id/pay repair-orders.ts
POST /v1/repair-orders/:id/progress repair-orders.ts
POST /v1/repair-orders/:id/qc repair-orders.ts
POST /v1/repair-orders/:id/reopen repair-orders.ts
POST /v1/repair-orders/:id/start repair-orders.ts
POST /v1/repair-orders/:id/time-entries repair-orders.ts
POST /v1/repair-orders/:id/vehicle-out repair-orders.ts
GET /v1/service/appointments appointments.ts
POST /v1/service/appointments appointments.ts
GET /v1/service/appointments/:id appointments.ts
PATCH /v1/service/appointments/:id appointments.ts
DELETE /v1/service/appointments/:id appointments.ts
POST /v1/service/appointments/:id/check-in appointments.ts
POST /v1/service/appointments/:id/complete appointments.ts
POST /v1/service/appointments/:id/confirm appointments.ts
POST /v1/service/appointments/:id/desync calendar.ts
POST /v1/service/appointments/:id/no-show appointments.ts
POST /v1/service/appointments/:id/reschedule appointments.ts
POST /v1/service/appointments/:id/start appointments.ts
POST /v1/service/appointments/:id/sync calendar.ts
GET /v1/service/appointments/:id/sync-records calendar.ts
GET /v1/service/bays workshop.ts
POST /v1/service/bays workshop.ts
PATCH /v1/service/bays/:id/status workshop.ts
GET /v1/service/bottlenecks calendar.ts
GET /v1/service/calendar calendar.ts
GET /v1/service/calendar/ics calendar.ts
GET /v1/service/calendar/sync-configs calendar.ts
POST /v1/service/calendar/sync-configs calendar.ts
GET /v1/service/calendar/sync-configs/:id calendar.ts
PATCH /v1/service/calendar/sync-configs/:id calendar.ts
DELETE /v1/service/calendar/sync-configs/:id calendar.ts
GET /v1/service/contracts service-contracts.ts
POST /v1/service/contracts service-contracts.ts
GET /v1/service/contracts/:id service-contracts.ts
POST /v1/service/contracts/:id/activate service-contracts.ts
POST /v1/service/contracts/:id/cancel service-contracts.ts
POST /v1/service/contracts/:id/expire service-contracts.ts
POST /v1/service/contracts/:id/reactivate service-contracts.ts
POST /v1/service/contracts/:id/suspend service-contracts.ts
POST /v1/service/contracts/:id/terminate service-contracts.ts
GET /v1/service/contracts/:id/usage service-contracts.ts
POST /v1/service/contracts/:id/usage service-contracts.ts
GET /v1/service/insurance-claims insurance-claims.ts
POST /v1/service/insurance-claims insurance-claims.ts
GET /v1/service/insurance-claims/:id insurance-claims.ts
POST /v1/service/insurance-claims/:id/adjuster-approval insurance-claims.ts
POST /v1/service/insurance-claims/:id/cancel insurance-claims.ts
POST /v1/service/insurance-claims/:id/complete insurance-claims.ts
POST /v1/service/insurance-claims/:id/decline insurance-claims.ts
PATCH /v1/service/insurance-claims/:id/rental-car insurance-claims.ts
POST /v1/service/insurance-claims/:id/submit-review insurance-claims.ts
GET /v1/service/pickup-delivery pickup-delivery.ts
POST /v1/service/pickup-delivery pickup-delivery.ts
GET /v1/service/pickup-delivery/:id pickup-delivery.ts
POST /v1/service/pickup-delivery/:id/cancel pickup-delivery.ts
POST /v1/service/pickup-delivery/:id/complete pickup-delivery.ts
POST /v1/service/pickup-delivery/:id/photos pickup-delivery.ts
POST /v1/service/pickup-delivery/:id/schedule pickup-delivery.ts
POST /v1/service/pickup-delivery/:id/start pickup-delivery.ts
GET /v1/service/slots appointments.ts
GET /v1/service/sublets sublet-orders.ts
POST /v1/service/sublets sublet-orders.ts
GET /v1/service/sublets/:id sublet-orders.ts
POST /v1/service/sublets/:id/approve sublet-orders.ts
POST /v1/service/sublets/:id/cancel sublet-orders.ts
POST /v1/service/sublets/:id/complete sublet-orders.ts
POST /v1/service/sublets/:id/invoice sublet-orders.ts
POST /v1/service/sublets/:id/quote sublet-orders.ts
POST /v1/service/sublets/:id/start sublet-orders.ts
GET /v1/service/technicians workshop.ts
POST /v1/service/technicians workshop.ts
POST /v1/service/technicians/:id/deactivate workshop.ts
POST /v1/service/technicians/:id/skills workshop.ts
GET /v1/service/tire-change-orders tires.ts
POST /v1/service/tire-change-orders tires.ts
GET /v1/service/tire-change-orders/:id tires.ts
PATCH /v1/service/tire-change-orders/:id tires.ts
DELETE /v1/service/tire-change-orders/:id tires.ts
POST /v1/service/tire-change-orders/:id/cancel tires.ts
POST /v1/service/tire-change-orders/:id/complete tires.ts
POST /v1/service/tire-change-orders/:id/confirm tires.ts
POST /v1/service/tire-change-orders/:id/start tires.ts
GET /v1/service/tires tires.ts
POST /v1/service/tires tires.ts
GET /v1/service/tires/:id tires.ts
PATCH /v1/service/tires/:id tires.ts
DELETE /v1/service/tires/:id tires.ts
POST /v1/service/tires/:id/adjust-stock tires.ts
GET /v1/service/utilization calendar.ts
GET /v1/service/waitlist calendar.ts
POST /v1/service/waitlist calendar.ts
GET /v1/service/waitlist/:id calendar.ts
PATCH /v1/service/waitlist/:id calendar.ts
DELETE /v1/service/waitlist/:id calendar.ts
POST /v1/service/waitlist/:id/book calendar.ts
POST /v1/service/waitlist/:id/expire calendar.ts
POST /v1/service/waitlist/:id/offer calendar.ts

Über den Modul-Index (src/index.ts) exportierte Symbole — die einzige erlaubte Zugriffsart von außen:

  • // Aggregate Roots RepairOrder
  • // Appointment ServiceAppointmentType
  • // Calendar Sync & Waitlist (RTA-G15) calendarSyncConfigCreated
  • // DTOs CreateRepairOrderInput
  • // Inspection InspectionCategory
  • // Insurance Claim (M3-INS) InsuranceClaimStatus
  • // Insurance Claim (M3-INS) canTransitionInsuranceClaim
  • // Insurance Claim (M3-INS) insuranceClaimCreated
  • // Pickup & Delivery (M3.E2) PickupDeliveryType
  • // Pickup & Delivery (M3.E2) canTransitionPickupDelivery
  • // Pickup & Delivery (M3.E2) pickupDeliveryCreated
  • // RepairOrder RepairOrderStatus
  • // Resources BayType
  • // Service Contract (M3.E3) ServiceContractType
  • // Service Contract (M3.E3) canTransitionServiceContract
  • // Service Contract (M3.E3) serviceContractCreated
  • // Sublet Order (M3.E4) SubletType
  • // Sublet Order (M3.E4) canTransitionSubletOrder
  • // Sublet Order (M3.E4) subletOrderCreated
  • // Tire Management (RTA-G14) TireSeason
  • // Tire Management (RTA-G14) tireInventoryCreated
  • // Value Objects ApprovalConfig
  • // Workshop Calendar & Sync (RTA-G15) CalendarProvider
  • ActivateContractInput
  • AddConditionPhotoInput
  • AddLineItemInput
  • AdjustStockInput
  • AdjusterApproval
  • AppointmentNotFoundError
  • AppointmentRepository
  • AppointmentService
  • AppointmentTransitionError
  • ApproveSubletInput
  • AvailableSlotsQuery
  • Bay
  • BayNotFoundError
  • BayRepository
  • BayScheduleEntry
  • BayStatus
  • BayTransitionError
  • … und 282 weitere

Zurück zur Modul-Übersicht oder zur Startseite.