Skip to content

Commit 4c29886

Browse files
authored
chore: add dedicatedSupportChannel to TeamResponse (#7382)
1 parent 5492331 commit 4c29886

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

.changeset/dry-emus-exist.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+
chore: add dedicatedSupportChannel to TeamResponse

apps/dashboard/src/stories/stubs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ export function teamStub(id: string, billingPlan: Team["billingPlan"]): Team {
110110
planCancellationDate: null,
111111
unthreadCustomerId: null,
112112
verifiedDomain: null,
113+
dedicatedSupportChannel: null,
113114
};
114115

115116
return team;

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ export type TeamResponse = {
147147
unthreadCustomerId: string | null;
148148
planCancellationDate: string | null;
149149
verifiedDomain: string | null;
150+
dedicatedSupportChannel: {
151+
type: "slack" | "telegram";
152+
name: string;
153+
} | null;
150154
};
151155

152156
export type ProjectSecretKey = {

packages/service-utils/src/mocks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export const validTeamResponse: TeamResponse = {
113113
},
114114
planCancellationDate: null,
115115
unthreadCustomerId: null,
116+
dedicatedSupportChannel: null,
116117
};
117118

118119
export const validTeamAndProjectResponse: TeamAndProjectResponse = {

0 commit comments

Comments
 (0)