@technova-tech/olive-proto-lib 1.7.3 → 1.7.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 +102 -1
- package/types/pos.v1/terminals.d.ts +31 -3
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -3330,6 +3330,12 @@ var com;
|
|
|
3330
3330
|
if ("search" in data && data.search != undefined) {
|
|
3331
3331
|
this.search = data.search;
|
|
3332
3332
|
}
|
|
3333
|
+
if ("from" in data && data.from != undefined) {
|
|
3334
|
+
this.from = data.from;
|
|
3335
|
+
}
|
|
3336
|
+
if ("to" in data && data.to != undefined) {
|
|
3337
|
+
this.to = data.to;
|
|
3338
|
+
}
|
|
3333
3339
|
}
|
|
3334
3340
|
}
|
|
3335
3341
|
get terminalTypeId() {
|
|
@@ -3362,6 +3368,18 @@ var com;
|
|
|
3362
3368
|
set search(value) {
|
|
3363
3369
|
pb_1.Message.setField(this, 5, value);
|
|
3364
3370
|
}
|
|
3371
|
+
get from() {
|
|
3372
|
+
return pb_1.Message.getFieldWithDefault(this, 6, "");
|
|
3373
|
+
}
|
|
3374
|
+
set from(value) {
|
|
3375
|
+
pb_1.Message.setField(this, 6, value);
|
|
3376
|
+
}
|
|
3377
|
+
get to() {
|
|
3378
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "");
|
|
3379
|
+
}
|
|
3380
|
+
set to(value) {
|
|
3381
|
+
pb_1.Message.setField(this, 7, value);
|
|
3382
|
+
}
|
|
3365
3383
|
static fromObject(data) {
|
|
3366
3384
|
const message = new GetAvailableTerminalsRequest({});
|
|
3367
3385
|
if (data.terminalTypeId != null) {
|
|
@@ -3379,6 +3397,12 @@ var com;
|
|
|
3379
3397
|
if (data.search != null) {
|
|
3380
3398
|
message.search = data.search;
|
|
3381
3399
|
}
|
|
3400
|
+
if (data.from != null) {
|
|
3401
|
+
message.from = data.from;
|
|
3402
|
+
}
|
|
3403
|
+
if (data.to != null) {
|
|
3404
|
+
message.to = data.to;
|
|
3405
|
+
}
|
|
3382
3406
|
return message;
|
|
3383
3407
|
}
|
|
3384
3408
|
toObject() {
|
|
@@ -3398,6 +3422,12 @@ var com;
|
|
|
3398
3422
|
if (this.search != null) {
|
|
3399
3423
|
data.search = this.search;
|
|
3400
3424
|
}
|
|
3425
|
+
if (this.from != null) {
|
|
3426
|
+
data.from = this.from;
|
|
3427
|
+
}
|
|
3428
|
+
if (this.to != null) {
|
|
3429
|
+
data.to = this.to;
|
|
3430
|
+
}
|
|
3401
3431
|
return data;
|
|
3402
3432
|
}
|
|
3403
3433
|
serialize(w) {
|
|
@@ -3412,6 +3442,10 @@ var com;
|
|
|
3412
3442
|
writer.writeInt32(4, this.limit);
|
|
3413
3443
|
if (this.search.length)
|
|
3414
3444
|
writer.writeString(5, this.search);
|
|
3445
|
+
if (this.from.length)
|
|
3446
|
+
writer.writeString(6, this.from);
|
|
3447
|
+
if (this.to.length)
|
|
3448
|
+
writer.writeString(7, this.to);
|
|
3415
3449
|
if (!w)
|
|
3416
3450
|
return writer.getResultBuffer();
|
|
3417
3451
|
}
|
|
@@ -3436,6 +3470,12 @@ var com;
|
|
|
3436
3470
|
case 5:
|
|
3437
3471
|
message.search = reader.readString();
|
|
3438
3472
|
break;
|
|
3473
|
+
case 6:
|
|
3474
|
+
message.from = reader.readString();
|
|
3475
|
+
break;
|
|
3476
|
+
case 7:
|
|
3477
|
+
message.to = reader.readString();
|
|
3478
|
+
break;
|
|
3439
3479
|
default: reader.skipField();
|
|
3440
3480
|
}
|
|
3441
3481
|
}
|
|
@@ -14011,18 +14051,70 @@ var com;
|
|
|
14011
14051
|
constructor(data) {
|
|
14012
14052
|
super();
|
|
14013
14053
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
14014
|
-
if (!Array.isArray(data) && typeof data == "object") {
|
|
14054
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
14055
|
+
if ("from" in data && data.from != undefined) {
|
|
14056
|
+
this.from = data.from;
|
|
14057
|
+
}
|
|
14058
|
+
if ("to" in data && data.to != undefined) {
|
|
14059
|
+
this.to = data.to;
|
|
14060
|
+
}
|
|
14061
|
+
if ("duration" in data && data.duration != undefined) {
|
|
14062
|
+
this.duration = data.duration;
|
|
14063
|
+
}
|
|
14064
|
+
}
|
|
14065
|
+
}
|
|
14066
|
+
get from() {
|
|
14067
|
+
return pb_1.Message.getFieldWithDefault(this, 1, "");
|
|
14068
|
+
}
|
|
14069
|
+
set from(value) {
|
|
14070
|
+
pb_1.Message.setField(this, 1, value);
|
|
14071
|
+
}
|
|
14072
|
+
get to() {
|
|
14073
|
+
return pb_1.Message.getFieldWithDefault(this, 2, "");
|
|
14074
|
+
}
|
|
14075
|
+
set to(value) {
|
|
14076
|
+
pb_1.Message.setField(this, 2, value);
|
|
14077
|
+
}
|
|
14078
|
+
get duration() {
|
|
14079
|
+
return pb_1.Message.getFieldWithDefault(this, 3, "");
|
|
14080
|
+
}
|
|
14081
|
+
set duration(value) {
|
|
14082
|
+
pb_1.Message.setField(this, 3, value);
|
|
14015
14083
|
}
|
|
14016
14084
|
static fromObject(data) {
|
|
14017
14085
|
const message = new GetDashboardStatisticsRequest({});
|
|
14086
|
+
if (data.from != null) {
|
|
14087
|
+
message.from = data.from;
|
|
14088
|
+
}
|
|
14089
|
+
if (data.to != null) {
|
|
14090
|
+
message.to = data.to;
|
|
14091
|
+
}
|
|
14092
|
+
if (data.duration != null) {
|
|
14093
|
+
message.duration = data.duration;
|
|
14094
|
+
}
|
|
14018
14095
|
return message;
|
|
14019
14096
|
}
|
|
14020
14097
|
toObject() {
|
|
14021
14098
|
const data = {};
|
|
14099
|
+
if (this.from != null) {
|
|
14100
|
+
data.from = this.from;
|
|
14101
|
+
}
|
|
14102
|
+
if (this.to != null) {
|
|
14103
|
+
data.to = this.to;
|
|
14104
|
+
}
|
|
14105
|
+
if (this.duration != null) {
|
|
14106
|
+
data.duration = this.duration;
|
|
14107
|
+
}
|
|
14022
14108
|
return data;
|
|
14023
14109
|
}
|
|
14024
14110
|
serialize(w) {
|
|
14025
14111
|
const writer = w || new pb_1.BinaryWriter();
|
|
14112
|
+
if (this.from.length)
|
|
14113
|
+
writer.writeString(1, this.from);
|
|
14114
|
+
if (this.to.length)
|
|
14115
|
+
writer.writeString(2, this.to);
|
|
14116
|
+
if (this.duration.length)
|
|
14117
|
+
writer.writeString(3, this.duration);
|
|
14026
14118
|
if (!w)
|
|
14027
14119
|
return writer.getResultBuffer();
|
|
14028
14120
|
}
|
|
@@ -14032,6 +14124,15 @@ var com;
|
|
|
14032
14124
|
if (reader.isEndGroup())
|
|
14033
14125
|
break;
|
|
14034
14126
|
switch (reader.getFieldNumber()) {
|
|
14127
|
+
case 1:
|
|
14128
|
+
message.from = reader.readString();
|
|
14129
|
+
break;
|
|
14130
|
+
case 2:
|
|
14131
|
+
message.to = reader.readString();
|
|
14132
|
+
break;
|
|
14133
|
+
case 3:
|
|
14134
|
+
message.duration = reader.readString();
|
|
14135
|
+
break;
|
|
14035
14136
|
default: reader.skipField();
|
|
14036
14137
|
}
|
|
14037
14138
|
}
|
|
@@ -1225,6 +1225,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1225
1225
|
page?: number;
|
|
1226
1226
|
limit?: number;
|
|
1227
1227
|
search?: string;
|
|
1228
|
+
from?: string;
|
|
1229
|
+
to?: string;
|
|
1228
1230
|
});
|
|
1229
1231
|
get terminalTypeId(): string;
|
|
1230
1232
|
set terminalTypeId(value: string);
|
|
@@ -1236,12 +1238,18 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1236
1238
|
set limit(value: number);
|
|
1237
1239
|
get search(): string;
|
|
1238
1240
|
set search(value: string);
|
|
1241
|
+
get from(): string;
|
|
1242
|
+
set from(value: string);
|
|
1243
|
+
get to(): string;
|
|
1244
|
+
set to(value: string);
|
|
1239
1245
|
static fromObject(data: {
|
|
1240
1246
|
terminalTypeId?: string;
|
|
1241
1247
|
location?: string;
|
|
1242
1248
|
page?: number;
|
|
1243
1249
|
limit?: number;
|
|
1244
1250
|
search?: string;
|
|
1251
|
+
from?: string;
|
|
1252
|
+
to?: string;
|
|
1245
1253
|
}): GetAvailableTerminalsRequest;
|
|
1246
1254
|
toObject(): {
|
|
1247
1255
|
terminalTypeId?: string | undefined;
|
|
@@ -1249,6 +1257,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1249
1257
|
page?: number | undefined;
|
|
1250
1258
|
limit?: number | undefined;
|
|
1251
1259
|
search?: string | undefined;
|
|
1260
|
+
from?: string | undefined;
|
|
1261
|
+
to?: string | undefined;
|
|
1252
1262
|
};
|
|
1253
1263
|
serialize(): Uint8Array;
|
|
1254
1264
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -4885,9 +4895,27 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
4885
4895
|
}
|
|
4886
4896
|
export class GetDashboardStatisticsRequest extends pb_1.Message {
|
|
4887
4897
|
#private;
|
|
4888
|
-
constructor(data?: any[] | {
|
|
4889
|
-
|
|
4890
|
-
|
|
4898
|
+
constructor(data?: any[] | {
|
|
4899
|
+
from?: string;
|
|
4900
|
+
to?: string;
|
|
4901
|
+
duration?: string;
|
|
4902
|
+
});
|
|
4903
|
+
get from(): string;
|
|
4904
|
+
set from(value: string);
|
|
4905
|
+
get to(): string;
|
|
4906
|
+
set to(value: string);
|
|
4907
|
+
get duration(): string;
|
|
4908
|
+
set duration(value: string);
|
|
4909
|
+
static fromObject(data: {
|
|
4910
|
+
from?: string;
|
|
4911
|
+
to?: string;
|
|
4912
|
+
duration?: string;
|
|
4913
|
+
}): GetDashboardStatisticsRequest;
|
|
4914
|
+
toObject(): {
|
|
4915
|
+
from?: string | undefined;
|
|
4916
|
+
to?: string | undefined;
|
|
4917
|
+
duration?: string | undefined;
|
|
4918
|
+
};
|
|
4891
4919
|
serialize(): Uint8Array;
|
|
4892
4920
|
serialize(w: pb_1.BinaryWriter): void;
|
|
4893
4921
|
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetDashboardStatisticsRequest;
|