@technova-tech/olive-proto-lib 1.7.7 → 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/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "compile": "tsc -p tsconfig.json"
12
12
  },
13
13
  "license": "MIT",
14
- "version": "1.7.7",
14
+ "version": "1.7.8",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -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
  }
@@ -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;