Repository URL to install this package:
|
Version:
9.0.21-framework ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const apollo_server_1 = require("apollo-server");
exports.default = apollo_server_1.gql `
scalar JSON
scalar _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_
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]
}
# @todo this is duplication we should reuse card types same as in state tree models...
type CardAddressInfo {
country: String
firstName: String
telephone: String
city: String
county: String
middleName: String
lastName: String
addressId: String
postalCode: 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=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW50ZXJmYWNlcy5ncmFwaHFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2dyYXBocWwtbW9kdWxlcy9jb21tb24vc2NoZW1hL0ludGVyZmFjZXMuZ3JhcGhxbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGlEQUFtQztBQUVuQyxrQkFBZSxtQkFBRyxDQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0NBd0lqQixDQUFBIn0=