pub async fn execute(
        first_name: String,
        last_name: String,
        role: user_role,
        platform: user_account,
        platform_id: String,
    ) -> Result<Option<uuid>, TelescopeError> {
        send_query::<Self>(create_one_user::Variables {
            first_name,
            last_name,
            role,
            platform,
            platform_id,
        })
        .await
        .map(|response| response.insert_users_one.map(|obj| obj.id))
    }
/// Create a user and return the created user ID if this call did not fail.
Create a user and return the created user ID if this call did not fail.
Create a user and return the created user ID if this call did not fail .
pub async fn execute(
        first_name: String,
        last_name: String,
        role: user_role,
        platform: user_account,
        platform_id: String,
    ) -> Result<Option<uuid>, TelescopeError> {
        send_query::<Self>(create_one_user::Variables {
            first_name,
            last_name,
            role,
            platform,
            platform_id,
        })
        .await
        .map(|response| response.insert_users_one.map(|obj| obj.id))
    }
pub async fn execute ( first_name : String , last_name : String , role : user_role , platform : user_account , platform_id : String , ) -> Result < Option < uuid > , TelescopeError > { send_query :: < Self > ( create_one_user :: Variables { first_name , last_name , role , platform , platform_id , } ) . await . map ( | response | response . insert_users_one . map ( | obj | obj . id ) ) }
Create a user and return the created user ID if this call did not fail.
Create a user and return the created user ID if this call did not fail .
first_name
String
last_name
String
role
user_role
platform
user_account
platform_id
String
first_name
String
last_name
String
role
user_role
platform
user_account
platform_id
String