@aceplus/smartace-api 2.11.0 → 2.12.0-mateusz-distributionLogs.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.
@@ -69,8 +69,8 @@ export namespace DistributionProto {
69
69
  }
70
70
 
71
71
  export class DistributionLog extends jspb.Message {
72
- getId(): number;
73
- setId(value: number): void;
72
+ getId(): string;
73
+ setId(value: string): void;
74
74
 
75
75
  getError(): boolean;
76
76
  setError(value: boolean): void;
@@ -119,7 +119,7 @@ export namespace DistributionProto {
119
119
 
120
120
  export namespace DistributionLog {
121
121
  export type AsObject = {
122
- id: number,
122
+ id: string,
123
123
  error: boolean,
124
124
  date?: google_protobuf_timestamp_pb.Timestamp.AsObject,
125
125
  uid: string,
@@ -605,7 +605,7 @@ proto.Auth.DistributionProto.DistributionLog.prototype.toObject = function(opt_i
605
605
  */
606
606
  proto.Auth.DistributionProto.DistributionLog.toObject = function(includeInstance, msg) {
607
607
  var f, obj = {
608
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
608
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
609
609
  error: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
610
610
  date: (f = msg.getDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
611
611
  uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -654,7 +654,7 @@ proto.Auth.DistributionProto.DistributionLog.deserializeBinaryFromReader = funct
654
654
  var field = reader.getFieldNumber();
655
655
  switch (field) {
656
656
  case 1:
657
- var value = /** @type {number} */ (reader.readInt64());
657
+ var value = /** @type {string} */ (reader.readString());
658
658
  msg.setId(value);
659
659
  break;
660
660
  case 2:
@@ -732,8 +732,8 @@ proto.Auth.DistributionProto.DistributionLog.prototype.serializeBinary = functio
732
732
  proto.Auth.DistributionProto.DistributionLog.serializeBinaryToWriter = function(message, writer) {
733
733
  var f = undefined;
734
734
  f = message.getId();
735
- if (f !== 0) {
736
- writer.writeInt64(
735
+ if (f.length > 0) {
736
+ writer.writeString(
737
737
  1,
738
738
  f
739
739
  );
@@ -1548,20 +1548,20 @@ proto.Auth.DistributionProto.DistributionLog.RetrieveReply.prototype.hasPaginati
1548
1548
 
1549
1549
 
1550
1550
  /**
1551
- * optional int64 id = 1;
1552
- * @return {number}
1551
+ * optional string id = 1;
1552
+ * @return {string}
1553
1553
  */
1554
1554
  proto.Auth.DistributionProto.DistributionLog.prototype.getId = function() {
1555
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1555
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1556
1556
  };
1557
1557
 
1558
1558
 
1559
1559
  /**
1560
- * @param {number} value
1560
+ * @param {string} value
1561
1561
  * @return {!proto.Auth.DistributionProto.DistributionLog} returns this
1562
1562
  */
1563
1563
  proto.Auth.DistributionProto.DistributionLog.prototype.setId = function(value) {
1564
- return jspb.Message.setProto3IntField(this, 1, value);
1564
+ return jspb.Message.setProto3StringField(this, 1, value);
1565
1565
  };
1566
1566
 
1567
1567
 
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.11.0",
8
+ "version": "2.12.0-mateusz-distributionLogs.1",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [