{
  "startTime": "2026-08-03T23:04:39.851Z",
  "orgIds": [
    "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "019fc9df-a847-7c78-ac9f-cb178250bf12"
  ],
  "rows": [
    {
      "createdAt": "2026-08-03T23:04:40.968Z",
      "eventType": "checklist",
      "action": "checklists.create",
      "userEmail": null,
      "userId": null,
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "019fc9df-4709-7329-bdda-efd3bdb5a044",
      "secondaryObjectId": null,
      "payload": {
        "title": "Lot expiration review (1 location need attention)",
        "source": {
          "type": "lot_expiration",
          "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
        }
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:04:41.061Z",
      "eventType": "decision",
      "action": "ensure_lot_expiration_checklist",
      "userEmail": null,
      "userId": null,
      "organizationName": "Corveta Surgical Group",
      "organizationId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "objectId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "secondaryObjectId": null,
      "payload": {
        "reason": "created_1_reopened_0_already_open_1",
        "performed": true,
        "entityType": "organization"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:04:48.321Z",
      "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-08-03T23:05:05.781Z",
      "eventType": "organization",
      "action": "created",
      "userEmail": "mark.manufacturer@vantismedical.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "019fc9df-a847-7c78-ac9f-cb178250bf12",
      "objectId": "019fc9df-a847-7c78-ac9f-cb178250bf12",
      "secondaryObjectId": null,
      "payload": {
        "name": "New Medical Supplies Inc."
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:05:05.781Z",
      "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": "019fc9df-a847-7c78-ac9f-cb178250bf12",
      "secondaryObjectId": null,
      "payload": {
        "invitedOwnerEmail": "test-distributor@example.com",
        "childOrganizationName": "New Medical Supplies Inc."
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:05:05.781Z",
      "eventType": "member",
      "action": "invited",
      "userEmail": "mark.manufacturer@vantismedical.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "019fc9df-a847-7c78-ac9f-cb178250bf12",
      "objectId": "019fc9df-a845-70bc-bf73-6de5fbae332f",
      "secondaryObjectId": null,
      "payload": {
        "email": "test-distributor@example.com"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:05:05.781Z",
      "eventType": "checklist",
      "action": "checklists.create",
      "userEmail": "test-distributor@example.com",
      "userId": "019fc9df-a845-70bc-bf73-6de5fbae332f",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "019fc9df-a847-7c78-ac9f-cb178250bf12",
      "objectId": "019fc9df-a8ae-7bbf-a912-cc803579000a",
      "secondaryObjectId": null,
      "payload": {
        "title": "Complete onboarding for John Smith",
        "source": {
          "scope": "onboarding",
          "feature": "representatives"
        }
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:05:06.498Z",
      "eventType": "user_log",
      "action": "rep_onboarding_request_approved",
      "userEmail": "test-distributor@example.com",
      "userId": "019fc9df-a845-70bc-bf73-6de5fbae332f",
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "019fc9df-a847-7c78-ac9f-cb178250bf12",
      "objectId": "019fc9df-a892-78fe-af9e-dc74e2236c5d",
      "secondaryObjectId": "019fc9df-a892-78fe-af9e-dc74e2236c5d",
      "payload": {
        "userId": "019fc9df-a845-70bc-bf73-6de5fbae332f",
        "userName": "John Smith",
        "distributorOrganizationId": "019fc9df-a847-7c78-ac9f-cb178250bf12",
        "manufacturerOrganizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
      },
      "route": "/settings/org-relationships/new-child",
      "traceId": "00000000000000000000000000000000"
    },
    {
      "createdAt": "2026-08-03T23:05:07.085Z",
      "eventType": "transactional_email",
      "action": "rep_created",
      "userEmail": null,
      "userId": null,
      "organizationName": "New Medical Supplies Inc.",
      "organizationId": "019fc9df-a847-7c78-ac9f-cb178250bf12",
      "objectId": "019fc9df-a892-78fe-af9e-dc74e2236c5d",
      "secondaryObjectId": null,
      "payload": {
        "to": [
          "test-distributor@example.com"
        ],
        "s3Path": "email-audit/019fc9df-a847-7c78-ac9f-cb178250bf12/019fc9df-acf6-73a1-8a48-2a61a0fd83a4/",
        "subject": "Representative Account Approved - Vantis",
        "messageId": "dev-console-log",
        "relatedEntityType": "organization_representation_relationship"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:05:07.090Z",
      "eventType": "transactional_email",
      "action": "verify_email",
      "userEmail": null,
      "userId": null,
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "019fc9df-a845-70bc-bf73-6de5fbae332f",
      "secondaryObjectId": null,
      "payload": {
        "to": "test-distributor@example.com",
        "s3Path": "email-audit/a1b2c3d4-e5f6-7890-abcd-ef1234567890/019fc9df-acfa-7e64-8fb7-243e8d0207a2/",
        "subject": "Verify your DeviceFlow account",
        "messageId": "dev-console-log",
        "relatedEntityType": "user"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:05:31.727Z",
      "eventType": "member",
      "action": "invited",
      "userEmail": "mark.manufacturer@vantismedical.com",
      "userId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "019fc9e0-0d8a-7412-b0a4-6c2b2e69a9fd",
      "secondaryObjectId": null,
      "payload": {
        "email": "jane.doe.test@vantismedical.com"
      },
      "route": null,
      "traceId": null
    },
    {
      "createdAt": "2026-08-03T23:05:33.744Z",
      "eventType": "transactional_email",
      "action": "verify_email",
      "userEmail": null,
      "userId": null,
      "organizationName": "Vantis",
      "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "objectId": "019fc9e0-0d8a-7412-b0a4-6c2b2e69a9fd",
      "secondaryObjectId": null,
      "payload": {
        "to": "jane.doe.test@vantismedical.com",
        "s3Path": "email-audit/a1b2c3d4-e5f6-7890-abcd-ef1234567890/019fc9e0-1503-74c6-ba39-0ac80ee709d8/",
        "subject": "Verify your DeviceFlow account",
        "messageId": "dev-console-log",
        "relatedEntityType": "user"
      },
      "route": null,
      "traceId": null
    }
  ]
}