import * as activityService from '../../services/activity/activity.service.js';
import { logContextGetter } from '@nangohq/logs';
export const createActivityLogSeed = async (environmentId) => {
    const log = {
        level: 'info',
        success: true,
        start: Date.now(),
        end: Date.now(),
        timestamp: Date.now(),
        environment_id: environmentId,
        operation_name: 'test'
    };
    const activityLogId = await activityService.createActivityLog(log);
    await logContextGetter.create({ id: String(activityLogId), operation: { type: 'sync', action: 'init' }, message: 'test' }, { account: { id: 1, name: '' }, environment: { id: environmentId, name: 'dev' } });
    return activityLogId;
};
//# sourceMappingURL=activity.seeder.js.map