edit business owner
This commit is contained in:
+6
-1
@@ -22,6 +22,7 @@ export type Business = {
|
||||
slug: string;
|
||||
description?: string | null;
|
||||
address?: string | null;
|
||||
contactPhone?: string | null;
|
||||
phone?: string | null;
|
||||
isActive: boolean;
|
||||
categoryId: string;
|
||||
@@ -39,6 +40,7 @@ export type UpdateBusinessPayload = {
|
||||
subtitle?: string | null;
|
||||
description?: string | null;
|
||||
address?: string | null;
|
||||
contactPhone?: string | null;
|
||||
phone?: string | null;
|
||||
isActive?: boolean;
|
||||
concurrentCapacity?: number;
|
||||
@@ -122,14 +124,17 @@ export type CreateBusinessRegistrationPayload = {
|
||||
phone?: string;
|
||||
};
|
||||
|
||||
export type BusinessServiceRequestStatus = 'pending' | 'approved' | 'rejected';
|
||||
|
||||
export type BusinessServiceRequest = {
|
||||
id: string;
|
||||
businessId: string;
|
||||
status: string;
|
||||
status: BusinessServiceRequestStatus;
|
||||
title: string;
|
||||
description?: string | null;
|
||||
price: string;
|
||||
durationMinutes?: number | null;
|
||||
adminNote?: string | null;
|
||||
createdAt: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user