@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
package/prisma/schema.prisma
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -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,
|