diff --git a/.changeset/dry-emus-exist.md b/.changeset/dry-emus-exist.md new file mode 100644 index 00000000000..0e7bae9a7a2 --- /dev/null +++ b/.changeset/dry-emus-exist.md @@ -0,0 +1,5 @@ +--- +"@thirdweb-dev/service-utils": patch +--- + +chore: add dedicatedSupportChannel to TeamResponse diff --git a/apps/dashboard/src/stories/stubs.ts b/apps/dashboard/src/stories/stubs.ts index 6a42f07be30..427411c8790 100644 --- a/apps/dashboard/src/stories/stubs.ts +++ b/apps/dashboard/src/stories/stubs.ts @@ -110,6 +110,7 @@ export function teamStub(id: string, billingPlan: Team["billingPlan"]): Team { planCancellationDate: null, unthreadCustomerId: null, verifiedDomain: null, + dedicatedSupportChannel: null, }; return team; diff --git a/packages/service-utils/src/core/api.ts b/packages/service-utils/src/core/api.ts index bb9f141e208..8f88e37d6cb 100644 --- a/packages/service-utils/src/core/api.ts +++ b/packages/service-utils/src/core/api.ts @@ -147,6 +147,10 @@ export type TeamResponse = { unthreadCustomerId: string | null; planCancellationDate: string | null; verifiedDomain: string | null; + dedicatedSupportChannel: { + type: "slack" | "telegram"; + name: string; + } | null; }; export type ProjectSecretKey = { diff --git a/packages/service-utils/src/mocks.ts b/packages/service-utils/src/mocks.ts index 62939f432fb..bbfa2c8944b 100644 --- a/packages/service-utils/src/mocks.ts +++ b/packages/service-utils/src/mocks.ts @@ -113,6 +113,7 @@ export const validTeamResponse: TeamResponse = { }, planCancellationDate: null, unthreadCustomerId: null, + dedicatedSupportChannel: null, }; export const validTeamAndProjectResponse: TeamAndProjectResponse = {