@aceplus/smartace-api 2.9.0 → 2.10.0-alpha.2

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
@@ -5,7 +5,7 @@
5
5
  "grpc-web": "^1.4.2",
6
6
  "ts-protoc-gen": "^0.15.0"
7
7
  },
8
- "version": "2.9.0",
8
+ "version": "2.10.0-alpha.2",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -36,9 +36,9 @@ export namespace PaginationProto {
36
36
  }
37
37
 
38
38
  export interface BooleanFilterTypeMap {
39
- TRUE: 0;
40
- FALSE: 1;
41
- ALL: 2;
39
+ ALL: 0;
40
+ TRUE: 1;
41
+ FALSE: 2;
42
42
  }
43
43
 
44
44
  export const BooleanFilterType: BooleanFilterTypeMap;
@@ -268,9 +268,9 @@ proto.Platform.PaginationProto.prototype.setCount = function(value) {
268
268
  * @enum {number}
269
269
  */
270
270
  proto.Platform.BooleanFilterType = {
271
- TRUE: 0,
272
- FALSE: 1,
273
- ALL: 2
271
+ ALL: 0,
272
+ TRUE: 1,
273
+ FALSE: 2
274
274
  };
275
275
 
276
276
  goog.object.extend(exports, proto.Platform);
@@ -734,8 +734,8 @@ export namespace CabinetProto {
734
734
  getCabinetId(): number;
735
735
  setCabinetId(value: number): void;
736
736
 
737
- getUserId(): number;
738
- setUserId(value: number): void;
737
+ getActive(): platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap];
738
+ setActive(value: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap]): void;
739
739
 
740
740
  clearEventTypeList(): void;
741
741
  getEventTypeList(): Array<CabinetProto.Event.EventTypeMap[keyof CabinetProto.Event.EventTypeMap]>;
@@ -774,7 +774,7 @@ export namespace CabinetProto {
774
774
  export namespace SearchRequest {
775
775
  export type AsObject = {
776
776
  cabinetId: number,
777
- userId: number,
777
+ active: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap],
778
778
  eventTypeList: Array<CabinetProto.Event.EventTypeMap[keyof CabinetProto.Event.EventTypeMap]>,
779
779
  page: number,
780
780
  count: number,
@@ -5523,7 +5523,7 @@ proto.Spic.CabinetProto.Event.SearchRequest.prototype.toObject = function(opt_in
5523
5523
  proto.Spic.CabinetProto.Event.SearchRequest.toObject = function(includeInstance, msg) {
5524
5524
  var f, obj = {
5525
5525
  cabinetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
5526
- userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
5526
+ active: jspb.Message.getFieldWithDefault(msg, 2, 0),
5527
5527
  eventTypeList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
5528
5528
  page: jspb.Message.getFieldWithDefault(msg, 4, 0),
5529
5529
  count: jspb.Message.getFieldWithDefault(msg, 5, 0),
@@ -5571,8 +5571,8 @@ proto.Spic.CabinetProto.Event.SearchRequest.deserializeBinaryFromReader = functi
5571
5571
  msg.setCabinetId(value);
5572
5572
  break;
5573
5573
  case 2:
5574
- var value = /** @type {number} */ (reader.readInt64());
5575
- msg.setUserId(value);
5574
+ var value = /** @type {!proto.Platform.BooleanFilterType} */ (reader.readEnum());
5575
+ msg.setActive(value);
5576
5576
  break;
5577
5577
  case 3:
5578
5578
  var values = /** @type {!Array<!proto.Spic.CabinetProto.Event.EventType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
@@ -5638,9 +5638,9 @@ proto.Spic.CabinetProto.Event.SearchRequest.serializeBinaryToWriter = function(m
5638
5638
  f
5639
5639
  );
5640
5640
  }
5641
- f = message.getUserId();
5642
- if (f !== 0) {
5643
- writer.writeInt64(
5641
+ f = message.getActive();
5642
+ if (f !== 0.0) {
5643
+ writer.writeEnum(
5644
5644
  2,
5645
5645
  f
5646
5646
  );
@@ -5711,20 +5711,20 @@ proto.Spic.CabinetProto.Event.SearchRequest.prototype.setCabinetId = function(va
5711
5711
 
5712
5712
 
5713
5713
  /**
5714
- * optional int64 user_id = 2;
5715
- * @return {number}
5714
+ * optional Platform.BooleanFilterType active = 2;
5715
+ * @return {!proto.Platform.BooleanFilterType}
5716
5716
  */
5717
- proto.Spic.CabinetProto.Event.SearchRequest.prototype.getUserId = function() {
5718
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5717
+ proto.Spic.CabinetProto.Event.SearchRequest.prototype.getActive = function() {
5718
+ return /** @type {!proto.Platform.BooleanFilterType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5719
5719
  };
5720
5720
 
5721
5721
 
5722
5722
  /**
5723
- * @param {number} value
5723
+ * @param {!proto.Platform.BooleanFilterType} value
5724
5724
  * @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
5725
5725
  */
5726
- proto.Spic.CabinetProto.Event.SearchRequest.prototype.setUserId = function(value) {
5727
- return jspb.Message.setProto3IntField(this, 2, value);
5726
+ proto.Spic.CabinetProto.Event.SearchRequest.prototype.setActive = function(value) {
5727
+ return jspb.Message.setProto3EnumField(this, 2, value);
5728
5728
  };
5729
5729
 
5730
5730