diff --git a/src/OrderCloud.SDK/Generated/ErrorCodes.cs b/src/OrderCloud.SDK/Generated/ErrorCodes.cs
index b65345f..507f5aa 100644
--- a/src/OrderCloud.SDK/Generated/ErrorCodes.cs
+++ b/src/OrderCloud.SDK/Generated/ErrorCodes.cs
@@ -264,6 +264,13 @@ public static class IntegrationEvent
/// There are no ShipEstimates in your ShipEstimateResponse. Estimate Shipping needs to return at least one ShipEstimate before saving a shipping method.
public const string MustHaveShipEstimates = "IntegrationEvent.MustHaveShipEstimates";
}
+ public static class Integration
+ {
+ /// CustomAuthHeaderName is required when CustomAuthHeaderValue is provided.
+ public const string CustomAuthHeaderNameRequired = "Integration.CustomAuthHeaderNameRequired";
+ /// CustomAuthHeaderValue is required when CustomAuthHeaderName is provided.
+ public const string CustomAuthHeaderValueRequired = "Integration.CustomAuthHeaderValueRequired";
+ }
public static class Inventory
{
/// Insufficient inventory for this product.
@@ -426,8 +433,8 @@ public static class OrderReturn
public const string CannotCancelUnsubmitted = "OrderReturn.CannotCancelUnsubmitted";
/// Cannot complete an order return with this status. OrderReturn status must be Open.
public const string CannotCompleteBadStatus = "OrderReturn.CannotCompleteBadStatus";
- /// Cannot submit an order return with no refund amount.
- public const string CannotCompleteNoRefund = "OrderReturn.CannotCompleteNoRefund";
+ /// Cannot complete an order return with a null or negative RefundAmount.
+ public const string CannotCompleteInvalidAmount = "OrderReturn.CannotCompleteInvalidAmount";
/// Product is not eligible to return.
public const string ProductNotEligibleToReturn = "OrderReturn.ProductNotEligibleToReturn";
/// OrderReturn payment value must be negative.
@@ -709,6 +716,8 @@ public static class SecurityProfile
public const string CannotProvideSupplierID = "SecurityProfile.CannotProvideSupplierID";
/// Cannot specify MinimumCharacterCount of less than 10.
public const string InvalidPasswordConfiguration = "SecurityProfile.InvalidPasswordConfiguration";
+ /// Security profiles from external role groups are read-only.
+ public const string ExternalRoleGroupReadOnly = "SecurityProfile.ExternalRoleGroupReadOnly";
}
public static class Seller
{
diff --git a/src/OrderCloud.SDK/Generated/Models.cs b/src/OrderCloud.SDK/Generated/Models.cs
index 829a624..15e3a74 100644
--- a/src/OrderCloud.SDK/Generated/Models.cs
+++ b/src/OrderCloud.SDK/Generated/Models.cs
@@ -3065,6 +3065,9 @@ public class SecurityProfile : OrderCloudModel
public IList CustomRoles { get => GetProp>("CustomRoles", new List()); set => SetProp>("CustomRoles", value); }
/// Password config of the security profile.
public PasswordConfig PasswordConfig { get => GetProp("PasswordConfig"); set => SetProp("PasswordConfig", value); }
+ /// Is external role group of the security profile.
+ [ApiReadOnly]
+ public bool IsExternalRoleGroup { get => GetProp("IsExternalRoleGroup"); set => SetProp("IsExternalRoleGroup", value); }
}
public class SecurityProfileAssignment : OrderCloudModel
{
@@ -3450,6 +3453,9 @@ public class Subscription : OrderCloudModel
public string BillingAddressID { get => GetProp("BillingAddressID"); set => SetProp("BillingAddressID", value); }
/// ID of the shipping address.
public string ShippingAddressID { get => GetProp("ShippingAddressID"); set => SetProp("ShippingAddressID", value); }
+ /// Tentative subtotal of next subscription order. Based on current known pricing; avoid if product or pricing is provided by an external integration.
+ [ApiReadOnly]
+ public decimal ProjectedSubtotal { get => GetProp("ProjectedSubtotal"); set => SetProp("ProjectedSubtotal", value); }
/// Container for extended (custom) properties of the subscription.
public dynamic xp { get => GetProp("xp", new ExpandoObject()); set => SetProp("xp", value); }
}
diff --git a/src/OrderCloud.SDK/OrderCloud.SDK.csproj b/src/OrderCloud.SDK/OrderCloud.SDK.csproj
index fd8914d..c958abd 100644
--- a/src/OrderCloud.SDK/OrderCloud.SDK.csproj
+++ b/src/OrderCloud.SDK/OrderCloud.SDK.csproj
@@ -4,7 +4,7 @@
netstandard2.0;net461
True
- 0.18.11
+ 0.18.12
OrderCloud.SDK
OrderCloud SDK
Todd Menier