Skip to content

Commit

Permalink
Update March 12, 2024 (#73)
Browse files Browse the repository at this point in the history
Add `hybryd` value to TPL Integration Type enum
  • Loading branch information
diPhantxm authored Mar 13, 2024
1 parent e6bfa30 commit f02e71d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ozon/cancellations.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type CancellationInfo struct {
CancellationReasonMessage string `json:"cancellation_reason_message"`

// Delivery service integration type
TPLIntegrationType string `json:"tpl_integration_type"`
TPLIntegrationType TPLIntegrationType `json:"tpl_integration_type"`

// Cancellation request status
State CancellationInfoState `json:"state"`
Expand Down
3 changes: 3 additions & 0 deletions ozon/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ const (

// delivery by the seller
NonIntegratedTPLType TPLIntegrationType = "non_integrated"

// Russian Post delivery scheme
HybrydTPLType TPLIntegrationType = "hybryd"
)

type DetailsDeliveryItemName string
Expand Down
2 changes: 1 addition & 1 deletion ozon/fbs.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ type FBSPosting struct {
Substatus string `json:"substatus"`

// Type of integration with the delivery service
TPLIntegrationType string `json:"tpl_integration_type"`
TPLIntegrationType TPLIntegrationType `json:"tpl_integration_type"`

// Shipment tracking number
TrackingNumber string `json:"tracking_number"`
Expand Down

0 comments on commit f02e71d

Please sign in to comment.