Schema update for SMSVerificationRequest
This commit is contained in:
parent
b4a90de1d4
commit
d5e83ea14f
|
@ -75,6 +75,20 @@ type VerificationRequests {
|
||||||
verification_requests: [VerificationRequest!]!
|
verification_requests: [VerificationRequest!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type SMSVerificationRequests {
|
||||||
|
id: ID!
|
||||||
|
code: String!
|
||||||
|
code_expires_at: Int64!
|
||||||
|
phone_number: String!
|
||||||
|
created_at: Int64!
|
||||||
|
updated_at: Int64
|
||||||
|
}
|
||||||
|
|
||||||
|
input VerifyMobileRequest {
|
||||||
|
phone_number: String!
|
||||||
|
code: String!
|
||||||
|
}
|
||||||
|
|
||||||
type Error {
|
type Error {
|
||||||
message: String!
|
message: String!
|
||||||
reason: String!
|
reason: String!
|
||||||
|
@ -556,6 +570,7 @@ type Mutation {
|
||||||
revoke(params: OAuthRevokeInput!): Response!
|
revoke(params: OAuthRevokeInput!): Response!
|
||||||
verify_otp(params: VerifyOTPRequest!): AuthResponse!
|
verify_otp(params: VerifyOTPRequest!): AuthResponse!
|
||||||
resend_otp(params: ResendOTPRequest!): Response!
|
resend_otp(params: ResendOTPRequest!): Response!
|
||||||
|
verify_mobile(params: VerifyMobileRequest!): AuthResponse!
|
||||||
# admin only apis
|
# admin only apis
|
||||||
_delete_user(params: DeleteUserInput!): Response!
|
_delete_user(params: DeleteUserInput!): Response!
|
||||||
_update_user(params: UpdateUserInput!): User!
|
_update_user(params: UpdateUserInput!): User!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user