Skip to main content

UserProfile

Stentor API Reference


Stentor API Reference / stentor-models/src / UserProfile

Interface: UserProfile

Defined in: packages/stentor-models/src/UserProfile.ts:2

Properties​

id​

id: string

Defined in: packages/stentor-models/src/UserProfile.ts:6

Unique userId


name?​

optional name: string

Defined in: packages/stentor-models/src/UserProfile.ts:10

The first name, or given name, of the user.


email?​

optional email: string

Defined in: packages/stentor-models/src/UserProfile.ts:14

The email of the user.


notificationGranted?​

optional notificationGranted: boolean

Defined in: packages/stentor-models/src/UserProfile.ts:19

User granted permission to update Note: This isn't a piece of data we want to know, but Google uses the permissioning mechanism to grant it.


phone?​

optional phone: string

Defined in: packages/stentor-models/src/UserProfile.ts:21


preciseLocation?​

optional preciseLocation: object

Defined in: packages/stentor-models/src/UserProfile.ts:23

coordinates?​

optional coordinates: object

coordinates.latitude​

latitude: number

coordinates.longitude​

longitude: number


coarseLocation?​

optional coarseLocation: string

Defined in: packages/stentor-models/src/UserProfile.ts:30