From 1ef5e0bb4f0398276eb5ddc5add35f4ba1c7c8f5 Mon Sep 17 00:00:00 2001 From: Henry Chen <1474479+chenhunghan@users.noreply.github.com> Date: Tue, 2 Jul 2024 17:36:43 +0800 Subject: [PATCH] feat: add reseller flag to business entity (#553) --- integration-test/UserService.test.ts | 2 +- src/BusinessService.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/integration-test/UserService.test.ts b/integration-test/UserService.test.ts index 433cd26e..90422ad7 100644 --- a/integration-test/UserService.test.ts +++ b/integration-test/UserService.test.ts @@ -162,7 +162,7 @@ describe("UserService", () => { shortSubscriptionId: "r55uxv78pktg", trialEndsAt: null, trialStartedAt: null, - unitAmount: 199, + unitAmount: 249, usedSeats: [], customFields: [], companyName: "sdgfdgdfg", diff --git a/src/BusinessService.ts b/src/BusinessService.ts index 33cd9244..34a5bf71 100644 --- a/src/BusinessService.ts +++ b/src/BusinessService.ts @@ -130,6 +130,10 @@ export type Business = { * A list of verified domains. */ verifiedDomains: VerifiedDomain[]; + /** + * True if the business is a reseller. + */ + reseller: boolean; }; export type VerifiedDomain = {