diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Categories/ICategoryImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Categories/ICategoryImport.cs index dfeeff93a93..619de2aa018 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Categories/ICategoryImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Categories/ICategoryImport.cs @@ -10,6 +10,8 @@ namespace commercetools.Sdk.ImportApi.Models.Categories [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Categories.CategoryImport))] public partial interface ICategoryImport : IImportResource { + new string Key { get; set; } + ILocalizedString Name { get; set; } ILocalizedString Slug { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/ImportResourceType.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/ImportResourceType.cs index 98a86492629..e92fa2a0ed9 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/ImportResourceType.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Common/ImportResourceType.cs @@ -13,6 +13,12 @@ public enum ImportResourceType [Description("category")] Category, + [Description("customer")] + Customer, + + [Description("inventory")] + Inventory, + [Description("order")] Order, @@ -37,12 +43,6 @@ public enum ImportResourceType [Description("product-variant-patch")] ProductVariantPatch, - [Description("customer")] - Customer, - - [Description("inventory")] - Inventory, - [Description("standalone-price")] StandalonePrice, @@ -76,6 +76,12 @@ public interface IImportResourceType : IJsonName, IEnumerable public static IImportResourceType Category = new ImportResourceTypeWrapper { Value = ImportResourceType.Category, JsonName = "category" }; + public static IImportResourceType Customer = new ImportResourceTypeWrapper + { Value = ImportResourceType.Customer, JsonName = "customer" }; + + public static IImportResourceType Inventory = new ImportResourceTypeWrapper + { Value = ImportResourceType.Inventory, JsonName = "inventory" }; + public static IImportResourceType Order = new ImportResourceTypeWrapper { Value = ImportResourceType.Order, JsonName = "order" }; @@ -100,12 +106,6 @@ public interface IImportResourceType : IJsonName, IEnumerable public static IImportResourceType ProductVariantPatch = new ImportResourceTypeWrapper { Value = ImportResourceType.ProductVariantPatch, JsonName = "product-variant-patch" }; - public static IImportResourceType Customer = new ImportResourceTypeWrapper - { Value = ImportResourceType.Customer, JsonName = "customer" }; - - public static IImportResourceType Inventory = new ImportResourceTypeWrapper - { Value = ImportResourceType.Inventory, JsonName = "inventory" }; - public static IImportResourceType StandalonePrice = new ImportResourceTypeWrapper { Value = ImportResourceType.StandalonePrice, JsonName = "standalone-price" }; @@ -119,6 +119,8 @@ static IImportResourceType[] Values() return new[] { Category , + Customer , + Inventory , Order , OrderPatch , Price , @@ -127,8 +129,6 @@ static IImportResourceType[] Values() ProductType , ProductVariant , ProductVariantPatch , - Customer , - Inventory , StandalonePrice , Type }; diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Customers/ICustomerImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Customers/ICustomerImport.cs index 072c10b48d0..bd42c10b4a0 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Customers/ICustomerImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Customers/ICustomerImport.cs @@ -11,6 +11,8 @@ namespace commercetools.Sdk.ImportApi.Models.Customers [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Customers.CustomerImport))] public partial interface ICustomerImport : IImportResource { + new string Key { get; set; } + string CustomerNumber { get; set; } string Email { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Inventories/IInventoryImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Inventories/IInventoryImport.cs index 51a49236a20..191273136fc 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Inventories/IInventoryImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Inventories/IInventoryImport.cs @@ -9,6 +9,8 @@ namespace commercetools.Sdk.ImportApi.Models.Inventories [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Inventories.InventoryImport))] public partial interface IInventoryImport : IImportResource { + new string Key { get; set; } + string Sku { get; set; } long QuantityOnStock { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productdrafts/IProductDraftImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productdrafts/IProductDraftImport.cs index b7a2098448f..68aaafc4735 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productdrafts/IProductDraftImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productdrafts/IProductDraftImport.cs @@ -10,6 +10,8 @@ namespace commercetools.Sdk.ImportApi.Models.Productdrafts [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Productdrafts.ProductDraftImport))] public partial interface IProductDraftImport : IImportResource { + new string Key { get; set; } + IProductTypeKeyReference ProductType { get; set; } ILocalizedString Name { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Products/IProductImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Products/IProductImport.cs index 7c3085ca7f5..693c4e6fa72 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Products/IProductImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Products/IProductImport.cs @@ -9,6 +9,8 @@ namespace commercetools.Sdk.ImportApi.Models.Products [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Products.ProductImport))] public partial interface IProductImport : IImportResource { + new string Key { get; set; } + ILocalizedString Name { get; set; } IProductTypeKeyReference ProductType { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Producttypes/IProductTypeImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Producttypes/IProductTypeImport.cs index 6673b5aa88c..1a384f02a5e 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Producttypes/IProductTypeImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Producttypes/IProductTypeImport.cs @@ -9,6 +9,8 @@ namespace commercetools.Sdk.ImportApi.Models.Producttypes [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Producttypes.ProductTypeImport))] public partial interface IProductTypeImport : IImportResource { + new string Key { get; set; } + string Name { get; set; } string Description { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantImport.cs index bc873895e27..e07ffbf353c 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantImport.cs @@ -9,6 +9,8 @@ namespace commercetools.Sdk.ImportApi.Models.Productvariants [DeserializeAs(typeof(commercetools.Sdk.ImportApi.Models.Productvariants.ProductVariantImport))] public partial interface IProductVariantImport : IImportResource { + new string Key { get; set; } + string Sku { get; set; } bool IsMasterVariant { get; set; } diff --git a/references.txt b/references.txt index 6206de80e81..aa3c42e032a 100644 --- a/references.txt +++ b/references.txt @@ -161,3 +161,4 @@ a42ea3414ae796fb2950409c4b0df88b49630af1 118a45bf478b36709843956b5e0e83373dad5aaf c17d9815d8163758428e4d795d226da174d04a2f a384c593b1d1c14c2f8d601afbe1b588521b860e +7942537a940b53819589e48a59e059ff708d5698