To use the CRM API, import wixCrmFrontend from the wix-crm-frontend module:
wixCrmFrontend
wix-crm-frontend
import wixCrmFrontend from "wix-crm-frontend";