Skip to content
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
13 changes: 11 additions & 2 deletions src/OrderCloud.SDK/Generated/ErrorCodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,13 @@ public static class IntegrationEvent
/// <summary>There are no ShipEstimates in your ShipEstimateResponse. Estimate Shipping needs to return at least one ShipEstimate before saving a shipping method.</summary>
public const string MustHaveShipEstimates = "IntegrationEvent.MustHaveShipEstimates";
}
public static class Integration
{
/// <summary>CustomAuthHeaderName is required when CustomAuthHeaderValue is provided.</summary>
public const string CustomAuthHeaderNameRequired = "Integration.CustomAuthHeaderNameRequired";
/// <summary>CustomAuthHeaderValue is required when CustomAuthHeaderName is provided.</summary>
public const string CustomAuthHeaderValueRequired = "Integration.CustomAuthHeaderValueRequired";
}
public static class Inventory
{
/// <summary>Insufficient inventory for this product.</summary>
Expand Down Expand Up @@ -426,8 +433,8 @@ public static class OrderReturn
public const string CannotCancelUnsubmitted = "OrderReturn.CannotCancelUnsubmitted";
/// <summary>Cannot complete an order return with this status. OrderReturn status must be Open.</summary>
public const string CannotCompleteBadStatus = "OrderReturn.CannotCompleteBadStatus";
/// <summary>Cannot submit an order return with no refund amount.</summary>
public const string CannotCompleteNoRefund = "OrderReturn.CannotCompleteNoRefund";
/// <summary>Cannot complete an order return with a null or negative RefundAmount.</summary>
public const string CannotCompleteInvalidAmount = "OrderReturn.CannotCompleteInvalidAmount";
/// <summary>Product is not eligible to return.</summary>
public const string ProductNotEligibleToReturn = "OrderReturn.ProductNotEligibleToReturn";
/// <summary>OrderReturn payment value must be negative.</summary>
Expand Down Expand Up @@ -709,6 +716,8 @@ public static class SecurityProfile
public const string CannotProvideSupplierID = "SecurityProfile.CannotProvideSupplierID";
/// <summary>Cannot specify MinimumCharacterCount of less than 10.</summary>
public const string InvalidPasswordConfiguration = "SecurityProfile.InvalidPasswordConfiguration";
/// <summary>Security profiles from external role groups are read-only.</summary>
public const string ExternalRoleGroupReadOnly = "SecurityProfile.ExternalRoleGroupReadOnly";
}
public static class Seller
{
Expand Down
6 changes: 6 additions & 0 deletions src/OrderCloud.SDK/Generated/Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3065,6 +3065,9 @@ public class SecurityProfile : OrderCloudModel
public IList<string> CustomRoles { get => GetProp<IList<string>>("CustomRoles", new List<string>()); set => SetProp<IList<string>>("CustomRoles", value); }
/// <summary>Password config of the security profile.</summary>
public PasswordConfig PasswordConfig { get => GetProp<PasswordConfig>("PasswordConfig"); set => SetProp<PasswordConfig>("PasswordConfig", value); }
/// <summary>Is external role group of the security profile.</summary>
[ApiReadOnly]
public bool IsExternalRoleGroup { get => GetProp<bool>("IsExternalRoleGroup"); set => SetProp<bool>("IsExternalRoleGroup", value); }
}
public class SecurityProfileAssignment : OrderCloudModel
{
Expand Down Expand Up @@ -3450,6 +3453,9 @@ public class Subscription : OrderCloudModel
public string BillingAddressID { get => GetProp<string>("BillingAddressID"); set => SetProp<string>("BillingAddressID", value); }
/// <summary>ID of the shipping address.</summary>
public string ShippingAddressID { get => GetProp<string>("ShippingAddressID"); set => SetProp<string>("ShippingAddressID", value); }
/// <summary>Tentative subtotal of next subscription order. Based on current known pricing; avoid if product or pricing is provided by an external integration.</summary>
[ApiReadOnly]
public decimal ProjectedSubtotal { get => GetProp<decimal>("ProjectedSubtotal"); set => SetProp<decimal>("ProjectedSubtotal", value); }
/// <summary>Container for extended (custom) properties of the subscription.</summary>
public dynamic xp { get => GetProp<dynamic>("xp", new ExpandoObject()); set => SetProp<dynamic>("xp", value); }
}
Expand Down
2 changes: 1 addition & 1 deletion src/OrderCloud.SDK/OrderCloud.SDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- https://docs.microsoft.com/en-us/dotnet/core/tools/csproj -->
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>0.18.11</Version>
<Version>0.18.12</Version>
<PackageId>OrderCloud.SDK</PackageId>
<Title>OrderCloud SDK</Title>
<Authors>Todd Menier</Authors>
Expand Down