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 22, 2025
1 parent 7ae541c commit 458a5da
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
14 changes: 10 additions & 4 deletions .changeset/changes_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
**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>
Expand All @@ -27,6 +25,14 @@
- added property `inheritedStores` to type `Division`
</details>

<details>
<summary>Added Resource(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}`
</details>

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

Expand Down
14 changes: 10 additions & 4 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
**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>
Expand All @@ -23,6 +21,14 @@
- added property `inheritedStores` to type `Division`
</details>

<details>
<summary>Added Resource(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}`
</details>

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

Expand Down
4 changes: 2 additions & 2 deletions packages/platform-sdk/src/generated/models/cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1123,11 +1123,11 @@ export interface DiscountedLineItemPriceForQuantity {
}
export interface DiscountedTotalPricePortion {
/**
* Cart Discount related to the discounted price.
* A [CartDiscountReference](ctp:api:type:CartDiscountReference) or [DirectDiscountReference](ctp:api:type:DirectDiscountReference) to the discount applied on the Cart `totalPrice`.
*
*
*/
readonly discount: CartDiscountReference
readonly discount: Reference
/**
* Money value of the discount.
*
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,4 @@ e3d5bc9cb69146c5d1dd755ed5e8cf2f54566b3a
591d5eaefd1d56fd350895ccea401cb42f2f0ee8
e45c96065b0f2d6cbb563b65fbed44785e8a8149
64c89a7773b97bd6425a82d7d8cee1a9f0f3e6e2
f28a1461a4122eed74c423156f1969ba204e6948

0 comments on commit 458a5da

Please sign in to comment.