public static Task <IReadOnlyList <TContact> > FindInListAsync <TContact>(this IHubSpotContactConnector connector, long listId) where TContact : Contact, new() => connector.FindAsync <TContact>(FilterContacts.ByListId(listId));
public static Task <IReadOnlyList <TContact> > FindByCompanyIdAsync <TContact>(this IHubSpotContactConnector connector, long companyId) where TContact : Contact, new() => connector.FindAsync <TContact>(FilterContacts.ByCompanyId(companyId));
public static Task <IReadOnlyList <TContact> > FindAsync <TContact>(this IHubSpotContactConnector connector, string searchQuery) where TContact : Contact, new() => connector.FindAsync <TContact>(FilterContacts.Query(searchQuery));
public static Task <IReadOnlyList <TContact> > FindByIdAsync <TContact>(this IHubSpotContactConnector connector, params long[] ids) where TContact : Contact, new() => connector.FindAsync <TContact>(FilterContacts.ById(ids));
public static Task <IReadOnlyList <TContact> > FindByEmailAsync <TContact>(this IHubSpotContactConnector connector, params string[] emails) where TContact : Contact, new() => connector.FindAsync <TContact>(FilterContacts.ByEmail(emails));
public static Task <IReadOnlyList <TContact> > FindRecentlyCreatedAsync <TContact>(this IHubSpotContactConnector connector) where TContact : Contact, new() => connector.FindAsync <TContact>(FilterContacts.RecentlyCreated);
public static Task <IReadOnlyList <TContact> > FindAllAsync <TContact>(this IHubSpotContactConnector connector) where TContact : Contact, new() => connector.FindAsync <TContact>(FilterContacts.All);
public static Task <IReadOnlyList <Contact> > FindAsync(this IHubSpotContactConnector connector, IContactFilter filter = null) => connector.FindAsync <Contact>(filter);