feat(provider-clients): Implement new methods in ProviderClientsService to manage external provider connections and enhance validation/sync logic

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-04 07:56:29 -07:00
parent 32886cc2e2
commit 1cbe4320db

View file

@ -210,7 +210,7 @@ export class ProviderClientsService {
startDate,
endDate,
})
.groupBy('clientId')
.groupBy('COALESCE(e.user_id, e.session_id)')
.addGroupBy('e.event_type')
.getRawMany<{
clientId: string;
@ -279,7 +279,7 @@ export class ProviderClientsService {
startDate,
endDate,
})
.groupBy('clientId')
.groupBy('COALESCE(e.user_id, e.session_id)')
.addGroupBy('e.event_type')
.getRawMany<{
clientId: string;