SHARE
TWEET

Untitled

a guest Feb 21st, 2020 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const {gql} = require('apollo-server-express');
  2.  
  3. module.exports = gql`
  4.   type VerificationQA {
  5.     questionId: Int
  6.     questionText: String
  7.     answerChoices: [VerificationChoice]
  8.   }
  9.   type VerificationChoice {
  10.     choiceId: Int!
  11.     answerText: String!
  12.   }
  13.   type CreditResponse {
  14.     creditSuccess: Boolean!
  15.     totalDue: [LineItem]
  16.     phone:String
  17.     identityVerification: [VerificationQA]
  18.     billing: BillingResponse
  19.     appointments: [Appointment]
  20.   }
  21.     input Contact {
  22.         firstName: String!
  23.         lastName: String!
  24.         email: String!
  25.         phone: String
  26.     }
  27.  
  28.   input VerificationAnswer {
  29.     questionId: Int!
  30.     selectedChoiceId: Int!
  31.   }
  32.  
  33.   extend type Mutation{
  34.     runCredit(orderId: String!, contact: Contact, verificationAnswers: [VerificationAnswer]): CreditResponse
  35.   }
  36. `
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top