Programmatically add a mapped domain to a site

Hello,

Does the domain mapping plugin make a function available to programmatically add a mapped domain to a site? For example, add_mapped_domain($site_id, $domain).

Thanks!