@@ -206,15 +206,16 @@ type IntegrationCustomersResponse struct {
206206}
207207
208208type CustomerChargeUsage struct {
209- Units string `json:"units,omitempty"`
210- EventsCount int `json:"events_count"`
211- AmountCents int `json:"amount_cents,omitempty"`
212- AmountCurrency Currency `json:"amount_currency,omitempty"`
213- Charge * Charge `json:"charge,omitempty"`
214- BillableMetric * BillableMetric `json:"billable_metric,omitempty"`
215- PricingUnitDetails * CustomerPricingUnitDetails `json:"pricing_unit_details,omitempty"`
216- Filters []CustomerChargeFilterUsage `json:"filters,omitempty"`
217- GroupedUsage []CustomerChargeGroupedUsage `json:"grouped_usage,omitempty"`
209+ TotalAggregatedUnits string `json:"total_aggregated_units,omitempty"`
210+ Units string `json:"units,omitempty"`
211+ EventsCount int `json:"events_count"`
212+ AmountCents int `json:"amount_cents,omitempty"`
213+ AmountCurrency Currency `json:"amount_currency,omitempty"`
214+ Charge * Charge `json:"charge,omitempty"`
215+ BillableMetric * BillableMetric `json:"billable_metric,omitempty"`
216+ PricingUnitDetails * CustomerPricingUnitDetails `json:"pricing_unit_details,omitempty"`
217+ Filters []CustomerChargeFilterUsage `json:"filters,omitempty"`
218+ GroupedUsage []CustomerChargeGroupedUsage `json:"grouped_usage,omitempty"`
218219}
219220
220221type CustomerProjectedChargeUsage struct {
@@ -238,12 +239,13 @@ type CustomerPricingUnitDetails struct {
238239}
239240
240241type CustomerChargeFilterUsage struct {
241- InvoiceDisplayName string `json:"invoice_display_name,omitempty"`
242- Values map [string ]interface {} `json:"value,omitempty"`
243- AmountCents int `json:"amount_cents,omitempty"`
244- EventsCount int `json:"events_count,omitempty"`
245- Units string `json:"units,omitempty"`
246- PricingUnitDetails * CustomerPricingUnitDetails `json:"pricing_unit_details,omitempty"`
242+ TotalAggregatedUnits string `json:"total_aggregated_units,omitempty"`
243+ InvoiceDisplayName string `json:"invoice_display_name,omitempty"`
244+ Values map [string ]interface {} `json:"value,omitempty"`
245+ AmountCents int `json:"amount_cents,omitempty"`
246+ EventsCount int `json:"events_count,omitempty"`
247+ Units string `json:"units,omitempty"`
248+ PricingUnitDetails * CustomerPricingUnitDetails `json:"pricing_unit_details,omitempty"`
247249}
248250
249251type CustomerProjectedChargeFilterUsage struct {
@@ -258,12 +260,13 @@ type CustomerProjectedChargeFilterUsage struct {
258260}
259261
260262type CustomerChargeGroupedUsage struct {
261- AmountCents int `json:"amount_cents,omitempty"`
262- EventsCount int `json:"events_count,omitempty"`
263- Units string `json:"units,omitempty"`
264- GroupedBy map [string ]interface {} `json:"grouped_by,omitempty"`
265- Filters []CustomerChargeFilterUsage `json:"filters,omitempty"`
266- PricingUnitDetails * CustomerPricingUnitDetails `json:"pricing_unit_details,omitempty"`
263+ TotalAggregatedUnits string `json:"total_aggregated_units,omitempty"`
264+ AmountCents int `json:"amount_cents,omitempty"`
265+ EventsCount int `json:"events_count,omitempty"`
266+ Units string `json:"units,omitempty"`
267+ GroupedBy map [string ]interface {} `json:"grouped_by,omitempty"`
268+ Filters []CustomerChargeFilterUsage `json:"filters,omitempty"`
269+ PricingUnitDetails * CustomerPricingUnitDetails `json:"pricing_unit_details,omitempty"`
267270}
268271
269272type CustomerProjectedChargeGroupedUsage struct {
0 commit comments