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

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.5",
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;
@@ -1309,6 +1309,7 @@ export declare namespace com.pkg.verification {
1309
1309
  businessNumber?: string;
1310
1310
  description?: string;
1311
1311
  businessId?: string;
1312
+ companyType?: string;
1312
1313
  });
1313
1314
  get userId(): string;
1314
1315
  set userId(value: string);
@@ -1324,6 +1325,8 @@ export declare namespace com.pkg.verification {
1324
1325
  set description(value: string);
1325
1326
  get businessId(): string;
1326
1327
  set businessId(value: string);
1328
+ get companyType(): string;
1329
+ set companyType(value: string);
1327
1330
  static fromObject(data: {
1328
1331
  userId?: string;
1329
1332
  category?: string;
@@ -1332,6 +1335,7 @@ export declare namespace com.pkg.verification {
1332
1335
  businessNumber?: string;
1333
1336
  description?: string;
1334
1337
  businessId?: string;
1338
+ companyType?: string;
1335
1339
  }): BusinessDetailsRequest;
1336
1340
  toObject(): {
1337
1341
  userId?: string | undefined;
@@ -1341,6 +1345,7 @@ export declare namespace com.pkg.verification {
1341
1345
  businessNumber?: string | undefined;
1342
1346
  description?: string | undefined;
1343
1347
  businessId?: string | undefined;
1348
+ companyType?: string | undefined;
1344
1349
  };
1345
1350
  serialize(): Uint8Array;
1346
1351
  serialize(w: pb_1.BinaryWriter): void;
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
  }
@@ -3512,6 +3512,9 @@ var com;
3512
3512
  if ("businessId" in data && data.businessId != undefined) {
3513
3513
  this.businessId = data.businessId;
3514
3514
  }
3515
+ if ("companyType" in data && data.companyType != undefined) {
3516
+ this.companyType = data.companyType;
3517
+ }
3515
3518
  }
3516
3519
  }
3517
3520
  get userId() {
@@ -3556,6 +3559,12 @@ var com;
3556
3559
  set businessId(value) {
3557
3560
  pb_1.Message.setField(this, 7, value);
3558
3561
  }
3562
+ get companyType() {
3563
+ return pb_1.Message.getFieldWithDefault(this, 8, "");
3564
+ }
3565
+ set companyType(value) {
3566
+ pb_1.Message.setField(this, 8, value);
3567
+ }
3559
3568
  static fromObject(data) {
3560
3569
  const message = new BusinessDetailsRequest({});
3561
3570
  if (data.userId != null) {
@@ -3579,6 +3588,9 @@ var com;
3579
3588
  if (data.businessId != null) {
3580
3589
  message.businessId = data.businessId;
3581
3590
  }
3591
+ if (data.companyType != null) {
3592
+ message.companyType = data.companyType;
3593
+ }
3582
3594
  return message;
3583
3595
  }
3584
3596
  toObject() {
@@ -3604,6 +3616,9 @@ var com;
3604
3616
  if (this.businessId != null) {
3605
3617
  data.businessId = this.businessId;
3606
3618
  }
3619
+ if (this.companyType != null) {
3620
+ data.companyType = this.companyType;
3621
+ }
3607
3622
  return data;
3608
3623
  }
3609
3624
  serialize(w) {
@@ -3622,6 +3637,8 @@ var com;
3622
3637
  writer.writeString(6, this.description);
3623
3638
  if (this.businessId.length)
3624
3639
  writer.writeString(7, this.businessId);
3640
+ if (this.companyType.length)
3641
+ writer.writeString(8, this.companyType);
3625
3642
  if (!w)
3626
3643
  return writer.getResultBuffer();
3627
3644
  }
@@ -3652,6 +3669,9 @@ var com;
3652
3669
  case 7:
3653
3670
  message.businessId = reader.readString();
3654
3671
  break;
3672
+ case 8:
3673
+ message.companyType = reader.readString();
3674
+ break;
3655
3675
  default: reader.skipField();
3656
3676
  }
3657
3677
  }