Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const {gql} = require('apollo-server-express');
- module.exports = gql`
- type VerificationQA {
- questionId: Int
- questionText: String
- answerChoices: [VerificationChoice]
- }
- type VerificationChoice {
- choiceId: Int!
- answerText: String!
- }
- type CreditResponse {
- creditSuccess: Boolean!
- totalDue: [LineItem]
- phone:String
- identityVerification: [VerificationQA]
- billing: BillingResponse
- appointments: [Appointment]
- }
- input Contact {
- firstName: String!
- lastName: String!
- email: String!
- phone: String
- }
- input VerificationAnswer {
- questionId: Int!
- selectedChoiceId: Int!
- }
- extend type Mutation{
- runCredit(orderId: String!, contact: Contact, verificationAnswers: [VerificationAnswer]): CreditResponse
- }
- `
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement