@technova-tech/olive-proto-lib 3.2.9 → 3.2.10

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/bills/bills.js CHANGED
@@ -1869,6 +1869,9 @@ var com;
1869
1869
  if ("recipient" in data && data.recipient != undefined) {
1870
1870
  this.recipient = data.recipient;
1871
1871
  }
1872
+ if ("customerPhone" in data && data.customerPhone != undefined) {
1873
+ this.customerPhone = data.customerPhone;
1874
+ }
1872
1875
  }
1873
1876
  }
1874
1877
  get category() {
@@ -1889,6 +1892,12 @@ var com;
1889
1892
  set recipient(value) {
1890
1893
  pb_1.Message.setField(this, 3, value);
1891
1894
  }
1895
+ get customerPhone() {
1896
+ return pb_1.Message.getFieldWithDefault(this, 4, "");
1897
+ }
1898
+ set customerPhone(value) {
1899
+ pb_1.Message.setField(this, 4, value);
1900
+ }
1892
1901
  static fromObject(data) {
1893
1902
  const message = new ValidateRecipientRequest({});
1894
1903
  if (data.category != null) {
@@ -1900,6 +1909,9 @@ var com;
1900
1909
  if (data.recipient != null) {
1901
1910
  message.recipient = data.recipient;
1902
1911
  }
1912
+ if (data.customerPhone != null) {
1913
+ message.customerPhone = data.customerPhone;
1914
+ }
1903
1915
  return message;
1904
1916
  }
1905
1917
  toObject() {
@@ -1913,6 +1925,9 @@ var com;
1913
1925
  if (this.recipient != null) {
1914
1926
  data.recipient = this.recipient;
1915
1927
  }
1928
+ if (this.customerPhone != null) {
1929
+ data.customerPhone = this.customerPhone;
1930
+ }
1916
1931
  return data;
1917
1932
  }
1918
1933
  serialize(w) {
@@ -1923,6 +1938,8 @@ var com;
1923
1938
  writer.writeString(2, this.providerCode);
1924
1939
  if (this.recipient.length)
1925
1940
  writer.writeString(3, this.recipient);
1941
+ if (this.customerPhone.length)
1942
+ writer.writeString(4, this.customerPhone);
1926
1943
  if (!w)
1927
1944
  return writer.getResultBuffer();
1928
1945
  }
@@ -1941,6 +1958,9 @@ var com;
1941
1958
  case 3:
1942
1959
  message.recipient = reader.readString();
1943
1960
  break;
1961
+ case 4:
1962
+ message.customerPhone = reader.readString();
1963
+ break;
1944
1964
  default: reader.skipField();
1945
1965
  }
1946
1966
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "compile": "tsc -p tsconfig.json"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "3.2.9",
14
+ "version": "3.2.10",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -550,6 +550,7 @@ export declare namespace com.pkg.bills {
550
550
  category?: string;
551
551
  providerCode?: string;
552
552
  recipient?: string;
553
+ customerPhone?: string;
553
554
  });
554
555
  get category(): string;
555
556
  set category(value: string);
@@ -557,15 +558,19 @@ export declare namespace com.pkg.bills {
557
558
  set providerCode(value: string);
558
559
  get recipient(): string;
559
560
  set recipient(value: string);
561
+ get customerPhone(): string;
562
+ set customerPhone(value: string);
560
563
  static fromObject(data: {
561
564
  category?: string;
562
565
  providerCode?: string;
563
566
  recipient?: string;
567
+ customerPhone?: string;
564
568
  }): ValidateRecipientRequest;
565
569
  toObject(): {
566
570
  category?: string | undefined;
567
571
  providerCode?: string | undefined;
568
572
  recipient?: string | undefined;
573
+ customerPhone?: string | undefined;
569
574
  };
570
575
  serialize(): Uint8Array;
571
576
  serialize(w: pb_1.BinaryWriter): void;