Skip to main content

Module models

Module models 

Source

Structs§

ActionTypeUsage
AgentInstructions
Content returned by the agent_instructions endpoint.
AgentRun
Minimal response from POST /work_package/:id/record_run.
ApiListResponse
ApiResponse
AsyncJobRef
The 202 response from an async endpoint: { data: { job_id, status } }.
AuditResult
A code-audit result. The server returns a flat data object (not the {id,type,attributes} envelope used elsewhere), so this maps the fields directly. Unknown/absent fields are tolerated via #[serde(default)].
AuditRun
AuditRunItem
AuditRunStats
CreateEdgeParams
CreateItemParams
CreateProjectParams
CreateRepositoryParams
CreateReviewParams
CreateRunParams
CreateSnapshotParams
CriterionCoverage
Per-acceptance-criterion coverage within an AuditResult.
CriterionEvidence
A single file/line evidence entry for a criterion.
DependencyEdge
DependencyEdgeAttributes
DocumentImportCommit
Response from POST .../import/sessions/:sid/commit (201).
DocumentImportItem
A candidate item extracted from a document. Also the element type of the optional commit body; included: Some(false) skips the item on commit.
DocumentUpload
Response from POST /projects/:id/import/upload (201).
ImplementationReport
Batch implementation report-back payload. Maps 1:1 to the server’s POST /projects/:pid/implementation_reports endpoint.
ImplementationReportResult
Server response from an implementation report-back.
ImportItem
One item in an import payload — used both for the parsed items returned by preview_import and as the request body elements for commit_import.
ImportPreview
Response from POST .../import/preview. Wrapped in ApiResponse<ImportPreview>.
ImportPreviewAttributes
ImportResult
Response from POST .../import/commit. Wrapped in ApiResponse<ImportResult>.
ImportResultAttributes
ImportResultItem
A single item created by commit_import.
ImportSession
Response from GET /projects/:id/import/sessions/:sid.
ImportStageStarted
Response from POST .../import/sessions/:sid/{extract,enrich} (202).
ItemFilter
Job
JobAttributes
LinkCommitParams
ModelUsage
PaginationMeta
Project
ProjectAttributes
ProjectRepository
ProjectRepositoryAttributes
ProjectStats
Returned by GET /projects/:id/stats (inside {"data": {...}}).
Proposal
ProposalAttributes
RecordRunParams
ReleaseVersion
ReleaseVersionAttributes
ReleaseVersionRef
A lightweight reference to a release version an item belongs to, as embedded in a spec item’s `release_versions` array (semver + name only).
ReportDrift
Drift detail for a reported item.
ReportItem
One existing spec item in a report-back payload.
ReportNewItem
A newly-created item discovered during implementation.
Review
Returned by POST /projects/:id/work_package/:id/review. The API does not include a top-level id field.
ReviewAttributes
ReviewSummary
RunPreview
Result of POST /runs/preview — the item set a create would resolve to, without persisting a run. items is capped server-side; count is exact.
RunPreviewItem
Snapshot
SnapshotAttributes
SnapshotDiff
Diff between a snapshot and the current project state.
SnapshotDiffEdges
Edge changes in a snapshot diff.
SnapshotDiffItems
Spec-item changes in a snapshot diff.
SnapshotDiffModified
A single modified item in a snapshot diff.
SnapshotDiffSummary
Summary counts in a snapshot diff.
SpecItem
SpecItemAttributes
StatsCoverage
StatsRecentActivity
StatsReviews
StatsSpecItems
TechProposal
A single proposed technical spec item.
TechProposals
Collection of tech spec proposals generated from a functional item.
UpdateItemParams
UpdateProjectParams
UpdateRepositoryParams
UpdateRunParams
UsageFilter
UsageLogEntry
UsageStats
Flat summary returned by GET /projects/:id/usage (no JSON:API wrapper).
UserInfo
VersionDiff
Result of comparing two release versions by membership.
VersionDiffItem
VersionDiffSide
VersionMember
A spec item that is a member of a release version.

Enums§

ExportData
Data returned by the export API.
ImplementationStatus
ImportSessionStatus
Lifecycle of a document import session: uploaded -> extracting -> reviewing -> committing -> committed, plus failed / cancelled.
ItemType
JobStatus