@technova-tech/olive-proto-lib 1.9.3 → 1.9.4

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/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "compile": "tsc -p tsconfig.json"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "1.9.3",
14
+ "version": "1.9.4",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -501,6 +501,7 @@ export declare namespace com.pkg.user {
501
501
  status?: string | undefined;
502
502
  email?: string | undefined;
503
503
  } | undefined;
504
+ pepFilled?: boolean | undefined;
504
505
  } | undefined;
505
506
  token?: string | undefined;
506
507
  exists?: boolean | undefined;
@@ -579,6 +580,7 @@ export declare namespace com.pkg.user {
579
580
  status?: string | undefined;
580
581
  email?: string | undefined;
581
582
  } | undefined;
583
+ pepFilled?: boolean | undefined;
582
584
  } | undefined;
583
585
  token?: string | undefined;
584
586
  exists?: boolean | undefined;
@@ -1018,6 +1020,7 @@ export declare namespace com.pkg.user {
1018
1020
  completionPercentage?: number;
1019
1021
  kycStatus?: string;
1020
1022
  business?: User.BusinessInfo;
1023
+ pepFilled?: boolean;
1021
1024
  });
1022
1025
  get phone(): string;
1023
1026
  set phone(value: string);
@@ -1074,6 +1077,8 @@ export declare namespace com.pkg.user {
1074
1077
  get business(): User.BusinessInfo;
1075
1078
  set business(value: User.BusinessInfo);
1076
1079
  get hasBusiness(): boolean;
1080
+ get pepFilled(): boolean;
1081
+ set pepFilled(value: boolean);
1077
1082
  static fromObject(data: {
1078
1083
  phone?: string;
1079
1084
  firstName?: string;
@@ -1101,6 +1106,7 @@ export declare namespace com.pkg.user {
1101
1106
  completionPercentage?: number;
1102
1107
  kycStatus?: string;
1103
1108
  business?: ReturnType<typeof User.BusinessInfo.prototype.toObject>;
1109
+ pepFilled?: boolean;
1104
1110
  }): User;
1105
1111
  toObject(): {
1106
1112
  phone?: string | undefined;
@@ -1143,6 +1149,7 @@ export declare namespace com.pkg.user {
1143
1149
  status?: string | undefined;
1144
1150
  email?: string | undefined;
1145
1151
  } | undefined;
1152
+ pepFilled?: boolean | undefined;
1146
1153
  };
1147
1154
  serialize(): Uint8Array;
1148
1155
  serialize(w: pb_1.BinaryWriter): void;
@@ -1456,6 +1463,7 @@ export declare namespace com.pkg.user {
1456
1463
  status?: string | undefined;
1457
1464
  email?: string | undefined;
1458
1465
  } | undefined;
1466
+ pepFilled?: boolean | undefined;
1459
1467
  } | undefined;
1460
1468
  token?: string | undefined;
1461
1469
  } | undefined;
@@ -1529,6 +1537,7 @@ export declare namespace com.pkg.user {
1529
1537
  status?: string | undefined;
1530
1538
  email?: string | undefined;
1531
1539
  } | undefined;
1540
+ pepFilled?: boolean | undefined;
1532
1541
  } | undefined;
1533
1542
  token?: string | undefined;
1534
1543
  };
@@ -1615,6 +1624,7 @@ export declare namespace com.pkg.user {
1615
1624
  status?: string | undefined;
1616
1625
  email?: string | undefined;
1617
1626
  } | undefined;
1627
+ pepFilled?: boolean | undefined;
1618
1628
  } | undefined;
1619
1629
  errors?: {
1620
1630
  field?: string | undefined;
@@ -1708,6 +1718,7 @@ export declare namespace com.pkg.user {
1708
1718
  status?: string | undefined;
1709
1719
  email?: string | undefined;
1710
1720
  } | undefined;
1721
+ pepFilled?: boolean | undefined;
1711
1722
  }[] | undefined;
1712
1723
  errors?: {
1713
1724
  field?: string | undefined;
package/users/users.js CHANGED
@@ -3154,6 +3154,9 @@ var com;
3154
3154
  if ("business" in data && data.business != undefined) {
3155
3155
  this.business = data.business;
3156
3156
  }
3157
+ if ("pepFilled" in data && data.pepFilled != undefined) {
3158
+ this.pepFilled = data.pepFilled;
3159
+ }
3157
3160
  }
3158
3161
  }
3159
3162
  get phone() {
@@ -3321,6 +3324,12 @@ var com;
3321
3324
  get hasBusiness() {
3322
3325
  return pb_1.Message.getField(this, 26) != null;
3323
3326
  }
3327
+ get pepFilled() {
3328
+ return pb_1.Message.getFieldWithDefault(this, 27, false);
3329
+ }
3330
+ set pepFilled(value) {
3331
+ pb_1.Message.setField(this, 27, value);
3332
+ }
3324
3333
  static fromObject(data) {
3325
3334
  const message = new User({});
3326
3335
  if (data.phone != null) {
@@ -3401,6 +3410,9 @@ var com;
3401
3410
  if (data.business != null) {
3402
3411
  message.business = User.BusinessInfo.fromObject(data.business);
3403
3412
  }
3413
+ if (data.pepFilled != null) {
3414
+ message.pepFilled = data.pepFilled;
3415
+ }
3404
3416
  return message;
3405
3417
  }
3406
3418
  toObject() {
@@ -3483,6 +3495,9 @@ var com;
3483
3495
  if (this.business != null) {
3484
3496
  data.business = this.business.toObject();
3485
3497
  }
3498
+ if (this.pepFilled != null) {
3499
+ data.pepFilled = this.pepFilled;
3500
+ }
3486
3501
  return data;
3487
3502
  }
3488
3503
  serialize(w) {
@@ -3539,6 +3554,8 @@ var com;
3539
3554
  writer.writeString(25, this.kycStatus);
3540
3555
  if (this.hasBusiness)
3541
3556
  writer.writeMessage(26, this.business, () => this.business.serialize(writer));
3557
+ if (this.pepFilled != false)
3558
+ writer.writeBool(27, this.pepFilled);
3542
3559
  if (!w)
3543
3560
  return writer.getResultBuffer();
3544
3561
  }
@@ -3626,6 +3643,9 @@ var com;
3626
3643
  case 26:
3627
3644
  reader.readMessage(message.business, () => message.business = User.BusinessInfo.deserialize(reader));
3628
3645
  break;
3646
+ case 27:
3647
+ message.pepFilled = reader.readBool();
3648
+ break;
3629
3649
  default: reader.skipField();
3630
3650
  }
3631
3651
  }