@technova-tech/olive-proto-lib 3.1.3 → 3.1.4

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.1.3",
14
+ "version": "3.1.4",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -25882,6 +25882,15 @@ var com;
25882
25882
  if ("includeExceeded" in data && data.includeExceeded != undefined) {
25883
25883
  this.includeExceeded = data.includeExceeded;
25884
25884
  }
25885
+ if ("dataScope" in data && data.dataScope != undefined) {
25886
+ this.dataScope = data.dataScope;
25887
+ }
25888
+ if ("regionId" in data && data.regionId != undefined) {
25889
+ this.regionId = data.regionId;
25890
+ }
25891
+ if ("adminId" in data && data.adminId != undefined) {
25892
+ this.adminId = data.adminId;
25893
+ }
25885
25894
  }
25886
25895
  }
25887
25896
  get entityType() {
@@ -25911,6 +25920,24 @@ var com;
25911
25920
  set includeExceeded(value) {
25912
25921
  pb_1.Message.setField(this, 4, value);
25913
25922
  }
25923
+ get dataScope() {
25924
+ return pb_1.Message.getFieldWithDefault(this, 5, "");
25925
+ }
25926
+ set dataScope(value) {
25927
+ pb_1.Message.setField(this, 5, value);
25928
+ }
25929
+ get regionId() {
25930
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
25931
+ }
25932
+ set regionId(value) {
25933
+ pb_1.Message.setField(this, 6, value);
25934
+ }
25935
+ get adminId() {
25936
+ return pb_1.Message.getFieldWithDefault(this, 7, "");
25937
+ }
25938
+ set adminId(value) {
25939
+ pb_1.Message.setField(this, 7, value);
25940
+ }
25914
25941
  get _limit_type() {
25915
25942
  const cases = {
25916
25943
  0: "none",
@@ -25932,6 +25959,15 @@ var com;
25932
25959
  if (data.includeExceeded != null) {
25933
25960
  message.includeExceeded = data.includeExceeded;
25934
25961
  }
25962
+ if (data.dataScope != null) {
25963
+ message.dataScope = data.dataScope;
25964
+ }
25965
+ if (data.regionId != null) {
25966
+ message.regionId = data.regionId;
25967
+ }
25968
+ if (data.adminId != null) {
25969
+ message.adminId = data.adminId;
25970
+ }
25935
25971
  return message;
25936
25972
  }
25937
25973
  toObject() {
@@ -25948,6 +25984,15 @@ var com;
25948
25984
  if (this.includeExceeded != null) {
25949
25985
  data.includeExceeded = this.includeExceeded;
25950
25986
  }
25987
+ if (this.dataScope != null) {
25988
+ data.dataScope = this.dataScope;
25989
+ }
25990
+ if (this.regionId != null) {
25991
+ data.regionId = this.regionId;
25992
+ }
25993
+ if (this.adminId != null) {
25994
+ data.adminId = this.adminId;
25995
+ }
25951
25996
  return data;
25952
25997
  }
25953
25998
  serialize(w) {
@@ -25960,6 +26005,12 @@ var com;
25960
26005
  writer.writeString(3, this.limitType);
25961
26006
  if (this.includeExceeded != false)
25962
26007
  writer.writeBool(4, this.includeExceeded);
26008
+ if (this.dataScope.length)
26009
+ writer.writeString(5, this.dataScope);
26010
+ if (this.regionId.length)
26011
+ writer.writeString(6, this.regionId);
26012
+ if (this.adminId.length)
26013
+ writer.writeString(7, this.adminId);
25963
26014
  if (!w)
25964
26015
  return writer.getResultBuffer();
25965
26016
  }
@@ -25981,6 +26032,15 @@ var com;
25981
26032
  case 4:
25982
26033
  message.includeExceeded = reader.readBool();
25983
26034
  break;
26035
+ case 5:
26036
+ message.dataScope = reader.readString();
26037
+ break;
26038
+ case 6:
26039
+ message.regionId = reader.readString();
26040
+ break;
26041
+ case 7:
26042
+ message.adminId = reader.readString();
26043
+ break;
25984
26044
  default: reader.skipField();
25985
26045
  }
25986
26046
  }
@@ -8693,6 +8693,9 @@ export declare namespace com.pkg.posv1.terminals {
8693
8693
  entityType?: string;
8694
8694
  entityId?: string;
8695
8695
  includeExceeded?: boolean;
8696
+ dataScope?: string;
8697
+ regionId?: string;
8698
+ adminId?: string;
8696
8699
  } & (({
8697
8700
  limitType?: string;
8698
8701
  }))));
@@ -8705,18 +8708,30 @@ export declare namespace com.pkg.posv1.terminals {
8705
8708
  get hasLimitType(): boolean;
8706
8709
  get includeExceeded(): boolean;
8707
8710
  set includeExceeded(value: boolean);
8711
+ get dataScope(): string;
8712
+ set dataScope(value: string);
8713
+ get regionId(): string;
8714
+ set regionId(value: string);
8715
+ get adminId(): string;
8716
+ set adminId(value: string);
8708
8717
  get _limit_type(): "none" | "limitType";
8709
8718
  static fromObject(data: {
8710
8719
  entityType?: string;
8711
8720
  entityId?: string;
8712
8721
  limitType?: string;
8713
8722
  includeExceeded?: boolean;
8723
+ dataScope?: string;
8724
+ regionId?: string;
8725
+ adminId?: string;
8714
8726
  }): GetPOSEntityLimitsRequest;
8715
8727
  toObject(): {
8716
8728
  entityType?: string | undefined;
8717
8729
  entityId?: string | undefined;
8718
8730
  limitType?: string | undefined;
8719
8731
  includeExceeded?: boolean | undefined;
8732
+ dataScope?: string | undefined;
8733
+ regionId?: string | undefined;
8734
+ adminId?: string | undefined;
8720
8735
  };
8721
8736
  serialize(): Uint8Array;
8722
8737
  serialize(w: pb_1.BinaryWriter): void;