Updates April 8, 2024 and April 9, 2024 (#77)
This commit is contained in:
@@ -684,3 +684,17 @@ const (
|
||||
// Check is failed
|
||||
MandatoryMarkStatusFailed MandatoryMarkStatus = "failed"
|
||||
)
|
||||
|
||||
type GetCarriageStatus string
|
||||
|
||||
const (
|
||||
// acceptance in progress
|
||||
GetCarriageStatusReceived GetCarriageStatus = "received"
|
||||
|
||||
// closed after acceptance
|
||||
GetCarriageStatusClosed GetCarriageStatus = "closed"
|
||||
|
||||
GetCarriageStatusSended GetCarriageStatus = "sended"
|
||||
|
||||
GetCarriageStatusCancelled GetCarriageStatus = "cancelled"
|
||||
)
|
||||
|
||||
@@ -2962,7 +2962,7 @@ type GetCarriageResponse struct {
|
||||
RetryCount int32 `json:"retry_count"`
|
||||
|
||||
// Freight status
|
||||
Status string `json:"status"`
|
||||
Status GetCarriageStatus `json:"status"`
|
||||
|
||||
// Delivery method identifier
|
||||
TPLProviderId int64 `json:"tpl_provider_id"`
|
||||
|
||||
@@ -1235,7 +1235,7 @@ type ProductInfoResultPicture struct {
|
||||
//
|
||||
// If you called the `/v1/product/pictures/info` method, one of the statuses will appear:
|
||||
// - uploaded — image uploaded;
|
||||
// - failed — image was not uploaded
|
||||
// - pending — image was not uploaded
|
||||
State string `json:"state"`
|
||||
|
||||
// The link to the image in the public cloud storage. The image format is JPG or PNG
|
||||
|
||||
Reference in New Issue
Block a user