create-user
All checks were successful
deploy / deploy (push) Successful in 1m41s

This commit is contained in:
2023-10-24 17:01:05 +03:00
parent 739fcbfaae
commit ef5aa743bf
10 changed files with 457 additions and 0 deletions

View File

@@ -408,6 +408,18 @@ input UpdateProfileInput {
app_data: Map
}
input CreateUserInput {
email: String
password: String
given_name: String
family_name: String
middle_name: String
nickname: String
phone_number: String
picture: String
}
input UpdateUserInput {
id: ID!
email: String
@@ -589,6 +601,7 @@ type Mutation {
resend_otp(params: ResendOTPRequest!): Response!
deactivate_account: Response!
# admin only apis
_create_user(params: CreateUserInput!): User!
_delete_user(params: DeleteUserInput!): Response!
_update_user(params: UpdateUserInput!): User!
_admin_signup(params: AdminSignupInput!): Response!