@aceplus/smartace-api 2.13.0-alpha.17 → 2.13.0-alpha.18

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.
@@ -32,9 +32,6 @@ export class AccountProto extends jspb.Message {
32
32
  getActive(): string;
33
33
  setActive(value: string): void;
34
34
 
35
- getType(): AccountProto.AccountTypesMap[keyof AccountProto.AccountTypesMap];
36
- setType(value: AccountProto.AccountTypesMap[keyof AccountProto.AccountTypesMap]): void;
37
-
38
35
  serializeBinary(): Uint8Array;
39
36
  toObject(includeInstance?: boolean): AccountProto.AsObject;
40
37
  static toObject(includeInstance: boolean, msg: AccountProto): AccountProto.AsObject;
@@ -55,7 +52,6 @@ export namespace AccountProto {
55
52
  locale: string,
56
53
  company: string,
57
54
  active: string,
58
- type: AccountProto.AccountTypesMap[keyof AccountProto.AccountTypesMap],
59
55
  }
60
56
 
61
57
  export class CreateAdminRequest extends jspb.Message {
@@ -554,13 +550,6 @@ export namespace AccountProto {
554
550
  }
555
551
  }
556
552
 
557
- export interface AccountTypesMap {
558
- EMAIL: 0;
559
- MOBILE: 1;
560
- }
561
-
562
- export const AccountTypes: AccountTypesMap;
563
-
564
553
  export interface RolesMap {
565
554
  SYSTEM_ADMIN: 0;
566
555
  ADMIN: 1;
@@ -30,7 +30,6 @@ goog.object.extend(proto, platform_pagination_pb);
30
30
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
31
31
  goog.object.extend(proto, google_protobuf_empty_pb);
32
32
  goog.exportSymbol('proto.Auth.AccountProto', null, global);
33
- goog.exportSymbol('proto.Auth.AccountProto.AccountTypes', null, global);
34
33
  goog.exportSymbol('proto.Auth.AccountProto.AccountsActivationStatuses', null, global);
35
34
  goog.exportSymbol('proto.Auth.AccountProto.ActivateAccountRequest', null, global);
36
35
  goog.exportSymbol('proto.Auth.AccountProto.ActivationStatuses', null, global);
@@ -511,8 +510,7 @@ proto.Auth.AccountProto.toObject = function(includeInstance, msg) {
511
510
  lastName: jspb.Message.getFieldWithDefault(msg, 5, ""),
512
511
  locale: jspb.Message.getFieldWithDefault(msg, 6, ""),
513
512
  company: jspb.Message.getFieldWithDefault(msg, 7, ""),
514
- active: jspb.Message.getFieldWithDefault(msg, 8, ""),
515
- type: jspb.Message.getFieldWithDefault(msg, 9, 0)
513
+ active: jspb.Message.getFieldWithDefault(msg, 8, "")
516
514
  };
517
515
 
518
516
  if (includeInstance) {
@@ -581,10 +579,6 @@ proto.Auth.AccountProto.deserializeBinaryFromReader = function(msg, reader) {
581
579
  var value = /** @type {string} */ (reader.readString());
582
580
  msg.setActive(value);
583
581
  break;
584
- case 9:
585
- var value = /** @type {!proto.Auth.AccountProto.AccountTypes} */ (reader.readEnum());
586
- msg.setType(value);
587
- break;
588
582
  default:
589
583
  reader.skipField();
590
584
  break;
@@ -670,24 +664,9 @@ proto.Auth.AccountProto.serializeBinaryToWriter = function(message, writer) {
670
664
  f
671
665
  );
672
666
  }
673
- f = message.getType();
674
- if (f !== 0.0) {
675
- writer.writeEnum(
676
- 9,
677
- f
678
- );
679
- }
680
667
  };
681
668
 
682
669
 
683
- /**
684
- * @enum {number}
685
- */
686
- proto.Auth.AccountProto.AccountTypes = {
687
- EMAIL: 0,
688
- MOBILE: 1
689
- };
690
-
691
670
  /**
692
671
  * @enum {number}
693
672
  */
@@ -4245,22 +4224,4 @@ proto.Auth.AccountProto.prototype.setActive = function(value) {
4245
4224
  };
4246
4225
 
4247
4226
 
4248
- /**
4249
- * optional AccountTypes type = 9;
4250
- * @return {!proto.Auth.AccountProto.AccountTypes}
4251
- */
4252
- proto.Auth.AccountProto.prototype.getType = function() {
4253
- return /** @type {!proto.Auth.AccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
4254
- };
4255
-
4256
-
4257
- /**
4258
- * @param {!proto.Auth.AccountProto.AccountTypes} value
4259
- * @return {!proto.Auth.AccountProto} returns this
4260
- */
4261
- proto.Auth.AccountProto.prototype.setType = function(value) {
4262
- return jspb.Message.setProto3EnumField(this, 9, value);
4263
- };
4264
-
4265
-
4266
4227
  goog.object.extend(exports, proto.Auth);
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.13.0-alpha.17",
8
+ "version": "2.13.0-alpha.18",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -55,8 +55,8 @@ export class LocalAccountProto extends jspb.Message {
55
55
  getClientId(): number;
56
56
  setClientId(value: number): void;
57
57
 
58
- getType(): auth_account_pb.AccountProto.AccountTypesMap[keyof auth_account_pb.AccountProto.AccountTypesMap];
59
- setType(value: auth_account_pb.AccountProto.AccountTypesMap[keyof auth_account_pb.AccountProto.AccountTypesMap]): void;
58
+ getType(): LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap];
59
+ setType(value: LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap]): void;
60
60
 
61
61
  serializeBinary(): Uint8Array;
62
62
  toObject(includeInstance?: boolean): LocalAccountProto.AsObject;
@@ -84,7 +84,7 @@ export namespace LocalAccountProto {
84
84
  status: auth_account_pb.AccountProto.ActivationStatusesMap[keyof auth_account_pb.AccountProto.ActivationStatusesMap],
85
85
  deleted: boolean,
86
86
  clientId: number,
87
- type: auth_account_pb.AccountProto.AccountTypesMap[keyof auth_account_pb.AccountProto.AccountTypesMap],
87
+ type: LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap],
88
88
  }
89
89
 
90
90
  export class CreateAdminRequest extends jspb.Message {
@@ -392,5 +392,12 @@ export namespace LocalAccountProto {
392
392
  id: number,
393
393
  }
394
394
  }
395
+
396
+ export interface AccountTypesMap {
397
+ ADMIN: 0;
398
+ APP: 1;
399
+ }
400
+
401
+ export const AccountTypes: AccountTypesMap;
395
402
  }
396
403
 
@@ -32,6 +32,7 @@ goog.object.extend(proto, platform_pagination_pb);
32
32
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
33
33
  goog.object.extend(proto, google_protobuf_timestamp_pb);
34
34
  goog.exportSymbol('proto.Platform.LocalAccountProto', null, global);
35
+ goog.exportSymbol('proto.Platform.LocalAccountProto.AccountTypes', null, global);
35
36
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAdminRequest', null, global);
36
37
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAppRequest', null, global);
37
38
  goog.exportSymbol('proto.Platform.LocalAccountProto.DisableAccount', null, global);
@@ -423,7 +424,7 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
423
424
  msg.setClientId(value);
424
425
  break;
425
426
  case 15:
426
- var value = /** @type {!proto.Auth.AccountProto.AccountTypes} */ (reader.readEnum());
427
+ var value = /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (reader.readEnum());
427
428
  msg.setType(value);
428
429
  break;
429
430
  default:
@@ -564,6 +565,14 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
564
565
  };
565
566
 
566
567
 
568
+ /**
569
+ * @enum {number}
570
+ */
571
+ proto.Platform.LocalAccountProto.AccountTypes = {
572
+ ADMIN: 0,
573
+ APP: 1
574
+ };
575
+
567
576
 
568
577
  /**
569
578
  * List of repeated fields within this message type.
@@ -3003,16 +3012,16 @@ proto.Platform.LocalAccountProto.prototype.setClientId = function(value) {
3003
3012
 
3004
3013
 
3005
3014
  /**
3006
- * optional Auth.AccountProto.AccountTypes type = 15;
3007
- * @return {!proto.Auth.AccountProto.AccountTypes}
3015
+ * optional AccountTypes type = 15;
3016
+ * @return {!proto.Platform.LocalAccountProto.AccountTypes}
3008
3017
  */
3009
3018
  proto.Platform.LocalAccountProto.prototype.getType = function() {
3010
- return /** @type {!proto.Auth.AccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
3019
+ return /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
3011
3020
  };
3012
3021
 
3013
3022
 
3014
3023
  /**
3015
- * @param {!proto.Auth.AccountProto.AccountTypes} value
3024
+ * @param {!proto.Platform.LocalAccountProto.AccountTypes} value
3016
3025
  * @return {!proto.Platform.LocalAccountProto} returns this
3017
3026
  */
3018
3027
  proto.Platform.LocalAccountProto.prototype.setType = function(value) {