@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.
- package/auth.account_pb.d.ts +4 -44
- package/auth.account_pb.js +31 -335
- package/auth.account_pb_service.d.ts +0 -57
- package/auth.account_pb_service.js +0 -120
- package/auth.authn_pb.d.ts +1 -0
- package/auth.authn_pb.js +2 -1
- 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 +14 -44
- package/platform.local_account_internal_pb.js +39 -272
- package/platform.local_account_pb.d.ts +73 -15
- package/platform.local_account_pb.js +402 -28
- package/platform.local_account_pb_service.d.ts +3 -3
- package/platform.local_account_pb_service.js +1 -1
- package/spic.cabinet_pb.d.ts +26 -0
- package/spic.cabinet_pb.js +138 -6
|
@@ -32,11 +32,14 @@ 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);
|
|
38
39
|
goog.exportSymbol('proto.Platform.LocalAccountProto.EnableAccount', null, global);
|
|
39
40
|
goog.exportSymbol('proto.Platform.LocalAccountProto.ResendInvitationRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.Platform.LocalAccountProto.RetrieveRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.Platform.LocalAccountProto.RetrieveRequest.SearchCase', null, global);
|
|
40
43
|
goog.exportSymbol('proto.Platform.LocalAccountProto.SearchReply', null, global);
|
|
41
44
|
goog.exportSymbol('proto.Platform.LocalAccountProto.SearchRequest', null, global);
|
|
42
45
|
goog.exportSymbol('proto.Platform.LocalAccountProto.SetClientRequest', null, global);
|
|
@@ -63,6 +66,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
63
66
|
*/
|
|
64
67
|
proto.Platform.LocalAccountProto.displayName = 'proto.Platform.LocalAccountProto';
|
|
65
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Generated by JsPbCodeGenerator.
|
|
71
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
72
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
73
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
74
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
75
|
+
* valid.
|
|
76
|
+
* @extends {jspb.Message}
|
|
77
|
+
* @constructor
|
|
78
|
+
*/
|
|
79
|
+
proto.Platform.LocalAccountProto.RetrieveRequest = function(opt_data) {
|
|
80
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_);
|
|
81
|
+
};
|
|
82
|
+
goog.inherits(proto.Platform.LocalAccountProto.RetrieveRequest, jspb.Message);
|
|
83
|
+
if (goog.DEBUG && !COMPILED) {
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* @override
|
|
87
|
+
*/
|
|
88
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.displayName = 'proto.Platform.LocalAccountProto.RetrieveRequest';
|
|
89
|
+
}
|
|
66
90
|
/**
|
|
67
91
|
* Generated by JsPbCodeGenerator.
|
|
68
92
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -322,9 +346,12 @@ proto.Platform.LocalAccountProto.toObject = function(includeInstance, msg) {
|
|
|
322
346
|
groupId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
323
347
|
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
324
348
|
expiredAt: (f = msg.getExpiredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
325
|
-
|
|
349
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
326
350
|
status: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
327
|
-
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
|
|
351
|
+
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
352
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
353
|
+
type: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
354
|
+
clientName: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
328
355
|
};
|
|
329
356
|
|
|
330
357
|
if (includeInstance) {
|
|
@@ -405,7 +432,7 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
|
|
|
405
432
|
case 11:
|
|
406
433
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
407
434
|
for (var i = 0; i < values.length; i++) {
|
|
408
|
-
msg.
|
|
435
|
+
msg.addClientRoles(values[i]);
|
|
409
436
|
}
|
|
410
437
|
break;
|
|
411
438
|
case 12:
|
|
@@ -416,6 +443,18 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
|
|
|
416
443
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
417
444
|
msg.setDeleted(value);
|
|
418
445
|
break;
|
|
446
|
+
case 14:
|
|
447
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
448
|
+
msg.setClientId(value);
|
|
449
|
+
break;
|
|
450
|
+
case 15:
|
|
451
|
+
var value = /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (reader.readEnum());
|
|
452
|
+
msg.setType(value);
|
|
453
|
+
break;
|
|
454
|
+
case 16:
|
|
455
|
+
var value = /** @type {string} */ (reader.readString());
|
|
456
|
+
msg.setClientName(value);
|
|
457
|
+
break;
|
|
419
458
|
default:
|
|
420
459
|
reader.skipField();
|
|
421
460
|
break;
|
|
@@ -516,7 +555,7 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
|
|
|
516
555
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
517
556
|
);
|
|
518
557
|
}
|
|
519
|
-
f = message.
|
|
558
|
+
f = message.getClientRolesList();
|
|
520
559
|
if (f.length > 0) {
|
|
521
560
|
writer.writePackedEnum(
|
|
522
561
|
11,
|
|
@@ -537,6 +576,287 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
|
|
|
537
576
|
f
|
|
538
577
|
);
|
|
539
578
|
}
|
|
579
|
+
f = message.getClientId();
|
|
580
|
+
if (f !== 0) {
|
|
581
|
+
writer.writeInt64(
|
|
582
|
+
14,
|
|
583
|
+
f
|
|
584
|
+
);
|
|
585
|
+
}
|
|
586
|
+
f = message.getType();
|
|
587
|
+
if (f !== 0.0) {
|
|
588
|
+
writer.writeEnum(
|
|
589
|
+
15,
|
|
590
|
+
f
|
|
591
|
+
);
|
|
592
|
+
}
|
|
593
|
+
f = message.getClientName();
|
|
594
|
+
if (f.length > 0) {
|
|
595
|
+
writer.writeString(
|
|
596
|
+
16,
|
|
597
|
+
f
|
|
598
|
+
);
|
|
599
|
+
}
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @enum {number}
|
|
605
|
+
*/
|
|
606
|
+
proto.Platform.LocalAccountProto.AccountTypes = {
|
|
607
|
+
ADMIN: 0,
|
|
608
|
+
APP: 1
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
614
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
615
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
616
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
617
|
+
* @private {!Array<!Array<number>>}
|
|
618
|
+
* @const
|
|
619
|
+
*/
|
|
620
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_ = [[1,2]];
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* @enum {number}
|
|
624
|
+
*/
|
|
625
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.SearchCase = {
|
|
626
|
+
SEARCH_NOT_SET: 0,
|
|
627
|
+
ID: 1,
|
|
628
|
+
AUTH_ID: 2
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* @return {proto.Platform.LocalAccountProto.RetrieveRequest.SearchCase}
|
|
633
|
+
*/
|
|
634
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.getSearchCase = function() {
|
|
635
|
+
return /** @type {proto.Platform.LocalAccountProto.RetrieveRequest.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0]));
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
641
|
+
/**
|
|
642
|
+
* Creates an object representation of this proto.
|
|
643
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
644
|
+
* Optional fields that are not set will be set to undefined.
|
|
645
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
646
|
+
* For the list of reserved names please see:
|
|
647
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
648
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
649
|
+
* JSPB instance for transitional soy proto support:
|
|
650
|
+
* http://goto/soy-param-migration
|
|
651
|
+
* @return {!Object}
|
|
652
|
+
*/
|
|
653
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
|
|
654
|
+
return proto.Platform.LocalAccountProto.RetrieveRequest.toObject(opt_includeInstance, this);
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Static version of the {@see toObject} method.
|
|
660
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
661
|
+
* the JSPB instance for transitional soy proto support:
|
|
662
|
+
* http://goto/soy-param-migration
|
|
663
|
+
* @param {!proto.Platform.LocalAccountProto.RetrieveRequest} msg The msg instance to transform.
|
|
664
|
+
* @return {!Object}
|
|
665
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
666
|
+
*/
|
|
667
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
668
|
+
var f, obj = {
|
|
669
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
670
|
+
authId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
671
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
if (includeInstance) {
|
|
675
|
+
obj.$jspbMessageInstance = msg;
|
|
676
|
+
}
|
|
677
|
+
return obj;
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Deserializes binary data (in protobuf wire format).
|
|
684
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
685
|
+
* @return {!proto.Platform.LocalAccountProto.RetrieveRequest}
|
|
686
|
+
*/
|
|
687
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.deserializeBinary = function(bytes) {
|
|
688
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
689
|
+
var msg = new proto.Platform.LocalAccountProto.RetrieveRequest;
|
|
690
|
+
return proto.Platform.LocalAccountProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
696
|
+
* given reader into the given message object.
|
|
697
|
+
* @param {!proto.Platform.LocalAccountProto.RetrieveRequest} msg The message object to deserialize into.
|
|
698
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
699
|
+
* @return {!proto.Platform.LocalAccountProto.RetrieveRequest}
|
|
700
|
+
*/
|
|
701
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
702
|
+
while (reader.nextField()) {
|
|
703
|
+
if (reader.isEndGroup()) {
|
|
704
|
+
break;
|
|
705
|
+
}
|
|
706
|
+
var field = reader.getFieldNumber();
|
|
707
|
+
switch (field) {
|
|
708
|
+
case 1:
|
|
709
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
710
|
+
msg.setId(value);
|
|
711
|
+
break;
|
|
712
|
+
case 2:
|
|
713
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
714
|
+
msg.setAuthId(value);
|
|
715
|
+
break;
|
|
716
|
+
case 3:
|
|
717
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
718
|
+
msg.setClientId(value);
|
|
719
|
+
break;
|
|
720
|
+
default:
|
|
721
|
+
reader.skipField();
|
|
722
|
+
break;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
return msg;
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
731
|
+
* @return {!Uint8Array}
|
|
732
|
+
*/
|
|
733
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.serializeBinary = function() {
|
|
734
|
+
var writer = new jspb.BinaryWriter();
|
|
735
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
|
|
736
|
+
return writer.getResultBuffer();
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
742
|
+
* format), writing to the given BinaryWriter.
|
|
743
|
+
* @param {!proto.Platform.LocalAccountProto.RetrieveRequest} message
|
|
744
|
+
* @param {!jspb.BinaryWriter} writer
|
|
745
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
746
|
+
*/
|
|
747
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
|
|
748
|
+
var f = undefined;
|
|
749
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
750
|
+
if (f != null) {
|
|
751
|
+
writer.writeInt64(
|
|
752
|
+
1,
|
|
753
|
+
f
|
|
754
|
+
);
|
|
755
|
+
}
|
|
756
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
757
|
+
if (f != null) {
|
|
758
|
+
writer.writeInt64(
|
|
759
|
+
2,
|
|
760
|
+
f
|
|
761
|
+
);
|
|
762
|
+
}
|
|
763
|
+
f = message.getClientId();
|
|
764
|
+
if (f !== 0) {
|
|
765
|
+
writer.writeInt64(
|
|
766
|
+
3,
|
|
767
|
+
f
|
|
768
|
+
);
|
|
769
|
+
}
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* optional int64 id = 1;
|
|
775
|
+
* @return {number}
|
|
776
|
+
*/
|
|
777
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.getId = function() {
|
|
778
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* @param {number} value
|
|
784
|
+
* @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
|
|
785
|
+
*/
|
|
786
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.setId = function(value) {
|
|
787
|
+
return jspb.Message.setOneofField(this, 1, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0], value);
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Clears the field making it undefined.
|
|
793
|
+
* @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
|
|
794
|
+
*/
|
|
795
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.clearId = function() {
|
|
796
|
+
return jspb.Message.setOneofField(this, 1, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* Returns whether this field is set.
|
|
802
|
+
* @return {boolean}
|
|
803
|
+
*/
|
|
804
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.hasId = function() {
|
|
805
|
+
return jspb.Message.getField(this, 1) != null;
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* optional int64 auth_id = 2;
|
|
811
|
+
* @return {number}
|
|
812
|
+
*/
|
|
813
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.getAuthId = function() {
|
|
814
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* @param {number} value
|
|
820
|
+
* @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
|
|
821
|
+
*/
|
|
822
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.setAuthId = function(value) {
|
|
823
|
+
return jspb.Message.setOneofField(this, 2, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0], value);
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Clears the field making it undefined.
|
|
829
|
+
* @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
|
|
830
|
+
*/
|
|
831
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.clearAuthId = function() {
|
|
832
|
+
return jspb.Message.setOneofField(this, 2, proto.Platform.LocalAccountProto.RetrieveRequest.oneofGroups_[0], undefined);
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Returns whether this field is set.
|
|
838
|
+
* @return {boolean}
|
|
839
|
+
*/
|
|
840
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.hasAuthId = function() {
|
|
841
|
+
return jspb.Message.getField(this, 2) != null;
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* optional int64 client_id = 3;
|
|
847
|
+
* @return {number}
|
|
848
|
+
*/
|
|
849
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.getClientId = function() {
|
|
850
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* @param {number} value
|
|
856
|
+
* @return {!proto.Platform.LocalAccountProto.RetrieveRequest} returns this
|
|
857
|
+
*/
|
|
858
|
+
proto.Platform.LocalAccountProto.RetrieveRequest.prototype.setClientId = function(value) {
|
|
859
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
540
860
|
};
|
|
541
861
|
|
|
542
862
|
|
|
@@ -586,7 +906,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.toObject = function(includeI
|
|
|
586
906
|
company: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
587
907
|
clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
588
908
|
groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
589
|
-
|
|
909
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
|
|
590
910
|
};
|
|
591
911
|
|
|
592
912
|
if (includeInstance) {
|
|
@@ -654,7 +974,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.deserializeBinaryFromReader
|
|
|
654
974
|
case 8:
|
|
655
975
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
656
976
|
for (var i = 0; i < values.length; i++) {
|
|
657
|
-
msg.
|
|
977
|
+
msg.addClientRoles(values[i]);
|
|
658
978
|
}
|
|
659
979
|
break;
|
|
660
980
|
default:
|
|
@@ -735,7 +1055,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.serializeBinaryToWriter = fu
|
|
|
735
1055
|
f
|
|
736
1056
|
);
|
|
737
1057
|
}
|
|
738
|
-
f = message.
|
|
1058
|
+
f = message.getClientRolesList();
|
|
739
1059
|
if (f.length > 0) {
|
|
740
1060
|
writer.writePackedEnum(
|
|
741
1061
|
8,
|
|
@@ -872,10 +1192,10 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setGroupId = funct
|
|
|
872
1192
|
|
|
873
1193
|
|
|
874
1194
|
/**
|
|
875
|
-
* repeated Auth.AccountProto.Roles
|
|
1195
|
+
* repeated Auth.AccountProto.Roles client_roles = 8;
|
|
876
1196
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
877
1197
|
*/
|
|
878
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
1198
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getClientRolesList = function() {
|
|
879
1199
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 8));
|
|
880
1200
|
};
|
|
881
1201
|
|
|
@@ -884,7 +1204,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.getAssignedRolesLi
|
|
|
884
1204
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
885
1205
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
886
1206
|
*/
|
|
887
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
1207
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setClientRolesList = function(value) {
|
|
888
1208
|
return jspb.Message.setField(this, 8, value || []);
|
|
889
1209
|
};
|
|
890
1210
|
|
|
@@ -894,7 +1214,7 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.setAssignedRolesLi
|
|
|
894
1214
|
* @param {number=} opt_index
|
|
895
1215
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
896
1216
|
*/
|
|
897
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
1217
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.addClientRoles = function(value, opt_index) {
|
|
898
1218
|
return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
|
|
899
1219
|
};
|
|
900
1220
|
|
|
@@ -903,8 +1223,8 @@ proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.addAssignedRoles =
|
|
|
903
1223
|
* Clears the list making it empty but non-null.
|
|
904
1224
|
* @return {!proto.Platform.LocalAccountProto.CreateAdminRequest} returns this
|
|
905
1225
|
*/
|
|
906
|
-
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.
|
|
907
|
-
return this.
|
|
1226
|
+
proto.Platform.LocalAccountProto.CreateAdminRequest.prototype.clearClientRolesList = function() {
|
|
1227
|
+
return this.setClientRolesList([]);
|
|
908
1228
|
};
|
|
909
1229
|
|
|
910
1230
|
|
|
@@ -1263,7 +1583,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.toObject = function(includeInstan
|
|
|
1263
1583
|
locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1264
1584
|
company: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1265
1585
|
groupId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1266
|
-
|
|
1586
|
+
clientRolesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
|
|
1267
1587
|
};
|
|
1268
1588
|
|
|
1269
1589
|
if (includeInstance) {
|
|
@@ -1327,7 +1647,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.deserializeBinaryFromReader = fun
|
|
|
1327
1647
|
case 7:
|
|
1328
1648
|
var values = /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
1329
1649
|
for (var i = 0; i < values.length; i++) {
|
|
1330
|
-
msg.
|
|
1650
|
+
msg.addClientRoles(values[i]);
|
|
1331
1651
|
}
|
|
1332
1652
|
break;
|
|
1333
1653
|
default:
|
|
@@ -1401,7 +1721,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.serializeBinaryToWriter = functio
|
|
|
1401
1721
|
f
|
|
1402
1722
|
);
|
|
1403
1723
|
}
|
|
1404
|
-
f = message.
|
|
1724
|
+
f = message.getClientRolesList();
|
|
1405
1725
|
if (f.length > 0) {
|
|
1406
1726
|
writer.writePackedEnum(
|
|
1407
1727
|
7,
|
|
@@ -1520,10 +1840,10 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setGroupId = function(v
|
|
|
1520
1840
|
|
|
1521
1841
|
|
|
1522
1842
|
/**
|
|
1523
|
-
* repeated Auth.AccountProto.Roles
|
|
1843
|
+
* repeated Auth.AccountProto.Roles client_roles = 7;
|
|
1524
1844
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
1525
1845
|
*/
|
|
1526
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1846
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.getClientRolesList = function() {
|
|
1527
1847
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
1528
1848
|
};
|
|
1529
1849
|
|
|
@@ -1532,7 +1852,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.getAssignedRolesList =
|
|
|
1532
1852
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
1533
1853
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1534
1854
|
*/
|
|
1535
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1855
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.setClientRolesList = function(value) {
|
|
1536
1856
|
return jspb.Message.setField(this, 7, value || []);
|
|
1537
1857
|
};
|
|
1538
1858
|
|
|
@@ -1542,7 +1862,7 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.setAssignedRolesList =
|
|
|
1542
1862
|
* @param {number=} opt_index
|
|
1543
1863
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1544
1864
|
*/
|
|
1545
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1865
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.addClientRoles = function(value, opt_index) {
|
|
1546
1866
|
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
1547
1867
|
};
|
|
1548
1868
|
|
|
@@ -1551,8 +1871,8 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.addAssignedRoles = func
|
|
|
1551
1871
|
* Clears the list making it empty but non-null.
|
|
1552
1872
|
* @return {!proto.Platform.LocalAccountProto.UpdateRequest} returns this
|
|
1553
1873
|
*/
|
|
1554
|
-
proto.Platform.LocalAccountProto.UpdateRequest.prototype.
|
|
1555
|
-
return this.
|
|
1874
|
+
proto.Platform.LocalAccountProto.UpdateRequest.prototype.clearClientRolesList = function() {
|
|
1875
|
+
return this.setClientRolesList([]);
|
|
1556
1876
|
};
|
|
1557
1877
|
|
|
1558
1878
|
|
|
@@ -2888,10 +3208,10 @@ proto.Platform.LocalAccountProto.prototype.hasExpiredAt = function() {
|
|
|
2888
3208
|
|
|
2889
3209
|
|
|
2890
3210
|
/**
|
|
2891
|
-
* repeated Auth.AccountProto.Roles
|
|
3211
|
+
* repeated Auth.AccountProto.Roles client_roles = 11;
|
|
2892
3212
|
* @return {!Array<!proto.Auth.AccountProto.Roles>}
|
|
2893
3213
|
*/
|
|
2894
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
3214
|
+
proto.Platform.LocalAccountProto.prototype.getClientRolesList = function() {
|
|
2895
3215
|
return /** @type {!Array<!proto.Auth.AccountProto.Roles>} */ (jspb.Message.getRepeatedField(this, 11));
|
|
2896
3216
|
};
|
|
2897
3217
|
|
|
@@ -2900,7 +3220,7 @@ proto.Platform.LocalAccountProto.prototype.getAssignedRolesList = function() {
|
|
|
2900
3220
|
* @param {!Array<!proto.Auth.AccountProto.Roles>} value
|
|
2901
3221
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
2902
3222
|
*/
|
|
2903
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
3223
|
+
proto.Platform.LocalAccountProto.prototype.setClientRolesList = function(value) {
|
|
2904
3224
|
return jspb.Message.setField(this, 11, value || []);
|
|
2905
3225
|
};
|
|
2906
3226
|
|
|
@@ -2910,7 +3230,7 @@ proto.Platform.LocalAccountProto.prototype.setAssignedRolesList = function(value
|
|
|
2910
3230
|
* @param {number=} opt_index
|
|
2911
3231
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
2912
3232
|
*/
|
|
2913
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
3233
|
+
proto.Platform.LocalAccountProto.prototype.addClientRoles = function(value, opt_index) {
|
|
2914
3234
|
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
|
2915
3235
|
};
|
|
2916
3236
|
|
|
@@ -2919,8 +3239,8 @@ proto.Platform.LocalAccountProto.prototype.addAssignedRoles = function(value, op
|
|
|
2919
3239
|
* Clears the list making it empty but non-null.
|
|
2920
3240
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
2921
3241
|
*/
|
|
2922
|
-
proto.Platform.LocalAccountProto.prototype.
|
|
2923
|
-
return this.
|
|
3242
|
+
proto.Platform.LocalAccountProto.prototype.clearClientRolesList = function() {
|
|
3243
|
+
return this.setClientRolesList([]);
|
|
2924
3244
|
};
|
|
2925
3245
|
|
|
2926
3246
|
|
|
@@ -2960,4 +3280,58 @@ proto.Platform.LocalAccountProto.prototype.setDeleted = function(value) {
|
|
|
2960
3280
|
};
|
|
2961
3281
|
|
|
2962
3282
|
|
|
3283
|
+
/**
|
|
3284
|
+
* optional int64 client_id = 14;
|
|
3285
|
+
* @return {number}
|
|
3286
|
+
*/
|
|
3287
|
+
proto.Platform.LocalAccountProto.prototype.getClientId = function() {
|
|
3288
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
3289
|
+
};
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* @param {number} value
|
|
3294
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3295
|
+
*/
|
|
3296
|
+
proto.Platform.LocalAccountProto.prototype.setClientId = function(value) {
|
|
3297
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
3298
|
+
};
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
/**
|
|
3302
|
+
* optional AccountTypes type = 15;
|
|
3303
|
+
* @return {!proto.Platform.LocalAccountProto.AccountTypes}
|
|
3304
|
+
*/
|
|
3305
|
+
proto.Platform.LocalAccountProto.prototype.getType = function() {
|
|
3306
|
+
return /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
3307
|
+
};
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
/**
|
|
3311
|
+
* @param {!proto.Platform.LocalAccountProto.AccountTypes} value
|
|
3312
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3313
|
+
*/
|
|
3314
|
+
proto.Platform.LocalAccountProto.prototype.setType = function(value) {
|
|
3315
|
+
return jspb.Message.setProto3EnumField(this, 15, value);
|
|
3316
|
+
};
|
|
3317
|
+
|
|
3318
|
+
|
|
3319
|
+
/**
|
|
3320
|
+
* optional string client_name = 16;
|
|
3321
|
+
* @return {string}
|
|
3322
|
+
*/
|
|
3323
|
+
proto.Platform.LocalAccountProto.prototype.getClientName = function() {
|
|
3324
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
3325
|
+
};
|
|
3326
|
+
|
|
3327
|
+
|
|
3328
|
+
/**
|
|
3329
|
+
* @param {string} value
|
|
3330
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3331
|
+
*/
|
|
3332
|
+
proto.Platform.LocalAccountProto.prototype.setClientName = function(value) {
|
|
3333
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
3334
|
+
};
|
|
3335
|
+
|
|
3336
|
+
|
|
2963
3337
|
goog.object.extend(exports, proto.Platform);
|
|
@@ -29,7 +29,7 @@ type LocalAccountGRPCRetrieve = {
|
|
|
29
29
|
readonly service: typeof LocalAccountGRPC;
|
|
30
30
|
readonly requestStream: false;
|
|
31
31
|
readonly responseStream: false;
|
|
32
|
-
readonly requestType: typeof
|
|
32
|
+
readonly requestType: typeof platform_local_account_pb.LocalAccountProto.RetrieveRequest;
|
|
33
33
|
readonly responseType: typeof platform_local_account_pb.LocalAccountProto;
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -211,12 +211,12 @@ export class LocalAccountGRPCClient {
|
|
|
211
211
|
callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
|
|
212
212
|
): UnaryResponse;
|
|
213
213
|
retrieve(
|
|
214
|
-
requestMessage:
|
|
214
|
+
requestMessage: platform_local_account_pb.LocalAccountProto.RetrieveRequest,
|
|
215
215
|
metadata: grpc.Metadata,
|
|
216
216
|
callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
|
|
217
217
|
): UnaryResponse;
|
|
218
218
|
retrieve(
|
|
219
|
-
requestMessage:
|
|
219
|
+
requestMessage: platform_local_account_pb.LocalAccountProto.RetrieveRequest,
|
|
220
220
|
callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
|
|
221
221
|
): UnaryResponse;
|
|
222
222
|
update(
|
|
@@ -35,7 +35,7 @@ LocalAccountGRPC.Retrieve = {
|
|
|
35
35
|
service: LocalAccountGRPC,
|
|
36
36
|
requestStream: false,
|
|
37
37
|
responseStream: false,
|
|
38
|
-
requestType:
|
|
38
|
+
requestType: platform_local_account_pb.LocalAccountProto.RetrieveRequest,
|
|
39
39
|
responseType: platform_local_account_pb.LocalAccountProto
|
|
40
40
|
};
|
|
41
41
|
|