Skip to content

Commit b5e327e

Browse files
authored
add billingPlanVersion to TeamResponse (#6084)
1 parent 073b25a commit b5e327e

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/friendly-trainers-taste.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
add `billingPlanVersion` to `TeamResponse`

packages/service-utils/src/core/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export type TeamResponse = {
4545
slug: string;
4646
image: string | null;
4747
billingPlan: "free" | "starter" | "growth" | "pro";
48+
billingPlanVersion: number;
4849
createdAt: Date;
4950
updatedAt: Date | null;
5051
billingEmail: string | null;

packages/service-utils/src/mocks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export const validTeamResponse: TeamResponse = {
4242
createdAt: new Date("2024-06-01"),
4343
updatedAt: new Date("2024-06-01"),
4444
billingPlan: "free",
45+
billingPlanVersion: 1,
4546
billingEmail: "test@example.com",
4647
billingStatus: "noPayment",
4748
growthTrialEligible: false,

0 commit comments

Comments
 (0)