2022-04-20 15:29:34 +05:00

19 lines
420 B
TypeScript

export const loginMutation = /* GraphQL */ `
mutation login($loginInput: CustomerUserAuthInfoInput!) {
account: createCustomerAuthTicket(customerUserAuthInfoInput: $loginInput) {
accessToken
userId
refreshToken
refreshTokenExpiration
accessTokenExpiration
customerAccount {
id
firstName
lastName
emailAddress
userName
}
}
}
`