@technova-tech/olive-proto-lib 3.0.3 → 3.0.5
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
CHANGED
package/pos.v1/terminal-types.js
CHANGED
|
@@ -381,6 +381,12 @@ var com;
|
|
|
381
381
|
if ("inStock" in data && data.inStock != undefined) {
|
|
382
382
|
this.inStock = data.inStock;
|
|
383
383
|
}
|
|
384
|
+
if ("adminId" in data && data.adminId != undefined) {
|
|
385
|
+
this.adminId = data.adminId;
|
|
386
|
+
}
|
|
387
|
+
if ("dataScope" in data && data.dataScope != undefined) {
|
|
388
|
+
this.dataScope = data.dataScope;
|
|
389
|
+
}
|
|
384
390
|
}
|
|
385
391
|
}
|
|
386
392
|
get status() {
|
|
@@ -425,6 +431,18 @@ var com;
|
|
|
425
431
|
set inStock(value) {
|
|
426
432
|
pb_1.Message.setField(this, 7, value);
|
|
427
433
|
}
|
|
434
|
+
get adminId() {
|
|
435
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
436
|
+
}
|
|
437
|
+
set adminId(value) {
|
|
438
|
+
pb_1.Message.setField(this, 8, value);
|
|
439
|
+
}
|
|
440
|
+
get dataScope() {
|
|
441
|
+
return pb_1.Message.getFieldWithDefault(this, 9, "");
|
|
442
|
+
}
|
|
443
|
+
set dataScope(value) {
|
|
444
|
+
pb_1.Message.setField(this, 9, value);
|
|
445
|
+
}
|
|
428
446
|
static fromObject(data) {
|
|
429
447
|
const message = new GetTerminalTypesRequest({});
|
|
430
448
|
if (data.status != null) {
|
|
@@ -448,6 +466,12 @@ var com;
|
|
|
448
466
|
if (data.inStock != null) {
|
|
449
467
|
message.inStock = data.inStock;
|
|
450
468
|
}
|
|
469
|
+
if (data.adminId != null) {
|
|
470
|
+
message.adminId = data.adminId;
|
|
471
|
+
}
|
|
472
|
+
if (data.dataScope != null) {
|
|
473
|
+
message.dataScope = data.dataScope;
|
|
474
|
+
}
|
|
451
475
|
return message;
|
|
452
476
|
}
|
|
453
477
|
toObject() {
|
|
@@ -473,6 +497,12 @@ var com;
|
|
|
473
497
|
if (this.inStock != null) {
|
|
474
498
|
data.inStock = this.inStock;
|
|
475
499
|
}
|
|
500
|
+
if (this.adminId != null) {
|
|
501
|
+
data.adminId = this.adminId;
|
|
502
|
+
}
|
|
503
|
+
if (this.dataScope != null) {
|
|
504
|
+
data.dataScope = this.dataScope;
|
|
505
|
+
}
|
|
476
506
|
return data;
|
|
477
507
|
}
|
|
478
508
|
serialize(w) {
|
|
@@ -491,6 +521,10 @@ var com;
|
|
|
491
521
|
writer.writeDouble(6, this.priceMax);
|
|
492
522
|
if (this.inStock != false)
|
|
493
523
|
writer.writeBool(7, this.inStock);
|
|
524
|
+
if (this.adminId.length)
|
|
525
|
+
writer.writeString(8, this.adminId);
|
|
526
|
+
if (this.dataScope.length)
|
|
527
|
+
writer.writeString(9, this.dataScope);
|
|
494
528
|
if (!w)
|
|
495
529
|
return writer.getResultBuffer();
|
|
496
530
|
}
|
|
@@ -521,6 +555,12 @@ var com;
|
|
|
521
555
|
case 7:
|
|
522
556
|
message.inStock = reader.readBool();
|
|
523
557
|
break;
|
|
558
|
+
case 8:
|
|
559
|
+
message.adminId = reader.readString();
|
|
560
|
+
break;
|
|
561
|
+
case 9:
|
|
562
|
+
message.dataScope = reader.readString();
|
|
563
|
+
break;
|
|
524
564
|
default: reader.skipField();
|
|
525
565
|
}
|
|
526
566
|
}
|
package/pos.v1/terminals.js
CHANGED
|
@@ -3754,6 +3754,15 @@ var com;
|
|
|
3754
3754
|
if ("status" in data && data.status != undefined) {
|
|
3755
3755
|
this.status = data.status;
|
|
3756
3756
|
}
|
|
3757
|
+
if ("dataScope" in data && data.dataScope != undefined) {
|
|
3758
|
+
this.dataScope = data.dataScope;
|
|
3759
|
+
}
|
|
3760
|
+
if ("regionId" in data && data.regionId != undefined) {
|
|
3761
|
+
this.regionId = data.regionId;
|
|
3762
|
+
}
|
|
3763
|
+
if ("adminId" in data && data.adminId != undefined) {
|
|
3764
|
+
this.adminId = data.adminId;
|
|
3765
|
+
}
|
|
3757
3766
|
}
|
|
3758
3767
|
}
|
|
3759
3768
|
get terminalTypeId() {
|
|
@@ -3804,6 +3813,24 @@ var com;
|
|
|
3804
3813
|
set status(value) {
|
|
3805
3814
|
pb_1.Message.setField(this, 8, value);
|
|
3806
3815
|
}
|
|
3816
|
+
get dataScope() {
|
|
3817
|
+
return pb_1.Message.getFieldWithDefault(this, 9, "");
|
|
3818
|
+
}
|
|
3819
|
+
set dataScope(value) {
|
|
3820
|
+
pb_1.Message.setField(this, 9, value);
|
|
3821
|
+
}
|
|
3822
|
+
get regionId() {
|
|
3823
|
+
return pb_1.Message.getFieldWithDefault(this, 10, "");
|
|
3824
|
+
}
|
|
3825
|
+
set regionId(value) {
|
|
3826
|
+
pb_1.Message.setField(this, 10, value);
|
|
3827
|
+
}
|
|
3828
|
+
get adminId() {
|
|
3829
|
+
return pb_1.Message.getFieldWithDefault(this, 11, "");
|
|
3830
|
+
}
|
|
3831
|
+
set adminId(value) {
|
|
3832
|
+
pb_1.Message.setField(this, 11, value);
|
|
3833
|
+
}
|
|
3807
3834
|
static fromObject(data) {
|
|
3808
3835
|
const message = new GetAvailableTerminalsRequest({});
|
|
3809
3836
|
if (data.terminalTypeId != null) {
|
|
@@ -3830,6 +3857,15 @@ var com;
|
|
|
3830
3857
|
if (data.status != null) {
|
|
3831
3858
|
message.status = data.status;
|
|
3832
3859
|
}
|
|
3860
|
+
if (data.dataScope != null) {
|
|
3861
|
+
message.dataScope = data.dataScope;
|
|
3862
|
+
}
|
|
3863
|
+
if (data.regionId != null) {
|
|
3864
|
+
message.regionId = data.regionId;
|
|
3865
|
+
}
|
|
3866
|
+
if (data.adminId != null) {
|
|
3867
|
+
message.adminId = data.adminId;
|
|
3868
|
+
}
|
|
3833
3869
|
return message;
|
|
3834
3870
|
}
|
|
3835
3871
|
toObject() {
|
|
@@ -3858,6 +3894,15 @@ var com;
|
|
|
3858
3894
|
if (this.status != null) {
|
|
3859
3895
|
data.status = this.status;
|
|
3860
3896
|
}
|
|
3897
|
+
if (this.dataScope != null) {
|
|
3898
|
+
data.dataScope = this.dataScope;
|
|
3899
|
+
}
|
|
3900
|
+
if (this.regionId != null) {
|
|
3901
|
+
data.regionId = this.regionId;
|
|
3902
|
+
}
|
|
3903
|
+
if (this.adminId != null) {
|
|
3904
|
+
data.adminId = this.adminId;
|
|
3905
|
+
}
|
|
3861
3906
|
return data;
|
|
3862
3907
|
}
|
|
3863
3908
|
serialize(w) {
|
|
@@ -3878,6 +3923,12 @@ var com;
|
|
|
3878
3923
|
writer.writeString(7, this.to);
|
|
3879
3924
|
if (this.status.length)
|
|
3880
3925
|
writer.writeString(8, this.status);
|
|
3926
|
+
if (this.dataScope.length)
|
|
3927
|
+
writer.writeString(9, this.dataScope);
|
|
3928
|
+
if (this.regionId.length)
|
|
3929
|
+
writer.writeString(10, this.regionId);
|
|
3930
|
+
if (this.adminId.length)
|
|
3931
|
+
writer.writeString(11, this.adminId);
|
|
3881
3932
|
if (!w)
|
|
3882
3933
|
return writer.getResultBuffer();
|
|
3883
3934
|
}
|
|
@@ -3911,6 +3962,15 @@ var com;
|
|
|
3911
3962
|
case 8:
|
|
3912
3963
|
message.status = reader.readString();
|
|
3913
3964
|
break;
|
|
3965
|
+
case 9:
|
|
3966
|
+
message.dataScope = reader.readString();
|
|
3967
|
+
break;
|
|
3968
|
+
case 10:
|
|
3969
|
+
message.regionId = reader.readString();
|
|
3970
|
+
break;
|
|
3971
|
+
case 11:
|
|
3972
|
+
message.adminId = reader.readString();
|
|
3973
|
+
break;
|
|
3914
3974
|
default: reader.skipField();
|
|
3915
3975
|
}
|
|
3916
3976
|
}
|
|
@@ -96,6 +96,8 @@ export declare namespace com.pkg.posv1.terminalTypes {
|
|
|
96
96
|
priceMin?: number;
|
|
97
97
|
priceMax?: number;
|
|
98
98
|
inStock?: boolean;
|
|
99
|
+
adminId?: string;
|
|
100
|
+
dataScope?: string;
|
|
99
101
|
});
|
|
100
102
|
get status(): string;
|
|
101
103
|
set status(value: string);
|
|
@@ -111,6 +113,10 @@ export declare namespace com.pkg.posv1.terminalTypes {
|
|
|
111
113
|
set priceMax(value: number);
|
|
112
114
|
get inStock(): boolean;
|
|
113
115
|
set inStock(value: boolean);
|
|
116
|
+
get adminId(): string;
|
|
117
|
+
set adminId(value: string);
|
|
118
|
+
get dataScope(): string;
|
|
119
|
+
set dataScope(value: string);
|
|
114
120
|
static fromObject(data: {
|
|
115
121
|
status?: string;
|
|
116
122
|
category?: string;
|
|
@@ -119,6 +125,8 @@ export declare namespace com.pkg.posv1.terminalTypes {
|
|
|
119
125
|
priceMin?: number;
|
|
120
126
|
priceMax?: number;
|
|
121
127
|
inStock?: boolean;
|
|
128
|
+
adminId?: string;
|
|
129
|
+
dataScope?: string;
|
|
122
130
|
}): GetTerminalTypesRequest;
|
|
123
131
|
toObject(): {
|
|
124
132
|
status?: string | undefined;
|
|
@@ -128,6 +136,8 @@ export declare namespace com.pkg.posv1.terminalTypes {
|
|
|
128
136
|
priceMin?: number | undefined;
|
|
129
137
|
priceMax?: number | undefined;
|
|
130
138
|
inStock?: boolean | undefined;
|
|
139
|
+
adminId?: string | undefined;
|
|
140
|
+
dataScope?: string | undefined;
|
|
131
141
|
};
|
|
132
142
|
serialize(): Uint8Array;
|
|
133
143
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -1354,6 +1354,9 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1354
1354
|
from?: string;
|
|
1355
1355
|
to?: string;
|
|
1356
1356
|
status?: string;
|
|
1357
|
+
dataScope?: string;
|
|
1358
|
+
regionId?: string;
|
|
1359
|
+
adminId?: string;
|
|
1357
1360
|
});
|
|
1358
1361
|
get terminalTypeId(): string;
|
|
1359
1362
|
set terminalTypeId(value: string);
|
|
@@ -1371,6 +1374,12 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1371
1374
|
set to(value: string);
|
|
1372
1375
|
get status(): string;
|
|
1373
1376
|
set status(value: string);
|
|
1377
|
+
get dataScope(): string;
|
|
1378
|
+
set dataScope(value: string);
|
|
1379
|
+
get regionId(): string;
|
|
1380
|
+
set regionId(value: string);
|
|
1381
|
+
get adminId(): string;
|
|
1382
|
+
set adminId(value: string);
|
|
1374
1383
|
static fromObject(data: {
|
|
1375
1384
|
terminalTypeId?: string;
|
|
1376
1385
|
location?: string;
|
|
@@ -1380,6 +1389,9 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1380
1389
|
from?: string;
|
|
1381
1390
|
to?: string;
|
|
1382
1391
|
status?: string;
|
|
1392
|
+
dataScope?: string;
|
|
1393
|
+
regionId?: string;
|
|
1394
|
+
adminId?: string;
|
|
1383
1395
|
}): GetAvailableTerminalsRequest;
|
|
1384
1396
|
toObject(): {
|
|
1385
1397
|
terminalTypeId?: string | undefined;
|
|
@@ -1390,6 +1402,9 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1390
1402
|
from?: string | undefined;
|
|
1391
1403
|
to?: string | undefined;
|
|
1392
1404
|
status?: string | undefined;
|
|
1405
|
+
dataScope?: string | undefined;
|
|
1406
|
+
regionId?: string | undefined;
|
|
1407
|
+
adminId?: string | undefined;
|
|
1393
1408
|
};
|
|
1394
1409
|
serialize(): Uint8Array;
|
|
1395
1410
|
serialize(w: pb_1.BinaryWriter): void;
|