Repository URL to install this package:
|
Version:
6.0.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const apollo_server_1 = require("apollo-server");
exports.default = apollo_server_1.gql `
scalar JSON
type Label {
label: String
}
type Value {
value: String
}
# type SkuInfo {
# color: ImageName
# size1: Name
# style: Name
# }
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]
}
type PhoneDetail {
phonenumber: String
}
# @todo this is duplication we should reuse card types same as in state tree models...
type CardAddressInfo {
country: String
firstname: String
phonedetails: [PhoneDetail]
city: String
county: String
middlename: String
lastname: String
addressid: String
zipcode: String
addressline3: String
addressline2: String
addressline1: String
state: String
email: String
}
type CardInfo {
identifier: String
amount: String
addressinfo: CardAddressInfo
credits: String
type: String
additionalinfo: [LabelValue]
points: String
}
type CreditCardInfo {
cards: [CardInfo]
}
type PaymentCardInfo {
amount: String
type: String
}
`;
//# sourceMappingURL=Interfaces.graphql.js.map