diff --git a/src/FusionAuthClient.ts b/src/FusionAuthClient.ts index f387f4f..35ad8d8 100644 --- a/src/FusionAuthClient.ts +++ b/src/FusionAuthClient.ts @@ -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} excludes List of fields to exclude in the response. Currently only allows applicationTotals. + * @returns {Promise>} + */ + retrieveTotalReportWithExcludes(excludes: Array): Promise> { + return this.start() + .withUri('/api/report/totals') + .withParameter('excludes', excludes) + .withMethod("GET") + .go(); + } + /** * Retrieve two-factor recovery codes for a user. *