diff --git a/CHANGELOG.md b/CHANGELOG.md index db1f1db..c6d364a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- Field `isGift` to `Item` type. + ## [0.58.0] - 2021-04-06 ### Changed - `updateItems` mutation using the same endopoint as `addToCart` mutation diff --git a/graphql/types/Item.graphql b/graphql/types/Item.graphql index d94eee0..ede0c27 100644 --- a/graphql/types/Item.graphql +++ b/graphql/types/Item.graphql @@ -45,6 +45,7 @@ type Item { uniqueId: String! unitMultiplier: Float priceTags: [PriceTag!]! + isGift: Boolean! } type ImageUrls { diff --git a/manifest.json b/manifest.json index b239807..db091ac 100644 --- a/manifest.json +++ b/manifest.json @@ -15,9 +15,7 @@ }, "credentialType": "absolute", "mustUpdateAt": "2019-11-05", - "registries": [ - "smartcheckout" - ], + "registries": ["smartcheckout"], "policies": [ { "name": "vtex.messages:translate-messages" diff --git a/node/typings/global.d.ts b/node/typings/global.d.ts index 14b6a6a..ed6bf0e 100644 --- a/node/typings/global.d.ts +++ b/node/typings/global.d.ts @@ -465,6 +465,7 @@ declare global { at2x: string at3x: string } + isGift: boolean listPrice: number measurementUnit: string name: string