Skip to content

Commit

Permalink
feat: add accountTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Oct 25, 2024
1 parent 50c16e4 commit c58c4d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/music.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ export enum PaymentType {
Unrestrained = "UNRESTRAINED", // can be withdrawn
}

export enum AccountType {
Default = "DEFAULT",
Subscribed = "SUBSCRIBED",
Vip = "VIP",
}

export const wallet = zod.object({
_id: zod.string(),
transactions: zod.object({
Expand All @@ -208,6 +214,7 @@ export const wallet = zod.object({
unrestrained: zod.number(),
}).optional(),
stripeAccountId: zod.string().optional(),
accountType: zod.nativeEnum(AccountType).default(AccountType.Default),
});

export const limits = zod.object({
Expand Down

0 comments on commit c58c4d5

Please sign in to comment.