@technova-tech/olive-proto-lib 1.7.9 → 1.8.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/package.json +1 -1
- package/pos.v1/terminals.js +61 -1
- package/types/pos.v1/terminals.d.ts +19 -0
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -958,6 +958,9 @@ var com;
|
|
|
958
958
|
if ("notes" in data && data.notes != undefined) {
|
|
959
959
|
this.notes = data.notes;
|
|
960
960
|
}
|
|
961
|
+
if ("processorTid" in data && data.processorTid != undefined) {
|
|
962
|
+
this.processorTid = data.processorTid;
|
|
963
|
+
}
|
|
961
964
|
}
|
|
962
965
|
if (!this.deviceConfiguration)
|
|
963
966
|
this.deviceConfiguration = new Map();
|
|
@@ -1016,6 +1019,12 @@ var com;
|
|
|
1016
1019
|
set notes(value) {
|
|
1017
1020
|
pb_1.Message.setField(this, 9, value);
|
|
1018
1021
|
}
|
|
1022
|
+
get processorTid() {
|
|
1023
|
+
return pb_1.Message.getFieldWithDefault(this, 10, "");
|
|
1024
|
+
}
|
|
1025
|
+
set processorTid(value) {
|
|
1026
|
+
pb_1.Message.setField(this, 10, value);
|
|
1027
|
+
}
|
|
1019
1028
|
static fromObject(data) {
|
|
1020
1029
|
const message = new UpdateTerminalInstanceRequest({});
|
|
1021
1030
|
if (data.instanceId != null) {
|
|
@@ -1045,6 +1054,9 @@ var com;
|
|
|
1045
1054
|
if (data.notes != null) {
|
|
1046
1055
|
message.notes = data.notes;
|
|
1047
1056
|
}
|
|
1057
|
+
if (data.processorTid != null) {
|
|
1058
|
+
message.processorTid = data.processorTid;
|
|
1059
|
+
}
|
|
1048
1060
|
return message;
|
|
1049
1061
|
}
|
|
1050
1062
|
toObject() {
|
|
@@ -1076,6 +1088,9 @@ var com;
|
|
|
1076
1088
|
if (this.notes != null) {
|
|
1077
1089
|
data.notes = this.notes;
|
|
1078
1090
|
}
|
|
1091
|
+
if (this.processorTid != null) {
|
|
1092
|
+
data.processorTid = this.processorTid;
|
|
1093
|
+
}
|
|
1079
1094
|
return data;
|
|
1080
1095
|
}
|
|
1081
1096
|
serialize(w) {
|
|
@@ -1102,6 +1117,8 @@ var com;
|
|
|
1102
1117
|
writer.writeString(8, this.updatedBy);
|
|
1103
1118
|
if (this.notes.length)
|
|
1104
1119
|
writer.writeString(9, this.notes);
|
|
1120
|
+
if (this.processorTid.length)
|
|
1121
|
+
writer.writeString(10, this.processorTid);
|
|
1105
1122
|
if (!w)
|
|
1106
1123
|
return writer.getResultBuffer();
|
|
1107
1124
|
}
|
|
@@ -1138,6 +1155,9 @@ var com;
|
|
|
1138
1155
|
case 9:
|
|
1139
1156
|
message.notes = reader.readString();
|
|
1140
1157
|
break;
|
|
1158
|
+
case 10:
|
|
1159
|
+
message.processorTid = reader.readString();
|
|
1160
|
+
break;
|
|
1141
1161
|
default: reader.skipField();
|
|
1142
1162
|
}
|
|
1143
1163
|
}
|
|
@@ -1428,6 +1448,9 @@ var com;
|
|
|
1428
1448
|
if ("functions" in data && data.functions != undefined) {
|
|
1429
1449
|
this.functions = data.functions;
|
|
1430
1450
|
}
|
|
1451
|
+
if ("processorTid" in data && data.processorTid != undefined) {
|
|
1452
|
+
this.processorTid = data.processorTid;
|
|
1453
|
+
}
|
|
1431
1454
|
}
|
|
1432
1455
|
}
|
|
1433
1456
|
get id() {
|
|
@@ -1520,6 +1543,12 @@ var com;
|
|
|
1520
1543
|
set functions(value) {
|
|
1521
1544
|
pb_1.Message.setRepeatedWrapperField(this, 15, value);
|
|
1522
1545
|
}
|
|
1546
|
+
get processorTid() {
|
|
1547
|
+
return pb_1.Message.getFieldWithDefault(this, 16, "");
|
|
1548
|
+
}
|
|
1549
|
+
set processorTid(value) {
|
|
1550
|
+
pb_1.Message.setField(this, 16, value);
|
|
1551
|
+
}
|
|
1523
1552
|
static fromObject(data) {
|
|
1524
1553
|
const message = new TerminalInstanceDetails({});
|
|
1525
1554
|
if (data.id != null) {
|
|
@@ -1567,6 +1596,9 @@ var com;
|
|
|
1567
1596
|
if (data.functions != null) {
|
|
1568
1597
|
message.functions = data.functions.map(item => TerminalFunction.fromObject(item));
|
|
1569
1598
|
}
|
|
1599
|
+
if (data.processorTid != null) {
|
|
1600
|
+
message.processorTid = data.processorTid;
|
|
1601
|
+
}
|
|
1570
1602
|
return message;
|
|
1571
1603
|
}
|
|
1572
1604
|
toObject() {
|
|
@@ -1616,6 +1648,9 @@ var com;
|
|
|
1616
1648
|
if (this.functions != null) {
|
|
1617
1649
|
data.functions = this.functions.map((item) => item.toObject());
|
|
1618
1650
|
}
|
|
1651
|
+
if (this.processorTid != null) {
|
|
1652
|
+
data.processorTid = this.processorTid;
|
|
1653
|
+
}
|
|
1619
1654
|
return data;
|
|
1620
1655
|
}
|
|
1621
1656
|
serialize(w) {
|
|
@@ -1650,6 +1685,8 @@ var com;
|
|
|
1650
1685
|
writer.writeString(14, this.updatedAt);
|
|
1651
1686
|
if (this.functions.length)
|
|
1652
1687
|
writer.writeRepeatedMessage(15, this.functions, (item) => item.serialize(writer));
|
|
1688
|
+
if (this.processorTid.length)
|
|
1689
|
+
writer.writeString(16, this.processorTid);
|
|
1653
1690
|
if (!w)
|
|
1654
1691
|
return writer.getResultBuffer();
|
|
1655
1692
|
}
|
|
@@ -1704,6 +1741,9 @@ var com;
|
|
|
1704
1741
|
case 15:
|
|
1705
1742
|
reader.readMessage(message.functions, () => pb_1.Message.addToRepeatedWrapperField(message, 15, TerminalFunction.deserialize(reader), TerminalFunction));
|
|
1706
1743
|
break;
|
|
1744
|
+
case 16:
|
|
1745
|
+
message.processorTid = reader.readString();
|
|
1746
|
+
break;
|
|
1707
1747
|
default: reader.skipField();
|
|
1708
1748
|
}
|
|
1709
1749
|
}
|
|
@@ -21963,7 +22003,7 @@ var com;
|
|
|
21963
22003
|
#one_of_decls = [];
|
|
21964
22004
|
constructor(data) {
|
|
21965
22005
|
super();
|
|
21966
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
22006
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [4], this.#one_of_decls);
|
|
21967
22007
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
21968
22008
|
if ("requestId" in data && data.requestId != undefined) {
|
|
21969
22009
|
this.requestId = data.requestId;
|
|
@@ -21974,6 +22014,9 @@ var com;
|
|
|
21974
22014
|
if ("admin" in data && data.admin != undefined) {
|
|
21975
22015
|
this.admin = data.admin;
|
|
21976
22016
|
}
|
|
22017
|
+
if ("terminals" in data && data.terminals != undefined) {
|
|
22018
|
+
this.terminals = data.terminals;
|
|
22019
|
+
}
|
|
21977
22020
|
}
|
|
21978
22021
|
}
|
|
21979
22022
|
get requestId() {
|
|
@@ -21994,6 +22037,12 @@ var com;
|
|
|
21994
22037
|
set admin(value) {
|
|
21995
22038
|
pb_1.Message.setField(this, 3, value);
|
|
21996
22039
|
}
|
|
22040
|
+
get terminals() {
|
|
22041
|
+
return pb_1.Message.getFieldWithDefault(this, 4, []);
|
|
22042
|
+
}
|
|
22043
|
+
set terminals(value) {
|
|
22044
|
+
pb_1.Message.setField(this, 4, value);
|
|
22045
|
+
}
|
|
21997
22046
|
static fromObject(data) {
|
|
21998
22047
|
const message = new ApproveTerminalRequestRequest({});
|
|
21999
22048
|
if (data.requestId != null) {
|
|
@@ -22005,6 +22054,9 @@ var com;
|
|
|
22005
22054
|
if (data.admin != null) {
|
|
22006
22055
|
message.admin = data.admin;
|
|
22007
22056
|
}
|
|
22057
|
+
if (data.terminals != null) {
|
|
22058
|
+
message.terminals = data.terminals;
|
|
22059
|
+
}
|
|
22008
22060
|
return message;
|
|
22009
22061
|
}
|
|
22010
22062
|
toObject() {
|
|
@@ -22018,6 +22070,9 @@ var com;
|
|
|
22018
22070
|
if (this.admin != null) {
|
|
22019
22071
|
data.admin = this.admin;
|
|
22020
22072
|
}
|
|
22073
|
+
if (this.terminals != null) {
|
|
22074
|
+
data.terminals = this.terminals;
|
|
22075
|
+
}
|
|
22021
22076
|
return data;
|
|
22022
22077
|
}
|
|
22023
22078
|
serialize(w) {
|
|
@@ -22028,6 +22083,8 @@ var com;
|
|
|
22028
22083
|
writer.writeString(2, this.reason);
|
|
22029
22084
|
if (this.admin.length)
|
|
22030
22085
|
writer.writeString(3, this.admin);
|
|
22086
|
+
if (this.terminals.length)
|
|
22087
|
+
writer.writeRepeatedString(4, this.terminals);
|
|
22031
22088
|
if (!w)
|
|
22032
22089
|
return writer.getResultBuffer();
|
|
22033
22090
|
}
|
|
@@ -22046,6 +22103,9 @@ var com;
|
|
|
22046
22103
|
case 3:
|
|
22047
22104
|
message.admin = reader.readString();
|
|
22048
22105
|
break;
|
|
22106
|
+
case 4:
|
|
22107
|
+
pb_1.Message.addToRepeatedField(message, 4, reader.readString());
|
|
22108
|
+
break;
|
|
22049
22109
|
default: reader.skipField();
|
|
22050
22110
|
}
|
|
22051
22111
|
}
|
|
@@ -202,6 +202,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
202
202
|
description?: string | undefined;
|
|
203
203
|
enabled?: boolean | undefined;
|
|
204
204
|
}[] | undefined;
|
|
205
|
+
processorTid?: string | undefined;
|
|
205
206
|
}[] | undefined;
|
|
206
207
|
terminalType?: {
|
|
207
208
|
id?: string | undefined;
|
|
@@ -295,6 +296,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
295
296
|
description?: string | undefined;
|
|
296
297
|
enabled?: boolean | undefined;
|
|
297
298
|
}[] | undefined;
|
|
299
|
+
processorTid?: string | undefined;
|
|
298
300
|
} | undefined;
|
|
299
301
|
errors?: string[] | undefined;
|
|
300
302
|
};
|
|
@@ -316,6 +318,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
316
318
|
deviceConfiguration?: Map<string, string>;
|
|
317
319
|
updatedBy?: string;
|
|
318
320
|
notes?: string;
|
|
321
|
+
processorTid?: string;
|
|
319
322
|
});
|
|
320
323
|
get instanceId(): string;
|
|
321
324
|
set instanceId(value: string);
|
|
@@ -335,6 +338,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
335
338
|
set updatedBy(value: string);
|
|
336
339
|
get notes(): string;
|
|
337
340
|
set notes(value: string);
|
|
341
|
+
get processorTid(): string;
|
|
342
|
+
set processorTid(value: string);
|
|
338
343
|
static fromObject(data: {
|
|
339
344
|
instanceId?: string;
|
|
340
345
|
status?: string;
|
|
@@ -347,6 +352,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
347
352
|
};
|
|
348
353
|
updatedBy?: string;
|
|
349
354
|
notes?: string;
|
|
355
|
+
processorTid?: string;
|
|
350
356
|
}): UpdateTerminalInstanceRequest;
|
|
351
357
|
toObject(): {
|
|
352
358
|
instanceId?: string | undefined;
|
|
@@ -360,6 +366,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
360
366
|
} | undefined;
|
|
361
367
|
updatedBy?: string | undefined;
|
|
362
368
|
notes?: string | undefined;
|
|
369
|
+
processorTid?: string | undefined;
|
|
363
370
|
};
|
|
364
371
|
serialize(): Uint8Array;
|
|
365
372
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -414,6 +421,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
414
421
|
description?: string | undefined;
|
|
415
422
|
enabled?: boolean | undefined;
|
|
416
423
|
}[] | undefined;
|
|
424
|
+
processorTid?: string | undefined;
|
|
417
425
|
} | undefined;
|
|
418
426
|
errors?: string[] | undefined;
|
|
419
427
|
};
|
|
@@ -464,6 +472,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
464
472
|
description?: string | undefined;
|
|
465
473
|
enabled?: boolean | undefined;
|
|
466
474
|
}[] | undefined;
|
|
475
|
+
processorTid?: string | undefined;
|
|
467
476
|
}[] | undefined;
|
|
468
477
|
terminalType?: {
|
|
469
478
|
id?: string | undefined;
|
|
@@ -497,6 +506,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
497
506
|
createdAt?: string;
|
|
498
507
|
updatedAt?: string;
|
|
499
508
|
functions?: TerminalFunction[];
|
|
509
|
+
processorTid?: string;
|
|
500
510
|
});
|
|
501
511
|
get id(): string;
|
|
502
512
|
set id(value: string);
|
|
@@ -528,6 +538,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
528
538
|
set updatedAt(value: string);
|
|
529
539
|
get functions(): TerminalFunction[];
|
|
530
540
|
set functions(value: TerminalFunction[]);
|
|
541
|
+
get processorTid(): string;
|
|
542
|
+
set processorTid(value: string);
|
|
531
543
|
static fromObject(data: {
|
|
532
544
|
id?: string;
|
|
533
545
|
terminalInstanceId?: string;
|
|
@@ -544,6 +556,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
544
556
|
createdAt?: string;
|
|
545
557
|
updatedAt?: string;
|
|
546
558
|
functions?: ReturnType<typeof TerminalFunction.prototype.toObject>[];
|
|
559
|
+
processorTid?: string;
|
|
547
560
|
}): TerminalInstanceDetails;
|
|
548
561
|
toObject(): {
|
|
549
562
|
id?: string | undefined;
|
|
@@ -566,6 +579,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
566
579
|
description?: string | undefined;
|
|
567
580
|
enabled?: boolean | undefined;
|
|
568
581
|
}[] | undefined;
|
|
582
|
+
processorTid?: string | undefined;
|
|
569
583
|
};
|
|
570
584
|
serialize(): Uint8Array;
|
|
571
585
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -7444,6 +7458,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
7444
7458
|
requestId?: string;
|
|
7445
7459
|
reason?: string;
|
|
7446
7460
|
admin?: string;
|
|
7461
|
+
terminals?: string[];
|
|
7447
7462
|
});
|
|
7448
7463
|
get requestId(): string;
|
|
7449
7464
|
set requestId(value: string);
|
|
@@ -7451,15 +7466,19 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
7451
7466
|
set reason(value: string);
|
|
7452
7467
|
get admin(): string;
|
|
7453
7468
|
set admin(value: string);
|
|
7469
|
+
get terminals(): string[];
|
|
7470
|
+
set terminals(value: string[]);
|
|
7454
7471
|
static fromObject(data: {
|
|
7455
7472
|
requestId?: string;
|
|
7456
7473
|
reason?: string;
|
|
7457
7474
|
admin?: string;
|
|
7475
|
+
terminals?: string[];
|
|
7458
7476
|
}): ApproveTerminalRequestRequest;
|
|
7459
7477
|
toObject(): {
|
|
7460
7478
|
requestId?: string | undefined;
|
|
7461
7479
|
reason?: string | undefined;
|
|
7462
7480
|
admin?: string | undefined;
|
|
7481
|
+
terminals?: string[] | undefined;
|
|
7463
7482
|
};
|
|
7464
7483
|
serialize(): Uint8Array;
|
|
7465
7484
|
serialize(w: pb_1.BinaryWriter): void;
|