@fonoster/sdk 0.9.15 → 0.9.19
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/dist/node/Users.d.ts +40 -1
- package/dist/node/Users.js +55 -0
- package/dist/node/Workspaces.d.ts +23 -2
- package/dist/node/Workspaces.js +31 -1
- package/dist/node/client/types/IdentityClient.d.ts +4 -1
- package/dist/node/generated/node/identity_grpc_pb.js +44 -0
- package/dist/node/generated/node/identity_pb.js +446 -112
- package/dist/node/generated/web/IdentityServiceClientPb.ts +86 -0
- package/dist/node/generated/web/identity_pb.d.ts +63 -23
- package/dist/node/generated/web/identity_pb.js +446 -112
- package/dist/node/tsconfig.tsbuildinfo +1 -1
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +4 -4
|
@@ -57,15 +57,16 @@ goog.exportSymbol('proto.fonoster.identity.v1beta2.ListWorkspaceMembersRequest',
|
|
|
57
57
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse', null, global);
|
|
58
58
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ListWorkspacesRequest', null, global);
|
|
59
59
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ListWorkspacesResponse', null, global);
|
|
60
|
-
goog.exportSymbol('proto.fonoster.identity.v1beta2.Member', null, global);
|
|
61
60
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest', null, global);
|
|
62
61
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse', null, global);
|
|
63
62
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest', null, global);
|
|
64
63
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse', null, global);
|
|
65
64
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest', null, global);
|
|
66
65
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse', null, global);
|
|
66
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.ResetPasswordRequest', null, global);
|
|
67
67
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.RevokeTokenRequest', null, global);
|
|
68
68
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.RevokeTokenResponse', null, global);
|
|
69
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest', null, global);
|
|
69
70
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.SendVerificationCodeRequest', null, global);
|
|
70
71
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.UpdateUserRequest', null, global);
|
|
71
72
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.UpdateUserResponse', null, global);
|
|
@@ -74,6 +75,7 @@ goog.exportSymbol('proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse', nul
|
|
|
74
75
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.User', null, global);
|
|
75
76
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.VerifyCodeRequest', null, global);
|
|
76
77
|
goog.exportSymbol('proto.fonoster.identity.v1beta2.Workspace', null, global);
|
|
78
|
+
goog.exportSymbol('proto.fonoster.identity.v1beta2.WorkspaceMember', null, global);
|
|
77
79
|
/**
|
|
78
80
|
* Generated by JsPbCodeGenerator.
|
|
79
81
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -420,16 +422,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
420
422
|
* @extends {jspb.Message}
|
|
421
423
|
* @constructor
|
|
422
424
|
*/
|
|
423
|
-
proto.fonoster.identity.v1beta2.
|
|
425
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember = function(opt_data) {
|
|
424
426
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
425
427
|
};
|
|
426
|
-
goog.inherits(proto.fonoster.identity.v1beta2.
|
|
428
|
+
goog.inherits(proto.fonoster.identity.v1beta2.WorkspaceMember, jspb.Message);
|
|
427
429
|
if (goog.DEBUG && !COMPILED) {
|
|
428
430
|
/**
|
|
429
431
|
* @public
|
|
430
432
|
* @override
|
|
431
433
|
*/
|
|
432
|
-
proto.fonoster.identity.v1beta2.
|
|
434
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.displayName = 'proto.fonoster.identity.v1beta2.WorkspaceMember';
|
|
433
435
|
}
|
|
434
436
|
/**
|
|
435
437
|
* Generated by JsPbCodeGenerator.
|
|
@@ -683,6 +685,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
683
685
|
*/
|
|
684
686
|
proto.fonoster.identity.v1beta2.VerifyCodeRequest.displayName = 'proto.fonoster.identity.v1beta2.VerifyCodeRequest';
|
|
685
687
|
}
|
|
688
|
+
/**
|
|
689
|
+
* Generated by JsPbCodeGenerator.
|
|
690
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
691
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
692
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
693
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
694
|
+
* valid.
|
|
695
|
+
* @extends {jspb.Message}
|
|
696
|
+
* @constructor
|
|
697
|
+
*/
|
|
698
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest = function(opt_data) {
|
|
699
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
700
|
+
};
|
|
701
|
+
goog.inherits(proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest, jspb.Message);
|
|
702
|
+
if (goog.DEBUG && !COMPILED) {
|
|
703
|
+
/**
|
|
704
|
+
* @public
|
|
705
|
+
* @override
|
|
706
|
+
*/
|
|
707
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.displayName = 'proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest';
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* Generated by JsPbCodeGenerator.
|
|
711
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
712
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
713
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
714
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
715
|
+
* valid.
|
|
716
|
+
* @extends {jspb.Message}
|
|
717
|
+
* @constructor
|
|
718
|
+
*/
|
|
719
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest = function(opt_data) {
|
|
720
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
721
|
+
};
|
|
722
|
+
goog.inherits(proto.fonoster.identity.v1beta2.ResetPasswordRequest, jspb.Message);
|
|
723
|
+
if (goog.DEBUG && !COMPILED) {
|
|
724
|
+
/**
|
|
725
|
+
* @public
|
|
726
|
+
* @override
|
|
727
|
+
*/
|
|
728
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.displayName = 'proto.fonoster.identity.v1beta2.ResetPasswordRequest';
|
|
729
|
+
}
|
|
686
730
|
/**
|
|
687
731
|
* Generated by JsPbCodeGenerator.
|
|
688
732
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3529,8 +3573,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3529
3573
|
* http://goto/soy-param-migration
|
|
3530
3574
|
* @return {!Object}
|
|
3531
3575
|
*/
|
|
3532
|
-
proto.fonoster.identity.v1beta2.
|
|
3533
|
-
return proto.fonoster.identity.v1beta2.
|
|
3576
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.toObject = function(opt_includeInstance) {
|
|
3577
|
+
return proto.fonoster.identity.v1beta2.WorkspaceMember.toObject(opt_includeInstance, this);
|
|
3534
3578
|
};
|
|
3535
3579
|
|
|
3536
3580
|
|
|
@@ -3539,21 +3583,20 @@ proto.fonoster.identity.v1beta2.Member.prototype.toObject = function(opt_include
|
|
|
3539
3583
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3540
3584
|
* the JSPB instance for transitional soy proto support:
|
|
3541
3585
|
* http://goto/soy-param-migration
|
|
3542
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
3586
|
+
* @param {!proto.fonoster.identity.v1beta2.WorkspaceMember} msg The msg instance to transform.
|
|
3543
3587
|
* @return {!Object}
|
|
3544
3588
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3545
3589
|
*/
|
|
3546
|
-
proto.fonoster.identity.v1beta2.
|
|
3590
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.toObject = function(includeInstance, msg) {
|
|
3547
3591
|
var f, obj = {
|
|
3548
3592
|
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3549
3593
|
userRef: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
3594
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3595
|
+
email: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3596
|
+
role: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3597
|
+
status: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3598
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
3599
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
3557
3600
|
};
|
|
3558
3601
|
|
|
3559
3602
|
if (includeInstance) {
|
|
@@ -3567,23 +3610,23 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
|
3567
3610
|
/**
|
|
3568
3611
|
* Deserializes binary data (in protobuf wire format).
|
|
3569
3612
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3570
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3613
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember}
|
|
3571
3614
|
*/
|
|
3572
|
-
proto.fonoster.identity.v1beta2.
|
|
3615
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.deserializeBinary = function(bytes) {
|
|
3573
3616
|
var reader = new jspb.BinaryReader(bytes);
|
|
3574
|
-
var msg = new proto.fonoster.identity.v1beta2.
|
|
3575
|
-
return proto.fonoster.identity.v1beta2.
|
|
3617
|
+
var msg = new proto.fonoster.identity.v1beta2.WorkspaceMember;
|
|
3618
|
+
return proto.fonoster.identity.v1beta2.WorkspaceMember.deserializeBinaryFromReader(msg, reader);
|
|
3576
3619
|
};
|
|
3577
3620
|
|
|
3578
3621
|
|
|
3579
3622
|
/**
|
|
3580
3623
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3581
3624
|
* given reader into the given message object.
|
|
3582
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
3625
|
+
* @param {!proto.fonoster.identity.v1beta2.WorkspaceMember} msg The message object to deserialize into.
|
|
3583
3626
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3584
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3627
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember}
|
|
3585
3628
|
*/
|
|
3586
|
-
proto.fonoster.identity.v1beta2.
|
|
3629
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.deserializeBinaryFromReader = function(msg, reader) {
|
|
3587
3630
|
while (reader.nextField()) {
|
|
3588
3631
|
if (reader.isEndGroup()) {
|
|
3589
3632
|
break;
|
|
@@ -3599,30 +3642,26 @@ proto.fonoster.identity.v1beta2.Member.deserializeBinaryFromReader = function(ms
|
|
|
3599
3642
|
msg.setUserRef(value);
|
|
3600
3643
|
break;
|
|
3601
3644
|
case 3:
|
|
3602
|
-
var value = /** @type {string} */ (reader.readString());
|
|
3603
|
-
msg.setWorkspaceRef(value);
|
|
3604
|
-
break;
|
|
3605
|
-
case 4:
|
|
3606
3645
|
var value = /** @type {string} */ (reader.readString());
|
|
3607
3646
|
msg.setName(value);
|
|
3608
3647
|
break;
|
|
3609
|
-
case
|
|
3648
|
+
case 4:
|
|
3610
3649
|
var value = /** @type {string} */ (reader.readString());
|
|
3611
3650
|
msg.setEmail(value);
|
|
3612
3651
|
break;
|
|
3613
|
-
case
|
|
3652
|
+
case 5:
|
|
3614
3653
|
var value = /** @type {string} */ (reader.readString());
|
|
3615
3654
|
msg.setRole(value);
|
|
3616
3655
|
break;
|
|
3617
|
-
case
|
|
3656
|
+
case 6:
|
|
3618
3657
|
var value = /** @type {string} */ (reader.readString());
|
|
3619
3658
|
msg.setStatus(value);
|
|
3620
3659
|
break;
|
|
3621
|
-
case
|
|
3660
|
+
case 7:
|
|
3622
3661
|
var value = /** @type {number} */ (reader.readInt32());
|
|
3623
3662
|
msg.setCreatedAt(value);
|
|
3624
3663
|
break;
|
|
3625
|
-
case
|
|
3664
|
+
case 8:
|
|
3626
3665
|
var value = /** @type {number} */ (reader.readInt32());
|
|
3627
3666
|
msg.setUpdatedAt(value);
|
|
3628
3667
|
break;
|
|
@@ -3639,9 +3678,9 @@ proto.fonoster.identity.v1beta2.Member.deserializeBinaryFromReader = function(ms
|
|
|
3639
3678
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3640
3679
|
* @return {!Uint8Array}
|
|
3641
3680
|
*/
|
|
3642
|
-
proto.fonoster.identity.v1beta2.
|
|
3681
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.serializeBinary = function() {
|
|
3643
3682
|
var writer = new jspb.BinaryWriter();
|
|
3644
|
-
proto.fonoster.identity.v1beta2.
|
|
3683
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.serializeBinaryToWriter(this, writer);
|
|
3645
3684
|
return writer.getResultBuffer();
|
|
3646
3685
|
};
|
|
3647
3686
|
|
|
@@ -3649,11 +3688,11 @@ proto.fonoster.identity.v1beta2.Member.prototype.serializeBinary = function() {
|
|
|
3649
3688
|
/**
|
|
3650
3689
|
* Serializes the given message to binary data (in protobuf wire
|
|
3651
3690
|
* format), writing to the given BinaryWriter.
|
|
3652
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
3691
|
+
* @param {!proto.fonoster.identity.v1beta2.WorkspaceMember} message
|
|
3653
3692
|
* @param {!jspb.BinaryWriter} writer
|
|
3654
3693
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3655
3694
|
*/
|
|
3656
|
-
proto.fonoster.identity.v1beta2.
|
|
3695
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.serializeBinaryToWriter = function(message, writer) {
|
|
3657
3696
|
var f = undefined;
|
|
3658
3697
|
f = message.getRef();
|
|
3659
3698
|
if (f.length > 0) {
|
|
@@ -3669,52 +3708,45 @@ proto.fonoster.identity.v1beta2.Member.serializeBinaryToWriter = function(messag
|
|
|
3669
3708
|
f
|
|
3670
3709
|
);
|
|
3671
3710
|
}
|
|
3672
|
-
f = message.getWorkspaceRef();
|
|
3673
|
-
if (f.length > 0) {
|
|
3674
|
-
writer.writeString(
|
|
3675
|
-
3,
|
|
3676
|
-
f
|
|
3677
|
-
);
|
|
3678
|
-
}
|
|
3679
3711
|
f = message.getName();
|
|
3680
3712
|
if (f.length > 0) {
|
|
3681
3713
|
writer.writeString(
|
|
3682
|
-
|
|
3714
|
+
3,
|
|
3683
3715
|
f
|
|
3684
3716
|
);
|
|
3685
3717
|
}
|
|
3686
3718
|
f = message.getEmail();
|
|
3687
3719
|
if (f.length > 0) {
|
|
3688
3720
|
writer.writeString(
|
|
3689
|
-
|
|
3721
|
+
4,
|
|
3690
3722
|
f
|
|
3691
3723
|
);
|
|
3692
3724
|
}
|
|
3693
3725
|
f = message.getRole();
|
|
3694
3726
|
if (f.length > 0) {
|
|
3695
3727
|
writer.writeString(
|
|
3696
|
-
|
|
3728
|
+
5,
|
|
3697
3729
|
f
|
|
3698
3730
|
);
|
|
3699
3731
|
}
|
|
3700
3732
|
f = message.getStatus();
|
|
3701
3733
|
if (f.length > 0) {
|
|
3702
3734
|
writer.writeString(
|
|
3703
|
-
|
|
3735
|
+
6,
|
|
3704
3736
|
f
|
|
3705
3737
|
);
|
|
3706
3738
|
}
|
|
3707
3739
|
f = message.getCreatedAt();
|
|
3708
3740
|
if (f !== 0) {
|
|
3709
3741
|
writer.writeInt32(
|
|
3710
|
-
|
|
3742
|
+
7,
|
|
3711
3743
|
f
|
|
3712
3744
|
);
|
|
3713
3745
|
}
|
|
3714
3746
|
f = message.getUpdatedAt();
|
|
3715
3747
|
if (f !== 0) {
|
|
3716
3748
|
writer.writeInt32(
|
|
3717
|
-
|
|
3749
|
+
8,
|
|
3718
3750
|
f
|
|
3719
3751
|
);
|
|
3720
3752
|
}
|
|
@@ -3725,16 +3757,16 @@ proto.fonoster.identity.v1beta2.Member.serializeBinaryToWriter = function(messag
|
|
|
3725
3757
|
* optional string ref = 1;
|
|
3726
3758
|
* @return {string}
|
|
3727
3759
|
*/
|
|
3728
|
-
proto.fonoster.identity.v1beta2.
|
|
3760
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.getRef = function() {
|
|
3729
3761
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3730
3762
|
};
|
|
3731
3763
|
|
|
3732
3764
|
|
|
3733
3765
|
/**
|
|
3734
3766
|
* @param {string} value
|
|
3735
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3767
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember} returns this
|
|
3736
3768
|
*/
|
|
3737
|
-
proto.fonoster.identity.v1beta2.
|
|
3769
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.setRef = function(value) {
|
|
3738
3770
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3739
3771
|
};
|
|
3740
3772
|
|
|
@@ -3743,143 +3775,125 @@ proto.fonoster.identity.v1beta2.Member.prototype.setRef = function(value) {
|
|
|
3743
3775
|
* optional string user_ref = 2;
|
|
3744
3776
|
* @return {string}
|
|
3745
3777
|
*/
|
|
3746
|
-
proto.fonoster.identity.v1beta2.
|
|
3778
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.getUserRef = function() {
|
|
3747
3779
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3748
3780
|
};
|
|
3749
3781
|
|
|
3750
3782
|
|
|
3751
3783
|
/**
|
|
3752
3784
|
* @param {string} value
|
|
3753
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3785
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember} returns this
|
|
3754
3786
|
*/
|
|
3755
|
-
proto.fonoster.identity.v1beta2.
|
|
3787
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.setUserRef = function(value) {
|
|
3756
3788
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3757
3789
|
};
|
|
3758
3790
|
|
|
3759
3791
|
|
|
3760
3792
|
/**
|
|
3761
|
-
* optional string
|
|
3793
|
+
* optional string name = 3;
|
|
3762
3794
|
* @return {string}
|
|
3763
3795
|
*/
|
|
3764
|
-
proto.fonoster.identity.v1beta2.
|
|
3796
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.getName = function() {
|
|
3765
3797
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3766
3798
|
};
|
|
3767
3799
|
|
|
3768
3800
|
|
|
3769
3801
|
/**
|
|
3770
3802
|
* @param {string} value
|
|
3771
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3803
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember} returns this
|
|
3772
3804
|
*/
|
|
3773
|
-
proto.fonoster.identity.v1beta2.
|
|
3805
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.setName = function(value) {
|
|
3774
3806
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3775
3807
|
};
|
|
3776
3808
|
|
|
3777
3809
|
|
|
3778
3810
|
/**
|
|
3779
|
-
* optional string
|
|
3811
|
+
* optional string email = 4;
|
|
3780
3812
|
* @return {string}
|
|
3781
3813
|
*/
|
|
3782
|
-
proto.fonoster.identity.v1beta2.
|
|
3814
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.getEmail = function() {
|
|
3783
3815
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3784
3816
|
};
|
|
3785
3817
|
|
|
3786
3818
|
|
|
3787
3819
|
/**
|
|
3788
3820
|
* @param {string} value
|
|
3789
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3821
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember} returns this
|
|
3790
3822
|
*/
|
|
3791
|
-
proto.fonoster.identity.v1beta2.
|
|
3823
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.setEmail = function(value) {
|
|
3792
3824
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3793
3825
|
};
|
|
3794
3826
|
|
|
3795
3827
|
|
|
3796
3828
|
/**
|
|
3797
|
-
* optional string
|
|
3829
|
+
* optional string role = 5;
|
|
3798
3830
|
* @return {string}
|
|
3799
3831
|
*/
|
|
3800
|
-
proto.fonoster.identity.v1beta2.
|
|
3832
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.getRole = function() {
|
|
3801
3833
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3802
3834
|
};
|
|
3803
3835
|
|
|
3804
3836
|
|
|
3805
3837
|
/**
|
|
3806
3838
|
* @param {string} value
|
|
3807
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3839
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember} returns this
|
|
3808
3840
|
*/
|
|
3809
|
-
proto.fonoster.identity.v1beta2.
|
|
3841
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.setRole = function(value) {
|
|
3810
3842
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3811
3843
|
};
|
|
3812
3844
|
|
|
3813
3845
|
|
|
3814
3846
|
/**
|
|
3815
|
-
* optional string
|
|
3847
|
+
* optional string status = 6;
|
|
3816
3848
|
* @return {string}
|
|
3817
3849
|
*/
|
|
3818
|
-
proto.fonoster.identity.v1beta2.
|
|
3850
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.getStatus = function() {
|
|
3819
3851
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3820
3852
|
};
|
|
3821
3853
|
|
|
3822
3854
|
|
|
3823
3855
|
/**
|
|
3824
3856
|
* @param {string} value
|
|
3825
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3857
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember} returns this
|
|
3826
3858
|
*/
|
|
3827
|
-
proto.fonoster.identity.v1beta2.
|
|
3859
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.setStatus = function(value) {
|
|
3828
3860
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3829
3861
|
};
|
|
3830
3862
|
|
|
3831
3863
|
|
|
3832
3864
|
/**
|
|
3833
|
-
* optional
|
|
3834
|
-
* @return {string}
|
|
3835
|
-
*/
|
|
3836
|
-
proto.fonoster.identity.v1beta2.Member.prototype.getStatus = function() {
|
|
3837
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3838
|
-
};
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
/**
|
|
3842
|
-
* @param {string} value
|
|
3843
|
-
* @return {!proto.fonoster.identity.v1beta2.Member} returns this
|
|
3844
|
-
*/
|
|
3845
|
-
proto.fonoster.identity.v1beta2.Member.prototype.setStatus = function(value) {
|
|
3846
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3847
|
-
};
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
/**
|
|
3851
|
-
* optional int32 created_at = 8;
|
|
3865
|
+
* optional int32 created_at = 7;
|
|
3852
3866
|
* @return {number}
|
|
3853
3867
|
*/
|
|
3854
|
-
proto.fonoster.identity.v1beta2.
|
|
3855
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
3868
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.getCreatedAt = function() {
|
|
3869
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
3856
3870
|
};
|
|
3857
3871
|
|
|
3858
3872
|
|
|
3859
3873
|
/**
|
|
3860
3874
|
* @param {number} value
|
|
3861
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3875
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember} returns this
|
|
3862
3876
|
*/
|
|
3863
|
-
proto.fonoster.identity.v1beta2.
|
|
3864
|
-
return jspb.Message.setProto3IntField(this,
|
|
3877
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.setCreatedAt = function(value) {
|
|
3878
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
3865
3879
|
};
|
|
3866
3880
|
|
|
3867
3881
|
|
|
3868
3882
|
/**
|
|
3869
|
-
* optional int32 updated_at =
|
|
3883
|
+
* optional int32 updated_at = 8;
|
|
3870
3884
|
* @return {number}
|
|
3871
3885
|
*/
|
|
3872
|
-
proto.fonoster.identity.v1beta2.
|
|
3873
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
3886
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.getUpdatedAt = function() {
|
|
3887
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
3874
3888
|
};
|
|
3875
3889
|
|
|
3876
3890
|
|
|
3877
3891
|
/**
|
|
3878
3892
|
* @param {number} value
|
|
3879
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
3893
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember} returns this
|
|
3880
3894
|
*/
|
|
3881
|
-
proto.fonoster.identity.v1beta2.
|
|
3882
|
-
return jspb.Message.setProto3IntField(this,
|
|
3895
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.prototype.setUpdatedAt = function(value) {
|
|
3896
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
3883
3897
|
};
|
|
3884
3898
|
|
|
3885
3899
|
|
|
@@ -4083,7 +4097,7 @@ proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.prototype.toObject
|
|
|
4083
4097
|
proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.toObject = function(includeInstance, msg) {
|
|
4084
4098
|
var f, obj = {
|
|
4085
4099
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
4086
|
-
proto.fonoster.identity.v1beta2.
|
|
4100
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.toObject, includeInstance),
|
|
4087
4101
|
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4088
4102
|
};
|
|
4089
4103
|
|
|
@@ -4122,8 +4136,8 @@ proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.deserializeBinaryFr
|
|
|
4122
4136
|
var field = reader.getFieldNumber();
|
|
4123
4137
|
switch (field) {
|
|
4124
4138
|
case 1:
|
|
4125
|
-
var value = new proto.fonoster.identity.v1beta2.
|
|
4126
|
-
reader.readMessage(value,proto.fonoster.identity.v1beta2.
|
|
4139
|
+
var value = new proto.fonoster.identity.v1beta2.WorkspaceMember;
|
|
4140
|
+
reader.readMessage(value,proto.fonoster.identity.v1beta2.WorkspaceMember.deserializeBinaryFromReader);
|
|
4127
4141
|
msg.addItems(value);
|
|
4128
4142
|
break;
|
|
4129
4143
|
case 2:
|
|
@@ -4164,7 +4178,7 @@ proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.serializeBinaryToWr
|
|
|
4164
4178
|
writer.writeRepeatedMessage(
|
|
4165
4179
|
1,
|
|
4166
4180
|
f,
|
|
4167
|
-
proto.fonoster.identity.v1beta2.
|
|
4181
|
+
proto.fonoster.identity.v1beta2.WorkspaceMember.serializeBinaryToWriter
|
|
4168
4182
|
);
|
|
4169
4183
|
}
|
|
4170
4184
|
f = message.getNextPageToken();
|
|
@@ -4178,17 +4192,17 @@ proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.serializeBinaryToWr
|
|
|
4178
4192
|
|
|
4179
4193
|
|
|
4180
4194
|
/**
|
|
4181
|
-
* repeated
|
|
4182
|
-
* @return {!Array<!proto.fonoster.identity.v1beta2.
|
|
4195
|
+
* repeated WorkspaceMember items = 1;
|
|
4196
|
+
* @return {!Array<!proto.fonoster.identity.v1beta2.WorkspaceMember>}
|
|
4183
4197
|
*/
|
|
4184
4198
|
proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.prototype.getItemsList = function() {
|
|
4185
|
-
return /** @type{!Array<!proto.fonoster.identity.v1beta2.
|
|
4186
|
-
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.identity.v1beta2.
|
|
4199
|
+
return /** @type{!Array<!proto.fonoster.identity.v1beta2.WorkspaceMember>} */ (
|
|
4200
|
+
jspb.Message.getRepeatedWrapperField(this, proto.fonoster.identity.v1beta2.WorkspaceMember, 1));
|
|
4187
4201
|
};
|
|
4188
4202
|
|
|
4189
4203
|
|
|
4190
4204
|
/**
|
|
4191
|
-
* @param {!Array<!proto.fonoster.identity.v1beta2.
|
|
4205
|
+
* @param {!Array<!proto.fonoster.identity.v1beta2.WorkspaceMember>} value
|
|
4192
4206
|
* @return {!proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse} returns this
|
|
4193
4207
|
*/
|
|
4194
4208
|
proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.prototype.setItemsList = function(value) {
|
|
@@ -4197,12 +4211,12 @@ proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.prototype.setItemsL
|
|
|
4197
4211
|
|
|
4198
4212
|
|
|
4199
4213
|
/**
|
|
4200
|
-
* @param {!proto.fonoster.identity.v1beta2.
|
|
4214
|
+
* @param {!proto.fonoster.identity.v1beta2.WorkspaceMember=} opt_value
|
|
4201
4215
|
* @param {number=} opt_index
|
|
4202
|
-
* @return {!proto.fonoster.identity.v1beta2.
|
|
4216
|
+
* @return {!proto.fonoster.identity.v1beta2.WorkspaceMember}
|
|
4203
4217
|
*/
|
|
4204
4218
|
proto.fonoster.identity.v1beta2.ListWorkspaceMembersResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
4205
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.identity.v1beta2.
|
|
4219
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.fonoster.identity.v1beta2.WorkspaceMember, opt_index);
|
|
4206
4220
|
};
|
|
4207
4221
|
|
|
4208
4222
|
|
|
@@ -5986,6 +6000,326 @@ proto.fonoster.identity.v1beta2.VerifyCodeRequest.prototype.setVerificationCode
|
|
|
5986
6000
|
|
|
5987
6001
|
|
|
5988
6002
|
|
|
6003
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6004
|
+
/**
|
|
6005
|
+
* Creates an object representation of this proto.
|
|
6006
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6007
|
+
* Optional fields that are not set will be set to undefined.
|
|
6008
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6009
|
+
* For the list of reserved names please see:
|
|
6010
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6011
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6012
|
+
* JSPB instance for transitional soy proto support:
|
|
6013
|
+
* http://goto/soy-param-migration
|
|
6014
|
+
* @return {!Object}
|
|
6015
|
+
*/
|
|
6016
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6017
|
+
return proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.toObject(opt_includeInstance, this);
|
|
6018
|
+
};
|
|
6019
|
+
|
|
6020
|
+
|
|
6021
|
+
/**
|
|
6022
|
+
* Static version of the {@see toObject} method.
|
|
6023
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6024
|
+
* the JSPB instance for transitional soy proto support:
|
|
6025
|
+
* http://goto/soy-param-migration
|
|
6026
|
+
* @param {!proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest} msg The msg instance to transform.
|
|
6027
|
+
* @return {!Object}
|
|
6028
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6029
|
+
*/
|
|
6030
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.toObject = function(includeInstance, msg) {
|
|
6031
|
+
var f, obj = {
|
|
6032
|
+
username: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
6033
|
+
};
|
|
6034
|
+
|
|
6035
|
+
if (includeInstance) {
|
|
6036
|
+
obj.$jspbMessageInstance = msg;
|
|
6037
|
+
}
|
|
6038
|
+
return obj;
|
|
6039
|
+
};
|
|
6040
|
+
}
|
|
6041
|
+
|
|
6042
|
+
|
|
6043
|
+
/**
|
|
6044
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6045
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6046
|
+
* @return {!proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest}
|
|
6047
|
+
*/
|
|
6048
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.deserializeBinary = function(bytes) {
|
|
6049
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6050
|
+
var msg = new proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest;
|
|
6051
|
+
return proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.deserializeBinaryFromReader(msg, reader);
|
|
6052
|
+
};
|
|
6053
|
+
|
|
6054
|
+
|
|
6055
|
+
/**
|
|
6056
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6057
|
+
* given reader into the given message object.
|
|
6058
|
+
* @param {!proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest} msg The message object to deserialize into.
|
|
6059
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6060
|
+
* @return {!proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest}
|
|
6061
|
+
*/
|
|
6062
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6063
|
+
while (reader.nextField()) {
|
|
6064
|
+
if (reader.isEndGroup()) {
|
|
6065
|
+
break;
|
|
6066
|
+
}
|
|
6067
|
+
var field = reader.getFieldNumber();
|
|
6068
|
+
switch (field) {
|
|
6069
|
+
case 1:
|
|
6070
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6071
|
+
msg.setUsername(value);
|
|
6072
|
+
break;
|
|
6073
|
+
default:
|
|
6074
|
+
reader.skipField();
|
|
6075
|
+
break;
|
|
6076
|
+
}
|
|
6077
|
+
}
|
|
6078
|
+
return msg;
|
|
6079
|
+
};
|
|
6080
|
+
|
|
6081
|
+
|
|
6082
|
+
/**
|
|
6083
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6084
|
+
* @return {!Uint8Array}
|
|
6085
|
+
*/
|
|
6086
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.prototype.serializeBinary = function() {
|
|
6087
|
+
var writer = new jspb.BinaryWriter();
|
|
6088
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.serializeBinaryToWriter(this, writer);
|
|
6089
|
+
return writer.getResultBuffer();
|
|
6090
|
+
};
|
|
6091
|
+
|
|
6092
|
+
|
|
6093
|
+
/**
|
|
6094
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6095
|
+
* format), writing to the given BinaryWriter.
|
|
6096
|
+
* @param {!proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest} message
|
|
6097
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6099
|
+
*/
|
|
6100
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6101
|
+
var f = undefined;
|
|
6102
|
+
f = message.getUsername();
|
|
6103
|
+
if (f.length > 0) {
|
|
6104
|
+
writer.writeString(
|
|
6105
|
+
1,
|
|
6106
|
+
f
|
|
6107
|
+
);
|
|
6108
|
+
}
|
|
6109
|
+
};
|
|
6110
|
+
|
|
6111
|
+
|
|
6112
|
+
/**
|
|
6113
|
+
* optional string username = 1;
|
|
6114
|
+
* @return {string}
|
|
6115
|
+
*/
|
|
6116
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.prototype.getUsername = function() {
|
|
6117
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6118
|
+
};
|
|
6119
|
+
|
|
6120
|
+
|
|
6121
|
+
/**
|
|
6122
|
+
* @param {string} value
|
|
6123
|
+
* @return {!proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest} returns this
|
|
6124
|
+
*/
|
|
6125
|
+
proto.fonoster.identity.v1beta2.SendResetPasswordCodeRequest.prototype.setUsername = function(value) {
|
|
6126
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6127
|
+
};
|
|
6128
|
+
|
|
6129
|
+
|
|
6130
|
+
|
|
6131
|
+
|
|
6132
|
+
|
|
6133
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6134
|
+
/**
|
|
6135
|
+
* Creates an object representation of this proto.
|
|
6136
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6137
|
+
* Optional fields that are not set will be set to undefined.
|
|
6138
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6139
|
+
* For the list of reserved names please see:
|
|
6140
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6141
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6142
|
+
* JSPB instance for transitional soy proto support:
|
|
6143
|
+
* http://goto/soy-param-migration
|
|
6144
|
+
* @return {!Object}
|
|
6145
|
+
*/
|
|
6146
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6147
|
+
return proto.fonoster.identity.v1beta2.ResetPasswordRequest.toObject(opt_includeInstance, this);
|
|
6148
|
+
};
|
|
6149
|
+
|
|
6150
|
+
|
|
6151
|
+
/**
|
|
6152
|
+
* Static version of the {@see toObject} method.
|
|
6153
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6154
|
+
* the JSPB instance for transitional soy proto support:
|
|
6155
|
+
* http://goto/soy-param-migration
|
|
6156
|
+
* @param {!proto.fonoster.identity.v1beta2.ResetPasswordRequest} msg The msg instance to transform.
|
|
6157
|
+
* @return {!Object}
|
|
6158
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6159
|
+
*/
|
|
6160
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.toObject = function(includeInstance, msg) {
|
|
6161
|
+
var f, obj = {
|
|
6162
|
+
username: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6163
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6164
|
+
verificationCode: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
6165
|
+
};
|
|
6166
|
+
|
|
6167
|
+
if (includeInstance) {
|
|
6168
|
+
obj.$jspbMessageInstance = msg;
|
|
6169
|
+
}
|
|
6170
|
+
return obj;
|
|
6171
|
+
};
|
|
6172
|
+
}
|
|
6173
|
+
|
|
6174
|
+
|
|
6175
|
+
/**
|
|
6176
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6177
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6178
|
+
* @return {!proto.fonoster.identity.v1beta2.ResetPasswordRequest}
|
|
6179
|
+
*/
|
|
6180
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.deserializeBinary = function(bytes) {
|
|
6181
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6182
|
+
var msg = new proto.fonoster.identity.v1beta2.ResetPasswordRequest;
|
|
6183
|
+
return proto.fonoster.identity.v1beta2.ResetPasswordRequest.deserializeBinaryFromReader(msg, reader);
|
|
6184
|
+
};
|
|
6185
|
+
|
|
6186
|
+
|
|
6187
|
+
/**
|
|
6188
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6189
|
+
* given reader into the given message object.
|
|
6190
|
+
* @param {!proto.fonoster.identity.v1beta2.ResetPasswordRequest} msg The message object to deserialize into.
|
|
6191
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6192
|
+
* @return {!proto.fonoster.identity.v1beta2.ResetPasswordRequest}
|
|
6193
|
+
*/
|
|
6194
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6195
|
+
while (reader.nextField()) {
|
|
6196
|
+
if (reader.isEndGroup()) {
|
|
6197
|
+
break;
|
|
6198
|
+
}
|
|
6199
|
+
var field = reader.getFieldNumber();
|
|
6200
|
+
switch (field) {
|
|
6201
|
+
case 1:
|
|
6202
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6203
|
+
msg.setUsername(value);
|
|
6204
|
+
break;
|
|
6205
|
+
case 2:
|
|
6206
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6207
|
+
msg.setPassword(value);
|
|
6208
|
+
break;
|
|
6209
|
+
case 3:
|
|
6210
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6211
|
+
msg.setVerificationCode(value);
|
|
6212
|
+
break;
|
|
6213
|
+
default:
|
|
6214
|
+
reader.skipField();
|
|
6215
|
+
break;
|
|
6216
|
+
}
|
|
6217
|
+
}
|
|
6218
|
+
return msg;
|
|
6219
|
+
};
|
|
6220
|
+
|
|
6221
|
+
|
|
6222
|
+
/**
|
|
6223
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6224
|
+
* @return {!Uint8Array}
|
|
6225
|
+
*/
|
|
6226
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.prototype.serializeBinary = function() {
|
|
6227
|
+
var writer = new jspb.BinaryWriter();
|
|
6228
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.serializeBinaryToWriter(this, writer);
|
|
6229
|
+
return writer.getResultBuffer();
|
|
6230
|
+
};
|
|
6231
|
+
|
|
6232
|
+
|
|
6233
|
+
/**
|
|
6234
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6235
|
+
* format), writing to the given BinaryWriter.
|
|
6236
|
+
* @param {!proto.fonoster.identity.v1beta2.ResetPasswordRequest} message
|
|
6237
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6238
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6239
|
+
*/
|
|
6240
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6241
|
+
var f = undefined;
|
|
6242
|
+
f = message.getUsername();
|
|
6243
|
+
if (f.length > 0) {
|
|
6244
|
+
writer.writeString(
|
|
6245
|
+
1,
|
|
6246
|
+
f
|
|
6247
|
+
);
|
|
6248
|
+
}
|
|
6249
|
+
f = message.getPassword();
|
|
6250
|
+
if (f.length > 0) {
|
|
6251
|
+
writer.writeString(
|
|
6252
|
+
2,
|
|
6253
|
+
f
|
|
6254
|
+
);
|
|
6255
|
+
}
|
|
6256
|
+
f = message.getVerificationCode();
|
|
6257
|
+
if (f.length > 0) {
|
|
6258
|
+
writer.writeString(
|
|
6259
|
+
3,
|
|
6260
|
+
f
|
|
6261
|
+
);
|
|
6262
|
+
}
|
|
6263
|
+
};
|
|
6264
|
+
|
|
6265
|
+
|
|
6266
|
+
/**
|
|
6267
|
+
* optional string username = 1;
|
|
6268
|
+
* @return {string}
|
|
6269
|
+
*/
|
|
6270
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.prototype.getUsername = function() {
|
|
6271
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6272
|
+
};
|
|
6273
|
+
|
|
6274
|
+
|
|
6275
|
+
/**
|
|
6276
|
+
* @param {string} value
|
|
6277
|
+
* @return {!proto.fonoster.identity.v1beta2.ResetPasswordRequest} returns this
|
|
6278
|
+
*/
|
|
6279
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.prototype.setUsername = function(value) {
|
|
6280
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6281
|
+
};
|
|
6282
|
+
|
|
6283
|
+
|
|
6284
|
+
/**
|
|
6285
|
+
* optional string password = 2;
|
|
6286
|
+
* @return {string}
|
|
6287
|
+
*/
|
|
6288
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.prototype.getPassword = function() {
|
|
6289
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6290
|
+
};
|
|
6291
|
+
|
|
6292
|
+
|
|
6293
|
+
/**
|
|
6294
|
+
* @param {string} value
|
|
6295
|
+
* @return {!proto.fonoster.identity.v1beta2.ResetPasswordRequest} returns this
|
|
6296
|
+
*/
|
|
6297
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.prototype.setPassword = function(value) {
|
|
6298
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6299
|
+
};
|
|
6300
|
+
|
|
6301
|
+
|
|
6302
|
+
/**
|
|
6303
|
+
* optional string verification_code = 3;
|
|
6304
|
+
* @return {string}
|
|
6305
|
+
*/
|
|
6306
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.prototype.getVerificationCode = function() {
|
|
6307
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6308
|
+
};
|
|
6309
|
+
|
|
6310
|
+
|
|
6311
|
+
/**
|
|
6312
|
+
* @param {string} value
|
|
6313
|
+
* @return {!proto.fonoster.identity.v1beta2.ResetPasswordRequest} returns this
|
|
6314
|
+
*/
|
|
6315
|
+
proto.fonoster.identity.v1beta2.ResetPasswordRequest.prototype.setVerificationCode = function(value) {
|
|
6316
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6317
|
+
};
|
|
6318
|
+
|
|
6319
|
+
|
|
6320
|
+
|
|
6321
|
+
|
|
6322
|
+
|
|
5989
6323
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5990
6324
|
/**
|
|
5991
6325
|
* Creates an object representation of this proto.
|