Skip to content

Commit

Permalink
Merge pull request #69 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
MicheleRezk authored Jun 29, 2021
2 parents 10d90ed + 6ef56c2 commit fbe42fd
Show file tree
Hide file tree
Showing 23 changed files with 63 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using commercetools.Api.Models.OrderEdits;
using commercetools.Api.Models.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -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;}

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;}

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using commercetools.Api.Models.OrderEdits;
using commercetools.Api.Models.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -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;}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using commercetools.Api.Models.OrderEdits;
using commercetools.Api.Models.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -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;}

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using commercetools.Api.Models.OrderEdits;
using commercetools.Api.Models.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -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;}

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using commercetools.Api.Models.OrderEdits;
using commercetools.Api.Models.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -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";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -9,7 +9,7 @@

namespace commercetools.Api.Models.OrderEdits
{
public partial class OrderEditSetDeliveryAddressCustomFieldAction : IOrderEditSetDeliveryAddressCustomFieldAction
public partial class StagedOrderSetDeliveryAddressCustomFieldAction : IStagedOrderSetDeliveryAddressCustomFieldAction
{
public string Action { get; set;}

Expand All @@ -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";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using commercetools.Api.Models.OrderEdits;
using commercetools.Api.Models.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -8,7 +8,7 @@

namespace commercetools.Api.Models.OrderEdits
{
public partial class OrderEditSetDeliveryAddressCustomTypeAction : IOrderEditSetDeliveryAddressCustomTypeAction
public partial class StagedOrderSetDeliveryAddressCustomTypeAction : IStagedOrderSetDeliveryAddressCustomTypeAction
{
public string Action { get; set;}

Expand All @@ -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";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using commercetools.Api.Models.OrderEdits;
using commercetools.Api.Models.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -8,7 +8,7 @@

namespace commercetools.Api.Models.OrderEdits
{
public partial class OrderEditSetItemShippingAddressCustomFieldAction : IOrderEditSetItemShippingAddressCustomFieldAction
public partial class StagedOrderSetItemShippingAddressCustomFieldAction : IStagedOrderSetItemShippingAddressCustomFieldAction
{
public string Action { get; set;}

Expand All @@ -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";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -9,7 +9,7 @@

namespace commercetools.Api.Models.OrderEdits
{
public partial class OrderEditSetItemShippingAddressCustomTypeAction : IOrderEditSetItemShippingAddressCustomTypeAction
public partial class StagedOrderSetItemShippingAddressCustomTypeAction : IStagedOrderSetItemShippingAddressCustomTypeAction
{
public string Action { get; set;}

Expand All @@ -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";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using commercetools.Api.Models.OrderEdits;
using commercetools.Api.Models.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
Expand All @@ -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";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand All @@ -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))]
Expand All @@ -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))]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=82c9e4f9b043e36d9580c827976b36dd1420d22b
hash=521347af873c8879ba5c9605af6a28958010c4e3
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ public partial interface IProductVariantPatch
IProductVariantKeyReference ProductVariant { get; set;}

IAttributes Attributes { get; set;}

bool? Staged { get; set;}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ public partial class ProductVariantPatch : IProductVariantPatch
public IProductVariantKeyReference ProductVariant { get; set;}

public IAttributes Attributes { get; set;}

public bool? Staged { get; set;}
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=82c9e4f9b043e36d9580c827976b36dd1420d22b
hash=521347af873c8879ba5c9605af6a28958010c4e3
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=82c9e4f9b043e36d9580c827976b36dd1420d22b
hash=521347af873c8879ba5c9605af6a28958010c4e3

0 comments on commit fbe42fd

Please sign in to comment.