@miradorlabs/web-grpc 4.30.0 → 4.32.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.
|
@@ -318,6 +318,28 @@ function deserialize_gateway_web_v1_GetSessionSummaryRequest(buffer_arg) {
|
|
|
318
318
|
return proto_gateway_web_v1_ai_gateway_pb.GetSessionSummaryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
+
function serialize_gateway_web_v1_GetSessionTotalsTrendRequest(arg) {
|
|
322
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionTotalsTrendRequest)) {
|
|
323
|
+
throw new Error('Expected argument of type gateway.web.v1.GetSessionTotalsTrendRequest');
|
|
324
|
+
}
|
|
325
|
+
return Buffer.from(arg.serializeBinary());
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
function deserialize_gateway_web_v1_GetSessionTotalsTrendRequest(buffer_arg) {
|
|
329
|
+
return proto_gateway_web_v1_ai_gateway_pb.GetSessionTotalsTrendRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
function serialize_gateway_web_v1_GetSessionTotalsTrendResponse(arg) {
|
|
333
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionTotalsTrendResponse)) {
|
|
334
|
+
throw new Error('Expected argument of type gateway.web.v1.GetSessionTotalsTrendResponse');
|
|
335
|
+
}
|
|
336
|
+
return Buffer.from(arg.serializeBinary());
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
function deserialize_gateway_web_v1_GetSessionTotalsTrendResponse(buffer_arg) {
|
|
340
|
+
return proto_gateway_web_v1_ai_gateway_pb.GetSessionTotalsTrendResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
341
|
+
}
|
|
342
|
+
|
|
321
343
|
function serialize_gateway_web_v1_GitActivityFrame(arg) {
|
|
322
344
|
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GitActivityFrame)) {
|
|
323
345
|
throw new Error('Expected argument of type gateway.web.v1.GitActivityFrame');
|
|
@@ -1339,6 +1361,20 @@ getSessionUsageTrend: {
|
|
|
1339
1361
|
responseSerialize: serialize_gateway_web_v1_SessionUsageTrendResponse,
|
|
1340
1362
|
responseDeserialize: deserialize_gateway_web_v1_SessionUsageTrendResponse,
|
|
1341
1363
|
},
|
|
1364
|
+
// The sessions ListSessions lists with filter.active_after, per hour or calendar day of each session's last activity
|
|
1365
|
+
// and source system: how many sessions, and their whole-session model calls, tokens and cost. Each session's
|
|
1366
|
+
// lifetime totals land in the bucket of its last activity. Unpaged, bounded by its window. Mirrors ai.api.v1.
|
|
1367
|
+
getSessionTotalsTrend: {
|
|
1368
|
+
path: '/gateway.web.v1.AIGatewayService/GetSessionTotalsTrend',
|
|
1369
|
+
requestStream: false,
|
|
1370
|
+
responseStream: false,
|
|
1371
|
+
requestType: proto_gateway_web_v1_ai_gateway_pb.GetSessionTotalsTrendRequest,
|
|
1372
|
+
responseType: proto_gateway_web_v1_ai_gateway_pb.GetSessionTotalsTrendResponse,
|
|
1373
|
+
requestSerialize: serialize_gateway_web_v1_GetSessionTotalsTrendRequest,
|
|
1374
|
+
requestDeserialize: deserialize_gateway_web_v1_GetSessionTotalsTrendRequest,
|
|
1375
|
+
responseSerialize: serialize_gateway_web_v1_GetSessionTotalsTrendResponse,
|
|
1376
|
+
responseDeserialize: deserialize_gateway_web_v1_GetSessionTotalsTrendResponse,
|
|
1377
|
+
},
|
|
1342
1378
|
// One session's latest score against the scorer's rubric, with each criterion's assessment and improvement, and
|
|
1343
1379
|
// its latest insights with their cause and action; each part absent until its job has run. Mirrors ai.api.v1.
|
|
1344
1380
|
getSessionAnalysis: {
|