From 38de4175b3e39979dedce5a9766cb221be43ae55 Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Tue, 12 Dec 2023 09:00:10 +0000 Subject: [PATCH] Updated API from documentation release --- .../types/cart-discount/CartDiscountTotalPriceTarget.raml | 1 - api-specs/api/types/cart/Cart.raml | 1 - api-specs/api/types/cart/DiscountOnTotalPrice.raml | 1 - api-specs/api/types/cart/DiscountedTotalPricePortion.raml | 1 - api-specs/api/types/order/Order.raml | 1 - api-specs/graphql/schema.sdl | 6 ------ 6 files changed, 11 deletions(-) diff --git a/api-specs/api/types/cart-discount/CartDiscountTotalPriceTarget.raml b/api-specs/api/types/cart-discount/CartDiscountTotalPriceTarget.raml index 2aa08443c..6a383ac40 100644 --- a/api-specs/api/types/cart-discount/CartDiscountTotalPriceTarget.raml +++ b/api-specs/api/types/cart-discount/CartDiscountTotalPriceTarget.raml @@ -1,6 +1,5 @@ #%RAML 1.0 DataType (package): CartDiscount -(beta): true type: CartDiscountTarget displayName: CartDiscountTotalPriceTarget discriminatorValue: totalPrice diff --git a/api-specs/api/types/cart/Cart.raml b/api-specs/api/types/cart/Cart.raml index 6847bd51e..0d376aad4 100644 --- a/api-specs/api/types/cart/Cart.raml +++ b/api-specs/api/types/cart/Cart.raml @@ -80,7 +80,6 @@ properties: Sum of the `taxedPrice` field of [ShippingInfo](ctp:api:type:ShippingInfo) across all Shipping Methods. discountOnTotalPrice?: type: DiscountOnTotalPrice - (beta): true description: |- Discounts that apply on the Cart `totalPrice`. taxMode: diff --git a/api-specs/api/types/cart/DiscountOnTotalPrice.raml b/api-specs/api/types/cart/DiscountOnTotalPrice.raml index c0ab26433..4b5d861c3 100644 --- a/api-specs/api/types/cart/DiscountOnTotalPrice.raml +++ b/api-specs/api/types/cart/DiscountOnTotalPrice.raml @@ -1,6 +1,5 @@ #%RAML 1.0 DataType (package): Cart -(beta): true (docs-uri): https://docs.commercetools.com/api/projects/carts#discountontotalprice displayName: DiscountOnTotalPrice type: object diff --git a/api-specs/api/types/cart/DiscountedTotalPricePortion.raml b/api-specs/api/types/cart/DiscountedTotalPricePortion.raml index a32530dd0..cb232ec4b 100644 --- a/api-specs/api/types/cart/DiscountedTotalPricePortion.raml +++ b/api-specs/api/types/cart/DiscountedTotalPricePortion.raml @@ -1,6 +1,5 @@ #%RAML 1.0 DataType (package): Cart -(beta): true (docs-uri): https://docs.commercetools.com/api/projects/carts#discountedtotalpriceportion displayName: DiscountedTotalPricePortion type: object diff --git a/api-specs/api/types/order/Order.raml b/api-specs/api/types/order/Order.raml index 10b590b5a..a4ff2460e 100644 --- a/api-specs/api/types/order/Order.raml +++ b/api-specs/api/types/order/Order.raml @@ -78,7 +78,6 @@ properties: Sum of the `taxedPrice` field of [ShippingInfo](ctp:api:type:ShippingInfo) across all Shipping Methods. discountOnTotalPrice?: type: DiscountOnTotalPrice - (beta): true description: |- Discounts that apply on the total price of the Order. taxMode?: diff --git a/api-specs/graphql/schema.sdl b/api-specs/graphql/schema.sdl index 1f390f7e4..bc4ce5f20 100644 --- a/api-specs/graphql/schema.sdl +++ b/api-specs/graphql/schema.sdl @@ -1699,7 +1699,6 @@ type Cart implements Versioned & ReferenceExpandable { customLineItems: [CustomLineItem!]! totalPrice: Money! taxedPrice: TaxedPrice - "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta" discountOnTotalPrice: DiscountOnTotalPrice shippingAddress: Address billingAddress: Address @@ -1862,12 +1861,10 @@ input CartDiscountTargetInput { totalPrice: CartDiscountTotalPriceTargetInput } -"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta" type CartDiscountTotalPriceTarget implements CartDiscountTarget { type: String! } -"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta" input CartDiscountTotalPriceTargetInput { dummy: String } @@ -4092,7 +4089,6 @@ type DiscountedProductSearchPriceValue { discount: ProductDiscount } -"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta" type DiscountedTotalPricePortion { discount: CartDiscount discountRef: Reference! @@ -6451,7 +6447,6 @@ type Order implements Versioned & ReferenceExpandable { customLineItems: [CustomLineItem!]! totalPrice: Money! taxedPrice: TaxedPrice - "BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta" discountOnTotalPrice: DiscountOnTotalPrice shippingAddress: Address billingAddress: Address @@ -13685,7 +13680,6 @@ type TimeType implements FieldType { name: String! } -"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta" type DiscountOnTotalPrice { discountedAmount: BaseMoney! includedDiscounts: [DiscountedTotalPricePortion!]!