@aceplus/smartace-api 2.13.0-alpha.9 → 3.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.
@@ -106,6 +106,9 @@ export namespace AccountProto {
106
106
  getCompany(): string;
107
107
  setCompany(value: string): void;
108
108
 
109
+ getClientName(): string;
110
+ setClientName(value: string): void;
111
+
109
112
  serializeBinary(): Uint8Array;
110
113
  toObject(includeInstance?: boolean): CreateAppRequest.AsObject;
111
114
  static toObject(includeInstance: boolean, msg: CreateAppRequest): CreateAppRequest.AsObject;
@@ -123,6 +126,7 @@ export namespace AccountProto {
123
126
  lastName: string,
124
127
  locale: string,
125
128
  company: string,
129
+ clientName: string,
126
130
  }
127
131
  }
128
132
 
@@ -462,50 +466,6 @@ export namespace AccountProto {
462
466
  }
463
467
  }
464
468
 
465
- export class AccountClusterRoleRequest extends jspb.Message {
466
- getId(): number;
467
- setId(value: number): void;
468
-
469
- getRole(): AccountProto.RolesMap[keyof AccountProto.RolesMap];
470
- setRole(value: AccountProto.RolesMap[keyof AccountProto.RolesMap]): void;
471
-
472
- serializeBinary(): Uint8Array;
473
- toObject(includeInstance?: boolean): AccountClusterRoleRequest.AsObject;
474
- static toObject(includeInstance: boolean, msg: AccountClusterRoleRequest): AccountClusterRoleRequest.AsObject;
475
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
476
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
477
- static serializeBinaryToWriter(message: AccountClusterRoleRequest, writer: jspb.BinaryWriter): void;
478
- static deserializeBinary(bytes: Uint8Array): AccountClusterRoleRequest;
479
- static deserializeBinaryFromReader(message: AccountClusterRoleRequest, reader: jspb.BinaryReader): AccountClusterRoleRequest;
480
- }
481
-
482
- export namespace AccountClusterRoleRequest {
483
- export type AsObject = {
484
- id: number,
485
- role: AccountProto.RolesMap[keyof AccountProto.RolesMap],
486
- }
487
- }
488
-
489
- export class DeleteFromClusterRequest extends jspb.Message {
490
- getId(): number;
491
- setId(value: number): void;
492
-
493
- serializeBinary(): Uint8Array;
494
- toObject(includeInstance?: boolean): DeleteFromClusterRequest.AsObject;
495
- static toObject(includeInstance: boolean, msg: DeleteFromClusterRequest): DeleteFromClusterRequest.AsObject;
496
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
497
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
498
- static serializeBinaryToWriter(message: DeleteFromClusterRequest, writer: jspb.BinaryWriter): void;
499
- static deserializeBinary(bytes: Uint8Array): DeleteFromClusterRequest;
500
- static deserializeBinaryFromReader(message: DeleteFromClusterRequest, reader: jspb.BinaryReader): DeleteFromClusterRequest;
501
- }
502
-
503
- export namespace DeleteFromClusterRequest {
504
- export type AsObject = {
505
- id: number,
506
- }
507
- }
508
-
509
469
  export class RetrieveAccountActivationStatusesRequest extends jspb.Message {
510
470
  clearIdsList(): void;
511
471
  getIdsList(): Array<number>;
@@ -30,7 +30,6 @@ goog.object.extend(proto, platform_pagination_pb);
30
30
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
31
31
  goog.object.extend(proto, google_protobuf_empty_pb);
32
32
  goog.exportSymbol('proto.Auth.AccountProto', null, global);
33
- goog.exportSymbol('proto.Auth.AccountProto.AccountClusterRoleRequest', null, global);
34
33
  goog.exportSymbol('proto.Auth.AccountProto.AccountsActivationStatuses', null, global);
35
34
  goog.exportSymbol('proto.Auth.AccountProto.ActivateAccountRequest', null, global);
36
35
  goog.exportSymbol('proto.Auth.AccountProto.ActivationStatuses', null, global);
@@ -38,7 +37,6 @@ goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordReply', null, global);
38
37
  goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordRequest', null, global);
39
38
  goog.exportSymbol('proto.Auth.AccountProto.CreateAdminRequest', null, global);
40
39
  goog.exportSymbol('proto.Auth.AccountProto.CreateAppRequest', null, global);
41
- goog.exportSymbol('proto.Auth.AccountProto.DeleteFromClusterRequest', null, global);
42
40
  goog.exportSymbol('proto.Auth.AccountProto.DeleteReply', null, global);
43
41
  goog.exportSymbol('proto.Auth.AccountProto.DeleteRequest', null, global);
44
42
  goog.exportSymbol('proto.Auth.AccountProto.ForgotPasswordRequest', null, global);
@@ -389,48 +387,6 @@ if (goog.DEBUG && !COMPILED) {
389
387
  */
390
388
  proto.Auth.AccountProto.RetrievePushInfoReply.displayName = 'proto.Auth.AccountProto.RetrievePushInfoReply';
391
389
  }
392
- /**
393
- * Generated by JsPbCodeGenerator.
394
- * @param {Array=} opt_data Optional initial data array, typically from a
395
- * server response, or constructed directly in Javascript. The array is used
396
- * in place and becomes part of the constructed object. It is not cloned.
397
- * If no data is provided, the constructed object will be empty, but still
398
- * valid.
399
- * @extends {jspb.Message}
400
- * @constructor
401
- */
402
- proto.Auth.AccountProto.AccountClusterRoleRequest = function(opt_data) {
403
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
404
- };
405
- goog.inherits(proto.Auth.AccountProto.AccountClusterRoleRequest, jspb.Message);
406
- if (goog.DEBUG && !COMPILED) {
407
- /**
408
- * @public
409
- * @override
410
- */
411
- proto.Auth.AccountProto.AccountClusterRoleRequest.displayName = 'proto.Auth.AccountProto.AccountClusterRoleRequest';
412
- }
413
- /**
414
- * Generated by JsPbCodeGenerator.
415
- * @param {Array=} opt_data Optional initial data array, typically from a
416
- * server response, or constructed directly in Javascript. The array is used
417
- * in place and becomes part of the constructed object. It is not cloned.
418
- * If no data is provided, the constructed object will be empty, but still
419
- * valid.
420
- * @extends {jspb.Message}
421
- * @constructor
422
- */
423
- proto.Auth.AccountProto.DeleteFromClusterRequest = function(opt_data) {
424
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
425
- };
426
- goog.inherits(proto.Auth.AccountProto.DeleteFromClusterRequest, jspb.Message);
427
- if (goog.DEBUG && !COMPILED) {
428
- /**
429
- * @public
430
- * @override
431
- */
432
- proto.Auth.AccountProto.DeleteFromClusterRequest.displayName = 'proto.Auth.AccountProto.DeleteFromClusterRequest';
433
- }
434
390
  /**
435
391
  * Generated by JsPbCodeGenerator.
436
392
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1020,7 +976,8 @@ proto.Auth.AccountProto.CreateAppRequest.toObject = function(includeInstance, ms
1020
976
  firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1021
977
  lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1022
978
  locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
1023
- company: jspb.Message.getFieldWithDefault(msg, 5, "")
979
+ company: jspb.Message.getFieldWithDefault(msg, 5, ""),
980
+ clientName: jspb.Message.getFieldWithDefault(msg, 6, "")
1024
981
  };
1025
982
 
1026
983
  if (includeInstance) {
@@ -1077,6 +1034,10 @@ proto.Auth.AccountProto.CreateAppRequest.deserializeBinaryFromReader = function(
1077
1034
  var value = /** @type {string} */ (reader.readString());
1078
1035
  msg.setCompany(value);
1079
1036
  break;
1037
+ case 6:
1038
+ var value = /** @type {string} */ (reader.readString());
1039
+ msg.setClientName(value);
1040
+ break;
1080
1041
  default:
1081
1042
  reader.skipField();
1082
1043
  break;
@@ -1141,6 +1102,13 @@ proto.Auth.AccountProto.CreateAppRequest.serializeBinaryToWriter = function(mess
1141
1102
  f
1142
1103
  );
1143
1104
  }
1105
+ f = message.getClientName();
1106
+ if (f.length > 0) {
1107
+ writer.writeString(
1108
+ 6,
1109
+ f
1110
+ );
1111
+ }
1144
1112
  };
1145
1113
 
1146
1114
 
@@ -1234,6 +1202,24 @@ proto.Auth.AccountProto.CreateAppRequest.prototype.setCompany = function(value)
1234
1202
  };
1235
1203
 
1236
1204
 
1205
+ /**
1206
+ * optional string client_name = 6;
1207
+ * @return {string}
1208
+ */
1209
+ proto.Auth.AccountProto.CreateAppRequest.prototype.getClientName = function() {
1210
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1211
+ };
1212
+
1213
+
1214
+ /**
1215
+ * @param {string} value
1216
+ * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1217
+ */
1218
+ proto.Auth.AccountProto.CreateAppRequest.prototype.setClientName = function(value) {
1219
+ return jspb.Message.setProto3StringField(this, 6, value);
1220
+ };
1221
+
1222
+
1237
1223
 
1238
1224
 
1239
1225
 
@@ -3517,296 +3503,6 @@ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushtype = function(v
3517
3503
 
3518
3504
 
3519
3505
 
3520
-
3521
-
3522
- if (jspb.Message.GENERATE_TO_OBJECT) {
3523
- /**
3524
- * Creates an object representation of this proto.
3525
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3526
- * Optional fields that are not set will be set to undefined.
3527
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3528
- * For the list of reserved names please see:
3529
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3530
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3531
- * JSPB instance for transitional soy proto support:
3532
- * http://goto/soy-param-migration
3533
- * @return {!Object}
3534
- */
3535
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.toObject = function(opt_includeInstance) {
3536
- return proto.Auth.AccountProto.AccountClusterRoleRequest.toObject(opt_includeInstance, this);
3537
- };
3538
-
3539
-
3540
- /**
3541
- * Static version of the {@see toObject} method.
3542
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3543
- * the JSPB instance for transitional soy proto support:
3544
- * http://goto/soy-param-migration
3545
- * @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} msg The msg instance to transform.
3546
- * @return {!Object}
3547
- * @suppress {unusedLocalVariables} f is only used for nested messages
3548
- */
3549
- proto.Auth.AccountProto.AccountClusterRoleRequest.toObject = function(includeInstance, msg) {
3550
- var f, obj = {
3551
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3552
- role: jspb.Message.getFieldWithDefault(msg, 2, 0)
3553
- };
3554
-
3555
- if (includeInstance) {
3556
- obj.$jspbMessageInstance = msg;
3557
- }
3558
- return obj;
3559
- };
3560
- }
3561
-
3562
-
3563
- /**
3564
- * Deserializes binary data (in protobuf wire format).
3565
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3566
- * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest}
3567
- */
3568
- proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinary = function(bytes) {
3569
- var reader = new jspb.BinaryReader(bytes);
3570
- var msg = new proto.Auth.AccountProto.AccountClusterRoleRequest;
3571
- return proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader(msg, reader);
3572
- };
3573
-
3574
-
3575
- /**
3576
- * Deserializes binary data (in protobuf wire format) from the
3577
- * given reader into the given message object.
3578
- * @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} msg The message object to deserialize into.
3579
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3580
- * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest}
3581
- */
3582
- proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
3583
- while (reader.nextField()) {
3584
- if (reader.isEndGroup()) {
3585
- break;
3586
- }
3587
- var field = reader.getFieldNumber();
3588
- switch (field) {
3589
- case 1:
3590
- var value = /** @type {number} */ (reader.readInt64());
3591
- msg.setId(value);
3592
- break;
3593
- case 2:
3594
- var value = /** @type {!proto.Auth.AccountProto.Roles} */ (reader.readEnum());
3595
- msg.setRole(value);
3596
- break;
3597
- default:
3598
- reader.skipField();
3599
- break;
3600
- }
3601
- }
3602
- return msg;
3603
- };
3604
-
3605
-
3606
- /**
3607
- * Serializes the message to binary data (in protobuf wire format).
3608
- * @return {!Uint8Array}
3609
- */
3610
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.serializeBinary = function() {
3611
- var writer = new jspb.BinaryWriter();
3612
- proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter(this, writer);
3613
- return writer.getResultBuffer();
3614
- };
3615
-
3616
-
3617
- /**
3618
- * Serializes the given message to binary data (in protobuf wire
3619
- * format), writing to the given BinaryWriter.
3620
- * @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} message
3621
- * @param {!jspb.BinaryWriter} writer
3622
- * @suppress {unusedLocalVariables} f is only used for nested messages
3623
- */
3624
- proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter = function(message, writer) {
3625
- var f = undefined;
3626
- f = message.getId();
3627
- if (f !== 0) {
3628
- writer.writeInt64(
3629
- 1,
3630
- f
3631
- );
3632
- }
3633
- f = message.getRole();
3634
- if (f !== 0.0) {
3635
- writer.writeEnum(
3636
- 2,
3637
- f
3638
- );
3639
- }
3640
- };
3641
-
3642
-
3643
- /**
3644
- * optional int64 id = 1;
3645
- * @return {number}
3646
- */
3647
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getId = function() {
3648
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3649
- };
3650
-
3651
-
3652
- /**
3653
- * @param {number} value
3654
- * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
3655
- */
3656
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setId = function(value) {
3657
- return jspb.Message.setProto3IntField(this, 1, value);
3658
- };
3659
-
3660
-
3661
- /**
3662
- * optional Roles role = 2;
3663
- * @return {!proto.Auth.AccountProto.Roles}
3664
- */
3665
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getRole = function() {
3666
- return /** @type {!proto.Auth.AccountProto.Roles} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3667
- };
3668
-
3669
-
3670
- /**
3671
- * @param {!proto.Auth.AccountProto.Roles} value
3672
- * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
3673
- */
3674
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setRole = function(value) {
3675
- return jspb.Message.setProto3EnumField(this, 2, value);
3676
- };
3677
-
3678
-
3679
-
3680
-
3681
-
3682
- if (jspb.Message.GENERATE_TO_OBJECT) {
3683
- /**
3684
- * Creates an object representation of this proto.
3685
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3686
- * Optional fields that are not set will be set to undefined.
3687
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3688
- * For the list of reserved names please see:
3689
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3690
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3691
- * JSPB instance for transitional soy proto support:
3692
- * http://goto/soy-param-migration
3693
- * @return {!Object}
3694
- */
3695
- proto.Auth.AccountProto.DeleteFromClusterRequest.prototype.toObject = function(opt_includeInstance) {
3696
- return proto.Auth.AccountProto.DeleteFromClusterRequest.toObject(opt_includeInstance, this);
3697
- };
3698
-
3699
-
3700
- /**
3701
- * Static version of the {@see toObject} method.
3702
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3703
- * the JSPB instance for transitional soy proto support:
3704
- * http://goto/soy-param-migration
3705
- * @param {!proto.Auth.AccountProto.DeleteFromClusterRequest} msg The msg instance to transform.
3706
- * @return {!Object}
3707
- * @suppress {unusedLocalVariables} f is only used for nested messages
3708
- */
3709
- proto.Auth.AccountProto.DeleteFromClusterRequest.toObject = function(includeInstance, msg) {
3710
- var f, obj = {
3711
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
3712
- };
3713
-
3714
- if (includeInstance) {
3715
- obj.$jspbMessageInstance = msg;
3716
- }
3717
- return obj;
3718
- };
3719
- }
3720
-
3721
-
3722
- /**
3723
- * Deserializes binary data (in protobuf wire format).
3724
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3725
- * @return {!proto.Auth.AccountProto.DeleteFromClusterRequest}
3726
- */
3727
- proto.Auth.AccountProto.DeleteFromClusterRequest.deserializeBinary = function(bytes) {
3728
- var reader = new jspb.BinaryReader(bytes);
3729
- var msg = new proto.Auth.AccountProto.DeleteFromClusterRequest;
3730
- return proto.Auth.AccountProto.DeleteFromClusterRequest.deserializeBinaryFromReader(msg, reader);
3731
- };
3732
-
3733
-
3734
- /**
3735
- * Deserializes binary data (in protobuf wire format) from the
3736
- * given reader into the given message object.
3737
- * @param {!proto.Auth.AccountProto.DeleteFromClusterRequest} msg The message object to deserialize into.
3738
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3739
- * @return {!proto.Auth.AccountProto.DeleteFromClusterRequest}
3740
- */
3741
- proto.Auth.AccountProto.DeleteFromClusterRequest.deserializeBinaryFromReader = function(msg, reader) {
3742
- while (reader.nextField()) {
3743
- if (reader.isEndGroup()) {
3744
- break;
3745
- }
3746
- var field = reader.getFieldNumber();
3747
- switch (field) {
3748
- case 1:
3749
- var value = /** @type {number} */ (reader.readInt64());
3750
- msg.setId(value);
3751
- break;
3752
- default:
3753
- reader.skipField();
3754
- break;
3755
- }
3756
- }
3757
- return msg;
3758
- };
3759
-
3760
-
3761
- /**
3762
- * Serializes the message to binary data (in protobuf wire format).
3763
- * @return {!Uint8Array}
3764
- */
3765
- proto.Auth.AccountProto.DeleteFromClusterRequest.prototype.serializeBinary = function() {
3766
- var writer = new jspb.BinaryWriter();
3767
- proto.Auth.AccountProto.DeleteFromClusterRequest.serializeBinaryToWriter(this, writer);
3768
- return writer.getResultBuffer();
3769
- };
3770
-
3771
-
3772
- /**
3773
- * Serializes the given message to binary data (in protobuf wire
3774
- * format), writing to the given BinaryWriter.
3775
- * @param {!proto.Auth.AccountProto.DeleteFromClusterRequest} message
3776
- * @param {!jspb.BinaryWriter} writer
3777
- * @suppress {unusedLocalVariables} f is only used for nested messages
3778
- */
3779
- proto.Auth.AccountProto.DeleteFromClusterRequest.serializeBinaryToWriter = function(message, writer) {
3780
- var f = undefined;
3781
- f = message.getId();
3782
- if (f !== 0) {
3783
- writer.writeInt64(
3784
- 1,
3785
- f
3786
- );
3787
- }
3788
- };
3789
-
3790
-
3791
- /**
3792
- * optional int64 id = 1;
3793
- * @return {number}
3794
- */
3795
- proto.Auth.AccountProto.DeleteFromClusterRequest.prototype.getId = function() {
3796
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3797
- };
3798
-
3799
-
3800
- /**
3801
- * @param {number} value
3802
- * @return {!proto.Auth.AccountProto.DeleteFromClusterRequest} returns this
3803
- */
3804
- proto.Auth.AccountProto.DeleteFromClusterRequest.prototype.setId = function(value) {
3805
- return jspb.Message.setProto3IntField(this, 1, value);
3806
- };
3807
-
3808
-
3809
-
3810
3506
  /**
3811
3507
  * List of repeated fields within this message type.
3812
3508
  * @private {!Array<number>}
@@ -132,33 +132,6 @@ type ClusterAccountGRPCRetrievePushInfo = {
132
132
  readonly responseType: typeof auth_account_pb.AccountProto.RetrievePushInfoReply;
133
133
  };
134
134
 
135
- type ClusterAccountGRPCSetAccountClusterRole = {
136
- readonly methodName: string;
137
- readonly service: typeof ClusterAccountGRPC;
138
- readonly requestStream: false;
139
- readonly responseStream: false;
140
- readonly requestType: typeof auth_account_pb.AccountProto.AccountClusterRoleRequest;
141
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
142
- };
143
-
144
- type ClusterAccountGRPCDeleteAccountClusterRole = {
145
- readonly methodName: string;
146
- readonly service: typeof ClusterAccountGRPC;
147
- readonly requestStream: false;
148
- readonly responseStream: false;
149
- readonly requestType: typeof auth_account_pb.AccountProto.AccountClusterRoleRequest;
150
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
151
- };
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
-
162
135
  type ClusterAccountGRPCRetrieveActivationStatuses = {
163
136
  readonly methodName: string;
164
137
  readonly service: typeof ClusterAccountGRPC;
@@ -186,9 +159,6 @@ export class ClusterAccountGRPC {
186
159
  static readonly ResetPassword: ClusterAccountGRPCResetPassword;
187
160
  static readonly ChangePassword: ClusterAccountGRPCChangePassword;
188
161
  static readonly RetrievePushInfo: ClusterAccountGRPCRetrievePushInfo;
189
- static readonly SetAccountClusterRole: ClusterAccountGRPCSetAccountClusterRole;
190
- static readonly DeleteAccountClusterRole: ClusterAccountGRPCDeleteAccountClusterRole;
191
- static readonly DeleteAccountFromCluster: ClusterAccountGRPCDeleteAccountFromCluster;
192
162
  static readonly RetrieveActivationStatuses: ClusterAccountGRPCRetrieveActivationStatuses;
193
163
  static readonly ResendAdminUserInvitation: ClusterAccountGRPCResendAdminUserInvitation;
194
164
  }
@@ -348,33 +318,6 @@ export class ClusterAccountGRPCClient {
348
318
  requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
349
319
  callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
350
320
  ): UnaryResponse;
351
- setAccountClusterRole(
352
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
353
- metadata: grpc.Metadata,
354
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
355
- ): UnaryResponse;
356
- setAccountClusterRole(
357
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
358
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
359
- ): UnaryResponse;
360
- deleteAccountClusterRole(
361
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
362
- metadata: grpc.Metadata,
363
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
364
- ): UnaryResponse;
365
- deleteAccountClusterRole(
366
- requestMessage: auth_account_pb.AccountProto.AccountClusterRoleRequest,
367
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
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;
378
321
  retrieveActivationStatuses(
379
322
  requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
380
323
  metadata: grpc.Metadata,
@@ -329,33 +329,6 @@ ClusterAccountGRPC.RetrievePushInfo = {
329
329
  responseType: auth_account_pb.AccountProto.RetrievePushInfoReply
330
330
  };
331
331
 
332
- ClusterAccountGRPC.SetAccountClusterRole = {
333
- methodName: "SetAccountClusterRole",
334
- service: ClusterAccountGRPC,
335
- requestStream: false,
336
- responseStream: false,
337
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
338
- responseType: google_protobuf_empty_pb.Empty
339
- };
340
-
341
- ClusterAccountGRPC.DeleteAccountClusterRole = {
342
- methodName: "DeleteAccountClusterRole",
343
- service: ClusterAccountGRPC,
344
- requestStream: false,
345
- responseStream: false,
346
- requestType: auth_account_pb.AccountProto.AccountClusterRoleRequest,
347
- responseType: google_protobuf_empty_pb.Empty
348
- };
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
-
359
332
  ClusterAccountGRPC.RetrieveActivationStatuses = {
360
333
  methodName: "RetrieveActivationStatuses",
361
334
  service: ClusterAccountGRPC,
@@ -598,99 +571,6 @@ ClusterAccountGRPCClient.prototype.retrievePushInfo = function retrievePushInfo(
598
571
  };
599
572
  };
600
573
 
601
- ClusterAccountGRPCClient.prototype.setAccountClusterRole = function setAccountClusterRole(requestMessage, metadata, callback) {
602
- if (arguments.length === 2) {
603
- callback = arguments[1];
604
- }
605
- var client = grpc.unary(ClusterAccountGRPC.SetAccountClusterRole, {
606
- request: requestMessage,
607
- host: this.serviceHost,
608
- metadata: metadata,
609
- transport: this.options.transport,
610
- debug: this.options.debug,
611
- onEnd: function (response) {
612
- if (callback) {
613
- if (response.status !== grpc.Code.OK) {
614
- var err = new Error(response.statusMessage);
615
- err.code = response.status;
616
- err.metadata = response.trailers;
617
- callback(err, null);
618
- } else {
619
- callback(null, response.message);
620
- }
621
- }
622
- }
623
- });
624
- return {
625
- cancel: function () {
626
- callback = null;
627
- client.close();
628
- }
629
- };
630
- };
631
-
632
- ClusterAccountGRPCClient.prototype.deleteAccountClusterRole = function deleteAccountClusterRole(requestMessage, metadata, callback) {
633
- if (arguments.length === 2) {
634
- callback = arguments[1];
635
- }
636
- var client = grpc.unary(ClusterAccountGRPC.DeleteAccountClusterRole, {
637
- request: requestMessage,
638
- host: this.serviceHost,
639
- metadata: metadata,
640
- transport: this.options.transport,
641
- debug: this.options.debug,
642
- onEnd: function (response) {
643
- if (callback) {
644
- if (response.status !== grpc.Code.OK) {
645
- var err = new Error(response.statusMessage);
646
- err.code = response.status;
647
- err.metadata = response.trailers;
648
- callback(err, null);
649
- } else {
650
- callback(null, response.message);
651
- }
652
- }
653
- }
654
- });
655
- return {
656
- cancel: function () {
657
- callback = null;
658
- client.close();
659
- }
660
- };
661
- };
662
-
663
- ClusterAccountGRPCClient.prototype.deleteAccountFromCluster = function deleteAccountFromCluster(requestMessage, metadata, callback) {
664
- if (arguments.length === 2) {
665
- callback = arguments[1];
666
- }
667
- var client = grpc.unary(ClusterAccountGRPC.DeleteAccountFromCluster, {
668
- request: requestMessage,
669
- host: this.serviceHost,
670
- metadata: metadata,
671
- transport: this.options.transport,
672
- debug: this.options.debug,
673
- onEnd: function (response) {
674
- if (callback) {
675
- if (response.status !== grpc.Code.OK) {
676
- var err = new Error(response.statusMessage);
677
- err.code = response.status;
678
- err.metadata = response.trailers;
679
- callback(err, null);
680
- } else {
681
- callback(null, response.message);
682
- }
683
- }
684
- }
685
- });
686
- return {
687
- cancel: function () {
688
- callback = null;
689
- client.close();
690
- }
691
- };
692
- };
693
-
694
574
  ClusterAccountGRPCClient.prototype.retrieveActivationStatuses = function retrieveActivationStatuses(requestMessage, metadata, callback) {
695
575
  if (arguments.length === 2) {
696
576
  callback = arguments[1];
@@ -87,6 +87,7 @@ export namespace AuthnProto {
87
87
  ACCOUNT_EXPIRED: 1;
88
88
  MFA_REGISTRATION_REQUIRED: 2;
89
89
  MFA_VERIFICATION_FAILED: 3;
90
+ INVALID_CLIENT_HEADER: 4;
90
91
  }
91
92
 
92
93
  export const AuthnError: AuthnErrorMap;