HakanL / shippo-csharp-client

Shipping API C# library (USPS, FedEx, UPS and more)
https://goshippo.com/docs
Apache License 2.0
5 stars 1 forks source link

enum TrackingStatuses need support PRE_TRANSIT #7

Closed lifeglam closed 1 year ago

lifeglam commented 3 years ago

Will get error converting value "PRE_TRANSIT" to type 'Shippo.ShippoEnums+TrackingStatuses From https://goshippo.com/docs/tracking/ enum TrackingStatuses need support PRE_TRANSIT

HakanL commented 3 years ago

It's already in there: https://github.com/HakanL/shippo-csharp-client/blob/master/Shippo/ShippoEnums.cs#L18

lifeglam commented 1 year ago

https://github.com/HakanL/shippo-csharp-client/blob/master/Shippo/Models/Transaction.cs#L34 was using another enum defined at https://github.com/HakanL/shippo-csharp-client/blob/master/Shippo/ShippoEnums.cs#L76 which does not have PRE_TRANSIT.

HakanL commented 1 year ago

Good catch, fix pushed and Nuget package 2.0.13 indexing.