@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-alpha.20
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/auth.account_pb.d.ts +4 -130
- package/auth.account_pb.js +97 -1079
- package/auth.account_pb_service.d.ts +0 -171
- package/auth.account_pb_service.js +0 -360
- package/meta.client_pb.d.ts +0 -1
- package/meta.client_pb.js +0 -2
- package/meta.spic_config_pb.d.ts +0 -67
- package/meta.spic_config_pb.js +1 -439
- package/meta.spic_config_pb_service.d.ts +0 -19
- package/meta.spic_config_pb_service.js +0 -40
- package/package.json +1 -1
- package/platform.local_account_internal_pb.d.ts +121 -0
- package/platform.local_account_internal_pb.js +903 -0
- package/platform.local_account_internal_pb_service.d.ts +121 -0
- package/platform.local_account_internal_pb_service.js +182 -0
- package/platform.local_account_pb.d.ts +38 -65
- package/platform.local_account_pb.js +157 -413
- package/platform.local_account_pb_service.d.ts +0 -57
- package/platform.local_account_pb_service.js +0 -120
- package/spic.cabinet_pb.d.ts +24 -0
- package/spic.cabinet_pb.js +134 -4
|
@@ -32,12 +32,11 @@ 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.
|
|
35
|
+
goog.exportSymbol('proto.Platform.LocalAccountProto.AccountTypes', null, global);
|
|
36
36
|
goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAdminRequest', null, global);
|
|
37
37
|
goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAppRequest', null, global);
|
|
38
38
|
goog.exportSymbol('proto.Platform.LocalAccountProto.DisableAccount', null, global);
|
|
39
39
|
goog.exportSymbol('proto.Platform.LocalAccountProto.EnableAccount', null, global);
|
|
40
|
-
goog.exportSymbol('proto.Platform.LocalAccountProto.RemoveClientRequest', null, global);
|
|
41
40
|
goog.exportSymbol('proto.Platform.LocalAccountProto.ResendInvitationRequest', null, global);
|
|
42
41
|
goog.exportSymbol('proto.Platform.LocalAccountProto.SearchReply', null, global);
|
|
43
42
|
goog.exportSymbol('proto.Platform.LocalAccountProto.SearchRequest', null, global);
|
|
@@ -191,48 +190,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
191
190
|
*/
|
|
192
191
|
proto.Platform.LocalAccountProto.SetClientRequest.displayName = 'proto.Platform.LocalAccountProto.SetClientRequest';
|
|
193
192
|
}
|
|
194
|
-
/**
|
|
195
|
-
* Generated by JsPbCodeGenerator.
|
|
196
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
197
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
198
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
199
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
200
|
-
* valid.
|
|
201
|
-
* @extends {jspb.Message}
|
|
202
|
-
* @constructor
|
|
203
|
-
*/
|
|
204
|
-
proto.Platform.LocalAccountProto.AddClientRequest = function(opt_data) {
|
|
205
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
206
|
-
};
|
|
207
|
-
goog.inherits(proto.Platform.LocalAccountProto.AddClientRequest, jspb.Message);
|
|
208
|
-
if (goog.DEBUG && !COMPILED) {
|
|
209
|
-
/**
|
|
210
|
-
* @public
|
|
211
|
-
* @override
|
|
212
|
-
*/
|
|
213
|
-
proto.Platform.LocalAccountProto.AddClientRequest.displayName = 'proto.Platform.LocalAccountProto.AddClientRequest';
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Generated by JsPbCodeGenerator.
|
|
217
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
218
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
219
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
220
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
221
|
-
* valid.
|
|
222
|
-
* @extends {jspb.Message}
|
|
223
|
-
* @constructor
|
|
224
|
-
*/
|
|
225
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest = function(opt_data) {
|
|
226
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
227
|
-
};
|
|
228
|
-
goog.inherits(proto.Platform.LocalAccountProto.RemoveClientRequest, jspb.Message);
|
|
229
|
-
if (goog.DEBUG && !COMPILED) {
|
|
230
|
-
/**
|
|
231
|
-
* @public
|
|
232
|
-
* @override
|
|
233
|
-
*/
|
|
234
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.displayName = 'proto.Platform.LocalAccountProto.RemoveClientRequest';
|
|
235
|
-
}
|
|
236
193
|
/**
|
|
237
194
|
* Generated by JsPbCodeGenerator.
|
|
238
195
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -366,8 +323,12 @@ proto.Platform.LocalAccountProto.toObject = function(includeInstance, msg) {
|
|
|
366
323
|
groupId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
367
324
|
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
368
325
|
expiredAt: (f = msg.getExpiredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
369
|
-
|
|
370
|
-
status: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
326
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
327
|
+
status: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
328
|
+
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
329
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
330
|
+
type: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
331
|
+
clientName: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
371
332
|
};
|
|
372
333
|
|
|
373
334
|
if (includeInstance) {
|
|
@@ -448,13 +409,29 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
|
|
|
448
409
|
case 11:
|
|
449
410
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
450
411
|
for (var i = 0; i < values.length; i++) {
|
|
451
|
-
msg.
|
|
412
|
+
msg.addClientRoles(values[i]);
|
|
452
413
|
}
|
|
453
414
|
break;
|
|
454
415
|
case 12:
|
|
455
416
|
var value = /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (reader.readEnum());
|
|
456
417
|
msg.setStatus(value);
|
|
457
418
|
break;
|
|
419
|
+
case 13:
|
|
420
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
421
|
+
msg.setDeleted(value);
|
|
422
|
+
break;
|
|
423
|
+
case 14:
|
|
424
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
425
|
+
msg.setClientId(value);
|
|
426
|
+
break;
|
|
427
|
+
case 15:
|
|
428
|
+
var value = /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (reader.readEnum());
|
|
429
|
+
msg.setType(value);
|
|
430
|
+
break;
|
|
431
|
+
case 16:
|
|
432
|
+
var value = /** @type {string} */ (reader.readString());
|
|
433
|
+
msg.setClientName(value);
|
|
434
|
+
break;
|
|
458
435
|
default:
|
|
459
436
|
reader.skipField();
|
|
460
437
|
break;
|
|
@@ -555,7 +532,7 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
|
|
|
555
532
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
556
533
|
);
|
|
557
534
|
}
|
|
558
|
-
f = message.
|
|
535
|
+
f = message.getClientRolesList();
|
|
559
536
|
if (f.length > 0) {
|
|
560
537
|
writer.writePackedEnum(
|
|
561
538
|
11,
|
|
@@ -569,9 +546,45 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
|
|
|
569
546
|
f
|
|
570
547
|
);
|
|
571
548
|
}
|
|
549
|
+
f = message.getDeleted();
|
|
550
|
+
if (f) {
|
|
551
|
+
writer.writeBool(
|
|
552
|
+
13,
|
|
553
|
+
f
|
|
554
|
+
);
|
|
555
|
+
}
|
|
556
|
+
f = message.getClientId();
|
|
557
|
+
if (f !== 0) {
|
|
558
|
+
writer.writeInt64(
|
|
559
|
+
14,
|
|
560
|
+
f
|
|
561
|
+
);
|
|
562
|
+
}
|
|
563
|
+
f = message.getType();
|
|
564
|
+
if (f !== 0.0) {
|
|
565
|
+
writer.writeEnum(
|
|
566
|
+
15,
|
|
567
|
+
f
|
|
568
|
+
);
|
|
569
|
+
}
|
|
570
|
+
f = message.getClientName();
|
|
571
|
+
if (f.length > 0) {
|
|
572
|
+
writer.writeString(
|
|
573
|
+
16,
|
|
574
|
+
f
|
|
575
|
+
);
|
|
576
|
+
}
|
|
572
577
|
};
|
|
573
578
|
|
|
574
579
|
|
|
580
|
+
/**
|
|
581
|
+
* @enum {number}
|
|
582
|
+
*/
|
|
583
|
+
proto.Platform.LocalAccountProto.AccountTypes = {
|
|
584
|
+
ADMIN: 0,
|
|
585
|
+
APP: 1
|
|
586
|
+
};
|
|
587
|
+
|
|
575
588
|
|
|
576
589
|
/**
|
|
577
590
|
* List of repeated fields within this message type.
|
|
@@ -618,7 +631,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.toObject = function(includeI
|
|
|
618
631
|
company: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
619
632
|
clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
620
633
|
groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
621
|
-
|
|
634
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
|
|
622
635
|
};
|
|
623
636
|
|
|
624
637
|
if (includeInstance) {
|
|
@@ -686,7 +699,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader
|
|
|
686
699
|
case 8:
|
|
687
700
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
688
701
|
for (var i = 0; i < values.length; i++) {
|
|
689
|
-
msg.
|
|
702
|
+
msg.addClientRoles(values[i]);
|
|
690
703
|
}
|
|
691
704
|
break;
|
|
692
705
|
default:
|
|
@@ -767,7 +780,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter = fu
|
|
|
767
780
|
f
|
|
768
781
|
);
|
|
769
782
|
}
|
|
770
|
-
f = message.
|
|
783
|
+
f = message.getClientRolesList();
|
|
771
784
|
if (f.length > 0) {
|
|
772
785
|
writer.writePackedEnum(
|
|
773
786
|
8,
|
|
@@ -904,10 +917,10 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setGroupId = funct
|
|
|
904
917
|
|
|
905
918
|
|
|
906
919
|
/**
|
|
907
|
-
* repeated Auth.AccountProto.Roles
|
|
920
|
+
* repeated Auth.AccountProto.Roles client_roles = 8;
|
|
908
921
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
909
922
|
*/
|
|
910
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
923
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getClientRolesList = function() {
|
|
911
924
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
912
925
|
};
|
|
913
926
|
|
|
@@ -916,7 +929,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getAssignedRolesLi
|
|
|
916
929
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
917
930
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
918
931
|
*/
|
|
919
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
932
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setClientRolesList = function(value) {
|
|
920
933
|
return jspb.Message.setField(this, 8, value || []);
|
|
921
934
|
};
|
|
922
935
|
|
|
@@ -926,7 +939,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setAssignedRolesLi
|
|
|
926
939
|
* @param {number=} opt_index
|
|
927
940
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
928
941
|
*/
|
|
929
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
942
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.addClientRoles = function(value, opt_index) {
|
|
930
943
|
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
931
944
|
};
|
|
932
945
|
|
|
@@ -935,8 +948,8 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.addAssignedRoles =
|
|
|
935
948
|
* Clears the list making it empty but non-null.
|
|
936
949
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
937
950
|
*/
|
|
938
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
939
|
-
return this.
|
|
951
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.clearClientRolesList = function() {
|
|
952
|
+
return this.setClientRolesList([]);
|
|
940
953
|
};
|
|
941
954
|
|
|
942
955
|
|
|
@@ -1295,7 +1308,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.toObject = function(includeInstan
|
|
|
1295
1308
|
locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1296
1309
|
company: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1297
1310
|
groupId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1298
|
-
|
|
1311
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
|
|
1299
1312
|
};
|
|
1300
1313
|
|
|
1301
1314
|
if (includeInstance) {
|
|
@@ -1359,7 +1372,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = fun
|
|
|
1359
1372
|
case 7:
|
|
1360
1373
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
1361
1374
|
for (var i = 0; i < values.length; i++) {
|
|
1362
|
-
msg.
|
|
1375
|
+
msg.addClientRoles(values[i]);
|
|
1363
1376
|
}
|
|
1364
1377
|
break;
|
|
1365
1378
|
default:
|
|
@@ -1433,7 +1446,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter = functio
|
|
|
1433
1446
|
f
|
|
1434
1447
|
);
|
|
1435
1448
|
}
|
|
1436
|
-
f = message.
|
|
1449
|
+
f = message.getClientRolesList();
|
|
1437
1450
|
if (f.length > 0) {
|
|
1438
1451
|
writer.writePackedEnum(
|
|
1439
1452
|
7,
|
|
@@ -1552,10 +1565,10 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setGroupId = function(v
|
|
|
1552
1565
|
|
|
1553
1566
|
|
|
1554
1567
|
/**
|
|
1555
|
-
* repeated Auth.AccountProto.Roles
|
|
1568
|
+
* repeated Auth.AccountProto.Roles client_roles = 7;
|
|
1556
1569
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
1557
1570
|
*/
|
|
1558
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1571
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.getClientRolesList = function() {
|
|
1559
1572
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
1560
1573
|
};
|
|
1561
1574
|
|
|
@@ -1564,7 +1577,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getAssignedRolesList =
|
|
|
1564
1577
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
1565
1578
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1566
1579
|
*/
|
|
1567
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1580
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.setClientRolesList = function(value) {
|
|
1568
1581
|
return jspb.Message.setField(this, 7, value || []);
|
|
1569
1582
|
};
|
|
1570
1583
|
|
|
@@ -1574,7 +1587,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setAssignedRolesList =
|
|
|
1574
1587
|
* @param {number=} opt_index
|
|
1575
1588
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1576
1589
|
*/
|
|
1577
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1590
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.addClientRoles = function(value, opt_index) {
|
|
1578
1591
|
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
1579
1592
|
};
|
|
1580
1593
|
|
|
@@ -1583,8 +1596,8 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.addAssignedRoles = func
|
|
|
1583
1596
|
* Clears the list making it empty but non-null.
|
|
1584
1597
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1585
1598
|
*/
|
|
1586
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1587
|
-
return this.
|
|
1599
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.clearClientRolesList = function() {
|
|
1600
|
+
return this.setClientRolesList([]);
|
|
1588
1601
|
};
|
|
1589
1602
|
|
|
1590
1603
|
|
|
@@ -2152,347 +2165,6 @@ proto.Platform.LocalAccountProto.SetClientRequest.prototype.setClientId = functi
|
|
|
2152
2165
|
|
|
2153
2166
|
|
|
2154
2167
|
|
|
2155
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2156
|
-
/**
|
|
2157
|
-
* Creates an object representation of this proto.
|
|
2158
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2159
|
-
* Optional fields that are not set will be set to undefined.
|
|
2160
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2161
|
-
* For the list of reserved names please see:
|
|
2162
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2163
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2164
|
-
* JSPB instance for transitional soy proto support:
|
|
2165
|
-
* http://goto/soy-param-migration
|
|
2166
|
-
* @return {!Object}
|
|
2167
|
-
*/
|
|
2168
|
-
proto.Platform.LocalAccountProto.AddClientRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2169
|
-
return proto.Platform.LocalAccountProto.AddClientRequest.toObject(opt_includeInstance, this);
|
|
2170
|
-
};
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
/**
|
|
2174
|
-
* Static version of the {@see toObject} method.
|
|
2175
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2176
|
-
* the JSPB instance for transitional soy proto support:
|
|
2177
|
-
* http://goto/soy-param-migration
|
|
2178
|
-
* @param {!proto.Platform.LocalAccountProto.AddClientRequest} msg The msg instance to transform.
|
|
2179
|
-
* @return {!Object}
|
|
2180
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2181
|
-
*/
|
|
2182
|
-
proto.Platform.LocalAccountProto.AddClientRequest.toObject = function(includeInstance, msg) {
|
|
2183
|
-
var f, obj = {
|
|
2184
|
-
account: (f = msg.getAccount()) && auth_account_pb.AccountProto.toObject(includeInstance, f),
|
|
2185
|
-
clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2186
|
-
};
|
|
2187
|
-
|
|
2188
|
-
if (includeInstance) {
|
|
2189
|
-
obj.$jspbMessageInstance = msg;
|
|
2190
|
-
}
|
|
2191
|
-
return obj;
|
|
2192
|
-
};
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
/**
|
|
2197
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2198
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2199
|
-
* @return {!proto.Platform.LocalAccountProto.AddClientRequest}
|
|
2200
|
-
*/
|
|
2201
|
-
proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinary = function(bytes) {
|
|
2202
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2203
|
-
var msg = new proto.Platform.LocalAccountProto.AddClientRequest;
|
|
2204
|
-
return proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader(msg, reader);
|
|
2205
|
-
};
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
/**
|
|
2209
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2210
|
-
* given reader into the given message object.
|
|
2211
|
-
* @param {!proto.Platform.LocalAccountProto.AddClientRequest} msg The message object to deserialize into.
|
|
2212
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2213
|
-
* @return {!proto.Platform.LocalAccountProto.AddClientRequest}
|
|
2214
|
-
*/
|
|
2215
|
-
proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2216
|
-
while (reader.nextField()) {
|
|
2217
|
-
if (reader.isEndGroup()) {
|
|
2218
|
-
break;
|
|
2219
|
-
}
|
|
2220
|
-
var field = reader.getFieldNumber();
|
|
2221
|
-
switch (field) {
|
|
2222
|
-
case 1:
|
|
2223
|
-
var value = new auth_account_pb.AccountProto;
|
|
2224
|
-
reader.readMessage(value,auth_account_pb.AccountProto.deserializeBinaryFromReader);
|
|
2225
|
-
msg.setAccount(value);
|
|
2226
|
-
break;
|
|
2227
|
-
case 2:
|
|
2228
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2229
|
-
msg.setClientId(value);
|
|
2230
|
-
break;
|
|
2231
|
-
default:
|
|
2232
|
-
reader.skipField();
|
|
2233
|
-
break;
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
return msg;
|
|
2237
|
-
};
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
/**
|
|
2241
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2242
|
-
* @return {!Uint8Array}
|
|
2243
|
-
*/
|
|
2244
|
-
proto.Platform.LocalAccountProto.AddClientRequest.prototype.serializeBinary = function() {
|
|
2245
|
-
var writer = new jspb.BinaryWriter();
|
|
2246
|
-
proto.Platform.LocalAccountProto.AddClientRequest.serializeBinaryToWriter(this, writer);
|
|
2247
|
-
return writer.getResultBuffer();
|
|
2248
|
-
};
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
/**
|
|
2252
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2253
|
-
* format), writing to the given BinaryWriter.
|
|
2254
|
-
* @param {!proto.Platform.LocalAccountProto.AddClientRequest} message
|
|
2255
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2256
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2257
|
-
*/
|
|
2258
|
-
proto.Platform.LocalAccountProto.AddClientRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2259
|
-
var f = undefined;
|
|
2260
|
-
f = message.getAccount();
|
|
2261
|
-
if (f != null) {
|
|
2262
|
-
writer.writeMessage(
|
|
2263
|
-
1,
|
|
2264
|
-
f,
|
|
2265
|
-
auth_account_pb.AccountProto.serializeBinaryToWriter
|
|
2266
|
-
);
|
|
2267
|
-
}
|
|
2268
|
-
f = message.getClientId();
|
|
2269
|
-
if (f !== 0) {
|
|
2270
|
-
writer.writeInt32(
|
|
2271
|
-
2,
|
|
2272
|
-
f
|
|
2273
|
-
);
|
|
2274
|
-
}
|
|
2275
|
-
};
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
/**
|
|
2279
|
-
* optional Auth.AccountProto account = 1;
|
|
2280
|
-
* @return {?proto.Auth.AccountProto}
|
|
2281
|
-
*/
|
|
2282
|
-
proto.Platform.LocalAccountProto.AddClientRequest.prototype.getAccount = function() {
|
|
2283
|
-
return /** @type{?proto.Auth.AccountProto} */ (
|
|
2284
|
-
jspb.Message.getWrapperField(this, auth_account_pb.AccountProto, 1));
|
|
2285
|
-
};
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
/**
|
|
2289
|
-
* @param {?proto.Auth.AccountProto|undefined} value
|
|
2290
|
-
* @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
|
|
2291
|
-
*/
|
|
2292
|
-
proto.Platform.LocalAccountProto.AddClientRequest.prototype.setAccount = function(value) {
|
|
2293
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
2294
|
-
};
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
/**
|
|
2298
|
-
* Clears the message field making it undefined.
|
|
2299
|
-
* @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
|
|
2300
|
-
*/
|
|
2301
|
-
proto.Platform.LocalAccountProto.AddClientRequest.prototype.clearAccount = function() {
|
|
2302
|
-
return this.setAccount(undefined);
|
|
2303
|
-
};
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
/**
|
|
2307
|
-
* Returns whether this field is set.
|
|
2308
|
-
* @return {boolean}
|
|
2309
|
-
*/
|
|
2310
|
-
proto.Platform.LocalAccountProto.AddClientRequest.prototype.hasAccount = function() {
|
|
2311
|
-
return jspb.Message.getField(this, 1) != null;
|
|
2312
|
-
};
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
/**
|
|
2316
|
-
* optional int32 client_id = 2;
|
|
2317
|
-
* @return {number}
|
|
2318
|
-
*/
|
|
2319
|
-
proto.Platform.LocalAccountProto.AddClientRequest.prototype.getClientId = function() {
|
|
2320
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2321
|
-
};
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
/**
|
|
2325
|
-
* @param {number} value
|
|
2326
|
-
* @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
|
|
2327
|
-
*/
|
|
2328
|
-
proto.Platform.LocalAccountProto.AddClientRequest.prototype.setClientId = function(value) {
|
|
2329
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2330
|
-
};
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2337
|
-
/**
|
|
2338
|
-
* Creates an object representation of this proto.
|
|
2339
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2340
|
-
* Optional fields that are not set will be set to undefined.
|
|
2341
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2342
|
-
* For the list of reserved names please see:
|
|
2343
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2344
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2345
|
-
* JSPB instance for transitional soy proto support:
|
|
2346
|
-
* http://goto/soy-param-migration
|
|
2347
|
-
* @return {!Object}
|
|
2348
|
-
*/
|
|
2349
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2350
|
-
return proto.Platform.LocalAccountProto.RemoveClientRequest.toObject(opt_includeInstance, this);
|
|
2351
|
-
};
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
/**
|
|
2355
|
-
* Static version of the {@see toObject} method.
|
|
2356
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2357
|
-
* the JSPB instance for transitional soy proto support:
|
|
2358
|
-
* http://goto/soy-param-migration
|
|
2359
|
-
* @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} msg The msg instance to transform.
|
|
2360
|
-
* @return {!Object}
|
|
2361
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2362
|
-
*/
|
|
2363
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.toObject = function(includeInstance, msg) {
|
|
2364
|
-
var f, obj = {
|
|
2365
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2366
|
-
clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2367
|
-
};
|
|
2368
|
-
|
|
2369
|
-
if (includeInstance) {
|
|
2370
|
-
obj.$jspbMessageInstance = msg;
|
|
2371
|
-
}
|
|
2372
|
-
return obj;
|
|
2373
|
-
};
|
|
2374
|
-
}
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
/**
|
|
2378
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2379
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2380
|
-
* @return {!proto.Platform.LocalAccountProto.RemoveClientRequest}
|
|
2381
|
-
*/
|
|
2382
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinary = function(bytes) {
|
|
2383
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2384
|
-
var msg = new proto.Platform.LocalAccountProto.RemoveClientRequest;
|
|
2385
|
-
return proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader(msg, reader);
|
|
2386
|
-
};
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
/**
|
|
2390
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2391
|
-
* given reader into the given message object.
|
|
2392
|
-
* @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} msg The message object to deserialize into.
|
|
2393
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2394
|
-
* @return {!proto.Platform.LocalAccountProto.RemoveClientRequest}
|
|
2395
|
-
*/
|
|
2396
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2397
|
-
while (reader.nextField()) {
|
|
2398
|
-
if (reader.isEndGroup()) {
|
|
2399
|
-
break;
|
|
2400
|
-
}
|
|
2401
|
-
var field = reader.getFieldNumber();
|
|
2402
|
-
switch (field) {
|
|
2403
|
-
case 1:
|
|
2404
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2405
|
-
msg.setId(value);
|
|
2406
|
-
break;
|
|
2407
|
-
case 2:
|
|
2408
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2409
|
-
msg.setClientId(value);
|
|
2410
|
-
break;
|
|
2411
|
-
default:
|
|
2412
|
-
reader.skipField();
|
|
2413
|
-
break;
|
|
2414
|
-
}
|
|
2415
|
-
}
|
|
2416
|
-
return msg;
|
|
2417
|
-
};
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
/**
|
|
2421
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2422
|
-
* @return {!Uint8Array}
|
|
2423
|
-
*/
|
|
2424
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.serializeBinary = function() {
|
|
2425
|
-
var writer = new jspb.BinaryWriter();
|
|
2426
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter(this, writer);
|
|
2427
|
-
return writer.getResultBuffer();
|
|
2428
|
-
};
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
/**
|
|
2432
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2433
|
-
* format), writing to the given BinaryWriter.
|
|
2434
|
-
* @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} message
|
|
2435
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2436
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2437
|
-
*/
|
|
2438
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2439
|
-
var f = undefined;
|
|
2440
|
-
f = message.getId();
|
|
2441
|
-
if (f !== 0) {
|
|
2442
|
-
writer.writeInt64(
|
|
2443
|
-
1,
|
|
2444
|
-
f
|
|
2445
|
-
);
|
|
2446
|
-
}
|
|
2447
|
-
f = message.getClientId();
|
|
2448
|
-
if (f !== 0) {
|
|
2449
|
-
writer.writeInt32(
|
|
2450
|
-
2,
|
|
2451
|
-
f
|
|
2452
|
-
);
|
|
2453
|
-
}
|
|
2454
|
-
};
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
/**
|
|
2458
|
-
* optional int64 id = 1;
|
|
2459
|
-
* @return {number}
|
|
2460
|
-
*/
|
|
2461
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.getId = function() {
|
|
2462
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2463
|
-
};
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
/**
|
|
2467
|
-
* @param {number} value
|
|
2468
|
-
* @return {!proto.Platform.LocalAccountProto.RemoveClientRequest} returns this
|
|
2469
|
-
*/
|
|
2470
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setId = function(value) {
|
|
2471
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2472
|
-
};
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
/**
|
|
2476
|
-
* optional int32 client_id = 2;
|
|
2477
|
-
* @return {number}
|
|
2478
|
-
*/
|
|
2479
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.getClientId = function() {
|
|
2480
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2481
|
-
};
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
/**
|
|
2485
|
-
* @param {number} value
|
|
2486
|
-
* @return {!proto.Platform.LocalAccountProto.RemoveClientRequest} returns this
|
|
2487
|
-
*/
|
|
2488
|
-
proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setClientId = function(value) {
|
|
2489
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2490
|
-
};
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
2168
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2497
2169
|
/**
|
|
2498
2170
|
* Creates an object representation of this proto.
|
|
@@ -3261,10 +2933,10 @@ proto.Platform.LocalAccountProto.prototype.hasExpiredAt = function() {
|
|
|
3261
2933
|
|
|
3262
2934
|
|
|
3263
2935
|
/**
|
|
3264
|
-
* repeated Auth.AccountProto.Roles
|
|
2936
|
+
* repeated Auth.AccountProto.Roles client_roles = 11;
|
|
3265
2937
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
3266
2938
|
*/
|
|
3267
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
2939
|
+
proto.Platform.LocalAccountProto.prototype.getClientRolesList = function() {
|
|
3268
2940
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
3269
2941
|
};
|
|
3270
2942
|
|
|
@@ -3273,7 +2945,7 @@ proto.Platform.LocalAccountProto.prototype.getAssignedRolesList = function() {
|
|
|
3273
2945
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
3274
2946
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3275
2947
|
*/
|
|
3276
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
2948
|
+
proto.Platform.LocalAccountProto.prototype.setClientRolesList = function(value) {
|
|
3277
2949
|
return jspb.Message.setField(this, 11, value || []);
|
|
3278
2950
|
};
|
|
3279
2951
|
|
|
@@ -3283,7 +2955,7 @@ proto.Platform.LocalAccountProto.prototype.setAssignedRolesList = function(value
|
|
|
3283
2955
|
* @param {number=} opt_index
|
|
3284
2956
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3285
2957
|
*/
|
|
3286
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
2958
|
+
proto.Platform.LocalAccountProto.prototype.addClientRoles = function(value, opt_index) {
|
|
3287
2959
|
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
3288
2960
|
};
|
|
3289
2961
|
|
|
@@ -3292,8 +2964,8 @@ proto.Platform.LocalAccountProto.prototype.addAssignedRoles = function(value, op
|
|
|
3292
2964
|
* Clears the list making it empty but non-null.
|
|
3293
2965
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3294
2966
|
*/
|
|
3295
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
3296
|
-
return this.
|
|
2967
|
+
proto.Platform.LocalAccountProto.prototype.clearClientRolesList = function() {
|
|
2968
|
+
return this.setClientRolesList([]);
|
|
3297
2969
|
};
|
|
3298
2970
|
|
|
3299
2971
|
|
|
@@ -3315,4 +2987,76 @@ proto.Platform.LocalAccountProto.prototype.setStatus = function(value) {
|
|
|
3315
2987
|
};
|
|
3316
2988
|
|
|
3317
2989
|
|
|
2990
|
+
/**
|
|
2991
|
+
* optional bool deleted = 13;
|
|
2992
|
+
* @return {boolean}
|
|
2993
|
+
*/
|
|
2994
|
+
proto.Platform.LocalAccountProto.prototype.getDeleted = function() {
|
|
2995
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
2996
|
+
};
|
|
2997
|
+
|
|
2998
|
+
|
|
2999
|
+
/**
|
|
3000
|
+
* @param {boolean} value
|
|
3001
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3002
|
+
*/
|
|
3003
|
+
proto.Platform.LocalAccountProto.prototype.setDeleted = function(value) {
|
|
3004
|
+
return jspb.Message.setProto3BooleanField(this, 13, value);
|
|
3005
|
+
};
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* optional int64 client_id = 14;
|
|
3010
|
+
* @return {number}
|
|
3011
|
+
*/
|
|
3012
|
+
proto.Platform.LocalAccountProto.prototype.getClientId = function() {
|
|
3013
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
3014
|
+
};
|
|
3015
|
+
|
|
3016
|
+
|
|
3017
|
+
/**
|
|
3018
|
+
* @param {number} value
|
|
3019
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3020
|
+
*/
|
|
3021
|
+
proto.Platform.LocalAccountProto.prototype.setClientId = function(value) {
|
|
3022
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
3023
|
+
};
|
|
3024
|
+
|
|
3025
|
+
|
|
3026
|
+
/**
|
|
3027
|
+
* optional AccountTypes type = 15;
|
|
3028
|
+
* @return {!proto.Platform.LocalAccountProto.AccountTypes}
|
|
3029
|
+
*/
|
|
3030
|
+
proto.Platform.LocalAccountProto.prototype.getType = function() {
|
|
3031
|
+
return /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
3032
|
+
};
|
|
3033
|
+
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* @param {!proto.Platform.LocalAccountProto.AccountTypes} value
|
|
3037
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3038
|
+
*/
|
|
3039
|
+
proto.Platform.LocalAccountProto.prototype.setType = function(value) {
|
|
3040
|
+
return jspb.Message.setProto3EnumField(this, 15, value);
|
|
3041
|
+
};
|
|
3042
|
+
|
|
3043
|
+
|
|
3044
|
+
/**
|
|
3045
|
+
* optional string client_name = 16;
|
|
3046
|
+
* @return {string}
|
|
3047
|
+
*/
|
|
3048
|
+
proto.Platform.LocalAccountProto.prototype.getClientName = function() {
|
|
3049
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
3050
|
+
};
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
/**
|
|
3054
|
+
* @param {string} value
|
|
3055
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3056
|
+
*/
|
|
3057
|
+
proto.Platform.LocalAccountProto.prototype.setClientName = function(value) {
|
|
3058
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
3059
|
+
};
|
|
3060
|
+
|
|
3061
|
+
|
|
3318
3062
|
goog.object.extend(exports, proto.Platform);
|