Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Jan 7, 2025
1 parent e2a1817 commit 9676fdc
Show file tree
Hide file tree
Showing 85 changed files with 5,565 additions and 4 deletions.
47 changes: 47 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
**Api changes**

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

- added type `CustomerGroupAssignment`
- added type `CustomerGroupAssignmentDraft`
- added type `CustomerAddCustomerGroupAssignmentAction`
- added type `CustomerRemoveCustomerGroupAssignmentAction`
- added type `CustomerSetCustomerGroupAssignmentsAction`
- added type `CustomerGroupAssignmentAddedMessage`
- added type `CustomerGroupAssignmentRemovedMessage`
- added type `CustomerGroupAssignmentsSetMessage`
- added type `CustomerGroupAssignmentAddedMessagePayload`
- added type `CustomerGroupAssignmentRemovedMessagePayload`
- added type `CustomerGroupAssignmentsSetMessagePayload`
</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 Property(s)</summary>

- added property `customerGroupAssignments` to type `Customer`
- added property `customerGroupAssignments` to type `CustomerDraft`
- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`
</details>

**History changes**

<details>
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
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,15 @@ public function withPriceCustomerGroup($priceCustomerGroup): ByProjectKeyProduct
return $this->withQueryParam('priceCustomerGroup', $priceCustomerGroup);
}

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

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

0 comments on commit 9676fdc

Please sign in to comment.