@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.
- package/package.json +1 -1
- package/prisca/v1/bidding/bidding_grpc_pb.js +33 -0
- package/prisca/v1/bidding/bidding_pb.js +613 -4
- package/prisca/v1/core/company/company_pb.js +77 -25
- package/prisca/v1/core/employee/employee_pb.js +74 -22
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +33 -0
- package/prisca/v1/core/incoterm/incoterm_pb.js +407 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +274 -4
- package/prisca/v1/core/job_grade/job_grade_pb.js +80 -28
- package/prisca/v1/core/job_position/job_position_pb.js +74 -22
- package/prisca/v1/core/job_title/job_title_pb.js +80 -28
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
- package/prisca/v1/core/material/material_pb.js +74 -22
- package/prisca/v1/core/material_group/material_group_pb.js +77 -25
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +33 -0
- package/prisca/v1/core/material_type/material_type_pb.js +407 -0
- package/prisca/v1/core/number_range/number_range_pb.js +74 -22
- package/prisca/v1/core/organization/organization_pb.js +80 -28
- package/prisca/v1/core/organization_level/organization_level_pb.js +80 -28
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +33 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +407 -0
- package/prisca/v1/core/tax_code/tax_code_pb.js +152 -2
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +33 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +407 -0
- package/prisca/v1/core/users/users_grpc_pb.js +33 -0
- package/prisca/v1/core/users/users_pb.js +407 -0
- package/prisca/v1/core/work_location/work_location_pb.js +74 -22
- package/prisca/v1/core/workflow/workflow_pb.js +74 -22
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +98 -8
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +80 -28
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +33 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +407 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +33 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +407 -0
- package/prisca/v1/quotation/quotation_grpc_pb.js +14 -3
- package/prisca/v1/quotation/quotation_pb.js +479 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +1 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +262 -4
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
|
@@ -39,6 +39,7 @@ var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../..
|
|
|
39
39
|
goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_pb);
|
|
40
40
|
var prisca_v1_bidding_bidding_pb = require('../../../prisca/v1/bidding/bidding_pb.js');
|
|
41
41
|
goog.object.extend(proto, prisca_v1_bidding_bidding_pb);
|
|
42
|
+
goog.exportSymbol('proto.BaseEditQuantityQuotationItem', null, global);
|
|
42
43
|
goog.exportSymbol('proto.BaseQuotationRequest', null, global);
|
|
43
44
|
goog.exportSymbol('proto.GetListQuotationRequest', null, global);
|
|
44
45
|
goog.exportSymbol('proto.GetListQuotationResponse', null, global);
|
|
@@ -47,6 +48,49 @@ goog.exportSymbol('proto.GetQuotationByIdResponse', null, global);
|
|
|
47
48
|
goog.exportSymbol('proto.GetQuotationDetailResponse', null, global);
|
|
48
49
|
goog.exportSymbol('proto.UpdateQuotationRequest', null, global);
|
|
49
50
|
goog.exportSymbol('proto.UpdateQuotationResponse', null, global);
|
|
51
|
+
goog.exportSymbol('proto.UpdateSetWinner', null, global);
|
|
52
|
+
/**
|
|
53
|
+
* Generated by JsPbCodeGenerator.
|
|
54
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
55
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
56
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
57
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
58
|
+
* valid.
|
|
59
|
+
* @extends {jspb.Message}
|
|
60
|
+
* @constructor
|
|
61
|
+
*/
|
|
62
|
+
proto.BaseEditQuantityQuotationItem = function(opt_data) {
|
|
63
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
64
|
+
};
|
|
65
|
+
goog.inherits(proto.BaseEditQuantityQuotationItem, jspb.Message);
|
|
66
|
+
if (goog.DEBUG && !COMPILED) {
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @override
|
|
70
|
+
*/
|
|
71
|
+
proto.BaseEditQuantityQuotationItem.displayName = 'proto.BaseEditQuantityQuotationItem';
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Generated by JsPbCodeGenerator.
|
|
75
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
76
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
77
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
78
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
79
|
+
* valid.
|
|
80
|
+
* @extends {jspb.Message}
|
|
81
|
+
* @constructor
|
|
82
|
+
*/
|
|
83
|
+
proto.UpdateSetWinner = function(opt_data) {
|
|
84
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateSetWinner.repeatedFields_, null);
|
|
85
|
+
};
|
|
86
|
+
goog.inherits(proto.UpdateSetWinner, jspb.Message);
|
|
87
|
+
if (goog.DEBUG && !COMPILED) {
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* @override
|
|
91
|
+
*/
|
|
92
|
+
proto.UpdateSetWinner.displayName = 'proto.UpdateSetWinner';
|
|
93
|
+
}
|
|
50
94
|
/**
|
|
51
95
|
* Generated by JsPbCodeGenerator.
|
|
52
96
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -216,12 +260,392 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
216
260
|
proto.UpdateQuotationResponse.displayName = 'proto.UpdateQuotationResponse';
|
|
217
261
|
}
|
|
218
262
|
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
266
|
+
/**
|
|
267
|
+
* Creates an object representation of this proto.
|
|
268
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
269
|
+
* Optional fields that are not set will be set to undefined.
|
|
270
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
271
|
+
* For the list of reserved names please see:
|
|
272
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
273
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
274
|
+
* JSPB instance for transitional soy proto support:
|
|
275
|
+
* http://goto/soy-param-migration
|
|
276
|
+
* @return {!Object}
|
|
277
|
+
*/
|
|
278
|
+
proto.BaseEditQuantityQuotationItem.prototype.toObject = function(opt_includeInstance) {
|
|
279
|
+
return proto.BaseEditQuantityQuotationItem.toObject(opt_includeInstance, this);
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Static version of the {@see toObject} method.
|
|
285
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
286
|
+
* the JSPB instance for transitional soy proto support:
|
|
287
|
+
* http://goto/soy-param-migration
|
|
288
|
+
* @param {!proto.BaseEditQuantityQuotationItem} msg The msg instance to transform.
|
|
289
|
+
* @return {!Object}
|
|
290
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
291
|
+
*/
|
|
292
|
+
proto.BaseEditQuantityQuotationItem.toObject = function(includeInstance, msg) {
|
|
293
|
+
var f, obj = {
|
|
294
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
295
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
if (includeInstance) {
|
|
299
|
+
obj.$jspbMessageInstance = msg;
|
|
300
|
+
}
|
|
301
|
+
return obj;
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Deserializes binary data (in protobuf wire format).
|
|
308
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
309
|
+
* @return {!proto.BaseEditQuantityQuotationItem}
|
|
310
|
+
*/
|
|
311
|
+
proto.BaseEditQuantityQuotationItem.deserializeBinary = function(bytes) {
|
|
312
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
313
|
+
var msg = new proto.BaseEditQuantityQuotationItem;
|
|
314
|
+
return proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader(msg, reader);
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
320
|
+
* given reader into the given message object.
|
|
321
|
+
* @param {!proto.BaseEditQuantityQuotationItem} msg The message object to deserialize into.
|
|
322
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
323
|
+
* @return {!proto.BaseEditQuantityQuotationItem}
|
|
324
|
+
*/
|
|
325
|
+
proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
326
|
+
while (reader.nextField()) {
|
|
327
|
+
if (reader.isEndGroup()) {
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
var field = reader.getFieldNumber();
|
|
331
|
+
switch (field) {
|
|
332
|
+
case 1:
|
|
333
|
+
var value = /** @type {string} */ (reader.readString());
|
|
334
|
+
msg.setReferencesId(value);
|
|
335
|
+
break;
|
|
336
|
+
case 2:
|
|
337
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
338
|
+
msg.setQuantity(value);
|
|
339
|
+
break;
|
|
340
|
+
default:
|
|
341
|
+
reader.skipField();
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
return msg;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
351
|
+
* @return {!Uint8Array}
|
|
352
|
+
*/
|
|
353
|
+
proto.BaseEditQuantityQuotationItem.prototype.serializeBinary = function() {
|
|
354
|
+
var writer = new jspb.BinaryWriter();
|
|
355
|
+
proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter(this, writer);
|
|
356
|
+
return writer.getResultBuffer();
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
362
|
+
* format), writing to the given BinaryWriter.
|
|
363
|
+
* @param {!proto.BaseEditQuantityQuotationItem} message
|
|
364
|
+
* @param {!jspb.BinaryWriter} writer
|
|
365
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
366
|
+
*/
|
|
367
|
+
proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter = function(message, writer) {
|
|
368
|
+
var f = undefined;
|
|
369
|
+
f = message.getReferencesId();
|
|
370
|
+
if (f.length > 0) {
|
|
371
|
+
writer.writeString(
|
|
372
|
+
1,
|
|
373
|
+
f
|
|
374
|
+
);
|
|
375
|
+
}
|
|
376
|
+
f = message.getQuantity();
|
|
377
|
+
if (f !== 0) {
|
|
378
|
+
writer.writeInt64(
|
|
379
|
+
2,
|
|
380
|
+
f
|
|
381
|
+
);
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* optional string references_id = 1;
|
|
388
|
+
* @return {string}
|
|
389
|
+
*/
|
|
390
|
+
proto.BaseEditQuantityQuotationItem.prototype.getReferencesId = function() {
|
|
391
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @param {string} value
|
|
397
|
+
* @return {!proto.BaseEditQuantityQuotationItem} returns this
|
|
398
|
+
*/
|
|
399
|
+
proto.BaseEditQuantityQuotationItem.prototype.setReferencesId = function(value) {
|
|
400
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* optional int64 quantity = 2;
|
|
406
|
+
* @return {number}
|
|
407
|
+
*/
|
|
408
|
+
proto.BaseEditQuantityQuotationItem.prototype.getQuantity = function() {
|
|
409
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* @param {number} value
|
|
415
|
+
* @return {!proto.BaseEditQuantityQuotationItem} returns this
|
|
416
|
+
*/
|
|
417
|
+
proto.BaseEditQuantityQuotationItem.prototype.setQuantity = function(value) {
|
|
418
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* List of repeated fields within this message type.
|
|
425
|
+
* @private {!Array<number>}
|
|
426
|
+
* @const
|
|
427
|
+
*/
|
|
428
|
+
proto.UpdateSetWinner.repeatedFields_ = [3];
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
433
|
+
/**
|
|
434
|
+
* Creates an object representation of this proto.
|
|
435
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
436
|
+
* Optional fields that are not set will be set to undefined.
|
|
437
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
438
|
+
* For the list of reserved names please see:
|
|
439
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
440
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
441
|
+
* JSPB instance for transitional soy proto support:
|
|
442
|
+
* http://goto/soy-param-migration
|
|
443
|
+
* @return {!Object}
|
|
444
|
+
*/
|
|
445
|
+
proto.UpdateSetWinner.prototype.toObject = function(opt_includeInstance) {
|
|
446
|
+
return proto.UpdateSetWinner.toObject(opt_includeInstance, this);
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Static version of the {@see toObject} method.
|
|
452
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
453
|
+
* the JSPB instance for transitional soy proto support:
|
|
454
|
+
* http://goto/soy-param-migration
|
|
455
|
+
* @param {!proto.UpdateSetWinner} msg The msg instance to transform.
|
|
456
|
+
* @return {!Object}
|
|
457
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
458
|
+
*/
|
|
459
|
+
proto.UpdateSetWinner.toObject = function(includeInstance, msg) {
|
|
460
|
+
var f, obj = {
|
|
461
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
462
|
+
justification: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
463
|
+
itemTransactionList: jspb.Message.toObjectList(msg.getItemTransactionList(),
|
|
464
|
+
proto.BaseEditQuantityQuotationItem.toObject, includeInstance)
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
if (includeInstance) {
|
|
468
|
+
obj.$jspbMessageInstance = msg;
|
|
469
|
+
}
|
|
470
|
+
return obj;
|
|
471
|
+
};
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Deserializes binary data (in protobuf wire format).
|
|
477
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
478
|
+
* @return {!proto.UpdateSetWinner}
|
|
479
|
+
*/
|
|
480
|
+
proto.UpdateSetWinner.deserializeBinary = function(bytes) {
|
|
481
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
482
|
+
var msg = new proto.UpdateSetWinner;
|
|
483
|
+
return proto.UpdateSetWinner.deserializeBinaryFromReader(msg, reader);
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
489
|
+
* given reader into the given message object.
|
|
490
|
+
* @param {!proto.UpdateSetWinner} msg The message object to deserialize into.
|
|
491
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
492
|
+
* @return {!proto.UpdateSetWinner}
|
|
493
|
+
*/
|
|
494
|
+
proto.UpdateSetWinner.deserializeBinaryFromReader = function(msg, reader) {
|
|
495
|
+
while (reader.nextField()) {
|
|
496
|
+
if (reader.isEndGroup()) {
|
|
497
|
+
break;
|
|
498
|
+
}
|
|
499
|
+
var field = reader.getFieldNumber();
|
|
500
|
+
switch (field) {
|
|
501
|
+
case 1:
|
|
502
|
+
var value = /** @type {string} */ (reader.readString());
|
|
503
|
+
msg.setReferencesId(value);
|
|
504
|
+
break;
|
|
505
|
+
case 2:
|
|
506
|
+
var value = /** @type {string} */ (reader.readString());
|
|
507
|
+
msg.setJustification(value);
|
|
508
|
+
break;
|
|
509
|
+
case 3:
|
|
510
|
+
var value = new proto.BaseEditQuantityQuotationItem;
|
|
511
|
+
reader.readMessage(value,proto.BaseEditQuantityQuotationItem.deserializeBinaryFromReader);
|
|
512
|
+
msg.addItemTransaction(value);
|
|
513
|
+
break;
|
|
514
|
+
default:
|
|
515
|
+
reader.skipField();
|
|
516
|
+
break;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
return msg;
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
525
|
+
* @return {!Uint8Array}
|
|
526
|
+
*/
|
|
527
|
+
proto.UpdateSetWinner.prototype.serializeBinary = function() {
|
|
528
|
+
var writer = new jspb.BinaryWriter();
|
|
529
|
+
proto.UpdateSetWinner.serializeBinaryToWriter(this, writer);
|
|
530
|
+
return writer.getResultBuffer();
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
536
|
+
* format), writing to the given BinaryWriter.
|
|
537
|
+
* @param {!proto.UpdateSetWinner} message
|
|
538
|
+
* @param {!jspb.BinaryWriter} writer
|
|
539
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
540
|
+
*/
|
|
541
|
+
proto.UpdateSetWinner.serializeBinaryToWriter = function(message, writer) {
|
|
542
|
+
var f = undefined;
|
|
543
|
+
f = message.getReferencesId();
|
|
544
|
+
if (f.length > 0) {
|
|
545
|
+
writer.writeString(
|
|
546
|
+
1,
|
|
547
|
+
f
|
|
548
|
+
);
|
|
549
|
+
}
|
|
550
|
+
f = message.getJustification();
|
|
551
|
+
if (f.length > 0) {
|
|
552
|
+
writer.writeString(
|
|
553
|
+
2,
|
|
554
|
+
f
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
|
+
f = message.getItemTransactionList();
|
|
558
|
+
if (f.length > 0) {
|
|
559
|
+
writer.writeRepeatedMessage(
|
|
560
|
+
3,
|
|
561
|
+
f,
|
|
562
|
+
proto.BaseEditQuantityQuotationItem.serializeBinaryToWriter
|
|
563
|
+
);
|
|
564
|
+
}
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* optional string references_id = 1;
|
|
570
|
+
* @return {string}
|
|
571
|
+
*/
|
|
572
|
+
proto.UpdateSetWinner.prototype.getReferencesId = function() {
|
|
573
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @param {string} value
|
|
579
|
+
* @return {!proto.UpdateSetWinner} returns this
|
|
580
|
+
*/
|
|
581
|
+
proto.UpdateSetWinner.prototype.setReferencesId = function(value) {
|
|
582
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* optional string justification = 2;
|
|
588
|
+
* @return {string}
|
|
589
|
+
*/
|
|
590
|
+
proto.UpdateSetWinner.prototype.getJustification = function() {
|
|
591
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @param {string} value
|
|
597
|
+
* @return {!proto.UpdateSetWinner} returns this
|
|
598
|
+
*/
|
|
599
|
+
proto.UpdateSetWinner.prototype.setJustification = function(value) {
|
|
600
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* repeated BaseEditQuantityQuotationItem item_transaction = 3;
|
|
606
|
+
* @return {!Array<!proto.BaseEditQuantityQuotationItem>}
|
|
607
|
+
*/
|
|
608
|
+
proto.UpdateSetWinner.prototype.getItemTransactionList = function() {
|
|
609
|
+
return /** @type{!Array<!proto.BaseEditQuantityQuotationItem>} */ (
|
|
610
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseEditQuantityQuotationItem, 3));
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* @param {!Array<!proto.BaseEditQuantityQuotationItem>} value
|
|
616
|
+
* @return {!proto.UpdateSetWinner} returns this
|
|
617
|
+
*/
|
|
618
|
+
proto.UpdateSetWinner.prototype.setItemTransactionList = function(value) {
|
|
619
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @param {!proto.BaseEditQuantityQuotationItem=} opt_value
|
|
625
|
+
* @param {number=} opt_index
|
|
626
|
+
* @return {!proto.BaseEditQuantityQuotationItem}
|
|
627
|
+
*/
|
|
628
|
+
proto.UpdateSetWinner.prototype.addItemTransaction = function(opt_value, opt_index) {
|
|
629
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.BaseEditQuantityQuotationItem, opt_index);
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Clears the list making it empty but non-null.
|
|
635
|
+
* @return {!proto.UpdateSetWinner} returns this
|
|
636
|
+
*/
|
|
637
|
+
proto.UpdateSetWinner.prototype.clearItemTransactionList = function() {
|
|
638
|
+
return this.setItemTransactionList([]);
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
219
643
|
/**
|
|
220
644
|
* List of repeated fields within this message type.
|
|
221
645
|
* @private {!Array<number>}
|
|
222
646
|
* @const
|
|
223
647
|
*/
|
|
224
|
-
proto.BaseQuotationRequest.repeatedFields_ = [20];
|
|
648
|
+
proto.BaseQuotationRequest.repeatedFields_ = [20,22];
|
|
225
649
|
|
|
226
650
|
|
|
227
651
|
|
|
@@ -275,7 +699,9 @@ plant: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
|
275
699
|
department: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
276
700
|
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
277
701
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
|
|
278
|
-
visible: jspb.Message.getBooleanFieldWithDefault(msg, 21, false)
|
|
702
|
+
visible: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
703
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
704
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
279
705
|
};
|
|
280
706
|
|
|
281
707
|
if (includeInstance) {
|
|
@@ -397,6 +823,11 @@ proto.BaseQuotationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
397
823
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
398
824
|
msg.setVisible(value);
|
|
399
825
|
break;
|
|
826
|
+
case 22:
|
|
827
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
828
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
829
|
+
msg.addFiles(value);
|
|
830
|
+
break;
|
|
400
831
|
default:
|
|
401
832
|
reader.skipField();
|
|
402
833
|
break;
|
|
@@ -574,6 +1005,14 @@ proto.BaseQuotationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
574
1005
|
f
|
|
575
1006
|
);
|
|
576
1007
|
}
|
|
1008
|
+
f = message.getFilesList();
|
|
1009
|
+
if (f.length > 0) {
|
|
1010
|
+
writer.writeRepeatedMessage(
|
|
1011
|
+
22,
|
|
1012
|
+
f,
|
|
1013
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
1014
|
+
);
|
|
1015
|
+
}
|
|
577
1016
|
};
|
|
578
1017
|
|
|
579
1018
|
|
|
@@ -975,6 +1414,44 @@ proto.BaseQuotationRequest.prototype.setVisible = function(value) {
|
|
|
975
1414
|
};
|
|
976
1415
|
|
|
977
1416
|
|
|
1417
|
+
/**
|
|
1418
|
+
* repeated FileUploadReferencesReq files = 22;
|
|
1419
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
1420
|
+
*/
|
|
1421
|
+
proto.BaseQuotationRequest.prototype.getFilesList = function() {
|
|
1422
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
1423
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 22));
|
|
1424
|
+
};
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
1429
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1430
|
+
*/
|
|
1431
|
+
proto.BaseQuotationRequest.prototype.setFilesList = function(value) {
|
|
1432
|
+
return jspb.Message.setRepeatedWrapperField(this, 22, value);
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
1438
|
+
* @param {number=} opt_index
|
|
1439
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
1440
|
+
*/
|
|
1441
|
+
proto.BaseQuotationRequest.prototype.addFiles = function(opt_value, opt_index) {
|
|
1442
|
+
return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
1443
|
+
};
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Clears the list making it empty but non-null.
|
|
1448
|
+
* @return {!proto.BaseQuotationRequest} returns this
|
|
1449
|
+
*/
|
|
1450
|
+
proto.BaseQuotationRequest.prototype.clearFilesList = function() {
|
|
1451
|
+
return this.setFilesList([]);
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
|
|
978
1455
|
|
|
979
1456
|
|
|
980
1457
|
|
|
@@ -8,6 +8,7 @@ var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendo
|
|
|
8
8
|
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
9
9
|
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|
|
10
10
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
11
|
+
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
11
12
|
|
|
12
13
|
function serialize_GetByIdRFQ(arg) {
|
|
13
14
|
if (!(arg instanceof prisca_v1_request_for_quotation_request_for_quotation_pb.GetByIdRFQ)) {
|