geniebox-shared-lib 1.0.43 → 1.0.44
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.
|
@@ -61,9 +61,9 @@ export interface UpdateUserRequest {
|
|
|
61
61
|
authentication?: UserAuthentication | undefined;
|
|
62
62
|
}
|
|
63
63
|
export interface UpdateUserPersonal {
|
|
64
|
-
uuid
|
|
64
|
+
uuid?: string | undefined;
|
|
65
65
|
photoUrl?: string | undefined;
|
|
66
|
-
firstName
|
|
66
|
+
firstName: string;
|
|
67
67
|
lastName?: string | undefined;
|
|
68
68
|
birthday?: string | undefined;
|
|
69
69
|
gender?: string | undefined;
|
|
@@ -71,7 +71,7 @@ export interface UpdateUserPersonal {
|
|
|
71
71
|
phoneNumber?: string | undefined;
|
|
72
72
|
}
|
|
73
73
|
export interface UpdatePasswordRequest {
|
|
74
|
-
uuid
|
|
74
|
+
uuid?: string | undefined;
|
|
75
75
|
oldPassword: string;
|
|
76
76
|
newPassword: string;
|
|
77
77
|
}
|
|
@@ -607,17 +607,17 @@ exports.UpdateUserRequest = {
|
|
|
607
607
|
},
|
|
608
608
|
};
|
|
609
609
|
function createBaseUpdateUserPersonal() {
|
|
610
|
-
return {
|
|
610
|
+
return { firstName: "" };
|
|
611
611
|
}
|
|
612
612
|
exports.UpdateUserPersonal = {
|
|
613
613
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
614
|
-
if (message.uuid !==
|
|
614
|
+
if (message.uuid !== undefined) {
|
|
615
615
|
writer.uint32(10).string(message.uuid);
|
|
616
616
|
}
|
|
617
617
|
if (message.photoUrl !== undefined) {
|
|
618
618
|
writer.uint32(18).string(message.photoUrl);
|
|
619
619
|
}
|
|
620
|
-
if (message.firstName !==
|
|
620
|
+
if (message.firstName !== "") {
|
|
621
621
|
writer.uint32(26).string(message.firstName);
|
|
622
622
|
}
|
|
623
623
|
if (message.lastName !== undefined) {
|
|
@@ -710,11 +710,11 @@ exports.UpdateUserPersonal = {
|
|
|
710
710
|
},
|
|
711
711
|
};
|
|
712
712
|
function createBaseUpdatePasswordRequest() {
|
|
713
|
-
return {
|
|
713
|
+
return { oldPassword: "", newPassword: "" };
|
|
714
714
|
}
|
|
715
715
|
exports.UpdatePasswordRequest = {
|
|
716
716
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
717
|
-
if (message.uuid !==
|
|
717
|
+
if (message.uuid !== undefined) {
|
|
718
718
|
writer.uint32(10).string(message.uuid);
|
|
719
719
|
}
|
|
720
720
|
if (message.oldPassword !== "") {
|