AddServiceLoyalty
This commit is contained in:
@@ -94,10 +94,20 @@ export type BusinessService = {
|
||||
price: string;
|
||||
durationMinutes?: number | null;
|
||||
isActive: boolean;
|
||||
loyaltyEnabled?: boolean;
|
||||
loyaltyEveryN?: number | null;
|
||||
serviceTemplate?: ServiceTemplate;
|
||||
classPrices?: BusinessServiceClassPrice[];
|
||||
};
|
||||
|
||||
export type ServiceLoyaltyStatus = {
|
||||
enabled: boolean;
|
||||
everyN: number | null;
|
||||
paidCount: number;
|
||||
nextIsFree: boolean;
|
||||
remainingPaidVisits: number | null;
|
||||
};
|
||||
|
||||
export type Booking = {
|
||||
id: string;
|
||||
customerId: string;
|
||||
@@ -111,6 +121,7 @@ export type Booking = {
|
||||
cancellationReason?: string | null;
|
||||
paymentToken?: string | null;
|
||||
paymentAmount?: string | null;
|
||||
loyaltyRedeemed?: boolean;
|
||||
business?: Business;
|
||||
businessService?: BusinessService;
|
||||
serviceClass?: BusinessServiceClass;
|
||||
|
||||
Reference in New Issue
Block a user