@miradorlabs/web-grpc 2.29.0 → 2.30.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.
@@ -28,6 +28,28 @@ function deserialize_gateway_web_v1_AddDemoProjectResponse(buffer_arg) {
28
28
  return proto_gateway_web_v1_account_gateway_pb.AddDemoProjectResponse.deserializeBinary(new Uint8Array(buffer_arg));
29
29
  }
30
30
 
31
+ function serialize_gateway_web_v1_AuthorizeCliLoginRequest(arg) {
32
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.AuthorizeCliLoginRequest)) {
33
+ throw new Error('Expected argument of type gateway.web.v1.AuthorizeCliLoginRequest');
34
+ }
35
+ return Buffer.from(arg.serializeBinary());
36
+ }
37
+
38
+ function deserialize_gateway_web_v1_AuthorizeCliLoginRequest(buffer_arg) {
39
+ return proto_gateway_web_v1_account_gateway_pb.AuthorizeCliLoginRequest.deserializeBinary(new Uint8Array(buffer_arg));
40
+ }
41
+
42
+ function serialize_gateway_web_v1_AuthorizeCliLoginResponse(arg) {
43
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.AuthorizeCliLoginResponse)) {
44
+ throw new Error('Expected argument of type gateway.web.v1.AuthorizeCliLoginResponse');
45
+ }
46
+ return Buffer.from(arg.serializeBinary());
47
+ }
48
+
49
+ function deserialize_gateway_web_v1_AuthorizeCliLoginResponse(buffer_arg) {
50
+ return proto_gateway_web_v1_account_gateway_pb.AuthorizeCliLoginResponse.deserializeBinary(new Uint8Array(buffer_arg));
51
+ }
52
+
31
53
  function serialize_gateway_web_v1_CreateOrganizationRequest(arg) {
32
54
  if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateOrganizationRequest)) {
33
55
  throw new Error('Expected argument of type gateway.web.v1.CreateOrganizationRequest');
@@ -204,6 +226,28 @@ function deserialize_gateway_web_v1_InviteUserResponse(buffer_arg) {
204
226
  return proto_gateway_web_v1_account_gateway_pb.InviteUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
205
227
  }
206
228
 
229
+ function serialize_gateway_web_v1_ListCliSessionsRequest(arg) {
230
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListCliSessionsRequest)) {
231
+ throw new Error('Expected argument of type gateway.web.v1.ListCliSessionsRequest');
232
+ }
233
+ return Buffer.from(arg.serializeBinary());
234
+ }
235
+
236
+ function deserialize_gateway_web_v1_ListCliSessionsRequest(buffer_arg) {
237
+ return proto_gateway_web_v1_account_gateway_pb.ListCliSessionsRequest.deserializeBinary(new Uint8Array(buffer_arg));
238
+ }
239
+
240
+ function serialize_gateway_web_v1_ListCliSessionsResponse(arg) {
241
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListCliSessionsResponse)) {
242
+ throw new Error('Expected argument of type gateway.web.v1.ListCliSessionsResponse');
243
+ }
244
+ return Buffer.from(arg.serializeBinary());
245
+ }
246
+
247
+ function deserialize_gateway_web_v1_ListCliSessionsResponse(buffer_arg) {
248
+ return proto_gateway_web_v1_account_gateway_pb.ListCliSessionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
249
+ }
250
+
207
251
  function serialize_gateway_web_v1_ListInvitationsRequest(arg) {
208
252
  if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListInvitationsRequest)) {
209
253
  throw new Error('Expected argument of type gateway.web.v1.ListInvitationsRequest');
@@ -413,6 +457,28 @@ function deserialize_gateway_web_v1_ResendInviteResponse(buffer_arg) {
413
457
  return proto_gateway_web_v1_account_gateway_pb.ResendInviteResponse.deserializeBinary(new Uint8Array(buffer_arg));
414
458
  }
415
459
 
460
+ function serialize_gateway_web_v1_RevokeCliSessionRequest(arg) {
461
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RevokeCliSessionRequest)) {
462
+ throw new Error('Expected argument of type gateway.web.v1.RevokeCliSessionRequest');
463
+ }
464
+ return Buffer.from(arg.serializeBinary());
465
+ }
466
+
467
+ function deserialize_gateway_web_v1_RevokeCliSessionRequest(buffer_arg) {
468
+ return proto_gateway_web_v1_account_gateway_pb.RevokeCliSessionRequest.deserializeBinary(new Uint8Array(buffer_arg));
469
+ }
470
+
471
+ function serialize_gateway_web_v1_RevokeCliSessionResponse(arg) {
472
+ if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RevokeCliSessionResponse)) {
473
+ throw new Error('Expected argument of type gateway.web.v1.RevokeCliSessionResponse');
474
+ }
475
+ return Buffer.from(arg.serializeBinary());
476
+ }
477
+
478
+ function deserialize_gateway_web_v1_RevokeCliSessionResponse(buffer_arg) {
479
+ return proto_gateway_web_v1_account_gateway_pb.RevokeCliSessionResponse.deserializeBinary(new Uint8Array(buffer_arg));
480
+ }
481
+
416
482
  function serialize_gateway_web_v1_RevokeInvitationRequest(arg) {
417
483
  if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RevokeInvitationRequest)) {
418
484
  throw new Error('Expected argument of type gateway.web.v1.RevokeInvitationRequest');
@@ -908,6 +974,40 @@ streamProjectsStats: {
908
974
  responseSerialize: serialize_gateway_web_v1_ProjectsStatsEnvelope,
909
975
  responseDeserialize: deserialize_gateway_web_v1_ProjectsStatsEnvelope,
910
976
  },
977
+ // CLI authorization
978
+ authorizeCliLogin: {
979
+ path: '/gateway.web.v1.AccountGatewayService/AuthorizeCliLogin',
980
+ requestStream: false,
981
+ responseStream: false,
982
+ requestType: proto_gateway_web_v1_account_gateway_pb.AuthorizeCliLoginRequest,
983
+ responseType: proto_gateway_web_v1_account_gateway_pb.AuthorizeCliLoginResponse,
984
+ requestSerialize: serialize_gateway_web_v1_AuthorizeCliLoginRequest,
985
+ requestDeserialize: deserialize_gateway_web_v1_AuthorizeCliLoginRequest,
986
+ responseSerialize: serialize_gateway_web_v1_AuthorizeCliLoginResponse,
987
+ responseDeserialize: deserialize_gateway_web_v1_AuthorizeCliLoginResponse,
988
+ },
989
+ listCliSessions: {
990
+ path: '/gateway.web.v1.AccountGatewayService/ListCliSessions',
991
+ requestStream: false,
992
+ responseStream: false,
993
+ requestType: proto_gateway_web_v1_account_gateway_pb.ListCliSessionsRequest,
994
+ responseType: proto_gateway_web_v1_account_gateway_pb.ListCliSessionsResponse,
995
+ requestSerialize: serialize_gateway_web_v1_ListCliSessionsRequest,
996
+ requestDeserialize: deserialize_gateway_web_v1_ListCliSessionsRequest,
997
+ responseSerialize: serialize_gateway_web_v1_ListCliSessionsResponse,
998
+ responseDeserialize: deserialize_gateway_web_v1_ListCliSessionsResponse,
999
+ },
1000
+ revokeCliSession: {
1001
+ path: '/gateway.web.v1.AccountGatewayService/RevokeCliSession',
1002
+ requestStream: false,
1003
+ responseStream: false,
1004
+ requestType: proto_gateway_web_v1_account_gateway_pb.RevokeCliSessionRequest,
1005
+ responseType: proto_gateway_web_v1_account_gateway_pb.RevokeCliSessionResponse,
1006
+ requestSerialize: serialize_gateway_web_v1_RevokeCliSessionRequest,
1007
+ requestDeserialize: deserialize_gateway_web_v1_RevokeCliSessionRequest,
1008
+ responseSerialize: serialize_gateway_web_v1_RevokeCliSessionResponse,
1009
+ responseDeserialize: deserialize_gateway_web_v1_RevokeCliSessionResponse,
1010
+ },
911
1011
  };
912
1012
 
913
1013
  exports.AccountGatewayServiceClient = grpc.makeGenericClientConstructor(AccountGatewayServiceService, 'AccountGatewayService');