geniebox-shared-lib 1.0.42 → 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: string;
64
+ uuid?: string | undefined;
65
65
  photoUrl?: string | undefined;
66
- firstName?: string | undefined;
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: string;
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 { uuid: "" };
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 !== undefined) {
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 { uuid: "", oldPassword: "", newPassword: "" };
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 !== "") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geniebox-shared-lib",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "Shared NestJS library with gRPC clients",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",