@bash-app/bash-common 29.19.15 → 29.19.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.19.15",
3
+ "version": "29.19.17",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -51,7 +51,7 @@ enum ClubAdminRole {
51
51
  enum ClubMemberStatus {
52
52
  Active
53
53
  Inactive
54
- Cancelled
54
+ Canceled
55
55
  Paused
56
56
  Removed
57
57
  }
@@ -1163,9 +1163,26 @@ model Venue {
1163
1163
  vibe String?
1164
1164
  dress String?
1165
1165
 
1166
+ pricingPlan PricingPlan? @default(Percentage)
1167
+ percentageRate Float? @default(0.15)
1168
+ subscriptionStatus SubscriptionStatus?
1169
+ subscriptionStartDate DateTime?
1170
+
1166
1171
  bashEvents BashEvent[]
1167
1172
  }
1168
1173
 
1174
+ enum PricingPlan {
1175
+ Percentage
1176
+ Subscription
1177
+ }
1178
+
1179
+ enum SubscriptionStatus {
1180
+ Active
1181
+ Canceled
1182
+ Suspended
1183
+ Expired
1184
+ }
1185
+
1169
1186
  model Organization {
1170
1187
  id String @id @default(cuid())
1171
1188
  serviceId String @unique
@@ -333,8 +333,8 @@ export type StripeBusinessDataOwned = {
333
333
  bankAccount?: string;
334
334
  linkingStatus: StripeLinkingStatus;
335
335
 
336
- createdDate: Date;
337
- updatedDate: Date;
336
+ createdDate: string;
337
+ updatedDate: string;
338
338
  } & StripeBusinessDataPublic;
339
339
 
340
340
  export interface StripeConfirmPayment {