@technova-tech/olive-proto-lib 1.9.4 → 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.4",
14
+ "version": "1.9.5",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -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;
@@ -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
  }