Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@
- 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`
</details>
Expand All @@ -51,16 +54,47 @@
</details>


<details>
<summary>Added QueryParameter(s)</summary>

- 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}`
</details>


<details>
<summary>Added Type(s)</summary>

- 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`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,19 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/in-store/key=test_storeKey/product-projections/test_ID?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->productProjections()
->withId('test_ID')
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/in-store/key=test_storeKey/product-projections/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,19 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/in-store/key=test_storeKey/product-projections/key=test_key?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->productProjections()
->withKey('test_key')
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/in-store/key=test_storeKey/product-projections/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/product-projections/test_ID?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductProjectionsByIDGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->productProjections()
->withId('test_ID')
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/product-projections/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductProjectionsByIDGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/product-projections/key=test_key?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductProjectionsKeyByKeyGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->productProjections()
->withKey('test_key')
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/product-projections/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductProjectionsKeyByKeyGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/product-projections/search?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductProjectionsSearchGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->productProjections()
->search()
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/product-projections/search?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductProjectionsSearchGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,17 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/product-projections?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductProjectionsGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->productProjections()
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/product-projections?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductProjectionsGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/products/test_ID?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductsByIDGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->products()
->withId('test_ID')
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/products/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductsByIDGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down Expand Up @@ -222,6 +234,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/products/test_ID?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductsByIDPost_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->products()
->withId('test_ID')
->post(null)
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'post',
'test_projectKey/products/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductsByIDPost_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down Expand Up @@ -293,6 +317,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'delete',
'test_projectKey/products/test_ID?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductsByIDDelete_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->products()
->withId('test_ID')
->delete()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'delete',
'test_projectKey/products/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductsByIDDelete_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/products/key=test_key?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductsKeyByKeyGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->products()
->withKey('test_key')
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/products/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductsKeyByKeyGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down Expand Up @@ -221,6 +233,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/products/key=test_key?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductsKeyByKeyPost_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->products()
->withKey('test_key')
->post(null)
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'post',
'test_projectKey/products/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductsKeyByKeyPost_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down Expand Up @@ -292,6 +316,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
'delete',
'test_projectKey/products/key=test_key?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductsKeyByKeyDelete_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->products()
->withKey('test_key')
->delete()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'delete',
'test_projectKey/products/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductsKeyByKeyDelete_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,17 @@ function (ApiRequestBuilder $builder): RequestInterface {
'get',
'test_projectKey/products?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductsGet_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->products()
->get()
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'get',
'test_projectKey/products?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductsGet_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down Expand Up @@ -289,6 +300,17 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/products?priceCustomerGroup=priceCustomerGroup',
],
'ByProjectKeyProductsPost_withPriceCustomerGroupAssignments' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->products()
->post(null)
->withPriceCustomerGroupAssignments('priceCustomerGroupAssignments');
},
'post',
'test_projectKey/products?priceCustomerGroupAssignments=priceCustomerGroupAssignments',
],
'ByProjectKeyProductsPost_withPriceChannel' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,15 @@ public function withPriceCustomerGroup($priceCustomerGroup): ByProjectKeyInStore
return $this->withQueryParam('priceCustomerGroup', $priceCustomerGroup);
}

/**
*
* @psalm-param scalar|scalar[] $priceCustomerGroupAssignments
*/
public function withPriceCustomerGroupAssignments($priceCustomerGroupAssignments): ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
{
return $this->withQueryParam('priceCustomerGroupAssignments', $priceCustomerGroupAssignments);
}

/**
*
* @psalm-param scalar|scalar[] $priceChannel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,15 @@ public function withPriceCustomerGroup($priceCustomerGroup): ByProjectKeyInStore
return $this->withQueryParam('priceCustomerGroup', $priceCustomerGroup);
}

/**
*
* @psalm-param scalar|scalar[] $priceCustomerGroupAssignments
*/
public function withPriceCustomerGroupAssignments($priceCustomerGroupAssignments): ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
{
return $this->withQueryParam('priceCustomerGroupAssignments', $priceCustomerGroupAssignments);
}

/**
*
* @psalm-param scalar|scalar[] $priceChannel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,15 @@ public function withPriceCustomerGroup($priceCustomerGroup): ByProjectKeyProduct
return $this->withQueryParam('priceCustomerGroup', $priceCustomerGroup);
}

/**
*
* @psalm-param scalar|scalar[] $priceCustomerGroupAssignments
*/
public function withPriceCustomerGroupAssignments($priceCustomerGroupAssignments): ByProjectKeyProductProjectionsByIDGet
{
return $this->withQueryParam('priceCustomerGroupAssignments', $priceCustomerGroupAssignments);
}

/**
*
* @psalm-param scalar|scalar[] $priceChannel
Expand Down
Loading