A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Retrieves a ConstraintViolation resource.
Read-only, stateless snapshot of a single `entity_stats` row, enriched with a resolved display label. Never backed by a Doctrine entity directly: every field is copied verbatim from an already-computed `App\Entity\Stats\EntityStat` row (metrics come from the scheduled aggregation job, see `app:stats:aggregate`) plus the label resolved via `App\State\Stats\EntityLabelResolverInterface`. No runtime calculation happens here. Read-only by design: only GetCollection/Get are declared, no Post/Put/Patch/Delete.
Retrieves a AgentAgencyProducer resource.
Deletes the AgentAgencyProducer resource.
Replaces the AgentAgencyProducer resource.
Updates the AgentAgencyProducer resource.
Retrieves a CustomerAgencyProducer resource.
Replaces the CustomerAgencyProducer resource.
Updates the CustomerAgencyProducer resource.
Deletes the CustomerAgencyProducer resource.
Retrieves a CustomerAttachment resource.
Updates the CustomerAttachment resource.
Deletes the CustomerAttachment resource.
Retrieves a CustomerClosingDay resource.
Updates the CustomerClosingDay resource.
Deletes the CustomerClosingDay resource.
Cascading A-through-E discount chain, mirroring the frontend's `OrderRow.getOrderRowTaxableAmount()` (order-row.model.ts) exactly: each discount type is either a flat per-unit value (subtracted as `qty * discountX`) or a percentage (applied multiplicatively), chained in order A, B, C, D, E onto the running taxable amount.
Retrieves a ProducerAttachment resource.
Updates the ProducerAttachment resource.
Deletes the ProducerAttachment resource.
Per-source override of the global AI-tokens-per-credit conversion rate (see `TokenUsageOverviewService::suggestedConversionAmount()`) — for tenants with a commercial agreement different from the standard rate. `null` means "use the global default"; either way, the suggested amount is only a pre-fill, never enforced — an admin can always type a different amount when converting.
Quando un admin la imposta (a "adesso"), forza tutti i client di questo source a cancellare il proprio IndexedDB locale e rifare una sincronizzazione completa, la prossima volta che passano dallo stato di bootstrap CHECK — vedi CheckComponent (frontend), che confronta questo timestamp con il proprio watermark LastSync.
Token usage of the LATEST generation for this row only — overwritten on every regeneration, so NOT a historical record (see `AiTokenUsageLog` for the insert-only ledger across all generations/features). Exists purely so the UI can show "this cached Sintesi cost N token" without a separate lookup.
Forecast text for a `DEEP:*` row only (see `EntityStatRepository::updateDeepAnalysis()`) — always null on ordinary monthly/`RANGE:*` rows, which have no forecast concept.
App-wide Gedmo convention, same as every other entity (e.g. `Order`): set once by `TimestampableListener::prePersist()` when `EntityStatRepository` first `persist()`s a row, never touched again.
App-wide Gedmo convention: `TimestampableListener::preUpdate()` refreshes this automatically whenever `EntityStatRepository` flushes an actual field change on the row (metrics, AI summary, ...) — no method here sets it explicitly.
Always null: `entity_stats` has no soft-delete concept. Exists only so `RawEntityClass::getEntityRawData()`'s delta-sync query (`a.updatedAt >= :ls OR a.deletedAt >= :ls`) is valid DQL for this entity, matching every other entity registered in `IDBStoreClass`.
App-wide Gedmo convention: the authenticated user whose request first wrote this cache row — every write goes through an authenticated route (see `EntityStatRangeSummaryController`), so this is never empty in practice, same as `createdAt`.
App-wide Gedmo convention: the authenticated user whose request most recently (re)wrote this cache row (a fresh regeneration or a metrics-only upsert), same as `updatedAt`.
App-wide convention, same as `deletedAt`: `entity_stats` has no soft-delete concept, so this stays '' — NOT populated automatically by Gedmo (Blameable has no 'delete' event), would have to be set by hand if soft-delete were ever wired up here.
AI-summary cache row for any entity (customer, supplier, agent, ...) — NOT a precalculated numeric snapshot. `metrics` is whatever payload the frontend posted (computed on-the-fly client-side, see `customer-stats-calculator.util.ts`), stored here only so its hash (`aiSummaryHash`) can gate whether Ollama needs to run again; the actual numeric KPIs are never read back out of this column by anything. `period` is either `RANGE:YYYY-MM:YYYY-MM` (range-summary requests) or `DEEP:YYYY` (deep-analysis requests) — there is no `YYYY-MM` monthly-bucket period anymore, that scheduled aggregation job (`app:stats:aggregate`) was removed entirely once the frontend became the numeric source of truth. Read-only REST resource (`/entity_stats`, `/entity_stats_plain`, `/entity_stats_list`): exists so the frontend's REST-mode data adapter (`EntityStatRestService`) and IndexedDB sync system (`App\Service\Main\IDBStoreClass` / `RawEntityClass`) have a standard ApiResource + updatedAt/deletedAt pair to work against, like every other synced entity in this project. This is deliberately separate from the richer, stateless, on-demand `App\ApiResource\Stats\EntityStatSummary` DTO (Task 5), which serves a different dashboard use case with resolved display labels — it does not replace this. All writes still go exclusively through `EntityStatRepository`'s `upsertMonthlyBucket()` / `updateAiSummary()` (`persist()`/`flush()`-based, see their docblocks), never through this ApiResource: no Post/Put/Patch/Delete operations are declared.
Retrieves a WarehouseDepositAddress resource.
Updates the WarehouseDepositAddress resource.
Deletes the WarehouseDepositAddress resource.
Retrieves a WarehouseDepositContact resource.
Updates the WarehouseDepositContact resource.
Deletes the WarehouseDepositContact resource.
Retrieves a WarehouseFlowCategory resource.
Deletes the WarehouseFlowCategory resource.
Replaces the WarehouseFlowCategory resource.
Retrieves the collection of EntityStatSummary resources.
The collection of EntityStatSummary resources
Retrieves the collection of Account resources.
Retrieves the collection of Bank resources.
Retrieves the collection of BankAddress resources.
Retrieves the collection of BankContact resources.
Retrieves the collection of Blotter resources.
Retrieves the collection of BlotterCausal resources.
The collection of BlotterCausal resources
Retrieves the collection of BlotterCausalRow resources.
The collection of BlotterCausalRow resources
Retrieves the collection of BlotterDue resources.
Retrieves the collection of BlotterDueState resources.
The collection of BlotterDueState resources
Retrieves the collection of BlotterRow resources.
Retrieves the collection of Payment resources.
Retrieves the collection of PaymentCategory resources.
The collection of PaymentCategory resources
Retrieves the collection of Vat resources.
Retrieves the collection of VatCategory resources.
Retrieves the collection of VatRegister resources.
Retrieves the collection of Agency resources.
Retrieves the collection of AgencyAddress resources.
The collection of AgencyAddress resources
Retrieves the collection of AgencyAttachment resources.
The collection of AgencyAttachment resources
Retrieves the collection of AgencyBank resources.
Retrieves the collection of AgencyContact resources.
The collection of AgencyContact resources
Retrieves the collection of AgencyPayment resources.
The collection of AgencyPayment resources
Retrieves the collection of AgencyProducer resources.
The collection of AgencyProducer resources
Retrieves the collection of Agent resources.
Retrieves the collection of AgentAddress resources.
The collection of AgentAddress resources
Retrieves the collection of AgentAgency resources.
Retrieves the collection of AgentAgencyProducer resources.
The collection of AgentAgencyProducer resources
Retrieves the collection of AgentArticle resources.
The collection of AgentArticle resources
Retrieves the collection of AgentAttachment resources.
The collection of AgentAttachment resources
Retrieves the collection of AgentBank resources.
Retrieves the collection of AgentContact resources.
The collection of AgentContact resources
Retrieves the collection of AgentTable resources.
Retrieves the collection of Article resources.
Retrieves the collection of ArticleAssembly resources.
The collection of ArticleAssembly resources
Retrieves the collection of ArticleAttachment resources.
The collection of ArticleAttachment resources
Retrieves the collection of ArticleCatalog resources.
The collection of ArticleCatalog resources
Retrieves the collection of ArticleCategory resources.
The collection of ArticleCategory resources
Retrieves the collection of ArticleCode resources.
Retrieves the collection of ArticleList resources.
Retrieves the collection of ArticleListRow resources.
The collection of ArticleListRow resources
Retrieves the collection of ArticlePrice resources.
The collection of ArticlePrice resources
Retrieves the collection of ArticleTable resources.
The collection of ArticleTable resources
Retrieves the collection of Commission resources.
Retrieves the collection of CommissionCausal resources.
The collection of CommissionCausal resources
Retrieves the collection of CommissionDetail resources.
The collection of CommissionDetail resources
Retrieves the collection of CommissionRole resources.
The collection of CommissionRole resources
Retrieves the collection of CommissionRow resources.
The collection of CommissionRow resources
Retrieves the collection of CommissionTable resources.
The collection of CommissionTable resources
Retrieves the collection of Customer resources.
Retrieves the collection of CustomerAddress resources.
The collection of CustomerAddress resources
Retrieves the collection of CustomerAgency resources.
The collection of CustomerAgency resources
Retrieves the collection of CustomerAgencyProducer resources.
Creates a CustomerAgencyProducer resource.
The collection of CustomerAgencyProducer resources
Retrieves the collection of CustomerAgent resources.
The collection of CustomerAgent resources
Retrieves the collection of CustomerArticle resources.
The collection of CustomerArticle resources
Retrieves the collection of CustomerAttachment resources.
The collection of CustomerAttachment resources
Retrieves the collection of CustomerBank resources.
The collection of CustomerBank resources
Retrieves the collection of CustomerClosingDay resources.
The collection of CustomerClosingDay resources
Retrieves the collection of CustomerContact resources.
The collection of CustomerContact resources
Retrieves the collection of CustomerTable resources.
The collection of CustomerTable resources
Retrieves the collection of CustomerVisit resources.
The collection of CustomerVisit resources
Retrieves the collection of Bol resources.
Retrieves the collection of BolCausal resources.
Retrieves the collection of BolRow resources.
Retrieves the collection of DocumentTable resources.
The collection of DocumentTable resources
Retrieves the collection of Invoice resources.
Retrieves the collection of InvoiceCausal resources.
The collection of InvoiceCausal resources
Retrieves the collection of InvoiceRow resources.
Retrieves the collection of Geo resources.
Retrieves the collection of EventTrigger resources.
The collection of EventTrigger resources
Retrieves the collection of Due resources.
Retrieves the collection of DueAttachment resources.
The collection of DueAttachment resources
Retrieves the collection of DuePaymentRow resources.
The collection of DuePaymentRow resources
Retrieves the collection of DueState resources.
Retrieves the collection of Order resources.
Retrieves the collection of OrderAttachment resources.
The collection of OrderAttachment resources
Retrieves the collection of OrderCausal resources.
Retrieves the collection of OrderRow resources.
Retrieves the collection of OrderTable resources.
Retrieves the collection of Receipt resources.
Retrieves the collection of ReceiptAttachment resources.
The collection of ReceiptAttachment resources
Retrieves the collection of ReceiptRow resources.
Retrieves the collection of Producer resources.
Retrieves the collection of ProducerAddress resources.
The collection of ProducerAddress resources
Retrieves the collection of ProducerAttachment resources.
The collection of ProducerAttachment resources
Retrieves the collection of ProducerBank resources.
The collection of ProducerBank resources
Retrieves the collection of ProducerContact resources.
The collection of ProducerContact resources
Retrieves the collection of Address resources.
Retrieves the collection of AddressCategory resources.
The collection of AddressCategory resources
Retrieves the collection of CalendarEvent resources.
The collection of CalendarEvent resources
Retrieves the collection of Contact resources.
Retrieves the collection of ContactCategory resources.
The collection of ContactCategory resources
Retrieves the collection of NoteCombo resources.
Retrieves the collection of Stamp resources.
Retrieves the collection of StampCategory resources.
The collection of StampCategory resources
Retrieves the collection of Template resources.
Retrieves the collection of Channel resources.
Retrieves the collection of DataFlow resources.
Retrieves the collection of DataFlowIndex resources.
The collection of DataFlowIndex resources
Retrieves the collection of Chatbox resources.
Retrieves the collection of CreditMovement resources.
The collection of CreditMovement resources
Retrieves the collection of Group resources.
Retrieves the collection of Notification resources.
The collection of Notification resources
Retrieves the collection of Role resources.
Retrieves the collection of Source resources.
Retrieves the collection of SourcePayment resources.
The collection of SourcePayment resources
Retrieves the collection of SourceShare resources.
Retrieves the collection of User resources.
Retrieves the collection of UserSource resources.
Retrieves the collection of EntityStat resources.
Retrieves the collection of Supplier resources.
Retrieves the collection of SupplierAddress resources.
The collection of SupplierAddress resources
Retrieves the collection of SupplierBank resources.
The collection of SupplierBank resources
Retrieves the collection of SupplierContact resources.
The collection of SupplierContact resources
Retrieves the collection of SupplierTable resources.
The collection of SupplierTable resources
Retrieves the collection of Target resources.
Retrieves the collection of Warehouse resources.
Retrieves the collection of WarehouseCausal resources.
The collection of WarehouseCausal resources
Retrieves the collection of WarehouseDeposit resources.
The collection of WarehouseDeposit resources
Retrieves the collection of WarehouseDepositAddress resources.
Creates a WarehouseDepositAddress resource.
The collection of WarehouseDepositAddress resources
Retrieves the collection of WarehouseDepositContact resources.
Creates a WarehouseDepositContact resource.
The collection of WarehouseDepositContact resources
Retrieves the collection of WarehouseFlowCategory resources.
Creates a WarehouseFlowCategory resource.
The collection of WarehouseFlowCategory resources
Retrieves the collection of SidebarWidget resources.
The collection of SidebarWidget resources
The message associated with the violation