[2025-11-20 19:50:59] Creating Leedz Tray....
[2025-11-21T03:51:10.599Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-20 19:51:10] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21T03:51:14.992Z] Database connected successfully:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\prisma\leedz.sqlite
[2025-11-20 19:51:14] Database connected successfully:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\prisma\leedz.sqlite
[2025-11-21T03:51:14.998Z] ! Local API running on http://localhost:3000
[2025-11-20 19:51:15] ! Local API running on http://localhost:3000
[2025-11-20 19:51:26] Server stopped successfully.
[2025-11-21T03:51:28.220Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-20 19:51:28] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21T03:51:33.743Z] Database connected successfully:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\prisma\leedz.sqlite
[2025-11-20 19:51:33] Database connected successfully:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\prisma\leedz.sqlite
[2025-11-21T03:51:33.753Z] ! Local API running on http://localhost:3000
[2025-11-20 19:51:33] ! Local API running on http://localhost:3000
[2025-11-21T03:54:19.287Z] GET /config
[2025-11-20 19:54:19] GET /config
[2025-11-20 19:54:19] prisma:query SELECT 1
[2025-11-20 19:54:19] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T03:55:25.085Z] GET /config
[2025-11-20 19:55:25] GET /config
[2025-11-20 19:55:25] prisma:query SELECT 1
[2025-11-20 19:55:25] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T03:56:08.820Z] GET /stats
[2025-11-20 19:56:08] GET /stats
[2025-11-20 19:56:08] prisma:query SELECT 1
[2025-11-20 19:56:08] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 19:56:08] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 19:56:08] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21T03:56:28.622Z] GET /stats
[2025-11-20 19:56:28] GET /stats
[2025-11-20 19:56:28] prisma:query SELECT 1
[2025-11-20 19:56:28] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 19:56:28] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 19:56:28] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 19:56:42] Server stopped successfully.
[2025-11-21T03:56:44.166Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-20 19:56:44] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21T03:56:52.202Z] Database connected successfully:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\prisma\leedz.sqlite
[2025-11-20 19:56:52] Database connected successfully:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\prisma\leedz.sqlite
[2025-11-21T03:56:52.213Z] ! Local API running on http://localhost:3000
[2025-11-20 19:56:52] ! Local API running on http://localhost:3000
[2025-11-21T03:56:59.762Z] GET /stats
[2025-11-20 19:56:59] GET /stats
[2025-11-20 19:56:59] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 19:56:59] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 19:56:59] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 20:02:51] Server stopped successfully.
[2025-11-20 20:37:49] Creating Leedz Tray....
[2025-11-20 20:37:57] [TRAY] Starting server...
[2025-11-20 20:37:57] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 20:37:57] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-20 20:37:57] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-20 20:37:58] [TRAY] Server process started (PID: 2340)
[2025-11-20 20:37:58] ERR: pkg/prelude/bootstrap.js:438
[2025-11-20 20:37:58] ERR:   if (error) throw error;
[2025-11-20 20:37:58] ERR:              ^
[2025-11-20 20:37:58] ERR: Error: File 'C:\**\server\server_config.json' was not included into executable at compilation stage. Please recompile adding it as asset or script.
[2025-11-20 20:37:58] ERR:     at error_ENOENT (pkg/prelude/bootstrap.js:657:19)
[2025-11-20 20:37:58] ERR:     at readFileFromSnapshot (pkg/prelude/bootstrap.js:1046:29)
[2025-11-20 20:37:58] ERR:     at Object.readFileSync (pkg/prelude/bootstrap.js:1094:18)
[2025-11-20 20:37:58] ERR:     at Object.<anonymous> (C:\snapshot\server\src\leedz_server.js:27:30)
[2025-11-20 20:37:58] ERR:     at Module._compile (node:internal/modules/cjs/loader:1112:14)
[2025-11-20 20:37:58] ERR:     at Module._compile (pkg/prelude/bootstrap.js:1933:32)
[2025-11-20 20:37:58] ERR:     at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
[2025-11-20 20:37:58] ERR:     at Module.load (node:internal/modules/cjs/loader:988:32)
[2025-11-20 20:37:58] ERR:     at Module._load (node:internal/modules/cjs/loader:834:12)
[2025-11-20 20:37:58] ERR:     at Function.runMain (pkg/prelude/bootstrap.js:1979:12) {
[2025-11-20 20:37:58] ERR:   errno: -4058,
[2025-11-20 20:37:58] ERR:   code: 'ENOENT',
[2025-11-20 20:37:58] ERR:   path: 'C:\\snapshot\\server\\server_config.json',
[2025-11-20 20:37:58] ERR:   pkg: true
[2025-11-20 20:37:58] ERR: }
[2025-11-20 20:37:58] ERR: Node.js v18.5.0
[2025-11-20 20:38:13] [CONFIG] Database switching from: file:./data/leedz.sqlite
[2025-11-20 20:38:13] [CONFIG] Database switching to: file:./data/leedz_invoicer.sqlite
[2025-11-20 20:38:13] [CONFIG] Configuration saved. Restarting server with new database...
[2025-11-20 20:38:13] [CONFIG] Stopping server for configuration change...
[2025-11-20 20:38:13] [TRAY] Stopping server...
[2025-11-20 20:38:13] [TRAY] Attempting graceful shutdown via API...
[2025-11-20 20:38:16] [TRAY] Graceful shutdown exception: One or more errors occurred. (A task was canceled.)
[2025-11-20 20:38:16] [TRAY] Graceful shutdown failed, falling back to forceful termination
[2025-11-20 20:38:16] [TRAY] Found 0 external leedz-server processes
[2025-11-20 20:38:16] [TRAY] Checking for orphaned node.exe processes...
[2025-11-20 20:38:16] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:38:16] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:38:16] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:38:16] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:38:16] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:38:16] [TRAY] No orphaned node processes found
[2025-11-20 20:38:16] [TRAY] Server was not running
[2025-11-20 20:38:17] [CONFIG] Starting server with new configuration...
[2025-11-20 20:38:17] [TRAY] Starting server...
[2025-11-20 20:38:17] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 20:38:17] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-20 20:38:17] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-20 20:38:17] [TRAY] Server process started (PID: 32256)
[2025-11-20 20:38:17] [CONFIG] Server restarted successfully with new database
[2025-11-20 20:38:17] ERR: pkg/prelude/bootstrap.js:438
[2025-11-20 20:38:17] ERR:   if (error) throw error;
[2025-11-20 20:38:17] ERR:              ^
[2025-11-20 20:38:17] ERR: Error: File 'C:\**\server\server_config.json' was not included into executable at compilation stage. Please recompile adding it as asset or script.
[2025-11-20 20:38:17] ERR:     at error_ENOENT (pkg/prelude/bootstrap.js:657:19)
[2025-11-20 20:38:17] ERR:     at readFileFromSnapshot (pkg/prelude/bootstrap.js:1046:29)
[2025-11-20 20:38:17] ERR:     at Object.readFileSync (pkg/prelude/bootstrap.js:1094:18)
[2025-11-20 20:38:17] ERR:     at Object.<anonymous> (C:\snapshot\server\src\leedz_server.js:27:30)
[2025-11-20 20:38:17] ERR:     at Module._compile (node:internal/modules/cjs/loader:1112:14)
[2025-11-20 20:38:17] ERR:     at Module._compile (pkg/prelude/bootstrap.js:1933:32)
[2025-11-20 20:38:17] ERR:     at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
[2025-11-20 20:38:17] ERR:     at Module.load (node:internal/modules/cjs/loader:988:32)
[2025-11-20 20:38:17] ERR:     at Module._load (node:internal/modules/cjs/loader:834:12)
[2025-11-20 20:38:17] ERR:     at Function.runMain (pkg/prelude/bootstrap.js:1979:12) {
[2025-11-20 20:38:17] ERR:   errno: -4058,
[2025-11-20 20:38:17] ERR:   code: 'ENOENT',
[2025-11-20 20:38:17] ERR:   path: 'C:\\snapshot\\server\\server_config.json',
[2025-11-20 20:38:17] ERR:   pkg: true
[2025-11-20 20:38:17] ERR: }
[2025-11-20 20:38:17] ERR: Node.js v18.5.0
[2025-11-20 20:41:15] [TRAY] Stopping server...
[2025-11-20 20:41:15] [TRAY] Attempting graceful shutdown via API...
[2025-11-20 20:41:18] [TRAY] Graceful shutdown exception: One or more errors occurred. (A task was canceled.)
[2025-11-20 20:41:18] [TRAY] Graceful shutdown failed, falling back to forceful termination
[2025-11-20 20:41:18] [TRAY] Found 0 external leedz-server processes
[2025-11-20 20:41:18] [TRAY] Checking for orphaned node.exe processes...
[2025-11-20 20:41:18] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:41:18] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:41:18] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:41:18] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:41:18] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-20 20:41:18] [TRAY] No orphaned node processes found
[2025-11-20 20:41:18] [TRAY] Server was not running
[2025-11-20 20:44:14] Creating Leedz Tray....
[2025-11-20 20:44:19] [TRAY] Starting server...
[2025-11-20 20:44:19] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 20:44:19] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-20 20:44:19] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-20 20:44:20] [TRAY] Server process started (PID: 28708)
[2025-11-20 20:44:20] [STARTUP] Running in PACKAGED mode
[2025-11-20 20:44:20] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-11-20 20:44:20] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 20:44:20] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz.sqlite"}
[2025-11-20 20:44:20] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-21T04:44:20.966Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-20 20:44:20] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21T04:44:20.971Z] [STARTUP] Attempting database connection...
[2025-11-21T04:44:20.971Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-21T04:44:20.972Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 20:44:20] [STARTUP] Attempting database connection...
[2025-11-20 20:44:20] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 20:44:20] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-21T04:44:28.105Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 20:44:28] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-21T04:44:28.109Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 20:44:28] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-21T04:44:28.118Z] ! Local API running on http://localhost:3000
[2025-11-20 20:44:28] ! Local API running on http://localhost:3000
[2025-11-20 20:44:38] [CONFIG] Database switching from: file:./data/leedz.sqlite
[2025-11-20 20:44:38] [CONFIG] Database switching to: file:./data/leedz_invoicer.sqlite
[2025-11-20 20:44:38] [CONFIG] Configuration saved. Restarting server with new database...
[2025-11-20 20:44:38] [CONFIG] Stopping server for configuration change...
[2025-11-20 20:44:38] [TRAY] Stopping server...
[2025-11-20 20:44:38] [TRAY] Attempting graceful shutdown via API...
[2025-11-21T04:44:38.872Z] POST /api/shutdown
[2025-11-20 20:44:38] POST /api/shutdown
[2025-11-20 20:44:38] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-11-20 20:44:38] ERR: Disabling file logging due to write error
[2025-11-20 20:44:38] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-20 20:44:39] [SHUTDOWN] Disconnecting database...
[2025-11-20 20:44:39] [SHUTDOWN] Database disconnected
[2025-11-20 20:44:39] [SHUTDOWN] Exiting process...
[2025-11-20 20:44:39] [TRAY] Graceful shutdown successful
[2025-11-20 20:44:39] [TRAY] Server stopped successfully
[2025-11-20 20:44:40] [CONFIG] Starting server with new configuration...
[2025-11-20 20:44:40] [TRAY] Starting server...
[2025-11-20 20:44:40] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 20:44:40] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-20 20:44:40] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-20 20:44:40] [TRAY] Server process started (PID: 39668)
[2025-11-20 20:44:40] [CONFIG] Server restarted successfully with new database
[2025-11-20 20:44:40] [STARTUP] Running in PACKAGED mode
[2025-11-20 20:44:40] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-11-20 20:44:40] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 20:44:40] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz_invoicer.sqlite"}
[2025-11-20 20:44:40] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-21T04:44:40.708Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-20 20:44:40] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21T04:44:40.712Z] [STARTUP] Attempting database connection...
[2025-11-20 20:44:40] [STARTUP] Attempting database connection...
[2025-11-21T04:44:40.713Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-20 20:44:40] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-21T04:44:40.715Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-20 20:44:40] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-21T04:44:48.067Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-20 20:44:48] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-21T04:44:48.069Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-20 20:44:48] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-21T04:44:48.074Z] ! Local API running on http://localhost:3000
[2025-11-20 20:44:48] ! Local API running on http://localhost:3000
[2025-11-21T04:46:37.985Z] GET /config
[2025-11-20 20:46:37] GET /config
[2025-11-20 20:46:38] prisma:query SELECT 1
[2025-11-20 20:46:38] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T04:46:49.194Z] GET /stats
[2025-11-20 20:46:49] GET /stats
[2025-11-20 20:46:49] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 20:46:49] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 20:46:49] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21T04:47:19.703Z] GET /stats
[2025-11-20 20:47:19] GET /stats
[2025-11-20 20:47:19] prisma:query SELECT 1
[2025-11-20 20:47:19] prisma:query SELECT 1
[2025-11-20 20:47:19] prisma:query SELECT 1
[2025-11-20 20:47:19] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 20:47:19] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 20:47:19] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 20:49:50] [TRAY] Stopping server...
[2025-11-20 20:49:50] [TRAY] Attempting graceful shutdown via API...
[2025-11-21T04:49:50.897Z] POST /api/shutdown
[2025-11-20 20:49:50] POST /api/shutdown
[2025-11-21T04:49:50.898Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-20 20:49:50] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-21T04:49:51.409Z] [SHUTDOWN] Disconnecting database...
[2025-11-20 20:49:51] [SHUTDOWN] Disconnecting database...
[2025-11-21T04:49:51.426Z] [SHUTDOWN] Database disconnected
[2025-11-21T04:49:51.426Z] [SHUTDOWN] Exiting process...
[2025-11-20 20:49:51] [SHUTDOWN] Database disconnected
[2025-11-20 20:49:51] [SHUTDOWN] Exiting process...
[2025-11-20 20:49:51] [TRAY] Graceful shutdown successful
[2025-11-20 20:49:51] [TRAY] Server stopped successfully
[2025-11-20 21:58:42] Creating Leedz Tray....
[2025-11-20 21:58:51] [TRAY] Starting server...
[2025-11-20 21:58:51] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 21:58:51] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-20 21:58:51] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-20 21:58:52] [TRAY] Server process started (PID: 23616)
[2025-11-20 21:58:52] [STARTUP] Running in PACKAGED mode
[2025-11-20 21:58:52] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-11-20 21:58:52] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 21:58:52] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz.sqlite"}
[2025-11-20 21:58:52] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-21T05:58:52.973Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-20 21:58:52] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21T05:58:52.979Z] [STARTUP] Attempting database connection...
[2025-11-20 21:58:52] [STARTUP] Attempting database connection...
[2025-11-21T05:58:52.986Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 21:58:53] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 21:58:53] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 21:58:57] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 21:58:57] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-20 21:58:57] ! Local API running on http://localhost:3000
[2025-11-20 21:58:57] ERR: Disabling file logging due to write error
[2025-11-20 21:59:33] [CONFIG] Database switching from: file:./data/leedz.sqlite
[2025-11-20 21:59:33] [CONFIG] Database switching to: file:./data/ca_schools.sqlite
[2025-11-20 21:59:34] [CONFIG] Configuration saved. Restarting server with new database...
[2025-11-20 21:59:34] [CONFIG] Stopping server for configuration change...
[2025-11-20 21:59:34] [TRAY] Stopping server...
[2025-11-20 21:59:34] [TRAY] Attempting graceful shutdown via API...
[2025-11-20 21:59:34] POST /api/shutdown
[2025-11-20 21:59:34] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-20 21:59:34] [SHUTDOWN] Disconnecting database...
[2025-11-20 21:59:34] [SHUTDOWN] Database disconnected
[2025-11-20 21:59:34] [SHUTDOWN] Exiting process...
[2025-11-20 21:59:34] [TRAY] Graceful shutdown successful
[2025-11-20 21:59:34] [TRAY] Server stopped successfully
[2025-11-20 21:59:35] [CONFIG] Starting server with new configuration...
[2025-11-20 21:59:35] [TRAY] Starting server...
[2025-11-20 21:59:35] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 21:59:35] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-20 21:59:35] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-20 21:59:35] [TRAY] Server process started (PID: 17156)
[2025-11-20 21:59:35] [CONFIG] Server restarted successfully with new database
[2025-11-20 21:59:35] [STARTUP] Running in PACKAGED mode
[2025-11-20 21:59:35] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-11-20 21:59:35] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-20 21:59:35] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/ca_schools.sqlite"}
[2025-11-20 21:59:36] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T05:59:36.004Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-20 21:59:36] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21T05:59:36.009Z] [STARTUP] Attempting database connection...
[2025-11-20 21:59:36] [STARTUP] Attempting database connection...
[2025-11-21T05:59:36.010Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-20 21:59:36] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T05:59:36.011Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-20 21:59:36] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T05:59:40.664Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-20 21:59:40] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T05:59:40.666Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-20 21:59:40] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T05:59:40.673Z] ! Local API running on http://localhost:3000
[2025-11-20 21:59:40] ! Local API running on http://localhost:3000
[2025-11-21T06:00:47.113Z] GET /config
[2025-11-20 22:00:47] GET /config
[2025-11-20 22:00:47] prisma:query SELECT 1
[2025-11-20 22:00:47] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:01:43.121Z] GET /stats
[2025-11-20 22:01:43] GET /stats
[2025-11-20 22:01:43] prisma:query SELECT 1
[2025-11-20 22:01:43] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 22:01:43] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 22:01:43] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21T06:04:31.647Z] GET /config
[2025-11-20 22:04:31] GET /config
[2025-11-20 22:04:31] prisma:query SELECT 1
[2025-11-20 22:04:31] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:05:15.240Z] GET /config
[2025-11-20 22:05:15] GET /config
[2025-11-20 22:05:15] prisma:query SELECT 1
[2025-11-20 22:05:15] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:05:47.077Z] GET /config
[2025-11-20 22:05:47] GET /config
[2025-11-20 22:05:47] prisma:query SELECT 1
[2025-11-20 22:05:47] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:07:39.622Z] GET /config
[2025-11-20 22:07:39] GET /config
[2025-11-20 22:07:39] prisma:query SELECT 1
[2025-11-20 22:07:39] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:08:02.954Z] GET /stats
[2025-11-20 22:08:02] GET /stats
[2025-11-20 22:08:02] prisma:query SELECT 1
[2025-11-20 22:08:02] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 22:08:02] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 22:08:02] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21T06:08:25.622Z] GET /config
[2025-11-20 22:08:25] GET /config
[2025-11-20 22:08:25] prisma:query SELECT 1
[2025-11-20 22:08:25] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:08:31.496Z] GET /clients?email=pallison@allsoulsla.org
[2025-11-20 22:08:31] GET /clients?email=pallison@allsoulsla.org
[2025-11-20 22:08:31] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`email` = ? LIMIT ? OFFSET ?
[2025-11-21T06:09:25.773Z] GET /config
[2025-11-20 22:09:25] GET /config
[2025-11-20 22:09:25] prisma:query SELECT 1
[2025-11-20 22:09:25] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:09:31.838Z] PUT /clients/pallison@allsoulsla.org/touch
[2025-11-20 22:09:31] PUT /clients/pallison@allsoulsla.org/touch
[2025-11-20 22:09:31] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:10:11.434Z] PUT /clients/pallison@allsoulsla.org/touch
[2025-11-20 22:10:11] PUT /clients/pallison@allsoulsla.org/touch
[2025-11-20 22:10:11] prisma:query SELECT 1
[2025-11-20 22:10:11] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:11:46.414Z] GET /config
[2025-11-20 22:11:46] GET /config
[2025-11-20 22:11:46] prisma:query SELECT 1
[2025-11-20 22:11:46] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:12:16.228Z] GET /clients?email=pallison@allsoulsla.org
[2025-11-20 22:12:16] GET /clients?email=pallison@allsoulsla.org
[2025-11-20 22:12:16] prisma:query SELECT 1
[2025-11-20 22:12:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`email` = ? LIMIT ? OFFSET ?
[2025-11-21T06:12:42.577Z] GET /bookings?clientEmail=pallison@allsoulsla.org
[2025-11-20 22:12:42] GET /bookings?clientEmail=pallison@allsoulsla.org
[2025-11-20 22:12:42] prisma:query SELECT 1
[2025-11-20 22:12:42] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` LEFT JOIN `main`.`Client` AS `j1` ON (`j1`.`id`) = (`main`.`Booking`.`clientId`) WHERE (`j1`.`email` = ? AND (`j1`.`id` IS NOT NULL)) LIMIT ? OFFSET ?
[2025-11-21T06:12:50.361Z] GET /clients?email=pallison@allsoulsla.org
[2025-11-20 22:12:50] GET /clients?email=pallison@allsoulsla.org
[2025-11-20 22:12:50] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`email` = ? LIMIT ? OFFSET ?
[2025-11-21T06:14:58.010Z] GET /stats
[2025-11-20 22:14:58] GET /stats
[2025-11-20 22:14:58] prisma:query SELECT 1
[2025-11-20 22:14:58] prisma:query SELECT 1
[2025-11-20 22:14:58] prisma:query SELECT 1
[2025-11-20 22:14:58] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 22:14:58] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 22:14:58] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21T06:15:05.003Z] GET /config
[2025-11-20 22:15:05] GET /config
[2025-11-20 22:15:05] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:15:10.050Z] GET /stats
[2025-11-20 22:15:10] GET /stats
[2025-11-20 22:15:10] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 22:15:10] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-20 22:15:10] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21T06:15:40.969Z] GET /clients?search=pallison@allsoulsla.org
[2025-11-20 22:15:40] GET /clients?search=pallison@allsoulsla.org
[2025-11-20 22:15:40] prisma:query SELECT 1
[2025-11-20 22:15:40] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:16:17.494Z] GET /clients?search=pallison@allsoulsla.org
[2025-11-20 22:16:17] GET /clients?search=pallison@allsoulsla.org
[2025-11-20 22:16:17] prisma:query SELECT 1
[2025-11-20 22:16:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:18:12.837Z] GET /clients?search=lwidmann@gsbh.net
[2025-11-20 22:18:12] GET /clients?search=lwidmann@gsbh.net
[2025-11-20 22:18:12] prisma:query SELECT 1
[2025-11-20 22:18:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:18:18.060Z] PUT /clients/cmhjlx8ee000mvea7wl0blhmb/touch
[2025-11-20 22:18:18] PUT /clients/cmhjlx8ee000mvea7wl0blhmb/touch
[2025-11-20 22:18:18] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:18:18] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:18:18] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:20:29.657Z] GET /clients?search=pallison@allsoulsla.org
[2025-11-20 22:20:29] GET /clients?search=pallison@allsoulsla.org
[2025-11-20 22:20:29] prisma:query SELECT 1
[2025-11-20 22:20:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:20:34.552Z] PUT /clients/cmhjlwajx000lvea7ixm48wiz/touch
[2025-11-20 22:20:34] PUT /clients/cmhjlwajx000lvea7ixm48wiz/touch
[2025-11-20 22:20:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:20:34] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:20:34] prisma:query SELECT 1
[2025-11-20 22:20:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:20:41.127Z] GET /clients?search=lwidmann@gsbh.net
[2025-11-20 22:20:41] GET /clients?search=lwidmann@gsbh.net
[2025-11-20 22:20:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:20:46.445Z] PUT /clients/cmhjlx8ee000mvea7wl0blhmb/touch
[2025-11-20 22:20:46] PUT /clients/cmhjlx8ee000mvea7wl0blhmb/touch
[2025-11-20 22:20:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:20:46] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:20:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:26:48.265Z] GET /config
[2025-11-20 22:26:48] GET /config
[2025-11-20 22:26:48] prisma:query SELECT 1
[2025-11-20 22:26:48] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T06:27:16.687Z] GET /clients?search=ywilcox@ourladyofvictorycatholicschool.org
[2025-11-20 22:27:16] GET /clients?search=ywilcox@ourladyofvictorycatholicschool.org
[2025-11-20 22:27:16] prisma:query SELECT 1
[2025-11-20 22:27:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:27:22.169Z] PUT /clients/cmhjlzm48000nvea7oua4h4cf/touch
[2025-11-20 22:27:22] PUT /clients/cmhjlzm48000nvea7oua4h4cf/touch
[2025-11-20 22:27:22] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:27:22] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:27:22] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:27:31.123Z] GET /clients?search=eespino@ourladyofvictorycatholicschool.org
[2025-11-20 22:27:31] GET /clients?search=eespino@ourladyofvictorycatholicschool.org
[2025-11-20 22:27:31] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:27:37.082Z] PUT /clients/cmhjlzm5a000ovea7blj900k7/touch
[2025-11-20 22:27:37] PUT /clients/cmhjlzm5a000ovea7blj900k7/touch
[2025-11-20 22:27:37] prisma:query SELECT 1
[2025-11-20 22:27:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:27:37] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:27:37] prisma:query SELECT 1
[2025-11-20 22:27:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:29:40.149Z] GET /clients?search=mwitty@la-archdiocese.org
[2025-11-20 22:29:40] GET /clients?search=mwitty@la-archdiocese.org
[2025-11-20 22:29:40] prisma:query SELECT 1
[2025-11-20 22:29:40] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:29:45.985Z] PUT /clients/cmhjm08is000pvea78qjivejd/touch
[2025-11-20 22:29:45] PUT /clients/cmhjm08is000pvea78qjivejd/touch
[2025-11-20 22:29:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:29:45] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:29:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:29:52.543Z] GET /clients?search=principal@start.olrs.org
[2025-11-20 22:29:52] GET /clients?search=principal@start.olrs.org
[2025-11-20 22:29:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:29:58.480Z] PUT /clients/cmhjm0pg2000qvea7wlhx8o2e/touch
[2025-11-20 22:29:58] PUT /clients/cmhjm0pg2000qvea7wlhx8o2e/touch
[2025-11-20 22:29:58] prisma:query SELECT 1
[2025-11-20 22:29:58] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:29:58] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:29:58] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:32:03.223Z] GET /clients?search=dperez1@la-archdiocese.org
[2025-11-20 22:32:03] GET /clients?search=dperez1@la-archdiocese.org
[2025-11-20 22:32:03] prisma:query SELECT 1
[2025-11-20 22:32:03] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:32:10.062Z] PUT /clients/cmhjm1712000rvea725e4u22d/touch
[2025-11-20 22:32:10] PUT /clients/cmhjm1712000rvea725e4u22d/touch
[2025-11-20 22:32:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:32:10] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:32:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:32:16.720Z] GET /clients?search=lnovales@guardianangelcs.com
[2025-11-20 22:32:16] GET /clients?search=lnovales@guardianangelcs.com
[2025-11-20 22:32:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:32:21.944Z] PUT /clients/cmhjm24y1000svea7pwusehfx/touch
[2025-11-20 22:32:21] PUT /clients/cmhjm24y1000svea7pwusehfx/touch
[2025-11-20 22:32:21] prisma:query SELECT 1
[2025-11-20 22:32:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:32:21] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:32:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:32:29.826Z] GET /clients?search=mcedeno@hnojla.org
[2025-11-20 22:32:29] GET /clients?search=mcedeno@hnojla.org
[2025-11-20 22:32:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:32:35.720Z] PUT /clients/cmhjm3q9m000tvea792e327gg/touch
[2025-11-20 22:32:35] PUT /clients/cmhjm3q9m000tvea792e327gg/touch
[2025-11-20 22:32:35] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:32:35] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:32:35] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:32:48.570Z] GET /clients?search=awhitaker@hnojla.org
[2025-11-20 22:32:48] GET /clients?search=awhitaker@hnojla.org
[2025-11-20 22:32:48] prisma:query SELECT 1
[2025-11-20 22:32:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:32:55.018Z] PUT /clients/cmhjm3qah000uvea75n2t2nwn/touch
[2025-11-20 22:32:55] PUT /clients/cmhjm3qah000uvea75n2t2nwn/touch
[2025-11-20 22:32:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:32:55] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:32:55] prisma:query SELECT 1
[2025-11-20 22:32:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:33:28.324Z] GET /clients?search=mreynoso@la-archdiocese.org
[2025-11-20 22:33:28] GET /clients?search=mreynoso@la-archdiocese.org
[2025-11-20 22:33:28] prisma:query SELECT 1
[2025-11-20 22:33:28] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:33:33.329Z] PUT /clients/cmhjm4bmg000vvea7wgtwqjqd/touch
[2025-11-20 22:33:33] PUT /clients/cmhjm4bmg000vvea7wgtwqjqd/touch
[2025-11-20 22:33:33] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:33:33] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:33:33] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:33:42.738Z] GET /clients?search=rorozco@la-archdiocese.org
[2025-11-20 22:33:42] GET /clients?search=rorozco@la-archdiocese.org
[2025-11-20 22:33:42] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:33:48.297Z] PUT /clients/cmhjm4tep000wvea7h85wbbqc/touch
[2025-11-20 22:33:48] PUT /clients/cmhjm4tep000wvea7h85wbbqc/touch
[2025-11-20 22:33:48] prisma:query SELECT 1
[2025-11-20 22:33:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:33:48] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:33:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:33:56.172Z] GET /clients?search=jrueda@sroflimaschool.org
[2025-11-20 22:33:56] GET /clients?search=jrueda@sroflimaschool.org
[2025-11-20 22:33:56] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:34:01.285Z] PUT /clients/cmhjm5bv3000xvea7orwsokrb/touch
[2025-11-20 22:34:01] PUT /clients/cmhjm5bv3000xvea7orwsokrb/touch
[2025-11-20 22:34:01] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:34:01] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:34:01] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:34:15.425Z] GET /clients?search=nbarriga@stmaryspalmdale.org
[2025-11-20 22:34:15] GET /clients?search=nbarriga@stmaryspalmdale.org
[2025-11-20 22:34:15] prisma:query SELECT 1
[2025-11-20 22:34:15] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:34:21.171Z] PUT /clients/cmhjm5r1g000yvea7b4s55r0l/touch
[2025-11-20 22:34:21] PUT /clients/cmhjm5r1g000yvea7b4s55r0l/touch
[2025-11-20 22:34:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:34:21] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:34:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:34:33.668Z] GET /clients?search=lgonzalez@saspasadena.com
[2025-11-20 22:34:33] GET /clients?search=lgonzalez@saspasadena.com
[2025-11-20 22:34:33] prisma:query SELECT 1
[2025-11-20 22:34:33] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:34:39.365Z] PUT /clients/cmhjm61o0000zvea7ywlbji9a/touch
[2025-11-20 22:34:39] PUT /clients/cmhjm61o0000zvea7ywlbji9a/touch
[2025-11-20 22:34:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:34:39] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:34:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:36:46.730Z] GET /clients?search=rarteaga@pomonacatholic.org
[2025-11-20 22:36:46] GET /clients?search=rarteaga@pomonacatholic.org
[2025-11-20 22:36:46] prisma:query SELECT 1
[2025-11-20 22:36:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:36:51.694Z] PUT /clients/cmhjm6oeo0010vea7alhvnbd0/touch
[2025-11-20 22:36:51] PUT /clients/cmhjm6oeo0010vea7alhvnbd0/touch
[2025-11-20 22:36:51] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:36:51] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:36:51] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:37:01.273Z] GET /clients?search=jspellman@smprep.org
[2025-11-20 22:37:01] GET /clients?search=jspellman@smprep.org
[2025-11-20 22:37:01] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:37:10.817Z] PUT /clients/cmhjm7scl0011vea7i2hml27w/touch
[2025-11-20 22:37:10] PUT /clients/cmhjm7scl0011vea7i2hml27w/touch
[2025-11-20 22:37:10] prisma:query SELECT 1
[2025-11-20 22:37:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:37:10] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:37:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:37:20.226Z] GET /clients?search=tpearce@smprep.org
[2025-11-20 22:37:20] GET /clients?search=tpearce@smprep.org
[2025-11-20 22:37:20] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:37:25.773Z] PUT /clients/cmhjm7sdi0012vea7pfcftft4/touch
[2025-11-20 22:37:25] PUT /clients/cmhjm7sdi0012vea7pfcftft4/touch
[2025-11-20 22:37:25] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:37:25] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:37:25] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:37:36.417Z] GET /clients?search=nquinly@smprep.org
[2025-11-20 22:37:36] GET /clients?search=nquinly@smprep.org
[2025-11-20 22:37:36] prisma:query SELECT 1
[2025-11-20 22:37:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:37:41.341Z] PUT /clients/cmhjm86rm0013vea76frwjv06/touch
[2025-11-20 22:37:41] PUT /clients/cmhjm86rm0013vea76frwjv06/touch
[2025-11-20 22:37:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:37:41] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:37:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:37:54.487Z] GET /clients?search=ahernandez@smprep.org
[2025-11-20 22:37:54] GET /clients?search=ahernandez@smprep.org
[2025-11-20 22:37:54] prisma:query SELECT 1
[2025-11-20 22:37:54] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:37:59.867Z] PUT /clients/cmhjm86sf0014vea77cre6yvj/touch
[2025-11-20 22:37:59] PUT /clients/cmhjm86sf0014vea77cre6yvj/touch
[2025-11-20 22:37:59] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:37:59] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:37:59] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:38:38.340Z] GET /clients?search=jgarzia@holyfamily.org
[2025-11-20 22:38:38] GET /clients?search=jgarzia@holyfamily.org
[2025-11-20 22:38:38] prisma:query SELECT 1
[2025-11-20 22:38:38] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:38:47.903Z] PUT /clients/cmhjm8onp0015vea7yak70bxj/touch
[2025-11-20 22:38:47] PUT /clients/cmhjm8onp0015vea7yak70bxj/touch
[2025-11-20 22:38:47] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:38:47] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:38:47] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:38:54.139Z] GET /clients?search=mlopez@holyfamily.org
[2025-11-20 22:38:54] GET /clients?search=mlopez@holyfamily.org
[2025-11-20 22:38:54] prisma:query SELECT 1
[2025-11-20 22:38:54] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:38:58.700Z] PUT /clients/cmhjm8ool0016vea753vlnkak/touch
[2025-11-20 22:38:58] PUT /clients/cmhjm8ool0016vea753vlnkak/touch
[2025-11-20 22:38:58] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:38:58] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:38:58] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:39:12.282Z] GET /clients?search=principal@stluketemplecity.org
[2025-11-20 22:39:12] GET /clients?search=principal@stluketemplecity.org
[2025-11-20 22:39:12] prisma:query SELECT 1
[2025-11-20 22:39:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:39:17.689Z] PUT /clients/cmhjm9pqw0017vea7y57f4999/touch
[2025-11-20 22:39:17] PUT /clients/cmhjm9pqw0017vea7y57f4999/touch
[2025-11-20 22:39:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:39:17] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:39:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:39:28.852Z] GET /clients?search=jenniferpeairs@nativityemail.com
[2025-11-20 22:39:28] GET /clients?search=jenniferpeairs@nativityemail.com
[2025-11-20 22:39:28] prisma:query SELECT 1
[2025-11-20 22:39:28] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:39:34.357Z] PUT /clients/cmhjma99g0018vea7qqq3od0d/touch
[2025-11-20 22:39:34] PUT /clients/cmhjma99g0018vea7qqq3od0d/touch
[2025-11-20 22:39:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:39:34] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:39:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:39:47.283Z] GET /clients?search=bruins@nativityemail.com
[2025-11-20 22:39:47] GET /clients?search=bruins@nativityemail.com
[2025-11-20 22:39:47] prisma:query SELECT 1
[2025-11-20 22:39:47] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:39:57.026Z] PUT /clients/cmhjma9ah0019vea7r3lby7r0/touch
[2025-11-20 22:39:57] PUT /clients/cmhjma9ah0019vea7r3lby7r0/touch
[2025-11-20 22:39:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:39:57] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:39:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:41:46.071Z] GET /clients?search=GNegrete@la-archdiocese.org
[2025-11-20 22:41:46] GET /clients?search=GNegrete@la-archdiocese.org
[2025-11-20 22:41:46] prisma:query SELECT 1
[2025-11-20 22:41:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:41:51.400Z] PUT /clients/cmhjmhjvm001avec7wafwdsbz/touch
[2025-11-20 22:41:51] PUT /clients/cmhjmhjvm001avec7wafwdsbz/touch
[2025-11-20 22:41:51] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:42:00.157Z] PUT /clients/cmhjmhjvm001avec7wafwdsbz/touch
[2025-11-20 22:42:00] PUT /clients/cmhjmhjvm001avec7wafwdsbz/touch
[2025-11-20 22:42:00] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:42:19.388Z] PUT /clients/cmhjmhjvm001a_vea7wafwdsbz/touch
[2025-11-20 22:42:19] PUT /clients/cmhjmhjvm001a_vea7wafwdsbz/touch
[2025-11-20 22:42:19] prisma:query SELECT 1
[2025-11-20 22:42:19] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:42:30.007Z] GET /clients?search=school213@aol.com
[2025-11-20 22:42:30] GET /clients?search=school213@aol.com
[2025-11-20 22:42:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:42:41.988Z] PUT /clients/cmhjmhjwk001bvea7e7hlvwyb/touch
[2025-11-20 22:42:41] PUT /clients/cmhjmhjwk001bvea7e7hlvwyb/touch
[2025-11-20 22:42:41] prisma:query SELECT 1
[2025-11-20 22:42:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:42:41] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:42:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:42:55.995Z] GET /clients?search=skwan@stpius5school.net
[2025-11-20 22:42:55] GET /clients?search=skwan@stpius5school.net
[2025-11-20 22:42:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:43:00.938Z] PUT /clients/cmhjmi0sh001cvea7a80pfxvd/touch
[2025-11-20 22:43:00] PUT /clients/cmhjmi0sh001cvea7a80pfxvd/touch
[2025-11-20 22:43:00] prisma:query SELECT 1
[2025-11-20 22:43:00] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:43:00] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:43:00] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:43:15.270Z] GET /clients?search=ccarney@stpius5school.net
[2025-11-20 22:43:15] GET /clients?search=ccarney@stpius5school.net
[2025-11-20 22:43:15] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:43:20.695Z] PUT /clients/cmhjmi0td001dvea7wik0eyp7/touch
[2025-11-20 22:43:20] PUT /clients/cmhjmi0td001dvea7wik0eyp7/touch
[2025-11-20 22:43:20] prisma:query SELECT 1
[2025-11-20 22:43:20] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:43:20] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:43:20] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:44:46.622Z] GET /clients?search=estroupe@jserra.org
[2025-11-20 22:44:46] GET /clients?search=estroupe@jserra.org
[2025-11-20 22:44:46] prisma:query SELECT 1
[2025-11-20 22:44:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:44:52.146Z] PUT /clients/cmhjmiedz001evea7gs81etet/touch
[2025-11-20 22:44:52] PUT /clients/cmhjmiedz001evea7gs81etet/touch
[2025-11-20 22:44:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:44:52] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:44:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:44:59.920Z] GET /clients?search=dever@jserra.org
[2025-11-20 22:44:59] GET /clients?search=dever@jserra.org
[2025-11-20 22:44:59] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:45:08.524Z] PUT /clients/cmhjmieer001fvea76da41jym/touch
[2025-11-20 22:45:08] PUT /clients/cmhjmieer001fvea76da41jym/touch
[2025-11-20 22:45:08] prisma:query SELECT 1
[2025-11-20 22:45:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:45:08] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:45:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:45:17.663Z] GET /clients?search=ttolzda@serraschool.org
[2025-11-20 22:45:17] GET /clients?search=ttolzda@serraschool.org
[2025-11-20 22:45:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:45:26.145Z] PUT /clients/cmhjmirwc001gvea7n0thsq38/touch
[2025-11-20 22:45:26] PUT /clients/cmhjmirwc001gvea7n0thsq38/touch
[2025-11-20 22:45:26] prisma:query SELECT 1
[2025-11-20 22:45:26] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:45:26] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:45:26] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:45:37.708Z] GET /clients?search=etrent@serraschool.org
[2025-11-20 22:45:37] GET /clients?search=etrent@serraschool.org
[2025-11-20 22:45:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:45:45.917Z] PUT /clients/cmhjmirx8001hvea777tg20xf/touch
[2025-11-20 22:45:45] PUT /clients/cmhjmirx8001hvea777tg20xf/touch
[2025-11-20 22:45:45] prisma:query SELECT 1
[2025-11-20 22:45:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:45:45] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:45:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:48:42.540Z] GET /clients?search=scostello@stischoolcypress.org
[2025-11-20 22:48:42] GET /clients?search=scostello@stischoolcypress.org
[2025-11-20 22:48:42] prisma:query SELECT 1
[2025-11-20 22:48:42] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:48:49.148Z] PUT /clients/cmhjmj52y001ivea77e1k9qgl/touch
[2025-11-20 22:48:49] PUT /clients/cmhjmj52y001ivea77e1k9qgl/touch
[2025-11-20 22:48:49] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:48:49] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:48:49] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:48:55.751Z] GET /clients?search=llobasso@stischoolcypress.org
[2025-11-20 22:48:55] GET /clients?search=llobasso@stischoolcypress.org
[2025-11-20 22:48:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:49:02.105Z] PUT /clients/cmhjmj53w001jvea7qw03jz14/touch
[2025-11-20 22:49:02] PUT /clients/cmhjmj53w001jvea7qw03jz14/touch
[2025-11-20 22:49:02] prisma:query SELECT 1
[2025-11-20 22:49:02] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:49:02] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:49:02] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:49:12.341Z] GET /clients?search=rramirez@lpcs.net
[2025-11-20 22:49:12] GET /clients?search=rramirez@lpcs.net
[2025-11-20 22:49:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:49:18.972Z] PUT /clients/cmhjmjiv3001kvea7v8ikcxy6/touch
[2025-11-20 22:49:18] PUT /clients/cmhjmjiv3001kvea7v8ikcxy6/touch
[2025-11-20 22:49:18] prisma:query SELECT 1
[2025-11-20 22:49:18] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:49:18] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:49:18] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:49:30.670Z] GET /clients?search=earcos@lpcs.net
[2025-11-20 22:49:30] GET /clients?search=earcos@lpcs.net
[2025-11-20 22:49:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:49:36.114Z] PUT /clients/cmhjmjivy001lvea7368eecwr/touch
[2025-11-20 22:49:36] PUT /clients/cmhjmjivy001lvea7368eecwr/touch
[2025-11-20 22:49:36] prisma:query SELECT 1
[2025-11-20 22:49:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:49:36] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:49:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:51:57.918Z] GET /clients?search=saintnorbertschool.org
[2025-11-20 22:51:57] GET /clients?search=saintnorbertschool.org
[2025-11-20 22:51:57] prisma:query SELECT 1
[2025-11-20 22:51:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:52:12.666Z] PUT /clients/cmhjmjvtn001mvea7urz41vra/touch
[2025-11-20 22:52:12] PUT /clients/cmhjmjvtn001mvea7urz41vra/touch
[2025-11-20 22:52:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:52:12] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:52:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:52:24.338Z] PUT /clients/cmhjmjvuh001nvea7nzuei50i/touch
[2025-11-20 22:52:24] PUT /clients/cmhjmjvuh001nvea7nzuei50i/touch
[2025-11-20 22:52:24] prisma:query SELECT 1
[2025-11-20 22:52:24] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:52:24] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:52:24] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:52:38.441Z] GET /clients?search=sulicka@smhs.org
[2025-11-20 22:52:38] GET /clients?search=sulicka@smhs.org
[2025-11-20 22:52:38] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:52:45.341Z] PUT /clients/cmhjmkag6001ovea7oqghilb5/touch
[2025-11-20 22:52:45] PUT /clients/cmhjmkag6001ovea7oqghilb5/touch
[2025-11-20 22:52:45] prisma:query SELECT 1
[2025-11-20 22:52:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:52:45] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:52:45] prisma:query SELECT 1
[2025-11-20 22:52:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:53:02.634Z] GET /clients?search=hernandezs@smhs.org
[2025-11-20 22:53:02] GET /clients?search=hernandezs@smhs.org
[2025-11-20 22:53:02] prisma:query SELECT 1
[2025-11-20 22:53:02] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:53:09.927Z] PUT /clients/cmhjmkah0001pvea7zq2eqdkx/touch
[2025-11-20 22:53:09] PUT /clients/cmhjmkah0001pvea7zq2eqdkx/touch
[2025-11-20 22:53:09] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:53:09] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:53:09] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:53:36.041Z] GET /clients?search=acovarrubias@olphindio.net
[2025-11-20 22:53:36] GET /clients?search=acovarrubias@olphindio.net
[2025-11-20 22:53:36] prisma:query SELECT 1
[2025-11-20 22:53:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:53:41.808Z] PUT /clients/cmhjmkoqe001qvea7pfsr8611/touch
[2025-11-20 22:53:41] PUT /clients/cmhjmkoqe001qvea7pfsr8611/touch
[2025-11-20 22:53:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:53:41] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:53:41] prisma:query SELECT 1
[2025-11-20 22:53:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:53:48.417Z] GET /clients?search=lsixtos@olphindio.net
[2025-11-20 22:53:48] GET /clients?search=lsixtos@olphindio.net
[2025-11-20 22:53:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:53:55.010Z] PUT /clients/cmhjmkor7001rvea7525aprby/touch
[2025-11-20 22:53:55] PUT /clients/cmhjmkor7001rvea7525aprby/touch
[2025-11-20 22:53:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:53:55] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:53:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:54:13.715Z] GET /clients?search=michael.keno@stsps.net
[2025-11-20 22:54:13] GET /clients?search=michael.keno@stsps.net
[2025-11-20 22:54:13] prisma:query SELECT 1
[2025-11-20 22:54:13] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:54:20.152Z] PUT /clients/cmhjml3hu001svea7fz0sykn3/touch
[2025-11-20 22:54:20] PUT /clients/cmhjml3hu001svea7fz0sykn3/touch
[2025-11-20 22:54:20] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:54:20] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:54:20] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:54:31.214Z] GET /clients?search=leticia.urquiza@stsps.net
[2025-11-20 22:54:31] GET /clients?search=leticia.urquiza@stsps.net
[2025-11-20 22:54:31] prisma:query SELECT 1
[2025-11-20 22:54:31] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:54:55.308Z] PUT /clients/cmhjml3iy001tvea7rmy6l34l/touch
[2025-11-20 22:54:55] PUT /clients/cmhjml3iy001tvea7rmy6l34l/touch
[2025-11-20 22:54:55] prisma:query SELECT 1
[2025-11-20 22:54:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:54:55] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:54:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:55:10.237Z] GET /clients?search=ccooney@sbdiocese.org
[2025-11-20 22:55:10] GET /clients?search=ccooney@sbdiocese.org
[2025-11-20 22:55:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:55:15.558Z] PUT /clients/cmhjmlijb001uvea79zqxddjm/touch
[2025-11-20 22:55:15] PUT /clients/cmhjmlijb001uvea79zqxddjm/touch
[2025-11-20 22:55:15] prisma:query SELECT 1
[2025-11-20 22:55:15] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:55:15] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:55:15] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:55:32.554Z] GET /clients?search=scourvoisier@sbdiocese.org
[2025-11-20 22:55:32] GET /clients?search=scourvoisier@sbdiocese.org
[2025-11-20 22:55:32] prisma:query SELECT 1
[2025-11-20 22:55:32] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:55:37.880Z] PUT /clients/cmhjmlik3001vvea7gwoizc8b/touch
[2025-11-20 22:55:37] PUT /clients/cmhjmlik3001vvea7gwoizc8b/touch
[2025-11-20 22:55:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:55:37] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:55:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:55:57.682Z] GET /clients?search=darmenta@sbdiocese.org
[2025-11-20 22:55:57] GET /clients?search=darmenta@sbdiocese.org
[2025-11-20 22:55:57] prisma:query SELECT 1
[2025-11-20 22:55:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:56:03.819Z] PUT /clients/cmhjmlxv4001wvea7ndmw8kth/touch
[2025-11-20 22:56:03] PUT /clients/cmhjmlxv4001wvea7ndmw8kth/touch
[2025-11-20 22:56:03] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:56:03] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:56:03] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T06:56:29.722Z] GET /clients?search=maria.t@sbdiocese.org
[2025-11-20 22:56:29] GET /clients?search=maria.t@sbdiocese.org
[2025-11-20 22:56:29] prisma:query SELECT 1
[2025-11-20 22:56:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T06:56:35.744Z] PUT /clients/cmhjmlxw2001xvea7ogelxwdn/touch
[2025-11-20 22:56:35] PUT /clients/cmhjmlxw2001xvea7ogelxwdn/touch
[2025-11-20 22:56:35] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-20 22:56:35] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-20 22:56:35] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:00:06.933Z] GET /config
[2025-11-21 04:00:06] GET /config
[2025-11-21 04:00:06] prisma:query SELECT 1
[2025-11-21 04:00:06] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T12:02:24.290Z] GET /clients?search=Carla%20Carney
[2025-11-21 04:02:24] GET /clients?search=Carla%20Carney
[2025-11-21 04:02:24] prisma:query SELECT 1
[2025-11-21 04:02:24] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:02:53.583Z] GET /clients?search=ccarney@stpius5school.net
[2025-11-21 04:02:53] GET /clients?search=ccarney@stpius5school.net
[2025-11-21 04:02:53] prisma:query SELECT 1
[2025-11-21 04:02:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:04:07.112Z] PUT /clients/cmhjmi0td001dvea7wik0eyp7/touch
[2025-11-21 04:04:07] PUT /clients/cmhjmi0td001dvea7wik0eyp7/touch
[2025-11-21 04:04:07] prisma:query SELECT 1
[2025-11-21 04:04:07] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:04:07] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:04:07] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:06:32.130Z] GET /clients?search=mcedeno@hnojla.org
[2025-11-21 04:06:32] GET /clients?search=mcedeno@hnojla.org
[2025-11-21 04:06:32] prisma:query SELECT 1
[2025-11-21 04:06:32] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:06:37.569Z] PUT /clients/cmhjm3q9m000tvea792e327gg/touch
[2025-11-21 04:06:37] PUT /clients/cmhjm3q9m000tvea792e327gg/touch
[2025-11-21 04:06:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:06:37] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:06:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:06:52.399Z] GET /clients?search=awhitaker@hnojla.org
[2025-11-21 04:06:52] GET /clients?search=awhitaker@hnojla.org
[2025-11-21 04:06:52] prisma:query SELECT 1
[2025-11-21 04:06:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:06:57.876Z] PUT /clients/cmhjm3qah000uvea75n2t2nwn/touch
[2025-11-21 04:06:57] PUT /clients/cmhjm3qah000uvea75n2t2nwn/touch
[2025-11-21 04:06:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:06:57] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:06:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:07:22.077Z] GET /clients?search=rorozco@la-archdiocese.org
[2025-11-21 04:07:22] GET /clients?search=rorozco@la-archdiocese.org
[2025-11-21 04:07:22] prisma:query SELECT 1
[2025-11-21 04:07:22] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:07:27.547Z] PUT /clients/cmhjm4tep000wvea7h85wbbqc/touch
[2025-11-21 04:07:27] PUT /clients/cmhjm4tep000wvea7h85wbbqc/touch
[2025-11-21 04:07:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:07:27] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:07:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:07:46.858Z] GET /clients?search=jrueda@sroflimaschool.org
[2025-11-21 04:07:46] GET /clients?search=jrueda@sroflimaschool.org
[2025-11-21 04:07:46] prisma:query SELECT 1
[2025-11-21 04:07:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:07:52.901Z] PUT /clients/cmhjm5bv3000xvea7orwsokrb/touch
[2025-11-21 04:07:52] PUT /clients/cmhjm5bv3000xvea7orwsokrb/touch
[2025-11-21 04:07:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:07:52] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:07:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:08:29.587Z] GET /clients?search=nbarriga@stmaryspalmdale.org
[2025-11-21 04:08:29] GET /clients?search=nbarriga@stmaryspalmdale.org
[2025-11-21 04:08:29] prisma:query SELECT 1
[2025-11-21 04:08:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:08:34.988Z] PUT /clients/cmhjm5r1g000yvea7b4s55r0l/touch
[2025-11-21 04:08:34] PUT /clients/cmhjm5r1g000yvea7b4s55r0l/touch
[2025-11-21 04:08:35] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:08:35] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:08:35] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:11:44.125Z] GET /clients?search=lgonzalez@saspasadena.com
[2025-11-21 04:11:44] GET /clients?search=lgonzalez@saspasadena.com
[2025-11-21 04:11:44] prisma:query SELECT 1
[2025-11-21 04:11:44] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:12:02.659Z] PUT /clients/cmhjm61o0000zvea7ywlbji9a/touch
[2025-11-21 04:12:02] PUT /clients/cmhjm61o0000zvea7ywlbji9a/touch
[2025-11-21 04:12:02] prisma:query SELECT 1
[2025-11-21 04:12:02] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:12:02] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:12:02] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:23:16.261Z] GET /config
[2025-11-21 04:23:16] GET /config
[2025-11-21 04:23:16] prisma:query SELECT 1
[2025-11-21 04:23:16] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T12:24:17.096Z] GET /clients?search=admin@lcasaints.org
[2025-11-21 04:24:17] GET /clients?search=admin@lcasaints.org
[2025-11-21 04:24:17] prisma:query SELECT 1
[2025-11-21 04:24:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:24:23.268Z] PUT /clients/cmhjopajn0054vea71ru6gfi6/touch
[2025-11-21 04:24:23] PUT /clients/cmhjopajn0054vea71ru6gfi6/touch
[2025-11-21 04:24:23] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:24:23] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:24:23] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:25:36.149Z] GET /config
[2025-11-21 04:25:36] GET /config
[2025-11-21 04:25:36] prisma:query SELECT 1
[2025-11-21 04:25:36] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T12:26:03.391Z] GET /clients?search=dcnphil@gmail.com
[2025-11-21 04:26:03] GET /clients?search=dcnphil@gmail.com
[2025-11-21 04:26:03] prisma:query SELECT 1
[2025-11-21 04:26:03] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:30:29.121Z] PUT /clients/cmhjm7scl0011vea7i2hml27w/touch
[2025-11-21 04:30:29] PUT /clients/cmhjm7scl0011vea7i2hml27w/touch
[2025-11-21 04:30:29] prisma:query SELECT 1
[2025-11-21 04:30:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:30:29] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:30:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:30:36.592Z] PUT /clients/cmhjp4wer005uvea7or6itov0/touch
[2025-11-21 04:30:36] PUT /clients/cmhjp4wer005uvea7or6itov0/touch
[2025-11-21 04:30:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:30:36] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:30:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:31:39.261Z] GET /clients?search=gotosmca@gmail.com
[2025-11-21 04:31:39] GET /clients?search=gotosmca@gmail.com
[2025-11-21 04:31:39] prisma:query SELECT 1
[2025-11-21 04:31:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:33:08.761Z] PUT /clients/cmhjp4wff005vvea70ywggqa7/touch
[2025-11-21 04:33:08] PUT /clients/cmhjp4wff005vvea70ywggqa7/touch
[2025-11-21 04:33:08] prisma:query SELECT 1
[2025-11-21 04:33:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:33:08] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:33:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:33:27.397Z] GET /clients?search=frdavid@gmail.com
[2025-11-21 04:33:27] GET /clients?search=frdavid@gmail.com
[2025-11-21 04:33:27] prisma:query SELECT 1
[2025-11-21 04:33:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T12:33:33.689Z] PUT /clients/cmhjp8l1h0061vea7814cc368/touch
[2025-11-21 04:33:33] PUT /clients/cmhjp8l1h0061vea7814cc368/touch
[2025-11-21 04:33:33] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 04:33:33] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 04:33:33] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T12:37:03.002Z] GET /config
[2025-11-21 04:37:03] GET /config
[2025-11-21 04:37:03] prisma:query SELECT 1
[2025-11-21 04:37:03] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T12:41:23.195Z] GET /config
[2025-11-21 04:41:23] GET /config
[2025-11-21 04:41:23] prisma:query SELECT 1
[2025-11-21 04:41:23] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T12:45:26.887Z] GET /clients?email=eassad@thestmaryschool.com
[2025-11-21 04:45:26] GET /clients?email=eassad@thestmaryschool.com
[2025-11-21 04:45:26] prisma:query SELECT 1
[2025-11-21 04:45:26] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`email` = ? LIMIT ? OFFSET ?
[2025-11-21T12:52:42.267Z] GET /config
[2025-11-21 04:52:42] GET /config
[2025-11-21 04:52:42] prisma:query SELECT 1
[2025-11-21 04:52:42] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21 04:52:47] [TRAY] Stopping server...
[2025-11-21 04:52:47] [TRAY] Attempting graceful shutdown via API...
[2025-11-21T12:52:48.012Z] POST /api/shutdown
[2025-11-21 04:52:48] POST /api/shutdown
[2025-11-21T12:52:48.015Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-21 04:52:48] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-21T12:52:48.525Z] [SHUTDOWN] Disconnecting database...
[2025-11-21 04:52:48] [SHUTDOWN] Disconnecting database...
[2025-11-21T12:52:48.549Z] [SHUTDOWN] Database disconnected
[2025-11-21 04:52:48] [SHUTDOWN] Database disconnected
[2025-11-21T12:52:48.549Z] [SHUTDOWN] Exiting process...
[2025-11-21 04:52:48] [SHUTDOWN] Exiting process...
[2025-11-21 04:52:48] [TRAY] Graceful shutdown successful
[2025-11-21 04:52:48] [TRAY] Server stopped successfully
[2025-11-21 04:52:49] [TRAY] Stopping server...
[2025-11-21 04:52:49] [TRAY] Attempting graceful shutdown via API...
[2025-11-21 04:52:53] [TRAY] Graceful shutdown exception: One or more errors occurred. (A task was canceled.)
[2025-11-21 04:52:53] [TRAY] Graceful shutdown failed, falling back to forceful termination
[2025-11-21 04:52:53] [TRAY] Found 0 external leedz-server processes
[2025-11-21 04:52:53] [TRAY] Checking for orphaned node.exe processes...
[2025-11-21 04:52:53] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-21 04:52:53] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-21 04:52:53] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-21 04:52:53] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-21 04:52:53] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-11-21 04:52:53] [TRAY] No orphaned node processes found
[2025-11-21 04:52:53] [TRAY] Server was not running
[2025-11-21 12:10:06] Creating Leedz Tray....
[2025-11-21 12:10:11] [TRAY] Starting server...
[2025-11-21 12:10:11] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-21 12:10:11] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-21 12:10:11] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-21 12:10:13] [TRAY] Server process started (PID: 25308)
[2025-11-21 12:10:14] [STARTUP] Running in PACKAGED mode
[2025-11-21 12:10:14] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-11-21 12:10:14] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-21 12:10:14] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/ca_schools.sqlite"}
[2025-11-21 12:10:14] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T20:10:14.028Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21 12:10:14] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-21T20:10:14.044Z] [STARTUP] Attempting database connection...
[2025-11-21 12:10:14] [STARTUP] Attempting database connection...
[2025-11-21T20:10:14.045Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T20:10:14.046Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21 12:10:14] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21 12:10:14] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T20:10:20.511Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21 12:10:20] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T20:10:20.513Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21 12:10:20] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-11-21T20:10:20.518Z] ! Local API running on http://localhost:3000
[2025-11-21 12:10:20] ! Local API running on http://localhost:3000
[2025-11-21T20:12:05.123Z] GET /stats
[2025-11-21 12:12:05] GET /stats
[2025-11-21 12:12:05] prisma:query SELECT 1
[2025-11-21 12:12:05] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21 12:12:05] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21 12:12:05] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-11-21T20:21:54.889Z] GET /clients?search=Christian
[2025-11-21 12:21:54] GET /clients?search=Christian
[2025-11-21 12:21:54] prisma:query SELECT 1
[2025-11-21 12:21:54] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T21:18:43.222Z] GET /config
[2025-11-21 13:18:43] GET /config
[2025-11-21 13:18:43] prisma:query SELECT 1
[2025-11-21 13:18:43] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T21:24:27.178Z] GET /config
[2025-11-21 13:24:27] GET /config
[2025-11-21 13:24:27] prisma:query SELECT 1
[2025-11-21 13:24:27] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-21T21:32:06.933Z] GET /clients?search=Salvador%20Menjivar
[2025-11-21 13:32:06] GET /clients?search=Salvador%20Menjivar
[2025-11-21 13:32:06] prisma:query SELECT 1
[2025-11-21 13:32:06] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T21:32:23.226Z] PUT /clients/cmhjnromk003wvea7k72f8zkw/touch
[2025-11-21 13:32:23] PUT /clients/cmhjnromk003wvea7k72f8zkw/touch
[2025-11-21 13:32:23] prisma:query SELECT 1
[2025-11-21 13:32:23] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 13:32:23] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 13:32:23] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T21:32:51.988Z] GET /clients?search=Julie%20Deas
[2025-11-21 13:32:51] GET /clients?search=Julie%20Deas
[2025-11-21 13:32:52] prisma:query SELECT 1
[2025-11-21 13:32:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T21:33:55.264Z] PUT /clients/cmhjnsfwa003xvea7mcaav72p/touch
[2025-11-21 13:33:55] PUT /clients/cmhjnsfwa003xvea7mcaav72p/touch
[2025-11-21 13:33:55] prisma:query SELECT 1
[2025-11-21 13:33:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 13:33:55] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 13:33:55] prisma:query SELECT 1
[2025-11-21 13:33:55] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T21:34:45.445Z] GET /clients?search=Dahlia%20Cornejo
[2025-11-21 13:34:45] GET /clients?search=Dahlia%20Cornejo
[2025-11-21 13:34:45] prisma:query SELECT 1
[2025-11-21 13:34:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T21:34:51.600Z] PUT /clients/cmhjnteff003yvea7qkh0w1d8/touch
[2025-11-21 13:34:51] PUT /clients/cmhjnteff003yvea7qkh0w1d8/touch
[2025-11-21 13:34:51] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 13:34:51] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 13:34:51] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T21:37:51.225Z] GET /clients?search=Andrea%20Taylor
[2025-11-21 13:37:51] GET /clients?search=Andrea%20Taylor
[2025-11-21 13:37:51] prisma:query SELECT 1
[2025-11-21 13:37:51] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T21:37:57.688Z] PUT /clients/cmhjmy0va002kvea79ixqpuz8/touch
[2025-11-21 13:37:57] PUT /clients/cmhjmy0va002kvea79ixqpuz8/touch
[2025-11-21 13:37:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 13:37:57] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 13:37:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T21:38:03.166Z] GET /clients?search=Valerie%20Gauthier
[2025-11-21 13:38:03] GET /clients?search=Valerie%20Gauthier
[2025-11-21 13:38:03] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T21:38:08.596Z] PUT /clients/cmhjmyfa2002lvea7jvtzxi3m/touch
[2025-11-21 13:38:08] PUT /clients/cmhjmyfa2002lvea7jvtzxi3m/touch
[2025-11-21 13:38:08] prisma:query SELECT 1
[2025-11-21 13:38:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 13:38:08] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 13:38:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T21:40:00.223Z] GET /clients?search=Dahlia%20Cornejo
[2025-11-21 13:40:00] GET /clients?search=Dahlia%20Cornejo
[2025-11-21 13:40:00] prisma:query SELECT 1
[2025-11-21 13:40:00] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T21:40:08.620Z] PUT /clients/cmhjnteff003yvea7qkh0w1d8/touch
[2025-11-21 13:40:08] PUT /clients/cmhjnteff003yvea7qkh0w1d8/touch
[2025-11-21 13:40:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 13:40:08] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 13:40:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21T21:40:14.455Z] GET /clients?search=Karl%20Bauer
[2025-11-21 13:40:14] GET /clients?search=Karl%20Bauer
[2025-11-21 13:40:14] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? OR `main`.`Client`.`email` LIKE ? OR `main`.`Client`.`company` LIKE ?) LIMIT ? OFFSET ?
[2025-11-21T21:40:19.968Z] PUT /clients/cmhjntugn003zvea7g9l5kkbs/touch
[2025-11-21 13:40:19] PUT /clients/cmhjntugn003zvea7g9l5kkbs/touch
[2025-11-21 13:40:19] prisma:query SELECT 1
[2025-11-21 13:40:19] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-21 13:40:19] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` IN (?) LIMIT ? OFFSET ?
[2025-11-21 13:40:19] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-24T03:31:13.140Z] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-23 19:31:13] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-23 19:31:13] prisma:query SELECT 1
[2025-11-23 19:31:13] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-24T03:31:20.072Z] GET /config
[2025-11-23 19:31:20] GET /config
[2025-11-23 19:31:20] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-24T03:48:45.714Z] GET /config
[2025-11-23 19:48:45] GET /config
[2025-11-23 19:48:45] prisma:query SELECT 1
[2025-11-23 19:48:45] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-24T03:58:32.778Z] GET /config
[2025-11-23 19:58:32] GET /config
[2025-11-23 19:58:32] prisma:query SELECT 1
[2025-11-23 19:58:32] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-24T21:38:47.945Z] GET /clients?email=nicki%40acharmedproduction.com&name=Nicki+Marshall
[2025-11-24 13:38:47] GET /clients?email=nicki%40acharmedproduction.com&name=Nicki+Marshall
[2025-11-24 13:38:47] prisma:query SELECT 1
[2025-11-24 13:38:47] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T00:46:04.703Z] GET /clients?email=nicki%40acharmedproduction.com&name=Nicki+Marshall
[2025-11-24 16:46:04] GET /clients?email=nicki%40acharmedproduction.com&name=Nicki+Marshall
[2025-11-24 16:46:04] prisma:query SELECT 1
[2025-11-24 16:46:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T00:46:04.780Z] GET /config
[2025-11-24 16:46:04] GET /config
[2025-11-24 16:46:04] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T00:47:21.668Z] GET /config
[2025-11-24 16:47:21] GET /config
[2025-11-24 16:47:21] prisma:query SELECT 1
[2025-11-24 16:47:21] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T00:47:21.695Z] GET /config
[2025-11-24 16:47:21] GET /config
[2025-11-24 16:47:21] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T00:48:27.096Z] GET /config
[2025-11-24 16:48:27] GET /config
[2025-11-24 16:48:27] prisma:query SELECT 1
[2025-11-24 16:48:27] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T01:09:30.236Z] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 17:09:30] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 17:09:30] prisma:query SELECT 1
[2025-11-24 17:09:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T01:09:30.265Z] GET /config
[2025-11-24 17:09:30] GET /config
[2025-11-24 17:09:30] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T01:33:04.034Z] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 17:33:04] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 17:33:04] prisma:query SELECT 1
[2025-11-24 17:33:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T01:33:04.091Z] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 17:33:04] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 17:33:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T01:33:10.691Z] GET /config
[2025-11-24 17:33:10] GET /config
[2025-11-24 17:33:10] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T02:39:41.769Z] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 18:39:41] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 18:39:41] prisma:query SELECT 1
[2025-11-24 18:39:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T02:39:41.801Z] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 18:39:41] GET /clients?email=ruthannesalau%40gmail.com&name=Ruth+Anne+Salau
[2025-11-24 18:39:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T02:39:48.405Z] GET /config
[2025-11-24 18:39:48] GET /config
[2025-11-24 18:39:48] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T02:54:47.893Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 18:54:47] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 18:54:47] prisma:query SELECT 1
[2025-11-24 18:54:47] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T02:54:47.924Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 18:54:47] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 18:54:47] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T02:54:54.041Z] GET /config
[2025-11-24 18:54:54] GET /config
[2025-11-24 18:54:54] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-24 18:55:32] [CONFIG] Database switching from: file:./data/ca_schools.sqlite
[2025-11-24 18:55:32] [CONFIG] Database switching to: file:./data/leedz_invoicer.sqlite
[2025-11-24 18:55:32] [CONFIG] Configuration saved. Restarting server with new database...
[2025-11-24 18:55:32] [CONFIG] Stopping server for configuration change...
[2025-11-24 18:55:32] [TRAY] Stopping server...
[2025-11-24 18:55:32] [TRAY] Attempting graceful shutdown via API...
[2025-11-25T02:55:32.314Z] POST /api/shutdown
[2025-11-24 18:55:32] POST /api/shutdown
[2025-11-25T02:55:32.315Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-24 18:55:32] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-25T02:55:32.829Z] [SHUTDOWN] Disconnecting database...
[2025-11-24 18:55:32] [SHUTDOWN] Disconnecting database...
[2025-11-25T02:55:32.853Z] [SHUTDOWN] Database disconnected
[2025-11-25T02:55:32.854Z] [SHUTDOWN] Exiting process...
[2025-11-24 18:55:32] [SHUTDOWN] Database disconnected
[2025-11-24 18:55:32] [SHUTDOWN] Exiting process...
[2025-11-24 18:55:32] [TRAY] Graceful shutdown successful
[2025-11-24 18:55:32] [TRAY] Server stopped successfully
[2025-11-24 18:55:33] [CONFIG] Starting server with new configuration...
[2025-11-24 18:55:33] [TRAY] Starting server...
[2025-11-24 18:55:33] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-24 18:55:33] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-24 18:55:33] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-24 18:55:34] [TRAY] Server process started (PID: 38172)
[2025-11-24 18:55:34] [CONFIG] Server restarted successfully with new database
[2025-11-24 18:55:35] [STARTUP] Running in PACKAGED mode
[2025-11-24 18:55:35] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-11-24 18:55:35] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-24 18:55:35] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz_invoicer.sqlite"}
[2025-11-24 18:55:35] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-25T02:55:35.197Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-24 18:55:35] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-25T02:55:35.204Z] [STARTUP] Attempting database connection...
[2025-11-25T02:55:35.205Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-25T02:55:35.205Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-24 18:55:35] [STARTUP] Attempting database connection...
[2025-11-24 18:55:35] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-24 18:55:35] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-25T02:55:43.928Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-24 18:55:43] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-25T02:55:43.931Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-24 18:55:43] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-11-25T02:55:43.939Z] ! Local API running on http://localhost:3000
[2025-11-24 18:55:43] ! Local API running on http://localhost:3000
[2025-11-25T03:23:41.481Z] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-24 19:23:41] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-24 19:23:41] prisma:query SELECT 1
[2025-11-24 19:23:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:23:41.507Z] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-24 19:23:41] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-24 19:23:41] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-24 19:23:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T03:23:41.528Z] GET /config
[2025-11-24 19:23:41] GET /config
[2025-11-24 19:23:41] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T03:23:46.677Z] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-24 19:23:46] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-24 19:23:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:23:46.688Z] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-24 19:23:46] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-24 19:23:46] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-24 19:23:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T03:30:32.203Z] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-24 19:30:32] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-24 19:30:32] prisma:query SELECT 1
[2025-11-24 19:30:32] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:30:32.220Z] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-24 19:30:32] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-24 19:30:32] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-24 19:30:32] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T03:50:22.589Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:22] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:22] prisma:query SELECT 1
[2025-11-24 19:50:22] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:50:22.624Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:22] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:22] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:50:28.738Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:28] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:28] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:50:28.770Z] GET /config
[2025-11-24 19:50:28] GET /config
[2025-11-24 19:50:28] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T03:50:35.521Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:35] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:35] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:50:37.230Z] POST /clients
[2025-11-24 19:50:37] POST /clients
[2025-11-24 19:50:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-24 19:50:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-11-24 19:50:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-24 19:50:37] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25T03:50:40.769Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:40] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:40] prisma:query SELECT 1
[2025-11-24 19:50:40] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:50:40.782Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-24 19:50:40] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-24 19:50:40] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25T03:50:40.805Z] GET /config
[2025-11-24 19:50:40] GET /config
[2025-11-24 19:50:40] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T03:50:57.392Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:57] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:57] prisma:query SELECT 1
[2025-11-24 19:50:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:50:57.401Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-24 19:50:57] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-24 19:50:57] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25T03:50:57.411Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:57] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-24 19:50:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T03:50:57.421Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-24 19:50:57] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-24 19:50:57] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25T16:58:13.246Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:13] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:13] prisma:query SELECT 1
[2025-11-25 08:58:13] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T16:58:13.276Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:13] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:13] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25T16:58:17.107Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:17] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T16:58:17.120Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:17] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:17] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25T16:58:17.141Z] GET /config
[2025-11-25 08:58:17] GET /config
[2025-11-25 08:58:17] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T16:58:30.484Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:30] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:30] prisma:query SELECT 1
[2025-11-25 08:58:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T16:58:30.500Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:30] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:30] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25T16:58:39.059Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:39] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T16:58:39.070Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:39] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:39] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25T16:58:42.533Z] POST /clients
[2025-11-25 08:58:42] POST /clients
[2025-11-25 08:58:42] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 08:58:42] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25T16:58:42.563Z] POST /bookings
[2025-11-25 08:58:42] POST /bookings
[2025-11-25 08:58:42] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-11-25 08:58:42] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`startDate` = ? AND `main`.`Booking`.`location` = ?) LIMIT ? OFFSET ?
[2025-11-25 08:58:42] prisma:query BEGIN IMMEDIATE
[2025-11-25 08:58:42] prisma:query SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 08:58:42] prisma:query INSERT INTO `main`.`Booking` (`id`, `clientId`, `title`, `description`, `notes`, `location`, `startDate`, `endDate`, `startTime`, `endTime`, `duration`, `hourlyRate`, `flatRate`, `totalAmount`, `status`, `source`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`
[2025-11-25 08:58:42] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`id` = ? LIMIT ? OFFSET ?
[2025-11-25 08:58:42] prisma:query COMMIT
[2025-11-25T16:58:42.603Z] POST /config
[2025-11-25 08:58:42] POST /config
[2025-11-25 08:58:42] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25 08:58:42] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25T16:58:47.923Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:47] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 08:58:47] prisma:query SELECT 1
[2025-11-25 08:58:47] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T16:58:47.934Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:47] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 08:58:47] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 08:58:47] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:00:17.247Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 09:00:17] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 09:00:17] prisma:query SELECT 1
[2025-11-25 09:00:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:00:17.257Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 09:00:17] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 09:00:17] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:00:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:10:04.360Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 09:10:04] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 09:10:04] prisma:query SELECT 1
[2025-11-25 09:10:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:10:04.374Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 09:10:04] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 09:10:04] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:10:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:10:04.397Z] GET /config
[2025-11-25 09:10:04] GET /config
[2025-11-25 09:10:04] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T17:10:27.762Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 09:10:27] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 09:10:27] prisma:query SELECT 1
[2025-11-25 09:10:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:10:27.771Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 09:10:27] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 09:10:27] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:10:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:10:27.786Z] GET /config
[2025-11-25 09:10:27] GET /config
[2025-11-25 09:10:27] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T17:10:30.736Z] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 09:10:30] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-11-25 09:10:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:10:30.747Z] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 09:10:30] GET /bookings?clientId=cmie1fu7w00006yl1klblo2dn
[2025-11-25 09:10:30] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:10:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:19:37.082Z] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-25 09:19:37] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-25 09:19:37] prisma:query SELECT 1
[2025-11-25 09:19:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:19:37.094Z] GET /bookings?clientId=cmfo928j90000xkq235qjm7hb
[2025-11-25 09:19:37] GET /bookings?clientId=cmfo928j90000xkq235qjm7hb
[2025-11-25 09:19:37] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:19:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:19:37.109Z] GET /config
[2025-11-25 09:19:37] GET /config
[2025-11-25 09:19:37] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T17:19:45.530Z] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-25 09:19:45] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-25 09:19:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:19:45.540Z] GET /bookings?clientId=cmfo928j90000xkq235qjm7hb
[2025-11-25 09:19:45] GET /bookings?clientId=cmfo928j90000xkq235qjm7hb
[2025-11-25 09:19:45] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:19:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:19:48.751Z] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-25 09:19:48] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-25 09:19:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:38:44.039Z] GET /config
[2025-11-25 09:38:44] GET /config
[2025-11-25 09:38:44] prisma:query SELECT 1
[2025-11-25 09:38:44] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T17:39:09.406Z] GET /config
[2025-11-25 09:39:09] GET /config
[2025-11-25 09:39:09] prisma:query SELECT 1
[2025-11-25 09:39:09] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T17:39:12.282Z] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-25 09:39:12] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-25 09:39:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:39:12.294Z] GET /bookings?clientId=cmfo928j90000xkq235qjm7hb
[2025-11-25 09:39:12] GET /bookings?clientId=cmfo928j90000xkq235qjm7hb
[2025-11-25 09:39:12] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:39:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:44:21.266Z] GET /clients?email=jacdiva04%40gmail.com&name=Client+Name
[2025-11-25 09:44:21] GET /clients?email=jacdiva04%40gmail.com&name=Client+Name
[2025-11-25 09:44:21] prisma:query SELECT 1
[2025-11-25 09:44:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:44:48.339Z] GET /clients?email=jacdiva04%40gmail.com&name=Client+Name
[2025-11-25 09:44:48] GET /clients?email=jacdiva04%40gmail.com&name=Client+Name
[2025-11-25 09:44:48] prisma:query SELECT 1
[2025-11-25 09:44:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:44:49.089Z] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-25 09:44:49] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-25 09:44:49] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:44:49.101Z] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-25 09:44:49] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-25 09:44:49] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:44:49] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:44:49.115Z] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-25 09:44:49] GET /clients?email=scott%40wordscansell.com&name=Scott+Fields
[2025-11-25 09:44:49] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T17:44:49.126Z] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-25 09:44:49] GET /bookings?clientId=cmhpptm7k0002vhznamdlrj27
[2025-11-25 09:44:49] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 09:44:49] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25T17:55:37.681Z] GET /clients?email=petauton%40lyceela.org
[2025-11-25 09:55:37] GET /clients?email=petauton%40lyceela.org
[2025-11-25 09:55:37] prisma:query SELECT 1
[2025-11-25 09:55:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`email` = ? LIMIT ? OFFSET ?
[2025-11-25T17:55:37.711Z] GET /config
[2025-11-25 09:55:37] GET /config
[2025-11-25 09:55:37] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25T17:55:56.707Z] GET /clients?email=petauton%40lyceela.org
[2025-11-25 09:55:56] GET /clients?email=petauton%40lyceela.org
[2025-11-25 09:55:56] prisma:query SELECT 1
[2025-11-25 09:55:56] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`email` = ? LIMIT ? OFFSET ?
[2025-11-25T18:02:34.395Z] GET /clients?email=petauton%40lyceela.org&name=Dominique+Petauton
[2025-11-25 10:02:34] GET /clients?email=petauton%40lyceela.org&name=Dominique+Petauton
[2025-11-25 10:02:34] prisma:query SELECT 1
[2025-11-25 10:02:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25T18:02:41.764Z] POST /clients
[2025-11-25 10:02:41] POST /clients
[2025-11-25T18:02:41.769Z] POST /clients
[2025-11-25 10:02:41] POST /clients
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25T18:02:41.810Z] POST /clients
[2025-11-25 10:02:41] POST /clients
[2025-11-25 10:02:41] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 10:02:41] prisma:error 
[2025-11-25 10:02:41] Invalid `this.prisma.client.create()` invocation in
[2025-11-25 10:02:41] C:\snapshot\server\src\prisma_sqlite_db.js:103:39
[2025-11-25 10:02:41] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-11-25 10:02:41] ERR: Disabling file logging due to write error
[2025-11-25 10:02:41]   100   });
[2025-11-25 10:02:41]   101 } else {
[2025-11-25 10:02:41]   102   // Create new client
[2025-11-25 10:02:41] â†’ 103   return await this.prisma.client.create(
[2025-11-25 10:02:41] Unique constraint failed on the fields: (`email`)
[2025-11-25 10:02:41] POST /clients failed: PrismaClientKnownRequestError: 
[2025-11-25 10:02:41] Invalid `this.prisma.client.create()` invocation in
[2025-11-25 10:02:41] C:\snapshot\server\src\prisma_sqlite_db.js:103:39
[2025-11-25 10:02:41]   100   });
[2025-11-25 10:02:41]   101 } else {
[2025-11-25 10:02:41]   102   // Create new client
[2025-11-25 10:02:41] â†’ 103   return await this.prisma.client.create(
[2025-11-25 10:02:41] Unique constraint failed on the fields: (`email`)
[2025-11-25 10:02:41]     at $n.handleRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:7315)
[2025-11-25 10:02:41]     at $n.handleAndLogRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6623)
[2025-11-25 10:02:41]     at $n.request (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6307)
[2025-11-25 10:02:41]     at async l (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:130:9633)
[2025-11-25 10:02:41]     at async Prisma_Sqlite_DB.createClient (C:\snapshot\server\src\prisma_sqlite_db.js:103:14)
[2025-11-25 10:02:41]     at async C:\snapshot\server\src\leedz_server.js:143:18
[2025-11-25 10:02:41]     at async C:\snapshot\server\src\leedz_server.js:102:7
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 10:02:41] POST /config
[2025-11-25 10:02:41] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25 10:02:41] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 22:36:17] GET /clients?email=petauton%40lyceela.org&name=Dominique+Petauton
[2025-11-25 22:36:17] prisma:query SELECT 1
[2025-11-25 22:36:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25 22:36:17] GET /bookings?clientId=cmievvm5w00026yl1pw1nypk5
[2025-11-25 22:36:17] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-25 22:36:30] GET /clients?email=ptedesigns%40gmail.com&name=PTE+Designs
[2025-11-25 22:36:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25 22:36:34] POST /clients
[2025-11-25 22:36:34] prisma:query SELECT 1
[2025-11-25 22:36:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 22:36:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-11-25 22:36:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-25 22:36:34] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 22:36:34] POST /bookings
[2025-11-25 22:36:34] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-11-25 22:36:34] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`startDate` = ? AND `main`.`Booking`.`location` = ?) LIMIT ? OFFSET ?
[2025-11-25 22:36:34] prisma:query BEGIN IMMEDIATE
[2025-11-25 22:36:34] prisma:query SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 22:36:34] prisma:query INSERT INTO `main`.`Booking` (`id`, `clientId`, `title`, `description`, `notes`, `location`, `startDate`, `endDate`, `startTime`, `endTime`, `duration`, `hourlyRate`, `flatRate`, `totalAmount`, `status`, `source`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`
[2025-11-25 22:36:34] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`id` = ? LIMIT ? OFFSET ?
[2025-11-25 22:36:34] prisma:query COMMIT
[2025-11-25 22:36:34] POST /config
[2025-11-25 22:36:34] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25 22:36:34] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 22:38:59] POST /clients
[2025-11-25 22:38:59] prisma:query SELECT 1
[2025-11-25 22:38:59] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 22:38:59] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 22:38:59] POST /bookings
[2025-11-25 22:38:59] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-11-25 22:38:59] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`startDate` = ? AND `main`.`Booking`.`location` = ?) LIMIT ? OFFSET ?
[2025-11-25 22:38:59] prisma:query BEGIN IMMEDIATE
[2025-11-25 22:38:59] prisma:query SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 22:38:59] prisma:query INSERT INTO `main`.`Booking` (`id`, `clientId`, `title`, `description`, `notes`, `location`, `startDate`, `endDate`, `startTime`, `endTime`, `duration`, `hourlyRate`, `flatRate`, `totalAmount`, `status`, `source`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`
[2025-11-25 22:38:59] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`id` = ? LIMIT ? OFFSET ?
[2025-11-25 22:38:59] prisma:query COMMIT
[2025-11-25 22:38:59] POST /config
[2025-11-25 22:38:59] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25 22:38:59] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 22:39:48] POST /clients
[2025-11-25 22:39:48] prisma:query SELECT 1
[2025-11-25 22:39:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-25 22:39:48] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 22:39:48] POST /bookings
[2025-11-25 22:39:48] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-11-25 22:39:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-11-25 22:39:48] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-25 22:39:48] POST /config
[2025-11-25 22:39:48] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-25 22:39:48] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-26 14:18:17] GET /config
[2025-11-26 14:18:17] prisma:query SELECT 1
[2025-11-26 14:18:17] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-26 18:05:52] GET /config
[2025-11-26 18:05:52] prisma:query SELECT 1
[2025-11-26 18:05:52] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-26 18:06:02] GET /config
[2025-11-26 18:06:02] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-26 20:32:31] [TRAY] Stopping server...
[2025-11-26 20:32:31] [TRAY] Attempting graceful shutdown via API...
[2025-11-26 20:32:31] POST /api/shutdown
[2025-11-26 20:32:31] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-26 20:32:32] [SHUTDOWN] Disconnecting database...
[2025-11-26 20:32:32] [SHUTDOWN] Database disconnected
[2025-11-26 20:32:32] [SHUTDOWN] Exiting process...
[2025-11-26 20:32:32] [TRAY] Graceful shutdown successful
[2025-11-26 20:32:32] [TRAY] Server stopped successfully
[2025-11-28 13:36:21] Creating Leedz Tray....
[2025-11-28T21:36:22.449Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-28T21:36:22.456Z] [STARTUP] Attempting database connection...
[2025-11-28T21:36:22.457Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T21:36:22.458Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T21:36:30.981Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T21:36:30.985Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T21:36:30.992Z] ! Local API running on http://localhost:3000
[2025-11-28T22:19:38.948Z] GET /config
[2025-11-28 15:56:36] [CONFIG] Stopping server for configuration change...
[2025-11-28 15:56:36] [TRAY] Stopping server...
[2025-11-28 15:56:36] [TRAY] Attempting graceful shutdown via API...
[2025-11-28T23:56:36.200Z] POST /api/shutdown
[2025-11-28T23:56:36.212Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-28 15:56:36] [TRAY] Graceful shutdown successful
[2025-11-28 15:56:36] [TRAY] Server stopped successfully
[2025-11-28T23:56:36.717Z] [SHUTDOWN] Disconnecting database...
[2025-11-28T23:56:36.742Z] [SHUTDOWN] Database disconnected
[2025-11-28T23:56:36.743Z] [SHUTDOWN] Exiting process...
[2025-11-28 15:56:37] [CONFIG] Starting server with new configuration...
[2025-11-28 15:56:37] [TRAY] Starting server...
[2025-11-28 15:56:37] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-28 15:56:37] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-28 15:56:37] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-28 15:56:37] [TRAY] Server process started (PID: 18976)
[2025-11-28 15:56:37] [STARTUP] Running in PACKAGED mode
[2025-11-28 15:56:37] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-11-28 15:56:37] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-28 15:56:37] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz.sqlite"}
[2025-11-28 15:56:37] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T23:56:37.447Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-28 15:56:37] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-28T23:56:37.450Z] [STARTUP] Attempting database connection...
[2025-11-28T23:56:37.451Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:37] [STARTUP] Attempting database connection...
[2025-11-28T23:56:37.453Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T23:56:40.904Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T23:56:40.906Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T23:56:40.909Z] ! Local API running on http://localhost:3000
[2025-11-28 15:56:41] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:41] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:41] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:41] ! Local API running on http://localhost:3000
[2025-11-28 15:56:50] [CONFIG] Stopping server for configuration change...
[2025-11-28 15:56:50] [TRAY] Stopping server...
[2025-11-28 15:56:50] [TRAY] Attempting graceful shutdown via API...
[2025-11-28T23:56:50.858Z] POST /api/shutdown
[2025-11-28 15:56:50] POST /api/shutdown
[2025-11-28T23:56:50.859Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-28 15:56:50] [SHUTDOWN] Graceful shutdown requested via API
[2025-11-28T23:56:51.371Z] [SHUTDOWN] Disconnecting database...
[2025-11-28 15:56:51] [SHUTDOWN] Disconnecting database...
[2025-11-28T23:56:51.383Z] [SHUTDOWN] Database disconnected
[2025-11-28T23:56:51.384Z] [SHUTDOWN] Exiting process...
[2025-11-28 15:56:51] [SHUTDOWN] Database disconnected
[2025-11-28 15:56:51] [SHUTDOWN] Exiting process...
[2025-11-28 15:56:51] [TRAY] Graceful shutdown successful
[2025-11-28 15:56:51] [TRAY] Server stopped successfully
[2025-11-28 15:56:52] [CONFIG] Starting server with new configuration...
[2025-11-28 15:56:52] [TRAY] Starting server...
[2025-11-28 15:56:52] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-28 15:56:52] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-11-28 15:56:52] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-11-28 15:56:52] [TRAY] Server process started (PID: 34148)
[2025-11-28 15:56:52] [STARTUP] Running in PACKAGED mode
[2025-11-28 15:56:52] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-11-28 15:56:52] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-11-28 15:56:52] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz.sqlite"}
[2025-11-28 15:56:52] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28T23:56:52.613Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-28 15:56:52] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-11-28T23:56:52.616Z] [STARTUP] Attempting database connection...
[2025-11-28T23:56:52.616Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:52] [STARTUP] Attempting database connection...
[2025-11-28 15:56:52] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:52] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:55] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:55] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-11-28 15:56:55] ! Local API running on http://localhost:3000
[2025-11-28 15:56:58] ERR: Disabling file logging due to write error
[2025-11-28 15:59:23] GET /clients?email=ptedesigns%40gmail.com&name=PTE+Designs
[2025-11-28 15:59:23] prisma:query SELECT 1
[2025-11-28 15:59:23] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-28 15:59:35] GET /clients?email=jacdiva04%40gmail.com&name=Kk+Mc
[2025-11-28 15:59:35] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-28 16:00:12] POST /clients
[2025-11-28 16:00:12] prisma:query SELECT 1
[2025-11-28 16:00:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-28 16:00:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-11-28 16:00:12] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-28 16:00:12] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-28 16:00:12] POST /bookings
[2025-11-28 16:00:12] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-11-28 16:00:12] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`startDate` = ? AND `main`.`Booking`.`location` = ?) LIMIT ? OFFSET ?
[2025-11-28 16:00:12] prisma:query BEGIN IMMEDIATE
[2025-11-28 16:00:12] prisma:query SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-11-28 16:00:12] prisma:query INSERT INTO `main`.`Booking` (`id`, `clientId`, `title`, `description`, `notes`, `location`, `startDate`, `endDate`, `startTime`, `endTime`, `duration`, `hourlyRate`, `flatRate`, `totalAmount`, `status`, `source`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`
[2025-11-28 16:00:12] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`id` = ? LIMIT ? OFFSET ?
[2025-11-28 16:00:12] prisma:query COMMIT
[2025-11-28 16:00:12] POST /config
[2025-11-28 16:00:12] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-11-28 16:00:12] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-11-28 16:00:21] GET /clients?email=jacdiva04%40gmail.com&name=kristen+mcglorie
[2025-11-28 16:00:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-11-28 16:00:21] GET /bookings?clientId=cmijiyxvb0000txgwidq9r6fk
[2025-11-28 16:00:21] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-11-28 16:00:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-01 09:21:07] GET /clients?email=jacdiva04%40gmail.com&name=kristen+mcglorie
[2025-12-01 09:21:07] prisma:query SELECT 1
[2025-12-01 09:21:07] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:21:07] GET /bookings?clientId=cmijiyxvb0000txgwidq9r6fk
[2025-12-01 09:21:08] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-01 09:21:08] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-01 09:21:15] GET /clients?email=jacdiva04%40gmail.com&name=kristen+mcglorie
[2025-12-01 09:21:15] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:21:15] GET /bookings?clientId=cmijiyxvb0000txgwidq9r6fk
[2025-12-01 09:21:15] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-01 09:21:15] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-01 09:21:16] GET /clients?email=omgitxamara%40yahoo.com&name=Ammara+Khan
[2025-12-01 09:21:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:21:20] GET /clients?email=omgitxamara%40yahoo.com&name=Ammara+Khan
[2025-12-01 09:21:20] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:23:20] GET /clients?email=jacdiva04%40gmail.com&name=kristen+mcglorie
[2025-12-01 09:23:20] prisma:query SELECT 1
[2025-12-01 09:23:20] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:23:20] GET /bookings?clientId=cmijiyxvb0000txgwidq9r6fk
[2025-12-01 09:23:20] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-01 09:23:20] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-01 09:23:24] GET /clients?email=omgitxamara%40yahoo.com&name=Ammara+Khan
[2025-12-01 09:23:24] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:23:29] GET /clients?email=omgitxamara%40yahoo.com&name=Ammara+Khan
[2025-12-01 09:23:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:23:33] GET /clients?email=omgitxamara%40yahoo.com&name=Ammara+Khan
[2025-12-01 09:23:33] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:23:39] GET /clients?email=jacdiva04%40gmail.com&name=kristen+mcglorie
[2025-12-01 09:23:39] prisma:query SELECT 1
[2025-12-01 09:23:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:23:39] GET /bookings?clientId=cmijiyxvb0000txgwidq9r6fk
[2025-12-01 09:23:39] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-01 09:23:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-01 09:23:46] GET /clients?email=omgitxamara%40yahoo.com&name=Ammara+Khan
[2025-12-01 09:23:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:25:37] POST /clients
[2025-12-01 09:25:37] prisma:query SELECT 1
[2025-12-01 09:25:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-01 09:25:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:25:37] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:25:37] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-01 09:25:37] POST /bookings
[2025-12-01 09:25:37] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-01 09:25:37] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`startDate` = ? AND `main`.`Booking`.`location` = ?) LIMIT ? OFFSET ?
[2025-12-01 09:25:37] prisma:query BEGIN IMMEDIATE
[2025-12-01 09:25:37] prisma:query SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-01 09:25:37] prisma:query INSERT INTO `main`.`Booking` (`id`, `clientId`, `title`, `description`, `notes`, `location`, `startDate`, `endDate`, `startTime`, `endTime`, `duration`, `hourlyRate`, `flatRate`, `totalAmount`, `status`, `source`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`
[2025-12-01 09:25:37] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`id` = ? LIMIT ? OFFSET ?
[2025-12-01 09:25:37] prisma:query COMMIT
[2025-12-01 09:25:37] POST /config
[2025-12-01 09:25:37] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-01 09:25:37] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-01 09:36:21] GET /config
[2025-12-01 09:36:22] prisma:query SELECT 1
[2025-12-01 09:36:22] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-01 11:28:30] GET /clients?email=omgitxamara%40yahoo.com&name=Ammara+Khan
[2025-12-01 11:28:30] prisma:query SELECT 1
[2025-12-01 11:28:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 11:28:30] GET /bookings?clientId=cminf71jm0002txgwsr8edy4l
[2025-12-01 11:28:30] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-01 11:28:30] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-01 11:28:39] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-12-01 11:28:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 11:29:14] POST /clients
[2025-12-01 11:29:14] prisma:query SELECT 1
[2025-12-01 11:29:14] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-01 11:29:14] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-12-01 11:29:14] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 11:29:14] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-01 11:29:14] POST /bookings
[2025-12-01 11:29:14] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-01 11:29:14] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`startDate` = ? AND `main`.`Booking`.`location` = ?) LIMIT ? OFFSET ?
[2025-12-01 11:29:14] prisma:query BEGIN IMMEDIATE
[2025-12-01 11:29:14] prisma:query SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-01 11:29:14] prisma:query INSERT INTO `main`.`Booking` (`id`, `clientId`, `title`, `description`, `notes`, `location`, `startDate`, `endDate`, `startTime`, `endTime`, `duration`, `hourlyRate`, `flatRate`, `totalAmount`, `status`, `source`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`
[2025-12-01 11:29:14] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`id` = ? LIMIT ? OFFSET ?
[2025-12-01 11:29:14] prisma:query COMMIT
[2025-12-01 11:29:14] POST /config
[2025-12-01 11:29:14] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-01 11:29:14] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-01 11:29:27] POST /clients
[2025-12-01 11:29:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-01 11:29:27] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-01 11:29:27] POST /bookings
[2025-12-01 11:29:27] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-01 11:29:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-01 11:29:27] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-01 11:29:27] POST /config
[2025-12-01 11:29:27] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-01 11:29:27] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-01 11:32:10] GET /clients?email=im2active4u%40gmail.com&name=Raven+Morrow
[2025-12-01 11:32:10] prisma:query SELECT 1
[2025-12-01 11:32:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-01 11:32:10] GET /bookings?clientId=cminjm0kd0004txgw2rtz2hdy
[2025-12-01 11:32:10] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-01 11:32:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-01 11:49:17] [CONFIG] Stopping server for configuration change...
[2025-12-01 11:49:17] [TRAY] Stopping server...
[2025-12-01 11:49:17] [TRAY] Attempting graceful shutdown via API...
[2025-12-01 11:49:17] POST /api/shutdown
[2025-12-01 11:49:17] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-01 11:49:17] [SHUTDOWN] Disconnecting database...
[2025-12-01 11:49:17] [SHUTDOWN] Database disconnected
[2025-12-01 11:49:17] [SHUTDOWN] Exiting process...
[2025-12-01 11:49:17] [TRAY] Graceful shutdown successful
[2025-12-01 11:49:17] [TRAY] Server stopped successfully
[2025-12-01 11:49:18] [CONFIG] Starting server with new configuration...
[2025-12-01 11:49:18] [TRAY] Starting server...
[2025-12-01 11:49:18] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-01 11:49:18] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-01 11:49:18] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-01 11:49:18] [TRAY] Server process started (PID: 57228)
[2025-12-01 11:49:19] [STARTUP] Running in PACKAGED mode
[2025-12-01 11:49:19] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-01 11:49:19] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-01 11:49:19] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz.sqlite"}
[2025-12-01 11:49:19] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-01T19:49:19.152Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-01 11:49:19] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-01T19:49:19.155Z] [STARTUP] Attempting database connection...
[2025-12-01 11:49:19] [STARTUP] Attempting database connection...
[2025-12-01 11:49:19] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-12-01 11:49:19] ERR: Disabling file logging due to write error
[2025-12-01 11:49:19] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-01 11:49:19] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-01 11:49:28] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-01 11:49:28] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-01 11:49:28] ! Local API running on http://localhost:3000
[2025-12-01 11:55:13] [TRAY] Stopping server...
[2025-12-01 11:55:13] [TRAY] Attempting graceful shutdown via API...
[2025-12-01 11:55:13] POST /api/shutdown
[2025-12-01 11:55:13] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-01 11:55:14] [SHUTDOWN] Disconnecting database...
[2025-12-01 11:55:14] [SHUTDOWN] Database disconnected
[2025-12-01 11:55:14] [SHUTDOWN] Exiting process...
[2025-12-01 11:55:14] [TRAY] Graceful shutdown successful
[2025-12-01 11:55:14] [TRAY] Server stopped successfully
[2025-12-03 12:34:54] Creating Leedz Tray....
[2025-12-03T20:34:56.950Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03T20:34:56.960Z] [STARTUP] Attempting database connection...
[2025-12-03T20:34:56.961Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-03T20:34:56.962Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-03T20:35:06.956Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-03T20:35:06.961Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-03T20:35:06.969Z] ! Local API running on http://localhost:3000
[2025-12-03 12:37:35] [TRAY] Starting server...
[2025-12-03 12:37:35] [TRAY] Server is already running (started externally)
[2025-12-03 12:37:37] [TRAY] Starting server...
[2025-12-03 12:37:37] [TRAY] Server is already running (started externally)
[2025-12-03T20:38:54.912Z] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03T20:38:59.636Z] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03T20:40:07.304Z] POST /clients
[2025-12-03T20:40:07.348Z] POST /bookings
[2025-12-03T20:40:16.609Z] POST /clients
[2025-12-03T20:40:16.641Z] POST /bookings
[2025-12-03 12:40:34] [TRAY] Starting server...
[2025-12-03 12:40:34] [TRAY] Server is already running (started externally)
[2025-12-03 12:40:35] [TRAY] Starting server...
[2025-12-03 12:40:35] [TRAY] Server is already running (started externally)
[2025-12-03T20:41:52.264Z] POST /clients
[2025-12-03T20:41:52.299Z] POST /bookings
[2025-12-03T20:41:52.332Z] POST /config
[2025-12-03 12:42:10] [CONFIG] Database switching from: file:./data/leedz.sqlite
[2025-12-03 12:42:10] [CONFIG] Database switching to: file:./data/leedz_invoicer.sqlite
[2025-12-03 12:42:10] [CONFIG] Configuration changed. Restarting server...
[2025-12-03 12:42:10] [CONFIG] Stopping server for configuration change...
[2025-12-03 12:42:10] [TRAY] Stopping server...
[2025-12-03 12:42:10] [TRAY] Attempting graceful shutdown via API...
[2025-12-03T20:42:10.772Z] POST /api/shutdown
[2025-12-03T20:42:10.778Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 12:42:10] [TRAY] Graceful shutdown successful
[2025-12-03 12:42:10] [TRAY] Waiting for file handles to release...
[2025-12-03T20:42:11.283Z] [SHUTDOWN] Disconnecting database...
[2025-12-03T20:42:11.300Z] [SHUTDOWN] Database disconnected
[2025-12-03T20:42:11.305Z] [SHUTDOWN] Exiting process...
[2025-12-03 12:42:11] [TRAY] Server stopped successfully
[2025-12-03 12:42:11] [CONFIG] Starting server with new configuration...
[2025-12-03 12:42:11] [TRAY] Starting server...
[2025-12-03 12:42:11] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 12:42:11] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-03 12:42:11] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-03 12:42:11] [TRAY] Server process started (PID: 76948)
[2025-12-03 12:42:11] [CONFIG] Server restarted successfully
[2025-12-03 12:42:12] [STARTUP] Running in PACKAGED mode
[2025-12-03 12:42:12] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-03 12:42:12] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 12:42:12] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz_invoicer.sqlite"}
[2025-12-03 12:42:12] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03T20:42:12.071Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03 12:42:12] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03T20:42:12.074Z] [STARTUP] Attempting database connection...
[2025-12-03 12:42:12] [STARTUP] Attempting database connection...
[2025-12-03 12:42:12] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-12-03 12:42:12] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 12:42:12] ERR: Disabling file logging due to write error
[2025-12-03 12:42:12] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 12:42:16] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 12:42:16] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 12:42:16] ! Local API running on http://localhost:3000
[2025-12-03 12:42:16] POST /clients
[2025-12-03 12:42:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:42:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`phone` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:42:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` = ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:42:16] prisma:query INSERT INTO `main`.`Client` (`id`, `name`, `email`, `phone`, `company`, `website`, `clientNotes`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:42:16] POST /bookings
[2025-12-03 12:42:16] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:42:16] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`startDate` = ? AND `main`.`Booking`.`location` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:42:16] prisma:query BEGIN IMMEDIATE
[2025-12-03 12:42:16] prisma:query SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE (`main`.`Client`.`id` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:42:16] prisma:query INSERT INTO `main`.`Booking` (`id`, `clientId`, `title`, `description`, `notes`, `location`, `startDate`, `endDate`, `startTime`, `endTime`, `duration`, `hourlyRate`, `flatRate`, `totalAmount`, `status`, `source`, `createdAt`, `updatedAt`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) RETURNING `id` AS `id`
[2025-12-03 12:42:16] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`id` = ? LIMIT ? OFFSET ?
[2025-12-03 12:42:16] prisma:query COMMIT
[2025-12-03 12:42:16] POST /config
[2025-12-03 12:42:16] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:42:16] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:42:27] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 12:42:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:42:27] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 12:42:27] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 12:42:27] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:42:27] GET /config
[2025-12-03 12:42:28] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:42:29] POST /clients
[2025-12-03 12:42:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:42:29] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:42:29] POST /bookings
[2025-12-03 12:42:29] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:42:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:42:29] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:42:29] POST /config
[2025-12-03 12:42:29] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:42:29] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:45:05] GET /config
[2025-12-03 12:45:05] prisma:query SELECT 1
[2025-12-03 12:45:05] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:46:07] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 12:46:07] prisma:query SELECT 1
[2025-12-03 12:46:07] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:46:07] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 12:46:07] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 12:46:07] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:46:10] POST /clients
[2025-12-03 12:46:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:46:10] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:46:10] POST /bookings
[2025-12-03 12:46:10] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:46:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:46:10] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:46:18] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 12:46:18] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:46:18] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 12:46:18] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 12:46:18] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:47:05] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 12:47:05] prisma:query SELECT 1
[2025-12-03 12:47:05] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:47:05] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 12:47:05] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 12:47:05] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:47:07] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 12:47:07] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:47:07] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 12:47:07] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 12:47:07] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:47:43] POST /clients
[2025-12-03 12:47:43] POST /clients
[2025-12-03 12:47:43] prisma:query SELECT 1
[2025-12-03 12:47:43] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:47:43] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:47:43] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:47:43] POST /bookings
[2025-12-03 12:47:43] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:47:43] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:47:43] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:47:43] POST /bookings
[2025-12-03 12:47:43] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:47:43] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:47:43] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:47:43] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:31] POST /clients
[2025-12-03 12:49:31] prisma:query SELECT 1
[2025-12-03 12:49:31] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:49:31] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:31] POST /bookings
[2025-12-03 12:49:31] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:49:31] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:49:31] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:31] POST /config
[2025-12-03 12:49:31] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:49:31] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:36] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 12:49:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:49:36] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 12:49:36] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 12:49:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:49:36] GET /config
[2025-12-03 12:49:36] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:49:39] POST /clients
[2025-12-03 12:49:39] POST /clients
[2025-12-03 12:49:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:49:39] prisma:query SELECT 1
[2025-12-03 12:49:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:49:39] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:39] POST /bookings
[2025-12-03 12:49:39] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:39] POST /bookings
[2025-12-03 12:49:39] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:49:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:49:39] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:49:39] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:49:39] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:39] POST /config
[2025-12-03 12:49:39] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:39] POST /config
[2025-12-03 12:49:39] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:49:39] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:49:39] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:39] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:52] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 12:49:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:49:52] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 12:49:52] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 12:49:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:49:52] GET /config
[2025-12-03 12:49:52] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:49:53] POST /clients
[2025-12-03 12:49:53] POST /clients
[2025-12-03 12:49:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:49:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:49:53] prisma:query SELECT 1
[2025-12-03 12:49:53] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:53] POST /bookings
[2025-12-03 12:49:53] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:49:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:49:53] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:53] POST /bookings
[2025-12-03 12:49:53] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:49:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:49:53] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:53] POST /config
[2025-12-03 12:49:53] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:49:53] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:53] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:49:53] POST /config
[2025-12-03 12:49:53] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:49:53] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:04] POST /clients
[2025-12-03 12:52:04] prisma:query SELECT 1
[2025-12-03 12:52:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:52:04] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:04] POST /bookings
[2025-12-03 12:52:04] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:52:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:52:04] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:04] POST /config
[2025-12-03 12:52:04] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:52:04] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:10] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 12:52:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 12:52:10] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 12:52:10] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 12:52:10] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:52:10] GET /config
[2025-12-03 12:52:10] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:52:13] POST /clients
[2025-12-03 12:52:13] POST /clients
[2025-12-03 12:52:13] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:52:13] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:52:13] prisma:query SELECT 1
[2025-12-03 12:52:13] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:13] POST /bookings
[2025-12-03 12:52:13] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:13] POST /bookings
[2025-12-03 12:52:13] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:52:13] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:52:13] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:52:13] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:13] POST /config
[2025-12-03 12:52:13] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:52:13] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:52:13] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:13] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:13] POST /config
[2025-12-03 12:52:13] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:52:13] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:21] POST /clients
[2025-12-03 12:52:21] POST /clients
[2025-12-03 12:52:21] prisma:query SELECT 1
[2025-12-03 12:52:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:52:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 12:52:21] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:21] POST /bookings
[2025-12-03 12:52:21] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:21] POST /bookings
[2025-12-03 12:52:21] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:52:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:52:21] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 12:52:21] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 12:52:21] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:21] POST /config
[2025-12-03 12:52:21] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:52:21] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:21] POST /config
[2025-12-03 12:52:21] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 12:52:21] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 12:52:21] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:13] POST /config
[2025-12-03 14:03:13] prisma:query SELECT 1
[2025-12-03 14:03:13] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:03:13] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:43] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 14:03:43] prisma:query SELECT 1
[2025-12-03 14:03:43] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 14:03:43] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 14:03:43] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 14:03:43] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 14:03:43] GET /config
[2025-12-03 14:03:43] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:03:44] POST /clients
[2025-12-03 14:03:44] POST /clients
[2025-12-03 14:03:44] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 14:03:44] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 14:03:44] prisma:query SELECT 1
[2025-12-03 14:03:44] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:44] POST /bookings
[2025-12-03 14:03:44] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:44] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 14:03:44] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 14:03:44] POST /bookings
[2025-12-03 14:03:44] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:44] POST /config
[2025-12-03 14:03:44] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:03:44] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:44] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 14:03:44] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 14:03:44] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:44] POST /config
[2025-12-03 14:03:44] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:03:44] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:57] POST /clients
[2025-12-03 14:03:57] POST /clients
[2025-12-03 14:03:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 14:03:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 14:03:57] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:57] POST /bookings
[2025-12-03 14:03:57] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 14:03:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 14:03:57] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:57] POST /bookings
[2025-12-03 14:03:57] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 14:03:57] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 14:03:57] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:57] POST /config
[2025-12-03 14:03:57] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:03:57] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:57] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:03:57] POST /config
[2025-12-03 14:03:57] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:03:57] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 14:06:40] GET /config
[2025-12-03 14:06:40] prisma:query SELECT 1
[2025-12-03 14:06:40] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:07:19] GET /stats
[2025-12-03 14:07:19] prisma:query SELECT 1
[2025-12-03 14:07:19] prisma:query SELECT 1
[2025-12-03 14:07:19] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 14:07:19] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 14:07:19] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 14:07:42] GET /config
[2025-12-03 14:07:42] prisma:query SELECT 1
[2025-12-03 14:07:42] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:08:13] GET /config
[2025-12-03 14:08:13] prisma:query SELECT 1
[2025-12-03 14:08:13] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 14:37:53] [CONFIG] Database switching from: file:./data/leedz_invoicer.sqlite
[2025-12-03 14:37:53] [CONFIG] Database switching to: file:./data/bloomsights.sqlite
[2025-12-03 14:37:53] [CONFIG] Configuration changed. Restarting server...
[2025-12-03 14:37:53] [CONFIG] Stopping server for configuration change...
[2025-12-03 14:37:53] [TRAY] Stopping server...
[2025-12-03 14:37:53] [TRAY] Attempting graceful shutdown via API...
[2025-12-03 14:37:53] POST /api/shutdown
[2025-12-03 14:37:53] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 14:37:53] [SHUTDOWN] Disconnecting database...
[2025-12-03 14:37:53] [SHUTDOWN] Database disconnected
[2025-12-03 14:37:53] [SHUTDOWN] Exiting process...
[2025-12-03 14:37:53] [TRAY] Graceful shutdown successful
[2025-12-03 14:37:53] [TRAY] Waiting for file handles to release...
[2025-12-03 14:37:54] [TRAY] Server stopped successfully
[2025-12-03 14:37:54] [CONFIG] Starting server with new configuration...
[2025-12-03 14:37:54] [TRAY] Starting server...
[2025-12-03 14:37:54] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 14:37:54] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-03 14:37:54] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-03 14:37:54] [TRAY] Server process started (PID: 58568)
[2025-12-03 14:37:54] [CONFIG] Server restarted successfully
[2025-12-03 14:37:54] [STARTUP] Running in PACKAGED mode
[2025-12-03 14:37:54] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-03 14:37:54] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 14:37:54] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/bloomsights.sqlite"}
[2025-12-03 14:37:54] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:37:54.907Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03 14:37:54] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03T22:37:54.910Z] [STARTUP] Attempting database connection...
[2025-12-03 14:37:54] [STARTUP] Attempting database connection...
[2025-12-03 14:37:54] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-12-03 14:37:54] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03 14:37:54] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03 14:37:58] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03 14:37:58] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03 14:37:58] ! Local API running on http://localhost:3000
[2025-12-03 14:40:34] Creating Leedz Tray....
[2025-12-03T22:40:34.683Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03T22:40:34.686Z] [STARTUP] Attempting database connection...
[2025-12-03T22:40:34.687Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:40:34.691Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:40:38.107Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:40:38.109Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:40:38.112Z] ! Local API running on http://localhost:3000
[2025-12-03 14:40:40] [TRAY] Stopping server...
[2025-12-03 14:40:40] [TRAY] Attempting graceful shutdown via API...
[2025-12-03T22:40:40.760Z] POST /api/shutdown
[2025-12-03T22:40:40.762Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 14:40:40] [TRAY] Graceful shutdown successful
[2025-12-03 14:40:40] [TRAY] Waiting for file handles to release...
[2025-12-03T22:40:41.275Z] [SHUTDOWN] Disconnecting database...
[2025-12-03T22:40:41.292Z] [SHUTDOWN] Database disconnected
[2025-12-03T22:40:41.294Z] [SHUTDOWN] Exiting process...
[2025-12-03 14:40:41] [TRAY] Server stopped successfully
[2025-12-03 14:40:47] Creating Leedz Tray....
[2025-12-03T22:40:47.969Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03T22:40:47.973Z] [STARTUP] Attempting database connection...
[2025-12-03T22:40:47.974Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:40:47.976Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:40:51.455Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:40:51.457Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\bloomsights.sqlite
[2025-12-03T22:40:51.460Z] ! Local API running on http://localhost:3000
[2025-12-03 14:40:54] [CONFIG] Configuration saved (no changes, server not restarted)
[2025-12-03T22:43:21.361Z] GET /config
[2025-12-03T22:43:21.391Z] GET /config failed: PrismaClientKnownRequestError: 
[31mInvalid [1m`this.prisma.config.findFirst()`[22m invocation in[39m
[4mC:\snapshot\server\src\prisma_sqlite_db.js:577:37[24m

  [2m[90m574[39m [34m}[39m[22m
  [2m[90m575[39m [22m
  [2m[90m576[39m [36masync[39m [36mgetLatestConfig[39m[34m([39m[34m)[39m [34m{[39m[22m
[1m[31m→[39m[22m [2m[90m577[39m   [36mreturn[39m [36mawait[39m [36mthis[39m[34m.[39mprisma[34m.[39mconfig[34m.[39m[36mfindFirst[39m[34m([39m[22m
The table `main.Config` does not exist in the current database.
    at $n.handleRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:7315)
    at $n.handleAndLogRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6623)
    at $n.request (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6307)
    at async l (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:130:9633)
    at async Prisma_Sqlite_DB.getLatestConfig (C:\snapshot\server\src\prisma_sqlite_db.js:577:12)
    at async C:\snapshot\server\src\leedz_server.js:575:18
    at async C:\snapshot\server\src\leedz_server.js:102:7
[2025-12-03T22:43:36.919Z] GET /stats
[2025-12-03T22:43:36.930Z] GET /stats failed: PrismaClientKnownRequestError: 
[31mInvalid [1m`this.prisma.booking.count()`[22m invocation in[39m
[4mC:\snapshot\server\src\prisma_sqlite_db.js:628:27[24m

  [2m[90m625[39m [36masync[39m [36mgetSystemStats[39m[34m([39m[34m)[39m [34m{[39m[22m
  [2m[90m626[39m   [36mconst[39m [34m[[39mtotalClients[34m,[39m totalBookings[34m,[39m totalConfigs[34m][39m = [36mawait[39m Promise[34m.[39m[36mall[39m[34m([39m[34m[[39m[22m
  [2m[90m627[39m     [36mthis[39m[34m.[39mprisma[34m.[39mclient[34m.[39m[36mcount[39m[34m([39m[34m)[39m[34m,[39m[22m
[1m[31m→[39m[22m [2m[90m628[39m     [36mthis[39m[34m.[39mprisma[34m.[39mbooking[34m.[39m[36mcount[39m[34m([39m[22m
The table `main.Booking` does not exist in the current database.
    at $n.handleRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:7315)
    at $n.handleAndLogRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6623)
    at $n.request (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6307)
    at async l (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:130:9633)
    at async Promise.all (index 1)
    at async Prisma_Sqlite_DB.getSystemStats (C:\snapshot\server\src\prisma_sqlite_db.js:626:57)
    at async C:\snapshot\server\src\leedz_server.js:548:17
    at async C:\snapshot\server\src\leedz_server.js:102:7
[2025-12-03T22:43:43.227Z] GET /stats
[2025-12-03T22:43:43.236Z] GET /stats failed: PrismaClientKnownRequestError: 
[31mInvalid [1m`this.prisma.client.count()`[22m invocation in[39m
[4mC:\snapshot\server\src\prisma_sqlite_db.js:627:26[24m

  [2m[90m624[39m [90m// System operations[39m[22m
  [2m[90m625[39m [36masync[39m [36mgetSystemStats[39m[34m([39m[34m)[39m [34m{[39m[22m
  [2m[90m626[39m   [36mconst[39m [34m[[39mtotalClients[34m,[39m totalBookings[34m,[39m totalConfigs[34m][39m = [36mawait[39m Promise[34m.[39m[36mall[39m[34m([39m[34m[[39m[22m
[1m[31m→[39m[22m [2m[90m627[39m     [36mthis[39m[34m.[39mprisma[34m.[39mclient[34m.[39m[36mcount[39m[34m([39m[22m
The table `main.Client` does not exist in the current database.
    at $n.handleRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:7315)
    at $n.handleAndLogRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6623)
    at $n.request (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6307)
    at async l (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:130:9633)
    at async Promise.all (index 0)
    at async Prisma_Sqlite_DB.getSystemStats (C:\snapshot\server\src\prisma_sqlite_db.js:626:57)
    at async C:\snapshot\server\src\leedz_server.js:548:17
    at async C:\snapshot\server\src\leedz_server.js:102:7
[2025-12-03T22:44:16.606Z] GET /config
[2025-12-03T22:44:16.610Z] GET /config failed: PrismaClientKnownRequestError: 
[31mInvalid [1m`this.prisma.config.findFirst()`[22m invocation in[39m
[4mC:\snapshot\server\src\prisma_sqlite_db.js:577:37[24m

  [2m[90m574[39m [34m}[39m[22m
  [2m[90m575[39m [22m
  [2m[90m576[39m [36masync[39m [36mgetLatestConfig[39m[34m([39m[34m)[39m [34m{[39m[22m
[1m[31m→[39m[22m [2m[90m577[39m   [36mreturn[39m [36mawait[39m [36mthis[39m[34m.[39mprisma[34m.[39mconfig[34m.[39m[36mfindFirst[39m[34m([39m[22m
The table `main.Config` does not exist in the current database.
    at $n.handleRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:7315)
    at $n.handleAndLogRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6623)
    at $n.request (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6307)
    at async l (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:130:9633)
    at async Prisma_Sqlite_DB.getLatestConfig (C:\snapshot\server\src\prisma_sqlite_db.js:577:12)
    at async C:\snapshot\server\src\leedz_server.js:575:18
    at async C:\snapshot\server\src\leedz_server.js:102:7
[2025-12-03T22:44:41.018Z] GET /stats
[2025-12-03T22:44:41.026Z] GET /stats failed: PrismaClientKnownRequestError: 
[31mInvalid [1m`this.prisma.client.count()`[22m invocation in[39m
[4mC:\snapshot\server\src\prisma_sqlite_db.js:627:26[24m

  [2m[90m624[39m [90m// System operations[39m[22m
  [2m[90m625[39m [36masync[39m [36mgetSystemStats[39m[34m([39m[34m)[39m [34m{[39m[22m
  [2m[90m626[39m   [36mconst[39m [34m[[39mtotalClients[34m,[39m totalBookings[34m,[39m totalConfigs[34m][39m = [36mawait[39m Promise[34m.[39m[36mall[39m[34m([39m[34m[[39m[22m
[1m[31m→[39m[22m [2m[90m627[39m     [36mthis[39m[34m.[39mprisma[34m.[39mclient[34m.[39m[36mcount[39m[34m([39m[22m
The table `main.Client` does not exist in the current database.
    at $n.handleRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:7315)
    at $n.handleAndLogRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6623)
    at $n.request (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6307)
    at async l (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:130:9633)
    at async Promise.all (index 0)
    at async Prisma_Sqlite_DB.getSystemStats (C:\snapshot\server\src\prisma_sqlite_db.js:626:57)
    at async C:\snapshot\server\src\leedz_server.js:548:17
    at async C:\snapshot\server\src\leedz_server.js:102:7
[2025-12-03T22:44:47.083Z] GET /clients
[2025-12-03T22:44:47.089Z] GET /clients failed: PrismaClientKnownRequestError: 
[31mInvalid [1m`this.prisma.client.findMany()`[22m invocation in[39m
[4mC:\snapshot\server\src\prisma_sqlite_db.js:192:37[24m

  [2m[90m189[39m   [34m}[39m[22m
  [2m[90m190[39m [34m}[39m[22m
  [2m[90m191[39m [22m
[1m[31m→[39m[22m [2m[90m192[39m [36mreturn[39m [36mawait[39m [36mthis[39m[34m.[39mprisma[34m.[39mclient[34m.[39m[36mfindMany[39m[34m([39m[22m
The table `main.Client` does not exist in the current database.
    at $n.handleRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:7315)
    at $n.handleAndLogRequestError (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6623)
    at $n.request (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:121:6307)
    at async l (C:\snapshot\server\node_modules\@prisma\client\runtime\library.js:130:9633)
    at async Prisma_Sqlite_DB.getClients (C:\snapshot\server\src\prisma_sqlite_db.js:192:12)
    at async C:\snapshot\server\src\leedz_server.js:182:19
    at async C:\snapshot\server\src\leedz_server.js:102:7
[2025-12-03 14:54:30] [CONFIG] Database switching from: file:./data/bloomsights.sqlite
[2025-12-03 14:54:30] [CONFIG] Database switching to: file:./data/ca_schools.sqlite
[2025-12-03 14:54:30] [CONFIG] Configuration changed. Restarting server...
[2025-12-03 14:54:30] [CONFIG] Stopping server for configuration change...
[2025-12-03 14:54:30] [TRAY] Stopping server...
[2025-12-03 14:54:30] [TRAY] Attempting graceful shutdown via API...
[2025-12-03T22:54:30.599Z] POST /api/shutdown
[2025-12-03T22:54:30.600Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 14:54:30] [TRAY] Graceful shutdown successful
[2025-12-03 14:54:30] [TRAY] Waiting for file handles to release...
[2025-12-03T22:54:31.115Z] [SHUTDOWN] Disconnecting database...
[2025-12-03T22:54:31.132Z] [SHUTDOWN] Database disconnected
[2025-12-03T22:54:31.133Z] [SHUTDOWN] Exiting process...
[2025-12-03 14:54:31] [TRAY] Server stopped successfully
[2025-12-03 14:54:31] [CONFIG] Starting server with new configuration...
[2025-12-03 14:54:31] [TRAY] Starting server...
[2025-12-03 14:54:31] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 14:54:31] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-03 14:54:31] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-03 14:54:31] [TRAY] Server process started (PID: 53316)
[2025-12-03 14:54:31] [CONFIG] Server restarted successfully
[2025-12-03 14:54:31] [STARTUP] Running in PACKAGED mode
[2025-12-03 14:54:31] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-03 14:54:31] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 14:54:31] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/ca_schools.sqlite"}
[2025-12-03 14:54:31] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03T22:54:31.825Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03 14:54:31] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03T22:54:31.828Z] [STARTUP] Attempting database connection...
[2025-12-03 14:54:31] [STARTUP] Attempting database connection...
[2025-12-03 14:54:31] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-12-03 14:54:31] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03 14:54:31] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03 14:54:35] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03 14:54:35] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03 14:54:35] ! Local API running on http://localhost:3000
[2025-12-03 14:55:16] [TRAY] Stopping server...
[2025-12-03 14:55:16] [TRAY] Attempting graceful shutdown via API...
[2025-12-03 14:55:16] POST /api/shutdown
[2025-12-03 14:55:16] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 14:55:17] [SHUTDOWN] Disconnecting database...
[2025-12-03 14:55:17] [SHUTDOWN] Database disconnected
[2025-12-03 14:55:17] [SHUTDOWN] Exiting process...
[2025-12-03 14:55:17] [TRAY] Graceful shutdown successful
[2025-12-03 14:55:17] [TRAY] Waiting for file handles to release...
[2025-12-03 14:55:18] [TRAY] Server stopped successfully
[2025-12-03 14:55:21] [TRAY] Starting server...
[2025-12-03 14:55:21] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 14:55:21] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-03 14:55:21] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-03 14:55:21] [TRAY] Server process started (PID: 76120)
[2025-12-03 14:55:21] [STARTUP] Running in PACKAGED mode
[2025-12-03 14:55:21] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-03 14:55:21] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 14:55:21] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/ca_schools.sqlite"}
[2025-12-03 14:55:21] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03T22:55:21.244Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03 14:55:21] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03T22:55:21.247Z] [STARTUP] Attempting database connection...
[2025-12-03 14:55:21] [STARTUP] Attempting database connection...
[2025-12-03 14:55:21] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-12-03 14:55:21] ERR: Disabling file logging due to write error
[2025-12-03 14:55:21] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03 14:55:21] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03 14:55:24] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03 14:55:24] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\ca_schools.sqlite
[2025-12-03 14:55:24] ! Local API running on http://localhost:3000
[2025-12-03 14:55:43] GET /stats
[2025-12-03 14:55:43] prisma:query SELECT 1
[2025-12-03 14:55:43] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 14:55:43] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 14:55:43] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 14:56:00] GET /config
[2025-12-03 14:56:00] prisma:query SELECT 1
[2025-12-03 14:56:00] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 15:01:39] [CONFIG] Database switching from: file:./data/ca_schools.sqlite
[2025-12-03 15:01:39] [CONFIG] Database switching to: file:./data/leedz_orig.sqlite
[2025-12-03 15:01:39] [CONFIG] Configuration changed. Restarting server...
[2025-12-03 15:01:39] [CONFIG] Stopping server for configuration change...
[2025-12-03 15:01:39] [TRAY] Stopping server...
[2025-12-03 15:01:39] [TRAY] Attempting graceful shutdown via API...
[2025-12-03 15:01:39] POST /api/shutdown
[2025-12-03 15:01:39] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 15:01:40] [SHUTDOWN] Disconnecting database...
[2025-12-03 15:01:40] [SHUTDOWN] Database disconnected
[2025-12-03 15:01:40] [SHUTDOWN] Exiting process...
[2025-12-03 15:01:40] [TRAY] Graceful shutdown successful
[2025-12-03 15:01:40] [TRAY] Waiting for file handles to release...
[2025-12-03 15:01:41] [TRAY] Server stopped successfully
[2025-12-03 15:01:41] [CONFIG] Starting server with new configuration...
[2025-12-03 15:01:41] [TRAY] Starting server...
[2025-12-03 15:01:41] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 15:01:41] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-03 15:01:41] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-03 15:01:41] [TRAY] Server process started (PID: 39800)
[2025-12-03 15:01:41] [CONFIG] Server restarted successfully
[2025-12-03 15:01:41] [STARTUP] Running in PACKAGED mode
[2025-12-03 15:01:41] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-03 15:01:41] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 15:01:41] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz_orig.sqlite"}
[2025-12-03 15:01:41] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_orig.sqlite
[2025-12-03T23:01:41.354Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03 15:01:41] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03T23:01:41.357Z] [STARTUP] Attempting database connection...
[2025-12-03 15:01:41] [STARTUP] Attempting database connection...
[2025-12-03 15:01:41] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-12-03 15:01:41] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_orig.sqlite
[2025-12-03 15:01:41] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_orig.sqlite
[2025-12-03 15:01:44] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_orig.sqlite
[2025-12-03 15:01:44] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_orig.sqlite
[2025-12-03 15:01:44] ! Local API running on http://localhost:3000
[2025-12-03 15:02:12] GET /stats
[2025-12-03 15:02:12] prisma:query SELECT 1
[2025-12-03 15:02:12] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 15:02:12] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 15:02:12] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 15:03:06] GET /config
[2025-12-03 15:03:06] prisma:query SELECT 1
[2025-12-03 15:03:06] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 15:07:13] [TRAY] Stopping server...
[2025-12-03 15:07:13] [TRAY] Attempting graceful shutdown via API...
[2025-12-03 15:07:13] POST /api/shutdown
[2025-12-03 15:07:13] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 15:07:13] [SHUTDOWN] Disconnecting database...
[2025-12-03 15:07:13] [SHUTDOWN] Database disconnected
[2025-12-03 15:07:13] [SHUTDOWN] Exiting process...
[2025-12-03 15:07:13] [TRAY] Graceful shutdown successful
[2025-12-03 15:07:13] [TRAY] Waiting for file handles to release...
[2025-12-03 15:07:14] [TRAY] Server stopped successfully
[2025-12-03 16:04:06] Creating Leedz Tray....
[2025-12-04T00:04:10.029Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-04T00:04:10.033Z] [STARTUP] Attempting database connection...
[2025-12-04T00:04:10.033Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T00:04:10.034Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T00:04:13.490Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T00:04:13.492Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T00:04:13.495Z] ! Local API running on http://localhost:3000
[2025-12-03 16:04:31] [CONFIG] Database switching from: file:./data/leedz.sqlite
[2025-12-03 16:04:31] [CONFIG] Database switching to: file:./data/leedz_invoicer.sqlite
[2025-12-03 16:04:31] [CONFIG] Configuration changed. Restarting server...
[2025-12-03 16:04:31] [CONFIG] Stopping server for configuration change...
[2025-12-03 16:04:31] [TRAY] Stopping server...
[2025-12-03 16:04:31] [TRAY] Attempting graceful shutdown via API...
[2025-12-04T00:04:31.845Z] POST /api/shutdown
[2025-12-04T00:04:31.847Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 16:04:31] [TRAY] Graceful shutdown successful
[2025-12-03 16:04:31] [TRAY] Waiting for file handles to release...
[2025-12-04T00:04:32.353Z] [SHUTDOWN] Disconnecting database...
[2025-12-04T00:04:32.370Z] [SHUTDOWN] Database disconnected
[2025-12-04T00:04:32.371Z] [SHUTDOWN] Exiting process...
[2025-12-03 16:04:32] [TRAY] Server stopped successfully
[2025-12-03 16:04:32] [CONFIG] Starting server with new configuration...
[2025-12-03 16:04:32] [TRAY] Starting server...
[2025-12-03 16:04:32] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 16:04:32] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-03 16:04:32] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-03 16:04:32] [TRAY] Server process started (PID: 81892)
[2025-12-03 16:04:32] [CONFIG] Server restarted successfully
[2025-12-03 16:04:33] [STARTUP] Running in PACKAGED mode
[2025-12-03 16:04:33] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-03 16:04:33] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 16:04:33] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz_invoicer.sqlite"}
[2025-12-03 16:04:33] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-04T00:04:33.083Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03 16:04:33] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-04T00:04:33.086Z] [STARTUP] Attempting database connection...
[2025-12-03 16:04:33] [STARTUP] Attempting database connection...
[2025-12-04T00:04:33.087Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 16:04:33] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 16:04:33] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 16:04:33] ERR: Disabling file logging due to write error
[2025-12-03 16:04:36] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 16:04:36] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 16:04:36] ! Local API running on http://localhost:3000
[2025-12-03 16:13:48] GET /stats
[2025-12-03 16:13:48] prisma:query SELECT 1
[2025-12-03 16:13:48] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 16:13:48] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 16:13:48] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 16:14:03] GET /config
[2025-12-03 16:14:03] prisma:query SELECT 1
[2025-12-03 16:14:03] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 16:14:30] POST /config
[2025-12-03 16:14:30] prisma:query SELECT 1
[2025-12-03 16:14:30] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 16:14:30] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `contactHandle` = ?, `bankName` = ?, `bankAddress` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `includeTerms` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 16:14:36] GET /config
[2025-12-03 16:14:36] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 16:15:38] POST /config
[2025-12-03 16:15:38] prisma:query SELECT 1
[2025-12-03 16:15:38] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 16:15:38] prisma:query UPDATE `main`.`Config` SET `bankPhone` = ?, `includeTerms` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 16:15:43] GET /config
[2025-12-03 16:15:43] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 16:19:24] [TRAY] Stopping server...
[2025-12-03 16:19:24] [TRAY] Attempting graceful shutdown via API...
[2025-12-03 16:19:24] POST /api/shutdown
[2025-12-03 16:19:24] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 16:19:24] [SHUTDOWN] Disconnecting database...
[2025-12-03 16:19:24] [SHUTDOWN] Database disconnected
[2025-12-03 16:19:24] [SHUTDOWN] Exiting process...
[2025-12-03 16:19:24] [TRAY] Graceful shutdown successful
[2025-12-03 16:19:24] [TRAY] Waiting for file handles to release...
[2025-12-03 16:19:25] [TRAY] Server stopped successfully
[2025-12-03 16:21:29] Creating Leedz Tray....
[2025-12-04T00:21:32.860Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-04T00:21:32.867Z] [STARTUP] Attempting database connection...
[2025-12-04T00:21:32.880Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T00:21:32.881Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T00:21:36.230Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T00:21:36.233Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T00:21:36.236Z] ! Local API running on http://localhost:3000
[2025-12-03 16:26:36] [TRAY] Stopping server...
[2025-12-03 16:26:36] [TRAY] Attempting graceful shutdown via API...
[2025-12-04T00:26:36.897Z] POST /api/shutdown
[2025-12-04T00:26:36.899Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 16:26:36] [TRAY] Graceful shutdown successful
[2025-12-03 16:26:36] [TRAY] Waiting for file handles to release...
[2025-12-04T00:26:37.404Z] [SHUTDOWN] Disconnecting database...
[2025-12-04T00:26:37.419Z] [SHUTDOWN] Database disconnected
[2025-12-04T00:26:37.420Z] [SHUTDOWN] Exiting process...
[2025-12-03 16:26:37] [TRAY] Server stopped successfully
[2025-12-03 18:56:22] Creating Leedz Tray....
[2025-12-04T02:56:35.525Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-04T02:56:35.528Z] [STARTUP] Attempting database connection...
[2025-12-04T02:56:35.536Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T02:56:35.536Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T02:56:38.900Z] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T02:56:38.902Z] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz.sqlite
[2025-12-04T02:56:38.906Z] ! Local API running on http://localhost:3000
[2025-12-03 19:28:37] [CONFIG] Database switching from: file:./data/leedz.sqlite
[2025-12-03 19:28:37] [CONFIG] Database switching to: file:./data/leedz_invoicer.sqlite
[2025-12-03 19:28:37] [CONFIG] Configuration changed. Restarting server...
[2025-12-03 19:28:37] [CONFIG] Stopping server for configuration change...
[2025-12-03 19:28:37] [TRAY] Stopping server...
[2025-12-03 19:28:37] [TRAY] Attempting graceful shutdown via API...
[2025-12-04T03:28:37.757Z] POST /api/shutdown
[2025-12-04T03:28:37.760Z] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 19:28:37] [TRAY] Graceful shutdown successful
[2025-12-03 19:28:37] [TRAY] Waiting for file handles to release...
[2025-12-04T03:28:38.285Z] [SHUTDOWN] Disconnecting database...
[2025-12-04T03:28:38.302Z] [SHUTDOWN] Database disconnected
[2025-12-04T03:28:38.304Z] [SHUTDOWN] Exiting process...
[2025-12-03 19:28:38] [TRAY] Server stopped successfully
[2025-12-03 19:28:38] [CONFIG] Starting server with new configuration...
[2025-12-03 19:28:38] [TRAY] Starting server...
[2025-12-03 19:28:38] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 19:28:38] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-03 19:28:38] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-03 19:28:38] [TRAY] Server process started (PID: 76008)
[2025-12-03 19:28:38] [CONFIG] Server restarted successfully
[2025-12-03 19:28:38] [CONFIG] Database switching from: file:./data/leedz.sqlite
[2025-12-03 19:28:38] [CONFIG] Database switching to: file:./data/leedz_invoicer.sqlite
[2025-12-03 19:28:38] [CONFIG] Configuration changed. Restarting server...
[2025-12-03 19:28:38] [CONFIG] Stopping server for configuration change...
[2025-12-03 19:28:38] [TRAY] Stopping server...
[2025-12-03 19:28:38] [TRAY] Attempting graceful shutdown via API...
[2025-12-03 19:28:39] [STARTUP] Running in PACKAGED mode
[2025-12-03 19:28:39] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-03 19:28:39] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 19:28:39] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz_invoicer.sqlite"}
[2025-12-03 19:28:39] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-04T03:28:39.092Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03 19:28:39] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-04T03:28:39.096Z] [STARTUP] Attempting database connection...
[2025-12-03 19:28:39] [STARTUP] Attempting database connection...
[2025-12-04T03:28:39.097Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 19:28:39] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-04T03:28:39.098Z] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 19:28:39] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 19:28:41] [TRAY] Graceful shutdown exception: One or more errors occurred. (A task was canceled.)
[2025-12-03 19:28:41] [TRAY] Graceful shutdown failed, falling back to forceful termination
[2025-12-03 19:28:41] [TRAY] Killing tracked process (PID: 76008)
[2025-12-03 19:28:41] [TRAY] Found 0 external leedz-server processes
[2025-12-03 19:28:41] [TRAY] Checking for orphaned node.exe processes...
[2025-12-03 19:28:41] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-12-03 19:28:41] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-12-03 19:28:41] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-12-03 19:28:41] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-12-03 19:28:41] [TRAY] Failed to check/kill node process: Could not load file or assembly 'System.Management, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
[2025-12-03 19:28:41] [TRAY] No orphaned node processes found
[2025-12-03 19:28:41] [TRAY] Waiting for file handles to release...
[2025-12-03 19:28:42] [TRAY] Server stopped successfully
[2025-12-03 19:28:42] [CONFIG] Starting server with new configuration...
[2025-12-03 19:28:42] [TRAY] Starting server...
[2025-12-03 19:28:42] [TRAY] Server config file: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 19:28:42] [TRAY] Working directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\
[2025-12-03 19:28:42] [TRAY] Starting packaged server: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\leedz-server.exe
[2025-12-03 19:28:43] [TRAY] Server process started (PID: 8008)
[2025-12-03 19:28:43] [CONFIG] Server restarted successfully
[2025-12-03 19:28:43] [STARTUP] Running in PACKAGED mode
[2025-12-03 19:28:43] [STARTUP] Base directory: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64
[2025-12-03 19:28:43] [STARTUP] Config loaded from: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server_config.json
[2025-12-03 19:28:43] [STARTUP] Database config: {"type":"prisma_sqlite","url":"file:./data/leedz_invoicer.sqlite"}
[2025-12-03 19:28:43] [STARTUP] Resolved database path: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-04T03:28:43.288Z] Logging initialized: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-03 19:28:43] Logging enabled: C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log
[2025-12-04T03:28:43.293Z] [STARTUP] Attempting database connection...
[2025-12-03 19:28:43] [STARTUP] Attempting database connection...
[2025-12-04T03:28:43.293Z] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 19:28:43] [DB] DATABASE_URL environment variable: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 19:28:43] ERR: ERROR: Failed to write to log file C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log: EBUSY: resource busy or locked, open 'C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\server.log'
[2025-12-03 19:28:43] ERR: Disabling file logging due to write error
[2025-12-03 19:28:43] [DB] Connecting to database: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 19:28:47] [DB] Connection established to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 19:28:47] [STARTUP] Database connected successfully to: file:C:\Users\Scott\Desktop\WKG\INVOICER\server\dist-pkg\leedz-server-win-x64\data\leedz_invoicer.sqlite
[2025-12-03 19:28:47] ! Local API running on http://localhost:3000
[2025-12-03 19:32:22] GET /config
[2025-12-03 19:32:22] prisma:query SELECT 1
[2025-12-03 19:32:22] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 19:37:22] GET /config
[2025-12-03 19:37:22] prisma:query SELECT 1
[2025-12-03 19:37:22] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 20:14:27] GET /config
[2025-12-03 20:14:27] prisma:query SELECT 1
[2025-12-03 20:14:27] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 20:14:40] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:14:40] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:14:40] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 20:14:40] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 20:14:40] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:15:38] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:15:38] prisma:query SELECT 1
[2025-12-03 20:15:38] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:15:38] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 20:15:38] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 20:15:38] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:15:40] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:15:40] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:15:53] POST /clients
[2025-12-03 20:15:53] prisma:query SELECT 1
[2025-12-03 20:15:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 20:15:53] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:15:53] POST /bookings
[2025-12-03 20:15:53] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 20:15:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:15:53] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:16:30] GET /stats
[2025-12-03 20:16:30] prisma:query SELECT 1
[2025-12-03 20:16:30] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Client`.`id` FROM `main`.`Client` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 20:16:30] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Booking`.`id` FROM `main`.`Booking` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 20:16:30] prisma:query SELECT COUNT(*) FROM (SELECT `main`.`Config`.`id` FROM `main`.`Config` WHERE 1=1 LIMIT ? OFFSET ?) AS `sub`
[2025-12-03 20:16:43] GET /config
[2025-12-03 20:16:44] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 20:16:51] POST /clients
[2025-12-03 20:16:51] prisma:query SELECT 1
[2025-12-03 20:16:51] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 20:16:51] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:16:51] POST /bookings
[2025-12-03 20:16:51] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 20:16:51] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:16:51] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:17:22] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:17:22] prisma:query SELECT 1
[2025-12-03 20:17:22] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:17:22] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 20:17:22] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 20:17:22] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:17:25] POST /clients
[2025-12-03 20:17:25] POST /clients
[2025-12-03 20:17:25] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 20:17:25] prisma:query SELECT 1
[2025-12-03 20:17:25] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 20:17:25] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:17:25] POST /bookings
[2025-12-03 20:17:25] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:17:25] POST /bookings
[2025-12-03 20:17:25] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 20:17:25] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:17:25] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 20:17:25] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:17:25] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:17:25] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:22:17] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:22:17] prisma:query SELECT 1
[2025-12-03 20:22:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:22:17] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 20:22:17] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 20:22:17] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:22:19] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:22:19] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:22:19] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 20:22:19] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 20:22:19] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:22:23] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:22:23] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:22:23] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 20:22:23] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 20:22:23] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:22:25] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:22:25] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:22:25] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 20:22:25] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 20:22:25] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:22:29] POST /clients
[2025-12-03 20:22:29] POST /clients
[2025-12-03 20:22:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 20:22:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 20:22:29] prisma:query SELECT 1
[2025-12-03 20:22:29] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:22:29] POST /bookings
[2025-12-03 20:22:29] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 20:22:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:22:29] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:22:29] POST /bookings
[2025-12-03 20:22:29] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:22:29] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 20:22:29] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:22:29] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 20:59:32] GET /config
[2025-12-03 20:59:32] prisma:query SELECT 1
[2025-12-03 20:59:32] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 20:59:36] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 20:59:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 20:59:36] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 20:59:36] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 20:59:36] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 20:59:36] GET /config
[2025-12-03 20:59:36] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:00:34] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 21:00:34] prisma:query SELECT 1
[2025-12-03 21:00:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 21:00:34] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 21:00:34] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 21:00:34] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:00:34] GET /config
[2025-12-03 21:00:34] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:01:46] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 21:01:46] prisma:query SELECT 1
[2025-12-03 21:01:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 21:01:46] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 21:01:46] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 21:01:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:01:46] GET /config
[2025-12-03 21:01:46] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:03:42] GET /config
[2025-12-03 21:03:42] prisma:query SELECT 1
[2025-12-03 21:03:42] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:03:45] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 21:03:45] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 21:03:45] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 21:03:46] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 21:03:46] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:03:46] GET /config
[2025-12-03 21:03:46] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:03:48] POST /clients
[2025-12-03 21:03:48] POST /clients
[2025-12-03 21:03:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 21:03:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 21:03:48] prisma:query SELECT 1
[2025-12-03 21:03:48] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:48] POST /bookings
[2025-12-03 21:03:48] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:48] POST /bookings
[2025-12-03 21:03:48] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 21:03:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:03:48] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 21:03:48] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:03:48] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:48] POST /config
[2025-12-03 21:03:48] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:03:48] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:48] POST /config
[2025-12-03 21:03:48] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:03:48] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:48] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:59] POST /clients
[2025-12-03 21:03:59] POST /clients
[2025-12-03 21:03:59] prisma:query SELECT 1
[2025-12-03 21:03:59] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 21:03:59] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 21:03:59] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:59] POST /bookings
[2025-12-03 21:03:59] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 21:03:59] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:03:59] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:59] POST /bookings
[2025-12-03 21:03:59] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 21:03:59] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:59] POST /config
[2025-12-03 21:03:59] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:03:59] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:03:59] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:59] POST /config
[2025-12-03 21:03:59] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:03:59] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:03:59] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:05:59] GET /config
[2025-12-03 21:05:59] prisma:query SELECT 1
[2025-12-03 21:05:59] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:06:02] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 21:06:02] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 21:06:02] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 21:06:02] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 21:06:02] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:06:02] GET /config
[2025-12-03 21:06:02] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:06:04] POST /clients
[2025-12-03 21:06:04] POST /clients
[2025-12-03 21:06:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 21:06:04] prisma:query SELECT 1
[2025-12-03 21:06:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 21:06:04] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:04] POST /bookings
[2025-12-03 21:06:04] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:04] POST /bookings
[2025-12-03 21:06:04] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 21:06:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:06:04] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 21:06:04] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:06:04] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:04] POST /config
[2025-12-03 21:06:04] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:06:04] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:04] POST /config
[2025-12-03 21:06:04] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:06:04] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:04] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:43] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 21:06:43] prisma:query SELECT 1
[2025-12-03 21:06:43] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 21:06:43] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 21:06:43] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 21:06:43] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:06:52] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 21:06:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 21:06:52] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 21:06:52] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 21:06:52] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:06:53] POST /clients
[2025-12-03 21:06:53] POST /clients
[2025-12-03 21:06:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 21:06:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 21:06:53] prisma:query SELECT 1
[2025-12-03 21:06:53] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:53] POST /bookings
[2025-12-03 21:06:53] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:53] POST /bookings
[2025-12-03 21:06:53] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 21:06:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:06:53] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 21:06:53] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 21:06:53] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:53] POST /config
[2025-12-03 21:06:53] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:53] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:06:53] POST /config
[2025-12-03 21:06:53] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 21:06:53] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 21:06:53] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 22:23:47] GET /config
[2025-12-03 22:23:47] prisma:query SELECT 1
[2025-12-03 22:23:47] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 22:24:15] GET /clients?email=anahita.hesabi%40omtech.com&name=Anahita+Hesabi
[2025-12-03 22:24:15] prisma:query SELECT 1
[2025-12-03 22:24:15] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`name` LIKE ? AND `main`.`Client`.`email` = ?) LIMIT ? OFFSET ?
[2025-12-03 22:24:15] GET /bookings?clientId=cmiqh3nlz0000c8odxl7h0sgh
[2025-12-03 22:24:15] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE `main`.`Booking`.`clientId` = ? LIMIT ? OFFSET ?
[2025-12-03 22:24:15] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 22:24:15] GET /config
[2025-12-03 22:24:15] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 22:24:16] POST /clients
[2025-12-03 22:24:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE (`main`.`Client`.`email` = ? AND 1=1) LIMIT ? OFFSET ?
[2025-12-03 22:24:16] prisma:query UPDATE `main`.`Client` SET `name` = ?, `email` = ?, `phone` = ?, `company` = ?, `website` = ?, `clientNotes` = ?, `updatedAt` = ? WHERE (`main`.`Client`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `name` AS `name`, `email` AS `email`, `phone` AS `phone`, `company` AS `company`, `website` AS `website`, `clientNotes` AS `clientNotes`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 22:24:16] POST /bookings
[2025-12-03 22:24:16] prisma:query SELECT `main`.`Booking`.`id`, `main`.`Booking`.`clientId`, `main`.`Booking`.`title`, `main`.`Booking`.`description`, `main`.`Booking`.`notes`, `main`.`Booking`.`location`, `main`.`Booking`.`startDate`, `main`.`Booking`.`endDate`, `main`.`Booking`.`startTime`, `main`.`Booking`.`endTime`, `main`.`Booking`.`duration`, `main`.`Booking`.`hourlyRate`, `main`.`Booking`.`flatRate`, `main`.`Booking`.`totalAmount`, `main`.`Booking`.`status`, `main`.`Booking`.`source`, `main`.`Booking`.`createdAt`, `main`.`Booking`.`updatedAt` FROM `main`.`Booking` WHERE (`main`.`Booking`.`clientId` = ? AND `main`.`Booking`.`location` = ? AND `main`.`Booking`.`startDate` >= ? AND `main`.`Booking`.`startDate` <= ?) LIMIT ? OFFSET ?
[2025-12-03 22:24:16] prisma:query SELECT `main`.`Client`.`id`, `main`.`Client`.`name`, `main`.`Client`.`email`, `main`.`Client`.`phone`, `main`.`Client`.`company`, `main`.`Client`.`website`, `main`.`Client`.`clientNotes`, `main`.`Client`.`createdAt`, `main`.`Client`.`updatedAt` FROM `main`.`Client` WHERE `main`.`Client`.`id` IN (?) LIMIT ? OFFSET ?
[2025-12-03 22:24:16] prisma:query UPDATE `main`.`Booking` SET `title` = ?, `description` = ?, `notes` = ?, `location` = ?, `startDate` = ?, `endDate` = ?, `startTime` = ?, `endTime` = ?, `duration` = ?, `hourlyRate` = ?, `flatRate` = ?, `totalAmount` = ?, `status` = ?, `source` = ?, `updatedAt` = ? WHERE (`main`.`Booking`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `clientId` AS `clientId`, `title` AS `title`, `description` AS `description`, `notes` AS `notes`, `location` AS `location`, `startDate` AS `startDate`, `endDate` AS `endDate`, `startTime` AS `startTime`, `endTime` AS `endTime`, `duration` AS `duration`, `hourlyRate` AS `hourlyRate`, `flatRate` AS `flatRate`, `totalAmount` AS `totalAmount`, `status` AS `status`, `source` AS `source`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 22:24:16] POST /config
[2025-12-03 22:24:16] prisma:query SELECT `main`.`Config`.`id`, `main`.`Config`.`companyName`, `main`.`Config`.`companyAddress`, `main`.`Config`.`companyPhone`, `main`.`Config`.`companyEmail`, `main`.`Config`.`logoUrl`, `main`.`Config`.`bankName`, `main`.`Config`.`bankAddress`, `main`.`Config`.`bankPhone`, `main`.`Config`.`bankAccount`, `main`.`Config`.`bankRouting`, `main`.`Config`.`bankWire`, `main`.`Config`.`servicesPerformed`, `main`.`Config`.`contactHandle`, `main`.`Config`.`includeTerms`, `main`.`Config`.`terms`, `main`.`Config`.`serverUrl`, `main`.`Config`.`serverPort`, `main`.`Config`.`dbProvider`, `main`.`Config`.`dbPath`, `main`.`Config`.`mcpHost`, `main`.`Config`.`mcpPort`, `main`.`Config`.`llmApiKey`, `main`.`Config`.`llmProvider`, `main`.`Config`.`llmBaseUrl`, `main`.`Config`.`llmAnthropicVersion`, `main`.`Config`.`llmMaxTokens`, `main`.`Config`.`businessDescription`, `main`.`Config`.`createdAt`, `main`.`Config`.`updatedAt` FROM `main`.`Config` WHERE 1=1 ORDER BY `main`.`Config`.`createdAt` DESC LIMIT ? OFFSET ?
[2025-12-03 22:24:16] prisma:query UPDATE `main`.`Config` SET `companyName` = ?, `companyAddress` = ?, `companyPhone` = ?, `companyEmail` = ?, `logoUrl` = ?, `bankName` = ?, `bankAddress` = ?, `bankPhone` = ?, `bankAccount` = ?, `bankRouting` = ?, `bankWire` = ?, `servicesPerformed` = ?, `contactHandle` = ?, `includeTerms` = ?, `terms` = ?, `serverUrl` = ?, `serverPort` = ?, `dbProvider` = ?, `dbPath` = ?, `mcpHost` = ?, `mcpPort` = ?, `llmApiKey` = ?, `llmProvider` = ?, `llmBaseUrl` = ?, `llmAnthropicVersion` = ?, `llmMaxTokens` = ?, `updatedAt` = ? WHERE (`main`.`Config`.`id` = ? AND 1=1) RETURNING `id` AS `id`, `companyName` AS `companyName`, `companyAddress` AS `companyAddress`, `companyPhone` AS `companyPhone`, `companyEmail` AS `companyEmail`, `logoUrl` AS `logoUrl`, `bankName` AS `bankName`, `bankAddress` AS `bankAddress`, `bankPhone` AS `bankPhone`, `bankAccount` AS `bankAccount`, `bankRouting` AS `bankRouting`, `bankWire` AS `bankWire`, `servicesPerformed` AS `servicesPerformed`, `contactHandle` AS `contactHandle`, `includeTerms` AS `includeTerms`, `terms` AS `terms`, `serverUrl` AS `serverUrl`, `serverPort` AS `serverPort`, `dbProvider` AS `dbProvider`, `dbPath` AS `dbPath`, `mcpHost` AS `mcpHost`, `mcpPort` AS `mcpPort`, `llmApiKey` AS `llmApiKey`, `llmProvider` AS `llmProvider`, `llmBaseUrl` AS `llmBaseUrl`, `llmAnthropicVersion` AS `llmAnthropicVersion`, `llmMaxTokens` AS `llmMaxTokens`, `businessDescription` AS `businessDescription`, `createdAt` AS `createdAt`, `updatedAt` AS `updatedAt`
[2025-12-03 23:12:06] [TRAY] Stopping server...
[2025-12-03 23:12:06] [TRAY] Attempting graceful shutdown via API...
[2025-12-03 23:12:06] POST /api/shutdown
[2025-12-03 23:12:06] [SHUTDOWN] Graceful shutdown requested via API
[2025-12-03 23:12:06] [SHUTDOWN] Disconnecting database...
[2025-12-03 23:12:06] [SHUTDOWN] Database disconnected
[2025-12-03 23:12:06] [SHUTDOWN] Exiting process...
[2025-12-03 23:12:06] [TRAY] Graceful shutdown successful
[2025-12-03 23:12:06] [TRAY] Waiting for file handles to release...
[2025-12-03 23:12:07] [TRAY] Server stopped successfully
