@aldiokta/protocgen 1.1.26 → 1.1.28

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 (31) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +55 -0
  3. package/prisca/v1/bidding/bidding_pb.js +1042 -63
  4. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +33 -0
  5. package/prisca/v1/core/access_manager/access_manager_pb.js +385 -0
  6. package/prisca/v1/core/auth/auth_grpc_pb.js +103 -3
  7. package/prisca/v1/core/auth/auth_pb.js +2519 -1181
  8. package/prisca/v1/core/file_upload/file_upload_pb.js +93 -3
  9. package/prisca/v1/core/item_transaction/item_transaction_pb.js +183 -33
  10. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +438 -46
  11. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +31 -1
  12. package/prisca/v1/core/location/location_pb.js +446 -57
  13. package/prisca/v1/core/messaging/notification_grpc_pb.js +188 -0
  14. package/prisca/v1/core/messaging/notification_pb.js +2780 -0
  15. package/prisca/v1/core/price_condition/price_condition_pb.js +122 -2
  16. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +234 -168
  17. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +1987 -1775
  18. package/prisca/v1/delivery_order/delivery_order_pb.js +130 -70
  19. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +228 -1
  20. package/prisca/v1/good_receipt/good_receipt_pb.js +4779 -0
  21. package/prisca/v1/invoice/invoice_grpc_pb.js +174 -0
  22. package/prisca/v1/invoice/invoice_pb.js +4398 -0
  23. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +11 -0
  24. package/prisca/v1/purchase_order/purchase_order_pb.js +142 -22
  25. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +105 -75
  26. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +55 -177
  27. package/prisca/v1/quotation/quotation_pb.js +236 -26
  28. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
  29. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +413 -28
  30. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +55 -0
  31. package/prisca/v1/vendor_domain/vendor_domain_pb.js +1076 -317
@@ -44,10 +44,13 @@ goog.exportSymbol('proto.GetVendorDetailResponse', null, global);
44
44
  goog.exportSymbol('proto.GetVendorItemDetailPreload', null, global);
45
45
  goog.exportSymbol('proto.GetVendorItemPreload', null, global);
46
46
  goog.exportSymbol('proto.GetVendorProfileRequest', null, global);
47
+ goog.exportSymbol('proto.RegisterVendorRequest', null, global);
48
+ goog.exportSymbol('proto.RegisterVendorResponse', null, global);
47
49
  goog.exportSymbol('proto.Relationship', null, global);
48
50
  goog.exportSymbol('proto.TaxInformation', null, global);
49
51
  goog.exportSymbol('proto.UpdateVendorRequest', null, global);
50
52
  goog.exportSymbol('proto.UpdateVendorResponse', null, global);
53
+ goog.exportSymbol('proto.UpdateVendorStatusRequest', null, global);
51
54
  goog.exportSymbol('proto.Vendor', null, global);
52
55
  /**
53
56
  * Generated by JsPbCodeGenerator.
@@ -238,6 +241,27 @@ if (goog.DEBUG && !COMPILED) {
238
241
  */
239
242
  proto.CreateVendorRequest.displayName = 'proto.CreateVendorRequest';
240
243
  }
244
+ /**
245
+ * Generated by JsPbCodeGenerator.
246
+ * @param {Array=} opt_data Optional initial data array, typically from a
247
+ * server response, or constructed directly in Javascript. The array is used
248
+ * in place and becomes part of the constructed object. It is not cloned.
249
+ * If no data is provided, the constructed object will be empty, but still
250
+ * valid.
251
+ * @extends {jspb.Message}
252
+ * @constructor
253
+ */
254
+ proto.UpdateVendorStatusRequest = function(opt_data) {
255
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
256
+ };
257
+ goog.inherits(proto.UpdateVendorStatusRequest, jspb.Message);
258
+ if (goog.DEBUG && !COMPILED) {
259
+ /**
260
+ * @public
261
+ * @override
262
+ */
263
+ proto.UpdateVendorStatusRequest.displayName = 'proto.UpdateVendorStatusRequest';
264
+ }
241
265
  /**
242
266
  * Generated by JsPbCodeGenerator.
243
267
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -511,13 +535,55 @@ if (goog.DEBUG && !COMPILED) {
511
535
  */
512
536
  proto.GetVendorItemDetailPreload.displayName = 'proto.GetVendorItemDetailPreload';
513
537
  }
538
+ /**
539
+ * Generated by JsPbCodeGenerator.
540
+ * @param {Array=} opt_data Optional initial data array, typically from a
541
+ * server response, or constructed directly in Javascript. The array is used
542
+ * in place and becomes part of the constructed object. It is not cloned.
543
+ * If no data is provided, the constructed object will be empty, but still
544
+ * valid.
545
+ * @extends {jspb.Message}
546
+ * @constructor
547
+ */
548
+ proto.RegisterVendorRequest = function(opt_data) {
549
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
550
+ };
551
+ goog.inherits(proto.RegisterVendorRequest, jspb.Message);
552
+ if (goog.DEBUG && !COMPILED) {
553
+ /**
554
+ * @public
555
+ * @override
556
+ */
557
+ proto.RegisterVendorRequest.displayName = 'proto.RegisterVendorRequest';
558
+ }
559
+ /**
560
+ * Generated by JsPbCodeGenerator.
561
+ * @param {Array=} opt_data Optional initial data array, typically from a
562
+ * server response, or constructed directly in Javascript. The array is used
563
+ * in place and becomes part of the constructed object. It is not cloned.
564
+ * If no data is provided, the constructed object will be empty, but still
565
+ * valid.
566
+ * @extends {jspb.Message}
567
+ * @constructor
568
+ */
569
+ proto.RegisterVendorResponse = function(opt_data) {
570
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
571
+ };
572
+ goog.inherits(proto.RegisterVendorResponse, jspb.Message);
573
+ if (goog.DEBUG && !COMPILED) {
574
+ /**
575
+ * @public
576
+ * @override
577
+ */
578
+ proto.RegisterVendorResponse.displayName = 'proto.RegisterVendorResponse';
579
+ }
514
580
 
515
581
  /**
516
582
  * List of repeated fields within this message type.
517
583
  * @private {!Array<number>}
518
584
  * @const
519
585
  */
520
- proto.Vendor.repeatedFields_ = [24,25,26,27,28,30];
586
+ proto.Vendor.repeatedFields_ = [26,27,28,29,30,32];
521
587
 
522
588
 
523
589
 
@@ -564,15 +630,17 @@ createdAt: jspb.Message.getFieldWithDefault(msg, 11, ""),
564
630
  updatedAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
565
631
  street: jspb.Message.getFieldWithDefault(msg, 13, ""),
566
632
  houseNumber: jspb.Message.getFieldWithDefault(msg, 14, ""),
567
- city: jspb.Message.getFieldWithDefault(msg, 15, ""),
568
- postalCode: jspb.Message.getFieldWithDefault(msg, 16, ""),
569
- country: jspb.Message.getFieldWithDefault(msg, 17, ""),
570
- region: jspb.Message.getFieldWithDefault(msg, 18, ""),
571
- language: jspb.Message.getFieldWithDefault(msg, 19, ""),
572
- industry: jspb.Message.getFieldWithDefault(msg, 20, ""),
573
- businessPartnerRole: jspb.Message.getFieldWithDefault(msg, 21, ""),
574
- validFrom: jspb.Message.getFieldWithDefault(msg, 22, ""),
575
- validTo: jspb.Message.getFieldWithDefault(msg, 23, ""),
633
+ postalCode: jspb.Message.getFieldWithDefault(msg, 15, ""),
634
+ village: jspb.Message.getFieldWithDefault(msg, 16, ""),
635
+ district: jspb.Message.getFieldWithDefault(msg, 17, ""),
636
+ city: jspb.Message.getFieldWithDefault(msg, 18, ""),
637
+ province: jspb.Message.getFieldWithDefault(msg, 19, ""),
638
+ country: jspb.Message.getFieldWithDefault(msg, 20, ""),
639
+ language: jspb.Message.getFieldWithDefault(msg, 21, ""),
640
+ industry: jspb.Message.getFieldWithDefault(msg, 22, ""),
641
+ businessPartnerRole: jspb.Message.getFieldWithDefault(msg, 23, ""),
642
+ validFrom: jspb.Message.getFieldWithDefault(msg, 24, ""),
643
+ validTo: jspb.Message.getFieldWithDefault(msg, 25, ""),
576
644
  bankAccountsList: jspb.Message.toObjectList(msg.getBankAccountsList(),
577
645
  proto.BankAccount.toObject, includeInstance),
578
646
  contactsList: jspb.Message.toObjectList(msg.getContactsList(),
@@ -583,11 +651,12 @@ relationshipsList: jspb.Message.toObjectList(msg.getRelationshipsList(),
583
651
  proto.Relationship.toObject, includeInstance),
584
652
  taxInformationList: jspb.Message.toObjectList(msg.getTaxInformationList(),
585
653
  proto.TaxInformation.toObject, includeInstance),
586
- fileIds: jspb.Message.getFieldWithDefault(msg, 29, ""),
654
+ fileIds: jspb.Message.getFieldWithDefault(msg, 31, ""),
587
655
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
588
656
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
589
- vendorDescription: jspb.Message.getFieldWithDefault(msg, 31, ""),
590
- isSendToVendor: jspb.Message.getBooleanFieldWithDefault(msg, 32, false)
657
+ vendorDescription: jspb.Message.getFieldWithDefault(msg, 33, ""),
658
+ isSendToVendor: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
659
+ lineOfApprovalReferencesId: jspb.Message.getFieldWithDefault(msg, 35, "")
591
660
  };
592
661
 
593
662
  if (includeInstance) {
@@ -682,82 +751,94 @@ proto.Vendor.deserializeBinaryFromReader = function(msg, reader) {
682
751
  break;
683
752
  case 15:
684
753
  var value = /** @type {string} */ (reader.readString());
685
- msg.setCity(value);
754
+ msg.setPostalCode(value);
686
755
  break;
687
756
  case 16:
688
757
  var value = /** @type {string} */ (reader.readString());
689
- msg.setPostalCode(value);
758
+ msg.setVillage(value);
690
759
  break;
691
760
  case 17:
692
761
  var value = /** @type {string} */ (reader.readString());
693
- msg.setCountry(value);
762
+ msg.setDistrict(value);
694
763
  break;
695
764
  case 18:
696
765
  var value = /** @type {string} */ (reader.readString());
697
- msg.setRegion(value);
766
+ msg.setCity(value);
698
767
  break;
699
768
  case 19:
700
769
  var value = /** @type {string} */ (reader.readString());
701
- msg.setLanguage(value);
770
+ msg.setProvince(value);
702
771
  break;
703
772
  case 20:
704
773
  var value = /** @type {string} */ (reader.readString());
705
- msg.setIndustry(value);
774
+ msg.setCountry(value);
706
775
  break;
707
776
  case 21:
708
777
  var value = /** @type {string} */ (reader.readString());
709
- msg.setBusinessPartnerRole(value);
778
+ msg.setLanguage(value);
710
779
  break;
711
780
  case 22:
712
781
  var value = /** @type {string} */ (reader.readString());
713
- msg.setValidFrom(value);
782
+ msg.setIndustry(value);
714
783
  break;
715
784
  case 23:
716
785
  var value = /** @type {string} */ (reader.readString());
717
- msg.setValidTo(value);
786
+ msg.setBusinessPartnerRole(value);
718
787
  break;
719
788
  case 24:
789
+ var value = /** @type {string} */ (reader.readString());
790
+ msg.setValidFrom(value);
791
+ break;
792
+ case 25:
793
+ var value = /** @type {string} */ (reader.readString());
794
+ msg.setValidTo(value);
795
+ break;
796
+ case 26:
720
797
  var value = new proto.BankAccount;
721
798
  reader.readMessage(value,proto.BankAccount.deserializeBinaryFromReader);
722
799
  msg.addBankAccounts(value);
723
800
  break;
724
- case 25:
801
+ case 27:
725
802
  var value = new proto.Contact;
726
803
  reader.readMessage(value,proto.Contact.deserializeBinaryFromReader);
727
804
  msg.addContacts(value);
728
805
  break;
729
- case 26:
806
+ case 28:
730
807
  var value = new proto.Communication;
731
808
  reader.readMessage(value,proto.Communication.deserializeBinaryFromReader);
732
809
  msg.addCommunications(value);
733
810
  break;
734
- case 27:
811
+ case 29:
735
812
  var value = new proto.Relationship;
736
813
  reader.readMessage(value,proto.Relationship.deserializeBinaryFromReader);
737
814
  msg.addRelationships(value);
738
815
  break;
739
- case 28:
816
+ case 30:
740
817
  var value = new proto.TaxInformation;
741
818
  reader.readMessage(value,proto.TaxInformation.deserializeBinaryFromReader);
742
819
  msg.addTaxInformation(value);
743
820
  break;
744
- case 29:
821
+ case 31:
745
822
  var value = /** @type {string} */ (reader.readString());
746
823
  msg.setFileIds(value);
747
824
  break;
748
- case 30:
825
+ case 32:
749
826
  var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
750
827
  reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
751
828
  msg.addFiles(value);
752
829
  break;
753
- case 31:
830
+ case 33:
754
831
  var value = /** @type {string} */ (reader.readString());
755
832
  msg.setVendorDescription(value);
756
833
  break;
757
- case 32:
834
+ case 34:
758
835
  var value = /** @type {boolean} */ (reader.readBool());
759
836
  msg.setIsSendToVendor(value);
760
837
  break;
838
+ case 35:
839
+ var value = /** @type {string} */ (reader.readString());
840
+ msg.setLineOfApprovalReferencesId(value);
841
+ break;
761
842
  default:
762
843
  reader.skipField();
763
844
  break;
@@ -885,73 +966,87 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
885
966
  f
886
967
  );
887
968
  }
888
- f = message.getCity();
969
+ f = message.getPostalCode();
889
970
  if (f.length > 0) {
890
971
  writer.writeString(
891
972
  15,
892
973
  f
893
974
  );
894
975
  }
895
- f = message.getPostalCode();
976
+ f = message.getVillage();
896
977
  if (f.length > 0) {
897
978
  writer.writeString(
898
979
  16,
899
980
  f
900
981
  );
901
982
  }
902
- f = message.getCountry();
983
+ f = message.getDistrict();
903
984
  if (f.length > 0) {
904
985
  writer.writeString(
905
986
  17,
906
987
  f
907
988
  );
908
989
  }
909
- f = message.getRegion();
990
+ f = message.getCity();
910
991
  if (f.length > 0) {
911
992
  writer.writeString(
912
993
  18,
913
994
  f
914
995
  );
915
996
  }
916
- f = message.getLanguage();
997
+ f = message.getProvince();
917
998
  if (f.length > 0) {
918
999
  writer.writeString(
919
1000
  19,
920
1001
  f
921
1002
  );
922
1003
  }
923
- f = message.getIndustry();
1004
+ f = message.getCountry();
924
1005
  if (f.length > 0) {
925
1006
  writer.writeString(
926
1007
  20,
927
1008
  f
928
1009
  );
929
1010
  }
930
- f = message.getBusinessPartnerRole();
1011
+ f = message.getLanguage();
931
1012
  if (f.length > 0) {
932
1013
  writer.writeString(
933
1014
  21,
934
1015
  f
935
1016
  );
936
1017
  }
937
- f = message.getValidFrom();
1018
+ f = message.getIndustry();
938
1019
  if (f.length > 0) {
939
1020
  writer.writeString(
940
1021
  22,
941
1022
  f
942
1023
  );
943
1024
  }
944
- f = message.getValidTo();
1025
+ f = message.getBusinessPartnerRole();
945
1026
  if (f.length > 0) {
946
1027
  writer.writeString(
947
1028
  23,
948
1029
  f
949
1030
  );
950
1031
  }
1032
+ f = message.getValidFrom();
1033
+ if (f.length > 0) {
1034
+ writer.writeString(
1035
+ 24,
1036
+ f
1037
+ );
1038
+ }
1039
+ f = message.getValidTo();
1040
+ if (f.length > 0) {
1041
+ writer.writeString(
1042
+ 25,
1043
+ f
1044
+ );
1045
+ }
951
1046
  f = message.getBankAccountsList();
952
1047
  if (f.length > 0) {
953
1048
  writer.writeRepeatedMessage(
954
- 24,
1049
+ 26,
955
1050
  f,
956
1051
  proto.BankAccount.serializeBinaryToWriter
957
1052
  );
@@ -959,7 +1054,7 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
959
1054
  f = message.getContactsList();
960
1055
  if (f.length > 0) {
961
1056
  writer.writeRepeatedMessage(
962
- 25,
1057
+ 27,
963
1058
  f,
964
1059
  proto.Contact.serializeBinaryToWriter
965
1060
  );
@@ -967,7 +1062,7 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
967
1062
  f = message.getCommunicationsList();
968
1063
  if (f.length > 0) {
969
1064
  writer.writeRepeatedMessage(
970
- 26,
1065
+ 28,
971
1066
  f,
972
1067
  proto.Communication.serializeBinaryToWriter
973
1068
  );
@@ -975,7 +1070,7 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
975
1070
  f = message.getRelationshipsList();
976
1071
  if (f.length > 0) {
977
1072
  writer.writeRepeatedMessage(
978
- 27,
1073
+ 29,
979
1074
  f,
980
1075
  proto.Relationship.serializeBinaryToWriter
981
1076
  );
@@ -983,7 +1078,7 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
983
1078
  f = message.getTaxInformationList();
984
1079
  if (f.length > 0) {
985
1080
  writer.writeRepeatedMessage(
986
- 28,
1081
+ 30,
987
1082
  f,
988
1083
  proto.TaxInformation.serializeBinaryToWriter
989
1084
  );
@@ -991,14 +1086,14 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
991
1086
  f = message.getFileIds();
992
1087
  if (f.length > 0) {
993
1088
  writer.writeString(
994
- 29,
1089
+ 31,
995
1090
  f
996
1091
  );
997
1092
  }
998
1093
  f = message.getFilesList();
999
1094
  if (f.length > 0) {
1000
1095
  writer.writeRepeatedMessage(
1001
- 30,
1096
+ 32,
1002
1097
  f,
1003
1098
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
1004
1099
  );
@@ -1006,14 +1101,21 @@ proto.Vendor.serializeBinaryToWriter = function(message, writer) {
1006
1101
  f = message.getVendorDescription();
1007
1102
  if (f.length > 0) {
1008
1103
  writer.writeString(
1009
- 31,
1104
+ 33,
1010
1105
  f
1011
1106
  );
1012
1107
  }
1013
1108
  f = message.getIsSendToVendor();
1014
1109
  if (f) {
1015
1110
  writer.writeBool(
1016
- 32,
1111
+ 34,
1112
+ f
1113
+ );
1114
+ }
1115
+ f = message.getLineOfApprovalReferencesId();
1116
+ if (f.length > 0) {
1117
+ writer.writeString(
1118
+ 35,
1017
1119
  f
1018
1120
  );
1019
1121
  }
@@ -1273,10 +1375,10 @@ proto.Vendor.prototype.setHouseNumber = function(value) {
1273
1375
 
1274
1376
 
1275
1377
  /**
1276
- * optional string city = 15;
1378
+ * optional string postal_code = 15;
1277
1379
  * @return {string}
1278
1380
  */
1279
- proto.Vendor.prototype.getCity = function() {
1381
+ proto.Vendor.prototype.getPostalCode = function() {
1280
1382
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
1281
1383
  };
1282
1384
 
@@ -1285,16 +1387,16 @@ proto.Vendor.prototype.getCity = function() {
1285
1387
  * @param {string} value
1286
1388
  * @return {!proto.Vendor} returns this
1287
1389
  */
1288
- proto.Vendor.prototype.setCity = function(value) {
1390
+ proto.Vendor.prototype.setPostalCode = function(value) {
1289
1391
  return jspb.Message.setProto3StringField(this, 15, value);
1290
1392
  };
1291
1393
 
1292
1394
 
1293
1395
  /**
1294
- * optional string postal_code = 16;
1396
+ * optional string village = 16;
1295
1397
  * @return {string}
1296
1398
  */
1297
- proto.Vendor.prototype.getPostalCode = function() {
1399
+ proto.Vendor.prototype.getVillage = function() {
1298
1400
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
1299
1401
  };
1300
1402
 
@@ -1303,16 +1405,16 @@ proto.Vendor.prototype.getPostalCode = function() {
1303
1405
  * @param {string} value
1304
1406
  * @return {!proto.Vendor} returns this
1305
1407
  */
1306
- proto.Vendor.prototype.setPostalCode = function(value) {
1408
+ proto.Vendor.prototype.setVillage = function(value) {
1307
1409
  return jspb.Message.setProto3StringField(this, 16, value);
1308
1410
  };
1309
1411
 
1310
1412
 
1311
1413
  /**
1312
- * optional string country = 17;
1414
+ * optional string district = 17;
1313
1415
  * @return {string}
1314
1416
  */
1315
- proto.Vendor.prototype.getCountry = function() {
1417
+ proto.Vendor.prototype.getDistrict = function() {
1316
1418
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
1317
1419
  };
1318
1420
 
@@ -1321,16 +1423,16 @@ proto.Vendor.prototype.getCountry = function() {
1321
1423
  * @param {string} value
1322
1424
  * @return {!proto.Vendor} returns this
1323
1425
  */
1324
- proto.Vendor.prototype.setCountry = function(value) {
1426
+ proto.Vendor.prototype.setDistrict = function(value) {
1325
1427
  return jspb.Message.setProto3StringField(this, 17, value);
1326
1428
  };
1327
1429
 
1328
1430
 
1329
1431
  /**
1330
- * optional string region = 18;
1432
+ * optional string city = 18;
1331
1433
  * @return {string}
1332
1434
  */
1333
- proto.Vendor.prototype.getRegion = function() {
1435
+ proto.Vendor.prototype.getCity = function() {
1334
1436
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
1335
1437
  };
1336
1438
 
@@ -1339,16 +1441,16 @@ proto.Vendor.prototype.getRegion = function() {
1339
1441
  * @param {string} value
1340
1442
  * @return {!proto.Vendor} returns this
1341
1443
  */
1342
- proto.Vendor.prototype.setRegion = function(value) {
1444
+ proto.Vendor.prototype.setCity = function(value) {
1343
1445
  return jspb.Message.setProto3StringField(this, 18, value);
1344
1446
  };
1345
1447
 
1346
1448
 
1347
1449
  /**
1348
- * optional string language = 19;
1450
+ * optional string province = 19;
1349
1451
  * @return {string}
1350
1452
  */
1351
- proto.Vendor.prototype.getLanguage = function() {
1453
+ proto.Vendor.prototype.getProvince = function() {
1352
1454
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
1353
1455
  };
1354
1456
 
@@ -1357,16 +1459,16 @@ proto.Vendor.prototype.getLanguage = function() {
1357
1459
  * @param {string} value
1358
1460
  * @return {!proto.Vendor} returns this
1359
1461
  */
1360
- proto.Vendor.prototype.setLanguage = function(value) {
1462
+ proto.Vendor.prototype.setProvince = function(value) {
1361
1463
  return jspb.Message.setProto3StringField(this, 19, value);
1362
1464
  };
1363
1465
 
1364
1466
 
1365
1467
  /**
1366
- * optional string industry = 20;
1468
+ * optional string country = 20;
1367
1469
  * @return {string}
1368
1470
  */
1369
- proto.Vendor.prototype.getIndustry = function() {
1471
+ proto.Vendor.prototype.getCountry = function() {
1370
1472
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
1371
1473
  };
1372
1474
 
@@ -1375,16 +1477,16 @@ proto.Vendor.prototype.getIndustry = function() {
1375
1477
  * @param {string} value
1376
1478
  * @return {!proto.Vendor} returns this
1377
1479
  */
1378
- proto.Vendor.prototype.setIndustry = function(value) {
1480
+ proto.Vendor.prototype.setCountry = function(value) {
1379
1481
  return jspb.Message.setProto3StringField(this, 20, value);
1380
1482
  };
1381
1483
 
1382
1484
 
1383
1485
  /**
1384
- * optional string business_partner_role = 21;
1486
+ * optional string language = 21;
1385
1487
  * @return {string}
1386
1488
  */
1387
- proto.Vendor.prototype.getBusinessPartnerRole = function() {
1489
+ proto.Vendor.prototype.getLanguage = function() {
1388
1490
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
1389
1491
  };
1390
1492
 
@@ -1393,16 +1495,16 @@ proto.Vendor.prototype.getBusinessPartnerRole = function() {
1393
1495
  * @param {string} value
1394
1496
  * @return {!proto.Vendor} returns this
1395
1497
  */
1396
- proto.Vendor.prototype.setBusinessPartnerRole = function(value) {
1498
+ proto.Vendor.prototype.setLanguage = function(value) {
1397
1499
  return jspb.Message.setProto3StringField(this, 21, value);
1398
1500
  };
1399
1501
 
1400
1502
 
1401
1503
  /**
1402
- * optional string valid_from = 22;
1504
+ * optional string industry = 22;
1403
1505
  * @return {string}
1404
1506
  */
1405
- proto.Vendor.prototype.getValidFrom = function() {
1507
+ proto.Vendor.prototype.getIndustry = function() {
1406
1508
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
1407
1509
  };
1408
1510
 
@@ -1411,16 +1513,16 @@ proto.Vendor.prototype.getValidFrom = function() {
1411
1513
  * @param {string} value
1412
1514
  * @return {!proto.Vendor} returns this
1413
1515
  */
1414
- proto.Vendor.prototype.setValidFrom = function(value) {
1516
+ proto.Vendor.prototype.setIndustry = function(value) {
1415
1517
  return jspb.Message.setProto3StringField(this, 22, value);
1416
1518
  };
1417
1519
 
1418
1520
 
1419
1521
  /**
1420
- * optional string valid_to = 23;
1522
+ * optional string business_partner_role = 23;
1421
1523
  * @return {string}
1422
1524
  */
1423
- proto.Vendor.prototype.getValidTo = function() {
1525
+ proto.Vendor.prototype.getBusinessPartnerRole = function() {
1424
1526
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
1425
1527
  };
1426
1528
 
@@ -1429,18 +1531,54 @@ proto.Vendor.prototype.getValidTo = function() {
1429
1531
  * @param {string} value
1430
1532
  * @return {!proto.Vendor} returns this
1431
1533
  */
1432
- proto.Vendor.prototype.setValidTo = function(value) {
1534
+ proto.Vendor.prototype.setBusinessPartnerRole = function(value) {
1433
1535
  return jspb.Message.setProto3StringField(this, 23, value);
1434
1536
  };
1435
1537
 
1436
1538
 
1437
1539
  /**
1438
- * repeated BankAccount bank_accounts = 24;
1540
+ * optional string valid_from = 24;
1541
+ * @return {string}
1542
+ */
1543
+ proto.Vendor.prototype.getValidFrom = function() {
1544
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
1545
+ };
1546
+
1547
+
1548
+ /**
1549
+ * @param {string} value
1550
+ * @return {!proto.Vendor} returns this
1551
+ */
1552
+ proto.Vendor.prototype.setValidFrom = function(value) {
1553
+ return jspb.Message.setProto3StringField(this, 24, value);
1554
+ };
1555
+
1556
+
1557
+ /**
1558
+ * optional string valid_to = 25;
1559
+ * @return {string}
1560
+ */
1561
+ proto.Vendor.prototype.getValidTo = function() {
1562
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
1563
+ };
1564
+
1565
+
1566
+ /**
1567
+ * @param {string} value
1568
+ * @return {!proto.Vendor} returns this
1569
+ */
1570
+ proto.Vendor.prototype.setValidTo = function(value) {
1571
+ return jspb.Message.setProto3StringField(this, 25, value);
1572
+ };
1573
+
1574
+
1575
+ /**
1576
+ * repeated BankAccount bank_accounts = 26;
1439
1577
  * @return {!Array<!proto.BankAccount>}
1440
1578
  */
1441
1579
  proto.Vendor.prototype.getBankAccountsList = function() {
1442
1580
  return /** @type{!Array<!proto.BankAccount>} */ (
1443
- jspb.Message.getRepeatedWrapperField(this, proto.BankAccount, 24));
1581
+ jspb.Message.getRepeatedWrapperField(this, proto.BankAccount, 26));
1444
1582
  };
1445
1583
 
1446
1584
 
@@ -1449,7 +1587,7 @@ proto.Vendor.prototype.getBankAccountsList = function() {
1449
1587
  * @return {!proto.Vendor} returns this
1450
1588
  */
1451
1589
  proto.Vendor.prototype.setBankAccountsList = function(value) {
1452
- return jspb.Message.setRepeatedWrapperField(this, 24, value);
1590
+ return jspb.Message.setRepeatedWrapperField(this, 26, value);
1453
1591
  };
1454
1592
 
1455
1593
 
@@ -1459,7 +1597,7 @@ proto.Vendor.prototype.setBankAccountsList = function(value) {
1459
1597
  * @return {!proto.BankAccount}
1460
1598
  */
1461
1599
  proto.Vendor.prototype.addBankAccounts = function(opt_value, opt_index) {
1462
- return jspb.Message.addToRepeatedWrapperField(this, 24, opt_value, proto.BankAccount, opt_index);
1600
+ return jspb.Message.addToRepeatedWrapperField(this, 26, opt_value, proto.BankAccount, opt_index);
1463
1601
  };
1464
1602
 
1465
1603
 
@@ -1473,12 +1611,12 @@ proto.Vendor.prototype.clearBankAccountsList = function() {
1473
1611
 
1474
1612
 
1475
1613
  /**
1476
- * repeated Contact contacts = 25;
1614
+ * repeated Contact contacts = 27;
1477
1615
  * @return {!Array<!proto.Contact>}
1478
1616
  */
1479
1617
  proto.Vendor.prototype.getContactsList = function() {
1480
1618
  return /** @type{!Array<!proto.Contact>} */ (
1481
- jspb.Message.getRepeatedWrapperField(this, proto.Contact, 25));
1619
+ jspb.Message.getRepeatedWrapperField(this, proto.Contact, 27));
1482
1620
  };
1483
1621
 
1484
1622
 
@@ -1487,7 +1625,7 @@ proto.Vendor.prototype.getContactsList = function() {
1487
1625
  * @return {!proto.Vendor} returns this
1488
1626
  */
1489
1627
  proto.Vendor.prototype.setContactsList = function(value) {
1490
- return jspb.Message.setRepeatedWrapperField(this, 25, value);
1628
+ return jspb.Message.setRepeatedWrapperField(this, 27, value);
1491
1629
  };
1492
1630
 
1493
1631
 
@@ -1497,7 +1635,7 @@ proto.Vendor.prototype.setContactsList = function(value) {
1497
1635
  * @return {!proto.Contact}
1498
1636
  */
1499
1637
  proto.Vendor.prototype.addContacts = function(opt_value, opt_index) {
1500
- return jspb.Message.addToRepeatedWrapperField(this, 25, opt_value, proto.Contact, opt_index);
1638
+ return jspb.Message.addToRepeatedWrapperField(this, 27, opt_value, proto.Contact, opt_index);
1501
1639
  };
1502
1640
 
1503
1641
 
@@ -1511,12 +1649,12 @@ proto.Vendor.prototype.clearContactsList = function() {
1511
1649
 
1512
1650
 
1513
1651
  /**
1514
- * repeated Communication communications = 26;
1652
+ * repeated Communication communications = 28;
1515
1653
  * @return {!Array<!proto.Communication>}
1516
1654
  */
1517
1655
  proto.Vendor.prototype.getCommunicationsList = function() {
1518
1656
  return /** @type{!Array<!proto.Communication>} */ (
1519
- jspb.Message.getRepeatedWrapperField(this, proto.Communication, 26));
1657
+ jspb.Message.getRepeatedWrapperField(this, proto.Communication, 28));
1520
1658
  };
1521
1659
 
1522
1660
 
@@ -1525,7 +1663,7 @@ proto.Vendor.prototype.getCommunicationsList = function() {
1525
1663
  * @return {!proto.Vendor} returns this
1526
1664
  */
1527
1665
  proto.Vendor.prototype.setCommunicationsList = function(value) {
1528
- return jspb.Message.setRepeatedWrapperField(this, 26, value);
1666
+ return jspb.Message.setRepeatedWrapperField(this, 28, value);
1529
1667
  };
1530
1668
 
1531
1669
 
@@ -1535,7 +1673,7 @@ proto.Vendor.prototype.setCommunicationsList = function(value) {
1535
1673
  * @return {!proto.Communication}
1536
1674
  */
1537
1675
  proto.Vendor.prototype.addCommunications = function(opt_value, opt_index) {
1538
- return jspb.Message.addToRepeatedWrapperField(this, 26, opt_value, proto.Communication, opt_index);
1676
+ return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.Communication, opt_index);
1539
1677
  };
1540
1678
 
1541
1679
 
@@ -1549,12 +1687,12 @@ proto.Vendor.prototype.clearCommunicationsList = function() {
1549
1687
 
1550
1688
 
1551
1689
  /**
1552
- * repeated Relationship relationships = 27;
1690
+ * repeated Relationship relationships = 29;
1553
1691
  * @return {!Array<!proto.Relationship>}
1554
1692
  */
1555
1693
  proto.Vendor.prototype.getRelationshipsList = function() {
1556
1694
  return /** @type{!Array<!proto.Relationship>} */ (
1557
- jspb.Message.getRepeatedWrapperField(this, proto.Relationship, 27));
1695
+ jspb.Message.getRepeatedWrapperField(this, proto.Relationship, 29));
1558
1696
  };
1559
1697
 
1560
1698
 
@@ -1563,7 +1701,7 @@ proto.Vendor.prototype.getRelationshipsList = function() {
1563
1701
  * @return {!proto.Vendor} returns this
1564
1702
  */
1565
1703
  proto.Vendor.prototype.setRelationshipsList = function(value) {
1566
- return jspb.Message.setRepeatedWrapperField(this, 27, value);
1704
+ return jspb.Message.setRepeatedWrapperField(this, 29, value);
1567
1705
  };
1568
1706
 
1569
1707
 
@@ -1573,7 +1711,7 @@ proto.Vendor.prototype.setRelationshipsList = function(value) {
1573
1711
  * @return {!proto.Relationship}
1574
1712
  */
1575
1713
  proto.Vendor.prototype.addRelationships = function(opt_value, opt_index) {
1576
- return jspb.Message.addToRepeatedWrapperField(this, 27, opt_value, proto.Relationship, opt_index);
1714
+ return jspb.Message.addToRepeatedWrapperField(this, 29, opt_value, proto.Relationship, opt_index);
1577
1715
  };
1578
1716
 
1579
1717
 
@@ -1587,12 +1725,12 @@ proto.Vendor.prototype.clearRelationshipsList = function() {
1587
1725
 
1588
1726
 
1589
1727
  /**
1590
- * repeated TaxInformation tax_information = 28;
1728
+ * repeated TaxInformation tax_information = 30;
1591
1729
  * @return {!Array<!proto.TaxInformation>}
1592
1730
  */
1593
1731
  proto.Vendor.prototype.getTaxInformationList = function() {
1594
1732
  return /** @type{!Array<!proto.TaxInformation>} */ (
1595
- jspb.Message.getRepeatedWrapperField(this, proto.TaxInformation, 28));
1733
+ jspb.Message.getRepeatedWrapperField(this, proto.TaxInformation, 30));
1596
1734
  };
1597
1735
 
1598
1736
 
@@ -1601,7 +1739,7 @@ proto.Vendor.prototype.getTaxInformationList = function() {
1601
1739
  * @return {!proto.Vendor} returns this
1602
1740
  */
1603
1741
  proto.Vendor.prototype.setTaxInformationList = function(value) {
1604
- return jspb.Message.setRepeatedWrapperField(this, 28, value);
1742
+ return jspb.Message.setRepeatedWrapperField(this, 30, value);
1605
1743
  };
1606
1744
 
1607
1745
 
@@ -1611,7 +1749,7 @@ proto.Vendor.prototype.setTaxInformationList = function(value) {
1611
1749
  * @return {!proto.TaxInformation}
1612
1750
  */
1613
1751
  proto.Vendor.prototype.addTaxInformation = function(opt_value, opt_index) {
1614
- return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.TaxInformation, opt_index);
1752
+ return jspb.Message.addToRepeatedWrapperField(this, 30, opt_value, proto.TaxInformation, opt_index);
1615
1753
  };
1616
1754
 
1617
1755
 
@@ -1625,11 +1763,11 @@ proto.Vendor.prototype.clearTaxInformationList = function() {
1625
1763
 
1626
1764
 
1627
1765
  /**
1628
- * optional string file_ids = 29;
1766
+ * optional string file_ids = 31;
1629
1767
  * @return {string}
1630
1768
  */
1631
1769
  proto.Vendor.prototype.getFileIds = function() {
1632
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
1770
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
1633
1771
  };
1634
1772
 
1635
1773
 
@@ -1638,17 +1776,17 @@ proto.Vendor.prototype.getFileIds = function() {
1638
1776
  * @return {!proto.Vendor} returns this
1639
1777
  */
1640
1778
  proto.Vendor.prototype.setFileIds = function(value) {
1641
- return jspb.Message.setProto3StringField(this, 29, value);
1779
+ return jspb.Message.setProto3StringField(this, 31, value);
1642
1780
  };
1643
1781
 
1644
1782
 
1645
1783
  /**
1646
- * repeated FileUploadReferencesReq files = 30;
1784
+ * repeated FileUploadReferencesReq files = 32;
1647
1785
  * @return {!Array<!proto.FileUploadReferencesReq>}
1648
1786
  */
1649
1787
  proto.Vendor.prototype.getFilesList = function() {
1650
1788
  return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
1651
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 30));
1789
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 32));
1652
1790
  };
1653
1791
 
1654
1792
 
@@ -1657,7 +1795,7 @@ proto.Vendor.prototype.getFilesList = function() {
1657
1795
  * @return {!proto.Vendor} returns this
1658
1796
  */
1659
1797
  proto.Vendor.prototype.setFilesList = function(value) {
1660
- return jspb.Message.setRepeatedWrapperField(this, 30, value);
1798
+ return jspb.Message.setRepeatedWrapperField(this, 32, value);
1661
1799
  };
1662
1800
 
1663
1801
 
@@ -1667,7 +1805,7 @@ proto.Vendor.prototype.setFilesList = function(value) {
1667
1805
  * @return {!proto.FileUploadReferencesReq}
1668
1806
  */
1669
1807
  proto.Vendor.prototype.addFiles = function(opt_value, opt_index) {
1670
- return jspb.Message.addToRepeatedWrapperField(this, 30, opt_value, proto.FileUploadReferencesReq, opt_index);
1808
+ return jspb.Message.addToRepeatedWrapperField(this, 32, opt_value, proto.FileUploadReferencesReq, opt_index);
1671
1809
  };
1672
1810
 
1673
1811
 
@@ -1681,11 +1819,11 @@ proto.Vendor.prototype.clearFilesList = function() {
1681
1819
 
1682
1820
 
1683
1821
  /**
1684
- * optional string vendor_description = 31;
1822
+ * optional string vendor_description = 33;
1685
1823
  * @return {string}
1686
1824
  */
1687
1825
  proto.Vendor.prototype.getVendorDescription = function() {
1688
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
1826
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
1689
1827
  };
1690
1828
 
1691
1829
 
@@ -1694,16 +1832,16 @@ proto.Vendor.prototype.getVendorDescription = function() {
1694
1832
  * @return {!proto.Vendor} returns this
1695
1833
  */
1696
1834
  proto.Vendor.prototype.setVendorDescription = function(value) {
1697
- return jspb.Message.setProto3StringField(this, 31, value);
1835
+ return jspb.Message.setProto3StringField(this, 33, value);
1698
1836
  };
1699
1837
 
1700
1838
 
1701
1839
  /**
1702
- * optional bool is_send_to_vendor = 32;
1840
+ * optional bool is_send_to_vendor = 34;
1703
1841
  * @return {boolean}
1704
1842
  */
1705
1843
  proto.Vendor.prototype.getIsSendToVendor = function() {
1706
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 32, false));
1844
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 34, false));
1707
1845
  };
1708
1846
 
1709
1847
 
@@ -1712,7 +1850,25 @@ proto.Vendor.prototype.getIsSendToVendor = function() {
1712
1850
  * @return {!proto.Vendor} returns this
1713
1851
  */
1714
1852
  proto.Vendor.prototype.setIsSendToVendor = function(value) {
1715
- return jspb.Message.setProto3BooleanField(this, 32, value);
1853
+ return jspb.Message.setProto3BooleanField(this, 34, value);
1854
+ };
1855
+
1856
+
1857
+ /**
1858
+ * optional string line_of_approval_references_id = 35;
1859
+ * @return {string}
1860
+ */
1861
+ proto.Vendor.prototype.getLineOfApprovalReferencesId = function() {
1862
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
1863
+ };
1864
+
1865
+
1866
+ /**
1867
+ * @param {string} value
1868
+ * @return {!proto.Vendor} returns this
1869
+ */
1870
+ proto.Vendor.prototype.setLineOfApprovalReferencesId = function(value) {
1871
+ return jspb.Message.setProto3StringField(this, 35, value);
1716
1872
  };
1717
1873
 
1718
1874
 
@@ -2892,7 +3048,7 @@ proto.Attachment.prototype.setFileUrl = function(value) {
2892
3048
  * @private {!Array<number>}
2893
3049
  * @const
2894
3050
  */
2895
- proto.BaseVendorRequest.repeatedFields_ = [19,20,21,22,23,24];
3051
+ proto.BaseVendorRequest.repeatedFields_ = [21,22,23,24,25,26];
2896
3052
 
2897
3053
 
2898
3054
 
@@ -2934,15 +3090,17 @@ organization: jspb.Message.getFieldWithDefault(msg, 6, ""),
2934
3090
  status: jspb.Message.getFieldWithDefault(msg, 7, ""),
2935
3091
  street: jspb.Message.getFieldWithDefault(msg, 8, ""),
2936
3092
  houseNumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
2937
- city: jspb.Message.getFieldWithDefault(msg, 10, ""),
2938
- postalCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
2939
- country: jspb.Message.getFieldWithDefault(msg, 12, ""),
2940
- region: jspb.Message.getFieldWithDefault(msg, 13, ""),
2941
- language: jspb.Message.getFieldWithDefault(msg, 14, ""),
2942
- industry: jspb.Message.getFieldWithDefault(msg, 15, ""),
2943
- businessPartnerRole: jspb.Message.getFieldWithDefault(msg, 16, ""),
2944
- validFrom: jspb.Message.getFieldWithDefault(msg, 17, ""),
2945
- validTo: jspb.Message.getFieldWithDefault(msg, 18, ""),
3093
+ postalCode: jspb.Message.getFieldWithDefault(msg, 10, ""),
3094
+ village: jspb.Message.getFieldWithDefault(msg, 11, ""),
3095
+ district: jspb.Message.getFieldWithDefault(msg, 12, ""),
3096
+ city: jspb.Message.getFieldWithDefault(msg, 13, ""),
3097
+ province: jspb.Message.getFieldWithDefault(msg, 14, ""),
3098
+ country: jspb.Message.getFieldWithDefault(msg, 15, ""),
3099
+ language: jspb.Message.getFieldWithDefault(msg, 16, ""),
3100
+ industry: jspb.Message.getFieldWithDefault(msg, 17, ""),
3101
+ businessPartnerRole: jspb.Message.getFieldWithDefault(msg, 18, ""),
3102
+ validFrom: jspb.Message.getFieldWithDefault(msg, 19, ""),
3103
+ validTo: jspb.Message.getFieldWithDefault(msg, 20, ""),
2946
3104
  bankAccountsList: jspb.Message.toObjectList(msg.getBankAccountsList(),
2947
3105
  proto.BankAccount.toObject, includeInstance),
2948
3106
  contactsList: jspb.Message.toObjectList(msg.getContactsList(),
@@ -2955,7 +3113,7 @@ taxInformationList: jspb.Message.toObjectList(msg.getTaxInformationList(),
2955
3113
  proto.TaxInformation.toObject, includeInstance),
2956
3114
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
2957
3115
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
2958
- vendorDescription: jspb.Message.getFieldWithDefault(msg, 25, "")
3116
+ vendorDescription: jspb.Message.getFieldWithDefault(msg, 27, "")
2959
3117
  };
2960
3118
 
2961
3119
  if (includeInstance) {
@@ -3030,71 +3188,79 @@ proto.BaseVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
3030
3188
  break;
3031
3189
  case 10:
3032
3190
  var value = /** @type {string} */ (reader.readString());
3033
- msg.setCity(value);
3191
+ msg.setPostalCode(value);
3034
3192
  break;
3035
3193
  case 11:
3036
3194
  var value = /** @type {string} */ (reader.readString());
3037
- msg.setPostalCode(value);
3195
+ msg.setVillage(value);
3038
3196
  break;
3039
3197
  case 12:
3040
3198
  var value = /** @type {string} */ (reader.readString());
3041
- msg.setCountry(value);
3199
+ msg.setDistrict(value);
3042
3200
  break;
3043
3201
  case 13:
3044
3202
  var value = /** @type {string} */ (reader.readString());
3045
- msg.setRegion(value);
3203
+ msg.setCity(value);
3046
3204
  break;
3047
3205
  case 14:
3048
3206
  var value = /** @type {string} */ (reader.readString());
3049
- msg.setLanguage(value);
3207
+ msg.setProvince(value);
3050
3208
  break;
3051
3209
  case 15:
3052
3210
  var value = /** @type {string} */ (reader.readString());
3053
- msg.setIndustry(value);
3211
+ msg.setCountry(value);
3054
3212
  break;
3055
3213
  case 16:
3056
3214
  var value = /** @type {string} */ (reader.readString());
3057
- msg.setBusinessPartnerRole(value);
3215
+ msg.setLanguage(value);
3058
3216
  break;
3059
3217
  case 17:
3060
3218
  var value = /** @type {string} */ (reader.readString());
3061
- msg.setValidFrom(value);
3219
+ msg.setIndustry(value);
3062
3220
  break;
3063
3221
  case 18:
3064
3222
  var value = /** @type {string} */ (reader.readString());
3065
- msg.setValidTo(value);
3223
+ msg.setBusinessPartnerRole(value);
3066
3224
  break;
3067
3225
  case 19:
3226
+ var value = /** @type {string} */ (reader.readString());
3227
+ msg.setValidFrom(value);
3228
+ break;
3229
+ case 20:
3230
+ var value = /** @type {string} */ (reader.readString());
3231
+ msg.setValidTo(value);
3232
+ break;
3233
+ case 21:
3068
3234
  var value = new proto.BankAccount;
3069
3235
  reader.readMessage(value,proto.BankAccount.deserializeBinaryFromReader);
3070
3236
  msg.addBankAccounts(value);
3071
3237
  break;
3072
- case 20:
3238
+ case 22:
3073
3239
  var value = new proto.Contact;
3074
3240
  reader.readMessage(value,proto.Contact.deserializeBinaryFromReader);
3075
3241
  msg.addContacts(value);
3076
3242
  break;
3077
- case 21:
3243
+ case 23:
3078
3244
  var value = new proto.Communication;
3079
3245
  reader.readMessage(value,proto.Communication.deserializeBinaryFromReader);
3080
3246
  msg.addCommunications(value);
3081
3247
  break;
3082
- case 22:
3248
+ case 24:
3083
3249
  var value = new proto.Relationship;
3084
3250
  reader.readMessage(value,proto.Relationship.deserializeBinaryFromReader);
3085
3251
  msg.addRelationships(value);
3086
3252
  break;
3087
- case 23:
3253
+ case 25:
3088
3254
  var value = new proto.TaxInformation;
3089
3255
  reader.readMessage(value,proto.TaxInformation.deserializeBinaryFromReader);
3090
3256
  msg.addTaxInformation(value);
3091
3257
  break;
3092
- case 24:
3258
+ case 26:
3093
3259
  var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
3094
3260
  reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
3095
3261
  msg.addFiles(value);
3096
3262
  break;
3097
- case 25:
3263
+ case 27:
3098
3264
  var value = /** @type {string} */ (reader.readString());
3099
3265
  msg.setVendorDescription(value);
3100
3266
  break;
@@ -3190,73 +3356,87 @@ proto.BaseVendorRequest.serializeBinaryToWriter = function(message, writer) {
3190
3356
  f
3191
3357
  );
3192
3358
  }
3193
- f = message.getCity();
3359
+ f = message.getPostalCode();
3194
3360
  if (f.length > 0) {
3195
3361
  writer.writeString(
3196
3362
  10,
3197
3363
  f
3198
3364
  );
3199
3365
  }
3200
- f = message.getPostalCode();
3366
+ f = message.getVillage();
3201
3367
  if (f.length > 0) {
3202
3368
  writer.writeString(
3203
3369
  11,
3204
3370
  f
3205
3371
  );
3206
3372
  }
3207
- f = message.getCountry();
3373
+ f = message.getDistrict();
3208
3374
  if (f.length > 0) {
3209
3375
  writer.writeString(
3210
3376
  12,
3211
3377
  f
3212
3378
  );
3213
3379
  }
3214
- f = message.getRegion();
3380
+ f = message.getCity();
3215
3381
  if (f.length > 0) {
3216
3382
  writer.writeString(
3217
3383
  13,
3218
3384
  f
3219
3385
  );
3220
3386
  }
3221
- f = message.getLanguage();
3387
+ f = message.getProvince();
3222
3388
  if (f.length > 0) {
3223
3389
  writer.writeString(
3224
3390
  14,
3225
3391
  f
3226
3392
  );
3227
3393
  }
3228
- f = message.getIndustry();
3394
+ f = message.getCountry();
3229
3395
  if (f.length > 0) {
3230
3396
  writer.writeString(
3231
3397
  15,
3232
3398
  f
3233
3399
  );
3234
3400
  }
3235
- f = message.getBusinessPartnerRole();
3401
+ f = message.getLanguage();
3236
3402
  if (f.length > 0) {
3237
3403
  writer.writeString(
3238
3404
  16,
3239
3405
  f
3240
3406
  );
3241
3407
  }
3242
- f = message.getValidFrom();
3408
+ f = message.getIndustry();
3243
3409
  if (f.length > 0) {
3244
3410
  writer.writeString(
3245
3411
  17,
3246
3412
  f
3247
3413
  );
3248
3414
  }
3249
- f = message.getValidTo();
3415
+ f = message.getBusinessPartnerRole();
3250
3416
  if (f.length > 0) {
3251
3417
  writer.writeString(
3252
3418
  18,
3253
3419
  f
3254
3420
  );
3255
3421
  }
3422
+ f = message.getValidFrom();
3423
+ if (f.length > 0) {
3424
+ writer.writeString(
3425
+ 19,
3426
+ f
3427
+ );
3428
+ }
3429
+ f = message.getValidTo();
3430
+ if (f.length > 0) {
3431
+ writer.writeString(
3432
+ 20,
3433
+ f
3434
+ );
3435
+ }
3256
3436
  f = message.getBankAccountsList();
3257
3437
  if (f.length > 0) {
3258
3438
  writer.writeRepeatedMessage(
3259
- 19,
3439
+ 21,
3260
3440
  f,
3261
3441
  proto.BankAccount.serializeBinaryToWriter
3262
3442
  );
@@ -3264,7 +3444,7 @@ proto.BaseVendorRequest.serializeBinaryToWriter = function(message, writer) {
3264
3444
  f = message.getContactsList();
3265
3445
  if (f.length > 0) {
3266
3446
  writer.writeRepeatedMessage(
3267
- 20,
3447
+ 22,
3268
3448
  f,
3269
3449
  proto.Contact.serializeBinaryToWriter
3270
3450
  );
@@ -3272,7 +3452,7 @@ proto.BaseVendorRequest.serializeBinaryToWriter = function(message, writer) {
3272
3452
  f = message.getCommunicationsList();
3273
3453
  if (f.length > 0) {
3274
3454
  writer.writeRepeatedMessage(
3275
- 21,
3455
+ 23,
3276
3456
  f,
3277
3457
  proto.Communication.serializeBinaryToWriter
3278
3458
  );
@@ -3280,7 +3460,7 @@ proto.BaseVendorRequest.serializeBinaryToWriter = function(message, writer) {
3280
3460
  f = message.getRelationshipsList();
3281
3461
  if (f.length > 0) {
3282
3462
  writer.writeRepeatedMessage(
3283
- 22,
3463
+ 24,
3284
3464
  f,
3285
3465
  proto.Relationship.serializeBinaryToWriter
3286
3466
  );
@@ -3288,7 +3468,7 @@ proto.BaseVendorRequest.serializeBinaryToWriter = function(message, writer) {
3288
3468
  f = message.getTaxInformationList();
3289
3469
  if (f.length > 0) {
3290
3470
  writer.writeRepeatedMessage(
3291
- 23,
3471
+ 25,
3292
3472
  f,
3293
3473
  proto.TaxInformation.serializeBinaryToWriter
3294
3474
  );
@@ -3296,7 +3476,7 @@ proto.BaseVendorRequest.serializeBinaryToWriter = function(message, writer) {
3296
3476
  f = message.getFilesList();
3297
3477
  if (f.length > 0) {
3298
3478
  writer.writeRepeatedMessage(
3299
- 24,
3479
+ 26,
3300
3480
  f,
3301
3481
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
3302
3482
  );
@@ -3304,7 +3484,7 @@ proto.BaseVendorRequest.serializeBinaryToWriter = function(message, writer) {
3304
3484
  f = message.getVendorDescription();
3305
3485
  if (f.length > 0) {
3306
3486
  writer.writeString(
3307
- 25,
3487
+ 27,
3308
3488
  f
3309
3489
  );
3310
3490
  }
@@ -3474,10 +3654,10 @@ proto.BaseVendorRequest.prototype.setHouseNumber = function(value) {
3474
3654
 
3475
3655
 
3476
3656
  /**
3477
- * optional string city = 10;
3657
+ * optional string postal_code = 10;
3478
3658
  * @return {string}
3479
3659
  */
3480
- proto.BaseVendorRequest.prototype.getCity = function() {
3660
+ proto.BaseVendorRequest.prototype.getPostalCode = function() {
3481
3661
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3482
3662
  };
3483
3663
 
@@ -3486,16 +3666,16 @@ proto.BaseVendorRequest.prototype.getCity = function() {
3486
3666
  * @param {string} value
3487
3667
  * @return {!proto.BaseVendorRequest} returns this
3488
3668
  */
3489
- proto.BaseVendorRequest.prototype.setCity = function(value) {
3669
+ proto.BaseVendorRequest.prototype.setPostalCode = function(value) {
3490
3670
  return jspb.Message.setProto3StringField(this, 10, value);
3491
3671
  };
3492
3672
 
3493
3673
 
3494
3674
  /**
3495
- * optional string postal_code = 11;
3675
+ * optional string village = 11;
3496
3676
  * @return {string}
3497
3677
  */
3498
- proto.BaseVendorRequest.prototype.getPostalCode = function() {
3678
+ proto.BaseVendorRequest.prototype.getVillage = function() {
3499
3679
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
3500
3680
  };
3501
3681
 
@@ -3504,16 +3684,16 @@ proto.BaseVendorRequest.prototype.getPostalCode = function() {
3504
3684
  * @param {string} value
3505
3685
  * @return {!proto.BaseVendorRequest} returns this
3506
3686
  */
3507
- proto.BaseVendorRequest.prototype.setPostalCode = function(value) {
3687
+ proto.BaseVendorRequest.prototype.setVillage = function(value) {
3508
3688
  return jspb.Message.setProto3StringField(this, 11, value);
3509
3689
  };
3510
3690
 
3511
3691
 
3512
3692
  /**
3513
- * optional string country = 12;
3693
+ * optional string district = 12;
3514
3694
  * @return {string}
3515
3695
  */
3516
- proto.BaseVendorRequest.prototype.getCountry = function() {
3696
+ proto.BaseVendorRequest.prototype.getDistrict = function() {
3517
3697
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
3518
3698
  };
3519
3699
 
@@ -3522,16 +3702,16 @@ proto.BaseVendorRequest.prototype.getCountry = function() {
3522
3702
  * @param {string} value
3523
3703
  * @return {!proto.BaseVendorRequest} returns this
3524
3704
  */
3525
- proto.BaseVendorRequest.prototype.setCountry = function(value) {
3705
+ proto.BaseVendorRequest.prototype.setDistrict = function(value) {
3526
3706
  return jspb.Message.setProto3StringField(this, 12, value);
3527
3707
  };
3528
3708
 
3529
3709
 
3530
3710
  /**
3531
- * optional string region = 13;
3711
+ * optional string city = 13;
3532
3712
  * @return {string}
3533
3713
  */
3534
- proto.BaseVendorRequest.prototype.getRegion = function() {
3714
+ proto.BaseVendorRequest.prototype.getCity = function() {
3535
3715
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
3536
3716
  };
3537
3717
 
@@ -3540,16 +3720,16 @@ proto.BaseVendorRequest.prototype.getRegion = function() {
3540
3720
  * @param {string} value
3541
3721
  * @return {!proto.BaseVendorRequest} returns this
3542
3722
  */
3543
- proto.BaseVendorRequest.prototype.setRegion = function(value) {
3723
+ proto.BaseVendorRequest.prototype.setCity = function(value) {
3544
3724
  return jspb.Message.setProto3StringField(this, 13, value);
3545
3725
  };
3546
3726
 
3547
3727
 
3548
3728
  /**
3549
- * optional string language = 14;
3729
+ * optional string province = 14;
3550
3730
  * @return {string}
3551
3731
  */
3552
- proto.BaseVendorRequest.prototype.getLanguage = function() {
3732
+ proto.BaseVendorRequest.prototype.getProvince = function() {
3553
3733
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
3554
3734
  };
3555
3735
 
@@ -3558,16 +3738,16 @@ proto.BaseVendorRequest.prototype.getLanguage = function() {
3558
3738
  * @param {string} value
3559
3739
  * @return {!proto.BaseVendorRequest} returns this
3560
3740
  */
3561
- proto.BaseVendorRequest.prototype.setLanguage = function(value) {
3741
+ proto.BaseVendorRequest.prototype.setProvince = function(value) {
3562
3742
  return jspb.Message.setProto3StringField(this, 14, value);
3563
3743
  };
3564
3744
 
3565
3745
 
3566
3746
  /**
3567
- * optional string industry = 15;
3747
+ * optional string country = 15;
3568
3748
  * @return {string}
3569
3749
  */
3570
- proto.BaseVendorRequest.prototype.getIndustry = function() {
3750
+ proto.BaseVendorRequest.prototype.getCountry = function() {
3571
3751
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
3572
3752
  };
3573
3753
 
@@ -3576,16 +3756,16 @@ proto.BaseVendorRequest.prototype.getIndustry = function() {
3576
3756
  * @param {string} value
3577
3757
  * @return {!proto.BaseVendorRequest} returns this
3578
3758
  */
3579
- proto.BaseVendorRequest.prototype.setIndustry = function(value) {
3759
+ proto.BaseVendorRequest.prototype.setCountry = function(value) {
3580
3760
  return jspb.Message.setProto3StringField(this, 15, value);
3581
3761
  };
3582
3762
 
3583
3763
 
3584
3764
  /**
3585
- * optional string business_partner_role = 16;
3765
+ * optional string language = 16;
3586
3766
  * @return {string}
3587
3767
  */
3588
- proto.BaseVendorRequest.prototype.getBusinessPartnerRole = function() {
3768
+ proto.BaseVendorRequest.prototype.getLanguage = function() {
3589
3769
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
3590
3770
  };
3591
3771
 
@@ -3594,16 +3774,16 @@ proto.BaseVendorRequest.prototype.getBusinessPartnerRole = function() {
3594
3774
  * @param {string} value
3595
3775
  * @return {!proto.BaseVendorRequest} returns this
3596
3776
  */
3597
- proto.BaseVendorRequest.prototype.setBusinessPartnerRole = function(value) {
3777
+ proto.BaseVendorRequest.prototype.setLanguage = function(value) {
3598
3778
  return jspb.Message.setProto3StringField(this, 16, value);
3599
3779
  };
3600
3780
 
3601
3781
 
3602
3782
  /**
3603
- * optional string valid_from = 17;
3783
+ * optional string industry = 17;
3604
3784
  * @return {string}
3605
3785
  */
3606
- proto.BaseVendorRequest.prototype.getValidFrom = function() {
3786
+ proto.BaseVendorRequest.prototype.getIndustry = function() {
3607
3787
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
3608
3788
  };
3609
3789
 
@@ -3612,16 +3792,16 @@ proto.BaseVendorRequest.prototype.getValidFrom = function() {
3612
3792
  * @param {string} value
3613
3793
  * @return {!proto.BaseVendorRequest} returns this
3614
3794
  */
3615
- proto.BaseVendorRequest.prototype.setValidFrom = function(value) {
3795
+ proto.BaseVendorRequest.prototype.setIndustry = function(value) {
3616
3796
  return jspb.Message.setProto3StringField(this, 17, value);
3617
3797
  };
3618
3798
 
3619
3799
 
3620
3800
  /**
3621
- * optional string valid_to = 18;
3801
+ * optional string business_partner_role = 18;
3622
3802
  * @return {string}
3623
3803
  */
3624
- proto.BaseVendorRequest.prototype.getValidTo = function() {
3804
+ proto.BaseVendorRequest.prototype.getBusinessPartnerRole = function() {
3625
3805
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
3626
3806
  };
3627
3807
 
@@ -3630,18 +3810,54 @@ proto.BaseVendorRequest.prototype.getValidTo = function() {
3630
3810
  * @param {string} value
3631
3811
  * @return {!proto.BaseVendorRequest} returns this
3632
3812
  */
3633
- proto.BaseVendorRequest.prototype.setValidTo = function(value) {
3813
+ proto.BaseVendorRequest.prototype.setBusinessPartnerRole = function(value) {
3634
3814
  return jspb.Message.setProto3StringField(this, 18, value);
3635
3815
  };
3636
3816
 
3637
3817
 
3638
3818
  /**
3639
- * repeated BankAccount bank_accounts = 19;
3819
+ * optional string valid_from = 19;
3820
+ * @return {string}
3821
+ */
3822
+ proto.BaseVendorRequest.prototype.getValidFrom = function() {
3823
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
3824
+ };
3825
+
3826
+
3827
+ /**
3828
+ * @param {string} value
3829
+ * @return {!proto.BaseVendorRequest} returns this
3830
+ */
3831
+ proto.BaseVendorRequest.prototype.setValidFrom = function(value) {
3832
+ return jspb.Message.setProto3StringField(this, 19, value);
3833
+ };
3834
+
3835
+
3836
+ /**
3837
+ * optional string valid_to = 20;
3838
+ * @return {string}
3839
+ */
3840
+ proto.BaseVendorRequest.prototype.getValidTo = function() {
3841
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
3842
+ };
3843
+
3844
+
3845
+ /**
3846
+ * @param {string} value
3847
+ * @return {!proto.BaseVendorRequest} returns this
3848
+ */
3849
+ proto.BaseVendorRequest.prototype.setValidTo = function(value) {
3850
+ return jspb.Message.setProto3StringField(this, 20, value);
3851
+ };
3852
+
3853
+
3854
+ /**
3855
+ * repeated BankAccount bank_accounts = 21;
3640
3856
  * @return {!Array<!proto.BankAccount>}
3641
3857
  */
3642
3858
  proto.BaseVendorRequest.prototype.getBankAccountsList = function() {
3643
3859
  return /** @type{!Array<!proto.BankAccount>} */ (
3644
- jspb.Message.getRepeatedWrapperField(this, proto.BankAccount, 19));
3860
+ jspb.Message.getRepeatedWrapperField(this, proto.BankAccount, 21));
3645
3861
  };
3646
3862
 
3647
3863
 
@@ -3650,7 +3866,7 @@ proto.BaseVendorRequest.prototype.getBankAccountsList = function() {
3650
3866
  * @return {!proto.BaseVendorRequest} returns this
3651
3867
  */
3652
3868
  proto.BaseVendorRequest.prototype.setBankAccountsList = function(value) {
3653
- return jspb.Message.setRepeatedWrapperField(this, 19, value);
3869
+ return jspb.Message.setRepeatedWrapperField(this, 21, value);
3654
3870
  };
3655
3871
 
3656
3872
 
@@ -3660,7 +3876,7 @@ proto.BaseVendorRequest.prototype.setBankAccountsList = function(value) {
3660
3876
  * @return {!proto.BankAccount}
3661
3877
  */
3662
3878
  proto.BaseVendorRequest.prototype.addBankAccounts = function(opt_value, opt_index) {
3663
- return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.BankAccount, opt_index);
3879
+ return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.BankAccount, opt_index);
3664
3880
  };
3665
3881
 
3666
3882
 
@@ -3674,12 +3890,12 @@ proto.BaseVendorRequest.prototype.clearBankAccountsList = function() {
3674
3890
 
3675
3891
 
3676
3892
  /**
3677
- * repeated Contact contacts = 20;
3893
+ * repeated Contact contacts = 22;
3678
3894
  * @return {!Array<!proto.Contact>}
3679
3895
  */
3680
3896
  proto.BaseVendorRequest.prototype.getContactsList = function() {
3681
3897
  return /** @type{!Array<!proto.Contact>} */ (
3682
- jspb.Message.getRepeatedWrapperField(this, proto.Contact, 20));
3898
+ jspb.Message.getRepeatedWrapperField(this, proto.Contact, 22));
3683
3899
  };
3684
3900
 
3685
3901
 
@@ -3688,7 +3904,7 @@ proto.BaseVendorRequest.prototype.getContactsList = function() {
3688
3904
  * @return {!proto.BaseVendorRequest} returns this
3689
3905
  */
3690
3906
  proto.BaseVendorRequest.prototype.setContactsList = function(value) {
3691
- return jspb.Message.setRepeatedWrapperField(this, 20, value);
3907
+ return jspb.Message.setRepeatedWrapperField(this, 22, value);
3692
3908
  };
3693
3909
 
3694
3910
 
@@ -3698,7 +3914,7 @@ proto.BaseVendorRequest.prototype.setContactsList = function(value) {
3698
3914
  * @return {!proto.Contact}
3699
3915
  */
3700
3916
  proto.BaseVendorRequest.prototype.addContacts = function(opt_value, opt_index) {
3701
- return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.Contact, opt_index);
3917
+ return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.Contact, opt_index);
3702
3918
  };
3703
3919
 
3704
3920
 
@@ -3712,12 +3928,12 @@ proto.BaseVendorRequest.prototype.clearContactsList = function() {
3712
3928
 
3713
3929
 
3714
3930
  /**
3715
- * repeated Communication communications = 21;
3931
+ * repeated Communication communications = 23;
3716
3932
  * @return {!Array<!proto.Communication>}
3717
3933
  */
3718
3934
  proto.BaseVendorRequest.prototype.getCommunicationsList = function() {
3719
3935
  return /** @type{!Array<!proto.Communication>} */ (
3720
- jspb.Message.getRepeatedWrapperField(this, proto.Communication, 21));
3936
+ jspb.Message.getRepeatedWrapperField(this, proto.Communication, 23));
3721
3937
  };
3722
3938
 
3723
3939
 
@@ -3726,7 +3942,7 @@ proto.BaseVendorRequest.prototype.getCommunicationsList = function() {
3726
3942
  * @return {!proto.BaseVendorRequest} returns this
3727
3943
  */
3728
3944
  proto.BaseVendorRequest.prototype.setCommunicationsList = function(value) {
3729
- return jspb.Message.setRepeatedWrapperField(this, 21, value);
3945
+ return jspb.Message.setRepeatedWrapperField(this, 23, value);
3730
3946
  };
3731
3947
 
3732
3948
 
@@ -3736,7 +3952,7 @@ proto.BaseVendorRequest.prototype.setCommunicationsList = function(value) {
3736
3952
  * @return {!proto.Communication}
3737
3953
  */
3738
3954
  proto.BaseVendorRequest.prototype.addCommunications = function(opt_value, opt_index) {
3739
- return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.Communication, opt_index);
3955
+ return jspb.Message.addToRepeatedWrapperField(this, 23, opt_value, proto.Communication, opt_index);
3740
3956
  };
3741
3957
 
3742
3958
 
@@ -3750,12 +3966,12 @@ proto.BaseVendorRequest.prototype.clearCommunicationsList = function() {
3750
3966
 
3751
3967
 
3752
3968
  /**
3753
- * repeated Relationship relationships = 22;
3969
+ * repeated Relationship relationships = 24;
3754
3970
  * @return {!Array<!proto.Relationship>}
3755
3971
  */
3756
3972
  proto.BaseVendorRequest.prototype.getRelationshipsList = function() {
3757
3973
  return /** @type{!Array<!proto.Relationship>} */ (
3758
- jspb.Message.getRepeatedWrapperField(this, proto.Relationship, 22));
3974
+ jspb.Message.getRepeatedWrapperField(this, proto.Relationship, 24));
3759
3975
  };
3760
3976
 
3761
3977
 
@@ -3764,7 +3980,7 @@ proto.BaseVendorRequest.prototype.getRelationshipsList = function() {
3764
3980
  * @return {!proto.BaseVendorRequest} returns this
3765
3981
  */
3766
3982
  proto.BaseVendorRequest.prototype.setRelationshipsList = function(value) {
3767
- return jspb.Message.setRepeatedWrapperField(this, 22, value);
3983
+ return jspb.Message.setRepeatedWrapperField(this, 24, value);
3768
3984
  };
3769
3985
 
3770
3986
 
@@ -3774,7 +3990,7 @@ proto.BaseVendorRequest.prototype.setRelationshipsList = function(value) {
3774
3990
  * @return {!proto.Relationship}
3775
3991
  */
3776
3992
  proto.BaseVendorRequest.prototype.addRelationships = function(opt_value, opt_index) {
3777
- return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.Relationship, opt_index);
3993
+ return jspb.Message.addToRepeatedWrapperField(this, 24, opt_value, proto.Relationship, opt_index);
3778
3994
  };
3779
3995
 
3780
3996
 
@@ -3788,12 +4004,12 @@ proto.BaseVendorRequest.prototype.clearRelationshipsList = function() {
3788
4004
 
3789
4005
 
3790
4006
  /**
3791
- * repeated TaxInformation tax_information = 23;
4007
+ * repeated TaxInformation tax_information = 25;
3792
4008
  * @return {!Array<!proto.TaxInformation>}
3793
4009
  */
3794
4010
  proto.BaseVendorRequest.prototype.getTaxInformationList = function() {
3795
4011
  return /** @type{!Array<!proto.TaxInformation>} */ (
3796
- jspb.Message.getRepeatedWrapperField(this, proto.TaxInformation, 23));
4012
+ jspb.Message.getRepeatedWrapperField(this, proto.TaxInformation, 25));
3797
4013
  };
3798
4014
 
3799
4015
 
@@ -3802,7 +4018,7 @@ proto.BaseVendorRequest.prototype.getTaxInformationList = function() {
3802
4018
  * @return {!proto.BaseVendorRequest} returns this
3803
4019
  */
3804
4020
  proto.BaseVendorRequest.prototype.setTaxInformationList = function(value) {
3805
- return jspb.Message.setRepeatedWrapperField(this, 23, value);
4021
+ return jspb.Message.setRepeatedWrapperField(this, 25, value);
3806
4022
  };
3807
4023
 
3808
4024
 
@@ -3812,7 +4028,7 @@ proto.BaseVendorRequest.prototype.setTaxInformationList = function(value) {
3812
4028
  * @return {!proto.TaxInformation}
3813
4029
  */
3814
4030
  proto.BaseVendorRequest.prototype.addTaxInformation = function(opt_value, opt_index) {
3815
- return jspb.Message.addToRepeatedWrapperField(this, 23, opt_value, proto.TaxInformation, opt_index);
4031
+ return jspb.Message.addToRepeatedWrapperField(this, 25, opt_value, proto.TaxInformation, opt_index);
3816
4032
  };
3817
4033
 
3818
4034
 
@@ -3826,12 +4042,12 @@ proto.BaseVendorRequest.prototype.clearTaxInformationList = function() {
3826
4042
 
3827
4043
 
3828
4044
  /**
3829
- * repeated FileUploadReferencesReq files = 24;
4045
+ * repeated FileUploadReferencesReq files = 26;
3830
4046
  * @return {!Array<!proto.FileUploadReferencesReq>}
3831
4047
  */
3832
4048
  proto.BaseVendorRequest.prototype.getFilesList = function() {
3833
4049
  return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
3834
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 24));
4050
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 26));
3835
4051
  };
3836
4052
 
3837
4053
 
@@ -3840,7 +4056,7 @@ proto.BaseVendorRequest.prototype.getFilesList = function() {
3840
4056
  * @return {!proto.BaseVendorRequest} returns this
3841
4057
  */
3842
4058
  proto.BaseVendorRequest.prototype.setFilesList = function(value) {
3843
- return jspb.Message.setRepeatedWrapperField(this, 24, value);
4059
+ return jspb.Message.setRepeatedWrapperField(this, 26, value);
3844
4060
  };
3845
4061
 
3846
4062
 
@@ -3850,7 +4066,7 @@ proto.BaseVendorRequest.prototype.setFilesList = function(value) {
3850
4066
  * @return {!proto.FileUploadReferencesReq}
3851
4067
  */
3852
4068
  proto.BaseVendorRequest.prototype.addFiles = function(opt_value, opt_index) {
3853
- return jspb.Message.addToRepeatedWrapperField(this, 24, opt_value, proto.FileUploadReferencesReq, opt_index);
4069
+ return jspb.Message.addToRepeatedWrapperField(this, 26, opt_value, proto.FileUploadReferencesReq, opt_index);
3854
4070
  };
3855
4071
 
3856
4072
 
@@ -3864,11 +4080,11 @@ proto.BaseVendorRequest.prototype.clearFilesList = function() {
3864
4080
 
3865
4081
 
3866
4082
  /**
3867
- * optional string vendor_description = 25;
4083
+ * optional string vendor_description = 27;
3868
4084
  * @return {string}
3869
4085
  */
3870
4086
  proto.BaseVendorRequest.prototype.getVendorDescription = function() {
3871
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
4087
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
3872
4088
  };
3873
4089
 
3874
4090
 
@@ -3877,7 +4093,7 @@ proto.BaseVendorRequest.prototype.getVendorDescription = function() {
3877
4093
  * @return {!proto.BaseVendorRequest} returns this
3878
4094
  */
3879
4095
  proto.BaseVendorRequest.prototype.setVendorDescription = function(value) {
3880
- return jspb.Message.setProto3StringField(this, 25, value);
4096
+ return jspb.Message.setProto3StringField(this, 27, value);
3881
4097
  };
3882
4098
 
3883
4099
 
@@ -4048,8 +4264,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4048
4264
  * http://goto/soy-param-migration
4049
4265
  * @return {!Object}
4050
4266
  */
4051
- proto.UpdateVendorRequest.prototype.toObject = function(opt_includeInstance) {
4052
- return proto.UpdateVendorRequest.toObject(opt_includeInstance, this);
4267
+ proto.UpdateVendorStatusRequest.prototype.toObject = function(opt_includeInstance) {
4268
+ return proto.UpdateVendorStatusRequest.toObject(opt_includeInstance, this);
4053
4269
  };
4054
4270
 
4055
4271
 
@@ -4058,14 +4274,14 @@ proto.UpdateVendorRequest.prototype.toObject = function(opt_includeInstance) {
4058
4274
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4059
4275
  * the JSPB instance for transitional soy proto support:
4060
4276
  * http://goto/soy-param-migration
4061
- * @param {!proto.UpdateVendorRequest} msg The msg instance to transform.
4277
+ * @param {!proto.UpdateVendorStatusRequest} msg The msg instance to transform.
4062
4278
  * @return {!Object}
4063
4279
  * @suppress {unusedLocalVariables} f is only used for nested messages
4064
4280
  */
4065
- proto.UpdateVendorRequest.toObject = function(includeInstance, msg) {
4281
+ proto.UpdateVendorStatusRequest.toObject = function(includeInstance, msg) {
4066
4282
  var f, obj = {
4067
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4068
- baseVendor: (f = msg.getBaseVendor()) && proto.BaseVendorRequest.toObject(includeInstance, f)
4283
+ status: jspb.Message.getFieldWithDefault(msg, 1, ""),
4284
+ referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
4069
4285
  };
4070
4286
 
4071
4287
  if (includeInstance) {
@@ -4079,23 +4295,23 @@ baseVendor: (f = msg.getBaseVendor()) && proto.BaseVendorRequest.toObject(includ
4079
4295
  /**
4080
4296
  * Deserializes binary data (in protobuf wire format).
4081
4297
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4082
- * @return {!proto.UpdateVendorRequest}
4298
+ * @return {!proto.UpdateVendorStatusRequest}
4083
4299
  */
4084
- proto.UpdateVendorRequest.deserializeBinary = function(bytes) {
4300
+ proto.UpdateVendorStatusRequest.deserializeBinary = function(bytes) {
4085
4301
  var reader = new jspb.BinaryReader(bytes);
4086
- var msg = new proto.UpdateVendorRequest;
4087
- return proto.UpdateVendorRequest.deserializeBinaryFromReader(msg, reader);
4302
+ var msg = new proto.UpdateVendorStatusRequest;
4303
+ return proto.UpdateVendorStatusRequest.deserializeBinaryFromReader(msg, reader);
4088
4304
  };
4089
4305
 
4090
4306
 
4091
4307
  /**
4092
4308
  * Deserializes binary data (in protobuf wire format) from the
4093
4309
  * given reader into the given message object.
4094
- * @param {!proto.UpdateVendorRequest} msg The message object to deserialize into.
4310
+ * @param {!proto.UpdateVendorStatusRequest} msg The message object to deserialize into.
4095
4311
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4096
- * @return {!proto.UpdateVendorRequest}
4312
+ * @return {!proto.UpdateVendorStatusRequest}
4097
4313
  */
4098
- proto.UpdateVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
4314
+ proto.UpdateVendorStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
4099
4315
  while (reader.nextField()) {
4100
4316
  if (reader.isEndGroup()) {
4101
4317
  break;
@@ -4104,12 +4320,11 @@ proto.UpdateVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
4104
4320
  switch (field) {
4105
4321
  case 1:
4106
4322
  var value = /** @type {string} */ (reader.readString());
4107
- msg.setReferencesId(value);
4323
+ msg.setStatus(value);
4108
4324
  break;
4109
4325
  case 2:
4110
- var value = new proto.BaseVendorRequest;
4111
- reader.readMessage(value,proto.BaseVendorRequest.deserializeBinaryFromReader);
4112
- msg.setBaseVendor(value);
4326
+ var value = /** @type {string} */ (reader.readString());
4327
+ msg.setReferencesId(value);
4113
4328
  break;
4114
4329
  default:
4115
4330
  reader.skipField();
@@ -4124,9 +4339,9 @@ proto.UpdateVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
4124
4339
  * Serializes the message to binary data (in protobuf wire format).
4125
4340
  * @return {!Uint8Array}
4126
4341
  */
4127
- proto.UpdateVendorRequest.prototype.serializeBinary = function() {
4342
+ proto.UpdateVendorStatusRequest.prototype.serializeBinary = function() {
4128
4343
  var writer = new jspb.BinaryWriter();
4129
- proto.UpdateVendorRequest.serializeBinaryToWriter(this, writer);
4344
+ proto.UpdateVendorStatusRequest.serializeBinaryToWriter(this, writer);
4130
4345
  return writer.getResultBuffer();
4131
4346
  };
4132
4347
 
@@ -4134,82 +4349,62 @@ proto.UpdateVendorRequest.prototype.serializeBinary = function() {
4134
4349
  /**
4135
4350
  * Serializes the given message to binary data (in protobuf wire
4136
4351
  * format), writing to the given BinaryWriter.
4137
- * @param {!proto.UpdateVendorRequest} message
4352
+ * @param {!proto.UpdateVendorStatusRequest} message
4138
4353
  * @param {!jspb.BinaryWriter} writer
4139
4354
  * @suppress {unusedLocalVariables} f is only used for nested messages
4140
4355
  */
4141
- proto.UpdateVendorRequest.serializeBinaryToWriter = function(message, writer) {
4356
+ proto.UpdateVendorStatusRequest.serializeBinaryToWriter = function(message, writer) {
4142
4357
  var f = undefined;
4143
- f = message.getReferencesId();
4358
+ f = message.getStatus();
4144
4359
  if (f.length > 0) {
4145
4360
  writer.writeString(
4146
4361
  1,
4147
4362
  f
4148
4363
  );
4149
4364
  }
4150
- f = message.getBaseVendor();
4151
- if (f != null) {
4152
- writer.writeMessage(
4365
+ f = message.getReferencesId();
4366
+ if (f.length > 0) {
4367
+ writer.writeString(
4153
4368
  2,
4154
- f,
4155
- proto.BaseVendorRequest.serializeBinaryToWriter
4369
+ f
4156
4370
  );
4157
4371
  }
4158
4372
  };
4159
4373
 
4160
4374
 
4161
4375
  /**
4162
- * optional string references_id = 1;
4376
+ * optional string status = 1;
4163
4377
  * @return {string}
4164
4378
  */
4165
- proto.UpdateVendorRequest.prototype.getReferencesId = function() {
4379
+ proto.UpdateVendorStatusRequest.prototype.getStatus = function() {
4166
4380
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4167
4381
  };
4168
4382
 
4169
4383
 
4170
4384
  /**
4171
4385
  * @param {string} value
4172
- * @return {!proto.UpdateVendorRequest} returns this
4386
+ * @return {!proto.UpdateVendorStatusRequest} returns this
4173
4387
  */
4174
- proto.UpdateVendorRequest.prototype.setReferencesId = function(value) {
4388
+ proto.UpdateVendorStatusRequest.prototype.setStatus = function(value) {
4175
4389
  return jspb.Message.setProto3StringField(this, 1, value);
4176
4390
  };
4177
4391
 
4178
4392
 
4179
4393
  /**
4180
- * optional BaseVendorRequest base_vendor = 2;
4181
- * @return {?proto.BaseVendorRequest}
4182
- */
4183
- proto.UpdateVendorRequest.prototype.getBaseVendor = function() {
4184
- return /** @type{?proto.BaseVendorRequest} */ (
4185
- jspb.Message.getWrapperField(this, proto.BaseVendorRequest, 2));
4186
- };
4187
-
4188
-
4189
- /**
4190
- * @param {?proto.BaseVendorRequest|undefined} value
4191
- * @return {!proto.UpdateVendorRequest} returns this
4192
- */
4193
- proto.UpdateVendorRequest.prototype.setBaseVendor = function(value) {
4194
- return jspb.Message.setWrapperField(this, 2, value);
4195
- };
4196
-
4197
-
4198
- /**
4199
- * Clears the message field making it undefined.
4200
- * @return {!proto.UpdateVendorRequest} returns this
4394
+ * optional string references_id = 2;
4395
+ * @return {string}
4201
4396
  */
4202
- proto.UpdateVendorRequest.prototype.clearBaseVendor = function() {
4203
- return this.setBaseVendor(undefined);
4397
+ proto.UpdateVendorStatusRequest.prototype.getReferencesId = function() {
4398
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4204
4399
  };
4205
4400
 
4206
4401
 
4207
4402
  /**
4208
- * Returns whether this field is set.
4209
- * @return {boolean}
4403
+ * @param {string} value
4404
+ * @return {!proto.UpdateVendorStatusRequest} returns this
4210
4405
  */
4211
- proto.UpdateVendorRequest.prototype.hasBaseVendor = function() {
4212
- return jspb.Message.getField(this, 2) != null;
4406
+ proto.UpdateVendorStatusRequest.prototype.setReferencesId = function(value) {
4407
+ return jspb.Message.setProto3StringField(this, 2, value);
4213
4408
  };
4214
4409
 
4215
4410
 
@@ -4229,8 +4424,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4229
4424
  * http://goto/soy-param-migration
4230
4425
  * @return {!Object}
4231
4426
  */
4232
- proto.GetListVendorRequest.prototype.toObject = function(opt_includeInstance) {
4233
- return proto.GetListVendorRequest.toObject(opt_includeInstance, this);
4427
+ proto.UpdateVendorRequest.prototype.toObject = function(opt_includeInstance) {
4428
+ return proto.UpdateVendorRequest.toObject(opt_includeInstance, this);
4234
4429
  };
4235
4430
 
4236
4431
 
@@ -4239,14 +4434,14 @@ proto.GetListVendorRequest.prototype.toObject = function(opt_includeInstance) {
4239
4434
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4240
4435
  * the JSPB instance for transitional soy proto support:
4241
4436
  * http://goto/soy-param-migration
4242
- * @param {!proto.GetListVendorRequest} msg The msg instance to transform.
4437
+ * @param {!proto.UpdateVendorRequest} msg The msg instance to transform.
4243
4438
  * @return {!Object}
4244
4439
  * @suppress {unusedLocalVariables} f is only used for nested messages
4245
4440
  */
4246
- proto.GetListVendorRequest.toObject = function(includeInstance, msg) {
4441
+ proto.UpdateVendorRequest.toObject = function(includeInstance, msg) {
4247
4442
  var f, obj = {
4248
- pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
4249
- query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
4443
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4444
+ baseVendor: (f = msg.getBaseVendor()) && proto.BaseVendorRequest.toObject(includeInstance, f)
4250
4445
  };
4251
4446
 
4252
4447
  if (includeInstance) {
@@ -4260,23 +4455,23 @@ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObj
4260
4455
  /**
4261
4456
  * Deserializes binary data (in protobuf wire format).
4262
4457
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4263
- * @return {!proto.GetListVendorRequest}
4458
+ * @return {!proto.UpdateVendorRequest}
4264
4459
  */
4265
- proto.GetListVendorRequest.deserializeBinary = function(bytes) {
4460
+ proto.UpdateVendorRequest.deserializeBinary = function(bytes) {
4266
4461
  var reader = new jspb.BinaryReader(bytes);
4267
- var msg = new proto.GetListVendorRequest;
4268
- return proto.GetListVendorRequest.deserializeBinaryFromReader(msg, reader);
4462
+ var msg = new proto.UpdateVendorRequest;
4463
+ return proto.UpdateVendorRequest.deserializeBinaryFromReader(msg, reader);
4269
4464
  };
4270
4465
 
4271
4466
 
4272
4467
  /**
4273
4468
  * Deserializes binary data (in protobuf wire format) from the
4274
4469
  * given reader into the given message object.
4275
- * @param {!proto.GetListVendorRequest} msg The message object to deserialize into.
4470
+ * @param {!proto.UpdateVendorRequest} msg The message object to deserialize into.
4276
4471
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4277
- * @return {!proto.GetListVendorRequest}
4472
+ * @return {!proto.UpdateVendorRequest}
4278
4473
  */
4279
- proto.GetListVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
4474
+ proto.UpdateVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
4280
4475
  while (reader.nextField()) {
4281
4476
  if (reader.isEndGroup()) {
4282
4477
  break;
@@ -4284,14 +4479,13 @@ proto.GetListVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
4284
4479
  var field = reader.getFieldNumber();
4285
4480
  switch (field) {
4286
4481
  case 1:
4287
- var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
4288
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
4289
- msg.setPagination(value);
4482
+ var value = /** @type {string} */ (reader.readString());
4483
+ msg.setReferencesId(value);
4290
4484
  break;
4291
4485
  case 2:
4292
- var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
4293
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
4294
- msg.setQuery(value);
4486
+ var value = new proto.BaseVendorRequest;
4487
+ reader.readMessage(value,proto.BaseVendorRequest.deserializeBinaryFromReader);
4488
+ msg.setBaseVendor(value);
4295
4489
  break;
4296
4490
  default:
4297
4491
  reader.skipField();
@@ -4306,9 +4500,9 @@ proto.GetListVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
4306
4500
  * Serializes the message to binary data (in protobuf wire format).
4307
4501
  * @return {!Uint8Array}
4308
4502
  */
4309
- proto.GetListVendorRequest.prototype.serializeBinary = function() {
4503
+ proto.UpdateVendorRequest.prototype.serializeBinary = function() {
4310
4504
  var writer = new jspb.BinaryWriter();
4311
- proto.GetListVendorRequest.serializeBinaryToWriter(this, writer);
4505
+ proto.UpdateVendorRequest.serializeBinaryToWriter(this, writer);
4312
4506
  return writer.getResultBuffer();
4313
4507
  };
4314
4508
 
@@ -4316,37 +4510,219 @@ proto.GetListVendorRequest.prototype.serializeBinary = function() {
4316
4510
  /**
4317
4511
  * Serializes the given message to binary data (in protobuf wire
4318
4512
  * format), writing to the given BinaryWriter.
4319
- * @param {!proto.GetListVendorRequest} message
4513
+ * @param {!proto.UpdateVendorRequest} message
4320
4514
  * @param {!jspb.BinaryWriter} writer
4321
4515
  * @suppress {unusedLocalVariables} f is only used for nested messages
4322
4516
  */
4323
- proto.GetListVendorRequest.serializeBinaryToWriter = function(message, writer) {
4517
+ proto.UpdateVendorRequest.serializeBinaryToWriter = function(message, writer) {
4324
4518
  var f = undefined;
4325
- f = message.getPagination();
4326
- if (f != null) {
4327
- writer.writeMessage(
4519
+ f = message.getReferencesId();
4520
+ if (f.length > 0) {
4521
+ writer.writeString(
4328
4522
  1,
4329
- f,
4330
- prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
4523
+ f
4331
4524
  );
4332
4525
  }
4333
- f = message.getQuery();
4526
+ f = message.getBaseVendor();
4334
4527
  if (f != null) {
4335
4528
  writer.writeMessage(
4336
4529
  2,
4337
4530
  f,
4338
- prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
4531
+ proto.BaseVendorRequest.serializeBinaryToWriter
4339
4532
  );
4340
4533
  }
4341
4534
  };
4342
4535
 
4343
4536
 
4344
4537
  /**
4345
- * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
4346
- * @return {?proto.prisca.v1.global.meta.PaginationRequest}
4538
+ * optional string references_id = 1;
4539
+ * @return {string}
4347
4540
  */
4348
- proto.GetListVendorRequest.prototype.getPagination = function() {
4349
- return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
4541
+ proto.UpdateVendorRequest.prototype.getReferencesId = function() {
4542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4543
+ };
4544
+
4545
+
4546
+ /**
4547
+ * @param {string} value
4548
+ * @return {!proto.UpdateVendorRequest} returns this
4549
+ */
4550
+ proto.UpdateVendorRequest.prototype.setReferencesId = function(value) {
4551
+ return jspb.Message.setProto3StringField(this, 1, value);
4552
+ };
4553
+
4554
+
4555
+ /**
4556
+ * optional BaseVendorRequest base_vendor = 2;
4557
+ * @return {?proto.BaseVendorRequest}
4558
+ */
4559
+ proto.UpdateVendorRequest.prototype.getBaseVendor = function() {
4560
+ return /** @type{?proto.BaseVendorRequest} */ (
4561
+ jspb.Message.getWrapperField(this, proto.BaseVendorRequest, 2));
4562
+ };
4563
+
4564
+
4565
+ /**
4566
+ * @param {?proto.BaseVendorRequest|undefined} value
4567
+ * @return {!proto.UpdateVendorRequest} returns this
4568
+ */
4569
+ proto.UpdateVendorRequest.prototype.setBaseVendor = function(value) {
4570
+ return jspb.Message.setWrapperField(this, 2, value);
4571
+ };
4572
+
4573
+
4574
+ /**
4575
+ * Clears the message field making it undefined.
4576
+ * @return {!proto.UpdateVendorRequest} returns this
4577
+ */
4578
+ proto.UpdateVendorRequest.prototype.clearBaseVendor = function() {
4579
+ return this.setBaseVendor(undefined);
4580
+ };
4581
+
4582
+
4583
+ /**
4584
+ * Returns whether this field is set.
4585
+ * @return {boolean}
4586
+ */
4587
+ proto.UpdateVendorRequest.prototype.hasBaseVendor = function() {
4588
+ return jspb.Message.getField(this, 2) != null;
4589
+ };
4590
+
4591
+
4592
+
4593
+
4594
+
4595
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4596
+ /**
4597
+ * Creates an object representation of this proto.
4598
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4599
+ * Optional fields that are not set will be set to undefined.
4600
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4601
+ * For the list of reserved names please see:
4602
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4603
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4604
+ * JSPB instance for transitional soy proto support:
4605
+ * http://goto/soy-param-migration
4606
+ * @return {!Object}
4607
+ */
4608
+ proto.GetListVendorRequest.prototype.toObject = function(opt_includeInstance) {
4609
+ return proto.GetListVendorRequest.toObject(opt_includeInstance, this);
4610
+ };
4611
+
4612
+
4613
+ /**
4614
+ * Static version of the {@see toObject} method.
4615
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4616
+ * the JSPB instance for transitional soy proto support:
4617
+ * http://goto/soy-param-migration
4618
+ * @param {!proto.GetListVendorRequest} msg The msg instance to transform.
4619
+ * @return {!Object}
4620
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4621
+ */
4622
+ proto.GetListVendorRequest.toObject = function(includeInstance, msg) {
4623
+ var f, obj = {
4624
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
4625
+ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
4626
+ };
4627
+
4628
+ if (includeInstance) {
4629
+ obj.$jspbMessageInstance = msg;
4630
+ }
4631
+ return obj;
4632
+ };
4633
+ }
4634
+
4635
+
4636
+ /**
4637
+ * Deserializes binary data (in protobuf wire format).
4638
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4639
+ * @return {!proto.GetListVendorRequest}
4640
+ */
4641
+ proto.GetListVendorRequest.deserializeBinary = function(bytes) {
4642
+ var reader = new jspb.BinaryReader(bytes);
4643
+ var msg = new proto.GetListVendorRequest;
4644
+ return proto.GetListVendorRequest.deserializeBinaryFromReader(msg, reader);
4645
+ };
4646
+
4647
+
4648
+ /**
4649
+ * Deserializes binary data (in protobuf wire format) from the
4650
+ * given reader into the given message object.
4651
+ * @param {!proto.GetListVendorRequest} msg The message object to deserialize into.
4652
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4653
+ * @return {!proto.GetListVendorRequest}
4654
+ */
4655
+ proto.GetListVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
4656
+ while (reader.nextField()) {
4657
+ if (reader.isEndGroup()) {
4658
+ break;
4659
+ }
4660
+ var field = reader.getFieldNumber();
4661
+ switch (field) {
4662
+ case 1:
4663
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
4664
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
4665
+ msg.setPagination(value);
4666
+ break;
4667
+ case 2:
4668
+ var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
4669
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
4670
+ msg.setQuery(value);
4671
+ break;
4672
+ default:
4673
+ reader.skipField();
4674
+ break;
4675
+ }
4676
+ }
4677
+ return msg;
4678
+ };
4679
+
4680
+
4681
+ /**
4682
+ * Serializes the message to binary data (in protobuf wire format).
4683
+ * @return {!Uint8Array}
4684
+ */
4685
+ proto.GetListVendorRequest.prototype.serializeBinary = function() {
4686
+ var writer = new jspb.BinaryWriter();
4687
+ proto.GetListVendorRequest.serializeBinaryToWriter(this, writer);
4688
+ return writer.getResultBuffer();
4689
+ };
4690
+
4691
+
4692
+ /**
4693
+ * Serializes the given message to binary data (in protobuf wire
4694
+ * format), writing to the given BinaryWriter.
4695
+ * @param {!proto.GetListVendorRequest} message
4696
+ * @param {!jspb.BinaryWriter} writer
4697
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4698
+ */
4699
+ proto.GetListVendorRequest.serializeBinaryToWriter = function(message, writer) {
4700
+ var f = undefined;
4701
+ f = message.getPagination();
4702
+ if (f != null) {
4703
+ writer.writeMessage(
4704
+ 1,
4705
+ f,
4706
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
4707
+ );
4708
+ }
4709
+ f = message.getQuery();
4710
+ if (f != null) {
4711
+ writer.writeMessage(
4712
+ 2,
4713
+ f,
4714
+ prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
4715
+ );
4716
+ }
4717
+ };
4718
+
4719
+
4720
+ /**
4721
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
4722
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
4723
+ */
4724
+ proto.GetListVendorRequest.prototype.getPagination = function() {
4725
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
4350
4726
  jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
4351
4727
  };
4352
4728
 
@@ -5912,17 +6288,17 @@ proto.GetVendorDetailResponse.serializeBinaryToWriter = function(message, writer
5912
6288
 
5913
6289
 
5914
6290
  /**
5915
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
5916
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
6291
+ * repeated TransactionBuilderFieldsDetail transaction_builder = 1;
6292
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
5917
6293
  */
5918
6294
  proto.GetVendorDetailResponse.prototype.getTransactionBuilderList = function() {
5919
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
6295
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
5920
6296
  jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
5921
6297
  };
5922
6298
 
5923
6299
 
5924
6300
  /**
5925
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
6301
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
5926
6302
  * @return {!proto.GetVendorDetailResponse} returns this
5927
6303
  */
5928
6304
  proto.GetVendorDetailResponse.prototype.setTransactionBuilderList = function(value) {
@@ -5931,12 +6307,12 @@ proto.GetVendorDetailResponse.prototype.setTransactionBuilderList = function(val
5931
6307
 
5932
6308
 
5933
6309
  /**
5934
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
6310
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
5935
6311
  * @param {number=} opt_index
5936
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
6312
+ * @return {!proto.TransactionBuilderFieldsDetail}
5937
6313
  */
5938
6314
  proto.GetVendorDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
5939
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
6315
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
5940
6316
  };
5941
6317
 
5942
6318
 
@@ -6125,17 +6501,17 @@ proto.GetVendorItemPreload.serializeBinaryToWriter = function(message, writer) {
6125
6501
 
6126
6502
 
6127
6503
  /**
6128
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item = 1;
6129
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
6504
+ * repeated TransactionBuilderFieldsDetail transaction_builder_item = 1;
6505
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
6130
6506
  */
6131
6507
  proto.GetVendorItemPreload.prototype.getTransactionBuilderItemList = function() {
6132
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
6508
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
6133
6509
  jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
6134
6510
  };
6135
6511
 
6136
6512
 
6137
6513
  /**
6138
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
6514
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
6139
6515
  * @return {!proto.GetVendorItemPreload} returns this
6140
6516
  */
6141
6517
  proto.GetVendorItemPreload.prototype.setTransactionBuilderItemList = function(value) {
@@ -6144,12 +6520,12 @@ proto.GetVendorItemPreload.prototype.setTransactionBuilderItemList = function(va
6144
6520
 
6145
6521
 
6146
6522
  /**
6147
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
6523
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
6148
6524
  * @param {number=} opt_index
6149
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
6525
+ * @return {!proto.TransactionBuilderFieldsDetail}
6150
6526
  */
6151
6527
  proto.GetVendorItemPreload.prototype.addTransactionBuilderItem = function(opt_value, opt_index) {
6152
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
6528
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
6153
6529
  };
6154
6530
 
6155
6531
 
@@ -6323,17 +6699,17 @@ proto.GetVendorItemDetailPreload.serializeBinaryToWriter = function(message, wri
6323
6699
 
6324
6700
 
6325
6701
  /**
6326
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
6327
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
6702
+ * repeated TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
6703
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
6328
6704
  */
6329
6705
  proto.GetVendorItemDetailPreload.prototype.getTransactionBuilderItemDetailList = function() {
6330
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
6706
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
6331
6707
  jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
6332
6708
  };
6333
6709
 
6334
6710
 
6335
6711
  /**
6336
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
6712
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
6337
6713
  * @return {!proto.GetVendorItemDetailPreload} returns this
6338
6714
  */
6339
6715
  proto.GetVendorItemDetailPreload.prototype.setTransactionBuilderItemDetailList = function(value) {
@@ -6342,12 +6718,12 @@ proto.GetVendorItemDetailPreload.prototype.setTransactionBuilderItemDetailList =
6342
6718
 
6343
6719
 
6344
6720
  /**
6345
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
6721
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
6346
6722
  * @param {number=} opt_index
6347
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
6723
+ * @return {!proto.TransactionBuilderFieldsDetail}
6348
6724
  */
6349
6725
  proto.GetVendorItemDetailPreload.prototype.addTransactionBuilderItemDetail = function(opt_value, opt_index) {
6350
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
6726
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
6351
6727
  };
6352
6728
 
6353
6729
 
@@ -6360,4 +6736,387 @@ proto.GetVendorItemDetailPreload.prototype.clearTransactionBuilderItemDetailList
6360
6736
  };
6361
6737
 
6362
6738
 
6739
+
6740
+
6741
+
6742
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6743
+ /**
6744
+ * Creates an object representation of this proto.
6745
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6746
+ * Optional fields that are not set will be set to undefined.
6747
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6748
+ * For the list of reserved names please see:
6749
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6750
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6751
+ * JSPB instance for transitional soy proto support:
6752
+ * http://goto/soy-param-migration
6753
+ * @return {!Object}
6754
+ */
6755
+ proto.RegisterVendorRequest.prototype.toObject = function(opt_includeInstance) {
6756
+ return proto.RegisterVendorRequest.toObject(opt_includeInstance, this);
6757
+ };
6758
+
6759
+
6760
+ /**
6761
+ * Static version of the {@see toObject} method.
6762
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6763
+ * the JSPB instance for transitional soy proto support:
6764
+ * http://goto/soy-param-migration
6765
+ * @param {!proto.RegisterVendorRequest} msg The msg instance to transform.
6766
+ * @return {!Object}
6767
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6768
+ */
6769
+ proto.RegisterVendorRequest.toObject = function(includeInstance, msg) {
6770
+ var f, obj = {
6771
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
6772
+ baseVendor: (f = msg.getBaseVendor()) && proto.BaseVendorRequest.toObject(includeInstance, f)
6773
+ };
6774
+
6775
+ if (includeInstance) {
6776
+ obj.$jspbMessageInstance = msg;
6777
+ }
6778
+ return obj;
6779
+ };
6780
+ }
6781
+
6782
+
6783
+ /**
6784
+ * Deserializes binary data (in protobuf wire format).
6785
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6786
+ * @return {!proto.RegisterVendorRequest}
6787
+ */
6788
+ proto.RegisterVendorRequest.deserializeBinary = function(bytes) {
6789
+ var reader = new jspb.BinaryReader(bytes);
6790
+ var msg = new proto.RegisterVendorRequest;
6791
+ return proto.RegisterVendorRequest.deserializeBinaryFromReader(msg, reader);
6792
+ };
6793
+
6794
+
6795
+ /**
6796
+ * Deserializes binary data (in protobuf wire format) from the
6797
+ * given reader into the given message object.
6798
+ * @param {!proto.RegisterVendorRequest} msg The message object to deserialize into.
6799
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6800
+ * @return {!proto.RegisterVendorRequest}
6801
+ */
6802
+ proto.RegisterVendorRequest.deserializeBinaryFromReader = function(msg, reader) {
6803
+ while (reader.nextField()) {
6804
+ if (reader.isEndGroup()) {
6805
+ break;
6806
+ }
6807
+ var field = reader.getFieldNumber();
6808
+ switch (field) {
6809
+ case 1:
6810
+ var value = /** @type {string} */ (reader.readString());
6811
+ msg.setCompaniesReferencesId(value);
6812
+ break;
6813
+ case 2:
6814
+ var value = new proto.BaseVendorRequest;
6815
+ reader.readMessage(value,proto.BaseVendorRequest.deserializeBinaryFromReader);
6816
+ msg.setBaseVendor(value);
6817
+ break;
6818
+ default:
6819
+ reader.skipField();
6820
+ break;
6821
+ }
6822
+ }
6823
+ return msg;
6824
+ };
6825
+
6826
+
6827
+ /**
6828
+ * Serializes the message to binary data (in protobuf wire format).
6829
+ * @return {!Uint8Array}
6830
+ */
6831
+ proto.RegisterVendorRequest.prototype.serializeBinary = function() {
6832
+ var writer = new jspb.BinaryWriter();
6833
+ proto.RegisterVendorRequest.serializeBinaryToWriter(this, writer);
6834
+ return writer.getResultBuffer();
6835
+ };
6836
+
6837
+
6838
+ /**
6839
+ * Serializes the given message to binary data (in protobuf wire
6840
+ * format), writing to the given BinaryWriter.
6841
+ * @param {!proto.RegisterVendorRequest} message
6842
+ * @param {!jspb.BinaryWriter} writer
6843
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6844
+ */
6845
+ proto.RegisterVendorRequest.serializeBinaryToWriter = function(message, writer) {
6846
+ var f = undefined;
6847
+ f = message.getCompaniesReferencesId();
6848
+ if (f.length > 0) {
6849
+ writer.writeString(
6850
+ 1,
6851
+ f
6852
+ );
6853
+ }
6854
+ f = message.getBaseVendor();
6855
+ if (f != null) {
6856
+ writer.writeMessage(
6857
+ 2,
6858
+ f,
6859
+ proto.BaseVendorRequest.serializeBinaryToWriter
6860
+ );
6861
+ }
6862
+ };
6863
+
6864
+
6865
+ /**
6866
+ * optional string companies_references_id = 1;
6867
+ * @return {string}
6868
+ */
6869
+ proto.RegisterVendorRequest.prototype.getCompaniesReferencesId = function() {
6870
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6871
+ };
6872
+
6873
+
6874
+ /**
6875
+ * @param {string} value
6876
+ * @return {!proto.RegisterVendorRequest} returns this
6877
+ */
6878
+ proto.RegisterVendorRequest.prototype.setCompaniesReferencesId = function(value) {
6879
+ return jspb.Message.setProto3StringField(this, 1, value);
6880
+ };
6881
+
6882
+
6883
+ /**
6884
+ * optional BaseVendorRequest base_vendor = 2;
6885
+ * @return {?proto.BaseVendorRequest}
6886
+ */
6887
+ proto.RegisterVendorRequest.prototype.getBaseVendor = function() {
6888
+ return /** @type{?proto.BaseVendorRequest} */ (
6889
+ jspb.Message.getWrapperField(this, proto.BaseVendorRequest, 2));
6890
+ };
6891
+
6892
+
6893
+ /**
6894
+ * @param {?proto.BaseVendorRequest|undefined} value
6895
+ * @return {!proto.RegisterVendorRequest} returns this
6896
+ */
6897
+ proto.RegisterVendorRequest.prototype.setBaseVendor = function(value) {
6898
+ return jspb.Message.setWrapperField(this, 2, value);
6899
+ };
6900
+
6901
+
6902
+ /**
6903
+ * Clears the message field making it undefined.
6904
+ * @return {!proto.RegisterVendorRequest} returns this
6905
+ */
6906
+ proto.RegisterVendorRequest.prototype.clearBaseVendor = function() {
6907
+ return this.setBaseVendor(undefined);
6908
+ };
6909
+
6910
+
6911
+ /**
6912
+ * Returns whether this field is set.
6913
+ * @return {boolean}
6914
+ */
6915
+ proto.RegisterVendorRequest.prototype.hasBaseVendor = function() {
6916
+ return jspb.Message.getField(this, 2) != null;
6917
+ };
6918
+
6919
+
6920
+
6921
+
6922
+
6923
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6924
+ /**
6925
+ * Creates an object representation of this proto.
6926
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6927
+ * Optional fields that are not set will be set to undefined.
6928
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6929
+ * For the list of reserved names please see:
6930
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6931
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6932
+ * JSPB instance for transitional soy proto support:
6933
+ * http://goto/soy-param-migration
6934
+ * @return {!Object}
6935
+ */
6936
+ proto.RegisterVendorResponse.prototype.toObject = function(opt_includeInstance) {
6937
+ return proto.RegisterVendorResponse.toObject(opt_includeInstance, this);
6938
+ };
6939
+
6940
+
6941
+ /**
6942
+ * Static version of the {@see toObject} method.
6943
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6944
+ * the JSPB instance for transitional soy proto support:
6945
+ * http://goto/soy-param-migration
6946
+ * @param {!proto.RegisterVendorResponse} msg The msg instance to transform.
6947
+ * @return {!Object}
6948
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6949
+ */
6950
+ proto.RegisterVendorResponse.toObject = function(includeInstance, msg) {
6951
+ var f, obj = {
6952
+ vendor: (f = msg.getVendor()) && proto.Vendor.toObject(includeInstance, f),
6953
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
6954
+ };
6955
+
6956
+ if (includeInstance) {
6957
+ obj.$jspbMessageInstance = msg;
6958
+ }
6959
+ return obj;
6960
+ };
6961
+ }
6962
+
6963
+
6964
+ /**
6965
+ * Deserializes binary data (in protobuf wire format).
6966
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6967
+ * @return {!proto.RegisterVendorResponse}
6968
+ */
6969
+ proto.RegisterVendorResponse.deserializeBinary = function(bytes) {
6970
+ var reader = new jspb.BinaryReader(bytes);
6971
+ var msg = new proto.RegisterVendorResponse;
6972
+ return proto.RegisterVendorResponse.deserializeBinaryFromReader(msg, reader);
6973
+ };
6974
+
6975
+
6976
+ /**
6977
+ * Deserializes binary data (in protobuf wire format) from the
6978
+ * given reader into the given message object.
6979
+ * @param {!proto.RegisterVendorResponse} msg The message object to deserialize into.
6980
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6981
+ * @return {!proto.RegisterVendorResponse}
6982
+ */
6983
+ proto.RegisterVendorResponse.deserializeBinaryFromReader = function(msg, reader) {
6984
+ while (reader.nextField()) {
6985
+ if (reader.isEndGroup()) {
6986
+ break;
6987
+ }
6988
+ var field = reader.getFieldNumber();
6989
+ switch (field) {
6990
+ case 1:
6991
+ var value = new proto.Vendor;
6992
+ reader.readMessage(value,proto.Vendor.deserializeBinaryFromReader);
6993
+ msg.setVendor(value);
6994
+ break;
6995
+ case 2:
6996
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
6997
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
6998
+ msg.setMeta(value);
6999
+ break;
7000
+ default:
7001
+ reader.skipField();
7002
+ break;
7003
+ }
7004
+ }
7005
+ return msg;
7006
+ };
7007
+
7008
+
7009
+ /**
7010
+ * Serializes the message to binary data (in protobuf wire format).
7011
+ * @return {!Uint8Array}
7012
+ */
7013
+ proto.RegisterVendorResponse.prototype.serializeBinary = function() {
7014
+ var writer = new jspb.BinaryWriter();
7015
+ proto.RegisterVendorResponse.serializeBinaryToWriter(this, writer);
7016
+ return writer.getResultBuffer();
7017
+ };
7018
+
7019
+
7020
+ /**
7021
+ * Serializes the given message to binary data (in protobuf wire
7022
+ * format), writing to the given BinaryWriter.
7023
+ * @param {!proto.RegisterVendorResponse} message
7024
+ * @param {!jspb.BinaryWriter} writer
7025
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7026
+ */
7027
+ proto.RegisterVendorResponse.serializeBinaryToWriter = function(message, writer) {
7028
+ var f = undefined;
7029
+ f = message.getVendor();
7030
+ if (f != null) {
7031
+ writer.writeMessage(
7032
+ 1,
7033
+ f,
7034
+ proto.Vendor.serializeBinaryToWriter
7035
+ );
7036
+ }
7037
+ f = message.getMeta();
7038
+ if (f != null) {
7039
+ writer.writeMessage(
7040
+ 2,
7041
+ f,
7042
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
7043
+ );
7044
+ }
7045
+ };
7046
+
7047
+
7048
+ /**
7049
+ * optional Vendor vendor = 1;
7050
+ * @return {?proto.Vendor}
7051
+ */
7052
+ proto.RegisterVendorResponse.prototype.getVendor = function() {
7053
+ return /** @type{?proto.Vendor} */ (
7054
+ jspb.Message.getWrapperField(this, proto.Vendor, 1));
7055
+ };
7056
+
7057
+
7058
+ /**
7059
+ * @param {?proto.Vendor|undefined} value
7060
+ * @return {!proto.RegisterVendorResponse} returns this
7061
+ */
7062
+ proto.RegisterVendorResponse.prototype.setVendor = function(value) {
7063
+ return jspb.Message.setWrapperField(this, 1, value);
7064
+ };
7065
+
7066
+
7067
+ /**
7068
+ * Clears the message field making it undefined.
7069
+ * @return {!proto.RegisterVendorResponse} returns this
7070
+ */
7071
+ proto.RegisterVendorResponse.prototype.clearVendor = function() {
7072
+ return this.setVendor(undefined);
7073
+ };
7074
+
7075
+
7076
+ /**
7077
+ * Returns whether this field is set.
7078
+ * @return {boolean}
7079
+ */
7080
+ proto.RegisterVendorResponse.prototype.hasVendor = function() {
7081
+ return jspb.Message.getField(this, 1) != null;
7082
+ };
7083
+
7084
+
7085
+ /**
7086
+ * optional prisca.v1.global.meta.Meta meta = 2;
7087
+ * @return {?proto.prisca.v1.global.meta.Meta}
7088
+ */
7089
+ proto.RegisterVendorResponse.prototype.getMeta = function() {
7090
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
7091
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
7092
+ };
7093
+
7094
+
7095
+ /**
7096
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
7097
+ * @return {!proto.RegisterVendorResponse} returns this
7098
+ */
7099
+ proto.RegisterVendorResponse.prototype.setMeta = function(value) {
7100
+ return jspb.Message.setWrapperField(this, 2, value);
7101
+ };
7102
+
7103
+
7104
+ /**
7105
+ * Clears the message field making it undefined.
7106
+ * @return {!proto.RegisterVendorResponse} returns this
7107
+ */
7108
+ proto.RegisterVendorResponse.prototype.clearMeta = function() {
7109
+ return this.setMeta(undefined);
7110
+ };
7111
+
7112
+
7113
+ /**
7114
+ * Returns whether this field is set.
7115
+ * @return {boolean}
7116
+ */
7117
+ proto.RegisterVendorResponse.prototype.hasMeta = function() {
7118
+ return jspb.Message.getField(this, 2) != null;
7119
+ };
7120
+
7121
+
6363
7122
  goog.object.extend(exports, proto);