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

added A4 and A6 to label layout enum #116

Merged
merged 1 commit into from
Oct 16, 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
25 changes: 13 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Changelog


## 1.0.0

### Features
Expand All @@ -16,15 +15,13 @@ Implement the following SDK methods.
- `CreateLabelFromRate`
- `GetRatesWithShipmentDetails`


## 1.0.7

### Features

Implement the following SDK methods.
- `CreateImplicitManifest`


- `CreateImplicitManifest`

## 1.1.0

Expand All @@ -41,7 +38,6 @@ Rename LabelDownload method to the more generic Download

Some documentation linking errors and minor typos


## 1.1.1

### Added
Expand All @@ -52,7 +48,6 @@ Some documentation linking errors and minor typos

The Customs Item Quantity type has been changed to integer type for CreateLabelFromShipmentDetails model.


## 1.1.2

### Fixed
Expand Down Expand Up @@ -150,7 +145,7 @@ Updated nuget package dependencies

### Added

- Created new SDK methods for the entire API that sit next to the pre-existing methods. The pre-existing methods will be deprecated eventually.
- Created new SDK methods for the entire API that sit next to the pre-existing methods. The pre-existing methods will be deprecated eventually.

## 2.2.0

Expand All @@ -175,15 +170,14 @@ Fixed handling of No Content responses

- Added ability to scope request modifiers by using the `.WithRequestModifier()` method instead of the `.ModifyRequest` property.
This will allow consumers to modify a single request without affecting any other consumers of the client. It also allows for
multiple modifiers to be added. For example, a modifier could be added at the global level that applies to all requests and then
multiple modifiers to be added. For example, a modifier could be added at the global level that applies to all requests and then
another modifier can be added for a single request.


## 3.0.0-beta.1

### Added

- Created new SDK methods for the entire API that sit next to the pre-existing methods. The pre-existing methods will be deprecated eventually.
- Created new SDK methods for the entire API that sit next to the pre-existing methods. The pre-existing methods will be deprecated eventually.

## 3.0.0-beta.2

Expand Down Expand Up @@ -217,7 +211,7 @@ Fixed handling of No Content responses

- Added ability to scope request modifiers by using the `.WithRequestModifier()` method instead of the `.ModifyRequest` property.
This will allow consumers to modify a single request without affecting any other consumers of the client. It also allows for
multiple modifiers to be added. For example, a modifier could be added at the global level that applies to all requests and then
multiple modifiers to be added. For example, a modifier could be added at the global level that applies to all requests and then
another modifier can be added for a single request.

## 3.0.0-beta.12
Expand All @@ -233,9 +227,16 @@ Fixed handling of No Content responses
- Updated to ShipEngine API 1.1.202410081510
- Add optional error properties, like field_name

## 3.0.0-beta.14
## 3.0.0-beta.15

### Changed

- Updated to ShipEngine API 1.1.202410092210
- AdvancedOptions now allow passing arbitrary key/values via AdditionalProperties

## 3.0.0-beta.16

### Added

- Updated to ShipEngine API 1.1.202410161910
- Added A4 and A6 as options for label layouts
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/AddressValidatingShipment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ public partial class AddressValidatingShipment
public ShippingAddress? ReturnTo { get; set; }

/// <summary>
/// The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <example>
/// 2018-09-23T00:00Z
/// </example>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/CalculateRatesResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ public partial class CalculateRatesResponseBody
public required ShippingAddress ReturnTo { get; set; }

/// <summary>
/// The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <example>
/// 2018-09-23T00:00Z
/// </example>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/CreateAndValidateShipment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ public partial class CreateAndValidateShipment
public string? ServiceCode { get; set; }

/// <summary>
/// The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <example>
/// 2018-09-23T00:00Z
/// </example>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/CreateLabelFromRateResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ public partial class CreateLabelFromRateResponseBody
public string? ServiceCode { get; set; }

/// <summary>
/// The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <remarks>
/// This should not be used for input as it will be ignored on serialization.
/// </remarks>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/CreateLabelFromShipmentResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ public partial class CreateLabelFromShipmentResponseBody
public string? ServiceCode { get; set; }

/// <summary>
/// The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <remarks>
/// This should not be used for input as it will be ignored on serialization.
/// </remarks>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/CreateLabelResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ public partial class CreateLabelResponseBody
public string? ServiceCode { get; set; }

/// <summary>
/// The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <remarks>
/// This should not be used for input as it will be ignored on serialization.
/// </remarks>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/CreateReturnLabelResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ public partial class CreateReturnLabelResponseBody
public string? ServiceCode { get; set; }

/// <summary>
/// The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <remarks>
/// This should not be used for input as it will be ignored on serialization.
/// </remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ public partial class GetLabelByExternalShipmentIdResponseBody
public string? ServiceCode { get; set; }

/// <summary>
/// The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <remarks>
/// This should not be used for input as it will be ignored on serialization.
/// </remarks>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/GetLabelByIdResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ public partial class GetLabelByIdResponseBody
public string? ServiceCode { get; set; }

/// <summary>
/// The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <remarks>
/// This should not be used for input as it will be ignored on serialization.
/// </remarks>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/GetShipmentByExternalIdResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ public partial class GetShipmentByExternalIdResponseBody
public required string ServiceCode { get; set; }

/// <summary>
/// The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <example>
/// 2018-09-23T00:00Z
/// </example>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/GetShipmentByIdResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ public partial class GetShipmentByIdResponseBody
public required string ServiceCode { get; set; }

/// <summary>
/// The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the shipment was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the shipment was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <example>
/// 2018-09-23T00:00Z
/// </example>
Expand Down
4 changes: 2 additions & 2 deletions ShipEngineSDK/Model/Label.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ public partial class Label
public string? ServiceCode { get; set; }

/// <summary>
/// The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead.
/// </summary>
/// <value>The date that the package was (or will be) shippped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <value>The date that the package was (or will be) shipped. ShipEngine will take the day of week into consideration. For example, if the carrier does not operate on Sundays, then a package that would have shipped on Sunday will ship on Monday instead. </value>
/// <remarks>
/// This should not be used for input as it will be ignored on serialization.
/// </remarks>
Expand Down
12 changes: 12 additions & 0 deletions ShipEngineSDK/Model/LabelLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ public LabelLayout(string value)
public static LabelLayout Letter { get; } = new("letter");


/// <summary>
/// Enum A4 for value: A4
/// </summary>
public static LabelLayout A4 { get; } = new("A4");


/// <summary>
/// Enum A6 for value: A6
/// </summary>
public static LabelLayout A6 { get; } = new("A6");


/// <summary>
/// Get a string representation of the current value
/// </summary>
Expand Down
Loading
Loading