shoc-backend/SeaHaven.DataServices/Interfaces
Alexandre Brandizzi cbecc7b4ea fix(workorders): persist manual POC override with audit and site-follow (SH-379)
Editing a work order's POC never reached the backend: no update path wrote
PocName/PocPhone/PocNotes, so the optimistic UI edit was lost on refetch and
the completion freeze captured the Site contact instead of the manual value,
and nothing was audited.

- Add tenant-scoped PATCH api/workorders/{id}/poc via new WorkOrderPocService
  + WorkOrderPocDataService: persists the override, stages FieldChanged audit
  entries (which also write field locks so sync never overwrites a manual POC),
  and enforces row-version concurrency and terminal-status read-only rules.
- Lock semantics (SH-190): a manual POC away from the Site's live contacts is
  stored WO-level; an edit equal to a live Site contact (or blanking name+phone)
  stores nothing so the WO follows the Site. PocCustomized exposes the state.
- Board projection, completion freeze and create now share one Site-contact
  fallback (first non-deleted contact by SiteContactOrder) so a never-overridden
  WO keeps following the Site, including at create when the wizard prefills it.
- Route contract baseline gains PATCH {id:int}/poc.
2026-09-18 14:30:54 -03:00
..
IAccountDataService.cs fix(locations): gate account assignment by scope and active accounts 2026-08-26 14:16:59 -03:00
IAccountOwnerDataService.cs feat(permissions): protect configured account owner (SH-329) 2026-09-16 21:40:22 -03:00
IAssetDataService.cs refactor 2026-04-28 18:55:14 -05:00
ICalendarDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
ICategoryDataService.cs refactor 2026-04-28 18:55:14 -05:00
ICommentDataService.cs fix(work-orders): scope legacy GET GetComments by account [SH-221] 2026-08-11 15:18:29 -03:00
ICommonDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IContactDataService.cs refactor 2026-04-28 18:55:14 -05:00
IDashboardDataService.cs feat(dashboard): expose KPI counts (SH-353) 2026-09-16 19:23:53 -03:00
IDispatchDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IDropdownOptionsDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IEmployeeDataService.cs refactor 2026-04-28 18:55:14 -05:00
IFollowUpDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IForgetPasswordDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
ILocationDataService.cs feat(locations): support site registry queries (SH-330) 2026-09-16 20:45:15 -03:00
IPMScheduleDataService.cs backend architectural template 2026-05-06 10:49:33 -05:00
IQuotesDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IServicesRegistryDataService.cs feat(services): add global services registry 2026-09-16 17:07:59 -03:00
ISettingsDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
ISyncDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
ITaskListTemplateDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
ITeamPermissionOverrideDataService.cs feat(team-members): add member detail editing (SH-326) 2026-09-16 21:41:55 -03:00
IUpliftDataService.cs merge: rebase queue flags onto SH-210 decisions, drop duplicated contract fields 2026-09-17 12:52:13 -03:00
IUserDataService.cs feat(permissions): protect configured account owner (SH-329) 2026-09-16 21:40:22 -03:00
IUserServiceAreaDataService.cs feat(team-members): support pending member creation (SH-325) 2026-09-16 21:41:55 -03:00
IVendorCompanyRosterDataService.cs feat(vendors): add admin-assigned vendor company Area 2026-09-16 11:34:45 -03:00
IVendorDataService.cs feat(vendors): add admin-assigned vendor company Area 2026-09-16 11:34:45 -03:00
IVendorDocumentDataService.cs feat(uplifts): complete SH-101 approval lifecycle 2026-08-11 08:58:19 -03:00
IVendorOperationsDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IWorkOrderAdvancedSearchDataService.cs feat(work-orders): add Phase 4 board search and advanced search API 2026-07-24 09:58:39 -03:00
IWorkOrderAuditDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IWorkOrderBoardDataService.cs fix(work-orders): keep location account server-owned and forward create cancellation 2026-08-26 10:00:02 -03:00
IWorkOrderBoardMutationDataService.cs fix(work-orders): detach shared dispatch on vendor fork 2026-09-01 09:42:41 -03:00
IWorkOrderCompletionDataService.cs fix(work-orders): scope comments and completion-doc by account [SH-221] 2026-08-11 14:52:02 -03:00
IWorkOrderDataService.cs fix(work-orders): scope legacy list/detail GETs by account [SH-221] 2026-08-11 11:57:37 -03:00
IWorkOrderDetailDataService.cs !feat(work-orders): enforce media account scope and AddMedia freshness [SH-221] 2026-08-06 09:47:34 -03:00
IWorkOrderDomainJobDataService.cs fix(work-orders): process all WeekRolled candidates across batches 2026-07-24 10:13:17 -03:00
IWorkOrderFieldLockDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IWorkOrderIngestDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IWorkOrderMediaDataService.cs feat(work-orders): authorize WO media content reads 2026-09-08 11:19:41 -03:00
IWorkOrderOpsHealthDataService.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
IWorkOrderPocDataService.cs fix(workorders): persist manual POC override with audit and site-follow (SH-379) 2026-09-18 14:30:54 -03:00
IWorkOrderReconciliationDataService.cs feat: complete SH-133 procurement reconciliation 2026-07-24 22:13:25 -03:00
IWorkOrderWebhookDataService.cs fix(work-orders): apply account scope across create and reads [SH-221] 2026-08-11 10:45:37 -03:00
WorkOrderAdvancedSearchModels.cs feat(work-orders): add region filtering (SH-348) 2026-09-16 21:27:05 -03:00
WorkOrderBoardModels.cs fix(workorders): persist manual POC override with audit and site-follow (SH-379) 2026-09-18 14:30:54 -03:00
WorkOrderDetailModels.cs feat(work-orders): add structured service notes POC and vendor fields 2026-07-17 10:37:23 -03:00