@technova-tech/olive-proto-lib 1.7.6 → 1.7.8
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/business/business.js +40 -0
- package/package.json +1 -1
- package/pos.v1/terminals.js +20 -0
- package/terminal/terminal.js +40 -0
- package/types/business/business.d.ts +10 -0
- package/types/pos.v1/terminals.d.ts +5 -0
- package/types/terminal/terminal.d.ts +10 -0
package/business/business.js
CHANGED
|
@@ -9292,6 +9292,12 @@ var com;
|
|
|
9292
9292
|
if ("limit" in data && data.limit != undefined) {
|
|
9293
9293
|
this.limit = data.limit;
|
|
9294
9294
|
}
|
|
9295
|
+
if ("from" in data && data.from != undefined) {
|
|
9296
|
+
this.from = data.from;
|
|
9297
|
+
}
|
|
9298
|
+
if ("to" in data && data.to != undefined) {
|
|
9299
|
+
this.to = data.to;
|
|
9300
|
+
}
|
|
9295
9301
|
}
|
|
9296
9302
|
}
|
|
9297
9303
|
get tid() {
|
|
@@ -9330,6 +9336,18 @@ var com;
|
|
|
9330
9336
|
set limit(value) {
|
|
9331
9337
|
pb_1.Message.setField(this, 6, value);
|
|
9332
9338
|
}
|
|
9339
|
+
get from() {
|
|
9340
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "");
|
|
9341
|
+
}
|
|
9342
|
+
set from(value) {
|
|
9343
|
+
pb_1.Message.setField(this, 7, value);
|
|
9344
|
+
}
|
|
9345
|
+
get to() {
|
|
9346
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
9347
|
+
}
|
|
9348
|
+
set to(value) {
|
|
9349
|
+
pb_1.Message.setField(this, 8, value);
|
|
9350
|
+
}
|
|
9333
9351
|
static fromObject(data) {
|
|
9334
9352
|
const message = new TerminalFilterRequest({});
|
|
9335
9353
|
if (data.tid != null) {
|
|
@@ -9350,6 +9368,12 @@ var com;
|
|
|
9350
9368
|
if (data.limit != null) {
|
|
9351
9369
|
message.limit = data.limit;
|
|
9352
9370
|
}
|
|
9371
|
+
if (data.from != null) {
|
|
9372
|
+
message.from = data.from;
|
|
9373
|
+
}
|
|
9374
|
+
if (data.to != null) {
|
|
9375
|
+
message.to = data.to;
|
|
9376
|
+
}
|
|
9353
9377
|
return message;
|
|
9354
9378
|
}
|
|
9355
9379
|
toObject() {
|
|
@@ -9372,6 +9396,12 @@ var com;
|
|
|
9372
9396
|
if (this.limit != null) {
|
|
9373
9397
|
data.limit = this.limit;
|
|
9374
9398
|
}
|
|
9399
|
+
if (this.from != null) {
|
|
9400
|
+
data.from = this.from;
|
|
9401
|
+
}
|
|
9402
|
+
if (this.to != null) {
|
|
9403
|
+
data.to = this.to;
|
|
9404
|
+
}
|
|
9375
9405
|
return data;
|
|
9376
9406
|
}
|
|
9377
9407
|
serialize(w) {
|
|
@@ -9388,6 +9418,10 @@ var com;
|
|
|
9388
9418
|
writer.writeString(5, this.page);
|
|
9389
9419
|
if (this.limit.length)
|
|
9390
9420
|
writer.writeString(6, this.limit);
|
|
9421
|
+
if (this.from.length)
|
|
9422
|
+
writer.writeString(7, this.from);
|
|
9423
|
+
if (this.to.length)
|
|
9424
|
+
writer.writeString(8, this.to);
|
|
9391
9425
|
if (!w)
|
|
9392
9426
|
return writer.getResultBuffer();
|
|
9393
9427
|
}
|
|
@@ -9415,6 +9449,12 @@ var com;
|
|
|
9415
9449
|
case 6:
|
|
9416
9450
|
message.limit = reader.readString();
|
|
9417
9451
|
break;
|
|
9452
|
+
case 7:
|
|
9453
|
+
message.from = reader.readString();
|
|
9454
|
+
break;
|
|
9455
|
+
case 8:
|
|
9456
|
+
message.to = reader.readString();
|
|
9457
|
+
break;
|
|
9418
9458
|
default: reader.skipField();
|
|
9419
9459
|
}
|
|
9420
9460
|
}
|
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -349,6 +349,9 @@ var com;
|
|
|
349
349
|
if ("quantity" in data && data.quantity != undefined) {
|
|
350
350
|
this.quantity = data.quantity;
|
|
351
351
|
}
|
|
352
|
+
if ("processorTid" in data && data.processorTid != undefined) {
|
|
353
|
+
this.processorTid = data.processorTid;
|
|
354
|
+
}
|
|
352
355
|
}
|
|
353
356
|
if (!this.deviceConfiguration)
|
|
354
357
|
this.deviceConfiguration = new Map();
|
|
@@ -413,6 +416,12 @@ var com;
|
|
|
413
416
|
set quantity(value) {
|
|
414
417
|
pb_1.Message.setField(this, 10, value);
|
|
415
418
|
}
|
|
419
|
+
get processorTid() {
|
|
420
|
+
return pb_1.Message.getFieldWithDefault(this, 11, "");
|
|
421
|
+
}
|
|
422
|
+
set processorTid(value) {
|
|
423
|
+
pb_1.Message.setField(this, 11, value);
|
|
424
|
+
}
|
|
416
425
|
static fromObject(data) {
|
|
417
426
|
const message = new AddTerminalInstanceRequest({});
|
|
418
427
|
if (data.terminalTypeId != null) {
|
|
@@ -445,6 +454,9 @@ var com;
|
|
|
445
454
|
if (data.quantity != null) {
|
|
446
455
|
message.quantity = data.quantity;
|
|
447
456
|
}
|
|
457
|
+
if (data.processorTid != null) {
|
|
458
|
+
message.processorTid = data.processorTid;
|
|
459
|
+
}
|
|
448
460
|
return message;
|
|
449
461
|
}
|
|
450
462
|
toObject() {
|
|
@@ -479,6 +491,9 @@ var com;
|
|
|
479
491
|
if (this.quantity != null) {
|
|
480
492
|
data.quantity = this.quantity;
|
|
481
493
|
}
|
|
494
|
+
if (this.processorTid != null) {
|
|
495
|
+
data.processorTid = this.processorTid;
|
|
496
|
+
}
|
|
482
497
|
return data;
|
|
483
498
|
}
|
|
484
499
|
serialize(w) {
|
|
@@ -507,6 +522,8 @@ var com;
|
|
|
507
522
|
writer.writeString(9, this.notes);
|
|
508
523
|
if (this.quantity != 0)
|
|
509
524
|
writer.writeInt32(10, this.quantity);
|
|
525
|
+
if (this.processorTid.length)
|
|
526
|
+
writer.writeString(11, this.processorTid);
|
|
510
527
|
if (!w)
|
|
511
528
|
return writer.getResultBuffer();
|
|
512
529
|
}
|
|
@@ -546,6 +563,9 @@ var com;
|
|
|
546
563
|
case 10:
|
|
547
564
|
message.quantity = reader.readInt32();
|
|
548
565
|
break;
|
|
566
|
+
case 11:
|
|
567
|
+
message.processorTid = reader.readString();
|
|
568
|
+
break;
|
|
549
569
|
default: reader.skipField();
|
|
550
570
|
}
|
|
551
571
|
}
|
package/terminal/terminal.js
CHANGED
|
@@ -5746,6 +5746,12 @@ var com;
|
|
|
5746
5746
|
if ("limit" in data && data.limit != undefined) {
|
|
5747
5747
|
this.limit = data.limit;
|
|
5748
5748
|
}
|
|
5749
|
+
if ("from" in data && data.from != undefined) {
|
|
5750
|
+
this.from = data.from;
|
|
5751
|
+
}
|
|
5752
|
+
if ("to" in data && data.to != undefined) {
|
|
5753
|
+
this.to = data.to;
|
|
5754
|
+
}
|
|
5749
5755
|
}
|
|
5750
5756
|
}
|
|
5751
5757
|
get tid() {
|
|
@@ -5784,6 +5790,18 @@ var com;
|
|
|
5784
5790
|
set limit(value) {
|
|
5785
5791
|
pb_1.Message.setField(this, 6, value);
|
|
5786
5792
|
}
|
|
5793
|
+
get from() {
|
|
5794
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "");
|
|
5795
|
+
}
|
|
5796
|
+
set from(value) {
|
|
5797
|
+
pb_1.Message.setField(this, 7, value);
|
|
5798
|
+
}
|
|
5799
|
+
get to() {
|
|
5800
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
5801
|
+
}
|
|
5802
|
+
set to(value) {
|
|
5803
|
+
pb_1.Message.setField(this, 8, value);
|
|
5804
|
+
}
|
|
5787
5805
|
static fromObject(data) {
|
|
5788
5806
|
const message = new TerminalFilterRequest({});
|
|
5789
5807
|
if (data.tid != null) {
|
|
@@ -5804,6 +5822,12 @@ var com;
|
|
|
5804
5822
|
if (data.limit != null) {
|
|
5805
5823
|
message.limit = data.limit;
|
|
5806
5824
|
}
|
|
5825
|
+
if (data.from != null) {
|
|
5826
|
+
message.from = data.from;
|
|
5827
|
+
}
|
|
5828
|
+
if (data.to != null) {
|
|
5829
|
+
message.to = data.to;
|
|
5830
|
+
}
|
|
5807
5831
|
return message;
|
|
5808
5832
|
}
|
|
5809
5833
|
toObject() {
|
|
@@ -5826,6 +5850,12 @@ var com;
|
|
|
5826
5850
|
if (this.limit != null) {
|
|
5827
5851
|
data.limit = this.limit;
|
|
5828
5852
|
}
|
|
5853
|
+
if (this.from != null) {
|
|
5854
|
+
data.from = this.from;
|
|
5855
|
+
}
|
|
5856
|
+
if (this.to != null) {
|
|
5857
|
+
data.to = this.to;
|
|
5858
|
+
}
|
|
5829
5859
|
return data;
|
|
5830
5860
|
}
|
|
5831
5861
|
serialize(w) {
|
|
@@ -5842,6 +5872,10 @@ var com;
|
|
|
5842
5872
|
writer.writeString(5, this.page);
|
|
5843
5873
|
if (this.limit.length)
|
|
5844
5874
|
writer.writeString(6, this.limit);
|
|
5875
|
+
if (this.from.length)
|
|
5876
|
+
writer.writeString(7, this.from);
|
|
5877
|
+
if (this.to.length)
|
|
5878
|
+
writer.writeString(8, this.to);
|
|
5845
5879
|
if (!w)
|
|
5846
5880
|
return writer.getResultBuffer();
|
|
5847
5881
|
}
|
|
@@ -5869,6 +5903,12 @@ var com;
|
|
|
5869
5903
|
case 6:
|
|
5870
5904
|
message.limit = reader.readString();
|
|
5871
5905
|
break;
|
|
5906
|
+
case 7:
|
|
5907
|
+
message.from = reader.readString();
|
|
5908
|
+
break;
|
|
5909
|
+
case 8:
|
|
5910
|
+
message.to = reader.readString();
|
|
5911
|
+
break;
|
|
5872
5912
|
default: reader.skipField();
|
|
5873
5913
|
}
|
|
5874
5914
|
}
|
|
@@ -4479,6 +4479,8 @@ export declare namespace com.pkg.business {
|
|
|
4479
4479
|
status?: string;
|
|
4480
4480
|
page?: string;
|
|
4481
4481
|
limit?: string;
|
|
4482
|
+
from?: string;
|
|
4483
|
+
to?: string;
|
|
4482
4484
|
});
|
|
4483
4485
|
get tid(): string;
|
|
4484
4486
|
set tid(value: string);
|
|
@@ -4492,6 +4494,10 @@ export declare namespace com.pkg.business {
|
|
|
4492
4494
|
set page(value: string);
|
|
4493
4495
|
get limit(): string;
|
|
4494
4496
|
set limit(value: string);
|
|
4497
|
+
get from(): string;
|
|
4498
|
+
set from(value: string);
|
|
4499
|
+
get to(): string;
|
|
4500
|
+
set to(value: string);
|
|
4495
4501
|
static fromObject(data: {
|
|
4496
4502
|
tid?: string;
|
|
4497
4503
|
outlet?: string;
|
|
@@ -4499,6 +4505,8 @@ export declare namespace com.pkg.business {
|
|
|
4499
4505
|
status?: string;
|
|
4500
4506
|
page?: string;
|
|
4501
4507
|
limit?: string;
|
|
4508
|
+
from?: string;
|
|
4509
|
+
to?: string;
|
|
4502
4510
|
}): TerminalFilterRequest;
|
|
4503
4511
|
toObject(): {
|
|
4504
4512
|
tid?: string | undefined;
|
|
@@ -4507,6 +4515,8 @@ export declare namespace com.pkg.business {
|
|
|
4507
4515
|
status?: string | undefined;
|
|
4508
4516
|
page?: string | undefined;
|
|
4509
4517
|
limit?: string | undefined;
|
|
4518
|
+
from?: string | undefined;
|
|
4519
|
+
to?: string | undefined;
|
|
4510
4520
|
};
|
|
4511
4521
|
serialize(): Uint8Array;
|
|
4512
4522
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -94,6 +94,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
94
94
|
createdBy?: string;
|
|
95
95
|
notes?: string;
|
|
96
96
|
quantity?: number;
|
|
97
|
+
processorTid?: string;
|
|
97
98
|
});
|
|
98
99
|
get terminalTypeId(): string;
|
|
99
100
|
set terminalTypeId(value: string);
|
|
@@ -115,6 +116,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
115
116
|
set notes(value: string);
|
|
116
117
|
get quantity(): number;
|
|
117
118
|
set quantity(value: number);
|
|
119
|
+
get processorTid(): string;
|
|
120
|
+
set processorTid(value: string);
|
|
118
121
|
static fromObject(data: {
|
|
119
122
|
terminalTypeId?: string;
|
|
120
123
|
serialNumber?: string;
|
|
@@ -128,6 +131,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
128
131
|
createdBy?: string;
|
|
129
132
|
notes?: string;
|
|
130
133
|
quantity?: number;
|
|
134
|
+
processorTid?: string;
|
|
131
135
|
}): AddTerminalInstanceRequest;
|
|
132
136
|
toObject(): {
|
|
133
137
|
terminalTypeId?: string | undefined;
|
|
@@ -142,6 +146,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
142
146
|
createdBy?: string | undefined;
|
|
143
147
|
notes?: string | undefined;
|
|
144
148
|
quantity?: number | undefined;
|
|
149
|
+
processorTid?: string | undefined;
|
|
145
150
|
};
|
|
146
151
|
serialize(): Uint8Array;
|
|
147
152
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -2135,6 +2135,8 @@ export declare namespace com.pkg.terminal {
|
|
|
2135
2135
|
status?: string;
|
|
2136
2136
|
page?: string;
|
|
2137
2137
|
limit?: string;
|
|
2138
|
+
from?: string;
|
|
2139
|
+
to?: string;
|
|
2138
2140
|
});
|
|
2139
2141
|
get tid(): string;
|
|
2140
2142
|
set tid(value: string);
|
|
@@ -2148,6 +2150,10 @@ export declare namespace com.pkg.terminal {
|
|
|
2148
2150
|
set page(value: string);
|
|
2149
2151
|
get limit(): string;
|
|
2150
2152
|
set limit(value: string);
|
|
2153
|
+
get from(): string;
|
|
2154
|
+
set from(value: string);
|
|
2155
|
+
get to(): string;
|
|
2156
|
+
set to(value: string);
|
|
2151
2157
|
static fromObject(data: {
|
|
2152
2158
|
tid?: string;
|
|
2153
2159
|
outlet?: string;
|
|
@@ -2155,6 +2161,8 @@ export declare namespace com.pkg.terminal {
|
|
|
2155
2161
|
status?: string;
|
|
2156
2162
|
page?: string;
|
|
2157
2163
|
limit?: string;
|
|
2164
|
+
from?: string;
|
|
2165
|
+
to?: string;
|
|
2158
2166
|
}): TerminalFilterRequest;
|
|
2159
2167
|
toObject(): {
|
|
2160
2168
|
tid?: string | undefined;
|
|
@@ -2163,6 +2171,8 @@ export declare namespace com.pkg.terminal {
|
|
|
2163
2171
|
status?: string | undefined;
|
|
2164
2172
|
page?: string | undefined;
|
|
2165
2173
|
limit?: string | undefined;
|
|
2174
|
+
from?: string | undefined;
|
|
2175
|
+
to?: string | undefined;
|
|
2166
2176
|
};
|
|
2167
2177
|
serialize(): Uint8Array;
|
|
2168
2178
|
serialize(w: pb_1.BinaryWriter): void;
|