Closed karol-bialkowski closed 3 years ago
As the @deprecated param in the method ->users()->findByName($brandEmail, [ 'search_by_email' => 1, ]);
@deprecated
->users()->findByName($brandEmail, [ 'search_by_email' => 1, ]);
how we can search users (not persons) by email? The latest documentation says that we have to use find method: https://developers.pipedrive.com/docs/api/v1/Users#findUsersByName
find
but the find() method available only int param.
int
Maybe missing Searches trait in the Users class?
Searches
Example: products class:
class Products extends Resource { use FindsByName, Searches, ListsAttachedFiles, ListsDeals, ListsPermittedUsers;
and the Users class
use FindsByName, ListsActivities, ListsFollowers, ListsPermittedUsers, ListsUpdates;
As the
@deprecated
param in the method->users()->findByName($brandEmail, [ 'search_by_email' => 1, ]);
how we can search users (not persons) by email? The latest documentation says that we have to use
find
method: https://developers.pipedrive.com/docs/api/v1/Users#findUsersByNamebut the find() method available only
int
param.Maybe missing
Searches
trait in the Users class?Example: products class:
and the Users class