@aldiokta/protocgen 1.1.27 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/bidding/bidding_grpc_pb.js +33 -0
- package/prisca/v1/bidding/bidding_pb.js +598 -37
- package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
- package/prisca/v1/core/auth/auth_pb.js +7 -217
- package/prisca/v1/core/file_upload/file_upload_pb.js +93 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -30
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +438 -46
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +31 -1
- package/prisca/v1/core/location/location_pb.js +446 -57
- package/prisca/v1/core/price_condition/price_condition_pb.js +62 -2
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +234 -168
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +1959 -1777
- package/prisca/v1/delivery_order/delivery_order_pb.js +21 -21
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +277 -23
- package/prisca/v1/invoice/invoice_grpc_pb.js +174 -0
- package/prisca/v1/invoice/invoice_pb.js +4398 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +11 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +21 -21
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +74 -74
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +55 -177
- package/prisca/v1/quotation/quotation_pb.js +118 -28
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +413 -28
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +375 -225
|
@@ -31,7 +31,6 @@ goog.exportSymbol('proto.DeletePurchasingOrganizationRequest', null, global);
|
|
|
31
31
|
goog.exportSymbol('proto.DeletePurchasingOrganizationResponse', null, global);
|
|
32
32
|
goog.exportSymbol('proto.GetListPurchasingOrganizationRequest', null, global);
|
|
33
33
|
goog.exportSymbol('proto.GetListPurchasingOrganizationResponse', null, global);
|
|
34
|
-
goog.exportSymbol('proto.PurOrg', null, global);
|
|
35
34
|
goog.exportSymbol('proto.PurchasingOrganization', null, global);
|
|
36
35
|
goog.exportSymbol('proto.PurchasingOrganizationGetByIdRequest', null, global);
|
|
37
36
|
goog.exportSymbol('proto.PurchasingOrganizationGetByIdResponse', null, global);
|
|
@@ -58,27 +57,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
58
57
|
*/
|
|
59
58
|
proto.PurchasingOrganization.displayName = 'proto.PurchasingOrganization';
|
|
60
59
|
}
|
|
61
|
-
/**
|
|
62
|
-
* Generated by JsPbCodeGenerator.
|
|
63
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
64
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
65
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
66
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
67
|
-
* valid.
|
|
68
|
-
* @extends {jspb.Message}
|
|
69
|
-
* @constructor
|
|
70
|
-
*/
|
|
71
|
-
proto.PurOrg = function(opt_data) {
|
|
72
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
73
|
-
};
|
|
74
|
-
goog.inherits(proto.PurOrg, jspb.Message);
|
|
75
|
-
if (goog.DEBUG && !COMPILED) {
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
* @override
|
|
79
|
-
*/
|
|
80
|
-
proto.PurOrg.displayName = 'proto.PurOrg';
|
|
81
|
-
}
|
|
82
60
|
/**
|
|
83
61
|
* Generated by JsPbCodeGenerator.
|
|
84
62
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -324,7 +302,10 @@ proto.PurchasingOrganization.toObject = function(includeInstance, msg) {
|
|
|
324
302
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
325
303
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
326
304
|
code: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
327
|
-
validity: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
305
|
+
validity: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
306
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
307
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
308
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
328
309
|
};
|
|
329
310
|
|
|
330
311
|
if (includeInstance) {
|
|
@@ -377,6 +358,18 @@ proto.PurchasingOrganization.deserializeBinaryFromReader = function(msg, reader)
|
|
|
377
358
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
378
359
|
msg.setValidity(value);
|
|
379
360
|
break;
|
|
361
|
+
case 5:
|
|
362
|
+
var value = /** @type {string} */ (reader.readString());
|
|
363
|
+
msg.setCreatedAt(value);
|
|
364
|
+
break;
|
|
365
|
+
case 6:
|
|
366
|
+
var value = /** @type {string} */ (reader.readString());
|
|
367
|
+
msg.setUpdatedAt(value);
|
|
368
|
+
break;
|
|
369
|
+
case 7:
|
|
370
|
+
var value = /** @type {string} */ (reader.readString());
|
|
371
|
+
msg.setCompaniesReferencesId(value);
|
|
372
|
+
break;
|
|
380
373
|
default:
|
|
381
374
|
reader.skipField();
|
|
382
375
|
break;
|
|
@@ -434,6 +427,27 @@ proto.PurchasingOrganization.serializeBinaryToWriter = function(message, writer)
|
|
|
434
427
|
f
|
|
435
428
|
);
|
|
436
429
|
}
|
|
430
|
+
f = message.getCreatedAt();
|
|
431
|
+
if (f.length > 0) {
|
|
432
|
+
writer.writeString(
|
|
433
|
+
5,
|
|
434
|
+
f
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
f = message.getUpdatedAt();
|
|
438
|
+
if (f.length > 0) {
|
|
439
|
+
writer.writeString(
|
|
440
|
+
6,
|
|
441
|
+
f
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
f = message.getCompaniesReferencesId();
|
|
445
|
+
if (f.length > 0) {
|
|
446
|
+
writer.writeString(
|
|
447
|
+
7,
|
|
448
|
+
f
|
|
449
|
+
);
|
|
450
|
+
}
|
|
437
451
|
};
|
|
438
452
|
|
|
439
453
|
|
|
@@ -509,193 +523,57 @@ proto.PurchasingOrganization.prototype.setValidity = function(value) {
|
|
|
509
523
|
};
|
|
510
524
|
|
|
511
525
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
516
|
-
/**
|
|
517
|
-
* Creates an object representation of this proto.
|
|
518
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
519
|
-
* Optional fields that are not set will be set to undefined.
|
|
520
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
521
|
-
* For the list of reserved names please see:
|
|
522
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
523
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
524
|
-
* JSPB instance for transitional soy proto support:
|
|
525
|
-
* http://goto/soy-param-migration
|
|
526
|
-
* @return {!Object}
|
|
527
|
-
*/
|
|
528
|
-
proto.PurOrg.prototype.toObject = function(opt_includeInstance) {
|
|
529
|
-
return proto.PurOrg.toObject(opt_includeInstance, this);
|
|
530
|
-
};
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* Static version of the {@see toObject} method.
|
|
535
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
536
|
-
* the JSPB instance for transitional soy proto support:
|
|
537
|
-
* http://goto/soy-param-migration
|
|
538
|
-
* @param {!proto.PurOrg} msg The msg instance to transform.
|
|
539
|
-
* @return {!Object}
|
|
540
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
541
|
-
*/
|
|
542
|
-
proto.PurOrg.toObject = function(includeInstance, msg) {
|
|
543
|
-
var f, obj = {
|
|
544
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
545
|
-
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
546
|
-
name: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
547
|
-
};
|
|
548
|
-
|
|
549
|
-
if (includeInstance) {
|
|
550
|
-
obj.$jspbMessageInstance = msg;
|
|
551
|
-
}
|
|
552
|
-
return obj;
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
* Deserializes binary data (in protobuf wire format).
|
|
559
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
560
|
-
* @return {!proto.PurOrg}
|
|
561
|
-
*/
|
|
562
|
-
proto.PurOrg.deserializeBinary = function(bytes) {
|
|
563
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
564
|
-
var msg = new proto.PurOrg;
|
|
565
|
-
return proto.PurOrg.deserializeBinaryFromReader(msg, reader);
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
571
|
-
* given reader into the given message object.
|
|
572
|
-
* @param {!proto.PurOrg} msg The message object to deserialize into.
|
|
573
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
574
|
-
* @return {!proto.PurOrg}
|
|
575
|
-
*/
|
|
576
|
-
proto.PurOrg.deserializeBinaryFromReader = function(msg, reader) {
|
|
577
|
-
while (reader.nextField()) {
|
|
578
|
-
if (reader.isEndGroup()) {
|
|
579
|
-
break;
|
|
580
|
-
}
|
|
581
|
-
var field = reader.getFieldNumber();
|
|
582
|
-
switch (field) {
|
|
583
|
-
case 1:
|
|
584
|
-
var value = /** @type {string} */ (reader.readString());
|
|
585
|
-
msg.setReferencesId(value);
|
|
586
|
-
break;
|
|
587
|
-
case 2:
|
|
588
|
-
var value = /** @type {string} */ (reader.readString());
|
|
589
|
-
msg.setCode(value);
|
|
590
|
-
break;
|
|
591
|
-
case 3:
|
|
592
|
-
var value = /** @type {string} */ (reader.readString());
|
|
593
|
-
msg.setName(value);
|
|
594
|
-
break;
|
|
595
|
-
default:
|
|
596
|
-
reader.skipField();
|
|
597
|
-
break;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
return msg;
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
|
|
604
526
|
/**
|
|
605
|
-
*
|
|
606
|
-
* @return {!Uint8Array}
|
|
607
|
-
*/
|
|
608
|
-
proto.PurOrg.prototype.serializeBinary = function() {
|
|
609
|
-
var writer = new jspb.BinaryWriter();
|
|
610
|
-
proto.PurOrg.serializeBinaryToWriter(this, writer);
|
|
611
|
-
return writer.getResultBuffer();
|
|
612
|
-
};
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
/**
|
|
616
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
617
|
-
* format), writing to the given BinaryWriter.
|
|
618
|
-
* @param {!proto.PurOrg} message
|
|
619
|
-
* @param {!jspb.BinaryWriter} writer
|
|
620
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
621
|
-
*/
|
|
622
|
-
proto.PurOrg.serializeBinaryToWriter = function(message, writer) {
|
|
623
|
-
var f = undefined;
|
|
624
|
-
f = message.getReferencesId();
|
|
625
|
-
if (f.length > 0) {
|
|
626
|
-
writer.writeString(
|
|
627
|
-
1,
|
|
628
|
-
f
|
|
629
|
-
);
|
|
630
|
-
}
|
|
631
|
-
f = message.getCode();
|
|
632
|
-
if (f.length > 0) {
|
|
633
|
-
writer.writeString(
|
|
634
|
-
2,
|
|
635
|
-
f
|
|
636
|
-
);
|
|
637
|
-
}
|
|
638
|
-
f = message.getName();
|
|
639
|
-
if (f.length > 0) {
|
|
640
|
-
writer.writeString(
|
|
641
|
-
3,
|
|
642
|
-
f
|
|
643
|
-
);
|
|
644
|
-
}
|
|
645
|
-
};
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* optional string references_id = 1;
|
|
527
|
+
* optional string created_at = 5;
|
|
650
528
|
* @return {string}
|
|
651
529
|
*/
|
|
652
|
-
proto.
|
|
653
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
530
|
+
proto.PurchasingOrganization.prototype.getCreatedAt = function() {
|
|
531
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
654
532
|
};
|
|
655
533
|
|
|
656
534
|
|
|
657
535
|
/**
|
|
658
536
|
* @param {string} value
|
|
659
|
-
* @return {!proto.
|
|
537
|
+
* @return {!proto.PurchasingOrganization} returns this
|
|
660
538
|
*/
|
|
661
|
-
proto.
|
|
662
|
-
return jspb.Message.setProto3StringField(this,
|
|
539
|
+
proto.PurchasingOrganization.prototype.setCreatedAt = function(value) {
|
|
540
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
663
541
|
};
|
|
664
542
|
|
|
665
543
|
|
|
666
544
|
/**
|
|
667
|
-
* optional string
|
|
545
|
+
* optional string updated_at = 6;
|
|
668
546
|
* @return {string}
|
|
669
547
|
*/
|
|
670
|
-
proto.
|
|
671
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
548
|
+
proto.PurchasingOrganization.prototype.getUpdatedAt = function() {
|
|
549
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
672
550
|
};
|
|
673
551
|
|
|
674
552
|
|
|
675
553
|
/**
|
|
676
554
|
* @param {string} value
|
|
677
|
-
* @return {!proto.
|
|
555
|
+
* @return {!proto.PurchasingOrganization} returns this
|
|
678
556
|
*/
|
|
679
|
-
proto.
|
|
680
|
-
return jspb.Message.setProto3StringField(this,
|
|
557
|
+
proto.PurchasingOrganization.prototype.setUpdatedAt = function(value) {
|
|
558
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
681
559
|
};
|
|
682
560
|
|
|
683
561
|
|
|
684
562
|
/**
|
|
685
|
-
* optional string
|
|
563
|
+
* optional string companies_references_id = 7;
|
|
686
564
|
* @return {string}
|
|
687
565
|
*/
|
|
688
|
-
proto.
|
|
689
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
566
|
+
proto.PurchasingOrganization.prototype.getCompaniesReferencesId = function() {
|
|
567
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
690
568
|
};
|
|
691
569
|
|
|
692
570
|
|
|
693
571
|
/**
|
|
694
572
|
* @param {string} value
|
|
695
|
-
* @return {!proto.
|
|
573
|
+
* @return {!proto.PurchasingOrganization} returns this
|
|
696
574
|
*/
|
|
697
|
-
proto.
|
|
698
|
-
return jspb.Message.setProto3StringField(this,
|
|
575
|
+
proto.PurchasingOrganization.prototype.setCompaniesReferencesId = function(value) {
|
|
576
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
699
577
|
};
|
|
700
578
|
|
|
701
579
|
|
|
@@ -358,7 +358,7 @@ proto.BaseEditQuantityQuotationItem.prototype.toObject = function(opt_includeIns
|
|
|
358
358
|
proto.BaseEditQuantityQuotationItem.toObject = function(includeInstance, msg) {
|
|
359
359
|
var f, obj = {
|
|
360
360
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
361
|
-
quantity: jspb.Message.getFieldWithDefault(msg, 2,
|
|
361
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
362
362
|
};
|
|
363
363
|
|
|
364
364
|
if (includeInstance) {
|
|
@@ -400,7 +400,7 @@ proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg,
|
|
|
400
400
|
msg.setReferencesId(value);
|
|
401
401
|
break;
|
|
402
402
|
case 2:
|
|
403
|
-
var value = /** @type {
|
|
403
|
+
var value = /** @type {string} */ (reader.readString());
|
|
404
404
|
msg.setQuantity(value);
|
|
405
405
|
break;
|
|
406
406
|
default:
|
|
@@ -440,8 +440,8 @@ proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message,
|
|
|
440
440
|
);
|
|
441
441
|
}
|
|
442
442
|
f = message.getQuantity();
|
|
443
|
-
if (f
|
|
444
|
-
writer.
|
|
443
|
+
if (f.length > 0) {
|
|
444
|
+
writer.writeString(
|
|
445
445
|
2,
|
|
446
446
|
f
|
|
447
447
|
);
|
|
@@ -468,20 +468,20 @@ proto.BaseEditQuantityQuotationItem.prototype.setReferencesId = function(value)
|
|
|
468
468
|
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
|
-
* optional
|
|
472
|
-
* @return {
|
|
471
|
+
* optional string quantity = 2;
|
|
472
|
+
* @return {string}
|
|
473
473
|
*/
|
|
474
474
|
proto.BaseEditQuantityQuotationItem.prototype.getQuantity = function() {
|
|
475
|
-
return /** @type {
|
|
475
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
476
476
|
};
|
|
477
477
|
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
-
* @param {
|
|
480
|
+
* @param {string} value
|
|
481
481
|
* @return {!proto.BaseEditQuantityQuotationItem} returns this
|
|
482
482
|
*/
|
|
483
483
|
proto.BaseEditQuantityQuotationItem.prototype.setQuantity = function(value) {
|
|
484
|
-
return jspb.Message.
|
|
484
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
485
485
|
};
|
|
486
486
|
|
|
487
487
|
|
|
@@ -800,8 +800,11 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
|
800
800
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
801
801
|
title: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
802
802
|
vendorName: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
803
|
-
|
|
804
|
-
|
|
803
|
+
status: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
804
|
+
biddingDate: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
805
|
+
biddingStartDate: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
806
|
+
requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
807
|
+
maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 29, "")
|
|
805
808
|
};
|
|
806
809
|
|
|
807
810
|
if (includeInstance) {
|
|
@@ -938,11 +941,23 @@ proto.BaseQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
938
941
|
break;
|
|
939
942
|
case 25:
|
|
940
943
|
var value = /** @type {string} */ (reader.readString());
|
|
941
|
-
msg.
|
|
944
|
+
msg.setStatus(value);
|
|
942
945
|
break;
|
|
943
946
|
case 26:
|
|
944
947
|
var value = /** @type {string} */ (reader.readString());
|
|
945
|
-
msg.
|
|
948
|
+
msg.setBiddingDate(value);
|
|
949
|
+
break;
|
|
950
|
+
case 27:
|
|
951
|
+
var value = /** @type {string} */ (reader.readString());
|
|
952
|
+
msg.setBiddingStartDate(value);
|
|
953
|
+
break;
|
|
954
|
+
case 28:
|
|
955
|
+
var value = /** @type {string} */ (reader.readString());
|
|
956
|
+
msg.setRequestForQuotationMethod(value);
|
|
957
|
+
break;
|
|
958
|
+
case 29:
|
|
959
|
+
var value = /** @type {string} */ (reader.readString());
|
|
960
|
+
msg.setMaxSubmissionDate(value);
|
|
946
961
|
break;
|
|
947
962
|
default:
|
|
948
963
|
reader.skipField();
|
|
@@ -1143,20 +1158,41 @@ proto.BaseQuotationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
1143
1158
|
f
|
|
1144
1159
|
);
|
|
1145
1160
|
}
|
|
1146
|
-
f = message.
|
|
1161
|
+
f = message.getStatus();
|
|
1147
1162
|
if (f.length > 0) {
|
|
1148
1163
|
writer.writeString(
|
|
1149
1164
|
25,
|
|
1150
1165
|
f
|
|
1151
1166
|
);
|
|
1152
1167
|
}
|
|
1153
|
-
f = message.
|
|
1168
|
+
f = message.getBiddingDate();
|
|
1154
1169
|
if (f.length > 0) {
|
|
1155
1170
|
writer.writeString(
|
|
1156
1171
|
26,
|
|
1157
1172
|
f
|
|
1158
1173
|
);
|
|
1159
1174
|
}
|
|
1175
|
+
f = message.getBiddingStartDate();
|
|
1176
|
+
if (f.length > 0) {
|
|
1177
|
+
writer.writeString(
|
|
1178
|
+
27,
|
|
1179
|
+
f
|
|
1180
|
+
);
|
|
1181
|
+
}
|
|
1182
|
+
f = message.getRequestForQuotationMethod();
|
|
1183
|
+
if (f.length > 0) {
|
|
1184
|
+
writer.writeString(
|
|
1185
|
+
28,
|
|
1186
|
+
f
|
|
1187
|
+
);
|
|
1188
|
+
}
|
|
1189
|
+
f = message.getMaxSubmissionDate();
|
|
1190
|
+
if (f.length > 0) {
|
|
1191
|
+
writer.writeString(
|
|
1192
|
+
29,
|
|
1193
|
+
f
|
|
1194
|
+
);
|
|
1195
|
+
}
|
|
1160
1196
|
};
|
|
1161
1197
|
|
|
1162
1198
|
|
|
@@ -1633,10 +1669,10 @@ proto.BaseQuotationRequest.prototype.setVendorName = function(value) {
|
|
|
1633
1669
|
|
|
1634
1670
|
|
|
1635
1671
|
/**
|
|
1636
|
-
* optional string
|
|
1672
|
+
* optional string status = 25;
|
|
1637
1673
|
* @return {string}
|
|
1638
1674
|
*/
|
|
1639
|
-
proto.BaseQuotationRequest.prototype.
|
|
1675
|
+
proto.BaseQuotationRequest.prototype.getStatus = function() {
|
|
1640
1676
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
|
1641
1677
|
};
|
|
1642
1678
|
|
|
@@ -1645,16 +1681,16 @@ proto.BaseQuotationRequest.prototype.getBiddingDate = function() {
|
|
|
1645
1681
|
* @param {string} value
|
|
1646
1682
|
* @return {!proto.BaseQuotationRequest} returns this
|
|
1647
1683
|
*/
|
|
1648
|
-
proto.BaseQuotationRequest.prototype.
|
|
1684
|
+
proto.BaseQuotationRequest.prototype.setStatus = function(value) {
|
|
1649
1685
|
return jspb.Message.setProto3StringField(this, 25, value);
|
|
1650
1686
|
};
|
|
1651
1687
|
|
|
1652
1688
|
|
|
1653
1689
|
/**
|
|
1654
|
-
* optional string
|
|
1690
|
+
* optional string bidding_date = 26;
|
|
1655
1691
|
* @return {string}
|
|
1656
1692
|
*/
|
|
1657
|
-
proto.BaseQuotationRequest.prototype.
|
|
1693
|
+
proto.BaseQuotationRequest.prototype.getBiddingDate = function() {
|
|
1658
1694
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
|
|
1659
1695
|
};
|
|
1660
1696
|
|
|
@@ -1663,11 +1699,65 @@ proto.BaseQuotationRequest.prototype.getStatus = function() {
|
|
|
1663
1699
|
* @param {string} value
|
|
1664
1700
|
* @return {!proto.BaseQuotationRequest} returns this
|
|
1665
1701
|
*/
|
|
1666
|
-
proto.BaseQuotationRequest.prototype.
|
|
1702
|
+
proto.BaseQuotationRequest.prototype.setBiddingDate = function(value) {
|
|
1667
1703
|
return jspb.Message.setProto3StringField(this, 26, value);
|
|
1668
1704
|
};
|
|
1669
1705
|
|
|
1670
1706
|
|
|
1707
|
+
/**
|
|
1708
|
+
* optional string bidding_start_date = 27;
|
|
1709
|
+
* @return {string}
|
|
1710
|
+
*/
|
|
1711
|
+
proto.BaseQuotationRequest.prototype.getBiddingStartDate = function() {
|
|
1712
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
1713
|
+
};
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* @param {string} value
|
|
1718
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1719
|
+
*/
|
|
1720
|
+
proto.BaseQuotationRequest.prototype.setBiddingStartDate = function(value) {
|
|
1721
|
+
return jspb.Message.setProto3StringField(this, 27, value);
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* optional string request_for_quotation_method = 28;
|
|
1727
|
+
* @return {string}
|
|
1728
|
+
*/
|
|
1729
|
+
proto.BaseQuotationRequest.prototype.getRequestForQuotationMethod = function() {
|
|
1730
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
1731
|
+
};
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* @param {string} value
|
|
1736
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1737
|
+
*/
|
|
1738
|
+
proto.BaseQuotationRequest.prototype.setRequestForQuotationMethod = function(value) {
|
|
1739
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
1740
|
+
};
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* optional string max_submission_date = 29;
|
|
1745
|
+
* @return {string}
|
|
1746
|
+
*/
|
|
1747
|
+
proto.BaseQuotationRequest.prototype.getMaxSubmissionDate = function() {
|
|
1748
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* @param {string} value
|
|
1754
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1755
|
+
*/
|
|
1756
|
+
proto.BaseQuotationRequest.prototype.setMaxSubmissionDate = function(value) {
|
|
1757
|
+
return jspb.Message.setProto3StringField(this, 29, value);
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
|
|
1671
1761
|
|
|
1672
1762
|
|
|
1673
1763
|
|
|
@@ -3211,17 +3301,17 @@ proto.GetQuotationDetailResponse.serializeBinaryToWriter = function(message, wri
|
|
|
3211
3301
|
|
|
3212
3302
|
|
|
3213
3303
|
/**
|
|
3214
|
-
* repeated
|
|
3215
|
-
* @return {!Array<!proto.
|
|
3304
|
+
* repeated TransactionBuilderFieldsDetail transaction_builder = 1;
|
|
3305
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
3216
3306
|
*/
|
|
3217
3307
|
proto.GetQuotationDetailResponse.prototype.getTransactionBuilderList = function() {
|
|
3218
|
-
return /** @type{!Array<!proto.
|
|
3308
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
3219
3309
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
3220
3310
|
};
|
|
3221
3311
|
|
|
3222
3312
|
|
|
3223
3313
|
/**
|
|
3224
|
-
* @param {!Array<!proto.
|
|
3314
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
3225
3315
|
* @return {!proto.GetQuotationDetailResponse} returns this
|
|
3226
3316
|
*/
|
|
3227
3317
|
proto.GetQuotationDetailResponse.prototype.setTransactionBuilderList = function(value) {
|
|
@@ -3230,12 +3320,12 @@ proto.GetQuotationDetailResponse.prototype.setTransactionBuilderList = function(
|
|
|
3230
3320
|
|
|
3231
3321
|
|
|
3232
3322
|
/**
|
|
3233
|
-
* @param {!proto.
|
|
3323
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
3234
3324
|
* @param {number=} opt_index
|
|
3235
|
-
* @return {!proto.
|
|
3325
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
3236
3326
|
*/
|
|
3237
3327
|
proto.GetQuotationDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
|
|
3238
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
3328
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
3239
3329
|
};
|
|
3240
3330
|
|
|
3241
3331
|
|
|
@@ -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');
|