@aceplus/smartace-api 2.13.0-alpha.1 → 2.13.0-alpha.10
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/auth.account_pb.d.ts +20 -106
- package/auth.account_pb.js +141 -819
- package/auth.account_pb_service.d.ts +19 -133
- package/auth.account_pb_service.js +17 -257
- package/meta.client_pb.d.ts +167 -0
- package/meta.client_pb.js +1266 -0
- package/meta.client_pb_service.d.ts +122 -0
- package/meta.client_pb_service.js +183 -0
- package/meta.spic_config_pb.d.ts +5 -5
- package/meta.spic_config_pb.js +20 -20
- package/package.json +1 -1
- package/platform.client_pb.d.ts +4 -0
- package/platform.client_pb.js +31 -1
- package/platform.local_account_internal_pb.d.ts +151 -0
- package/platform.local_account_internal_pb.js +1136 -0
- package/platform.local_account_internal_pb_service.d.ts +121 -0
- package/platform.local_account_internal_pb_service.js +182 -0
- package/platform.local_account_pb.d.ts +4 -50
- package/platform.local_account_pb.js +31 -386
- package/platform.local_account_pb_service.d.ts +0 -57
- package/platform.local_account_pb_service.js +0 -120
- package/spic.cabinet_pb.d.ts +24 -0
- package/spic.cabinet_pb.js +134 -4
|
@@ -59,15 +59,6 @@ type SuperAdminAccountGRPCSetPassword = {
|
|
|
59
59
|
readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
type SuperAdminAccountGRPCSetAccountScope = {
|
|
63
|
-
readonly methodName: string;
|
|
64
|
-
readonly service: typeof SuperAdminAccountGRPC;
|
|
65
|
-
readonly requestStream: false;
|
|
66
|
-
readonly responseStream: false;
|
|
67
|
-
readonly requestType: typeof auth_account_pb.AccountProto.SetSuperAccountScopeRequest;
|
|
68
|
-
readonly responseType: typeof auth_account_pb.AccountProto.SetAccountScopeReply;
|
|
69
|
-
};
|
|
70
|
-
|
|
71
62
|
export class SuperAdminAccountGRPC {
|
|
72
63
|
static readonly serviceName: string;
|
|
73
64
|
static readonly CreateUser: SuperAdminAccountGRPCCreateUser;
|
|
@@ -76,7 +67,6 @@ export class SuperAdminAccountGRPC {
|
|
|
76
67
|
static readonly Delete: SuperAdminAccountGRPCDelete;
|
|
77
68
|
static readonly Search: SuperAdminAccountGRPCSearch;
|
|
78
69
|
static readonly SetPassword: SuperAdminAccountGRPCSetPassword;
|
|
79
|
-
static readonly SetAccountScope: SuperAdminAccountGRPCSetAccountScope;
|
|
80
70
|
}
|
|
81
71
|
|
|
82
72
|
type ClusterAccountGRPCInviteAdminUser = {
|
|
@@ -97,51 +87,6 @@ type ClusterAccountGRPCInviteAppUser = {
|
|
|
97
87
|
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
98
88
|
};
|
|
99
89
|
|
|
100
|
-
type ClusterAccountGRPCRetrieve = {
|
|
101
|
-
readonly methodName: string;
|
|
102
|
-
readonly service: typeof ClusterAccountGRPC;
|
|
103
|
-
readonly requestStream: false;
|
|
104
|
-
readonly responseStream: false;
|
|
105
|
-
readonly requestType: typeof auth_account_pb.AccountProto.RetrieveRequest;
|
|
106
|
-
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
type ClusterAccountGRPCUpdate = {
|
|
110
|
-
readonly methodName: string;
|
|
111
|
-
readonly service: typeof ClusterAccountGRPC;
|
|
112
|
-
readonly requestStream: false;
|
|
113
|
-
readonly responseStream: false;
|
|
114
|
-
readonly requestType: typeof auth_account_pb.AccountProto.UpdateRequest;
|
|
115
|
-
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
type ClusterAccountGRPCDelete = {
|
|
119
|
-
readonly methodName: string;
|
|
120
|
-
readonly service: typeof ClusterAccountGRPC;
|
|
121
|
-
readonly requestStream: false;
|
|
122
|
-
readonly responseStream: false;
|
|
123
|
-
readonly requestType: typeof auth_account_pb.AccountProto.DeleteRequest;
|
|
124
|
-
readonly responseType: typeof auth_account_pb.AccountProto.DeleteReply;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
type ClusterAccountGRPCSearchAdmin = {
|
|
128
|
-
readonly methodName: string;
|
|
129
|
-
readonly service: typeof ClusterAccountGRPC;
|
|
130
|
-
readonly requestStream: false;
|
|
131
|
-
readonly responseStream: false;
|
|
132
|
-
readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
|
|
133
|
-
readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
type ClusterAccountGRPCSearchApp = {
|
|
137
|
-
readonly methodName: string;
|
|
138
|
-
readonly service: typeof ClusterAccountGRPC;
|
|
139
|
-
readonly requestStream: false;
|
|
140
|
-
readonly responseStream: false;
|
|
141
|
-
readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
|
|
142
|
-
readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
|
|
143
|
-
};
|
|
144
|
-
|
|
145
90
|
type ClusterAccountGRPCActivateAccount = {
|
|
146
91
|
readonly methodName: string;
|
|
147
92
|
readonly service: typeof ClusterAccountGRPC;
|
|
@@ -178,15 +123,6 @@ type ClusterAccountGRPCChangePassword = {
|
|
|
178
123
|
readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
|
|
179
124
|
};
|
|
180
125
|
|
|
181
|
-
type ClusterAccountGRPCSetAccountScope = {
|
|
182
|
-
readonly methodName: string;
|
|
183
|
-
readonly service: typeof ClusterAccountGRPC;
|
|
184
|
-
readonly requestStream: false;
|
|
185
|
-
readonly responseStream: false;
|
|
186
|
-
readonly requestType: typeof auth_account_pb.AccountProto.SetAccountScopeRequest;
|
|
187
|
-
readonly responseType: typeof auth_account_pb.AccountProto.SetAccountScopeReply;
|
|
188
|
-
};
|
|
189
|
-
|
|
190
126
|
type ClusterAccountGRPCRetrievePushInfo = {
|
|
191
127
|
readonly methodName: string;
|
|
192
128
|
readonly service: typeof ClusterAccountGRPC;
|
|
@@ -214,6 +150,15 @@ type ClusterAccountGRPCDeleteAccountClusterRole = {
|
|
|
214
150
|
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
215
151
|
};
|
|
216
152
|
|
|
153
|
+
type ClusterAccountGRPCDeleteAccountFromCluster = {
|
|
154
|
+
readonly methodName: string;
|
|
155
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
156
|
+
readonly requestStream: false;
|
|
157
|
+
readonly responseStream: false;
|
|
158
|
+
readonly requestType: typeof auth_account_pb.AccountProto.DeleteFromClusterRequest;
|
|
159
|
+
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
160
|
+
};
|
|
161
|
+
|
|
217
162
|
type ClusterAccountGRPCRetrieveActivationStatuses = {
|
|
218
163
|
readonly methodName: string;
|
|
219
164
|
readonly service: typeof ClusterAccountGRPC;
|
|
@@ -236,19 +181,14 @@ export class ClusterAccountGRPC {
|
|
|
236
181
|
static readonly serviceName: string;
|
|
237
182
|
static readonly InviteAdminUser: ClusterAccountGRPCInviteAdminUser;
|
|
238
183
|
static readonly InviteAppUser: ClusterAccountGRPCInviteAppUser;
|
|
239
|
-
static readonly Retrieve: ClusterAccountGRPCRetrieve;
|
|
240
|
-
static readonly Update: ClusterAccountGRPCUpdate;
|
|
241
|
-
static readonly Delete: ClusterAccountGRPCDelete;
|
|
242
|
-
static readonly SearchAdmin: ClusterAccountGRPCSearchAdmin;
|
|
243
|
-
static readonly SearchApp: ClusterAccountGRPCSearchApp;
|
|
244
184
|
static readonly ActivateAccount: ClusterAccountGRPCActivateAccount;
|
|
245
185
|
static readonly ForgotPassword: ClusterAccountGRPCForgotPassword;
|
|
246
186
|
static readonly ResetPassword: ClusterAccountGRPCResetPassword;
|
|
247
187
|
static readonly ChangePassword: ClusterAccountGRPCChangePassword;
|
|
248
|
-
static readonly SetAccountScope: ClusterAccountGRPCSetAccountScope;
|
|
249
188
|
static readonly RetrievePushInfo: ClusterAccountGRPCRetrievePushInfo;
|
|
250
189
|
static readonly SetAccountClusterRole: ClusterAccountGRPCSetAccountClusterRole;
|
|
251
190
|
static readonly DeleteAccountClusterRole: ClusterAccountGRPCDeleteAccountClusterRole;
|
|
191
|
+
static readonly DeleteAccountFromCluster: ClusterAccountGRPCDeleteAccountFromCluster;
|
|
252
192
|
static readonly RetrieveActivationStatuses: ClusterAccountGRPCRetrieveActivationStatuses;
|
|
253
193
|
static readonly ResendAdminUserInvitation: ClusterAccountGRPCResendAdminUserInvitation;
|
|
254
194
|
}
|
|
@@ -339,15 +279,6 @@ export class SuperAdminAccountGRPCClient {
|
|
|
339
279
|
requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
|
|
340
280
|
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
|
|
341
281
|
): UnaryResponse;
|
|
342
|
-
setAccountScope(
|
|
343
|
-
requestMessage: auth_account_pb.AccountProto.SetSuperAccountScopeRequest,
|
|
344
|
-
metadata: grpc.Metadata,
|
|
345
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
|
|
346
|
-
): UnaryResponse;
|
|
347
|
-
setAccountScope(
|
|
348
|
-
requestMessage: auth_account_pb.AccountProto.SetSuperAccountScopeRequest,
|
|
349
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
|
|
350
|
-
): UnaryResponse;
|
|
351
282
|
}
|
|
352
283
|
|
|
353
284
|
export class ClusterAccountGRPCClient {
|
|
@@ -372,51 +303,6 @@ export class ClusterAccountGRPCClient {
|
|
|
372
303
|
requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
|
|
373
304
|
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
374
305
|
): UnaryResponse;
|
|
375
|
-
retrieve(
|
|
376
|
-
requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
|
|
377
|
-
metadata: grpc.Metadata,
|
|
378
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
379
|
-
): UnaryResponse;
|
|
380
|
-
retrieve(
|
|
381
|
-
requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
|
|
382
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
383
|
-
): UnaryResponse;
|
|
384
|
-
update(
|
|
385
|
-
requestMessage: auth_account_pb.AccountProto.UpdateRequest,
|
|
386
|
-
metadata: grpc.Metadata,
|
|
387
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
388
|
-
): UnaryResponse;
|
|
389
|
-
update(
|
|
390
|
-
requestMessage: auth_account_pb.AccountProto.UpdateRequest,
|
|
391
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
392
|
-
): UnaryResponse;
|
|
393
|
-
delete(
|
|
394
|
-
requestMessage: auth_account_pb.AccountProto.DeleteRequest,
|
|
395
|
-
metadata: grpc.Metadata,
|
|
396
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
|
|
397
|
-
): UnaryResponse;
|
|
398
|
-
delete(
|
|
399
|
-
requestMessage: auth_account_pb.AccountProto.DeleteRequest,
|
|
400
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
|
|
401
|
-
): UnaryResponse;
|
|
402
|
-
searchAdmin(
|
|
403
|
-
requestMessage: auth_account_pb.AccountProto.SearchRequest,
|
|
404
|
-
metadata: grpc.Metadata,
|
|
405
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
|
|
406
|
-
): UnaryResponse;
|
|
407
|
-
searchAdmin(
|
|
408
|
-
requestMessage: auth_account_pb.AccountProto.SearchRequest,
|
|
409
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
|
|
410
|
-
): UnaryResponse;
|
|
411
|
-
searchApp(
|
|
412
|
-
requestMessage: auth_account_pb.AccountProto.SearchRequest,
|
|
413
|
-
metadata: grpc.Metadata,
|
|
414
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
|
|
415
|
-
): UnaryResponse;
|
|
416
|
-
searchApp(
|
|
417
|
-
requestMessage: auth_account_pb.AccountProto.SearchRequest,
|
|
418
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
|
|
419
|
-
): UnaryResponse;
|
|
420
306
|
activateAccount(
|
|
421
307
|
requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
|
|
422
308
|
metadata: grpc.Metadata,
|
|
@@ -453,15 +339,6 @@ export class ClusterAccountGRPCClient {
|
|
|
453
339
|
requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
|
|
454
340
|
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
|
|
455
341
|
): UnaryResponse;
|
|
456
|
-
setAccountScope(
|
|
457
|
-
requestMessage: auth_account_pb.AccountProto.SetAccountScopeRequest,
|
|
458
|
-
metadata: grpc.Metadata,
|
|
459
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
|
|
460
|
-
): UnaryResponse;
|
|
461
|
-
setAccountScope(
|
|
462
|
-
requestMessage: auth_account_pb.AccountProto.SetAccountScopeRequest,
|
|
463
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SetAccountScopeReply|null) => void
|
|
464
|
-
): UnaryResponse;
|
|
465
342
|
retrievePushInfo(
|
|
466
343
|
requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
|
|
467
344
|
metadata: grpc.Metadata,
|
|
@@ -489,6 +366,15 @@ export class ClusterAccountGRPCClient {
|
|
|
489
366
|
requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
|
|
490
367
|
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
491
368
|
): UnaryResponse;
|
|
369
|
+
deleteAccountFromCluster(
|
|
370
|
+
requestMessage: auth_account_pb.AccountProto.DeleteFromClusterRequest,
|
|
371
|
+
metadata: grpc.Metadata,
|
|
372
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
373
|
+
): UnaryResponse;
|
|
374
|
+
deleteAccountFromCluster(
|
|
375
|
+
requestMessage: auth_account_pb.AccountProto.DeleteFromClusterRequest,
|
|
376
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
377
|
+
): UnaryResponse;
|
|
492
378
|
retrieveActivationStatuses(
|
|
493
379
|
requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
|
|
494
380
|
metadata: grpc.Metadata,
|
|
@@ -65,15 +65,6 @@ SuperAdminAccountGRPC.SetPassword = {
|
|
|
65
65
|
responseType: auth_account_pb.AccountProto.ChangePasswordReply
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
SuperAdminAccountGRPC.SetAccountScope = {
|
|
69
|
-
methodName: "SetAccountScope",
|
|
70
|
-
service: SuperAdminAccountGRPC,
|
|
71
|
-
requestStream: false,
|
|
72
|
-
responseStream: false,
|
|
73
|
-
requestType: auth_account_pb.AccountProto.SetSuperAccountScopeRequest,
|
|
74
|
-
responseType: auth_account_pb.AccountProto.SetAccountScopeReply
|
|
75
|
-
};
|
|
76
|
-
|
|
77
68
|
exports.SuperAdminAccountGRPC = SuperAdminAccountGRPC;
|
|
78
69
|
|
|
79
70
|
function SuperAdminAccountGRPCClient(serviceHost, options) {
|
|
@@ -267,37 +258,6 @@ SuperAdminAccountGRPCClient.prototype.setPassword = function setPassword(request
|
|
|
267
258
|
};
|
|
268
259
|
};
|
|
269
260
|
|
|
270
|
-
SuperAdminAccountGRPCClient.prototype.setAccountScope = function setAccountScope(requestMessage, metadata, callback) {
|
|
271
|
-
if (arguments.length === 2) {
|
|
272
|
-
callback = arguments[1];
|
|
273
|
-
}
|
|
274
|
-
var client = grpc.unary(SuperAdminAccountGRPC.SetAccountScope, {
|
|
275
|
-
request: requestMessage,
|
|
276
|
-
host: this.serviceHost,
|
|
277
|
-
metadata: metadata,
|
|
278
|
-
transport: this.options.transport,
|
|
279
|
-
debug: this.options.debug,
|
|
280
|
-
onEnd: function (response) {
|
|
281
|
-
if (callback) {
|
|
282
|
-
if (response.status !== grpc.Code.OK) {
|
|
283
|
-
var err = new Error(response.statusMessage);
|
|
284
|
-
err.code = response.status;
|
|
285
|
-
err.metadata = response.trailers;
|
|
286
|
-
callback(err, null);
|
|
287
|
-
} else {
|
|
288
|
-
callback(null, response.message);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
});
|
|
293
|
-
return {
|
|
294
|
-
cancel: function () {
|
|
295
|
-
callback = null;
|
|
296
|
-
client.close();
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
|
|
301
261
|
exports.SuperAdminAccountGRPCClient = SuperAdminAccountGRPCClient;
|
|
302
262
|
|
|
303
263
|
var ClusterAccountGRPC = (function () {
|
|
@@ -324,51 +284,6 @@ ClusterAccountGRPC.InviteAppUser = {
|
|
|
324
284
|
responseType: auth_account_pb.AccountProto
|
|
325
285
|
};
|
|
326
286
|
|
|
327
|
-
ClusterAccountGRPC.Retrieve = {
|
|
328
|
-
methodName: "Retrieve",
|
|
329
|
-
service: ClusterAccountGRPC,
|
|
330
|
-
requestStream: false,
|
|
331
|
-
responseStream: false,
|
|
332
|
-
requestType: auth_account_pb.AccountProto.RetrieveRequest,
|
|
333
|
-
responseType: auth_account_pb.AccountProto
|
|
334
|
-
};
|
|
335
|
-
|
|
336
|
-
ClusterAccountGRPC.Update = {
|
|
337
|
-
methodName: "Update",
|
|
338
|
-
service: ClusterAccountGRPC,
|
|
339
|
-
requestStream: false,
|
|
340
|
-
responseStream: false,
|
|
341
|
-
requestType: auth_account_pb.AccountProto.UpdateRequest,
|
|
342
|
-
responseType: auth_account_pb.AccountProto
|
|
343
|
-
};
|
|
344
|
-
|
|
345
|
-
ClusterAccountGRPC.Delete = {
|
|
346
|
-
methodName: "Delete",
|
|
347
|
-
service: ClusterAccountGRPC,
|
|
348
|
-
requestStream: false,
|
|
349
|
-
responseStream: false,
|
|
350
|
-
requestType: auth_account_pb.AccountProto.DeleteRequest,
|
|
351
|
-
responseType: auth_account_pb.AccountProto.DeleteReply
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
ClusterAccountGRPC.SearchAdmin = {
|
|
355
|
-
methodName: "SearchAdmin",
|
|
356
|
-
service: ClusterAccountGRPC,
|
|
357
|
-
requestStream: false,
|
|
358
|
-
responseStream: false,
|
|
359
|
-
requestType: auth_account_pb.AccountProto.SearchRequest,
|
|
360
|
-
responseType: auth_account_pb.AccountProto.SearchReply
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
ClusterAccountGRPC.SearchApp = {
|
|
364
|
-
methodName: "SearchApp",
|
|
365
|
-
service: ClusterAccountGRPC,
|
|
366
|
-
requestStream: false,
|
|
367
|
-
responseStream: false,
|
|
368
|
-
requestType: auth_account_pb.AccountProto.SearchRequest,
|
|
369
|
-
responseType: auth_account_pb.AccountProto.SearchReply
|
|
370
|
-
};
|
|
371
|
-
|
|
372
287
|
ClusterAccountGRPC.ActivateAccount = {
|
|
373
288
|
methodName: "ActivateAccount",
|
|
374
289
|
service: ClusterAccountGRPC,
|
|
@@ -405,15 +320,6 @@ ClusterAccountGRPC.ChangePassword = {
|
|
|
405
320
|
responseType: auth_account_pb.AccountProto.ChangePasswordReply
|
|
406
321
|
};
|
|
407
322
|
|
|
408
|
-
ClusterAccountGRPC.SetAccountScope = {
|
|
409
|
-
methodName: "SetAccountScope",
|
|
410
|
-
service: ClusterAccountGRPC,
|
|
411
|
-
requestStream: false,
|
|
412
|
-
responseStream: false,
|
|
413
|
-
requestType: auth_account_pb.AccountProto.SetAccountScopeRequest,
|
|
414
|
-
responseType: auth_account_pb.AccountProto.SetAccountScopeReply
|
|
415
|
-
};
|
|
416
|
-
|
|
417
323
|
ClusterAccountGRPC.RetrievePushInfo = {
|
|
418
324
|
methodName: "RetrievePushInfo",
|
|
419
325
|
service: ClusterAccountGRPC,
|
|
@@ -441,6 +347,15 @@ ClusterAccountGRPC.DeleteAccountClusterRole = {
|
|
|
441
347
|
responseType: google_protobuf_empty_pb.Empty
|
|
442
348
|
};
|
|
443
349
|
|
|
350
|
+
ClusterAccountGRPC.DeleteAccountFromCluster = {
|
|
351
|
+
methodName: "DeleteAccountFromCluster",
|
|
352
|
+
service: ClusterAccountGRPC,
|
|
353
|
+
requestStream: false,
|
|
354
|
+
responseStream: false,
|
|
355
|
+
requestType: auth_account_pb.AccountProto.DeleteFromClusterRequest,
|
|
356
|
+
responseType: google_protobuf_empty_pb.Empty
|
|
357
|
+
};
|
|
358
|
+
|
|
444
359
|
ClusterAccountGRPC.RetrieveActivationStatuses = {
|
|
445
360
|
methodName: "RetrieveActivationStatuses",
|
|
446
361
|
service: ClusterAccountGRPC,
|
|
@@ -528,161 +443,6 @@ ClusterAccountGRPCClient.prototype.inviteAppUser = function inviteAppUser(reques
|
|
|
528
443
|
};
|
|
529
444
|
};
|
|
530
445
|
|
|
531
|
-
ClusterAccountGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
|
|
532
|
-
if (arguments.length === 2) {
|
|
533
|
-
callback = arguments[1];
|
|
534
|
-
}
|
|
535
|
-
var client = grpc.unary(ClusterAccountGRPC.Retrieve, {
|
|
536
|
-
request: requestMessage,
|
|
537
|
-
host: this.serviceHost,
|
|
538
|
-
metadata: metadata,
|
|
539
|
-
transport: this.options.transport,
|
|
540
|
-
debug: this.options.debug,
|
|
541
|
-
onEnd: function (response) {
|
|
542
|
-
if (callback) {
|
|
543
|
-
if (response.status !== grpc.Code.OK) {
|
|
544
|
-
var err = new Error(response.statusMessage);
|
|
545
|
-
err.code = response.status;
|
|
546
|
-
err.metadata = response.trailers;
|
|
547
|
-
callback(err, null);
|
|
548
|
-
} else {
|
|
549
|
-
callback(null, response.message);
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
});
|
|
554
|
-
return {
|
|
555
|
-
cancel: function () {
|
|
556
|
-
callback = null;
|
|
557
|
-
client.close();
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
ClusterAccountGRPCClient.prototype.update = function update(requestMessage, metadata, callback) {
|
|
563
|
-
if (arguments.length === 2) {
|
|
564
|
-
callback = arguments[1];
|
|
565
|
-
}
|
|
566
|
-
var client = grpc.unary(ClusterAccountGRPC.Update, {
|
|
567
|
-
request: requestMessage,
|
|
568
|
-
host: this.serviceHost,
|
|
569
|
-
metadata: metadata,
|
|
570
|
-
transport: this.options.transport,
|
|
571
|
-
debug: this.options.debug,
|
|
572
|
-
onEnd: function (response) {
|
|
573
|
-
if (callback) {
|
|
574
|
-
if (response.status !== grpc.Code.OK) {
|
|
575
|
-
var err = new Error(response.statusMessage);
|
|
576
|
-
err.code = response.status;
|
|
577
|
-
err.metadata = response.trailers;
|
|
578
|
-
callback(err, null);
|
|
579
|
-
} else {
|
|
580
|
-
callback(null, response.message);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
});
|
|
585
|
-
return {
|
|
586
|
-
cancel: function () {
|
|
587
|
-
callback = null;
|
|
588
|
-
client.close();
|
|
589
|
-
}
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
|
|
593
|
-
ClusterAccountGRPCClient.prototype.delete = function pb_delete(requestMessage, metadata, callback) {
|
|
594
|
-
if (arguments.length === 2) {
|
|
595
|
-
callback = arguments[1];
|
|
596
|
-
}
|
|
597
|
-
var client = grpc.unary(ClusterAccountGRPC.Delete, {
|
|
598
|
-
request: requestMessage,
|
|
599
|
-
host: this.serviceHost,
|
|
600
|
-
metadata: metadata,
|
|
601
|
-
transport: this.options.transport,
|
|
602
|
-
debug: this.options.debug,
|
|
603
|
-
onEnd: function (response) {
|
|
604
|
-
if (callback) {
|
|
605
|
-
if (response.status !== grpc.Code.OK) {
|
|
606
|
-
var err = new Error(response.statusMessage);
|
|
607
|
-
err.code = response.status;
|
|
608
|
-
err.metadata = response.trailers;
|
|
609
|
-
callback(err, null);
|
|
610
|
-
} else {
|
|
611
|
-
callback(null, response.message);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
});
|
|
616
|
-
return {
|
|
617
|
-
cancel: function () {
|
|
618
|
-
callback = null;
|
|
619
|
-
client.close();
|
|
620
|
-
}
|
|
621
|
-
};
|
|
622
|
-
};
|
|
623
|
-
|
|
624
|
-
ClusterAccountGRPCClient.prototype.searchAdmin = function searchAdmin(requestMessage, metadata, callback) {
|
|
625
|
-
if (arguments.length === 2) {
|
|
626
|
-
callback = arguments[1];
|
|
627
|
-
}
|
|
628
|
-
var client = grpc.unary(ClusterAccountGRPC.SearchAdmin, {
|
|
629
|
-
request: requestMessage,
|
|
630
|
-
host: this.serviceHost,
|
|
631
|
-
metadata: metadata,
|
|
632
|
-
transport: this.options.transport,
|
|
633
|
-
debug: this.options.debug,
|
|
634
|
-
onEnd: function (response) {
|
|
635
|
-
if (callback) {
|
|
636
|
-
if (response.status !== grpc.Code.OK) {
|
|
637
|
-
var err = new Error(response.statusMessage);
|
|
638
|
-
err.code = response.status;
|
|
639
|
-
err.metadata = response.trailers;
|
|
640
|
-
callback(err, null);
|
|
641
|
-
} else {
|
|
642
|
-
callback(null, response.message);
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
});
|
|
647
|
-
return {
|
|
648
|
-
cancel: function () {
|
|
649
|
-
callback = null;
|
|
650
|
-
client.close();
|
|
651
|
-
}
|
|
652
|
-
};
|
|
653
|
-
};
|
|
654
|
-
|
|
655
|
-
ClusterAccountGRPCClient.prototype.searchApp = function searchApp(requestMessage, metadata, callback) {
|
|
656
|
-
if (arguments.length === 2) {
|
|
657
|
-
callback = arguments[1];
|
|
658
|
-
}
|
|
659
|
-
var client = grpc.unary(ClusterAccountGRPC.SearchApp, {
|
|
660
|
-
request: requestMessage,
|
|
661
|
-
host: this.serviceHost,
|
|
662
|
-
metadata: metadata,
|
|
663
|
-
transport: this.options.transport,
|
|
664
|
-
debug: this.options.debug,
|
|
665
|
-
onEnd: function (response) {
|
|
666
|
-
if (callback) {
|
|
667
|
-
if (response.status !== grpc.Code.OK) {
|
|
668
|
-
var err = new Error(response.statusMessage);
|
|
669
|
-
err.code = response.status;
|
|
670
|
-
err.metadata = response.trailers;
|
|
671
|
-
callback(err, null);
|
|
672
|
-
} else {
|
|
673
|
-
callback(null, response.message);
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
});
|
|
678
|
-
return {
|
|
679
|
-
cancel: function () {
|
|
680
|
-
callback = null;
|
|
681
|
-
client.close();
|
|
682
|
-
}
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
|
|
686
446
|
ClusterAccountGRPCClient.prototype.activateAccount = function activateAccount(requestMessage, metadata, callback) {
|
|
687
447
|
if (arguments.length === 2) {
|
|
688
448
|
callback = arguments[1];
|
|
@@ -807,11 +567,11 @@ ClusterAccountGRPCClient.prototype.changePassword = function changePassword(requ
|
|
|
807
567
|
};
|
|
808
568
|
};
|
|
809
569
|
|
|
810
|
-
ClusterAccountGRPCClient.prototype.
|
|
570
|
+
ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(requestMessage, metadata, callback) {
|
|
811
571
|
if (arguments.length === 2) {
|
|
812
572
|
callback = arguments[1];
|
|
813
573
|
}
|
|
814
|
-
var client = grpc.unary(ClusterAccountGRPC.
|
|
574
|
+
var client = grpc.unary(ClusterAccountGRPC.RetrievePushInfo, {
|
|
815
575
|
request: requestMessage,
|
|
816
576
|
host: this.serviceHost,
|
|
817
577
|
metadata: metadata,
|
|
@@ -838,11 +598,11 @@ ClusterAccountGRPCClient.prototype.setAccountScope = function setAccountScope(re
|
|
|
838
598
|
};
|
|
839
599
|
};
|
|
840
600
|
|
|
841
|
-
ClusterAccountGRPCClient.prototype.
|
|
601
|
+
ClusterAccountGRPCClient.prototype.setAccountClusterRole = function setAccountClusterRole(requestMessage, metadata, callback) {
|
|
842
602
|
if (arguments.length === 2) {
|
|
843
603
|
callback = arguments[1];
|
|
844
604
|
}
|
|
845
|
-
var client = grpc.unary(ClusterAccountGRPC.
|
|
605
|
+
var client = grpc.unary(ClusterAccountGRPC.SetAccountClusterRole, {
|
|
846
606
|
request: requestMessage,
|
|
847
607
|
host: this.serviceHost,
|
|
848
608
|
metadata: metadata,
|
|
@@ -869,11 +629,11 @@ ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(
|
|
|
869
629
|
};
|
|
870
630
|
};
|
|
871
631
|
|
|
872
|
-
ClusterAccountGRPCClient.prototype.
|
|
632
|
+
ClusterAccountGRPCClient.prototype.deleteAccountClusterRole = function deleteAccountClusterRole(requestMessage, metadata, callback) {
|
|
873
633
|
if (arguments.length === 2) {
|
|
874
634
|
callback = arguments[1];
|
|
875
635
|
}
|
|
876
|
-
var client = grpc.unary(ClusterAccountGRPC.
|
|
636
|
+
var client = grpc.unary(ClusterAccountGRPC.DeleteAccountClusterRole, {
|
|
877
637
|
request: requestMessage,
|
|
878
638
|
host: this.serviceHost,
|
|
879
639
|
metadata: metadata,
|
|
@@ -900,11 +660,11 @@ ClusterAccountGRPCClient.prototype.setAccountClusterRole = function setAccountCl
|
|
|
900
660
|
};
|
|
901
661
|
};
|
|
902
662
|
|
|
903
|
-
ClusterAccountGRPCClient.prototype.
|
|
663
|
+
ClusterAccountGRPCClient.prototype.deleteAccountFromCluster = function deleteAccountFromCluster(requestMessage, metadata, callback) {
|
|
904
664
|
if (arguments.length === 2) {
|
|
905
665
|
callback = arguments[1];
|
|
906
666
|
}
|
|
907
|
-
var client = grpc.unary(ClusterAccountGRPC.
|
|
667
|
+
var client = grpc.unary(ClusterAccountGRPC.DeleteAccountFromCluster, {
|
|
908
668
|
request: requestMessage,
|
|
909
669
|
host: this.serviceHost,
|
|
910
670
|
metadata: metadata,
|