@technova-tech/olive-proto-lib 2.5.0 → 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.
- package/accounts/accounts.js +20 -0
- package/package.json +1 -1
- package/transfer/transfer.js +40 -0
- package/types/accounts/accounts.d.ts +6 -0
- package/types/transfer/transfer.d.ts +12 -0
package/accounts/accounts.js
CHANGED
|
@@ -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
|
}
|
package/package.json
CHANGED
package/transfer/transfer.js
CHANGED
|
@@ -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;
|
|
@@ -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;
|