@technova-tech/olive-proto-lib 3.1.9 → 3.2.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
@@ -3396,6 +3396,15 @@ var com;
3396
3396
  if ("searchQuery" in data && data.searchQuery != undefined) {
3397
3397
  this.searchQuery = data.searchQuery;
3398
3398
  }
3399
+ if ("regionId" in data && data.regionId != undefined) {
3400
+ this.regionId = data.regionId;
3401
+ }
3402
+ if ("dataScope" in data && data.dataScope != undefined) {
3403
+ this.dataScope = data.dataScope;
3404
+ }
3405
+ if ("adminId" in data && data.adminId != undefined) {
3406
+ this.adminId = data.adminId;
3407
+ }
3399
3408
  }
3400
3409
  }
3401
3410
  get id() {
@@ -3428,6 +3437,24 @@ var com;
3428
3437
  set searchQuery(value) {
3429
3438
  pb_1.Message.setField(this, 5, value);
3430
3439
  }
3440
+ get regionId() {
3441
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
3442
+ }
3443
+ set regionId(value) {
3444
+ pb_1.Message.setField(this, 6, value);
3445
+ }
3446
+ get dataScope() {
3447
+ return pb_1.Message.getFieldWithDefault(this, 7, "");
3448
+ }
3449
+ set dataScope(value) {
3450
+ pb_1.Message.setField(this, 7, value);
3451
+ }
3452
+ get adminId() {
3453
+ return pb_1.Message.getFieldWithDefault(this, 8, "");
3454
+ }
3455
+ set adminId(value) {
3456
+ pb_1.Message.setField(this, 8, value);
3457
+ }
3431
3458
  static fromObject(data) {
3432
3459
  const message = new GetAdminsRequest({});
3433
3460
  if (data.id != null) {
@@ -3445,6 +3472,15 @@ var com;
3445
3472
  if (data.searchQuery != null) {
3446
3473
  message.searchQuery = data.searchQuery;
3447
3474
  }
3475
+ if (data.regionId != null) {
3476
+ message.regionId = data.regionId;
3477
+ }
3478
+ if (data.dataScope != null) {
3479
+ message.dataScope = data.dataScope;
3480
+ }
3481
+ if (data.adminId != null) {
3482
+ message.adminId = data.adminId;
3483
+ }
3448
3484
  return message;
3449
3485
  }
3450
3486
  toObject() {
@@ -3464,6 +3500,15 @@ var com;
3464
3500
  if (this.searchQuery != null) {
3465
3501
  data.searchQuery = this.searchQuery;
3466
3502
  }
3503
+ if (this.regionId != null) {
3504
+ data.regionId = this.regionId;
3505
+ }
3506
+ if (this.dataScope != null) {
3507
+ data.dataScope = this.dataScope;
3508
+ }
3509
+ if (this.adminId != null) {
3510
+ data.adminId = this.adminId;
3511
+ }
3467
3512
  return data;
3468
3513
  }
3469
3514
  serialize(w) {
@@ -3478,6 +3523,12 @@ var com;
3478
3523
  writer.writeUint32(4, this.limit);
3479
3524
  if (this.searchQuery.length)
3480
3525
  writer.writeString(5, this.searchQuery);
3526
+ if (this.regionId.length)
3527
+ writer.writeString(6, this.regionId);
3528
+ if (this.dataScope.length)
3529
+ writer.writeString(7, this.dataScope);
3530
+ if (this.adminId.length)
3531
+ writer.writeString(8, this.adminId);
3481
3532
  if (!w)
3482
3533
  return writer.getResultBuffer();
3483
3534
  }
@@ -3502,6 +3553,15 @@ var com;
3502
3553
  case 5:
3503
3554
  message.searchQuery = reader.readString();
3504
3555
  break;
3556
+ case 6:
3557
+ message.regionId = reader.readString();
3558
+ break;
3559
+ case 7:
3560
+ message.dataScope = reader.readString();
3561
+ break;
3562
+ case 8:
3563
+ message.adminId = reader.readString();
3564
+ break;
3505
3565
  default: reader.skipField();
3506
3566
  }
3507
3567
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "compile": "tsc -p tsconfig.json"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "3.1.9",
14
+ "version": "3.2.0",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -1082,6 +1082,9 @@ export declare namespace com.pkg.admin {
1082
1082
  page?: number;
1083
1083
  limit?: number;
1084
1084
  searchQuery?: string;
1085
+ regionId?: string;
1086
+ dataScope?: string;
1087
+ adminId?: string;
1085
1088
  });
1086
1089
  get id(): string;
1087
1090
  set id(value: string);
@@ -1093,12 +1096,21 @@ export declare namespace com.pkg.admin {
1093
1096
  set limit(value: number);
1094
1097
  get searchQuery(): string;
1095
1098
  set searchQuery(value: string);
1099
+ get regionId(): string;
1100
+ set regionId(value: string);
1101
+ get dataScope(): string;
1102
+ set dataScope(value: string);
1103
+ get adminId(): string;
1104
+ set adminId(value: string);
1096
1105
  static fromObject(data: {
1097
1106
  id?: string;
1098
1107
  roleId?: string;
1099
1108
  page?: number;
1100
1109
  limit?: number;
1101
1110
  searchQuery?: string;
1111
+ regionId?: string;
1112
+ dataScope?: string;
1113
+ adminId?: string;
1102
1114
  }): GetAdminsRequest;
1103
1115
  toObject(): {
1104
1116
  id?: string | undefined;
@@ -1106,6 +1118,9 @@ export declare namespace com.pkg.admin {
1106
1118
  page?: number | undefined;
1107
1119
  limit?: number | undefined;
1108
1120
  searchQuery?: string | undefined;
1121
+ regionId?: string | undefined;
1122
+ dataScope?: string | undefined;
1123
+ adminId?: string | undefined;
1109
1124
  };
1110
1125
  serialize(): Uint8Array;
1111
1126
  serialize(w: pb_1.BinaryWriter): void;