api.routes.internal.contact.match¶
Attributes¶
Classes¶
Functions¶
|
(emails that are a contact -> their Entreprise ids, domains of those |
|
One Airtable pass for a whole list (the U3000 campaign page imports |
Module Contents¶
- api.routes.internal.contact.match.logger¶
- api.routes.internal.contact.match.router¶
- api.routes.internal.contact.match.match_emails(emails: list[str], contacts: list[dict]) tuple[dict[str, list[str]], dict[str, list[str]]]¶
(emails that are a contact -> their Entreprise ids, domains of those emails that a contact also uses -> Entreprise ids). Pure: tested alone.
- api.routes.internal.contact.match.match_contacts(payload: MatchIn)¶
One Airtable pass for a whole list (the U3000 campaign page imports hundreds of addresses):
clients= exact email matches,domains= domains of the list that a known contact also uses. Values = company names. Generic hosts (gmail.com…) are filtered by the caller, which owns that list.