{
  "startTime": "2026-09-29T02:25:14.653Z",
  "orgIds": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "01a0eafb-82e6-7d60-8065-b5b8492afe45"
  ],
  "rows": [
    {
      "createdAt": "2026-09-29T02:25:25.653Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "mark.manufacturer@vantismedical.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "mark.manufacturer@vantismedical.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:25:46.152Z",
      "eventType": "member",
      "action": "invited",
      "userEmail": "mark.manufacturer@vantismedical.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "secondaryObjectId": null,
      "payload": {
        "email": "test-distributor@example.com"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:25:46.152Z",
      "eventType": "organization_relationship",
      "action": "child_created",
      "userEmail": "mark.manufacturer@vantismedical.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "secondaryObjectId": null,
      "payload": {
        "invitedOwnerEmail": "test-distributor@example.com",
        "childOrganizationName": "New Medical Supplies Inc."
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:25:46.152Z",
      "eventType": "organization_representation",
      "action": "status_change",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eafb-848b-7fdf-b9da-fad0e0c4fac4",
      "secondaryObjectId": null,
      "payload": {
        "reason": "Auto-approved, certification required",
        "toStatus": "pending_certification",
        "fromStatus": null,
        "reasonCode": "certification_required_on_approval",
        "requestingOrganizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:25:46.152Z",
      "eventType": "checklist",
      "action": "checklists.create",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-8544-73ea-8b31-b24430de67a0",
      "secondaryObjectId": null,
      "payload": {
        "title": "Complete certification for Vantis",
        "source": {
          "scope": "certification",
          "feature": "representatives"
        }
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:25:46.152Z",
      "eventType": "checklist",
      "action": "checklists.create",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-866d-709d-b512-7f3001e6f141",
      "secondaryObjectId": null,
      "payload": {
        "title": "Complete onboarding for John Smith",
        "source": {
          "scope": "onboarding",
          "feature": "representatives"
        }
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:25:46.152Z",
      "eventType": "organization",
      "action": "created",
      "userEmail": "mark.manufacturer@vantismedical.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "secondaryObjectId": null,
      "payload": {
        "name": "New Medical Supplies Inc."
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:25:46.152Z",
      "eventType": "decision",
      "action": "representatives.require_certification_on_approval",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "secondaryObjectId": null,
      "payload": {
        "reason": "mandatory_certifications_outstanding",
        "performed": true,
        "entityType": "user",
        "requestingOrganizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
        "outstandingMandatoryCount": 1
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:25:48.803Z",
      "eventType": "user_log",
      "action": "rep_onboarding_request_approved",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-848b-7fdf-b9da-fad0e0c4fac4",
      "secondaryObjectId": "01a0eafb-848b-7fdf-b9da-fad0e0c4fac4",
      "payload": {
        "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
        "userName": "John Smith",
        "distributorOrganizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
        "manufacturerOrganizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
      },
      "route": "/settings/org-relationships/new-child",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-09-29T02:25:49.127Z",
      "eventType": "transactional_email",
      "action": "rep_created",
      "userEmail": null,
      "userId": null,
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-848b-7fdf-b9da-fad0e0c4fac4",
      "secondaryObjectId": null,
      "payload": {
        "to": [
          "test-distributor@example.com"
        ],
        "s3Path": "email-audit/01a0eafb-82e6-7d60-8065-b5b8492afe45/01a0eafb-8b71-7fec-9462-16e8628f141f/",
        "subject": "Representative Account Approved - Vantis",
        "messageId": "dev-console-log",
        "relatedEntityType": "organization_representation_relationship"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:25:49.256Z",
      "eventType": "transactional_email",
      "action": "verify_email",
      "userEmail": null,
      "userId": null,
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "secondaryObjectId": null,
      "payload": {
        "to": "test-distributor@example.com",
        "s3Path": "email-audit/a1b2c3d4-e5f6-7890-abcd-ef1234567890/01a0eafb-8bbb-7712-b4ce-c9e8f5a3943c/",
        "subject": "Verify your DeviceFlow account",
        "messageId": "dev-console-log",
        "relatedEntityType": "user"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:26:55.268Z",
      "eventType": "member",
      "action": "invited",
      "userEmail": "mark.manufacturer@vantismedical.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eafc-8ecf-7647-8403-26c8a0228dd3",
      "secondaryObjectId": null,
      "payload": {
        "email": "jane.doe.test@vantismedical.com"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:26:57.159Z",
      "eventType": "transactional_email",
      "action": "verify_email",
      "userEmail": null,
      "userId": null,
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "01a0eafc-8ecf-7647-8403-26c8a0228dd3",
      "secondaryObjectId": null,
      "payload": {
        "to": "jane.doe.test@vantismedical.com",
        "s3Path": "email-audit/a1b2c3d4-e5f6-7890-abcd-ef1234567890/01a0eafc-95d8-71d7-b75c-e807237ae0b4/",
        "subject": "Verify your DeviceFlow account",
        "messageId": "dev-console-log",
        "relatedEntityType": "user"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:27:13.765Z",
      "eventType": "decision",
      "action": "verify_email:issue_password_reset_session",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "secondaryObjectId": null,
      "payload": {
        "reason": "user_has_no_password",
        "performed": true,
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.7778.96 Safari/537.36",
        "entityType": "user"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:27:13.765Z",
      "eventType": "user",
      "action": "email_verified",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "secondaryObjectId": null,
      "payload": {
        "email": "test-distributor@example.com",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.7778.96 Safari/537.36"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:27:13.765Z",
      "eventType": "decision",
      "action": "verify_email:invalidate_password_reset_sessions",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "secondaryObjectId": null,
      "payload": {
        "reason": "first_request_acceptance",
        "performed": true,
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.7778.96 Safari/537.36",
        "entityType": "user"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-09-29T02:27:18.347Z",
      "eventType": "user",
      "action": "activation_completed",
      "userEmail": "test-distributor@example.com",
      "userId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "01a0eafb-82e6-7d60-8065-b5b8492afe45",
      "objectId": "01a0eafb-82d9-79bd-8443-1498a74c1dda",
      "secondaryObjectId": null,
      "payload": {
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.7778.96 Safari/537.36"
      },
      "route": null,
      "traceId": null
    }
  ]
}