Skip to content

Commit b635e9b

Browse files
committed
Remove deprecated fields from CustomerUsage type
The onDemandMaxSpend and onDemandEventsAllowed fields on the customer usage endpoint response have been deprecated since 2022 and are not read by any frontend consumer.
1 parent 3a2050c commit b635e9b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

static/gsApp/types/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,6 @@ export type BillingStatTotal = {
571571
};
572572

573573
export type CustomerUsage = {
574-
onDemandEventsAllowed: number;
575-
onDemandMaxSpend: number;
576574
periodEnd: string;
577575
periodStart: string;
578576
stats: Record<string, BillingStats>;

tests/js/getsentry-test/fixtures/customerUsage.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ export function CustomerUsageFixture(
88
return {
99
periodStart: '2022-06-01',
1010
periodEnd: '2022-06-30',
11-
onDemandMaxSpend: 0,
12-
onDemandEventsAllowed: 0,
1311
totals: {
1412
errors: UsageTotalFixture(),
1513
transactions: UsageTotalFixture(),

0 commit comments

Comments
 (0)