@meshtrade/api-old 1.57.0 → 1.59.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.
Files changed (29) hide show
  1. package/dist/meshtrade/compliance/client/v1/client_pb.d.ts +41 -4
  2. package/dist/meshtrade/compliance/client/v1/client_pb.js +338 -54
  3. package/dist/meshtrade/compliance/client/v1/client_status_pb.d.ts +10 -0
  4. package/dist/meshtrade/compliance/client/v1/client_status_pb.js +35 -0
  5. package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +24 -3
  6. package/dist/meshtrade/compliance/client/v1/company_pb.js +157 -16
  7. package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +6 -3
  8. package/dist/meshtrade/compliance/client/v1/fund_pb.js +46 -14
  9. package/dist/meshtrade/compliance/client/v1/index.d.ts +1 -0
  10. package/dist/meshtrade/compliance/client/v1/index.js +1 -0
  11. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +1 -0
  12. package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +2 -0
  13. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.d.ts +25 -1
  14. package/dist/meshtrade/compliance/client/v1/service_grpc_web_client_meshts.js +32 -0
  15. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.d.ts +48 -0
  16. package/dist/meshtrade/compliance/client/v1/service_grpc_web_pb.js +246 -0
  17. package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +87 -0
  18. package/dist/meshtrade/compliance/client/v1/service_pb.js +738 -0
  19. package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +6 -3
  20. package/dist/meshtrade/compliance/client/v1/trust_pb.js +46 -14
  21. package/dist/meshtrade/iam/group/v1/service_pb.d.ts +6 -0
  22. package/dist/meshtrade/iam/group/v1/service_pb.js +58 -2
  23. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.d.ts +7 -1
  24. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_client_meshts.js +8 -0
  25. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.d.ts +12 -0
  26. package/dist/meshtrade/iam/user_profile/v1/service_grpc_web_pb.js +61 -0
  27. package/dist/meshtrade/iam/user_profile/v1/service_pb.d.ts +48 -0
  28. package/dist/meshtrade/iam/user_profile/v1/service_pb.js +420 -0
  29. package/package.json +1 -1
@@ -23,15 +23,21 @@ var global =
23
23
 
24
24
  var buf_validate_validate_pb = require('../../../../buf/validate/validate_pb.js');
25
25
  goog.object.extend(proto, buf_validate_validate_pb);
26
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
27
+ goog.object.extend(proto, google_protobuf_timestamp_pb);
26
28
  var meshtrade_compliance_client_v1_client_pb = require('../../../../meshtrade/compliance/client/v1/client_pb.js');
27
29
  goog.object.extend(proto, meshtrade_compliance_client_v1_client_pb);
28
30
  var meshtrade_option_method_options_v1_method_options_pb = require('../../../../meshtrade/option/method_options/v1/method_options_pb.js');
29
31
  goog.object.extend(proto, meshtrade_option_method_options_v1_method_options_pb);
30
32
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.CreateClientRequest', null, global);
33
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.FailClientVerificationRequest', null, global);
31
34
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.GetClientRequest', null, global);
32
35
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.GetGroupClientRequest', null, global);
33
36
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.ListClientsRequest', null, global);
34
37
  goog.exportSymbol('proto.meshtrade.compliance.client.v1.ListClientsResponse', null, global);
38
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest', null, global);
39
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.StartClientVerificationRequest', null, global);
40
+ goog.exportSymbol('proto.meshtrade.compliance.client.v1.UpdateClientRequest', null, global);
35
41
  /**
36
42
  * Generated by JsPbCodeGenerator.
37
43
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -74,6 +80,27 @@ if (goog.DEBUG && !COMPILED) {
74
80
  */
75
81
  proto.meshtrade.compliance.client.v1.CreateClientRequest.displayName = 'proto.meshtrade.compliance.client.v1.CreateClientRequest';
76
82
  }
83
+ /**
84
+ * Generated by JsPbCodeGenerator.
85
+ * @param {Array=} opt_data Optional initial data array, typically from a
86
+ * server response, or constructed directly in Javascript. The array is used
87
+ * in place and becomes part of the constructed object. It is not cloned.
88
+ * If no data is provided, the constructed object will be empty, but still
89
+ * valid.
90
+ * @extends {jspb.Message}
91
+ * @constructor
92
+ */
93
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest = function(opt_data) {
94
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
95
+ };
96
+ goog.inherits(proto.meshtrade.compliance.client.v1.UpdateClientRequest, jspb.Message);
97
+ if (goog.DEBUG && !COMPILED) {
98
+ /**
99
+ * @public
100
+ * @override
101
+ */
102
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.displayName = 'proto.meshtrade.compliance.client.v1.UpdateClientRequest';
103
+ }
77
104
  /**
78
105
  * Generated by JsPbCodeGenerator.
79
106
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -95,6 +122,69 @@ if (goog.DEBUG && !COMPILED) {
95
122
  */
96
123
  proto.meshtrade.compliance.client.v1.GetGroupClientRequest.displayName = 'proto.meshtrade.compliance.client.v1.GetGroupClientRequest';
97
124
  }
125
+ /**
126
+ * Generated by JsPbCodeGenerator.
127
+ * @param {Array=} opt_data Optional initial data array, typically from a
128
+ * server response, or constructed directly in Javascript. The array is used
129
+ * in place and becomes part of the constructed object. It is not cloned.
130
+ * If no data is provided, the constructed object will be empty, but still
131
+ * valid.
132
+ * @extends {jspb.Message}
133
+ * @constructor
134
+ */
135
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest = function(opt_data) {
136
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
137
+ };
138
+ goog.inherits(proto.meshtrade.compliance.client.v1.StartClientVerificationRequest, jspb.Message);
139
+ if (goog.DEBUG && !COMPILED) {
140
+ /**
141
+ * @public
142
+ * @override
143
+ */
144
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.displayName = 'proto.meshtrade.compliance.client.v1.StartClientVerificationRequest';
145
+ }
146
+ /**
147
+ * Generated by JsPbCodeGenerator.
148
+ * @param {Array=} opt_data Optional initial data array, typically from a
149
+ * server response, or constructed directly in Javascript. The array is used
150
+ * in place and becomes part of the constructed object. It is not cloned.
151
+ * If no data is provided, the constructed object will be empty, but still
152
+ * valid.
153
+ * @extends {jspb.Message}
154
+ * @constructor
155
+ */
156
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest = function(opt_data) {
157
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.repeatedFields_, null);
158
+ };
159
+ goog.inherits(proto.meshtrade.compliance.client.v1.FailClientVerificationRequest, jspb.Message);
160
+ if (goog.DEBUG && !COMPILED) {
161
+ /**
162
+ * @public
163
+ * @override
164
+ */
165
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.displayName = 'proto.meshtrade.compliance.client.v1.FailClientVerificationRequest';
166
+ }
167
+ /**
168
+ * Generated by JsPbCodeGenerator.
169
+ * @param {Array=} opt_data Optional initial data array, typically from a
170
+ * server response, or constructed directly in Javascript. The array is used
171
+ * in place and becomes part of the constructed object. It is not cloned.
172
+ * If no data is provided, the constructed object will be empty, but still
173
+ * valid.
174
+ * @extends {jspb.Message}
175
+ * @constructor
176
+ */
177
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest = function(opt_data) {
178
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
179
+ };
180
+ goog.inherits(proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest, jspb.Message);
181
+ if (goog.DEBUG && !COMPILED) {
182
+ /**
183
+ * @public
184
+ * @override
185
+ */
186
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.displayName = 'proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest';
187
+ }
98
188
  /**
99
189
  * Generated by JsPbCodeGenerator.
100
190
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -421,6 +511,157 @@ proto.meshtrade.compliance.client.v1.CreateClientRequest.prototype.hasClient = f
421
511
 
422
512
 
423
513
 
514
+ if (jspb.Message.GENERATE_TO_OBJECT) {
515
+ /**
516
+ * Creates an object representation of this proto.
517
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
518
+ * Optional fields that are not set will be set to undefined.
519
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
520
+ * For the list of reserved names please see:
521
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
522
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
523
+ * JSPB instance for transitional soy proto support:
524
+ * http://goto/soy-param-migration
525
+ * @return {!Object}
526
+ */
527
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.prototype.toObject = function(opt_includeInstance) {
528
+ return proto.meshtrade.compliance.client.v1.UpdateClientRequest.toObject(opt_includeInstance, this);
529
+ };
530
+
531
+
532
+ /**
533
+ * Static version of the {@see toObject} method.
534
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
535
+ * the JSPB instance for transitional soy proto support:
536
+ * http://goto/soy-param-migration
537
+ * @param {!proto.meshtrade.compliance.client.v1.UpdateClientRequest} msg The msg instance to transform.
538
+ * @return {!Object}
539
+ * @suppress {unusedLocalVariables} f is only used for nested messages
540
+ */
541
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.toObject = function(includeInstance, msg) {
542
+ var f, obj = {
543
+ client: (f = msg.getClient()) && meshtrade_compliance_client_v1_client_pb.Client.toObject(includeInstance, f)
544
+ };
545
+
546
+ if (includeInstance) {
547
+ obj.$jspbMessageInstance = msg;
548
+ }
549
+ return obj;
550
+ };
551
+ }
552
+
553
+
554
+ /**
555
+ * Deserializes binary data (in protobuf wire format).
556
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
557
+ * @return {!proto.meshtrade.compliance.client.v1.UpdateClientRequest}
558
+ */
559
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.deserializeBinary = function(bytes) {
560
+ var reader = new jspb.BinaryReader(bytes);
561
+ var msg = new proto.meshtrade.compliance.client.v1.UpdateClientRequest;
562
+ return proto.meshtrade.compliance.client.v1.UpdateClientRequest.deserializeBinaryFromReader(msg, reader);
563
+ };
564
+
565
+
566
+ /**
567
+ * Deserializes binary data (in protobuf wire format) from the
568
+ * given reader into the given message object.
569
+ * @param {!proto.meshtrade.compliance.client.v1.UpdateClientRequest} msg The message object to deserialize into.
570
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
571
+ * @return {!proto.meshtrade.compliance.client.v1.UpdateClientRequest}
572
+ */
573
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.deserializeBinaryFromReader = function(msg, reader) {
574
+ while (reader.nextField()) {
575
+ if (reader.isEndGroup()) {
576
+ break;
577
+ }
578
+ var field = reader.getFieldNumber();
579
+ switch (field) {
580
+ case 1:
581
+ var value = new meshtrade_compliance_client_v1_client_pb.Client;
582
+ reader.readMessage(value,meshtrade_compliance_client_v1_client_pb.Client.deserializeBinaryFromReader);
583
+ msg.setClient(value);
584
+ break;
585
+ default:
586
+ reader.skipField();
587
+ break;
588
+ }
589
+ }
590
+ return msg;
591
+ };
592
+
593
+
594
+ /**
595
+ * Serializes the message to binary data (in protobuf wire format).
596
+ * @return {!Uint8Array}
597
+ */
598
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.prototype.serializeBinary = function() {
599
+ var writer = new jspb.BinaryWriter();
600
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.serializeBinaryToWriter(this, writer);
601
+ return writer.getResultBuffer();
602
+ };
603
+
604
+
605
+ /**
606
+ * Serializes the given message to binary data (in protobuf wire
607
+ * format), writing to the given BinaryWriter.
608
+ * @param {!proto.meshtrade.compliance.client.v1.UpdateClientRequest} message
609
+ * @param {!jspb.BinaryWriter} writer
610
+ * @suppress {unusedLocalVariables} f is only used for nested messages
611
+ */
612
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.serializeBinaryToWriter = function(message, writer) {
613
+ var f = undefined;
614
+ f = message.getClient();
615
+ if (f != null) {
616
+ writer.writeMessage(
617
+ 1,
618
+ f,
619
+ meshtrade_compliance_client_v1_client_pb.Client.serializeBinaryToWriter
620
+ );
621
+ }
622
+ };
623
+
624
+
625
+ /**
626
+ * optional Client client = 1;
627
+ * @return {?proto.meshtrade.compliance.client.v1.Client}
628
+ */
629
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.prototype.getClient = function() {
630
+ return /** @type{?proto.meshtrade.compliance.client.v1.Client} */ (
631
+ jspb.Message.getWrapperField(this, meshtrade_compliance_client_v1_client_pb.Client, 1));
632
+ };
633
+
634
+
635
+ /**
636
+ * @param {?proto.meshtrade.compliance.client.v1.Client|undefined} value
637
+ * @return {!proto.meshtrade.compliance.client.v1.UpdateClientRequest} returns this
638
+ */
639
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.prototype.setClient = function(value) {
640
+ return jspb.Message.setWrapperField(this, 1, value);
641
+ };
642
+
643
+
644
+ /**
645
+ * Clears the message field making it undefined.
646
+ * @return {!proto.meshtrade.compliance.client.v1.UpdateClientRequest} returns this
647
+ */
648
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.prototype.clearClient = function() {
649
+ return this.setClient(undefined);
650
+ };
651
+
652
+
653
+ /**
654
+ * Returns whether this field is set.
655
+ * @return {boolean}
656
+ */
657
+ proto.meshtrade.compliance.client.v1.UpdateClientRequest.prototype.hasClient = function() {
658
+ return jspb.Message.getField(this, 1) != null;
659
+ };
660
+
661
+
662
+
663
+
664
+
424
665
  if (jspb.Message.GENERATE_TO_OBJECT) {
425
666
  /**
426
667
  * Creates an object representation of this proto.
@@ -551,6 +792,503 @@ proto.meshtrade.compliance.client.v1.GetGroupClientRequest.prototype.setGroup =
551
792
 
552
793
 
553
794
 
795
+ if (jspb.Message.GENERATE_TO_OBJECT) {
796
+ /**
797
+ * Creates an object representation of this proto.
798
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
799
+ * Optional fields that are not set will be set to undefined.
800
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
801
+ * For the list of reserved names please see:
802
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
803
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
804
+ * JSPB instance for transitional soy proto support:
805
+ * http://goto/soy-param-migration
806
+ * @return {!Object}
807
+ */
808
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.prototype.toObject = function(opt_includeInstance) {
809
+ return proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.toObject(opt_includeInstance, this);
810
+ };
811
+
812
+
813
+ /**
814
+ * Static version of the {@see toObject} method.
815
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
816
+ * the JSPB instance for transitional soy proto support:
817
+ * http://goto/soy-param-migration
818
+ * @param {!proto.meshtrade.compliance.client.v1.StartClientVerificationRequest} msg The msg instance to transform.
819
+ * @return {!Object}
820
+ * @suppress {unusedLocalVariables} f is only used for nested messages
821
+ */
822
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.toObject = function(includeInstance, msg) {
823
+ var f, obj = {
824
+ client: jspb.Message.getFieldWithDefault(msg, 1, "")
825
+ };
826
+
827
+ if (includeInstance) {
828
+ obj.$jspbMessageInstance = msg;
829
+ }
830
+ return obj;
831
+ };
832
+ }
833
+
834
+
835
+ /**
836
+ * Deserializes binary data (in protobuf wire format).
837
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
838
+ * @return {!proto.meshtrade.compliance.client.v1.StartClientVerificationRequest}
839
+ */
840
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.deserializeBinary = function(bytes) {
841
+ var reader = new jspb.BinaryReader(bytes);
842
+ var msg = new proto.meshtrade.compliance.client.v1.StartClientVerificationRequest;
843
+ return proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.deserializeBinaryFromReader(msg, reader);
844
+ };
845
+
846
+
847
+ /**
848
+ * Deserializes binary data (in protobuf wire format) from the
849
+ * given reader into the given message object.
850
+ * @param {!proto.meshtrade.compliance.client.v1.StartClientVerificationRequest} msg The message object to deserialize into.
851
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
852
+ * @return {!proto.meshtrade.compliance.client.v1.StartClientVerificationRequest}
853
+ */
854
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
855
+ while (reader.nextField()) {
856
+ if (reader.isEndGroup()) {
857
+ break;
858
+ }
859
+ var field = reader.getFieldNumber();
860
+ switch (field) {
861
+ case 1:
862
+ var value = /** @type {string} */ (reader.readString());
863
+ msg.setClient(value);
864
+ break;
865
+ default:
866
+ reader.skipField();
867
+ break;
868
+ }
869
+ }
870
+ return msg;
871
+ };
872
+
873
+
874
+ /**
875
+ * Serializes the message to binary data (in protobuf wire format).
876
+ * @return {!Uint8Array}
877
+ */
878
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.prototype.serializeBinary = function() {
879
+ var writer = new jspb.BinaryWriter();
880
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.serializeBinaryToWriter(this, writer);
881
+ return writer.getResultBuffer();
882
+ };
883
+
884
+
885
+ /**
886
+ * Serializes the given message to binary data (in protobuf wire
887
+ * format), writing to the given BinaryWriter.
888
+ * @param {!proto.meshtrade.compliance.client.v1.StartClientVerificationRequest} message
889
+ * @param {!jspb.BinaryWriter} writer
890
+ * @suppress {unusedLocalVariables} f is only used for nested messages
891
+ */
892
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.serializeBinaryToWriter = function(message, writer) {
893
+ var f = undefined;
894
+ f = message.getClient();
895
+ if (f.length > 0) {
896
+ writer.writeString(
897
+ 1,
898
+ f
899
+ );
900
+ }
901
+ };
902
+
903
+
904
+ /**
905
+ * optional string client = 1;
906
+ * @return {string}
907
+ */
908
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.prototype.getClient = function() {
909
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
910
+ };
911
+
912
+
913
+ /**
914
+ * @param {string} value
915
+ * @return {!proto.meshtrade.compliance.client.v1.StartClientVerificationRequest} returns this
916
+ */
917
+ proto.meshtrade.compliance.client.v1.StartClientVerificationRequest.prototype.setClient = function(value) {
918
+ return jspb.Message.setProto3StringField(this, 1, value);
919
+ };
920
+
921
+
922
+
923
+ /**
924
+ * List of repeated fields within this message type.
925
+ * @private {!Array<number>}
926
+ * @const
927
+ */
928
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.repeatedFields_ = [2];
929
+
930
+
931
+
932
+ if (jspb.Message.GENERATE_TO_OBJECT) {
933
+ /**
934
+ * Creates an object representation of this proto.
935
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
936
+ * Optional fields that are not set will be set to undefined.
937
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
938
+ * For the list of reserved names please see:
939
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
940
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
941
+ * JSPB instance for transitional soy proto support:
942
+ * http://goto/soy-param-migration
943
+ * @return {!Object}
944
+ */
945
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.prototype.toObject = function(opt_includeInstance) {
946
+ return proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.toObject(opt_includeInstance, this);
947
+ };
948
+
949
+
950
+ /**
951
+ * Static version of the {@see toObject} method.
952
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
953
+ * the JSPB instance for transitional soy proto support:
954
+ * http://goto/soy-param-migration
955
+ * @param {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest} msg The msg instance to transform.
956
+ * @return {!Object}
957
+ * @suppress {unusedLocalVariables} f is only used for nested messages
958
+ */
959
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.toObject = function(includeInstance, msg) {
960
+ var f, obj = {
961
+ client: jspb.Message.getFieldWithDefault(msg, 1, ""),
962
+ commentsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
963
+ };
964
+
965
+ if (includeInstance) {
966
+ obj.$jspbMessageInstance = msg;
967
+ }
968
+ return obj;
969
+ };
970
+ }
971
+
972
+
973
+ /**
974
+ * Deserializes binary data (in protobuf wire format).
975
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
976
+ * @return {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest}
977
+ */
978
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.deserializeBinary = function(bytes) {
979
+ var reader = new jspb.BinaryReader(bytes);
980
+ var msg = new proto.meshtrade.compliance.client.v1.FailClientVerificationRequest;
981
+ return proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.deserializeBinaryFromReader(msg, reader);
982
+ };
983
+
984
+
985
+ /**
986
+ * Deserializes binary data (in protobuf wire format) from the
987
+ * given reader into the given message object.
988
+ * @param {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest} msg The message object to deserialize into.
989
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
990
+ * @return {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest}
991
+ */
992
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
993
+ while (reader.nextField()) {
994
+ if (reader.isEndGroup()) {
995
+ break;
996
+ }
997
+ var field = reader.getFieldNumber();
998
+ switch (field) {
999
+ case 1:
1000
+ var value = /** @type {string} */ (reader.readString());
1001
+ msg.setClient(value);
1002
+ break;
1003
+ case 2:
1004
+ var value = /** @type {string} */ (reader.readString());
1005
+ msg.addComments(value);
1006
+ break;
1007
+ default:
1008
+ reader.skipField();
1009
+ break;
1010
+ }
1011
+ }
1012
+ return msg;
1013
+ };
1014
+
1015
+
1016
+ /**
1017
+ * Serializes the message to binary data (in protobuf wire format).
1018
+ * @return {!Uint8Array}
1019
+ */
1020
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.prototype.serializeBinary = function() {
1021
+ var writer = new jspb.BinaryWriter();
1022
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.serializeBinaryToWriter(this, writer);
1023
+ return writer.getResultBuffer();
1024
+ };
1025
+
1026
+
1027
+ /**
1028
+ * Serializes the given message to binary data (in protobuf wire
1029
+ * format), writing to the given BinaryWriter.
1030
+ * @param {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest} message
1031
+ * @param {!jspb.BinaryWriter} writer
1032
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1033
+ */
1034
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.serializeBinaryToWriter = function(message, writer) {
1035
+ var f = undefined;
1036
+ f = message.getClient();
1037
+ if (f.length > 0) {
1038
+ writer.writeString(
1039
+ 1,
1040
+ f
1041
+ );
1042
+ }
1043
+ f = message.getCommentsList();
1044
+ if (f.length > 0) {
1045
+ writer.writeRepeatedString(
1046
+ 2,
1047
+ f
1048
+ );
1049
+ }
1050
+ };
1051
+
1052
+
1053
+ /**
1054
+ * optional string client = 1;
1055
+ * @return {string}
1056
+ */
1057
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.prototype.getClient = function() {
1058
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1059
+ };
1060
+
1061
+
1062
+ /**
1063
+ * @param {string} value
1064
+ * @return {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest} returns this
1065
+ */
1066
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.prototype.setClient = function(value) {
1067
+ return jspb.Message.setProto3StringField(this, 1, value);
1068
+ };
1069
+
1070
+
1071
+ /**
1072
+ * repeated string comments = 2;
1073
+ * @return {!Array<string>}
1074
+ */
1075
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.prototype.getCommentsList = function() {
1076
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
1077
+ };
1078
+
1079
+
1080
+ /**
1081
+ * @param {!Array<string>} value
1082
+ * @return {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest} returns this
1083
+ */
1084
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.prototype.setCommentsList = function(value) {
1085
+ return jspb.Message.setField(this, 2, value || []);
1086
+ };
1087
+
1088
+
1089
+ /**
1090
+ * @param {string} value
1091
+ * @param {number=} opt_index
1092
+ * @return {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest} returns this
1093
+ */
1094
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.prototype.addComments = function(value, opt_index) {
1095
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
1096
+ };
1097
+
1098
+
1099
+ /**
1100
+ * Clears the list making it empty but non-null.
1101
+ * @return {!proto.meshtrade.compliance.client.v1.FailClientVerificationRequest} returns this
1102
+ */
1103
+ proto.meshtrade.compliance.client.v1.FailClientVerificationRequest.prototype.clearCommentsList = function() {
1104
+ return this.setCommentsList([]);
1105
+ };
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1112
+ /**
1113
+ * Creates an object representation of this proto.
1114
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1115
+ * Optional fields that are not set will be set to undefined.
1116
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1117
+ * For the list of reserved names please see:
1118
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1119
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1120
+ * JSPB instance for transitional soy proto support:
1121
+ * http://goto/soy-param-migration
1122
+ * @return {!Object}
1123
+ */
1124
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.prototype.toObject = function(opt_includeInstance) {
1125
+ return proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.toObject(opt_includeInstance, this);
1126
+ };
1127
+
1128
+
1129
+ /**
1130
+ * Static version of the {@see toObject} method.
1131
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1132
+ * the JSPB instance for transitional soy proto support:
1133
+ * http://goto/soy-param-migration
1134
+ * @param {!proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest} msg The msg instance to transform.
1135
+ * @return {!Object}
1136
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1137
+ */
1138
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.toObject = function(includeInstance, msg) {
1139
+ var f, obj = {
1140
+ client: jspb.Message.getFieldWithDefault(msg, 1, ""),
1141
+ nextVerificationDate: (f = msg.getNextVerificationDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
1142
+ };
1143
+
1144
+ if (includeInstance) {
1145
+ obj.$jspbMessageInstance = msg;
1146
+ }
1147
+ return obj;
1148
+ };
1149
+ }
1150
+
1151
+
1152
+ /**
1153
+ * Deserializes binary data (in protobuf wire format).
1154
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1155
+ * @return {!proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest}
1156
+ */
1157
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.deserializeBinary = function(bytes) {
1158
+ var reader = new jspb.BinaryReader(bytes);
1159
+ var msg = new proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest;
1160
+ return proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.deserializeBinaryFromReader(msg, reader);
1161
+ };
1162
+
1163
+
1164
+ /**
1165
+ * Deserializes binary data (in protobuf wire format) from the
1166
+ * given reader into the given message object.
1167
+ * @param {!proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest} msg The message object to deserialize into.
1168
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1169
+ * @return {!proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest}
1170
+ */
1171
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.deserializeBinaryFromReader = function(msg, reader) {
1172
+ while (reader.nextField()) {
1173
+ if (reader.isEndGroup()) {
1174
+ break;
1175
+ }
1176
+ var field = reader.getFieldNumber();
1177
+ switch (field) {
1178
+ case 1:
1179
+ var value = /** @type {string} */ (reader.readString());
1180
+ msg.setClient(value);
1181
+ break;
1182
+ case 2:
1183
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1184
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1185
+ msg.setNextVerificationDate(value);
1186
+ break;
1187
+ default:
1188
+ reader.skipField();
1189
+ break;
1190
+ }
1191
+ }
1192
+ return msg;
1193
+ };
1194
+
1195
+
1196
+ /**
1197
+ * Serializes the message to binary data (in protobuf wire format).
1198
+ * @return {!Uint8Array}
1199
+ */
1200
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.prototype.serializeBinary = function() {
1201
+ var writer = new jspb.BinaryWriter();
1202
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.serializeBinaryToWriter(this, writer);
1203
+ return writer.getResultBuffer();
1204
+ };
1205
+
1206
+
1207
+ /**
1208
+ * Serializes the given message to binary data (in protobuf wire
1209
+ * format), writing to the given BinaryWriter.
1210
+ * @param {!proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest} message
1211
+ * @param {!jspb.BinaryWriter} writer
1212
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1213
+ */
1214
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.serializeBinaryToWriter = function(message, writer) {
1215
+ var f = undefined;
1216
+ f = message.getClient();
1217
+ if (f.length > 0) {
1218
+ writer.writeString(
1219
+ 1,
1220
+ f
1221
+ );
1222
+ }
1223
+ f = message.getNextVerificationDate();
1224
+ if (f != null) {
1225
+ writer.writeMessage(
1226
+ 2,
1227
+ f,
1228
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1229
+ );
1230
+ }
1231
+ };
1232
+
1233
+
1234
+ /**
1235
+ * optional string client = 1;
1236
+ * @return {string}
1237
+ */
1238
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.prototype.getClient = function() {
1239
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1240
+ };
1241
+
1242
+
1243
+ /**
1244
+ * @param {string} value
1245
+ * @return {!proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest} returns this
1246
+ */
1247
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.prototype.setClient = function(value) {
1248
+ return jspb.Message.setProto3StringField(this, 1, value);
1249
+ };
1250
+
1251
+
1252
+ /**
1253
+ * optional google.protobuf.Timestamp next_verification_date = 2;
1254
+ * @return {?proto.google.protobuf.Timestamp}
1255
+ */
1256
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.prototype.getNextVerificationDate = function() {
1257
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1258
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
1259
+ };
1260
+
1261
+
1262
+ /**
1263
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1264
+ * @return {!proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest} returns this
1265
+ */
1266
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.prototype.setNextVerificationDate = function(value) {
1267
+ return jspb.Message.setWrapperField(this, 2, value);
1268
+ };
1269
+
1270
+
1271
+ /**
1272
+ * Clears the message field making it undefined.
1273
+ * @return {!proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest} returns this
1274
+ */
1275
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.prototype.clearNextVerificationDate = function() {
1276
+ return this.setNextVerificationDate(undefined);
1277
+ };
1278
+
1279
+
1280
+ /**
1281
+ * Returns whether this field is set.
1282
+ * @return {boolean}
1283
+ */
1284
+ proto.meshtrade.compliance.client.v1.MarkClientVerifiedRequest.prototype.hasNextVerificationDate = function() {
1285
+ return jspb.Message.getField(this, 2) != null;
1286
+ };
1287
+
1288
+
1289
+
1290
+
1291
+
554
1292
  if (jspb.Message.GENERATE_TO_OBJECT) {
555
1293
  /**
556
1294
  * Creates an object representation of this proto.