@technova-tech/olive-proto-lib 3.0.5 → 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.5",
14
+ "version": "3.0.6",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -14866,6 +14866,15 @@ var com;
14866
14866
  if ("duration" in data && data.duration != undefined) {
14867
14867
  this.duration = data.duration;
14868
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
+ }
14869
14878
  }
14870
14879
  }
14871
14880
  get from() {
@@ -14886,6 +14895,24 @@ var com;
14886
14895
  set duration(value) {
14887
14896
  pb_1.Message.setField(this, 3, value);
14888
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
+ }
14889
14916
  static fromObject(data) {
14890
14917
  const message = new GetDashboardStatisticsRequest({});
14891
14918
  if (data.from != null) {
@@ -14897,6 +14924,15 @@ var com;
14897
14924
  if (data.duration != null) {
14898
14925
  message.duration = data.duration;
14899
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
+ }
14900
14936
  return message;
14901
14937
  }
14902
14938
  toObject() {
@@ -14910,6 +14946,15 @@ var com;
14910
14946
  if (this.duration != null) {
14911
14947
  data.duration = this.duration;
14912
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
+ }
14913
14958
  return data;
14914
14959
  }
14915
14960
  serialize(w) {
@@ -14920,6 +14965,12 @@ var com;
14920
14965
  writer.writeString(2, this.to);
14921
14966
  if (this.duration.length)
14922
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);
14923
14974
  if (!w)
14924
14975
  return writer.getResultBuffer();
14925
14976
  }
@@ -14938,6 +14989,15 @@ var com;
14938
14989
  case 3:
14939
14990
  message.duration = reader.readString();
14940
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;
14941
15001
  default: reader.skipField();
14942
15002
  }
14943
15003
  }
@@ -31087,6 +31147,15 @@ var com;
31087
31147
  if ("status" in data && data.status != undefined) {
31088
31148
  this.status = data.status;
31089
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
+ }
31090
31159
  }
31091
31160
  }
31092
31161
  get mfbId() {
@@ -31113,6 +31182,24 @@ var com;
31113
31182
  set status(value) {
31114
31183
  pb_1.Message.setField(this, 4, value);
31115
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
+ }
31116
31203
  static fromObject(data) {
31117
31204
  const message = new GetMfbTerminalsRequest({});
31118
31205
  if (data.mfbId != null) {
@@ -31127,6 +31214,15 @@ var com;
31127
31214
  if (data.status != null) {
31128
31215
  message.status = data.status;
31129
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
+ }
31130
31226
  return message;
31131
31227
  }
31132
31228
  toObject() {
@@ -31143,6 +31239,15 @@ var com;
31143
31239
  if (this.status != null) {
31144
31240
  data.status = this.status;
31145
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
+ }
31146
31251
  return data;
31147
31252
  }
31148
31253
  serialize(w) {
@@ -31155,6 +31260,12 @@ var com;
31155
31260
  writer.writeUint32(3, this.limit);
31156
31261
  if (this.status.length)
31157
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);
31158
31269
  if (!w)
31159
31270
  return writer.getResultBuffer();
31160
31271
  }
@@ -31176,6 +31287,15 @@ var com;
31176
31287
  case 4:
31177
31288
  message.status = reader.readString();
31178
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;
31179
31299
  default: reader.skipField();
31180
31300
  }
31181
31301
  }
@@ -5127,6 +5127,9 @@ export declare namespace com.pkg.posv1.terminals {
5127
5127
  from?: string;
5128
5128
  to?: string;
5129
5129
  duration?: string;
5130
+ dataScope?: string;
5131
+ regionId?: string;
5132
+ adminId?: string;
5130
5133
  });
5131
5134
  get from(): string;
5132
5135
  set from(value: string);
@@ -5134,15 +5137,27 @@ export declare namespace com.pkg.posv1.terminals {
5134
5137
  set to(value: string);
5135
5138
  get duration(): string;
5136
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);
5137
5146
  static fromObject(data: {
5138
5147
  from?: string;
5139
5148
  to?: string;
5140
5149
  duration?: string;
5150
+ dataScope?: string;
5151
+ regionId?: string;
5152
+ adminId?: string;
5141
5153
  }): GetDashboardStatisticsRequest;
5142
5154
  toObject(): {
5143
5155
  from?: string | undefined;
5144
5156
  to?: string | undefined;
5145
5157
  duration?: string | undefined;
5158
+ dataScope?: string | undefined;
5159
+ regionId?: string | undefined;
5160
+ adminId?: string | undefined;
5146
5161
  };
5147
5162
  serialize(): Uint8Array;
5148
5163
  serialize(w: pb_1.BinaryWriter): void;
@@ -10406,6 +10421,9 @@ export declare namespace com.pkg.posv1.terminals {
10406
10421
  page?: number;
10407
10422
  limit?: number;
10408
10423
  status?: string;
10424
+ dataScope?: string;
10425
+ regionId?: string;
10426
+ adminId?: string;
10409
10427
  });
10410
10428
  get mfbId(): string;
10411
10429
  set mfbId(value: string);
@@ -10415,17 +10433,29 @@ export declare namespace com.pkg.posv1.terminals {
10415
10433
  set limit(value: number);
10416
10434
  get status(): string;
10417
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);
10418
10442
  static fromObject(data: {
10419
10443
  mfbId?: string;
10420
10444
  page?: number;
10421
10445
  limit?: number;
10422
10446
  status?: string;
10447
+ dataScope?: string;
10448
+ regionId?: string;
10449
+ adminId?: string;
10423
10450
  }): GetMfbTerminalsRequest;
10424
10451
  toObject(): {
10425
10452
  mfbId?: string | undefined;
10426
10453
  page?: number | undefined;
10427
10454
  limit?: number | undefined;
10428
10455
  status?: string | undefined;
10456
+ dataScope?: string | undefined;
10457
+ regionId?: string | undefined;
10458
+ adminId?: string | undefined;
10429
10459
  };
10430
10460
  serialize(): Uint8Array;
10431
10461
  serialize(w: pb_1.BinaryWriter): void;