import type { GetByIdQuery } from '../../../core' import type { Campaign } from '../types' /** Query scope that includes all associations for a detailed campaign view. */ export function getOneViewScope(): GetByIdQuery { return { include: [ 'service', 'tags', { model: 'messages', include: ['file', 'hsm', 'hsmFile'], }, 'importFile', 'defaultDepartment', 'defaultUser', 'createdBy', 'sentBy', ], } }