Skip to content

Commit

Permalink
Merge pull request #117 from ShipEngine/jpill/update-error-enum
Browse files Browse the repository at this point in the history
feat: add MultipackageNotSupported error
  • Loading branch information
jpill authored Nov 12, 2024
2 parents 05914e8 + 8d1e15e commit 3c0020e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,16 @@ Fixed handling of No Content responses

### Added

- Added funding_source and parcelguard to insurance provider enumeration
- Added funding_source and parcelguard to insurance provider enumeration

## 2.3.3

### Changed

- update System.Text.Json to latest version 8.0.5

## 2.3.4

### Added

- Added error code MultipackageNotSupported
6 changes: 6 additions & 0 deletions ShipEngineSDK/Enums/ErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,5 +261,11 @@ public enum ErrorCode
/// </summary>
[EnumMember(Value = "webhook_event_type_conflict")]
WebhookEventTypeConflict,

/// <summary>
/// The attempted operation does not support multiple packages.
/// </summary>
[EnumMember(Value = "multipackage_not_supported")]
MultipackageNotSupported,
}
}
3 changes: 2 additions & 1 deletion ShipEngineSDK/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ ShipEngineSDK.ErrorCode.InvalidStatus = 20 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.InvalidStringLength = 21 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.LabelImagesNotSupported = 22 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.MeterFailure = 23 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.MultipackageNotSupported = 39 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.NoRatesReturned = 25 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.NotFound = 24 -> ShipEngineSDK.ErrorCode
ShipEngineSDK.ErrorCode.RateLimitExceeded = 26 -> ShipEngineSDK.ErrorCode
Expand Down Expand Up @@ -1592,4 +1593,4 @@ virtual ShipEngineSDK.ShipEngineMock.VoidLabelWithLabelId(string! labelId, ShipE
~ShipEngineSDK.ValidateAddresses.Result.NormalizedAddress.get -> ShipEngineSDK.Common.Address
~ShipEngineSDK.ValidateAddresses.Result.NormalizedAddress.set -> void
~ShipEngineSDK.ValidateAddresses.Result.OriginalAddress.get -> ShipEngineSDK.Common.Address
~ShipEngineSDK.ValidateAddresses.Result.OriginalAddress.set -> void
~ShipEngineSDK.ValidateAddresses.Result.OriginalAddress.set -> void
2 changes: 1 addition & 1 deletion ShipEngineSDK/ShipEngineSDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PackageId>ShipEngine</PackageId>
<PackageTags>sdk;rest;api;shipping;rates;label;tracking;cost;address;validation;normalization;fedex;ups;usps;</PackageTags>

<Version>2.3.3</Version>
<Version>2.3.4</Version>
<Authors>ShipEngine</Authors>
<Company>ShipEngine</Company>
<Summary>The official ShipEngine C# SDK for .NET</Summary>
Expand Down
2 changes: 1 addition & 1 deletion openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"packageName": "ShipEngineSDK",
"ignoreFileOverride": "./.openapi-generator-ignore",
"additionalProperties": {
"packageVersion": "2.2.0",
"packageVersion": "2.3.4",
"targetFramework": "netstandard2.0",
"validatable": false,
"sourceFolder": "",
Expand Down

0 comments on commit 3c0020e

Please sign in to comment.