geniebox-shared-lib 1.0.19 → 1.0.20
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.
|
@@ -35,8 +35,8 @@ export interface CreateUserPersonal {
|
|
|
35
35
|
birthday?: string | undefined;
|
|
36
36
|
/** "male" | "female" */
|
|
37
37
|
gender?: string | undefined;
|
|
38
|
-
email
|
|
39
|
-
phoneNumber
|
|
38
|
+
email?: string | undefined;
|
|
39
|
+
phoneNumber?: string | undefined;
|
|
40
40
|
}
|
|
41
41
|
export interface CreateUserAuthentication {
|
|
42
42
|
password?: string | undefined;
|
|
@@ -275,7 +275,7 @@ exports.User = {
|
|
|
275
275
|
},
|
|
276
276
|
};
|
|
277
277
|
function createBaseCreateUserPersonal() {
|
|
278
|
-
return { firstName: ""
|
|
278
|
+
return { firstName: "" };
|
|
279
279
|
}
|
|
280
280
|
exports.CreateUserPersonal = {
|
|
281
281
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -294,10 +294,10 @@ exports.CreateUserPersonal = {
|
|
|
294
294
|
if (message.gender !== undefined) {
|
|
295
295
|
writer.uint32(42).string(message.gender);
|
|
296
296
|
}
|
|
297
|
-
if (message.email !==
|
|
297
|
+
if (message.email !== undefined) {
|
|
298
298
|
writer.uint32(50).string(message.email);
|
|
299
299
|
}
|
|
300
|
-
if (message.phoneNumber !==
|
|
300
|
+
if (message.phoneNumber !== undefined) {
|
|
301
301
|
writer.uint32(58).string(message.phoneNumber);
|
|
302
302
|
}
|
|
303
303
|
return writer;
|