@miradorlabs/web-grpc 3.50.1 → 4.0.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,26 +131,26 @@ 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');
134
+ function serialize_gateway_web_v1_GetPromptLabelTrendRequest(arg) {
135
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendRequest)) {
136
+ throw new Error('Expected argument of type gateway.web.v1.GetPromptLabelTrendRequest');
137
137
  }
138
138
  return Buffer.from(arg.serializeBinary());
139
139
  }
140
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));
141
+ function deserialize_gateway_web_v1_GetPromptLabelTrendRequest(buffer_arg) {
142
+ return proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendRequest.deserializeBinary(new Uint8Array(buffer_arg));
143
143
  }
144
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');
145
+ function serialize_gateway_web_v1_GetPromptLabelTrendResponse(arg) {
146
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendResponse)) {
147
+ throw new Error('Expected argument of type gateway.web.v1.GetPromptLabelTrendResponse');
148
148
  }
149
149
  return Buffer.from(arg.serializeBinary());
150
150
  }
151
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));
152
+ function deserialize_gateway_web_v1_GetPromptLabelTrendResponse(buffer_arg) {
153
+ return proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendResponse.deserializeBinary(new Uint8Array(buffer_arg));
154
154
  }
155
155
 
156
156
  function serialize_gateway_web_v1_GetSessionAnalysisRequest(arg) {
@@ -1026,18 +1026,18 @@ getSessionScoreTrend: {
1026
1026
  responseSerialize: serialize_gateway_web_v1_GetSessionScoreTrendResponse,
1027
1027
  responseDeserialize: deserialize_gateway_web_v1_GetSessionScoreTrendResponse,
1028
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',
1029
+ // A project's labelled prompts, or one person's (their principals), per ISO week (UTC, by each prompt's own event
1030
+ // time): counts only, the shares derived only when a week has labelled prompts. Mirrors ai.api.v1.
1031
+ getPromptLabelTrend: {
1032
+ path: '/gateway.web.v1.AIGatewayService/GetPromptLabelTrend',
1033
1033
  requestStream: false,
1034
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,
1035
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendRequest,
1036
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendResponse,
1037
+ requestSerialize: serialize_gateway_web_v1_GetPromptLabelTrendRequest,
1038
+ requestDeserialize: deserialize_gateway_web_v1_GetPromptLabelTrendRequest,
1039
+ responseSerialize: serialize_gateway_web_v1_GetPromptLabelTrendResponse,
1040
+ responseDeserialize: deserialize_gateway_web_v1_GetPromptLabelTrendResponse,
1041
1041
  },
1042
1042
  // Per-seat entitlement usage board: every entitlement owner's latest observed funding facility and
1043
1043
  // per-harness usage % windows. Stream-first (first frame = full snapshot), seat-scoped. Mirrors