Skip to content

Commit

Permalink
feat: add reseller flag to business entity (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhunghan authored Jul 2, 2024
1 parent 8a5ae2e commit 1ef5e0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion integration-test/UserService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ describe("UserService", () => {
shortSubscriptionId: "r55uxv78pktg",
trialEndsAt: null,
trialStartedAt: null,
unitAmount: 199,
unitAmount: 249,
usedSeats: [],
customFields: [],
companyName: "sdgfdgdfg",
Expand Down
4 changes: 4 additions & 0 deletions src/BusinessService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1ef5e0b

Please sign in to comment.