@miradorlabs/web-grpc 3.33.0 → 3.35.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 +1 -1
- package/google/protobuf/duration.ts +1 -1
- package/google/protobuf/timestamp.ts +32 -10
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +1 -1
- package/proto/gateway/common/v1/status.ts +1 -1
- package/proto/gateway/common/v1/types.ts +1 -1
- package/proto/gateway/web/v1/account_gateway.ts +1 -1
- package/proto/gateway/web/v1/admin_gateway.ts +1773 -132
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +146 -0
- package/proto/gateway/web/v1/admin_gateway_pb.js +2865 -0
- package/proto/gateway/web/v1/ai_gateway.ts +1016 -186
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +36 -0
- package/proto/gateway/web/v1/ai_gateway_pb.js +1593 -118
- package/proto/gateway/web/v1/attribute_value.ts +1 -1
- package/proto/gateway/web/v1/beta_gateway.ts +1 -1
- package/proto/gateway/web/v1/chain_gateway.ts +1 -1
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
- package/proto/gateway/web/v1/github_connector.ts +1 -1
- package/proto/gateway/web/v1/integration_gateway.ts +1 -1
- package/proto/gateway/web/v1/log_gateway.ts +1 -1
- package/proto/gateway/web/v1/market_gateway.ts +1 -1
- package/proto/gateway/web/v1/metric_gateway.ts +1 -1
- package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
- package/proto/gateway/web/v1/plan_gateway.ts +1 -1
- package/proto/gateway/web/v1/policy_gateway.ts +1 -1
- package/proto/gateway/web/v1/reference_gateway.ts +1 -1
- package/proto/gateway/web/v1/rule_gateway.ts +1 -1
- package/proto/gateway/web/v1/slo_gateway.ts +1 -1
- package/proto/gateway/web/v1/trace_gateway.ts +1 -1
- package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
|
@@ -6,6 +6,7 @@ var proto_gateway_web_v1_admin_gateway_pb = require('../../../../proto/gateway/w
|
|
|
6
6
|
var google_api_field_behavior_pb = require('../../../../google/api/field_behavior_pb.js');
|
|
7
7
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
8
8
|
var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
|
|
9
|
+
var proto_gateway_web_v1_ai_gateway_pb = require('../../../../proto/gateway/web/v1/ai_gateway_pb.js');
|
|
9
10
|
var proto_gateway_web_v1_beta_gateway_pb = require('../../../../proto/gateway/web/v1/beta_gateway_pb.js');
|
|
10
11
|
var proto_gateway_web_v1_reference_gateway_pb = require('../../../../proto/gateway/web/v1/reference_gateway_pb.js');
|
|
11
12
|
|
|
@@ -141,6 +142,28 @@ function deserialize_gateway_web_v1_GetAdminStatusResponse(buffer_arg) {
|
|
|
141
142
|
return proto_gateway_web_v1_admin_gateway_pb.GetAdminStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
142
143
|
}
|
|
143
144
|
|
|
145
|
+
function serialize_gateway_web_v1_ListAdminRelayHeartbeatsRequest(arg) {
|
|
146
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ListAdminRelayHeartbeatsRequest)) {
|
|
147
|
+
throw new Error('Expected argument of type gateway.web.v1.ListAdminRelayHeartbeatsRequest');
|
|
148
|
+
}
|
|
149
|
+
return Buffer.from(arg.serializeBinary());
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
function deserialize_gateway_web_v1_ListAdminRelayHeartbeatsRequest(buffer_arg) {
|
|
153
|
+
return proto_gateway_web_v1_admin_gateway_pb.ListAdminRelayHeartbeatsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
function serialize_gateway_web_v1_ListAdminRelayHeartbeatsResponse(arg) {
|
|
157
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ListAdminRelayHeartbeatsResponse)) {
|
|
158
|
+
throw new Error('Expected argument of type gateway.web.v1.ListAdminRelayHeartbeatsResponse');
|
|
159
|
+
}
|
|
160
|
+
return Buffer.from(arg.serializeBinary());
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function deserialize_gateway_web_v1_ListAdminRelayHeartbeatsResponse(buffer_arg) {
|
|
164
|
+
return proto_gateway_web_v1_admin_gateway_pb.ListAdminRelayHeartbeatsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
165
|
+
}
|
|
166
|
+
|
|
144
167
|
function serialize_gateway_web_v1_ListInviteCodesRequest(arg) {
|
|
145
168
|
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ListInviteCodesRequest)) {
|
|
146
169
|
throw new Error('Expected argument of type gateway.web.v1.ListInviteCodesRequest');
|
|
@@ -163,6 +186,72 @@ function deserialize_gateway_web_v1_ListInviteCodesResponse(buffer_arg) {
|
|
|
163
186
|
return proto_gateway_web_v1_admin_gateway_pb.ListInviteCodesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
164
187
|
}
|
|
165
188
|
|
|
189
|
+
function serialize_gateway_web_v1_ResolveOrgDetailsRequest(arg) {
|
|
190
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ResolveOrgDetailsRequest)) {
|
|
191
|
+
throw new Error('Expected argument of type gateway.web.v1.ResolveOrgDetailsRequest');
|
|
192
|
+
}
|
|
193
|
+
return Buffer.from(arg.serializeBinary());
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function deserialize_gateway_web_v1_ResolveOrgDetailsRequest(buffer_arg) {
|
|
197
|
+
return proto_gateway_web_v1_admin_gateway_pb.ResolveOrgDetailsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
function serialize_gateway_web_v1_ResolveOrgDetailsResponse(arg) {
|
|
201
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ResolveOrgDetailsResponse)) {
|
|
202
|
+
throw new Error('Expected argument of type gateway.web.v1.ResolveOrgDetailsResponse');
|
|
203
|
+
}
|
|
204
|
+
return Buffer.from(arg.serializeBinary());
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
function deserialize_gateway_web_v1_ResolveOrgDetailsResponse(buffer_arg) {
|
|
208
|
+
return proto_gateway_web_v1_admin_gateway_pb.ResolveOrgDetailsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function serialize_gateway_web_v1_ResolveProjectDetailsRequest(arg) {
|
|
212
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ResolveProjectDetailsRequest)) {
|
|
213
|
+
throw new Error('Expected argument of type gateway.web.v1.ResolveProjectDetailsRequest');
|
|
214
|
+
}
|
|
215
|
+
return Buffer.from(arg.serializeBinary());
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
function deserialize_gateway_web_v1_ResolveProjectDetailsRequest(buffer_arg) {
|
|
219
|
+
return proto_gateway_web_v1_admin_gateway_pb.ResolveProjectDetailsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
function serialize_gateway_web_v1_ResolveProjectDetailsResponse(arg) {
|
|
223
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ResolveProjectDetailsResponse)) {
|
|
224
|
+
throw new Error('Expected argument of type gateway.web.v1.ResolveProjectDetailsResponse');
|
|
225
|
+
}
|
|
226
|
+
return Buffer.from(arg.serializeBinary());
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function deserialize_gateway_web_v1_ResolveProjectDetailsResponse(buffer_arg) {
|
|
230
|
+
return proto_gateway_web_v1_admin_gateway_pb.ResolveProjectDetailsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
function serialize_gateway_web_v1_ResolveUserDetailsRequest(arg) {
|
|
234
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ResolveUserDetailsRequest)) {
|
|
235
|
+
throw new Error('Expected argument of type gateway.web.v1.ResolveUserDetailsRequest');
|
|
236
|
+
}
|
|
237
|
+
return Buffer.from(arg.serializeBinary());
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
function deserialize_gateway_web_v1_ResolveUserDetailsRequest(buffer_arg) {
|
|
241
|
+
return proto_gateway_web_v1_admin_gateway_pb.ResolveUserDetailsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
function serialize_gateway_web_v1_ResolveUserDetailsResponse(arg) {
|
|
245
|
+
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.ResolveUserDetailsResponse)) {
|
|
246
|
+
throw new Error('Expected argument of type gateway.web.v1.ResolveUserDetailsResponse');
|
|
247
|
+
}
|
|
248
|
+
return Buffer.from(arg.serializeBinary());
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
function deserialize_gateway_web_v1_ResolveUserDetailsResponse(buffer_arg) {
|
|
252
|
+
return proto_gateway_web_v1_admin_gateway_pb.ResolveUserDetailsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
253
|
+
}
|
|
254
|
+
|
|
166
255
|
function serialize_gateway_web_v1_SendInviteCodeEmailRequest(arg) {
|
|
167
256
|
if (!(arg instanceof proto_gateway_web_v1_admin_gateway_pb.SendInviteCodeEmailRequest)) {
|
|
168
257
|
throw new Error('Expected argument of type gateway.web.v1.SendInviteCodeEmailRequest');
|
|
@@ -421,6 +510,63 @@ confirmAIProviders: {
|
|
|
421
510
|
responseSerialize: serialize_gateway_web_v1_ConfirmAIBillersResponse,
|
|
422
511
|
responseDeserialize: deserialize_gateway_web_v1_ConfirmAIBillersResponse,
|
|
423
512
|
},
|
|
513
|
+
// Every Terma relay across the fleet with its latest heartbeat in full, one row per (organization, project, user,
|
|
514
|
+
// host), most recently seen first (keyset-paginated); it proxies
|
|
515
|
+
// telemetry.api.v1.TelemetryAdminService.ListRelayHeartbeats. Rows carry ids, not names.
|
|
516
|
+
listRelayHeartbeats: {
|
|
517
|
+
path: '/gateway.web.v1.AdminGatewayService/ListRelayHeartbeats',
|
|
518
|
+
requestStream: false,
|
|
519
|
+
responseStream: false,
|
|
520
|
+
requestType: proto_gateway_web_v1_admin_gateway_pb.ListAdminRelayHeartbeatsRequest,
|
|
521
|
+
responseType: proto_gateway_web_v1_admin_gateway_pb.ListAdminRelayHeartbeatsResponse,
|
|
522
|
+
requestSerialize: serialize_gateway_web_v1_ListAdminRelayHeartbeatsRequest,
|
|
523
|
+
requestDeserialize: deserialize_gateway_web_v1_ListAdminRelayHeartbeatsRequest,
|
|
524
|
+
responseSerialize: serialize_gateway_web_v1_ListAdminRelayHeartbeatsResponse,
|
|
525
|
+
responseDeserialize: deserialize_gateway_web_v1_ListAdminRelayHeartbeatsResponse,
|
|
526
|
+
},
|
|
527
|
+
// ResolveOrgDetails resolves organization ids to their names, in batch, across every organization of this gateway's
|
|
528
|
+
// product. Unknown ids, and ids of another product, are left out; it never errors on them. A malformed id, or more
|
|
529
|
+
// than 1000 ids, is a validation error. It proxies account.api.v1.AccountAdminService.ResolveOrgDetails.
|
|
530
|
+
resolveOrgDetails: {
|
|
531
|
+
path: '/gateway.web.v1.AdminGatewayService/ResolveOrgDetails',
|
|
532
|
+
requestStream: false,
|
|
533
|
+
responseStream: false,
|
|
534
|
+
requestType: proto_gateway_web_v1_admin_gateway_pb.ResolveOrgDetailsRequest,
|
|
535
|
+
responseType: proto_gateway_web_v1_admin_gateway_pb.ResolveOrgDetailsResponse,
|
|
536
|
+
requestSerialize: serialize_gateway_web_v1_ResolveOrgDetailsRequest,
|
|
537
|
+
requestDeserialize: deserialize_gateway_web_v1_ResolveOrgDetailsRequest,
|
|
538
|
+
responseSerialize: serialize_gateway_web_v1_ResolveOrgDetailsResponse,
|
|
539
|
+
responseDeserialize: deserialize_gateway_web_v1_ResolveOrgDetailsResponse,
|
|
540
|
+
},
|
|
541
|
+
// ResolveProjectDetails resolves project (team) ids to their names, in batch, across every organization of this
|
|
542
|
+
// gateway's product, deleted projects included. Unknown ids, and ids of another product, are left out; it never
|
|
543
|
+
// errors on them. A malformed id, or more than 1000 ids, is a validation error. It proxies
|
|
544
|
+
// account.api.v1.AccountAdminService.ResolveProjectDetails.
|
|
545
|
+
resolveProjectDetails: {
|
|
546
|
+
path: '/gateway.web.v1.AdminGatewayService/ResolveProjectDetails',
|
|
547
|
+
requestStream: false,
|
|
548
|
+
responseStream: false,
|
|
549
|
+
requestType: proto_gateway_web_v1_admin_gateway_pb.ResolveProjectDetailsRequest,
|
|
550
|
+
responseType: proto_gateway_web_v1_admin_gateway_pb.ResolveProjectDetailsResponse,
|
|
551
|
+
requestSerialize: serialize_gateway_web_v1_ResolveProjectDetailsRequest,
|
|
552
|
+
requestDeserialize: deserialize_gateway_web_v1_ResolveProjectDetailsRequest,
|
|
553
|
+
responseSerialize: serialize_gateway_web_v1_ResolveProjectDetailsResponse,
|
|
554
|
+
responseDeserialize: deserialize_gateway_web_v1_ResolveProjectDetailsResponse,
|
|
555
|
+
},
|
|
556
|
+
// ResolveUserDetails resolves one user's email address and name, on demand. An unknown user, or one of another
|
|
557
|
+
// product, is NOT_FOUND; a malformed or empty id is a validation error; a user directory outage is UNAVAILABLE. It
|
|
558
|
+
// proxies account.api.v1.AccountAdminService.ResolveUserDetails.
|
|
559
|
+
resolveUserDetails: {
|
|
560
|
+
path: '/gateway.web.v1.AdminGatewayService/ResolveUserDetails',
|
|
561
|
+
requestStream: false,
|
|
562
|
+
responseStream: false,
|
|
563
|
+
requestType: proto_gateway_web_v1_admin_gateway_pb.ResolveUserDetailsRequest,
|
|
564
|
+
responseType: proto_gateway_web_v1_admin_gateway_pb.ResolveUserDetailsResponse,
|
|
565
|
+
requestSerialize: serialize_gateway_web_v1_ResolveUserDetailsRequest,
|
|
566
|
+
requestDeserialize: deserialize_gateway_web_v1_ResolveUserDetailsRequest,
|
|
567
|
+
responseSerialize: serialize_gateway_web_v1_ResolveUserDetailsResponse,
|
|
568
|
+
responseDeserialize: deserialize_gateway_web_v1_ResolveUserDetailsResponse,
|
|
569
|
+
},
|
|
424
570
|
};
|
|
425
571
|
|
|
426
572
|
exports.AdminGatewayServiceClient = grpc.makeGenericClientConstructor(AdminGatewayServiceService, 'AdminGatewayService');
|