diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditUpdateAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditUpdateAction.cs index c90f47f8b61..6c98583aeea 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditUpdateAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditUpdateAction.cs @@ -9,18 +9,10 @@ namespace commercetools.Api.Models.OrderEdits { [TypeDiscriminator(nameof(Action))] [SubTypeDiscriminator("addStagedAction", typeof(commercetools.Api.Models.OrderEdits.OrderEditAddStagedActionAction))] - [SubTypeDiscriminator("setBillingAddressCustomField", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetBillingAddressCustomFieldAction))] - [SubTypeDiscriminator("setBillingAddressCustomType", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetBillingAddressCustomTypeAction))] [SubTypeDiscriminator("setComment", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetCommentAction))] [SubTypeDiscriminator("setCustomField", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetCustomFieldAction))] [SubTypeDiscriminator("setCustomType", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetCustomTypeAction))] - [SubTypeDiscriminator("setDeliveryAddressCustomField", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetDeliveryAddressCustomFieldAction))] - [SubTypeDiscriminator("setDeliveryAddressCustomType", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetDeliveryAddressCustomTypeAction))] - [SubTypeDiscriminator("setItemShippingAddressCustomField", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetItemShippingAddressCustomFieldAction))] - [SubTypeDiscriminator("setItemShippingAddressCustomType", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetItemShippingAddressCustomTypeAction))] [SubTypeDiscriminator("setKey", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetKeyAction))] - [SubTypeDiscriminator("setShippingAddressCustomField", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetShippingAddressCustomFieldAction))] - [SubTypeDiscriminator("setShippingAddressCustomType", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetShippingAddressCustomTypeAction))] [SubTypeDiscriminator("setStagedActions", typeof(commercetools.Api.Models.OrderEdits.OrderEditSetStagedActionsAction))] public partial interface IOrderEditUpdateAction { diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetBillingAddressCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetBillingAddressCustomFieldAction.cs similarity index 53% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetBillingAddressCustomFieldAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetBillingAddressCustomFieldAction.cs index da5113c7d3f..b43d9a4c37b 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetBillingAddressCustomFieldAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetBillingAddressCustomFieldAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using System; using System.Collections.Generic; using System.Linq; @@ -8,8 +8,8 @@ namespace commercetools.Api.Models.OrderEdits { - [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.OrderEditSetBillingAddressCustomFieldAction))] - public partial interface IOrderEditSetBillingAddressCustomFieldAction : IOrderEditUpdateAction + [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetBillingAddressCustomFieldAction))] + public partial interface IStagedOrderSetBillingAddressCustomFieldAction : IStagedOrderUpdateAction { string Name { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetBillingAddressCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetBillingAddressCustomTypeAction.cs similarity index 58% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetBillingAddressCustomTypeAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetBillingAddressCustomTypeAction.cs index e1209265013..361a4575afb 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetBillingAddressCustomTypeAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetBillingAddressCustomTypeAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using commercetools.Api.Models.Types; using System; using System.Collections.Generic; @@ -9,8 +9,8 @@ namespace commercetools.Api.Models.OrderEdits { - [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.OrderEditSetBillingAddressCustomTypeAction))] - public partial interface IOrderEditSetBillingAddressCustomTypeAction : IOrderEditUpdateAction + [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetBillingAddressCustomTypeAction))] + public partial interface IStagedOrderSetBillingAddressCustomTypeAction : IStagedOrderUpdateAction { ITypeResourceIdentifier Type { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetDeliveryAddressCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetDeliveryAddressCustomFieldAction.cs similarity index 61% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetDeliveryAddressCustomFieldAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetDeliveryAddressCustomFieldAction.cs index 76767a7b592..74741902c63 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetDeliveryAddressCustomFieldAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetDeliveryAddressCustomFieldAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using commercetools.Api.Models.Types; using System; using System.Collections.Generic; @@ -9,8 +9,8 @@ namespace commercetools.Api.Models.OrderEdits { - [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.OrderEditSetDeliveryAddressCustomFieldAction))] - public partial interface IOrderEditSetDeliveryAddressCustomFieldAction : IOrderEditUpdateAction + [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetDeliveryAddressCustomFieldAction))] + public partial interface IStagedOrderSetDeliveryAddressCustomFieldAction : IStagedOrderUpdateAction { string DeliveryId { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetDeliveryAddressCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetDeliveryAddressCustomTypeAction.cs similarity index 57% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetDeliveryAddressCustomTypeAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetDeliveryAddressCustomTypeAction.cs index 95c28b76140..7d0b7312ca4 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetDeliveryAddressCustomTypeAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetDeliveryAddressCustomTypeAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using System; using System.Collections.Generic; using System.Linq; @@ -8,8 +8,8 @@ namespace commercetools.Api.Models.OrderEdits { - [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.OrderEditSetDeliveryAddressCustomTypeAction))] - public partial interface IOrderEditSetDeliveryAddressCustomTypeAction : IOrderEditUpdateAction + [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetDeliveryAddressCustomTypeAction))] + public partial interface IStagedOrderSetDeliveryAddressCustomTypeAction : IStagedOrderUpdateAction { string DeliveryId { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetItemShippingAddressCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetItemShippingAddressCustomFieldAction.cs similarity index 56% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetItemShippingAddressCustomFieldAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetItemShippingAddressCustomFieldAction.cs index 72d2293ee30..3178eb34eb1 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetItemShippingAddressCustomFieldAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetItemShippingAddressCustomFieldAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using System; using System.Collections.Generic; using System.Linq; @@ -8,8 +8,8 @@ namespace commercetools.Api.Models.OrderEdits { - [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.OrderEditSetItemShippingAddressCustomFieldAction))] - public partial interface IOrderEditSetItemShippingAddressCustomFieldAction : IOrderEditUpdateAction + [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetItemShippingAddressCustomFieldAction))] + public partial interface IStagedOrderSetItemShippingAddressCustomFieldAction : IStagedOrderUpdateAction { string AddressKey { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetItemShippingAddressCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetItemShippingAddressCustomTypeAction.cs similarity index 60% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetItemShippingAddressCustomTypeAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetItemShippingAddressCustomTypeAction.cs index a6df06bcc05..a04a6f8256c 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetItemShippingAddressCustomTypeAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetItemShippingAddressCustomTypeAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using commercetools.Api.Models.Types; using System; using System.Collections.Generic; @@ -9,8 +9,8 @@ namespace commercetools.Api.Models.OrderEdits { - [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.OrderEditSetItemShippingAddressCustomTypeAction))] - public partial interface IOrderEditSetItemShippingAddressCustomTypeAction : IOrderEditUpdateAction + [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetItemShippingAddressCustomTypeAction))] + public partial interface IStagedOrderSetItemShippingAddressCustomTypeAction : IStagedOrderUpdateAction { string AddressKey { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetShippingAddressCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetShippingAddressCustomFieldAction.cs similarity index 53% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetShippingAddressCustomFieldAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetShippingAddressCustomFieldAction.cs index cfa10f15534..0a9abc09b62 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetShippingAddressCustomFieldAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetShippingAddressCustomFieldAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using System; using System.Collections.Generic; using System.Linq; @@ -8,8 +8,8 @@ namespace commercetools.Api.Models.OrderEdits { - [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.OrderEditSetShippingAddressCustomFieldAction))] - public partial interface IOrderEditSetShippingAddressCustomFieldAction : IOrderEditUpdateAction + [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingAddressCustomFieldAction))] + public partial interface IStagedOrderSetShippingAddressCustomFieldAction : IStagedOrderUpdateAction { string Name { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetShippingAddressCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetShippingAddressCustomTypeAction.cs similarity index 58% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetShippingAddressCustomTypeAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetShippingAddressCustomTypeAction.cs index 3f37376160f..8a164b277fb 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IOrderEditSetShippingAddressCustomTypeAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/IStagedOrderSetShippingAddressCustomTypeAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using commercetools.Api.Models.Types; using System; using System.Collections.Generic; @@ -9,8 +9,8 @@ namespace commercetools.Api.Models.OrderEdits { - [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.OrderEditSetShippingAddressCustomTypeAction))] - public partial interface IOrderEditSetShippingAddressCustomTypeAction : IOrderEditUpdateAction + [DeserializeAs(typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingAddressCustomTypeAction))] + public partial interface IStagedOrderSetShippingAddressCustomTypeAction : IStagedOrderUpdateAction { ITypeResourceIdentifier Type { get; set;} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetBillingAddressCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetBillingAddressCustomFieldAction.cs similarity index 66% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetBillingAddressCustomFieldAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetBillingAddressCustomFieldAction.cs index 87d049f8fbc..f4ec230e7b5 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetBillingAddressCustomFieldAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetBillingAddressCustomFieldAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using System; using System.Collections.Generic; using System.Linq; @@ -8,14 +8,14 @@ namespace commercetools.Api.Models.OrderEdits { - public partial class OrderEditSetBillingAddressCustomFieldAction : IOrderEditSetBillingAddressCustomFieldAction + public partial class StagedOrderSetBillingAddressCustomFieldAction : IStagedOrderSetBillingAddressCustomFieldAction { public string Action { get; set;} public string Name { get; set;} public Object Value { get; set;} - public OrderEditSetBillingAddressCustomFieldAction() + public StagedOrderSetBillingAddressCustomFieldAction() { this.Action = "setBillingAddressCustomField"; } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetBillingAddressCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetBillingAddressCustomTypeAction.cs similarity index 69% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetBillingAddressCustomTypeAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetBillingAddressCustomTypeAction.cs index 3706ecf635a..ae267915c57 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetBillingAddressCustomTypeAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetBillingAddressCustomTypeAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using commercetools.Api.Models.Types; using System; using System.Collections.Generic; @@ -9,14 +9,14 @@ namespace commercetools.Api.Models.OrderEdits { - public partial class OrderEditSetBillingAddressCustomTypeAction : IOrderEditSetBillingAddressCustomTypeAction + public partial class StagedOrderSetBillingAddressCustomTypeAction : IStagedOrderSetBillingAddressCustomTypeAction { public string Action { get; set;} public ITypeResourceIdentifier Type { get; set;} public IFieldContainer Fields { get; set;} - public OrderEditSetBillingAddressCustomTypeAction() + public StagedOrderSetBillingAddressCustomTypeAction() { this.Action = "setBillingAddressCustomType"; } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetDeliveryAddressCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetDeliveryAddressCustomFieldAction.cs similarity index 71% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetDeliveryAddressCustomFieldAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetDeliveryAddressCustomFieldAction.cs index 9d63754d226..3da5b524e68 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetDeliveryAddressCustomFieldAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetDeliveryAddressCustomFieldAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using commercetools.Api.Models.Types; using System; using System.Collections.Generic; @@ -9,7 +9,7 @@ namespace commercetools.Api.Models.OrderEdits { - public partial class OrderEditSetDeliveryAddressCustomFieldAction : IOrderEditSetDeliveryAddressCustomFieldAction + public partial class StagedOrderSetDeliveryAddressCustomFieldAction : IStagedOrderSetDeliveryAddressCustomFieldAction { public string Action { get; set;} @@ -18,7 +18,7 @@ public partial class OrderEditSetDeliveryAddressCustomFieldAction : IOrderEditSe public ITypeResourceIdentifier Type { get; set;} public IFieldContainer Fields { get; set;} - public OrderEditSetDeliveryAddressCustomFieldAction() + public StagedOrderSetDeliveryAddressCustomFieldAction() { this.Action = "setDeliveryAddressCustomField"; } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetDeliveryAddressCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetDeliveryAddressCustomTypeAction.cs similarity index 68% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetDeliveryAddressCustomTypeAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetDeliveryAddressCustomTypeAction.cs index 7db8b0bc7dd..41f45136db4 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetDeliveryAddressCustomTypeAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetDeliveryAddressCustomTypeAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using System; using System.Collections.Generic; using System.Linq; @@ -8,7 +8,7 @@ namespace commercetools.Api.Models.OrderEdits { - public partial class OrderEditSetDeliveryAddressCustomTypeAction : IOrderEditSetDeliveryAddressCustomTypeAction + public partial class StagedOrderSetDeliveryAddressCustomTypeAction : IStagedOrderSetDeliveryAddressCustomTypeAction { public string Action { get; set;} @@ -17,7 +17,7 @@ public partial class OrderEditSetDeliveryAddressCustomTypeAction : IOrderEditSet public string Name { get; set;} public Object Value { get; set;} - public OrderEditSetDeliveryAddressCustomTypeAction() + public StagedOrderSetDeliveryAddressCustomTypeAction() { this.Action = "setDeliveryAddressCustomType"; } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetItemShippingAddressCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetItemShippingAddressCustomFieldAction.cs similarity index 67% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetItemShippingAddressCustomFieldAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetItemShippingAddressCustomFieldAction.cs index 178a8fe4734..eeb7e1f490a 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetItemShippingAddressCustomFieldAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetItemShippingAddressCustomFieldAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using System; using System.Collections.Generic; using System.Linq; @@ -8,7 +8,7 @@ namespace commercetools.Api.Models.OrderEdits { - public partial class OrderEditSetItemShippingAddressCustomFieldAction : IOrderEditSetItemShippingAddressCustomFieldAction + public partial class StagedOrderSetItemShippingAddressCustomFieldAction : IStagedOrderSetItemShippingAddressCustomFieldAction { public string Action { get; set;} @@ -17,7 +17,7 @@ public partial class OrderEditSetItemShippingAddressCustomFieldAction : IOrderEd public string Name { get; set;} public Object Value { get; set;} - public OrderEditSetItemShippingAddressCustomFieldAction() + public StagedOrderSetItemShippingAddressCustomFieldAction() { this.Action = "setItemShippingAddressCustomField"; } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetItemShippingAddressCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetItemShippingAddressCustomTypeAction.cs similarity index 70% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetItemShippingAddressCustomTypeAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetItemShippingAddressCustomTypeAction.cs index 6688b664ef7..df15f2812ba 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetItemShippingAddressCustomTypeAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetItemShippingAddressCustomTypeAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using commercetools.Api.Models.Types; using System; using System.Collections.Generic; @@ -9,7 +9,7 @@ namespace commercetools.Api.Models.OrderEdits { - public partial class OrderEditSetItemShippingAddressCustomTypeAction : IOrderEditSetItemShippingAddressCustomTypeAction + public partial class StagedOrderSetItemShippingAddressCustomTypeAction : IStagedOrderSetItemShippingAddressCustomTypeAction { public string Action { get; set;} @@ -18,7 +18,7 @@ public partial class OrderEditSetItemShippingAddressCustomTypeAction : IOrderEdi public ITypeResourceIdentifier Type { get; set;} public IFieldContainer Fields { get; set;} - public OrderEditSetItemShippingAddressCustomTypeAction() + public StagedOrderSetItemShippingAddressCustomTypeAction() { this.Action = "setItemShippingAddressCustomType"; } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetShippingAddressCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetShippingAddressCustomFieldAction.cs similarity index 65% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetShippingAddressCustomFieldAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetShippingAddressCustomFieldAction.cs index 71bd41955a1..48d2ea68f7b 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetShippingAddressCustomFieldAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetShippingAddressCustomFieldAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using System; using System.Collections.Generic; using System.Linq; @@ -8,14 +8,14 @@ namespace commercetools.Api.Models.OrderEdits { - public partial class OrderEditSetShippingAddressCustomFieldAction : IOrderEditSetShippingAddressCustomFieldAction + public partial class StagedOrderSetShippingAddressCustomFieldAction : IStagedOrderSetShippingAddressCustomFieldAction { public string Action { get; set;} public string Name { get; set;} public Object Value { get; set;} - public OrderEditSetShippingAddressCustomFieldAction() + public StagedOrderSetShippingAddressCustomFieldAction() { this.Action = "setShippingAddressCustomField"; } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetShippingAddressCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetShippingAddressCustomTypeAction.cs similarity index 69% rename from commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetShippingAddressCustomTypeAction.cs rename to commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetShippingAddressCustomTypeAction.cs index a37ad0db4c2..5f712dd05d0 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/OrderEditSetShippingAddressCustomTypeAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/OrderEdits/StagedOrderSetShippingAddressCustomTypeAction.cs @@ -1,4 +1,4 @@ -using commercetools.Api.Models.OrderEdits; +using commercetools.Api.Models.Orders; using commercetools.Api.Models.Types; using System; using System.Collections.Generic; @@ -9,14 +9,14 @@ namespace commercetools.Api.Models.OrderEdits { - public partial class OrderEditSetShippingAddressCustomTypeAction : IOrderEditSetShippingAddressCustomTypeAction + public partial class StagedOrderSetShippingAddressCustomTypeAction : IStagedOrderSetShippingAddressCustomTypeAction { public string Action { get; set;} public ITypeResourceIdentifier Type { get; set;} public IFieldContainer Fields { get; set;} - public OrderEditSetShippingAddressCustomTypeAction() + public StagedOrderSetShippingAddressCustomTypeAction() { this.Action = "setShippingAddressCustomType"; } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/IStagedOrderUpdateAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/IStagedOrderUpdateAction.cs index 4cd785897c4..dcf48a6a5e5 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/IStagedOrderUpdateAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Orders/IStagedOrderUpdateAction.cs @@ -36,6 +36,8 @@ namespace commercetools.Api.Models.Orders [SubTypeDiscriminator("removeParcelFromDelivery", typeof(commercetools.Api.Models.OrderEdits.StagedOrderRemoveParcelFromDeliveryAction))] [SubTypeDiscriminator("removePayment", typeof(commercetools.Api.Models.OrderEdits.StagedOrderRemovePaymentAction))] [SubTypeDiscriminator("setBillingAddress", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetBillingAddressAction))] + [SubTypeDiscriminator("setBillingAddressCustomField", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetBillingAddressCustomFieldAction))] + [SubTypeDiscriminator("setBillingAddressCustomType", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetBillingAddressCustomTypeAction))] [SubTypeDiscriminator("setCountry", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetCountryAction))] [SubTypeDiscriminator("setCustomerEmail", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetCustomerEmailAction))] [SubTypeDiscriminator("setCustomerGroup", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetCustomerGroupAction))] @@ -49,7 +51,11 @@ namespace commercetools.Api.Models.Orders [SubTypeDiscriminator("setCustomShippingMethod", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetCustomShippingMethodAction))] [SubTypeDiscriminator("setCustomType", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetCustomTypeAction))] [SubTypeDiscriminator("setDeliveryAddress", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetDeliveryAddressAction))] + [SubTypeDiscriminator("setDeliveryAddressCustomField", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetDeliveryAddressCustomFieldAction))] + [SubTypeDiscriminator("setDeliveryAddressCustomType", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetDeliveryAddressCustomTypeAction))] [SubTypeDiscriminator("setDeliveryItems", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetDeliveryItemsAction))] + [SubTypeDiscriminator("setItemShippingAddressCustomField", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetItemShippingAddressCustomFieldAction))] + [SubTypeDiscriminator("setItemShippingAddressCustomType", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetItemShippingAddressCustomTypeAction))] [SubTypeDiscriminator("setLineItemCustomField", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetLineItemCustomFieldAction))] [SubTypeDiscriminator("setLineItemCustomType", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetLineItemCustomTypeAction))] [SubTypeDiscriminator("setLineItemDistributionChannel", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetLineItemDistributionChannelAction))] @@ -69,6 +75,8 @@ namespace commercetools.Api.Models.Orders [SubTypeDiscriminator("setShippingAddress", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingAddressAction))] [SubTypeDiscriminator("setShippingAddressAndCustomShippingMethod", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingAddressAndCustomShippingMethodAction))] [SubTypeDiscriminator("setShippingAddressAndShippingMethod", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingAddressAndShippingMethodAction))] + [SubTypeDiscriminator("setShippingAddressCustomField", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingAddressCustomFieldAction))] + [SubTypeDiscriminator("setShippingAddressCustomType", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingAddressCustomTypeAction))] [SubTypeDiscriminator("setShippingMethod", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingMethodAction))] [SubTypeDiscriminator("setShippingMethodTaxAmount", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingMethodTaxAmountAction))] [SubTypeDiscriminator("setShippingMethodTaxRate", typeof(commercetools.Api.Models.OrderEdits.StagedOrderSetShippingMethodTaxRateAction))] diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties index 0a4254b7ae3..ec3aae949cf 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/gen.properties @@ -1 +1 @@ -hash=82c9e4f9b043e36d9580c827976b36dd1420d22b +hash=521347af873c8879ba5c9605af6a28958010c4e3 diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantPatch.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantPatch.cs index 48ed43283d6..c494fe3a893 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantPatch.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantPatch.cs @@ -15,5 +15,7 @@ public partial interface IProductVariantPatch IProductVariantKeyReference ProductVariant { get; set;} IAttributes Attributes { get; set;} + + bool? Staged { get; set;} } } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/ProductVariantPatch.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/ProductVariantPatch.cs index 1eb52ecc150..d2589a82af1 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/ProductVariantPatch.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/ProductVariantPatch.cs @@ -14,5 +14,7 @@ public partial class ProductVariantPatch : IProductVariantPatch public IProductVariantKeyReference ProductVariant { get; set;} public IAttributes Attributes { get; set;} + + public bool? Staged { get; set;} } } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties index 0a4254b7ae3..ec3aae949cf 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/gen.properties @@ -1 +1 @@ -hash=82c9e4f9b043e36d9580c827976b36dd1420d22b +hash=521347af873c8879ba5c9605af6a28958010c4e3 diff --git a/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties b/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties index 0a4254b7ae3..ec3aae949cf 100644 --- a/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties +++ b/commercetools.Sdk/commercetools.Sdk.MLApi/Generated/gen.properties @@ -1 +1 @@ -hash=82c9e4f9b043e36d9580c827976b36dd1420d22b +hash=521347af873c8879ba5c9605af6a28958010c4e3