@technova-tech/olive-proto-lib 3.0.4 → 3.0.6

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": "3.0.4",
14
+ "version": "3.0.6",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -3754,6 +3754,15 @@ var com;
3754
3754
  if ("status" in data && data.status != undefined) {
3755
3755
  this.status = data.status;
3756
3756
  }
3757
+ if ("dataScope" in data && data.dataScope != undefined) {
3758
+ this.dataScope = data.dataScope;
3759
+ }
3760
+ if ("regionId" in data && data.regionId != undefined) {
3761
+ this.regionId = data.regionId;
3762
+ }
3763
+ if ("adminId" in data && data.adminId != undefined) {
3764
+ this.adminId = data.adminId;
3765
+ }
3757
3766
  }
3758
3767
  }
3759
3768
  get terminalTypeId() {
@@ -3804,6 +3813,24 @@ var com;
3804
3813
  set status(value) {
3805
3814
  pb_1.Message.setField(this, 8, value);
3806
3815
  }
3816
+ get dataScope() {
3817
+ return pb_1.Message.getFieldWithDefault(this, 9, "");
3818
+ }
3819
+ set dataScope(value) {
3820
+ pb_1.Message.setField(this, 9, value);
3821
+ }
3822
+ get regionId() {
3823
+ return pb_1.Message.getFieldWithDefault(this, 10, "");
3824
+ }
3825
+ set regionId(value) {
3826
+ pb_1.Message.setField(this, 10, value);
3827
+ }
3828
+ get adminId() {
3829
+ return pb_1.Message.getFieldWithDefault(this, 11, "");
3830
+ }
3831
+ set adminId(value) {
3832
+ pb_1.Message.setField(this, 11, value);
3833
+ }
3807
3834
  static fromObject(data) {
3808
3835
  const message = new GetAvailableTerminalsRequest({});
3809
3836
  if (data.terminalTypeId != null) {
@@ -3830,6 +3857,15 @@ var com;
3830
3857
  if (data.status != null) {
3831
3858
  message.status = data.status;
3832
3859
  }
3860
+ if (data.dataScope != null) {
3861
+ message.dataScope = data.dataScope;
3862
+ }
3863
+ if (data.regionId != null) {
3864
+ message.regionId = data.regionId;
3865
+ }
3866
+ if (data.adminId != null) {
3867
+ message.adminId = data.adminId;
3868
+ }
3833
3869
  return message;
3834
3870
  }
3835
3871
  toObject() {
@@ -3858,6 +3894,15 @@ var com;
3858
3894
  if (this.status != null) {
3859
3895
  data.status = this.status;
3860
3896
  }
3897
+ if (this.dataScope != null) {
3898
+ data.dataScope = this.dataScope;
3899
+ }
3900
+ if (this.regionId != null) {
3901
+ data.regionId = this.regionId;
3902
+ }
3903
+ if (this.adminId != null) {
3904
+ data.adminId = this.adminId;
3905
+ }
3861
3906
  return data;
3862
3907
  }
3863
3908
  serialize(w) {
@@ -3878,6 +3923,12 @@ var com;
3878
3923
  writer.writeString(7, this.to);
3879
3924
  if (this.status.length)
3880
3925
  writer.writeString(8, this.status);
3926
+ if (this.dataScope.length)
3927
+ writer.writeString(9, this.dataScope);
3928
+ if (this.regionId.length)
3929
+ writer.writeString(10, this.regionId);
3930
+ if (this.adminId.length)
3931
+ writer.writeString(11, this.adminId);
3881
3932
  if (!w)
3882
3933
  return writer.getResultBuffer();
3883
3934
  }
@@ -3911,6 +3962,15 @@ var com;
3911
3962
  case 8:
3912
3963
  message.status = reader.readString();
3913
3964
  break;
3965
+ case 9:
3966
+ message.dataScope = reader.readString();
3967
+ break;
3968
+ case 10:
3969
+ message.regionId = reader.readString();
3970
+ break;
3971
+ case 11:
3972
+ message.adminId = reader.readString();
3973
+ break;
3914
3974
  default: reader.skipField();
3915
3975
  }
3916
3976
  }
@@ -14806,6 +14866,15 @@ var com;
14806
14866
  if ("duration" in data && data.duration != undefined) {
14807
14867
  this.duration = data.duration;
14808
14868
  }
14869
+ if ("dataScope" in data && data.dataScope != undefined) {
14870
+ this.dataScope = data.dataScope;
14871
+ }
14872
+ if ("regionId" in data && data.regionId != undefined) {
14873
+ this.regionId = data.regionId;
14874
+ }
14875
+ if ("adminId" in data && data.adminId != undefined) {
14876
+ this.adminId = data.adminId;
14877
+ }
14809
14878
  }
14810
14879
  }
14811
14880
  get from() {
@@ -14826,6 +14895,24 @@ var com;
14826
14895
  set duration(value) {
14827
14896
  pb_1.Message.setField(this, 3, value);
14828
14897
  }
14898
+ get dataScope() {
14899
+ return pb_1.Message.getFieldWithDefault(this, 4, "");
14900
+ }
14901
+ set dataScope(value) {
14902
+ pb_1.Message.setField(this, 4, value);
14903
+ }
14904
+ get regionId() {
14905
+ return pb_1.Message.getFieldWithDefault(this, 5, "");
14906
+ }
14907
+ set regionId(value) {
14908
+ pb_1.Message.setField(this, 5, value);
14909
+ }
14910
+ get adminId() {
14911
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
14912
+ }
14913
+ set adminId(value) {
14914
+ pb_1.Message.setField(this, 6, value);
14915
+ }
14829
14916
  static fromObject(data) {
14830
14917
  const message = new GetDashboardStatisticsRequest({});
14831
14918
  if (data.from != null) {
@@ -14837,6 +14924,15 @@ var com;
14837
14924
  if (data.duration != null) {
14838
14925
  message.duration = data.duration;
14839
14926
  }
14927
+ if (data.dataScope != null) {
14928
+ message.dataScope = data.dataScope;
14929
+ }
14930
+ if (data.regionId != null) {
14931
+ message.regionId = data.regionId;
14932
+ }
14933
+ if (data.adminId != null) {
14934
+ message.adminId = data.adminId;
14935
+ }
14840
14936
  return message;
14841
14937
  }
14842
14938
  toObject() {
@@ -14850,6 +14946,15 @@ var com;
14850
14946
  if (this.duration != null) {
14851
14947
  data.duration = this.duration;
14852
14948
  }
14949
+ if (this.dataScope != null) {
14950
+ data.dataScope = this.dataScope;
14951
+ }
14952
+ if (this.regionId != null) {
14953
+ data.regionId = this.regionId;
14954
+ }
14955
+ if (this.adminId != null) {
14956
+ data.adminId = this.adminId;
14957
+ }
14853
14958
  return data;
14854
14959
  }
14855
14960
  serialize(w) {
@@ -14860,6 +14965,12 @@ var com;
14860
14965
  writer.writeString(2, this.to);
14861
14966
  if (this.duration.length)
14862
14967
  writer.writeString(3, this.duration);
14968
+ if (this.dataScope.length)
14969
+ writer.writeString(4, this.dataScope);
14970
+ if (this.regionId.length)
14971
+ writer.writeString(5, this.regionId);
14972
+ if (this.adminId.length)
14973
+ writer.writeString(6, this.adminId);
14863
14974
  if (!w)
14864
14975
  return writer.getResultBuffer();
14865
14976
  }
@@ -14878,6 +14989,15 @@ var com;
14878
14989
  case 3:
14879
14990
  message.duration = reader.readString();
14880
14991
  break;
14992
+ case 4:
14993
+ message.dataScope = reader.readString();
14994
+ break;
14995
+ case 5:
14996
+ message.regionId = reader.readString();
14997
+ break;
14998
+ case 6:
14999
+ message.adminId = reader.readString();
15000
+ break;
14881
15001
  default: reader.skipField();
14882
15002
  }
14883
15003
  }
@@ -31027,6 +31147,15 @@ var com;
31027
31147
  if ("status" in data && data.status != undefined) {
31028
31148
  this.status = data.status;
31029
31149
  }
31150
+ if ("dataScope" in data && data.dataScope != undefined) {
31151
+ this.dataScope = data.dataScope;
31152
+ }
31153
+ if ("regionId" in data && data.regionId != undefined) {
31154
+ this.regionId = data.regionId;
31155
+ }
31156
+ if ("adminId" in data && data.adminId != undefined) {
31157
+ this.adminId = data.adminId;
31158
+ }
31030
31159
  }
31031
31160
  }
31032
31161
  get mfbId() {
@@ -31053,6 +31182,24 @@ var com;
31053
31182
  set status(value) {
31054
31183
  pb_1.Message.setField(this, 4, value);
31055
31184
  }
31185
+ get dataScope() {
31186
+ return pb_1.Message.getFieldWithDefault(this, 5, "");
31187
+ }
31188
+ set dataScope(value) {
31189
+ pb_1.Message.setField(this, 5, value);
31190
+ }
31191
+ get regionId() {
31192
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
31193
+ }
31194
+ set regionId(value) {
31195
+ pb_1.Message.setField(this, 6, value);
31196
+ }
31197
+ get adminId() {
31198
+ return pb_1.Message.getFieldWithDefault(this, 7, "");
31199
+ }
31200
+ set adminId(value) {
31201
+ pb_1.Message.setField(this, 7, value);
31202
+ }
31056
31203
  static fromObject(data) {
31057
31204
  const message = new GetMfbTerminalsRequest({});
31058
31205
  if (data.mfbId != null) {
@@ -31067,6 +31214,15 @@ var com;
31067
31214
  if (data.status != null) {
31068
31215
  message.status = data.status;
31069
31216
  }
31217
+ if (data.dataScope != null) {
31218
+ message.dataScope = data.dataScope;
31219
+ }
31220
+ if (data.regionId != null) {
31221
+ message.regionId = data.regionId;
31222
+ }
31223
+ if (data.adminId != null) {
31224
+ message.adminId = data.adminId;
31225
+ }
31070
31226
  return message;
31071
31227
  }
31072
31228
  toObject() {
@@ -31083,6 +31239,15 @@ var com;
31083
31239
  if (this.status != null) {
31084
31240
  data.status = this.status;
31085
31241
  }
31242
+ if (this.dataScope != null) {
31243
+ data.dataScope = this.dataScope;
31244
+ }
31245
+ if (this.regionId != null) {
31246
+ data.regionId = this.regionId;
31247
+ }
31248
+ if (this.adminId != null) {
31249
+ data.adminId = this.adminId;
31250
+ }
31086
31251
  return data;
31087
31252
  }
31088
31253
  serialize(w) {
@@ -31095,6 +31260,12 @@ var com;
31095
31260
  writer.writeUint32(3, this.limit);
31096
31261
  if (this.status.length)
31097
31262
  writer.writeString(4, this.status);
31263
+ if (this.dataScope.length)
31264
+ writer.writeString(5, this.dataScope);
31265
+ if (this.regionId.length)
31266
+ writer.writeString(6, this.regionId);
31267
+ if (this.adminId.length)
31268
+ writer.writeString(7, this.adminId);
31098
31269
  if (!w)
31099
31270
  return writer.getResultBuffer();
31100
31271
  }
@@ -31116,6 +31287,15 @@ var com;
31116
31287
  case 4:
31117
31288
  message.status = reader.readString();
31118
31289
  break;
31290
+ case 5:
31291
+ message.dataScope = reader.readString();
31292
+ break;
31293
+ case 6:
31294
+ message.regionId = reader.readString();
31295
+ break;
31296
+ case 7:
31297
+ message.adminId = reader.readString();
31298
+ break;
31119
31299
  default: reader.skipField();
31120
31300
  }
31121
31301
  }
@@ -1354,6 +1354,9 @@ export declare namespace com.pkg.posv1.terminals {
1354
1354
  from?: string;
1355
1355
  to?: string;
1356
1356
  status?: string;
1357
+ dataScope?: string;
1358
+ regionId?: string;
1359
+ adminId?: string;
1357
1360
  });
1358
1361
  get terminalTypeId(): string;
1359
1362
  set terminalTypeId(value: string);
@@ -1371,6 +1374,12 @@ export declare namespace com.pkg.posv1.terminals {
1371
1374
  set to(value: string);
1372
1375
  get status(): string;
1373
1376
  set status(value: string);
1377
+ get dataScope(): string;
1378
+ set dataScope(value: string);
1379
+ get regionId(): string;
1380
+ set regionId(value: string);
1381
+ get adminId(): string;
1382
+ set adminId(value: string);
1374
1383
  static fromObject(data: {
1375
1384
  terminalTypeId?: string;
1376
1385
  location?: string;
@@ -1380,6 +1389,9 @@ export declare namespace com.pkg.posv1.terminals {
1380
1389
  from?: string;
1381
1390
  to?: string;
1382
1391
  status?: string;
1392
+ dataScope?: string;
1393
+ regionId?: string;
1394
+ adminId?: string;
1383
1395
  }): GetAvailableTerminalsRequest;
1384
1396
  toObject(): {
1385
1397
  terminalTypeId?: string | undefined;
@@ -1390,6 +1402,9 @@ export declare namespace com.pkg.posv1.terminals {
1390
1402
  from?: string | undefined;
1391
1403
  to?: string | undefined;
1392
1404
  status?: string | undefined;
1405
+ dataScope?: string | undefined;
1406
+ regionId?: string | undefined;
1407
+ adminId?: string | undefined;
1393
1408
  };
1394
1409
  serialize(): Uint8Array;
1395
1410
  serialize(w: pb_1.BinaryWriter): void;
@@ -5112,6 +5127,9 @@ export declare namespace com.pkg.posv1.terminals {
5112
5127
  from?: string;
5113
5128
  to?: string;
5114
5129
  duration?: string;
5130
+ dataScope?: string;
5131
+ regionId?: string;
5132
+ adminId?: string;
5115
5133
  });
5116
5134
  get from(): string;
5117
5135
  set from(value: string);
@@ -5119,15 +5137,27 @@ export declare namespace com.pkg.posv1.terminals {
5119
5137
  set to(value: string);
5120
5138
  get duration(): string;
5121
5139
  set duration(value: string);
5140
+ get dataScope(): string;
5141
+ set dataScope(value: string);
5142
+ get regionId(): string;
5143
+ set regionId(value: string);
5144
+ get adminId(): string;
5145
+ set adminId(value: string);
5122
5146
  static fromObject(data: {
5123
5147
  from?: string;
5124
5148
  to?: string;
5125
5149
  duration?: string;
5150
+ dataScope?: string;
5151
+ regionId?: string;
5152
+ adminId?: string;
5126
5153
  }): GetDashboardStatisticsRequest;
5127
5154
  toObject(): {
5128
5155
  from?: string | undefined;
5129
5156
  to?: string | undefined;
5130
5157
  duration?: string | undefined;
5158
+ dataScope?: string | undefined;
5159
+ regionId?: string | undefined;
5160
+ adminId?: string | undefined;
5131
5161
  };
5132
5162
  serialize(): Uint8Array;
5133
5163
  serialize(w: pb_1.BinaryWriter): void;
@@ -10391,6 +10421,9 @@ export declare namespace com.pkg.posv1.terminals {
10391
10421
  page?: number;
10392
10422
  limit?: number;
10393
10423
  status?: string;
10424
+ dataScope?: string;
10425
+ regionId?: string;
10426
+ adminId?: string;
10394
10427
  });
10395
10428
  get mfbId(): string;
10396
10429
  set mfbId(value: string);
@@ -10400,17 +10433,29 @@ export declare namespace com.pkg.posv1.terminals {
10400
10433
  set limit(value: number);
10401
10434
  get status(): string;
10402
10435
  set status(value: string);
10436
+ get dataScope(): string;
10437
+ set dataScope(value: string);
10438
+ get regionId(): string;
10439
+ set regionId(value: string);
10440
+ get adminId(): string;
10441
+ set adminId(value: string);
10403
10442
  static fromObject(data: {
10404
10443
  mfbId?: string;
10405
10444
  page?: number;
10406
10445
  limit?: number;
10407
10446
  status?: string;
10447
+ dataScope?: string;
10448
+ regionId?: string;
10449
+ adminId?: string;
10408
10450
  }): GetMfbTerminalsRequest;
10409
10451
  toObject(): {
10410
10452
  mfbId?: string | undefined;
10411
10453
  page?: number | undefined;
10412
10454
  limit?: number | undefined;
10413
10455
  status?: string | undefined;
10456
+ dataScope?: string | undefined;
10457
+ regionId?: string | undefined;
10458
+ adminId?: string | undefined;
10414
10459
  };
10415
10460
  serialize(): Uint8Array;
10416
10461
  serialize(w: pb_1.BinaryWriter): void;