@aceplus/smartace-api 2.13.0-alpha.12 → 2.13.0-alpha.13
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
|
@@ -8,20 +8,10 @@ import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
|
8
8
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
9
9
|
|
|
10
10
|
export class LocalAccountExtendedProto extends jspb.Message {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
clearClientGroupsList(): void;
|
|
17
|
-
getClientGroupsList(): Array<LocalAccountExtendedProto.ClientGroupProto>;
|
|
18
|
-
setClientGroupsList(value: Array<LocalAccountExtendedProto.ClientGroupProto>): void;
|
|
19
|
-
addClientGroups(value?: LocalAccountExtendedProto.ClientGroupProto, index?: number): LocalAccountExtendedProto.ClientGroupProto;
|
|
20
|
-
|
|
21
|
-
clearRolesList(): void;
|
|
22
|
-
getRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
|
|
23
|
-
setRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
|
|
24
|
-
addRoles(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];
|
|
11
|
+
clearAccountList(): void;
|
|
12
|
+
getAccountList(): Array<platform_local_account_pb.LocalAccountProto>;
|
|
13
|
+
setAccountList(value: Array<platform_local_account_pb.LocalAccountProto>): void;
|
|
14
|
+
addAccount(value?: platform_local_account_pb.LocalAccountProto, index?: number): platform_local_account_pb.LocalAccountProto;
|
|
25
15
|
|
|
26
16
|
serializeBinary(): Uint8Array;
|
|
27
17
|
toObject(includeInstance?: boolean): LocalAccountExtendedProto.AsObject;
|
|
@@ -35,14 +25,12 @@ export class LocalAccountExtendedProto extends jspb.Message {
|
|
|
35
25
|
|
|
36
26
|
export namespace LocalAccountExtendedProto {
|
|
37
27
|
export type AsObject = {
|
|
38
|
-
|
|
39
|
-
clientGroupsList: Array<LocalAccountExtendedProto.ClientGroupProto.AsObject>,
|
|
40
|
-
rolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
|
|
28
|
+
accountList: Array<platform_local_account_pb.LocalAccountProto.AsObject>,
|
|
41
29
|
}
|
|
42
30
|
|
|
43
31
|
export class RetrieveRequest extends jspb.Message {
|
|
44
|
-
|
|
45
|
-
|
|
32
|
+
getAuthId(): number;
|
|
33
|
+
setAuthId(value: number): void;
|
|
46
34
|
|
|
47
35
|
serializeBinary(): Uint8Array;
|
|
48
36
|
toObject(includeInstance?: boolean): RetrieveRequest.AsObject;
|
|
@@ -56,13 +44,13 @@ export namespace LocalAccountExtendedProto {
|
|
|
56
44
|
|
|
57
45
|
export namespace RetrieveRequest {
|
|
58
46
|
export type AsObject = {
|
|
59
|
-
|
|
47
|
+
authId: number,
|
|
60
48
|
}
|
|
61
49
|
}
|
|
62
50
|
|
|
63
51
|
export class DeleteRequest extends jspb.Message {
|
|
64
|
-
|
|
65
|
-
|
|
52
|
+
getAuthId(): number;
|
|
53
|
+
setAuthId(value: number): void;
|
|
66
54
|
|
|
67
55
|
serializeBinary(): Uint8Array;
|
|
68
56
|
toObject(includeInstance?: boolean): DeleteRequest.AsObject;
|
|
@@ -76,7 +64,7 @@ export namespace LocalAccountExtendedProto {
|
|
|
76
64
|
|
|
77
65
|
export namespace DeleteRequest {
|
|
78
66
|
export type AsObject = {
|
|
79
|
-
|
|
67
|
+
authId: number,
|
|
80
68
|
}
|
|
81
69
|
}
|
|
82
70
|
|
|
@@ -107,8 +95,8 @@ export namespace LocalAccountExtendedProto {
|
|
|
107
95
|
}
|
|
108
96
|
|
|
109
97
|
export class RemoveClientRequest extends jspb.Message {
|
|
110
|
-
|
|
111
|
-
|
|
98
|
+
getAuthId(): number;
|
|
99
|
+
setAuthId(value: number): void;
|
|
112
100
|
|
|
113
101
|
getClientId(): number;
|
|
114
102
|
setClientId(value: number): void;
|
|
@@ -125,32 +113,8 @@ export namespace LocalAccountExtendedProto {
|
|
|
125
113
|
|
|
126
114
|
export namespace RemoveClientRequest {
|
|
127
115
|
export type AsObject = {
|
|
128
|
-
|
|
129
|
-
clientId: number,
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export class ClientGroupProto extends jspb.Message {
|
|
134
|
-
getClientId(): number;
|
|
135
|
-
setClientId(value: number): void;
|
|
136
|
-
|
|
137
|
-
getGroupId(): string;
|
|
138
|
-
setGroupId(value: string): void;
|
|
139
|
-
|
|
140
|
-
serializeBinary(): Uint8Array;
|
|
141
|
-
toObject(includeInstance?: boolean): ClientGroupProto.AsObject;
|
|
142
|
-
static toObject(includeInstance: boolean, msg: ClientGroupProto): ClientGroupProto.AsObject;
|
|
143
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
144
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
145
|
-
static serializeBinaryToWriter(message: ClientGroupProto, writer: jspb.BinaryWriter): void;
|
|
146
|
-
static deserializeBinary(bytes: Uint8Array): ClientGroupProto;
|
|
147
|
-
static deserializeBinaryFromReader(message: ClientGroupProto, reader: jspb.BinaryReader): ClientGroupProto;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export namespace ClientGroupProto {
|
|
151
|
-
export type AsObject = {
|
|
116
|
+
authId: number,
|
|
152
117
|
clientId: number,
|
|
153
|
-
groupId: string,
|
|
154
118
|
}
|
|
155
119
|
}
|
|
156
120
|
}
|
|
@@ -31,7 +31,6 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
31
31
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
32
32
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto', null, global);
|
|
33
33
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.AddClientRequest', null, global);
|
|
34
|
-
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.ClientGroupProto', null, global);
|
|
35
34
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.DeleteRequest', null, global);
|
|
36
35
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.RemoveClientRequest', null, global);
|
|
37
36
|
goog.exportSymbol('proto.Platform.LocalAccountExtendedProto.RetrieveRequest', null, global);
|
|
@@ -140,34 +139,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
140
139
|
*/
|
|
141
140
|
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.displayName = 'proto.Platform.LocalAccountExtendedProto.RemoveClientRequest';
|
|
142
141
|
}
|
|
143
|
-
/**
|
|
144
|
-
* Generated by JsPbCodeGenerator.
|
|
145
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
146
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
147
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
148
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
149
|
-
* valid.
|
|
150
|
-
* @extends {jspb.Message}
|
|
151
|
-
* @constructor
|
|
152
|
-
*/
|
|
153
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto = function(opt_data) {
|
|
154
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
155
|
-
};
|
|
156
|
-
goog.inherits(proto.Platform.LocalAccountExtendedProto.ClientGroupProto, jspb.Message);
|
|
157
|
-
if (goog.DEBUG && !COMPILED) {
|
|
158
|
-
/**
|
|
159
|
-
* @public
|
|
160
|
-
* @override
|
|
161
|
-
*/
|
|
162
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.displayName = 'proto.Platform.LocalAccountExtendedProto.ClientGroupProto';
|
|
163
|
-
}
|
|
164
142
|
|
|
165
143
|
/**
|
|
166
144
|
* List of repeated fields within this message type.
|
|
167
145
|
* @private {!Array<number>}
|
|
168
146
|
* @const
|
|
169
147
|
*/
|
|
170
|
-
proto.Platform.LocalAccountExtendedProto.repeatedFields_ = [
|
|
148
|
+
proto.Platform.LocalAccountExtendedProto.repeatedFields_ = [1];
|
|
171
149
|
|
|
172
150
|
|
|
173
151
|
|
|
@@ -200,10 +178,8 @@ proto.Platform.LocalAccountExtendedProto.prototype.toObject = function(opt_inclu
|
|
|
200
178
|
*/
|
|
201
179
|
proto.Platform.LocalAccountExtendedProto.toObject = function(includeInstance, msg) {
|
|
202
180
|
var f, obj = {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject, includeInstance),
|
|
206
|
-
rolesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
181
|
+
accountList: jspb.Message.toObjectList(msg.getAccountList(),
|
|
182
|
+
platform_local_account_pb.LocalAccountProto.toObject, includeInstance)
|
|
207
183
|
};
|
|
208
184
|
|
|
209
185
|
if (includeInstance) {
|
|
@@ -243,18 +219,7 @@ proto.Platform.LocalAccountExtendedProto.deserializeBinaryFromReader = function(
|
|
|
243
219
|
case 1:
|
|
244
220
|
var value = new platform_local_account_pb.LocalAccountProto;
|
|
245
221
|
reader.readMessage(value,platform_local_account_pb.LocalAccountProto.deserializeBinaryFromReader);
|
|
246
|
-
msg.
|
|
247
|
-
break;
|
|
248
|
-
case 2:
|
|
249
|
-
var value = new proto.Platform.LocalAccountExtendedProto.ClientGroupProto;
|
|
250
|
-
reader.readMessage(value,proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinaryFromReader);
|
|
251
|
-
msg.addClientGroups(value);
|
|
252
|
-
break;
|
|
253
|
-
case 3:
|
|
254
|
-
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
255
|
-
for (var i = 0; i < values.length; i++) {
|
|
256
|
-
msg.addRoles(values[i]);
|
|
257
|
-
}
|
|
222
|
+
msg.addAccount(value);
|
|
258
223
|
break;
|
|
259
224
|
default:
|
|
260
225
|
reader.skipField();
|
|
@@ -285,27 +250,12 @@ proto.Platform.LocalAccountExtendedProto.prototype.serializeBinary = function()
|
|
|
285
250
|
*/
|
|
286
251
|
proto.Platform.LocalAccountExtendedProto.serializeBinaryToWriter = function(message, writer) {
|
|
287
252
|
var f = undefined;
|
|
288
|
-
f = message.
|
|
289
|
-
if (f != null) {
|
|
290
|
-
writer.writeMessage(
|
|
291
|
-
1,
|
|
292
|
-
f,
|
|
293
|
-
platform_local_account_pb.LocalAccountProto.serializeBinaryToWriter
|
|
294
|
-
);
|
|
295
|
-
}
|
|
296
|
-
f = message.getClientGroupsList();
|
|
253
|
+
f = message.getAccountList();
|
|
297
254
|
if (f.length > 0) {
|
|
298
255
|
writer.writeRepeatedMessage(
|
|
299
|
-
|
|
256
|
+
1,
|
|
300
257
|
f,
|
|
301
|
-
|
|
302
|
-
);
|
|
303
|
-
}
|
|
304
|
-
f = message.getRolesList();
|
|
305
|
-
if (f.length > 0) {
|
|
306
|
-
writer.writePackedEnum(
|
|
307
|
-
3,
|
|
308
|
-
f
|
|
258
|
+
platform_local_account_pb.LocalAccountProto.serializeBinaryToWriter
|
|
309
259
|
);
|
|
310
260
|
}
|
|
311
261
|
};
|
|
@@ -343,7 +293,7 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.toObject = fu
|
|
|
343
293
|
*/
|
|
344
294
|
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
345
295
|
var f, obj = {
|
|
346
|
-
|
|
296
|
+
authId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
347
297
|
};
|
|
348
298
|
|
|
349
299
|
if (includeInstance) {
|
|
@@ -382,7 +332,7 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.deserializeBinaryFromRe
|
|
|
382
332
|
switch (field) {
|
|
383
333
|
case 1:
|
|
384
334
|
var value = /** @type {number} */ (reader.readInt64());
|
|
385
|
-
msg.
|
|
335
|
+
msg.setAuthId(value);
|
|
386
336
|
break;
|
|
387
337
|
default:
|
|
388
338
|
reader.skipField();
|
|
@@ -413,7 +363,7 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.serializeBina
|
|
|
413
363
|
*/
|
|
414
364
|
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
415
365
|
var f = undefined;
|
|
416
|
-
f = message.
|
|
366
|
+
f = message.getAuthId();
|
|
417
367
|
if (f !== 0) {
|
|
418
368
|
writer.writeInt64(
|
|
419
369
|
1,
|
|
@@ -424,10 +374,10 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.serializeBinaryToWriter
|
|
|
424
374
|
|
|
425
375
|
|
|
426
376
|
/**
|
|
427
|
-
* optional int64
|
|
377
|
+
* optional int64 auth_id = 1;
|
|
428
378
|
* @return {number}
|
|
429
379
|
*/
|
|
430
|
-
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.
|
|
380
|
+
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.getAuthId = function() {
|
|
431
381
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
432
382
|
};
|
|
433
383
|
|
|
@@ -436,7 +386,7 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.getId = funct
|
|
|
436
386
|
* @param {number} value
|
|
437
387
|
* @return {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest} returns this
|
|
438
388
|
*/
|
|
439
|
-
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.
|
|
389
|
+
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.setAuthId = function(value) {
|
|
440
390
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
441
391
|
};
|
|
442
392
|
|
|
@@ -473,7 +423,7 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.toObject = func
|
|
|
473
423
|
*/
|
|
474
424
|
proto.Platform.LocalAccountExtendedProto.DeleteRequest.toObject = function(includeInstance, msg) {
|
|
475
425
|
var f, obj = {
|
|
476
|
-
|
|
426
|
+
authId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
477
427
|
};
|
|
478
428
|
|
|
479
429
|
if (includeInstance) {
|
|
@@ -512,7 +462,7 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.deserializeBinaryFromRead
|
|
|
512
462
|
switch (field) {
|
|
513
463
|
case 1:
|
|
514
464
|
var value = /** @type {number} */ (reader.readInt64());
|
|
515
|
-
msg.
|
|
465
|
+
msg.setAuthId(value);
|
|
516
466
|
break;
|
|
517
467
|
default:
|
|
518
468
|
reader.skipField();
|
|
@@ -543,7 +493,7 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.serializeBinary
|
|
|
543
493
|
*/
|
|
544
494
|
proto.Platform.LocalAccountExtendedProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
545
495
|
var f = undefined;
|
|
546
|
-
f = message.
|
|
496
|
+
f = message.getAuthId();
|
|
547
497
|
if (f !== 0) {
|
|
548
498
|
writer.writeInt64(
|
|
549
499
|
1,
|
|
@@ -554,10 +504,10 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.serializeBinaryToWriter =
|
|
|
554
504
|
|
|
555
505
|
|
|
556
506
|
/**
|
|
557
|
-
* optional int64
|
|
507
|
+
* optional int64 auth_id = 1;
|
|
558
508
|
* @return {number}
|
|
559
509
|
*/
|
|
560
|
-
proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.
|
|
510
|
+
proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.getAuthId = function() {
|
|
561
511
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
562
512
|
};
|
|
563
513
|
|
|
@@ -566,7 +516,7 @@ proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.getId = functio
|
|
|
566
516
|
* @param {number} value
|
|
567
517
|
* @return {!proto.Platform.LocalAccountExtendedProto.DeleteRequest} returns this
|
|
568
518
|
*/
|
|
569
|
-
proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.
|
|
519
|
+
proto.Platform.LocalAccountExtendedProto.DeleteRequest.prototype.setAuthId = function(value) {
|
|
570
520
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
571
521
|
};
|
|
572
522
|
|
|
@@ -784,7 +734,7 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.toObject
|
|
|
784
734
|
*/
|
|
785
735
|
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.toObject = function(includeInstance, msg) {
|
|
786
736
|
var f, obj = {
|
|
787
|
-
|
|
737
|
+
authId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
788
738
|
clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
789
739
|
};
|
|
790
740
|
|
|
@@ -824,7 +774,7 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.deserializeBinaryFr
|
|
|
824
774
|
switch (field) {
|
|
825
775
|
case 1:
|
|
826
776
|
var value = /** @type {number} */ (reader.readInt64());
|
|
827
|
-
msg.
|
|
777
|
+
msg.setAuthId(value);
|
|
828
778
|
break;
|
|
829
779
|
case 2:
|
|
830
780
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -859,7 +809,7 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.serialize
|
|
|
859
809
|
*/
|
|
860
810
|
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.serializeBinaryToWriter = function(message, writer) {
|
|
861
811
|
var f = undefined;
|
|
862
|
-
f = message.
|
|
812
|
+
f = message.getAuthId();
|
|
863
813
|
if (f !== 0) {
|
|
864
814
|
writer.writeInt64(
|
|
865
815
|
1,
|
|
@@ -877,10 +827,10 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.serializeBinaryToWr
|
|
|
877
827
|
|
|
878
828
|
|
|
879
829
|
/**
|
|
880
|
-
* optional int64
|
|
830
|
+
* optional int64 auth_id = 1;
|
|
881
831
|
* @return {number}
|
|
882
832
|
*/
|
|
883
|
-
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.
|
|
833
|
+
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.getAuthId = function() {
|
|
884
834
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
885
835
|
};
|
|
886
836
|
|
|
@@ -889,7 +839,7 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.getId = f
|
|
|
889
839
|
* @param {number} value
|
|
890
840
|
* @return {!proto.Platform.LocalAccountExtendedProto.RemoveClientRequest} returns this
|
|
891
841
|
*/
|
|
892
|
-
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.
|
|
842
|
+
proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.setAuthId = function(value) {
|
|
893
843
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
894
844
|
};
|
|
895
845
|
|
|
@@ -912,266 +862,32 @@ proto.Platform.LocalAccountExtendedProto.RemoveClientRequest.prototype.setClient
|
|
|
912
862
|
};
|
|
913
863
|
|
|
914
864
|
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
919
865
|
/**
|
|
920
|
-
*
|
|
921
|
-
*
|
|
922
|
-
* Optional fields that are not set will be set to undefined.
|
|
923
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
924
|
-
* For the list of reserved names please see:
|
|
925
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
926
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
927
|
-
* JSPB instance for transitional soy proto support:
|
|
928
|
-
* http://goto/soy-param-migration
|
|
929
|
-
* @return {!Object}
|
|
866
|
+
* repeated LocalAccountProto account = 1;
|
|
867
|
+
* @return {!Array<!proto.Platform.LocalAccountProto>}
|
|
930
868
|
*/
|
|
931
|
-
proto.Platform.LocalAccountExtendedProto.
|
|
932
|
-
return proto.Platform.
|
|
869
|
+
proto.Platform.LocalAccountExtendedProto.prototype.getAccountList = function() {
|
|
870
|
+
return /** @type{!Array<!proto.Platform.LocalAccountProto>} */ (
|
|
871
|
+
jspb.Message.getRepeatedWrapperField(this, platform_local_account_pb.LocalAccountProto, 1));
|
|
933
872
|
};
|
|
934
873
|
|
|
935
874
|
|
|
936
875
|
/**
|
|
937
|
-
*
|
|
938
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
939
|
-
* the JSPB instance for transitional soy proto support:
|
|
940
|
-
* http://goto/soy-param-migration
|
|
941
|
-
* @param {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} msg The msg instance to transform.
|
|
942
|
-
* @return {!Object}
|
|
943
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
944
|
-
*/
|
|
945
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.toObject = function(includeInstance, msg) {
|
|
946
|
-
var f, obj = {
|
|
947
|
-
clientId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
948
|
-
groupId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
949
|
-
};
|
|
950
|
-
|
|
951
|
-
if (includeInstance) {
|
|
952
|
-
obj.$jspbMessageInstance = msg;
|
|
953
|
-
}
|
|
954
|
-
return obj;
|
|
955
|
-
};
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
/**
|
|
960
|
-
* Deserializes binary data (in protobuf wire format).
|
|
961
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
962
|
-
* @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto}
|
|
963
|
-
*/
|
|
964
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinary = function(bytes) {
|
|
965
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
966
|
-
var msg = new proto.Platform.LocalAccountExtendedProto.ClientGroupProto;
|
|
967
|
-
return proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinaryFromReader(msg, reader);
|
|
968
|
-
};
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
973
|
-
* given reader into the given message object.
|
|
974
|
-
* @param {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} msg The message object to deserialize into.
|
|
975
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
976
|
-
* @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto}
|
|
977
|
-
*/
|
|
978
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
979
|
-
while (reader.nextField()) {
|
|
980
|
-
if (reader.isEndGroup()) {
|
|
981
|
-
break;
|
|
982
|
-
}
|
|
983
|
-
var field = reader.getFieldNumber();
|
|
984
|
-
switch (field) {
|
|
985
|
-
case 1:
|
|
986
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
987
|
-
msg.setClientId(value);
|
|
988
|
-
break;
|
|
989
|
-
case 2:
|
|
990
|
-
var value = /** @type {string} */ (reader.readString());
|
|
991
|
-
msg.setGroupId(value);
|
|
992
|
-
break;
|
|
993
|
-
default:
|
|
994
|
-
reader.skipField();
|
|
995
|
-
break;
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
return msg;
|
|
999
|
-
};
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
1004
|
-
* @return {!Uint8Array}
|
|
1005
|
-
*/
|
|
1006
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.serializeBinary = function() {
|
|
1007
|
-
var writer = new jspb.BinaryWriter();
|
|
1008
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.serializeBinaryToWriter(this, writer);
|
|
1009
|
-
return writer.getResultBuffer();
|
|
1010
|
-
};
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
1015
|
-
* format), writing to the given BinaryWriter.
|
|
1016
|
-
* @param {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} message
|
|
1017
|
-
* @param {!jspb.BinaryWriter} writer
|
|
1018
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1019
|
-
*/
|
|
1020
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.serializeBinaryToWriter = function(message, writer) {
|
|
1021
|
-
var f = undefined;
|
|
1022
|
-
f = message.getClientId();
|
|
1023
|
-
if (f !== 0) {
|
|
1024
|
-
writer.writeInt64(
|
|
1025
|
-
1,
|
|
1026
|
-
f
|
|
1027
|
-
);
|
|
1028
|
-
}
|
|
1029
|
-
f = message.getGroupId();
|
|
1030
|
-
if (f.length > 0) {
|
|
1031
|
-
writer.writeString(
|
|
1032
|
-
2,
|
|
1033
|
-
f
|
|
1034
|
-
);
|
|
1035
|
-
}
|
|
1036
|
-
};
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* optional int64 client_id = 1;
|
|
1041
|
-
* @return {number}
|
|
1042
|
-
*/
|
|
1043
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.getClientId = function() {
|
|
1044
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1045
|
-
};
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* @param {number} value
|
|
1050
|
-
* @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} returns this
|
|
1051
|
-
*/
|
|
1052
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.setClientId = function(value) {
|
|
1053
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1054
|
-
};
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* optional string group_id = 2;
|
|
1059
|
-
* @return {string}
|
|
1060
|
-
*/
|
|
1061
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.getGroupId = function() {
|
|
1062
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1063
|
-
};
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* @param {string} value
|
|
1068
|
-
* @return {!proto.Platform.LocalAccountExtendedProto.ClientGroupProto} returns this
|
|
1069
|
-
*/
|
|
1070
|
-
proto.Platform.LocalAccountExtendedProto.ClientGroupProto.prototype.setGroupId = function(value) {
|
|
1071
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1072
|
-
};
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
/**
|
|
1076
|
-
* optional LocalAccountProto account = 1;
|
|
1077
|
-
* @return {?proto.Platform.LocalAccountProto}
|
|
1078
|
-
*/
|
|
1079
|
-
proto.Platform.LocalAccountExtendedProto.prototype.getAccount = function() {
|
|
1080
|
-
return /** @type{?proto.Platform.LocalAccountProto} */ (
|
|
1081
|
-
jspb.Message.getWrapperField(this, platform_local_account_pb.LocalAccountProto, 1));
|
|
1082
|
-
};
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
/**
|
|
1086
|
-
* @param {?proto.Platform.LocalAccountProto|undefined} value
|
|
1087
|
-
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1088
|
-
*/
|
|
1089
|
-
proto.Platform.LocalAccountExtendedProto.prototype.setAccount = function(value) {
|
|
1090
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1091
|
-
};
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
/**
|
|
1095
|
-
* Clears the message field making it undefined.
|
|
1096
|
-
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1097
|
-
*/
|
|
1098
|
-
proto.Platform.LocalAccountExtendedProto.prototype.clearAccount = function() {
|
|
1099
|
-
return this.setAccount(undefined);
|
|
1100
|
-
};
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
/**
|
|
1104
|
-
* Returns whether this field is set.
|
|
1105
|
-
* @return {boolean}
|
|
1106
|
-
*/
|
|
1107
|
-
proto.Platform.LocalAccountExtendedProto.prototype.hasAccount = function() {
|
|
1108
|
-
return jspb.Message.getField(this, 1) != null;
|
|
1109
|
-
};
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
/**
|
|
1113
|
-
* repeated ClientGroupProto client_groups = 2;
|
|
1114
|
-
* @return {!Array<!proto.Platform.LocalAccountExtendedProto.ClientGroupProto>}
|
|
1115
|
-
*/
|
|
1116
|
-
proto.Platform.LocalAccountExtendedProto.prototype.getClientGroupsList = function() {
|
|
1117
|
-
return /** @type{!Array<!proto.Platform.LocalAccountExtendedProto.ClientGroupProto>} */ (
|
|
1118
|
-
jspb.Message.getRepeatedWrapperField(this, proto.Platform.LocalAccountExtendedProto.ClientGroupProto, 2));
|
|
1119
|
-
};
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
* @param {!Array<!proto.Platform.LocalAccountExtendedProto.ClientGroupProto>} value
|
|
876
|
+
* @param {!Array<!proto.Platform.LocalAccountProto>} value
|
|
1124
877
|
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1125
878
|
*/
|
|
1126
|
-
proto.Platform.LocalAccountExtendedProto.prototype.
|
|
1127
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
879
|
+
proto.Platform.LocalAccountExtendedProto.prototype.setAccountList = function(value) {
|
|
880
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1128
881
|
};
|
|
1129
882
|
|
|
1130
883
|
|
|
1131
884
|
/**
|
|
1132
|
-
* @param {!proto.Platform.
|
|
885
|
+
* @param {!proto.Platform.LocalAccountProto=} opt_value
|
|
1133
886
|
* @param {number=} opt_index
|
|
1134
|
-
* @return {!proto.Platform.
|
|
1135
|
-
*/
|
|
1136
|
-
proto.Platform.LocalAccountExtendedProto.prototype.addClientGroups = function(opt_value, opt_index) {
|
|
1137
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Platform.LocalAccountExtendedProto.ClientGroupProto, opt_index);
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
/**
|
|
1142
|
-
* Clears the list making it empty but non-null.
|
|
1143
|
-
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1144
|
-
*/
|
|
1145
|
-
proto.Platform.LocalAccountExtendedProto.prototype.clearClientGroupsList = function() {
|
|
1146
|
-
return this.setClientGroupsList([]);
|
|
1147
|
-
};
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* repeated Auth.AccountProto.Roles roles = 3;
|
|
1152
|
-
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
1153
|
-
*/
|
|
1154
|
-
proto.Platform.LocalAccountExtendedProto.prototype.getRolesList = function() {
|
|
1155
|
-
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
1156
|
-
};
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
1161
|
-
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1162
|
-
*/
|
|
1163
|
-
proto.Platform.LocalAccountExtendedProto.prototype.setRolesList = function(value) {
|
|
1164
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
1165
|
-
};
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* @param {!proto.Auth.AccountProto.Roles} value
|
|
1170
|
-
* @param {number=} opt_index
|
|
1171
|
-
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
887
|
+
* @return {!proto.Platform.LocalAccountProto}
|
|
1172
888
|
*/
|
|
1173
|
-
proto.Platform.LocalAccountExtendedProto.prototype.
|
|
1174
|
-
return jspb.Message.
|
|
889
|
+
proto.Platform.LocalAccountExtendedProto.prototype.addAccount = function(opt_value, opt_index) {
|
|
890
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Platform.LocalAccountProto, opt_index);
|
|
1175
891
|
};
|
|
1176
892
|
|
|
1177
893
|
|
|
@@ -1179,8 +895,8 @@ proto.Platform.LocalAccountExtendedProto.prototype.addRoles = function(value, op
|
|
|
1179
895
|
* Clears the list making it empty but non-null.
|
|
1180
896
|
* @return {!proto.Platform.LocalAccountExtendedProto} returns this
|
|
1181
897
|
*/
|
|
1182
|
-
proto.Platform.LocalAccountExtendedProto.prototype.
|
|
1183
|
-
return this.
|
|
898
|
+
proto.Platform.LocalAccountExtendedProto.prototype.clearAccountList = function() {
|
|
899
|
+
return this.setAccountList([]);
|
|
1184
900
|
};
|
|
1185
901
|
|
|
1186
902
|
|
|
@@ -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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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,12 @@ 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
|
+
|
|
55
61
|
serializeBinary(): Uint8Array;
|
|
56
62
|
toObject(includeInstance?: boolean): LocalAccountProto.AsObject;
|
|
57
63
|
static toObject(includeInstance: boolean, msg: LocalAccountProto): LocalAccountProto.AsObject;
|
|
@@ -74,9 +80,11 @@ export namespace LocalAccountProto {
|
|
|
74
80
|
groupId: string,
|
|
75
81
|
enabled: boolean,
|
|
76
82
|
expiredAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
77
|
-
|
|
83
|
+
clientRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
|
|
78
84
|
status: auth_account_pb.AccountProto.ActivationStatusesMap[keyof auth_account_pb.AccountProto.ActivationStatusesMap],
|
|
79
85
|
deleted: boolean,
|
|
86
|
+
clientId: number,
|
|
87
|
+
type: LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap],
|
|
80
88
|
}
|
|
81
89
|
|
|
82
90
|
export class CreateAdminRequest extends jspb.Message {
|
|
@@ -101,10 +109,10 @@ export namespace LocalAccountProto {
|
|
|
101
109
|
getGroupId(): string;
|
|
102
110
|
setGroupId(value: string): void;
|
|
103
111
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
112
|
+
clearClientRolesList(): void;
|
|
113
|
+
getClientRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
|
|
114
|
+
setClientRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
|
|
115
|
+
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
116
|
|
|
109
117
|
serializeBinary(): Uint8Array;
|
|
110
118
|
toObject(includeInstance?: boolean): CreateAdminRequest.AsObject;
|
|
@@ -125,7 +133,7 @@ export namespace LocalAccountProto {
|
|
|
125
133
|
company: string,
|
|
126
134
|
clientId: number,
|
|
127
135
|
groupId: string,
|
|
128
|
-
|
|
136
|
+
clientRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
|
|
129
137
|
}
|
|
130
138
|
}
|
|
131
139
|
|
|
@@ -192,10 +200,10 @@ export namespace LocalAccountProto {
|
|
|
192
200
|
getGroupId(): string;
|
|
193
201
|
setGroupId(value: string): void;
|
|
194
202
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
203
|
+
clearClientRolesList(): void;
|
|
204
|
+
getClientRolesList(): Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>;
|
|
205
|
+
setClientRolesList(value: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>): void;
|
|
206
|
+
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
207
|
|
|
200
208
|
serializeBinary(): Uint8Array;
|
|
201
209
|
toObject(includeInstance?: boolean): UpdateRequest.AsObject;
|
|
@@ -215,7 +223,7 @@ export namespace LocalAccountProto {
|
|
|
215
223
|
locale: string,
|
|
216
224
|
company: string,
|
|
217
225
|
groupId: string,
|
|
218
|
-
|
|
226
|
+
clientRolesList: Array<auth_account_pb.AccountProto.RolesMap[keyof auth_account_pb.AccountProto.RolesMap]>,
|
|
219
227
|
}
|
|
220
228
|
}
|
|
221
229
|
|
|
@@ -384,5 +392,12 @@ export namespace LocalAccountProto {
|
|
|
384
392
|
id: number,
|
|
385
393
|
}
|
|
386
394
|
}
|
|
395
|
+
|
|
396
|
+
export interface AccountTypesMap {
|
|
397
|
+
ADMIN: 0;
|
|
398
|
+
APP: 1;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export const AccountTypes: AccountTypesMap;
|
|
387
402
|
}
|
|
388
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);
|
|
@@ -322,9 +323,11 @@ proto.Platform.LocalAccountProto.toObject = function(includeInstance, msg) {
|
|
|
322
323
|
groupId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
323
324
|
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
324
325
|
expiredAt: (f = msg.getExpiredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
325
|
-
|
|
326
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
326
327
|
status: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
327
|
-
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
|
|
328
|
+
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
329
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
330
|
+
type: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
|
328
331
|
};
|
|
329
332
|
|
|
330
333
|
if (includeInstance) {
|
|
@@ -405,7 +408,7 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
|
|
|
405
408
|
case 11:
|
|
406
409
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
407
410
|
for (var i = 0; i < values.length; i++) {
|
|
408
|
-
msg.
|
|
411
|
+
msg.addClientRoles(values[i]);
|
|
409
412
|
}
|
|
410
413
|
break;
|
|
411
414
|
case 12:
|
|
@@ -416,6 +419,14 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
|
|
|
416
419
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
417
420
|
msg.setDeleted(value);
|
|
418
421
|
break;
|
|
422
|
+
case 14:
|
|
423
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
424
|
+
msg.setClientId(value);
|
|
425
|
+
break;
|
|
426
|
+
case 15:
|
|
427
|
+
var value = /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (reader.readEnum());
|
|
428
|
+
msg.setType(value);
|
|
429
|
+
break;
|
|
419
430
|
default:
|
|
420
431
|
reader.skipField();
|
|
421
432
|
break;
|
|
@@ -516,7 +527,7 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
|
|
|
516
527
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
517
528
|
);
|
|
518
529
|
}
|
|
519
|
-
f = message.
|
|
530
|
+
f = message.getClientRolesList();
|
|
520
531
|
if (f.length > 0) {
|
|
521
532
|
writer.writePackedEnum(
|
|
522
533
|
11,
|
|
@@ -537,9 +548,31 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
|
|
|
537
548
|
f
|
|
538
549
|
);
|
|
539
550
|
}
|
|
551
|
+
f = message.getClientId();
|
|
552
|
+
if (f !== 0) {
|
|
553
|
+
writer.writeInt64(
|
|
554
|
+
14,
|
|
555
|
+
f
|
|
556
|
+
);
|
|
557
|
+
}
|
|
558
|
+
f = message.getType();
|
|
559
|
+
if (f !== 0.0) {
|
|
560
|
+
writer.writeEnum(
|
|
561
|
+
15,
|
|
562
|
+
f
|
|
563
|
+
);
|
|
564
|
+
}
|
|
540
565
|
};
|
|
541
566
|
|
|
542
567
|
|
|
568
|
+
/**
|
|
569
|
+
* @enum {number}
|
|
570
|
+
*/
|
|
571
|
+
proto.Platform.LocalAccountProto.AccountTypes = {
|
|
572
|
+
ADMIN: 0,
|
|
573
|
+
APP: 1
|
|
574
|
+
};
|
|
575
|
+
|
|
543
576
|
|
|
544
577
|
/**
|
|
545
578
|
* List of repeated fields within this message type.
|
|
@@ -586,7 +619,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.toObject = function(includeI
|
|
|
586
619
|
company: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
587
620
|
clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
588
621
|
groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
589
|
-
|
|
622
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
|
|
590
623
|
};
|
|
591
624
|
|
|
592
625
|
if (includeInstance) {
|
|
@@ -654,7 +687,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader
|
|
|
654
687
|
case 8:
|
|
655
688
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
656
689
|
for (var i = 0; i < values.length; i++) {
|
|
657
|
-
msg.
|
|
690
|
+
msg.addClientRoles(values[i]);
|
|
658
691
|
}
|
|
659
692
|
break;
|
|
660
693
|
default:
|
|
@@ -735,7 +768,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter = fu
|
|
|
735
768
|
f
|
|
736
769
|
);
|
|
737
770
|
}
|
|
738
|
-
f = message.
|
|
771
|
+
f = message.getClientRolesList();
|
|
739
772
|
if (f.length > 0) {
|
|
740
773
|
writer.writePackedEnum(
|
|
741
774
|
8,
|
|
@@ -872,10 +905,10 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setGroupId = funct
|
|
|
872
905
|
|
|
873
906
|
|
|
874
907
|
/**
|
|
875
|
-
* repeated Auth.AccountProto.Roles
|
|
908
|
+
* repeated Auth.AccountProto.Roles client_roles = 8;
|
|
876
909
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
877
910
|
*/
|
|
878
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
911
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getClientRolesList = function() {
|
|
879
912
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
880
913
|
};
|
|
881
914
|
|
|
@@ -884,7 +917,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getAssignedRolesLi
|
|
|
884
917
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
885
918
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
886
919
|
*/
|
|
887
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
920
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setClientRolesList = function(value) {
|
|
888
921
|
return jspb.Message.setField(this, 8, value || []);
|
|
889
922
|
};
|
|
890
923
|
|
|
@@ -894,7 +927,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setAssignedRolesLi
|
|
|
894
927
|
* @param {number=} opt_index
|
|
895
928
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
896
929
|
*/
|
|
897
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
930
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.addClientRoles = function(value, opt_index) {
|
|
898
931
|
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
899
932
|
};
|
|
900
933
|
|
|
@@ -903,8 +936,8 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.addAssignedRoles =
|
|
|
903
936
|
* Clears the list making it empty but non-null.
|
|
904
937
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
905
938
|
*/
|
|
906
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
907
|
-
return this.
|
|
939
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.clearClientRolesList = function() {
|
|
940
|
+
return this.setClientRolesList([]);
|
|
908
941
|
};
|
|
909
942
|
|
|
910
943
|
|
|
@@ -1263,7 +1296,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.toObject = function(includeInstan
|
|
|
1263
1296
|
locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1264
1297
|
company: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1265
1298
|
groupId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1266
|
-
|
|
1299
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
|
|
1267
1300
|
};
|
|
1268
1301
|
|
|
1269
1302
|
if (includeInstance) {
|
|
@@ -1327,7 +1360,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = fun
|
|
|
1327
1360
|
case 7:
|
|
1328
1361
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
1329
1362
|
for (var i = 0; i < values.length; i++) {
|
|
1330
|
-
msg.
|
|
1363
|
+
msg.addClientRoles(values[i]);
|
|
1331
1364
|
}
|
|
1332
1365
|
break;
|
|
1333
1366
|
default:
|
|
@@ -1401,7 +1434,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter = functio
|
|
|
1401
1434
|
f
|
|
1402
1435
|
);
|
|
1403
1436
|
}
|
|
1404
|
-
f = message.
|
|
1437
|
+
f = message.getClientRolesList();
|
|
1405
1438
|
if (f.length > 0) {
|
|
1406
1439
|
writer.writePackedEnum(
|
|
1407
1440
|
7,
|
|
@@ -1520,10 +1553,10 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setGroupId = function(v
|
|
|
1520
1553
|
|
|
1521
1554
|
|
|
1522
1555
|
/**
|
|
1523
|
-
* repeated Auth.AccountProto.Roles
|
|
1556
|
+
* repeated Auth.AccountProto.Roles client_roles = 7;
|
|
1524
1557
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
1525
1558
|
*/
|
|
1526
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1559
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.getClientRolesList = function() {
|
|
1527
1560
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
1528
1561
|
};
|
|
1529
1562
|
|
|
@@ -1532,7 +1565,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getAssignedRolesList =
|
|
|
1532
1565
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
1533
1566
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1534
1567
|
*/
|
|
1535
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1568
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.setClientRolesList = function(value) {
|
|
1536
1569
|
return jspb.Message.setField(this, 7, value || []);
|
|
1537
1570
|
};
|
|
1538
1571
|
|
|
@@ -1542,7 +1575,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setAssignedRolesList =
|
|
|
1542
1575
|
* @param {number=} opt_index
|
|
1543
1576
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1544
1577
|
*/
|
|
1545
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1578
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.addClientRoles = function(value, opt_index) {
|
|
1546
1579
|
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
1547
1580
|
};
|
|
1548
1581
|
|
|
@@ -1551,8 +1584,8 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.addAssignedRoles = func
|
|
|
1551
1584
|
* Clears the list making it empty but non-null.
|
|
1552
1585
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1553
1586
|
*/
|
|
1554
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1555
|
-
return this.
|
|
1587
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.clearClientRolesList = function() {
|
|
1588
|
+
return this.setClientRolesList([]);
|
|
1556
1589
|
};
|
|
1557
1590
|
|
|
1558
1591
|
|
|
@@ -2888,10 +2921,10 @@ proto.Platform.LocalAccountProto.prototype.hasExpiredAt = function() {
|
|
|
2888
2921
|
|
|
2889
2922
|
|
|
2890
2923
|
/**
|
|
2891
|
-
* repeated Auth.AccountProto.Roles
|
|
2924
|
+
* repeated Auth.AccountProto.Roles client_roles = 11;
|
|
2892
2925
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
2893
2926
|
*/
|
|
2894
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
2927
|
+
proto.Platform.LocalAccountProto.prototype.getClientRolesList = function() {
|
|
2895
2928
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
2896
2929
|
};
|
|
2897
2930
|
|
|
@@ -2900,7 +2933,7 @@ proto.Platform.LocalAccountProto.prototype.getAssignedRolesList = function() {
|
|
|
2900
2933
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
2901
2934
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
2902
2935
|
*/
|
|
2903
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
2936
|
+
proto.Platform.LocalAccountProto.prototype.setClientRolesList = function(value) {
|
|
2904
2937
|
return jspb.Message.setField(this, 11, value || []);
|
|
2905
2938
|
};
|
|
2906
2939
|
|
|
@@ -2910,7 +2943,7 @@ proto.Platform.LocalAccountProto.prototype.setAssignedRolesList = function(value
|
|
|
2910
2943
|
* @param {number=} opt_index
|
|
2911
2944
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
2912
2945
|
*/
|
|
2913
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
2946
|
+
proto.Platform.LocalAccountProto.prototype.addClientRoles = function(value, opt_index) {
|
|
2914
2947
|
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
2915
2948
|
};
|
|
2916
2949
|
|
|
@@ -2919,8 +2952,8 @@ proto.Platform.LocalAccountProto.prototype.addAssignedRoles = function(value, op
|
|
|
2919
2952
|
* Clears the list making it empty but non-null.
|
|
2920
2953
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
2921
2954
|
*/
|
|
2922
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
2923
|
-
return this.
|
|
2955
|
+
proto.Platform.LocalAccountProto.prototype.clearClientRolesList = function() {
|
|
2956
|
+
return this.setClientRolesList([]);
|
|
2924
2957
|
};
|
|
2925
2958
|
|
|
2926
2959
|
|
|
@@ -2960,4 +2993,40 @@ proto.Platform.LocalAccountProto.prototype.setDeleted = function(value) {
|
|
|
2960
2993
|
};
|
|
2961
2994
|
|
|
2962
2995
|
|
|
2996
|
+
/**
|
|
2997
|
+
* optional int64 client_id = 14;
|
|
2998
|
+
* @return {number}
|
|
2999
|
+
*/
|
|
3000
|
+
proto.Platform.LocalAccountProto.prototype.getClientId = function() {
|
|
3001
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
3002
|
+
};
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
/**
|
|
3006
|
+
* @param {number} value
|
|
3007
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3008
|
+
*/
|
|
3009
|
+
proto.Platform.LocalAccountProto.prototype.setClientId = function(value) {
|
|
3010
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
3011
|
+
};
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* optional AccountTypes type = 15;
|
|
3016
|
+
* @return {!proto.Platform.LocalAccountProto.AccountTypes}
|
|
3017
|
+
*/
|
|
3018
|
+
proto.Platform.LocalAccountProto.prototype.getType = function() {
|
|
3019
|
+
return /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
3020
|
+
};
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
/**
|
|
3024
|
+
* @param {!proto.Platform.LocalAccountProto.AccountTypes} value
|
|
3025
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3026
|
+
*/
|
|
3027
|
+
proto.Platform.LocalAccountProto.prototype.setType = function(value) {
|
|
3028
|
+
return jspb.Message.setProto3EnumField(this, 15, value);
|
|
3029
|
+
};
|
|
3030
|
+
|
|
3031
|
+
|
|
2963
3032
|
goog.object.extend(exports, proto.Platform);
|