diff --git a/changes.md b/changes.md index f8305c9efcb..f6b53f2cb1e 100644 --- a/changes.md +++ b/changes.md @@ -26,9 +26,17 @@ +
+Removed Type(s) + +- :warning: removed type `ProductSearchStatus` +
+ +
Added Enum(s) +- added enum `customer-group` to type `ExtensionResourceTypeId` - added enum `product-tailoring` to type `MessageSubscriptionResourceTypeId` - added enum `product-tailoring` to type `ResourceTypeId`
diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Extensions/ExtensionResourceTypeId.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Extensions/ExtensionResourceTypeId.cs index 9c62e3d6714..0cd1d93a79c 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Extensions/ExtensionResourceTypeId.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Extensions/ExtensionResourceTypeId.cs @@ -22,6 +22,9 @@ public enum ExtensionResourceTypeId [Description("customer")] Customer, + [Description("customer-group")] + CustomerGroup, + [Description("quote-request")] QuoteRequest, @@ -73,6 +76,9 @@ public interface IExtensionResourceTypeId : IJsonName, IEnumerable public static IExtensionResourceTypeId Customer = new ExtensionResourceTypeIdWrapper { Value = ExtensionResourceTypeId.Customer, JsonName = "customer" }; + public static IExtensionResourceTypeId CustomerGroup = new ExtensionResourceTypeIdWrapper + { Value = ExtensionResourceTypeId.CustomerGroup, JsonName = "customer-group" }; + public static IExtensionResourceTypeId QuoteRequest = new ExtensionResourceTypeIdWrapper { Value = ExtensionResourceTypeId.QuoteRequest, JsonName = "quote-request" }; @@ -98,6 +104,7 @@ static IExtensionResourceTypeId[] Values() Order , Payment , Customer , + CustomerGroup , QuoteRequest , StagedQuote , Quote , diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ProductSearchStatus.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ProductSearchStatus.cs deleted file mode 100644 index 60b9842177b..00000000000 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ProductSearchStatus.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using commercetools.Base.CustomAttributes; -using commercetools.Base.Models; - -// ReSharper disable CheckNamespace -namespace commercetools.Sdk.Api.Models.Projects -{ - public enum ProductSearchStatus - { - [Description("Activated")] - Activated, - - [Description("Deactivated")] - Deactivated - } - - public class ProductSearchStatusWrapper : IProductSearchStatus - { - public string JsonName { get; internal set; } - public ProductSearchStatus? Value { get; internal set; } - public override string ToString() - { - return JsonName; - } - - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - - public new IEnumerator GetEnumerator() - { - return JsonName.GetEnumerator(); - } - } - - [EnumInterfaceCreator(typeof(IProductSearchStatus), "FindEnum")] - public interface IProductSearchStatus : IJsonName, IEnumerable - { - public static IProductSearchStatus Activated = new ProductSearchStatusWrapper - { Value = ProductSearchStatus.Activated, JsonName = "Activated" }; - - public static IProductSearchStatus Deactivated = new ProductSearchStatusWrapper - { Value = ProductSearchStatus.Deactivated, JsonName = "Deactivated" }; - - ProductSearchStatus? Value { get; } - - static IProductSearchStatus[] Values() - { - return new[] - { - Activated , - Deactivated - }; - } - static IProductSearchStatus FindEnum(string value) - { - return Values().FirstOrDefault(origin => origin.JsonName == value) ?? new ProductSearchStatusWrapper() { JsonName = value }; - } - } -} diff --git a/references.txt b/references.txt index 8f021348f71..4cffc212aa4 100644 --- a/references.txt +++ b/references.txt @@ -282,3 +282,5 @@ ce56ab7c65a688f75d5cd4095378d6647c6bd9ae d947f454821e0834a2c8a8605d4a0f3347c11d4e 58b253e878bca9833c1735913f764f4f479c1c9a efc70952597a3160e6bb47891894b109bd82b7c3 +4ee8b39787eb0f0b2d025520acdaa022122bd617 +c77ec902f368c2c31505fcb65a835ce148350077