Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/graphql / src / schema.graphql
Size: Mime:
# import * from 'models/Interfaces.graphql'
# import { Cart, PromoResponse, EstimateShippingResponse } from 'models/Cart.graphql'
# import { SetShippingResponse, ShippingMethodResponse, AddPaymentResponse, DeletePaymentResponse, RecalculateOrderResponse, SubmitOrderResponse, PaymentDetails, GuestProfileAddressDetails, GuestProfileResponse } from 'models/Checkout.graphql'
# import { BrandLanding, CategoryList, CategoryLandingPage } from 'models/Category.graphql'
# import { Favorites } from 'models/Favorites.graphql'
# import { ListResponse } from 'models/List.graphql'
# import { OrderList, GuestOrderList, OrderDetail, OrderDetailedResponse } from 'models/Order.graphql'
# import { Product } from 'models/Product.graphql'
# import { UserResponse, RegistrationResponse, ResetPasswordResponse, TwitterAuthTokenResponse, AddCardResponse, DeleteCardResponse, ChangeDefaultCardResponse } from 'models/User.graphql'
# import { ServerResponse } from 'models/Interfaces.graphql'
# import { ProductList, FacetsInput, TabbedFeaturedProductList } from 'models/Catalog.graphql'
# import { TransactionList, LoyaltyPoints, Loyalty } from 'models/Loyalty.graphql'
# import { StoreLocator } from 'models/Store.graphql'
# import { SuggestionResponse } from 'models/SearchSuggestion.graphql'
# import { HomePage } from 'models/Studio.graphql'
# import { TokenResponse, ServiceToken } from 'models/Microservices.graphql'
# import { ReviewResponse } from 'models/ProductReview.graphql'

type Query {
  profile(enablePaymentRetrival: String): UserResponse
  categoryList: CategoryList
  categoryLandingPage(categoryId: String!): CategoryBlock
  brandLandingPage: BrandLandingPage
  tabbedFeaturedProductList(input: TabbedFeaturedProductListInput ): TabbedFeaturedProductList
  homePage: HomePage
  orderLookupList(
    lastname: String!
    orderNumber: String!
    zipcode: String!
  ): GuestOrderList
  orderList(
    orderid: String!
    customerid: String!
    limit: Int
    offset: Int
    fromdate: String
    todate: String
    status: String
  ): OrderList
  orderDetail(orderid: String): OrderDetail
  productDetail(productId: String!): Product
  productList(
    categoryId: String!
    limit: Int = 100,
    offset: Int = 0,
    sort: String
    selectedFacets: [FacetsInput]
  ): ProductList
  productFilter(
    categoryId: String!
    limit: Int = 100,
    offset: Int = 0,
    selectedFacets: [FacetsInput]
  ): FacetType
  productSort(
    categoryId: String!
    limit: Int = 100,
    offset: Int = 0,
    sort: String
  ): SortingType
  productRefine(
    categoryId: String!
    limit: Int = 100,
    offset: Int = 0,
    sort: String
    selectedFacets: [FacetsInput]
  ): Refine
  searchRefine(
    search: String!
    limit: Int
    offset: Int
    sort: String
    selectedFacets: [FacetsInput]
    ):Refine
  search(
    search: String!
    limit: Int
    offset: Int
    sort: String
    selectedFacets: [FacetsInput]
  ): ProductList
  getLists: ListResponse
  favorites(favoriteId: String!): Favorites
  logOut: LogOut
  listItems(listId: String!): Favorites
  cart: Cart
  loyalty: Loyalty
  suggestion(searchTerm: String!): SuggestionResponse
  storeLocator(
    latitude: Float!
    longitude: Float!
  ): StoreLocator
  getKeyToken(
    alias: String!
    requestor: String!
  ): TokenResponse
  getServiceToken: ServiceToken
  productReview(productId: String!): ReviewResponse
  productRating: RatingResponse
}

type Mutation {
  addToBag(input: AddToBagInput!): AddToBagResponse
  updateBag(input: UpdateBagInput!): UpdateBagResponse
  deleteFromBag(input: DeleteFromBagInput!): DeleteFromBagResponse
  updateShippingMethods(shippingMethod: String!): ShippingMethodResponse!
  setShipping(shippingAddress: PaymentAddress!): SetShippingResponse!
  registerGuest: RegistrationResponse
  registerUser(input: RegisterUserInput!): RegistrationResponse
  login(input: UserLoginInput!): RegistrationResponse
  socialLogin(input: UserLoginInput!): RegistrationResponse
  updateSecurity(input: UpdateSecurityInput!): RegistrationResponse
  createList: ServerResponse!
  createSaveForLater: ServerResponse!
  addItem(skuid: String!, identifier: String!): ServerResponse!
  deleteItem(skuid: String!): ServerResponse!
  cancelOrder(orderId: String!): CancelOrder!
  returnOrder(orderId: String!): ReturnOrder!
  addPromo(promoCode: String!): PromoResponse!
  orderAgain(
    orderid: String!
    lastname: String!
    zipcode: String!
  ): OrderAgainResponse!
  deletePromo(identifier: String!): PromoResponse!
  addPaymentMethod(paymentdetails: PaymentDetails!): AddPaymentResponse!
  deletePaymentMethod(paymentdetails: DeletePaymentDetails!): DeletePaymentResponse!
  setGuestDetails(input: GuestProfileAddressDetails!): GuestProfileResponse!
  submitOrder(email: String!): SubmitOrderResponse!
  recalculateOrder(paymentdetails: PaymentDetails!): RecalculateOrderResponse!
  resetByEmail(input: ResetByEmailInput!): ResetPasswordResponse!
  validateByEmail (input: ValidateByEmailInput!): ResetPasswordResponse!
  getSecurityQuestions(emailId: String!): GetSecurityQuestionResponse!
  resetPasswordBySecurityQuestions(input: ResetBySecurityQuestions!): ResetBySecurityQuestionsResponse!
  updateProfile(input: UpdateProfileInput!): RegistrationResponse!
  updatePassword (input: UpdatePasswordParams!) : UpdatePasswordResponse!
  addAddressToProfile(input: AddAddressInput!): ShippingAddressResponse
  removeAddressFromProfile(input: RemoveAddressInput!): ShippingAddressResponse
  updateShippingAddress(input: UpdateShippingInput!): ShippingAddressResponse
  defaultShippingAddress(input: UpdateShippingInput!): ShippingAddressResponse
  resetBySms(email: String!): ResetPasswordResponse!
  twitterAuthToken: TwitterAuthTokenResponse!
  addCard(serialized: AddCardInput!, email: String!): AddCardResponse!
  deleteCard(params: DeleteCardInput!): DeleteCardResponse!
  changeDefaultCard(defaultPaymentParams: String!, messageCampaignId: String!): ChangeDefaultCardResponse!
  estimateShipping(estimateinfo: EstimateInfoInput!): EstimateShippingResponse!
}

schema {
  query: Query
  mutation: Mutation
}