From 138d38247552ea56549f84524a877eaa5fe01e41 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:19:06 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 16 ++++++++++++++++ .../Generated/Models/Prices/IPriceImport.cs | 3 +++ .../Generated/Models/Prices/PriceImport.cs | 3 +++ .../Productvariants/IProductVariantImport.cs | 4 ++++ .../Productvariants/ProductVariantImport.cs | 4 ++++ references.txt | 1 + 6 files changed, 31 insertions(+) diff --git a/changes.md b/changes.md index 1f46b498e53..62b09297da8 100644 --- a/changes.md +++ b/changes.md @@ -55,6 +55,22 @@ +
+MarkDeprecated Property(s) + +- marked property `PriceImport::publish` as deprecated +- marked property `ProductVariantImport::publish` as deprecated +
+ + +
+Added Property(s) + +- added property `staged` to type `PriceImport` +- added property `staged` to type `ProductVariantImport` +
+ +
Added Method(s) diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Prices/IPriceImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Prices/IPriceImport.cs index 318b75164d8..60fef978efa 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Prices/IPriceImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Prices/IPriceImport.cs @@ -27,8 +27,11 @@ 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; } IEnumerable TiersEnumerable { set => Tiers = value.ToList(); } diff --git a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Prices/PriceImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Prices/PriceImport.cs index 806ac6ebe97..f77a1f7455f 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Prices/PriceImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Prices/PriceImport.cs @@ -26,8 +26,11 @@ 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; } public IEnumerable TiersEnumerable { set => Tiers = value.ToList(); } 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 e07ffbf353c..d4fcdb16408 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/IProductVariantImport.cs @@ -1,4 +1,5 @@ using commercetools.Sdk.ImportApi.Models.Common; +using System; using System.Collections.Generic; using System.Linq; using commercetools.Base.CustomAttributes; @@ -27,8 +28,11 @@ 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/Models/Productvariants/ProductVariantImport.cs b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/ProductVariantImport.cs index b3db7be9448..30ed163254d 100644 --- a/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/ProductVariantImport.cs +++ b/commercetools.Sdk/commercetools.Sdk.ImportApi/Generated/Models/Productvariants/ProductVariantImport.cs @@ -1,4 +1,5 @@ using commercetools.Sdk.ImportApi.Models.Common; +using System; using System.Collections.Generic; using System.Linq; @@ -26,8 +27,11 @@ 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 110859e2f1a..902050c2892 100644 --- a/references.txt +++ b/references.txt @@ -241,3 +241,4 @@ c8a374e9c967c7b8c5080c9a6ed2cd92261680ef cbdd859f3702f084fa22a22d7e4459f7e4b43316 6c936caa97c40eff5f788b866dd1d882d9f9ba08 e59c07a51516fe4c9b509b338863a62bd9406d0d +c50b9ffcff1ea4a31e509f124bf0f87baced36af