@miradorlabs/web-grpc 1.0.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/README.md +5 -0
- package/google/protobuf/timestamp.ts +229 -0
- package/package.json +11 -0
- package/proto/gateway/common/v1/status.ts +179 -0
- package/proto/gateway/common/v1/status_grpc_pb.js +1 -0
- package/proto/gateway/common/v1/status_pb.js +237 -0
- package/proto/gateway/common/v1/types.ts +176 -0
- package/proto/gateway/common/v1/types_grpc_pb.js +1 -0
- package/proto/gateway/common/v1/types_pb.js +216 -0
- package/proto/gateway/web/v1/account_gateway.ts +7037 -0
- package/proto/gateway/web/v1/account_gateway_grpc_pb.js +813 -0
- package/proto/gateway/web/v1/account_gateway_pb.js +14338 -0
- package/proto/gateway/web/v1/automation_gateway.ts +5605 -0
- package/proto/gateway/web/v1/automation_gateway_grpc_pb.js +485 -0
- package/proto/gateway/web/v1/automation_gateway_pb.js +11618 -0
- package/proto/gateway/web/v1/chain_gateway.ts +3805 -0
- package/proto/gateway/web/v1/chain_gateway_grpc_pb.js +115 -0
- package/proto/gateway/web/v1/chain_gateway_pb.js +7049 -0
- package/proto/gateway/web/v1/market_gateway.ts +492 -0
- package/proto/gateway/web/v1/market_gateway_grpc_pb.js +45 -0
- package/proto/gateway/web/v1/market_gateway_pb.js +1063 -0
- package/proto/gateway/web/v1/oauth_gateway.ts +1163 -0
- package/proto/gateway/web/v1/oauth_gateway_grpc_pb.js +150 -0
- package/proto/gateway/web/v1/oauth_gateway_pb.js +2316 -0
- package/proto/gateway/web/v1/plan_gateway.ts +2463 -0
- package/proto/gateway/web/v1/plan_gateway_grpc_pb.js +152 -0
- package/proto/gateway/web/v1/plan_gateway_pb.js +4840 -0
- package/proto/gateway/web/v1/stream_gateway.ts +2354 -0
- package/proto/gateway/web/v1/stream_gateway_grpc_pb.js +145 -0
- package/proto/gateway/web/v1/stream_gateway_pb.js +4593 -0
- package/proto/gateway/web/v1/trace_gateway.ts +16320 -0
- package/proto/gateway/web/v1/trace_gateway_grpc_pb.js +280 -0
- package/proto/gateway/web/v1/trace_gateway_pb.js +28667 -0
|
@@ -0,0 +1,813 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var proto_gateway_web_v1_account_gateway_pb = require('../../../../proto/gateway/web/v1/account_gateway_pb.js');
|
|
6
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
7
|
+
var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
|
|
8
|
+
|
|
9
|
+
function serialize_gateway_web_v1_CreateOrganizationRequest(arg) {
|
|
10
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateOrganizationRequest)) {
|
|
11
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateOrganizationRequest');
|
|
12
|
+
}
|
|
13
|
+
return Buffer.from(arg.serializeBinary());
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function deserialize_gateway_web_v1_CreateOrganizationRequest(buffer_arg) {
|
|
17
|
+
return proto_gateway_web_v1_account_gateway_pb.CreateOrganizationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function serialize_gateway_web_v1_CreateOrganizationResponse(arg) {
|
|
21
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateOrganizationResponse)) {
|
|
22
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateOrganizationResponse');
|
|
23
|
+
}
|
|
24
|
+
return Buffer.from(arg.serializeBinary());
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function deserialize_gateway_web_v1_CreateOrganizationResponse(buffer_arg) {
|
|
28
|
+
return proto_gateway_web_v1_account_gateway_pb.CreateOrganizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function serialize_gateway_web_v1_CreateProjectRequest(arg) {
|
|
32
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateProjectRequest)) {
|
|
33
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateProjectRequest');
|
|
34
|
+
}
|
|
35
|
+
return Buffer.from(arg.serializeBinary());
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function deserialize_gateway_web_v1_CreateProjectRequest(buffer_arg) {
|
|
39
|
+
return proto_gateway_web_v1_account_gateway_pb.CreateProjectRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function serialize_gateway_web_v1_CreateProjectResponse(arg) {
|
|
43
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateProjectResponse)) {
|
|
44
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateProjectResponse');
|
|
45
|
+
}
|
|
46
|
+
return Buffer.from(arg.serializeBinary());
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function deserialize_gateway_web_v1_CreateProjectResponse(buffer_arg) {
|
|
50
|
+
return proto_gateway_web_v1_account_gateway_pb.CreateProjectResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function serialize_gateway_web_v1_CreateServerApiKeyRequest(arg) {
|
|
54
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateServerApiKeyRequest)) {
|
|
55
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateServerApiKeyRequest');
|
|
56
|
+
}
|
|
57
|
+
return Buffer.from(arg.serializeBinary());
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function deserialize_gateway_web_v1_CreateServerApiKeyRequest(buffer_arg) {
|
|
61
|
+
return proto_gateway_web_v1_account_gateway_pb.CreateServerApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function serialize_gateway_web_v1_CreateServerApiKeyResponse(arg) {
|
|
65
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateServerApiKeyResponse)) {
|
|
66
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateServerApiKeyResponse');
|
|
67
|
+
}
|
|
68
|
+
return Buffer.from(arg.serializeBinary());
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function deserialize_gateway_web_v1_CreateServerApiKeyResponse(buffer_arg) {
|
|
72
|
+
return proto_gateway_web_v1_account_gateway_pb.CreateServerApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function serialize_gateway_web_v1_CreateWebApiKeyRequest(arg) {
|
|
76
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateWebApiKeyRequest)) {
|
|
77
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateWebApiKeyRequest');
|
|
78
|
+
}
|
|
79
|
+
return Buffer.from(arg.serializeBinary());
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function deserialize_gateway_web_v1_CreateWebApiKeyRequest(buffer_arg) {
|
|
83
|
+
return proto_gateway_web_v1_account_gateway_pb.CreateWebApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function serialize_gateway_web_v1_CreateWebApiKeyResponse(arg) {
|
|
87
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.CreateWebApiKeyResponse)) {
|
|
88
|
+
throw new Error('Expected argument of type gateway.web.v1.CreateWebApiKeyResponse');
|
|
89
|
+
}
|
|
90
|
+
return Buffer.from(arg.serializeBinary());
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function deserialize_gateway_web_v1_CreateWebApiKeyResponse(buffer_arg) {
|
|
94
|
+
return proto_gateway_web_v1_account_gateway_pb.CreateWebApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function serialize_gateway_web_v1_DeleteServerApiKeyRequest(arg) {
|
|
98
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.DeleteServerApiKeyRequest)) {
|
|
99
|
+
throw new Error('Expected argument of type gateway.web.v1.DeleteServerApiKeyRequest');
|
|
100
|
+
}
|
|
101
|
+
return Buffer.from(arg.serializeBinary());
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function deserialize_gateway_web_v1_DeleteServerApiKeyRequest(buffer_arg) {
|
|
105
|
+
return proto_gateway_web_v1_account_gateway_pb.DeleteServerApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function serialize_gateway_web_v1_DeleteServerApiKeyResponse(arg) {
|
|
109
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.DeleteServerApiKeyResponse)) {
|
|
110
|
+
throw new Error('Expected argument of type gateway.web.v1.DeleteServerApiKeyResponse');
|
|
111
|
+
}
|
|
112
|
+
return Buffer.from(arg.serializeBinary());
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function deserialize_gateway_web_v1_DeleteServerApiKeyResponse(buffer_arg) {
|
|
116
|
+
return proto_gateway_web_v1_account_gateway_pb.DeleteServerApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function serialize_gateway_web_v1_DeleteWebApiKeyRequest(arg) {
|
|
120
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.DeleteWebApiKeyRequest)) {
|
|
121
|
+
throw new Error('Expected argument of type gateway.web.v1.DeleteWebApiKeyRequest');
|
|
122
|
+
}
|
|
123
|
+
return Buffer.from(arg.serializeBinary());
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function deserialize_gateway_web_v1_DeleteWebApiKeyRequest(buffer_arg) {
|
|
127
|
+
return proto_gateway_web_v1_account_gateway_pb.DeleteWebApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function serialize_gateway_web_v1_DeleteWebApiKeyResponse(arg) {
|
|
131
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.DeleteWebApiKeyResponse)) {
|
|
132
|
+
throw new Error('Expected argument of type gateway.web.v1.DeleteWebApiKeyResponse');
|
|
133
|
+
}
|
|
134
|
+
return Buffer.from(arg.serializeBinary());
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function deserialize_gateway_web_v1_DeleteWebApiKeyResponse(buffer_arg) {
|
|
138
|
+
return proto_gateway_web_v1_account_gateway_pb.DeleteWebApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function serialize_gateway_web_v1_InviteUserRequest(arg) {
|
|
142
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.InviteUserRequest)) {
|
|
143
|
+
throw new Error('Expected argument of type gateway.web.v1.InviteUserRequest');
|
|
144
|
+
}
|
|
145
|
+
return Buffer.from(arg.serializeBinary());
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
function deserialize_gateway_web_v1_InviteUserRequest(buffer_arg) {
|
|
149
|
+
return proto_gateway_web_v1_account_gateway_pb.InviteUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
function serialize_gateway_web_v1_InviteUserResponse(arg) {
|
|
153
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.InviteUserResponse)) {
|
|
154
|
+
throw new Error('Expected argument of type gateway.web.v1.InviteUserResponse');
|
|
155
|
+
}
|
|
156
|
+
return Buffer.from(arg.serializeBinary());
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
function deserialize_gateway_web_v1_InviteUserResponse(buffer_arg) {
|
|
160
|
+
return proto_gateway_web_v1_account_gateway_pb.InviteUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function serialize_gateway_web_v1_ListInvitationsRequest(arg) {
|
|
164
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListInvitationsRequest)) {
|
|
165
|
+
throw new Error('Expected argument of type gateway.web.v1.ListInvitationsRequest');
|
|
166
|
+
}
|
|
167
|
+
return Buffer.from(arg.serializeBinary());
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
function deserialize_gateway_web_v1_ListInvitationsRequest(buffer_arg) {
|
|
171
|
+
return proto_gateway_web_v1_account_gateway_pb.ListInvitationsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
function serialize_gateway_web_v1_ListInvitationsResponse(arg) {
|
|
175
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListInvitationsResponse)) {
|
|
176
|
+
throw new Error('Expected argument of type gateway.web.v1.ListInvitationsResponse');
|
|
177
|
+
}
|
|
178
|
+
return Buffer.from(arg.serializeBinary());
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
function deserialize_gateway_web_v1_ListInvitationsResponse(buffer_arg) {
|
|
182
|
+
return proto_gateway_web_v1_account_gateway_pb.ListInvitationsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
function serialize_gateway_web_v1_ListProjectsRequest(arg) {
|
|
186
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListProjectsRequest)) {
|
|
187
|
+
throw new Error('Expected argument of type gateway.web.v1.ListProjectsRequest');
|
|
188
|
+
}
|
|
189
|
+
return Buffer.from(arg.serializeBinary());
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
function deserialize_gateway_web_v1_ListProjectsRequest(buffer_arg) {
|
|
193
|
+
return proto_gateway_web_v1_account_gateway_pb.ListProjectsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function serialize_gateway_web_v1_ListProjectsResponse(arg) {
|
|
197
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListProjectsResponse)) {
|
|
198
|
+
throw new Error('Expected argument of type gateway.web.v1.ListProjectsResponse');
|
|
199
|
+
}
|
|
200
|
+
return Buffer.from(arg.serializeBinary());
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function deserialize_gateway_web_v1_ListProjectsResponse(buffer_arg) {
|
|
204
|
+
return proto_gateway_web_v1_account_gateway_pb.ListProjectsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
function serialize_gateway_web_v1_ListServerApiKeysRequest(arg) {
|
|
208
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListServerApiKeysRequest)) {
|
|
209
|
+
throw new Error('Expected argument of type gateway.web.v1.ListServerApiKeysRequest');
|
|
210
|
+
}
|
|
211
|
+
return Buffer.from(arg.serializeBinary());
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
function deserialize_gateway_web_v1_ListServerApiKeysRequest(buffer_arg) {
|
|
215
|
+
return proto_gateway_web_v1_account_gateway_pb.ListServerApiKeysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
function serialize_gateway_web_v1_ListServerApiKeysResponse(arg) {
|
|
219
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListServerApiKeysResponse)) {
|
|
220
|
+
throw new Error('Expected argument of type gateway.web.v1.ListServerApiKeysResponse');
|
|
221
|
+
}
|
|
222
|
+
return Buffer.from(arg.serializeBinary());
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
function deserialize_gateway_web_v1_ListServerApiKeysResponse(buffer_arg) {
|
|
226
|
+
return proto_gateway_web_v1_account_gateway_pb.ListServerApiKeysResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function serialize_gateway_web_v1_ListUsersRequest(arg) {
|
|
230
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListUsersRequest)) {
|
|
231
|
+
throw new Error('Expected argument of type gateway.web.v1.ListUsersRequest');
|
|
232
|
+
}
|
|
233
|
+
return Buffer.from(arg.serializeBinary());
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function deserialize_gateway_web_v1_ListUsersRequest(buffer_arg) {
|
|
237
|
+
return proto_gateway_web_v1_account_gateway_pb.ListUsersRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
function serialize_gateway_web_v1_ListUsersResponse(arg) {
|
|
241
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListUsersResponse)) {
|
|
242
|
+
throw new Error('Expected argument of type gateway.web.v1.ListUsersResponse');
|
|
243
|
+
}
|
|
244
|
+
return Buffer.from(arg.serializeBinary());
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function deserialize_gateway_web_v1_ListUsersResponse(buffer_arg) {
|
|
248
|
+
return proto_gateway_web_v1_account_gateway_pb.ListUsersResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
function serialize_gateway_web_v1_ListWebApiKeysRequest(arg) {
|
|
252
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListWebApiKeysRequest)) {
|
|
253
|
+
throw new Error('Expected argument of type gateway.web.v1.ListWebApiKeysRequest');
|
|
254
|
+
}
|
|
255
|
+
return Buffer.from(arg.serializeBinary());
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
function deserialize_gateway_web_v1_ListWebApiKeysRequest(buffer_arg) {
|
|
259
|
+
return proto_gateway_web_v1_account_gateway_pb.ListWebApiKeysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
function serialize_gateway_web_v1_ListWebApiKeysResponse(arg) {
|
|
263
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ListWebApiKeysResponse)) {
|
|
264
|
+
throw new Error('Expected argument of type gateway.web.v1.ListWebApiKeysResponse');
|
|
265
|
+
}
|
|
266
|
+
return Buffer.from(arg.serializeBinary());
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
function deserialize_gateway_web_v1_ListWebApiKeysResponse(buffer_arg) {
|
|
270
|
+
return proto_gateway_web_v1_account_gateway_pb.ListWebApiKeysResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
function serialize_gateway_web_v1_LogonRequest(arg) {
|
|
274
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.LogonRequest)) {
|
|
275
|
+
throw new Error('Expected argument of type gateway.web.v1.LogonRequest');
|
|
276
|
+
}
|
|
277
|
+
return Buffer.from(arg.serializeBinary());
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
function deserialize_gateway_web_v1_LogonRequest(buffer_arg) {
|
|
281
|
+
return proto_gateway_web_v1_account_gateway_pb.LogonRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
function serialize_gateway_web_v1_LogonResponse(arg) {
|
|
285
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.LogonResponse)) {
|
|
286
|
+
throw new Error('Expected argument of type gateway.web.v1.LogonResponse');
|
|
287
|
+
}
|
|
288
|
+
return Buffer.from(arg.serializeBinary());
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
function deserialize_gateway_web_v1_LogonResponse(buffer_arg) {
|
|
292
|
+
return proto_gateway_web_v1_account_gateway_pb.LogonResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
function serialize_gateway_web_v1_ProjectsStatsEnvelope(arg) {
|
|
296
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ProjectsStatsEnvelope)) {
|
|
297
|
+
throw new Error('Expected argument of type gateway.web.v1.ProjectsStatsEnvelope');
|
|
298
|
+
}
|
|
299
|
+
return Buffer.from(arg.serializeBinary());
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
function deserialize_gateway_web_v1_ProjectsStatsEnvelope(buffer_arg) {
|
|
303
|
+
return proto_gateway_web_v1_account_gateway_pb.ProjectsStatsEnvelope.deserializeBinary(new Uint8Array(buffer_arg));
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
function serialize_gateway_web_v1_RemoveUserRequest(arg) {
|
|
307
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RemoveUserRequest)) {
|
|
308
|
+
throw new Error('Expected argument of type gateway.web.v1.RemoveUserRequest');
|
|
309
|
+
}
|
|
310
|
+
return Buffer.from(arg.serializeBinary());
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
function deserialize_gateway_web_v1_RemoveUserRequest(buffer_arg) {
|
|
314
|
+
return proto_gateway_web_v1_account_gateway_pb.RemoveUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
function serialize_gateway_web_v1_RemoveUserResponse(arg) {
|
|
318
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RemoveUserResponse)) {
|
|
319
|
+
throw new Error('Expected argument of type gateway.web.v1.RemoveUserResponse');
|
|
320
|
+
}
|
|
321
|
+
return Buffer.from(arg.serializeBinary());
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
function deserialize_gateway_web_v1_RemoveUserResponse(buffer_arg) {
|
|
325
|
+
return proto_gateway_web_v1_account_gateway_pb.RemoveUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
function serialize_gateway_web_v1_ResendInviteRequest(arg) {
|
|
329
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ResendInviteRequest)) {
|
|
330
|
+
throw new Error('Expected argument of type gateway.web.v1.ResendInviteRequest');
|
|
331
|
+
}
|
|
332
|
+
return Buffer.from(arg.serializeBinary());
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
function deserialize_gateway_web_v1_ResendInviteRequest(buffer_arg) {
|
|
336
|
+
return proto_gateway_web_v1_account_gateway_pb.ResendInviteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
function serialize_gateway_web_v1_ResendInviteResponse(arg) {
|
|
340
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.ResendInviteResponse)) {
|
|
341
|
+
throw new Error('Expected argument of type gateway.web.v1.ResendInviteResponse');
|
|
342
|
+
}
|
|
343
|
+
return Buffer.from(arg.serializeBinary());
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
function deserialize_gateway_web_v1_ResendInviteResponse(buffer_arg) {
|
|
347
|
+
return proto_gateway_web_v1_account_gateway_pb.ResendInviteResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
function serialize_gateway_web_v1_RevokeInvitationRequest(arg) {
|
|
351
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RevokeInvitationRequest)) {
|
|
352
|
+
throw new Error('Expected argument of type gateway.web.v1.RevokeInvitationRequest');
|
|
353
|
+
}
|
|
354
|
+
return Buffer.from(arg.serializeBinary());
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
function deserialize_gateway_web_v1_RevokeInvitationRequest(buffer_arg) {
|
|
358
|
+
return proto_gateway_web_v1_account_gateway_pb.RevokeInvitationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
function serialize_gateway_web_v1_RevokeInvitationResponse(arg) {
|
|
362
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.RevokeInvitationResponse)) {
|
|
363
|
+
throw new Error('Expected argument of type gateway.web.v1.RevokeInvitationResponse');
|
|
364
|
+
}
|
|
365
|
+
return Buffer.from(arg.serializeBinary());
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
function deserialize_gateway_web_v1_RevokeInvitationResponse(buffer_arg) {
|
|
369
|
+
return proto_gateway_web_v1_account_gateway_pb.RevokeInvitationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
function serialize_gateway_web_v1_StreamProjectsStatsRequest(arg) {
|
|
373
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.StreamProjectsStatsRequest)) {
|
|
374
|
+
throw new Error('Expected argument of type gateway.web.v1.StreamProjectsStatsRequest');
|
|
375
|
+
}
|
|
376
|
+
return Buffer.from(arg.serializeBinary());
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
function deserialize_gateway_web_v1_StreamProjectsStatsRequest(buffer_arg) {
|
|
380
|
+
return proto_gateway_web_v1_account_gateway_pb.StreamProjectsStatsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
function serialize_gateway_web_v1_UpdateOrganizationRequest(arg) {
|
|
384
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateOrganizationRequest)) {
|
|
385
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateOrganizationRequest');
|
|
386
|
+
}
|
|
387
|
+
return Buffer.from(arg.serializeBinary());
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
function deserialize_gateway_web_v1_UpdateOrganizationRequest(buffer_arg) {
|
|
391
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateOrganizationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
function serialize_gateway_web_v1_UpdateOrganizationResponse(arg) {
|
|
395
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateOrganizationResponse)) {
|
|
396
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateOrganizationResponse');
|
|
397
|
+
}
|
|
398
|
+
return Buffer.from(arg.serializeBinary());
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
function deserialize_gateway_web_v1_UpdateOrganizationResponse(buffer_arg) {
|
|
402
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateOrganizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
function serialize_gateway_web_v1_UpdateProjectRequest(arg) {
|
|
406
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateProjectRequest)) {
|
|
407
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateProjectRequest');
|
|
408
|
+
}
|
|
409
|
+
return Buffer.from(arg.serializeBinary());
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
function deserialize_gateway_web_v1_UpdateProjectRequest(buffer_arg) {
|
|
413
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateProjectRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
function serialize_gateway_web_v1_UpdateProjectResponse(arg) {
|
|
417
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateProjectResponse)) {
|
|
418
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateProjectResponse');
|
|
419
|
+
}
|
|
420
|
+
return Buffer.from(arg.serializeBinary());
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
function deserialize_gateway_web_v1_UpdateProjectResponse(buffer_arg) {
|
|
424
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateProjectResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
function serialize_gateway_web_v1_UpdateServerApiKeyRequest(arg) {
|
|
428
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyRequest)) {
|
|
429
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateServerApiKeyRequest');
|
|
430
|
+
}
|
|
431
|
+
return Buffer.from(arg.serializeBinary());
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
function deserialize_gateway_web_v1_UpdateServerApiKeyRequest(buffer_arg) {
|
|
435
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
function serialize_gateway_web_v1_UpdateServerApiKeyResponse(arg) {
|
|
439
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyResponse)) {
|
|
440
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateServerApiKeyResponse');
|
|
441
|
+
}
|
|
442
|
+
return Buffer.from(arg.serializeBinary());
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
function deserialize_gateway_web_v1_UpdateServerApiKeyResponse(buffer_arg) {
|
|
446
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
function serialize_gateway_web_v1_UpdateServerApiKeyStatusRequest(arg) {
|
|
450
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyStatusRequest)) {
|
|
451
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateServerApiKeyStatusRequest');
|
|
452
|
+
}
|
|
453
|
+
return Buffer.from(arg.serializeBinary());
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
function deserialize_gateway_web_v1_UpdateServerApiKeyStatusRequest(buffer_arg) {
|
|
457
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
function serialize_gateway_web_v1_UpdateServerApiKeyStatusResponse(arg) {
|
|
461
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyStatusResponse)) {
|
|
462
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateServerApiKeyStatusResponse');
|
|
463
|
+
}
|
|
464
|
+
return Buffer.from(arg.serializeBinary());
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
function deserialize_gateway_web_v1_UpdateServerApiKeyStatusResponse(buffer_arg) {
|
|
468
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
function serialize_gateway_web_v1_UpdateUserRequest(arg) {
|
|
472
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateUserRequest)) {
|
|
473
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateUserRequest');
|
|
474
|
+
}
|
|
475
|
+
return Buffer.from(arg.serializeBinary());
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
function deserialize_gateway_web_v1_UpdateUserRequest(buffer_arg) {
|
|
479
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
function serialize_gateway_web_v1_UpdateUserResponse(arg) {
|
|
483
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateUserResponse)) {
|
|
484
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateUserResponse');
|
|
485
|
+
}
|
|
486
|
+
return Buffer.from(arg.serializeBinary());
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
function deserialize_gateway_web_v1_UpdateUserResponse(buffer_arg) {
|
|
490
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
function serialize_gateway_web_v1_UpdateWebApiKeyRequest(arg) {
|
|
494
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyRequest)) {
|
|
495
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateWebApiKeyRequest');
|
|
496
|
+
}
|
|
497
|
+
return Buffer.from(arg.serializeBinary());
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
function deserialize_gateway_web_v1_UpdateWebApiKeyRequest(buffer_arg) {
|
|
501
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
function serialize_gateway_web_v1_UpdateWebApiKeyResponse(arg) {
|
|
505
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyResponse)) {
|
|
506
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateWebApiKeyResponse');
|
|
507
|
+
}
|
|
508
|
+
return Buffer.from(arg.serializeBinary());
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
function deserialize_gateway_web_v1_UpdateWebApiKeyResponse(buffer_arg) {
|
|
512
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
function serialize_gateway_web_v1_UpdateWebApiKeyStatusRequest(arg) {
|
|
516
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyStatusRequest)) {
|
|
517
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateWebApiKeyStatusRequest');
|
|
518
|
+
}
|
|
519
|
+
return Buffer.from(arg.serializeBinary());
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
function deserialize_gateway_web_v1_UpdateWebApiKeyStatusRequest(buffer_arg) {
|
|
523
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
function serialize_gateway_web_v1_UpdateWebApiKeyStatusResponse(arg) {
|
|
527
|
+
if (!(arg instanceof proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyStatusResponse)) {
|
|
528
|
+
throw new Error('Expected argument of type gateway.web.v1.UpdateWebApiKeyStatusResponse');
|
|
529
|
+
}
|
|
530
|
+
return Buffer.from(arg.serializeBinary());
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
function deserialize_gateway_web_v1_UpdateWebApiKeyStatusResponse(buffer_arg) {
|
|
534
|
+
return proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
var AccountGatewayServiceService = exports.AccountGatewayServiceService = {
|
|
539
|
+
// Authentication
|
|
540
|
+
logon: {
|
|
541
|
+
path: '/gateway.web.v1.AccountGatewayService/Logon',
|
|
542
|
+
requestStream: false,
|
|
543
|
+
responseStream: false,
|
|
544
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.LogonRequest,
|
|
545
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.LogonResponse,
|
|
546
|
+
requestSerialize: serialize_gateway_web_v1_LogonRequest,
|
|
547
|
+
requestDeserialize: deserialize_gateway_web_v1_LogonRequest,
|
|
548
|
+
responseSerialize: serialize_gateway_web_v1_LogonResponse,
|
|
549
|
+
responseDeserialize: deserialize_gateway_web_v1_LogonResponse,
|
|
550
|
+
},
|
|
551
|
+
// Project operations
|
|
552
|
+
createProject: {
|
|
553
|
+
path: '/gateway.web.v1.AccountGatewayService/CreateProject',
|
|
554
|
+
requestStream: false,
|
|
555
|
+
responseStream: false,
|
|
556
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.CreateProjectRequest,
|
|
557
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.CreateProjectResponse,
|
|
558
|
+
requestSerialize: serialize_gateway_web_v1_CreateProjectRequest,
|
|
559
|
+
requestDeserialize: deserialize_gateway_web_v1_CreateProjectRequest,
|
|
560
|
+
responseSerialize: serialize_gateway_web_v1_CreateProjectResponse,
|
|
561
|
+
responseDeserialize: deserialize_gateway_web_v1_CreateProjectResponse,
|
|
562
|
+
},
|
|
563
|
+
listProjects: {
|
|
564
|
+
path: '/gateway.web.v1.AccountGatewayService/ListProjects',
|
|
565
|
+
requestStream: false,
|
|
566
|
+
responseStream: false,
|
|
567
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.ListProjectsRequest,
|
|
568
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.ListProjectsResponse,
|
|
569
|
+
requestSerialize: serialize_gateway_web_v1_ListProjectsRequest,
|
|
570
|
+
requestDeserialize: deserialize_gateway_web_v1_ListProjectsRequest,
|
|
571
|
+
responseSerialize: serialize_gateway_web_v1_ListProjectsResponse,
|
|
572
|
+
responseDeserialize: deserialize_gateway_web_v1_ListProjectsResponse,
|
|
573
|
+
},
|
|
574
|
+
updateProject: {
|
|
575
|
+
path: '/gateway.web.v1.AccountGatewayService/UpdateProject',
|
|
576
|
+
requestStream: false,
|
|
577
|
+
responseStream: false,
|
|
578
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.UpdateProjectRequest,
|
|
579
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.UpdateProjectResponse,
|
|
580
|
+
requestSerialize: serialize_gateway_web_v1_UpdateProjectRequest,
|
|
581
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateProjectRequest,
|
|
582
|
+
responseSerialize: serialize_gateway_web_v1_UpdateProjectResponse,
|
|
583
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateProjectResponse,
|
|
584
|
+
},
|
|
585
|
+
// Web API Key operations
|
|
586
|
+
createWebApiKey: {
|
|
587
|
+
path: '/gateway.web.v1.AccountGatewayService/CreateWebApiKey',
|
|
588
|
+
requestStream: false,
|
|
589
|
+
responseStream: false,
|
|
590
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.CreateWebApiKeyRequest,
|
|
591
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.CreateWebApiKeyResponse,
|
|
592
|
+
requestSerialize: serialize_gateway_web_v1_CreateWebApiKeyRequest,
|
|
593
|
+
requestDeserialize: deserialize_gateway_web_v1_CreateWebApiKeyRequest,
|
|
594
|
+
responseSerialize: serialize_gateway_web_v1_CreateWebApiKeyResponse,
|
|
595
|
+
responseDeserialize: deserialize_gateway_web_v1_CreateWebApiKeyResponse,
|
|
596
|
+
},
|
|
597
|
+
listWebApiKeys: {
|
|
598
|
+
path: '/gateway.web.v1.AccountGatewayService/ListWebApiKeys',
|
|
599
|
+
requestStream: false,
|
|
600
|
+
responseStream: false,
|
|
601
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.ListWebApiKeysRequest,
|
|
602
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.ListWebApiKeysResponse,
|
|
603
|
+
requestSerialize: serialize_gateway_web_v1_ListWebApiKeysRequest,
|
|
604
|
+
requestDeserialize: deserialize_gateway_web_v1_ListWebApiKeysRequest,
|
|
605
|
+
responseSerialize: serialize_gateway_web_v1_ListWebApiKeysResponse,
|
|
606
|
+
responseDeserialize: deserialize_gateway_web_v1_ListWebApiKeysResponse,
|
|
607
|
+
},
|
|
608
|
+
updateWebApiKeyStatus: {
|
|
609
|
+
path: '/gateway.web.v1.AccountGatewayService/UpdateWebApiKeyStatus',
|
|
610
|
+
requestStream: false,
|
|
611
|
+
responseStream: false,
|
|
612
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyStatusRequest,
|
|
613
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyStatusResponse,
|
|
614
|
+
requestSerialize: serialize_gateway_web_v1_UpdateWebApiKeyStatusRequest,
|
|
615
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateWebApiKeyStatusRequest,
|
|
616
|
+
responseSerialize: serialize_gateway_web_v1_UpdateWebApiKeyStatusResponse,
|
|
617
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateWebApiKeyStatusResponse,
|
|
618
|
+
},
|
|
619
|
+
updateWebApiKey: {
|
|
620
|
+
path: '/gateway.web.v1.AccountGatewayService/UpdateWebApiKey',
|
|
621
|
+
requestStream: false,
|
|
622
|
+
responseStream: false,
|
|
623
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyRequest,
|
|
624
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.UpdateWebApiKeyResponse,
|
|
625
|
+
requestSerialize: serialize_gateway_web_v1_UpdateWebApiKeyRequest,
|
|
626
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateWebApiKeyRequest,
|
|
627
|
+
responseSerialize: serialize_gateway_web_v1_UpdateWebApiKeyResponse,
|
|
628
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateWebApiKeyResponse,
|
|
629
|
+
},
|
|
630
|
+
deleteWebApiKey: {
|
|
631
|
+
path: '/gateway.web.v1.AccountGatewayService/DeleteWebApiKey',
|
|
632
|
+
requestStream: false,
|
|
633
|
+
responseStream: false,
|
|
634
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.DeleteWebApiKeyRequest,
|
|
635
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.DeleteWebApiKeyResponse,
|
|
636
|
+
requestSerialize: serialize_gateway_web_v1_DeleteWebApiKeyRequest,
|
|
637
|
+
requestDeserialize: deserialize_gateway_web_v1_DeleteWebApiKeyRequest,
|
|
638
|
+
responseSerialize: serialize_gateway_web_v1_DeleteWebApiKeyResponse,
|
|
639
|
+
responseDeserialize: deserialize_gateway_web_v1_DeleteWebApiKeyResponse,
|
|
640
|
+
},
|
|
641
|
+
// Server API Key operations
|
|
642
|
+
createServerApiKey: {
|
|
643
|
+
path: '/gateway.web.v1.AccountGatewayService/CreateServerApiKey',
|
|
644
|
+
requestStream: false,
|
|
645
|
+
responseStream: false,
|
|
646
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.CreateServerApiKeyRequest,
|
|
647
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.CreateServerApiKeyResponse,
|
|
648
|
+
requestSerialize: serialize_gateway_web_v1_CreateServerApiKeyRequest,
|
|
649
|
+
requestDeserialize: deserialize_gateway_web_v1_CreateServerApiKeyRequest,
|
|
650
|
+
responseSerialize: serialize_gateway_web_v1_CreateServerApiKeyResponse,
|
|
651
|
+
responseDeserialize: deserialize_gateway_web_v1_CreateServerApiKeyResponse,
|
|
652
|
+
},
|
|
653
|
+
listServerApiKeys: {
|
|
654
|
+
path: '/gateway.web.v1.AccountGatewayService/ListServerApiKeys',
|
|
655
|
+
requestStream: false,
|
|
656
|
+
responseStream: false,
|
|
657
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.ListServerApiKeysRequest,
|
|
658
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.ListServerApiKeysResponse,
|
|
659
|
+
requestSerialize: serialize_gateway_web_v1_ListServerApiKeysRequest,
|
|
660
|
+
requestDeserialize: deserialize_gateway_web_v1_ListServerApiKeysRequest,
|
|
661
|
+
responseSerialize: serialize_gateway_web_v1_ListServerApiKeysResponse,
|
|
662
|
+
responseDeserialize: deserialize_gateway_web_v1_ListServerApiKeysResponse,
|
|
663
|
+
},
|
|
664
|
+
updateServerApiKeyStatus: {
|
|
665
|
+
path: '/gateway.web.v1.AccountGatewayService/UpdateServerApiKeyStatus',
|
|
666
|
+
requestStream: false,
|
|
667
|
+
responseStream: false,
|
|
668
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyStatusRequest,
|
|
669
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyStatusResponse,
|
|
670
|
+
requestSerialize: serialize_gateway_web_v1_UpdateServerApiKeyStatusRequest,
|
|
671
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateServerApiKeyStatusRequest,
|
|
672
|
+
responseSerialize: serialize_gateway_web_v1_UpdateServerApiKeyStatusResponse,
|
|
673
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateServerApiKeyStatusResponse,
|
|
674
|
+
},
|
|
675
|
+
updateServerApiKey: {
|
|
676
|
+
path: '/gateway.web.v1.AccountGatewayService/UpdateServerApiKey',
|
|
677
|
+
requestStream: false,
|
|
678
|
+
responseStream: false,
|
|
679
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyRequest,
|
|
680
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.UpdateServerApiKeyResponse,
|
|
681
|
+
requestSerialize: serialize_gateway_web_v1_UpdateServerApiKeyRequest,
|
|
682
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateServerApiKeyRequest,
|
|
683
|
+
responseSerialize: serialize_gateway_web_v1_UpdateServerApiKeyResponse,
|
|
684
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateServerApiKeyResponse,
|
|
685
|
+
},
|
|
686
|
+
deleteServerApiKey: {
|
|
687
|
+
path: '/gateway.web.v1.AccountGatewayService/DeleteServerApiKey',
|
|
688
|
+
requestStream: false,
|
|
689
|
+
responseStream: false,
|
|
690
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.DeleteServerApiKeyRequest,
|
|
691
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.DeleteServerApiKeyResponse,
|
|
692
|
+
requestSerialize: serialize_gateway_web_v1_DeleteServerApiKeyRequest,
|
|
693
|
+
requestDeserialize: deserialize_gateway_web_v1_DeleteServerApiKeyRequest,
|
|
694
|
+
responseSerialize: serialize_gateway_web_v1_DeleteServerApiKeyResponse,
|
|
695
|
+
responseDeserialize: deserialize_gateway_web_v1_DeleteServerApiKeyResponse,
|
|
696
|
+
},
|
|
697
|
+
// User management operations
|
|
698
|
+
listUsers: {
|
|
699
|
+
path: '/gateway.web.v1.AccountGatewayService/ListUsers',
|
|
700
|
+
requestStream: false,
|
|
701
|
+
responseStream: false,
|
|
702
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.ListUsersRequest,
|
|
703
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.ListUsersResponse,
|
|
704
|
+
requestSerialize: serialize_gateway_web_v1_ListUsersRequest,
|
|
705
|
+
requestDeserialize: deserialize_gateway_web_v1_ListUsersRequest,
|
|
706
|
+
responseSerialize: serialize_gateway_web_v1_ListUsersResponse,
|
|
707
|
+
responseDeserialize: deserialize_gateway_web_v1_ListUsersResponse,
|
|
708
|
+
},
|
|
709
|
+
updateUser: {
|
|
710
|
+
path: '/gateway.web.v1.AccountGatewayService/UpdateUser',
|
|
711
|
+
requestStream: false,
|
|
712
|
+
responseStream: false,
|
|
713
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.UpdateUserRequest,
|
|
714
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.UpdateUserResponse,
|
|
715
|
+
requestSerialize: serialize_gateway_web_v1_UpdateUserRequest,
|
|
716
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateUserRequest,
|
|
717
|
+
responseSerialize: serialize_gateway_web_v1_UpdateUserResponse,
|
|
718
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateUserResponse,
|
|
719
|
+
},
|
|
720
|
+
removeUser: {
|
|
721
|
+
path: '/gateway.web.v1.AccountGatewayService/RemoveUser',
|
|
722
|
+
requestStream: false,
|
|
723
|
+
responseStream: false,
|
|
724
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.RemoveUserRequest,
|
|
725
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.RemoveUserResponse,
|
|
726
|
+
requestSerialize: serialize_gateway_web_v1_RemoveUserRequest,
|
|
727
|
+
requestDeserialize: deserialize_gateway_web_v1_RemoveUserRequest,
|
|
728
|
+
responseSerialize: serialize_gateway_web_v1_RemoveUserResponse,
|
|
729
|
+
responseDeserialize: deserialize_gateway_web_v1_RemoveUserResponse,
|
|
730
|
+
},
|
|
731
|
+
// Invitation management operations
|
|
732
|
+
inviteUser: {
|
|
733
|
+
path: '/gateway.web.v1.AccountGatewayService/InviteUser',
|
|
734
|
+
requestStream: false,
|
|
735
|
+
responseStream: false,
|
|
736
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.InviteUserRequest,
|
|
737
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.InviteUserResponse,
|
|
738
|
+
requestSerialize: serialize_gateway_web_v1_InviteUserRequest,
|
|
739
|
+
requestDeserialize: deserialize_gateway_web_v1_InviteUserRequest,
|
|
740
|
+
responseSerialize: serialize_gateway_web_v1_InviteUserResponse,
|
|
741
|
+
responseDeserialize: deserialize_gateway_web_v1_InviteUserResponse,
|
|
742
|
+
},
|
|
743
|
+
listInvitations: {
|
|
744
|
+
path: '/gateway.web.v1.AccountGatewayService/ListInvitations',
|
|
745
|
+
requestStream: false,
|
|
746
|
+
responseStream: false,
|
|
747
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.ListInvitationsRequest,
|
|
748
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.ListInvitationsResponse,
|
|
749
|
+
requestSerialize: serialize_gateway_web_v1_ListInvitationsRequest,
|
|
750
|
+
requestDeserialize: deserialize_gateway_web_v1_ListInvitationsRequest,
|
|
751
|
+
responseSerialize: serialize_gateway_web_v1_ListInvitationsResponse,
|
|
752
|
+
responseDeserialize: deserialize_gateway_web_v1_ListInvitationsResponse,
|
|
753
|
+
},
|
|
754
|
+
revokeInvitation: {
|
|
755
|
+
path: '/gateway.web.v1.AccountGatewayService/RevokeInvitation',
|
|
756
|
+
requestStream: false,
|
|
757
|
+
responseStream: false,
|
|
758
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.RevokeInvitationRequest,
|
|
759
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.RevokeInvitationResponse,
|
|
760
|
+
requestSerialize: serialize_gateway_web_v1_RevokeInvitationRequest,
|
|
761
|
+
requestDeserialize: deserialize_gateway_web_v1_RevokeInvitationRequest,
|
|
762
|
+
responseSerialize: serialize_gateway_web_v1_RevokeInvitationResponse,
|
|
763
|
+
responseDeserialize: deserialize_gateway_web_v1_RevokeInvitationResponse,
|
|
764
|
+
},
|
|
765
|
+
resendInvite: {
|
|
766
|
+
path: '/gateway.web.v1.AccountGatewayService/ResendInvite',
|
|
767
|
+
requestStream: false,
|
|
768
|
+
responseStream: false,
|
|
769
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.ResendInviteRequest,
|
|
770
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.ResendInviteResponse,
|
|
771
|
+
requestSerialize: serialize_gateway_web_v1_ResendInviteRequest,
|
|
772
|
+
requestDeserialize: deserialize_gateway_web_v1_ResendInviteRequest,
|
|
773
|
+
responseSerialize: serialize_gateway_web_v1_ResendInviteResponse,
|
|
774
|
+
responseDeserialize: deserialize_gateway_web_v1_ResendInviteResponse,
|
|
775
|
+
},
|
|
776
|
+
// Organization management operations
|
|
777
|
+
updateOrganization: {
|
|
778
|
+
path: '/gateway.web.v1.AccountGatewayService/UpdateOrganization',
|
|
779
|
+
requestStream: false,
|
|
780
|
+
responseStream: false,
|
|
781
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.UpdateOrganizationRequest,
|
|
782
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.UpdateOrganizationResponse,
|
|
783
|
+
requestSerialize: serialize_gateway_web_v1_UpdateOrganizationRequest,
|
|
784
|
+
requestDeserialize: deserialize_gateway_web_v1_UpdateOrganizationRequest,
|
|
785
|
+
responseSerialize: serialize_gateway_web_v1_UpdateOrganizationResponse,
|
|
786
|
+
responseDeserialize: deserialize_gateway_web_v1_UpdateOrganizationResponse,
|
|
787
|
+
},
|
|
788
|
+
createOrganization: {
|
|
789
|
+
path: '/gateway.web.v1.AccountGatewayService/CreateOrganization',
|
|
790
|
+
requestStream: false,
|
|
791
|
+
responseStream: false,
|
|
792
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.CreateOrganizationRequest,
|
|
793
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.CreateOrganizationResponse,
|
|
794
|
+
requestSerialize: serialize_gateway_web_v1_CreateOrganizationRequest,
|
|
795
|
+
requestDeserialize: deserialize_gateway_web_v1_CreateOrganizationRequest,
|
|
796
|
+
responseSerialize: serialize_gateway_web_v1_CreateOrganizationResponse,
|
|
797
|
+
responseDeserialize: deserialize_gateway_web_v1_CreateOrganizationResponse,
|
|
798
|
+
},
|
|
799
|
+
// Project statistics streaming
|
|
800
|
+
streamProjectsStats: {
|
|
801
|
+
path: '/gateway.web.v1.AccountGatewayService/StreamProjectsStats',
|
|
802
|
+
requestStream: false,
|
|
803
|
+
responseStream: true,
|
|
804
|
+
requestType: proto_gateway_web_v1_account_gateway_pb.StreamProjectsStatsRequest,
|
|
805
|
+
responseType: proto_gateway_web_v1_account_gateway_pb.ProjectsStatsEnvelope,
|
|
806
|
+
requestSerialize: serialize_gateway_web_v1_StreamProjectsStatsRequest,
|
|
807
|
+
requestDeserialize: deserialize_gateway_web_v1_StreamProjectsStatsRequest,
|
|
808
|
+
responseSerialize: serialize_gateway_web_v1_ProjectsStatsEnvelope,
|
|
809
|
+
responseDeserialize: deserialize_gateway_web_v1_ProjectsStatsEnvelope,
|
|
810
|
+
},
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
exports.AccountGatewayServiceClient = grpc.makeGenericClientConstructor(AccountGatewayServiceService, 'AccountGatewayService');
|