@miradorlabs/web-grpc 2.76.0 → 3.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.
- package/package.json +1 -1
- package/proto/gateway/web/v1/ai_gateway.ts +458 -967
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +0 -66
- package/proto/gateway/web/v1/ai_gateway_pb.js +687 -1634
- package/proto/gateway/web/v1/metric_gateway.ts +65 -0
- package/proto/gateway/web/v1/metric_gateway_pb.js +40 -1
- package/proto/gateway/web/v1/reference_gateway.ts +1633 -0
- package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +215 -0
- package/proto/gateway/web/v1/reference_gateway_pb.js +2768 -0
|
@@ -261,28 +261,6 @@ function deserialize_gateway_web_v1_ListModelPricesResponse(buffer_arg) {
|
|
|
261
261
|
return proto_gateway_web_v1_ai_gateway_pb.ListModelPricesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
function serialize_gateway_web_v1_ListPrincipalsRequest(arg) {
|
|
265
|
-
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListPrincipalsRequest)) {
|
|
266
|
-
throw new Error('Expected argument of type gateway.web.v1.ListPrincipalsRequest');
|
|
267
|
-
}
|
|
268
|
-
return Buffer.from(arg.serializeBinary());
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
function deserialize_gateway_web_v1_ListPrincipalsRequest(buffer_arg) {
|
|
272
|
-
return proto_gateway_web_v1_ai_gateway_pb.ListPrincipalsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
function serialize_gateway_web_v1_ListPrincipalsResponse(arg) {
|
|
276
|
-
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListPrincipalsResponse)) {
|
|
277
|
-
throw new Error('Expected argument of type gateway.web.v1.ListPrincipalsResponse');
|
|
278
|
-
}
|
|
279
|
-
return Buffer.from(arg.serializeBinary());
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
function deserialize_gateway_web_v1_ListPrincipalsResponse(buffer_arg) {
|
|
283
|
-
return proto_gateway_web_v1_ai_gateway_pb.ListPrincipalsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
284
|
-
}
|
|
285
|
-
|
|
286
264
|
function serialize_gateway_web_v1_ListSessionEventsRequest(arg) {
|
|
287
265
|
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionEventsRequest)) {
|
|
288
266
|
throw new Error('Expected argument of type gateway.web.v1.ListSessionEventsRequest');
|
|
@@ -492,28 +470,6 @@ function deserialize_gateway_web_v1_TokenActivitySummaryRequest(buffer_arg) {
|
|
|
492
470
|
return proto_gateway_web_v1_ai_gateway_pb.TokenActivitySummaryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
493
471
|
}
|
|
494
472
|
|
|
495
|
-
function serialize_gateway_web_v1_UpdatePrincipalRequest(arg) {
|
|
496
|
-
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.UpdatePrincipalRequest)) {
|
|
497
|
-
throw new Error('Expected argument of type gateway.web.v1.UpdatePrincipalRequest');
|
|
498
|
-
}
|
|
499
|
-
return Buffer.from(arg.serializeBinary());
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
function deserialize_gateway_web_v1_UpdatePrincipalRequest(buffer_arg) {
|
|
503
|
-
return proto_gateway_web_v1_ai_gateway_pb.UpdatePrincipalRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
function serialize_gateway_web_v1_UpdatePrincipalResponse(arg) {
|
|
507
|
-
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.UpdatePrincipalResponse)) {
|
|
508
|
-
throw new Error('Expected argument of type gateway.web.v1.UpdatePrincipalResponse');
|
|
509
|
-
}
|
|
510
|
-
return Buffer.from(arg.serializeBinary());
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
function deserialize_gateway_web_v1_UpdatePrincipalResponse(buffer_arg) {
|
|
514
|
-
return proto_gateway_web_v1_ai_gateway_pb.UpdatePrincipalResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
515
|
-
}
|
|
516
|
-
|
|
517
473
|
|
|
518
474
|
// AIGatewayService is the frontend-facing proxy over telemetry.api.v1.AIService.
|
|
519
475
|
// It stamps the authorized organization/project and forwards telemetry-api-shaped messages.
|
|
@@ -604,28 +560,6 @@ streamSessionFileChanges: {
|
|
|
604
560
|
responseSerialize: serialize_gateway_web_v1_SessionFileChanges,
|
|
605
561
|
responseDeserialize: deserialize_gateway_web_v1_SessionFileChanges,
|
|
606
562
|
},
|
|
607
|
-
listPrincipals: {
|
|
608
|
-
path: '/gateway.web.v1.AIGatewayService/ListPrincipals',
|
|
609
|
-
requestStream: false,
|
|
610
|
-
responseStream: false,
|
|
611
|
-
requestType: proto_gateway_web_v1_ai_gateway_pb.ListPrincipalsRequest,
|
|
612
|
-
responseType: proto_gateway_web_v1_ai_gateway_pb.ListPrincipalsResponse,
|
|
613
|
-
requestSerialize: serialize_gateway_web_v1_ListPrincipalsRequest,
|
|
614
|
-
requestDeserialize: deserialize_gateway_web_v1_ListPrincipalsRequest,
|
|
615
|
-
responseSerialize: serialize_gateway_web_v1_ListPrincipalsResponse,
|
|
616
|
-
responseDeserialize: deserialize_gateway_web_v1_ListPrincipalsResponse,
|
|
617
|
-
},
|
|
618
|
-
updatePrincipal: {
|
|
619
|
-
path: '/gateway.web.v1.AIGatewayService/UpdatePrincipal',
|
|
620
|
-
requestStream: false,
|
|
621
|
-
responseStream: false,
|
|
622
|
-
requestType: proto_gateway_web_v1_ai_gateway_pb.UpdatePrincipalRequest,
|
|
623
|
-
responseType: proto_gateway_web_v1_ai_gateway_pb.UpdatePrincipalResponse,
|
|
624
|
-
requestSerialize: serialize_gateway_web_v1_UpdatePrincipalRequest,
|
|
625
|
-
requestDeserialize: deserialize_gateway_web_v1_UpdatePrincipalRequest,
|
|
626
|
-
responseSerialize: serialize_gateway_web_v1_UpdatePrincipalResponse,
|
|
627
|
-
responseDeserialize: deserialize_gateway_web_v1_UpdatePrincipalResponse,
|
|
628
|
-
},
|
|
629
563
|
// Filtered, keyset-paginated drill-down feed of git/GitHub actions (newest first).
|
|
630
564
|
listGitActivities: {
|
|
631
565
|
path: '/gateway.web.v1.AIGatewayService/ListGitActivities',
|