AddFirstBookingDiscount
This commit is contained in:
@@ -38,6 +38,11 @@ export type Business = {
|
||||
serviceClassesEnabled?: boolean;
|
||||
autoApproveBookings?: boolean;
|
||||
tipsEnabled?: boolean;
|
||||
promoDiscountEnabled?: boolean;
|
||||
promoDiscountTitle?: string | null;
|
||||
promoDiscountPercent?: number | null;
|
||||
promoDiscountCode?: string | null;
|
||||
promoDiscountMode?: 'first_booking' | 'always';
|
||||
averageRating?: number | null;
|
||||
reviewCount?: number;
|
||||
createdAt?: string;
|
||||
@@ -57,6 +62,11 @@ export type UpdateBusinessPayload = {
|
||||
serviceClassesEnabled?: boolean;
|
||||
autoApproveBookings?: boolean;
|
||||
tipsEnabled?: boolean;
|
||||
promoDiscountEnabled?: boolean;
|
||||
promoDiscountTitle?: string | null;
|
||||
promoDiscountPercent?: number | null;
|
||||
promoDiscountCode?: string | null;
|
||||
promoDiscountMode?: 'first_booking' | 'always';
|
||||
};
|
||||
|
||||
export type ServiceTemplate = {
|
||||
@@ -122,6 +132,9 @@ export type Booking = {
|
||||
paymentToken?: string | null;
|
||||
paymentAmount?: string | null;
|
||||
loyaltyRedeemed?: boolean;
|
||||
promoDiscountApplied?: boolean;
|
||||
promoDiscountPercent?: number | null;
|
||||
promoDiscountTitle?: string | null;
|
||||
business?: Business;
|
||||
businessService?: BusinessService;
|
||||
serviceClass?: BusinessServiceClass;
|
||||
|
||||
Reference in New Issue
Block a user