{
  "startTime": "2026-04-23T03:45:05.195Z",
  "orgIds": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "019db871-6ad0-78b9-88d0-1a0a769394fd"
  ],
  "rows": [
    {
      "createdAt": "2026-04-23T03:45:13.422Z",
      "eventType": "user_log",
      "action": "user:login",
      "userEmail": "mark.manufacturer@zurimed.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "ZuriMED",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": null,
      "secondaryObjectId": null,
      "payload": {
        "email": "mark.manufacturer@zurimed.com"
      },
      "route": "/login",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-04-23T03:45:34.457Z",
      "eventType": "user_log",
      "action": "rep_onboarding_request_approved",
      "userEmail": "test-distributor@example.com",
      "userId": "019db871-6ace-7c25-ac42-eda8884f37d1",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "019db871-6ad0-78b9-88d0-1a0a769394fd",
      "objectId": "019db871-6af3-7bc1-83e2-9b20e8b3232e",
      "secondaryObjectId": "019db871-6af3-7bc1-83e2-9b20e8b3232e",
      "payload": {
        "userId": "019db871-6ace-7c25-ac42-eda8884f37d1",
        "userName": "John Smith",
        "distributorOrganizationId": "019db871-6ad0-78b9-88d0-1a0a769394fd",
        "manufacturerOrganizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
      },
      "route": "/settings/org-relationships/new-child",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-04-23T03:45:34.485Z",
      "eventType": "transactional_email",
      "action": "rep_created",
      "userEmail": null,
      "userId": null,
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "019db871-6ad0-78b9-88d0-1a0a769394fd",
      "objectId": "019db871-6af3-7bc1-83e2-9b20e8b3232e",
      "secondaryObjectId": null,
      "payload": {
        "to": [
          "test-distributor@example.com"
        ],
        "s3Path": "email-audit/019db871-6ad0-78b9-88d0-1a0a769394fd/019db871-6b09-7ec6-9773-2cf60d3d9e2b/",
        "subject": "Representative Account Approved - ZuriMED",
        "messageId": "dev-console-log",
        "relatedEntityType": "organization_representation_relationship"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-04-23T03:45:35.561Z",
      "eventType": "transactional_email",
      "action": "verify_email",
      "userEmail": null,
      "userId": null,
      "organizationName": "ZuriMED",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "019db871-6ace-7c25-ac42-eda8884f37d1",
      "secondaryObjectId": null,
      "payload": {
        "to": "test-distributor@example.com",
        "s3Path": "email-audit/a1b2c3d4-e5f6-7890-abcd-ef1234567890/019db871-711c-7c65-af0f-05e6d6b845d0/",
        "subject": "Verify your DeviceFlow account",
        "messageId": "dev-console-log",
        "relatedEntityType": "user"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-04-23T03:46:06.086Z",
      "eventType": "transactional_email",
      "action": "verify_email",
      "userEmail": null,
      "userId": null,
      "organizationName": "ZuriMED",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "019db871-e1ce-7006-aaf8-b2cafb26bdf5",
      "secondaryObjectId": null,
      "payload": {
        "to": "jane.doe.test@zurimed.com",
        "s3Path": "email-audit/a1b2c3d4-e5f6-7890-abcd-ef1234567890/019db871-e860-7168-b733-07a5615a9375/",
        "subject": "Verify your DeviceFlow account",
        "messageId": "dev-console-log",
        "relatedEntityType": "user"
      },
      "route": null,
      "traceId": null
    }
  ]
}