@aldiokta/protocgen 1.1.21 → 1.1.22

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 (43) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +33 -0
  3. package/prisca/v1/bidding/bidding_pb.js +613 -4
  4. package/prisca/v1/core/company/company_pb.js +77 -25
  5. package/prisca/v1/core/employee/employee_pb.js +74 -22
  6. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +33 -0
  7. package/prisca/v1/core/incoterm/incoterm_pb.js +407 -0
  8. package/prisca/v1/core/item_transaction/item_transaction_pb.js +274 -4
  9. package/prisca/v1/core/job_grade/job_grade_pb.js +80 -28
  10. package/prisca/v1/core/job_position/job_position_pb.js +74 -22
  11. package/prisca/v1/core/job_title/job_title_pb.js +80 -28
  12. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
  13. package/prisca/v1/core/material/material_pb.js +74 -22
  14. package/prisca/v1/core/material_group/material_group_pb.js +77 -25
  15. package/prisca/v1/core/material_type/material_type_grpc_pb.js +33 -0
  16. package/prisca/v1/core/material_type/material_type_pb.js +407 -0
  17. package/prisca/v1/core/number_range/number_range_pb.js +74 -22
  18. package/prisca/v1/core/organization/organization_pb.js +80 -28
  19. package/prisca/v1/core/organization_level/organization_level_pb.js +80 -28
  20. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +33 -0
  21. package/prisca/v1/core/price_condition/price_condition_pb.js +407 -0
  22. package/prisca/v1/core/tax_code/tax_code_pb.js +152 -2
  23. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +33 -0
  24. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +407 -0
  25. package/prisca/v1/core/users/users_grpc_pb.js +33 -0
  26. package/prisca/v1/core/users/users_pb.js +407 -0
  27. package/prisca/v1/core/work_location/work_location_pb.js +74 -22
  28. package/prisca/v1/core/workflow/workflow_pb.js +74 -22
  29. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  30. package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
  31. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
  32. package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
  33. package/prisca/v1/purchase_order/purchase_order_pb.js +98 -8
  34. package/prisca/v1/purchasing_group/purchasing_group_pb.js +80 -28
  35. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +33 -0
  36. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +407 -0
  37. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +33 -0
  38. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +407 -0
  39. package/prisca/v1/quotation/quotation_grpc_pb.js +14 -3
  40. package/prisca/v1/quotation/quotation_pb.js +479 -2
  41. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +1 -0
  42. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +262 -4
  43. package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
@@ -48,10 +48,12 @@ goog.exportSymbol('proto.GetQuotationItemDetailPreload', null, global);
48
48
  goog.exportSymbol('proto.GetQuotationItemPreload', null, global);
49
49
  goog.exportSymbol('proto.GetQuotationVendorPreload', null, global);
50
50
  goog.exportSymbol('proto.Quotation', null, global);
51
+ goog.exportSymbol('proto.RequestAddVendorBidding', null, global);
51
52
  goog.exportSymbol('proto.RequestBidding', null, global);
52
53
  goog.exportSymbol('proto.RequestBiddingBase', null, global);
53
54
  goog.exportSymbol('proto.RequestGetListBidding', null, global);
54
55
  goog.exportSymbol('proto.RequestPO', null, global);
56
+ goog.exportSymbol('proto.ResponseAddVendorBidding', null, global);
55
57
  goog.exportSymbol('proto.ResponseBidding', null, global);
56
58
  goog.exportSymbol('proto.ResponseDetailBiddingByReferences', null, global);
57
59
  goog.exportSymbol('proto.ResponseGetListBidding', null, global);
@@ -121,6 +123,27 @@ if (goog.DEBUG && !COMPILED) {
121
123
  */
122
124
  proto.RequestBiddingBase.displayName = 'proto.RequestBiddingBase';
123
125
  }
126
+ /**
127
+ * Generated by JsPbCodeGenerator.
128
+ * @param {Array=} opt_data Optional initial data array, typically from a
129
+ * server response, or constructed directly in Javascript. The array is used
130
+ * in place and becomes part of the constructed object. It is not cloned.
131
+ * If no data is provided, the constructed object will be empty, but still
132
+ * valid.
133
+ * @extends {jspb.Message}
134
+ * @constructor
135
+ */
136
+ proto.RequestAddVendorBidding = function(opt_data) {
137
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
138
+ };
139
+ goog.inherits(proto.RequestAddVendorBidding, jspb.Message);
140
+ if (goog.DEBUG && !COMPILED) {
141
+ /**
142
+ * @public
143
+ * @override
144
+ */
145
+ proto.RequestAddVendorBidding.displayName = 'proto.RequestAddVendorBidding';
146
+ }
124
147
  /**
125
148
  * Generated by JsPbCodeGenerator.
126
149
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -331,6 +354,27 @@ if (goog.DEBUG && !COMPILED) {
331
354
  */
332
355
  proto.ResponseDetailBiddingByReferences.displayName = 'proto.ResponseDetailBiddingByReferences';
333
356
  }
357
+ /**
358
+ * Generated by JsPbCodeGenerator.
359
+ * @param {Array=} opt_data Optional initial data array, typically from a
360
+ * server response, or constructed directly in Javascript. The array is used
361
+ * in place and becomes part of the constructed object. It is not cloned.
362
+ * If no data is provided, the constructed object will be empty, but still
363
+ * valid.
364
+ * @extends {jspb.Message}
365
+ * @constructor
366
+ */
367
+ proto.ResponseAddVendorBidding = function(opt_data) {
368
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ResponseAddVendorBidding.repeatedFields_, null);
369
+ };
370
+ goog.inherits(proto.ResponseAddVendorBidding, jspb.Message);
371
+ if (goog.DEBUG && !COMPILED) {
372
+ /**
373
+ * @public
374
+ * @override
375
+ */
376
+ proto.ResponseAddVendorBidding.displayName = 'proto.ResponseAddVendorBidding';
377
+ }
334
378
  /**
335
379
  * Generated by JsPbCodeGenerator.
336
380
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -505,7 +549,7 @@ if (goog.DEBUG && !COMPILED) {
505
549
  * @private {!Array<number>}
506
550
  * @const
507
551
  */
508
- proto.Quotation.repeatedFields_ = [29];
552
+ proto.Quotation.repeatedFields_ = [29,36];
509
553
 
510
554
 
511
555
 
@@ -573,7 +617,11 @@ createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_e
573
617
  updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
574
618
  visible: jspb.Message.getBooleanFieldWithDefault(msg, 33, false),
575
619
  bidding: (f = msg.getBidding()) && proto.Bidding.toObject(includeInstance, f),
576
- companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 35, "")
620
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 35, ""),
621
+ filesList: jspb.Message.toObjectList(msg.getFilesList(),
622
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
623
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 37, ""),
624
+ fileIds: jspb.Message.getFieldWithDefault(msg, 38, "")
577
625
  };
578
626
 
579
627
  if (includeInstance) {
@@ -755,6 +803,19 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
755
803
  var value = /** @type {string} */ (reader.readString());
756
804
  msg.setCompaniesReferencesId(value);
757
805
  break;
806
+ case 36:
807
+ var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
808
+ reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
809
+ msg.addFiles(value);
810
+ break;
811
+ case 37:
812
+ var value = /** @type {string} */ (reader.readString());
813
+ msg.setPurchaseRequisitionTransactionNumber(value);
814
+ break;
815
+ case 38:
816
+ var value = /** @type {string} */ (reader.readString());
817
+ msg.setFileIds(value);
818
+ break;
758
819
  default:
759
820
  reader.skipField();
760
821
  break;
@@ -1034,6 +1095,28 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
1034
1095
  f
1035
1096
  );
1036
1097
  }
1098
+ f = message.getFilesList();
1099
+ if (f.length > 0) {
1100
+ writer.writeRepeatedMessage(
1101
+ 36,
1102
+ f,
1103
+ prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
1104
+ );
1105
+ }
1106
+ f = message.getPurchaseRequisitionTransactionNumber();
1107
+ if (f.length > 0) {
1108
+ writer.writeString(
1109
+ 37,
1110
+ f
1111
+ );
1112
+ }
1113
+ f = message.getFileIds();
1114
+ if (f.length > 0) {
1115
+ writer.writeString(
1116
+ 38,
1117
+ f
1118
+ );
1119
+ }
1037
1120
  };
1038
1121
 
1039
1122
 
@@ -1763,6 +1846,80 @@ proto.Quotation.prototype.setCompaniesReferencesId = function(value) {
1763
1846
  };
1764
1847
 
1765
1848
 
1849
+ /**
1850
+ * repeated FileUploadReferencesReq files = 36;
1851
+ * @return {!Array<!proto.FileUploadReferencesReq>}
1852
+ */
1853
+ proto.Quotation.prototype.getFilesList = function() {
1854
+ return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
1855
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 36));
1856
+ };
1857
+
1858
+
1859
+ /**
1860
+ * @param {!Array<!proto.FileUploadReferencesReq>} value
1861
+ * @return {!proto.Quotation} returns this
1862
+ */
1863
+ proto.Quotation.prototype.setFilesList = function(value) {
1864
+ return jspb.Message.setRepeatedWrapperField(this, 36, value);
1865
+ };
1866
+
1867
+
1868
+ /**
1869
+ * @param {!proto.FileUploadReferencesReq=} opt_value
1870
+ * @param {number=} opt_index
1871
+ * @return {!proto.FileUploadReferencesReq}
1872
+ */
1873
+ proto.Quotation.prototype.addFiles = function(opt_value, opt_index) {
1874
+ return jspb.Message.addToRepeatedWrapperField(this, 36, opt_value, proto.FileUploadReferencesReq, opt_index);
1875
+ };
1876
+
1877
+
1878
+ /**
1879
+ * Clears the list making it empty but non-null.
1880
+ * @return {!proto.Quotation} returns this
1881
+ */
1882
+ proto.Quotation.prototype.clearFilesList = function() {
1883
+ return this.setFilesList([]);
1884
+ };
1885
+
1886
+
1887
+ /**
1888
+ * optional string purchase_requisition_transaction_number = 37;
1889
+ * @return {string}
1890
+ */
1891
+ proto.Quotation.prototype.getPurchaseRequisitionTransactionNumber = function() {
1892
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
1893
+ };
1894
+
1895
+
1896
+ /**
1897
+ * @param {string} value
1898
+ * @return {!proto.Quotation} returns this
1899
+ */
1900
+ proto.Quotation.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
1901
+ return jspb.Message.setProto3StringField(this, 37, value);
1902
+ };
1903
+
1904
+
1905
+ /**
1906
+ * optional string file_ids = 38;
1907
+ * @return {string}
1908
+ */
1909
+ proto.Quotation.prototype.getFileIds = function() {
1910
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
1911
+ };
1912
+
1913
+
1914
+ /**
1915
+ * @param {string} value
1916
+ * @return {!proto.Quotation} returns this
1917
+ */
1918
+ proto.Quotation.prototype.setFileIds = function(value) {
1919
+ return jspb.Message.setProto3StringField(this, 38, value);
1920
+ };
1921
+
1922
+
1766
1923
 
1767
1924
  /**
1768
1925
  * List of repeated fields within this message type.
@@ -1825,7 +1982,8 @@ createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_e
1825
1982
  updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
1826
1983
  status: jspb.Message.getFieldWithDefault(msg, 21, ""),
1827
1984
  companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 22, ""),
1828
- groupReferences: jspb.Message.getFieldWithDefault(msg, 23, "")
1985
+ groupReferences: jspb.Message.getFieldWithDefault(msg, 23, ""),
1986
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, "")
1829
1987
  };
1830
1988
 
1831
1989
  if (includeInstance) {
@@ -1957,6 +2115,10 @@ proto.Bidding.deserializeBinaryFromReader = function(msg, reader) {
1957
2115
  var value = /** @type {string} */ (reader.readString());
1958
2116
  msg.setGroupReferences(value);
1959
2117
  break;
2118
+ case 24:
2119
+ var value = /** @type {string} */ (reader.readString());
2120
+ msg.setPurchaseRequisitionTransactionNumber(value);
2121
+ break;
1960
2122
  default:
1961
2123
  reader.skipField();
1962
2124
  break;
@@ -2150,6 +2312,13 @@ proto.Bidding.serializeBinaryToWriter = function(message, writer) {
2150
2312
  f
2151
2313
  );
2152
2314
  }
2315
+ f = message.getPurchaseRequisitionTransactionNumber();
2316
+ if (f.length > 0) {
2317
+ writer.writeString(
2318
+ 24,
2319
+ f
2320
+ );
2321
+ }
2153
2322
  };
2154
2323
 
2155
2324
 
@@ -2625,6 +2794,24 @@ proto.Bidding.prototype.setGroupReferences = function(value) {
2625
2794
  };
2626
2795
 
2627
2796
 
2797
+ /**
2798
+ * optional string purchase_requisition_transaction_number = 24;
2799
+ * @return {string}
2800
+ */
2801
+ proto.Bidding.prototype.getPurchaseRequisitionTransactionNumber = function() {
2802
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
2803
+ };
2804
+
2805
+
2806
+ /**
2807
+ * @param {string} value
2808
+ * @return {!proto.Bidding} returns this
2809
+ */
2810
+ proto.Bidding.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
2811
+ return jspb.Message.setProto3StringField(this, 24, value);
2812
+ };
2813
+
2814
+
2628
2815
 
2629
2816
  /**
2630
2817
  * List of repeated fields within this message type.
@@ -2677,7 +2864,8 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
2677
2864
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
2678
2865
  itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
2679
2866
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
2680
- status: jspb.Message.getFieldWithDefault(msg, 14, "")
2867
+ status: jspb.Message.getFieldWithDefault(msg, 14, ""),
2868
+ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 15, "")
2681
2869
  };
2682
2870
 
2683
2871
  if (includeInstance) {
@@ -2764,6 +2952,10 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
2764
2952
  var value = /** @type {string} */ (reader.readString());
2765
2953
  msg.setStatus(value);
2766
2954
  break;
2955
+ case 15:
2956
+ var value = /** @type {string} */ (reader.readString());
2957
+ msg.setPurchaseRequisitionTransactionNumber(value);
2958
+ break;
2767
2959
  default:
2768
2960
  reader.skipField();
2769
2961
  break;
@@ -2879,6 +3071,13 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
2879
3071
  f
2880
3072
  );
2881
3073
  }
3074
+ f = message.getPurchaseRequisitionTransactionNumber();
3075
+ if (f.length > 0) {
3076
+ writer.writeString(
3077
+ 15,
3078
+ f
3079
+ );
3080
+ }
2882
3081
  };
2883
3082
 
2884
3083
 
@@ -3138,6 +3337,205 @@ proto.RequestBiddingBase.prototype.setStatus = function(value) {
3138
3337
  };
3139
3338
 
3140
3339
 
3340
+ /**
3341
+ * optional string purchase_requisition_transaction_number = 15;
3342
+ * @return {string}
3343
+ */
3344
+ proto.RequestBiddingBase.prototype.getPurchaseRequisitionTransactionNumber = function() {
3345
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
3346
+ };
3347
+
3348
+
3349
+ /**
3350
+ * @param {string} value
3351
+ * @return {!proto.RequestBiddingBase} returns this
3352
+ */
3353
+ proto.RequestBiddingBase.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
3354
+ return jspb.Message.setProto3StringField(this, 15, value);
3355
+ };
3356
+
3357
+
3358
+
3359
+
3360
+
3361
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3362
+ /**
3363
+ * Creates an object representation of this proto.
3364
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3365
+ * Optional fields that are not set will be set to undefined.
3366
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3367
+ * For the list of reserved names please see:
3368
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3369
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3370
+ * JSPB instance for transitional soy proto support:
3371
+ * http://goto/soy-param-migration
3372
+ * @return {!Object}
3373
+ */
3374
+ proto.RequestAddVendorBidding.prototype.toObject = function(opt_includeInstance) {
3375
+ return proto.RequestAddVendorBidding.toObject(opt_includeInstance, this);
3376
+ };
3377
+
3378
+
3379
+ /**
3380
+ * Static version of the {@see toObject} method.
3381
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3382
+ * the JSPB instance for transitional soy proto support:
3383
+ * http://goto/soy-param-migration
3384
+ * @param {!proto.RequestAddVendorBidding} msg The msg instance to transform.
3385
+ * @return {!Object}
3386
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3387
+ */
3388
+ proto.RequestAddVendorBidding.toObject = function(includeInstance, msg) {
3389
+ var f, obj = {
3390
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3391
+ requestQuotationVendor: (f = msg.getRequestQuotationVendor()) && prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor.toObject(includeInstance, f)
3392
+ };
3393
+
3394
+ if (includeInstance) {
3395
+ obj.$jspbMessageInstance = msg;
3396
+ }
3397
+ return obj;
3398
+ };
3399
+ }
3400
+
3401
+
3402
+ /**
3403
+ * Deserializes binary data (in protobuf wire format).
3404
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3405
+ * @return {!proto.RequestAddVendorBidding}
3406
+ */
3407
+ proto.RequestAddVendorBidding.deserializeBinary = function(bytes) {
3408
+ var reader = new jspb.BinaryReader(bytes);
3409
+ var msg = new proto.RequestAddVendorBidding;
3410
+ return proto.RequestAddVendorBidding.deserializeBinaryFromReader(msg, reader);
3411
+ };
3412
+
3413
+
3414
+ /**
3415
+ * Deserializes binary data (in protobuf wire format) from the
3416
+ * given reader into the given message object.
3417
+ * @param {!proto.RequestAddVendorBidding} msg The message object to deserialize into.
3418
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3419
+ * @return {!proto.RequestAddVendorBidding}
3420
+ */
3421
+ proto.RequestAddVendorBidding.deserializeBinaryFromReader = function(msg, reader) {
3422
+ while (reader.nextField()) {
3423
+ if (reader.isEndGroup()) {
3424
+ break;
3425
+ }
3426
+ var field = reader.getFieldNumber();
3427
+ switch (field) {
3428
+ case 1:
3429
+ var value = /** @type {string} */ (reader.readString());
3430
+ msg.setReferencesId(value);
3431
+ break;
3432
+ 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);
3435
+ msg.setRequestQuotationVendor(value);
3436
+ break;
3437
+ default:
3438
+ reader.skipField();
3439
+ break;
3440
+ }
3441
+ }
3442
+ return msg;
3443
+ };
3444
+
3445
+
3446
+ /**
3447
+ * Serializes the message to binary data (in protobuf wire format).
3448
+ * @return {!Uint8Array}
3449
+ */
3450
+ proto.RequestAddVendorBidding.prototype.serializeBinary = function() {
3451
+ var writer = new jspb.BinaryWriter();
3452
+ proto.RequestAddVendorBidding.serializeBinaryToWriter(this, writer);
3453
+ return writer.getResultBuffer();
3454
+ };
3455
+
3456
+
3457
+ /**
3458
+ * Serializes the given message to binary data (in protobuf wire
3459
+ * format), writing to the given BinaryWriter.
3460
+ * @param {!proto.RequestAddVendorBidding} message
3461
+ * @param {!jspb.BinaryWriter} writer
3462
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3463
+ */
3464
+ proto.RequestAddVendorBidding.serializeBinaryToWriter = function(message, writer) {
3465
+ var f = undefined;
3466
+ f = message.getReferencesId();
3467
+ if (f.length > 0) {
3468
+ writer.writeString(
3469
+ 1,
3470
+ f
3471
+ );
3472
+ }
3473
+ f = message.getRequestQuotationVendor();
3474
+ if (f != null) {
3475
+ writer.writeMessage(
3476
+ 2,
3477
+ f,
3478
+ prisca_v1_request_for_quotation_request_for_quotation_pb.RequestForQuotationVendor.serializeBinaryToWriter
3479
+ );
3480
+ }
3481
+ };
3482
+
3483
+
3484
+ /**
3485
+ * optional string references_id = 1;
3486
+ * @return {string}
3487
+ */
3488
+ proto.RequestAddVendorBidding.prototype.getReferencesId = function() {
3489
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3490
+ };
3491
+
3492
+
3493
+ /**
3494
+ * @param {string} value
3495
+ * @return {!proto.RequestAddVendorBidding} returns this
3496
+ */
3497
+ proto.RequestAddVendorBidding.prototype.setReferencesId = function(value) {
3498
+ return jspb.Message.setProto3StringField(this, 1, value);
3499
+ };
3500
+
3501
+
3502
+ /**
3503
+ * optional RequestForQuotationVendor request_quotation_vendor = 2;
3504
+ * @return {?proto.RequestForQuotationVendor}
3505
+ */
3506
+ 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));
3509
+ };
3510
+
3511
+
3512
+ /**
3513
+ * @param {?proto.RequestForQuotationVendor|undefined} value
3514
+ * @return {!proto.RequestAddVendorBidding} returns this
3515
+ */
3516
+ proto.RequestAddVendorBidding.prototype.setRequestQuotationVendor = function(value) {
3517
+ return jspb.Message.setWrapperField(this, 2, value);
3518
+ };
3519
+
3520
+
3521
+ /**
3522
+ * Clears the message field making it undefined.
3523
+ * @return {!proto.RequestAddVendorBidding} returns this
3524
+ */
3525
+ proto.RequestAddVendorBidding.prototype.clearRequestQuotationVendor = function() {
3526
+ return this.setRequestQuotationVendor(undefined);
3527
+ };
3528
+
3529
+
3530
+ /**
3531
+ * Returns whether this field is set.
3532
+ * @return {boolean}
3533
+ */
3534
+ proto.RequestAddVendorBidding.prototype.hasRequestQuotationVendor = function() {
3535
+ return jspb.Message.getField(this, 2) != null;
3536
+ };
3537
+
3538
+
3141
3539
 
3142
3540
 
3143
3541
 
@@ -4829,6 +5227,217 @@ proto.ResponseDetailBiddingByReferences.prototype.hasMeta = function() {
4829
5227
 
4830
5228
 
4831
5229
 
5230
+ /**
5231
+ * List of repeated fields within this message type.
5232
+ * @private {!Array<number>}
5233
+ * @const
5234
+ */
5235
+ proto.ResponseAddVendorBidding.repeatedFields_ = [1];
5236
+
5237
+
5238
+
5239
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5240
+ /**
5241
+ * Creates an object representation of this proto.
5242
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5243
+ * Optional fields that are not set will be set to undefined.
5244
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5245
+ * For the list of reserved names please see:
5246
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5247
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5248
+ * JSPB instance for transitional soy proto support:
5249
+ * http://goto/soy-param-migration
5250
+ * @return {!Object}
5251
+ */
5252
+ proto.ResponseAddVendorBidding.prototype.toObject = function(opt_includeInstance) {
5253
+ return proto.ResponseAddVendorBidding.toObject(opt_includeInstance, this);
5254
+ };
5255
+
5256
+
5257
+ /**
5258
+ * Static version of the {@see toObject} method.
5259
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5260
+ * the JSPB instance for transitional soy proto support:
5261
+ * http://goto/soy-param-migration
5262
+ * @param {!proto.ResponseAddVendorBidding} msg The msg instance to transform.
5263
+ * @return {!Object}
5264
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5265
+ */
5266
+ proto.ResponseAddVendorBidding.toObject = function(includeInstance, msg) {
5267
+ var f, obj = {
5268
+ quotationList: jspb.Message.toObjectList(msg.getQuotationList(),
5269
+ proto.Quotation.toObject, includeInstance),
5270
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
5271
+ };
5272
+
5273
+ if (includeInstance) {
5274
+ obj.$jspbMessageInstance = msg;
5275
+ }
5276
+ return obj;
5277
+ };
5278
+ }
5279
+
5280
+
5281
+ /**
5282
+ * Deserializes binary data (in protobuf wire format).
5283
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5284
+ * @return {!proto.ResponseAddVendorBidding}
5285
+ */
5286
+ proto.ResponseAddVendorBidding.deserializeBinary = function(bytes) {
5287
+ var reader = new jspb.BinaryReader(bytes);
5288
+ var msg = new proto.ResponseAddVendorBidding;
5289
+ return proto.ResponseAddVendorBidding.deserializeBinaryFromReader(msg, reader);
5290
+ };
5291
+
5292
+
5293
+ /**
5294
+ * Deserializes binary data (in protobuf wire format) from the
5295
+ * given reader into the given message object.
5296
+ * @param {!proto.ResponseAddVendorBidding} msg The message object to deserialize into.
5297
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5298
+ * @return {!proto.ResponseAddVendorBidding}
5299
+ */
5300
+ proto.ResponseAddVendorBidding.deserializeBinaryFromReader = function(msg, reader) {
5301
+ while (reader.nextField()) {
5302
+ if (reader.isEndGroup()) {
5303
+ break;
5304
+ }
5305
+ var field = reader.getFieldNumber();
5306
+ switch (field) {
5307
+ case 1:
5308
+ var value = new proto.Quotation;
5309
+ reader.readMessage(value,proto.Quotation.deserializeBinaryFromReader);
5310
+ msg.addQuotation(value);
5311
+ break;
5312
+ case 2:
5313
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
5314
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
5315
+ msg.setMeta(value);
5316
+ break;
5317
+ default:
5318
+ reader.skipField();
5319
+ break;
5320
+ }
5321
+ }
5322
+ return msg;
5323
+ };
5324
+
5325
+
5326
+ /**
5327
+ * Serializes the message to binary data (in protobuf wire format).
5328
+ * @return {!Uint8Array}
5329
+ */
5330
+ proto.ResponseAddVendorBidding.prototype.serializeBinary = function() {
5331
+ var writer = new jspb.BinaryWriter();
5332
+ proto.ResponseAddVendorBidding.serializeBinaryToWriter(this, writer);
5333
+ return writer.getResultBuffer();
5334
+ };
5335
+
5336
+
5337
+ /**
5338
+ * Serializes the given message to binary data (in protobuf wire
5339
+ * format), writing to the given BinaryWriter.
5340
+ * @param {!proto.ResponseAddVendorBidding} message
5341
+ * @param {!jspb.BinaryWriter} writer
5342
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5343
+ */
5344
+ proto.ResponseAddVendorBidding.serializeBinaryToWriter = function(message, writer) {
5345
+ var f = undefined;
5346
+ f = message.getQuotationList();
5347
+ if (f.length > 0) {
5348
+ writer.writeRepeatedMessage(
5349
+ 1,
5350
+ f,
5351
+ proto.Quotation.serializeBinaryToWriter
5352
+ );
5353
+ }
5354
+ f = message.getMeta();
5355
+ if (f != null) {
5356
+ writer.writeMessage(
5357
+ 2,
5358
+ f,
5359
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
5360
+ );
5361
+ }
5362
+ };
5363
+
5364
+
5365
+ /**
5366
+ * repeated Quotation quotation = 1;
5367
+ * @return {!Array<!proto.Quotation>}
5368
+ */
5369
+ proto.ResponseAddVendorBidding.prototype.getQuotationList = function() {
5370
+ return /** @type{!Array<!proto.Quotation>} */ (
5371
+ jspb.Message.getRepeatedWrapperField(this, proto.Quotation, 1));
5372
+ };
5373
+
5374
+
5375
+ /**
5376
+ * @param {!Array<!proto.Quotation>} value
5377
+ * @return {!proto.ResponseAddVendorBidding} returns this
5378
+ */
5379
+ proto.ResponseAddVendorBidding.prototype.setQuotationList = function(value) {
5380
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
5381
+ };
5382
+
5383
+
5384
+ /**
5385
+ * @param {!proto.Quotation=} opt_value
5386
+ * @param {number=} opt_index
5387
+ * @return {!proto.Quotation}
5388
+ */
5389
+ proto.ResponseAddVendorBidding.prototype.addQuotation = function(opt_value, opt_index) {
5390
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Quotation, opt_index);
5391
+ };
5392
+
5393
+
5394
+ /**
5395
+ * Clears the list making it empty but non-null.
5396
+ * @return {!proto.ResponseAddVendorBidding} returns this
5397
+ */
5398
+ proto.ResponseAddVendorBidding.prototype.clearQuotationList = function() {
5399
+ return this.setQuotationList([]);
5400
+ };
5401
+
5402
+
5403
+ /**
5404
+ * optional prisca.v1.global.meta.Meta meta = 2;
5405
+ * @return {?proto.prisca.v1.global.meta.Meta}
5406
+ */
5407
+ proto.ResponseAddVendorBidding.prototype.getMeta = function() {
5408
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
5409
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
5410
+ };
5411
+
5412
+
5413
+ /**
5414
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
5415
+ * @return {!proto.ResponseAddVendorBidding} returns this
5416
+ */
5417
+ proto.ResponseAddVendorBidding.prototype.setMeta = function(value) {
5418
+ return jspb.Message.setWrapperField(this, 2, value);
5419
+ };
5420
+
5421
+
5422
+ /**
5423
+ * Clears the message field making it undefined.
5424
+ * @return {!proto.ResponseAddVendorBidding} returns this
5425
+ */
5426
+ proto.ResponseAddVendorBidding.prototype.clearMeta = function() {
5427
+ return this.setMeta(undefined);
5428
+ };
5429
+
5430
+
5431
+ /**
5432
+ * Returns whether this field is set.
5433
+ * @return {boolean}
5434
+ */
5435
+ proto.ResponseAddVendorBidding.prototype.hasMeta = function() {
5436
+ return jspb.Message.getField(this, 2) != null;
5437
+ };
5438
+
5439
+
5440
+
4832
5441
  /**
4833
5442
  * List of repeated fields within this message type.
4834
5443
  * @private {!Array<number>}