@miradorlabs/web-grpc 3.38.1 → 3.40.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/google/api/field_behavior.ts +1 -1
- package/google/protobuf/descriptor.ts +6 -3
- package/google/protobuf/duration.ts +6 -3
- package/google/protobuf/timestamp.ts +6 -3
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +6 -3
- package/proto/gateway/common/v1/status.ts +6 -3
- package/proto/gateway/common/v1/types.ts +6 -3
- package/proto/gateway/web/v1/account_gateway.ts +6 -3
- package/proto/gateway/web/v1/admin_gateway.ts +1189 -89
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +36 -0
- package/proto/gateway/web/v1/admin_gateway_pb.js +1779 -57
- package/proto/gateway/web/v1/ai_gateway.ts +6 -3
- package/proto/gateway/web/v1/attribute_value.ts +6 -3
- package/proto/gateway/web/v1/beta_gateway.ts +6 -3
- package/proto/gateway/web/v1/chain_gateway.ts +6 -3
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +6 -3
- package/proto/gateway/web/v1/github_connector.ts +6 -3
- package/proto/gateway/web/v1/integration_gateway.ts +6 -3
- package/proto/gateway/web/v1/log_gateway.ts +6 -3
- package/proto/gateway/web/v1/market_gateway.ts +6 -3
- package/proto/gateway/web/v1/metric_gateway.ts +6 -3
- package/proto/gateway/web/v1/oauth_gateway.ts +6 -3
- package/proto/gateway/web/v1/plan_gateway.ts +6 -3
- package/proto/gateway/web/v1/policy_gateway.ts +6 -3
- package/proto/gateway/web/v1/reference_gateway.ts +6 -3
- package/proto/gateway/web/v1/rule_gateway.ts +6 -3
- package/proto/gateway/web/v1/slo_gateway.ts +6 -3
- package/proto/gateway/web/v1/trace_gateway.ts +6 -3
- package/proto/gateway/web/v1/trace_measure_gateway.ts +6 -3
|
@@ -9,6 +9,7 @@ var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/commo
|
|
|
9
9
|
var proto_gateway_web_v1_ai_gateway_pb = require('../../../../proto/gateway/web/v1/ai_gateway_pb.js');
|
|
10
10
|
var proto_gateway_web_v1_beta_gateway_pb = require('../../../../proto/gateway/web/v1/beta_gateway_pb.js');
|
|
11
11
|
var proto_gateway_web_v1_reference_gateway_pb = require('../../../../proto/gateway/web/v1/reference_gateway_pb.js');
|
|
12
|
+
var proto_gateway_web_v1_trace_gateway_pb = require('../../../../proto/gateway/web/v1/trace_gateway_pb.js');
|
|
12
13
|
|
|
13
14
|
function serialize_gateway_web_v1_ConfirmAIBillersRequest(arg) {
|
|
14
15
|
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ConfirmAIBillersRequest)) {
|
|
@@ -164,6 +165,28 @@ function deserialize_gateway_web_v1_ListAdminRelayHeartbeatsResponse(buffer_arg)
|
|
|
164
165
|
return proto_gateway_web_v1_admin_gateway_pb.ListAdminRelayHeartbeatsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
165
166
|
}
|
|
166
167
|
|
|
168
|
+
function serialize_gateway_web_v1_ListAdminUsageGroupsRequest(arg) {
|
|
169
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ListAdminUsageGroupsRequest)) {
|
|
170
|
+
throw new Error('Expected argument of type gateway.web.v1.ListAdminUsageGroupsRequest');
|
|
171
|
+
}
|
|
172
|
+
return Buffer.from(arg.serializeBinary());
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
function deserialize_gateway_web_v1_ListAdminUsageGroupsRequest(buffer_arg) {
|
|
176
|
+
return proto_gateway_web_v1_admin_gateway_pb.ListAdminUsageGroupsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function serialize_gateway_web_v1_ListAdminUsageGroupsResponse(arg) {
|
|
180
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ListAdminUsageGroupsResponse)) {
|
|
181
|
+
throw new Error('Expected argument of type gateway.web.v1.ListAdminUsageGroupsResponse');
|
|
182
|
+
}
|
|
183
|
+
return Buffer.from(arg.serializeBinary());
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
function deserialize_gateway_web_v1_ListAdminUsageGroupsResponse(buffer_arg) {
|
|
187
|
+
return proto_gateway_web_v1_admin_gateway_pb.ListAdminUsageGroupsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
188
|
+
}
|
|
189
|
+
|
|
167
190
|
function serialize_gateway_web_v1_ListInviteCodesRequest(arg) {
|
|
168
191
|
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ListInviteCodesRequest)) {
|
|
169
192
|
throw new Error('Expected argument of type gateway.web.v1.ListInviteCodesRequest');
|
|
@@ -524,6 +547,19 @@ listRelayHeartbeats: {
|
|
|
524
547
|
responseSerialize: serialize_gateway_web_v1_ListAdminRelayHeartbeatsResponse,
|
|
525
548
|
responseDeserialize: deserialize_gateway_web_v1_ListAdminRelayHeartbeatsResponse,
|
|
526
549
|
},
|
|
550
|
+
// AI usage summed across every organization over whole UTC days, grouped by the dimensions asked for (none is one
|
|
551
|
+
// row, the totals), numbered pages; it proxies ai.api.v1.AIAdminService.ListUsageGroups. Rows carry ids, not names.
|
|
552
|
+
listUsageGroups: {
|
|
553
|
+
path: '/gateway.web.v1.AdminGatewayService/ListUsageGroups',
|
|
554
|
+
requestStream: false,
|
|
555
|
+
responseStream: false,
|
|
556
|
+
requestType: proto_gateway_web_v1_admin_gateway_pb.ListAdminUsageGroupsRequest,
|
|
557
|
+
responseType: proto_gateway_web_v1_admin_gateway_pb.ListAdminUsageGroupsResponse,
|
|
558
|
+
requestSerialize: serialize_gateway_web_v1_ListAdminUsageGroupsRequest,
|
|
559
|
+
requestDeserialize: deserialize_gateway_web_v1_ListAdminUsageGroupsRequest,
|
|
560
|
+
responseSerialize: serialize_gateway_web_v1_ListAdminUsageGroupsResponse,
|
|
561
|
+
responseDeserialize: deserialize_gateway_web_v1_ListAdminUsageGroupsResponse,
|
|
562
|
+
},
|
|
527
563
|
// ResolveOrgDetails resolves organization ids to their names, in batch, across every organization of this gateway's
|
|
528
564
|
// product. Unknown ids, and ids of another product, are left out; it never errors on them. A malformed id, or more
|
|
529
565
|
// than 1000 ids, is a validation error. It proxies account.api.v1.AccountAdminService.ResolveOrgDetails.
|