@technova-tech/olive-proto-lib 2.4.1 → 2.5.1

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.
@@ -6403,6 +6403,9 @@ var com;
6403
6403
  if ("transactionRef" in data && data.transactionRef != undefined) {
6404
6404
  this.transactionRef = data.transactionRef;
6405
6405
  }
6406
+ if ("status" in data && data.status != undefined) {
6407
+ this.status = data.status;
6408
+ }
6406
6409
  }
6407
6410
  }
6408
6411
  get amount() {
@@ -6465,6 +6468,12 @@ var com;
6465
6468
  set transactionRef(value) {
6466
6469
  pb_1.Message.setField(this, 10, value);
6467
6470
  }
6471
+ get status() {
6472
+ return pb_1.Message.getFieldWithDefault(this, 11, "");
6473
+ }
6474
+ set status(value) {
6475
+ pb_1.Message.setField(this, 11, value);
6476
+ }
6468
6477
  static fromObject(data) {
6469
6478
  const message = new FundTransferOperationData({});
6470
6479
  if (data.amount != null) {
@@ -6497,6 +6506,9 @@ var com;
6497
6506
  if (data.transactionRef != null) {
6498
6507
  message.transactionRef = data.transactionRef;
6499
6508
  }
6509
+ if (data.status != null) {
6510
+ message.status = data.status;
6511
+ }
6500
6512
  return message;
6501
6513
  }
6502
6514
  toObject() {
@@ -6531,6 +6543,9 @@ var com;
6531
6543
  if (this.transactionRef != null) {
6532
6544
  data.transactionRef = this.transactionRef;
6533
6545
  }
6546
+ if (this.status != null) {
6547
+ data.status = this.status;
6548
+ }
6534
6549
  return data;
6535
6550
  }
6536
6551
  serialize(w) {
@@ -6555,6 +6570,8 @@ var com;
6555
6570
  writer.writeBool(9, this.charges);
6556
6571
  if (this.transactionRef.length)
6557
6572
  writer.writeString(10, this.transactionRef);
6573
+ if (this.status.length)
6574
+ writer.writeString(11, this.status);
6558
6575
  if (!w)
6559
6576
  return writer.getResultBuffer();
6560
6577
  }
@@ -6594,6 +6611,9 @@ var com;
6594
6611
  case 10:
6595
6612
  message.transactionRef = reader.readString();
6596
6613
  break;
6614
+ case 11:
6615
+ message.status = reader.readString();
6616
+ break;
6597
6617
  default: reader.skipField();
6598
6618
  }
6599
6619
  }
@@ -11338,6 +11358,9 @@ var com;
11338
11358
  if ("page" in data && data.page != undefined) {
11339
11359
  this.page = data.page;
11340
11360
  }
11361
+ if ("export" in data && data.export != undefined) {
11362
+ this.export = data.export;
11363
+ }
11341
11364
  }
11342
11365
  }
11343
11366
  get searchQuery() {
@@ -11394,6 +11417,12 @@ var com;
11394
11417
  set page(value) {
11395
11418
  pb_1.Message.setField(this, 9, value);
11396
11419
  }
11420
+ get export() {
11421
+ return pb_1.Message.getFieldWithDefault(this, 10, false);
11422
+ }
11423
+ set export(value) {
11424
+ pb_1.Message.setField(this, 10, value);
11425
+ }
11397
11426
  static fromObject(data) {
11398
11427
  const message = new FetchPayoutLogsRequest({});
11399
11428
  if (data.searchQuery != null) {
@@ -11423,6 +11452,9 @@ var com;
11423
11452
  if (data.page != null) {
11424
11453
  message.page = data.page;
11425
11454
  }
11455
+ if (data.export != null) {
11456
+ message.export = data.export;
11457
+ }
11426
11458
  return message;
11427
11459
  }
11428
11460
  toObject() {
@@ -11454,6 +11486,9 @@ var com;
11454
11486
  if (this.page != null) {
11455
11487
  data.page = this.page;
11456
11488
  }
11489
+ if (this.export != null) {
11490
+ data.export = this.export;
11491
+ }
11457
11492
  return data;
11458
11493
  }
11459
11494
  serialize(w) {
@@ -11476,6 +11511,8 @@ var com;
11476
11511
  writer.writeUint32(8, this.limit);
11477
11512
  if (this.page != 0)
11478
11513
  writer.writeUint32(9, this.page);
11514
+ if (this.export != false)
11515
+ writer.writeBool(10, this.export);
11479
11516
  if (!w)
11480
11517
  return writer.getResultBuffer();
11481
11518
  }
@@ -11512,6 +11549,9 @@ var com;
11512
11549
  case 9:
11513
11550
  message.page = reader.readUint32();
11514
11551
  break;
11552
+ case 10:
11553
+ message.export = reader.readBool();
11554
+ break;
11515
11555
  default: reader.skipField();
11516
11556
  }
11517
11557
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "compile": "tsc -p tsconfig.json"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "2.4.1",
14
+ "version": "2.5.1",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -673,6 +673,12 @@ var com;
673
673
  if ("transfer" in data && data.transfer != undefined) {
674
674
  this.transfer = data.transfer;
675
675
  }
676
+ if ("providerReference" in data && data.providerReference != undefined) {
677
+ this.providerReference = data.providerReference;
678
+ }
679
+ if ("status" in data && data.status != undefined) {
680
+ this.status = data.status;
681
+ }
676
682
  }
677
683
  }
678
684
  get responseCode() {
@@ -708,6 +714,18 @@ var com;
708
714
  get hasTransfer() {
709
715
  return pb_1.Message.getField(this, 5) != null;
710
716
  }
717
+ get providerReference() {
718
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
719
+ }
720
+ set providerReference(value) {
721
+ pb_1.Message.setField(this, 6, value);
722
+ }
723
+ get status() {
724
+ return pb_1.Message.getFieldWithDefault(this, 7, "");
725
+ }
726
+ set status(value) {
727
+ pb_1.Message.setField(this, 7, value);
728
+ }
711
729
  static fromObject(data) {
712
730
  const message = new FundTransferData({});
713
731
  if (data.responseCode != null) {
@@ -725,6 +743,12 @@ var com;
725
743
  if (data.transfer != null) {
726
744
  message.transfer = FundTransferRequest.fromObject(data.transfer);
727
745
  }
746
+ if (data.providerReference != null) {
747
+ message.providerReference = data.providerReference;
748
+ }
749
+ if (data.status != null) {
750
+ message.status = data.status;
751
+ }
728
752
  return message;
729
753
  }
730
754
  toObject() {
@@ -744,6 +768,12 @@ var com;
744
768
  if (this.transfer != null) {
745
769
  data.transfer = this.transfer.toObject();
746
770
  }
771
+ if (this.providerReference != null) {
772
+ data.providerReference = this.providerReference;
773
+ }
774
+ if (this.status != null) {
775
+ data.status = this.status;
776
+ }
747
777
  return data;
748
778
  }
749
779
  serialize(w) {
@@ -758,6 +788,10 @@ var com;
758
788
  writer.writeString(4, this.paymentRefernece);
759
789
  if (this.hasTransfer)
760
790
  writer.writeMessage(5, this.transfer, () => this.transfer.serialize(writer));
791
+ if (this.providerReference.length)
792
+ writer.writeString(6, this.providerReference);
793
+ if (this.status.length)
794
+ writer.writeString(7, this.status);
761
795
  if (!w)
762
796
  return writer.getResultBuffer();
763
797
  }
@@ -782,6 +816,12 @@ var com;
782
816
  case 5:
783
817
  reader.readMessage(message.transfer, () => message.transfer = FundTransferRequest.deserialize(reader));
784
818
  break;
819
+ case 6:
820
+ message.providerReference = reader.readString();
821
+ break;
822
+ case 7:
823
+ message.status = reader.readString();
824
+ break;
785
825
  default: reader.skipField();
786
826
  }
787
827
  }
@@ -1993,6 +1993,7 @@ export declare namespace com.pkg.account {
1993
1993
  narration?: string;
1994
1994
  charges?: boolean;
1995
1995
  transactionRef?: string;
1996
+ status?: string;
1996
1997
  });
1997
1998
  get amount(): number;
1998
1999
  set amount(value: number);
@@ -2014,6 +2015,8 @@ export declare namespace com.pkg.account {
2014
2015
  set charges(value: boolean);
2015
2016
  get transactionRef(): string;
2016
2017
  set transactionRef(value: string);
2018
+ get status(): string;
2019
+ set status(value: string);
2017
2020
  static fromObject(data: {
2018
2021
  amount?: number;
2019
2022
  originatorAccountName?: string;
@@ -2025,6 +2028,7 @@ export declare namespace com.pkg.account {
2025
2028
  narration?: string;
2026
2029
  charges?: boolean;
2027
2030
  transactionRef?: string;
2031
+ status?: string;
2028
2032
  }): FundTransferOperationData;
2029
2033
  toObject(): {
2030
2034
  amount?: number | undefined;
@@ -2037,6 +2041,7 @@ export declare namespace com.pkg.account {
2037
2041
  narration?: string | undefined;
2038
2042
  charges?: boolean | undefined;
2039
2043
  transactionRef?: string | undefined;
2044
+ status?: string | undefined;
2040
2045
  };
2041
2046
  serialize(): Uint8Array;
2042
2047
  serialize(w: pb_1.BinaryWriter): void;
@@ -2088,6 +2093,7 @@ export declare namespace com.pkg.account {
2088
2093
  narration?: string | undefined;
2089
2094
  charges?: boolean | undefined;
2090
2095
  transactionRef?: string | undefined;
2096
+ status?: string | undefined;
2091
2097
  } | undefined;
2092
2098
  error?: string | undefined;
2093
2099
  message?: string | undefined;
@@ -3664,6 +3670,7 @@ export declare namespace com.pkg.account {
3664
3670
  to?: string;
3665
3671
  limit?: number;
3666
3672
  page?: number;
3673
+ export?: boolean;
3667
3674
  });
3668
3675
  get searchQuery(): string;
3669
3676
  set searchQuery(value: string);
@@ -3683,6 +3690,8 @@ export declare namespace com.pkg.account {
3683
3690
  set limit(value: number);
3684
3691
  get page(): number;
3685
3692
  set page(value: number);
3693
+ get export(): boolean;
3694
+ set export(value: boolean);
3686
3695
  static fromObject(data: {
3687
3696
  searchQuery?: string;
3688
3697
  status?: string[];
@@ -3693,6 +3702,7 @@ export declare namespace com.pkg.account {
3693
3702
  to?: string;
3694
3703
  limit?: number;
3695
3704
  page?: number;
3705
+ export?: boolean;
3696
3706
  }): FetchPayoutLogsRequest;
3697
3707
  toObject(): {
3698
3708
  searchQuery?: string | undefined;
@@ -3704,6 +3714,7 @@ export declare namespace com.pkg.account {
3704
3714
  to?: string | undefined;
3705
3715
  limit?: number | undefined;
3706
3716
  page?: number | undefined;
3717
+ export?: boolean | undefined;
3707
3718
  };
3708
3719
  serialize(): Uint8Array;
3709
3720
  serialize(w: pb_1.BinaryWriter): void;
@@ -177,6 +177,8 @@ export declare namespace com.pkg.transfer {
177
177
  sessionId?: string;
178
178
  paymentRefernece?: string;
179
179
  transfer?: FundTransferRequest;
180
+ providerReference?: string;
181
+ status?: string;
180
182
  });
181
183
  get responseCode(): string;
182
184
  set responseCode(value: string);
@@ -189,12 +191,18 @@ export declare namespace com.pkg.transfer {
189
191
  get transfer(): FundTransferRequest;
190
192
  set transfer(value: FundTransferRequest);
191
193
  get hasTransfer(): boolean;
194
+ get providerReference(): string;
195
+ set providerReference(value: string);
196
+ get status(): string;
197
+ set status(value: string);
192
198
  static fromObject(data: {
193
199
  responseCode?: string;
194
200
  responseMessage?: string;
195
201
  sessionId?: string;
196
202
  paymentRefernece?: string;
197
203
  transfer?: ReturnType<typeof FundTransferRequest.prototype.toObject>;
204
+ providerReference?: string;
205
+ status?: string;
198
206
  }): FundTransferData;
199
207
  toObject(): {
200
208
  responseCode?: string | undefined;
@@ -221,6 +229,8 @@ export declare namespace com.pkg.transfer {
221
229
  provider?: string | undefined;
222
230
  transactionId?: string | undefined;
223
231
  } | undefined;
232
+ providerReference?: string | undefined;
233
+ status?: string | undefined;
224
234
  };
225
235
  serialize(): Uint8Array;
226
236
  serialize(w: pb_1.BinaryWriter): void;
@@ -286,6 +296,8 @@ export declare namespace com.pkg.transfer {
286
296
  provider?: string | undefined;
287
297
  transactionId?: string | undefined;
288
298
  } | undefined;
299
+ providerReference?: string | undefined;
300
+ status?: string | undefined;
289
301
  } | undefined;
290
302
  error?: string | undefined;
291
303
  message?: string | undefined;