@technova-tech/olive-proto-lib 1.7.7 → 1.7.9
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 +14 -0
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
|
}
|
|
@@ -5058,6 +5078,9 @@ var com;
|
|
|
5058
5078
|
if ("createdAt" in data && data.createdAt != undefined) {
|
|
5059
5079
|
this.createdAt = data.createdAt;
|
|
5060
5080
|
}
|
|
5081
|
+
if ("processorTid" in data && data.processorTid != undefined) {
|
|
5082
|
+
this.processorTid = data.processorTid;
|
|
5083
|
+
}
|
|
5061
5084
|
}
|
|
5062
5085
|
}
|
|
5063
5086
|
get instanceId() {
|
|
@@ -5123,6 +5146,12 @@ var com;
|
|
|
5123
5146
|
set createdAt(value) {
|
|
5124
5147
|
pb_1.Message.setField(this, 10, value);
|
|
5125
5148
|
}
|
|
5149
|
+
get processorTid() {
|
|
5150
|
+
return pb_1.Message.getFieldWithDefault(this, 11, "");
|
|
5151
|
+
}
|
|
5152
|
+
set processorTid(value) {
|
|
5153
|
+
pb_1.Message.setField(this, 11, value);
|
|
5154
|
+
}
|
|
5126
5155
|
static fromObject(data) {
|
|
5127
5156
|
const message = new AvailableTerminalData({});
|
|
5128
5157
|
if (data.instanceId != null) {
|
|
@@ -5155,6 +5184,9 @@ var com;
|
|
|
5155
5184
|
if (data.createdAt != null) {
|
|
5156
5185
|
message.createdAt = data.createdAt;
|
|
5157
5186
|
}
|
|
5187
|
+
if (data.processorTid != null) {
|
|
5188
|
+
message.processorTid = data.processorTid;
|
|
5189
|
+
}
|
|
5158
5190
|
return message;
|
|
5159
5191
|
}
|
|
5160
5192
|
toObject() {
|
|
@@ -5189,6 +5221,9 @@ var com;
|
|
|
5189
5221
|
if (this.createdAt != null) {
|
|
5190
5222
|
data.createdAt = this.createdAt;
|
|
5191
5223
|
}
|
|
5224
|
+
if (this.processorTid != null) {
|
|
5225
|
+
data.processorTid = this.processorTid;
|
|
5226
|
+
}
|
|
5192
5227
|
return data;
|
|
5193
5228
|
}
|
|
5194
5229
|
serialize(w) {
|
|
@@ -5213,6 +5248,8 @@ var com;
|
|
|
5213
5248
|
writer.writeString(9, this.status);
|
|
5214
5249
|
if (this.createdAt.length)
|
|
5215
5250
|
writer.writeString(10, this.createdAt);
|
|
5251
|
+
if (this.processorTid.length)
|
|
5252
|
+
writer.writeString(11, this.processorTid);
|
|
5216
5253
|
if (!w)
|
|
5217
5254
|
return writer.getResultBuffer();
|
|
5218
5255
|
}
|
|
@@ -5252,6 +5289,9 @@ var com;
|
|
|
5252
5289
|
case 10:
|
|
5253
5290
|
message.createdAt = reader.readString();
|
|
5254
5291
|
break;
|
|
5292
|
+
case 11:
|
|
5293
|
+
message.processorTid = reader.readString();
|
|
5294
|
+
break;
|
|
5255
5295
|
default: reader.skipField();
|
|
5256
5296
|
}
|
|
5257
5297
|
}
|
package/terminal/terminal.js
CHANGED
|
@@ -5973,6 +5973,9 @@ var com;
|
|
|
5973
5973
|
if ("terminalType" in data && data.terminalType != undefined) {
|
|
5974
5974
|
this.terminalType = data.terminalType;
|
|
5975
5975
|
}
|
|
5976
|
+
if ("processorTid" in data && data.processorTid != undefined) {
|
|
5977
|
+
this.processorTid = data.processorTid;
|
|
5978
|
+
}
|
|
5976
5979
|
}
|
|
5977
5980
|
if (!this.meta)
|
|
5978
5981
|
this.meta = new Map();
|
|
@@ -6076,6 +6079,12 @@ var com;
|
|
|
6076
6079
|
get hasTerminalType() {
|
|
6077
6080
|
return pb_1.Message.getField(this, 15) != null;
|
|
6078
6081
|
}
|
|
6082
|
+
get processorTid() {
|
|
6083
|
+
return pb_1.Message.getFieldWithDefault(this, 16, "");
|
|
6084
|
+
}
|
|
6085
|
+
set processorTid(value) {
|
|
6086
|
+
pb_1.Message.setField(this, 16, value);
|
|
6087
|
+
}
|
|
6079
6088
|
static fromObject(data) {
|
|
6080
6089
|
const message = new TerminalData({});
|
|
6081
6090
|
if (data.tid != null) {
|
|
@@ -6123,6 +6132,9 @@ var com;
|
|
|
6123
6132
|
if (data.terminalType != null) {
|
|
6124
6133
|
message.terminalType = TerminalTypeData.fromObject(data.terminalType);
|
|
6125
6134
|
}
|
|
6135
|
+
if (data.processorTid != null) {
|
|
6136
|
+
message.processorTid = data.processorTid;
|
|
6137
|
+
}
|
|
6126
6138
|
return message;
|
|
6127
6139
|
}
|
|
6128
6140
|
toObject() {
|
|
@@ -6172,6 +6184,9 @@ var com;
|
|
|
6172
6184
|
if (this.terminalType != null) {
|
|
6173
6185
|
data.terminalType = this.terminalType.toObject();
|
|
6174
6186
|
}
|
|
6187
|
+
if (this.processorTid != null) {
|
|
6188
|
+
data.processorTid = this.processorTid;
|
|
6189
|
+
}
|
|
6175
6190
|
return data;
|
|
6176
6191
|
}
|
|
6177
6192
|
serialize(w) {
|
|
@@ -6210,6 +6225,8 @@ var com;
|
|
|
6210
6225
|
writer.writeString(14, this.serialNumber);
|
|
6211
6226
|
if (this.hasTerminalType)
|
|
6212
6227
|
writer.writeMessage(15, this.terminalType, () => this.terminalType.serialize(writer));
|
|
6228
|
+
if (this.processorTid.length)
|
|
6229
|
+
writer.writeString(16, this.processorTid);
|
|
6213
6230
|
if (!w)
|
|
6214
6231
|
return writer.getResultBuffer();
|
|
6215
6232
|
}
|
|
@@ -6264,6 +6281,9 @@ var com;
|
|
|
6264
6281
|
case 15:
|
|
6265
6282
|
reader.readMessage(message.terminalType, () => message.terminalType = TerminalTypeData.deserialize(reader));
|
|
6266
6283
|
break;
|
|
6284
|
+
case 16:
|
|
6285
|
+
message.processorTid = reader.readString();
|
|
6286
|
+
break;
|
|
6267
6287
|
default: reader.skipField();
|
|
6268
6288
|
}
|
|
6269
6289
|
}
|
|
@@ -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;
|
|
@@ -1312,6 +1317,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1312
1317
|
location?: string | undefined;
|
|
1313
1318
|
status?: string | undefined;
|
|
1314
1319
|
createdAt?: string | undefined;
|
|
1320
|
+
processorTid?: string | undefined;
|
|
1315
1321
|
}[] | undefined;
|
|
1316
1322
|
pagination?: {
|
|
1317
1323
|
currentPage?: number | undefined;
|
|
@@ -1858,6 +1864,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1858
1864
|
location?: string;
|
|
1859
1865
|
status?: string;
|
|
1860
1866
|
createdAt?: string;
|
|
1867
|
+
processorTid?: string;
|
|
1861
1868
|
});
|
|
1862
1869
|
get instanceId(): string;
|
|
1863
1870
|
set instanceId(value: string);
|
|
@@ -1880,6 +1887,8 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1880
1887
|
set status(value: string);
|
|
1881
1888
|
get createdAt(): string;
|
|
1882
1889
|
set createdAt(value: string);
|
|
1890
|
+
get processorTid(): string;
|
|
1891
|
+
set processorTid(value: string);
|
|
1883
1892
|
static fromObject(data: {
|
|
1884
1893
|
instanceId?: string;
|
|
1885
1894
|
serialNumber?: string;
|
|
@@ -1891,6 +1900,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1891
1900
|
location?: string;
|
|
1892
1901
|
status?: string;
|
|
1893
1902
|
createdAt?: string;
|
|
1903
|
+
processorTid?: string;
|
|
1894
1904
|
}): AvailableTerminalData;
|
|
1895
1905
|
toObject(): {
|
|
1896
1906
|
instanceId?: string | undefined;
|
|
@@ -1908,6 +1918,7 @@ export declare namespace com.pkg.posv1.terminals {
|
|
|
1908
1918
|
location?: string | undefined;
|
|
1909
1919
|
status?: string | undefined;
|
|
1910
1920
|
createdAt?: string | undefined;
|
|
1921
|
+
processorTid?: string | undefined;
|
|
1911
1922
|
};
|
|
1912
1923
|
serialize(): Uint8Array;
|
|
1913
1924
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -436,6 +436,7 @@ export declare namespace com.pkg.terminal {
|
|
|
436
436
|
createdAt?: string | undefined;
|
|
437
437
|
updatedAt?: string | undefined;
|
|
438
438
|
} | undefined;
|
|
439
|
+
processorTid?: string | undefined;
|
|
439
440
|
} | undefined;
|
|
440
441
|
firstName?: string | undefined;
|
|
441
442
|
lastName?: string | undefined;
|
|
@@ -690,6 +691,7 @@ export declare namespace com.pkg.terminal {
|
|
|
690
691
|
createdAt?: string | undefined;
|
|
691
692
|
updatedAt?: string | undefined;
|
|
692
693
|
} | undefined;
|
|
694
|
+
processorTid?: string | undefined;
|
|
693
695
|
} | undefined;
|
|
694
696
|
firstName?: string | undefined;
|
|
695
697
|
lastName?: string | undefined;
|
|
@@ -2198,6 +2200,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2198
2200
|
deviceType?: string;
|
|
2199
2201
|
serialNumber?: string;
|
|
2200
2202
|
terminalType?: TerminalTypeData;
|
|
2203
|
+
processorTid?: string;
|
|
2201
2204
|
});
|
|
2202
2205
|
get tid(): string;
|
|
2203
2206
|
set tid(value: string);
|
|
@@ -2232,6 +2235,8 @@ export declare namespace com.pkg.terminal {
|
|
|
2232
2235
|
get terminalType(): TerminalTypeData;
|
|
2233
2236
|
set terminalType(value: TerminalTypeData);
|
|
2234
2237
|
get hasTerminalType(): boolean;
|
|
2238
|
+
get processorTid(): string;
|
|
2239
|
+
set processorTid(value: string);
|
|
2235
2240
|
static fromObject(data: {
|
|
2236
2241
|
tid?: string;
|
|
2237
2242
|
outlet?: ReturnType<typeof OutletData.prototype.toObject>;
|
|
@@ -2250,6 +2255,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2250
2255
|
deviceType?: string;
|
|
2251
2256
|
serialNumber?: string;
|
|
2252
2257
|
terminalType?: ReturnType<typeof TerminalTypeData.prototype.toObject>;
|
|
2258
|
+
processorTid?: string;
|
|
2253
2259
|
}): TerminalData;
|
|
2254
2260
|
toObject(): {
|
|
2255
2261
|
tid?: string | undefined;
|
|
@@ -2374,6 +2380,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2374
2380
|
createdAt?: string | undefined;
|
|
2375
2381
|
updatedAt?: string | undefined;
|
|
2376
2382
|
} | undefined;
|
|
2383
|
+
processorTid?: string | undefined;
|
|
2377
2384
|
};
|
|
2378
2385
|
serialize(): Uint8Array;
|
|
2379
2386
|
serialize(w: pb_1.BinaryWriter): void;
|
|
@@ -2538,6 +2545,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2538
2545
|
createdAt?: string | undefined;
|
|
2539
2546
|
updatedAt?: string | undefined;
|
|
2540
2547
|
} | undefined;
|
|
2548
|
+
processorTid?: string | undefined;
|
|
2541
2549
|
} | undefined;
|
|
2542
2550
|
error?: string | undefined;
|
|
2543
2551
|
message?: string | undefined;
|
|
@@ -2708,6 +2716,7 @@ export declare namespace com.pkg.terminal {
|
|
|
2708
2716
|
createdAt?: string | undefined;
|
|
2709
2717
|
updatedAt?: string | undefined;
|
|
2710
2718
|
} | undefined;
|
|
2719
|
+
processorTid?: string | undefined;
|
|
2711
2720
|
}[] | undefined;
|
|
2712
2721
|
error?: string | undefined;
|
|
2713
2722
|
message?: string | undefined;
|
|
@@ -3178,6 +3187,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3178
3187
|
createdAt?: string | undefined;
|
|
3179
3188
|
updatedAt?: string | undefined;
|
|
3180
3189
|
} | undefined;
|
|
3190
|
+
processorTid?: string | undefined;
|
|
3181
3191
|
}[] | undefined;
|
|
3182
3192
|
error?: string | undefined;
|
|
3183
3193
|
message?: string | undefined;
|
|
@@ -3704,6 +3714,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3704
3714
|
createdAt?: string | undefined;
|
|
3705
3715
|
updatedAt?: string | undefined;
|
|
3706
3716
|
} | undefined;
|
|
3717
|
+
processorTid?: string | undefined;
|
|
3707
3718
|
} | undefined;
|
|
3708
3719
|
};
|
|
3709
3720
|
serialize(): Uint8Array;
|
|
@@ -3892,6 +3903,7 @@ export declare namespace com.pkg.terminal {
|
|
|
3892
3903
|
createdAt?: string | undefined;
|
|
3893
3904
|
updatedAt?: string | undefined;
|
|
3894
3905
|
} | undefined;
|
|
3906
|
+
processorTid?: string | undefined;
|
|
3895
3907
|
} | undefined;
|
|
3896
3908
|
} | undefined;
|
|
3897
3909
|
error?: string | undefined;
|
|
@@ -4156,6 +4168,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4156
4168
|
createdAt?: string | undefined;
|
|
4157
4169
|
updatedAt?: string | undefined;
|
|
4158
4170
|
} | undefined;
|
|
4171
|
+
processorTid?: string | undefined;
|
|
4159
4172
|
} | undefined;
|
|
4160
4173
|
}[] | undefined;
|
|
4161
4174
|
error?: string | undefined;
|
|
@@ -4386,6 +4399,7 @@ export declare namespace com.pkg.terminal {
|
|
|
4386
4399
|
createdAt?: string | undefined;
|
|
4387
4400
|
updatedAt?: string | undefined;
|
|
4388
4401
|
} | undefined;
|
|
4402
|
+
processorTid?: string | undefined;
|
|
4389
4403
|
}[] | undefined;
|
|
4390
4404
|
error?: string | undefined;
|
|
4391
4405
|
message?: string | undefined;
|