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 26, 2024
1 parent c0c5691 commit 138b026
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/platform-sdk/src/generated/models/cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ export interface CartDraft {
readonly billingAddress?: _BaseAddress
/**
* Shipping address for a Cart with `Single` [ShippingMode](ctp:api:type:ShippingMode). Determines eligible [ShippingMethod](ctp:api:type:ShippingMethod) rates and Tax Rates of Line Items.
* Must be one of the `itemShippingAddresses` when that field is also provided.
*
*
*/
Expand Down Expand Up @@ -1265,7 +1266,7 @@ export interface ItemShippingTarget {
/**
* User-defined unique identifier of the Shipping Method in a Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
*
* It connects Line Item quantities with individual shipping addresses.
* It connects Line Item or Custom Line Item quantities with individual Shipping Methods.
*
*/
readonly shippingMethodKey?: string
Expand Down
1 change: 1 addition & 0 deletions packages/platform-sdk/src/generated/models/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2398,6 +2398,7 @@ export interface OrderRemoveDeliveryAction {
}
/**
* An address can only be removed if it is not referenced in any [ItemShippingTarget](ctp:api:type:ItemShippingTarget) of the Cart.
* In such case, change the Line Item shipping address to a different `addressKey` first using the [Set LineItemShippingDetails](ctp:api:type:OrderSetLineItemShippingDetailsAction) update action, before you remove the obsolete address.
*
*/
export interface OrderRemoveItemShippingAddressAction {
Expand Down
6 changes: 3 additions & 3 deletions packages/platform-sdk/src/generated/models/shipping-method.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export interface ShippingRate {
*/
readonly price: TypedMoney
/**
* Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
* [Free shipping](/../shipping-delivery-overview#free-shipping) is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
*
*/
readonly freeAbove?: TypedMoney
Expand All @@ -320,7 +320,7 @@ export interface ShippingRateDraft {
*/
readonly price: _Money
/**
* Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
* [Free shipping](/../shipping-delivery-overview#free-shipping) is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
*
*/
readonly freeAbove?: _Money
Expand Down Expand Up @@ -367,7 +367,7 @@ export interface CartClassificationTier {
export interface CartScoreTier {
readonly type: 'CartScore'
/**
* Abstract value for categorizing a Cart. The range starts at `0`. The default price covers `0`, tiers start at `1`. See [Using Tiered Shipping Rates](/../tutorials/shipping-rate) for details and examples.
* Abstract value for categorizing a Cart. The range starts at `0`. The default price covers `0`, tiers start at `1`. See [Tiered shipping rates](/../api/shipping-delivery-overview#tiered-shipping-rates) for details and examples.
*
*
*/
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,4 @@ c640bc7c38e111f9df252979cc5c2ab22568a3d8
8242aca6c3e58147ce99c6a1dbd08e35818b1563
2e6876d6e80db67518bc18caed1e630372cae607
455326d83ec0750dfaec9afc7ec640f15412a68f
bbed21a27bf83c8ac16f323969d71a8855623523

0 comments on commit 138b026

Please sign in to comment.