Yes. You will get your agreed commission on each of the following scenarios.
A) Your audience clicks on your affiliate link and makes a purchase.
B) Your audience goes to trulybeauty.com without clicking on your affiliate link, and uses your personal discount code at checkout.