Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Apr 24, 2024
1 parent 8bc8856 commit 138d382
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 0 deletions.
16 changes: 16 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,22 @@
</details>


<details>
<summary>MarkDeprecated Property(s)</summary>

- marked property `PriceImport::publish` as deprecated
- marked property `ProductVariantImport::publish` as deprecated
</details>


<details>
<summary>Added Property(s)</summary>

- added property `staged` to type `PriceImport`
- added property `staged` to type `ProductVariantImport`
</details>


<details>
<summary>Added Method(s)</summary>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<IPriceTier> Tiers { get; set; }
IEnumerable<IPriceTier> TiersEnumerable { set => Tiers = value.ToList(); }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<IPriceTier> Tiers { get; set; }
public IEnumerable<IPriceTier> TiersEnumerable { set => Tiers = value.ToList(); }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using commercetools.Sdk.ImportApi.Models.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using commercetools.Base.CustomAttributes;
Expand Down Expand Up @@ -27,8 +28,11 @@ public partial interface IProductVariantImport : IImportResource
IEnumerable<IAsset> AssetsEnumerable { set => Assets = value.ToList(); }


[ObsoleteAttribute("This property is obsolete", false)]
bool? Publish { get; set; }

bool? Staged { get; set; }

IProductKeyReference Product { get; set; }

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using commercetools.Sdk.ImportApi.Models.Common;
using System;
using System.Collections.Generic;
using System.Linq;

Expand Down Expand Up @@ -26,8 +27,11 @@ public partial class ProductVariantImport : IProductVariantImport
public IEnumerable<IAsset> 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; }
}
}
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,4 @@ c8a374e9c967c7b8c5080c9a6ed2cd92261680ef
cbdd859f3702f084fa22a22d7e4459f7e4b43316
6c936caa97c40eff5f788b866dd1d882d9f9ba08
e59c07a51516fe4c9b509b338863a62bd9406d0d
c50b9ffcff1ea4a31e509f124bf0f87baced36af

0 comments on commit 138d382

Please sign in to comment.