@technova-tech/olive-proto-lib 1.9.8 → 2.0.0
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/admin/admin.js +180 -0
- package/package.json +1 -1
- package/pos.v1/terminals.js +71 -1
- package/types/admin/admin.d.ts +51 -0
- package/types/pos.v1/terminals.d.ts +26 -2
package/admin/admin.js
CHANGED
|
@@ -4506,6 +4506,15 @@ var com;
|
|
|
4506
4506
|
if ("createdAt" in data && data.createdAt != undefined) {
|
|
4507
4507
|
this.createdAt = data.createdAt;
|
|
4508
4508
|
}
|
|
4509
|
+
if ("settlementBankCode" in data && data.settlementBankCode != undefined) {
|
|
4510
|
+
this.settlementBankCode = data.settlementBankCode;
|
|
4511
|
+
}
|
|
4512
|
+
if ("bvn" in data && data.bvn != undefined) {
|
|
4513
|
+
this.bvn = data.bvn;
|
|
4514
|
+
}
|
|
4515
|
+
if ("nin" in data && data.nin != undefined) {
|
|
4516
|
+
this.nin = data.nin;
|
|
4517
|
+
}
|
|
4509
4518
|
}
|
|
4510
4519
|
}
|
|
4511
4520
|
get id() {
|
|
@@ -4598,6 +4607,24 @@ var com;
|
|
|
4598
4607
|
set createdAt(value) {
|
|
4599
4608
|
pb_1.Message.setField(this, 15, value);
|
|
4600
4609
|
}
|
|
4610
|
+
get settlementBankCode() {
|
|
4611
|
+
return pb_1.Message.getFieldWithDefault(this, 16, "");
|
|
4612
|
+
}
|
|
4613
|
+
set settlementBankCode(value) {
|
|
4614
|
+
pb_1.Message.setField(this, 16, value);
|
|
4615
|
+
}
|
|
4616
|
+
get bvn() {
|
|
4617
|
+
return pb_1.Message.getFieldWithDefault(this, 17, "");
|
|
4618
|
+
}
|
|
4619
|
+
set bvn(value) {
|
|
4620
|
+
pb_1.Message.setField(this, 17, value);
|
|
4621
|
+
}
|
|
4622
|
+
get nin() {
|
|
4623
|
+
return pb_1.Message.getFieldWithDefault(this, 18, "");
|
|
4624
|
+
}
|
|
4625
|
+
set nin(value) {
|
|
4626
|
+
pb_1.Message.setField(this, 18, value);
|
|
4627
|
+
}
|
|
4601
4628
|
static fromObject(data) {
|
|
4602
4629
|
const message = new MfbData({});
|
|
4603
4630
|
if (data.id != null) {
|
|
@@ -4645,6 +4672,15 @@ var com;
|
|
|
4645
4672
|
if (data.createdAt != null) {
|
|
4646
4673
|
message.createdAt = data.createdAt;
|
|
4647
4674
|
}
|
|
4675
|
+
if (data.settlementBankCode != null) {
|
|
4676
|
+
message.settlementBankCode = data.settlementBankCode;
|
|
4677
|
+
}
|
|
4678
|
+
if (data.bvn != null) {
|
|
4679
|
+
message.bvn = data.bvn;
|
|
4680
|
+
}
|
|
4681
|
+
if (data.nin != null) {
|
|
4682
|
+
message.nin = data.nin;
|
|
4683
|
+
}
|
|
4648
4684
|
return message;
|
|
4649
4685
|
}
|
|
4650
4686
|
toObject() {
|
|
@@ -4694,6 +4730,15 @@ var com;
|
|
|
4694
4730
|
if (this.createdAt != null) {
|
|
4695
4731
|
data.createdAt = this.createdAt;
|
|
4696
4732
|
}
|
|
4733
|
+
if (this.settlementBankCode != null) {
|
|
4734
|
+
data.settlementBankCode = this.settlementBankCode;
|
|
4735
|
+
}
|
|
4736
|
+
if (this.bvn != null) {
|
|
4737
|
+
data.bvn = this.bvn;
|
|
4738
|
+
}
|
|
4739
|
+
if (this.nin != null) {
|
|
4740
|
+
data.nin = this.nin;
|
|
4741
|
+
}
|
|
4697
4742
|
return data;
|
|
4698
4743
|
}
|
|
4699
4744
|
serialize(w) {
|
|
@@ -4728,6 +4773,12 @@ var com;
|
|
|
4728
4773
|
writer.writeString(14, this.contractReference);
|
|
4729
4774
|
if (this.createdAt.length)
|
|
4730
4775
|
writer.writeString(15, this.createdAt);
|
|
4776
|
+
if (this.settlementBankCode.length)
|
|
4777
|
+
writer.writeString(16, this.settlementBankCode);
|
|
4778
|
+
if (this.bvn.length)
|
|
4779
|
+
writer.writeString(17, this.bvn);
|
|
4780
|
+
if (this.nin.length)
|
|
4781
|
+
writer.writeString(18, this.nin);
|
|
4731
4782
|
if (!w)
|
|
4732
4783
|
return writer.getResultBuffer();
|
|
4733
4784
|
}
|
|
@@ -4782,6 +4833,15 @@ var com;
|
|
|
4782
4833
|
case 15:
|
|
4783
4834
|
message.createdAt = reader.readString();
|
|
4784
4835
|
break;
|
|
4836
|
+
case 16:
|
|
4837
|
+
message.settlementBankCode = reader.readString();
|
|
4838
|
+
break;
|
|
4839
|
+
case 17:
|
|
4840
|
+
message.bvn = reader.readString();
|
|
4841
|
+
break;
|
|
4842
|
+
case 18:
|
|
4843
|
+
message.nin = reader.readString();
|
|
4844
|
+
break;
|
|
4785
4845
|
default: reader.skipField();
|
|
4786
4846
|
}
|
|
4787
4847
|
}
|
|
@@ -5183,6 +5243,15 @@ var com;
|
|
|
5183
5243
|
if ("contractReference" in data && data.contractReference != undefined) {
|
|
5184
5244
|
this.contractReference = data.contractReference;
|
|
5185
5245
|
}
|
|
5246
|
+
if ("settlementBankCode" in data && data.settlementBankCode != undefined) {
|
|
5247
|
+
this.settlementBankCode = data.settlementBankCode;
|
|
5248
|
+
}
|
|
5249
|
+
if ("bvn" in data && data.bvn != undefined) {
|
|
5250
|
+
this.bvn = data.bvn;
|
|
5251
|
+
}
|
|
5252
|
+
if ("nin" in data && data.nin != undefined) {
|
|
5253
|
+
this.nin = data.nin;
|
|
5254
|
+
}
|
|
5186
5255
|
}
|
|
5187
5256
|
}
|
|
5188
5257
|
get name() {
|
|
@@ -5257,6 +5326,24 @@ var com;
|
|
|
5257
5326
|
set contractReference(value) {
|
|
5258
5327
|
pb_1.Message.setField(this, 12, value);
|
|
5259
5328
|
}
|
|
5329
|
+
get settlementBankCode() {
|
|
5330
|
+
return pb_1.Message.getFieldWithDefault(this, 13, "");
|
|
5331
|
+
}
|
|
5332
|
+
set settlementBankCode(value) {
|
|
5333
|
+
pb_1.Message.setField(this, 13, value);
|
|
5334
|
+
}
|
|
5335
|
+
get bvn() {
|
|
5336
|
+
return pb_1.Message.getFieldWithDefault(this, 14, "");
|
|
5337
|
+
}
|
|
5338
|
+
set bvn(value) {
|
|
5339
|
+
pb_1.Message.setField(this, 14, value);
|
|
5340
|
+
}
|
|
5341
|
+
get nin() {
|
|
5342
|
+
return pb_1.Message.getFieldWithDefault(this, 15, "");
|
|
5343
|
+
}
|
|
5344
|
+
set nin(value) {
|
|
5345
|
+
pb_1.Message.setField(this, 15, value);
|
|
5346
|
+
}
|
|
5260
5347
|
static fromObject(data) {
|
|
5261
5348
|
const message = new CreateMfbRequest({});
|
|
5262
5349
|
if (data.name != null) {
|
|
@@ -5295,6 +5382,15 @@ var com;
|
|
|
5295
5382
|
if (data.contractReference != null) {
|
|
5296
5383
|
message.contractReference = data.contractReference;
|
|
5297
5384
|
}
|
|
5385
|
+
if (data.settlementBankCode != null) {
|
|
5386
|
+
message.settlementBankCode = data.settlementBankCode;
|
|
5387
|
+
}
|
|
5388
|
+
if (data.bvn != null) {
|
|
5389
|
+
message.bvn = data.bvn;
|
|
5390
|
+
}
|
|
5391
|
+
if (data.nin != null) {
|
|
5392
|
+
message.nin = data.nin;
|
|
5393
|
+
}
|
|
5298
5394
|
return message;
|
|
5299
5395
|
}
|
|
5300
5396
|
toObject() {
|
|
@@ -5335,6 +5431,15 @@ var com;
|
|
|
5335
5431
|
if (this.contractReference != null) {
|
|
5336
5432
|
data.contractReference = this.contractReference;
|
|
5337
5433
|
}
|
|
5434
|
+
if (this.settlementBankCode != null) {
|
|
5435
|
+
data.settlementBankCode = this.settlementBankCode;
|
|
5436
|
+
}
|
|
5437
|
+
if (this.bvn != null) {
|
|
5438
|
+
data.bvn = this.bvn;
|
|
5439
|
+
}
|
|
5440
|
+
if (this.nin != null) {
|
|
5441
|
+
data.nin = this.nin;
|
|
5442
|
+
}
|
|
5338
5443
|
return data;
|
|
5339
5444
|
}
|
|
5340
5445
|
serialize(w) {
|
|
@@ -5363,6 +5468,12 @@ var com;
|
|
|
5363
5468
|
writer.writeString(11, this.brandingPrimaryColor);
|
|
5364
5469
|
if (this.contractReference.length)
|
|
5365
5470
|
writer.writeString(12, this.contractReference);
|
|
5471
|
+
if (this.settlementBankCode.length)
|
|
5472
|
+
writer.writeString(13, this.settlementBankCode);
|
|
5473
|
+
if (this.bvn.length)
|
|
5474
|
+
writer.writeString(14, this.bvn);
|
|
5475
|
+
if (this.nin.length)
|
|
5476
|
+
writer.writeString(15, this.nin);
|
|
5366
5477
|
if (!w)
|
|
5367
5478
|
return writer.getResultBuffer();
|
|
5368
5479
|
}
|
|
@@ -5408,6 +5519,15 @@ var com;
|
|
|
5408
5519
|
case 12:
|
|
5409
5520
|
message.contractReference = reader.readString();
|
|
5410
5521
|
break;
|
|
5522
|
+
case 13:
|
|
5523
|
+
message.settlementBankCode = reader.readString();
|
|
5524
|
+
break;
|
|
5525
|
+
case 14:
|
|
5526
|
+
message.bvn = reader.readString();
|
|
5527
|
+
break;
|
|
5528
|
+
case 15:
|
|
5529
|
+
message.nin = reader.readString();
|
|
5530
|
+
break;
|
|
5411
5531
|
default: reader.skipField();
|
|
5412
5532
|
}
|
|
5413
5533
|
}
|
|
@@ -5466,6 +5586,15 @@ var com;
|
|
|
5466
5586
|
if ("contractReference" in data && data.contractReference != undefined) {
|
|
5467
5587
|
this.contractReference = data.contractReference;
|
|
5468
5588
|
}
|
|
5589
|
+
if ("settlementBankCode" in data && data.settlementBankCode != undefined) {
|
|
5590
|
+
this.settlementBankCode = data.settlementBankCode;
|
|
5591
|
+
}
|
|
5592
|
+
if ("bvn" in data && data.bvn != undefined) {
|
|
5593
|
+
this.bvn = data.bvn;
|
|
5594
|
+
}
|
|
5595
|
+
if ("nin" in data && data.nin != undefined) {
|
|
5596
|
+
this.nin = data.nin;
|
|
5597
|
+
}
|
|
5469
5598
|
}
|
|
5470
5599
|
}
|
|
5471
5600
|
get id() {
|
|
@@ -5546,6 +5675,24 @@ var com;
|
|
|
5546
5675
|
set contractReference(value) {
|
|
5547
5676
|
pb_1.Message.setField(this, 13, value);
|
|
5548
5677
|
}
|
|
5678
|
+
get settlementBankCode() {
|
|
5679
|
+
return pb_1.Message.getFieldWithDefault(this, 14, "");
|
|
5680
|
+
}
|
|
5681
|
+
set settlementBankCode(value) {
|
|
5682
|
+
pb_1.Message.setField(this, 14, value);
|
|
5683
|
+
}
|
|
5684
|
+
get bvn() {
|
|
5685
|
+
return pb_1.Message.getFieldWithDefault(this, 15, "");
|
|
5686
|
+
}
|
|
5687
|
+
set bvn(value) {
|
|
5688
|
+
pb_1.Message.setField(this, 15, value);
|
|
5689
|
+
}
|
|
5690
|
+
get nin() {
|
|
5691
|
+
return pb_1.Message.getFieldWithDefault(this, 16, "");
|
|
5692
|
+
}
|
|
5693
|
+
set nin(value) {
|
|
5694
|
+
pb_1.Message.setField(this, 16, value);
|
|
5695
|
+
}
|
|
5549
5696
|
static fromObject(data) {
|
|
5550
5697
|
const message = new UpdateMfbRequest({});
|
|
5551
5698
|
if (data.id != null) {
|
|
@@ -5587,6 +5734,15 @@ var com;
|
|
|
5587
5734
|
if (data.contractReference != null) {
|
|
5588
5735
|
message.contractReference = data.contractReference;
|
|
5589
5736
|
}
|
|
5737
|
+
if (data.settlementBankCode != null) {
|
|
5738
|
+
message.settlementBankCode = data.settlementBankCode;
|
|
5739
|
+
}
|
|
5740
|
+
if (data.bvn != null) {
|
|
5741
|
+
message.bvn = data.bvn;
|
|
5742
|
+
}
|
|
5743
|
+
if (data.nin != null) {
|
|
5744
|
+
message.nin = data.nin;
|
|
5745
|
+
}
|
|
5590
5746
|
return message;
|
|
5591
5747
|
}
|
|
5592
5748
|
toObject() {
|
|
@@ -5630,6 +5786,15 @@ var com;
|
|
|
5630
5786
|
if (this.contractReference != null) {
|
|
5631
5787
|
data.contractReference = this.contractReference;
|
|
5632
5788
|
}
|
|
5789
|
+
if (this.settlementBankCode != null) {
|
|
5790
|
+
data.settlementBankCode = this.settlementBankCode;
|
|
5791
|
+
}
|
|
5792
|
+
if (this.bvn != null) {
|
|
5793
|
+
data.bvn = this.bvn;
|
|
5794
|
+
}
|
|
5795
|
+
if (this.nin != null) {
|
|
5796
|
+
data.nin = this.nin;
|
|
5797
|
+
}
|
|
5633
5798
|
return data;
|
|
5634
5799
|
}
|
|
5635
5800
|
serialize(w) {
|
|
@@ -5660,6 +5825,12 @@ var com;
|
|
|
5660
5825
|
writer.writeString(12, this.brandingPrimaryColor);
|
|
5661
5826
|
if (this.contractReference.length)
|
|
5662
5827
|
writer.writeString(13, this.contractReference);
|
|
5828
|
+
if (this.settlementBankCode.length)
|
|
5829
|
+
writer.writeString(14, this.settlementBankCode);
|
|
5830
|
+
if (this.bvn.length)
|
|
5831
|
+
writer.writeString(15, this.bvn);
|
|
5832
|
+
if (this.nin.length)
|
|
5833
|
+
writer.writeString(16, this.nin);
|
|
5663
5834
|
if (!w)
|
|
5664
5835
|
return writer.getResultBuffer();
|
|
5665
5836
|
}
|
|
@@ -5708,6 +5879,15 @@ var com;
|
|
|
5708
5879
|
case 13:
|
|
5709
5880
|
message.contractReference = reader.readString();
|
|
5710
5881
|
break;
|
|
5882
|
+
case 14:
|
|
5883
|
+
message.settlementBankCode = reader.readString();
|
|
5884
|
+
break;
|
|
5885
|
+
case 15:
|
|
5886
|
+
message.bvn = reader.readString();
|
|
5887
|
+
break;
|
|
5888
|
+
case 16:
|
|
5889
|
+
message.nin = reader.readString();
|
|
5890
|
+
break;
|
|
5711
5891
|
default: reader.skipField();
|
|
5712
5892
|
}
|
|
5713
5893
|
}
|
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -946,7 +946,7 @@ var com;
|
|
|
946
946
|
}
|
|
947
947
|
terminals.GetTerminalInstanceResponse = GetTerminalInstanceResponse;
|
|
948
948
|
class UpdateTerminalInstanceRequest extends pb_1.Message {
|
|
949
|
-
#one_of_decls = [];
|
|
949
|
+
#one_of_decls = [[12]];
|
|
950
950
|
constructor(data) {
|
|
951
951
|
super();
|
|
952
952
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -984,6 +984,9 @@ var com;
|
|
|
984
984
|
if ("auditContext" in data && data.auditContext != undefined) {
|
|
985
985
|
this.auditContext = data.auditContext;
|
|
986
986
|
}
|
|
987
|
+
if ("active" in data && data.active != undefined) {
|
|
988
|
+
this.active = data.active;
|
|
989
|
+
}
|
|
987
990
|
}
|
|
988
991
|
if (!this.deviceConfiguration)
|
|
989
992
|
this.deviceConfiguration = new Map();
|
|
@@ -1054,6 +1057,22 @@ var com;
|
|
|
1054
1057
|
set auditContext(value) {
|
|
1055
1058
|
pb_1.Message.setField(this, 11, value);
|
|
1056
1059
|
}
|
|
1060
|
+
get active() {
|
|
1061
|
+
return pb_1.Message.getFieldWithDefault(this, 12, false);
|
|
1062
|
+
}
|
|
1063
|
+
set active(value) {
|
|
1064
|
+
pb_1.Message.setOneofField(this, 12, this.#one_of_decls[0], value);
|
|
1065
|
+
}
|
|
1066
|
+
get hasActive() {
|
|
1067
|
+
return pb_1.Message.getField(this, 12) != null;
|
|
1068
|
+
}
|
|
1069
|
+
get _active() {
|
|
1070
|
+
const cases = {
|
|
1071
|
+
0: "none",
|
|
1072
|
+
12: "active"
|
|
1073
|
+
};
|
|
1074
|
+
return cases[pb_1.Message.computeOneofCase(this, [12])];
|
|
1075
|
+
}
|
|
1057
1076
|
static fromObject(data) {
|
|
1058
1077
|
const message = new UpdateTerminalInstanceRequest({});
|
|
1059
1078
|
if (data.instanceId != null) {
|
|
@@ -1089,6 +1108,9 @@ var com;
|
|
|
1089
1108
|
if (data.auditContext != null) {
|
|
1090
1109
|
message.auditContext = data.auditContext;
|
|
1091
1110
|
}
|
|
1111
|
+
if (data.active != null) {
|
|
1112
|
+
message.active = data.active;
|
|
1113
|
+
}
|
|
1092
1114
|
return message;
|
|
1093
1115
|
}
|
|
1094
1116
|
toObject() {
|
|
@@ -1126,6 +1148,9 @@ var com;
|
|
|
1126
1148
|
if (this.auditContext != null) {
|
|
1127
1149
|
data.auditContext = this.auditContext;
|
|
1128
1150
|
}
|
|
1151
|
+
if (this.active != null) {
|
|
1152
|
+
data.active = this.active;
|
|
1153
|
+
}
|
|
1129
1154
|
return data;
|
|
1130
1155
|
}
|
|
1131
1156
|
serialize(w) {
|
|
@@ -1156,6 +1181,8 @@ var com;
|
|
|
1156
1181
|
writer.writeString(10, this.processorTid);
|
|
1157
1182
|
if (this.auditContext.length)
|
|
1158
1183
|
writer.writeString(11, this.auditContext);
|
|
1184
|
+
if (this.hasActive)
|
|
1185
|
+
writer.writeBool(12, this.active);
|
|
1159
1186
|
if (!w)
|
|
1160
1187
|
return writer.getResultBuffer();
|
|
1161
1188
|
}
|
|
@@ -1198,6 +1225,9 @@ var com;
|
|
|
1198
1225
|
case 11:
|
|
1199
1226
|
message.auditContext = reader.readString();
|
|
1200
1227
|
break;
|
|
1228
|
+
case 12:
|
|
1229
|
+
message.active = reader.readBool();
|
|
1230
|
+
break;
|
|
1201
1231
|
default: reader.skipField();
|
|
1202
1232
|
}
|
|
1203
1233
|
}
|
|
@@ -1511,6 +1541,9 @@ var com;
|
|
|
1511
1541
|
if ("processorTid" in data && data.processorTid != undefined) {
|
|
1512
1542
|
this.processorTid = data.processorTid;
|
|
1513
1543
|
}
|
|
1544
|
+
if ("active" in data && data.active != undefined) {
|
|
1545
|
+
this.active = data.active;
|
|
1546
|
+
}
|
|
1514
1547
|
}
|
|
1515
1548
|
}
|
|
1516
1549
|
get id() {
|
|
@@ -1609,6 +1642,12 @@ var com;
|
|
|
1609
1642
|
set processorTid(value) {
|
|
1610
1643
|
pb_1.Message.setField(this, 16, value);
|
|
1611
1644
|
}
|
|
1645
|
+
get active() {
|
|
1646
|
+
return pb_1.Message.getFieldWithDefault(this, 17, false);
|
|
1647
|
+
}
|
|
1648
|
+
set active(value) {
|
|
1649
|
+
pb_1.Message.setField(this, 17, value);
|
|
1650
|
+
}
|
|
1612
1651
|
static fromObject(data) {
|
|
1613
1652
|
const message = new TerminalInstanceDetails({});
|
|
1614
1653
|
if (data.id != null) {
|
|
@@ -1659,6 +1698,9 @@ var com;
|
|
|
1659
1698
|
if (data.processorTid != null) {
|
|
1660
1699
|
message.processorTid = data.processorTid;
|
|
1661
1700
|
}
|
|
1701
|
+
if (data.active != null) {
|
|
1702
|
+
message.active = data.active;
|
|
1703
|
+
}
|
|
1662
1704
|
return message;
|
|
1663
1705
|
}
|
|
1664
1706
|
toObject() {
|
|
@@ -1711,6 +1753,9 @@ var com;
|
|
|
1711
1753
|
if (this.processorTid != null) {
|
|
1712
1754
|
data.processorTid = this.processorTid;
|
|
1713
1755
|
}
|
|
1756
|
+
if (this.active != null) {
|
|
1757
|
+
data.active = this.active;
|
|
1758
|
+
}
|
|
1714
1759
|
return data;
|
|
1715
1760
|
}
|
|
1716
1761
|
serialize(w) {
|
|
@@ -1747,6 +1792,8 @@ var com;
|
|
|
1747
1792
|
writer.writeRepeatedMessage(15, this.functions, (item) => item.serialize(writer));
|
|
1748
1793
|
if (this.processorTid.length)
|
|
1749
1794
|
writer.writeString(16, this.processorTid);
|
|
1795
|
+
if (this.active != false)
|
|
1796
|
+
writer.writeBool(17, this.active);
|
|
1750
1797
|
if (!w)
|
|
1751
1798
|
return writer.getResultBuffer();
|
|
1752
1799
|
}
|
|
@@ -1804,6 +1851,9 @@ var com;
|
|
|
1804
1851
|
case 16:
|
|
1805
1852
|
message.processorTid = reader.readString();
|
|
1806
1853
|
break;
|
|
1854
|
+
case 17:
|
|
1855
|
+
message.active = reader.readBool();
|
|
1856
|
+
break;
|
|
1807
1857
|
default: reader.skipField();
|
|
1808
1858
|
}
|
|
1809
1859
|
}
|
|
@@ -5264,6 +5314,9 @@ var com;
|
|
|
5264
5314
|
if ("category" in data && data.category != undefined) {
|
|
5265
5315
|
this.category = data.category;
|
|
5266
5316
|
}
|
|
5317
|
+
if ("active" in data && data.active != undefined) {
|
|
5318
|
+
this.active = data.active;
|
|
5319
|
+
}
|
|
5267
5320
|
}
|
|
5268
5321
|
}
|
|
5269
5322
|
get instanceId() {
|
|
@@ -5341,6 +5394,12 @@ var com;
|
|
|
5341
5394
|
set category(value) {
|
|
5342
5395
|
pb_1.Message.setField(this, 12, value);
|
|
5343
5396
|
}
|
|
5397
|
+
get active() {
|
|
5398
|
+
return pb_1.Message.getFieldWithDefault(this, 13, false);
|
|
5399
|
+
}
|
|
5400
|
+
set active(value) {
|
|
5401
|
+
pb_1.Message.setField(this, 13, value);
|
|
5402
|
+
}
|
|
5344
5403
|
static fromObject(data) {
|
|
5345
5404
|
const message = new AvailableTerminalData({});
|
|
5346
5405
|
if (data.instanceId != null) {
|
|
@@ -5379,6 +5438,9 @@ var com;
|
|
|
5379
5438
|
if (data.category != null) {
|
|
5380
5439
|
message.category = data.category;
|
|
5381
5440
|
}
|
|
5441
|
+
if (data.active != null) {
|
|
5442
|
+
message.active = data.active;
|
|
5443
|
+
}
|
|
5382
5444
|
return message;
|
|
5383
5445
|
}
|
|
5384
5446
|
toObject() {
|
|
@@ -5419,6 +5481,9 @@ var com;
|
|
|
5419
5481
|
if (this.category != null) {
|
|
5420
5482
|
data.category = this.category;
|
|
5421
5483
|
}
|
|
5484
|
+
if (this.active != null) {
|
|
5485
|
+
data.active = this.active;
|
|
5486
|
+
}
|
|
5422
5487
|
return data;
|
|
5423
5488
|
}
|
|
5424
5489
|
serialize(w) {
|
|
@@ -5447,6 +5512,8 @@ var com;
|
|
|
5447
5512
|
writer.writeString(11, this.processorTid);
|
|
5448
5513
|
if (this.category.length)
|
|
5449
5514
|
writer.writeString(12, this.category);
|
|
5515
|
+
if (this.active != false)
|
|
5516
|
+
writer.writeBool(13, this.active);
|
|
5450
5517
|
if (!w)
|
|
5451
5518
|
return writer.getResultBuffer();
|
|
5452
5519
|
}
|
|
@@ -5492,6 +5559,9 @@ var com;
|
|
|
5492
5559
|
case 12:
|
|
5493
5560
|
message.category = reader.readString();
|
|
5494
5561
|
break;
|
|
5562
|
+
case 13:
|
|
5563
|
+
message.active = reader.readBool();
|
|
5564
|
+
break;
|
|
5495
5565
|
default: reader.skipField();
|
|
5496
5566
|
}
|
|
5497
5567
|
}
|
package/types/admin/admin.d.ts
CHANGED
|
@@ -1521,6 +1521,9 @@ export declare namespace com.pkg.admin {
|
|
|
1521
1521
|
status?: string;
|
|
1522
1522
|
contractReference?: string;
|
|
1523
1523
|
createdAt?: string;
|
|
1524
|
+
settlementBankCode?: string;
|
|
1525
|
+
bvn?: string;
|
|
1526
|
+
nin?: string;
|
|
1524
1527
|
});
|
|
1525
1528
|
get id(): string;
|
|
1526
1529
|
set id(value: string);
|
|
@@ -1552,6 +1555,12 @@ export declare namespace com.pkg.admin {
|
|
|
1552
1555
|
set contractReference(value: string);
|
|
1553
1556
|
get createdAt(): string;
|
|
1554
1557
|
set createdAt(value: string);
|
|
1558
|
+
get settlementBankCode(): string;
|
|
1559
|
+
set settlementBankCode(value: string);
|
|
1560
|
+
get bvn(): string;
|
|
1561
|
+
set bvn(value: string);
|
|
1562
|
+
get nin(): string;
|
|
1563
|
+
set nin(value: string);
|
|
1555
1564
|
static fromObject(data: {
|
|
1556
1565
|
id?: string;
|
|
1557
1566
|
name?: string;
|
|
@@ -1568,6 +1577,9 @@ export declare namespace com.pkg.admin {
|
|
|
1568
1577
|
status?: string;
|
|
1569
1578
|
contractReference?: string;
|
|
1570
1579
|
createdAt?: string;
|
|
1580
|
+
settlementBankCode?: string;
|
|
1581
|
+
bvn?: string;
|
|
1582
|
+
nin?: string;
|
|
1571
1583
|
}): MfbData;
|
|
1572
1584
|
toObject(): {
|
|
1573
1585
|
id?: string | undefined;
|
|
@@ -1585,6 +1597,9 @@ export declare namespace com.pkg.admin {
|
|
|
1585
1597
|
status?: string | undefined;
|
|
1586
1598
|
contractReference?: string | undefined;
|
|
1587
1599
|
createdAt?: string | undefined;
|
|
1600
|
+
settlementBankCode?: string | undefined;
|
|
1601
|
+
bvn?: string | undefined;
|
|
1602
|
+
nin?: string | undefined;
|
|
1588
1603
|
};
|
|
1589
1604
|
serialize(): Uint8Array;
|
|
1590
1605
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1647,6 +1662,9 @@ export declare namespace com.pkg.admin {
|
|
|
1647
1662
|
status?: string | undefined;
|
|
1648
1663
|
contractReference?: string | undefined;
|
|
1649
1664
|
createdAt?: string | undefined;
|
|
1665
|
+
settlementBankCode?: string | undefined;
|
|
1666
|
+
bvn?: string | undefined;
|
|
1667
|
+
nin?: string | undefined;
|
|
1650
1668
|
} | undefined;
|
|
1651
1669
|
error?: string | undefined;
|
|
1652
1670
|
};
|
|
@@ -1715,6 +1733,9 @@ export declare namespace com.pkg.admin {
|
|
|
1715
1733
|
status?: string | undefined;
|
|
1716
1734
|
contractReference?: string | undefined;
|
|
1717
1735
|
createdAt?: string | undefined;
|
|
1736
|
+
settlementBankCode?: string | undefined;
|
|
1737
|
+
bvn?: string | undefined;
|
|
1738
|
+
nin?: string | undefined;
|
|
1718
1739
|
}[] | undefined;
|
|
1719
1740
|
error?: string | undefined;
|
|
1720
1741
|
pagination?: {
|
|
@@ -1746,6 +1767,9 @@ export declare namespace com.pkg.admin {
|
|
|
1746
1767
|
brandingLogo?: string;
|
|
1747
1768
|
brandingPrimaryColor?: string;
|
|
1748
1769
|
contractReference?: string;
|
|
1770
|
+
settlementBankCode?: string;
|
|
1771
|
+
bvn?: string;
|
|
1772
|
+
nin?: string;
|
|
1749
1773
|
});
|
|
1750
1774
|
get name(): string;
|
|
1751
1775
|
set name(value: string);
|
|
@@ -1771,6 +1795,12 @@ export declare namespace com.pkg.admin {
|
|
|
1771
1795
|
set brandingPrimaryColor(value: string);
|
|
1772
1796
|
get contractReference(): string;
|
|
1773
1797
|
set contractReference(value: string);
|
|
1798
|
+
get settlementBankCode(): string;
|
|
1799
|
+
set settlementBankCode(value: string);
|
|
1800
|
+
get bvn(): string;
|
|
1801
|
+
set bvn(value: string);
|
|
1802
|
+
get nin(): string;
|
|
1803
|
+
set nin(value: string);
|
|
1774
1804
|
static fromObject(data: {
|
|
1775
1805
|
name?: string;
|
|
1776
1806
|
contactEmail?: string;
|
|
@@ -1784,6 +1814,9 @@ export declare namespace com.pkg.admin {
|
|
|
1784
1814
|
brandingLogo?: string;
|
|
1785
1815
|
brandingPrimaryColor?: string;
|
|
1786
1816
|
contractReference?: string;
|
|
1817
|
+
settlementBankCode?: string;
|
|
1818
|
+
bvn?: string;
|
|
1819
|
+
nin?: string;
|
|
1787
1820
|
}): CreateMfbRequest;
|
|
1788
1821
|
toObject(): {
|
|
1789
1822
|
name?: string | undefined;
|
|
@@ -1798,6 +1831,9 @@ export declare namespace com.pkg.admin {
|
|
|
1798
1831
|
brandingLogo?: string | undefined;
|
|
1799
1832
|
brandingPrimaryColor?: string | undefined;
|
|
1800
1833
|
contractReference?: string | undefined;
|
|
1834
|
+
settlementBankCode?: string | undefined;
|
|
1835
|
+
bvn?: string | undefined;
|
|
1836
|
+
nin?: string | undefined;
|
|
1801
1837
|
};
|
|
1802
1838
|
serialize(): Uint8Array;
|
|
1803
1839
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1821,6 +1857,9 @@ export declare namespace com.pkg.admin {
|
|
|
1821
1857
|
brandingLogo?: string;
|
|
1822
1858
|
brandingPrimaryColor?: string;
|
|
1823
1859
|
contractReference?: string;
|
|
1860
|
+
settlementBankCode?: string;
|
|
1861
|
+
bvn?: string;
|
|
1862
|
+
nin?: string;
|
|
1824
1863
|
});
|
|
1825
1864
|
get id(): string;
|
|
1826
1865
|
set id(value: string);
|
|
@@ -1848,6 +1887,12 @@ export declare namespace com.pkg.admin {
|
|
|
1848
1887
|
set brandingPrimaryColor(value: string);
|
|
1849
1888
|
get contractReference(): string;
|
|
1850
1889
|
set contractReference(value: string);
|
|
1890
|
+
get settlementBankCode(): string;
|
|
1891
|
+
set settlementBankCode(value: string);
|
|
1892
|
+
get bvn(): string;
|
|
1893
|
+
set bvn(value: string);
|
|
1894
|
+
get nin(): string;
|
|
1895
|
+
set nin(value: string);
|
|
1851
1896
|
static fromObject(data: {
|
|
1852
1897
|
id?: string;
|
|
1853
1898
|
name?: string;
|
|
@@ -1862,6 +1907,9 @@ export declare namespace com.pkg.admin {
|
|
|
1862
1907
|
brandingLogo?: string;
|
|
1863
1908
|
brandingPrimaryColor?: string;
|
|
1864
1909
|
contractReference?: string;
|
|
1910
|
+
settlementBankCode?: string;
|
|
1911
|
+
bvn?: string;
|
|
1912
|
+
nin?: string;
|
|
1865
1913
|
}): UpdateMfbRequest;
|
|
1866
1914
|
toObject(): {
|
|
1867
1915
|
id?: string | undefined;
|
|
@@ -1877,6 +1925,9 @@ export declare namespace com.pkg.admin {
|
|
|
1877
1925
|
brandingLogo?: string | undefined;
|
|
1878
1926
|
brandingPrimaryColor?: string | undefined;
|
|
1879
1927
|
contractReference?: string | undefined;
|
|
1928
|
+
settlementBankCode?: string | undefined;
|
|
1929
|
+
bvn?: string | undefined;
|
|
1930
|
+
nin?: string | undefined;
|
|
1880
1931
|
};
|
|
1881
1932
|
serialize(): Uint8Array;
|
|
1882
1933
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -208,6 +208,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
208
208
|
enabled?: boolean | undefined;
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
processorTid?: string | undefined;
|
|
211
|
+
active?: boolean | undefined;
|
|
211
212
|
}[] | undefined;
|
|
212
213
|
terminalType?: {
|
|
213
214
|
id?: string | undefined;
|
|
@@ -303,6 +304,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
303
304
|
enabled?: boolean | undefined;
|
|
304
305
|
}[] | undefined;
|
|
305
306
|
processorTid?: string | undefined;
|
|
307
|
+
active?: boolean | undefined;
|
|
306
308
|
} | undefined;
|
|
307
309
|
errors?: string[] | undefined;
|
|
308
310
|
};
|
|
@@ -314,7 +316,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
314
316
|
}
|
|
315
317
|
export class UpdateTerminalInstanceRequest extends pb_1.Message {
|
|
316
318
|
#private;
|
|
317
|
-
constructor(data?: any[] | {
|
|
319
|
+
constructor(data?: any[] | ({
|
|
318
320
|
instanceId?: string;
|
|
319
321
|
status?: string;
|
|
320
322
|
condition?: string;
|
|
@@ -326,7 +328,9 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
326
328
|
notes?: string;
|
|
327
329
|
processorTid?: string;
|
|
328
330
|
auditContext?: string;
|
|
329
|
-
}
|
|
331
|
+
} & (({
|
|
332
|
+
active?: boolean;
|
|
333
|
+
}))));
|
|
330
334
|
get instanceId(): string;
|
|
331
335
|
set instanceId(value: string);
|
|
332
336
|
get status(): string;
|
|
@@ -349,6 +353,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
349
353
|
set processorTid(value: string);
|
|
350
354
|
get auditContext(): string;
|
|
351
355
|
set auditContext(value: string);
|
|
356
|
+
get active(): boolean;
|
|
357
|
+
set active(value: boolean);
|
|
358
|
+
get hasActive(): boolean;
|
|
359
|
+
get _active(): "active" | "none";
|
|
352
360
|
static fromObject(data: {
|
|
353
361
|
instanceId?: string;
|
|
354
362
|
status?: string;
|
|
@@ -363,6 +371,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
363
371
|
notes?: string;
|
|
364
372
|
processorTid?: string;
|
|
365
373
|
auditContext?: string;
|
|
374
|
+
active?: boolean;
|
|
366
375
|
}): UpdateTerminalInstanceRequest;
|
|
367
376
|
toObject(): {
|
|
368
377
|
instanceId?: string | undefined;
|
|
@@ -378,6 +387,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
378
387
|
notes?: string | undefined;
|
|
379
388
|
processorTid?: string | undefined;
|
|
380
389
|
auditContext?: string | undefined;
|
|
390
|
+
active?: boolean | undefined;
|
|
381
391
|
};
|
|
382
392
|
serialize(): Uint8Array;
|
|
383
393
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -433,6 +443,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
433
443
|
enabled?: boolean | undefined;
|
|
434
444
|
}[] | undefined;
|
|
435
445
|
processorTid?: string | undefined;
|
|
446
|
+
active?: boolean | undefined;
|
|
436
447
|
} | undefined;
|
|
437
448
|
errors?: string[] | undefined;
|
|
438
449
|
};
|
|
@@ -488,6 +499,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
488
499
|
enabled?: boolean | undefined;
|
|
489
500
|
}[] | undefined;
|
|
490
501
|
processorTid?: string | undefined;
|
|
502
|
+
active?: boolean | undefined;
|
|
491
503
|
}[] | undefined;
|
|
492
504
|
terminalType?: {
|
|
493
505
|
id?: string | undefined;
|
|
@@ -523,6 +535,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
523
535
|
updatedAt?: string;
|
|
524
536
|
functions?: TerminalFunction[];
|
|
525
537
|
processorTid?: string;
|
|
538
|
+
active?: boolean;
|
|
526
539
|
});
|
|
527
540
|
get id(): string;
|
|
528
541
|
set id(value: string);
|
|
@@ -556,6 +569,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
556
569
|
set functions(value: TerminalFunction[]);
|
|
557
570
|
get processorTid(): string;
|
|
558
571
|
set processorTid(value: string);
|
|
572
|
+
get active(): boolean;
|
|
573
|
+
set active(value: boolean);
|
|
559
574
|
static fromObject(data: {
|
|
560
575
|
id?: string;
|
|
561
576
|
terminalInstanceId?: string;
|
|
@@ -573,6 +588,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
573
588
|
updatedAt?: string;
|
|
574
589
|
functions?: ReturnType<typeof TerminalFunction.prototype.toObject>[];
|
|
575
590
|
processorTid?: string;
|
|
591
|
+
active?: boolean;
|
|
576
592
|
}): TerminalInstanceDetails;
|
|
577
593
|
toObject(): {
|
|
578
594
|
id?: string | undefined;
|
|
@@ -596,6 +612,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
596
612
|
enabled?: boolean | undefined;
|
|
597
613
|
}[] | undefined;
|
|
598
614
|
processorTid?: string | undefined;
|
|
615
|
+
active?: boolean | undefined;
|
|
599
616
|
};
|
|
600
617
|
serialize(): Uint8Array;
|
|
601
618
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1364,6 +1381,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1364
1381
|
createdAt?: string | undefined;
|
|
1365
1382
|
processorTid?: string | undefined;
|
|
1366
1383
|
category?: string | undefined;
|
|
1384
|
+
active?: boolean | undefined;
|
|
1367
1385
|
}[] | undefined;
|
|
1368
1386
|
pagination?: {
|
|
1369
1387
|
currentPage?: number | undefined;
|
|
@@ -1917,6 +1935,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1917
1935
|
createdAt?: string;
|
|
1918
1936
|
processorTid?: string;
|
|
1919
1937
|
category?: string;
|
|
1938
|
+
active?: boolean;
|
|
1920
1939
|
});
|
|
1921
1940
|
get instanceId(): string;
|
|
1922
1941
|
set instanceId(value: string);
|
|
@@ -1943,6 +1962,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1943
1962
|
set processorTid(value: string);
|
|
1944
1963
|
get category(): string;
|
|
1945
1964
|
set category(value: string);
|
|
1965
|
+
get active(): boolean;
|
|
1966
|
+
set active(value: boolean);
|
|
1946
1967
|
static fromObject(data: {
|
|
1947
1968
|
instanceId?: string;
|
|
1948
1969
|
serialNumber?: string;
|
|
@@ -1956,6 +1977,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1956
1977
|
createdAt?: string;
|
|
1957
1978
|
processorTid?: string;
|
|
1958
1979
|
category?: string;
|
|
1980
|
+
active?: boolean;
|
|
1959
1981
|
}): AvailableTerminalData;
|
|
1960
1982
|
toObject(): {
|
|
1961
1983
|
instanceId?: string | undefined;
|
|
@@ -1975,6 +1997,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1975
1997
|
createdAt?: string | undefined;
|
|
1976
1998
|
processorTid?: string | undefined;
|
|
1977
1999
|
category?: string | undefined;
|
|
2000
|
+
active?: boolean | undefined;
|
|
1978
2001
|
};
|
|
1979
2002
|
serialize(): Uint8Array;
|
|
1980
2003
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -10333,6 +10356,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
10333
10356
|
enabled?: boolean | undefined;
|
|
10334
10357
|
}[] | undefined;
|
|
10335
10358
|
processorTid?: string | undefined;
|
|
10359
|
+
active?: boolean | undefined;
|
|
10336
10360
|
}[] | undefined;
|
|
10337
10361
|
pagination?: {
|
|
10338
10362
|
currentPage?: number | undefined;
|