Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/FusionAuthClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3804,6 +3804,20 @@ export class FusionAuthClient {
.go();
}

/**
* Retrieves the totals report. This allows excluding applicationTotals from the report. An empty list will include the applicationTotals.
*
* @param {Array<String>} excludes List of fields to exclude in the response. Currently only allows applicationTotals.
* @returns {Promise<ClientResponse<TotalsReportResponse>>}
*/
retrieveTotalReportWithExcludes(excludes: Array<String>): Promise<ClientResponse<TotalsReportResponse>> {
return this.start<TotalsReportResponse, void>()
.withUri('/api/report/totals')
.withParameter('excludes', excludes)
.withMethod("GET")
.go();
}

/**
* Retrieve two-factor recovery codes for a user.
*
Expand Down