@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-alpha.21

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.
@@ -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;
@@ -196,24 +132,6 @@ type ClusterAccountGRPCRetrievePushInfo = {
196
132
  readonly responseType: typeof auth_account_pb.AccountProto.RetrievePushInfoReply;
197
133
  };
198
134
 
199
- type ClusterAccountGRPCSetAccountClusterRole = {
200
- readonly methodName: string;
201
- readonly service: typeof ClusterAccountGRPC;
202
- readonly requestStream: false;
203
- readonly responseStream: false;
204
- readonly requestType: typeof auth_account_pb.AccountProto.AccountClusterRoleRequest;
205
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
206
- };
207
-
208
- type ClusterAccountGRPCDeleteAccountClusterRole = {
209
- readonly methodName: string;
210
- readonly service: typeof ClusterAccountGRPC;
211
- readonly requestStream: false;
212
- readonly responseStream: false;
213
- readonly requestType: typeof auth_account_pb.AccountProto.AccountClusterRoleRequest;
214
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
215
- };
216
-
217
135
  type ClusterAccountGRPCRetrieveActivationStatuses = {
218
136
  readonly methodName: string;
219
137
  readonly service: typeof ClusterAccountGRPC;
@@ -236,19 +154,11 @@ export class ClusterAccountGRPC {
236
154
  static readonly serviceName: string;
237
155
  static readonly InviteAdminUser: ClusterAccountGRPCInviteAdminUser;
238
156
  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
157
  static readonly ActivateAccount: ClusterAccountGRPCActivateAccount;
245
158
  static readonly ForgotPassword: ClusterAccountGRPCForgotPassword;
246
159
  static readonly ResetPassword: ClusterAccountGRPCResetPassword;
247
160
  static readonly ChangePassword: ClusterAccountGRPCChangePassword;
248
- static readonly SetAccountScope: ClusterAccountGRPCSetAccountScope;
249
161
  static readonly RetrievePushInfo: ClusterAccountGRPCRetrievePushInfo;
250
- static readonly SetAccountClusterRole: ClusterAccountGRPCSetAccountClusterRole;
251
- static readonly DeleteAccountClusterRole: ClusterAccountGRPCDeleteAccountClusterRole;
252
162
  static readonly RetrieveActivationStatuses: ClusterAccountGRPCRetrieveActivationStatuses;
253
163
  static readonly ResendAdminUserInvitation: ClusterAccountGRPCResendAdminUserInvitation;
254
164
  }
@@ -339,15 +249,6 @@ export class SuperAdminAccountGRPCClient {
339
249
  requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
340
250
  callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
341
251
  ): 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
252
  }
352
253
 
353
254
  export class ClusterAccountGRPCClient {
@@ -372,51 +273,6 @@ export class ClusterAccountGRPCClient {
372
273
  requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
373
274
  callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
374
275
  ): 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
276
  activateAccount(
421
277
  requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
422
278
  metadata: grpc.Metadata,
@@ -453,15 +309,6 @@ export class ClusterAccountGRPCClient {
453
309
  requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
454
310
  callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
455
311
  ): 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
312
  retrievePushInfo(
466
313
  requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
467
314
  metadata: grpc.Metadata,
@@ -471,24 +318,6 @@ export class ClusterAccountGRPCClient {
471
318
  requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
472
319
  callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
473
320
  ): UnaryResponse;
474
- setAccountClusterRole(
475
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
476
- metadata: grpc.Metadata,
477
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
478
- ): UnaryResponse;
479
- setAccountClusterRole(
480
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
481
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
482
- ): UnaryResponse;
483
- deleteAccountClusterRole(
484
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
485
- metadata: grpc.Metadata,
486
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
487
- ): UnaryResponse;
488
- deleteAccountClusterRole(
489
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
490
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
491
- ): UnaryResponse;
492
321
  retrieveActivationStatuses(
493
322
  requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
494
323
  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,
@@ -423,24 +329,6 @@ ClusterAccountGRPC.RetrievePushInfo = {
423
329
  responseType: auth_account_pb.AccountProto.RetrievePushInfoReply
424
330
  };
425
331
 
426
- ClusterAccountGRPC.SetAccountClusterRole = {
427
- methodName: "SetAccountClusterRole",
428
- service: ClusterAccountGRPC,
429
- requestStream: false,
430
- responseStream: false,
431
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
432
- responseType: google_protobuf_empty_pb.Empty
433
- };
434
-
435
- ClusterAccountGRPC.DeleteAccountClusterRole = {
436
- methodName: "DeleteAccountClusterRole",
437
- service: ClusterAccountGRPC,
438
- requestStream: false,
439
- responseStream: false,
440
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
441
- responseType: google_protobuf_empty_pb.Empty
442
- };
443
-
444
332
  ClusterAccountGRPC.RetrieveActivationStatuses = {
445
333
  methodName: "RetrieveActivationStatuses",
446
334
  service: ClusterAccountGRPC,
@@ -528,161 +416,6 @@ ClusterAccountGRPCClient.prototype.inviteAppUser = function inviteAppUser(reques
528
416
  };
529
417
  };
530
418
 
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
419
  ClusterAccountGRPCClient.prototype.activateAccount = function activateAccount(requestMessage, metadata, callback) {
687
420
  if (arguments.length === 2) {
688
421
  callback = arguments[1];
@@ -807,37 +540,6 @@ ClusterAccountGRPCClient.prototype.changePassword = function changePassword(requ
807
540
  };
808
541
  };
809
542
 
810
- ClusterAccountGRPCClient.prototype.setAccountScope = function setAccountScope(requestMessage, metadata, callback) {
811
- if (arguments.length === 2) {
812
- callback = arguments[1];
813
- }
814
- var client = grpc.unary(ClusterAccountGRPC.SetAccountScope, {
815
- request: requestMessage,
816
- host: this.serviceHost,
817
- metadata: metadata,
818
- transport: this.options.transport,
819
- debug: this.options.debug,
820
- onEnd: function (response) {
821
- if (callback) {
822
- if (response.status !== grpc.Code.OK) {
823
- var err = new Error(response.statusMessage);
824
- err.code = response.status;
825
- err.metadata = response.trailers;
826
- callback(err, null);
827
- } else {
828
- callback(null, response.message);
829
- }
830
- }
831
- }
832
- });
833
- return {
834
- cancel: function () {
835
- callback = null;
836
- client.close();
837
- }
838
- };
839
- };
840
-
841
543
  ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(requestMessage, metadata, callback) {
842
544
  if (arguments.length === 2) {
843
545
  callback = arguments[1];
@@ -869,68 +571,6 @@ ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(
869
571
  };
870
572
  };
871
573
 
872
- ClusterAccountGRPCClient.prototype.setAccountClusterRole = function setAccountClusterRole(requestMessage, metadata, callback) {
873
- if (arguments.length === 2) {
874
- callback = arguments[1];
875
- }
876
- var client = grpc.unary(ClusterAccountGRPC.SetAccountClusterRole, {
877
- request: requestMessage,
878
- host: this.serviceHost,
879
- metadata: metadata,
880
- transport: this.options.transport,
881
- debug: this.options.debug,
882
- onEnd: function (response) {
883
- if (callback) {
884
- if (response.status !== grpc.Code.OK) {
885
- var err = new Error(response.statusMessage);
886
- err.code = response.status;
887
- err.metadata = response.trailers;
888
- callback(err, null);
889
- } else {
890
- callback(null, response.message);
891
- }
892
- }
893
- }
894
- });
895
- return {
896
- cancel: function () {
897
- callback = null;
898
- client.close();
899
- }
900
- };
901
- };
902
-
903
- ClusterAccountGRPCClient.prototype.deleteAccountClusterRole = function deleteAccountClusterRole(requestMessage, metadata, callback) {
904
- if (arguments.length === 2) {
905
- callback = arguments[1];
906
- }
907
- var client = grpc.unary(ClusterAccountGRPC.DeleteAccountClusterRole, {
908
- request: requestMessage,
909
- host: this.serviceHost,
910
- metadata: metadata,
911
- transport: this.options.transport,
912
- debug: this.options.debug,
913
- onEnd: function (response) {
914
- if (callback) {
915
- if (response.status !== grpc.Code.OK) {
916
- var err = new Error(response.statusMessage);
917
- err.code = response.status;
918
- err.metadata = response.trailers;
919
- callback(err, null);
920
- } else {
921
- callback(null, response.message);
922
- }
923
- }
924
- }
925
- });
926
- return {
927
- cancel: function () {
928
- callback = null;
929
- client.close();
930
- }
931
- };
932
- };
933
-
934
574
  ClusterAccountGRPCClient.prototype.retrieveActivationStatuses = function retrieveActivationStatuses(requestMessage, metadata, callback) {
935
575
  if (arguments.length === 2) {
936
576
  callback = arguments[1];
@@ -3,7 +3,6 @@
3
3
 
4
4
  import * as jspb from "google-protobuf";
5
5
  import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
6
- import * as platform_pagination_pb from "./platform.pagination_pb";
7
6
  import * as platform_client_pb from "./platform.client_pb";
8
7
  import * as google_api_annotations_pb from "./google/api/annotations_pb";
9
8
  import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
package/meta.client_pb.js CHANGED
@@ -23,8 +23,6 @@ var global =
23
23
 
24
24
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
25
  goog.object.extend(proto, google_protobuf_empty_pb);
26
- var platform_pagination_pb = require('./platform.pagination_pb.js');
27
- goog.object.extend(proto, platform_pagination_pb);
28
26
  var platform_client_pb = require('./platform.client_pb.js');
29
27
  goog.object.extend(proto, platform_client_pb);
30
28
  var google_api_annotations_pb = require('./google/api/annotations_pb.js');