{"version":3,"file":"getOneViewScope.cjs","names":[],"sources":["../../../../src/apis/campaigns/scopes/getOneViewScope.ts"],"sourcesContent":["import type { GetByIdQuery } from '../../../core'\nimport type { Campaign } from '../types'\n\n/** Query scope that includes all associations for a detailed campaign view. */\nexport function getOneViewScope(): GetByIdQuery<Campaign> {\n  return {\n    include: [\n      'service',\n      'tags',\n      {\n        model: 'messages',\n        include: ['file', 'hsm', 'hsmFile'],\n      },\n      'importFile',\n      'defaultDepartment',\n      'defaultUser',\n      'createdBy',\n      'sentBy',\n    ],\n  }\n}\n"],"mappings":";;;;AAIA,SAAgB,kBAA0C;AACxD,QAAO,EACL,SAAS;EACP;EACA;EACA;GACE,OAAO;GACP,SAAS;IAAC;IAAQ;IAAO;IAAU;GACpC;EACD;EACA;EACA;EACA;EACA;EACD,EACF"}