@miradorlabs/web-grpc 4.25.0 → 4.26.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.
- package/package.json +1 -1
- package/proto/gateway/web/v1/admin_gateway.ts +6 -0
- package/proto/gateway/web/v1/admin_gateway_pb.js +2 -1
- package/proto/gateway/web/v1/ai_gateway.ts +916 -285
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +35 -0
- package/proto/gateway/web/v1/ai_gateway_pb.js +1526 -137
|
@@ -549,6 +549,28 @@ function deserialize_gateway_web_v1_ListSessionEventsResponse(buffer_arg) {
|
|
|
549
549
|
return proto_gateway_web_v1_ai_gateway_pb.ListSessionEventsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
550
550
|
}
|
|
551
551
|
|
|
552
|
+
function serialize_gateway_web_v1_ListSessionInsightsRequest(arg) {
|
|
553
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest)) {
|
|
554
|
+
throw new Error('Expected argument of type gateway.web.v1.ListSessionInsightsRequest');
|
|
555
|
+
}
|
|
556
|
+
return Buffer.from(arg.serializeBinary());
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
function deserialize_gateway_web_v1_ListSessionInsightsRequest(buffer_arg) {
|
|
560
|
+
return proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
function serialize_gateway_web_v1_ListSessionInsightsResponse(arg) {
|
|
564
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse)) {
|
|
565
|
+
throw new Error('Expected argument of type gateway.web.v1.ListSessionInsightsResponse');
|
|
566
|
+
}
|
|
567
|
+
return Buffer.from(arg.serializeBinary());
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
function deserialize_gateway_web_v1_ListSessionInsightsResponse(buffer_arg) {
|
|
571
|
+
return proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
572
|
+
}
|
|
573
|
+
|
|
552
574
|
function serialize_gateway_web_v1_ListSessionsRequest(arg) {
|
|
553
575
|
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionsRequest)) {
|
|
554
576
|
throw new Error('Expected argument of type gateway.web.v1.ListSessionsRequest');
|
|
@@ -1242,6 +1264,19 @@ getSessionAnalysis: {
|
|
|
1242
1264
|
responseSerialize: serialize_gateway_web_v1_GetSessionAnalysisResponse,
|
|
1243
1265
|
responseDeserialize: deserialize_gateway_web_v1_GetSessionAnalysisResponse,
|
|
1244
1266
|
},
|
|
1267
|
+
// A project's insights one at a time, newest analysis first: a person's most recent insights with filter.user_ids,
|
|
1268
|
+
// the team's without. Mirrors ai.api.v1.
|
|
1269
|
+
listSessionInsights: {
|
|
1270
|
+
path: '/gateway.web.v1.AIGatewayService/ListSessionInsights',
|
|
1271
|
+
requestStream: false,
|
|
1272
|
+
responseStream: false,
|
|
1273
|
+
requestType: proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest,
|
|
1274
|
+
responseType: proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse,
|
|
1275
|
+
requestSerialize: serialize_gateway_web_v1_ListSessionInsightsRequest,
|
|
1276
|
+
requestDeserialize: deserialize_gateway_web_v1_ListSessionInsightsRequest,
|
|
1277
|
+
responseSerialize: serialize_gateway_web_v1_ListSessionInsightsResponse,
|
|
1278
|
+
responseDeserialize: deserialize_gateway_web_v1_ListSessionInsightsResponse,
|
|
1279
|
+
},
|
|
1245
1280
|
// A project's graded sessions, or one person's, per ISO week (UTC, by last activity): counts, the mean score, the
|
|
1246
1281
|
// mean grade value per rubric criterion. Directional. Mirrors ai.api.v1.
|
|
1247
1282
|
getSessionScoreTrend: {
|