@memberjunction/server 2.85.0 → 2.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,7 @@ import {
18
18
  SkipAPIClarifyingQuestionResponse,
19
19
  SkipEntityInfo,
20
20
  SkipQueryInfo,
21
+ SkipQueryEntityInfo,
21
22
  SkipAPIRunScriptRequest,
22
23
  SkipAPIRequestAPIKey,
23
24
  SkipRequestPhase,
@@ -1471,6 +1472,18 @@ cycle.`);
1471
1472
  createdAt: p.__mj_CreatedAt,
1472
1473
  updatedAt: p.__mj_UpdatedAt,
1473
1474
  };
1475
+ }),
1476
+ entities: q.Entities.map((e) => {
1477
+ return {
1478
+ id: `${e.QueryID}_${e.EntityID}`, // Composite key since QueryEntityInfo doesn't have a single ID field
1479
+ queryID: e.QueryID,
1480
+ entityID: e.EntityID,
1481
+ entityName: e.Entity,
1482
+ detectionMethod: e.DetectionMethod,
1483
+ autoDetectConfidenceScore: e.AutoDetectConfidenceScore,
1484
+ createdAt: e.__mj_CreatedAt,
1485
+ updatedAt: e.__mj_UpdatedAt,
1486
+ };
1474
1487
  })
1475
1488
  }
1476
1489
  });