Hard reset are usually performed on phones sent for repair. This means that this will delete your eSIM profile(s).
When your phone is back from repair, you can simply reinstall your eSIM profile on your device by flashing the QR code you used for the first installation.
If that doesn’t work, you just need to contact your eSIM provider to get an updated QR code so that you can access again your services / account.