@miradorlabs/web-grpc 4.34.0 → 4.36.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.
@@ -285,6 +285,28 @@ function deserialize_gateway_web_v1_GetSessionIssuesResponse(buffer_arg) {
285
285
  return proto_gateway_web_v1_ai_gateway_pb.GetSessionIssuesResponse.deserializeBinary(new Uint8Array(buffer_arg));
286
286
  }
287
287
 
288
+ function serialize_gateway_web_v1_GetSessionPeriodTotalsRequest(arg) {
289
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionPeriodTotalsRequest)) {
290
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionPeriodTotalsRequest');
291
+ }
292
+ return Buffer.from(arg.serializeBinary());
293
+ }
294
+
295
+ function deserialize_gateway_web_v1_GetSessionPeriodTotalsRequest(buffer_arg) {
296
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionPeriodTotalsRequest.deserializeBinary(new Uint8Array(buffer_arg));
297
+ }
298
+
299
+ function serialize_gateway_web_v1_GetSessionPeriodTotalsResponse(arg) {
300
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionPeriodTotalsResponse)) {
301
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionPeriodTotalsResponse');
302
+ }
303
+ return Buffer.from(arg.serializeBinary());
304
+ }
305
+
306
+ function deserialize_gateway_web_v1_GetSessionPeriodTotalsResponse(buffer_arg) {
307
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionPeriodTotalsResponse.deserializeBinary(new Uint8Array(buffer_arg));
308
+ }
309
+
288
310
  function serialize_gateway_web_v1_GetSessionScoreRubricCatalogRequest(arg) {
289
311
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreRubricCatalogRequest)) {
290
312
  throw new Error('Expected argument of type gateway.web.v1.GetSessionScoreRubricCatalogRequest');
@@ -1367,6 +1389,20 @@ getSessionAnalysisOverview: {
1367
1389
  responseSerialize: serialize_gateway_web_v1_GetSessionAnalysisOverviewResponse,
1368
1390
  responseDeserialize: deserialize_gateway_web_v1_GetSessionAnalysisOverviewResponse,
1369
1391
  },
1392
+ // The sessions ListSessions lists with filter.active_after, and those of the window before it, rolled up from their
1393
+ // whole-session figures: git and pull request counts and tokens per window, and for the window itself each actor's
1394
+ // usage and the work type and size counts. Mirrors ai.api.v1.
1395
+ getSessionPeriodTotals: {
1396
+ path: '/gateway.web.v1.AIGatewayService/GetSessionPeriodTotals',
1397
+ requestStream: false,
1398
+ responseStream: false,
1399
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetSessionPeriodTotalsRequest,
1400
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetSessionPeriodTotalsResponse,
1401
+ requestSerialize: serialize_gateway_web_v1_GetSessionPeriodTotalsRequest,
1402
+ requestDeserialize: deserialize_gateway_web_v1_GetSessionPeriodTotalsRequest,
1403
+ responseSerialize: serialize_gateway_web_v1_GetSessionPeriodTotalsResponse,
1404
+ responseDeserialize: deserialize_gateway_web_v1_GetSessionPeriodTotalsResponse,
1405
+ },
1370
1406
  // One session's latest score against the scorer's rubric, with each criterion's assessment and improvement, and
1371
1407
  // its latest insights with their cause and action; each part absent until its job has run. Mirrors ai.api.v1.
1372
1408
  getSessionAnalysis: {