feat(t207): audit local procurement results
This commit is contained in:
@@ -84,11 +84,75 @@ type TaskExecution struct {
|
||||
FinishedAt *time.Time
|
||||
}
|
||||
|
||||
type ExecutionEvent struct {
|
||||
ID string
|
||||
TaskID string
|
||||
ExecutionID string
|
||||
Step string
|
||||
Type string
|
||||
Message string
|
||||
OccurredAt time.Time
|
||||
ReceivedAt time.Time
|
||||
ReceivedAfterExecutionExpiry bool
|
||||
}
|
||||
|
||||
type ExecutionEvidenceAsset struct {
|
||||
ID string
|
||||
TaskID string
|
||||
ExecutionID string
|
||||
MediaType string
|
||||
SizeBytes int64
|
||||
SHA256 string
|
||||
StorageKey string
|
||||
CreatedAt time.Time
|
||||
ReceivedAfterExecutionExpiry bool
|
||||
}
|
||||
|
||||
type ExecutionCandidateBatch struct {
|
||||
TaskID string
|
||||
ExecutionID string
|
||||
TaskContentSHA256 string
|
||||
ExecutionMode string
|
||||
SearchQuery string
|
||||
ProvenanceJSON *string
|
||||
CandidatesJSON string
|
||||
RecommendationJSON *string
|
||||
ReceivedAt time.Time
|
||||
ReceivedAfterExecutionExpiry bool
|
||||
}
|
||||
|
||||
type ExecutionOutcome struct {
|
||||
TaskID string
|
||||
ExecutionID string
|
||||
ResultType string
|
||||
ExecutionMode *string
|
||||
TaskContentSHA256 *string
|
||||
Outcome *string
|
||||
OperatorReason *string
|
||||
SelectedCandidateJSON *string
|
||||
EvidenceAssetIDsJSON *string
|
||||
ErrorCode *string
|
||||
ErrorMessage *string
|
||||
ErrorStep *string
|
||||
Retryable *bool
|
||||
OrderSubmitted bool
|
||||
ReceivedAt time.Time
|
||||
ReceivedAfterExecutionExpiry bool
|
||||
}
|
||||
|
||||
type ExecutionReport struct {
|
||||
Events []ExecutionEvent
|
||||
EvidenceAssets []ExecutionEvidenceAsset
|
||||
CandidateBatch *ExecutionCandidateBatch
|
||||
Outcome *ExecutionOutcome
|
||||
}
|
||||
|
||||
type TaskDetail struct {
|
||||
Task PurchaseTask
|
||||
Asset Asset
|
||||
Execution *TaskExecution
|
||||
Events []TaskEvent
|
||||
Report *ExecutionReport
|
||||
}
|
||||
|
||||
type TaskValidationError struct {
|
||||
|
||||
Reference in New Issue
Block a user