diff --git a/changes.md b/changes.md index 69422d5e3c7..9fb4eebee89 100644 --- a/changes.md +++ b/changes.md @@ -1,48 +1,5 @@ **Api changes** -
-Removed QueryParameter(s) - -- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/search` -
- - -
-Added QueryParameter(s) - -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products` -- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products` -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections` -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/key={key}` -- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/key={key}` -- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/key={key}` -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/{ID}` -- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/{ID}` -- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/{ID}` -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/search` -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/key={key}` -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/{ID}` -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}` -- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}` -
- - -
-Changed Type(s) - -- :warning: changed type `DeliveryPayload` from type `object` to `SubscriptionNotification` -
- - -
-Removed Type(s) - -- :warning: removed type `AssociateRoleNameChangedMessage` -- :warning: removed type `AssociateRoleNameChangedMessagePayload` -- :warning: removed type `ProductSearchFacetScope` -
- -
Added Type(s) @@ -97,22 +54,34 @@
-Added Property(s) +Removed Type(s) -- added property `inheritedStores` to type `BusinessUnit` -- added property `inheritedStores` to type `Company` -- added property `inheritedStores` to type `Division` -- added property `discountTypeCombination` to type `Cart` -- added property `customerGroupAssignments` to type `Customer` -- added property `customerGroupAssignments` to type `CustomerDraft` -- added property `discountTypeCombination` to type `StagedOrder` -- added property `discountTypeCombination` to type `Order` -- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams` -- added property `businessUnit` to type `ShoppingList` -- added property `businessUnit` to type `ShoppingListDraft` -- added property `published` to type `ShoppingListLineItem` -- added property `events` to type `Subscription` -- added property `events` to type `SubscriptionDraft` +- :warning: removed type `AssociateRoleNameChangedMessage` +- :warning: removed type `AssociateRoleNameChangedMessagePayload` +- :warning: removed type `ProductSearchFacetScope` +
+ + +
+Changed Type(s) + +- :warning: changed type `DeliveryPayload` from type `object` to `SubscriptionNotification` +
+ + +
+Added Resource(s) + +- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists` +- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}` +- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}` +- added resource `/{projectKey}/business-units/key={key}/associates/{associateId}` +- added resource `/{projectKey}/business-units/{businessUnitId}/associates/{associateId}` +- added resource `/{projectKey}/in-store/key={storeKey}/business-units` +- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}` +- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{ID}` +- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}/associates/{associateId}` +- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{businessUnitId}/associates/{associateId}`
@@ -124,6 +93,15 @@
+
+Required Property(s) + +- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional +- changed property `facets` of type `ProductProjectionPagedSearchResponse` to be optional +- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required +
+ +
MarkDeprecated Property(s) @@ -133,41 +111,49 @@
-Required Property(s) +Added Property(s) -- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional -- changed property `facets` of type `ProductProjectionPagedSearchResponse` to be optional -- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required +- added property `inheritedStores` to type `BusinessUnit` +- added property `inheritedStores` to type `Company` +- added property `inheritedStores` to type `Division` +- added property `discountTypeCombination` to type `Cart` +- added property `customerGroupAssignments` to type `Customer` +- added property `customerGroupAssignments` to type `CustomerDraft` +- added property `discountTypeCombination` to type `StagedOrder` +- added property `discountTypeCombination` to type `Order` +- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams` +- added property `businessUnit` to type `ShoppingList` +- added property `businessUnit` to type `ShoppingListDraft` +- added property `published` to type `ShoppingListLineItem` +- added property `events` to type `Subscription` +- added property `events` to type `SubscriptionDraft`
-Added Enum(s) +Added QueryParameter(s) -- added enum `ViewMyShoppingLists` to type `Permission` -- added enum `ViewOthersShoppingLists` to type `Permission` -- added enum `UpdateMyShoppingLists` to type `Permission` -- added enum `UpdateOthersShoppingLists` to type `Permission` -- added enum `CreateMyShoppingLists` to type `Permission` -- added enum `CreateOthersShoppingLists` to type `Permission` -- added enum `DeleteMyShoppingLists` to type `Permission` -- added enum `DeleteOthersShoppingLists` to type `Permission` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products` +- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/key={key}` +- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/key={key}` +- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/key={key}` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/{ID}` +- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/{ID}` +- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/{ID}` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/search` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/key={key}` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/{ID}` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}` +- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}`
-Added Resource(s) +Removed QueryParameter(s) -- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists` -- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}` -- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}` -- added resource `/{projectKey}/business-units/key={key}/associates/{associateId}` -- added resource `/{projectKey}/business-units/{businessUnitId}/associates/{associateId}` -- added resource `/{projectKey}/in-store/key={storeKey}/business-units` -- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}` -- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{ID}` -- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}/associates/{associateId}` -- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{businessUnitId}/associates/{associateId}` +- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/search`
@@ -202,15 +188,21 @@ - added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withBusinessUnitIdValueAssociatesWithAssociateIdValue()->get()`
-**Import changes**
-Added Property(s) +Added Enum(s) -- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `SearchKeywords` -- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `LocalizedString` +- added enum `ViewMyShoppingLists` to type `Permission` +- added enum `ViewOthersShoppingLists` to type `Permission` +- added enum `UpdateMyShoppingLists` to type `Permission` +- added enum `UpdateOthersShoppingLists` to type `Permission` +- added enum `CreateMyShoppingLists` to type `Permission` +- added enum `CreateOthersShoppingLists` to type `Permission` +- added enum `DeleteMyShoppingLists` to type `Permission` +- added enum `DeleteOthersShoppingLists` to type `Permission`
+**Import changes**
Removed Property(s) @@ -219,14 +211,15 @@ - :warning: removed property `/^[a-z]{2}(-[A-Z]{2})?$/` from type `LocalizedString`
-**History changes**
-Added Enum(s) +Added Property(s) -- added enum `setAssetKey` to type `UpdateType` +- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `SearchKeywords` +- added property `/^[a-zA-Z]{2,3}(?:-[a-zA-Z]{4})?(?:-(?:[a-zA-Z]{2}|\d{3}))?$/` to type `LocalizedString`
+**History changes**
Removed Enum(s) @@ -236,22 +229,29 @@
-Changed Property(s) +Added Enum(s) -- :warning: changed property `extensions` of type `GraphQLError` from type `GraphQLErrorObject` to `object` +- added enum `setAssetKey` to type `UpdateType`
-Required Property(s) +Removed Type(s) -- :warning: changed property `triggerPattern` of type `ChangeTargetPatternChangeValue` to be required +- :warning: removed type `GraphQLErrorObject`
-Removed Type(s) +Changed Property(s) -- :warning: removed type `GraphQLErrorObject` +- :warning: changed property `extensions` of type `GraphQLError` from type `GraphQLErrorObject` to `object` +
+ + +
+Required Property(s) + +- :warning: changed property `triggerPattern` of type `ChangeTargetPatternChangeValue` to be required
diff --git a/lib/commercetools-import/src/Models/Importrequests/ImportResponse.php b/lib/commercetools-import/src/Models/Importrequests/ImportResponse.php index 21758a0e851..02314ec3425 100644 --- a/lib/commercetools-import/src/Models/Importrequests/ImportResponse.php +++ b/lib/commercetools-import/src/Models/Importrequests/ImportResponse.php @@ -17,6 +17,8 @@ interface ImportResponse extends JsonObject public const FIELD_OPERATION_STATUS = 'operationStatus'; /** + *

A list of the ID's and validation statuses of new ImportOperations.

+ * * @return null|ImportOperationStatusCollection */ diff --git a/lib/commercetools-import/src/Models/Importrequests/ImportResponseBuilder.php b/lib/commercetools-import/src/Models/Importrequests/ImportResponseBuilder.php index c287a5916ba..a7266cf2b80 100644 --- a/lib/commercetools-import/src/Models/Importrequests/ImportResponseBuilder.php +++ b/lib/commercetools-import/src/Models/Importrequests/ImportResponseBuilder.php @@ -28,6 +28,8 @@ final class ImportResponseBuilder implements Builder private $operationStatus; /** + *

A list of the ID's and validation statuses of new ImportOperations.

+ * * @return null|ImportOperationStatusCollection */ diff --git a/lib/commercetools-import/src/Models/Importrequests/ImportResponseModel.php b/lib/commercetools-import/src/Models/Importrequests/ImportResponseModel.php index a504da30526..6768f7e7454 100644 --- a/lib/commercetools-import/src/Models/Importrequests/ImportResponseModel.php +++ b/lib/commercetools-import/src/Models/Importrequests/ImportResponseModel.php @@ -37,6 +37,8 @@ public function __construct( } /** + *

A list of the ID's and validation statuses of new ImportOperations.

+ * * * @return null|ImportOperationStatusCollection */ diff --git a/references.txt b/references.txt index fb2f90f13d8..d1dbb4f80ba 100644 --- a/references.txt +++ b/references.txt @@ -416,3 +416,4 @@ f308ced4b427eea3642d2d183f6d15f0c1287aa8 ab2859c84d9f146e5d8556e905538b92af4aa044 5f7c0bef26fa70b6a3ec382455b56146e3088e0e 5f7c0bef26fa70b6a3ec382455b56146e3088e0e +7c59b29681399c1a3000934fd59a46c10cbe5401