@yext/search-core
Version:
Typescript Networking Library for the Yext Search API
18 lines (17 loc) • 405 B
TypeScript
/**
* Information used to associate requests with a particular user.
*
* @remarks
* Visitor information is included with every request with the exception of question submission requests.
*
* @public
*/
export interface Visitor {
/** The ID associated with the user */
id: string;
/** The type of visitor
*
* @example 'YEXT_USER' for Yext Auth
*/
idMethod?: string;
}