interface IProfile {
    created_at: string;
    current: boolean;
    email: string;
    first_name: string;
    groups?: IGroup[];
    id: string;
    last_name: string;
    organization?: IOrganization;
    organization_id: string;
    permissions?: ("rcommon:access" | "rform:access" | "org:create" | "org:view" | "org:update" | "org:delete" | "org:transfer" | "org:list" | "owner:add" | "owner:remove" | "admin:add" | "admin:remove" | "member:view" | "member:add" | "member:remove" | "template:creator:delete" | "template:creator:visibility" | "template:creator:create:org" | "template:creator:create:public" | "template:creator:create:personal" | "template:member:read" | "template:member:write" | "template:member:delete" | "template:member:visibility")[];
    phone: null | string;
    plans?: ("env:essential" | "org:standard")[];
    roles?: ("owner" | "basic_user" | "member")[];
    updated_at: string;
    user_id: string;
}

Properties

created_at: string
current: boolean

If true, this is the caller's "currently selected" profile. All operations will performed "as" this profile.

email: string
first_name: string
groups?: IGroup[]

The plans assigned to the profilel NOTE: Only present in the "current" profile.

id: string

The unique ID of the profile

last_name: string
organization?: IOrganization

The organization

organization_id: string

The profile's organization ID, or a global "Realster" organization that all personal profiles are members of.

permissions?: ("rcommon:access" | "rform:access" | "org:create" | "org:view" | "org:update" | "org:delete" | "org:transfer" | "org:list" | "owner:add" | "owner:remove" | "admin:add" | "admin:remove" | "member:view" | "member:add" | "member:remove" | "template:creator:delete" | "template:creator:visibility" | "template:creator:create:org" | "template:creator:create:public" | "template:creator:create:personal" | "template:member:read" | "template:member:write" | "template:member:delete" | "template:member:visibility")[]

The permissions assigned to the profilel NOTE: Only present in the "current" profile.

phone: null | string
plans?: ("env:essential" | "org:standard")[]

The plans assigned to the profilel NOTE: Only present in the "current" profile.

roles?: ("owner" | "basic_user" | "member")[]

The roles assigned to the profilel NOTE: Only present in the "current" profile.

updated_at: string
user_id: string

The Verdocs back-end currently uses Auth0 for authentication. This value is a unique ID assigned by Auth0 to the user. This is typically used to identify multiple profiles owned by a single user, but its implementation may change in the future and developers should not develop code based on this field at this time.