@miradorlabs/web-grpc 2.48.0 → 2.50.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/ai_gateway.ts +633 -2
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +36 -2
- package/proto/gateway/web/v1/ai_gateway_pb.js +1263 -0
- package/proto/gateway/web/v1/github_connector.ts +2292 -0
- package/proto/gateway/web/v1/github_connector_grpc_pb.js +234 -0
- package/proto/gateway/web/v1/github_connector_pb.js +4275 -0
|
@@ -140,6 +140,28 @@ function deserialize_gateway_web_v1_ListGitActivitiesResponse(buffer_arg) {
|
|
|
140
140
|
return proto_gateway_web_v1_ai_gateway_pb.ListGitActivitiesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
+
function serialize_gateway_web_v1_ListModelPricesRequest(arg) {
|
|
144
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListModelPricesRequest)) {
|
|
145
|
+
throw new Error('Expected argument of type gateway.web.v1.ListModelPricesRequest');
|
|
146
|
+
}
|
|
147
|
+
return Buffer.from(arg.serializeBinary());
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function deserialize_gateway_web_v1_ListModelPricesRequest(buffer_arg) {
|
|
151
|
+
return proto_gateway_web_v1_ai_gateway_pb.ListModelPricesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function serialize_gateway_web_v1_ListModelPricesResponse(arg) {
|
|
155
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListModelPricesResponse)) {
|
|
156
|
+
throw new Error('Expected argument of type gateway.web.v1.ListModelPricesResponse');
|
|
157
|
+
}
|
|
158
|
+
return Buffer.from(arg.serializeBinary());
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
function deserialize_gateway_web_v1_ListModelPricesResponse(buffer_arg) {
|
|
162
|
+
return proto_gateway_web_v1_ai_gateway_pb.ListModelPricesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
163
|
+
}
|
|
164
|
+
|
|
143
165
|
function serialize_gateway_web_v1_ListPrincipalsRequest(arg) {
|
|
144
166
|
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListPrincipalsRequest)) {
|
|
145
167
|
throw new Error('Expected argument of type gateway.web.v1.ListPrincipalsRequest');
|
|
@@ -274,8 +296,8 @@ function deserialize_gateway_web_v1_UpdatePrincipalResponse(buffer_arg) {
|
|
|
274
296
|
|
|
275
297
|
|
|
276
298
|
// AIGatewayService is the frontend-facing proxy over telemetry.api.v1.AIService:
|
|
277
|
-
// the AI session catalog, one session's conversational replay,
|
|
278
|
-
// id->name catalog (read + alias write). A thin proxy — it resolves the caller's
|
|
299
|
+
// the AI session catalog, one session's conversational replay, the principal
|
|
300
|
+
// id->name catalog (read + alias write), and the global model-price catalog. A thin proxy — it resolves the caller's
|
|
279
301
|
// identity, stamps the authorized organization/project, and forwards. Messages
|
|
280
302
|
// duplicate the telemetry-api shape (proto domain isolation); unary responses
|
|
281
303
|
// carry ResponseStatus, streams do not.
|
|
@@ -439,6 +461,18 @@ streamFileStateSummary: {
|
|
|
439
461
|
responseSerialize: serialize_gateway_web_v1_FileStateSummary,
|
|
440
462
|
responseDeserialize: deserialize_gateway_web_v1_FileStateSummary,
|
|
441
463
|
},
|
|
464
|
+
// Latest observed list price per (source, provider, model) from the global catalog.
|
|
465
|
+
listModelPrices: {
|
|
466
|
+
path: '/gateway.web.v1.AIGatewayService/ListModelPrices',
|
|
467
|
+
requestStream: false,
|
|
468
|
+
responseStream: false,
|
|
469
|
+
requestType: proto_gateway_web_v1_ai_gateway_pb.ListModelPricesRequest,
|
|
470
|
+
responseType: proto_gateway_web_v1_ai_gateway_pb.ListModelPricesResponse,
|
|
471
|
+
requestSerialize: serialize_gateway_web_v1_ListModelPricesRequest,
|
|
472
|
+
requestDeserialize: deserialize_gateway_web_v1_ListModelPricesRequest,
|
|
473
|
+
responseSerialize: serialize_gateway_web_v1_ListModelPricesResponse,
|
|
474
|
+
responseDeserialize: deserialize_gateway_web_v1_ListModelPricesResponse,
|
|
475
|
+
},
|
|
442
476
|
};
|
|
443
477
|
|
|
444
478
|
exports.AIGatewayServiceClient = grpc.makeGenericClientConstructor(AIGatewayServiceService, 'AIGatewayService');
|