awaiting_payment
This commit is contained in:
+10
-1
@@ -1,4 +1,9 @@
|
||||
export type BookingStatus = 'pending' | 'confirmed' | 'cancelled' | 'completed';
|
||||
export type BookingStatus =
|
||||
| 'pending'
|
||||
| 'awaiting_payment'
|
||||
| 'confirmed'
|
||||
| 'cancelled'
|
||||
| 'completed';
|
||||
|
||||
export type BusinessCategory = {
|
||||
id: string;
|
||||
@@ -31,6 +36,7 @@ export type Business = {
|
||||
concurrentCapacity?: number;
|
||||
slotStepMinutes?: number;
|
||||
serviceClassesEnabled?: boolean;
|
||||
autoApproveBookings?: boolean;
|
||||
createdAt?: string;
|
||||
updatedAt?: string;
|
||||
};
|
||||
@@ -46,6 +52,7 @@ export type UpdateBusinessPayload = {
|
||||
concurrentCapacity?: number;
|
||||
slotStepMinutes?: number;
|
||||
serviceClassesEnabled?: boolean;
|
||||
autoApproveBookings?: boolean;
|
||||
};
|
||||
|
||||
export type ServiceTemplate = {
|
||||
@@ -98,6 +105,8 @@ export type Booking = {
|
||||
status: BookingStatus;
|
||||
note?: string | null;
|
||||
cancellationReason?: string | null;
|
||||
paymentToken?: string | null;
|
||||
paymentAmount?: string | null;
|
||||
business?: Business;
|
||||
businessService?: BusinessService;
|
||||
serviceClass?: BusinessServiceClass;
|
||||
|
||||
Reference in New Issue
Block a user