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 / dist / schema.graphql.js
Size: Mime:
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const apollo_server_1 = require("apollo-server");
const Interfaces_graphql_1 = __importDefault(require("./models/Interfaces.graphql"));
const Cart_graphql_1 = __importDefault(require("./models/Cart.graphql"));
const Checkout_graphql_1 = __importDefault(require("./models/Checkout.graphql"));
const Category_graphql_1 = __importDefault(require("./models/Category.graphql"));
const Favorites_graphql_1 = __importDefault(require("./models/Favorites.graphql"));
const List_graphql_1 = __importDefault(require("./models/List.graphql"));
const Order_graphql_1 = __importDefault(require("./models/Order.graphql"));
const Product_graphql_1 = __importDefault(require("./models/Product.graphql"));
const User_graphql_1 = __importDefault(require("./models/User.graphql"));
const Catalog_graphql_1 = __importDefault(require("./models/Catalog.graphql"));
const Loyalty_graphql_1 = __importDefault(require("./models/Loyalty.graphql"));
const Store_graphql_1 = __importDefault(require("./models/Store.graphql"));
const SearchSuggestion_graphql_1 = __importDefault(require("./models/SearchSuggestion.graphql"));
const Studio_graphql_1 = __importDefault(require("./models/Studio.graphql"));
const Microservices_graphql_1 = __importDefault(require("./models/Microservices.graphql"));
const ProductReview_graphql_1 = __importDefault(require("./models/ProductReview.graphql"));
const InputArgs_graphql_1 = __importDefault(require("./models/InputArgs.graphql"));
const Account_graphql_1 = __importDefault(require("./models/Account.graphql"));
exports.default = apollo_server_1.gql `
  ${Interfaces_graphql_1.default}
  ${Cart_graphql_1.default}
  ${Checkout_graphql_1.default}
  ${Category_graphql_1.default}
  ${Favorites_graphql_1.default}
  ${List_graphql_1.default}
  ${Order_graphql_1.default}
  ${Product_graphql_1.default}
  ${User_graphql_1.default}
  ${Catalog_graphql_1.default}
  ${Loyalty_graphql_1.default}
  ${Store_graphql_1.default}
  ${SearchSuggestion_graphql_1.default}
  ${Studio_graphql_1.default}
  ${Microservices_graphql_1.default}
  ${ProductReview_graphql_1.default}
  ${Account_graphql_1.default}
  ${InputArgs_graphql_1.default}

  type Query {
    profile(
      enablePaymentRetrival: String
      enableAddressRetrival: 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
    getUserPayments: GetCardsResponse!
    getUserAddresses: GetAddressesResponse!
    accountProfile(accountId: Int): AccountProfileResponse!
    orderApproval(input: OrderApprovalInput!): OrderApproval!
  }

  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!, itemId: String): CancelOrder!
    returnOrder(orderId: String!, itemId: 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!
    userActivation(input: UserActivationInput!): UserActivationResponse!
    registerAccount(input: AccountRegisterInput!): AccountRegisterResponse!
    inviteTeam(input: InviteTeamInput!): InviteTeamResponse!
  }

  schema {
    query: Query
    mutation: Mutation
  }
`;
//# sourceMappingURL=schema.graphql.js.map