module WolfCore::Integrations::ClientApiOperations

def create_client!(wolf_token:, client:, tenant:, wolf_platform_url:, error_message:)

def create_client!(wolf_token:, client:, tenant:, wolf_platform_url:, error_message:)
  safe_http_post(
    headers: { "Authorization" => "Bearer #{wolf_token}" },
    query: { tenant: tenant },
    url: "#{wolf_platform_url}/api/v2/companies",
    body: client,
    error_message: error_message
  )
end