Skip to content

Commit afaf4d7

Browse files
Merge pull request #377 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents dadc7da + f94bc44 commit afaf4d7

File tree

5 files changed

+102
-95
lines changed

5 files changed

+102
-95
lines changed

changes.md

Lines changed: 95 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,5 @@
11
**Api changes**
22

3-
<details>
4-
<summary>Removed QueryParameter(s)</summary>
5-
6-
- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/search`
7-
</details>
8-
9-
10-
<details>
11-
<summary>Added QueryParameter(s)</summary>
12-
13-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products`
14-
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products`
15-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections`
16-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/key={key}`
17-
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/key={key}`
18-
- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/key={key}`
19-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/{ID}`
20-
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/{ID}`
21-
- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/{ID}`
22-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/search`
23-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/key={key}`
24-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/{ID}`
25-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}`
26-
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}`
27-
</details>
28-
29-
30-
<details>
31-
<summary>Changed Type(s)</summary>
32-
33-
- :warning: changed type `DeliveryPayload` from type `object` to `SubscriptionNotification`
34-
</details>
35-
36-
37-
<details>
38-
<summary>Removed Type(s)</summary>
39-
40-
- :warning: removed type `AssociateRoleNameChangedMessage`
41-
- :warning: removed type `AssociateRoleNameChangedMessagePayload`
42-
- :warning: removed type `ProductSearchFacetScope`
43-
</details>
44-
45-
463
<details>
474
<summary>Added Type(s)</summary>
485

@@ -97,22 +54,34 @@
9754

9855

9956
<details>
100-
<summary>Added Property(s)</summary>
57+
<summary>Removed Type(s)</summary>
10158

102-
- added property `inheritedStores` to type `BusinessUnit`
103-
- added property `inheritedStores` to type `Company`
104-
- added property `inheritedStores` to type `Division`
105-
- added property `discountTypeCombination` to type `Cart`
106-
- added property `customerGroupAssignments` to type `Customer`
107-
- added property `customerGroupAssignments` to type `CustomerDraft`
108-
- added property `discountTypeCombination` to type `StagedOrder`
109-
- added property `discountTypeCombination` to type `Order`
110-
- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`
111-
- added property `businessUnit` to type `ShoppingList`
112-
- added property `businessUnit` to type `ShoppingListDraft`
113-
- added property `published` to type `ShoppingListLineItem`
114-
- added property `events` to type `Subscription`
115-
- added property `events` to type `SubscriptionDraft`
59+
- :warning: removed type `AssociateRoleNameChangedMessage`
60+
- :warning: removed type `AssociateRoleNameChangedMessagePayload`
61+
- :warning: removed type `ProductSearchFacetScope`
62+
</details>
63+
64+
65+
<details>
66+
<summary>Changed Type(s)</summary>
67+
68+
- :warning: changed type `DeliveryPayload` from type `object` to `SubscriptionNotification`
69+
</details>
70+
71+
72+
<details>
73+
<summary>Added Resource(s)</summary>
74+
75+
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists`
76+
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}`
77+
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}`
78+
- added resource `/{projectKey}/business-units/key={key}/associates/{associateId}`
79+
- added resource `/{projectKey}/business-units/{businessUnitId}/associates/{associateId}`
80+
- added resource `/{projectKey}/in-store/key={storeKey}/business-units`
81+
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}`
82+
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{ID}`
83+
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}/associates/{associateId}`
84+
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{businessUnitId}/associates/{associateId}`
11685
</details>
11786

11887

@@ -124,6 +93,15 @@
12493
</details>
12594

12695

96+
<details>
97+
<summary>Required Property(s)</summary>
98+
99+
- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional
100+
- changed property `facets` of type `ProductProjectionPagedSearchResponse` to be optional
101+
- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required
102+
</details>
103+
104+
127105
<details>
128106
<summary>MarkDeprecated Property(s)</summary>
129107

@@ -133,41 +111,49 @@
133111

134112

135113
<details>
136-
<summary>Required Property(s)</summary>
114+
<summary>Added Property(s)</summary>
137115

138-
- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional
139-
- changed property `facets` of type `ProductProjectionPagedSearchResponse` to be optional
140-
- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required
116+
- added property `inheritedStores` to type `BusinessUnit`
117+
- added property `inheritedStores` to type `Company`
118+
- added property `inheritedStores` to type `Division`
119+
- added property `discountTypeCombination` to type `Cart`
120+
- added property `customerGroupAssignments` to type `Customer`
121+
- added property `customerGroupAssignments` to type `CustomerDraft`
122+
- added property `discountTypeCombination` to type `StagedOrder`
123+
- added property `discountTypeCombination` to type `Order`
124+
- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`
125+
- added property `businessUnit` to type `ShoppingList`
126+
- added property `businessUnit` to type `ShoppingListDraft`
127+
- added property `published` to type `ShoppingListLineItem`
128+
- added property `events` to type `Subscription`
129+
- added property `events` to type `SubscriptionDraft`
141130
</details>
142131

143132

144133
<details>
145-
<summary>Added Enum(s)</summary>
134+
<summary>Added QueryParameter(s)</summary>
146135

147-
- added enum `ViewMyShoppingLists` to type `Permission`
148-
- added enum `ViewOthersShoppingLists` to type `Permission`
149-
- added enum `UpdateMyShoppingLists` to type `Permission`
150-
- added enum `UpdateOthersShoppingLists` to type `Permission`
151-
- added enum `CreateMyShoppingLists` to type `Permission`
152-
- added enum `CreateOthersShoppingLists` to type `Permission`
153-
- added enum `DeleteMyShoppingLists` to type `Permission`
154-
- added enum `DeleteOthersShoppingLists` to type `Permission`
136+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products`
137+
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products`
138+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections`
139+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/key={key}`
140+
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/key={key}`
141+
- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/key={key}`
142+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/{ID}`
143+
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/{ID}`
144+
- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/{ID}`
145+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/search`
146+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/key={key}`
147+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/{ID}`
148+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}`
149+
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}`
155150
</details>
156151

157152

158153
<details>
159-
<summary>Added Resource(s)</summary>
154+
<summary>Removed QueryParameter(s)</summary>
160155

161-
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists`
162-
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}`
163-
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}`
164-
- added resource `/{projectKey}/business-units/key={key}/associates/{associateId}`
165-
- added resource `/{projectKey}/business-units/{businessUnitId}/associates/{associateId}`
166-
- added resource `/{projectKey}/in-store/key={storeKey}/business-units`
167-
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}`
168-
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{ID}`
169-
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}/associates/{associateId}`
170-
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{businessUnitId}/associates/{associateId}`
156+
- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/search`
171157
</details>
172158

173159

@@ -202,15 +188,21 @@
202188
- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withBusinessUnitIdValueAssociatesWithAssociateIdValue()->get()`
203189
</details>
204190

205-
**Import changes**
206191

207192
<details>
208-
<summary>Added Property(s)</summary>
193+
<summary>Added Enum(s)</summary>
209194

210-
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `SearchKeywords`
211-
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `LocalizedString`
195+
- added enum `ViewMyShoppingLists` to type `Permission`
196+
- added enum `ViewOthersShoppingLists` to type `Permission`
197+
- added enum `UpdateMyShoppingLists` to type `Permission`
198+
- added enum `UpdateOthersShoppingLists` to type `Permission`
199+
- added enum `CreateMyShoppingLists` to type `Permission`
200+
- added enum `CreateOthersShoppingLists` to type `Permission`
201+
- added enum `DeleteMyShoppingLists` to type `Permission`
202+
- added enum `DeleteOthersShoppingLists` to type `Permission`
212203
</details>
213204

205+
**Import changes**
214206

215207
<details>
216208
<summary>Removed Property(s)</summary>
@@ -219,14 +211,15 @@
219211
- :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `LocalizedString`
220212
</details>
221213

222-
**History changes**
223214

224215
<details>
225-
<summary>Added Enum(s)</summary>
216+
<summary>Added Property(s)</summary>
226217

227-
- added enum `setAssetKey` to type `UpdateType`
218+
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `SearchKeywords`
219+
- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `LocalizedString`
228220
</details>
229221

222+
**History changes**
230223

231224
<details>
232225
<summary>Removed Enum(s)</summary>
@@ -236,22 +229,29 @@
236229

237230

238231
<details>
239-
<summary>Changed Property(s)</summary>
232+
<summary>Added Enum(s)</summary>
240233

241-
- :warning: changed property `extensions` of type `GraphQLError` from type `GraphQLErrorObject` to `object`
234+
- added enum `setAssetKey` to type `UpdateType`
242235
</details>
243236

244237

245238
<details>
246-
<summary>Required Property(s)</summary>
239+
<summary>Removed Type(s)</summary>
247240

248-
- :warning: changed property `triggerPattern` of type `ChangeTargetPatternChangeValue` to be required
241+
- :warning: removed type `GraphQLErrorObject`
249242
</details>
250243

251244

252245
<details>
253-
<summary>Removed Type(s)</summary>
246+
<summary>Changed Property(s)</summary>
254247

255-
- :warning: removed type `GraphQLErrorObject`
248+
- :warning: changed property `extensions` of type `GraphQLError` from type `GraphQLErrorObject` to `object`
249+
</details>
250+
251+
252+
<details>
253+
<summary>Required Property(s)</summary>
254+
255+
- :warning: changed property `triggerPattern` of type `ChangeTargetPatternChangeValue` to be required
256256
</details>
257257

lib/commercetools-import/src/Models/Importrequests/ImportResponse.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ interface ImportResponse extends JsonObject
1717
public const FIELD_OPERATION_STATUS = 'operationStatus';
1818

1919
/**
20+
* <p>A list of the ID's and validation statuses of new <a href="#importoperation">ImportOperations</a>.</p>
21+
*
2022
2123
* @return null|ImportOperationStatusCollection
2224
*/

lib/commercetools-import/src/Models/Importrequests/ImportResponseBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ final class ImportResponseBuilder implements Builder
2828
private $operationStatus;
2929

3030
/**
31+
* <p>A list of the ID's and validation statuses of new <a href="#importoperation">ImportOperations</a>.</p>
32+
*
3133
3234
* @return null|ImportOperationStatusCollection
3335
*/

lib/commercetools-import/src/Models/Importrequests/ImportResponseModel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public function __construct(
3737
}
3838

3939
/**
40+
* <p>A list of the ID's and validation statuses of new <a href="#importoperation">ImportOperations</a>.</p>
41+
*
4042
*
4143
* @return null|ImportOperationStatusCollection
4244
*/

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,3 +416,4 @@ f308ced4b427eea3642d2d183f6d15f0c1287aa8
416416
ab2859c84d9f146e5d8556e905538b92af4aa044
417417
5f7c0bef26fa70b6a3ec382455b56146e3088e0e
418418
5f7c0bef26fa70b6a3ec382455b56146e3088e0e
419+
7c59b29681399c1a3000934fd59a46c10cbe5401

0 commit comments

Comments
 (0)