@miradorlabs/web-grpc 4.21.0 → 4.23.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 +1 -1
- 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 +1448 -105
- package/proto/gateway/web/v1/account_gateway_grpc_pb.js +137 -0
- package/proto/gateway/web/v1/account_gateway_pb.js +2522 -39
- package/proto/gateway/web/v1/admin_gateway.ts +1 -1
- package/proto/gateway/web/v1/ai_gateway.ts +1 -1
- 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/claude_enterprise_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/desktop_auth_gateway.ts +194 -1
- package/proto/gateway/web/v1/desktop_auth_gateway_grpc_pb.js +35 -0
- package/proto/gateway/web/v1/desktop_auth_gateway_pb.js +355 -0
- 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/notification_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
|
@@ -51,6 +51,28 @@ function deserialize_gateway_web_v1_ApproveMcpAuthorizationResponse(buffer_arg)
|
|
|
51
51
|
return proto_gateway_web_v1_account_gateway_pb.ApproveMcpAuthorizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
function serialize_gateway_web_v1_AssignProjectRoleRequest(arg) {
|
|
55
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.AssignProjectRoleRequest)) {
|
|
56
|
+
throw new Error('Expected argument of type gateway.web.v1.AssignProjectRoleRequest');
|
|
57
|
+
}
|
|
58
|
+
return Buffer.from(arg.serializeBinary());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function deserialize_gateway_web_v1_AssignProjectRoleRequest(buffer_arg) {
|
|
62
|
+
return proto_gateway_web_v1_account_gateway_pb.AssignProjectRoleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function serialize_gateway_web_v1_AssignProjectRoleResponse(arg) {
|
|
66
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.AssignProjectRoleResponse)) {
|
|
67
|
+
throw new Error('Expected argument of type gateway.web.v1.AssignProjectRoleResponse');
|
|
68
|
+
}
|
|
69
|
+
return Buffer.from(arg.serializeBinary());
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function deserialize_gateway_web_v1_AssignProjectRoleResponse(buffer_arg) {
|
|
73
|
+
return proto_gateway_web_v1_account_gateway_pb.AssignProjectRoleResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
74
|
+
}
|
|
75
|
+
|
|
54
76
|
function serialize_gateway_web_v1_AuthorizeCliLoginRequest(arg) {
|
|
55
77
|
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.AuthorizeCliLoginRequest)) {
|
|
56
78
|
throw new Error('Expected argument of type gateway.web.v1.AuthorizeCliLoginRequest');
|
|
@@ -359,6 +381,28 @@ function deserialize_gateway_web_v1_ListInvitationsResponse(buffer_arg) {
|
|
|
359
381
|
return proto_gateway_web_v1_account_gateway_pb.ListInvitationsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
360
382
|
}
|
|
361
383
|
|
|
384
|
+
function serialize_gateway_web_v1_ListProjectRolesRequest(arg) {
|
|
385
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListProjectRolesRequest)) {
|
|
386
|
+
throw new Error('Expected argument of type gateway.web.v1.ListProjectRolesRequest');
|
|
387
|
+
}
|
|
388
|
+
return Buffer.from(arg.serializeBinary());
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
function deserialize_gateway_web_v1_ListProjectRolesRequest(buffer_arg) {
|
|
392
|
+
return proto_gateway_web_v1_account_gateway_pb.ListProjectRolesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
function serialize_gateway_web_v1_ListProjectRolesResponse(arg) {
|
|
396
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListProjectRolesResponse)) {
|
|
397
|
+
throw new Error('Expected argument of type gateway.web.v1.ListProjectRolesResponse');
|
|
398
|
+
}
|
|
399
|
+
return Buffer.from(arg.serializeBinary());
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
function deserialize_gateway_web_v1_ListProjectRolesResponse(buffer_arg) {
|
|
403
|
+
return proto_gateway_web_v1_account_gateway_pb.ListProjectRolesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
404
|
+
}
|
|
405
|
+
|
|
362
406
|
function serialize_gateway_web_v1_ListProjectsRequest(arg) {
|
|
363
407
|
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListProjectsRequest)) {
|
|
364
408
|
throw new Error('Expected argument of type gateway.web.v1.ListProjectsRequest');
|
|
@@ -502,6 +546,28 @@ function deserialize_gateway_web_v1_RemoveDemoProjectResponse(buffer_arg) {
|
|
|
502
546
|
return proto_gateway_web_v1_account_gateway_pb.RemoveDemoProjectResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
503
547
|
}
|
|
504
548
|
|
|
549
|
+
function serialize_gateway_web_v1_RemoveProjectRoleRequest(arg) {
|
|
550
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RemoveProjectRoleRequest)) {
|
|
551
|
+
throw new Error('Expected argument of type gateway.web.v1.RemoveProjectRoleRequest');
|
|
552
|
+
}
|
|
553
|
+
return Buffer.from(arg.serializeBinary());
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
function deserialize_gateway_web_v1_RemoveProjectRoleRequest(buffer_arg) {
|
|
557
|
+
return proto_gateway_web_v1_account_gateway_pb.RemoveProjectRoleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
function serialize_gateway_web_v1_RemoveProjectRoleResponse(arg) {
|
|
561
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RemoveProjectRoleResponse)) {
|
|
562
|
+
throw new Error('Expected argument of type gateway.web.v1.RemoveProjectRoleResponse');
|
|
563
|
+
}
|
|
564
|
+
return Buffer.from(arg.serializeBinary());
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
function deserialize_gateway_web_v1_RemoveProjectRoleResponse(buffer_arg) {
|
|
568
|
+
return proto_gateway_web_v1_account_gateway_pb.RemoveProjectRoleResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
569
|
+
}
|
|
570
|
+
|
|
505
571
|
function serialize_gateway_web_v1_RemoveUserRequest(arg) {
|
|
506
572
|
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RemoveUserRequest)) {
|
|
507
573
|
throw new Error('Expected argument of type gateway.web.v1.RemoveUserRequest');
|
|
@@ -667,6 +733,28 @@ function deserialize_gateway_web_v1_UpdateProjectResponse(buffer_arg) {
|
|
|
667
733
|
return proto_gateway_web_v1_account_gateway_pb.UpdateProjectResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
668
734
|
}
|
|
669
735
|
|
|
736
|
+
function serialize_gateway_web_v1_UpdateProjectRoleRequest(arg) {
|
|
737
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateProjectRoleRequest)) {
|
|
738
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateProjectRoleRequest');
|
|
739
|
+
}
|
|
740
|
+
return Buffer.from(arg.serializeBinary());
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
function deserialize_gateway_web_v1_UpdateProjectRoleRequest(buffer_arg) {
|
|
744
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateProjectRoleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
function serialize_gateway_web_v1_UpdateProjectRoleResponse(arg) {
|
|
748
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateProjectRoleResponse)) {
|
|
749
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateProjectRoleResponse');
|
|
750
|
+
}
|
|
751
|
+
return Buffer.from(arg.serializeBinary());
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
function deserialize_gateway_web_v1_UpdateProjectRoleResponse(buffer_arg) {
|
|
755
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateProjectRoleResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
756
|
+
}
|
|
757
|
+
|
|
670
758
|
function serialize_gateway_web_v1_UpdateServerApiKeyRequest(arg) {
|
|
671
759
|
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyRequest)) {
|
|
672
760
|
throw new Error('Expected argument of type gateway.web.v1.UpdateServerApiKeyRequest');
|
|
@@ -1030,6 +1118,55 @@ listUsers: {
|
|
|
1030
1118
|
responseSerialize: serialize_gateway_web_v1_RemoveUserResponse,
|
|
1031
1119
|
responseDeserialize: deserialize_gateway_web_v1_RemoveUserResponse,
|
|
1032
1120
|
},
|
|
1121
|
+
// Team roles: who is in which project (a Terma team) and their role there. Organization admins only, in every
|
|
1122
|
+
// product. A project that is not an active project of the organization, the shared demo project included, is not
|
|
1123
|
+
// found; assigning a user who is not an activated member of the organization fails its precondition; assigning a
|
|
1124
|
+
// user who already has a role in the project already exists; updating or removing a role the user does not have is
|
|
1125
|
+
// not found. ListProjectRoles pages by user_id.
|
|
1126
|
+
assignProjectRole: {
|
|
1127
|
+
path: '/gateway.web.v1.AccountGatewayService/AssignProjectRole',
|
|
1128
|
+
requestStream: false,
|
|
1129
|
+
responseStream: false,
|
|
1130
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.AssignProjectRoleRequest,
|
|
1131
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.AssignProjectRoleResponse,
|
|
1132
|
+
requestSerialize: serialize_gateway_web_v1_AssignProjectRoleRequest,
|
|
1133
|
+
requestDeserialize: deserialize_gateway_web_v1_AssignProjectRoleRequest,
|
|
1134
|
+
responseSerialize: serialize_gateway_web_v1_AssignProjectRoleResponse,
|
|
1135
|
+
responseDeserialize: deserialize_gateway_web_v1_AssignProjectRoleResponse,
|
|
1136
|
+
},
|
|
1137
|
+
updateProjectRole: {
|
|
1138
|
+
path: '/gateway.web.v1.AccountGatewayService/UpdateProjectRole',
|
|
1139
|
+
requestStream: false,
|
|
1140
|
+
responseStream: false,
|
|
1141
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.UpdateProjectRoleRequest,
|
|
1142
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.UpdateProjectRoleResponse,
|
|
1143
|
+
requestSerialize: serialize_gateway_web_v1_UpdateProjectRoleRequest,
|
|
1144
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateProjectRoleRequest,
|
|
1145
|
+
responseSerialize: serialize_gateway_web_v1_UpdateProjectRoleResponse,
|
|
1146
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateProjectRoleResponse,
|
|
1147
|
+
},
|
|
1148
|
+
removeProjectRole: {
|
|
1149
|
+
path: '/gateway.web.v1.AccountGatewayService/RemoveProjectRole',
|
|
1150
|
+
requestStream: false,
|
|
1151
|
+
responseStream: false,
|
|
1152
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.RemoveProjectRoleRequest,
|
|
1153
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.RemoveProjectRoleResponse,
|
|
1154
|
+
requestSerialize: serialize_gateway_web_v1_RemoveProjectRoleRequest,
|
|
1155
|
+
requestDeserialize: deserialize_gateway_web_v1_RemoveProjectRoleRequest,
|
|
1156
|
+
responseSerialize: serialize_gateway_web_v1_RemoveProjectRoleResponse,
|
|
1157
|
+
responseDeserialize: deserialize_gateway_web_v1_RemoveProjectRoleResponse,
|
|
1158
|
+
},
|
|
1159
|
+
listProjectRoles: {
|
|
1160
|
+
path: '/gateway.web.v1.AccountGatewayService/ListProjectRoles',
|
|
1161
|
+
requestStream: false,
|
|
1162
|
+
responseStream: false,
|
|
1163
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.ListProjectRolesRequest,
|
|
1164
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.ListProjectRolesResponse,
|
|
1165
|
+
requestSerialize: serialize_gateway_web_v1_ListProjectRolesRequest,
|
|
1166
|
+
requestDeserialize: deserialize_gateway_web_v1_ListProjectRolesRequest,
|
|
1167
|
+
responseSerialize: serialize_gateway_web_v1_ListProjectRolesResponse,
|
|
1168
|
+
responseDeserialize: deserialize_gateway_web_v1_ListProjectRolesResponse,
|
|
1169
|
+
},
|
|
1033
1170
|
// Invitation management operations
|
|
1034
1171
|
inviteUser: {
|
|
1035
1172
|
path: '/gateway.web.v1.AccountGatewayService/InviteUser',
|