@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
@@ -120,6 +120,28 @@ function deserialize_UpdateRequestForQuotationStatusReq(buffer_arg) {
120
120
  return prisca_v1_request_for_quotation_request_for_quotation_pb.UpdateRequestForQuotationStatusReq.deserializeBinary(new Uint8Array(buffer_arg));
121
121
  }
122
122
 
123
+ function serialize_UpdateRequestForQuotationVendorReq(arg) {
124
+ if (!(arg instanceof prisca_v1_request_for_quotation_request_for_quotation_pb.UpdateRequestForQuotationVendorReq)) {
125
+ throw new Error('Expected argument of type UpdateRequestForQuotationVendorReq');
126
+ }
127
+ return Buffer.from(arg.serializeBinary());
128
+ }
129
+
130
+ function deserialize_UpdateRequestForQuotationVendorReq(buffer_arg) {
131
+ return prisca_v1_request_for_quotation_request_for_quotation_pb.UpdateRequestForQuotationVendorReq.deserializeBinary(new Uint8Array(buffer_arg));
132
+ }
133
+
134
+ function serialize_UpdateRequestForQuotationVendorRes(arg) {
135
+ if (!(arg instanceof prisca_v1_request_for_quotation_request_for_quotation_pb.UpdateRequestForQuotationVendorRes)) {
136
+ throw new Error('Expected argument of type UpdateRequestForQuotationVendorRes');
137
+ }
138
+ return Buffer.from(arg.serializeBinary());
139
+ }
140
+
141
+ function deserialize_UpdateRequestForQuotationVendorRes(buffer_arg) {
142
+ return prisca_v1_request_for_quotation_request_for_quotation_pb.UpdateRequestForQuotationVendorRes.deserializeBinary(new Uint8Array(buffer_arg));
143
+ }
144
+
123
145
 
124
146
  var RequestForQuotationServiceService = exports.RequestForQuotationServiceService = {
125
147
  createRFQ: {
@@ -188,6 +210,17 @@ var RequestForQuotationServiceService = exports.RequestForQuotationServiceServic
188
210
  responseSerialize: serialize_UpdateRFQResponse,
189
211
  responseDeserialize: deserialize_UpdateRFQResponse,
190
212
  },
213
+ updateRFQVendor: {
214
+ path: '/RequestForQuotationService/UpdateRFQVendor',
215
+ requestStream: false,
216
+ responseStream: false,
217
+ requestType: prisca_v1_request_for_quotation_request_for_quotation_pb.UpdateRequestForQuotationVendorReq,
218
+ responseType: prisca_v1_request_for_quotation_request_for_quotation_pb.UpdateRequestForQuotationVendorRes,
219
+ requestSerialize: serialize_UpdateRequestForQuotationVendorReq,
220
+ requestDeserialize: deserialize_UpdateRequestForQuotationVendorReq,
221
+ responseSerialize: serialize_UpdateRequestForQuotationVendorRes,
222
+ responseDeserialize: deserialize_UpdateRequestForQuotationVendorRes,
223
+ },
191
224
  };
192
225
 
193
226
  exports.RequestForQuotationServiceClient = grpc.makeGenericClientConstructor(RequestForQuotationServiceService, 'RequestForQuotationService');
@@ -51,6 +51,8 @@ goog.exportSymbol('proto.ResponseRFQ', null, global);
51
51
  goog.exportSymbol('proto.UpdateRFQ', null, global);
52
52
  goog.exportSymbol('proto.UpdateRFQResponse', null, global);
53
53
  goog.exportSymbol('proto.UpdateRequestForQuotationStatusReq', null, global);
54
+ goog.exportSymbol('proto.UpdateRequestForQuotationVendorReq', null, global);
55
+ goog.exportSymbol('proto.UpdateRequestForQuotationVendorRes', null, global);
54
56
  /**
55
57
  * Generated by JsPbCodeGenerator.
56
58
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -429,6 +431,48 @@ if (goog.DEBUG && !COMPILED) {
429
431
  */
430
432
  proto.GetRFQItemDetailPreload.displayName = 'proto.GetRFQItemDetailPreload';
431
433
  }
434
+ /**
435
+ * Generated by JsPbCodeGenerator.
436
+ * @param {Array=} opt_data Optional initial data array, typically from a
437
+ * server response, or constructed directly in Javascript. The array is used
438
+ * in place and becomes part of the constructed object. It is not cloned.
439
+ * If no data is provided, the constructed object will be empty, but still
440
+ * valid.
441
+ * @extends {jspb.Message}
442
+ * @constructor
443
+ */
444
+ proto.UpdateRequestForQuotationVendorReq = function(opt_data) {
445
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
446
+ };
447
+ goog.inherits(proto.UpdateRequestForQuotationVendorReq, jspb.Message);
448
+ if (goog.DEBUG && !COMPILED) {
449
+ /**
450
+ * @public
451
+ * @override
452
+ */
453
+ proto.UpdateRequestForQuotationVendorReq.displayName = 'proto.UpdateRequestForQuotationVendorReq';
454
+ }
455
+ /**
456
+ * Generated by JsPbCodeGenerator.
457
+ * @param {Array=} opt_data Optional initial data array, typically from a
458
+ * server response, or constructed directly in Javascript. The array is used
459
+ * in place and becomes part of the constructed object. It is not cloned.
460
+ * If no data is provided, the constructed object will be empty, but still
461
+ * valid.
462
+ * @extends {jspb.Message}
463
+ * @constructor
464
+ */
465
+ proto.UpdateRequestForQuotationVendorRes = function(opt_data) {
466
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
467
+ };
468
+ goog.inherits(proto.UpdateRequestForQuotationVendorRes, jspb.Message);
469
+ if (goog.DEBUG && !COMPILED) {
470
+ /**
471
+ * @public
472
+ * @override
473
+ */
474
+ proto.UpdateRequestForQuotationVendorRes.displayName = 'proto.UpdateRequestForQuotationVendorRes';
475
+ }
432
476
 
433
477
 
434
478
 
@@ -5312,17 +5356,17 @@ proto.GetRFQDetailResponse.serializeBinaryToWriter = function(message, writer) {
5312
5356
 
5313
5357
 
5314
5358
  /**
5315
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
5316
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
5359
+ * repeated TransactionBuilderFieldsDetail transaction_builder = 1;
5360
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
5317
5361
  */
5318
5362
  proto.GetRFQDetailResponse.prototype.getTransactionBuilderList = function() {
5319
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
5363
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
5320
5364
  jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
5321
5365
  };
5322
5366
 
5323
5367
 
5324
5368
  /**
5325
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
5369
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
5326
5370
  * @return {!proto.GetRFQDetailResponse} returns this
5327
5371
  */
5328
5372
  proto.GetRFQDetailResponse.prototype.setTransactionBuilderList = function(value) {
@@ -5331,12 +5375,12 @@ proto.GetRFQDetailResponse.prototype.setTransactionBuilderList = function(value)
5331
5375
 
5332
5376
 
5333
5377
  /**
5334
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
5378
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
5335
5379
  * @param {number=} opt_index
5336
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
5380
+ * @return {!proto.TransactionBuilderFieldsDetail}
5337
5381
  */
5338
5382
  proto.GetRFQDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
5339
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
5383
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
5340
5384
  };
5341
5385
 
5342
5386
 
@@ -5563,17 +5607,17 @@ proto.GetRFQItemPreload.serializeBinaryToWriter = function(message, writer) {
5563
5607
 
5564
5608
 
5565
5609
  /**
5566
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item = 1;
5567
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
5610
+ * repeated TransactionBuilderFieldsDetail transaction_builder_item = 1;
5611
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
5568
5612
  */
5569
5613
  proto.GetRFQItemPreload.prototype.getTransactionBuilderItemList = function() {
5570
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
5614
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
5571
5615
  jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
5572
5616
  };
5573
5617
 
5574
5618
 
5575
5619
  /**
5576
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
5620
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
5577
5621
  * @return {!proto.GetRFQItemPreload} returns this
5578
5622
  */
5579
5623
  proto.GetRFQItemPreload.prototype.setTransactionBuilderItemList = function(value) {
@@ -5582,12 +5626,12 @@ proto.GetRFQItemPreload.prototype.setTransactionBuilderItemList = function(value
5582
5626
 
5583
5627
 
5584
5628
  /**
5585
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
5629
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
5586
5630
  * @param {number=} opt_index
5587
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
5631
+ * @return {!proto.TransactionBuilderFieldsDetail}
5588
5632
  */
5589
5633
  proto.GetRFQItemPreload.prototype.addTransactionBuilderItem = function(opt_value, opt_index) {
5590
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
5634
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
5591
5635
  };
5592
5636
 
5593
5637
 
@@ -5761,17 +5805,17 @@ proto.GetRFQVendorPreload.serializeBinaryToWriter = function(message, writer) {
5761
5805
 
5762
5806
 
5763
5807
  /**
5764
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_vendor = 1;
5765
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
5808
+ * repeated TransactionBuilderFieldsDetail transaction_builder_vendor = 1;
5809
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
5766
5810
  */
5767
5811
  proto.GetRFQVendorPreload.prototype.getTransactionBuilderVendorList = function() {
5768
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
5812
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
5769
5813
  jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
5770
5814
  };
5771
5815
 
5772
5816
 
5773
5817
  /**
5774
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
5818
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
5775
5819
  * @return {!proto.GetRFQVendorPreload} returns this
5776
5820
  */
5777
5821
  proto.GetRFQVendorPreload.prototype.setTransactionBuilderVendorList = function(value) {
@@ -5780,12 +5824,12 @@ proto.GetRFQVendorPreload.prototype.setTransactionBuilderVendorList = function(v
5780
5824
 
5781
5825
 
5782
5826
  /**
5783
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
5827
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
5784
5828
  * @param {number=} opt_index
5785
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
5829
+ * @return {!proto.TransactionBuilderFieldsDetail}
5786
5830
  */
5787
5831
  proto.GetRFQVendorPreload.prototype.addTransactionBuilderVendor = function(opt_value, opt_index) {
5788
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
5832
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
5789
5833
  };
5790
5834
 
5791
5835
 
@@ -5921,17 +5965,17 @@ proto.GetRFQItemDetailPreload.serializeBinaryToWriter = function(message, writer
5921
5965
 
5922
5966
 
5923
5967
  /**
5924
- * repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
5925
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>}
5968
+ * repeated TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
5969
+ * @return {!Array<!proto.TransactionBuilderFieldsDetail>}
5926
5970
  */
5927
5971
  proto.GetRFQItemDetailPreload.prototype.getTransactionBuilderItemDetailList = function() {
5928
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} */ (
5972
+ return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
5929
5973
  jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
5930
5974
  };
5931
5975
 
5932
5976
 
5933
5977
  /**
5934
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail>} value
5978
+ * @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
5935
5979
  * @return {!proto.GetRFQItemDetailPreload} returns this
5936
5980
  */
5937
5981
  proto.GetRFQItemDetailPreload.prototype.setTransactionBuilderItemDetailList = function(value) {
@@ -5940,12 +5984,12 @@ proto.GetRFQItemDetailPreload.prototype.setTransactionBuilderItemDetailList = fu
5940
5984
 
5941
5985
 
5942
5986
  /**
5943
- * @param {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail=} opt_value
5987
+ * @param {!proto.TransactionBuilderFieldsDetail=} opt_value
5944
5988
  * @param {number=} opt_index
5945
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail}
5989
+ * @return {!proto.TransactionBuilderFieldsDetail}
5946
5990
  */
5947
5991
  proto.GetRFQItemDetailPreload.prototype.addTransactionBuilderItemDetail = function(opt_value, opt_index) {
5948
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail, opt_index);
5992
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
5949
5993
  };
5950
5994
 
5951
5995
 
@@ -5958,4 +6002,345 @@ proto.GetRFQItemDetailPreload.prototype.clearTransactionBuilderItemDetailList =
5958
6002
  };
5959
6003
 
5960
6004
 
6005
+
6006
+
6007
+
6008
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6009
+ /**
6010
+ * Creates an object representation of this proto.
6011
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6012
+ * Optional fields that are not set will be set to undefined.
6013
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6014
+ * For the list of reserved names please see:
6015
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6016
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6017
+ * JSPB instance for transitional soy proto support:
6018
+ * http://goto/soy-param-migration
6019
+ * @return {!Object}
6020
+ */
6021
+ proto.UpdateRequestForQuotationVendorReq.prototype.toObject = function(opt_includeInstance) {
6022
+ return proto.UpdateRequestForQuotationVendorReq.toObject(opt_includeInstance, this);
6023
+ };
6024
+
6025
+
6026
+ /**
6027
+ * Static version of the {@see toObject} method.
6028
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6029
+ * the JSPB instance for transitional soy proto support:
6030
+ * http://goto/soy-param-migration
6031
+ * @param {!proto.UpdateRequestForQuotationVendorReq} msg The msg instance to transform.
6032
+ * @return {!Object}
6033
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6034
+ */
6035
+ proto.UpdateRequestForQuotationVendorReq.toObject = function(includeInstance, msg) {
6036
+ var f, obj = {
6037
+ requestForQuotationReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
6038
+ vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
6039
+ isSendToVendor: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
6040
+ };
6041
+
6042
+ if (includeInstance) {
6043
+ obj.$jspbMessageInstance = msg;
6044
+ }
6045
+ return obj;
6046
+ };
6047
+ }
6048
+
6049
+
6050
+ /**
6051
+ * Deserializes binary data (in protobuf wire format).
6052
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6053
+ * @return {!proto.UpdateRequestForQuotationVendorReq}
6054
+ */
6055
+ proto.UpdateRequestForQuotationVendorReq.deserializeBinary = function(bytes) {
6056
+ var reader = new jspb.BinaryReader(bytes);
6057
+ var msg = new proto.UpdateRequestForQuotationVendorReq;
6058
+ return proto.UpdateRequestForQuotationVendorReq.deserializeBinaryFromReader(msg, reader);
6059
+ };
6060
+
6061
+
6062
+ /**
6063
+ * Deserializes binary data (in protobuf wire format) from the
6064
+ * given reader into the given message object.
6065
+ * @param {!proto.UpdateRequestForQuotationVendorReq} msg The message object to deserialize into.
6066
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6067
+ * @return {!proto.UpdateRequestForQuotationVendorReq}
6068
+ */
6069
+ proto.UpdateRequestForQuotationVendorReq.deserializeBinaryFromReader = function(msg, reader) {
6070
+ while (reader.nextField()) {
6071
+ if (reader.isEndGroup()) {
6072
+ break;
6073
+ }
6074
+ var field = reader.getFieldNumber();
6075
+ switch (field) {
6076
+ case 1:
6077
+ var value = /** @type {string} */ (reader.readString());
6078
+ msg.setRequestForQuotationReferencesId(value);
6079
+ break;
6080
+ case 2:
6081
+ var value = /** @type {string} */ (reader.readString());
6082
+ msg.setVendorReferencesId(value);
6083
+ break;
6084
+ case 3:
6085
+ var value = /** @type {boolean} */ (reader.readBool());
6086
+ msg.setIsSendToVendor(value);
6087
+ break;
6088
+ default:
6089
+ reader.skipField();
6090
+ break;
6091
+ }
6092
+ }
6093
+ return msg;
6094
+ };
6095
+
6096
+
6097
+ /**
6098
+ * Serializes the message to binary data (in protobuf wire format).
6099
+ * @return {!Uint8Array}
6100
+ */
6101
+ proto.UpdateRequestForQuotationVendorReq.prototype.serializeBinary = function() {
6102
+ var writer = new jspb.BinaryWriter();
6103
+ proto.UpdateRequestForQuotationVendorReq.serializeBinaryToWriter(this, writer);
6104
+ return writer.getResultBuffer();
6105
+ };
6106
+
6107
+
6108
+ /**
6109
+ * Serializes the given message to binary data (in protobuf wire
6110
+ * format), writing to the given BinaryWriter.
6111
+ * @param {!proto.UpdateRequestForQuotationVendorReq} message
6112
+ * @param {!jspb.BinaryWriter} writer
6113
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6114
+ */
6115
+ proto.UpdateRequestForQuotationVendorReq.serializeBinaryToWriter = function(message, writer) {
6116
+ var f = undefined;
6117
+ f = message.getRequestForQuotationReferencesId();
6118
+ if (f.length > 0) {
6119
+ writer.writeString(
6120
+ 1,
6121
+ f
6122
+ );
6123
+ }
6124
+ f = message.getVendorReferencesId();
6125
+ if (f.length > 0) {
6126
+ writer.writeString(
6127
+ 2,
6128
+ f
6129
+ );
6130
+ }
6131
+ f = message.getIsSendToVendor();
6132
+ if (f) {
6133
+ writer.writeBool(
6134
+ 3,
6135
+ f
6136
+ );
6137
+ }
6138
+ };
6139
+
6140
+
6141
+ /**
6142
+ * optional string request_for_quotation_references_id = 1;
6143
+ * @return {string}
6144
+ */
6145
+ proto.UpdateRequestForQuotationVendorReq.prototype.getRequestForQuotationReferencesId = function() {
6146
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6147
+ };
6148
+
6149
+
6150
+ /**
6151
+ * @param {string} value
6152
+ * @return {!proto.UpdateRequestForQuotationVendorReq} returns this
6153
+ */
6154
+ proto.UpdateRequestForQuotationVendorReq.prototype.setRequestForQuotationReferencesId = function(value) {
6155
+ return jspb.Message.setProto3StringField(this, 1, value);
6156
+ };
6157
+
6158
+
6159
+ /**
6160
+ * optional string vendor_references_id = 2;
6161
+ * @return {string}
6162
+ */
6163
+ proto.UpdateRequestForQuotationVendorReq.prototype.getVendorReferencesId = function() {
6164
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6165
+ };
6166
+
6167
+
6168
+ /**
6169
+ * @param {string} value
6170
+ * @return {!proto.UpdateRequestForQuotationVendorReq} returns this
6171
+ */
6172
+ proto.UpdateRequestForQuotationVendorReq.prototype.setVendorReferencesId = function(value) {
6173
+ return jspb.Message.setProto3StringField(this, 2, value);
6174
+ };
6175
+
6176
+
6177
+ /**
6178
+ * optional bool is_send_to_vendor = 3;
6179
+ * @return {boolean}
6180
+ */
6181
+ proto.UpdateRequestForQuotationVendorReq.prototype.getIsSendToVendor = function() {
6182
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
6183
+ };
6184
+
6185
+
6186
+ /**
6187
+ * @param {boolean} value
6188
+ * @return {!proto.UpdateRequestForQuotationVendorReq} returns this
6189
+ */
6190
+ proto.UpdateRequestForQuotationVendorReq.prototype.setIsSendToVendor = function(value) {
6191
+ return jspb.Message.setProto3BooleanField(this, 3, value);
6192
+ };
6193
+
6194
+
6195
+
6196
+
6197
+
6198
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6199
+ /**
6200
+ * Creates an object representation of this proto.
6201
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6202
+ * Optional fields that are not set will be set to undefined.
6203
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6204
+ * For the list of reserved names please see:
6205
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6206
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6207
+ * JSPB instance for transitional soy proto support:
6208
+ * http://goto/soy-param-migration
6209
+ * @return {!Object}
6210
+ */
6211
+ proto.UpdateRequestForQuotationVendorRes.prototype.toObject = function(opt_includeInstance) {
6212
+ return proto.UpdateRequestForQuotationVendorRes.toObject(opt_includeInstance, this);
6213
+ };
6214
+
6215
+
6216
+ /**
6217
+ * Static version of the {@see toObject} method.
6218
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6219
+ * the JSPB instance for transitional soy proto support:
6220
+ * http://goto/soy-param-migration
6221
+ * @param {!proto.UpdateRequestForQuotationVendorRes} msg The msg instance to transform.
6222
+ * @return {!Object}
6223
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6224
+ */
6225
+ proto.UpdateRequestForQuotationVendorRes.toObject = function(includeInstance, msg) {
6226
+ var f, obj = {
6227
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
6228
+ };
6229
+
6230
+ if (includeInstance) {
6231
+ obj.$jspbMessageInstance = msg;
6232
+ }
6233
+ return obj;
6234
+ };
6235
+ }
6236
+
6237
+
6238
+ /**
6239
+ * Deserializes binary data (in protobuf wire format).
6240
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6241
+ * @return {!proto.UpdateRequestForQuotationVendorRes}
6242
+ */
6243
+ proto.UpdateRequestForQuotationVendorRes.deserializeBinary = function(bytes) {
6244
+ var reader = new jspb.BinaryReader(bytes);
6245
+ var msg = new proto.UpdateRequestForQuotationVendorRes;
6246
+ return proto.UpdateRequestForQuotationVendorRes.deserializeBinaryFromReader(msg, reader);
6247
+ };
6248
+
6249
+
6250
+ /**
6251
+ * Deserializes binary data (in protobuf wire format) from the
6252
+ * given reader into the given message object.
6253
+ * @param {!proto.UpdateRequestForQuotationVendorRes} msg The message object to deserialize into.
6254
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6255
+ * @return {!proto.UpdateRequestForQuotationVendorRes}
6256
+ */
6257
+ proto.UpdateRequestForQuotationVendorRes.deserializeBinaryFromReader = function(msg, reader) {
6258
+ while (reader.nextField()) {
6259
+ if (reader.isEndGroup()) {
6260
+ break;
6261
+ }
6262
+ var field = reader.getFieldNumber();
6263
+ switch (field) {
6264
+ case 1:
6265
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
6266
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
6267
+ msg.setMeta(value);
6268
+ break;
6269
+ default:
6270
+ reader.skipField();
6271
+ break;
6272
+ }
6273
+ }
6274
+ return msg;
6275
+ };
6276
+
6277
+
6278
+ /**
6279
+ * Serializes the message to binary data (in protobuf wire format).
6280
+ * @return {!Uint8Array}
6281
+ */
6282
+ proto.UpdateRequestForQuotationVendorRes.prototype.serializeBinary = function() {
6283
+ var writer = new jspb.BinaryWriter();
6284
+ proto.UpdateRequestForQuotationVendorRes.serializeBinaryToWriter(this, writer);
6285
+ return writer.getResultBuffer();
6286
+ };
6287
+
6288
+
6289
+ /**
6290
+ * Serializes the given message to binary data (in protobuf wire
6291
+ * format), writing to the given BinaryWriter.
6292
+ * @param {!proto.UpdateRequestForQuotationVendorRes} message
6293
+ * @param {!jspb.BinaryWriter} writer
6294
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6295
+ */
6296
+ proto.UpdateRequestForQuotationVendorRes.serializeBinaryToWriter = function(message, writer) {
6297
+ var f = undefined;
6298
+ f = message.getMeta();
6299
+ if (f != null) {
6300
+ writer.writeMessage(
6301
+ 1,
6302
+ f,
6303
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
6304
+ );
6305
+ }
6306
+ };
6307
+
6308
+
6309
+ /**
6310
+ * optional prisca.v1.global.meta.Meta meta = 1;
6311
+ * @return {?proto.prisca.v1.global.meta.Meta}
6312
+ */
6313
+ proto.UpdateRequestForQuotationVendorRes.prototype.getMeta = function() {
6314
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
6315
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
6316
+ };
6317
+
6318
+
6319
+ /**
6320
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
6321
+ * @return {!proto.UpdateRequestForQuotationVendorRes} returns this
6322
+ */
6323
+ proto.UpdateRequestForQuotationVendorRes.prototype.setMeta = function(value) {
6324
+ return jspb.Message.setWrapperField(this, 1, value);
6325
+ };
6326
+
6327
+
6328
+ /**
6329
+ * Clears the message field making it undefined.
6330
+ * @return {!proto.UpdateRequestForQuotationVendorRes} returns this
6331
+ */
6332
+ proto.UpdateRequestForQuotationVendorRes.prototype.clearMeta = function() {
6333
+ return this.setMeta(undefined);
6334
+ };
6335
+
6336
+
6337
+ /**
6338
+ * Returns whether this field is set.
6339
+ * @return {boolean}
6340
+ */
6341
+ proto.UpdateRequestForQuotationVendorRes.prototype.hasMeta = function() {
6342
+ return jspb.Message.getField(this, 1) != null;
6343
+ };
6344
+
6345
+
5961
6346
  goog.object.extend(exports, proto);
@@ -117,6 +117,28 @@ function deserialize_GetVendorProfileRequest(buffer_arg) {
117
117
  return prisca_v1_vendor_domain_vendor_domain_pb.GetVendorProfileRequest.deserializeBinary(new Uint8Array(buffer_arg));
118
118
  }
119
119
 
120
+ function serialize_RegisterVendorRequest(arg) {
121
+ if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.RegisterVendorRequest)) {
122
+ throw new Error('Expected argument of type RegisterVendorRequest');
123
+ }
124
+ return Buffer.from(arg.serializeBinary());
125
+ }
126
+
127
+ function deserialize_RegisterVendorRequest(buffer_arg) {
128
+ return prisca_v1_vendor_domain_vendor_domain_pb.RegisterVendorRequest.deserializeBinary(new Uint8Array(buffer_arg));
129
+ }
130
+
131
+ function serialize_RegisterVendorResponse(arg) {
132
+ if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.RegisterVendorResponse)) {
133
+ throw new Error('Expected argument of type RegisterVendorResponse');
134
+ }
135
+ return Buffer.from(arg.serializeBinary());
136
+ }
137
+
138
+ function deserialize_RegisterVendorResponse(buffer_arg) {
139
+ return prisca_v1_vendor_domain_vendor_domain_pb.RegisterVendorResponse.deserializeBinary(new Uint8Array(buffer_arg));
140
+ }
141
+
120
142
  function serialize_UpdateVendorRequest(arg) {
121
143
  if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorRequest)) {
122
144
  throw new Error('Expected argument of type UpdateVendorRequest');
@@ -139,6 +161,17 @@ function deserialize_UpdateVendorResponse(buffer_arg) {
139
161
  return prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorResponse.deserializeBinary(new Uint8Array(buffer_arg));
140
162
  }
141
163
 
164
+ function serialize_UpdateVendorStatusRequest(arg) {
165
+ if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorStatusRequest)) {
166
+ throw new Error('Expected argument of type UpdateVendorStatusRequest');
167
+ }
168
+ return Buffer.from(arg.serializeBinary());
169
+ }
170
+
171
+ function deserialize_UpdateVendorStatusRequest(buffer_arg) {
172
+ return prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
173
+ }
174
+
142
175
 
143
176
  // Unit of Measurement Service
144
177
  var VendorServiceService = exports.VendorServiceService = {
@@ -153,6 +186,17 @@ var VendorServiceService = exports.VendorServiceService = {
153
186
  responseSerialize: serialize_CreateVendorResponse,
154
187
  responseDeserialize: deserialize_CreateVendorResponse,
155
188
  },
189
+ registerVendor: {
190
+ path: '/VendorService/RegisterVendor',
191
+ requestStream: false,
192
+ responseStream: false,
193
+ requestType: prisca_v1_vendor_domain_vendor_domain_pb.RegisterVendorRequest,
194
+ responseType: prisca_v1_vendor_domain_vendor_domain_pb.RegisterVendorResponse,
195
+ requestSerialize: serialize_RegisterVendorRequest,
196
+ requestDeserialize: deserialize_RegisterVendorRequest,
197
+ responseSerialize: serialize_RegisterVendorResponse,
198
+ responseDeserialize: deserialize_RegisterVendorResponse,
199
+ },
156
200
  getVendorById: {
157
201
  path: '/VendorService/GetVendorById',
158
202
  requestStream: false,
@@ -208,6 +252,17 @@ var VendorServiceService = exports.VendorServiceService = {
208
252
  responseSerialize: serialize_UpdateVendorResponse,
209
253
  responseDeserialize: deserialize_UpdateVendorResponse,
210
254
  },
255
+ updateVendorStatus: {
256
+ path: '/VendorService/UpdateVendorStatus',
257
+ requestStream: false,
258
+ responseStream: false,
259
+ requestType: prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorStatusRequest,
260
+ responseType: prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorResponse,
261
+ requestSerialize: serialize_UpdateVendorStatusRequest,
262
+ requestDeserialize: deserialize_UpdateVendorStatusRequest,
263
+ responseSerialize: serialize_UpdateVendorResponse,
264
+ responseDeserialize: deserialize_UpdateVendorResponse,
265
+ },
211
266
  deleteVendor: {
212
267
  path: '/VendorService/DeleteVendor',
213
268
  requestStream: false,