@miradorlabs/web-grpc 2.71.0 → 2.74.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.
@@ -204,6 +204,28 @@ function deserialize_gateway_web_v1_DeleteWebApiKeyResponse(buffer_arg) {
204
204
  return proto_gateway_web_v1_account_gateway_pb.DeleteWebApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
205
205
  }
206
206
 
207
+ function serialize_gateway_web_v1_GetProductFeaturesRequest(arg) {
208
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.GetProductFeaturesRequest)) {
209
+ throw new Error('Expected argument of type gateway.web.v1.GetProductFeaturesRequest');
210
+ }
211
+ return Buffer.from(arg.serializeBinary());
212
+ }
213
+
214
+ function deserialize_gateway_web_v1_GetProductFeaturesRequest(buffer_arg) {
215
+ return proto_gateway_web_v1_account_gateway_pb.GetProductFeaturesRequest.deserializeBinary(new Uint8Array(buffer_arg));
216
+ }
217
+
218
+ function serialize_gateway_web_v1_GetProductFeaturesResponse(arg) {
219
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.GetProductFeaturesResponse)) {
220
+ throw new Error('Expected argument of type gateway.web.v1.GetProductFeaturesResponse');
221
+ }
222
+ return Buffer.from(arg.serializeBinary());
223
+ }
224
+
225
+ function deserialize_gateway_web_v1_GetProductFeaturesResponse(buffer_arg) {
226
+ return proto_gateway_web_v1_account_gateway_pb.GetProductFeaturesResponse.deserializeBinary(new Uint8Array(buffer_arg));
227
+ }
228
+
207
229
  function serialize_gateway_web_v1_InviteUserRequest(arg) {
208
230
  if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.InviteUserRequest)) {
209
231
  throw new Error('Expected argument of type gateway.web.v1.InviteUserRequest');
@@ -457,6 +479,28 @@ function deserialize_gateway_web_v1_ResendInviteResponse(buffer_arg) {
457
479
  return proto_gateway_web_v1_account_gateway_pb.ResendInviteResponse.deserializeBinary(new Uint8Array(buffer_arg));
458
480
  }
459
481
 
482
+ function serialize_gateway_web_v1_RevealServerApiKeyRequest(arg) {
483
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RevealServerApiKeyRequest)) {
484
+ throw new Error('Expected argument of type gateway.web.v1.RevealServerApiKeyRequest');
485
+ }
486
+ return Buffer.from(arg.serializeBinary());
487
+ }
488
+
489
+ function deserialize_gateway_web_v1_RevealServerApiKeyRequest(buffer_arg) {
490
+ return proto_gateway_web_v1_account_gateway_pb.RevealServerApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
491
+ }
492
+
493
+ function serialize_gateway_web_v1_RevealServerApiKeyResponse(arg) {
494
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RevealServerApiKeyResponse)) {
495
+ throw new Error('Expected argument of type gateway.web.v1.RevealServerApiKeyResponse');
496
+ }
497
+ return Buffer.from(arg.serializeBinary());
498
+ }
499
+
500
+ function deserialize_gateway_web_v1_RevealServerApiKeyResponse(buffer_arg) {
501
+ return proto_gateway_web_v1_account_gateway_pb.RevealServerApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
502
+ }
503
+
460
504
  function serialize_gateway_web_v1_RevokeCliSessionRequest(arg) {
461
505
  if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RevokeCliSessionRequest)) {
462
506
  throw new Error('Expected argument of type gateway.web.v1.RevokeCliSessionRequest');
@@ -680,6 +724,20 @@ logon: {
680
724
  responseSerialize: serialize_gateway_web_v1_LogonResponse,
681
725
  responseDeserialize: deserialize_gateway_web_v1_LogonResponse,
682
726
  },
727
+ // GetProductFeatures returns this gateway's product feature flags (e.g. beta-invite gating). The
728
+ // product is the gateway's fixed deployment identity, never a request field. Public: the pre-auth
729
+ // signup page reads it to decide whether to show the invite-code gate.
730
+ getProductFeatures: {
731
+ path: '/gateway.web.v1.AccountGatewayService/GetProductFeatures',
732
+ requestStream: false,
733
+ responseStream: false,
734
+ requestType: proto_gateway_web_v1_account_gateway_pb.GetProductFeaturesRequest,
735
+ responseType: proto_gateway_web_v1_account_gateway_pb.GetProductFeaturesResponse,
736
+ requestSerialize: serialize_gateway_web_v1_GetProductFeaturesRequest,
737
+ requestDeserialize: deserialize_gateway_web_v1_GetProductFeaturesRequest,
738
+ responseSerialize: serialize_gateway_web_v1_GetProductFeaturesResponse,
739
+ responseDeserialize: deserialize_gateway_web_v1_GetProductFeaturesResponse,
740
+ },
683
741
  // Project operations
684
742
  createProject: {
685
743
  path: '/gateway.web.v1.AccountGatewayService/CreateProject',
@@ -692,6 +750,17 @@ createProject: {
692
750
  responseSerialize: serialize_gateway_web_v1_CreateProjectResponse,
693
751
  responseDeserialize: deserialize_gateway_web_v1_CreateProjectResponse,
694
752
  },
753
+ revealServerApiKey: {
754
+ path: '/gateway.web.v1.AccountGatewayService/RevealServerApiKey',
755
+ requestStream: false,
756
+ responseStream: false,
757
+ requestType: proto_gateway_web_v1_account_gateway_pb.RevealServerApiKeyRequest,
758
+ responseType: proto_gateway_web_v1_account_gateway_pb.RevealServerApiKeyResponse,
759
+ requestSerialize: serialize_gateway_web_v1_RevealServerApiKeyRequest,
760
+ requestDeserialize: deserialize_gateway_web_v1_RevealServerApiKeyRequest,
761
+ responseSerialize: serialize_gateway_web_v1_RevealServerApiKeyResponse,
762
+ responseDeserialize: deserialize_gateway_web_v1_RevealServerApiKeyResponse,
763
+ },
695
764
  listProjects: {
696
765
  path: '/gateway.web.v1.AccountGatewayService/ListProjects',
697
766
  requestStream: false,