From 4775463d586984755bd63d6dec67da3c75e87828 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 13:13:53 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 1 + packages/platform-sdk/src/generated/models/me.ts | 7 +++++++ references.txt | 1 + 3 files changed, 9 insertions(+) diff --git a/changes.md b/changes.md index 40bfab92e..c1d49fcaa 100644 --- a/changes.md +++ b/changes.md @@ -57,6 +57,7 @@ Added Property(s) - added property `custom` to type `ApprovalFlow` +- added property `shippingMode` to type `MyCartDraft` **History changes** diff --git a/packages/platform-sdk/src/generated/models/me.ts b/packages/platform-sdk/src/generated/models/me.ts index bfe4ba1e3..cc8ff8e0d 100644 --- a/packages/platform-sdk/src/generated/models/me.ts +++ b/packages/platform-sdk/src/generated/models/me.ts @@ -17,6 +17,7 @@ import { InventoryMode, ItemShippingDetailsDraft, ItemShippingTarget, + ShippingMode, TaxMode, } from './cart' import { ChannelResourceIdentifier } from './channel' @@ -180,6 +181,12 @@ export interface MyCartDraft { * */ readonly itemShippingAddresses?: BaseAddress[] + /** + * - If set to `Single`, only a single Shipping Method can be added to the Cart. + * - If set to `Multiple`, multiple Shipping Methods can be added to the Cart. + * + */ + readonly shippingMode?: ShippingMode /** * `code` of the existing [DiscountCodes](ctp:api:type:DiscountCode) to add to the Cart. * diff --git a/references.txt b/references.txt index 849435c73..981ea9f36 100644 --- a/references.txt +++ b/references.txt @@ -230,3 +230,4 @@ c640bc7c38e111f9df252979cc5c2ab22568a3d8 2e6876d6e80db67518bc18caed1e630372cae607 455326d83ec0750dfaec9afc7ec640f15412a68f bbed21a27bf83c8ac16f323969d71a8855623523 +e3a178953d3d929a58092a0c86d666fee6400c75