diff --git a/changes.md b/changes.md index 27f597c6acd..873e2c2a21f 100644 --- a/changes.md +++ b/changes.md @@ -1,5 +1,196 @@ +**Api changes** + +
+Added Enum(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` +
+ + +
+Required Property(s) + +- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required +- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional +
+ + +
+Changed Property(s) + +- :warning: changed property `discount` of type `DiscountedTotalPricePortion` from type `CartDiscountReference` to `Reference` +
+ + +
+Added Property(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` +
+ + +
+MarkDeprecated Property(s) + +- marked property `CountOnCustomLineItemUnits::excludeCount` as deprecated +- marked property `CountOnLineItemUnits::excludeCount` as deprecated +
+ + +
+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}` +
+ + +
+Added Type(s) + +- added type `BusinessUnitAssociateResponse` +- added type `BestDeal` +- added type `DiscountTypeCombination` +- added type `Stacking` +- added type `CustomerGroupAssignment` +- added type `CustomerGroupAssignmentDraft` +- added type `CustomerAddCustomerGroupAssignmentAction` +- added type `CustomerRemoveCustomerGroupAssignmentAction` +- added type `CustomerSetCustomerGroupAssignmentsAction` +- added type `AssociateRoleNameSetMessage` +- added type `CustomerGroupAssignmentAddedMessage` +- added type `CustomerGroupAssignmentRemovedMessage` +- added type `CustomerGroupAssignmentsSetMessage` +- added type `OrderBusinessUnitSetMessage` +- added type `AssociateRoleNameSetMessagePayload` +- added type `CustomerGroupAssignmentAddedMessagePayload` +- added type `CustomerGroupAssignmentRemovedMessagePayload` +- added type `CustomerGroupAssignmentsSetMessagePayload` +- added type `OrderBusinessUnitSetMessagePayload` +- added type `StagedOrderSetBusinessUnitAction` +- added type `OrderSetBusinessUnitAction` +- added type `ShoppingListSetBusinessUnitAction` +
+ + +
+Removed Type(s) + +- :warning: removed type `AssociateRoleNameChangedMessage` +- :warning: removed type `AssociateRoleNameChangedMessagePayload` +- :warning: removed type `ProductSearchFacetScope` +
+ + +
+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}` +
+ + +
+Added Method(s) + +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->get()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->head()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->post()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withKey()->get()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withKey()->head()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withKey()->post()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withKey()->delete()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withId()->get()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withId()->head()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withId()->post()` +- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withId()->delete()` +- added method `$apiRoot->withProjectKey()->businessUnits()->keyWithKeyValueAssociatesWithAssociateIdValue()->get()` +- added method `$apiRoot->withProjectKey()->businessUnits()->withBusinessUnitIdValueAssociatesWithAssociateIdValue()->get()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->get()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->head()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->post()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withKey()->get()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withKey()->head()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withKey()->post()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withKey()->delete()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withId()->get()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withId()->head()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withId()->post()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withId()->delete()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->keyWithKeyValueAssociatesWithAssociateIdValue()->get()` +- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withBusinessUnitIdValueAssociatesWithAssociateIdValue()->get()` +
+ +**History changes** + +
+Removed Enum(s) + +- :warning: removed enum `setAsssetKey` from type `UpdateType` +
+ + +
+Added Enum(s) + +- added enum `setAssetKey` to type `UpdateType` +
+ + +
+Required Property(s) + +- :warning: changed property `triggerPattern` of type `ChangeTargetPatternChangeValue` to be required +
+ + +
+Changed Property(s) + +- :warning: changed property `extensions` of type `GraphQLError` from type `GraphQLErrorObject` to `object` +
+ +
-Adding support for Symfony 7.2 +Removed Type(s) +- :warning: removed type `GraphQLErrorObject`
diff --git a/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraft.php b/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraft.php index 8ad3eb7dcf3..58e91678d9e 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraft.php +++ b/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraft.php @@ -65,7 +65,7 @@ public function getCustom(); public function getComment(); /** - *

Set to true if you want to peview the edited Order first without persisting it (dry run). + *

Set to true if you want to preview the edited Order first without persisting it (dry run). * A dry run allows checking for potential errors when trying to apply the stagedActions.

*

Order API Extensions, if any, are also called in dry runs.

* diff --git a/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraftBuilder.php b/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraftBuilder.php index 327023715a8..226ca4c189e 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraftBuilder.php +++ b/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraftBuilder.php @@ -118,7 +118,7 @@ public function getComment() } /** - *

Set to true if you want to peview the edited Order first without persisting it (dry run). + *

Set to true if you want to preview the edited Order first without persisting it (dry run). * A dry run allows checking for potential errors when trying to apply the stagedActions.

*

Order API Extensions, if any, are also called in dry runs.

* diff --git a/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraftModel.php b/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraftModel.php index 3743209a70a..3249154ce44 100644 --- a/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraftModel.php +++ b/lib/commercetools-api/src/Models/OrderEdit/OrderEditDraftModel.php @@ -184,7 +184,7 @@ public function getComment() } /** - *

Set to true if you want to peview the edited Order first without persisting it (dry run). + *

Set to true if you want to preview the edited Order first without persisting it (dry run). * A dry run allows checking for potential errors when trying to apply the stagedActions.

*

Order API Extensions, if any, are also called in dry runs.

* diff --git a/references.txt b/references.txt index 0e67fa61359..71d8c1f70d5 100644 --- a/references.txt +++ b/references.txt @@ -381,3 +381,4 @@ ffa8644c871728467258443ffb54707031865c44 a7aa20c17dc375042673f3de785e65cda595960c 9e27b6b4195fb7839b6c87f31a988d1612f327d6 7e0d07d02382161fc6d401b83e03ad2754afbc9b +0d4223fbb7b6010a0e567bf129f511b03ad91468