Repository URL to install this package:
|
Version:
2.0.11 ▾
|
import { gql } from 'apollo-server'
export default gql`
scalar JSON
type Label {
label: String
}
type Value {
value: String
}
type LabelValue {
label: String
value: String
}
type LabelValueType {
label: String
value: String
type: String
}
type TypeValue {
type: String
value: String
}
type Name {
name: String
}
# used in loyalty -.-
type NameValue {
name: String
value: String
}
type ImageName {
image: String
name: String
}
type PricedNormal {
type: String
label: String
value: String
}
type PricedWithRange {
type: String
label: String
value: String
ismin: String
ismax: String
}
# @note
union Price = PricedNormal | PricedWithRange
type Pricing {
currencycode: String
prices: [PricedWithRange]
buymoresavemore: [MinMaxQuantity]
}
type MinMaxQuantity {
minquantity: String
maxquantity: String
}
# @note
interface IBuyInfo {
pricing: Pricing
inventorystatus: String
instock: String
preorder: String
preorderdate: String
deliverydate: String
availablequantity: String
availability: [Availability]
promomessages: [Label]
}
type Availability {
instore: String
}
type ServerResponse {
responseCode: String
responseMessage: String
type: String
cookies: [String]
}
`