@technova-tech/olive-proto-lib 3.0.8 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/admin/admin.js
CHANGED
|
@@ -2613,6 +2613,9 @@ var com;
|
|
|
2613
2613
|
if ("mfbId" in data && data.mfbId != undefined) {
|
|
2614
2614
|
this.mfbId = data.mfbId;
|
|
2615
2615
|
}
|
|
2616
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
2617
|
+
this.regionId = data.regionId;
|
|
2618
|
+
}
|
|
2616
2619
|
}
|
|
2617
2620
|
}
|
|
2618
2621
|
get id() {
|
|
@@ -2666,6 +2669,12 @@ var com;
|
|
|
2666
2669
|
set mfbId(value) {
|
|
2667
2670
|
pb_1.Message.setField(this, 8, value);
|
|
2668
2671
|
}
|
|
2672
|
+
get regionId() {
|
|
2673
|
+
return pb_1.Message.getFieldWithDefault(this, 9, "");
|
|
2674
|
+
}
|
|
2675
|
+
set regionId(value) {
|
|
2676
|
+
pb_1.Message.setField(this, 9, value);
|
|
2677
|
+
}
|
|
2669
2678
|
static fromObject(data) {
|
|
2670
2679
|
const message = new Admin({});
|
|
2671
2680
|
if (data.id != null) {
|
|
@@ -2692,6 +2701,9 @@ var com;
|
|
|
2692
2701
|
if (data.mfbId != null) {
|
|
2693
2702
|
message.mfbId = data.mfbId;
|
|
2694
2703
|
}
|
|
2704
|
+
if (data.regionId != null) {
|
|
2705
|
+
message.regionId = data.regionId;
|
|
2706
|
+
}
|
|
2695
2707
|
return message;
|
|
2696
2708
|
}
|
|
2697
2709
|
toObject() {
|
|
@@ -2720,6 +2732,9 @@ var com;
|
|
|
2720
2732
|
if (this.mfbId != null) {
|
|
2721
2733
|
data.mfbId = this.mfbId;
|
|
2722
2734
|
}
|
|
2735
|
+
if (this.regionId != null) {
|
|
2736
|
+
data.regionId = this.regionId;
|
|
2737
|
+
}
|
|
2723
2738
|
return data;
|
|
2724
2739
|
}
|
|
2725
2740
|
serialize(w) {
|
|
@@ -2740,6 +2755,8 @@ var com;
|
|
|
2740
2755
|
writer.writeString(7, this.phone);
|
|
2741
2756
|
if (this.mfbId.length)
|
|
2742
2757
|
writer.writeString(8, this.mfbId);
|
|
2758
|
+
if (this.regionId.length)
|
|
2759
|
+
writer.writeString(9, this.regionId);
|
|
2743
2760
|
if (!w)
|
|
2744
2761
|
return writer.getResultBuffer();
|
|
2745
2762
|
}
|
|
@@ -2773,6 +2790,9 @@ var com;
|
|
|
2773
2790
|
case 8:
|
|
2774
2791
|
message.mfbId = reader.readString();
|
|
2775
2792
|
break;
|
|
2793
|
+
case 9:
|
|
2794
|
+
message.regionId = reader.readString();
|
|
2795
|
+
break;
|
|
2776
2796
|
default: reader.skipField();
|
|
2777
2797
|
}
|
|
2778
2798
|
}
|
package/package.json
CHANGED
|
@@ -965,6 +965,15 @@ var com;
|
|
|
965
965
|
if ("settledAmountMax" in data && data.settledAmountMax != undefined) {
|
|
966
966
|
this.settledAmountMax = data.settledAmountMax;
|
|
967
967
|
}
|
|
968
|
+
if ("dataScope" in data && data.dataScope != undefined) {
|
|
969
|
+
this.dataScope = data.dataScope;
|
|
970
|
+
}
|
|
971
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
972
|
+
this.regionId = data.regionId;
|
|
973
|
+
}
|
|
974
|
+
if ("adminId" in data && data.adminId != undefined) {
|
|
975
|
+
this.adminId = data.adminId;
|
|
976
|
+
}
|
|
968
977
|
}
|
|
969
978
|
}
|
|
970
979
|
get terminalId() {
|
|
@@ -1075,6 +1084,24 @@ var com;
|
|
|
1075
1084
|
get hasSettledAmountMax() {
|
|
1076
1085
|
return pb_1.Message.getField(this, 16) != null;
|
|
1077
1086
|
}
|
|
1087
|
+
get dataScope() {
|
|
1088
|
+
return pb_1.Message.getFieldWithDefault(this, 17, "");
|
|
1089
|
+
}
|
|
1090
|
+
set dataScope(value) {
|
|
1091
|
+
pb_1.Message.setField(this, 17, value);
|
|
1092
|
+
}
|
|
1093
|
+
get regionId() {
|
|
1094
|
+
return pb_1.Message.getFieldWithDefault(this, 18, "");
|
|
1095
|
+
}
|
|
1096
|
+
set regionId(value) {
|
|
1097
|
+
pb_1.Message.setField(this, 18, value);
|
|
1098
|
+
}
|
|
1099
|
+
get adminId() {
|
|
1100
|
+
return pb_1.Message.getFieldWithDefault(this, 19, "");
|
|
1101
|
+
}
|
|
1102
|
+
set adminId(value) {
|
|
1103
|
+
pb_1.Message.setField(this, 19, value);
|
|
1104
|
+
}
|
|
1078
1105
|
get _return_all() {
|
|
1079
1106
|
const cases = {
|
|
1080
1107
|
0: "none",
|
|
@@ -1153,6 +1180,15 @@ var com;
|
|
|
1153
1180
|
if (data.settledAmountMax != null) {
|
|
1154
1181
|
message.settledAmountMax = data.settledAmountMax;
|
|
1155
1182
|
}
|
|
1183
|
+
if (data.dataScope != null) {
|
|
1184
|
+
message.dataScope = data.dataScope;
|
|
1185
|
+
}
|
|
1186
|
+
if (data.regionId != null) {
|
|
1187
|
+
message.regionId = data.regionId;
|
|
1188
|
+
}
|
|
1189
|
+
if (data.adminId != null) {
|
|
1190
|
+
message.adminId = data.adminId;
|
|
1191
|
+
}
|
|
1156
1192
|
return message;
|
|
1157
1193
|
}
|
|
1158
1194
|
toObject() {
|
|
@@ -1205,6 +1241,15 @@ var com;
|
|
|
1205
1241
|
if (this.settledAmountMax != null) {
|
|
1206
1242
|
data.settledAmountMax = this.settledAmountMax;
|
|
1207
1243
|
}
|
|
1244
|
+
if (this.dataScope != null) {
|
|
1245
|
+
data.dataScope = this.dataScope;
|
|
1246
|
+
}
|
|
1247
|
+
if (this.regionId != null) {
|
|
1248
|
+
data.regionId = this.regionId;
|
|
1249
|
+
}
|
|
1250
|
+
if (this.adminId != null) {
|
|
1251
|
+
data.adminId = this.adminId;
|
|
1252
|
+
}
|
|
1208
1253
|
return data;
|
|
1209
1254
|
}
|
|
1210
1255
|
serialize(w) {
|
|
@@ -1241,6 +1286,12 @@ var com;
|
|
|
1241
1286
|
writer.writeDouble(15, this.settledAmountMin);
|
|
1242
1287
|
if (this.hasSettledAmountMax)
|
|
1243
1288
|
writer.writeDouble(16, this.settledAmountMax);
|
|
1289
|
+
if (this.dataScope.length)
|
|
1290
|
+
writer.writeString(17, this.dataScope);
|
|
1291
|
+
if (this.regionId.length)
|
|
1292
|
+
writer.writeString(18, this.regionId);
|
|
1293
|
+
if (this.adminId.length)
|
|
1294
|
+
writer.writeString(19, this.adminId);
|
|
1244
1295
|
if (!w)
|
|
1245
1296
|
return writer.getResultBuffer();
|
|
1246
1297
|
}
|
|
@@ -1298,6 +1349,15 @@ var com;
|
|
|
1298
1349
|
case 16:
|
|
1299
1350
|
message.settledAmountMax = reader.readDouble();
|
|
1300
1351
|
break;
|
|
1352
|
+
case 17:
|
|
1353
|
+
message.dataScope = reader.readString();
|
|
1354
|
+
break;
|
|
1355
|
+
case 18:
|
|
1356
|
+
message.regionId = reader.readString();
|
|
1357
|
+
break;
|
|
1358
|
+
case 19:
|
|
1359
|
+
message.adminId = reader.readString();
|
|
1360
|
+
break;
|
|
1301
1361
|
default: reader.skipField();
|
|
1302
1362
|
}
|
|
1303
1363
|
}
|
package/types/admin/admin.d.ts
CHANGED
|
@@ -818,6 +818,7 @@ export declare namespace com.pkg.admin {
|
|
|
818
818
|
status?: string;
|
|
819
819
|
phone?: string;
|
|
820
820
|
mfbId?: string;
|
|
821
|
+
regionId?: string;
|
|
821
822
|
});
|
|
822
823
|
get id(): string;
|
|
823
824
|
set id(value: string);
|
|
@@ -836,6 +837,8 @@ export declare namespace com.pkg.admin {
|
|
|
836
837
|
set phone(value: string);
|
|
837
838
|
get mfbId(): string;
|
|
838
839
|
set mfbId(value: string);
|
|
840
|
+
get regionId(): string;
|
|
841
|
+
set regionId(value: string);
|
|
839
842
|
static fromObject(data: {
|
|
840
843
|
id?: string;
|
|
841
844
|
email?: string;
|
|
@@ -845,6 +848,7 @@ export declare namespace com.pkg.admin {
|
|
|
845
848
|
status?: string;
|
|
846
849
|
phone?: string;
|
|
847
850
|
mfbId?: string;
|
|
851
|
+
regionId?: string;
|
|
848
852
|
}): Admin;
|
|
849
853
|
toObject(): {
|
|
850
854
|
id?: string | undefined;
|
|
@@ -869,6 +873,7 @@ export declare namespace com.pkg.admin {
|
|
|
869
873
|
status?: string | undefined;
|
|
870
874
|
phone?: string | undefined;
|
|
871
875
|
mfbId?: string | undefined;
|
|
876
|
+
regionId?: string | undefined;
|
|
872
877
|
};
|
|
873
878
|
serialize(): Uint8Array;
|
|
874
879
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -938,6 +943,7 @@ export declare namespace com.pkg.admin {
|
|
|
938
943
|
status?: string | undefined;
|
|
939
944
|
phone?: string | undefined;
|
|
940
945
|
mfbId?: string | undefined;
|
|
946
|
+
regionId?: string | undefined;
|
|
941
947
|
} | undefined;
|
|
942
948
|
error?: string | undefined;
|
|
943
949
|
};
|
|
@@ -1052,6 +1058,7 @@ export declare namespace com.pkg.admin {
|
|
|
1052
1058
|
status?: string | undefined;
|
|
1053
1059
|
phone?: string | undefined;
|
|
1054
1060
|
mfbId?: string | undefined;
|
|
1061
|
+
regionId?: string | undefined;
|
|
1055
1062
|
}[] | undefined;
|
|
1056
1063
|
error?: string | undefined;
|
|
1057
1064
|
pagination?: {
|
|
@@ -1282,6 +1289,7 @@ export declare namespace com.pkg.admin {
|
|
|
1282
1289
|
status?: string | undefined;
|
|
1283
1290
|
phone?: string | undefined;
|
|
1284
1291
|
mfbId?: string | undefined;
|
|
1292
|
+
regionId?: string | undefined;
|
|
1285
1293
|
} | undefined;
|
|
1286
1294
|
} | undefined;
|
|
1287
1295
|
error?: string | undefined;
|
|
@@ -1333,6 +1341,7 @@ export declare namespace com.pkg.admin {
|
|
|
1333
1341
|
status?: string | undefined;
|
|
1334
1342
|
phone?: string | undefined;
|
|
1335
1343
|
mfbId?: string | undefined;
|
|
1344
|
+
regionId?: string | undefined;
|
|
1336
1345
|
} | undefined;
|
|
1337
1346
|
};
|
|
1338
1347
|
serialize(): Uint8Array;
|
|
@@ -1520,6 +1529,7 @@ export declare namespace com.pkg.admin {
|
|
|
1520
1529
|
status?: string | undefined;
|
|
1521
1530
|
phone?: string | undefined;
|
|
1522
1531
|
mfbId?: string | undefined;
|
|
1532
|
+
regionId?: string | undefined;
|
|
1523
1533
|
} | undefined;
|
|
1524
1534
|
metadata?: {
|
|
1525
1535
|
[key: string]: string;
|
|
@@ -1675,6 +1685,7 @@ export declare namespace com.pkg.admin {
|
|
|
1675
1685
|
status?: string | undefined;
|
|
1676
1686
|
phone?: string | undefined;
|
|
1677
1687
|
mfbId?: string | undefined;
|
|
1688
|
+
regionId?: string | undefined;
|
|
1678
1689
|
} | undefined;
|
|
1679
1690
|
metadata?: {
|
|
1680
1691
|
[key: string]: string;
|
|
@@ -332,6 +332,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
332
332
|
sortOrder?: string;
|
|
333
333
|
search?: string;
|
|
334
334
|
mfbId?: string;
|
|
335
|
+
dataScope?: string;
|
|
336
|
+
regionId?: string;
|
|
337
|
+
adminId?: string;
|
|
335
338
|
} & (({
|
|
336
339
|
returnAll?: boolean;
|
|
337
340
|
}) | ({
|
|
@@ -377,6 +380,12 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
377
380
|
get settledAmountMax(): number;
|
|
378
381
|
set settledAmountMax(value: number);
|
|
379
382
|
get hasSettledAmountMax(): boolean;
|
|
383
|
+
get dataScope(): string;
|
|
384
|
+
set dataScope(value: string);
|
|
385
|
+
get regionId(): string;
|
|
386
|
+
set regionId(value: string);
|
|
387
|
+
get adminId(): string;
|
|
388
|
+
set adminId(value: string);
|
|
380
389
|
get _return_all(): "none" | "returnAll";
|
|
381
390
|
get _is_settled(): "none" | "isSettled";
|
|
382
391
|
get _settled_amount_min(): "none" | "settledAmountMin";
|
|
@@ -398,6 +407,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
398
407
|
isSettled?: boolean;
|
|
399
408
|
settledAmountMin?: number;
|
|
400
409
|
settledAmountMax?: number;
|
|
410
|
+
dataScope?: string;
|
|
411
|
+
regionId?: string;
|
|
412
|
+
adminId?: string;
|
|
401
413
|
}): AllTransactionsFilter;
|
|
402
414
|
toObject(): {
|
|
403
415
|
terminalId?: string | undefined;
|
|
@@ -416,6 +428,9 @@ export declare namespace com.pkg.posv1.terminalTransactions {
|
|
|
416
428
|
isSettled?: boolean | undefined;
|
|
417
429
|
settledAmountMin?: number | undefined;
|
|
418
430
|
settledAmountMax?: number | undefined;
|
|
431
|
+
dataScope?: string | undefined;
|
|
432
|
+
regionId?: string | undefined;
|
|
433
|
+
adminId?: string | undefined;
|
|
419
434
|
};
|
|
420
435
|
serialize(): Uint8Array;
|
|
421
436
|
serialize(w: pb_1.BinaryWriter): void;
|