@aldiokta/protocgen 1.1.22 → 1.1.24

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.
@@ -53,6 +53,8 @@ goog.exportSymbol('proto.RequestBidding', null, global);
53
53
  goog.exportSymbol('proto.RequestBiddingBase', null, global);
54
54
  goog.exportSymbol('proto.RequestGetListBidding', null, global);
55
55
  goog.exportSymbol('proto.RequestPO', null, global);
56
+ goog.exportSymbol('proto.RequestUpdateFileBidding', null, global);
57
+ goog.exportSymbol('proto.ResUpdateFileBidding', null, global);
56
58
  goog.exportSymbol('proto.ResponseAddVendorBidding', null, global);
57
59
  goog.exportSymbol('proto.ResponseBidding', null, global);
58
60
  goog.exportSymbol('proto.ResponseDetailBiddingByReferences', null, global);
@@ -123,6 +125,27 @@ if (goog.DEBUG && !COMPILED) {
123
125
  */
124
126
  proto.RequestBiddingBase.displayName = 'proto.RequestBiddingBase';
125
127
  }
128
+ /**
129
+ * Generated by JsPbCodeGenerator.
130
+ * @param {Array=} opt_data Optional initial data array, typically from a
131
+ * server response, or constructed directly in Javascript. The array is used
132
+ * in place and becomes part of the constructed object. It is not cloned.
133
+ * If no data is provided, the constructed object will be empty, but still
134
+ * valid.
135
+ * @extends {jspb.Message}
136
+ * @constructor
137
+ */
138
+ proto.RequestUpdateFileBidding = function(opt_data) {
139
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.RequestUpdateFileBidding.repeatedFields_, null);
140
+ };
141
+ goog.inherits(proto.RequestUpdateFileBidding, jspb.Message);
142
+ if (goog.DEBUG && !COMPILED) {
143
+ /**
144
+ * @public
145
+ * @override
146
+ */
147
+ proto.RequestUpdateFileBidding.displayName = 'proto.RequestUpdateFileBidding';
148
+ }
126
149
  /**
127
150
  * Generated by JsPbCodeGenerator.
128
151
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -365,7 +388,7 @@ if (goog.DEBUG && !COMPILED) {
365
388
  * @constructor
366
389
  */
367
390
  proto.ResponseAddVendorBidding = function(opt_data) {
368
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ResponseAddVendorBidding.repeatedFields_, null);
391
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
369
392
  };
370
393
  goog.inherits(proto.ResponseAddVendorBidding, jspb.Message);
371
394
  if (goog.DEBUG && !COMPILED) {
@@ -501,6 +524,27 @@ if (goog.DEBUG && !COMPILED) {
501
524
  */
502
525
  proto.GetQuotationVendorPreload.displayName = 'proto.GetQuotationVendorPreload';
503
526
  }
527
+ /**
528
+ * Generated by JsPbCodeGenerator.
529
+ * @param {Array=} opt_data Optional initial data array, typically from a
530
+ * server response, or constructed directly in Javascript. The array is used
531
+ * in place and becomes part of the constructed object. It is not cloned.
532
+ * If no data is provided, the constructed object will be empty, but still
533
+ * valid.
534
+ * @extends {jspb.Message}
535
+ * @constructor
536
+ */
537
+ proto.ResUpdateFileBidding = function(opt_data) {
538
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ResUpdateFileBidding.repeatedFields_, null);
539
+ };
540
+ goog.inherits(proto.ResUpdateFileBidding, jspb.Message);
541
+ if (goog.DEBUG && !COMPILED) {
542
+ /**
543
+ * @public
544
+ * @override
545
+ */
546
+ proto.ResUpdateFileBidding.displayName = 'proto.ResUpdateFileBidding';
547
+ }
504
548
  /**
505
549
  * Generated by JsPbCodeGenerator.
506
550
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2865,7 +2909,8 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
2865
2909
  itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
2866
2910
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
2867
2911
  status: jspb.Message.getFieldWithDefault(msg, 14, ""),
2868
- purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 15, "")
2912
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 15, ""),
2913
+ groupReferences: jspb.Message.getFieldWithDefault(msg, 16, "")
2869
2914
  };
2870
2915
 
2871
2916
  if (includeInstance) {
@@ -2956,6 +3001,10 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
2956
3001
  var value = /** @type {string} */ (reader.readString());
2957
3002
  msg.setPurchaseRequisitionTransactionNumber(value);
2958
3003
  break;
3004
+ case 16:
3005
+ var value = /** @type {string} */ (reader.readString());
3006
+ msg.setGroupReferences(value);
3007
+ break;
2959
3008
  default:
2960
3009
  reader.skipField();
2961
3010
  break;
@@ -3078,6 +3127,13 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
3078
3127
  f
3079
3128
  );
3080
3129
  }
3130
+ f = message.getGroupReferences();
3131
+ if (f.length > 0) {
3132
+ writer.writeString(
3133
+ 16,
3134
+ f
3135
+ );
3136
+ }
3081
3137
  };
3082
3138
 
3083
3139
 
@@ -3355,6 +3411,214 @@ proto.RequestBiddingBase.prototype.setPurchaseRequisitionTransactionNumber = fun
3355
3411
  };
3356
3412
 
3357
3413
 
3414
+ /**
3415
+ * optional string group_references = 16;
3416
+ * @return {string}
3417
+ */
3418
+ proto.RequestBiddingBase.prototype.getGroupReferences = function() {
3419
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
3420
+ };
3421
+
3422
+
3423
+ /**
3424
+ * @param {string} value
3425
+ * @return {!proto.RequestBiddingBase} returns this
3426
+ */
3427
+ proto.RequestBiddingBase.prototype.setGroupReferences = function(value) {
3428
+ return jspb.Message.setProto3StringField(this, 16, value);
3429
+ };
3430
+
3431
+
3432
+
3433
+ /**
3434
+ * List of repeated fields within this message type.
3435
+ * @private {!Array<number>}
3436
+ * @const
3437
+ */
3438
+ proto.RequestUpdateFileBidding.repeatedFields_ = [2];
3439
+
3440
+
3441
+
3442
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3443
+ /**
3444
+ * Creates an object representation of this proto.
3445
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3446
+ * Optional fields that are not set will be set to undefined.
3447
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3448
+ * For the list of reserved names please see:
3449
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3450
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3451
+ * JSPB instance for transitional soy proto support:
3452
+ * http://goto/soy-param-migration
3453
+ * @return {!Object}
3454
+ */
3455
+ proto.RequestUpdateFileBidding.prototype.toObject = function(opt_includeInstance) {
3456
+ return proto.RequestUpdateFileBidding.toObject(opt_includeInstance, this);
3457
+ };
3458
+
3459
+
3460
+ /**
3461
+ * Static version of the {@see toObject} method.
3462
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3463
+ * the JSPB instance for transitional soy proto support:
3464
+ * http://goto/soy-param-migration
3465
+ * @param {!proto.RequestUpdateFileBidding} msg The msg instance to transform.
3466
+ * @return {!Object}
3467
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3468
+ */
3469
+ proto.RequestUpdateFileBidding.toObject = function(includeInstance, msg) {
3470
+ var f, obj = {
3471
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3472
+ filesList: jspb.Message.toObjectList(msg.getFilesList(),
3473
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
3474
+ };
3475
+
3476
+ if (includeInstance) {
3477
+ obj.$jspbMessageInstance = msg;
3478
+ }
3479
+ return obj;
3480
+ };
3481
+ }
3482
+
3483
+
3484
+ /**
3485
+ * Deserializes binary data (in protobuf wire format).
3486
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3487
+ * @return {!proto.RequestUpdateFileBidding}
3488
+ */
3489
+ proto.RequestUpdateFileBidding.deserializeBinary = function(bytes) {
3490
+ var reader = new jspb.BinaryReader(bytes);
3491
+ var msg = new proto.RequestUpdateFileBidding;
3492
+ return proto.RequestUpdateFileBidding.deserializeBinaryFromReader(msg, reader);
3493
+ };
3494
+
3495
+
3496
+ /**
3497
+ * Deserializes binary data (in protobuf wire format) from the
3498
+ * given reader into the given message object.
3499
+ * @param {!proto.RequestUpdateFileBidding} msg The message object to deserialize into.
3500
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3501
+ * @return {!proto.RequestUpdateFileBidding}
3502
+ */
3503
+ proto.RequestUpdateFileBidding.deserializeBinaryFromReader = function(msg, reader) {
3504
+ while (reader.nextField()) {
3505
+ if (reader.isEndGroup()) {
3506
+ break;
3507
+ }
3508
+ var field = reader.getFieldNumber();
3509
+ switch (field) {
3510
+ case 1:
3511
+ var value = /** @type {string} */ (reader.readString());
3512
+ msg.setReferencesId(value);
3513
+ break;
3514
+ case 2:
3515
+ var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
3516
+ reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
3517
+ msg.addFiles(value);
3518
+ break;
3519
+ default:
3520
+ reader.skipField();
3521
+ break;
3522
+ }
3523
+ }
3524
+ return msg;
3525
+ };
3526
+
3527
+
3528
+ /**
3529
+ * Serializes the message to binary data (in protobuf wire format).
3530
+ * @return {!Uint8Array}
3531
+ */
3532
+ proto.RequestUpdateFileBidding.prototype.serializeBinary = function() {
3533
+ var writer = new jspb.BinaryWriter();
3534
+ proto.RequestUpdateFileBidding.serializeBinaryToWriter(this, writer);
3535
+ return writer.getResultBuffer();
3536
+ };
3537
+
3538
+
3539
+ /**
3540
+ * Serializes the given message to binary data (in protobuf wire
3541
+ * format), writing to the given BinaryWriter.
3542
+ * @param {!proto.RequestUpdateFileBidding} message
3543
+ * @param {!jspb.BinaryWriter} writer
3544
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3545
+ */
3546
+ proto.RequestUpdateFileBidding.serializeBinaryToWriter = function(message, writer) {
3547
+ var f = undefined;
3548
+ f = message.getReferencesId();
3549
+ if (f.length > 0) {
3550
+ writer.writeString(
3551
+ 1,
3552
+ f
3553
+ );
3554
+ }
3555
+ f = message.getFilesList();
3556
+ if (f.length > 0) {
3557
+ writer.writeRepeatedMessage(
3558
+ 2,
3559
+ f,
3560
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
3561
+ );
3562
+ }
3563
+ };
3564
+
3565
+
3566
+ /**
3567
+ * optional string references_id = 1;
3568
+ * @return {string}
3569
+ */
3570
+ proto.RequestUpdateFileBidding.prototype.getReferencesId = function() {
3571
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3572
+ };
3573
+
3574
+
3575
+ /**
3576
+ * @param {string} value
3577
+ * @return {!proto.RequestUpdateFileBidding} returns this
3578
+ */
3579
+ proto.RequestUpdateFileBidding.prototype.setReferencesId = function(value) {
3580
+ return jspb.Message.setProto3StringField(this, 1, value);
3581
+ };
3582
+
3583
+
3584
+ /**
3585
+ * repeated FileUploadReferencesReq files = 2;
3586
+ * @return {!Array<!proto.FileUploadReferencesReq>}
3587
+ */
3588
+ proto.RequestUpdateFileBidding.prototype.getFilesList = function() {
3589
+ return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
3590
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 2));
3591
+ };
3592
+
3593
+
3594
+ /**
3595
+ * @param {!Array<!proto.FileUploadReferencesReq>} value
3596
+ * @return {!proto.RequestUpdateFileBidding} returns this
3597
+ */
3598
+ proto.RequestUpdateFileBidding.prototype.setFilesList = function(value) {
3599
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
3600
+ };
3601
+
3602
+
3603
+ /**
3604
+ * @param {!proto.FileUploadReferencesReq=} opt_value
3605
+ * @param {number=} opt_index
3606
+ * @return {!proto.FileUploadReferencesReq}
3607
+ */
3608
+ proto.RequestUpdateFileBidding.prototype.addFiles = function(opt_value, opt_index) {
3609
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.FileUploadReferencesReq, opt_index);
3610
+ };
3611
+
3612
+
3613
+ /**
3614
+ * Clears the list making it empty but non-null.
3615
+ * @return {!proto.RequestUpdateFileBidding} returns this
3616
+ */
3617
+ proto.RequestUpdateFileBidding.prototype.clearFilesList = function() {
3618
+ return this.setFilesList([]);
3619
+ };
3620
+
3621
+
3358
3622
 
3359
3623
 
3360
3624
 
@@ -3388,7 +3652,7 @@ proto.RequestAddVendorBidding.prototype.toObject = function(opt_includeInstance)
3388
3652
  proto.RequestAddVendorBidding.toObject = function(includeInstance, msg) {
3389
3653
  var f, obj = {
3390
3654
  referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3391
- requestQuotationVendor: (f = msg.getRequestQuotationVendor()) && prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor.toObject(includeInstance, f)
3655
+ requestQuotationVendor: (f = msg.getRequestQuotationVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f)
3392
3656
  };
3393
3657
 
3394
3658
  if (includeInstance) {
@@ -3430,8 +3694,8 @@ proto.RequestAddVendorBidding.deserializeBinaryFromReader = function(msg, reader
3430
3694
  msg.setReferencesId(value);
3431
3695
  break;
3432
3696
  case 2:
3433
- var value = new prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor;
3434
- reader.readMessage(value,prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor.deserializeBinaryFromReader);
3697
+ var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
3698
+ reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
3435
3699
  msg.setRequestQuotationVendor(value);
3436
3700
  break;
3437
3701
  default:
@@ -3475,7 +3739,7 @@ proto.RequestAddVendorBidding.serializeBinaryToWriter = function(message, writer
3475
3739
  writer.writeMessage(
3476
3740
  2,
3477
3741
  f,
3478
- prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor.serializeBinaryToWriter
3742
+ prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
3479
3743
  );
3480
3744
  }
3481
3745
  };
@@ -3500,17 +3764,17 @@ proto.RequestAddVendorBidding.prototype.setReferencesId = function(value) {
3500
3764
 
3501
3765
 
3502
3766
  /**
3503
- * optional RequestForQuotationVendor request_quotation_vendor = 2;
3504
- * @return {?proto.RequestForQuotationVendor}
3767
+ * optional Vendor request_quotation_vendor = 2;
3768
+ * @return {?proto.Vendor}
3505
3769
  */
3506
3770
  proto.RequestAddVendorBidding.prototype.getRequestQuotationVendor = function() {
3507
- return /** @type{?proto.RequestForQuotationVendor} */ (
3508
- jspb.Message.getWrapperField(this, prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor, 2));
3771
+ return /** @type{?proto.Vendor} */ (
3772
+ jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 2));
3509
3773
  };
3510
3774
 
3511
3775
 
3512
3776
  /**
3513
- * @param {?proto.RequestForQuotationVendor|undefined} value
3777
+ * @param {?proto.Vendor|undefined} value
3514
3778
  * @return {!proto.RequestAddVendorBidding} returns this
3515
3779
  */
3516
3780
  proto.RequestAddVendorBidding.prototype.setRequestQuotationVendor = function(value) {
@@ -4270,7 +4534,10 @@ proto.UpdateBiddingReq.prototype.toObject = function(opt_includeInstance) {
4270
4534
  proto.UpdateBiddingReq.toObject = function(includeInstance, msg) {
4271
4535
  var f, obj = {
4272
4536
  referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4273
- requestBidding: (f = msg.getRequestBidding()) && proto.RequestBiddingBase.toObject(includeInstance, f)
4537
+ status: jspb.Message.getFieldWithDefault(msg, 2, ""),
4538
+ biddingStartDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
4539
+ biddingEndDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
4540
+ reason: jspb.Message.getFieldWithDefault(msg, 5, "")
4274
4541
  };
4275
4542
 
4276
4543
  if (includeInstance) {
@@ -4312,9 +4579,20 @@ proto.UpdateBiddingReq.deserializeBinaryFromReader = function(msg, reader) {
4312
4579
  msg.setReferencesId(value);
4313
4580
  break;
4314
4581
  case 2:
4315
- var value = new proto.RequestBiddingBase;
4316
- reader.readMessage(value,proto.RequestBiddingBase.deserializeBinaryFromReader);
4317
- msg.setRequestBidding(value);
4582
+ var value = /** @type {string} */ (reader.readString());
4583
+ msg.setStatus(value);
4584
+ break;
4585
+ case 3:
4586
+ var value = /** @type {string} */ (reader.readString());
4587
+ msg.setBiddingStartDate(value);
4588
+ break;
4589
+ case 4:
4590
+ var value = /** @type {string} */ (reader.readString());
4591
+ msg.setBiddingEndDate(value);
4592
+ break;
4593
+ case 5:
4594
+ var value = /** @type {string} */ (reader.readString());
4595
+ msg.setReason(value);
4318
4596
  break;
4319
4597
  default:
4320
4598
  reader.skipField();
@@ -4352,16 +4630,36 @@ proto.UpdateBiddingReq.serializeBinaryToWriter = function(message, writer) {
4352
4630
  f
4353
4631
  );
4354
4632
  }
4355
- f = message.getRequestBidding();
4356
- if (f != null) {
4357
- writer.writeMessage(
4633
+ f = message.getStatus();
4634
+ if (f.length > 0) {
4635
+ writer.writeString(
4358
4636
  2,
4359
- f,
4360
- proto.RequestBiddingBase.serializeBinaryToWriter
4637
+ f
4361
4638
  );
4362
4639
  }
4363
- };
4364
-
4640
+ f = message.getBiddingStartDate();
4641
+ if (f.length > 0) {
4642
+ writer.writeString(
4643
+ 3,
4644
+ f
4645
+ );
4646
+ }
4647
+ f = message.getBiddingEndDate();
4648
+ if (f.length > 0) {
4649
+ writer.writeString(
4650
+ 4,
4651
+ f
4652
+ );
4653
+ }
4654
+ f = message.getReason();
4655
+ if (f.length > 0) {
4656
+ writer.writeString(
4657
+ 5,
4658
+ f
4659
+ );
4660
+ }
4661
+ };
4662
+
4365
4663
 
4366
4664
  /**
4367
4665
  * optional string references_id = 1;
@@ -4382,39 +4680,74 @@ proto.UpdateBiddingReq.prototype.setReferencesId = function(value) {
4382
4680
 
4383
4681
 
4384
4682
  /**
4385
- * optional RequestBiddingBase request_bidding = 2;
4386
- * @return {?proto.RequestBiddingBase}
4683
+ * optional string status = 2;
4684
+ * @return {string}
4387
4685
  */
4388
- proto.UpdateBiddingReq.prototype.getRequestBidding = function() {
4389
- return /** @type{?proto.RequestBiddingBase} */ (
4390
- jspb.Message.getWrapperField(this, proto.RequestBiddingBase, 2));
4686
+ proto.UpdateBiddingReq.prototype.getStatus = function() {
4687
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4391
4688
  };
4392
4689
 
4393
4690
 
4394
4691
  /**
4395
- * @param {?proto.RequestBiddingBase|undefined} value
4692
+ * @param {string} value
4396
4693
  * @return {!proto.UpdateBiddingReq} returns this
4397
- */
4398
- proto.UpdateBiddingReq.prototype.setRequestBidding = function(value) {
4399
- return jspb.Message.setWrapperField(this, 2, value);
4694
+ */
4695
+ proto.UpdateBiddingReq.prototype.setStatus = function(value) {
4696
+ return jspb.Message.setProto3StringField(this, 2, value);
4400
4697
  };
4401
4698
 
4402
4699
 
4403
4700
  /**
4404
- * Clears the message field making it undefined.
4701
+ * optional string bidding_start_date = 3;
4702
+ * @return {string}
4703
+ */
4704
+ proto.UpdateBiddingReq.prototype.getBiddingStartDate = function() {
4705
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4706
+ };
4707
+
4708
+
4709
+ /**
4710
+ * @param {string} value
4405
4711
  * @return {!proto.UpdateBiddingReq} returns this
4406
4712
  */
4407
- proto.UpdateBiddingReq.prototype.clearRequestBidding = function() {
4408
- return this.setRequestBidding(undefined);
4713
+ proto.UpdateBiddingReq.prototype.setBiddingStartDate = function(value) {
4714
+ return jspb.Message.setProto3StringField(this, 3, value);
4409
4715
  };
4410
4716
 
4411
4717
 
4412
4718
  /**
4413
- * Returns whether this field is set.
4414
- * @return {boolean}
4719
+ * optional string bidding_end_date = 4;
4720
+ * @return {string}
4415
4721
  */
4416
- proto.UpdateBiddingReq.prototype.hasRequestBidding = function() {
4417
- return jspb.Message.getField(this, 2) != null;
4722
+ proto.UpdateBiddingReq.prototype.getBiddingEndDate = function() {
4723
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4724
+ };
4725
+
4726
+
4727
+ /**
4728
+ * @param {string} value
4729
+ * @return {!proto.UpdateBiddingReq} returns this
4730
+ */
4731
+ proto.UpdateBiddingReq.prototype.setBiddingEndDate = function(value) {
4732
+ return jspb.Message.setProto3StringField(this, 4, value);
4733
+ };
4734
+
4735
+
4736
+ /**
4737
+ * optional string reason = 5;
4738
+ * @return {string}
4739
+ */
4740
+ proto.UpdateBiddingReq.prototype.getReason = function() {
4741
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4742
+ };
4743
+
4744
+
4745
+ /**
4746
+ * @param {string} value
4747
+ * @return {!proto.UpdateBiddingReq} returns this
4748
+ */
4749
+ proto.UpdateBiddingReq.prototype.setReason = function(value) {
4750
+ return jspb.Message.setProto3StringField(this, 5, value);
4418
4751
  };
4419
4752
 
4420
4753
 
@@ -5227,13 +5560,6 @@ proto.ResponseDetailBiddingByReferences.prototype.hasMeta = function() {
5227
5560
 
5228
5561
 
5229
5562
 
5230
- /**
5231
- * List of repeated fields within this message type.
5232
- * @private {!Array<number>}
5233
- * @const
5234
- */
5235
- proto.ResponseAddVendorBidding.repeatedFields_ = [1];
5236
-
5237
5563
 
5238
5564
 
5239
5565
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -5265,8 +5591,7 @@ proto.ResponseAddVendorBidding.prototype.toObject = function(opt_includeInstance
5265
5591
  */
5266
5592
  proto.ResponseAddVendorBidding.toObject = function(includeInstance, msg) {
5267
5593
  var f, obj = {
5268
- quotationList: jspb.Message.toObjectList(msg.getQuotationList(),
5269
- proto.Quotation.toObject, includeInstance),
5594
+ quotation: (f = msg.getQuotation()) && proto.Quotation.toObject(includeInstance, f),
5270
5595
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
5271
5596
  };
5272
5597
 
@@ -5307,7 +5632,7 @@ proto.ResponseAddVendorBidding.deserializeBinaryFromReader = function(msg, reade
5307
5632
  case 1:
5308
5633
  var value = new proto.Quotation;
5309
5634
  reader.readMessage(value,proto.Quotation.deserializeBinaryFromReader);
5310
- msg.addQuotation(value);
5635
+ msg.setQuotation(value);
5311
5636
  break;
5312
5637
  case 2:
5313
5638
  var value = new prisca_v1_global_meta_meta_pb.Meta;
@@ -5343,9 +5668,9 @@ proto.ResponseAddVendorBidding.prototype.serializeBinary = function() {
5343
5668
  */
5344
5669
  proto.ResponseAddVendorBidding.serializeBinaryToWriter = function(message, writer) {
5345
5670
  var f = undefined;
5346
- f = message.getQuotationList();
5347
- if (f.length > 0) {
5348
- writer.writeRepeatedMessage(
5671
+ f = message.getQuotation();
5672
+ if (f != null) {
5673
+ writer.writeMessage(
5349
5674
  1,
5350
5675
  f,
5351
5676
  proto.Quotation.serializeBinaryToWriter
@@ -5363,40 +5688,39 @@ proto.ResponseAddVendorBidding.serializeBinaryToWriter = function(message, write
5363
5688
 
5364
5689
 
5365
5690
  /**
5366
- * repeated Quotation quotation = 1;
5367
- * @return {!Array<!proto.Quotation>}
5691
+ * optional Quotation quotation = 1;
5692
+ * @return {?proto.Quotation}
5368
5693
  */
5369
- proto.ResponseAddVendorBidding.prototype.getQuotationList = function() {
5370
- return /** @type{!Array<!proto.Quotation>} */ (
5371
- jspb.Message.getRepeatedWrapperField(this, proto.Quotation, 1));
5694
+ proto.ResponseAddVendorBidding.prototype.getQuotation = function() {
5695
+ return /** @type{?proto.Quotation} */ (
5696
+ jspb.Message.getWrapperField(this, proto.Quotation, 1));
5372
5697
  };
5373
5698
 
5374
5699
 
5375
5700
  /**
5376
- * @param {!Array<!proto.Quotation>} value
5701
+ * @param {?proto.Quotation|undefined} value
5377
5702
  * @return {!proto.ResponseAddVendorBidding} returns this
5378
5703
  */
5379
- proto.ResponseAddVendorBidding.prototype.setQuotationList = function(value) {
5380
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
5704
+ proto.ResponseAddVendorBidding.prototype.setQuotation = function(value) {
5705
+ return jspb.Message.setWrapperField(this, 1, value);
5381
5706
  };
5382
5707
 
5383
5708
 
5384
5709
  /**
5385
- * @param {!proto.Quotation=} opt_value
5386
- * @param {number=} opt_index
5387
- * @return {!proto.Quotation}
5710
+ * Clears the message field making it undefined.
5711
+ * @return {!proto.ResponseAddVendorBidding} returns this
5388
5712
  */
5389
- proto.ResponseAddVendorBidding.prototype.addQuotation = function(opt_value, opt_index) {
5390
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Quotation, opt_index);
5713
+ proto.ResponseAddVendorBidding.prototype.clearQuotation = function() {
5714
+ return this.setQuotation(undefined);
5391
5715
  };
5392
5716
 
5393
5717
 
5394
5718
  /**
5395
- * Clears the list making it empty but non-null.
5396
- * @return {!proto.ResponseAddVendorBidding} returns this
5719
+ * Returns whether this field is set.
5720
+ * @return {boolean}
5397
5721
  */
5398
- proto.ResponseAddVendorBidding.prototype.clearQuotationList = function() {
5399
- return this.setQuotationList([]);
5722
+ proto.ResponseAddVendorBidding.prototype.hasQuotation = function() {
5723
+ return jspb.Message.getField(this, 1) != null;
5400
5724
  };
5401
5725
 
5402
5726
 
@@ -6661,6 +6985,196 @@ proto.GetQuotationVendorPreload.prototype.clearTransactionBuilderVendorList = fu
6661
6985
 
6662
6986
 
6663
6987
 
6988
+ /**
6989
+ * List of repeated fields within this message type.
6990
+ * @private {!Array<number>}
6991
+ * @const
6992
+ */
6993
+ proto.ResUpdateFileBidding.repeatedFields_ = [2];
6994
+
6995
+
6996
+
6997
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6998
+ /**
6999
+ * Creates an object representation of this proto.
7000
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7001
+ * Optional fields that are not set will be set to undefined.
7002
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7003
+ * For the list of reserved names please see:
7004
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7005
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7006
+ * JSPB instance for transitional soy proto support:
7007
+ * http://goto/soy-param-migration
7008
+ * @return {!Object}
7009
+ */
7010
+ proto.ResUpdateFileBidding.prototype.toObject = function(opt_includeInstance) {
7011
+ return proto.ResUpdateFileBidding.toObject(opt_includeInstance, this);
7012
+ };
7013
+
7014
+
7015
+ /**
7016
+ * Static version of the {@see toObject} method.
7017
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7018
+ * the JSPB instance for transitional soy proto support:
7019
+ * http://goto/soy-param-migration
7020
+ * @param {!proto.ResUpdateFileBidding} msg The msg instance to transform.
7021
+ * @return {!Object}
7022
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7023
+ */
7024
+ proto.ResUpdateFileBidding.toObject = function(includeInstance, msg) {
7025
+ var f, obj = {
7026
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
7027
+ filesList: jspb.Message.toObjectList(msg.getFilesList(),
7028
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
7029
+ };
7030
+
7031
+ if (includeInstance) {
7032
+ obj.$jspbMessageInstance = msg;
7033
+ }
7034
+ return obj;
7035
+ };
7036
+ }
7037
+
7038
+
7039
+ /**
7040
+ * Deserializes binary data (in protobuf wire format).
7041
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7042
+ * @return {!proto.ResUpdateFileBidding}
7043
+ */
7044
+ proto.ResUpdateFileBidding.deserializeBinary = function(bytes) {
7045
+ var reader = new jspb.BinaryReader(bytes);
7046
+ var msg = new proto.ResUpdateFileBidding;
7047
+ return proto.ResUpdateFileBidding.deserializeBinaryFromReader(msg, reader);
7048
+ };
7049
+
7050
+
7051
+ /**
7052
+ * Deserializes binary data (in protobuf wire format) from the
7053
+ * given reader into the given message object.
7054
+ * @param {!proto.ResUpdateFileBidding} msg The message object to deserialize into.
7055
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7056
+ * @return {!proto.ResUpdateFileBidding}
7057
+ */
7058
+ proto.ResUpdateFileBidding.deserializeBinaryFromReader = function(msg, reader) {
7059
+ while (reader.nextField()) {
7060
+ if (reader.isEndGroup()) {
7061
+ break;
7062
+ }
7063
+ var field = reader.getFieldNumber();
7064
+ switch (field) {
7065
+ case 1:
7066
+ var value = /** @type {string} */ (reader.readString());
7067
+ msg.setReferencesId(value);
7068
+ break;
7069
+ case 2:
7070
+ var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
7071
+ reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
7072
+ msg.addFiles(value);
7073
+ break;
7074
+ default:
7075
+ reader.skipField();
7076
+ break;
7077
+ }
7078
+ }
7079
+ return msg;
7080
+ };
7081
+
7082
+
7083
+ /**
7084
+ * Serializes the message to binary data (in protobuf wire format).
7085
+ * @return {!Uint8Array}
7086
+ */
7087
+ proto.ResUpdateFileBidding.prototype.serializeBinary = function() {
7088
+ var writer = new jspb.BinaryWriter();
7089
+ proto.ResUpdateFileBidding.serializeBinaryToWriter(this, writer);
7090
+ return writer.getResultBuffer();
7091
+ };
7092
+
7093
+
7094
+ /**
7095
+ * Serializes the given message to binary data (in protobuf wire
7096
+ * format), writing to the given BinaryWriter.
7097
+ * @param {!proto.ResUpdateFileBidding} message
7098
+ * @param {!jspb.BinaryWriter} writer
7099
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7100
+ */
7101
+ proto.ResUpdateFileBidding.serializeBinaryToWriter = function(message, writer) {
7102
+ var f = undefined;
7103
+ f = message.getReferencesId();
7104
+ if (f.length > 0) {
7105
+ writer.writeString(
7106
+ 1,
7107
+ f
7108
+ );
7109
+ }
7110
+ f = message.getFilesList();
7111
+ if (f.length > 0) {
7112
+ writer.writeRepeatedMessage(
7113
+ 2,
7114
+ f,
7115
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
7116
+ );
7117
+ }
7118
+ };
7119
+
7120
+
7121
+ /**
7122
+ * optional string references_id = 1;
7123
+ * @return {string}
7124
+ */
7125
+ proto.ResUpdateFileBidding.prototype.getReferencesId = function() {
7126
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
7127
+ };
7128
+
7129
+
7130
+ /**
7131
+ * @param {string} value
7132
+ * @return {!proto.ResUpdateFileBidding} returns this
7133
+ */
7134
+ proto.ResUpdateFileBidding.prototype.setReferencesId = function(value) {
7135
+ return jspb.Message.setProto3StringField(this, 1, value);
7136
+ };
7137
+
7138
+
7139
+ /**
7140
+ * repeated FileUploadReferencesReq files = 2;
7141
+ * @return {!Array<!proto.FileUploadReferencesReq>}
7142
+ */
7143
+ proto.ResUpdateFileBidding.prototype.getFilesList = function() {
7144
+ return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
7145
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 2));
7146
+ };
7147
+
7148
+
7149
+ /**
7150
+ * @param {!Array<!proto.FileUploadReferencesReq>} value
7151
+ * @return {!proto.ResUpdateFileBidding} returns this
7152
+ */
7153
+ proto.ResUpdateFileBidding.prototype.setFilesList = function(value) {
7154
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
7155
+ };
7156
+
7157
+
7158
+ /**
7159
+ * @param {!proto.FileUploadReferencesReq=} opt_value
7160
+ * @param {number=} opt_index
7161
+ * @return {!proto.FileUploadReferencesReq}
7162
+ */
7163
+ proto.ResUpdateFileBidding.prototype.addFiles = function(opt_value, opt_index) {
7164
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.FileUploadReferencesReq, opt_index);
7165
+ };
7166
+
7167
+
7168
+ /**
7169
+ * Clears the list making it empty but non-null.
7170
+ * @return {!proto.ResUpdateFileBidding} returns this
7171
+ */
7172
+ proto.ResUpdateFileBidding.prototype.clearFilesList = function() {
7173
+ return this.setFilesList([]);
7174
+ };
7175
+
7176
+
7177
+
6664
7178
 
6665
7179
 
6666
7180
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -6692,7 +7206,8 @@ proto.RequestPO.prototype.toObject = function(opt_includeInstance) {
6692
7206
  */
6693
7207
  proto.RequestPO.toObject = function(includeInstance, msg) {
6694
7208
  var f, obj = {
6695
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
7209
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
7210
+ quotationReferences: jspb.Message.getFieldWithDefault(msg, 2, "")
6696
7211
  };
6697
7212
 
6698
7213
  if (includeInstance) {
@@ -6733,6 +7248,10 @@ proto.RequestPO.deserializeBinaryFromReader = function(msg, reader) {
6733
7248
  var value = /** @type {string} */ (reader.readString());
6734
7249
  msg.setReferencesId(value);
6735
7250
  break;
7251
+ case 2:
7252
+ var value = /** @type {string} */ (reader.readString());
7253
+ msg.setQuotationReferences(value);
7254
+ break;
6736
7255
  default:
6737
7256
  reader.skipField();
6738
7257
  break;
@@ -6769,6 +7288,13 @@ proto.RequestPO.serializeBinaryToWriter = function(message, writer) {
6769
7288
  f
6770
7289
  );
6771
7290
  }
7291
+ f = message.getQuotationReferences();
7292
+ if (f.length > 0) {
7293
+ writer.writeString(
7294
+ 2,
7295
+ f
7296
+ );
7297
+ }
6772
7298
  };
6773
7299
 
6774
7300
 
@@ -6790,6 +7316,24 @@ proto.RequestPO.prototype.setReferencesId = function(value) {
6790
7316
  };
6791
7317
 
6792
7318
 
7319
+ /**
7320
+ * optional string quotation_references = 2;
7321
+ * @return {string}
7322
+ */
7323
+ proto.RequestPO.prototype.getQuotationReferences = function() {
7324
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7325
+ };
7326
+
7327
+
7328
+ /**
7329
+ * @param {string} value
7330
+ * @return {!proto.RequestPO} returns this
7331
+ */
7332
+ proto.RequestPO.prototype.setQuotationReferences = function(value) {
7333
+ return jspb.Message.setProto3StringField(this, 2, value);
7334
+ };
7335
+
7336
+
6793
7337
 
6794
7338
 
6795
7339