@technova-tech/olive-proto-lib 3.0.9 → 3.1.1
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 +20 -0
- package/package.json +1 -1
- package/pos.v1/terminals.js +81 -1
- package/types/admin/admin.d.ts +11 -0
- package/types/pos.v1/terminals.d.ts +20 -0
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
package/pos.v1/terminals.js
CHANGED
|
@@ -23824,7 +23824,7 @@ var com;
|
|
|
23824
23824
|
#one_of_decls = [];
|
|
23825
23825
|
constructor(data) {
|
|
23826
23826
|
super();
|
|
23827
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
23827
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [12], this.#one_of_decls);
|
|
23828
23828
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
23829
23829
|
if ("terminalInstanceId" in data && data.terminalInstanceId != undefined) {
|
|
23830
23830
|
this.terminalInstanceId = data.terminalInstanceId;
|
|
@@ -23850,6 +23850,18 @@ var com;
|
|
|
23850
23850
|
if ("to" in data && data.to != undefined) {
|
|
23851
23851
|
this.to = data.to;
|
|
23852
23852
|
}
|
|
23853
|
+
if ("dataScope" in data && data.dataScope != undefined) {
|
|
23854
|
+
this.dataScope = data.dataScope;
|
|
23855
|
+
}
|
|
23856
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
23857
|
+
this.regionId = data.regionId;
|
|
23858
|
+
}
|
|
23859
|
+
if ("adminId" in data && data.adminId != undefined) {
|
|
23860
|
+
this.adminId = data.adminId;
|
|
23861
|
+
}
|
|
23862
|
+
if ("admins" in data && data.admins != undefined) {
|
|
23863
|
+
this.admins = data.admins;
|
|
23864
|
+
}
|
|
23853
23865
|
}
|
|
23854
23866
|
}
|
|
23855
23867
|
get terminalInstanceId() {
|
|
@@ -23900,6 +23912,30 @@ var com;
|
|
|
23900
23912
|
set to(value) {
|
|
23901
23913
|
pb_1.Message.setField(this, 8, value);
|
|
23902
23914
|
}
|
|
23915
|
+
get dataScope() {
|
|
23916
|
+
return pb_1.Message.getFieldWithDefault(this, 9, "");
|
|
23917
|
+
}
|
|
23918
|
+
set dataScope(value) {
|
|
23919
|
+
pb_1.Message.setField(this, 9, value);
|
|
23920
|
+
}
|
|
23921
|
+
get regionId() {
|
|
23922
|
+
return pb_1.Message.getFieldWithDefault(this, 10, "");
|
|
23923
|
+
}
|
|
23924
|
+
set regionId(value) {
|
|
23925
|
+
pb_1.Message.setField(this, 10, value);
|
|
23926
|
+
}
|
|
23927
|
+
get adminId() {
|
|
23928
|
+
return pb_1.Message.getFieldWithDefault(this, 11, "");
|
|
23929
|
+
}
|
|
23930
|
+
set adminId(value) {
|
|
23931
|
+
pb_1.Message.setField(this, 11, value);
|
|
23932
|
+
}
|
|
23933
|
+
get admins() {
|
|
23934
|
+
return pb_1.Message.getFieldWithDefault(this, 12, []);
|
|
23935
|
+
}
|
|
23936
|
+
set admins(value) {
|
|
23937
|
+
pb_1.Message.setField(this, 12, value);
|
|
23938
|
+
}
|
|
23903
23939
|
static fromObject(data) {
|
|
23904
23940
|
const message = new TerminalFilterRequest({});
|
|
23905
23941
|
if (data.terminalInstanceId != null) {
|
|
@@ -23926,6 +23962,18 @@ var com;
|
|
|
23926
23962
|
if (data.to != null) {
|
|
23927
23963
|
message.to = data.to;
|
|
23928
23964
|
}
|
|
23965
|
+
if (data.dataScope != null) {
|
|
23966
|
+
message.dataScope = data.dataScope;
|
|
23967
|
+
}
|
|
23968
|
+
if (data.regionId != null) {
|
|
23969
|
+
message.regionId = data.regionId;
|
|
23970
|
+
}
|
|
23971
|
+
if (data.adminId != null) {
|
|
23972
|
+
message.adminId = data.adminId;
|
|
23973
|
+
}
|
|
23974
|
+
if (data.admins != null) {
|
|
23975
|
+
message.admins = data.admins;
|
|
23976
|
+
}
|
|
23929
23977
|
return message;
|
|
23930
23978
|
}
|
|
23931
23979
|
toObject() {
|
|
@@ -23954,6 +24002,18 @@ var com;
|
|
|
23954
24002
|
if (this.to != null) {
|
|
23955
24003
|
data.to = this.to;
|
|
23956
24004
|
}
|
|
24005
|
+
if (this.dataScope != null) {
|
|
24006
|
+
data.dataScope = this.dataScope;
|
|
24007
|
+
}
|
|
24008
|
+
if (this.regionId != null) {
|
|
24009
|
+
data.regionId = this.regionId;
|
|
24010
|
+
}
|
|
24011
|
+
if (this.adminId != null) {
|
|
24012
|
+
data.adminId = this.adminId;
|
|
24013
|
+
}
|
|
24014
|
+
if (this.admins != null) {
|
|
24015
|
+
data.admins = this.admins;
|
|
24016
|
+
}
|
|
23957
24017
|
return data;
|
|
23958
24018
|
}
|
|
23959
24019
|
serialize(w) {
|
|
@@ -23974,6 +24034,14 @@ var com;
|
|
|
23974
24034
|
writer.writeString(7, this.from);
|
|
23975
24035
|
if (this.to.length)
|
|
23976
24036
|
writer.writeString(8, this.to);
|
|
24037
|
+
if (this.dataScope.length)
|
|
24038
|
+
writer.writeString(9, this.dataScope);
|
|
24039
|
+
if (this.regionId.length)
|
|
24040
|
+
writer.writeString(10, this.regionId);
|
|
24041
|
+
if (this.adminId.length)
|
|
24042
|
+
writer.writeString(11, this.adminId);
|
|
24043
|
+
if (this.admins.length)
|
|
24044
|
+
writer.writeRepeatedString(12, this.admins);
|
|
23977
24045
|
if (!w)
|
|
23978
24046
|
return writer.getResultBuffer();
|
|
23979
24047
|
}
|
|
@@ -24007,6 +24075,18 @@ var com;
|
|
|
24007
24075
|
case 8:
|
|
24008
24076
|
message.to = reader.readString();
|
|
24009
24077
|
break;
|
|
24078
|
+
case 9:
|
|
24079
|
+
message.dataScope = reader.readString();
|
|
24080
|
+
break;
|
|
24081
|
+
case 10:
|
|
24082
|
+
message.regionId = reader.readString();
|
|
24083
|
+
break;
|
|
24084
|
+
case 11:
|
|
24085
|
+
message.adminId = reader.readString();
|
|
24086
|
+
break;
|
|
24087
|
+
case 12:
|
|
24088
|
+
pb_1.Message.addToRepeatedField(message, 12, reader.readString());
|
|
24089
|
+
break;
|
|
24010
24090
|
default: reader.skipField();
|
|
24011
24091
|
}
|
|
24012
24092
|
}
|
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;
|
|
@@ -8004,6 +8004,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
8004
8004
|
limit?: string;
|
|
8005
8005
|
from?: string;
|
|
8006
8006
|
to?: string;
|
|
8007
|
+
dataScope?: string;
|
|
8008
|
+
regionId?: string;
|
|
8009
|
+
adminId?: string;
|
|
8010
|
+
admins?: string[];
|
|
8007
8011
|
});
|
|
8008
8012
|
get terminalInstanceId(): string;
|
|
8009
8013
|
set terminalInstanceId(value: string);
|
|
@@ -8021,6 +8025,14 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
8021
8025
|
set from(value: string);
|
|
8022
8026
|
get to(): string;
|
|
8023
8027
|
set to(value: string);
|
|
8028
|
+
get dataScope(): string;
|
|
8029
|
+
set dataScope(value: string);
|
|
8030
|
+
get regionId(): string;
|
|
8031
|
+
set regionId(value: string);
|
|
8032
|
+
get adminId(): string;
|
|
8033
|
+
set adminId(value: string);
|
|
8034
|
+
get admins(): string[];
|
|
8035
|
+
set admins(value: string[]);
|
|
8024
8036
|
static fromObject(data: {
|
|
8025
8037
|
terminalInstanceId?: string;
|
|
8026
8038
|
outlet?: string;
|
|
@@ -8030,6 +8042,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
8030
8042
|
limit?: string;
|
|
8031
8043
|
from?: string;
|
|
8032
8044
|
to?: string;
|
|
8045
|
+
dataScope?: string;
|
|
8046
|
+
regionId?: string;
|
|
8047
|
+
adminId?: string;
|
|
8048
|
+
admins?: string[];
|
|
8033
8049
|
}): TerminalFilterRequest;
|
|
8034
8050
|
toObject(): {
|
|
8035
8051
|
terminalInstanceId?: string | undefined;
|
|
@@ -8040,6 +8056,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
8040
8056
|
limit?: string | undefined;
|
|
8041
8057
|
from?: string | undefined;
|
|
8042
8058
|
to?: string | undefined;
|
|
8059
|
+
dataScope?: string | undefined;
|
|
8060
|
+
regionId?: string | undefined;
|
|
8061
|
+
adminId?: string | undefined;
|
|
8062
|
+
admins?: string[] | undefined;
|
|
8043
8063
|
};
|
|
8044
8064
|
serialize(): Uint8Array;
|
|
8045
8065
|
serialize(w: pb_1.BinaryWriter): void;
|