feat(t216): deliver recoverable device order commands
This commit is contained in:
@@ -300,6 +300,32 @@ type OrderAuthorization struct {
|
||||
RevokedAt *time.Time
|
||||
FailureCode *string
|
||||
FailureMessage *string
|
||||
CommandSHA256 *string
|
||||
DeliveryAttemptCount int
|
||||
LastDeliveredAt *time.Time
|
||||
}
|
||||
|
||||
type DeviceOrderCommand struct {
|
||||
ID string
|
||||
SchemaVersion int
|
||||
Type string
|
||||
AuthorizationVersion int
|
||||
TaskID string
|
||||
ExecutionID string
|
||||
TaskContentSHA256 string
|
||||
OriginalSKU string
|
||||
Quantity int
|
||||
CandidateKey string
|
||||
ObservedOrdinal int
|
||||
CandidateTitle string
|
||||
CandidateSKUText string
|
||||
CandidatePriceText string
|
||||
CardSignature string
|
||||
DetailSignature string
|
||||
DetailEvidenceSHA256 string
|
||||
SpecificationEvidenceSHA256 string
|
||||
CommandSHA256 string
|
||||
AuthorizationStatus OrderAuthorizationStatus
|
||||
}
|
||||
|
||||
type ExecutionReport struct {
|
||||
|
||||
Reference in New Issue
Block a user