Skip to content

Commit

Permalink
Update generated SDKs (#925)
Browse files Browse the repository at this point in the history
* build(codegen): updating SDK

* Update reference.txt

* build(codegen): updating SDK

---------

Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
Co-authored-by: Jens Schulze <[email protected]>
  • Loading branch information
ct-sdks[bot] and jenschude authored Feb 5, 2025
1 parent 4c329a1 commit 624c5b2
Show file tree
Hide file tree
Showing 71 changed files with 5,775 additions and 2,111 deletions.
36 changes: 36 additions & 0 deletions .changeset/changes_api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
'@commercetools/platform-sdk': minor
---

**Api changes**

<details>
<summary>Changed Property(s)</summary>

- :warning: changed property `discount` of type `DiscountedTotalPricePortion` from type `CartDiscountReference` to `Reference`
</details>

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

- added property `businessUnit` to type `ShoppingList`
- added property `businessUnit` to type `ShoppingListDraft`
</details>

<details>
<summary>Required Property(s)</summary>

- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional
</details>

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

- :warning: removed type `ProductSearchFacetScope`
</details>

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

- added type `ShoppingListSetBusinessUnitAction`
</details>
39 changes: 12 additions & 27 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,32 @@
**Api changes**

<details>
<summary>Added Resource(s)</summary>
<summary>Changed Property(s)</summary>

- 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}`
- :warning: changed property `discount` of type `DiscountedTotalPricePortion` from type `CartDiscountReference` to `Reference`
</details>

<details>
<summary>Required Property(s)</summary>
<summary>Added Property(s)</summary>

- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required
- added property `businessUnit` to type `ShoppingList`
- added property `businessUnit` to type `ShoppingListDraft`
</details>

<details>
<summary>Added Property(s)</summary>
<summary>Required Property(s)</summary>

- added property `inheritedStores` to type `BusinessUnit`
- added property `inheritedStores` to type `Company`
- added property `inheritedStores` to type `Division`
- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional
</details>

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

- 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()`
</details>
<summary>Removed Type(s)</summary>

**History changes**
- :warning: removed type `ProductSearchFacetScope`
</details>

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

- :warning: changed property `triggerPattern` of type `ChangeTargetPatternChangeValue` to be required
- added type `ShoppingListSetBusinessUnitAction`
</details>
Loading

0 comments on commit 624c5b2

Please sign in to comment.