@technova-tech/olive-proto-lib 3.1.2 → 3.1.4
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 +141 -1
- package/types/pos.v1/terminals.d.ts +35 -0
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -25882,6 +25882,15 @@ var com;
|
|
|
25882
25882
|
if ("includeExceeded" in data && data.includeExceeded != undefined) {
|
|
25883
25883
|
this.includeExceeded = data.includeExceeded;
|
|
25884
25884
|
}
|
|
25885
|
+
if ("dataScope" in data && data.dataScope != undefined) {
|
|
25886
|
+
this.dataScope = data.dataScope;
|
|
25887
|
+
}
|
|
25888
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
25889
|
+
this.regionId = data.regionId;
|
|
25890
|
+
}
|
|
25891
|
+
if ("adminId" in data && data.adminId != undefined) {
|
|
25892
|
+
this.adminId = data.adminId;
|
|
25893
|
+
}
|
|
25885
25894
|
}
|
|
25886
25895
|
}
|
|
25887
25896
|
get entityType() {
|
|
@@ -25911,6 +25920,24 @@ var com;
|
|
|
25911
25920
|
set includeExceeded(value) {
|
|
25912
25921
|
pb_1.Message.setField(this, 4, value);
|
|
25913
25922
|
}
|
|
25923
|
+
get dataScope() {
|
|
25924
|
+
return pb_1.Message.getFieldWithDefault(this, 5, "");
|
|
25925
|
+
}
|
|
25926
|
+
set dataScope(value) {
|
|
25927
|
+
pb_1.Message.setField(this, 5, value);
|
|
25928
|
+
}
|
|
25929
|
+
get regionId() {
|
|
25930
|
+
return pb_1.Message.getFieldWithDefault(this, 6, "");
|
|
25931
|
+
}
|
|
25932
|
+
set regionId(value) {
|
|
25933
|
+
pb_1.Message.setField(this, 6, value);
|
|
25934
|
+
}
|
|
25935
|
+
get adminId() {
|
|
25936
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "");
|
|
25937
|
+
}
|
|
25938
|
+
set adminId(value) {
|
|
25939
|
+
pb_1.Message.setField(this, 7, value);
|
|
25940
|
+
}
|
|
25914
25941
|
get _limit_type() {
|
|
25915
25942
|
const cases = {
|
|
25916
25943
|
0: "none",
|
|
@@ -25932,6 +25959,15 @@ var com;
|
|
|
25932
25959
|
if (data.includeExceeded != null) {
|
|
25933
25960
|
message.includeExceeded = data.includeExceeded;
|
|
25934
25961
|
}
|
|
25962
|
+
if (data.dataScope != null) {
|
|
25963
|
+
message.dataScope = data.dataScope;
|
|
25964
|
+
}
|
|
25965
|
+
if (data.regionId != null) {
|
|
25966
|
+
message.regionId = data.regionId;
|
|
25967
|
+
}
|
|
25968
|
+
if (data.adminId != null) {
|
|
25969
|
+
message.adminId = data.adminId;
|
|
25970
|
+
}
|
|
25935
25971
|
return message;
|
|
25936
25972
|
}
|
|
25937
25973
|
toObject() {
|
|
@@ -25948,6 +25984,15 @@ var com;
|
|
|
25948
25984
|
if (this.includeExceeded != null) {
|
|
25949
25985
|
data.includeExceeded = this.includeExceeded;
|
|
25950
25986
|
}
|
|
25987
|
+
if (this.dataScope != null) {
|
|
25988
|
+
data.dataScope = this.dataScope;
|
|
25989
|
+
}
|
|
25990
|
+
if (this.regionId != null) {
|
|
25991
|
+
data.regionId = this.regionId;
|
|
25992
|
+
}
|
|
25993
|
+
if (this.adminId != null) {
|
|
25994
|
+
data.adminId = this.adminId;
|
|
25995
|
+
}
|
|
25951
25996
|
return data;
|
|
25952
25997
|
}
|
|
25953
25998
|
serialize(w) {
|
|
@@ -25960,6 +26005,12 @@ var com;
|
|
|
25960
26005
|
writer.writeString(3, this.limitType);
|
|
25961
26006
|
if (this.includeExceeded != false)
|
|
25962
26007
|
writer.writeBool(4, this.includeExceeded);
|
|
26008
|
+
if (this.dataScope.length)
|
|
26009
|
+
writer.writeString(5, this.dataScope);
|
|
26010
|
+
if (this.regionId.length)
|
|
26011
|
+
writer.writeString(6, this.regionId);
|
|
26012
|
+
if (this.adminId.length)
|
|
26013
|
+
writer.writeString(7, this.adminId);
|
|
25963
26014
|
if (!w)
|
|
25964
26015
|
return writer.getResultBuffer();
|
|
25965
26016
|
}
|
|
@@ -25981,6 +26032,15 @@ var com;
|
|
|
25981
26032
|
case 4:
|
|
25982
26033
|
message.includeExceeded = reader.readBool();
|
|
25983
26034
|
break;
|
|
26035
|
+
case 5:
|
|
26036
|
+
message.dataScope = reader.readString();
|
|
26037
|
+
break;
|
|
26038
|
+
case 6:
|
|
26039
|
+
message.regionId = reader.readString();
|
|
26040
|
+
break;
|
|
26041
|
+
case 7:
|
|
26042
|
+
message.adminId = reader.readString();
|
|
26043
|
+
break;
|
|
25984
26044
|
default: reader.skipField();
|
|
25985
26045
|
}
|
|
25986
26046
|
}
|
|
@@ -28970,7 +29030,7 @@ var com;
|
|
|
28970
29030
|
#one_of_decls = [[3]];
|
|
28971
29031
|
constructor(data) {
|
|
28972
29032
|
super();
|
|
28973
|
-
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
29033
|
+
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [11], this.#one_of_decls);
|
|
28974
29034
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
28975
29035
|
if ("entityType" in data && data.entityType != undefined) {
|
|
28976
29036
|
this.entityType = data.entityType;
|
|
@@ -28993,6 +29053,18 @@ var com;
|
|
|
28993
29053
|
if ("limit" in data && data.limit != undefined) {
|
|
28994
29054
|
this.limit = data.limit;
|
|
28995
29055
|
}
|
|
29056
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
29057
|
+
this.regionId = data.regionId;
|
|
29058
|
+
}
|
|
29059
|
+
if ("dataScope" in data && data.dataScope != undefined) {
|
|
29060
|
+
this.dataScope = data.dataScope;
|
|
29061
|
+
}
|
|
29062
|
+
if ("adminId" in data && data.adminId != undefined) {
|
|
29063
|
+
this.adminId = data.adminId;
|
|
29064
|
+
}
|
|
29065
|
+
if ("admins" in data && data.admins != undefined) {
|
|
29066
|
+
this.admins = data.admins;
|
|
29067
|
+
}
|
|
28996
29068
|
}
|
|
28997
29069
|
}
|
|
28998
29070
|
get entityType() {
|
|
@@ -29040,6 +29112,30 @@ var com;
|
|
|
29040
29112
|
set limit(value) {
|
|
29041
29113
|
pb_1.Message.setField(this, 7, value);
|
|
29042
29114
|
}
|
|
29115
|
+
get regionId() {
|
|
29116
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
29117
|
+
}
|
|
29118
|
+
set regionId(value) {
|
|
29119
|
+
pb_1.Message.setField(this, 8, value);
|
|
29120
|
+
}
|
|
29121
|
+
get dataScope() {
|
|
29122
|
+
return pb_1.Message.getFieldWithDefault(this, 9, "");
|
|
29123
|
+
}
|
|
29124
|
+
set dataScope(value) {
|
|
29125
|
+
pb_1.Message.setField(this, 9, value);
|
|
29126
|
+
}
|
|
29127
|
+
get adminId() {
|
|
29128
|
+
return pb_1.Message.getFieldWithDefault(this, 10, "");
|
|
29129
|
+
}
|
|
29130
|
+
set adminId(value) {
|
|
29131
|
+
pb_1.Message.setField(this, 10, value);
|
|
29132
|
+
}
|
|
29133
|
+
get admins() {
|
|
29134
|
+
return pb_1.Message.getFieldWithDefault(this, 11, []);
|
|
29135
|
+
}
|
|
29136
|
+
set admins(value) {
|
|
29137
|
+
pb_1.Message.setField(this, 11, value);
|
|
29138
|
+
}
|
|
29043
29139
|
get _charge_type() {
|
|
29044
29140
|
const cases = {
|
|
29045
29141
|
0: "none",
|
|
@@ -29070,6 +29166,18 @@ var com;
|
|
|
29070
29166
|
if (data.limit != null) {
|
|
29071
29167
|
message.limit = data.limit;
|
|
29072
29168
|
}
|
|
29169
|
+
if (data.regionId != null) {
|
|
29170
|
+
message.regionId = data.regionId;
|
|
29171
|
+
}
|
|
29172
|
+
if (data.dataScope != null) {
|
|
29173
|
+
message.dataScope = data.dataScope;
|
|
29174
|
+
}
|
|
29175
|
+
if (data.adminId != null) {
|
|
29176
|
+
message.adminId = data.adminId;
|
|
29177
|
+
}
|
|
29178
|
+
if (data.admins != null) {
|
|
29179
|
+
message.admins = data.admins;
|
|
29180
|
+
}
|
|
29073
29181
|
return message;
|
|
29074
29182
|
}
|
|
29075
29183
|
toObject() {
|
|
@@ -29095,6 +29203,18 @@ var com;
|
|
|
29095
29203
|
if (this.limit != null) {
|
|
29096
29204
|
data.limit = this.limit;
|
|
29097
29205
|
}
|
|
29206
|
+
if (this.regionId != null) {
|
|
29207
|
+
data.regionId = this.regionId;
|
|
29208
|
+
}
|
|
29209
|
+
if (this.dataScope != null) {
|
|
29210
|
+
data.dataScope = this.dataScope;
|
|
29211
|
+
}
|
|
29212
|
+
if (this.adminId != null) {
|
|
29213
|
+
data.adminId = this.adminId;
|
|
29214
|
+
}
|
|
29215
|
+
if (this.admins != null) {
|
|
29216
|
+
data.admins = this.admins;
|
|
29217
|
+
}
|
|
29098
29218
|
return data;
|
|
29099
29219
|
}
|
|
29100
29220
|
serialize(w) {
|
|
@@ -29113,6 +29233,14 @@ var com;
|
|
|
29113
29233
|
writer.writeInt32(6, this.page);
|
|
29114
29234
|
if (this.limit != 0)
|
|
29115
29235
|
writer.writeInt32(7, this.limit);
|
|
29236
|
+
if (this.regionId.length)
|
|
29237
|
+
writer.writeString(8, this.regionId);
|
|
29238
|
+
if (this.dataScope.length)
|
|
29239
|
+
writer.writeString(9, this.dataScope);
|
|
29240
|
+
if (this.adminId.length)
|
|
29241
|
+
writer.writeString(10, this.adminId);
|
|
29242
|
+
if (this.admins.length)
|
|
29243
|
+
writer.writeRepeatedString(11, this.admins);
|
|
29116
29244
|
if (!w)
|
|
29117
29245
|
return writer.getResultBuffer();
|
|
29118
29246
|
}
|
|
@@ -29143,6 +29271,18 @@ var com;
|
|
|
29143
29271
|
case 7:
|
|
29144
29272
|
message.limit = reader.readInt32();
|
|
29145
29273
|
break;
|
|
29274
|
+
case 8:
|
|
29275
|
+
message.regionId = reader.readString();
|
|
29276
|
+
break;
|
|
29277
|
+
case 9:
|
|
29278
|
+
message.dataScope = reader.readString();
|
|
29279
|
+
break;
|
|
29280
|
+
case 10:
|
|
29281
|
+
message.adminId = reader.readString();
|
|
29282
|
+
break;
|
|
29283
|
+
case 11:
|
|
29284
|
+
pb_1.Message.addToRepeatedField(message, 11, reader.readString());
|
|
29285
|
+
break;
|
|
29146
29286
|
default: reader.skipField();
|
|
29147
29287
|
}
|
|
29148
29288
|
}
|
|
@@ -8693,6 +8693,9 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
8693
8693
|
entityType?: string;
|
|
8694
8694
|
entityId?: string;
|
|
8695
8695
|
includeExceeded?: boolean;
|
|
8696
|
+
dataScope?: string;
|
|
8697
|
+
regionId?: string;
|
|
8698
|
+
adminId?: string;
|
|
8696
8699
|
} & (({
|
|
8697
8700
|
limitType?: string;
|
|
8698
8701
|
}))));
|
|
@@ -8705,18 +8708,30 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
8705
8708
|
get hasLimitType(): boolean;
|
|
8706
8709
|
get includeExceeded(): boolean;
|
|
8707
8710
|
set includeExceeded(value: boolean);
|
|
8711
|
+
get dataScope(): string;
|
|
8712
|
+
set dataScope(value: string);
|
|
8713
|
+
get regionId(): string;
|
|
8714
|
+
set regionId(value: string);
|
|
8715
|
+
get adminId(): string;
|
|
8716
|
+
set adminId(value: string);
|
|
8708
8717
|
get _limit_type(): "none" | "limitType";
|
|
8709
8718
|
static fromObject(data: {
|
|
8710
8719
|
entityType?: string;
|
|
8711
8720
|
entityId?: string;
|
|
8712
8721
|
limitType?: string;
|
|
8713
8722
|
includeExceeded?: boolean;
|
|
8723
|
+
dataScope?: string;
|
|
8724
|
+
regionId?: string;
|
|
8725
|
+
adminId?: string;
|
|
8714
8726
|
}): GetPOSEntityLimitsRequest;
|
|
8715
8727
|
toObject(): {
|
|
8716
8728
|
entityType?: string | undefined;
|
|
8717
8729
|
entityId?: string | undefined;
|
|
8718
8730
|
limitType?: string | undefined;
|
|
8719
8731
|
includeExceeded?: boolean | undefined;
|
|
8732
|
+
dataScope?: string | undefined;
|
|
8733
|
+
regionId?: string | undefined;
|
|
8734
|
+
adminId?: string | undefined;
|
|
8720
8735
|
};
|
|
8721
8736
|
serialize(): Uint8Array;
|
|
8722
8737
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -9746,6 +9761,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
9746
9761
|
includeDeleted?: boolean;
|
|
9747
9762
|
page?: number;
|
|
9748
9763
|
limit?: number;
|
|
9764
|
+
regionId?: string;
|
|
9765
|
+
dataScope?: string;
|
|
9766
|
+
adminId?: string;
|
|
9767
|
+
admins?: string[];
|
|
9749
9768
|
} & (({
|
|
9750
9769
|
chargeType?: string;
|
|
9751
9770
|
}))));
|
|
@@ -9764,6 +9783,14 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
9764
9783
|
set page(value: number);
|
|
9765
9784
|
get limit(): number;
|
|
9766
9785
|
set limit(value: number);
|
|
9786
|
+
get regionId(): string;
|
|
9787
|
+
set regionId(value: string);
|
|
9788
|
+
get dataScope(): string;
|
|
9789
|
+
set dataScope(value: string);
|
|
9790
|
+
get adminId(): string;
|
|
9791
|
+
set adminId(value: string);
|
|
9792
|
+
get admins(): string[];
|
|
9793
|
+
set admins(value: string[]);
|
|
9767
9794
|
get _charge_type(): "chargeType" | "none";
|
|
9768
9795
|
static fromObject(data: {
|
|
9769
9796
|
entityType?: string;
|
|
@@ -9773,6 +9800,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
9773
9800
|
includeDeleted?: boolean;
|
|
9774
9801
|
page?: number;
|
|
9775
9802
|
limit?: number;
|
|
9803
|
+
regionId?: string;
|
|
9804
|
+
dataScope?: string;
|
|
9805
|
+
adminId?: string;
|
|
9806
|
+
admins?: string[];
|
|
9776
9807
|
}): GetPOSEntityChargesRequest;
|
|
9777
9808
|
toObject(): {
|
|
9778
9809
|
entityType?: string | undefined;
|
|
@@ -9782,6 +9813,10 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
9782
9813
|
includeDeleted?: boolean | undefined;
|
|
9783
9814
|
page?: number | undefined;
|
|
9784
9815
|
limit?: number | undefined;
|
|
9816
|
+
regionId?: string | undefined;
|
|
9817
|
+
dataScope?: string | undefined;
|
|
9818
|
+
adminId?: string | undefined;
|
|
9819
|
+
admins?: string[] | undefined;
|
|
9785
9820
|
};
|
|
9786
9821
|
serialize(): Uint8Array;
|
|
9787
9822
|
serialize(w: pb_1.BinaryWriter): void;
|