@technova-tech/olive-proto-lib 3.1.0 → 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/package.json +1 -1
- package/pos.v1/terminals.js +81 -1
- package/types/pos.v1/terminals.d.ts +20 -0
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
|
}
|
|
@@ -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;
|