@technova-tech/olive-proto-lib 1.8.3 → 1.8.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 +1 -1
- package/pos.v1/terminals.js +40 -0
- package/terminal/terminal.js +20 -0
- package/types/pos.v1/terminals.d.ts +11 -0
- package/types/terminal/terminal.d.ts +5 -0
package/package.json
CHANGED
package/pos.v1/terminals.js
CHANGED
|
@@ -3396,6 +3396,9 @@ var com;
|
|
|
3396
3396
|
if ("to" in data && data.to != undefined) {
|
|
3397
3397
|
this.to = data.to;
|
|
3398
3398
|
}
|
|
3399
|
+
if ("status" in data && data.status != undefined) {
|
|
3400
|
+
this.status = data.status;
|
|
3401
|
+
}
|
|
3399
3402
|
}
|
|
3400
3403
|
}
|
|
3401
3404
|
get terminalTypeId() {
|
|
@@ -3440,6 +3443,12 @@ var com;
|
|
|
3440
3443
|
set to(value) {
|
|
3441
3444
|
pb_1.Message.setField(this, 7, value);
|
|
3442
3445
|
}
|
|
3446
|
+
get status() {
|
|
3447
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
3448
|
+
}
|
|
3449
|
+
set status(value) {
|
|
3450
|
+
pb_1.Message.setField(this, 8, value);
|
|
3451
|
+
}
|
|
3443
3452
|
static fromObject(data) {
|
|
3444
3453
|
const message = new GetAvailableTerminalsRequest({});
|
|
3445
3454
|
if (data.terminalTypeId != null) {
|
|
@@ -3463,6 +3472,9 @@ var com;
|
|
|
3463
3472
|
if (data.to != null) {
|
|
3464
3473
|
message.to = data.to;
|
|
3465
3474
|
}
|
|
3475
|
+
if (data.status != null) {
|
|
3476
|
+
message.status = data.status;
|
|
3477
|
+
}
|
|
3466
3478
|
return message;
|
|
3467
3479
|
}
|
|
3468
3480
|
toObject() {
|
|
@@ -3488,6 +3500,9 @@ var com;
|
|
|
3488
3500
|
if (this.to != null) {
|
|
3489
3501
|
data.to = this.to;
|
|
3490
3502
|
}
|
|
3503
|
+
if (this.status != null) {
|
|
3504
|
+
data.status = this.status;
|
|
3505
|
+
}
|
|
3491
3506
|
return data;
|
|
3492
3507
|
}
|
|
3493
3508
|
serialize(w) {
|
|
@@ -3506,6 +3521,8 @@ var com;
|
|
|
3506
3521
|
writer.writeString(6, this.from);
|
|
3507
3522
|
if (this.to.length)
|
|
3508
3523
|
writer.writeString(7, this.to);
|
|
3524
|
+
if (this.status.length)
|
|
3525
|
+
writer.writeString(8, this.status);
|
|
3509
3526
|
if (!w)
|
|
3510
3527
|
return writer.getResultBuffer();
|
|
3511
3528
|
}
|
|
@@ -3536,6 +3553,9 @@ var com;
|
|
|
3536
3553
|
case 7:
|
|
3537
3554
|
message.to = reader.readString();
|
|
3538
3555
|
break;
|
|
3556
|
+
case 8:
|
|
3557
|
+
message.status = reader.readString();
|
|
3558
|
+
break;
|
|
3539
3559
|
default: reader.skipField();
|
|
3540
3560
|
}
|
|
3541
3561
|
}
|
|
@@ -10379,6 +10399,9 @@ var com;
|
|
|
10379
10399
|
if ("notes" in data && data.notes != undefined) {
|
|
10380
10400
|
this.notes = data.notes;
|
|
10381
10401
|
}
|
|
10402
|
+
if ("processorTid" in data && data.processorTid != undefined) {
|
|
10403
|
+
this.processorTid = data.processorTid;
|
|
10404
|
+
}
|
|
10382
10405
|
}
|
|
10383
10406
|
if (!this.deviceConfiguration)
|
|
10384
10407
|
this.deviceConfiguration = new Map();
|
|
@@ -10425,6 +10448,12 @@ var com;
|
|
|
10425
10448
|
set notes(value) {
|
|
10426
10449
|
pb_1.Message.setField(this, 7, value);
|
|
10427
10450
|
}
|
|
10451
|
+
get processorTid() {
|
|
10452
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "");
|
|
10453
|
+
}
|
|
10454
|
+
set processorTid(value) {
|
|
10455
|
+
pb_1.Message.setField(this, 8, value);
|
|
10456
|
+
}
|
|
10428
10457
|
static fromObject(data) {
|
|
10429
10458
|
const message = new TerminalBulkData({});
|
|
10430
10459
|
if (data.serialNumber != null) {
|
|
@@ -10448,6 +10477,9 @@ var com;
|
|
|
10448
10477
|
if (data.notes != null) {
|
|
10449
10478
|
message.notes = data.notes;
|
|
10450
10479
|
}
|
|
10480
|
+
if (data.processorTid != null) {
|
|
10481
|
+
message.processorTid = data.processorTid;
|
|
10482
|
+
}
|
|
10451
10483
|
return message;
|
|
10452
10484
|
}
|
|
10453
10485
|
toObject() {
|
|
@@ -10473,6 +10505,9 @@ var com;
|
|
|
10473
10505
|
if (this.notes != null) {
|
|
10474
10506
|
data.notes = this.notes;
|
|
10475
10507
|
}
|
|
10508
|
+
if (this.processorTid != null) {
|
|
10509
|
+
data.processorTid = this.processorTid;
|
|
10510
|
+
}
|
|
10476
10511
|
return data;
|
|
10477
10512
|
}
|
|
10478
10513
|
serialize(w) {
|
|
@@ -10495,6 +10530,8 @@ var com;
|
|
|
10495
10530
|
}
|
|
10496
10531
|
if (this.notes.length)
|
|
10497
10532
|
writer.writeString(7, this.notes);
|
|
10533
|
+
if (this.processorTid.length)
|
|
10534
|
+
writer.writeString(8, this.processorTid);
|
|
10498
10535
|
if (!w)
|
|
10499
10536
|
return writer.getResultBuffer();
|
|
10500
10537
|
}
|
|
@@ -10525,6 +10562,9 @@ var com;
|
|
|
10525
10562
|
case 7:
|
|
10526
10563
|
message.notes = reader.readString();
|
|
10527
10564
|
break;
|
|
10565
|
+
case 8:
|
|
10566
|
+
message.processorTid = reader.readString();
|
|
10567
|
+
break;
|
|
10528
10568
|
default: reader.skipField();
|
|
10529
10569
|
}
|
|
10530
10570
|
}
|
package/terminal/terminal.js
CHANGED
|
@@ -9337,6 +9337,9 @@ var com;
|
|
|
9337
9337
|
if ("to" in data && data.to != undefined) {
|
|
9338
9338
|
this.to = data.to;
|
|
9339
9339
|
}
|
|
9340
|
+
if ("status" in data && data.status != undefined) {
|
|
9341
|
+
this.status = data.status;
|
|
9342
|
+
}
|
|
9340
9343
|
}
|
|
9341
9344
|
}
|
|
9342
9345
|
get terminalTypeId() {
|
|
@@ -9375,6 +9378,12 @@ var com;
|
|
|
9375
9378
|
set to(value) {
|
|
9376
9379
|
pb_1.Message.setField(this, 6, value);
|
|
9377
9380
|
}
|
|
9381
|
+
get status() {
|
|
9382
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "");
|
|
9383
|
+
}
|
|
9384
|
+
set status(value) {
|
|
9385
|
+
pb_1.Message.setField(this, 7, value);
|
|
9386
|
+
}
|
|
9378
9387
|
static fromObject(data) {
|
|
9379
9388
|
const message = new GetAvailableTerminalsRequest({});
|
|
9380
9389
|
if (data.terminalTypeId != null) {
|
|
@@ -9395,6 +9404,9 @@ var com;
|
|
|
9395
9404
|
if (data.to != null) {
|
|
9396
9405
|
message.to = data.to;
|
|
9397
9406
|
}
|
|
9407
|
+
if (data.status != null) {
|
|
9408
|
+
message.status = data.status;
|
|
9409
|
+
}
|
|
9398
9410
|
return message;
|
|
9399
9411
|
}
|
|
9400
9412
|
toObject() {
|
|
@@ -9417,6 +9429,9 @@ var com;
|
|
|
9417
9429
|
if (this.to != null) {
|
|
9418
9430
|
data.to = this.to;
|
|
9419
9431
|
}
|
|
9432
|
+
if (this.status != null) {
|
|
9433
|
+
data.status = this.status;
|
|
9434
|
+
}
|
|
9420
9435
|
return data;
|
|
9421
9436
|
}
|
|
9422
9437
|
serialize(w) {
|
|
@@ -9433,6 +9448,8 @@ var com;
|
|
|
9433
9448
|
writer.writeString(5, this.from);
|
|
9434
9449
|
if (this.to.length)
|
|
9435
9450
|
writer.writeString(6, this.to);
|
|
9451
|
+
if (this.status.length)
|
|
9452
|
+
writer.writeString(7, this.status);
|
|
9436
9453
|
if (!w)
|
|
9437
9454
|
return writer.getResultBuffer();
|
|
9438
9455
|
}
|
|
@@ -9460,6 +9477,9 @@ var com;
|
|
|
9460
9477
|
case 6:
|
|
9461
9478
|
message.to = reader.readString();
|
|
9462
9479
|
break;
|
|
9480
|
+
case 7:
|
|
9481
|
+
message.status = reader.readString();
|
|
9482
|
+
break;
|
|
9463
9483
|
default: reader.skipField();
|
|
9464
9484
|
}
|
|
9465
9485
|
}
|
|
@@ -1246,6 +1246,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1246
1246
|
search?: string;
|
|
1247
1247
|
from?: string;
|
|
1248
1248
|
to?: string;
|
|
1249
|
+
status?: string;
|
|
1249
1250
|
});
|
|
1250
1251
|
get terminalTypeId(): string;
|
|
1251
1252
|
set terminalTypeId(value: string);
|
|
@@ -1261,6 +1262,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1261
1262
|
set from(value: string);
|
|
1262
1263
|
get to(): string;
|
|
1263
1264
|
set to(value: string);
|
|
1265
|
+
get status(): string;
|
|
1266
|
+
set status(value: string);
|
|
1264
1267
|
static fromObject(data: {
|
|
1265
1268
|
terminalTypeId?: string;
|
|
1266
1269
|
location?: string;
|
|
@@ -1269,6 +1272,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1269
1272
|
search?: string;
|
|
1270
1273
|
from?: string;
|
|
1271
1274
|
to?: string;
|
|
1275
|
+
status?: string;
|
|
1272
1276
|
}): GetAvailableTerminalsRequest;
|
|
1273
1277
|
toObject(): {
|
|
1274
1278
|
terminalTypeId?: string | undefined;
|
|
@@ -1278,6 +1282,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1278
1282
|
search?: string | undefined;
|
|
1279
1283
|
from?: string | undefined;
|
|
1280
1284
|
to?: string | undefined;
|
|
1285
|
+
status?: string | undefined;
|
|
1281
1286
|
};
|
|
1282
1287
|
serialize(): Uint8Array;
|
|
1283
1288
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -3704,6 +3709,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3704
3709
|
[key: string]: string;
|
|
3705
3710
|
} | undefined;
|
|
3706
3711
|
notes?: string | undefined;
|
|
3712
|
+
processorTid?: string | undefined;
|
|
3707
3713
|
}[] | undefined;
|
|
3708
3714
|
uploadedBy?: string | undefined;
|
|
3709
3715
|
metadata?: {
|
|
@@ -3726,6 +3732,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3726
3732
|
warrantyExpiryDate?: string;
|
|
3727
3733
|
deviceConfiguration?: Map<string, string>;
|
|
3728
3734
|
notes?: string;
|
|
3735
|
+
processorTid?: string;
|
|
3729
3736
|
});
|
|
3730
3737
|
get serialNumber(): string;
|
|
3731
3738
|
set serialNumber(value: string);
|
|
@@ -3741,6 +3748,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3741
3748
|
set deviceConfiguration(value: Map<string, string>);
|
|
3742
3749
|
get notes(): string;
|
|
3743
3750
|
set notes(value: string);
|
|
3751
|
+
get processorTid(): string;
|
|
3752
|
+
set processorTid(value: string);
|
|
3744
3753
|
static fromObject(data: {
|
|
3745
3754
|
serialNumber?: string;
|
|
3746
3755
|
condition?: string;
|
|
@@ -3751,6 +3760,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3751
3760
|
[key: string]: string;
|
|
3752
3761
|
};
|
|
3753
3762
|
notes?: string;
|
|
3763
|
+
processorTid?: string;
|
|
3754
3764
|
}): TerminalBulkData;
|
|
3755
3765
|
toObject(): {
|
|
3756
3766
|
serialNumber?: string | undefined;
|
|
@@ -3762,6 +3772,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
3762
3772
|
[key: string]: string;
|
|
3763
3773
|
} | undefined;
|
|
3764
3774
|
notes?: string | undefined;
|
|
3775
|
+
processorTid?: string | undefined;
|
|
3765
3776
|
};
|
|
3766
3777
|
serialize(): Uint8Array;
|
|
3767
3778
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -4196,6 +4196,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4196
4196
|
search?: string;
|
|
4197
4197
|
from?: string;
|
|
4198
4198
|
to?: string;
|
|
4199
|
+
status?: string;
|
|
4199
4200
|
});
|
|
4200
4201
|
get terminalTypeId(): string;
|
|
4201
4202
|
set terminalTypeId(value: string);
|
|
@@ -4209,6 +4210,8 @@ export declare namespace com.pkg.terminal {
|
|
|
4209
4210
|
set from(value: string);
|
|
4210
4211
|
get to(): string;
|
|
4211
4212
|
set to(value: string);
|
|
4213
|
+
get status(): string;
|
|
4214
|
+
set status(value: string);
|
|
4212
4215
|
static fromObject(data: {
|
|
4213
4216
|
terminalTypeId?: string;
|
|
4214
4217
|
page?: number;
|
|
@@ -4216,6 +4219,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4216
4219
|
search?: string;
|
|
4217
4220
|
from?: string;
|
|
4218
4221
|
to?: string;
|
|
4222
|
+
status?: string;
|
|
4219
4223
|
}): GetAvailableTerminalsRequest;
|
|
4220
4224
|
toObject(): {
|
|
4221
4225
|
terminalTypeId?: string | undefined;
|
|
@@ -4224,6 +4228,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4224
4228
|
search?: string | undefined;
|
|
4225
4229
|
from?: string | undefined;
|
|
4226
4230
|
to?: string | undefined;
|
|
4231
|
+
status?: string | undefined;
|
|
4227
4232
|
};
|
|
4228
4233
|
serialize(): Uint8Array;
|
|
4229
4234
|
serialize(w: pb_1.BinaryWriter): void;
|