Appearance
AcceptEstimatePayload
Type: Object
Result of acceptEstimateAndCreateJobs: the order, its lines, and the jobs, components and operations produced from the estimate.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| components | [ComponentState!] | Components materialized from the production blueprints of the estimate lines. Empty for lines that have no blueprint; null on failure. | ||
| errors | [FieldError!]! | Field-level validation errors — including attachments whose file has been removed or is not ready, and a missing template-instantiation service for blueprint lines. Empty on success; when non-empty nothing was written. | ||
| jobs | [JobState!] | One job per estimate line. Lines carrying a production blueprint are materialized by the vertical's template-instantiation service; lines without one get a plain job. Null on failure. | ||
| operations | [OperationState!] | Operations materialized from the production blueprints, hanging off the created jobs and components. Empty when no line has a blueprint; null on failure. | ||
| order | OrderState | The order created from the estimate (status confirmed, payment status unpaid). Null when errors is non-empty. | ||
| orderLines | [OrderLineState!] | Order lines copied from the estimate lines, each linked back to its estimate line and to the job created for it. Estimate-line file attachments are carried across as order-line attachments. Null on failure. | ||
| updatedEstimate | EstimateState | The estimate after acceptance: status accepted, acceptedAt set, and convertedToOrderId pointing at the new order. Null on failure. |