From e2a3c16c002fc4e3b3e6cb8ef96e8280406b6272 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:46:18 +0000 Subject: [PATCH] build(codegen): updating SDK --- packages/platform-sdk/src/generated/models/common.ts | 5 +++++ .../platform-sdk/src/generated/models/standalone-price.ts | 4 ++++ references.txt | 1 + 3 files changed, 10 insertions(+) diff --git a/packages/platform-sdk/src/generated/models/common.ts b/packages/platform-sdk/src/generated/models/common.ts index b2906d46c..c128410a7 100644 --- a/packages/platform-sdk/src/generated/models/common.ts +++ b/packages/platform-sdk/src/generated/models/common.ts @@ -684,6 +684,8 @@ export interface DiscountedPriceDraft { /** * Sets the money value for the discounted price. * + * To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft). + * * */ readonly value: _Money @@ -910,6 +912,8 @@ export interface PriceDraft { /** * Money value of this Price. * + * To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft). + * * */ readonly value: _Money @@ -1015,6 +1019,7 @@ export interface PriceTierDraft { readonly minimumQuantity: number /** * Money value that applies when the `minimumQuantity` is greater than or equal to the [LineItem](ctp:api:type:LineItem) `quantity`. + * To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft). * * The `currencyCode` of a Price tier must be the same as the `currencyCode` in the `value` of the related Price. * diff --git a/packages/platform-sdk/src/generated/models/standalone-price.ts b/packages/platform-sdk/src/generated/models/standalone-price.ts index 3eb6767f1..54247e13b 100644 --- a/packages/platform-sdk/src/generated/models/standalone-price.ts +++ b/packages/platform-sdk/src/generated/models/standalone-price.ts @@ -190,6 +190,8 @@ export interface StandalonePriceDraft { /** * Sets the money value of this Price. * + * To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft). + * * */ readonly value: _Money @@ -410,6 +412,8 @@ export interface StandalonePriceChangeValueAction { /** * New value to set. Must not be empty. * + * To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft). + * * */ readonly value: _Money diff --git a/references.txt b/references.txt index 6a18dacaf..ee9bd3899 100644 --- a/references.txt +++ b/references.txt @@ -347,3 +347,4 @@ b747e1fa4f246b748a89bccbfd8a43f5b6f51175 7375cdc26481ba55e756479a87270432635bfcf7 df53588d26d7953dfdf44166866ca03045f0a70b 6b69c5425fe16564147deb9b1d6a9a1078dc5330 +99e7aa1c7e3ba67a59b6df3efbaf4e320611c549