Skip to content

Commit

Permalink
chore: update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kewitz committed Nov 14, 2024
1 parent 6e30ccf commit e254aef
Showing 1 changed file with 27 additions and 18 deletions.
45 changes: 27 additions & 18 deletions src/graphql/schemaV2.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -9600,36 +9600,45 @@ Return a summary of transaction info about a given account within the context of
"""
type HostedAccountSummary {
expenseCount: Int
expenseTotal: Amount
expenseMaxValue: Amount
expenseDistinctPayee: Int
contributionCount: Int
contributionTotal: Amount
hostFeeTotal: Amount
spentTotal: Amount
receivedTotal: Amount

"""
Average calculated based on the number of months since the first transaction of this kind within the requested time frame
Average calculated over the number of months the collective was approved or the number of months since dateFrom, whichever is less
"""
expenseMonthlyAverageCount: Float
expenseTotal: Amount
expenseAverageTotal(period: AveragePeriod = MONTH): Amount

"""
Average calculated based on the number of months since the first transaction of this kind within the requested time frame
Average calculated over the number of months the collective was approved or the number of months since dateFrom, whichever is less
"""
expenseMonthlyAverageTotal: Amount
expenseMaxValue: Amount
expenseDistinctPayee: Int
contributionCount: Int
expenseAverageCount(period: AveragePeriod = MONTH): Float

"""
Average calculated based on the number of months since the first transaction of this kind within the requested time frame
Average calculated over the number of months the collective was approved or the number of months since dateFrom, whichever is less
"""
contributionMonthlyAverageCount: Float
contributionTotal: Amount
contributionAverageTotal(period: AveragePeriod = MONTH): Amount

"""
Average calculated based on the number of months since the first transaction of this kind within the requested time frame
Average calculated over the number of months/years the collective was approved or the number of months since dateFrom, whichever is less
"""
contributionMonthlyAverageTotal: Amount
hostFeeTotal: Amount
spentTotal: Amount
receivedTotal: Amount
spentTotalMonthlyAverage: Amount
receivedTotalMonthlyAverage: Amount
contributionAverageCount(period: AveragePeriod = MONTH): Float
spentTotalAverage(period: AveragePeriod = MONTH): Amount
receivedTotalAverage(period: AveragePeriod = MONTH): Amount
contributionRefundedTotal: Amount
}

"""
The period over which the average is calculated
"""
enum AveragePeriod {
YEAR
MONTH
}

"""
Expand Down

0 comments on commit e254aef

Please sign in to comment.