diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d4dec9f..a9d9b3b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## v7.6.0 (2026-02-20) + +- Adds the following functions: + - `FedexRegistration.RegisterAddress` + - `FedexRegistration.RequestPin` + - `FedexRegistration.ValidatePin` + - `FedexRegistration.SubmitInvoice` + ## v7.5.0 (2026-02-03) - Adds the following functions usable by child and referral customer users: diff --git a/EasyPost.Tests/ServicesTests/FedExRegistrationServiceTest.cs b/EasyPost.Tests/ServicesTests/WithParameters/FedExRegistrationServiceTest.cs similarity index 99% rename from EasyPost.Tests/ServicesTests/FedExRegistrationServiceTest.cs rename to EasyPost.Tests/ServicesTests/WithParameters/FedExRegistrationServiceTest.cs index e8a8a3b4..4ccd4f87 100644 --- a/EasyPost.Tests/ServicesTests/FedExRegistrationServiceTest.cs +++ b/EasyPost.Tests/ServicesTests/WithParameters/FedExRegistrationServiceTest.cs @@ -6,7 +6,7 @@ using EasyPost.Tests._Utilities; using Xunit; -namespace EasyPost.Tests.ServicesTests +namespace EasyPost.Tests.ServicesTests.WithParameters { public class FedExRegistrationServiceTests : UnitTest { diff --git a/EasyPost.nuspec b/EasyPost.nuspec index bf74264a..42f52554 100644 --- a/EasyPost.nuspec +++ b/EasyPost.nuspec @@ -3,7 +3,7 @@ EasyPost-Official EasyPost (Official) - 7.5.0 + 7.6.0 EasyPost EasyPost https://www.easypost.com diff --git a/EasyPost/Parameters/FedExRegistration/RegisterAddress.cs b/EasyPost/Parameters/FedExRegistration/RegisterAddress.cs index 2ac40a09..465a3cc4 100644 --- a/EasyPost/Parameters/FedExRegistration/RegisterAddress.cs +++ b/EasyPost/Parameters/FedExRegistration/RegisterAddress.cs @@ -73,6 +73,18 @@ public class RegisterAddress : BaseParameters + /// Action for the FedEx registration (create/update). + /// + [TopLevelRequestParameter(Necessity.Optional, "easypost_details", "action")] + public string? Action { get; set; } + + /// + /// Type of carrier account for the FedEx registration. + /// + [TopLevelRequestParameter(Necessity.Optional, "easypost_details", "type")] + public string? Type { get; set; } + /// /// Carrier account ID for the FedEx registration. /// diff --git a/EasyPost/Parameters/FedExRegistration/SubmitInvoice.cs b/EasyPost/Parameters/FedExRegistration/SubmitInvoice.cs index 54ecda67..190b663c 100644 --- a/EasyPost/Parameters/FedExRegistration/SubmitInvoice.cs +++ b/EasyPost/Parameters/FedExRegistration/SubmitInvoice.cs @@ -43,6 +43,18 @@ public class SubmitInvoice : BaseParameters + /// Action for the FedEx registration (create/update). + /// + [TopLevelRequestParameter(Necessity.Optional, "easypost_details", "action")] + public string? Action { get; set; } + + /// + /// Type of carrier account for the FedEx registration. + /// + [TopLevelRequestParameter(Necessity.Optional, "easypost_details", "type")] + public string? Type { get; set; } + /// /// Carrier account ID for the FedEx registration. /// diff --git a/EasyPost/Parameters/FedExRegistration/ValidatePin.cs b/EasyPost/Parameters/FedExRegistration/ValidatePin.cs index 74e3044d..9cb0dbf9 100644 --- a/EasyPost/Parameters/FedExRegistration/ValidatePin.cs +++ b/EasyPost/Parameters/FedExRegistration/ValidatePin.cs @@ -25,6 +25,18 @@ public class ValidatePin : BaseParameters + /// Action for the FedEx registration (create/update). + /// + [TopLevelRequestParameter(Necessity.Optional, "easypost_details", "action")] + public string? Action { get; set; } + + /// + /// Type of carrier account for the FedEx registration. + /// + [TopLevelRequestParameter(Necessity.Optional, "easypost_details", "type")] + public string? Type { get; set; } + /// /// Carrier account ID for the FedEx registration. /// diff --git a/EasyPost/Properties/VersionInfo.cs b/EasyPost/Properties/VersionInfo.cs index 8295288f..f584e89b 100644 --- a/EasyPost/Properties/VersionInfo.cs +++ b/EasyPost/Properties/VersionInfo.cs @@ -2,6 +2,6 @@ // Version information for an assembly must follow semantic versioning // When releasing a release candidate, append a 4th digit being the number of the release candidate -[assembly: AssemblyVersion("7.5.0")] -[assembly: AssemblyFileVersion("7.5.0")] -[assembly: AssemblyInformationalVersion("7.5.0")] +[assembly: AssemblyVersion("7.6.0")] +[assembly: AssemblyFileVersion("7.6.0")] +[assembly: AssemblyInformationalVersion("7.6.0")]