@bash-app/bash-common 29.40.4 → 29.41.0

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.40.4",
3
+ "version": "29.41.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -951,8 +951,8 @@ model ServiceListingSubscription {
951
951
 
952
952
  subscriptionStatus ServiceSubscriptionStatus @default(None)
953
953
 
954
- serviceId String? @unique
955
- service Service? @relation(fields: [serviceId], references: [id], onDelete: Restrict)
954
+ serviceId String @unique
955
+ service Service @relation(fields: [serviceId], references: [id], onDelete: Restrict)
956
956
 
957
957
  @@index([stripeCheckoutSessionId, stripeSubscriptionId])
958
958
  }
@@ -1225,7 +1225,13 @@ enum VenuePricingPlan {
1225
1225
  enum ServiceSubscriptionStatus {
1226
1226
  None
1227
1227
  Active
1228
+ Trialing
1229
+ Paused
1228
1230
  Canceled
1231
+ Incomplete
1232
+ IncompleteExpired
1233
+ Unpaid
1234
+ PastDue
1229
1235
  Suspended
1230
1236
  Expired
1231
1237
  }