@technova-tech/olive-proto-lib 3.0.9 → 3.1.0

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/admin/admin.js CHANGED
@@ -2613,6 +2613,9 @@ var com;
2613
2613
  if ("mfbId" in data && data.mfbId != undefined) {
2614
2614
  this.mfbId = data.mfbId;
2615
2615
  }
2616
+ if ("regionId" in data && data.regionId != undefined) {
2617
+ this.regionId = data.regionId;
2618
+ }
2616
2619
  }
2617
2620
  }
2618
2621
  get id() {
@@ -2666,6 +2669,12 @@ var com;
2666
2669
  set mfbId(value) {
2667
2670
  pb_1.Message.setField(this, 8, value);
2668
2671
  }
2672
+ get regionId() {
2673
+ return pb_1.Message.getFieldWithDefault(this, 9, "");
2674
+ }
2675
+ set regionId(value) {
2676
+ pb_1.Message.setField(this, 9, value);
2677
+ }
2669
2678
  static fromObject(data) {
2670
2679
  const message = new Admin({});
2671
2680
  if (data.id != null) {
@@ -2692,6 +2701,9 @@ var com;
2692
2701
  if (data.mfbId != null) {
2693
2702
  message.mfbId = data.mfbId;
2694
2703
  }
2704
+ if (data.regionId != null) {
2705
+ message.regionId = data.regionId;
2706
+ }
2695
2707
  return message;
2696
2708
  }
2697
2709
  toObject() {
@@ -2720,6 +2732,9 @@ var com;
2720
2732
  if (this.mfbId != null) {
2721
2733
  data.mfbId = this.mfbId;
2722
2734
  }
2735
+ if (this.regionId != null) {
2736
+ data.regionId = this.regionId;
2737
+ }
2723
2738
  return data;
2724
2739
  }
2725
2740
  serialize(w) {
@@ -2740,6 +2755,8 @@ var com;
2740
2755
  writer.writeString(7, this.phone);
2741
2756
  if (this.mfbId.length)
2742
2757
  writer.writeString(8, this.mfbId);
2758
+ if (this.regionId.length)
2759
+ writer.writeString(9, this.regionId);
2743
2760
  if (!w)
2744
2761
  return writer.getResultBuffer();
2745
2762
  }
@@ -2773,6 +2790,9 @@ var com;
2773
2790
  case 8:
2774
2791
  message.mfbId = reader.readString();
2775
2792
  break;
2793
+ case 9:
2794
+ message.regionId = reader.readString();
2795
+ break;
2776
2796
  default: reader.skipField();
2777
2797
  }
2778
2798
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "compile": "tsc -p tsconfig.json"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "3.0.9",
14
+ "version": "3.1.0",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -818,6 +818,7 @@ export declare namespace com.pkg.admin {
818
818
  status?: string;
819
819
  phone?: string;
820
820
  mfbId?: string;
821
+ regionId?: string;
821
822
  });
822
823
  get id(): string;
823
824
  set id(value: string);
@@ -836,6 +837,8 @@ export declare namespace com.pkg.admin {
836
837
  set phone(value: string);
837
838
  get mfbId(): string;
838
839
  set mfbId(value: string);
840
+ get regionId(): string;
841
+ set regionId(value: string);
839
842
  static fromObject(data: {
840
843
  id?: string;
841
844
  email?: string;
@@ -845,6 +848,7 @@ export declare namespace com.pkg.admin {
845
848
  status?: string;
846
849
  phone?: string;
847
850
  mfbId?: string;
851
+ regionId?: string;
848
852
  }): Admin;
849
853
  toObject(): {
850
854
  id?: string | undefined;
@@ -869,6 +873,7 @@ export declare namespace com.pkg.admin {
869
873
  status?: string | undefined;
870
874
  phone?: string | undefined;
871
875
  mfbId?: string | undefined;
876
+ regionId?: string | undefined;
872
877
  };
873
878
  serialize(): Uint8Array;
874
879
  serialize(w: pb_1.BinaryWriter): void;
@@ -938,6 +943,7 @@ export declare namespace com.pkg.admin {
938
943
  status?: string | undefined;
939
944
  phone?: string | undefined;
940
945
  mfbId?: string | undefined;
946
+ regionId?: string | undefined;
941
947
  } | undefined;
942
948
  error?: string | undefined;
943
949
  };
@@ -1052,6 +1058,7 @@ export declare namespace com.pkg.admin {
1052
1058
  status?: string | undefined;
1053
1059
  phone?: string | undefined;
1054
1060
  mfbId?: string | undefined;
1061
+ regionId?: string | undefined;
1055
1062
  }[] | undefined;
1056
1063
  error?: string | undefined;
1057
1064
  pagination?: {
@@ -1282,6 +1289,7 @@ export declare namespace com.pkg.admin {
1282
1289
  status?: string | undefined;
1283
1290
  phone?: string | undefined;
1284
1291
  mfbId?: string | undefined;
1292
+ regionId?: string | undefined;
1285
1293
  } | undefined;
1286
1294
  } | undefined;
1287
1295
  error?: string | undefined;
@@ -1333,6 +1341,7 @@ export declare namespace com.pkg.admin {
1333
1341
  status?: string | undefined;
1334
1342
  phone?: string | undefined;
1335
1343
  mfbId?: string | undefined;
1344
+ regionId?: string | undefined;
1336
1345
  } | undefined;
1337
1346
  };
1338
1347
  serialize(): Uint8Array;
@@ -1520,6 +1529,7 @@ export declare namespace com.pkg.admin {
1520
1529
  status?: string | undefined;
1521
1530
  phone?: string | undefined;
1522
1531
  mfbId?: string | undefined;
1532
+ regionId?: string | undefined;
1523
1533
  } | undefined;
1524
1534
  metadata?: {
1525
1535
  [key: string]: string;
@@ -1675,6 +1685,7 @@ export declare namespace com.pkg.admin {
1675
1685
  status?: string | undefined;
1676
1686
  phone?: string | undefined;
1677
1687
  mfbId?: string | undefined;
1688
+ regionId?: string | undefined;
1678
1689
  } | undefined;
1679
1690
  metadata?: {
1680
1691
  [key: string]: string;