@technova-tech/olive-proto-lib 2.0.3 → 2.0.5
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 +1 -1
- package/pos.v1/terminals.js +405 -0
- package/types/pos.v1/terminals.d.ts +114 -0
- package/types/verifications/verifications.d.ts +104 -0
- package/verifications/verifications.js +330 -0
- package/google/protobuf/any.js +0 -113
- package/google/protobuf/struct.js +0 -357
- package/types/google/protobuf/any.d.ts +0 -27
- package/types/google/protobuf/struct.d.ts +0 -175
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -30997,6 +30997,386 @@ var com;
|
|
|
30997
30997
|
}
|
|
30998
30998
|
}
|
|
30999
30999
|
terminals.GetMfbTerminalsResponse = GetMfbTerminalsResponse;
|
|
31000
|
+
class ProvisionMerchantBranchTerminalRequest extends pb_1.Message {
|
|
31001
|
+
#one_of_decls = [];
|
|
31002
|
+
constructor(data) {
|
|
31003
|
+
super();
|
|
31004
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
31005
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
31006
|
+
if ("serialNumber" in data && data.serialNumber != undefined) {
|
|
31007
|
+
this.serialNumber = data.serialNumber;
|
|
31008
|
+
}
|
|
31009
|
+
if ("merchantId" in data && data.merchantId != undefined) {
|
|
31010
|
+
this.merchantId = data.merchantId;
|
|
31011
|
+
}
|
|
31012
|
+
if ("branchId" in data && data.branchId != undefined) {
|
|
31013
|
+
this.branchId = data.branchId;
|
|
31014
|
+
}
|
|
31015
|
+
if ("merchantName" in data && data.merchantName != undefined) {
|
|
31016
|
+
this.merchantName = data.merchantName;
|
|
31017
|
+
}
|
|
31018
|
+
if ("merchantAccountNumber" in data && data.merchantAccountNumber != undefined) {
|
|
31019
|
+
this.merchantAccountNumber = data.merchantAccountNumber;
|
|
31020
|
+
}
|
|
31021
|
+
if ("bvn" in data && data.bvn != undefined) {
|
|
31022
|
+
this.bvn = data.bvn;
|
|
31023
|
+
}
|
|
31024
|
+
if ("assignedBy" in data && data.assignedBy != undefined) {
|
|
31025
|
+
this.assignedBy = data.assignedBy;
|
|
31026
|
+
}
|
|
31027
|
+
if ("phoneNumber" in data && data.phoneNumber != undefined) {
|
|
31028
|
+
this.phoneNumber = data.phoneNumber;
|
|
31029
|
+
}
|
|
31030
|
+
if ("assignmentReason" in data && data.assignmentReason != undefined) {
|
|
31031
|
+
this.assignmentReason = data.assignmentReason;
|
|
31032
|
+
}
|
|
31033
|
+
if ("auditContext" in data && data.auditContext != undefined) {
|
|
31034
|
+
this.auditContext = data.auditContext;
|
|
31035
|
+
}
|
|
31036
|
+
}
|
|
31037
|
+
}
|
|
31038
|
+
get serialNumber() {
|
|
31039
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
31040
|
+
}
|
|
31041
|
+
set serialNumber(value) {
|
|
31042
|
+
pb_1.Message.setField(this, 1, value);
|
|
31043
|
+
}
|
|
31044
|
+
get merchantId() {
|
|
31045
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
31046
|
+
}
|
|
31047
|
+
set merchantId(value) {
|
|
31048
|
+
pb_1.Message.setField(this, 2, value);
|
|
31049
|
+
}
|
|
31050
|
+
get branchId() {
|
|
31051
|
+
return pb_1.Message.getFieldWithDefault(this, 3, "");
|
|
31052
|
+
}
|
|
31053
|
+
set branchId(value) {
|
|
31054
|
+
pb_1.Message.setField(this, 3, value);
|
|
31055
|
+
}
|
|
31056
|
+
get merchantName() {
|
|
31057
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
31058
|
+
}
|
|
31059
|
+
set merchantName(value) {
|
|
31060
|
+
pb_1.Message.setField(this, 4, value);
|
|
31061
|
+
}
|
|
31062
|
+
get merchantAccountNumber() {
|
|
31063
|
+
return pb_1.Message.getFieldWithDefault(this, 5, "");
|
|
31064
|
+
}
|
|
31065
|
+
set merchantAccountNumber(value) {
|
|
31066
|
+
pb_1.Message.setField(this, 5, value);
|
|
31067
|
+
}
|
|
31068
|
+
get bvn() {
|
|
31069
|
+
return pb_1.Message.getFieldWithDefault(this, 6, "");
|
|
31070
|
+
}
|
|
31071
|
+
set bvn(value) {
|
|
31072
|
+
pb_1.Message.setField(this, 6, value);
|
|
31073
|
+
}
|
|
31074
|
+
get assignedBy() {
|
|
31075
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "");
|
|
31076
|
+
}
|
|
31077
|
+
set assignedBy(value) {
|
|
31078
|
+
pb_1.Message.setField(this, 7, value);
|
|
31079
|
+
}
|
|
31080
|
+
get phoneNumber() {
|
|
31081
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
31082
|
+
}
|
|
31083
|
+
set phoneNumber(value) {
|
|
31084
|
+
pb_1.Message.setField(this, 8, value);
|
|
31085
|
+
}
|
|
31086
|
+
get assignmentReason() {
|
|
31087
|
+
return pb_1.Message.getFieldWithDefault(this, 9, "");
|
|
31088
|
+
}
|
|
31089
|
+
set assignmentReason(value) {
|
|
31090
|
+
pb_1.Message.setField(this, 9, value);
|
|
31091
|
+
}
|
|
31092
|
+
get auditContext() {
|
|
31093
|
+
return pb_1.Message.getFieldWithDefault(this, 10, "");
|
|
31094
|
+
}
|
|
31095
|
+
set auditContext(value) {
|
|
31096
|
+
pb_1.Message.setField(this, 10, value);
|
|
31097
|
+
}
|
|
31098
|
+
static fromObject(data) {
|
|
31099
|
+
const message = new ProvisionMerchantBranchTerminalRequest({});
|
|
31100
|
+
if (data.serialNumber != null) {
|
|
31101
|
+
message.serialNumber = data.serialNumber;
|
|
31102
|
+
}
|
|
31103
|
+
if (data.merchantId != null) {
|
|
31104
|
+
message.merchantId = data.merchantId;
|
|
31105
|
+
}
|
|
31106
|
+
if (data.branchId != null) {
|
|
31107
|
+
message.branchId = data.branchId;
|
|
31108
|
+
}
|
|
31109
|
+
if (data.merchantName != null) {
|
|
31110
|
+
message.merchantName = data.merchantName;
|
|
31111
|
+
}
|
|
31112
|
+
if (data.merchantAccountNumber != null) {
|
|
31113
|
+
message.merchantAccountNumber = data.merchantAccountNumber;
|
|
31114
|
+
}
|
|
31115
|
+
if (data.bvn != null) {
|
|
31116
|
+
message.bvn = data.bvn;
|
|
31117
|
+
}
|
|
31118
|
+
if (data.assignedBy != null) {
|
|
31119
|
+
message.assignedBy = data.assignedBy;
|
|
31120
|
+
}
|
|
31121
|
+
if (data.phoneNumber != null) {
|
|
31122
|
+
message.phoneNumber = data.phoneNumber;
|
|
31123
|
+
}
|
|
31124
|
+
if (data.assignmentReason != null) {
|
|
31125
|
+
message.assignmentReason = data.assignmentReason;
|
|
31126
|
+
}
|
|
31127
|
+
if (data.auditContext != null) {
|
|
31128
|
+
message.auditContext = data.auditContext;
|
|
31129
|
+
}
|
|
31130
|
+
return message;
|
|
31131
|
+
}
|
|
31132
|
+
toObject() {
|
|
31133
|
+
const data = {};
|
|
31134
|
+
if (this.serialNumber != null) {
|
|
31135
|
+
data.serialNumber = this.serialNumber;
|
|
31136
|
+
}
|
|
31137
|
+
if (this.merchantId != null) {
|
|
31138
|
+
data.merchantId = this.merchantId;
|
|
31139
|
+
}
|
|
31140
|
+
if (this.branchId != null) {
|
|
31141
|
+
data.branchId = this.branchId;
|
|
31142
|
+
}
|
|
31143
|
+
if (this.merchantName != null) {
|
|
31144
|
+
data.merchantName = this.merchantName;
|
|
31145
|
+
}
|
|
31146
|
+
if (this.merchantAccountNumber != null) {
|
|
31147
|
+
data.merchantAccountNumber = this.merchantAccountNumber;
|
|
31148
|
+
}
|
|
31149
|
+
if (this.bvn != null) {
|
|
31150
|
+
data.bvn = this.bvn;
|
|
31151
|
+
}
|
|
31152
|
+
if (this.assignedBy != null) {
|
|
31153
|
+
data.assignedBy = this.assignedBy;
|
|
31154
|
+
}
|
|
31155
|
+
if (this.phoneNumber != null) {
|
|
31156
|
+
data.phoneNumber = this.phoneNumber;
|
|
31157
|
+
}
|
|
31158
|
+
if (this.assignmentReason != null) {
|
|
31159
|
+
data.assignmentReason = this.assignmentReason;
|
|
31160
|
+
}
|
|
31161
|
+
if (this.auditContext != null) {
|
|
31162
|
+
data.auditContext = this.auditContext;
|
|
31163
|
+
}
|
|
31164
|
+
return data;
|
|
31165
|
+
}
|
|
31166
|
+
serialize(w) {
|
|
31167
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
31168
|
+
if (this.serialNumber.length)
|
|
31169
|
+
writer.writeString(1, this.serialNumber);
|
|
31170
|
+
if (this.merchantId.length)
|
|
31171
|
+
writer.writeString(2, this.merchantId);
|
|
31172
|
+
if (this.branchId.length)
|
|
31173
|
+
writer.writeString(3, this.branchId);
|
|
31174
|
+
if (this.merchantName.length)
|
|
31175
|
+
writer.writeString(4, this.merchantName);
|
|
31176
|
+
if (this.merchantAccountNumber.length)
|
|
31177
|
+
writer.writeString(5, this.merchantAccountNumber);
|
|
31178
|
+
if (this.bvn.length)
|
|
31179
|
+
writer.writeString(6, this.bvn);
|
|
31180
|
+
if (this.assignedBy.length)
|
|
31181
|
+
writer.writeString(7, this.assignedBy);
|
|
31182
|
+
if (this.phoneNumber.length)
|
|
31183
|
+
writer.writeString(8, this.phoneNumber);
|
|
31184
|
+
if (this.assignmentReason.length)
|
|
31185
|
+
writer.writeString(9, this.assignmentReason);
|
|
31186
|
+
if (this.auditContext.length)
|
|
31187
|
+
writer.writeString(10, this.auditContext);
|
|
31188
|
+
if (!w)
|
|
31189
|
+
return writer.getResultBuffer();
|
|
31190
|
+
}
|
|
31191
|
+
static deserialize(bytes) {
|
|
31192
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new ProvisionMerchantBranchTerminalRequest();
|
|
31193
|
+
while (reader.nextField()) {
|
|
31194
|
+
if (reader.isEndGroup())
|
|
31195
|
+
break;
|
|
31196
|
+
switch (reader.getFieldNumber()) {
|
|
31197
|
+
case 1:
|
|
31198
|
+
message.serialNumber = reader.readString();
|
|
31199
|
+
break;
|
|
31200
|
+
case 2:
|
|
31201
|
+
message.merchantId = reader.readString();
|
|
31202
|
+
break;
|
|
31203
|
+
case 3:
|
|
31204
|
+
message.branchId = reader.readString();
|
|
31205
|
+
break;
|
|
31206
|
+
case 4:
|
|
31207
|
+
message.merchantName = reader.readString();
|
|
31208
|
+
break;
|
|
31209
|
+
case 5:
|
|
31210
|
+
message.merchantAccountNumber = reader.readString();
|
|
31211
|
+
break;
|
|
31212
|
+
case 6:
|
|
31213
|
+
message.bvn = reader.readString();
|
|
31214
|
+
break;
|
|
31215
|
+
case 7:
|
|
31216
|
+
message.assignedBy = reader.readString();
|
|
31217
|
+
break;
|
|
31218
|
+
case 8:
|
|
31219
|
+
message.phoneNumber = reader.readString();
|
|
31220
|
+
break;
|
|
31221
|
+
case 9:
|
|
31222
|
+
message.assignmentReason = reader.readString();
|
|
31223
|
+
break;
|
|
31224
|
+
case 10:
|
|
31225
|
+
message.auditContext = reader.readString();
|
|
31226
|
+
break;
|
|
31227
|
+
default: reader.skipField();
|
|
31228
|
+
}
|
|
31229
|
+
}
|
|
31230
|
+
return message;
|
|
31231
|
+
}
|
|
31232
|
+
serializeBinary() {
|
|
31233
|
+
return this.serialize();
|
|
31234
|
+
}
|
|
31235
|
+
static deserializeBinary(bytes) {
|
|
31236
|
+
return ProvisionMerchantBranchTerminalRequest.deserialize(bytes);
|
|
31237
|
+
}
|
|
31238
|
+
}
|
|
31239
|
+
terminals.ProvisionMerchantBranchTerminalRequest = ProvisionMerchantBranchTerminalRequest;
|
|
31240
|
+
class ProvisionMerchantBranchTerminalResponse extends pb_1.Message {
|
|
31241
|
+
#one_of_decls = [];
|
|
31242
|
+
constructor(data) {
|
|
31243
|
+
super();
|
|
31244
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
31245
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
31246
|
+
if ("success" in data && data.success != undefined) {
|
|
31247
|
+
this.success = data.success;
|
|
31248
|
+
}
|
|
31249
|
+
if ("message" in data && data.message != undefined) {
|
|
31250
|
+
this.message = data.message;
|
|
31251
|
+
}
|
|
31252
|
+
if ("terminalInstanceId" in data && data.terminalInstanceId != undefined) {
|
|
31253
|
+
this.terminalInstanceId = data.terminalInstanceId;
|
|
31254
|
+
}
|
|
31255
|
+
if ("processorTid" in data && data.processorTid != undefined) {
|
|
31256
|
+
this.processorTid = data.processorTid;
|
|
31257
|
+
}
|
|
31258
|
+
if ("virtualAccountId" in data && data.virtualAccountId != undefined) {
|
|
31259
|
+
this.virtualAccountId = data.virtualAccountId;
|
|
31260
|
+
}
|
|
31261
|
+
}
|
|
31262
|
+
}
|
|
31263
|
+
get success() {
|
|
31264
|
+
return pb_1.Message.getFieldWithDefault(this, 1, false);
|
|
31265
|
+
}
|
|
31266
|
+
set success(value) {
|
|
31267
|
+
pb_1.Message.setField(this, 1, value);
|
|
31268
|
+
}
|
|
31269
|
+
get message() {
|
|
31270
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
31271
|
+
}
|
|
31272
|
+
set message(value) {
|
|
31273
|
+
pb_1.Message.setField(this, 2, value);
|
|
31274
|
+
}
|
|
31275
|
+
get terminalInstanceId() {
|
|
31276
|
+
return pb_1.Message.getFieldWithDefault(this, 3, "");
|
|
31277
|
+
}
|
|
31278
|
+
set terminalInstanceId(value) {
|
|
31279
|
+
pb_1.Message.setField(this, 3, value);
|
|
31280
|
+
}
|
|
31281
|
+
get processorTid() {
|
|
31282
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
31283
|
+
}
|
|
31284
|
+
set processorTid(value) {
|
|
31285
|
+
pb_1.Message.setField(this, 4, value);
|
|
31286
|
+
}
|
|
31287
|
+
get virtualAccountId() {
|
|
31288
|
+
return pb_1.Message.getFieldWithDefault(this, 5, "");
|
|
31289
|
+
}
|
|
31290
|
+
set virtualAccountId(value) {
|
|
31291
|
+
pb_1.Message.setField(this, 5, value);
|
|
31292
|
+
}
|
|
31293
|
+
static fromObject(data) {
|
|
31294
|
+
const message = new ProvisionMerchantBranchTerminalResponse({});
|
|
31295
|
+
if (data.success != null) {
|
|
31296
|
+
message.success = data.success;
|
|
31297
|
+
}
|
|
31298
|
+
if (data.message != null) {
|
|
31299
|
+
message.message = data.message;
|
|
31300
|
+
}
|
|
31301
|
+
if (data.terminalInstanceId != null) {
|
|
31302
|
+
message.terminalInstanceId = data.terminalInstanceId;
|
|
31303
|
+
}
|
|
31304
|
+
if (data.processorTid != null) {
|
|
31305
|
+
message.processorTid = data.processorTid;
|
|
31306
|
+
}
|
|
31307
|
+
if (data.virtualAccountId != null) {
|
|
31308
|
+
message.virtualAccountId = data.virtualAccountId;
|
|
31309
|
+
}
|
|
31310
|
+
return message;
|
|
31311
|
+
}
|
|
31312
|
+
toObject() {
|
|
31313
|
+
const data = {};
|
|
31314
|
+
if (this.success != null) {
|
|
31315
|
+
data.success = this.success;
|
|
31316
|
+
}
|
|
31317
|
+
if (this.message != null) {
|
|
31318
|
+
data.message = this.message;
|
|
31319
|
+
}
|
|
31320
|
+
if (this.terminalInstanceId != null) {
|
|
31321
|
+
data.terminalInstanceId = this.terminalInstanceId;
|
|
31322
|
+
}
|
|
31323
|
+
if (this.processorTid != null) {
|
|
31324
|
+
data.processorTid = this.processorTid;
|
|
31325
|
+
}
|
|
31326
|
+
if (this.virtualAccountId != null) {
|
|
31327
|
+
data.virtualAccountId = this.virtualAccountId;
|
|
31328
|
+
}
|
|
31329
|
+
return data;
|
|
31330
|
+
}
|
|
31331
|
+
serialize(w) {
|
|
31332
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
31333
|
+
if (this.success != false)
|
|
31334
|
+
writer.writeBool(1, this.success);
|
|
31335
|
+
if (this.message.length)
|
|
31336
|
+
writer.writeString(2, this.message);
|
|
31337
|
+
if (this.terminalInstanceId.length)
|
|
31338
|
+
writer.writeString(3, this.terminalInstanceId);
|
|
31339
|
+
if (this.processorTid.length)
|
|
31340
|
+
writer.writeString(4, this.processorTid);
|
|
31341
|
+
if (this.virtualAccountId.length)
|
|
31342
|
+
writer.writeString(5, this.virtualAccountId);
|
|
31343
|
+
if (!w)
|
|
31344
|
+
return writer.getResultBuffer();
|
|
31345
|
+
}
|
|
31346
|
+
static deserialize(bytes) {
|
|
31347
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new ProvisionMerchantBranchTerminalResponse();
|
|
31348
|
+
while (reader.nextField()) {
|
|
31349
|
+
if (reader.isEndGroup())
|
|
31350
|
+
break;
|
|
31351
|
+
switch (reader.getFieldNumber()) {
|
|
31352
|
+
case 1:
|
|
31353
|
+
message.success = reader.readBool();
|
|
31354
|
+
break;
|
|
31355
|
+
case 2:
|
|
31356
|
+
message.message = reader.readString();
|
|
31357
|
+
break;
|
|
31358
|
+
case 3:
|
|
31359
|
+
message.terminalInstanceId = reader.readString();
|
|
31360
|
+
break;
|
|
31361
|
+
case 4:
|
|
31362
|
+
message.processorTid = reader.readString();
|
|
31363
|
+
break;
|
|
31364
|
+
case 5:
|
|
31365
|
+
message.virtualAccountId = reader.readString();
|
|
31366
|
+
break;
|
|
31367
|
+
default: reader.skipField();
|
|
31368
|
+
}
|
|
31369
|
+
}
|
|
31370
|
+
return message;
|
|
31371
|
+
}
|
|
31372
|
+
serializeBinary() {
|
|
31373
|
+
return this.serialize();
|
|
31374
|
+
}
|
|
31375
|
+
static deserializeBinary(bytes) {
|
|
31376
|
+
return ProvisionMerchantBranchTerminalResponse.deserialize(bytes);
|
|
31377
|
+
}
|
|
31378
|
+
}
|
|
31379
|
+
terminals.ProvisionMerchantBranchTerminalResponse = ProvisionMerchantBranchTerminalResponse;
|
|
31000
31380
|
class UnimplementedTerminalServiceService {
|
|
31001
31381
|
static definition = {
|
|
31002
31382
|
AddTerminalInstance: {
|
|
@@ -31592,6 +31972,15 @@ var com;
|
|
|
31592
31972
|
requestDeserialize: (bytes) => GetMfbTerminalsRequest.deserialize(new Uint8Array(bytes)),
|
|
31593
31973
|
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31594
31974
|
responseDeserialize: (bytes) => GetMfbTerminalsResponse.deserialize(new Uint8Array(bytes))
|
|
31975
|
+
},
|
|
31976
|
+
ProvisionMerchantBranchTerminal: {
|
|
31977
|
+
path: "/com.pkg.posv1.terminals.TerminalService/ProvisionMerchantBranchTerminal",
|
|
31978
|
+
requestStream: false,
|
|
31979
|
+
responseStream: false,
|
|
31980
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31981
|
+
requestDeserialize: (bytes) => ProvisionMerchantBranchTerminalRequest.deserialize(new Uint8Array(bytes)),
|
|
31982
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31983
|
+
responseDeserialize: (bytes) => ProvisionMerchantBranchTerminalResponse.deserialize(new Uint8Array(bytes))
|
|
31595
31984
|
}
|
|
31596
31985
|
};
|
|
31597
31986
|
}
|
|
@@ -32656,6 +33045,22 @@ var com;
|
|
|
32656
33045
|
}
|
|
32657
33046
|
}));
|
|
32658
33047
|
};
|
|
33048
|
+
ProvisionMerchantBranchTerminal = (message, metadata, options) => {
|
|
33049
|
+
if (!metadata) {
|
|
33050
|
+
metadata = new grpc_1.Metadata;
|
|
33051
|
+
}
|
|
33052
|
+
if (!options) {
|
|
33053
|
+
options = {};
|
|
33054
|
+
}
|
|
33055
|
+
return new Promise((resolve, reject) => super.ProvisionMerchantBranchTerminal(message, metadata, options, (error, response) => {
|
|
33056
|
+
if (error) {
|
|
33057
|
+
reject(error);
|
|
33058
|
+
}
|
|
33059
|
+
else {
|
|
33060
|
+
resolve(response);
|
|
33061
|
+
}
|
|
33062
|
+
}));
|
|
33063
|
+
};
|
|
32659
33064
|
}
|
|
32660
33065
|
terminals.TerminalServiceClient = TerminalServiceClient;
|
|
32661
33066
|
class UnimplementedBusinessContextServiceService {
|
|
@@ -10403,6 +10403,109 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
10403
10403
|
serializeBinary(): Uint8Array;
|
|
10404
10404
|
static deserializeBinary(bytes: Uint8Array): GetMfbTerminalsResponse;
|
|
10405
10405
|
}
|
|
10406
|
+
export class ProvisionMerchantBranchTerminalRequest extends pb_1.Message {
|
|
10407
|
+
#private;
|
|
10408
|
+
constructor(data?: any[] | {
|
|
10409
|
+
serialNumber?: string;
|
|
10410
|
+
merchantId?: string;
|
|
10411
|
+
branchId?: string;
|
|
10412
|
+
merchantName?: string;
|
|
10413
|
+
merchantAccountNumber?: string;
|
|
10414
|
+
bvn?: string;
|
|
10415
|
+
assignedBy?: string;
|
|
10416
|
+
phoneNumber?: string;
|
|
10417
|
+
assignmentReason?: string;
|
|
10418
|
+
auditContext?: string;
|
|
10419
|
+
});
|
|
10420
|
+
get serialNumber(): string;
|
|
10421
|
+
set serialNumber(value: string);
|
|
10422
|
+
get merchantId(): string;
|
|
10423
|
+
set merchantId(value: string);
|
|
10424
|
+
get branchId(): string;
|
|
10425
|
+
set branchId(value: string);
|
|
10426
|
+
get merchantName(): string;
|
|
10427
|
+
set merchantName(value: string);
|
|
10428
|
+
get merchantAccountNumber(): string;
|
|
10429
|
+
set merchantAccountNumber(value: string);
|
|
10430
|
+
get bvn(): string;
|
|
10431
|
+
set bvn(value: string);
|
|
10432
|
+
get assignedBy(): string;
|
|
10433
|
+
set assignedBy(value: string);
|
|
10434
|
+
get phoneNumber(): string;
|
|
10435
|
+
set phoneNumber(value: string);
|
|
10436
|
+
get assignmentReason(): string;
|
|
10437
|
+
set assignmentReason(value: string);
|
|
10438
|
+
get auditContext(): string;
|
|
10439
|
+
set auditContext(value: string);
|
|
10440
|
+
static fromObject(data: {
|
|
10441
|
+
serialNumber?: string;
|
|
10442
|
+
merchantId?: string;
|
|
10443
|
+
branchId?: string;
|
|
10444
|
+
merchantName?: string;
|
|
10445
|
+
merchantAccountNumber?: string;
|
|
10446
|
+
bvn?: string;
|
|
10447
|
+
assignedBy?: string;
|
|
10448
|
+
phoneNumber?: string;
|
|
10449
|
+
assignmentReason?: string;
|
|
10450
|
+
auditContext?: string;
|
|
10451
|
+
}): ProvisionMerchantBranchTerminalRequest;
|
|
10452
|
+
toObject(): {
|
|
10453
|
+
serialNumber?: string | undefined;
|
|
10454
|
+
merchantId?: string | undefined;
|
|
10455
|
+
branchId?: string | undefined;
|
|
10456
|
+
merchantName?: string | undefined;
|
|
10457
|
+
merchantAccountNumber?: string | undefined;
|
|
10458
|
+
bvn?: string | undefined;
|
|
10459
|
+
assignedBy?: string | undefined;
|
|
10460
|
+
phoneNumber?: string | undefined;
|
|
10461
|
+
assignmentReason?: string | undefined;
|
|
10462
|
+
auditContext?: string | undefined;
|
|
10463
|
+
};
|
|
10464
|
+
serialize(): Uint8Array;
|
|
10465
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
10466
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ProvisionMerchantBranchTerminalRequest;
|
|
10467
|
+
serializeBinary(): Uint8Array;
|
|
10468
|
+
static deserializeBinary(bytes: Uint8Array): ProvisionMerchantBranchTerminalRequest;
|
|
10469
|
+
}
|
|
10470
|
+
export class ProvisionMerchantBranchTerminalResponse extends pb_1.Message {
|
|
10471
|
+
#private;
|
|
10472
|
+
constructor(data?: any[] | {
|
|
10473
|
+
success?: boolean;
|
|
10474
|
+
message?: string;
|
|
10475
|
+
terminalInstanceId?: string;
|
|
10476
|
+
processorTid?: string;
|
|
10477
|
+
virtualAccountId?: string;
|
|
10478
|
+
});
|
|
10479
|
+
get success(): boolean;
|
|
10480
|
+
set success(value: boolean);
|
|
10481
|
+
get message(): string;
|
|
10482
|
+
set message(value: string);
|
|
10483
|
+
get terminalInstanceId(): string;
|
|
10484
|
+
set terminalInstanceId(value: string);
|
|
10485
|
+
get processorTid(): string;
|
|
10486
|
+
set processorTid(value: string);
|
|
10487
|
+
get virtualAccountId(): string;
|
|
10488
|
+
set virtualAccountId(value: string);
|
|
10489
|
+
static fromObject(data: {
|
|
10490
|
+
success?: boolean;
|
|
10491
|
+
message?: string;
|
|
10492
|
+
terminalInstanceId?: string;
|
|
10493
|
+
processorTid?: string;
|
|
10494
|
+
virtualAccountId?: string;
|
|
10495
|
+
}): ProvisionMerchantBranchTerminalResponse;
|
|
10496
|
+
toObject(): {
|
|
10497
|
+
success?: boolean | undefined;
|
|
10498
|
+
message?: string | undefined;
|
|
10499
|
+
terminalInstanceId?: string | undefined;
|
|
10500
|
+
processorTid?: string | undefined;
|
|
10501
|
+
virtualAccountId?: string | undefined;
|
|
10502
|
+
};
|
|
10503
|
+
serialize(): Uint8Array;
|
|
10504
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
10505
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ProvisionMerchantBranchTerminalResponse;
|
|
10506
|
+
serializeBinary(): Uint8Array;
|
|
10507
|
+
static deserializeBinary(bytes: Uint8Array): ProvisionMerchantBranchTerminalResponse;
|
|
10508
|
+
}
|
|
10406
10509
|
interface GrpcPromiseServiceInterface<P, R> {
|
|
10407
10510
|
(message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
|
|
10408
10511
|
(message: P, options?: grpc_1.CallOptions): Promise<R>;
|
|
@@ -11003,6 +11106,15 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
11003
11106
|
responseSerialize: (message: GetMfbTerminalsResponse) => Buffer;
|
|
11004
11107
|
responseDeserialize: (bytes: Buffer) => GetMfbTerminalsResponse;
|
|
11005
11108
|
};
|
|
11109
|
+
ProvisionMerchantBranchTerminal: {
|
|
11110
|
+
path: string;
|
|
11111
|
+
requestStream: boolean;
|
|
11112
|
+
responseStream: boolean;
|
|
11113
|
+
requestSerialize: (message: ProvisionMerchantBranchTerminalRequest) => Buffer;
|
|
11114
|
+
requestDeserialize: (bytes: Buffer) => ProvisionMerchantBranchTerminalRequest;
|
|
11115
|
+
responseSerialize: (message: ProvisionMerchantBranchTerminalResponse) => Buffer;
|
|
11116
|
+
responseDeserialize: (bytes: Buffer) => ProvisionMerchantBranchTerminalResponse;
|
|
11117
|
+
};
|
|
11006
11118
|
};
|
|
11007
11119
|
[method: string]: grpc_1.UntypedHandleCall;
|
|
11008
11120
|
abstract AddTerminalInstance(call: grpc_1.ServerUnaryCall<AddTerminalInstanceRequest, AddTerminalInstanceResponse>, callback: grpc_1.sendUnaryData<AddTerminalInstanceResponse>): void;
|
|
@@ -11071,6 +11183,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
11071
11183
|
abstract AllocateMfbTerminals(call: grpc_1.ServerUnaryCall<AllocateMfbTerminalsRequest, AllocateMfbTerminalsResponse>, callback: grpc_1.sendUnaryData<AllocateMfbTerminalsResponse>): void;
|
|
11072
11184
|
abstract DeallocateMfbTerminals(call: grpc_1.ServerUnaryCall<DeallocateMfbTerminalsRequest, DeallocateMfbTerminalsResponse>, callback: grpc_1.sendUnaryData<DeallocateMfbTerminalsResponse>): void;
|
|
11073
11185
|
abstract GetMfbTerminals(call: grpc_1.ServerUnaryCall<GetMfbTerminalsRequest, GetMfbTerminalsResponse>, callback: grpc_1.sendUnaryData<GetMfbTerminalsResponse>): void;
|
|
11186
|
+
abstract ProvisionMerchantBranchTerminal(call: grpc_1.ServerUnaryCall<ProvisionMerchantBranchTerminalRequest, ProvisionMerchantBranchTerminalResponse>, callback: grpc_1.sendUnaryData<ProvisionMerchantBranchTerminalResponse>): void;
|
|
11074
11187
|
}
|
|
11075
11188
|
const TerminalServiceClient_base: grpc_1.ServiceClientConstructor;
|
|
11076
11189
|
export class TerminalServiceClient extends TerminalServiceClient_base {
|
|
@@ -11141,6 +11254,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
11141
11254
|
AllocateMfbTerminals: GrpcPromiseServiceInterface<AllocateMfbTerminalsRequest, AllocateMfbTerminalsResponse>;
|
|
11142
11255
|
DeallocateMfbTerminals: GrpcPromiseServiceInterface<DeallocateMfbTerminalsRequest, DeallocateMfbTerminalsResponse>;
|
|
11143
11256
|
GetMfbTerminals: GrpcPromiseServiceInterface<GetMfbTerminalsRequest, GetMfbTerminalsResponse>;
|
|
11257
|
+
ProvisionMerchantBranchTerminal: GrpcPromiseServiceInterface<ProvisionMerchantBranchTerminalRequest, ProvisionMerchantBranchTerminalResponse>;
|
|
11144
11258
|
}
|
|
11145
11259
|
export abstract class UnimplementedBusinessContextServiceService {
|
|
11146
11260
|
static definition: {
|