Skip to content

fetching user insights reports#41

Open
mrmauer wants to merge 2 commits intomainfrom
feat/user-insights-api
Open

fetching user insights reports#41
mrmauer wants to merge 2 commits intomainfrom
feat/user-insights-api

Conversation

@mrmauer
Copy link
Contributor

@mrmauer mrmauer commented Feb 12, 2026

Tests

more testing required

After PR

let report = await auth.fetchUserTopInviterReport(
    TopInviterReportInterval.THIRTY_DAYS,
    ReportPagination {
        pageSize: 10, // defaults to 10 for all reports
        pageNumber: 0, // defaults to 0 for all reports
    },
);

let report = await auth.fetchUserChampionReport(
    ChampionReportInterval.THIRTY_DAYS,
);

let report = await auth.fetchUserReengagementReport(
    ReengagementReportInterval.WEEKLY,
);

let report = await auth.fetchUserChurnReport(
    ChurnReportInterval.SEVEN_DAYS,
);

let report = await auth.fetchOrgReengagementReport(
    ReengagementReportInterval.WEEKLY,
);

let report = await auth.fetchOrgChurnReport(
    ChurnReportInterval.SEVEN_DAYS,
);

let report = await auth.fetchOrgGrowthReport(
    GrowthReportInterval.THIRTY_DAYS,
);

let report = await auth.fetchOrgAttritionReport(
    AttritionReportInterval.THIRTY_DAYS,
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant