Skip to content

Commit 6195832

Browse files
committed
build(codegen): updating SDK
1 parent 42429ce commit 6195832

File tree

7 files changed

+21
-6
lines changed

7 files changed

+21
-6
lines changed

changes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,11 @@
3838
- added property `discountTypeCombination` to type `Order`
3939
</details>
4040

41+
42+
<details>
43+
<summary>MarkDeprecated Property(s)</summary>
44+
45+
- marked property `CountOnCustomLineItemUnits::excludeCount` as deprecated
46+
- marked property `CountOnLineItemUnits::excludeCount` as deprecated
47+
</details>
48+

commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/CartDiscounts/CountOnCustomLineItemUnits.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
using System;
22

33
namespace commercetools.Sdk.Api.Models.CartDiscounts
44
{
@@ -13,6 +13,7 @@ public partial class CountOnCustomLineItemUnits : ICountOnCustomLineItemUnits
1313

1414
public int? MaxCount { get; set; }
1515

16+
[ObsoleteAttribute("This property is obsolete", false)]
1617
public int? ExcludeCount { get; set; }
1718
public CountOnCustomLineItemUnits()
1819
{

commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/CartDiscounts/CountOnLineItemUnits.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
using System;
22

33
namespace commercetools.Sdk.Api.Models.CartDiscounts
44
{
@@ -13,6 +13,7 @@ public partial class CountOnLineItemUnits : ICountOnLineItemUnits
1313

1414
public int? MaxCount { get; set; }
1515

16+
[ObsoleteAttribute("This property is obsolete", false)]
1617
public int? ExcludeCount { get; set; }
1718
public CountOnLineItemUnits()
1819
{

commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/CartDiscounts/ICountOnCustomLineItemUnits.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System;
12
using commercetools.Base.CustomAttributes;
23
// ReSharper disable CheckNamespace
34
namespace commercetools.Sdk.Api.Models.CartDiscounts
@@ -11,6 +12,7 @@ public partial interface ICountOnCustomLineItemUnits : IPatternComponent
1112

1213
int? MaxCount { get; set; }
1314

15+
[ObsoleteAttribute("This property is obsolete", false)]
1416
int? ExcludeCount { get; set; }
1517

1618
}

commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/CartDiscounts/ICountOnLineItemUnits.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System;
12
using commercetools.Base.CustomAttributes;
23
// ReSharper disable CheckNamespace
34
namespace commercetools.Sdk.Api.Models.CartDiscounts
@@ -11,6 +12,7 @@ public partial interface ICountOnLineItemUnits : IPatternComponent
1112

1213
int? MaxCount { get; set; }
1314

15+
[ObsoleteAttribute("This property is obsolete", false)]
1416
int? ExcludeCount { get; set; }
1517

1618
}

commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3128,7 +3128,7 @@ type CountOnCustomLineItemUnits implements PatternComponent {
31283128
predicate: String!
31293129
minCount: Int
31303130
maxCount: Int
3131-
excludeCount: Int
3131+
excludeCount: Int @deprecated(reason: "Please use 'triggerPattern' to exclude.")
31323132
type: String!
31333133
}
31343134

@@ -3137,15 +3137,15 @@ input CountOnCustomLineItemUnitsInput {
31373137
predicate: String!
31383138
minCount: Int = 1
31393139
maxCount: Int
3140-
excludeCount: Int
3140+
excludeCount: Int @deprecated(reason: "Please use 'triggerPattern' to exclude.")
31413141
}
31423142

31433143
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
31443144
type CountOnLineItemUnits implements PatternComponent {
31453145
predicate: String!
31463146
minCount: Int
31473147
maxCount: Int
3148-
excludeCount: Int
3148+
excludeCount: Int @deprecated(reason: "Please use 'triggerPattern' to exclude.")
31493149
type: String!
31503150
}
31513151

@@ -3154,7 +3154,7 @@ input CountOnLineItemUnitsInput {
31543154
predicate: String!
31553155
minCount: Int = 1
31563156
maxCount: Int
3157-
excludeCount: Int
3157+
excludeCount: Int @deprecated(reason: "Please use 'triggerPattern' to exclude.")
31583158
}
31593159

31603160
"[ISO 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1) country code."

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,3 +320,4 @@ cf0f702598daf6d644ae327099b96b83f5539dfb
320320
0db86e55e10010d0994faa7cffb5b1301dbac71f
321321
5f1b9a7bef052b7f67754d4eccf9d18d139d53c1
322322
bc499c5a4815716efc119199dd274dc72f538a36
323+
77fcf46413ef8bb5133eb0907f42cba037c54c61

0 commit comments

Comments
 (0)