diff --git a/src/index.tsx b/src/index.tsx index 5fec77e..da1a932 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -265,6 +265,7 @@ export type CohortStatsGql = { activated7d: Scalars["Int"]["output"]; activatedNotPaid7d: Scalars["Int"]["output"]; paid7d: Scalars["Int"]["output"]; + paidTotal: Scalars["Int"]["output"]; signups: Scalars["Int"]["output"]; weekStart: Scalars["Date"]["output"]; }; @@ -2323,6 +2324,8 @@ export type FunnelStatsGql = { freemiumEpoch: Scalars["Date"]["output"]; newPaid7d: Scalars["Int"]["output"]; newPaid30d: Scalars["Int"]["output"]; + newPaidToday: Scalars["Int"]["output"]; + pastDueUsers: Scalars["Int"]["output"]; payingUsers: Scalars["Int"]["output"]; retentionPrevActive: Scalars["Int"]["output"]; retentionReturned: Scalars["Int"]["output"]; @@ -8319,6 +8322,8 @@ export type GetUsageStatsQuery = { activationCohort: number; activationActivated: number; payingUsers: number; + pastDueUsers: number; + newPaidToday: number; newPaid7d: number; newPaid30d: number; retentionPrevActive: number; @@ -8331,6 +8336,7 @@ export type GetUsageStatsQuery = { activated7d: number; paid7d: number; activatedNotPaid7d: number; + paidTotal: number; }>; windows: Array<{ __typename?: "UsageStatsWindowGQL"; @@ -17547,6 +17553,8 @@ export const GetUsageStatsDocument = gql` activationCohort activationActivated payingUsers + pastDueUsers + newPaidToday newPaid7d newPaid30d retentionPrevActive @@ -17558,6 +17566,7 @@ export const GetUsageStatsDocument = gql` activated7d paid7d activatedNotPaid7d + paidTotal } totalUsers totalVideos diff --git a/src/operations/usage_stats.gql b/src/operations/usage_stats.gql index 876e015..6ace3d0 100644 --- a/src/operations/usage_stats.gql +++ b/src/operations/usage_stats.gql @@ -7,6 +7,8 @@ query getUsageStats($days: Int! = 30) { activationCohort activationActivated payingUsers + pastDueUsers + newPaidToday newPaid7d newPaid30d retentionPrevActive @@ -18,6 +20,7 @@ query getUsageStats($days: Int! = 30) { activated7d paid7d activatedNotPaid7d + paidTotal } totalUsers totalVideos diff --git a/src/schema.gql b/src/schema.gql index eae87e7..f16ddee 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -214,6 +214,7 @@ type CohortStatsGQL { activated7d: Int! paid7d: Int! activatedNotPaid7d: Int! + paidTotal: Int! } type CommentGQL { @@ -464,6 +465,8 @@ type FunnelStatsGQL { activationCohort: Int! activationActivated: Int! payingUsers: Int! + pastDueUsers: Int! + newPaidToday: Int! newPaid7d: Int! newPaid30d: Int! retentionPrevActive: Int!