diff --git a/changes.md b/changes.md index 07bc86e10d6..05db4c4e8bd 100644 --- a/changes.md +++ b/changes.md @@ -1,5 +1,12 @@ **Api changes** +
+Removed Type(s) + +- :warning: removed type `ProductSearchFacetScope` +
+ +
Added Type(s) diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ProductSearches/ProductSearchFacetScope.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ProductSearches/ProductSearchFacetScope.cs deleted file mode 100644 index 35eb73005f5..00000000000 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ProductSearches/ProductSearchFacetScope.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.ProductSearches -{ - public enum ProductSearchFacetScope - { - [Description("all")] - All, - - [Description("query")] - Query - } - - public class ProductSearchFacetScopeWrapper : IProductSearchFacetScope - { - public string JsonName { get; internal set; } - public ProductSearchFacetScope? Value { get; internal set; } - public override string ToString() - { - return JsonName; - } - - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - - public new IEnumerator GetEnumerator() - { - return JsonName.GetEnumerator(); - } - } - - [EnumInterfaceCreator(typeof(IProductSearchFacetScope), "FindEnum")] - public interface IProductSearchFacetScope : IJsonName, IEnumerable - { - public static IProductSearchFacetScope All = new ProductSearchFacetScopeWrapper - { Value = ProductSearchFacetScope.All, JsonName = "all" }; - - public static IProductSearchFacetScope Query = new ProductSearchFacetScopeWrapper - { Value = ProductSearchFacetScope.Query, JsonName = "query" }; - - ProductSearchFacetScope? Value { get; } - - static IProductSearchFacetScope[] Values() - { - return new[] - { - All , - Query - }; - } - static IProductSearchFacetScope FindEnum(string value) - { - return Values().FirstOrDefault(origin => origin.JsonName == value) ?? new ProductSearchFacetScopeWrapper() { JsonName = value }; - } - } -} diff --git a/references.txt b/references.txt index 2ff1b1ee5b5..c97cc86c304 100644 --- a/references.txt +++ b/references.txt @@ -312,3 +312,4 @@ e18cd8073ea975fe92c1bad4dea957b16ee0b1c4 bfbd1780852675d9974bf71bea4afff569a4cc00 ad99469046af42aaf1e65fe1a82a2188ba6a3a3f b71e64cba7a81b26a5892daca52a9715fd32c05f +159b6f682f761a18daea978cdb2760e7713e0000