Creates a new person record.
input fields for creating a person
the created person record
Returns a generator for fetching all people with the given type.
Returns a person by their UUID.
Returns a person by their UUID along with the person's parent lineage.
the UUID of the person to retrieve
the person or null if no person is found for the UUID
Returns an array of people for the provided page specifications.
the type of people to return
Optionalcursor: Nullable<string>the token identifying which page to retrieve. A null value indicates the first page should be
returned. Subsequent pages can be retrieved by providing the cursor returned with the previous page.
Optionallimit: number | `${number}`the maximum number of people to return. Default is 100.
a page of people for the provided specifications
getByType which provides the same data, but without having to manually account for paging
Updates an existing person to have the provided data.
the updated person data. The complete data for the person must be provided. Existing fields not included in the updated data will be removed from the person. If the provided parent lineage is hydrated (e.g. for a v1.PersonWithLineage), the lineage will be properly dehydrated before being stored.
the updated person with the new _rev value
Operations for working with people.