@bash-app/bash-common 29.33.0 → 29.34.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.33.0",
3
+ "version": "29.34.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",
@@ -1168,7 +1168,7 @@ model Venue {
1168
1168
  vibe String?
1169
1169
  dress String?
1170
1170
 
1171
- pricingPlan VenuePricingPlan? @default(Percentage)
1171
+ pricingPlan VenuePricingPlan?
1172
1172
  subscriptionStatus SubscriptionStatus?
1173
1173
  subscriptionStartDate DateTime?
1174
1174
 
@@ -283,6 +283,14 @@ export interface StripeCreateBashEventDonationCheckoutSessionArgs {
283
283
  donationAmount: number;
284
284
  }
285
285
 
286
+ export interface StripeCreateServiceSubscriptionCheckoutSessionArgs {
287
+ serviceId: string;
288
+ currency: string;
289
+ paymentMethodType: string;
290
+ promoCode?: string;
291
+ }
292
+
293
+
286
294
  export type StripeSessionRedirect = {
287
295
  stripeAccountIdDB: string;
288
296
  redirectUrl: string;
@@ -14,7 +14,7 @@ export type VenuePricingPlanMap = {
14
14
 
15
15
  export const VenuePricingPlanData: VenuePricingPlanMap = {
16
16
  [VenuePricingPlanOption.Percentage]: {
17
- name: "Pay per booking,",
17
+ name: "Pay per booking",
18
18
  description: "15% of each booking goes to Bash.",
19
19
  percentageFee: 0.15,
20
20
  monthlyFee: 0.0,