Skip to content

Commit 1e35b3f

Browse files
Merge pull request #322 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 2524263 + 9881a8f commit 1e35b3f

File tree

1,362 files changed

+3777
-3778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,362 files changed

+3777
-3778
lines changed

changes.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,17 @@
11
**Api changes**
22

33
<details>
4-
<summary>Added Type(s)</summary>
5-
6-
- added type `BestDeal`
7-
- added type `DiscountTypeCombination`
8-
- added type `Stacking`
9-
- added type `AssociateRoleNameSetMessage`
10-
- added type `AssociateRoleNameSetMessagePayload`
11-
- added type `ShoppingListSetBusinessUnitAction`
12-
</details>
13-
14-
15-
<details>
16-
<summary>Removed Type(s)</summary>
4+
<summary>Required Property(s)</summary>
175

18-
- :warning: removed type `AssociateRoleNameChangedMessage`
19-
- :warning: removed type `AssociateRoleNameChangedMessagePayload`
20-
- :warning: removed type `ProductSearchFacetScope`
6+
- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required
7+
- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional
218
</details>
229

2310

2411
<details>
25-
<summary>Required Property(s)</summary>
12+
<summary>Changed Property(s)</summary>
2613

27-
- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required
28-
- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional
14+
- :warning: changed property `discount` of type `DiscountedTotalPricePortion` from type `CartDiscountReference` to `Reference`
2915
</details>
3016

3117

@@ -44,9 +30,32 @@
4430

4531

4632
<details>
47-
<summary>Changed Property(s)</summary>
33+
<summary>Added Type(s)</summary>
4834

49-
- :warning: changed property `discount` of type `DiscountedTotalPricePortion` from type `CartDiscountReference` to `Reference`
35+
- added type `BestDeal`
36+
- added type `DiscountTypeCombination`
37+
- added type `Stacking`
38+
- added type `AssociateRoleNameSetMessage`
39+
- added type `AssociateRoleNameSetMessagePayload`
40+
- added type `ShoppingListSetBusinessUnitAction`
41+
</details>
42+
43+
44+
<details>
45+
<summary>Removed Type(s)</summary>
46+
47+
- :warning: removed type `AssociateRoleNameChangedMessage`
48+
- :warning: removed type `AssociateRoleNameChangedMessagePayload`
49+
- :warning: removed type `ProductSearchFacetScope`
50+
</details>
51+
52+
53+
<details>
54+
<summary>Added Resource(s)</summary>
55+
56+
- added resource `/{projectKey}/in-store/key={storeKey}/business-units`
57+
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}`
58+
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{ID}`
5059
</details>
5160

5261

@@ -66,15 +75,6 @@
6675
- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withId()->delete()`
6776
</details>
6877

69-
70-
<details>
71-
<summary>Added Resource(s)</summary>
72-
73-
- added resource `/{projectKey}/in-store/key={storeKey}/business-units`
74-
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}`
75-
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{ID}`
76-
</details>
77-
7878
**History changes**
7979

8080
<details>

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyApiClientsByIDTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ResourceByProjectKeyApiClientsByIDTest extends TestCase
3131
/**
3232
* @dataProvider getRequests()
3333
*/
34-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
34+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3535
{
3636
$builder = new ApiRequestBuilder();
3737
$request = $builderFunction($builder);

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyApiClientsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ResourceByProjectKeyApiClientsTest extends TestCase
3232
/**
3333
* @dataProvider getRequests()
3434
*/
35-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
35+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3636
{
3737
$builder = new ApiRequestBuilder();
3838
$request = $builderFunction($builder);

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ResourceByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDTest extends
3131
/**
3232
* @dataProvider getRequests()
3333
*/
34-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
34+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3535
{
3636
$builder = new ApiRequestBuilder();
3737
$request = $builderFunction($builder);

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ResourceByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyTest exte
3131
/**
3232
* @dataProvider getRequests()
3333
*/
34-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
34+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3535
{
3636
$builder = new ApiRequestBuilder();
3737
$request = $builderFunction($builder);

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyAsAssociateByAssociateIdBusinessUnitsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ResourceByProjectKeyAsAssociateByAssociateIdBusinessUnitsTest extends Test
3333
/**
3434
* @dataProvider getRequests()
3535
*/
36-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
36+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3737
{
3838
$builder = new ApiRequestBuilder();
3939
$request = $builderFunction($builder);

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ResourceByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUni
3030
/**
3131
* @dataProvider getRequests()
3232
*/
33-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
33+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3434
{
3535
$builder = new ApiRequestBuilder();
3636
$request = $builderFunction($builder);

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ResourceByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUni
3030
/**
3131
* @dataProvider getRequests()
3232
*/
33-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
33+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3434
{
3535
$builder = new ApiRequestBuilder();
3636
$request = $builderFunction($builder);

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ResourceByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUni
3030
/**
3131
* @dataProvider getRequests()
3232
*/
33-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
33+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3434
{
3535
$builder = new ApiRequestBuilder();
3636
$request = $builderFunction($builder);

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ResourceByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUni
3030
/**
3131
* @dataProvider getRequests()
3232
*/
33-
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, string $body = null)
33+
public function testBuilder(callable $builderFunction, string $method, string $relativeUri, ?string $body = null)
3434
{
3535
$builder = new ApiRequestBuilder();
3636
$request = $builderFunction($builder);

0 commit comments

Comments
 (0)