aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--status.go1
-rw-r--r--status_gen.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/status.go b/status.go
index ed9824c..e298461 100644
--- a/status.go
+++ b/status.go
@@ -15,6 +15,7 @@ const (
OrderDelivered OrderStatus = "DELIVERED" // Print-Job has been delivered by the carrier. This is supported by USPS, FedEx, and UPS.
OrderRejected OrderStatus = "REJECTED" // When there is a problem with the input data or the file, Lulu will reject a Print-Job with a detailed error message. Please contact our experts if you need help in resolving this issue.
OrderCanceled OrderStatus = "CANCELED" // You can cancel a Print-Job as long as it is “unpaid” using an API request to the status endpoint. In rare cases, Lulu might also cancel a Print-Job if a problem has surfaced in production and the order cannot be fulfilled.
+ OrderError OrderStatus = "ERROR"
)
type ItemStatus string
diff --git a/status_gen.go b/status_gen.go
index c9b4ee4..fa25ca1 100644
--- a/status_gen.go
+++ b/status_gen.go
@@ -55,6 +55,7 @@ var validOrderStatusValues = map[OrderStatus]struct{}{
OrderDelivered: {},
OrderRejected: {},
OrderCanceled: {},
+ OrderError: {},
}
// Valid validates if a value is a valid OrderStatus
@@ -76,6 +77,7 @@ func OrderStatusValues() []OrderStatus {
OrderDelivered,
OrderRejected,
OrderCanceled,
+ OrderError,
}
}