Returns a target by identifier.
Returns a generator for fetching all targets in the reporting period for the given contact identifiers.
the reporting period for the targets
the contact identifiers for the targets
a generator for fetching all targets with the given type
Returns the target for the given username and reporting period.
the reporting period for the target
the contact identifier of the user for the target
the username (without the "org.couchdb.user:" prefix) of the user for the target
the target or null if no target is found
Returns an array of targets for the provided page specifications.
the reporting period for the targets
the contact identifiers for the targets
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 targets to return. Default is 100.
a page of targets for the provided specifications
getByReportingPeriodContactIds which provides the same data, but without having to manually account for paging
Operations for working with targets.