Repository URL to install this package:
|
Version:
9.0.35-framework ▾
|
import { Binding as BaseBinding, BindingOptions } from 'graphql-binding';
import { GraphQLResolveInfo } from 'graphql';
export interface CategoryEndpointInputType {
isSelected?: Boolean;
categoryName?: String;
categoryId: String;
}
export interface ProductOptionItemLiteInputType {
groupLabelOrPropertyName: String;
selectedValue: String;
}
export interface FacetsInput {
key?: String;
value?: String[] | String;
}
export interface TabbedFeaturedProductListInput {
endpoints?: EndpointInput[] | EndpointInput;
}
export interface EndpointInput {
categoryId: String;
categoryName: String;
categoryAttribute: String;
}
export interface AddressInput {
default?: Boolean;
phoneNumber?: String;
phone?: String;
identifier?: String;
id?: String;
addressType?: String;
telephone?: String;
email?: String;
firstName?: String;
middleName?: String;
lastName?: String;
addressLine1?: String;
addressLine2?: String;
addressLine3?: String;
city?: String;
state?: String;
postalCode?: String;
country?: String;
isDefault?: Boolean;
type?: String;
}
export interface GetListPageInput {
page?: Int;
size?: Int;
}
export interface GetAllListInput {
page?: Int;
size?: Int;
name?: String;
}
export interface AddToBagInput {
skuId: String;
itemid: String;
title?: String;
quantity?: Int;
itemType?: String;
customParams?: CategoryIdParam;
subProducts?: SubProductsInAddToBag[] | SubProductsInAddToBag;
}
export interface CategoryIdParam {
categoryId?: String;
}
export interface SubProductsInAddToBag {
skuId: String;
itemid: String;
customParams?: CustomParams;
}
export interface CustomParams {
mainProduct?: String;
mandatoryProduct?: String;
optionalProduct?: String;
quantity?: Int;
}
export interface MultipleAddToBagInput {
addToBagParams?: MultipleItemParams[] | MultipleItemParams;
}
export interface MultipleItemParams {
skuId: String;
itemid: String;
title?: String;
quantity?: Int;
itemType?: String;
customParams?: CategoryIdParam;
subProducts?: SubProductsInAddToBag[] | SubProductsInAddToBag;
}
export interface UpdateBagInput {
quantity?: Int;
id?: Int;
}
export interface DeleteFromBagInput {
id: Int;
}
export interface ShippingMethodInput {
shippingMethod?: String;
shippingMethodIdentifier?: String;
}
export interface PaymentAddress {
addressLine1: String;
addressLine2?: String;
postalCode?: String;
city: String;
state: String;
country: String;
phone?: String;
telephone?: String;
email: String;
lastName: String;
firstName: String;
middleName?: String;
deliveryInstruction?: String;
default?: Boolean;
isDefault?: Boolean;
type?: String;
addressType?: String;
}
export interface CommunicationInput {
firstName: String;
lastName: String;
email: String;
phone?: String;
telephone?: String;
postalCode?: String;
preferredContactMethod: String;
}
export interface CreditCardInput {
number?: String;
cardNumber?: String;
type?: String;
cardType?: String;
cvv?: String;
securityCode?: String;
expirationmonth?: String;
expirationyear?: String;
expirationMonth?: String;
expirationYear?: String;
name?: String;
firstName?: String;
lastName?: String;
id?: String;
makeDefaultCard?: Boolean;
default?: Boolean;
isDefault?: Boolean;
}
export interface GuestProfileAddressDetails {
firstName: String;
lastName: String;
phone?: String;
telephone?: String;
email: String;
type?: String;
postalCode?: String;
zipCode?: String;
}
export interface EstimateInfoInput {
postalCode?: String;
state?: String;
country?: String;
city?: String;
}
export interface AddListItemType {
key?: String;
currentlySelectedSkuId?: String;
name?: String;
quantity?: Int;
productId?: String;
}
export interface CreateListInput {
name?: String;
type?: String;
itemType?: String;
accessType?: String;
listItems?: AddListItemType[] | AddListItemType;
}
export interface ListParamsInput {
accessType?: String;
name?: String;
}
export interface AccountRegisterInput {
email?: String;
password?: String;
firstName?: String;
lastName?: String;
phoneNumber?: String;
name?: String;
street1?: String;
street2?: String;
street3?: String;
city?: String;
country?: String;
county?: String;
postalCode?: String;
taxId?: String;
state?: String;
dunsNumber?: String;
}
export interface InviteTeamInput {
accountId?: String;
teamId?: String;
inviteInput?: InviteInput[] | InviteInput;
}
export interface InviteInput {
email?: String;
name?: String;
role?: String;
}
export interface UserActivationInput {
password?: String;
activationParam?: String;
}
export interface RegisterUserInput {
userName: String;
password: String;
telephone: String;
firstName: String;
lastName?: String;
challengeQuestion?: String;
challengeAnswer?: String;
}
export interface UserLoginInput {
userName?: String;
password?: String;
authToken?: String;
provider?: String;
}
export interface UpdateSecurityInput {
userName?: String;
challengeQuestion?: String;
challengeAnswer?: String;
}
export interface AddCardInput {
type?: String;
number?: String;
expirationmonth?: String;
expirationyear?: String;
default?: Boolean;
makeDefaultCard?: Boolean;
expiryDate?: String;
cvv?: String;
name?: String;
cardBrand?: String;
identifier?: String;
id?: String;
cardType?: String;
cardNumber?: String;
expirationMonth?: String;
expirationYear?: String;
firstName?: String;
lastName?: String;
isDefault?: Boolean;
securityCode?: String;
}
export interface ResetByEmailInput {
email?: String;
}
export interface ValidateByEmailInput {
password?: String;
resetParam?: String;
confirmPassword?: String;
}
export interface ResetBySecurityQuestions {
emailId?: String;
challengeQuestion1?: String;
challengeAnswer1?: String;
password?: String;
}
export interface UpdateProfileInput {
firstName?: String;
lastName?: String;
userId?: String;
status?: String;
}
export interface UpdatePasswordParams {
oldPassword?: String;
newPassword?: String;
}
export interface AccountInputs {
name?: String;
type?: String;
}
export interface AddItemInput {
listId?: String;
listItems?: AddListItemType[] | AddListItemType;
}
export interface AddListItem {
key?: String;
currentlySelectedSkuId?: String;
listItems?: AddListItemType[] | AddListItemType;
}
export interface CreateListItemType {
name?: String;
accessType?: String;
itemType?: String;
}
export interface Custom {
locale?: String;
channel?: String;
linkBAddrToCard?: String;
userId?: String;
}
export interface CustomerInputs {
email?: String;
}
export interface DeleteItemInput {
listItemId: String;
listId: String;
}
export interface DeleteListInput {
listId?: String;
}
export interface OrderAgainArgs {
orderId: String;
lastName: String;
postalCode: String;
}
export interface OrderApprovalInput {
orderId?: String;
status?: String;
reasonCode?: String;
reasonMessage?: String;
}
export interface OrderListArgs {
orderId: String;
customerId: String;
limit?: Int;
offset?: Int;
fromdate?: String;
todate?: String;
status?: String;
}
export interface OrderLookupListArgs {
lastName: String;
orderNumber: String;
postalCode: String;
}
export interface ProductFilterArgs {
categoryId: String;
limit?: Int;
offset?: Int;
selectedFacets?: FacetsInput[] | FacetsInput;
}
export interface ProductListArgs {
categoryId: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[] | FacetsInput;
user?: String;
}
export interface ProductOptionInputType {
productId: String;
productOptionsList?: ProductOptionItemLiteInputType[] | ProductOptionItemLiteInputType;
}
export interface ProductRefineArgs {
categoryId: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[] | FacetsInput;
}
export interface ProductSortArgs {
categoryId: String;
limit?: Int;
offset?: Int;
sort?: String;
}
export interface ResetPasswordBySMSArgs {
email?: String;
}
export interface ReturnOrderArgs {
IS_INVALID: Boolean;
}
export interface SearchArgs {
search: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[] | FacetsInput;
}
export interface SearchRefineArgs {
search: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[] | FacetsInput;
}
export interface SecurityQuestionParams {
type?: String;
verificationDetails?: SecurityVerificationDetails;
}
export interface SecurityVerificationDetails {
challengeQuestion?: String;
challengeAnswer?: String;
}
export interface UpdateListInput {
listId: String;
listParams?: ListParamsInput;
}
export interface UpdateSecurityParams {
verificationDetails?: UpdateSecurityVerificationDetails;
addresses?: SecurityQuestionParams[] | SecurityQuestionParams;
}
export interface UpdateSecurityVerificationDetails {
userName: String;
}
export interface BaseProductLite {
identifier: ID_Output;
image?: String;
type?: String;
name?: String;
regPriceValue?: String;
salePriceValue?: String;
description?: String;
promotionList?: LabelValue[];
}
export interface IBuyInfo {
pricing?: Pricing;
inventorystatus?: String;
instock?: String;
preorder?: String;
preorderdate?: String;
deliverydate?: String;
availablequantity?: String;
availability?: Availability[];
promomessages?: Label[];
}
export interface HomePage {
index?: Int;
pageId?: String;
pageName?: String;
layoutType?: String;
dimensions?: Dimension;
views?: PageViews[];
gridLayout?: GridLayout;
}
export interface Dimension {
width?: Int;
height?: Int;
}
export interface PageViews {
cellId?: String;
widget?: Widget;
}
export interface Widget {
widgetId?: String;
pageId?: String;
componentName?: String;
properties?: WidgetProperties[];
items?: FacetItem[];
}
export interface WidgetProperties {
label?: String;
value?: String;
}
export interface FacetItem {
facets?: LabelValue[];
}
export interface LabelValue {
label?: String;
value?: String;
}
export interface GridLayout {
properties?: Properties;
cells?: Cells[];
}
export interface Properties {
columns?: Int;
gutterSize?: Int;
margin?: Int;
padding?: Int;
}
export interface Cells {
index?: Int;
cellId?: String;
cellNumber?: Int;
properties?: GridCellProperties;
}
export interface GridCellProperties {
columns?: Int;
hidden?: Boolean;
}
export interface MarketingPage {
index?: Int;
pageId?: String;
pageName?: String;
layoutType?: String;
dimensions?: Dimension;
views?: PageViews[];
gridLayout?: GridLayout;
}
export interface HasStudioPage {
hasPage?: Boolean;
pageId?: String;
}
export interface StoreLocator {
type?: String;
offset?: String;
limit?: String;
storeinfo?: StoreList[];
}
export interface StoreList {
identifier?: ID_Output;
country?: String;
distance?: Float;
city?: String;
address1?: String;
latitude?: Float;
additionalinfo?: LabelValue[];
zipCode?: String;
altidentifier?: String;
phone?: String;
name?: String;
state?: String;
distanceunit?: String;
email?: String;
longitude?: Float;
workinghours?: StoreTime[];
}
export interface StoreTime {
opentime?: String;
closetime?: String;
day?: String;
openforbussiness?: String;
}
export interface NewReviewsResponse {
reviewsList?: NewReview[];
reviewTotalCount?: Int;
ratingRange?: Int;
aggregateAverageRatingValue?: Int;
visibleReviewCount?: Int;
pageInfo?: NumberBasedPaginationModel;
}
export interface NewReview {
identifier: ID_Output;
label?: String;
value?: String;
reviewCreated?: String;
reviewUpdated?: String;
userName?: String;
rating?: Int;
userId?: String;
isFeatured?: Boolean;
location?: String;
positiveReviewCount?: Int;
negativeReviewCount?: Int;
}
export interface NumberBasedPaginationModel {
offset?: Int;
limit?: Int;
totalItems?: Int;
totalPages?: Int;
currentPage?: Int;
hasPreviousPage?: Boolean;
hasNextPage?: Boolean;
}
export interface RatingResponse {
identifier?: String;
recommendedcount?: String;
ratings?: Ratings[];
rating?: String;
count?: String;
ratingRange?: String;
ratingsList?: LabelValue;
}
export interface Ratings {
label?: String;
value?: String;
}
export interface SuggestionResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
type?: String;
suggestions?: Suggestion[];
didYouMean?: String[];
}
export interface Suggestion {
parent?: String;
child?: String;
}
export interface CategoryList {
categories?: Category[];
type?: String;
}
export interface Category {
_identifier: ID_Output;
identifier?: String;
image?: String;
video?: String;
name?: String;
type?: String;
description?: String;
categories?: Category[];
categoryids?: LabelValue[];
sortingoptions?: LabelValue[];
}
export interface CategoryBlock {
name: String;
backgroundImage?: String;
heroImage?: String;
previewImage?: String;
}
export interface BrandLandingPage {
banner?: String;
backgroundImageUrl?: String;
learnMore?: String;
sliderLeft?: String;
sliderRight?: String;
sliderLeftMobile?: String;
sliderRightMobile?: String;
promoBanner1?: String;
promoBanner2?: String;
hempTankJade?: String;
hempTankStone?: String;
hempTankMidnight?: String;
}
export interface TabbedFeaturedProductListResponseTypeLite {
tabs: TabItemTypeLite[];
products: ProductLite[];
}
export interface TabItemTypeLite {
label: String;
value: String;
isSelected: Boolean;
}
export interface ProductLite extends BaseProductLite {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
variant?: Int;
images?: String[];
brand?: String;
promotionText?: String;
hasLinkedProducts?: Boolean;
productOptionsList?: ProductOptionGroupLiteType[];
skus?: SkuLite[];
products?: ProductLite[];
currentlySelectedSkuId?: String;
identifier: ID_Output;
image?: String;
type?: String;
name?: String;
regPriceValue?: String;
salePriceValue?: String;
description?: String;
promotionList?: LabelValue[];
breadCrumbList?: LabelValue[];
}
export interface ProductOptionGroupLiteType {
label: String;
propertyName: String;
list: ProductOptionItemLiteType[];
}
export interface ProductOptionItemLiteType {
isSelected?: Boolean;
isDisabled?: Boolean;
label?: String;
value?: String;
}
export interface SkuLite extends BaseProductLite {
skuinfo?: SkuInfoLite;
maxPurchaseQuantity?: Int;
media?: TypeAndLabelAndValue[];
identifier: ID_Output;
image?: String;
type?: String;
name?: String;
regPriceValue?: String;
salePriceValue?: String;
description?: String;
promotionList?: LabelValue[];
}
export interface SkuInfoLite {
color?: ImageName;
size?: Name;
style?: Name;
}
export interface ImageName {
image?: String;
name?: String;
}
export interface Name {
name?: String;
}
export interface TypeAndLabelAndValue {
label?: String;
type?: String;
value?: String;
}
export interface ProductListFromIdResponse {
list?: ProductLite[];
}
export interface LinkedProductsLiteResponse {
recommendedProducts?: ProductLite[];
relatedProducts?: ProductLite[];
}
export interface CatalogTemplate {
hasTemplate: Boolean;
JUST_FOR_NRF_DEBUG?: String;
}
export interface CatalogLite {
name?: String;
products?: ProductLite[];
productFilterFacetList?: FacetLiteType[];
promotionBlockList?: PromotionBlockList[];
breadCrumbList?: LabelValue[];
pageInfo?: NumberBasedPaginationModel;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface FacetLiteType {
label?: String;
list: FacetLiteValue[];
}
export interface FacetLiteValue {
identifier?: String;
label?: String;
count?: Int;
isSelected?: Boolean;
}
export interface PromotionBlockList {
index?: Int;
label?: String;
value?: String;
variant?: Int;
}
export interface Product {
identifier?: ID_Output;
image?: String;
type?: String;
name?: String;
children?: ProductChildren;
properties?: ProductProperties;
additional?: LabelValue[];
specifications?: LabelValue[];
}
export interface ProductChildren {
skus?: Sku[];
products?: Product[];
relatedproducts?: Product[];
recommentedproducts?: Product[];
}
export interface Sku {
identifier: ID_Output;
image?: String;
type: String;
name?: String;
default?: String;
properties?: SkuProperties;
additional?: LabelValue[];
specifications?: Specifications[];
children?: SkuChildren;
}
export interface SkuProperties {
buyinfo?: SkuBuyInfo;
iteminfo?: SkuItemInfo;
state?: SkuState;
skuinfo?: SkuInfo;
}
export interface SkuBuyInfo extends IBuyInfo {
pricing?: Pricing;
inventorystatus?: String;
maxpurchasequantity?: String;
instock?: String;
preorder?: String;
preorderdate?: String;
deliverydate?: String;
availablequantity?: String;
availability?: Availability[];
promomessages?: Label[];
}
export interface Pricing {
currencycode?: String;
prices?: PricedWithRange[];
buymoresavemore?: MinMaxQuantity[];
}
export interface PricedWithRange {
type?: String;
label?: String;
value?: String;
ismin?: String;
ismax?: String;
}
export interface MinMaxQuantity {
minquantity?: String;
maxquantity?: String;
}
export interface Availability {
instore?: String;
}
export interface Label {
label?: String;
}
export interface SkuItemInfo {
flags?: LabelValue[];
additionalimages?: LabelValue[];
additionalinfo?: LabelValue[];
specifications?: LabelValue[];
}
export interface SkuState {
starttime?: String;
}
export interface SkuInfo {
color?: ImageName;
size1?: Name;
style?: Name;
}
export interface Specifications {
label?: String;
value?: String;
}
export interface SkuChildren {
offers?: SkuOffers[];
}
export interface SkuOffers {
name?: String;
properties?: SkuOfferProperties;
}
export interface SkuOfferProperties {
iteminfo?: OfferItemInfo;
}
export interface OfferItemInfo {
description?: LabelValue[];
}
export interface ProductProperties {
buyinfo?: ProductBuyInfo;
iteminfo?: ProductItemInfo;
reviewrating?: ReviewRating;
skuprops?: SkuProps;
state?: State;
promotions?: Promotions;
}
export interface ProductBuyInfo extends IBuyInfo {
pricing?: Pricing;
inventorystatus?: String;
instock?: String;
preorder?: String;
preorderdate?: String;
deliverydate?: String;
availablequantity?: String;
availability?: Availability[];
promomessages?: Label[];
}
export interface ProductItemInfo {
categoryids?: LabelValue[];
flags?: LabelValue[];
videos?: LabelValue[];
additionalimages?: LabelValue[];
description?: LabelValue[];
ismasterproduct?: Boolean;
iscollection?: Boolean;
isgroupproduct?: Boolean;
brand?: String;
}
export interface ReviewRating {
reviewcount?: String;
recommendedcount?: String;
reviews?: CountValue[];
rating?: String;
ratingrange?: String;
}
export interface CountValue {
count?: String;
value?: String;
}
export interface SkuProps {
color?: ImageName[];
size1?: Name[];
style?: Name[];
}
export interface State {
starttime?: String;
additionalinfo?: LabelValue[];
}
export interface Promotions {
offers?: Offers[];
}
export interface Offers {
name?: String;
properties?: CatalogPromoProperties;
}
export interface CatalogPromoProperties {
iteminfo?: PromoDescription;
}
export interface PromoDescription {
description?: LabelValue[];
}
export interface ProductList {
identifier?: ID_Output;
image?: String;
name?: String;
products?: Product[];
link?: String;
categoryIds?: LabelValue[];
productCount?: Int;
searchterm?: String;
productSort?: SortingType;
productFilter?: FacetType;
additional?: LabelValue[];
properties?: ProductState;
responseMessage?: String;
pagination?: NumberBasedPaginationModel;
}
export interface SortingType {
options?: LabelValue[];
sortedBy?: String;
}
export interface FacetType {
facets: Facets[];
selectedFilters: LabelValue[];
}
export interface Facets {
key?: String;
name?: String;
values: FacetValue[];
}
export interface FacetValue {
identifier?: String;
name?: String;
count?: Int;
}
export interface ProductState {
state?: ProductStatus;
}
export interface ProductStatus {
status?: String;
}
export interface Refine {
productSort?: SortingType;
productFilter?: FacetType;
}
export interface TabbedFeaturedProductList {
tabs?: FeatureTab[];
}
export interface FeatureTab {
title?: String;
image?: String;
viewAll?: String;
url?: String;
qa?: String;
meta?: FeatureTabMeta;
values?: FeatureTabValues[];
}
export interface FeatureTabMeta {
title?: String;
image?: String;
viewAll?: String;
url?: String;
qa?: String;
}
export interface FeatureTabValues {
additional?: LabelValue[];
specifications?: LabelValue[];
identifier?: String;
image?: String;
type?: String;
name?: String;
properties?: ProductProperties;
url?: String;
children?: ProductChildren;
}
export interface GuestOrderList {
orders?: OrderDetail[];
state?: OrderListState;
}
export interface OrderDetail {
packages?: OrderPackage[];
paymentcardinfo?: PaymentCardDetail[];
payments?: OrderPayment[];
state?: OrderListState;
}
export interface OrderPackage {
math?: OrderMath;
orderCreatedTime?: String;
orderId?: String;
storeId?: String;
orderTotalAmount?: String;
orderTotalItems?: String;
products?: ProductsWithStoreId[];
shipping?: ShippingDetail[];
properties?: OrderProductProperties;
status?: String;
}
export interface OrderMath {
subTotal?: String;
giftSale?: String;
tax?: String;
shippingCharge?: String;
shippingTax?: String;
discount?: String;
total?: String;
grandTotal?: String;
couponTotal?: String;
}
export interface ProductsWithStoreId {
storeId?: String;
storeName?: String;
items?: OrderProduct[];
}
export interface OrderProduct {
identifier?: String;
name?: String;
image?: String;
skuId?: String;
price?: String;
properties?: OrderProductProperties;
quantity?: String;
skuinfo?: SkuInfo;
category?: LabelValue[];
shippingMethod?: String;
shippingAddress?: ShippingAddress;
}
export interface OrderProductProperties {
buyinfo?: CartBuyInfo;
cartinfo?: OrderProductCartInfo;
iteminfo?: OrderProductItemInfo;
state?: OrderProductState;
math?: Math;
userinfo?: PackageUserInfo;
}
export interface CartBuyInfo extends IBuyInfo {
pricing?: Pricing;
inventorystatus?: String;
instock?: String;
preorder?: String;
preorderdate?: String;
deliverydate?: String;
availablequantity?: String;
availability?: Availability[];
promomessages?: Label[];
}
export interface OrderProductCartInfo {
totaltax?: String;
total?: String;
discountonlytotal?: String;
valueaddedtaxes?: LabelValue[];
shippingmethods?: ShippingMethod[];
surcharges?: TypeValue[];
orderitemid?: String;
discounttotal?: String;
}
export interface ShippingMethod {
estdate?: String;
esttime?: String;
notes?: String;
name?: String;
selected?: Boolean;
code?: String;
date?: String;
identifier?: String;
notification?: String;
prices?: LabelValue[];
time?: String;
type?: String;
}
export interface TypeValue {
type?: String;
value?: String;
}
export interface OrderProductItemInfo {
categoryids?: LabelValue[];
cartinfo?: CartInfo;
flags?: LabelValue[];
isgiftwrap?: String;
description?: Value[];
specifications?: LabelValue[];
psvid?: String;
isgiftcard?: String;
additionalinfo?: LabelValue[];
}
export interface CartInfo {
quantity?: String;
discounttotal?: String;
discountonlytotal?: String;
giftitem?: String;
iseligible?: String;
pretaxtotal?: String;
shippingcharge?: String;
shippingtax?: String;
subtotal?: String;
total?: String;
totaltax?: String;
discount?: LabelValue[];
shippingmethods?: ShippingMethod[];
valueaddedtaxes?: LabelValue[];
valuesapplied?: CartInfoValues[];
}
export interface CartInfoValues {
shiptotal?: String;
}
export interface Value {
value?: String;
}
export interface OrderProductState {
timings?: LabelValue[];
locale?: String;
additionalinfo?: LabelValue[];
status?: String;
}
export interface Math {
cost?: String;
currency?: String;
discountcost?: String;
discount?: String;
estTotalShippingDiscount?: String;
estTotalShippingPrice?: String;
estTotalShippingTax?: String;
estTotalTax?: String;
estunittax?: String;
esttax?: String;
estfulfilcost?: String;
estfulfilsale?: String;
estfulfiltax?: String;
fulfiltax?: String;
fulfilcost?: String;
fulfilsale?: String;
giftdiscount?: String;
giftcost?: String;
giftsale?: String;
estUnitTax?: String;
grandTotal?: String;
grandTotalAfterPayment?: String;
grandTotalTax?: String;
maxBagCount?: String;
quantity?: String;
sale?: String;
tax?: String;
totalBagCount?: String;
totalBagCountWithErrors?: String;
totalCost?: String;
totalDiscount?: String;
totalGiftWrapCost?: String;
totalGiftWrapDiscount?: String;
totalGiftWrapPrice?: String;
totalGiftWrapTax?: String;
totalSale?: String;
unittax?: String;
unitCost?: String;
unitSale?: String;
}
export interface PackageUserInfo {
userId?: String;
}
export interface ShippingAddress {
address1?: String;
address2?: String;
postalCode?: String;
city?: String;
state?: String;
country?: String;
phoneNumber?: String;
email?: String;
lastName?: String;
firstName?: String;
itemLevelShipping?: Boolean;
}
export interface ShippingDetail {
price?: String;
shippingAddress?: ShippingAddress[];
shippingMethod?: String;
hasShipped?: Boolean;
}
export interface PaymentCardDetail {
carddetails?: CardDetail;
name?: LabelValue;
}
export interface CardDetail {
cardBrand?: String;
cardExpirationMonth?: String;
cardExpirationYear?: String;
cardNumber?: String;
cardType?: String;
}
export interface OrderPayment {
properties?: OrderPaymentProperties;
}
export interface OrderPaymentProperties {
creditcardinfo?: CreditCardInfo[];
paymentcardinfo?: OrderPaymentCardDetail;
}
export interface CreditCardInfo {
cards?: CardInfo[];
}
export interface CardInfo {
identifier?: String;
amount?: String;
addressinfo?: CardAddressInfo;
credits?: String;
type?: String;
additionalinfo?: LabelValue[];
points?: String;
}
export interface 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;
}
export interface OrderPaymentCardDetail {
amount?: String;
additionalinfo?: LabelValue[];
}
export interface OrderListState {
statuscode?: String;
offset?: String;
count?: String;
status?: String;
}
export interface OrderList {
orders?: OrderDetail[];
state?: OrderListState;
}
export interface Cart {
contactus?: ContactUsNotReal;
giftproducts?: CartProduct[];
saveforlater?: CartProduct[];
promocodes?: CartProduct[];
products?: StorewiseProduct[];
status?: String;
storeId?: String;
shippingmethodtype?: String;
shippingmethods?: ShippingMethod[];
buyinfo?: CartBuyInfo;
cartinfo?: CartInfo;
iteminfo?: CartItemInfo;
math?: Math;
paymentcardinfo?: CartPaymentCardInfo;
state?: CartState;
properties?: CartStateProperties;
userinfo?: CartUserInfo[];
type?: String;
cookies?: String[];
}
export interface ContactUsNotReal {
description?: String;
telephone?: String;
workinghour?: LabelValue;
}
export interface CartProduct {
itemId?: String;
identifier?: String;
image?: String;
name?: String;
type?: String;
salePrice?: String;
subTotal?: String;
regPrice?: String;
properties?: CartProductProperties;
productOptions?: TypeValue[];
quantity?: String;
productId?: String;
skuId?: String;
title?: String;
children?: CartBundleProduct;
promotion?: CartItemPromotion[];
}
export interface CartProductProperties {
buyinfo?: CartBuyInfo;
cartinfo?: CartInfo;
userinfo?: AddressInfo[];
deliveryInstructions?: String;
iteminfo?: CartProductItemInfo;
skuinfo?: SkuInfo;
creditcardinfo?: CreditCardInfo[];
paymentcardinfo?: PaymentCardInfo;
state?: CartProductState;
math?: Math;
type?: String;
}
export interface AddressInfo {
addressType?: String;
city?: String;
country?: String;
county?: String;
state?: String;
postalCode?: String;
firstName?: String;
middleName?: String;
lastName?: String;
addressLine1?: String;
addressLine2?: String;
telephone?: String;
emailAddress?: String;
id?: String;
userName?: String;
addressLine3?: String;
phoneNumber?: String;
email?: String;
}
export interface CartProductItemInfo {
additionalinfo?: LabelValue[];
category?: String;
categoryids?: Value[];
description?: Value[];
shortdescription?: LabelValue[];
flags?: LabelValue[];
specifications?: LabelValue[];
isgiftcard?: String;
itemid?: String;
prices?: LabelValueType[];
sku?: String;
}
export interface LabelValueType {
label?: String;
value?: String;
type?: String;
}
export interface PaymentCardInfo {
amount?: String;
type?: String;
}
export interface CartProductState {
errormessage?: String;
}
export interface CartBundleProduct {
products?: CartProduct[];
}
export interface CartItemPromotion {
name?: String;
description?: String;
type?: String;
total?: String;
quantity?: String;
}
export interface StorewiseProduct {
storeId?: String;
storeName?: String;
items?: CartProduct[];
}
export interface CartItemInfo {
giftoption?: GiftOption;
}
export interface GiftOption {
giftwraptax?: String;
giftwrapcost?: String;
}
export interface CartPaymentCardInfo {
adjustedamount?: String;
amount?: String;
type?: String;
}
export interface CartState {
additionalinfo?: LabelValue[];
status?: String;
count?: String;
}
export interface CartStateProperties {
state?: CartState;
}
export interface CartUserInfo {
guid?: String;
userId?: String;
addressinfo?: AddressInfo[];
deliveryInstructions?: String;
}
export interface CartLiteType {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseCode?: String;
identifier: ID_Output;
math: MathType;
products: CartProductLiteType[];
totalBagCount?: Int;
}
export interface MathType {
totalDiscount?: String;
estTotalShippingDiscount?: String;
estTotalShippingPrice?: String;
estTotalShippingTax?: String;
estTotalTax?: String;
estUnitTax?: String;
grandTotal?: String;
grandTotalAfterPayment?: String;
grandTotalTax?: String;
grandTotalSale?: String;
grandTotalSaved?: String;
}
export interface CartProductLiteType {
identifier: Int;
cartProductId: Int;
productId: String;
currentlySelectedSkuId: String;
name: String;
image: String;
type: String;
salePriceValue?: String;
regPriceValue?: String;
savingsPriceValue?: String;
totalSalePriceValue?: String;
totalRegPriceValue?: String;
totalSavingsPriceValue?: String;
description: String;
shortDescription?: String;
promotionText?: String;
quantity: Int;
minQuantity?: Int;
maxQuantity?: Int;
availableQuantity?: Int;
shippingMethodList?: ShippingMethodItemType[];
selectedProductOptionsList: ProductOptionItemLiteType[];
math?: MathType;
}
export interface ShippingMethodItemType {
identifier: ID_Output;
isSelected: Boolean;
deliveryTime: Int;
deliveryTimePretty?: String;
label?: String;
type?: String;
description?: String;
priceValue?: String;
}
export interface CartLiteStoreListResponse {
list: CartStoreItemType[];
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
responseCode?: String;
}
export interface CartStoreItemType {
storeId: String;
name: String;
logoUrl: String;
}
export interface CartLiteProductListForStoreResponse {
list: CartProductLiteType[];
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
responseCode?: String;
}
export interface ShippingMethodListLiteResponseType {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
list?: ShippingMethodItemType[];
}
export interface CheckoutShippingAddressResponse {
deliveryId?: ID_Output;
isDeliveredAlone?: Boolean;
deliveryType?: String;
deliveryInstructions?: String;
deliveryCharge?: String;
addressId: ID_Output;
addressType?: String;
isDefault: Boolean;
firstName?: String;
middleName?: String;
lastName?: String;
email?: String;
telephone?: String;
addressLine1?: String;
addressLine2?: String;
addressLine3?: String;
city?: String;
state?: String;
county?: String;
country?: String;
postalCode?: String;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface PromoLiteListResponseType {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
list?: PromoItemLiteType[];
}
export interface PromoItemLiteType {
identifier?: String;
promoCodeText?: String;
}
export interface EstimateShippingLiteResponseType {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
priceValue?: String;
deliveryTime?: String;
deliveryTimePretty?: String;
}
export interface GetListResponse {
responseCode?: String;
responseMessage?: String;
listId?: String;
name?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
listItems?: ListItemLiteType[];
pageableInfo?: PageableInfoType;
type?: String;
userId?: String;
itemType?: String;
accessType?: String;
}
export interface ListItemLiteType {
name?: String;
currentlySelectedSkuId?: String;
listItemId?: String;
productId?: String;
quantity?: Int;
description?: String;
regPriceValue?: String;
salePriceValue?: String;
type?: String;
images?: String[];
promotionText?: String;
productOptionsList?: ProductOptionGroupLiteType[];
identifier?: String;
brand?: String;
}
export interface PageableInfoType {
page?: Int;
size?: Int;
count?: Int;
totalCount?: Int;
}
export interface GetAllListResponse {
responseMessage?: String;
responseCode?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
listOfLists?: ListOfListsItemType[];
pageableInfo?: PageableInfoType;
}
export interface ListOfListsItemType {
listId?: String;
name?: String;
type?: String;
userId?: String;
itemType?: String;
accessType?: String;
listItems?: ListItemLiteType[];
}
export interface AccountProfileResponse {
userinfo?: UserInfo;
}
export interface UserInfo {
id?: String;
userName?: String;
size?: String;
properties?: UserProperties[];
addressinfo?: AddressInfo[];
}
export interface UserProperties {
id?: Int;
name?: String;
value?: String;
}
export interface LogOut {
type?: String;
properties?: LogOutProperties;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface LogOutProperties {
state?: LogOutState;
userinfo?: UserIdParams;
}
export interface LogOutState {
status?: String;
}
export interface UserIdParams {
userId?: String;
}
export interface GetCardsResponse {
cards?: CreditCardDetails[];
type?: String;
status?: String;
responseCode?: String;
responseMessage?: String;
}
export interface CreditCardDetails {
cardId: String;
identifier: String;
firstName?: String;
lastName?: String;
addressinfo?: UserAddressInfo[];
address?: UserAddressInfo;
cardNumber?: String;
cardType?: String;
expirationmonth?: String;
expirationMonth?: String;
expirationyear?: String;
expirationYear?: String;
isDefault?: Boolean;
isvalidated?: String;
lastFourDigits?: String;
nameOnCard?: String;
type?: String;
}
export interface UserAddressInfo {
addressId: ID_Output;
addressType?: String;
isDefault?: Boolean;
firstName?: String;
lastName?: String;
email?: String;
addressLine1?: String;
addressLine2?: String;
city?: String;
state?: String;
county?: String;
country?: String;
postalCode?: String;
additionalDetails?: LabelValue[];
telephone?: String;
}
export interface GetAddressesResponse {
addressinfo?: UserAddressInfo[];
type?: String;
status?: String;
responseCode?: String;
responseMessage?: String;
}
export interface UserLiteResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseCode?: String;
responseMessage?: String;
status?: String;
type?: String;
sessionId?: String;
cookies?: String[];
userId?: ID_Output;
email?: String;
userName?: String;
firstName?: String;
lastName?: String;
userPhoto?: String;
phoneNumber?: String;
telephone?: String;
gender?: String;
dob?: String;
dateOfBirth?: String;
city?: String;
state?: String;
country?: String;
userTimeZone?: String;
preferences?: LabelValue[];
additionalinfo?: LabelValue[];
}
export interface UserResponse {
sessionId?: String;
cookies?: String[];
type?: String;
properties?: UserResponseProperties;
responseCode?: String;
responseMessage?: String;
}
export interface UserResponseProperties {
creditcardinfo?: UserCreditCardInfo;
state: UserState;
userinfo?: UserProfileInfo[];
accounts?: UserAccountInfo;
}
export interface UserCreditCardInfo {
cards?: CreditCardDetails[];
}
export interface UserState {
starttime?: String;
status?: String;
}
export interface UserProfileInfo {
userId?: ID_Output;
email?: String;
userName?: String;
firstName?: String;
lastName?: String;
userPhoto?: String;
phoneNumber?: String;
telephone?: String;
gender?: String;
dob?: String;
dateOfBirth?: String;
city?: String;
state?: String;
country?: String;
userTimeZone?: String;
preferences?: LabelValue[];
list?: UserIdentityList[];
additionalinfo?: LabelValue[];
addressinfo?: UserAddressInfo[];
}
export interface UserIdentityList {
id: ID_Output;
partner?: String;
name?: String;
type?: String;
userId?: String;
tags?: LabelValue[];
}
export interface UserAccountInfo {
accountid?: String;
accountId?: String;
userName?: String;
type?: String;
size?: String;
role?: String;
teams?: AccountTeams[];
}
export interface AccountTeams {
id?: ID_Output;
costCentreId?: ID_Output;
name?: String;
description?: String;
status?: String;
teamBuyer?: AccountTeamBuyer[];
}
export interface AccountTeamBuyer {
userId?: String;
teamId?: ID_Output;
}
export interface NeverResponse {
never?: String;
}
export interface EnvResponse {
GRAPHQL_TRACING?: Boolean;
GRAPHQL_CACHE_CONTROL_EXTENSIONS?: Boolean;
GRAPHIQL?: Boolean;
API_LAYER?: String;
API_PORT?: Int;
JAVA_API_URL?: String;
VERSION?: String;
APP_ID?: String;
LAST_UPDATE_ENV_DATE_TIME?: String;
STORE_ID?: String;
STUDIO_ID?: String;
COOKIE_ID?: Int;
BUSINESS_RELATIONSHIP?: String;
PARTNER_ID?: String;
SHOULD_USE_LOWERCASE_STORE_ID?: Boolean;
CLIENT_NAMESPACE?: String;
CLIENT_VERSION?: String;
CLIENT_PARTNER?: String;
CAMPAIGN_ID?: String;
STUDIO_CAMPAIGN_ID?: String;
STUDIO_PARTNER_ID?: String;
STUDIO_ENV?: String;
STUDIO_URL?: String;
}
export interface ProcessManagerStats {
name?: String;
processId?: Int;
processManagerProcessId?: Int;
monitor?: Monitor;
env?: ProcessManagerEnv;
}
export interface Monitor {
memory?: Float;
cpu?: Float;
}
export interface ProcessManagerEnv {
cwd?: String;
errorLogPath?: String;
logPath?: String;
restartTime?: String;
status?: String;
executionPath?: String;
}
export interface LogEntry {
message?: String;
timestamp?: String;
timestampFull?: String;
correlationId?: String;
}
export interface CancelOrder {
type?: String;
statuscode?: String;
status?: String;
}
export interface ReturnOrder {
type?: String;
properties?: OrderProperties;
}
export interface OrderProperties {
state?: OrderState;
}
export interface OrderState {
statuscode?: String;
status?: String;
}
export interface SelectShippingMethodResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
}
export interface AddToBagResponse {
responseMessage?: String;
type?: String;
properties?: PromoProperties;
children?: ChildrenProducts;
}
export interface PromoProperties {
state?: CartState;
}
export interface ChildrenProducts {
products?: CartProduct[];
}
export interface UpdateBagResponse {
responseMessage?: String;
type?: String;
properties?: CartProperties;
children?: ChildrenProducts;
}
export interface CartProperties {
buyinfo?: CartBuyInfo;
cartinfo?: CartInfo;
iteminfo?: CartItemInfo;
math?: Math;
state?: CartState;
userinfo?: CartUserInfo;
}
export interface DeleteFromBagResponse {
responseMessage?: String;
type?: String;
properties?: DeleteFromBagProperties;
}
export interface DeleteFromBagProperties {
state?: CartState;
}
export interface ShippingMethodResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
type?: String;
properties?: ShippingMethodProperties;
}
export interface ShippingMethodProperties {
state?: ShippingMethodState;
cartinfo?: CheckoutCartInfo;
}
export interface ShippingMethodState {
status?: String;
}
export interface CheckoutCartInfo {
totaltax?: String;
total?: String;
quantity?: String;
subtotal?: String;
estsubtotal?: String;
discounttotal?: String;
discount?: LabelValue[];
giftwrap?: String;
shippingmethods?: ShippingMethods[];
}
export interface ShippingMethods {
shippingmethods?: ShippingMethod[];
type?: String;
}
export interface SetShippingResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseCode?: String;
responseMessage?: String;
properties?: ShippingProperties;
}
export interface ShippingProperties {
cartinfo?: CheckoutCartInfo;
state?: ShippingState;
}
export interface ShippingState {
status?: String;
}
export interface CommunicationResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
}
export interface MutatePromoLiteResponseType {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
}
export interface PromoResponse {
type?: String;
properties?: PromoProperties;
}
export interface AddPaymentResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
type?: String;
children?: RecalculateProducts;
properties?: AddPaymentProperties;
identifier?: String;
}
export interface RecalculateProducts {
products?: RecalculateProduct[];
}
export interface RecalculateProduct {
identifier?: String;
image?: String;
name?: String;
type?: String;
properties?: RecalculateProperties;
}
export interface RecalculateProperties {
buyinfo?: RecalculateBuyInfo;
iteminfo?: CartItemInfo;
cartinfo?: CartInfo;
state?: CartState;
userinfo?: CartUserInfo;
creditcardinfo?: CreditCardData;
paymentcardinfo?: PaymentCardInfo;
math?: Math;
}
export interface RecalculateBuyInfo {
pricing?: Pricing;
}
export interface CreditCardData {
cards?: Card[];
}
export interface Card {
isvalidated?: String;
cardId?: String;
id?: String;
cardbrand?: String;
cardBrand?: String;
type?: String;
cardType?: String;
number?: String;
cardNumber?: String;
expirationmonth?: String;
expirationyear?: String;
expirationMonth?: String;
expirationYear?: String;
firstName?: String;
lastName?: String;
}
export interface AddPaymentProperties {
state?: AddPaymentState;
}
export interface AddPaymentState {
status?: String;
}
export interface DeletePaymentResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
type?: String;
properties?: DeletePaymentProperties;
}
export interface DeletePaymentProperties {
state?: DeletePaymentState;
}
export interface DeletePaymentState {
status?: String;
}
export interface SubmitOrderResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
orderId?: String;
type?: String;
properties?: SubmitOrderProperties;
}
export interface SubmitOrderProperties {
orderinfo?: SubmitOrderOrderinfo;
}
export interface SubmitOrderOrderinfo {
orderId?: String;
}
export interface GuestProfileResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
type?: String;
}
export interface RecalculateOrderResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
type?: String;
properties?: RecalculateProperties;
children?: RecalculateProducts;
}
export interface EstimateShippingResponse {
type?: String;
responseMessage?: String;
properties?: EstimateShippingProperties;
}
export interface EstimateShippingProperties {
math?: EstimateShippingMath;
}
export interface EstimateShippingMath {
estTotalShippingPrice?: String;
}
export interface ServerResponse {
responseCode?: String;
responseMessage?: String;
type?: String;
cookies?: String[];
}
export interface AddItemResponse {
listItemId?: String;
responseMessage?: String;
responseCode?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface DeleteItemResponse {
responseMessage?: String;
responseCode?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface CreateListResponse {
listId?: String;
responseMessage?: String;
responseCode?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface DeleteListResponse {
listId?: String;
responseMessage?: String;
responseCode?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface UpdateListResponse {
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
responseMessage?: String;
responseCode?: String;
}
export interface AccountRegisterResponse {
id?: String;
name?: String;
size?: String;
properties?: AccountRegisterProperties[];
addresses?: AccountRegisterAddresses[];
userActivationParam?: String;
responseMessage?: String;
responseCode?: String;
}
export interface AccountRegisterProperties {
id?: String;
name?: String;
value?: String;
}
export interface AccountRegisterAddresses {
addressId?: String;
firstName?: String;
type?: String;
email?: String;
addressLine1?: String;
addressLine2?: String;
addressLine3?: String;
city?: String;
country?: String;
county?: String;
zip?: String;
state?: String;
isDefault?: Boolean;
phone?: String;
}
export interface InviteTeamResponse {
sessionId?: Int;
id?: Int;
name?: String;
description?: String;
status?: String;
costCentreId?: Int;
teamBuyer?: TeamBuyerType[];
existingCustomers?: TeamBuyerType[];
responseMessage?: String;
}
export interface TeamBuyerType {
id?: Int;
userId?: Int;
teamId?: Int;
accountId?: Int;
userActivationParam?: String;
}
export interface UserActivationResponse {
properties?: UserActivationProperties;
sessionId?: String;
customer?: UserActivation;
cookies?: String[];
responseCode?: String;
responseMessage?: String;
}
export interface UserActivationProperties {
state?: UserActivationState;
}
export interface UserActivationState {
status?: String;
}
export interface UserActivation {
id?: String;
firstName?: String;
lastName?: String;
email?: String;
phoneNumber?: String;
telephone?: String;
dateOfBirth?: String;
gender?: String;
photo?: String;
}
export interface DeleteUserAccountResponse {
message?: String;
responseCode?: String;
responseMessage?: String;
}
export interface RegistrationResponse {
type?: String;
properties?: RegistrationProperties;
userId?: String;
userName?: String;
sessionId?: String;
cookies?: String[];
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface RegistrationProperties {
state?: RegistrationState;
userinfo?: UserInfoProperties;
}
export interface RegistrationState {
statuscode?: String;
starttime?: String;
status?: String;
}
export interface UserInfoProperties {
userId?: String;
userName?: String;
}
export interface TwitterAuthTokenResponse {
type?: String;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface AddCardResponse {
type?: String;
properties?: PaymentProperties;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface PaymentProperties {
state?: PaymentState;
}
export interface PaymentState {
status?: String;
}
export interface UpdateCardResponse {
type?: String;
properties?: UpdateCardProperties;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface UpdateCardProperties {
state?: UpdateCardPropertiesState;
}
export interface UpdateCardPropertiesState {
status?: String;
}
export interface DeleteCardResponse {
type?: String;
properties?: PaymentProperties;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface ChangeDefaultCardResponse {
type?: String;
properties?: ChangeDefaultPaymentProperties;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface ChangeDefaultPaymentProperties {
state?: ChangeDefaultState;
}
export interface ChangeDefaultState {
status?: String;
}
export interface ResetPasswordResponse {
type?: String;
properties?: ResetPasswordProperties;
resetParam?: String;
userId?: String;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface ResetPasswordProperties {
state?: ResetPasswordState;
userinfo?: UserIdParams;
}
export interface ResetPasswordState {
status?: String;
resetParam?: String;
}
export interface GetSecurityQuestionResponse {
type?: String;
properties?: GetSecurityQuestionProperties;
securityAnswer?: String;
securityQuestion?: String;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface GetSecurityQuestionProperties {
state?: StateProperties;
userinfo?: SecurityQuestionUserInfoProperties[];
}
export interface StateProperties {
statuscode: String;
starttime: String;
status: String;
}
export interface SecurityQuestionUserInfoProperties {
country?: String;
userPhoto?: String;
firstName?: String;
preferences?: LabelValue[];
gender?: String;
city?: String;
userId?: ID_Output;
lastName?: String;
state?: String;
userTimeZone?: String;
email?: String;
userName?: String;
additionalinfo?: LabelValue[];
dob?: String;
dateOfBirth?: String;
phoneNumber?: String;
telephone?: String;
securityanswer?: String;
securityquestion?: String;
securityAnswer?: String;
securityQuestion?: String;
}
export interface ResetBySecurityQuestionsResponse {
type?: String;
properties?: SecurityQuestionsProperties;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface SecurityQuestionsProperties {
state?: SecurityQuestionsState;
userinfo?: UserIdProperty;
}
export interface SecurityQuestionsState {
status?: String;
}
export interface UserIdProperty {
userId: String;
}
export interface UpdatePasswordResponse {
type?: String;
properties?: UpdatePasswordProperties;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface UpdatePasswordProperties {
state?: StateProperties;
userinfo?: UserIdProperty;
}
export interface ShippingAddressResponse {
type?: String;
properties?: AddressStateProperties;
responseCode?: String;
responseMessage?: String;
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface AddressStateProperties {
state?: RegistrationState;
}
export interface UpdateEnvResponse {
responseMessage?: String;
}
export interface RestartResponse {
never?: String;
}
export interface AdditionalInfo {
label?: String;
value?: String;
}
export interface AddressType {
addressId: ID_Output;
addressType?: String;
isDefault: Boolean;
firstName?: String;
middleName?: String;
lastName?: String;
email?: String;
telephone?: String;
addressLine1?: String;
addressLine2?: String;
addressLine3?: String;
city?: String;
state?: String;
county?: String;
country?: String;
postalCode?: String;
}
export interface CartOrderPricing {
salePrice?: String;
regPrice?: String;
currencycode?: String;
prices?: Price[];
buymoresavemore?: MinMaxQuantity[];
}
export interface PricedNormal {
type?: String;
label?: String;
value?: String;
}
export interface CartProducts {
products?: CartProduct[];
}
export interface CartProductSkuInfo {
color?: CartSkuColor;
size1?: CartSkuSize;
}
export interface CartSkuColor {
name?: String;
}
export interface CartSkuSize {
name?: String;
}
export interface CartSkuInfo {
color?: ImageName;
size1?: Name;
style?: Name;
}
export interface CatalogProductList {
identifier: ID_Output;
image?: String;
name?: String;
categoryIds?: LabelValue[];
productCount?: Int;
products?: ProductLite[];
}
export interface CatalogViews {
viewId?: Int;
viewName?: String;
width?: String;
height?: String;
defaultView?: Boolean;
}
export interface CategoryIdProperties {
label?: String;
value?: String;
}
export interface ChildrenInfo {
count?: String;
}
export interface CreditCardAddressInfo {
addressId?: String;
}
export interface CustomersType {
id?: Int;
firstName?: String;
lastName?: String;
email?: String;
phoneNumber?: String;
roles?: RolesType[];
}
export interface RolesType {
roleId?: String;
roleName?: String;
}
export interface GuestProfileProperties {
state?: GuestProfileState;
}
export interface GuestProfileState {
status?: String;
}
export interface ListResponse {
responseMessage?: String;
responseCode?: String;
type?: String;
listOfLists?: ListItemLiteType[];
_DO_NOT_USE_EXCEPT_TO_DEBUG_?: _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_;
}
export interface NameValue {
name?: String;
value?: String;
}
export interface OrderAgainResponse {
state?: OrderAgainState;
}
export interface OrderAgainState {
status?: String;
}
export interface OrderApproval {
orders?: OrderDetail;
statuscode?: String;
status?: String;
}
export interface OrderInfo {
orderId?: String;
}
export interface Pages {
id?: Int;
name?: String;
url?: String;
}
export interface ProductReviewRating {
reviewcount?: String;
reviews?: Reviews[];
}
export interface Reviews {
identifier?: String;
reviewcreated?: String;
negativereviewcount?: String;
rating?: String;
reviewupdated?: String;
label?: String;
positivereviewcount?: String;
userId?: String;
ratingrange?: String;
isfeatured?: String;
reviewcount?: String;
isratingsonly?: String;
location?: String;
value?: String;
userName?: String;
}
export interface ProductReviewState {
errormessage?: String;
offset?: String;
limit?: String;
locale?: String;
status?: String;
}
export interface ReviewProperties {
childreninfo?: ChildrenInfo;
reviewrating?: ProductReviewRating;
state?: ProductReviewState;
}
export interface ReviewResponse {
type?: String;
properties?: ReviewProperties;
}
export interface SkuPropsLite {
color?: LabelValue[];
size?: String[];
style?: String[];
}
export interface TabMetaProperties {
state?: TabMetaState;
}
export interface TabMetaState {
sorting?: SortingType;
productCount?: Int;
}
export declare type Boolean = boolean;
export declare type Int = number;
export declare type String = string;
export declare type Float = number;
export declare type ID_Input = string | number;
export declare type ID_Output = string;
export declare type _DO_NOT_USE_EXCEPT_TO_DEBUG_TYPE_ = string;
export declare type JSON = string;
export declare type Primitive = string;
export declare type Price = PricedNormal | PricedWithRange;
export interface Schema {
query: Query;
mutation: Mutation;
}
export declare type Query = {
homePage: (args: {
preview?: Boolean;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<HomePage | null>;
marketingPage: (args: {
preview?: Boolean;
pageId: String;
viewName?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<MarketingPage | null>;
hasStudioPage: (args: {
pageIdOrPathName: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<HasStudioPage | null>;
storeLocator: (args: {
latitude: Float;
longitude: Float;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<StoreLocator | null>;
productReview: (args: {
productId: String;
limit?: Int;
offset?: Int;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<NewReviewsResponse | null>;
productRating: (args: {
productId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RatingResponse | null>;
suggestion: (args: {
searchTerm: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<SuggestionResponse | null>;
categoryList: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CategoryList | null>;
categoryLandingPage: (args: {
categoryId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CategoryBlock | null>;
brandLandingPage: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<BrandLandingPage | null>;
tabbedFeaturedProductListLite: (args: {
categoryEndpointList?: CategoryEndpointInputType[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<TabbedFeaturedProductListResponseTypeLite | null>;
recommendedProducts: (args: {
productId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ProductLite[] | null>;
relatedProducts: (args: {
productId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ProductLite[] | null>;
productListFromIds: (args: {
idList?: String[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ProductListFromIdResponse | null>;
productDetailLite: (args: {
productId: String;
selectedProductOptionsList?: ProductOptionItemLiteInputType[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ProductLite | null>;
linkedProductsList: (args: {
productId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<LinkedProductsLiteResponse | null>;
catalogTemplate: (args: {
categoryId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CatalogTemplate | null>;
catalogLite: (args: {
search?: String;
categoryId?: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CatalogLite | null>;
productDetail: (args: {
productId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<Product | null>;
productList: (args: {
categoryId: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ProductList | null>;
productFilter: (args: {
categoryId: String;
limit?: Int;
offset?: Int;
selectedFacets?: FacetsInput[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<FacetType | null>;
productSort: (args: {
categoryId: String;
limit?: Int;
offset?: Int;
sort?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<SortingType | null>;
productRefine: (args: {
categoryId: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<Refine | null>;
searchRefine: (args: {
search: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<Refine | null>;
search: (args: {
search: String;
limit?: Int;
offset?: Int;
sort?: String;
selectedFacets?: FacetsInput[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ProductList | null>;
tabbedFeaturedProductList: (args: {
input?: TabbedFeaturedProductListInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<TabbedFeaturedProductList | null>;
orderLookupList: (args: {
lastName: String;
orderNumber: String;
postalCode: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<GuestOrderList | null>;
orderList: (args: {
orderId?: String;
customerId?: String;
limit?: Int;
offset?: Int;
fromdate?: String;
todate?: String;
status?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<OrderList | null>;
cart: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<Cart | null>;
cartLite: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CartLiteType | null>;
cartLiteStoreList: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CartLiteStoreListResponse | null>;
cartLiteProductListForStore: (args: {
cartStoreId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CartLiteProductListForStoreResponse | null>;
shippingMethodList: (args: {
cartItemId?: Int;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ShippingMethodListLiteResponseType | null>;
checkoutShippingAddress: (args: {
cartItemId?: Int;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CheckoutShippingAddressResponse | null>;
promoListLite: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<PromoLiteListResponseType>;
estimateShippingLite: (args: {
address: AddressInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<EstimateShippingLiteResponseType | null>;
getList: (args: {
listId: String;
pageParams?: GetListPageInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<GetListResponse>;
getAllList: (args: {
input?: GetAllListInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<GetAllListResponse>;
accountProfile: (args: {
accountId?: Int;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<AccountProfileResponse>;
logOut: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<LogOut | null>;
getUserPayments: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<GetCardsResponse>;
getUserAddresses: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<GetAddressesResponse>;
profileLite: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<UserLiteResponse | null>;
profile: (args: {
shouldEnablePaymentRetrival?: Boolean;
shouldEnableAddressRetrival?: Boolean;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<UserResponse | null>;
sponge: (args: {
shouldSpongeCatalog?: Boolean;
shouldLoadSpongeIntoMemory?: Boolean;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<NeverResponse | null>;
env: (args: {
GRAPHQL_TRACING?: Boolean;
GRAPHQL_CACHE_CONTROL_EXTENSIONS?: Boolean;
GRAPHIQL?: Boolean;
VERSION?: String;
API_PORT?: Int;
JAVA_API_URL?: String;
API_LAYER?: String;
APP_ID?: String;
STUDIO_ID?: String;
STORE_ID?: String;
COOKIE_ID?: Int;
BUSINESS_RELATIONSHIP?: String;
SHOULD_USE_LOWERCASE_STORE_ID?: Boolean;
CLIENT_NAMESPACE?: String;
CLIENT_VERSION?: String;
CLIENT_PARTNER?: String;
CAMPAIGN_ID?: String;
PARTNER_ID?: String;
STUDIO_CAMPAIGN_ID?: String;
STUDIO_PARTNER_ID?: String;
STUDIO_ENV?: String;
STUDIO_URL?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<EnvResponse | null>;
stats: (args: {
password: String;
appName?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ProcessManagerStats | null>;
logs: (args: {
password: String;
before?: String;
after?: String;
matches?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<LogEntry[] | null>;
};
export declare type Mutation = {
cancelOrder: (args: {
orderId: String;
itemId?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CancelOrder>;
returnOrder: (args: {
orderId: String;
itemId?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ReturnOrder>;
selectShippingMethods: (args: {
shippingMethodItemId: String;
cartItemId?: Int;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<SelectShippingMethodResponse | null>;
addToBag: (args: {
input: AddToBagInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<AddToBagResponse | null>;
multipleAddToBag: (args: {
input: MultipleAddToBagInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<AddToBagResponse | null>;
updateBag: (args: {
input: UpdateBagInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<UpdateBagResponse | null>;
deleteFromBag: (args: {
input: DeleteFromBagInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<DeleteFromBagResponse | null>;
updateShippingMethods: (args: {
shippingMethodData: ShippingMethodInput;
itemId?: Int;
cartItemId?: Int;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ShippingMethodResponse>;
setShipping: (args: {
shippingAddress: PaymentAddress;
itemId?: Int;
cartItemId?: Int;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<SetShippingResponse>;
setCommunicationPreference: (args: {
communicationPreference: CommunicationInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CommunicationResponse>;
addPromoLite: (args: {
promoCode: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<MutatePromoLiteResponseType>;
deletePromoLite: (args: {
identifier: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<MutatePromoLiteResponseType>;
addPromo: (args: {
promoCode: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<PromoResponse>;
deletePromo: (args: {
identifier: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<PromoResponse>;
addPaymentMethod: (args: {
amount: String;
creditCard: CreditCardInput;
address?: PaymentAddress;
addAddressToProfile?: Boolean;
useDefaultAddress?: Boolean;
setAsDefaultAddressInProfile?: Boolean;
addPaymentToProfile?: Boolean;
useDefaultPayment?: Boolean;
setAsDefaultPaymentInProfile?: Boolean;
overridePaymentValidation?: Boolean;
overrideAddressValidation?: Boolean;
overrideValidation?: Boolean;
type?: String;
itemType?: String;
title?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<AddPaymentResponse>;
deletePaymentMethod: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<DeletePaymentResponse>;
submitOrder: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<SubmitOrderResponse>;
setGuestDetails: (args: {
input: GuestProfileAddressDetails;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<GuestProfileResponse>;
recalculateOrder: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RecalculateOrderResponse>;
estimateShipping: (args: {
estimateinfo: EstimateInfoInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<EstimateShippingResponse>;
createSaveForLater: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ServerResponse>;
addItemToList: (args: {
listId?: String;
listItems?: AddListItemType[];
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<AddItemResponse>;
deleteItemFromList: (args: {
listItemId: String;
listId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<DeleteItemResponse>;
createList: (args: {
input: CreateListInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<CreateListResponse>;
deleteList: (args: {
listId?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<DeleteListResponse>;
updateList: (args: {
listId: String;
listParams?: ListParamsInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<UpdateListResponse>;
registerAccount: (args: {
input: AccountRegisterInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<AccountRegisterResponse>;
inviteTeam: (args: {
input: InviteTeamInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<InviteTeamResponse>;
userActivation: (args: {
input: UserActivationInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<UserActivationResponse>;
deleteUserAccount: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<DeleteUserAccountResponse>;
registerGuest: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RegistrationResponse | null>;
registerUser: (args: {
input: RegisterUserInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RegistrationResponse | null>;
login: (args: {
input: UserLoginInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RegistrationResponse | null>;
socialLogin: (args: {
input: UserLoginInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RegistrationResponse | null>;
updateSecurity: (args: {
input: UpdateSecurityInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RegistrationResponse | null>;
twitterAuthToken: (args: {}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<TwitterAuthTokenResponse>;
addCard: (args: {
creditCard: AddCardInput;
email?: String;
address?: AddressInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<AddCardResponse>;
updateCard: (args: {
creditCard: AddCardInput;
email?: String;
address?: AddressInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<UpdateCardResponse | null>;
deleteCard: (args: {
id?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<DeleteCardResponse>;
changeDefaultCard: (args: {
creditCard: AddCardInput;
email?: String;
address?: AddressInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ChangeDefaultCardResponse>;
resetByEmail: (args: {
input: ResetByEmailInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ResetPasswordResponse>;
validateByEmail: (args: {
input: ValidateByEmailInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ResetPasswordResponse>;
getSecurityQuestions: (args: {
emailId: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<GetSecurityQuestionResponse>;
resetPasswordBySecurityQuestions: (args: {
input: ResetBySecurityQuestions;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ResetBySecurityQuestionsResponse>;
updateProfile: (args: {
input: UpdateProfileInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RegistrationResponse>;
updatePassword: (args: {
input: UpdatePasswordParams;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<UpdatePasswordResponse>;
addAddressToProfile: (args: {
address: AddressInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ShippingAddressResponse | null>;
updateShippingAddress: (args: {
address: AddressInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ShippingAddressResponse | null>;
defaultShippingAddress: (args: {
address?: AddressInput;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ShippingAddressResponse | null>;
removeAddressFromProfile: (args: {
id?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ShippingAddressResponse | null>;
resetBySms: (args: {
email: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<ResetPasswordResponse>;
clearCache: (args: {
shouldClearInMemory?: Boolean;
shouldClearFiles?: Boolean;
shouldClearRedis?: Boolean;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<NeverResponse | null>;
env: (args: {
GRAPHQL_TRACING?: Boolean;
GRAPHQL_CACHE_CONTROL_EXTENSIONS?: Boolean;
GRAPHIQL?: Boolean;
API_PORT?: Int;
JAVA_API_URL?: String;
API_LAYER?: String;
STORE_ID?: String;
STUDIO_ID?: String;
APP_ID?: String;
PARTNER_ID?: String;
COOKIE_ID?: Int;
BUSINESS_RELATIONSHIP?: String;
SHOULD_USE_LOWERCASE_STORE_ID?: Boolean;
CLIENT_NAMESPACE?: String;
CLIENT_VERSION?: String;
CLIENT_PARTNER?: String;
CAMPAIGN_ID?: String;
STUDIO_CAMPAIGN_ID?: String;
STUDIO_PARTNER_ID?: String;
STUDIO_ENV?: String;
STUDIO_URL?: String;
LAST_UPDATE_ENV_DATE_TIME?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<UpdateEnvResponse | null>;
restart: (args: {
password: String;
appName?: String;
}, context: {
[key: string]: any;
}, info?: GraphQLResolveInfo | string) => Promise<RestartResponse | null>;
};
export declare class Binding extends BaseBinding {
constructor({ schema, fragmentReplacements }: BindingOptions);
query: Query;
mutation: Mutation;
}