@technova-tech/olive-proto-lib 1.7.9 → 1.8.1

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.9",
14
+ "version": "1.8.1",
15
15
  "devDependencies": {
16
16
  "@types/google-protobuf": "^3.15.12",
17
17
  "protoc-gen-ts": "^0.8.7",
@@ -958,6 +958,9 @@ var com;
958
958
  if ("notes" in data && data.notes != undefined) {
959
959
  this.notes = data.notes;
960
960
  }
961
+ if ("processorTid" in data && data.processorTid != undefined) {
962
+ this.processorTid = data.processorTid;
963
+ }
961
964
  }
962
965
  if (!this.deviceConfiguration)
963
966
  this.deviceConfiguration = new Map();
@@ -1016,6 +1019,12 @@ var com;
1016
1019
  set notes(value) {
1017
1020
  pb_1.Message.setField(this, 9, value);
1018
1021
  }
1022
+ get processorTid() {
1023
+ return pb_1.Message.getFieldWithDefault(this, 10, "");
1024
+ }
1025
+ set processorTid(value) {
1026
+ pb_1.Message.setField(this, 10, value);
1027
+ }
1019
1028
  static fromObject(data) {
1020
1029
  const message = new UpdateTerminalInstanceRequest({});
1021
1030
  if (data.instanceId != null) {
@@ -1045,6 +1054,9 @@ var com;
1045
1054
  if (data.notes != null) {
1046
1055
  message.notes = data.notes;
1047
1056
  }
1057
+ if (data.processorTid != null) {
1058
+ message.processorTid = data.processorTid;
1059
+ }
1048
1060
  return message;
1049
1061
  }
1050
1062
  toObject() {
@@ -1076,6 +1088,9 @@ var com;
1076
1088
  if (this.notes != null) {
1077
1089
  data.notes = this.notes;
1078
1090
  }
1091
+ if (this.processorTid != null) {
1092
+ data.processorTid = this.processorTid;
1093
+ }
1079
1094
  return data;
1080
1095
  }
1081
1096
  serialize(w) {
@@ -1102,6 +1117,8 @@ var com;
1102
1117
  writer.writeString(8, this.updatedBy);
1103
1118
  if (this.notes.length)
1104
1119
  writer.writeString(9, this.notes);
1120
+ if (this.processorTid.length)
1121
+ writer.writeString(10, this.processorTid);
1105
1122
  if (!w)
1106
1123
  return writer.getResultBuffer();
1107
1124
  }
@@ -1138,6 +1155,9 @@ var com;
1138
1155
  case 9:
1139
1156
  message.notes = reader.readString();
1140
1157
  break;
1158
+ case 10:
1159
+ message.processorTid = reader.readString();
1160
+ break;
1141
1161
  default: reader.skipField();
1142
1162
  }
1143
1163
  }
@@ -1428,6 +1448,9 @@ var com;
1428
1448
  if ("functions" in data && data.functions != undefined) {
1429
1449
  this.functions = data.functions;
1430
1450
  }
1451
+ if ("processorTid" in data && data.processorTid != undefined) {
1452
+ this.processorTid = data.processorTid;
1453
+ }
1431
1454
  }
1432
1455
  }
1433
1456
  get id() {
@@ -1520,6 +1543,12 @@ var com;
1520
1543
  set functions(value) {
1521
1544
  pb_1.Message.setRepeatedWrapperField(this, 15, value);
1522
1545
  }
1546
+ get processorTid() {
1547
+ return pb_1.Message.getFieldWithDefault(this, 16, "");
1548
+ }
1549
+ set processorTid(value) {
1550
+ pb_1.Message.setField(this, 16, value);
1551
+ }
1523
1552
  static fromObject(data) {
1524
1553
  const message = new TerminalInstanceDetails({});
1525
1554
  if (data.id != null) {
@@ -1567,6 +1596,9 @@ var com;
1567
1596
  if (data.functions != null) {
1568
1597
  message.functions = data.functions.map(item => TerminalFunction.fromObject(item));
1569
1598
  }
1599
+ if (data.processorTid != null) {
1600
+ message.processorTid = data.processorTid;
1601
+ }
1570
1602
  return message;
1571
1603
  }
1572
1604
  toObject() {
@@ -1616,6 +1648,9 @@ var com;
1616
1648
  if (this.functions != null) {
1617
1649
  data.functions = this.functions.map((item) => item.toObject());
1618
1650
  }
1651
+ if (this.processorTid != null) {
1652
+ data.processorTid = this.processorTid;
1653
+ }
1619
1654
  return data;
1620
1655
  }
1621
1656
  serialize(w) {
@@ -1650,6 +1685,8 @@ var com;
1650
1685
  writer.writeString(14, this.updatedAt);
1651
1686
  if (this.functions.length)
1652
1687
  writer.writeRepeatedMessage(15, this.functions, (item) => item.serialize(writer));
1688
+ if (this.processorTid.length)
1689
+ writer.writeString(16, this.processorTid);
1653
1690
  if (!w)
1654
1691
  return writer.getResultBuffer();
1655
1692
  }
@@ -1704,6 +1741,9 @@ var com;
1704
1741
  case 15:
1705
1742
  reader.readMessage(message.functions, () => pb_1.Message.addToRepeatedWrapperField(message, 15, TerminalFunction.deserialize(reader), TerminalFunction));
1706
1743
  break;
1744
+ case 16:
1745
+ message.processorTid = reader.readString();
1746
+ break;
1707
1747
  default: reader.skipField();
1708
1748
  }
1709
1749
  }
@@ -21677,6 +21717,9 @@ var com;
21677
21717
  if ("quantity" in data && data.quantity != undefined) {
21678
21718
  this.quantity = data.quantity;
21679
21719
  }
21720
+ if ("category" in data && data.category != undefined) {
21721
+ this.category = data.category;
21722
+ }
21680
21723
  }
21681
21724
  }
21682
21725
  get requestId() {
@@ -21709,6 +21752,12 @@ var com;
21709
21752
  set quantity(value) {
21710
21753
  pb_1.Message.setField(this, 5, value);
21711
21754
  }
21755
+ get category() {
21756
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
21757
+ }
21758
+ set category(value) {
21759
+ pb_1.Message.setField(this, 6, value);
21760
+ }
21712
21761
  static fromObject(data) {
21713
21762
  const message = new RequestTerminalResponseData({});
21714
21763
  if (data.requestId != null) {
@@ -21726,6 +21775,9 @@ var com;
21726
21775
  if (data.quantity != null) {
21727
21776
  message.quantity = data.quantity;
21728
21777
  }
21778
+ if (data.category != null) {
21779
+ message.category = data.category;
21780
+ }
21729
21781
  return message;
21730
21782
  }
21731
21783
  toObject() {
@@ -21745,6 +21797,9 @@ var com;
21745
21797
  if (this.quantity != null) {
21746
21798
  data.quantity = this.quantity;
21747
21799
  }
21800
+ if (this.category != null) {
21801
+ data.category = this.category;
21802
+ }
21748
21803
  return data;
21749
21804
  }
21750
21805
  serialize(w) {
@@ -21759,6 +21814,8 @@ var com;
21759
21814
  writer.writeString(4, this.date);
21760
21815
  if (this.quantity != 0)
21761
21816
  writer.writeUint32(5, this.quantity);
21817
+ if (this.category.length)
21818
+ writer.writeString(6, this.category);
21762
21819
  if (!w)
21763
21820
  return writer.getResultBuffer();
21764
21821
  }
@@ -21783,6 +21840,9 @@ var com;
21783
21840
  case 5:
21784
21841
  message.quantity = reader.readUint32();
21785
21842
  break;
21843
+ case 6:
21844
+ message.category = reader.readString();
21845
+ break;
21786
21846
  default: reader.skipField();
21787
21847
  }
21788
21848
  }
@@ -21963,7 +22023,7 @@ var com;
21963
22023
  #one_of_decls = [];
21964
22024
  constructor(data) {
21965
22025
  super();
21966
- pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
22026
+ pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [4], this.#one_of_decls);
21967
22027
  if (!Array.isArray(data) && typeof data == "object") {
21968
22028
  if ("requestId" in data && data.requestId != undefined) {
21969
22029
  this.requestId = data.requestId;
@@ -21974,6 +22034,9 @@ var com;
21974
22034
  if ("admin" in data && data.admin != undefined) {
21975
22035
  this.admin = data.admin;
21976
22036
  }
22037
+ if ("terminals" in data && data.terminals != undefined) {
22038
+ this.terminals = data.terminals;
22039
+ }
21977
22040
  }
21978
22041
  }
21979
22042
  get requestId() {
@@ -21994,6 +22057,12 @@ var com;
21994
22057
  set admin(value) {
21995
22058
  pb_1.Message.setField(this, 3, value);
21996
22059
  }
22060
+ get terminals() {
22061
+ return pb_1.Message.getFieldWithDefault(this, 4, []);
22062
+ }
22063
+ set terminals(value) {
22064
+ pb_1.Message.setField(this, 4, value);
22065
+ }
21997
22066
  static fromObject(data) {
21998
22067
  const message = new ApproveTerminalRequestRequest({});
21999
22068
  if (data.requestId != null) {
@@ -22005,6 +22074,9 @@ var com;
22005
22074
  if (data.admin != null) {
22006
22075
  message.admin = data.admin;
22007
22076
  }
22077
+ if (data.terminals != null) {
22078
+ message.terminals = data.terminals;
22079
+ }
22008
22080
  return message;
22009
22081
  }
22010
22082
  toObject() {
@@ -22018,6 +22090,9 @@ var com;
22018
22090
  if (this.admin != null) {
22019
22091
  data.admin = this.admin;
22020
22092
  }
22093
+ if (this.terminals != null) {
22094
+ data.terminals = this.terminals;
22095
+ }
22021
22096
  return data;
22022
22097
  }
22023
22098
  serialize(w) {
@@ -22028,6 +22103,8 @@ var com;
22028
22103
  writer.writeString(2, this.reason);
22029
22104
  if (this.admin.length)
22030
22105
  writer.writeString(3, this.admin);
22106
+ if (this.terminals.length)
22107
+ writer.writeRepeatedString(4, this.terminals);
22031
22108
  if (!w)
22032
22109
  return writer.getResultBuffer();
22033
22110
  }
@@ -22046,6 +22123,9 @@ var com;
22046
22123
  case 3:
22047
22124
  message.admin = reader.readString();
22048
22125
  break;
22126
+ case 4:
22127
+ pb_1.Message.addToRepeatedField(message, 4, reader.readString());
22128
+ break;
22049
22129
  default: reader.skipField();
22050
22130
  }
22051
22131
  }
@@ -202,6 +202,7 @@ export declare namespace com.pkg.posv1.terminals {
202
202
  description?: string | undefined;
203
203
  enabled?: boolean | undefined;
204
204
  }[] | undefined;
205
+ processorTid?: string | undefined;
205
206
  }[] | undefined;
206
207
  terminalType?: {
207
208
  id?: string | undefined;
@@ -295,6 +296,7 @@ export declare namespace com.pkg.posv1.terminals {
295
296
  description?: string | undefined;
296
297
  enabled?: boolean | undefined;
297
298
  }[] | undefined;
299
+ processorTid?: string | undefined;
298
300
  } | undefined;
299
301
  errors?: string[] | undefined;
300
302
  };
@@ -316,6 +318,7 @@ export declare namespace com.pkg.posv1.terminals {
316
318
  deviceConfiguration?: Map<string, string>;
317
319
  updatedBy?: string;
318
320
  notes?: string;
321
+ processorTid?: string;
319
322
  });
320
323
  get instanceId(): string;
321
324
  set instanceId(value: string);
@@ -335,6 +338,8 @@ export declare namespace com.pkg.posv1.terminals {
335
338
  set updatedBy(value: string);
336
339
  get notes(): string;
337
340
  set notes(value: string);
341
+ get processorTid(): string;
342
+ set processorTid(value: string);
338
343
  static fromObject(data: {
339
344
  instanceId?: string;
340
345
  status?: string;
@@ -347,6 +352,7 @@ export declare namespace com.pkg.posv1.terminals {
347
352
  };
348
353
  updatedBy?: string;
349
354
  notes?: string;
355
+ processorTid?: string;
350
356
  }): UpdateTerminalInstanceRequest;
351
357
  toObject(): {
352
358
  instanceId?: string | undefined;
@@ -360,6 +366,7 @@ export declare namespace com.pkg.posv1.terminals {
360
366
  } | undefined;
361
367
  updatedBy?: string | undefined;
362
368
  notes?: string | undefined;
369
+ processorTid?: string | undefined;
363
370
  };
364
371
  serialize(): Uint8Array;
365
372
  serialize(w: pb_1.BinaryWriter): void;
@@ -414,6 +421,7 @@ export declare namespace com.pkg.posv1.terminals {
414
421
  description?: string | undefined;
415
422
  enabled?: boolean | undefined;
416
423
  }[] | undefined;
424
+ processorTid?: string | undefined;
417
425
  } | undefined;
418
426
  errors?: string[] | undefined;
419
427
  };
@@ -464,6 +472,7 @@ export declare namespace com.pkg.posv1.terminals {
464
472
  description?: string | undefined;
465
473
  enabled?: boolean | undefined;
466
474
  }[] | undefined;
475
+ processorTid?: string | undefined;
467
476
  }[] | undefined;
468
477
  terminalType?: {
469
478
  id?: string | undefined;
@@ -497,6 +506,7 @@ export declare namespace com.pkg.posv1.terminals {
497
506
  createdAt?: string;
498
507
  updatedAt?: string;
499
508
  functions?: TerminalFunction[];
509
+ processorTid?: string;
500
510
  });
501
511
  get id(): string;
502
512
  set id(value: string);
@@ -528,6 +538,8 @@ export declare namespace com.pkg.posv1.terminals {
528
538
  set updatedAt(value: string);
529
539
  get functions(): TerminalFunction[];
530
540
  set functions(value: TerminalFunction[]);
541
+ get processorTid(): string;
542
+ set processorTid(value: string);
531
543
  static fromObject(data: {
532
544
  id?: string;
533
545
  terminalInstanceId?: string;
@@ -544,6 +556,7 @@ export declare namespace com.pkg.posv1.terminals {
544
556
  createdAt?: string;
545
557
  updatedAt?: string;
546
558
  functions?: ReturnType<typeof TerminalFunction.prototype.toObject>[];
559
+ processorTid?: string;
547
560
  }): TerminalInstanceDetails;
548
561
  toObject(): {
549
562
  id?: string | undefined;
@@ -566,6 +579,7 @@ export declare namespace com.pkg.posv1.terminals {
566
579
  description?: string | undefined;
567
580
  enabled?: boolean | undefined;
568
581
  }[] | undefined;
582
+ processorTid?: string | undefined;
569
583
  };
570
584
  serialize(): Uint8Array;
571
585
  serialize(w: pb_1.BinaryWriter): void;
@@ -7353,6 +7367,7 @@ export declare namespace com.pkg.posv1.terminals {
7353
7367
  business?: string;
7354
7368
  date?: string;
7355
7369
  quantity?: number;
7370
+ category?: string;
7356
7371
  });
7357
7372
  get requestId(): string;
7358
7373
  set requestId(value: string);
@@ -7364,12 +7379,15 @@ export declare namespace com.pkg.posv1.terminals {
7364
7379
  set date(value: string);
7365
7380
  get quantity(): number;
7366
7381
  set quantity(value: number);
7382
+ get category(): string;
7383
+ set category(value: string);
7367
7384
  static fromObject(data: {
7368
7385
  requestId?: string;
7369
7386
  status?: string;
7370
7387
  business?: string;
7371
7388
  date?: string;
7372
7389
  quantity?: number;
7390
+ category?: string;
7373
7391
  }): RequestTerminalResponseData;
7374
7392
  toObject(): {
7375
7393
  requestId?: string | undefined;
@@ -7377,6 +7395,7 @@ export declare namespace com.pkg.posv1.terminals {
7377
7395
  business?: string | undefined;
7378
7396
  date?: string | undefined;
7379
7397
  quantity?: number | undefined;
7398
+ category?: string | undefined;
7380
7399
  };
7381
7400
  serialize(): Uint8Array;
7382
7401
  serialize(w: pb_1.BinaryWriter): void;
@@ -7426,6 +7445,7 @@ export declare namespace com.pkg.posv1.terminals {
7426
7445
  business?: string | undefined;
7427
7446
  date?: string | undefined;
7428
7447
  quantity?: number | undefined;
7448
+ category?: string | undefined;
7429
7449
  } | undefined;
7430
7450
  errors?: {
7431
7451
  field?: string | undefined;
@@ -7444,6 +7464,7 @@ export declare namespace com.pkg.posv1.terminals {
7444
7464
  requestId?: string;
7445
7465
  reason?: string;
7446
7466
  admin?: string;
7467
+ terminals?: string[];
7447
7468
  });
7448
7469
  get requestId(): string;
7449
7470
  set requestId(value: string);
@@ -7451,15 +7472,19 @@ export declare namespace com.pkg.posv1.terminals {
7451
7472
  set reason(value: string);
7452
7473
  get admin(): string;
7453
7474
  set admin(value: string);
7475
+ get terminals(): string[];
7476
+ set terminals(value: string[]);
7454
7477
  static fromObject(data: {
7455
7478
  requestId?: string;
7456
7479
  reason?: string;
7457
7480
  admin?: string;
7481
+ terminals?: string[];
7458
7482
  }): ApproveTerminalRequestRequest;
7459
7483
  toObject(): {
7460
7484
  requestId?: string | undefined;
7461
7485
  reason?: string | undefined;
7462
7486
  admin?: string | undefined;
7487
+ terminals?: string[] | undefined;
7463
7488
  };
7464
7489
  serialize(): Uint8Array;
7465
7490
  serialize(w: pb_1.BinaryWriter): void;