@miradorlabs/web-grpc 3.46.0 → 3.48.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.
@@ -131,6 +131,72 @@ function deserialize_gateway_web_v1_FilesSummaryRequest(buffer_arg) {
131
131
  return proto_gateway_web_v1_ai_gateway_pb.FilesSummaryRequest.deserializeBinary(new Uint8Array(buffer_arg));
132
132
  }
133
133
 
134
+ function serialize_gateway_web_v1_GetPromptScoreTrendRequest(arg) {
135
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetPromptScoreTrendRequest)) {
136
+ throw new Error('Expected argument of type gateway.web.v1.GetPromptScoreTrendRequest');
137
+ }
138
+ return Buffer.from(arg.serializeBinary());
139
+ }
140
+
141
+ function deserialize_gateway_web_v1_GetPromptScoreTrendRequest(buffer_arg) {
142
+ return proto_gateway_web_v1_ai_gateway_pb.GetPromptScoreTrendRequest.deserializeBinary(new Uint8Array(buffer_arg));
143
+ }
144
+
145
+ function serialize_gateway_web_v1_GetPromptScoreTrendResponse(arg) {
146
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetPromptScoreTrendResponse)) {
147
+ throw new Error('Expected argument of type gateway.web.v1.GetPromptScoreTrendResponse');
148
+ }
149
+ return Buffer.from(arg.serializeBinary());
150
+ }
151
+
152
+ function deserialize_gateway_web_v1_GetPromptScoreTrendResponse(buffer_arg) {
153
+ return proto_gateway_web_v1_ai_gateway_pb.GetPromptScoreTrendResponse.deserializeBinary(new Uint8Array(buffer_arg));
154
+ }
155
+
156
+ function serialize_gateway_web_v1_GetSessionAnalysisRequest(arg) {
157
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisRequest)) {
158
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionAnalysisRequest');
159
+ }
160
+ return Buffer.from(arg.serializeBinary());
161
+ }
162
+
163
+ function deserialize_gateway_web_v1_GetSessionAnalysisRequest(buffer_arg) {
164
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisRequest.deserializeBinary(new Uint8Array(buffer_arg));
165
+ }
166
+
167
+ function serialize_gateway_web_v1_GetSessionAnalysisResponse(arg) {
168
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisResponse)) {
169
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionAnalysisResponse');
170
+ }
171
+ return Buffer.from(arg.serializeBinary());
172
+ }
173
+
174
+ function deserialize_gateway_web_v1_GetSessionAnalysisResponse(buffer_arg) {
175
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisResponse.deserializeBinary(new Uint8Array(buffer_arg));
176
+ }
177
+
178
+ function serialize_gateway_web_v1_GetSessionScoreTrendRequest(arg) {
179
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreTrendRequest)) {
180
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionScoreTrendRequest');
181
+ }
182
+ return Buffer.from(arg.serializeBinary());
183
+ }
184
+
185
+ function deserialize_gateway_web_v1_GetSessionScoreTrendRequest(buffer_arg) {
186
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreTrendRequest.deserializeBinary(new Uint8Array(buffer_arg));
187
+ }
188
+
189
+ function serialize_gateway_web_v1_GetSessionScoreTrendResponse(arg) {
190
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreTrendResponse)) {
191
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionScoreTrendResponse');
192
+ }
193
+ return Buffer.from(arg.serializeBinary());
194
+ }
195
+
196
+ function deserialize_gateway_web_v1_GetSessionScoreTrendResponse(buffer_arg) {
197
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreTrendResponse.deserializeBinary(new Uint8Array(buffer_arg));
198
+ }
199
+
134
200
  function serialize_gateway_web_v1_GetSessionSummaryRequest(arg) {
135
201
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionSummaryRequest)) {
136
202
  throw new Error('Expected argument of type gateway.web.v1.GetSessionSummaryRequest');
@@ -934,6 +1000,45 @@ getSessionUsageTrend: {
934
1000
  responseSerialize: serialize_gateway_web_v1_SessionUsageTrendResponse,
935
1001
  responseDeserialize: deserialize_gateway_web_v1_SessionUsageTrendResponse,
936
1002
  },
1003
+ // One session's latest rubric grades, the score computed from them on this read, and its latest insights with
1004
+ // their cause and action; each part absent until its job has run. Mirrors ai.api.v1.
1005
+ getSessionAnalysis: {
1006
+ path: '/gateway.web.v1.AIGatewayService/GetSessionAnalysis',
1007
+ requestStream: false,
1008
+ responseStream: false,
1009
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisRequest,
1010
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetSessionAnalysisResponse,
1011
+ requestSerialize: serialize_gateway_web_v1_GetSessionAnalysisRequest,
1012
+ requestDeserialize: deserialize_gateway_web_v1_GetSessionAnalysisRequest,
1013
+ responseSerialize: serialize_gateway_web_v1_GetSessionAnalysisResponse,
1014
+ responseDeserialize: deserialize_gateway_web_v1_GetSessionAnalysisResponse,
1015
+ },
1016
+ // A project's graded sessions, or one person's, per ISO week (UTC, by last activity): counts, the mean score and
1017
+ // outcomes delivered. Directional. Mirrors ai.api.v1.
1018
+ getSessionScoreTrend: {
1019
+ path: '/gateway.web.v1.AIGatewayService/GetSessionScoreTrend',
1020
+ requestStream: false,
1021
+ responseStream: false,
1022
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreTrendRequest,
1023
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreTrendResponse,
1024
+ requestSerialize: serialize_gateway_web_v1_GetSessionScoreTrendRequest,
1025
+ requestDeserialize: deserialize_gateway_web_v1_GetSessionScoreTrendRequest,
1026
+ responseSerialize: serialize_gateway_web_v1_GetSessionScoreTrendResponse,
1027
+ responseDeserialize: deserialize_gateway_web_v1_GetSessionScoreTrendResponse,
1028
+ },
1029
+ // A project's scored prompts, or one person's (their principals), per ISO week (UTC, by each prompt's own event
1030
+ // time): counts only, the rates derived only when a week has scored prompts. Mirrors ai.api.v1.
1031
+ getPromptScoreTrend: {
1032
+ path: '/gateway.web.v1.AIGatewayService/GetPromptScoreTrend',
1033
+ requestStream: false,
1034
+ responseStream: false,
1035
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetPromptScoreTrendRequest,
1036
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetPromptScoreTrendResponse,
1037
+ requestSerialize: serialize_gateway_web_v1_GetPromptScoreTrendRequest,
1038
+ requestDeserialize: deserialize_gateway_web_v1_GetPromptScoreTrendRequest,
1039
+ responseSerialize: serialize_gateway_web_v1_GetPromptScoreTrendResponse,
1040
+ responseDeserialize: deserialize_gateway_web_v1_GetPromptScoreTrendResponse,
1041
+ },
937
1042
  // Per-seat entitlement usage board: every entitlement owner's latest observed funding facility and
938
1043
  // per-harness usage % windows. Stream-first (first frame = full snapshot), seat-scoped. Mirrors
939
1044
  // telemetry.api.v1.