@miradorlabs/web-grpc 4.32.0 → 4.34.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.
@@ -219,6 +219,28 @@ function deserialize_gateway_web_v1_GetReasoningTrendContributionResponse(buffer
219
219
  return proto_gateway_web_v1_ai_gateway_pb.GetReasoningTrendContributionResponse.deserializeBinary(new Uint8Array(buffer_arg));
220
220
  }
221
221
 
222
+ function serialize_gateway_web_v1_GetSessionAnalysisOverviewRequest(arg) {
223
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisOverviewRequest)) {
224
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionAnalysisOverviewRequest');
225
+ }
226
+ return Buffer.from(arg.serializeBinary());
227
+ }
228
+
229
+ function deserialize_gateway_web_v1_GetSessionAnalysisOverviewRequest(buffer_arg) {
230
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisOverviewRequest.deserializeBinary(new Uint8Array(buffer_arg));
231
+ }
232
+
233
+ function serialize_gateway_web_v1_GetSessionAnalysisOverviewResponse(arg) {
234
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisOverviewResponse)) {
235
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionAnalysisOverviewResponse');
236
+ }
237
+ return Buffer.from(arg.serializeBinary());
238
+ }
239
+
240
+ function deserialize_gateway_web_v1_GetSessionAnalysisOverviewResponse(buffer_arg) {
241
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisOverviewResponse.deserializeBinary(new Uint8Array(buffer_arg));
242
+ }
243
+
222
244
  function serialize_gateway_web_v1_GetSessionAnalysisRequest(arg) {
223
245
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisRequest)) {
224
246
  throw new Error('Expected argument of type gateway.web.v1.GetSessionAnalysisRequest');
@@ -571,28 +593,6 @@ function deserialize_gateway_web_v1_ListModelReasoningTrendResponse(buffer_arg)
571
593
  return proto_gateway_web_v1_ai_gateway_pb.ListModelReasoningTrendResponse.deserializeBinary(new Uint8Array(buffer_arg));
572
594
  }
573
595
 
574
- function serialize_gateway_web_v1_ListProjectInsightCardsRequest(arg) {
575
- if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListProjectInsightCardsRequest)) {
576
- throw new Error('Expected argument of type gateway.web.v1.ListProjectInsightCardsRequest');
577
- }
578
- return Buffer.from(arg.serializeBinary());
579
- }
580
-
581
- function deserialize_gateway_web_v1_ListProjectInsightCardsRequest(buffer_arg) {
582
- return proto_gateway_web_v1_ai_gateway_pb.ListProjectInsightCardsRequest.deserializeBinary(new Uint8Array(buffer_arg));
583
- }
584
-
585
- function serialize_gateway_web_v1_ListProjectInsightCardsResponse(arg) {
586
- if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListProjectInsightCardsResponse)) {
587
- throw new Error('Expected argument of type gateway.web.v1.ListProjectInsightCardsResponse');
588
- }
589
- return Buffer.from(arg.serializeBinary());
590
- }
591
-
592
- function deserialize_gateway_web_v1_ListProjectInsightCardsResponse(buffer_arg) {
593
- return proto_gateway_web_v1_ai_gateway_pb.ListProjectInsightCardsResponse.deserializeBinary(new Uint8Array(buffer_arg));
594
- }
595
-
596
596
  function serialize_gateway_web_v1_ListRelayHeartbeatsRequest(arg) {
597
597
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListRelayHeartbeatsRequest)) {
598
598
  throw new Error('Expected argument of type gateway.web.v1.ListRelayHeartbeatsRequest');
@@ -637,28 +637,6 @@ function deserialize_gateway_web_v1_ListSessionEventsResponse(buffer_arg) {
637
637
  return proto_gateway_web_v1_ai_gateway_pb.ListSessionEventsResponse.deserializeBinary(new Uint8Array(buffer_arg));
638
638
  }
639
639
 
640
- function serialize_gateway_web_v1_ListSessionInsightsRequest(arg) {
641
- if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest)) {
642
- throw new Error('Expected argument of type gateway.web.v1.ListSessionInsightsRequest');
643
- }
644
- return Buffer.from(arg.serializeBinary());
645
- }
646
-
647
- function deserialize_gateway_web_v1_ListSessionInsightsRequest(buffer_arg) {
648
- return proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest.deserializeBinary(new Uint8Array(buffer_arg));
649
- }
650
-
651
- function serialize_gateway_web_v1_ListSessionInsightsResponse(arg) {
652
- if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse)) {
653
- throw new Error('Expected argument of type gateway.web.v1.ListSessionInsightsResponse');
654
- }
655
- return Buffer.from(arg.serializeBinary());
656
- }
657
-
658
- function deserialize_gateway_web_v1_ListSessionInsightsResponse(buffer_arg) {
659
- return proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse.deserializeBinary(new Uint8Array(buffer_arg));
660
- }
661
-
662
640
  function serialize_gateway_web_v1_ListSessionsRequest(arg) {
663
641
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionsRequest)) {
664
642
  throw new Error('Expected argument of type gateway.web.v1.ListSessionsRequest');
@@ -1375,6 +1353,20 @@ getSessionTotalsTrend: {
1375
1353
  responseSerialize: serialize_gateway_web_v1_GetSessionTotalsTrendResponse,
1376
1354
  responseDeserialize: deserialize_gateway_web_v1_GetSessionTotalsTrendResponse,
1377
1355
  },
1356
+ // The sessions ListSessions lists for the same principals, source systems and active_after, rolled up from what
1357
+ // the analysis jobs wrote: how many sessions, how many carry each work type, and the latest 20 that carry a score
1358
+ // with how many do. Mirrors ai.api.v1.
1359
+ getSessionAnalysisOverview: {
1360
+ path: '/gateway.web.v1.AIGatewayService/GetSessionAnalysisOverview',
1361
+ requestStream: false,
1362
+ responseStream: false,
1363
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisOverviewRequest,
1364
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisOverviewResponse,
1365
+ requestSerialize: serialize_gateway_web_v1_GetSessionAnalysisOverviewRequest,
1366
+ requestDeserialize: deserialize_gateway_web_v1_GetSessionAnalysisOverviewRequest,
1367
+ responseSerialize: serialize_gateway_web_v1_GetSessionAnalysisOverviewResponse,
1368
+ responseDeserialize: deserialize_gateway_web_v1_GetSessionAnalysisOverviewResponse,
1369
+ },
1378
1370
  // One session's latest score against the scorer's rubric, with each criterion's assessment and improvement, and
1379
1371
  // its latest insights with their cause and action; each part absent until its job has run. Mirrors ai.api.v1.
1380
1372
  getSessionAnalysis: {
@@ -1388,19 +1380,6 @@ getSessionAnalysis: {
1388
1380
  responseSerialize: serialize_gateway_web_v1_GetSessionAnalysisResponse,
1389
1381
  responseDeserialize: deserialize_gateway_web_v1_GetSessionAnalysisResponse,
1390
1382
  },
1391
- // A project's insights one at a time, newest analysis first: a person's most recent insights with filter.user_ids,
1392
- // the team's without. Mirrors ai.api.v1.
1393
- listSessionInsights: {
1394
- path: '/gateway.web.v1.AIGatewayService/ListSessionInsights',
1395
- requestStream: false,
1396
- responseStream: false,
1397
- requestType: proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest,
1398
- responseType: proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse,
1399
- requestSerialize: serialize_gateway_web_v1_ListSessionInsightsRequest,
1400
- requestDeserialize: deserialize_gateway_web_v1_ListSessionInsightsRequest,
1401
- responseSerialize: serialize_gateway_web_v1_ListSessionInsightsResponse,
1402
- responseDeserialize: deserialize_gateway_web_v1_ListSessionInsightsResponse,
1403
- },
1404
1383
  // A project's graded sessions, or one person's, per ISO week (UTC, by last activity): counts, the mean score, the
1405
1384
  // mean grade value per rubric criterion. Directional. Mirrors ai.api.v1.
1406
1385
  getSessionScoreTrend: {
@@ -1561,19 +1540,6 @@ listIssueSessions: {
1561
1540
  responseSerialize: serialize_gateway_web_v1_ListIssueSessionsResponse,
1562
1541
  responseDeserialize: deserialize_gateway_web_v1_ListIssueSessionsResponse,
1563
1542
  },
1564
- // The project's cards across local days, newest local day first and rank order within a day: each day's latest run,
1565
- // only when it is READY, with the run context each card is labelled with. Token pages. Mirrors ai.api.v1.
1566
- listProjectInsightCards: {
1567
- path: '/gateway.web.v1.AIGatewayService/ListProjectInsightCards',
1568
- requestStream: false,
1569
- responseStream: false,
1570
- requestType: proto_gateway_web_v1_ai_gateway_pb.ListProjectInsightCardsRequest,
1571
- responseType: proto_gateway_web_v1_ai_gateway_pb.ListProjectInsightCardsResponse,
1572
- requestSerialize: serialize_gateway_web_v1_ListProjectInsightCardsRequest,
1573
- requestDeserialize: deserialize_gateway_web_v1_ListProjectInsightCardsRequest,
1574
- responseSerialize: serialize_gateway_web_v1_ListProjectInsightCardsResponse,
1575
- responseDeserialize: deserialize_gateway_web_v1_ListProjectInsightCardsResponse,
1576
- },
1577
1543
  };
1578
1544
 
1579
1545
  exports.AIGatewayServiceClient = grpc.makeGenericClientConstructor(AIGatewayServiceService, 'AIGatewayService');