@aceplus/smartace-api 2.13.0-alpha.10 → 2.13.0-alpha.12
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
CHANGED
|
@@ -462,50 +462,6 @@ export namespace AccountProto {
|
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
|
|
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
465
|
export class RetrieveAccountActivationStatusesRequest extends jspb.Message {
|
|
510
466
|
clearIdsList(): void;
|
|
511
467
|
getIdsList(): Array<number>;
|
package/auth.account_pb.js
CHANGED
|
@@ -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
|
|
@@ -3517,296 +3473,6 @@ proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushtype = function(v
|
|
|
3517
3473
|
|
|
3518
3474
|
|
|
3519
3475
|
|
|
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
3476
|
/**
|
|
3811
3477
|
* List of repeated fields within this message type.
|
|
3812
3478
|
* @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];
|
package/package.json
CHANGED
|
@@ -18,6 +18,11 @@ export class LocalAccountExtendedProto extends jspb.Message {
|
|
|
18
18
|
setClientGroupsList(value: Array<LocalAccountExtendedProto.ClientGroupProto>): void;
|
|
19
19
|
addClientGroups(value?: LocalAccountExtendedProto.ClientGroupProto, index?: number): LocalAccountExtendedProto.ClientGroupProto;
|
|
20
20
|
|
|
21
|
+
clearRolesList(): void;
|
|
22
|
+
getRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
|
|
23
|
+
setRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
|
|
24
|
+
addRoles(value: auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap], index?: number): auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap];
|
|
25
|
+
|
|
21
26
|
serializeBinary(): Uint8Array;
|
|
22
27
|
toObject(includeInstance?: boolean): LocalAccountExtendedProto.AsObject;
|
|
23
28
|
static toObject(includeInstance: boolean, msg: LocalAccountExtendedProto): LocalAccountExtendedProto.AsObject;
|
|
@@ -32,6 +37,7 @@ export namespace LocalAccountExtendedProto {
|
|
|
32
37
|
export type AsObject = {
|
|
33
38
|
account?: platform_local_account_pb.LocalAccountProto.AsObject,
|
|
34
39
|
clientGroupsList: Array<LocalAccountExtendedProto.ClientGroupProto.AsObject>,
|
|
40
|
+
rolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
export class RetrieveRequest extends jspb.Message {
|
|
@@ -167,7 +167,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
167
167
|
* @private {!Array<number>}
|
|
168
168
|
* @const
|
|
169
169
|
*/
|
|
170
|
-
proto.Platform.LocalAccountExtendedProto.repeatedFields_ = [2];
|
|
170
|
+
proto.Platform.LocalAccountExtendedProto.repeatedFields_ = [2,3];
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
|
|
@@ -202,7 +202,8 @@ proto.Platform.LocalAccountExtendedProto.toObject = function(includeInstance, ms
|
|
|
202
202
|
var f, obj = {
|
|
203
203
|
account: (f = msg.getAccount()) && platform_local_account_pb.LocalAccountProto.toObject(includeInstance, f),
|
|
204
204
|
clientGroupsList: jspb.Message.toObjectList(msg.getClientGroupsList(),
|
|
205
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject, includeInstance)
|
|
205
|
+
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject, includeInstance),
|
|
206
|
+
rolesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
206
207
|
};
|
|
207
208
|
|
|
208
209
|
if (includeInstance) {
|
|
@@ -249,6 +250,12 @@ proto.Platform.LocalAccountExtendedProto.deserializeBinaryFromReader = function(
|
|
|
249
250
|
reader.readMessage(value,proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinaryFromReader);
|
|
250
251
|
msg.addClientGroups(value);
|
|
251
252
|
break;
|
|
253
|
+
case 3:
|
|
254
|
+
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
255
|
+
for (var i = 0; i < values.length; i++) {
|
|
256
|
+
msg.addRoles(values[i]);
|
|
257
|
+
}
|
|
258
|
+
break;
|
|
252
259
|
default:
|
|
253
260
|
reader.skipField();
|
|
254
261
|
break;
|
|
@@ -294,6 +301,13 @@ proto.Platform.LocalAccountExtendedProto.serializeBinaryToWriter = function(mess
|
|
|
294
301
|
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.serializeBinaryToWriter
|
|
295
302
|
);
|
|
296
303
|
}
|
|
304
|
+
f = message.getRolesList();
|
|
305
|
+
if (f.length > 0) {
|
|
306
|
+
writer.writePackedEnum(
|
|
307
|
+
3,
|
|
308
|
+
f
|
|
309
|
+
);
|
|
310
|
+
}
|
|
297
311
|
};
|
|
298
312
|
|
|
299
313
|
|
|
@@ -1133,4 +1147,41 @@ proto.Platform.LocalAccountExtendedProto.prototype.clearClientGroupsList = funct
|
|
|
1133
1147
|
};
|
|
1134
1148
|
|
|
1135
1149
|
|
|
1150
|
+
/**
|
|
1151
|
+
* repeated Auth.AccountProto.Roles roles = 3;
|
|
1152
|
+
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
1153
|
+
*/
|
|
1154
|
+
proto.Platform.LocalAccountExtendedProto.prototype.getRolesList = function() {
|
|
1155
|
+
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
1161
|
+
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1162
|
+
*/
|
|
1163
|
+
proto.Platform.LocalAccountExtendedProto.prototype.setRolesList = function(value) {
|
|
1164
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* @param {!proto.Auth.AccountProto.Roles} value
|
|
1170
|
+
* @param {number=} opt_index
|
|
1171
|
+
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1172
|
+
*/
|
|
1173
|
+
proto.Platform.LocalAccountExtendedProto.prototype.addRoles = function(value, opt_index) {
|
|
1174
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* Clears the list making it empty but non-null.
|
|
1180
|
+
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1181
|
+
*/
|
|
1182
|
+
proto.Platform.LocalAccountExtendedProto.prototype.clearRolesList = function() {
|
|
1183
|
+
return this.setRolesList([]);
|
|
1184
|
+
};
|
|
1185
|
+
|
|
1186
|
+
|
|
1136
1187
|
goog.object.extend(exports, proto.Platform);
|