@aceplus/smartace-api 2.4.0-alpha.4 → 2.4.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.
@@ -502,8 +502,8 @@ export namespace AccountProto {
502
502
  getId(): number;
503
503
  setId(value: number): void;
504
504
 
505
- getRoleId(): number;
506
- setRoleId(value: number): void;
505
+ getRole(): AccountProto.RolesMap[keyof AccountProto.RolesMap];
506
+ setRole(value: AccountProto.RolesMap[keyof AccountProto.RolesMap]): void;
507
507
 
508
508
  serializeBinary(): Uint8Array;
509
509
  toObject(includeInstance?: boolean): AccountClusterRoleRequest.AsObject;
@@ -518,8 +518,20 @@ export namespace AccountProto {
518
518
  export namespace AccountClusterRoleRequest {
519
519
  export type AsObject = {
520
520
  id: number,
521
- roleId: number,
521
+ role: AccountProto.RolesMap[keyof AccountProto.RolesMap],
522
522
  }
523
523
  }
524
+
525
+ export interface RolesMap {
526
+ SYSTEM_ADMIN: 0;
527
+ ADMIN: 1;
528
+ APP_GLOBAL: 2;
529
+ APP_CLUSTER: 3;
530
+ SERVICE_USER: 4;
531
+ DRUM_API_ERP: 5;
532
+ DRUM_TRACKER_VIEW_ALL: 6;
533
+ }
534
+
535
+ export const Roles: RolesMap;
524
536
  }
525
537
 
@@ -42,6 +42,7 @@ goog.exportSymbol('proto.Auth.AccountProto.ForgotPasswordRequest', null, global)
42
42
  goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoReply', null, global);
43
43
  goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoRequest', null, global);
44
44
  goog.exportSymbol('proto.Auth.AccountProto.RetrieveRequest', null, global);
45
+ goog.exportSymbol('proto.Auth.AccountProto.Roles', null, global);
45
46
  goog.exportSymbol('proto.Auth.AccountProto.Scope', null, global);
46
47
  goog.exportSymbol('proto.Auth.AccountProto.SearchReply', null, global);
47
48
  goog.exportSymbol('proto.Auth.AccountProto.SearchRequest', null, global);
@@ -631,6 +632,19 @@ proto.Auth.AccountProto.serializeBinaryToWriter = function(message, writer) {
631
632
  };
632
633
 
633
634
 
635
+ /**
636
+ * @enum {number}
637
+ */
638
+ proto.Auth.AccountProto.Roles = {
639
+ SYSTEM_ADMIN: 0,
640
+ ADMIN: 1,
641
+ APP_GLOBAL: 2,
642
+ APP_CLUSTER: 3,
643
+ SERVICE_USER: 4,
644
+ DRUM_API_ERP: 5,
645
+ DRUM_TRACKER_VIEW_ALL: 6
646
+ };
647
+
634
648
 
635
649
 
636
650
 
@@ -3727,7 +3741,7 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.toObject = function(
3727
3741
  proto.Auth.AccountProto.AccountClusterRoleRequest.toObject = function(includeInstance, msg) {
3728
3742
  var f, obj = {
3729
3743
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3730
- roleId: jspb.Message.getFieldWithDefault(msg, 2, 0)
3744
+ role: jspb.Message.getFieldWithDefault(msg, 2, 0)
3731
3745
  };
3732
3746
 
3733
3747
  if (includeInstance) {
@@ -3769,8 +3783,8 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader =
3769
3783
  msg.setId(value);
3770
3784
  break;
3771
3785
  case 2:
3772
- var value = /** @type {number} */ (reader.readInt32());
3773
- msg.setRoleId(value);
3786
+ var value = /** @type {!proto.Auth.AccountProto.Roles} */ (reader.readEnum());
3787
+ msg.setRole(value);
3774
3788
  break;
3775
3789
  default:
3776
3790
  reader.skipField();
@@ -3808,9 +3822,9 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter = func
3808
3822
  f
3809
3823
  );
3810
3824
  }
3811
- f = message.getRoleId();
3812
- if (f !== 0) {
3813
- writer.writeInt32(
3825
+ f = message.getRole();
3826
+ if (f !== 0.0) {
3827
+ writer.writeEnum(
3814
3828
  2,
3815
3829
  f
3816
3830
  );
@@ -3837,20 +3851,20 @@ proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setId = function(val
3837
3851
 
3838
3852
 
3839
3853
  /**
3840
- * optional int32 role_id = 2;
3841
- * @return {number}
3854
+ * optional Roles role = 2;
3855
+ * @return {!proto.Auth.AccountProto.Roles}
3842
3856
  */
3843
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getRoleId = function() {
3844
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3857
+ proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getRole = function() {
3858
+ return /** @type {!proto.Auth.AccountProto.Roles} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3845
3859
  };
3846
3860
 
3847
3861
 
3848
3862
  /**
3849
- * @param {number} value
3863
+ * @param {!proto.Auth.AccountProto.Roles} value
3850
3864
  * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
3851
3865
  */
3852
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setRoleId = function(value) {
3853
- return jspb.Message.setProto3IntField(this, 2, value);
3866
+ proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setRole = function(value) {
3867
+ return jspb.Message.setProto3EnumField(this, 2, value);
3854
3868
  };
3855
3869
 
3856
3870
 
@@ -2,7 +2,6 @@
2
2
  // file: auth.account_two_factor.proto
3
3
 
4
4
  import * as jspb from "google-protobuf";
5
- import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
6
5
  import * as google_api_annotations_pb from "./google/api/annotations_pb";
7
6
  import * as auth_authn_pb from "./auth.authn_pb";
8
7
 
@@ -21,8 +21,6 @@ var global =
21
21
  (function () { return this; }).call(null) ||
22
22
  Function('return this')();
23
23
 
24
- var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
25
- goog.object.extend(proto, google_protobuf_duration_pb);
26
24
  var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
25
  goog.object.extend(proto, google_api_annotations_pb);
28
26
  var auth_authn_pb = require('./auth.authn_pb.js');
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.4.0-alpha.4",
8
+ "version": "2.4.1",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -4,6 +4,7 @@
4
4
  import * as jspb from "google-protobuf";
5
5
  import * as google_api_annotations_pb from "./google/api/annotations_pb";
6
6
  import * as platform_pagination_pb from "./platform.pagination_pb";
7
+ import * as auth_account_pb from "./auth.account_pb";
7
8
 
8
9
  export class ClientProto extends jspb.Message {
9
10
  getId(): number;
@@ -36,9 +37,9 @@ export class ClientProto extends jspb.Message {
36
37
  setKapusModuleEnabled(value: boolean): void;
37
38
 
38
39
  clearAssignableRolesList(): void;
39
- getAssignableRolesList(): Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>;
40
- setAssignableRolesList(value: Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>): void;
41
- addAssignableRoles(value: ClientProto.RolesMap[keyof ClientProto.RolesMap], index?: number): ClientProto.RolesMap[keyof ClientProto.RolesMap];
40
+ getAssignableRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
41
+ setAssignableRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
42
+ addAssignableRoles(value: auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap], index?: number): auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap];
42
43
 
43
44
  serializeBinary(): Uint8Array;
44
45
  toObject(includeInstance?: boolean): ClientProto.AsObject;
@@ -61,7 +62,7 @@ export namespace ClientProto {
61
62
  spicModuleEnabled: boolean,
62
63
  drumtrackerModuleEnabled: boolean,
63
64
  kapusModuleEnabled: boolean,
64
- assignableRolesList: Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>,
65
+ assignableRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
65
66
  }
66
67
 
67
68
  export class CreateRequest extends jspb.Message {
@@ -92,9 +93,9 @@ export namespace ClientProto {
92
93
  setKapusModuleEnabled(value: boolean): void;
93
94
 
94
95
  clearAssignableRolesList(): void;
95
- getAssignableRolesList(): Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>;
96
- setAssignableRolesList(value: Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>): void;
97
- addAssignableRoles(value: ClientProto.RolesMap[keyof ClientProto.RolesMap], index?: number): ClientProto.RolesMap[keyof ClientProto.RolesMap];
96
+ getAssignableRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
97
+ setAssignableRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
98
+ addAssignableRoles(value: auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap], index?: number): auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap];
98
99
 
99
100
  serializeBinary(): Uint8Array;
100
101
  toObject(includeInstance?: boolean): CreateRequest.AsObject;
@@ -116,7 +117,7 @@ export namespace ClientProto {
116
117
  spicModuleEnabled: boolean,
117
118
  drumtrackerModuleEnabled: boolean,
118
119
  kapusModuleEnabled: boolean,
119
- assignableRolesList: Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>,
120
+ assignableRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
120
121
  }
121
122
  }
122
123
 
@@ -334,18 +335,6 @@ export namespace ClientProto {
334
335
  }
335
336
  }
336
337
 
337
- export interface RolesMap {
338
- SYSTEM_ADMIN: 0;
339
- ADMIN: 1;
340
- APP_GLOBAL: 2;
341
- APP_CLUSTER: 3;
342
- SERVICE_USER: 4;
343
- DRUM_API_ERP: 5;
344
- DRUM_TRACKER_VIEW_ALL: 6;
345
- }
346
-
347
- export const Roles: RolesMap;
348
-
349
338
  export interface ClientFilterTypeMap {
350
339
  REGISTERED: 0;
351
340
  AVAILABLE: 1;
@@ -25,6 +25,8 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
25
25
  goog.object.extend(proto, google_api_annotations_pb);
26
26
  var platform_pagination_pb = require('./platform.pagination_pb.js');
27
27
  goog.object.extend(proto, platform_pagination_pb);
28
+ var auth_account_pb = require('./auth.account_pb.js');
29
+ goog.object.extend(proto, auth_account_pb);
28
30
  goog.exportSymbol('proto.Platform.ClientProto', null, global);
29
31
  goog.exportSymbol('proto.Platform.ClientProto.ClientFilterType', null, global);
30
32
  goog.exportSymbol('proto.Platform.ClientProto.CreateRequest', null, global);
@@ -33,7 +35,6 @@ goog.exportSymbol('proto.Platform.ClientProto.DeleteRequest', null, global);
33
35
  goog.exportSymbol('proto.Platform.ClientProto.RetrieveForAccountReply', null, global);
34
36
  goog.exportSymbol('proto.Platform.ClientProto.RetrieveForAccountRequest', null, global);
35
37
  goog.exportSymbol('proto.Platform.ClientProto.RetrieveRequest', null, global);
36
- goog.exportSymbol('proto.Platform.ClientProto.Roles', null, global);
37
38
  goog.exportSymbol('proto.Platform.ClientProto.SearchReply', null, global);
38
39
  goog.exportSymbol('proto.Platform.ClientProto.SearchRequest', null, global);
39
40
  goog.exportSymbol('proto.Platform.ClientProto.UpdateRequest', null, global);
@@ -369,7 +370,7 @@ proto.Platform.ClientProto.deserializeBinaryFromReader = function(msg, reader) {
369
370
  msg.setKapusModuleEnabled(value);
370
371
  break;
371
372
  case 10:
372
- var values = /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
373
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
373
374
  for (var i = 0; i < values.length; i++) {
374
375
  msg.addAssignableRoles(values[i]);
375
376
  }
@@ -476,19 +477,6 @@ proto.Platform.ClientProto.serializeBinaryToWriter = function(message, writer) {
476
477
  };
477
478
 
478
479
 
479
- /**
480
- * @enum {number}
481
- */
482
- proto.Platform.ClientProto.Roles = {
483
- SYSTEM_ADMIN: 0,
484
- ADMIN: 1,
485
- APP_GLOBAL: 2,
486
- APP_CLUSTER: 3,
487
- SERVICE_USER: 4,
488
- DRUM_API_ERP: 5,
489
- DRUM_TRACKER_VIEW_ALL: 6
490
- };
491
-
492
480
  /**
493
481
  * @enum {number}
494
482
  */
@@ -614,7 +602,7 @@ proto.Platform.ClientProto.CreateRequest.deserializeBinaryFromReader = function(
614
602
  msg.setKapusModuleEnabled(value);
615
603
  break;
616
604
  case 9:
617
- var values = /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
605
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
618
606
  for (var i = 0; i < values.length; i++) {
619
607
  msg.addAssignableRoles(values[i]);
620
608
  }
@@ -883,16 +871,16 @@ proto.Platform.ClientProto.CreateRequest.prototype.setKapusModuleEnabled = funct
883
871
 
884
872
 
885
873
  /**
886
- * repeated Roles assignable_roles = 9;
887
- * @return {!Array<!proto.Platform.ClientProto.Roles>}
874
+ * repeated Auth.AccountProto.Roles assignable_roles = 9;
875
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
888
876
  */
889
877
  proto.Platform.ClientProto.CreateRequest.prototype.getAssignableRolesList = function() {
890
- return /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (jspb.Message.getRepeatedField(this, 9));
878
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 9));
891
879
  };
892
880
 
893
881
 
894
882
  /**
895
- * @param {!Array<!proto.Platform.ClientProto.Roles>} value
883
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
896
884
  * @return {!proto.Platform.ClientProto.CreateRequest} returns this
897
885
  */
898
886
  proto.Platform.ClientProto.CreateRequest.prototype.setAssignableRolesList = function(value) {
@@ -901,7 +889,7 @@ proto.Platform.ClientProto.CreateRequest.prototype.setAssignableRolesList = func
901
889
 
902
890
 
903
891
  /**
904
- * @param {!proto.Platform.ClientProto.Roles} value
892
+ * @param {!proto.Auth.AccountProto.Roles} value
905
893
  * @param {number=} opt_index
906
894
  * @return {!proto.Platform.ClientProto.CreateRequest} returns this
907
895
  */
@@ -2610,16 +2598,16 @@ proto.Platform.ClientProto.prototype.setKapusModuleEnabled = function(value) {
2610
2598
 
2611
2599
 
2612
2600
  /**
2613
- * repeated Roles assignable_roles = 10;
2614
- * @return {!Array<!proto.Platform.ClientProto.Roles>}
2601
+ * repeated Auth.AccountProto.Roles assignable_roles = 10;
2602
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
2615
2603
  */
2616
2604
  proto.Platform.ClientProto.prototype.getAssignableRolesList = function() {
2617
- return /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (jspb.Message.getRepeatedField(this, 10));
2605
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 10));
2618
2606
  };
2619
2607
 
2620
2608
 
2621
2609
  /**
2622
- * @param {!Array<!proto.Platform.ClientProto.Roles>} value
2610
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
2623
2611
  * @return {!proto.Platform.ClientProto} returns this
2624
2612
  */
2625
2613
  proto.Platform.ClientProto.prototype.setAssignableRolesList = function(value) {
@@ -2628,7 +2616,7 @@ proto.Platform.ClientProto.prototype.setAssignableRolesList = function(value) {
2628
2616
 
2629
2617
 
2630
2618
  /**
2631
- * @param {!proto.Platform.ClientProto.Roles} value
2619
+ * @param {!proto.Auth.AccountProto.Roles} value
2632
2620
  * @param {number=} opt_index
2633
2621
  * @return {!proto.Platform.ClientProto} returns this
2634
2622
  */
@@ -7,7 +7,6 @@ import * as google_api_annotations_pb from "./google/api/annotations_pb";
7
7
  import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
8
8
  import * as platform_pagination_pb from "./platform.pagination_pb";
9
9
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
10
- import * as platform_client_pb from "./platform.client_pb";
11
10
 
12
11
  export class LocalAccountProto extends jspb.Message {
13
12
  getId(): number;
@@ -43,9 +42,9 @@ export class LocalAccountProto extends jspb.Message {
43
42
  setExpiredAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
44
43
 
45
44
  clearAssignedRolesList(): void;
46
- getAssignedRolesList(): Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>;
47
- setAssignedRolesList(value: Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>): void;
48
- addAssignedRoles(value: platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap], index?: number): platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap];
45
+ getAssignedRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
46
+ setAssignedRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
47
+ addAssignedRoles(value: auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap], index?: number): auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap];
49
48
 
50
49
  serializeBinary(): Uint8Array;
51
50
  toObject(includeInstance?: boolean): LocalAccountProto.AsObject;
@@ -69,7 +68,7 @@ export namespace LocalAccountProto {
69
68
  groupId: string,
70
69
  enabled: boolean,
71
70
  expiredAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
72
- assignedRolesList: Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>,
71
+ assignedRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
73
72
  }
74
73
 
75
74
  export class CreateAdminRequest extends jspb.Message {
@@ -95,9 +94,9 @@ export namespace LocalAccountProto {
95
94
  setGroupId(value: string): void;
96
95
 
97
96
  clearAssignedRolesList(): void;
98
- getAssignedRolesList(): Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>;
99
- setAssignedRolesList(value: Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>): void;
100
- addAssignedRoles(value: platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap], index?: number): platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap];
97
+ getAssignedRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
98
+ setAssignedRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
99
+ addAssignedRoles(value: auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap], index?: number): auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap];
101
100
 
102
101
  serializeBinary(): Uint8Array;
103
102
  toObject(includeInstance?: boolean): CreateAdminRequest.AsObject;
@@ -118,7 +117,7 @@ export namespace LocalAccountProto {
118
117
  company: string,
119
118
  clientId: number,
120
119
  groupId: string,
121
- assignedRolesList: Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>,
120
+ assignedRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
122
121
  }
123
122
  }
124
123
 
@@ -186,9 +185,9 @@ export namespace LocalAccountProto {
186
185
  setGroupId(value: string): void;
187
186
 
188
187
  clearAssignedRolesList(): void;
189
- getAssignedRolesList(): Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>;
190
- setAssignedRolesList(value: Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>): void;
191
- addAssignedRoles(value: platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap], index?: number): platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap];
188
+ getAssignedRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
189
+ setAssignedRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
190
+ addAssignedRoles(value: auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap], index?: number): auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap];
192
191
 
193
192
  serializeBinary(): Uint8Array;
194
193
  toObject(includeInstance?: boolean): UpdateRequest.AsObject;
@@ -208,7 +207,7 @@ export namespace LocalAccountProto {
208
207
  locale: string,
209
208
  company: string,
210
209
  groupId: string,
211
- assignedRolesList: Array<platform_client_pb.ClientProto.RolesMap[keyof platform_client_pb.ClientProto.RolesMap]>,
210
+ assignedRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
212
211
  }
213
212
  }
214
213
 
@@ -31,8 +31,6 @@ var platform_pagination_pb = require('./platform.pagination_pb.js');
31
31
  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
- var platform_client_pb = require('./platform.client_pb.js');
35
- goog.object.extend(proto, platform_client_pb);
36
34
  goog.exportSymbol('proto.Platform.LocalAccountProto', null, global);
37
35
  goog.exportSymbol('proto.Platform.LocalAccountProto.AddClientRequest', null, global);
38
36
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAdminRequest', null, global);
@@ -425,7 +423,7 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
425
423
  msg.setExpiredAt(value);
426
424
  break;
427
425
  case 11:
428
- var values = /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
426
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
429
427
  for (var i = 0; i < values.length; i++) {
430
428
  msg.addAssignedRoles(values[i]);
431
429
  }
@@ -652,7 +650,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader
652
650
  msg.setGroupId(value);
653
651
  break;
654
652
  case 8:
655
- var values = /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
653
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
656
654
  for (var i = 0; i < values.length; i++) {
657
655
  msg.addAssignedRoles(values[i]);
658
656
  }
@@ -872,16 +870,16 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setGroupId = funct
872
870
 
873
871
 
874
872
  /**
875
- * repeated ClientProto.Roles assigned_roles = 8;
876
- * @return {!Array<!proto.Platform.ClientProto.Roles>}
873
+ * repeated Auth.AccountProto.Roles assigned_roles = 8;
874
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
877
875
  */
878
876
  proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getAssignedRolesList = function() {
879
- return /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (jspb.Message.getRepeatedField(this, 8));
877
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 8));
880
878
  };
881
879
 
882
880
 
883
881
  /**
884
- * @param {!Array<!proto.Platform.ClientProto.Roles>} value
882
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
885
883
  * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
886
884
  */
887
885
  proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setAssignedRolesList = function(value) {
@@ -890,7 +888,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setAssignedRolesLi
890
888
 
891
889
 
892
890
  /**
893
- * @param {!proto.Platform.ClientProto.Roles} value
891
+ * @param {!proto.Auth.AccountProto.Roles} value
894
892
  * @param {number=} opt_index
895
893
  * @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
896
894
  */
@@ -1325,7 +1323,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = fun
1325
1323
  msg.setGroupId(value);
1326
1324
  break;
1327
1325
  case 7:
1328
- var values = /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
1326
+ var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
1329
1327
  for (var i = 0; i < values.length; i++) {
1330
1328
  msg.addAssignedRoles(values[i]);
1331
1329
  }
@@ -1520,16 +1518,16 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setGroupId = function(v
1520
1518
 
1521
1519
 
1522
1520
  /**
1523
- * repeated ClientProto.Roles assigned_roles = 7;
1524
- * @return {!Array<!proto.Platform.ClientProto.Roles>}
1521
+ * repeated Auth.AccountProto.Roles assigned_roles = 7;
1522
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
1525
1523
  */
1526
1524
  proto.Platform.LocalAccountProto.UpdateRequest.prototype.getAssignedRolesList = function() {
1527
- return /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (jspb.Message.getRepeatedField(this, 7));
1525
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 7));
1528
1526
  };
1529
1527
 
1530
1528
 
1531
1529
  /**
1532
- * @param {!Array<!proto.Platform.ClientProto.Roles>} value
1530
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
1533
1531
  * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1534
1532
  */
1535
1533
  proto.Platform.LocalAccountProto.UpdateRequest.prototype.setAssignedRolesList = function(value) {
@@ -1538,7 +1536,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setAssignedRolesList =
1538
1536
 
1539
1537
 
1540
1538
  /**
1541
- * @param {!proto.Platform.ClientProto.Roles} value
1539
+ * @param {!proto.Auth.AccountProto.Roles} value
1542
1540
  * @param {number=} opt_index
1543
1541
  * @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
1544
1542
  */
@@ -3099,16 +3097,16 @@ proto.Platform.LocalAccountProto.prototype.hasExpiredAt = function() {
3099
3097
 
3100
3098
 
3101
3099
  /**
3102
- * repeated ClientProto.Roles assigned_roles = 11;
3103
- * @return {!Array<!proto.Platform.ClientProto.Roles>}
3100
+ * repeated Auth.AccountProto.Roles assigned_roles = 11;
3101
+ * @return {!Array<!proto.Auth.AccountProto.Roles>}
3104
3102
  */
3105
3103
  proto.Platform.LocalAccountProto.prototype.getAssignedRolesList = function() {
3106
- return /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (jspb.Message.getRepeatedField(this, 11));
3104
+ return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 11));
3107
3105
  };
3108
3106
 
3109
3107
 
3110
3108
  /**
3111
- * @param {!Array<!proto.Platform.ClientProto.Roles>} value
3109
+ * @param {!Array<!proto.Auth.AccountProto.Roles>} value
3112
3110
  * @return {!proto.Platform.LocalAccountProto} returns this
3113
3111
  */
3114
3112
  proto.Platform.LocalAccountProto.prototype.setAssignedRolesList = function(value) {
@@ -3117,7 +3115,7 @@ proto.Platform.LocalAccountProto.prototype.setAssignedRolesList = function(value
3117
3115
 
3118
3116
 
3119
3117
  /**
3120
- * @param {!proto.Platform.ClientProto.Roles} value
3118
+ * @param {!proto.Auth.AccountProto.Roles} value
3121
3119
  * @param {number=} opt_index
3122
3120
  * @return {!proto.Platform.LocalAccountProto} returns this
3123
3121
  */