@miradorlabs/web-grpc 4.35.0 → 4.37.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.
@@ -52,6 +52,28 @@ function deserialize_gateway_web_v1_DeleteInsightRatingResponse(buffer_arg) {
52
52
  return proto_gateway_web_v1_ai_insights_gateway_pb.DeleteInsightRatingResponse.deserializeBinary(new Uint8Array(buffer_arg));
53
53
  }
54
54
 
55
+ function serialize_gateway_web_v1_GetInsightsOverviewRequest(arg) {
56
+ if (!(arg instanceof proto_gateway_web_v1_ai_insights_gateway_pb.GetInsightsOverviewRequest)) {
57
+ throw new Error('Expected argument of type gateway.web.v1.GetInsightsOverviewRequest');
58
+ }
59
+ return Buffer.from(arg.serializeBinary());
60
+ }
61
+
62
+ function deserialize_gateway_web_v1_GetInsightsOverviewRequest(buffer_arg) {
63
+ return proto_gateway_web_v1_ai_insights_gateway_pb.GetInsightsOverviewRequest.deserializeBinary(new Uint8Array(buffer_arg));
64
+ }
65
+
66
+ function serialize_gateway_web_v1_GetInsightsOverviewResponse(arg) {
67
+ if (!(arg instanceof proto_gateway_web_v1_ai_insights_gateway_pb.GetInsightsOverviewResponse)) {
68
+ throw new Error('Expected argument of type gateway.web.v1.GetInsightsOverviewResponse');
69
+ }
70
+ return Buffer.from(arg.serializeBinary());
71
+ }
72
+
73
+ function deserialize_gateway_web_v1_GetInsightsOverviewResponse(buffer_arg) {
74
+ return proto_gateway_web_v1_ai_insights_gateway_pb.GetInsightsOverviewResponse.deserializeBinary(new Uint8Array(buffer_arg));
75
+ }
76
+
55
77
  function serialize_gateway_web_v1_ListProjectInsightCardsRequest(arg) {
56
78
  if (!(arg instanceof proto_gateway_web_v1_ai_insights_gateway_pb.ListProjectInsightCardsRequest)) {
57
79
  throw new Error('Expected argument of type gateway.web.v1.ListProjectInsightCardsRequest');
@@ -149,6 +171,20 @@ listProjectInsightCards: {
149
171
  responseSerialize: serialize_gateway_web_v1_ListProjectInsightCardsResponse,
150
172
  responseDeserialize: deserialize_gateway_web_v1_ListProjectInsightCardsResponse,
151
173
  },
174
+ // The project's insights in one window counted without listing them: ListSessionInsights' insights by topic and
175
+ // ListProjectInsightCards' cards by topic, from the same rows those RPCs serve. A part that cannot be read fails the
176
+ // call, so a zero is a count of none. Mirrors ai.api.v1.
177
+ getInsightsOverview: {
178
+ path: '/gateway.web.v1.AIInsightsGatewayService/GetInsightsOverview',
179
+ requestStream: false,
180
+ responseStream: false,
181
+ requestType: proto_gateway_web_v1_ai_insights_gateway_pb.GetInsightsOverviewRequest,
182
+ responseType: proto_gateway_web_v1_ai_insights_gateway_pb.GetInsightsOverviewResponse,
183
+ requestSerialize: serialize_gateway_web_v1_GetInsightsOverviewRequest,
184
+ requestDeserialize: deserialize_gateway_web_v1_GetInsightsOverviewRequest,
185
+ responseSerialize: serialize_gateway_web_v1_GetInsightsOverviewResponse,
186
+ responseDeserialize: deserialize_gateway_web_v1_GetInsightsOverviewResponse,
187
+ },
152
188
  // The caller's ratings of up to 100 of the project's insights; an insight they have not rated is left out rather
153
189
  // than an error (unlike AIP-231). Mirrors ai.api.v1.
154
190
  batchGetInsightRatings: {