Skip to content

Commit 37f5b49

Browse files
Merge pull request #899 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 69c51be + 3f2431c commit 37f5b49

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

changes.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
**Api changes**
1+
**Import changes**
22

33
<details>
44
<summary>Added Property(s)</summary>
55

6-
- added property `published` to type `ShoppingListLineItem`
6+
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `SearchKeywords`
7+
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `LocalizedString`
78
</details>
89

910

1011
<details>
11-
<summary>Changed Property(s)</summary>
12+
<summary>Removed Property(s)</summary>
1213

13-
- :warning: changed property `actions` of type `MyBusinessUnitUpdate` from type `BusinessUnitUpdateAction[]` to `MyBusinessUnitUpdateAction[]`
14+
- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `SearchKeywords`
15+
- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `LocalizedString`
1416
</details>
1517

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* <div class=code-example>
2828
* <pre><code class='java'>
2929
* LocalizedString localizedString = LocalizedString.builder()
30-
* ./^[a-z]{2}(-[A-Z]{2})?$/("{/^[a-z]{2}(-[A-Z]{2})?$/}")
30+
* ./^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/("{/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/}")
3131
* .build()
3232
* </code></pre>
3333
* </div>

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/LocalizedStringBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* <div class=code-example>
1414
* <pre><code class='java'>
1515
* LocalizedString localizedString = LocalizedString.builder()
16-
* ./^[a-z]{2}(-[A-Z]{2})?$/("{/^[a-z]{2}(-[A-Z]{2})?$/}")
16+
* ./^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/("{/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/}")
1717
* .build()
1818
* </code></pre>
1919
* </div>

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywords.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* <div class=code-example>
4040
* <pre><code class='java'>
4141
* SearchKeywords searchKeywords = SearchKeywords.builder()
42-
* .plus/^[a-z]{2}(-[A-Z]{2})?$/(/^[a-z]{2}(-[A-Z]{2})?$/Builder -> /^[a-z]{2}(-[A-Z]{2})?$/Builder)
42+
* .plus/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/(/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/Builder -> /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/Builder)
4343
* .build()
4444
* </code></pre>
4545
* </div>

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/SearchKeywordsBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* <div class=code-example>
1414
* <pre><code class='java'>
1515
* SearchKeywords searchKeywords = SearchKeywords.builder()
16-
* .plus/^[a-z]{2}(-[A-Z]{2})?$/(/^[a-z]{2}(-[A-Z]{2})?$/Builder -> /^[a-z]{2}(-[A-Z]{2})?$/Builder)
16+
* .plus/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/(/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/Builder -> /^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/Builder)
1717
* .build()
1818
* </code></pre>
1919
* </div>

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,3 +407,4 @@ dec65e707130185745930bde27ce78ae64ab29c1
407407
7fc89775aaee48e4af3c517e46b1bd7f4de4779f
408408
ba64943be238cc04b24cfafc30b4e1d47976fd4e
409409
f308ced4b427eea3642d2d183f6d15f0c1287aa8
410+
ab2859c84d9f146e5d8556e905538b92af4aa044

0 commit comments

Comments
 (0)