Merge branch 'dev' into quick-fix

This commit is contained in:
Stephanos A.
2026-07-19 08:33:16 +03:00
committed by GitHub
337 changed files with 16245 additions and 2090 deletions

View File

@@ -160,6 +160,10 @@ export const seatsApi = {
undoRemove: (seatId: string) => apiClient.patch<any>(`/seats/${seatId}/undo-remove`, {}),
setMaintenance: (seatId: string, reason: string) => apiClient.post<any>(`/seats/${seatId}/maintenance`, { reason }),
clearMaintenance: (seatId: string) => apiClient.delete(`/seats/${seatId}/maintenance`),
getDuplicates: (date: string, scheduleId?: string) =>
apiClient.get<any>(`/seats/duplicates?date=${date}${scheduleId ? `&scheduleId=${scheduleId}` : ''}`),
resolveDuplicates: (data: { bookingSeatIds: string[]; coachIds: string[] }) =>
apiClient.post<any>('/seats/duplicates/resolve', data),
};
// Payments API