@technova-tech/olive-proto-lib 1.9.5 → 1.9.7
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 +1949 -233
- package/package.json +1 -1
- package/pos.v1/terminals.js +1085 -247
- package/types/admin/admin.d.ts +540 -0
- package/types/pos.v1/terminals.d.ts +278 -0
package/pos.v1/terminals.js
CHANGED
|
@@ -1349,6 +1349,9 @@ var com;
|
|
|
1349
1349
|
if ("count" in data && data.count != undefined) {
|
|
1350
1350
|
this.count = data.count;
|
|
1351
1351
|
}
|
|
1352
|
+
if ("mfbId" in data && data.mfbId != undefined) {
|
|
1353
|
+
this.mfbId = data.mfbId;
|
|
1354
|
+
}
|
|
1352
1355
|
}
|
|
1353
1356
|
}
|
|
1354
1357
|
get instances() {
|
|
@@ -1372,6 +1375,12 @@ var com;
|
|
|
1372
1375
|
set count(value) {
|
|
1373
1376
|
pb_1.Message.setField(this, 3, value);
|
|
1374
1377
|
}
|
|
1378
|
+
get mfbId() {
|
|
1379
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
1380
|
+
}
|
|
1381
|
+
set mfbId(value) {
|
|
1382
|
+
pb_1.Message.setField(this, 4, value);
|
|
1383
|
+
}
|
|
1375
1384
|
static fromObject(data) {
|
|
1376
1385
|
const message = new TerminalInstanceData({});
|
|
1377
1386
|
if (data.instances != null) {
|
|
@@ -1383,6 +1392,9 @@ var com;
|
|
|
1383
1392
|
if (data.count != null) {
|
|
1384
1393
|
message.count = data.count;
|
|
1385
1394
|
}
|
|
1395
|
+
if (data.mfbId != null) {
|
|
1396
|
+
message.mfbId = data.mfbId;
|
|
1397
|
+
}
|
|
1386
1398
|
return message;
|
|
1387
1399
|
}
|
|
1388
1400
|
toObject() {
|
|
@@ -1396,6 +1408,9 @@ var com;
|
|
|
1396
1408
|
if (this.count != null) {
|
|
1397
1409
|
data.count = this.count;
|
|
1398
1410
|
}
|
|
1411
|
+
if (this.mfbId != null) {
|
|
1412
|
+
data.mfbId = this.mfbId;
|
|
1413
|
+
}
|
|
1399
1414
|
return data;
|
|
1400
1415
|
}
|
|
1401
1416
|
serialize(w) {
|
|
@@ -1406,6 +1421,8 @@ var com;
|
|
|
1406
1421
|
writer.writeMessage(2, this.terminalType, () => this.terminalType.serialize(writer));
|
|
1407
1422
|
if (this.count != 0)
|
|
1408
1423
|
writer.writeInt32(3, this.count);
|
|
1424
|
+
if (this.mfbId.length)
|
|
1425
|
+
writer.writeString(4, this.mfbId);
|
|
1409
1426
|
if (!w)
|
|
1410
1427
|
return writer.getResultBuffer();
|
|
1411
1428
|
}
|
|
@@ -1424,6 +1441,9 @@ var com;
|
|
|
1424
1441
|
case 3:
|
|
1425
1442
|
message.count = reader.readInt32();
|
|
1426
1443
|
break;
|
|
1444
|
+
case 4:
|
|
1445
|
+
message.mfbId = reader.readString();
|
|
1446
|
+
break;
|
|
1427
1447
|
default: reader.skipField();
|
|
1428
1448
|
}
|
|
1429
1449
|
}
|
|
@@ -30064,253 +30084,996 @@ var com;
|
|
|
30064
30084
|
}
|
|
30065
30085
|
}
|
|
30066
30086
|
terminals.CalculatePOSEntityChargesResponse = CalculatePOSEntityChargesResponse;
|
|
30067
|
-
class
|
|
30068
|
-
|
|
30069
|
-
|
|
30070
|
-
|
|
30071
|
-
|
|
30072
|
-
|
|
30073
|
-
|
|
30074
|
-
|
|
30075
|
-
|
|
30076
|
-
|
|
30077
|
-
|
|
30078
|
-
|
|
30079
|
-
|
|
30080
|
-
|
|
30081
|
-
|
|
30082
|
-
|
|
30083
|
-
|
|
30084
|
-
|
|
30085
|
-
|
|
30086
|
-
|
|
30087
|
-
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
|
|
30096
|
-
|
|
30097
|
-
|
|
30098
|
-
|
|
30099
|
-
|
|
30100
|
-
|
|
30101
|
-
|
|
30102
|
-
|
|
30103
|
-
|
|
30104
|
-
|
|
30105
|
-
|
|
30106
|
-
|
|
30107
|
-
|
|
30108
|
-
|
|
30109
|
-
|
|
30110
|
-
|
|
30111
|
-
|
|
30112
|
-
|
|
30113
|
-
|
|
30114
|
-
|
|
30115
|
-
|
|
30116
|
-
|
|
30117
|
-
|
|
30118
|
-
|
|
30119
|
-
|
|
30120
|
-
|
|
30121
|
-
|
|
30122
|
-
|
|
30123
|
-
|
|
30124
|
-
|
|
30125
|
-
|
|
30126
|
-
|
|
30127
|
-
|
|
30128
|
-
|
|
30129
|
-
|
|
30130
|
-
|
|
30131
|
-
|
|
30132
|
-
|
|
30133
|
-
|
|
30134
|
-
|
|
30135
|
-
|
|
30136
|
-
|
|
30137
|
-
|
|
30138
|
-
|
|
30139
|
-
|
|
30140
|
-
}
|
|
30141
|
-
|
|
30142
|
-
|
|
30143
|
-
|
|
30144
|
-
|
|
30145
|
-
|
|
30146
|
-
|
|
30147
|
-
|
|
30148
|
-
|
|
30149
|
-
}
|
|
30150
|
-
|
|
30151
|
-
|
|
30152
|
-
|
|
30153
|
-
|
|
30154
|
-
|
|
30155
|
-
|
|
30156
|
-
|
|
30157
|
-
|
|
30158
|
-
|
|
30159
|
-
|
|
30160
|
-
|
|
30161
|
-
|
|
30162
|
-
|
|
30163
|
-
|
|
30164
|
-
|
|
30165
|
-
|
|
30166
|
-
|
|
30167
|
-
|
|
30168
|
-
|
|
30169
|
-
|
|
30170
|
-
|
|
30171
|
-
|
|
30172
|
-
|
|
30173
|
-
|
|
30174
|
-
|
|
30175
|
-
|
|
30176
|
-
|
|
30177
|
-
|
|
30178
|
-
|
|
30179
|
-
|
|
30180
|
-
|
|
30181
|
-
|
|
30182
|
-
|
|
30183
|
-
|
|
30184
|
-
|
|
30185
|
-
|
|
30186
|
-
|
|
30187
|
-
|
|
30188
|
-
|
|
30189
|
-
|
|
30190
|
-
|
|
30191
|
-
|
|
30192
|
-
|
|
30193
|
-
|
|
30194
|
-
|
|
30195
|
-
|
|
30196
|
-
|
|
30197
|
-
|
|
30198
|
-
|
|
30199
|
-
|
|
30200
|
-
|
|
30201
|
-
|
|
30202
|
-
|
|
30203
|
-
|
|
30204
|
-
|
|
30205
|
-
|
|
30206
|
-
|
|
30207
|
-
|
|
30208
|
-
|
|
30209
|
-
|
|
30210
|
-
|
|
30211
|
-
|
|
30212
|
-
|
|
30213
|
-
|
|
30214
|
-
|
|
30215
|
-
|
|
30216
|
-
|
|
30217
|
-
|
|
30218
|
-
|
|
30219
|
-
|
|
30220
|
-
|
|
30221
|
-
|
|
30222
|
-
|
|
30223
|
-
|
|
30224
|
-
|
|
30225
|
-
|
|
30226
|
-
|
|
30227
|
-
|
|
30228
|
-
|
|
30229
|
-
|
|
30230
|
-
|
|
30231
|
-
|
|
30232
|
-
|
|
30233
|
-
|
|
30234
|
-
|
|
30235
|
-
|
|
30236
|
-
|
|
30237
|
-
|
|
30238
|
-
|
|
30239
|
-
|
|
30240
|
-
|
|
30241
|
-
|
|
30242
|
-
|
|
30243
|
-
|
|
30244
|
-
|
|
30245
|
-
|
|
30246
|
-
|
|
30247
|
-
|
|
30248
|
-
|
|
30249
|
-
|
|
30250
|
-
|
|
30251
|
-
|
|
30252
|
-
|
|
30253
|
-
|
|
30254
|
-
|
|
30255
|
-
|
|
30256
|
-
|
|
30257
|
-
|
|
30258
|
-
|
|
30259
|
-
|
|
30260
|
-
|
|
30261
|
-
|
|
30262
|
-
|
|
30263
|
-
|
|
30264
|
-
|
|
30265
|
-
|
|
30266
|
-
|
|
30267
|
-
|
|
30268
|
-
|
|
30269
|
-
|
|
30270
|
-
|
|
30271
|
-
|
|
30272
|
-
|
|
30273
|
-
|
|
30274
|
-
|
|
30275
|
-
|
|
30276
|
-
|
|
30277
|
-
|
|
30278
|
-
|
|
30279
|
-
|
|
30280
|
-
|
|
30281
|
-
|
|
30282
|
-
|
|
30283
|
-
|
|
30284
|
-
|
|
30285
|
-
|
|
30286
|
-
|
|
30287
|
-
|
|
30288
|
-
|
|
30289
|
-
|
|
30290
|
-
|
|
30291
|
-
|
|
30292
|
-
|
|
30293
|
-
|
|
30294
|
-
|
|
30295
|
-
|
|
30296
|
-
|
|
30297
|
-
|
|
30298
|
-
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
|
|
30302
|
-
|
|
30303
|
-
|
|
30304
|
-
|
|
30305
|
-
|
|
30306
|
-
|
|
30307
|
-
|
|
30308
|
-
|
|
30309
|
-
|
|
30310
|
-
|
|
30311
|
-
|
|
30312
|
-
|
|
30313
|
-
|
|
30087
|
+
class AllocateMfbTerminalsRequest extends pb_1.Message {
|
|
30088
|
+
#one_of_decls = [];
|
|
30089
|
+
constructor(data) {
|
|
30090
|
+
super();
|
|
30091
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [2], this.#one_of_decls);
|
|
30092
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
30093
|
+
if ("mfbId" in data && data.mfbId != undefined) {
|
|
30094
|
+
this.mfbId = data.mfbId;
|
|
30095
|
+
}
|
|
30096
|
+
if ("serialNumbers" in data && data.serialNumbers != undefined) {
|
|
30097
|
+
this.serialNumbers = data.serialNumbers;
|
|
30098
|
+
}
|
|
30099
|
+
if ("allocatedBy" in data && data.allocatedBy != undefined) {
|
|
30100
|
+
this.allocatedBy = data.allocatedBy;
|
|
30101
|
+
}
|
|
30102
|
+
if ("batchId" in data && data.batchId != undefined) {
|
|
30103
|
+
this.batchId = data.batchId;
|
|
30104
|
+
}
|
|
30105
|
+
if ("notes" in data && data.notes != undefined) {
|
|
30106
|
+
this.notes = data.notes;
|
|
30107
|
+
}
|
|
30108
|
+
}
|
|
30109
|
+
}
|
|
30110
|
+
get mfbId() {
|
|
30111
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
30112
|
+
}
|
|
30113
|
+
set mfbId(value) {
|
|
30114
|
+
pb_1.Message.setField(this, 1, value);
|
|
30115
|
+
}
|
|
30116
|
+
get serialNumbers() {
|
|
30117
|
+
return pb_1.Message.getFieldWithDefault(this, 2, []);
|
|
30118
|
+
}
|
|
30119
|
+
set serialNumbers(value) {
|
|
30120
|
+
pb_1.Message.setField(this, 2, value);
|
|
30121
|
+
}
|
|
30122
|
+
get allocatedBy() {
|
|
30123
|
+
return pb_1.Message.getFieldWithDefault(this, 3, "");
|
|
30124
|
+
}
|
|
30125
|
+
set allocatedBy(value) {
|
|
30126
|
+
pb_1.Message.setField(this, 3, value);
|
|
30127
|
+
}
|
|
30128
|
+
get batchId() {
|
|
30129
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
30130
|
+
}
|
|
30131
|
+
set batchId(value) {
|
|
30132
|
+
pb_1.Message.setField(this, 4, value);
|
|
30133
|
+
}
|
|
30134
|
+
get notes() {
|
|
30135
|
+
return pb_1.Message.getFieldWithDefault(this, 5, "");
|
|
30136
|
+
}
|
|
30137
|
+
set notes(value) {
|
|
30138
|
+
pb_1.Message.setField(this, 5, value);
|
|
30139
|
+
}
|
|
30140
|
+
static fromObject(data) {
|
|
30141
|
+
const message = new AllocateMfbTerminalsRequest({});
|
|
30142
|
+
if (data.mfbId != null) {
|
|
30143
|
+
message.mfbId = data.mfbId;
|
|
30144
|
+
}
|
|
30145
|
+
if (data.serialNumbers != null) {
|
|
30146
|
+
message.serialNumbers = data.serialNumbers;
|
|
30147
|
+
}
|
|
30148
|
+
if (data.allocatedBy != null) {
|
|
30149
|
+
message.allocatedBy = data.allocatedBy;
|
|
30150
|
+
}
|
|
30151
|
+
if (data.batchId != null) {
|
|
30152
|
+
message.batchId = data.batchId;
|
|
30153
|
+
}
|
|
30154
|
+
if (data.notes != null) {
|
|
30155
|
+
message.notes = data.notes;
|
|
30156
|
+
}
|
|
30157
|
+
return message;
|
|
30158
|
+
}
|
|
30159
|
+
toObject() {
|
|
30160
|
+
const data = {};
|
|
30161
|
+
if (this.mfbId != null) {
|
|
30162
|
+
data.mfbId = this.mfbId;
|
|
30163
|
+
}
|
|
30164
|
+
if (this.serialNumbers != null) {
|
|
30165
|
+
data.serialNumbers = this.serialNumbers;
|
|
30166
|
+
}
|
|
30167
|
+
if (this.allocatedBy != null) {
|
|
30168
|
+
data.allocatedBy = this.allocatedBy;
|
|
30169
|
+
}
|
|
30170
|
+
if (this.batchId != null) {
|
|
30171
|
+
data.batchId = this.batchId;
|
|
30172
|
+
}
|
|
30173
|
+
if (this.notes != null) {
|
|
30174
|
+
data.notes = this.notes;
|
|
30175
|
+
}
|
|
30176
|
+
return data;
|
|
30177
|
+
}
|
|
30178
|
+
serialize(w) {
|
|
30179
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
30180
|
+
if (this.mfbId.length)
|
|
30181
|
+
writer.writeString(1, this.mfbId);
|
|
30182
|
+
if (this.serialNumbers.length)
|
|
30183
|
+
writer.writeRepeatedString(2, this.serialNumbers);
|
|
30184
|
+
if (this.allocatedBy.length)
|
|
30185
|
+
writer.writeString(3, this.allocatedBy);
|
|
30186
|
+
if (this.batchId.length)
|
|
30187
|
+
writer.writeString(4, this.batchId);
|
|
30188
|
+
if (this.notes.length)
|
|
30189
|
+
writer.writeString(5, this.notes);
|
|
30190
|
+
if (!w)
|
|
30191
|
+
return writer.getResultBuffer();
|
|
30192
|
+
}
|
|
30193
|
+
static deserialize(bytes) {
|
|
30194
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new AllocateMfbTerminalsRequest();
|
|
30195
|
+
while (reader.nextField()) {
|
|
30196
|
+
if (reader.isEndGroup())
|
|
30197
|
+
break;
|
|
30198
|
+
switch (reader.getFieldNumber()) {
|
|
30199
|
+
case 1:
|
|
30200
|
+
message.mfbId = reader.readString();
|
|
30201
|
+
break;
|
|
30202
|
+
case 2:
|
|
30203
|
+
pb_1.Message.addToRepeatedField(message, 2, reader.readString());
|
|
30204
|
+
break;
|
|
30205
|
+
case 3:
|
|
30206
|
+
message.allocatedBy = reader.readString();
|
|
30207
|
+
break;
|
|
30208
|
+
case 4:
|
|
30209
|
+
message.batchId = reader.readString();
|
|
30210
|
+
break;
|
|
30211
|
+
case 5:
|
|
30212
|
+
message.notes = reader.readString();
|
|
30213
|
+
break;
|
|
30214
|
+
default: reader.skipField();
|
|
30215
|
+
}
|
|
30216
|
+
}
|
|
30217
|
+
return message;
|
|
30218
|
+
}
|
|
30219
|
+
serializeBinary() {
|
|
30220
|
+
return this.serialize();
|
|
30221
|
+
}
|
|
30222
|
+
static deserializeBinary(bytes) {
|
|
30223
|
+
return AllocateMfbTerminalsRequest.deserialize(bytes);
|
|
30224
|
+
}
|
|
30225
|
+
}
|
|
30226
|
+
terminals.AllocateMfbTerminalsRequest = AllocateMfbTerminalsRequest;
|
|
30227
|
+
class AllocateMfbTerminalsResponse extends pb_1.Message {
|
|
30228
|
+
#one_of_decls = [];
|
|
30229
|
+
constructor(data) {
|
|
30230
|
+
super();
|
|
30231
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [4], this.#one_of_decls);
|
|
30232
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
30233
|
+
if ("success" in data && data.success != undefined) {
|
|
30234
|
+
this.success = data.success;
|
|
30235
|
+
}
|
|
30236
|
+
if ("message" in data && data.message != undefined) {
|
|
30237
|
+
this.message = data.message;
|
|
30238
|
+
}
|
|
30239
|
+
if ("allocated" in data && data.allocated != undefined) {
|
|
30240
|
+
this.allocated = data.allocated;
|
|
30241
|
+
}
|
|
30242
|
+
if ("errors" in data && data.errors != undefined) {
|
|
30243
|
+
this.errors = data.errors;
|
|
30244
|
+
}
|
|
30245
|
+
}
|
|
30246
|
+
}
|
|
30247
|
+
get success() {
|
|
30248
|
+
return pb_1.Message.getFieldWithDefault(this, 1, false);
|
|
30249
|
+
}
|
|
30250
|
+
set success(value) {
|
|
30251
|
+
pb_1.Message.setField(this, 1, value);
|
|
30252
|
+
}
|
|
30253
|
+
get message() {
|
|
30254
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
30255
|
+
}
|
|
30256
|
+
set message(value) {
|
|
30257
|
+
pb_1.Message.setField(this, 2, value);
|
|
30258
|
+
}
|
|
30259
|
+
get allocated() {
|
|
30260
|
+
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
30261
|
+
}
|
|
30262
|
+
set allocated(value) {
|
|
30263
|
+
pb_1.Message.setField(this, 3, value);
|
|
30264
|
+
}
|
|
30265
|
+
get errors() {
|
|
30266
|
+
return pb_1.Message.getFieldWithDefault(this, 4, []);
|
|
30267
|
+
}
|
|
30268
|
+
set errors(value) {
|
|
30269
|
+
pb_1.Message.setField(this, 4, value);
|
|
30270
|
+
}
|
|
30271
|
+
static fromObject(data) {
|
|
30272
|
+
const message = new AllocateMfbTerminalsResponse({});
|
|
30273
|
+
if (data.success != null) {
|
|
30274
|
+
message.success = data.success;
|
|
30275
|
+
}
|
|
30276
|
+
if (data.message != null) {
|
|
30277
|
+
message.message = data.message;
|
|
30278
|
+
}
|
|
30279
|
+
if (data.allocated != null) {
|
|
30280
|
+
message.allocated = data.allocated;
|
|
30281
|
+
}
|
|
30282
|
+
if (data.errors != null) {
|
|
30283
|
+
message.errors = data.errors;
|
|
30284
|
+
}
|
|
30285
|
+
return message;
|
|
30286
|
+
}
|
|
30287
|
+
toObject() {
|
|
30288
|
+
const data = {};
|
|
30289
|
+
if (this.success != null) {
|
|
30290
|
+
data.success = this.success;
|
|
30291
|
+
}
|
|
30292
|
+
if (this.message != null) {
|
|
30293
|
+
data.message = this.message;
|
|
30294
|
+
}
|
|
30295
|
+
if (this.allocated != null) {
|
|
30296
|
+
data.allocated = this.allocated;
|
|
30297
|
+
}
|
|
30298
|
+
if (this.errors != null) {
|
|
30299
|
+
data.errors = this.errors;
|
|
30300
|
+
}
|
|
30301
|
+
return data;
|
|
30302
|
+
}
|
|
30303
|
+
serialize(w) {
|
|
30304
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
30305
|
+
if (this.success != false)
|
|
30306
|
+
writer.writeBool(1, this.success);
|
|
30307
|
+
if (this.message.length)
|
|
30308
|
+
writer.writeString(2, this.message);
|
|
30309
|
+
if (this.allocated != 0)
|
|
30310
|
+
writer.writeInt32(3, this.allocated);
|
|
30311
|
+
if (this.errors.length)
|
|
30312
|
+
writer.writeRepeatedString(4, this.errors);
|
|
30313
|
+
if (!w)
|
|
30314
|
+
return writer.getResultBuffer();
|
|
30315
|
+
}
|
|
30316
|
+
static deserialize(bytes) {
|
|
30317
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new AllocateMfbTerminalsResponse();
|
|
30318
|
+
while (reader.nextField()) {
|
|
30319
|
+
if (reader.isEndGroup())
|
|
30320
|
+
break;
|
|
30321
|
+
switch (reader.getFieldNumber()) {
|
|
30322
|
+
case 1:
|
|
30323
|
+
message.success = reader.readBool();
|
|
30324
|
+
break;
|
|
30325
|
+
case 2:
|
|
30326
|
+
message.message = reader.readString();
|
|
30327
|
+
break;
|
|
30328
|
+
case 3:
|
|
30329
|
+
message.allocated = reader.readInt32();
|
|
30330
|
+
break;
|
|
30331
|
+
case 4:
|
|
30332
|
+
pb_1.Message.addToRepeatedField(message, 4, reader.readString());
|
|
30333
|
+
break;
|
|
30334
|
+
default: reader.skipField();
|
|
30335
|
+
}
|
|
30336
|
+
}
|
|
30337
|
+
return message;
|
|
30338
|
+
}
|
|
30339
|
+
serializeBinary() {
|
|
30340
|
+
return this.serialize();
|
|
30341
|
+
}
|
|
30342
|
+
static deserializeBinary(bytes) {
|
|
30343
|
+
return AllocateMfbTerminalsResponse.deserialize(bytes);
|
|
30344
|
+
}
|
|
30345
|
+
}
|
|
30346
|
+
terminals.AllocateMfbTerminalsResponse = AllocateMfbTerminalsResponse;
|
|
30347
|
+
class DeallocateMfbTerminalsRequest extends pb_1.Message {
|
|
30348
|
+
#one_of_decls = [];
|
|
30349
|
+
constructor(data) {
|
|
30350
|
+
super();
|
|
30351
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [2], this.#one_of_decls);
|
|
30352
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
30353
|
+
if ("mfbId" in data && data.mfbId != undefined) {
|
|
30354
|
+
this.mfbId = data.mfbId;
|
|
30355
|
+
}
|
|
30356
|
+
if ("serialNumbers" in data && data.serialNumbers != undefined) {
|
|
30357
|
+
this.serialNumbers = data.serialNumbers;
|
|
30358
|
+
}
|
|
30359
|
+
if ("deallocatedBy" in data && data.deallocatedBy != undefined) {
|
|
30360
|
+
this.deallocatedBy = data.deallocatedBy;
|
|
30361
|
+
}
|
|
30362
|
+
}
|
|
30363
|
+
}
|
|
30364
|
+
get mfbId() {
|
|
30365
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
30366
|
+
}
|
|
30367
|
+
set mfbId(value) {
|
|
30368
|
+
pb_1.Message.setField(this, 1, value);
|
|
30369
|
+
}
|
|
30370
|
+
get serialNumbers() {
|
|
30371
|
+
return pb_1.Message.getFieldWithDefault(this, 2, []);
|
|
30372
|
+
}
|
|
30373
|
+
set serialNumbers(value) {
|
|
30374
|
+
pb_1.Message.setField(this, 2, value);
|
|
30375
|
+
}
|
|
30376
|
+
get deallocatedBy() {
|
|
30377
|
+
return pb_1.Message.getFieldWithDefault(this, 3, "");
|
|
30378
|
+
}
|
|
30379
|
+
set deallocatedBy(value) {
|
|
30380
|
+
pb_1.Message.setField(this, 3, value);
|
|
30381
|
+
}
|
|
30382
|
+
static fromObject(data) {
|
|
30383
|
+
const message = new DeallocateMfbTerminalsRequest({});
|
|
30384
|
+
if (data.mfbId != null) {
|
|
30385
|
+
message.mfbId = data.mfbId;
|
|
30386
|
+
}
|
|
30387
|
+
if (data.serialNumbers != null) {
|
|
30388
|
+
message.serialNumbers = data.serialNumbers;
|
|
30389
|
+
}
|
|
30390
|
+
if (data.deallocatedBy != null) {
|
|
30391
|
+
message.deallocatedBy = data.deallocatedBy;
|
|
30392
|
+
}
|
|
30393
|
+
return message;
|
|
30394
|
+
}
|
|
30395
|
+
toObject() {
|
|
30396
|
+
const data = {};
|
|
30397
|
+
if (this.mfbId != null) {
|
|
30398
|
+
data.mfbId = this.mfbId;
|
|
30399
|
+
}
|
|
30400
|
+
if (this.serialNumbers != null) {
|
|
30401
|
+
data.serialNumbers = this.serialNumbers;
|
|
30402
|
+
}
|
|
30403
|
+
if (this.deallocatedBy != null) {
|
|
30404
|
+
data.deallocatedBy = this.deallocatedBy;
|
|
30405
|
+
}
|
|
30406
|
+
return data;
|
|
30407
|
+
}
|
|
30408
|
+
serialize(w) {
|
|
30409
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
30410
|
+
if (this.mfbId.length)
|
|
30411
|
+
writer.writeString(1, this.mfbId);
|
|
30412
|
+
if (this.serialNumbers.length)
|
|
30413
|
+
writer.writeRepeatedString(2, this.serialNumbers);
|
|
30414
|
+
if (this.deallocatedBy.length)
|
|
30415
|
+
writer.writeString(3, this.deallocatedBy);
|
|
30416
|
+
if (!w)
|
|
30417
|
+
return writer.getResultBuffer();
|
|
30418
|
+
}
|
|
30419
|
+
static deserialize(bytes) {
|
|
30420
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new DeallocateMfbTerminalsRequest();
|
|
30421
|
+
while (reader.nextField()) {
|
|
30422
|
+
if (reader.isEndGroup())
|
|
30423
|
+
break;
|
|
30424
|
+
switch (reader.getFieldNumber()) {
|
|
30425
|
+
case 1:
|
|
30426
|
+
message.mfbId = reader.readString();
|
|
30427
|
+
break;
|
|
30428
|
+
case 2:
|
|
30429
|
+
pb_1.Message.addToRepeatedField(message, 2, reader.readString());
|
|
30430
|
+
break;
|
|
30431
|
+
case 3:
|
|
30432
|
+
message.deallocatedBy = reader.readString();
|
|
30433
|
+
break;
|
|
30434
|
+
default: reader.skipField();
|
|
30435
|
+
}
|
|
30436
|
+
}
|
|
30437
|
+
return message;
|
|
30438
|
+
}
|
|
30439
|
+
serializeBinary() {
|
|
30440
|
+
return this.serialize();
|
|
30441
|
+
}
|
|
30442
|
+
static deserializeBinary(bytes) {
|
|
30443
|
+
return DeallocateMfbTerminalsRequest.deserialize(bytes);
|
|
30444
|
+
}
|
|
30445
|
+
}
|
|
30446
|
+
terminals.DeallocateMfbTerminalsRequest = DeallocateMfbTerminalsRequest;
|
|
30447
|
+
class DeallocateMfbTerminalsResponse extends pb_1.Message {
|
|
30448
|
+
#one_of_decls = [];
|
|
30449
|
+
constructor(data) {
|
|
30450
|
+
super();
|
|
30451
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [4], this.#one_of_decls);
|
|
30452
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
30453
|
+
if ("success" in data && data.success != undefined) {
|
|
30454
|
+
this.success = data.success;
|
|
30455
|
+
}
|
|
30456
|
+
if ("message" in data && data.message != undefined) {
|
|
30457
|
+
this.message = data.message;
|
|
30458
|
+
}
|
|
30459
|
+
if ("deallocated" in data && data.deallocated != undefined) {
|
|
30460
|
+
this.deallocated = data.deallocated;
|
|
30461
|
+
}
|
|
30462
|
+
if ("errors" in data && data.errors != undefined) {
|
|
30463
|
+
this.errors = data.errors;
|
|
30464
|
+
}
|
|
30465
|
+
}
|
|
30466
|
+
}
|
|
30467
|
+
get success() {
|
|
30468
|
+
return pb_1.Message.getFieldWithDefault(this, 1, false);
|
|
30469
|
+
}
|
|
30470
|
+
set success(value) {
|
|
30471
|
+
pb_1.Message.setField(this, 1, value);
|
|
30472
|
+
}
|
|
30473
|
+
get message() {
|
|
30474
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
30475
|
+
}
|
|
30476
|
+
set message(value) {
|
|
30477
|
+
pb_1.Message.setField(this, 2, value);
|
|
30478
|
+
}
|
|
30479
|
+
get deallocated() {
|
|
30480
|
+
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
30481
|
+
}
|
|
30482
|
+
set deallocated(value) {
|
|
30483
|
+
pb_1.Message.setField(this, 3, value);
|
|
30484
|
+
}
|
|
30485
|
+
get errors() {
|
|
30486
|
+
return pb_1.Message.getFieldWithDefault(this, 4, []);
|
|
30487
|
+
}
|
|
30488
|
+
set errors(value) {
|
|
30489
|
+
pb_1.Message.setField(this, 4, value);
|
|
30490
|
+
}
|
|
30491
|
+
static fromObject(data) {
|
|
30492
|
+
const message = new DeallocateMfbTerminalsResponse({});
|
|
30493
|
+
if (data.success != null) {
|
|
30494
|
+
message.success = data.success;
|
|
30495
|
+
}
|
|
30496
|
+
if (data.message != null) {
|
|
30497
|
+
message.message = data.message;
|
|
30498
|
+
}
|
|
30499
|
+
if (data.deallocated != null) {
|
|
30500
|
+
message.deallocated = data.deallocated;
|
|
30501
|
+
}
|
|
30502
|
+
if (data.errors != null) {
|
|
30503
|
+
message.errors = data.errors;
|
|
30504
|
+
}
|
|
30505
|
+
return message;
|
|
30506
|
+
}
|
|
30507
|
+
toObject() {
|
|
30508
|
+
const data = {};
|
|
30509
|
+
if (this.success != null) {
|
|
30510
|
+
data.success = this.success;
|
|
30511
|
+
}
|
|
30512
|
+
if (this.message != null) {
|
|
30513
|
+
data.message = this.message;
|
|
30514
|
+
}
|
|
30515
|
+
if (this.deallocated != null) {
|
|
30516
|
+
data.deallocated = this.deallocated;
|
|
30517
|
+
}
|
|
30518
|
+
if (this.errors != null) {
|
|
30519
|
+
data.errors = this.errors;
|
|
30520
|
+
}
|
|
30521
|
+
return data;
|
|
30522
|
+
}
|
|
30523
|
+
serialize(w) {
|
|
30524
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
30525
|
+
if (this.success != false)
|
|
30526
|
+
writer.writeBool(1, this.success);
|
|
30527
|
+
if (this.message.length)
|
|
30528
|
+
writer.writeString(2, this.message);
|
|
30529
|
+
if (this.deallocated != 0)
|
|
30530
|
+
writer.writeInt32(3, this.deallocated);
|
|
30531
|
+
if (this.errors.length)
|
|
30532
|
+
writer.writeRepeatedString(4, this.errors);
|
|
30533
|
+
if (!w)
|
|
30534
|
+
return writer.getResultBuffer();
|
|
30535
|
+
}
|
|
30536
|
+
static deserialize(bytes) {
|
|
30537
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new DeallocateMfbTerminalsResponse();
|
|
30538
|
+
while (reader.nextField()) {
|
|
30539
|
+
if (reader.isEndGroup())
|
|
30540
|
+
break;
|
|
30541
|
+
switch (reader.getFieldNumber()) {
|
|
30542
|
+
case 1:
|
|
30543
|
+
message.success = reader.readBool();
|
|
30544
|
+
break;
|
|
30545
|
+
case 2:
|
|
30546
|
+
message.message = reader.readString();
|
|
30547
|
+
break;
|
|
30548
|
+
case 3:
|
|
30549
|
+
message.deallocated = reader.readInt32();
|
|
30550
|
+
break;
|
|
30551
|
+
case 4:
|
|
30552
|
+
pb_1.Message.addToRepeatedField(message, 4, reader.readString());
|
|
30553
|
+
break;
|
|
30554
|
+
default: reader.skipField();
|
|
30555
|
+
}
|
|
30556
|
+
}
|
|
30557
|
+
return message;
|
|
30558
|
+
}
|
|
30559
|
+
serializeBinary() {
|
|
30560
|
+
return this.serialize();
|
|
30561
|
+
}
|
|
30562
|
+
static deserializeBinary(bytes) {
|
|
30563
|
+
return DeallocateMfbTerminalsResponse.deserialize(bytes);
|
|
30564
|
+
}
|
|
30565
|
+
}
|
|
30566
|
+
terminals.DeallocateMfbTerminalsResponse = DeallocateMfbTerminalsResponse;
|
|
30567
|
+
class GetMfbTerminalsRequest extends pb_1.Message {
|
|
30568
|
+
#one_of_decls = [];
|
|
30569
|
+
constructor(data) {
|
|
30570
|
+
super();
|
|
30571
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
30572
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
30573
|
+
if ("mfbId" in data && data.mfbId != undefined) {
|
|
30574
|
+
this.mfbId = data.mfbId;
|
|
30575
|
+
}
|
|
30576
|
+
if ("page" in data && data.page != undefined) {
|
|
30577
|
+
this.page = data.page;
|
|
30578
|
+
}
|
|
30579
|
+
if ("limit" in data && data.limit != undefined) {
|
|
30580
|
+
this.limit = data.limit;
|
|
30581
|
+
}
|
|
30582
|
+
if ("status" in data && data.status != undefined) {
|
|
30583
|
+
this.status = data.status;
|
|
30584
|
+
}
|
|
30585
|
+
}
|
|
30586
|
+
}
|
|
30587
|
+
get mfbId() {
|
|
30588
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
30589
|
+
}
|
|
30590
|
+
set mfbId(value) {
|
|
30591
|
+
pb_1.Message.setField(this, 1, value);
|
|
30592
|
+
}
|
|
30593
|
+
get page() {
|
|
30594
|
+
return pb_1.Message.getFieldWithDefault(this, 2, 0);
|
|
30595
|
+
}
|
|
30596
|
+
set page(value) {
|
|
30597
|
+
pb_1.Message.setField(this, 2, value);
|
|
30598
|
+
}
|
|
30599
|
+
get limit() {
|
|
30600
|
+
return pb_1.Message.getFieldWithDefault(this, 3, 0);
|
|
30601
|
+
}
|
|
30602
|
+
set limit(value) {
|
|
30603
|
+
pb_1.Message.setField(this, 3, value);
|
|
30604
|
+
}
|
|
30605
|
+
get status() {
|
|
30606
|
+
return pb_1.Message.getFieldWithDefault(this, 4, "");
|
|
30607
|
+
}
|
|
30608
|
+
set status(value) {
|
|
30609
|
+
pb_1.Message.setField(this, 4, value);
|
|
30610
|
+
}
|
|
30611
|
+
static fromObject(data) {
|
|
30612
|
+
const message = new GetMfbTerminalsRequest({});
|
|
30613
|
+
if (data.mfbId != null) {
|
|
30614
|
+
message.mfbId = data.mfbId;
|
|
30615
|
+
}
|
|
30616
|
+
if (data.page != null) {
|
|
30617
|
+
message.page = data.page;
|
|
30618
|
+
}
|
|
30619
|
+
if (data.limit != null) {
|
|
30620
|
+
message.limit = data.limit;
|
|
30621
|
+
}
|
|
30622
|
+
if (data.status != null) {
|
|
30623
|
+
message.status = data.status;
|
|
30624
|
+
}
|
|
30625
|
+
return message;
|
|
30626
|
+
}
|
|
30627
|
+
toObject() {
|
|
30628
|
+
const data = {};
|
|
30629
|
+
if (this.mfbId != null) {
|
|
30630
|
+
data.mfbId = this.mfbId;
|
|
30631
|
+
}
|
|
30632
|
+
if (this.page != null) {
|
|
30633
|
+
data.page = this.page;
|
|
30634
|
+
}
|
|
30635
|
+
if (this.limit != null) {
|
|
30636
|
+
data.limit = this.limit;
|
|
30637
|
+
}
|
|
30638
|
+
if (this.status != null) {
|
|
30639
|
+
data.status = this.status;
|
|
30640
|
+
}
|
|
30641
|
+
return data;
|
|
30642
|
+
}
|
|
30643
|
+
serialize(w) {
|
|
30644
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
30645
|
+
if (this.mfbId.length)
|
|
30646
|
+
writer.writeString(1, this.mfbId);
|
|
30647
|
+
if (this.page != 0)
|
|
30648
|
+
writer.writeUint32(2, this.page);
|
|
30649
|
+
if (this.limit != 0)
|
|
30650
|
+
writer.writeUint32(3, this.limit);
|
|
30651
|
+
if (this.status.length)
|
|
30652
|
+
writer.writeString(4, this.status);
|
|
30653
|
+
if (!w)
|
|
30654
|
+
return writer.getResultBuffer();
|
|
30655
|
+
}
|
|
30656
|
+
static deserialize(bytes) {
|
|
30657
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new GetMfbTerminalsRequest();
|
|
30658
|
+
while (reader.nextField()) {
|
|
30659
|
+
if (reader.isEndGroup())
|
|
30660
|
+
break;
|
|
30661
|
+
switch (reader.getFieldNumber()) {
|
|
30662
|
+
case 1:
|
|
30663
|
+
message.mfbId = reader.readString();
|
|
30664
|
+
break;
|
|
30665
|
+
case 2:
|
|
30666
|
+
message.page = reader.readUint32();
|
|
30667
|
+
break;
|
|
30668
|
+
case 3:
|
|
30669
|
+
message.limit = reader.readUint32();
|
|
30670
|
+
break;
|
|
30671
|
+
case 4:
|
|
30672
|
+
message.status = reader.readString();
|
|
30673
|
+
break;
|
|
30674
|
+
default: reader.skipField();
|
|
30675
|
+
}
|
|
30676
|
+
}
|
|
30677
|
+
return message;
|
|
30678
|
+
}
|
|
30679
|
+
serializeBinary() {
|
|
30680
|
+
return this.serialize();
|
|
30681
|
+
}
|
|
30682
|
+
static deserializeBinary(bytes) {
|
|
30683
|
+
return GetMfbTerminalsRequest.deserialize(bytes);
|
|
30684
|
+
}
|
|
30685
|
+
}
|
|
30686
|
+
terminals.GetMfbTerminalsRequest = GetMfbTerminalsRequest;
|
|
30687
|
+
class GetMfbTerminalsResponse extends pb_1.Message {
|
|
30688
|
+
#one_of_decls = [];
|
|
30689
|
+
constructor(data) {
|
|
30690
|
+
super();
|
|
30691
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [3, 5], this.#one_of_decls);
|
|
30692
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
30693
|
+
if ("success" in data && data.success != undefined) {
|
|
30694
|
+
this.success = data.success;
|
|
30695
|
+
}
|
|
30696
|
+
if ("message" in data && data.message != undefined) {
|
|
30697
|
+
this.message = data.message;
|
|
30698
|
+
}
|
|
30699
|
+
if ("data" in data && data.data != undefined) {
|
|
30700
|
+
this.data = data.data;
|
|
30701
|
+
}
|
|
30702
|
+
if ("pagination" in data && data.pagination != undefined) {
|
|
30703
|
+
this.pagination = data.pagination;
|
|
30704
|
+
}
|
|
30705
|
+
if ("errors" in data && data.errors != undefined) {
|
|
30706
|
+
this.errors = data.errors;
|
|
30707
|
+
}
|
|
30708
|
+
}
|
|
30709
|
+
}
|
|
30710
|
+
get success() {
|
|
30711
|
+
return pb_1.Message.getFieldWithDefault(this, 1, false);
|
|
30712
|
+
}
|
|
30713
|
+
set success(value) {
|
|
30714
|
+
pb_1.Message.setField(this, 1, value);
|
|
30715
|
+
}
|
|
30716
|
+
get message() {
|
|
30717
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
30718
|
+
}
|
|
30719
|
+
set message(value) {
|
|
30720
|
+
pb_1.Message.setField(this, 2, value);
|
|
30721
|
+
}
|
|
30722
|
+
get data() {
|
|
30723
|
+
return pb_1.Message.getRepeatedWrapperField(this, TerminalInstanceDetails, 3);
|
|
30724
|
+
}
|
|
30725
|
+
set data(value) {
|
|
30726
|
+
pb_1.Message.setRepeatedWrapperField(this, 3, value);
|
|
30727
|
+
}
|
|
30728
|
+
get pagination() {
|
|
30729
|
+
return pb_1.Message.getWrapperField(this, PaginationInfo, 4);
|
|
30730
|
+
}
|
|
30731
|
+
set pagination(value) {
|
|
30732
|
+
pb_1.Message.setWrapperField(this, 4, value);
|
|
30733
|
+
}
|
|
30734
|
+
get hasPagination() {
|
|
30735
|
+
return pb_1.Message.getField(this, 4) != null;
|
|
30736
|
+
}
|
|
30737
|
+
get errors() {
|
|
30738
|
+
return pb_1.Message.getFieldWithDefault(this, 5, []);
|
|
30739
|
+
}
|
|
30740
|
+
set errors(value) {
|
|
30741
|
+
pb_1.Message.setField(this, 5, value);
|
|
30742
|
+
}
|
|
30743
|
+
static fromObject(data) {
|
|
30744
|
+
const message = new GetMfbTerminalsResponse({});
|
|
30745
|
+
if (data.success != null) {
|
|
30746
|
+
message.success = data.success;
|
|
30747
|
+
}
|
|
30748
|
+
if (data.message != null) {
|
|
30749
|
+
message.message = data.message;
|
|
30750
|
+
}
|
|
30751
|
+
if (data.data != null) {
|
|
30752
|
+
message.data = data.data.map(item => TerminalInstanceDetails.fromObject(item));
|
|
30753
|
+
}
|
|
30754
|
+
if (data.pagination != null) {
|
|
30755
|
+
message.pagination = PaginationInfo.fromObject(data.pagination);
|
|
30756
|
+
}
|
|
30757
|
+
if (data.errors != null) {
|
|
30758
|
+
message.errors = data.errors;
|
|
30759
|
+
}
|
|
30760
|
+
return message;
|
|
30761
|
+
}
|
|
30762
|
+
toObject() {
|
|
30763
|
+
const data = {};
|
|
30764
|
+
if (this.success != null) {
|
|
30765
|
+
data.success = this.success;
|
|
30766
|
+
}
|
|
30767
|
+
if (this.message != null) {
|
|
30768
|
+
data.message = this.message;
|
|
30769
|
+
}
|
|
30770
|
+
if (this.data != null) {
|
|
30771
|
+
data.data = this.data.map((item) => item.toObject());
|
|
30772
|
+
}
|
|
30773
|
+
if (this.pagination != null) {
|
|
30774
|
+
data.pagination = this.pagination.toObject();
|
|
30775
|
+
}
|
|
30776
|
+
if (this.errors != null) {
|
|
30777
|
+
data.errors = this.errors;
|
|
30778
|
+
}
|
|
30779
|
+
return data;
|
|
30780
|
+
}
|
|
30781
|
+
serialize(w) {
|
|
30782
|
+
const writer = w || new pb_1.BinaryWriter();
|
|
30783
|
+
if (this.success != false)
|
|
30784
|
+
writer.writeBool(1, this.success);
|
|
30785
|
+
if (this.message.length)
|
|
30786
|
+
writer.writeString(2, this.message);
|
|
30787
|
+
if (this.data.length)
|
|
30788
|
+
writer.writeRepeatedMessage(3, this.data, (item) => item.serialize(writer));
|
|
30789
|
+
if (this.hasPagination)
|
|
30790
|
+
writer.writeMessage(4, this.pagination, () => this.pagination.serialize(writer));
|
|
30791
|
+
if (this.errors.length)
|
|
30792
|
+
writer.writeRepeatedString(5, this.errors);
|
|
30793
|
+
if (!w)
|
|
30794
|
+
return writer.getResultBuffer();
|
|
30795
|
+
}
|
|
30796
|
+
static deserialize(bytes) {
|
|
30797
|
+
const reader = bytes instanceof pb_1.BinaryReader ? bytes : new pb_1.BinaryReader(bytes), message = new GetMfbTerminalsResponse();
|
|
30798
|
+
while (reader.nextField()) {
|
|
30799
|
+
if (reader.isEndGroup())
|
|
30800
|
+
break;
|
|
30801
|
+
switch (reader.getFieldNumber()) {
|
|
30802
|
+
case 1:
|
|
30803
|
+
message.success = reader.readBool();
|
|
30804
|
+
break;
|
|
30805
|
+
case 2:
|
|
30806
|
+
message.message = reader.readString();
|
|
30807
|
+
break;
|
|
30808
|
+
case 3:
|
|
30809
|
+
reader.readMessage(message.data, () => pb_1.Message.addToRepeatedWrapperField(message, 3, TerminalInstanceDetails.deserialize(reader), TerminalInstanceDetails));
|
|
30810
|
+
break;
|
|
30811
|
+
case 4:
|
|
30812
|
+
reader.readMessage(message.pagination, () => message.pagination = PaginationInfo.deserialize(reader));
|
|
30813
|
+
break;
|
|
30814
|
+
case 5:
|
|
30815
|
+
pb_1.Message.addToRepeatedField(message, 5, reader.readString());
|
|
30816
|
+
break;
|
|
30817
|
+
default: reader.skipField();
|
|
30818
|
+
}
|
|
30819
|
+
}
|
|
30820
|
+
return message;
|
|
30821
|
+
}
|
|
30822
|
+
serializeBinary() {
|
|
30823
|
+
return this.serialize();
|
|
30824
|
+
}
|
|
30825
|
+
static deserializeBinary(bytes) {
|
|
30826
|
+
return GetMfbTerminalsResponse.deserialize(bytes);
|
|
30827
|
+
}
|
|
30828
|
+
}
|
|
30829
|
+
terminals.GetMfbTerminalsResponse = GetMfbTerminalsResponse;
|
|
30830
|
+
class UnimplementedTerminalServiceService {
|
|
30831
|
+
static definition = {
|
|
30832
|
+
AddTerminalInstance: {
|
|
30833
|
+
path: "/com.pkg.posv1.terminals.TerminalService/AddTerminalInstance",
|
|
30834
|
+
requestStream: false,
|
|
30835
|
+
responseStream: false,
|
|
30836
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30837
|
+
requestDeserialize: (bytes) => AddTerminalInstanceRequest.deserialize(new Uint8Array(bytes)),
|
|
30838
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30839
|
+
responseDeserialize: (bytes) => AddTerminalInstanceResponse.deserialize(new Uint8Array(bytes))
|
|
30840
|
+
},
|
|
30841
|
+
GetTerminalInstance: {
|
|
30842
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetTerminalInstance",
|
|
30843
|
+
requestStream: false,
|
|
30844
|
+
responseStream: false,
|
|
30845
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30846
|
+
requestDeserialize: (bytes) => GetTerminalInstanceRequest.deserialize(new Uint8Array(bytes)),
|
|
30847
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30848
|
+
responseDeserialize: (bytes) => GetTerminalInstanceResponse.deserialize(new Uint8Array(bytes))
|
|
30849
|
+
},
|
|
30850
|
+
UpdateTerminalInstance: {
|
|
30851
|
+
path: "/com.pkg.posv1.terminals.TerminalService/UpdateTerminalInstance",
|
|
30852
|
+
requestStream: false,
|
|
30853
|
+
responseStream: false,
|
|
30854
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30855
|
+
requestDeserialize: (bytes) => UpdateTerminalInstanceRequest.deserialize(new Uint8Array(bytes)),
|
|
30856
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30857
|
+
responseDeserialize: (bytes) => UpdateTerminalInstanceResponse.deserialize(new Uint8Array(bytes))
|
|
30858
|
+
},
|
|
30859
|
+
AssignTerminal: {
|
|
30860
|
+
path: "/com.pkg.posv1.terminals.TerminalService/AssignTerminal",
|
|
30861
|
+
requestStream: false,
|
|
30862
|
+
responseStream: false,
|
|
30863
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30864
|
+
requestDeserialize: (bytes) => AssignTerminalRequest.deserialize(new Uint8Array(bytes)),
|
|
30865
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30866
|
+
responseDeserialize: (bytes) => AssignTerminalResponse.deserialize(new Uint8Array(bytes))
|
|
30867
|
+
},
|
|
30868
|
+
UnassignTerminal: {
|
|
30869
|
+
path: "/com.pkg.posv1.terminals.TerminalService/UnassignTerminal",
|
|
30870
|
+
requestStream: false,
|
|
30871
|
+
responseStream: false,
|
|
30872
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30873
|
+
requestDeserialize: (bytes) => UnassignTerminalRequest.deserialize(new Uint8Array(bytes)),
|
|
30874
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30875
|
+
responseDeserialize: (bytes) => UnassignTerminalResponse.deserialize(new Uint8Array(bytes))
|
|
30876
|
+
},
|
|
30877
|
+
GetTerminalAssignment: {
|
|
30878
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetTerminalAssignment",
|
|
30879
|
+
requestStream: false,
|
|
30880
|
+
responseStream: false,
|
|
30881
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30882
|
+
requestDeserialize: (bytes) => GetTerminalAssignmentRequest.deserialize(new Uint8Array(bytes)),
|
|
30883
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30884
|
+
responseDeserialize: (bytes) => GetTerminalAssignmentResponse.deserialize(new Uint8Array(bytes))
|
|
30885
|
+
},
|
|
30886
|
+
GetBusinessTerminals: {
|
|
30887
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetBusinessTerminals",
|
|
30888
|
+
requestStream: false,
|
|
30889
|
+
responseStream: false,
|
|
30890
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30891
|
+
requestDeserialize: (bytes) => GetBusinessTerminalsRequest.deserialize(new Uint8Array(bytes)),
|
|
30892
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30893
|
+
responseDeserialize: (bytes) => GetBusinessTerminalsResponse.deserialize(new Uint8Array(bytes))
|
|
30894
|
+
},
|
|
30895
|
+
GetAvailableTerminals: {
|
|
30896
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetAvailableTerminals",
|
|
30897
|
+
requestStream: false,
|
|
30898
|
+
responseStream: false,
|
|
30899
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30900
|
+
requestDeserialize: (bytes) => GetAvailableTerminalsRequest.deserialize(new Uint8Array(bytes)),
|
|
30901
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30902
|
+
responseDeserialize: (bytes) => GetAvailableTerminalsResponse.deserialize(new Uint8Array(bytes))
|
|
30903
|
+
},
|
|
30904
|
+
UpdateTerminalStatus: {
|
|
30905
|
+
path: "/com.pkg.posv1.terminals.TerminalService/UpdateTerminalStatus",
|
|
30906
|
+
requestStream: false,
|
|
30907
|
+
responseStream: false,
|
|
30908
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30909
|
+
requestDeserialize: (bytes) => UpdateTerminalStatusRequest.deserialize(new Uint8Array(bytes)),
|
|
30910
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30911
|
+
responseDeserialize: (bytes) => UpdateTerminalStatusResponse.deserialize(new Uint8Array(bytes))
|
|
30912
|
+
},
|
|
30913
|
+
GetAssignmentHistory: {
|
|
30914
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetAssignmentHistory",
|
|
30915
|
+
requestStream: false,
|
|
30916
|
+
responseStream: false,
|
|
30917
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30918
|
+
requestDeserialize: (bytes) => GetAssignmentHistoryRequest.deserialize(new Uint8Array(bytes)),
|
|
30919
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30920
|
+
responseDeserialize: (bytes) => GetAssignmentHistoryResponse.deserialize(new Uint8Array(bytes))
|
|
30921
|
+
},
|
|
30922
|
+
ValidateTerminalAccess: {
|
|
30923
|
+
path: "/com.pkg.posv1.terminals.TerminalService/ValidateTerminalAccess",
|
|
30924
|
+
requestStream: false,
|
|
30925
|
+
responseStream: false,
|
|
30926
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30927
|
+
requestDeserialize: (bytes) => ValidateTerminalAccessRequest.deserialize(new Uint8Array(bytes)),
|
|
30928
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30929
|
+
responseDeserialize: (bytes) => ValidateTerminalAccessResponse.deserialize(new Uint8Array(bytes))
|
|
30930
|
+
},
|
|
30931
|
+
CreateTerminalCredential: {
|
|
30932
|
+
path: "/com.pkg.posv1.terminals.TerminalService/CreateTerminalCredential",
|
|
30933
|
+
requestStream: false,
|
|
30934
|
+
responseStream: false,
|
|
30935
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30936
|
+
requestDeserialize: (bytes) => CreateTerminalCredentialRequest.deserialize(new Uint8Array(bytes)),
|
|
30937
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30938
|
+
responseDeserialize: (bytes) => CreateTerminalCredentialResponse.deserialize(new Uint8Array(bytes))
|
|
30939
|
+
},
|
|
30940
|
+
GetTerminalCredential: {
|
|
30941
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetTerminalCredential",
|
|
30942
|
+
requestStream: false,
|
|
30943
|
+
responseStream: false,
|
|
30944
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30945
|
+
requestDeserialize: (bytes) => GetTerminalCredentialRequest.deserialize(new Uint8Array(bytes)),
|
|
30946
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30947
|
+
responseDeserialize: (bytes) => GetTerminalCredentialResponse.deserialize(new Uint8Array(bytes))
|
|
30948
|
+
},
|
|
30949
|
+
GetTerminalCredentials: {
|
|
30950
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetTerminalCredentials",
|
|
30951
|
+
requestStream: false,
|
|
30952
|
+
responseStream: false,
|
|
30953
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30954
|
+
requestDeserialize: (bytes) => GetTerminalCredentialsRequest.deserialize(new Uint8Array(bytes)),
|
|
30955
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30956
|
+
responseDeserialize: (bytes) => GetTerminalCredentialsResponse.deserialize(new Uint8Array(bytes))
|
|
30957
|
+
},
|
|
30958
|
+
UpdateTerminalCredential: {
|
|
30959
|
+
path: "/com.pkg.posv1.terminals.TerminalService/UpdateTerminalCredential",
|
|
30960
|
+
requestStream: false,
|
|
30961
|
+
responseStream: false,
|
|
30962
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30963
|
+
requestDeserialize: (bytes) => UpdateTerminalCredentialRequest.deserialize(new Uint8Array(bytes)),
|
|
30964
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30965
|
+
responseDeserialize: (bytes) => UpdateTerminalCredentialResponse.deserialize(new Uint8Array(bytes))
|
|
30966
|
+
},
|
|
30967
|
+
DeactivateTerminalCredential: {
|
|
30968
|
+
path: "/com.pkg.posv1.terminals.TerminalService/DeactivateTerminalCredential",
|
|
30969
|
+
requestStream: false,
|
|
30970
|
+
responseStream: false,
|
|
30971
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30972
|
+
requestDeserialize: (bytes) => DeactivateTerminalCredentialRequest.deserialize(new Uint8Array(bytes)),
|
|
30973
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30974
|
+
responseDeserialize: (bytes) => DeactivateTerminalCredentialResponse.deserialize(new Uint8Array(bytes))
|
|
30975
|
+
},
|
|
30976
|
+
ValidateTerminalCredential: {
|
|
30977
|
+
path: "/com.pkg.posv1.terminals.TerminalService/ValidateTerminalCredential",
|
|
30978
|
+
requestStream: false,
|
|
30979
|
+
responseStream: false,
|
|
30980
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30981
|
+
requestDeserialize: (bytes) => ValidateTerminalCredentialRequest.deserialize(new Uint8Array(bytes)),
|
|
30982
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30983
|
+
responseDeserialize: (bytes) => ValidateTerminalCredentialResponse.deserialize(new Uint8Array(bytes))
|
|
30984
|
+
},
|
|
30985
|
+
LoginTerminalCredential: {
|
|
30986
|
+
path: "/com.pkg.posv1.terminals.TerminalService/LoginTerminalCredential",
|
|
30987
|
+
requestStream: false,
|
|
30988
|
+
responseStream: false,
|
|
30989
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30990
|
+
requestDeserialize: (bytes) => LoginTerminalCredentialRequest.deserialize(new Uint8Array(bytes)),
|
|
30991
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30992
|
+
responseDeserialize: (bytes) => LoginTerminalCredentialResponse.deserialize(new Uint8Array(bytes))
|
|
30993
|
+
},
|
|
30994
|
+
LogoutTerminalCredential: {
|
|
30995
|
+
path: "/com.pkg.posv1.terminals.TerminalService/LogoutTerminalCredential",
|
|
30996
|
+
requestStream: false,
|
|
30997
|
+
responseStream: false,
|
|
30998
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
30999
|
+
requestDeserialize: (bytes) => LogoutTerminalCredentialRequest.deserialize(new Uint8Array(bytes)),
|
|
31000
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31001
|
+
responseDeserialize: (bytes) => LogoutTerminalCredentialResponse.deserialize(new Uint8Array(bytes))
|
|
31002
|
+
},
|
|
31003
|
+
ValidateSession: {
|
|
31004
|
+
path: "/com.pkg.posv1.terminals.TerminalService/ValidateSession",
|
|
31005
|
+
requestStream: false,
|
|
31006
|
+
responseStream: false,
|
|
31007
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31008
|
+
requestDeserialize: (bytes) => ValidateSessionRequest.deserialize(new Uint8Array(bytes)),
|
|
31009
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31010
|
+
responseDeserialize: (bytes) => ValidateSessionResponse.deserialize(new Uint8Array(bytes))
|
|
31011
|
+
},
|
|
31012
|
+
RefreshSession: {
|
|
31013
|
+
path: "/com.pkg.posv1.terminals.TerminalService/RefreshSession",
|
|
31014
|
+
requestStream: false,
|
|
31015
|
+
responseStream: false,
|
|
31016
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31017
|
+
requestDeserialize: (bytes) => RefreshSessionRequest.deserialize(new Uint8Array(bytes)),
|
|
31018
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31019
|
+
responseDeserialize: (bytes) => RefreshSessionResponse.deserialize(new Uint8Array(bytes))
|
|
31020
|
+
},
|
|
31021
|
+
GetActiveSessions: {
|
|
31022
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetActiveSessions",
|
|
31023
|
+
requestStream: false,
|
|
31024
|
+
responseStream: false,
|
|
31025
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31026
|
+
requestDeserialize: (bytes) => GetActiveSessionsRequest.deserialize(new Uint8Array(bytes)),
|
|
31027
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31028
|
+
responseDeserialize: (bytes) => GetActiveSessionsResponse.deserialize(new Uint8Array(bytes))
|
|
31029
|
+
},
|
|
31030
|
+
InvalidateAllSessions: {
|
|
31031
|
+
path: "/com.pkg.posv1.terminals.TerminalService/InvalidateAllSessions",
|
|
31032
|
+
requestStream: false,
|
|
31033
|
+
responseStream: false,
|
|
31034
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31035
|
+
requestDeserialize: (bytes) => InvalidateAllSessionsRequest.deserialize(new Uint8Array(bytes)),
|
|
31036
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31037
|
+
responseDeserialize: (bytes) => InvalidateAllSessionsResponse.deserialize(new Uint8Array(bytes))
|
|
31038
|
+
},
|
|
31039
|
+
BulkUploadTerminals: {
|
|
31040
|
+
path: "/com.pkg.posv1.terminals.TerminalService/BulkUploadTerminals",
|
|
31041
|
+
requestStream: false,
|
|
31042
|
+
responseStream: false,
|
|
31043
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31044
|
+
requestDeserialize: (bytes) => BulkUploadTerminalsRequest.deserialize(new Uint8Array(bytes)),
|
|
31045
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31046
|
+
responseDeserialize: (bytes) => BulkUploadTerminalsResponse.deserialize(new Uint8Array(bytes))
|
|
31047
|
+
},
|
|
31048
|
+
ChangeTerminalPin: {
|
|
31049
|
+
path: "/com.pkg.posv1.terminals.TerminalService/ChangeTerminalPin",
|
|
31050
|
+
requestStream: false,
|
|
31051
|
+
responseStream: false,
|
|
31052
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31053
|
+
requestDeserialize: (bytes) => ChangeTerminalPinRequest.deserialize(new Uint8Array(bytes)),
|
|
31054
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31055
|
+
responseDeserialize: (bytes) => ChangeTerminalPinResponse.deserialize(new Uint8Array(bytes))
|
|
31056
|
+
},
|
|
31057
|
+
GetTerminalTransactions: {
|
|
31058
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetTerminalTransactions",
|
|
31059
|
+
requestStream: false,
|
|
31060
|
+
responseStream: false,
|
|
31061
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31062
|
+
requestDeserialize: (bytes) => GetTerminalTransactionsRequest.deserialize(new Uint8Array(bytes)),
|
|
31063
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31064
|
+
responseDeserialize: (bytes) => GetTerminalTransactionsResponse.deserialize(new Uint8Array(bytes))
|
|
31065
|
+
},
|
|
31066
|
+
ExportTerminalData: {
|
|
31067
|
+
path: "/com.pkg.posv1.terminals.TerminalService/ExportTerminalData",
|
|
31068
|
+
requestStream: false,
|
|
31069
|
+
responseStream: false,
|
|
31070
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31071
|
+
requestDeserialize: (bytes) => ExportTerminalDataRequest.deserialize(new Uint8Array(bytes)),
|
|
31072
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31073
|
+
responseDeserialize: (bytes) => ExportTerminalDataResponse.deserialize(new Uint8Array(bytes))
|
|
31074
|
+
},
|
|
31075
|
+
GetTerminalAuditLogs: {
|
|
31076
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetTerminalAuditLogs",
|
|
30314
31077
|
requestStream: false,
|
|
30315
31078
|
responseStream: false,
|
|
30316
31079
|
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
@@ -30632,6 +31395,33 @@ var com;
|
|
|
30632
31395
|
requestDeserialize: (bytes) => CalculatePOSEntityChargesRequest.deserialize(new Uint8Array(bytes)),
|
|
30633
31396
|
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
30634
31397
|
responseDeserialize: (bytes) => CalculatePOSEntityChargesResponse.deserialize(new Uint8Array(bytes))
|
|
31398
|
+
},
|
|
31399
|
+
AllocateMfbTerminals: {
|
|
31400
|
+
path: "/com.pkg.posv1.terminals.TerminalService/AllocateMfbTerminals",
|
|
31401
|
+
requestStream: false,
|
|
31402
|
+
responseStream: false,
|
|
31403
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31404
|
+
requestDeserialize: (bytes) => AllocateMfbTerminalsRequest.deserialize(new Uint8Array(bytes)),
|
|
31405
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31406
|
+
responseDeserialize: (bytes) => AllocateMfbTerminalsResponse.deserialize(new Uint8Array(bytes))
|
|
31407
|
+
},
|
|
31408
|
+
DeallocateMfbTerminals: {
|
|
31409
|
+
path: "/com.pkg.posv1.terminals.TerminalService/DeallocateMfbTerminals",
|
|
31410
|
+
requestStream: false,
|
|
31411
|
+
responseStream: false,
|
|
31412
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31413
|
+
requestDeserialize: (bytes) => DeallocateMfbTerminalsRequest.deserialize(new Uint8Array(bytes)),
|
|
31414
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31415
|
+
responseDeserialize: (bytes) => DeallocateMfbTerminalsResponse.deserialize(new Uint8Array(bytes))
|
|
31416
|
+
},
|
|
31417
|
+
GetMfbTerminals: {
|
|
31418
|
+
path: "/com.pkg.posv1.terminals.TerminalService/GetMfbTerminals",
|
|
31419
|
+
requestStream: false,
|
|
31420
|
+
responseStream: false,
|
|
31421
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
31422
|
+
requestDeserialize: (bytes) => GetMfbTerminalsRequest.deserialize(new Uint8Array(bytes)),
|
|
31423
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
31424
|
+
responseDeserialize: (bytes) => GetMfbTerminalsResponse.deserialize(new Uint8Array(bytes))
|
|
30635
31425
|
}
|
|
30636
31426
|
};
|
|
30637
31427
|
}
|
|
@@ -31648,6 +32438,54 @@ var com;
|
|
|
31648
32438
|
}
|
|
31649
32439
|
}));
|
|
31650
32440
|
};
|
|
32441
|
+
AllocateMfbTerminals = (message, metadata, options) => {
|
|
32442
|
+
if (!metadata) {
|
|
32443
|
+
metadata = new grpc_1.Metadata;
|
|
32444
|
+
}
|
|
32445
|
+
if (!options) {
|
|
32446
|
+
options = {};
|
|
32447
|
+
}
|
|
32448
|
+
return new Promise((resolve, reject) => super.AllocateMfbTerminals(message, metadata, options, (error, response) => {
|
|
32449
|
+
if (error) {
|
|
32450
|
+
reject(error);
|
|
32451
|
+
}
|
|
32452
|
+
else {
|
|
32453
|
+
resolve(response);
|
|
32454
|
+
}
|
|
32455
|
+
}));
|
|
32456
|
+
};
|
|
32457
|
+
DeallocateMfbTerminals = (message, metadata, options) => {
|
|
32458
|
+
if (!metadata) {
|
|
32459
|
+
metadata = new grpc_1.Metadata;
|
|
32460
|
+
}
|
|
32461
|
+
if (!options) {
|
|
32462
|
+
options = {};
|
|
32463
|
+
}
|
|
32464
|
+
return new Promise((resolve, reject) => super.DeallocateMfbTerminals(message, metadata, options, (error, response) => {
|
|
32465
|
+
if (error) {
|
|
32466
|
+
reject(error);
|
|
32467
|
+
}
|
|
32468
|
+
else {
|
|
32469
|
+
resolve(response);
|
|
32470
|
+
}
|
|
32471
|
+
}));
|
|
32472
|
+
};
|
|
32473
|
+
GetMfbTerminals = (message, metadata, options) => {
|
|
32474
|
+
if (!metadata) {
|
|
32475
|
+
metadata = new grpc_1.Metadata;
|
|
32476
|
+
}
|
|
32477
|
+
if (!options) {
|
|
32478
|
+
options = {};
|
|
32479
|
+
}
|
|
32480
|
+
return new Promise((resolve, reject) => super.GetMfbTerminals(message, metadata, options, (error, response) => {
|
|
32481
|
+
if (error) {
|
|
32482
|
+
reject(error);
|
|
32483
|
+
}
|
|
32484
|
+
else {
|
|
32485
|
+
resolve(response);
|
|
32486
|
+
}
|
|
32487
|
+
}));
|
|
32488
|
+
};
|
|
31651
32489
|
}
|
|
31652
32490
|
terminals.TerminalServiceClient = TerminalServiceClient;
|
|
31653
32491
|
class UnimplementedBusinessContextServiceService {
|