How do one modify the UsersPermissionsUserInput and its output?

I need to modify the input for the createUsersPermissionsUser resolver’s input in order to automate the creation of resetPasswordToken and change the validation with email

mutation CreateUsersPermissionsUser($data: UsersPermissionsUserInput!) {
  createUsersPermissionsUser(data: $data) {
    data {
      id
      attributes {
        role {
          data {
            id
          }
        }
        email
      }
    }
  }
}

This topic has been created from a Discord post (1220250206939906118) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord