From f16f22a1704c8ed2720b095f34ab540c2bef20c3 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:26:51 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 9 +++++++++ .../Models/Prices/IPriceImport.cs | 3 --- .../Models/Prices/PriceImport.cs | 3 --- .../Models/Productvariants/IProductVariantImport.cs | 4 ---- .../Models/Productvariants/ProductVariantImport.cs | 4 ---- references.txt | 1 + 6 files changed, 10 insertions(+), 14 deletions(-) diff --git a/changes.md b/changes.md index ad38990c1d2..8a74f17e824 100644 --- a/changes.md +++ b/changes.md @@ -6,3 +6,12 @@ - added enum `shopping-list` to type `ExtensionResourceTypeId` +**Import changes** + +
+Deprecated Property(s) + +- property `PriceImport::publish` is removed +- property `ProductVariantImport::publish` is removed +
+ diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Prices/IPriceImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Prices/IPriceImport.cs index 2fd4b1c9ddf..ba999e7837c 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Prices/IPriceImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Prices/IPriceImport.cs @@ -26,9 +26,6 @@ public partial interface IPriceImport : IImportResource IDiscountedPrice Discounted { get; set; } - [ObsoleteAttribute("This property is obsolete", false)] - bool? Publish { get; set; } - bool? Staged { get; set; } IList Tiers { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Prices/PriceImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Prices/PriceImport.cs index bf2c179859f..bf6adfe2b4e 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Prices/PriceImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Prices/PriceImport.cs @@ -25,9 +25,6 @@ public partial class PriceImport : IPriceImport public IDiscountedPrice Discounted { get; set; } - [ObsoleteAttribute("This property is obsolete", false)] - public bool? Publish { get; set; } - public bool? Staged { get; set; } public IList Tiers { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Productvariants/IProductVariantImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Productvariants/IProductVariantImport.cs index 5c5d91b5f58..f94137762d7 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Productvariants/IProductVariantImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Productvariants/IProductVariantImport.cs @@ -1,5 +1,4 @@ using commercetools.Sdk.ImportApi.Models.Common; -using System; using System.Collections.Generic; using System.Linq; using commercetools.Base.CustomAttributes; @@ -27,9 +26,6 @@ public partial interface IProductVariantImport : IImportResource IEnumerable AssetsEnumerable { set => Assets = value.ToList(); } - [ObsoleteAttribute("This property is obsolete", false)] - bool? Publish { get; set; } - bool? Staged { get; set; } IProductKeyReference Product { get; set; } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Productvariants/ProductVariantImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Productvariants/ProductVariantImport.cs index e3979b26fa5..e45de088302 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Productvariants/ProductVariantImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/commercetoolsSdkImportApi/Models/Productvariants/ProductVariantImport.cs @@ -1,5 +1,4 @@ using commercetools.Sdk.ImportApi.Models.Common; -using System; using System.Collections.Generic; using System.Linq; @@ -26,9 +25,6 @@ public partial class ProductVariantImport : IProductVariantImport public IEnumerable AssetsEnumerable { set => Assets = value.ToList(); } - [ObsoleteAttribute("This property is obsolete", false)] - public bool? Publish { get; set; } - public bool? Staged { get; set; } public IProductKeyReference Product { get; set; } diff --git a/references.txt b/references.txt index 985f730b765..51d8ea7fd81 100644 --- a/references.txt +++ b/references.txt @@ -268,3 +268,4 @@ e07a21551ecb61f1f9d1578beb18de819f093feb 5b7b1be9eef0a629a9fab9a6dee59bfb1e7d4a6e 9542dc4271ffcefbac6972c63247f35a135f2e11 9542dc4271ffcefbac6972c63247f35a135f2e11 +575e2e7e69d920c7975e85533620a634cc7ba2e2