geniebox-shared-lib 1.0.56 → 1.0.57
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.
|
@@ -670,12 +670,15 @@ exports.ConfirmEmailRequest = {
|
|
|
670
670
|
},
|
|
671
671
|
};
|
|
672
672
|
function createBaseConfirmEmailByCodeRequest() {
|
|
673
|
-
return {
|
|
673
|
+
return { userId: "", code: "" };
|
|
674
674
|
}
|
|
675
675
|
exports.ConfirmEmailByCodeRequest = {
|
|
676
676
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
677
|
-
if (message.
|
|
678
|
-
writer.uint32(10).string(message.
|
|
677
|
+
if (message.userId !== "") {
|
|
678
|
+
writer.uint32(10).string(message.userId);
|
|
679
|
+
}
|
|
680
|
+
if (message.code !== "") {
|
|
681
|
+
writer.uint32(18).string(message.code);
|
|
679
682
|
}
|
|
680
683
|
return writer;
|
|
681
684
|
},
|
|
@@ -690,7 +693,14 @@ exports.ConfirmEmailByCodeRequest = {
|
|
|
690
693
|
if (tag !== 10) {
|
|
691
694
|
break;
|
|
692
695
|
}
|
|
693
|
-
message.
|
|
696
|
+
message.userId = reader.string();
|
|
697
|
+
continue;
|
|
698
|
+
}
|
|
699
|
+
case 2: {
|
|
700
|
+
if (tag !== 18) {
|
|
701
|
+
break;
|
|
702
|
+
}
|
|
703
|
+
message.code = reader.string();
|
|
694
704
|
continue;
|
|
695
705
|
}
|
|
696
706
|
}
|