@aceplus/smartace-api 2.1.0-drumtracker.12 → 2.1.0-drumtracker.13

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.
@@ -6,6 +6,7 @@ import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty
6
6
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
7
7
  import * as google_api_annotations_pb from "./google/api/annotations_pb";
8
8
  import * as platform_pagination_pb from "./platform.pagination_pb";
9
+ import * as drumtracker_tracker_pb from "./drumtracker.tracker_pb";
9
10
 
10
11
  export class DrumProto extends jspb.Message {
11
12
  getId(): number;
@@ -53,6 +54,11 @@ export class DrumProto extends jspb.Message {
53
54
  getCustomerReference(): string;
54
55
  setCustomerReference(value: string): void;
55
56
 
57
+ clearEventsList(): void;
58
+ getEventsList(): Array<drumtracker_tracker_pb.TrackerProto.Event>;
59
+ setEventsList(value: Array<drumtracker_tracker_pb.TrackerProto.Event>): void;
60
+ addEvents(value?: drumtracker_tracker_pb.TrackerProto.Event, index?: number): drumtracker_tracker_pb.TrackerProto.Event;
61
+
56
62
  serializeBinary(): Uint8Array;
57
63
  toObject(includeInstance?: boolean): DrumProto.AsObject;
58
64
  static toObject(includeInstance: boolean, msg: DrumProto): DrumProto.AsObject;
@@ -78,6 +84,7 @@ export namespace DrumProto {
78
84
  lastUpdate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
79
85
  salesReference: string,
80
86
  customerReference: string,
87
+ eventsList: Array<drumtracker_tracker_pb.TrackerProto.Event.AsObject>,
81
88
  }
82
89
 
83
90
  export class CableType extends jspb.Message {
@@ -29,6 +29,8 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
29
29
  goog.object.extend(proto, google_api_annotations_pb);
30
30
  var platform_pagination_pb = require('./platform.pagination_pb.js');
31
31
  goog.object.extend(proto, platform_pagination_pb);
32
+ var drumtracker_tracker_pb = require('./drumtracker.tracker_pb.js');
33
+ goog.object.extend(proto, drumtracker_tracker_pb);
32
34
  goog.exportSymbol('proto.Drumtracker.DrumProto', null, global);
33
35
  goog.exportSymbol('proto.Drumtracker.DrumProto.CableType', null, global);
34
36
  goog.exportSymbol('proto.Drumtracker.DrumProto.CountReply', null, global);
@@ -57,7 +59,7 @@ goog.exportSymbol('proto.Drumtracker.DrumProto.UpdateRequest', null, global);
57
59
  * @constructor
58
60
  */
59
61
  proto.Drumtracker.DrumProto = function(opt_data) {
60
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
62
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Drumtracker.DrumProto.repeatedFields_, null);
61
63
  };
62
64
  goog.inherits(proto.Drumtracker.DrumProto, jspb.Message);
63
65
  if (goog.DEBUG && !COMPILED) {
@@ -362,6 +364,13 @@ if (goog.DEBUG && !COMPILED) {
362
364
  proto.Drumtracker.DrumProto.DrumFilters.displayName = 'proto.Drumtracker.DrumProto.DrumFilters';
363
365
  }
364
366
 
367
+ /**
368
+ * List of repeated fields within this message type.
369
+ * @private {!Array<number>}
370
+ * @const
371
+ */
372
+ proto.Drumtracker.DrumProto.repeatedFields_ = [14];
373
+
365
374
 
366
375
 
367
376
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -405,7 +414,9 @@ proto.Drumtracker.DrumProto.toObject = function(includeInstance, msg) {
405
414
  temperature: jspb.Message.getFieldWithDefault(msg, 10, 0),
406
415
  lastUpdate: (f = msg.getLastUpdate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
407
416
  salesReference: jspb.Message.getFieldWithDefault(msg, 12, ""),
408
- customerReference: jspb.Message.getFieldWithDefault(msg, 13, "")
417
+ customerReference: jspb.Message.getFieldWithDefault(msg, 13, ""),
418
+ eventsList: jspb.Message.toObjectList(msg.getEventsList(),
419
+ drumtracker_tracker_pb.TrackerProto.Event.toObject, includeInstance)
409
420
  };
410
421
 
411
422
  if (includeInstance) {
@@ -497,6 +508,11 @@ proto.Drumtracker.DrumProto.deserializeBinaryFromReader = function(msg, reader)
497
508
  var value = /** @type {string} */ (reader.readString());
498
509
  msg.setCustomerReference(value);
499
510
  break;
511
+ case 14:
512
+ var value = new drumtracker_tracker_pb.TrackerProto.Event;
513
+ reader.readMessage(value,drumtracker_tracker_pb.TrackerProto.Event.deserializeBinaryFromReader);
514
+ msg.addEvents(value);
515
+ break;
500
516
  default:
501
517
  reader.skipField();
502
518
  break;
@@ -620,6 +636,14 @@ proto.Drumtracker.DrumProto.serializeBinaryToWriter = function(message, writer)
620
636
  f
621
637
  );
622
638
  }
639
+ f = message.getEventsList();
640
+ if (f.length > 0) {
641
+ writer.writeRepeatedMessage(
642
+ 14,
643
+ f,
644
+ drumtracker_tracker_pb.TrackerProto.Event.serializeBinaryToWriter
645
+ );
646
+ }
623
647
  };
624
648
 
625
649
 
@@ -4023,4 +4047,42 @@ proto.Drumtracker.DrumProto.prototype.setCustomerReference = function(value) {
4023
4047
  };
4024
4048
 
4025
4049
 
4050
+ /**
4051
+ * repeated TrackerProto.Event events = 14;
4052
+ * @return {!Array<!proto.Drumtracker.TrackerProto.Event>}
4053
+ */
4054
+ proto.Drumtracker.DrumProto.prototype.getEventsList = function() {
4055
+ return /** @type{!Array<!proto.Drumtracker.TrackerProto.Event>} */ (
4056
+ jspb.Message.getRepeatedWrapperField(this, drumtracker_tracker_pb.TrackerProto.Event, 14));
4057
+ };
4058
+
4059
+
4060
+ /**
4061
+ * @param {!Array<!proto.Drumtracker.TrackerProto.Event>} value
4062
+ * @return {!proto.Drumtracker.DrumProto} returns this
4063
+ */
4064
+ proto.Drumtracker.DrumProto.prototype.setEventsList = function(value) {
4065
+ return jspb.Message.setRepeatedWrapperField(this, 14, value);
4066
+ };
4067
+
4068
+
4069
+ /**
4070
+ * @param {!proto.Drumtracker.TrackerProto.Event=} opt_value
4071
+ * @param {number=} opt_index
4072
+ * @return {!proto.Drumtracker.TrackerProto.Event}
4073
+ */
4074
+ proto.Drumtracker.DrumProto.prototype.addEvents = function(opt_value, opt_index) {
4075
+ return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.Drumtracker.TrackerProto.Event, opt_index);
4076
+ };
4077
+
4078
+
4079
+ /**
4080
+ * Clears the list making it empty but non-null.
4081
+ * @return {!proto.Drumtracker.DrumProto} returns this
4082
+ */
4083
+ proto.Drumtracker.DrumProto.prototype.clearEventsList = function() {
4084
+ return this.setEventsList([]);
4085
+ };
4086
+
4087
+
4026
4088
  goog.object.extend(exports, proto.Drumtracker);
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "grpc-web": "^1.4.2",
6
6
  "ts-protoc-gen": "^0.15.0"
7
7
  },
8
- "version": "2.1.0-drumtracker.12",
8
+ "version": "2.1.0-drumtracker.13",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [