public function __construct($usernamePart, $passwordPart)
{
$this->setDefaultClient();
$this->users = new IntercomUsers($this);
$this->events = new IntercomEvents($this);
$this->companies = new IntercomCompanies($this);
$this->messages = new IntercomMessages($this);
$this->conversations = new IntercomConversations($this);
$this->leads = new IntercomLeads($this);
$this->admins = new IntercomAdmins($this);
$this->tags = new IntercomTags($this);
$this->segments = new IntercomSegments($this);
$this->counts = new IntercomCounts($this);
$this->bulk = new IntercomBulk($this);
$this->notes = new IntercomNotes($this);
$this->segments = new IntercomSegments($this);
$this->usernamePart = $usernamePart;
$this->passwordPart = $passwordPart;
}