diff --git a/changes.md b/changes.md index 30c4f6223ac..d21a8351c42 100644 --- a/changes.md +++ b/changes.md @@ -22,6 +22,14 @@ +
+Removed Type(s) + +- :warning: removed type `NotEnabledError` +- :warning: removed type `GraphQLNotEnabledError` +
+ +
Added Method(s) diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/GraphQLNotEnabledError.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/GraphQLNotEnabledError.cs deleted file mode 100644 index a8bcfeb1299..00000000000 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/GraphQLNotEnabledError.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace commercetools.Sdk.Api.Models.Errors -{ - - public partial class GraphQLNotEnabledError : IGraphQLNotEnabledError - { - public string Code { get; set; } - public GraphQLNotEnabledError() - { - this.Code = "NotEnabled"; - } - } -} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IErrorObject.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IErrorObject.cs index c0ff2e037b1..7baf9e8494d 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IErrorObject.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IErrorObject.cs @@ -57,7 +57,6 @@ namespace commercetools.Sdk.Api.Models.Errors [SubTypeDiscriminator("MissingTaxRateForCountry", typeof(commercetools.Sdk.Api.Models.Errors.MissingTaxRateForCountryError))] [SubTypeDiscriminator("MoneyOverflow", typeof(commercetools.Sdk.Api.Models.Errors.MoneyOverflowError))] [SubTypeDiscriminator("NoMatchingProductDiscountFound", typeof(commercetools.Sdk.Api.Models.Errors.NoMatchingProductDiscountFoundError))] - [SubTypeDiscriminator("NotEnabled", typeof(commercetools.Sdk.Api.Models.Errors.NotEnabledError))] [SubTypeDiscriminator("ObjectNotFound", typeof(commercetools.Sdk.Api.Models.Errors.ObjectNotFoundError))] [SubTypeDiscriminator("OutOfStock", typeof(commercetools.Sdk.Api.Models.Errors.OutOfStockError))] [SubTypeDiscriminator("OverCapacity", typeof(commercetools.Sdk.Api.Models.Errors.OverCapacityError))] @@ -394,12 +393,6 @@ static commercetools.Sdk.Api.Models.Errors.NoMatchingProductDiscountFoundError N init?.Invoke(t); return t; } - static commercetools.Sdk.Api.Models.Errors.NotEnabledError NotEnabled(Action init = null) - { - var t = new commercetools.Sdk.Api.Models.Errors.NotEnabledError(); - init?.Invoke(t); - return t; - } static commercetools.Sdk.Api.Models.Errors.ObjectNotFoundError ObjectNotFound(Action init = null) { var t = new commercetools.Sdk.Api.Models.Errors.ObjectNotFoundError(); diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IGraphQLErrorObject.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IGraphQLErrorObject.cs index 94e1efc99d3..dcb9756572f 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IGraphQLErrorObject.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IGraphQLErrorObject.cs @@ -57,7 +57,6 @@ namespace commercetools.Sdk.Api.Models.Errors [SubTypeDiscriminator("MissingTaxRateForCountry", typeof(commercetools.Sdk.Api.Models.Errors.GraphQLMissingTaxRateForCountryError))] [SubTypeDiscriminator("MoneyOverflow", typeof(commercetools.Sdk.Api.Models.Errors.GraphQLMoneyOverflowError))] [SubTypeDiscriminator("NoMatchingProductDiscountFound", typeof(commercetools.Sdk.Api.Models.Errors.GraphQLNoMatchingProductDiscountFoundError))] - [SubTypeDiscriminator("NotEnabled", typeof(commercetools.Sdk.Api.Models.Errors.GraphQLNotEnabledError))] [SubTypeDiscriminator("ObjectNotFound", typeof(commercetools.Sdk.Api.Models.Errors.GraphQLObjectNotFoundError))] [SubTypeDiscriminator("OutOfStock", typeof(commercetools.Sdk.Api.Models.Errors.GraphQLOutOfStockError))] [SubTypeDiscriminator("OverCapacity", typeof(commercetools.Sdk.Api.Models.Errors.GraphQLOverCapacityError))] @@ -392,12 +391,6 @@ static commercetools.Sdk.Api.Models.Errors.GraphQLNoMatchingProductDiscountFound init?.Invoke(t); return t; } - static commercetools.Sdk.Api.Models.Errors.GraphQLNotEnabledError NotEnabled(Action init = null) - { - var t = new commercetools.Sdk.Api.Models.Errors.GraphQLNotEnabledError(); - init?.Invoke(t); - return t; - } static commercetools.Sdk.Api.Models.Errors.GraphQLObjectNotFoundError ObjectNotFound(Action init = null) { var t = new commercetools.Sdk.Api.Models.Errors.GraphQLObjectNotFoundError(); diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IGraphQLNotEnabledError.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IGraphQLNotEnabledError.cs deleted file mode 100644 index 32299311d95..00000000000 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/IGraphQLNotEnabledError.cs +++ /dev/null @@ -1,12 +0,0 @@ -using commercetools.Base.CustomAttributes; - -// ReSharper disable CheckNamespace -namespace commercetools.Sdk.Api.Models.Errors -{ - [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Errors.GraphQLNotEnabledError))] - public partial interface IGraphQLNotEnabledError : IGraphQLErrorObject - { - new string Code { get; set; } - - } -} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/INotEnabledError.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/INotEnabledError.cs deleted file mode 100644 index 0239e826c4f..00000000000 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/INotEnabledError.cs +++ /dev/null @@ -1,14 +0,0 @@ -using commercetools.Base.CustomAttributes; - -// ReSharper disable CheckNamespace -namespace commercetools.Sdk.Api.Models.Errors -{ - [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Errors.NotEnabledError))] - public partial interface INotEnabledError : IErrorObject - { - new string Code { get; set; } - - new string Message { get; set; } - - } -} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/NotEnabledError.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/NotEnabledError.cs deleted file mode 100644 index 33ca2b590ac..00000000000 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Errors/NotEnabledError.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace commercetools.Sdk.Api.Models.Errors -{ - - public partial class NotEnabledError : INotEnabledError - { - public string Code { get; set; } - - public string Message { get; set; } - public NotEnabledError() - { - this.Code = "NotEnabled"; - } - } -} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/ErrorObjectQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/ErrorObjectQueryBuilderDsl.cs index ddf4e5b1834..7eee18d7f3c 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/ErrorObjectQueryBuilderDsl.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/ErrorObjectQueryBuilderDsl.cs @@ -334,12 +334,6 @@ public CombinationQueryPredicate AsNoMatchingProduct return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Errors.NoMatchingProductDiscountFoundErrorQueryBuilderDsl.Of()), ErrorObjectQueryBuilderDsl.Of); } - public CombinationQueryPredicate AsNotEnabled( - Func> fn) - { - return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Errors.NotEnabledErrorQueryBuilderDsl.Of()), - ErrorObjectQueryBuilderDsl.Of); - } public CombinationQueryPredicate AsObjectNotFound( Func> fn) { diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLErrorObjectQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLErrorObjectQueryBuilderDsl.cs index 0e25c96549e..3a6a4739f64 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLErrorObjectQueryBuilderDsl.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLErrorObjectQueryBuilderDsl.cs @@ -328,12 +328,6 @@ public CombinationQueryPredicate AsNoMatching return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Errors.GraphQLNoMatchingProductDiscountFoundErrorQueryBuilderDsl.Of()), GraphQLErrorObjectQueryBuilderDsl.Of); } - public CombinationQueryPredicate AsNotEnabled( - Func> fn) - { - return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Errors.GraphQLNotEnabledErrorQueryBuilderDsl.Of()), - GraphQLErrorObjectQueryBuilderDsl.Of); - } public CombinationQueryPredicate AsObjectNotFound( Func> fn) { diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLNotEnabledErrorQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLNotEnabledErrorQueryBuilderDsl.cs deleted file mode 100644 index 9a98661cfa5..00000000000 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/GraphQLNotEnabledErrorQueryBuilderDsl.cs +++ /dev/null @@ -1,24 +0,0 @@ -// ReSharper disable CheckNamespace -namespace commercetools.Sdk.Api.Predicates.Query.Errors -{ - - public partial class GraphQLNotEnabledErrorQueryBuilderDsl - { - public GraphQLNotEnabledErrorQueryBuilderDsl() - { - } - - public static GraphQLNotEnabledErrorQueryBuilderDsl Of() - { - return new GraphQLNotEnabledErrorQueryBuilderDsl(); - } - - public IComparisonPredicateBuilder Code() - { - return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("code")), - p => new CombinationQueryPredicate(p, GraphQLNotEnabledErrorQueryBuilderDsl.Of), - PredicateFormatter.Format); - } - - } -} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/NotEnabledErrorQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/NotEnabledErrorQueryBuilderDsl.cs deleted file mode 100644 index e31c4b691ba..00000000000 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Errors/NotEnabledErrorQueryBuilderDsl.cs +++ /dev/null @@ -1,30 +0,0 @@ -// ReSharper disable CheckNamespace -namespace commercetools.Sdk.Api.Predicates.Query.Errors -{ - - public partial class NotEnabledErrorQueryBuilderDsl - { - public NotEnabledErrorQueryBuilderDsl() - { - } - - public static NotEnabledErrorQueryBuilderDsl Of() - { - return new NotEnabledErrorQueryBuilderDsl(); - } - - public IComparisonPredicateBuilder Code() - { - return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("code")), - p => new CombinationQueryPredicate(p, NotEnabledErrorQueryBuilderDsl.Of), - PredicateFormatter.Format); - } - public IComparisonPredicateBuilder Message() - { - return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("message")), - p => new CombinationQueryPredicate(p, NotEnabledErrorQueryBuilderDsl.Of), - PredicateFormatter.Format); - } - - } -} diff --git a/references.txt b/references.txt index ff7dbfacf59..51c57190039 100644 --- a/references.txt +++ b/references.txt @@ -189,3 +189,4 @@ c633a41c164e2dbf2201dd9856c18d5336b0ac5d 70d15e13efcbf54dd231b1f2cfbec50da95de1a3 8f05884799f311b3f09307fb57c2846383c96371 de39b32f1f157ed82869e1c07c1963615d571f87 +d29ffbb65f68b7dd7623956b7e6151454bea2fea