@aceplus/smartace-api 2.13.0-alpha.9 → 3.0.0

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.
@@ -41,10 +41,10 @@ export class LocalAccountProto extends jspb.Message {
41
41
  getExpiredAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
42
42
  setExpiredAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
43
43
 
44
- clearAssignedRolesList(): void;
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];
44
+ clearClientRolesList(): void;
45
+ getClientRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
46
+ setClientRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
47
+ addClientRoles(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];
48
48
 
49
49
  getStatus(): auth_account_pb.AccountProto.ActivationStatusesMap[keyof auth_account_pb.AccountProto.ActivationStatusesMap];
50
50
  setStatus(value: auth_account_pb.AccountProto.ActivationStatusesMap[keyof auth_account_pb.AccountProto.ActivationStatusesMap]): void;
@@ -52,6 +52,15 @@ export class LocalAccountProto extends jspb.Message {
52
52
  getDeleted(): boolean;
53
53
  setDeleted(value: boolean): void;
54
54
 
55
+ getClientId(): number;
56
+ setClientId(value: number): void;
57
+
58
+ getType(): LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap];
59
+ setType(value: LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap]): void;
60
+
61
+ getClientName(): string;
62
+ setClientName(value: string): void;
63
+
55
64
  serializeBinary(): Uint8Array;
56
65
  toObject(includeInstance?: boolean): LocalAccountProto.AsObject;
57
66
  static toObject(includeInstance: boolean, msg: LocalAccountProto): LocalAccountProto.AsObject;
@@ -74,9 +83,51 @@ export namespace LocalAccountProto {
74
83
  groupId: string,
75
84
  enabled: boolean,
76
85
  expiredAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
77
- assignedRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
86
+ clientRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
78
87
  status: auth_account_pb.AccountProto.ActivationStatusesMap[keyof auth_account_pb.AccountProto.ActivationStatusesMap],
79
88
  deleted: boolean,
89
+ clientId: number,
90
+ type: LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap],
91
+ clientName: string,
92
+ }
93
+
94
+ export class RetrieveRequest extends jspb.Message {
95
+ hasId(): boolean;
96
+ clearId(): void;
97
+ getId(): number;
98
+ setId(value: number): void;
99
+
100
+ hasAuthId(): boolean;
101
+ clearAuthId(): void;
102
+ getAuthId(): number;
103
+ setAuthId(value: number): void;
104
+
105
+ getClientId(): number;
106
+ setClientId(value: number): void;
107
+
108
+ getSearchCase(): RetrieveRequest.SearchCase;
109
+ serializeBinary(): Uint8Array;
110
+ toObject(includeInstance?: boolean): RetrieveRequest.AsObject;
111
+ static toObject(includeInstance: boolean, msg: RetrieveRequest): RetrieveRequest.AsObject;
112
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
113
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
114
+ static serializeBinaryToWriter(message: RetrieveRequest, writer: jspb.BinaryWriter): void;
115
+ static deserializeBinary(bytes: Uint8Array): RetrieveRequest;
116
+ static deserializeBinaryFromReader(message: RetrieveRequest, reader: jspb.BinaryReader): RetrieveRequest;
117
+ }
118
+
119
+ export namespace RetrieveRequest {
120
+ export type AsObject = {
121
+ id: number,
122
+ authId: number,
123
+ clientId: number,
124
+ }
125
+
126
+ export enum SearchCase {
127
+ SEARCH_NOT_SET = 0,
128
+ ID = 1,
129
+ AUTH_ID = 2,
130
+ }
80
131
  }
81
132
 
82
133
  export class CreateAdminRequest extends jspb.Message {
@@ -101,10 +152,10 @@ export namespace LocalAccountProto {
101
152
  getGroupId(): string;
102
153
  setGroupId(value: string): void;
103
154
 
104
- clearAssignedRolesList(): void;
105
- getAssignedRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
106
- setAssignedRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
107
- 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];
155
+ clearClientRolesList(): void;
156
+ getClientRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
157
+ setClientRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
158
+ addClientRoles(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];
108
159
 
109
160
  serializeBinary(): Uint8Array;
110
161
  toObject(includeInstance?: boolean): CreateAdminRequest.AsObject;
@@ -125,7 +176,7 @@ export namespace LocalAccountProto {
125
176
  company: string,
126
177
  clientId: number,
127
178
  groupId: string,
128
- assignedRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
179
+ clientRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
129
180
  }
130
181
  }
131
182
 
@@ -192,10 +243,10 @@ export namespace LocalAccountProto {
192
243
  getGroupId(): string;
193
244
  setGroupId(value: string): void;
194
245
 
195
- clearAssignedRolesList(): void;
196
- getAssignedRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
197
- setAssignedRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
198
- 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];
246
+ clearClientRolesList(): void;
247
+ getClientRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
248
+ setClientRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
249
+ addClientRoles(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];
199
250
 
200
251
  serializeBinary(): Uint8Array;
201
252
  toObject(includeInstance?: boolean): UpdateRequest.AsObject;
@@ -215,7 +266,7 @@ export namespace LocalAccountProto {
215
266
  locale: string,
216
267
  company: string,
217
268
  groupId: string,
218
- assignedRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
269
+ clientRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
219
270
  }
220
271
  }
221
272
 
@@ -384,5 +435,12 @@ export namespace LocalAccountProto {
384
435
  id: number,
385
436
  }
386
437
  }
438
+
439
+ export interface AccountTypesMap {
440
+ ADMIN: 0;
441
+ APP: 1;
442
+ }
443
+
444
+ export const AccountTypes: AccountTypesMap;
387
445
  }
388
446