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

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.8",
14
+ "version": "3.0.9",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -965,6 +965,15 @@ var com;
965
965
  if ("settledAmountMax" in data && data.settledAmountMax != undefined) {
966
966
  this.settledAmountMax = data.settledAmountMax;
967
967
  }
968
+ if ("dataScope" in data && data.dataScope != undefined) {
969
+ this.dataScope = data.dataScope;
970
+ }
971
+ if ("regionId" in data && data.regionId != undefined) {
972
+ this.regionId = data.regionId;
973
+ }
974
+ if ("adminId" in data && data.adminId != undefined) {
975
+ this.adminId = data.adminId;
976
+ }
968
977
  }
969
978
  }
970
979
  get terminalId() {
@@ -1075,6 +1084,24 @@ var com;
1075
1084
  get hasSettledAmountMax() {
1076
1085
  return pb_1.Message.getField(this, 16) != null;
1077
1086
  }
1087
+ get dataScope() {
1088
+ return pb_1.Message.getFieldWithDefault(this, 17, "");
1089
+ }
1090
+ set dataScope(value) {
1091
+ pb_1.Message.setField(this, 17, value);
1092
+ }
1093
+ get regionId() {
1094
+ return pb_1.Message.getFieldWithDefault(this, 18, "");
1095
+ }
1096
+ set regionId(value) {
1097
+ pb_1.Message.setField(this, 18, value);
1098
+ }
1099
+ get adminId() {
1100
+ return pb_1.Message.getFieldWithDefault(this, 19, "");
1101
+ }
1102
+ set adminId(value) {
1103
+ pb_1.Message.setField(this, 19, value);
1104
+ }
1078
1105
  get _return_all() {
1079
1106
  const cases = {
1080
1107
  0: "none",
@@ -1153,6 +1180,15 @@ var com;
1153
1180
  if (data.settledAmountMax != null) {
1154
1181
  message.settledAmountMax = data.settledAmountMax;
1155
1182
  }
1183
+ if (data.dataScope != null) {
1184
+ message.dataScope = data.dataScope;
1185
+ }
1186
+ if (data.regionId != null) {
1187
+ message.regionId = data.regionId;
1188
+ }
1189
+ if (data.adminId != null) {
1190
+ message.adminId = data.adminId;
1191
+ }
1156
1192
  return message;
1157
1193
  }
1158
1194
  toObject() {
@@ -1205,6 +1241,15 @@ var com;
1205
1241
  if (this.settledAmountMax != null) {
1206
1242
  data.settledAmountMax = this.settledAmountMax;
1207
1243
  }
1244
+ if (this.dataScope != null) {
1245
+ data.dataScope = this.dataScope;
1246
+ }
1247
+ if (this.regionId != null) {
1248
+ data.regionId = this.regionId;
1249
+ }
1250
+ if (this.adminId != null) {
1251
+ data.adminId = this.adminId;
1252
+ }
1208
1253
  return data;
1209
1254
  }
1210
1255
  serialize(w) {
@@ -1241,6 +1286,12 @@ var com;
1241
1286
  writer.writeDouble(15, this.settledAmountMin);
1242
1287
  if (this.hasSettledAmountMax)
1243
1288
  writer.writeDouble(16, this.settledAmountMax);
1289
+ if (this.dataScope.length)
1290
+ writer.writeString(17, this.dataScope);
1291
+ if (this.regionId.length)
1292
+ writer.writeString(18, this.regionId);
1293
+ if (this.adminId.length)
1294
+ writer.writeString(19, this.adminId);
1244
1295
  if (!w)
1245
1296
  return writer.getResultBuffer();
1246
1297
  }
@@ -1298,6 +1349,15 @@ var com;
1298
1349
  case 16:
1299
1350
  message.settledAmountMax = reader.readDouble();
1300
1351
  break;
1352
+ case 17:
1353
+ message.dataScope = reader.readString();
1354
+ break;
1355
+ case 18:
1356
+ message.regionId = reader.readString();
1357
+ break;
1358
+ case 19:
1359
+ message.adminId = reader.readString();
1360
+ break;
1301
1361
  default: reader.skipField();
1302
1362
  }
1303
1363
  }
@@ -332,6 +332,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
332
332
  sortOrder?: string;
333
333
  search?: string;
334
334
  mfbId?: string;
335
+ dataScope?: string;
336
+ regionId?: string;
337
+ adminId?: string;
335
338
  } & (({
336
339
  returnAll?: boolean;
337
340
  }) | ({
@@ -377,6 +380,12 @@ export declare namespace com.pkg.posv1.terminalTransactions {
377
380
  get settledAmountMax(): number;
378
381
  set settledAmountMax(value: number);
379
382
  get hasSettledAmountMax(): boolean;
383
+ get dataScope(): string;
384
+ set dataScope(value: string);
385
+ get regionId(): string;
386
+ set regionId(value: string);
387
+ get adminId(): string;
388
+ set adminId(value: string);
380
389
  get _return_all(): "none" | "returnAll";
381
390
  get _is_settled(): "none" | "isSettled";
382
391
  get _settled_amount_min(): "none" | "settledAmountMin";
@@ -398,6 +407,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
398
407
  isSettled?: boolean;
399
408
  settledAmountMin?: number;
400
409
  settledAmountMax?: number;
410
+ dataScope?: string;
411
+ regionId?: string;
412
+ adminId?: string;
401
413
  }): AllTransactionsFilter;
402
414
  toObject(): {
403
415
  terminalId?: string | undefined;
@@ -416,6 +428,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
416
428
  isSettled?: boolean | undefined;
417
429
  settledAmountMin?: number | undefined;
418
430
  settledAmountMax?: number | undefined;
431
+ dataScope?: string | undefined;
432
+ regionId?: string | undefined;
433
+ adminId?: string | undefined;
419
434
  };
420
435
  serialize(): Uint8Array;
421
436
  serialize(w: pb_1.BinaryWriter): void;