Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add MultipackageNotSupported error #117

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading