Files

20 lines
685 B
Go
Raw Permalink Normal View History

package itemoccurrences
2026-07-25 21:49:24 +00:00
type extractionResponse struct {
2026-08-05 19:55:34 +00:00
Occurrences []itemOccurrenceResponse `json:"occurrences"`
2026-07-25 21:49:24 +00:00
}
2026-08-05 19:55:34 +00:00
type itemOccurrenceResponse struct {
Name string `json:"name"`
Kind string `json:"kind"`
Quantity *int `json:"quantity,omitempty"`
From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
SourceRefs []itemOccurrenceSourceRefResponse `json:"source_refs"`
2026-07-25 21:49:24 +00:00
}
2026-08-05 19:55:34 +00:00
type itemOccurrenceSourceRefResponse struct {
2026-08-09 02:11:27 +00:00
StartUnitID int `json:"start_unit_id"`
EndUnitID int `json:"end_unit_id"`
2026-07-25 21:49:24 +00:00
}