@aldiokta/protocgen 1.1.49 → 1.1.51
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_pb.js +62 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +180 -0
- package/prisca/v1/business_fields/business_fields_pb.js +4372 -0
- package/prisca/v1/core/bank/bank_grpc_pb.js +156 -0
- package/prisca/v1/core/bank/bank_pb.js +1988 -0
- package/prisca/v1/core/company/company_grpc_pb.js +11 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +11 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +31 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +3400 -930
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +12 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +102 -1
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_grpc_pb.js +180 -0
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +3707 -0
- package/prisca/v1/core/plant/plant_grpc_pb.js +156 -0
- package/prisca/v1/core/plant/plant_pb.js +2078 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/global/meta/meta_pb.js +452 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +11 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +268 -3
- package/prisca/v1/invoice/invoice_grpc_pb.js +11 -0
- package/prisca/v1/invoice/invoice_pb.js +292 -4
- package/prisca/v1/invoice_type/invoice_type_grpc_pb.js +202 -0
- package/prisca/v1/invoice_type/invoice_type_pb.js +3598 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +66 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +1986 -323
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +44 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +2238 -30
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +224 -2
|
@@ -46,13 +46,103 @@ goog.exportSymbol('proto.GetPurchaseOrderByIdResponse', null, global);
|
|
|
46
46
|
goog.exportSymbol('proto.GetPurchaseOrderDetailResponse', null, global);
|
|
47
47
|
goog.exportSymbol('proto.GetPurchaseOrderItemDetailPreload', null, global);
|
|
48
48
|
goog.exportSymbol('proto.GetPurchaseOrderItemPreload', null, global);
|
|
49
|
+
goog.exportSymbol('proto.GetPurchaseOrderItemServicePreload', null, global);
|
|
49
50
|
goog.exportSymbol('proto.GoodReceipt', null, global);
|
|
50
51
|
goog.exportSymbol('proto.Invoice', null, global);
|
|
52
|
+
goog.exportSymbol('proto.InvoiceCondition', null, global);
|
|
51
53
|
goog.exportSymbol('proto.PurchaseOrder', null, global);
|
|
54
|
+
goog.exportSymbol('proto.SetDownPaymentRequest', null, global);
|
|
55
|
+
goog.exportSymbol('proto.SetDownPaymentResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.SetServiceRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.SetServiceResponse', null, global);
|
|
52
58
|
goog.exportSymbol('proto.UpdatePurchaseOrderFileRequest', null, global);
|
|
53
59
|
goog.exportSymbol('proto.UpdatePurchaseOrderRequest', null, global);
|
|
54
60
|
goog.exportSymbol('proto.UpdatePurchaseOrderResponse', null, global);
|
|
55
61
|
goog.exportSymbol('proto.UpdatePurchaseOrderStatusRequest', null, global);
|
|
62
|
+
/**
|
|
63
|
+
* Generated by JsPbCodeGenerator.
|
|
64
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
65
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
66
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
67
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
68
|
+
* valid.
|
|
69
|
+
* @extends {jspb.Message}
|
|
70
|
+
* @constructor
|
|
71
|
+
*/
|
|
72
|
+
proto.SetServiceRequest = function(opt_data) {
|
|
73
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
74
|
+
};
|
|
75
|
+
goog.inherits(proto.SetServiceRequest, jspb.Message);
|
|
76
|
+
if (goog.DEBUG && !COMPILED) {
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* @override
|
|
80
|
+
*/
|
|
81
|
+
proto.SetServiceRequest.displayName = 'proto.SetServiceRequest';
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Generated by JsPbCodeGenerator.
|
|
85
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
86
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
87
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
88
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
89
|
+
* valid.
|
|
90
|
+
* @extends {jspb.Message}
|
|
91
|
+
* @constructor
|
|
92
|
+
*/
|
|
93
|
+
proto.SetDownPaymentRequest = function(opt_data) {
|
|
94
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
95
|
+
};
|
|
96
|
+
goog.inherits(proto.SetDownPaymentRequest, jspb.Message);
|
|
97
|
+
if (goog.DEBUG && !COMPILED) {
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @override
|
|
101
|
+
*/
|
|
102
|
+
proto.SetDownPaymentRequest.displayName = 'proto.SetDownPaymentRequest';
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Generated by JsPbCodeGenerator.
|
|
106
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
107
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
108
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
109
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
110
|
+
* valid.
|
|
111
|
+
* @extends {jspb.Message}
|
|
112
|
+
* @constructor
|
|
113
|
+
*/
|
|
114
|
+
proto.SetServiceResponse = function(opt_data) {
|
|
115
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
116
|
+
};
|
|
117
|
+
goog.inherits(proto.SetServiceResponse, jspb.Message);
|
|
118
|
+
if (goog.DEBUG && !COMPILED) {
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* @override
|
|
122
|
+
*/
|
|
123
|
+
proto.SetServiceResponse.displayName = 'proto.SetServiceResponse';
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Generated by JsPbCodeGenerator.
|
|
127
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
128
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
129
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
130
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
131
|
+
* valid.
|
|
132
|
+
* @extends {jspb.Message}
|
|
133
|
+
* @constructor
|
|
134
|
+
*/
|
|
135
|
+
proto.SetDownPaymentResponse = function(opt_data) {
|
|
136
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
137
|
+
};
|
|
138
|
+
goog.inherits(proto.SetDownPaymentResponse, jspb.Message);
|
|
139
|
+
if (goog.DEBUG && !COMPILED) {
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
* @override
|
|
143
|
+
*/
|
|
144
|
+
proto.SetDownPaymentResponse.displayName = 'proto.SetDownPaymentResponse';
|
|
145
|
+
}
|
|
56
146
|
/**
|
|
57
147
|
* Generated by JsPbCodeGenerator.
|
|
58
148
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -116,6 +206,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
116
206
|
*/
|
|
117
207
|
proto.Invoice.displayName = 'proto.Invoice';
|
|
118
208
|
}
|
|
209
|
+
/**
|
|
210
|
+
* Generated by JsPbCodeGenerator.
|
|
211
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
212
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
213
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
214
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
215
|
+
* valid.
|
|
216
|
+
* @extends {jspb.Message}
|
|
217
|
+
* @constructor
|
|
218
|
+
*/
|
|
219
|
+
proto.InvoiceCondition = function(opt_data) {
|
|
220
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
221
|
+
};
|
|
222
|
+
goog.inherits(proto.InvoiceCondition, jspb.Message);
|
|
223
|
+
if (goog.DEBUG && !COMPILED) {
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
* @override
|
|
227
|
+
*/
|
|
228
|
+
proto.InvoiceCondition.displayName = 'proto.InvoiceCondition';
|
|
229
|
+
}
|
|
119
230
|
/**
|
|
120
231
|
* Generated by JsPbCodeGenerator.
|
|
121
232
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -431,6 +542,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
431
542
|
*/
|
|
432
543
|
proto.GetPurchaseOrderItemDetailPreload.displayName = 'proto.GetPurchaseOrderItemDetailPreload';
|
|
433
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* Generated by JsPbCodeGenerator.
|
|
547
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
548
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
549
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
550
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
551
|
+
* valid.
|
|
552
|
+
* @extends {jspb.Message}
|
|
553
|
+
* @constructor
|
|
554
|
+
*/
|
|
555
|
+
proto.GetPurchaseOrderItemServicePreload = function(opt_data) {
|
|
556
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseOrderItemServicePreload.repeatedFields_, null);
|
|
557
|
+
};
|
|
558
|
+
goog.inherits(proto.GetPurchaseOrderItemServicePreload, jspb.Message);
|
|
559
|
+
if (goog.DEBUG && !COMPILED) {
|
|
560
|
+
/**
|
|
561
|
+
* @public
|
|
562
|
+
* @override
|
|
563
|
+
*/
|
|
564
|
+
proto.GetPurchaseOrderItemServicePreload.displayName = 'proto.GetPurchaseOrderItemServicePreload';
|
|
565
|
+
}
|
|
434
566
|
/**
|
|
435
567
|
* Generated by JsPbCodeGenerator.
|
|
436
568
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -474,13 +606,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
474
606
|
proto.DeletePurchaseOrderResponse.displayName = 'proto.DeletePurchaseOrderResponse';
|
|
475
607
|
}
|
|
476
608
|
|
|
477
|
-
/**
|
|
478
|
-
* List of repeated fields within this message type.
|
|
479
|
-
* @private {!Array<number>}
|
|
480
|
-
* @const
|
|
481
|
-
*/
|
|
482
|
-
proto.DeliveryOrder.repeatedFields_ = [22,26];
|
|
483
|
-
|
|
484
609
|
|
|
485
610
|
|
|
486
611
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -496,8 +621,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
496
621
|
* http://goto/soy-param-migration
|
|
497
622
|
* @return {!Object}
|
|
498
623
|
*/
|
|
499
|
-
proto.
|
|
500
|
-
return proto.
|
|
624
|
+
proto.SetServiceRequest.prototype.toObject = function(opt_includeInstance) {
|
|
625
|
+
return proto.SetServiceRequest.toObject(opt_includeInstance, this);
|
|
501
626
|
};
|
|
502
627
|
|
|
503
628
|
|
|
@@ -506,44 +631,14 @@ proto.DeliveryOrder.prototype.toObject = function(opt_includeInstance) {
|
|
|
506
631
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
507
632
|
* the JSPB instance for transitional soy proto support:
|
|
508
633
|
* http://goto/soy-param-migration
|
|
509
|
-
* @param {!proto.
|
|
634
|
+
* @param {!proto.SetServiceRequest} msg The msg instance to transform.
|
|
510
635
|
* @return {!Object}
|
|
511
636
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
512
637
|
*/
|
|
513
|
-
proto.
|
|
638
|
+
proto.SetServiceRequest.toObject = function(includeInstance, msg) {
|
|
514
639
|
var f, obj = {
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
518
|
-
purchaseOrderReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
519
|
-
vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
520
|
-
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
521
|
-
shippingAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
522
|
-
shippingDate: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
523
|
-
remarks: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
524
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
525
|
-
status: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
526
|
-
createdAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
527
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
528
|
-
createdBy: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
529
|
-
updatedBy: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
530
|
-
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
531
|
-
isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
532
|
-
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
533
|
-
salesOrderNumber: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
534
|
-
deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
535
|
-
fileIds: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
536
|
-
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
537
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
538
|
-
purchaseOrder: (f = msg.getPurchaseOrder()) && proto.PurchaseOrder.toObject(includeInstance, f),
|
|
539
|
-
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f),
|
|
540
|
-
vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
|
|
541
|
-
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
542
|
-
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
|
|
543
|
-
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
544
|
-
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
545
|
-
documentReferences: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
546
|
-
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f)
|
|
640
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
641
|
+
baseItemTransactionDetail: (f = msg.getBaseItemTransactionDetail()) && prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetail.toObject(includeInstance, f)
|
|
547
642
|
};
|
|
548
643
|
|
|
549
644
|
if (includeInstance) {
|
|
@@ -557,23 +652,23 @@ documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_ty
|
|
|
557
652
|
/**
|
|
558
653
|
* Deserializes binary data (in protobuf wire format).
|
|
559
654
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
560
|
-
* @return {!proto.
|
|
655
|
+
* @return {!proto.SetServiceRequest}
|
|
561
656
|
*/
|
|
562
|
-
proto.
|
|
657
|
+
proto.SetServiceRequest.deserializeBinary = function(bytes) {
|
|
563
658
|
var reader = new jspb.BinaryReader(bytes);
|
|
564
|
-
var msg = new proto.
|
|
565
|
-
return proto.
|
|
659
|
+
var msg = new proto.SetServiceRequest;
|
|
660
|
+
return proto.SetServiceRequest.deserializeBinaryFromReader(msg, reader);
|
|
566
661
|
};
|
|
567
662
|
|
|
568
663
|
|
|
569
664
|
/**
|
|
570
665
|
* Deserializes binary data (in protobuf wire format) from the
|
|
571
666
|
* given reader into the given message object.
|
|
572
|
-
* @param {!proto.
|
|
667
|
+
* @param {!proto.SetServiceRequest} msg The message object to deserialize into.
|
|
573
668
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
574
|
-
* @return {!proto.
|
|
669
|
+
* @return {!proto.SetServiceRequest}
|
|
575
670
|
*/
|
|
576
|
-
proto.
|
|
671
|
+
proto.SetServiceRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
577
672
|
while (reader.nextField()) {
|
|
578
673
|
if (reader.isEndGroup()) {
|
|
579
674
|
break;
|
|
@@ -581,107 +676,911 @@ proto.DeliveryOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
581
676
|
var field = reader.getFieldNumber();
|
|
582
677
|
switch (field) {
|
|
583
678
|
case 1:
|
|
584
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
585
|
-
msg.setId(value);
|
|
586
|
-
break;
|
|
587
|
-
case 2:
|
|
588
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
589
|
-
msg.setDepartment(value);
|
|
590
|
-
break;
|
|
591
|
-
case 3:
|
|
592
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
593
|
-
msg.setTitle(value);
|
|
594
|
-
break;
|
|
595
|
-
case 4:
|
|
596
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
597
|
-
msg.setPurchaseOrderReferencesId(value);
|
|
598
|
-
break;
|
|
599
|
-
case 5:
|
|
600
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
601
|
-
msg.setVendorReferencesId(value);
|
|
602
|
-
break;
|
|
603
|
-
case 6:
|
|
604
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
605
|
-
msg.setCompaniesReferencesId(value);
|
|
606
|
-
break;
|
|
607
|
-
case 7:
|
|
608
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
609
|
-
msg.setShippingAddress(value);
|
|
610
|
-
break;
|
|
611
|
-
case 8:
|
|
612
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
613
|
-
msg.setShippingDate(value);
|
|
614
|
-
break;
|
|
615
|
-
case 9:
|
|
616
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
617
|
-
msg.setRemarks(value);
|
|
618
|
-
break;
|
|
619
|
-
case 10:
|
|
620
679
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
621
680
|
msg.setReferencesId(value);
|
|
622
681
|
break;
|
|
623
|
-
case
|
|
624
|
-
var value =
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
case 12:
|
|
628
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
629
|
-
msg.setCreatedAt(value);
|
|
630
|
-
break;
|
|
631
|
-
case 13:
|
|
632
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
633
|
-
msg.setUpdatedAt(value);
|
|
634
|
-
break;
|
|
635
|
-
case 14:
|
|
636
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
637
|
-
msg.setCreatedBy(value);
|
|
638
|
-
break;
|
|
639
|
-
case 15:
|
|
640
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
641
|
-
msg.setUpdatedBy(value);
|
|
642
|
-
break;
|
|
643
|
-
case 16:
|
|
644
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
645
|
-
msg.setGroupReferences(value);
|
|
646
|
-
break;
|
|
647
|
-
case 17:
|
|
648
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
649
|
-
msg.setIsExpired(value);
|
|
650
|
-
break;
|
|
651
|
-
case 18:
|
|
652
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
653
|
-
msg.setPurchaseOrderNumber(value);
|
|
654
|
-
break;
|
|
655
|
-
case 19:
|
|
656
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
657
|
-
msg.setSalesOrderNumber(value);
|
|
658
|
-
break;
|
|
659
|
-
case 20:
|
|
660
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
661
|
-
msg.setDeliveryOrderNumber(value);
|
|
662
|
-
break;
|
|
663
|
-
case 21:
|
|
664
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
665
|
-
msg.setFileIds(value);
|
|
666
|
-
break;
|
|
667
|
-
case 22:
|
|
668
|
-
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
669
|
-
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
670
|
-
msg.addFiles(value);
|
|
671
|
-
break;
|
|
672
|
-
case 23:
|
|
673
|
-
var value = new proto.PurchaseOrder;
|
|
674
|
-
reader.readMessage(value,proto.PurchaseOrder.deserializeBinaryFromReader);
|
|
675
|
-
msg.setPurchaseOrder(value);
|
|
682
|
+
case 2:
|
|
683
|
+
var value = new prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetail;
|
|
684
|
+
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetail.deserializeBinaryFromReader);
|
|
685
|
+
msg.setBaseItemTransactionDetail(value);
|
|
676
686
|
break;
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
|
|
680
|
-
msg.setCompanies(value);
|
|
687
|
+
default:
|
|
688
|
+
reader.skipField();
|
|
681
689
|
break;
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
return msg;
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
698
|
+
* @return {!Uint8Array}
|
|
699
|
+
*/
|
|
700
|
+
proto.SetServiceRequest.prototype.serializeBinary = function() {
|
|
701
|
+
var writer = new jspb.BinaryWriter();
|
|
702
|
+
proto.SetServiceRequest.serializeBinaryToWriter(this, writer);
|
|
703
|
+
return writer.getResultBuffer();
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
709
|
+
* format), writing to the given BinaryWriter.
|
|
710
|
+
* @param {!proto.SetServiceRequest} message
|
|
711
|
+
* @param {!jspb.BinaryWriter} writer
|
|
712
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
713
|
+
*/
|
|
714
|
+
proto.SetServiceRequest.serializeBinaryToWriter = function(message, writer) {
|
|
715
|
+
var f = undefined;
|
|
716
|
+
f = message.getReferencesId();
|
|
717
|
+
if (f.length > 0) {
|
|
718
|
+
writer.writeString(
|
|
719
|
+
1,
|
|
720
|
+
f
|
|
721
|
+
);
|
|
722
|
+
}
|
|
723
|
+
f = message.getBaseItemTransactionDetail();
|
|
724
|
+
if (f != null) {
|
|
725
|
+
writer.writeMessage(
|
|
726
|
+
2,
|
|
727
|
+
f,
|
|
728
|
+
prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetail.serializeBinaryToWriter
|
|
729
|
+
);
|
|
730
|
+
}
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* optional string references_id = 1;
|
|
736
|
+
* @return {string}
|
|
737
|
+
*/
|
|
738
|
+
proto.SetServiceRequest.prototype.getReferencesId = function() {
|
|
739
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* @param {string} value
|
|
745
|
+
* @return {!proto.SetServiceRequest} returns this
|
|
746
|
+
*/
|
|
747
|
+
proto.SetServiceRequest.prototype.setReferencesId = function(value) {
|
|
748
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* optional BaseItemTransactionDetail base_item_transaction_detail = 2;
|
|
754
|
+
* @return {?proto.BaseItemTransactionDetail}
|
|
755
|
+
*/
|
|
756
|
+
proto.SetServiceRequest.prototype.getBaseItemTransactionDetail = function() {
|
|
757
|
+
return /** @type{?proto.BaseItemTransactionDetail} */ (
|
|
758
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetail, 2));
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* @param {?proto.BaseItemTransactionDetail|undefined} value
|
|
764
|
+
* @return {!proto.SetServiceRequest} returns this
|
|
765
|
+
*/
|
|
766
|
+
proto.SetServiceRequest.prototype.setBaseItemTransactionDetail = function(value) {
|
|
767
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* Clears the message field making it undefined.
|
|
773
|
+
* @return {!proto.SetServiceRequest} returns this
|
|
774
|
+
*/
|
|
775
|
+
proto.SetServiceRequest.prototype.clearBaseItemTransactionDetail = function() {
|
|
776
|
+
return this.setBaseItemTransactionDetail(undefined);
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* Returns whether this field is set.
|
|
782
|
+
* @return {boolean}
|
|
783
|
+
*/
|
|
784
|
+
proto.SetServiceRequest.prototype.hasBaseItemTransactionDetail = function() {
|
|
785
|
+
return jspb.Message.getField(this, 2) != null;
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
793
|
+
/**
|
|
794
|
+
* Creates an object representation of this proto.
|
|
795
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
796
|
+
* Optional fields that are not set will be set to undefined.
|
|
797
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
798
|
+
* For the list of reserved names please see:
|
|
799
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
800
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
801
|
+
* JSPB instance for transitional soy proto support:
|
|
802
|
+
* http://goto/soy-param-migration
|
|
803
|
+
* @return {!Object}
|
|
804
|
+
*/
|
|
805
|
+
proto.SetDownPaymentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
806
|
+
return proto.SetDownPaymentRequest.toObject(opt_includeInstance, this);
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Static version of the {@see toObject} method.
|
|
812
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
813
|
+
* the JSPB instance for transitional soy proto support:
|
|
814
|
+
* http://goto/soy-param-migration
|
|
815
|
+
* @param {!proto.SetDownPaymentRequest} msg The msg instance to transform.
|
|
816
|
+
* @return {!Object}
|
|
817
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
818
|
+
*/
|
|
819
|
+
proto.SetDownPaymentRequest.toObject = function(includeInstance, msg) {
|
|
820
|
+
var f, obj = {
|
|
821
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
822
|
+
baseItemTransactionDetailPriceCondition: (f = msg.getBaseItemTransactionDetailPriceCondition()) && prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetailPriceCondition.toObject(includeInstance, f)
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
if (includeInstance) {
|
|
826
|
+
obj.$jspbMessageInstance = msg;
|
|
827
|
+
}
|
|
828
|
+
return obj;
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Deserializes binary data (in protobuf wire format).
|
|
835
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
836
|
+
* @return {!proto.SetDownPaymentRequest}
|
|
837
|
+
*/
|
|
838
|
+
proto.SetDownPaymentRequest.deserializeBinary = function(bytes) {
|
|
839
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
840
|
+
var msg = new proto.SetDownPaymentRequest;
|
|
841
|
+
return proto.SetDownPaymentRequest.deserializeBinaryFromReader(msg, reader);
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
847
|
+
* given reader into the given message object.
|
|
848
|
+
* @param {!proto.SetDownPaymentRequest} msg The message object to deserialize into.
|
|
849
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
850
|
+
* @return {!proto.SetDownPaymentRequest}
|
|
851
|
+
*/
|
|
852
|
+
proto.SetDownPaymentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
853
|
+
while (reader.nextField()) {
|
|
854
|
+
if (reader.isEndGroup()) {
|
|
855
|
+
break;
|
|
856
|
+
}
|
|
857
|
+
var field = reader.getFieldNumber();
|
|
858
|
+
switch (field) {
|
|
859
|
+
case 1:
|
|
860
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
861
|
+
msg.setReferencesId(value);
|
|
862
|
+
break;
|
|
863
|
+
case 2:
|
|
864
|
+
var value = new prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetailPriceCondition;
|
|
865
|
+
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetailPriceCondition.deserializeBinaryFromReader);
|
|
866
|
+
msg.setBaseItemTransactionDetailPriceCondition(value);
|
|
867
|
+
break;
|
|
868
|
+
default:
|
|
869
|
+
reader.skipField();
|
|
870
|
+
break;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
return msg;
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
879
|
+
* @return {!Uint8Array}
|
|
880
|
+
*/
|
|
881
|
+
proto.SetDownPaymentRequest.prototype.serializeBinary = function() {
|
|
882
|
+
var writer = new jspb.BinaryWriter();
|
|
883
|
+
proto.SetDownPaymentRequest.serializeBinaryToWriter(this, writer);
|
|
884
|
+
return writer.getResultBuffer();
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
890
|
+
* format), writing to the given BinaryWriter.
|
|
891
|
+
* @param {!proto.SetDownPaymentRequest} message
|
|
892
|
+
* @param {!jspb.BinaryWriter} writer
|
|
893
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
894
|
+
*/
|
|
895
|
+
proto.SetDownPaymentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
896
|
+
var f = undefined;
|
|
897
|
+
f = message.getReferencesId();
|
|
898
|
+
if (f.length > 0) {
|
|
899
|
+
writer.writeString(
|
|
900
|
+
1,
|
|
901
|
+
f
|
|
902
|
+
);
|
|
903
|
+
}
|
|
904
|
+
f = message.getBaseItemTransactionDetailPriceCondition();
|
|
905
|
+
if (f != null) {
|
|
906
|
+
writer.writeMessage(
|
|
907
|
+
2,
|
|
908
|
+
f,
|
|
909
|
+
prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetailPriceCondition.serializeBinaryToWriter
|
|
910
|
+
);
|
|
911
|
+
}
|
|
912
|
+
};
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* optional string references_id = 1;
|
|
917
|
+
* @return {string}
|
|
918
|
+
*/
|
|
919
|
+
proto.SetDownPaymentRequest.prototype.getReferencesId = function() {
|
|
920
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* @param {string} value
|
|
926
|
+
* @return {!proto.SetDownPaymentRequest} returns this
|
|
927
|
+
*/
|
|
928
|
+
proto.SetDownPaymentRequest.prototype.setReferencesId = function(value) {
|
|
929
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* optional BaseItemTransactionDetailPriceCondition base_item_transaction_detail_price_condition = 2;
|
|
935
|
+
* @return {?proto.BaseItemTransactionDetailPriceCondition}
|
|
936
|
+
*/
|
|
937
|
+
proto.SetDownPaymentRequest.prototype.getBaseItemTransactionDetailPriceCondition = function() {
|
|
938
|
+
return /** @type{?proto.BaseItemTransactionDetailPriceCondition} */ (
|
|
939
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransactionDetailPriceCondition, 2));
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* @param {?proto.BaseItemTransactionDetailPriceCondition|undefined} value
|
|
945
|
+
* @return {!proto.SetDownPaymentRequest} returns this
|
|
946
|
+
*/
|
|
947
|
+
proto.SetDownPaymentRequest.prototype.setBaseItemTransactionDetailPriceCondition = function(value) {
|
|
948
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Clears the message field making it undefined.
|
|
954
|
+
* @return {!proto.SetDownPaymentRequest} returns this
|
|
955
|
+
*/
|
|
956
|
+
proto.SetDownPaymentRequest.prototype.clearBaseItemTransactionDetailPriceCondition = function() {
|
|
957
|
+
return this.setBaseItemTransactionDetailPriceCondition(undefined);
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Returns whether this field is set.
|
|
963
|
+
* @return {boolean}
|
|
964
|
+
*/
|
|
965
|
+
proto.SetDownPaymentRequest.prototype.hasBaseItemTransactionDetailPriceCondition = function() {
|
|
966
|
+
return jspb.Message.getField(this, 2) != null;
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
974
|
+
/**
|
|
975
|
+
* Creates an object representation of this proto.
|
|
976
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
977
|
+
* Optional fields that are not set will be set to undefined.
|
|
978
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
979
|
+
* For the list of reserved names please see:
|
|
980
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
981
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
982
|
+
* JSPB instance for transitional soy proto support:
|
|
983
|
+
* http://goto/soy-param-migration
|
|
984
|
+
* @return {!Object}
|
|
985
|
+
*/
|
|
986
|
+
proto.SetServiceResponse.prototype.toObject = function(opt_includeInstance) {
|
|
987
|
+
return proto.SetServiceResponse.toObject(opt_includeInstance, this);
|
|
988
|
+
};
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Static version of the {@see toObject} method.
|
|
993
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
994
|
+
* the JSPB instance for transitional soy proto support:
|
|
995
|
+
* http://goto/soy-param-migration
|
|
996
|
+
* @param {!proto.SetServiceResponse} msg The msg instance to transform.
|
|
997
|
+
* @return {!Object}
|
|
998
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
999
|
+
*/
|
|
1000
|
+
proto.SetServiceResponse.toObject = function(includeInstance, msg) {
|
|
1001
|
+
var f, obj = {
|
|
1002
|
+
itemTransactionDetail: (f = msg.getItemTransactionDetail()) && prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetail.toObject(includeInstance, f),
|
|
1003
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
if (includeInstance) {
|
|
1007
|
+
obj.$jspbMessageInstance = msg;
|
|
1008
|
+
}
|
|
1009
|
+
return obj;
|
|
1010
|
+
};
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1016
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1017
|
+
* @return {!proto.SetServiceResponse}
|
|
1018
|
+
*/
|
|
1019
|
+
proto.SetServiceResponse.deserializeBinary = function(bytes) {
|
|
1020
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1021
|
+
var msg = new proto.SetServiceResponse;
|
|
1022
|
+
return proto.SetServiceResponse.deserializeBinaryFromReader(msg, reader);
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1028
|
+
* given reader into the given message object.
|
|
1029
|
+
* @param {!proto.SetServiceResponse} msg The message object to deserialize into.
|
|
1030
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1031
|
+
* @return {!proto.SetServiceResponse}
|
|
1032
|
+
*/
|
|
1033
|
+
proto.SetServiceResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1034
|
+
while (reader.nextField()) {
|
|
1035
|
+
if (reader.isEndGroup()) {
|
|
1036
|
+
break;
|
|
1037
|
+
}
|
|
1038
|
+
var field = reader.getFieldNumber();
|
|
1039
|
+
switch (field) {
|
|
1040
|
+
case 1:
|
|
1041
|
+
var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetail;
|
|
1042
|
+
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetail.deserializeBinaryFromReader);
|
|
1043
|
+
msg.setItemTransactionDetail(value);
|
|
1044
|
+
break;
|
|
1045
|
+
case 2:
|
|
1046
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1047
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1048
|
+
msg.setMeta(value);
|
|
1049
|
+
break;
|
|
1050
|
+
default:
|
|
1051
|
+
reader.skipField();
|
|
1052
|
+
break;
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
return msg;
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1061
|
+
* @return {!Uint8Array}
|
|
1062
|
+
*/
|
|
1063
|
+
proto.SetServiceResponse.prototype.serializeBinary = function() {
|
|
1064
|
+
var writer = new jspb.BinaryWriter();
|
|
1065
|
+
proto.SetServiceResponse.serializeBinaryToWriter(this, writer);
|
|
1066
|
+
return writer.getResultBuffer();
|
|
1067
|
+
};
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1072
|
+
* format), writing to the given BinaryWriter.
|
|
1073
|
+
* @param {!proto.SetServiceResponse} message
|
|
1074
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1075
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1076
|
+
*/
|
|
1077
|
+
proto.SetServiceResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1078
|
+
var f = undefined;
|
|
1079
|
+
f = message.getItemTransactionDetail();
|
|
1080
|
+
if (f != null) {
|
|
1081
|
+
writer.writeMessage(
|
|
1082
|
+
1,
|
|
1083
|
+
f,
|
|
1084
|
+
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetail.serializeBinaryToWriter
|
|
1085
|
+
);
|
|
1086
|
+
}
|
|
1087
|
+
f = message.getMeta();
|
|
1088
|
+
if (f != null) {
|
|
1089
|
+
writer.writeMessage(
|
|
1090
|
+
2,
|
|
1091
|
+
f,
|
|
1092
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1093
|
+
);
|
|
1094
|
+
}
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* optional ItemTransactionDetail item_transaction_detail = 1;
|
|
1100
|
+
* @return {?proto.ItemTransactionDetail}
|
|
1101
|
+
*/
|
|
1102
|
+
proto.SetServiceResponse.prototype.getItemTransactionDetail = function() {
|
|
1103
|
+
return /** @type{?proto.ItemTransactionDetail} */ (
|
|
1104
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetail, 1));
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* @param {?proto.ItemTransactionDetail|undefined} value
|
|
1110
|
+
* @return {!proto.SetServiceResponse} returns this
|
|
1111
|
+
*/
|
|
1112
|
+
proto.SetServiceResponse.prototype.setItemTransactionDetail = function(value) {
|
|
1113
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1114
|
+
};
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Clears the message field making it undefined.
|
|
1119
|
+
* @return {!proto.SetServiceResponse} returns this
|
|
1120
|
+
*/
|
|
1121
|
+
proto.SetServiceResponse.prototype.clearItemTransactionDetail = function() {
|
|
1122
|
+
return this.setItemTransactionDetail(undefined);
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* Returns whether this field is set.
|
|
1128
|
+
* @return {boolean}
|
|
1129
|
+
*/
|
|
1130
|
+
proto.SetServiceResponse.prototype.hasItemTransactionDetail = function() {
|
|
1131
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1137
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1138
|
+
*/
|
|
1139
|
+
proto.SetServiceResponse.prototype.getMeta = function() {
|
|
1140
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1141
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1147
|
+
* @return {!proto.SetServiceResponse} returns this
|
|
1148
|
+
*/
|
|
1149
|
+
proto.SetServiceResponse.prototype.setMeta = function(value) {
|
|
1150
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Clears the message field making it undefined.
|
|
1156
|
+
* @return {!proto.SetServiceResponse} returns this
|
|
1157
|
+
*/
|
|
1158
|
+
proto.SetServiceResponse.prototype.clearMeta = function() {
|
|
1159
|
+
return this.setMeta(undefined);
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Returns whether this field is set.
|
|
1165
|
+
* @return {boolean}
|
|
1166
|
+
*/
|
|
1167
|
+
proto.SetServiceResponse.prototype.hasMeta = function() {
|
|
1168
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1169
|
+
};
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1176
|
+
/**
|
|
1177
|
+
* Creates an object representation of this proto.
|
|
1178
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1179
|
+
* Optional fields that are not set will be set to undefined.
|
|
1180
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1181
|
+
* For the list of reserved names please see:
|
|
1182
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1183
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1184
|
+
* JSPB instance for transitional soy proto support:
|
|
1185
|
+
* http://goto/soy-param-migration
|
|
1186
|
+
* @return {!Object}
|
|
1187
|
+
*/
|
|
1188
|
+
proto.SetDownPaymentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1189
|
+
return proto.SetDownPaymentResponse.toObject(opt_includeInstance, this);
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Static version of the {@see toObject} method.
|
|
1195
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1196
|
+
* the JSPB instance for transitional soy proto support:
|
|
1197
|
+
* http://goto/soy-param-migration
|
|
1198
|
+
* @param {!proto.SetDownPaymentResponse} msg The msg instance to transform.
|
|
1199
|
+
* @return {!Object}
|
|
1200
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1201
|
+
*/
|
|
1202
|
+
proto.SetDownPaymentResponse.toObject = function(includeInstance, msg) {
|
|
1203
|
+
var f, obj = {
|
|
1204
|
+
itemTransactionDetailPriceCondition: (f = msg.getItemTransactionDetailPriceCondition()) && prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetailPriceCondition.toObject(includeInstance, f),
|
|
1205
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
if (includeInstance) {
|
|
1209
|
+
obj.$jspbMessageInstance = msg;
|
|
1210
|
+
}
|
|
1211
|
+
return obj;
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1218
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1219
|
+
* @return {!proto.SetDownPaymentResponse}
|
|
1220
|
+
*/
|
|
1221
|
+
proto.SetDownPaymentResponse.deserializeBinary = function(bytes) {
|
|
1222
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1223
|
+
var msg = new proto.SetDownPaymentResponse;
|
|
1224
|
+
return proto.SetDownPaymentResponse.deserializeBinaryFromReader(msg, reader);
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1230
|
+
* given reader into the given message object.
|
|
1231
|
+
* @param {!proto.SetDownPaymentResponse} msg The message object to deserialize into.
|
|
1232
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1233
|
+
* @return {!proto.SetDownPaymentResponse}
|
|
1234
|
+
*/
|
|
1235
|
+
proto.SetDownPaymentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1236
|
+
while (reader.nextField()) {
|
|
1237
|
+
if (reader.isEndGroup()) {
|
|
1238
|
+
break;
|
|
1239
|
+
}
|
|
1240
|
+
var field = reader.getFieldNumber();
|
|
1241
|
+
switch (field) {
|
|
1242
|
+
case 1:
|
|
1243
|
+
var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetailPriceCondition;
|
|
1244
|
+
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetailPriceCondition.deserializeBinaryFromReader);
|
|
1245
|
+
msg.setItemTransactionDetailPriceCondition(value);
|
|
1246
|
+
break;
|
|
1247
|
+
case 2:
|
|
1248
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1249
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1250
|
+
msg.setMeta(value);
|
|
1251
|
+
break;
|
|
1252
|
+
default:
|
|
1253
|
+
reader.skipField();
|
|
1254
|
+
break;
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
return msg;
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1263
|
+
* @return {!Uint8Array}
|
|
1264
|
+
*/
|
|
1265
|
+
proto.SetDownPaymentResponse.prototype.serializeBinary = function() {
|
|
1266
|
+
var writer = new jspb.BinaryWriter();
|
|
1267
|
+
proto.SetDownPaymentResponse.serializeBinaryToWriter(this, writer);
|
|
1268
|
+
return writer.getResultBuffer();
|
|
1269
|
+
};
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1274
|
+
* format), writing to the given BinaryWriter.
|
|
1275
|
+
* @param {!proto.SetDownPaymentResponse} message
|
|
1276
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1277
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1278
|
+
*/
|
|
1279
|
+
proto.SetDownPaymentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1280
|
+
var f = undefined;
|
|
1281
|
+
f = message.getItemTransactionDetailPriceCondition();
|
|
1282
|
+
if (f != null) {
|
|
1283
|
+
writer.writeMessage(
|
|
1284
|
+
1,
|
|
1285
|
+
f,
|
|
1286
|
+
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetailPriceCondition.serializeBinaryToWriter
|
|
1287
|
+
);
|
|
1288
|
+
}
|
|
1289
|
+
f = message.getMeta();
|
|
1290
|
+
if (f != null) {
|
|
1291
|
+
writer.writeMessage(
|
|
1292
|
+
2,
|
|
1293
|
+
f,
|
|
1294
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1295
|
+
);
|
|
1296
|
+
}
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* optional ItemTransactionDetailPriceCondition item_transaction_detail_price_condition = 1;
|
|
1302
|
+
* @return {?proto.ItemTransactionDetailPriceCondition}
|
|
1303
|
+
*/
|
|
1304
|
+
proto.SetDownPaymentResponse.prototype.getItemTransactionDetailPriceCondition = function() {
|
|
1305
|
+
return /** @type{?proto.ItemTransactionDetailPriceCondition} */ (
|
|
1306
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionDetailPriceCondition, 1));
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* @param {?proto.ItemTransactionDetailPriceCondition|undefined} value
|
|
1312
|
+
* @return {!proto.SetDownPaymentResponse} returns this
|
|
1313
|
+
*/
|
|
1314
|
+
proto.SetDownPaymentResponse.prototype.setItemTransactionDetailPriceCondition = function(value) {
|
|
1315
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* Clears the message field making it undefined.
|
|
1321
|
+
* @return {!proto.SetDownPaymentResponse} returns this
|
|
1322
|
+
*/
|
|
1323
|
+
proto.SetDownPaymentResponse.prototype.clearItemTransactionDetailPriceCondition = function() {
|
|
1324
|
+
return this.setItemTransactionDetailPriceCondition(undefined);
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Returns whether this field is set.
|
|
1330
|
+
* @return {boolean}
|
|
1331
|
+
*/
|
|
1332
|
+
proto.SetDownPaymentResponse.prototype.hasItemTransactionDetailPriceCondition = function() {
|
|
1333
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1339
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1340
|
+
*/
|
|
1341
|
+
proto.SetDownPaymentResponse.prototype.getMeta = function() {
|
|
1342
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1343
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1344
|
+
};
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1349
|
+
* @return {!proto.SetDownPaymentResponse} returns this
|
|
1350
|
+
*/
|
|
1351
|
+
proto.SetDownPaymentResponse.prototype.setMeta = function(value) {
|
|
1352
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Clears the message field making it undefined.
|
|
1358
|
+
* @return {!proto.SetDownPaymentResponse} returns this
|
|
1359
|
+
*/
|
|
1360
|
+
proto.SetDownPaymentResponse.prototype.clearMeta = function() {
|
|
1361
|
+
return this.setMeta(undefined);
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Returns whether this field is set.
|
|
1367
|
+
* @return {boolean}
|
|
1368
|
+
*/
|
|
1369
|
+
proto.SetDownPaymentResponse.prototype.hasMeta = function() {
|
|
1370
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* List of repeated fields within this message type.
|
|
1377
|
+
* @private {!Array<number>}
|
|
1378
|
+
* @const
|
|
1379
|
+
*/
|
|
1380
|
+
proto.DeliveryOrder.repeatedFields_ = [22,26];
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1385
|
+
/**
|
|
1386
|
+
* Creates an object representation of this proto.
|
|
1387
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1388
|
+
* Optional fields that are not set will be set to undefined.
|
|
1389
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1390
|
+
* For the list of reserved names please see:
|
|
1391
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1392
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1393
|
+
* JSPB instance for transitional soy proto support:
|
|
1394
|
+
* http://goto/soy-param-migration
|
|
1395
|
+
* @return {!Object}
|
|
1396
|
+
*/
|
|
1397
|
+
proto.DeliveryOrder.prototype.toObject = function(opt_includeInstance) {
|
|
1398
|
+
return proto.DeliveryOrder.toObject(opt_includeInstance, this);
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* Static version of the {@see toObject} method.
|
|
1404
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1405
|
+
* the JSPB instance for transitional soy proto support:
|
|
1406
|
+
* http://goto/soy-param-migration
|
|
1407
|
+
* @param {!proto.DeliveryOrder} msg The msg instance to transform.
|
|
1408
|
+
* @return {!Object}
|
|
1409
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1410
|
+
*/
|
|
1411
|
+
proto.DeliveryOrder.toObject = function(includeInstance, msg) {
|
|
1412
|
+
var f, obj = {
|
|
1413
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1414
|
+
department: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1415
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1416
|
+
purchaseOrderReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1417
|
+
vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1418
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1419
|
+
shippingAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1420
|
+
shippingDate: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1421
|
+
remarks: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1422
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1423
|
+
status: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1424
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1425
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
1426
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
1427
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1428
|
+
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
1429
|
+
isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
1430
|
+
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1431
|
+
salesOrderNumber: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
1432
|
+
deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
1433
|
+
fileIds: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
1434
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1435
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
1436
|
+
purchaseOrder: (f = msg.getPurchaseOrder()) && proto.PurchaseOrder.toObject(includeInstance, f),
|
|
1437
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f),
|
|
1438
|
+
vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
|
|
1439
|
+
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
1440
|
+
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
|
|
1441
|
+
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
1442
|
+
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
1443
|
+
documentReferences: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
1444
|
+
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
|
|
1445
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
if (includeInstance) {
|
|
1449
|
+
obj.$jspbMessageInstance = msg;
|
|
1450
|
+
}
|
|
1451
|
+
return obj;
|
|
1452
|
+
};
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1458
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1459
|
+
* @return {!proto.DeliveryOrder}
|
|
1460
|
+
*/
|
|
1461
|
+
proto.DeliveryOrder.deserializeBinary = function(bytes) {
|
|
1462
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1463
|
+
var msg = new proto.DeliveryOrder;
|
|
1464
|
+
return proto.DeliveryOrder.deserializeBinaryFromReader(msg, reader);
|
|
1465
|
+
};
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1470
|
+
* given reader into the given message object.
|
|
1471
|
+
* @param {!proto.DeliveryOrder} msg The message object to deserialize into.
|
|
1472
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1473
|
+
* @return {!proto.DeliveryOrder}
|
|
1474
|
+
*/
|
|
1475
|
+
proto.DeliveryOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
1476
|
+
while (reader.nextField()) {
|
|
1477
|
+
if (reader.isEndGroup()) {
|
|
1478
|
+
break;
|
|
1479
|
+
}
|
|
1480
|
+
var field = reader.getFieldNumber();
|
|
1481
|
+
switch (field) {
|
|
1482
|
+
case 1:
|
|
1483
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1484
|
+
msg.setId(value);
|
|
1485
|
+
break;
|
|
1486
|
+
case 2:
|
|
1487
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1488
|
+
msg.setDepartment(value);
|
|
1489
|
+
break;
|
|
1490
|
+
case 3:
|
|
1491
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1492
|
+
msg.setTitle(value);
|
|
1493
|
+
break;
|
|
1494
|
+
case 4:
|
|
1495
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1496
|
+
msg.setPurchaseOrderReferencesId(value);
|
|
1497
|
+
break;
|
|
1498
|
+
case 5:
|
|
1499
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1500
|
+
msg.setVendorReferencesId(value);
|
|
1501
|
+
break;
|
|
1502
|
+
case 6:
|
|
1503
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1504
|
+
msg.setCompaniesReferencesId(value);
|
|
1505
|
+
break;
|
|
1506
|
+
case 7:
|
|
1507
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1508
|
+
msg.setShippingAddress(value);
|
|
1509
|
+
break;
|
|
1510
|
+
case 8:
|
|
1511
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1512
|
+
msg.setShippingDate(value);
|
|
1513
|
+
break;
|
|
1514
|
+
case 9:
|
|
1515
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1516
|
+
msg.setRemarks(value);
|
|
1517
|
+
break;
|
|
1518
|
+
case 10:
|
|
1519
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1520
|
+
msg.setReferencesId(value);
|
|
1521
|
+
break;
|
|
1522
|
+
case 11:
|
|
1523
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1524
|
+
msg.setStatus(value);
|
|
1525
|
+
break;
|
|
1526
|
+
case 12:
|
|
1527
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1528
|
+
msg.setCreatedAt(value);
|
|
1529
|
+
break;
|
|
1530
|
+
case 13:
|
|
1531
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1532
|
+
msg.setUpdatedAt(value);
|
|
1533
|
+
break;
|
|
1534
|
+
case 14:
|
|
1535
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1536
|
+
msg.setCreatedBy(value);
|
|
1537
|
+
break;
|
|
1538
|
+
case 15:
|
|
1539
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1540
|
+
msg.setUpdatedBy(value);
|
|
1541
|
+
break;
|
|
1542
|
+
case 16:
|
|
1543
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1544
|
+
msg.setGroupReferences(value);
|
|
1545
|
+
break;
|
|
1546
|
+
case 17:
|
|
1547
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1548
|
+
msg.setIsExpired(value);
|
|
1549
|
+
break;
|
|
1550
|
+
case 18:
|
|
1551
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1552
|
+
msg.setPurchaseOrderNumber(value);
|
|
1553
|
+
break;
|
|
1554
|
+
case 19:
|
|
1555
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1556
|
+
msg.setSalesOrderNumber(value);
|
|
1557
|
+
break;
|
|
1558
|
+
case 20:
|
|
1559
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1560
|
+
msg.setDeliveryOrderNumber(value);
|
|
1561
|
+
break;
|
|
1562
|
+
case 21:
|
|
1563
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1564
|
+
msg.setFileIds(value);
|
|
1565
|
+
break;
|
|
1566
|
+
case 22:
|
|
1567
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
1568
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
1569
|
+
msg.addFiles(value);
|
|
1570
|
+
break;
|
|
1571
|
+
case 23:
|
|
1572
|
+
var value = new proto.PurchaseOrder;
|
|
1573
|
+
reader.readMessage(value,proto.PurchaseOrder.deserializeBinaryFromReader);
|
|
1574
|
+
msg.setPurchaseOrder(value);
|
|
1575
|
+
break;
|
|
1576
|
+
case 24:
|
|
1577
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompany;
|
|
1578
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
|
|
1579
|
+
msg.setCompanies(value);
|
|
1580
|
+
break;
|
|
1581
|
+
case 25:
|
|
1582
|
+
var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
|
|
1583
|
+
reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
|
|
685
1584
|
msg.setVendor(value);
|
|
686
1585
|
break;
|
|
687
1586
|
case 26:
|
|
@@ -708,6 +1607,10 @@ proto.DeliveryOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
708
1607
|
reader.readMessage(value,prisca_v1_document_type_document_type_pb.DocumentType.deserializeBinaryFromReader);
|
|
709
1608
|
msg.setDocumentType(value);
|
|
710
1609
|
break;
|
|
1610
|
+
case 31:
|
|
1611
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1612
|
+
msg.setCustomTransaction(value);
|
|
1613
|
+
break;
|
|
711
1614
|
default:
|
|
712
1615
|
reader.skipField();
|
|
713
1616
|
break;
|
|
@@ -955,6 +1858,13 @@ proto.DeliveryOrder.serializeBinaryToWriter = function(message, writer) {
|
|
|
955
1858
|
prisca_v1_document_type_document_type_pb.DocumentType.serializeBinaryToWriter
|
|
956
1859
|
);
|
|
957
1860
|
}
|
|
1861
|
+
f = message.getCustomTransaction();
|
|
1862
|
+
if (f.length > 0) {
|
|
1863
|
+
writer.writeString(
|
|
1864
|
+
31,
|
|
1865
|
+
f
|
|
1866
|
+
);
|
|
1867
|
+
}
|
|
958
1868
|
};
|
|
959
1869
|
|
|
960
1870
|
|
|
@@ -1652,6 +2562,24 @@ proto.DeliveryOrder.prototype.hasDocumentType = function() {
|
|
|
1652
2562
|
};
|
|
1653
2563
|
|
|
1654
2564
|
|
|
2565
|
+
/**
|
|
2566
|
+
* optional string custom_transaction = 31;
|
|
2567
|
+
* @return {string}
|
|
2568
|
+
*/
|
|
2569
|
+
proto.DeliveryOrder.prototype.getCustomTransaction = function() {
|
|
2570
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
|
|
2571
|
+
};
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
* @param {string} value
|
|
2576
|
+
* @return {!proto.DeliveryOrder} returns this
|
|
2577
|
+
*/
|
|
2578
|
+
proto.DeliveryOrder.prototype.setCustomTransaction = function(value) {
|
|
2579
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
2580
|
+
};
|
|
2581
|
+
|
|
2582
|
+
|
|
1655
2583
|
|
|
1656
2584
|
/**
|
|
1657
2585
|
* List of repeated fields within this message type.
|
|
@@ -1706,7 +2634,7 @@ status: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
|
1706
2634
|
createdAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
1707
2635
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
1708
2636
|
createdBy: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1709
|
-
|
|
2637
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
1710
2638
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
1711
2639
|
groupReferences: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1712
2640
|
isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
@@ -1723,7 +2651,8 @@ plant: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
|
1723
2651
|
deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
1724
2652
|
deliveryOrderReferencesId: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
1725
2653
|
deliveryOrderDate: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
1726
|
-
deliveryOrder: (f = msg.getDeliveryOrder()) && proto.DeliveryOrder.toObject(includeInstance, f)
|
|
2654
|
+
deliveryOrder: (f = msg.getDeliveryOrder()) && proto.DeliveryOrder.toObject(includeInstance, f),
|
|
2655
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 32, "")
|
|
1727
2656
|
};
|
|
1728
2657
|
|
|
1729
2658
|
if (includeInstance) {
|
|
@@ -1822,7 +2751,7 @@ proto.GoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1822
2751
|
break;
|
|
1823
2752
|
case 16:
|
|
1824
2753
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1825
|
-
msg.
|
|
2754
|
+
msg.setUpdatedBy(value);
|
|
1826
2755
|
break;
|
|
1827
2756
|
case 17:
|
|
1828
2757
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -1891,6 +2820,10 @@ proto.GoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1891
2820
|
reader.readMessage(value,proto.DeliveryOrder.deserializeBinaryFromReader);
|
|
1892
2821
|
msg.setDeliveryOrder(value);
|
|
1893
2822
|
break;
|
|
2823
|
+
case 32:
|
|
2824
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2825
|
+
msg.setCustomTransaction(value);
|
|
2826
|
+
break;
|
|
1894
2827
|
default:
|
|
1895
2828
|
reader.skipField();
|
|
1896
2829
|
break;
|
|
@@ -2025,7 +2958,7 @@ proto.GoodReceipt.serializeBinaryToWriter = function(message, writer) {
|
|
|
2025
2958
|
f
|
|
2026
2959
|
);
|
|
2027
2960
|
}
|
|
2028
|
-
f = message.
|
|
2961
|
+
f = message.getUpdatedBy();
|
|
2029
2962
|
if (f.length > 0) {
|
|
2030
2963
|
writer.writeString(
|
|
2031
2964
|
16,
|
|
@@ -2144,6 +3077,13 @@ proto.GoodReceipt.serializeBinaryToWriter = function(message, writer) {
|
|
|
2144
3077
|
proto.DeliveryOrder.serializeBinaryToWriter
|
|
2145
3078
|
);
|
|
2146
3079
|
}
|
|
3080
|
+
f = message.getCustomTransaction();
|
|
3081
|
+
if (f.length > 0) {
|
|
3082
|
+
writer.writeString(
|
|
3083
|
+
32,
|
|
3084
|
+
f
|
|
3085
|
+
);
|
|
3086
|
+
}
|
|
2147
3087
|
};
|
|
2148
3088
|
|
|
2149
3089
|
|
|
@@ -2418,10 +3358,10 @@ proto.GoodReceipt.prototype.setCreatedBy = function(value) {
|
|
|
2418
3358
|
|
|
2419
3359
|
|
|
2420
3360
|
/**
|
|
2421
|
-
* optional string
|
|
3361
|
+
* optional string updated_by = 16;
|
|
2422
3362
|
* @return {string}
|
|
2423
3363
|
*/
|
|
2424
|
-
proto.GoodReceipt.prototype.
|
|
3364
|
+
proto.GoodReceipt.prototype.getUpdatedBy = function() {
|
|
2425
3365
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
2426
3366
|
};
|
|
2427
3367
|
|
|
@@ -2430,7 +3370,7 @@ proto.GoodReceipt.prototype.getUpdateBy = function() {
|
|
|
2430
3370
|
* @param {string} value
|
|
2431
3371
|
* @return {!proto.GoodReceipt} returns this
|
|
2432
3372
|
*/
|
|
2433
|
-
proto.GoodReceipt.prototype.
|
|
3373
|
+
proto.GoodReceipt.prototype.setUpdatedBy = function(value) {
|
|
2434
3374
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
2435
3375
|
};
|
|
2436
3376
|
|
|
@@ -2840,13 +3780,31 @@ proto.GoodReceipt.prototype.hasDeliveryOrder = function() {
|
|
|
2840
3780
|
};
|
|
2841
3781
|
|
|
2842
3782
|
|
|
3783
|
+
/**
|
|
3784
|
+
* optional string custom_transaction = 32;
|
|
3785
|
+
* @return {string}
|
|
3786
|
+
*/
|
|
3787
|
+
proto.GoodReceipt.prototype.getCustomTransaction = function() {
|
|
3788
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
|
|
3789
|
+
};
|
|
3790
|
+
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* @param {string} value
|
|
3794
|
+
* @return {!proto.GoodReceipt} returns this
|
|
3795
|
+
*/
|
|
3796
|
+
proto.GoodReceipt.prototype.setCustomTransaction = function(value) {
|
|
3797
|
+
return jspb.Message.setProto3StringField(this, 32, value);
|
|
3798
|
+
};
|
|
3799
|
+
|
|
3800
|
+
|
|
2843
3801
|
|
|
2844
3802
|
/**
|
|
2845
3803
|
* List of repeated fields within this message type.
|
|
2846
3804
|
* @private {!Array<number>}
|
|
2847
3805
|
* @const
|
|
2848
3806
|
*/
|
|
2849
|
-
proto.Invoice.repeatedFields_ = [26,29,31,
|
|
3807
|
+
proto.Invoice.repeatedFields_ = [26,29,31,34,39];
|
|
2850
3808
|
|
|
2851
3809
|
|
|
2852
3810
|
|
|
@@ -2899,7 +3857,7 @@ status: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
|
2899
3857
|
createdAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2900
3858
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
2901
3859
|
createdBy: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
2902
|
-
|
|
3860
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
2903
3861
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
2904
3862
|
groupReferences: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
2905
3863
|
isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
@@ -2913,15 +3871,16 @@ goodReceiptsList: jspb.Message.toObjectList(msg.getGoodReceiptsList(),
|
|
|
2913
3871
|
vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
|
|
2914
3872
|
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
2915
3873
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
vendorName: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
2919
|
-
shippingFileIds: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
3874
|
+
vendorName: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
3875
|
+
shippingFileIds: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
2920
3876
|
shippingFilesList: jspb.Message.toObjectList(msg.getShippingFilesList(),
|
|
2921
3877
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
3878
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
3879
|
+
dueDate: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
3880
|
+
createdByUser: (f = msg.getCreatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
|
|
3881
|
+
updatedByUser: (f = msg.getUpdatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
|
|
3882
|
+
invoiceConditionsList: jspb.Message.toObjectList(msg.getInvoiceConditionsList(),
|
|
3883
|
+
proto.InvoiceCondition.toObject, includeInstance)
|
|
2925
3884
|
};
|
|
2926
3885
|
|
|
2927
3886
|
if (includeInstance) {
|
|
@@ -3040,7 +3999,7 @@ proto.Invoice.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3040
3999
|
break;
|
|
3041
4000
|
case 21:
|
|
3042
4001
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3043
|
-
msg.
|
|
4002
|
+
msg.setUpdatedBy(value);
|
|
3044
4003
|
break;
|
|
3045
4004
|
case 22:
|
|
3046
4005
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -3089,40 +4048,40 @@ proto.Invoice.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3089
4048
|
msg.addItemTransactions(value);
|
|
3090
4049
|
break;
|
|
3091
4050
|
case 32:
|
|
3092
|
-
var value =
|
|
3093
|
-
|
|
3094
|
-
msg.setCreatedByUser(value);
|
|
4051
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4052
|
+
msg.setVendorName(value);
|
|
3095
4053
|
break;
|
|
3096
4054
|
case 33:
|
|
3097
|
-
var value =
|
|
3098
|
-
|
|
3099
|
-
msg.setUpdatedByEmployee(value);
|
|
4055
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4056
|
+
msg.setShippingFileIds(value);
|
|
3100
4057
|
break;
|
|
3101
4058
|
case 34:
|
|
3102
|
-
var value =
|
|
3103
|
-
|
|
4059
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
4060
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
4061
|
+
msg.addShippingFiles(value);
|
|
3104
4062
|
break;
|
|
3105
4063
|
case 35:
|
|
3106
4064
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3107
|
-
msg.
|
|
4065
|
+
msg.setCustomTransaction(value);
|
|
3108
4066
|
break;
|
|
3109
4067
|
case 36:
|
|
3110
|
-
var value =
|
|
3111
|
-
|
|
3112
|
-
msg.addShippingFiles(value);
|
|
4068
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4069
|
+
msg.setDueDate(value);
|
|
3113
4070
|
break;
|
|
3114
4071
|
case 37:
|
|
3115
|
-
var value = new
|
|
3116
|
-
reader.readMessage(value,
|
|
3117
|
-
msg.
|
|
4072
|
+
var value = new prisca_v1_global_meta_meta_pb.Creator;
|
|
4073
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
4074
|
+
msg.setCreatedByUser(value);
|
|
3118
4075
|
break;
|
|
3119
4076
|
case 38:
|
|
3120
|
-
var value =
|
|
3121
|
-
|
|
4077
|
+
var value = new prisca_v1_global_meta_meta_pb.Creator;
|
|
4078
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
4079
|
+
msg.setUpdatedByUser(value);
|
|
3122
4080
|
break;
|
|
3123
4081
|
case 39:
|
|
3124
|
-
var value =
|
|
3125
|
-
|
|
4082
|
+
var value = new proto.InvoiceCondition;
|
|
4083
|
+
reader.readMessage(value,proto.InvoiceCondition.deserializeBinaryFromReader);
|
|
4084
|
+
msg.addInvoiceConditions(value);
|
|
3126
4085
|
break;
|
|
3127
4086
|
default:
|
|
3128
4087
|
reader.skipField();
|
|
@@ -3293,7 +4252,7 @@ proto.Invoice.serializeBinaryToWriter = function(message, writer) {
|
|
|
3293
4252
|
f
|
|
3294
4253
|
);
|
|
3295
4254
|
}
|
|
3296
|
-
f = message.
|
|
4255
|
+
f = message.getUpdatedBy();
|
|
3297
4256
|
if (f.length > 0) {
|
|
3298
4257
|
writer.writeString(
|
|
3299
4258
|
21,
|
|
@@ -3376,64 +4335,64 @@ proto.Invoice.serializeBinaryToWriter = function(message, writer) {
|
|
|
3376
4335
|
prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
|
|
3377
4336
|
);
|
|
3378
4337
|
}
|
|
3379
|
-
f = message.
|
|
3380
|
-
if (f
|
|
3381
|
-
writer.
|
|
4338
|
+
f = message.getVendorName();
|
|
4339
|
+
if (f.length > 0) {
|
|
4340
|
+
writer.writeString(
|
|
3382
4341
|
32,
|
|
3383
|
-
f
|
|
3384
|
-
prisca_v1_core_users_users_pb.Users.serializeBinaryToWriter
|
|
4342
|
+
f
|
|
3385
4343
|
);
|
|
3386
4344
|
}
|
|
3387
|
-
f = message.
|
|
3388
|
-
if (f
|
|
3389
|
-
writer.
|
|
4345
|
+
f = message.getShippingFileIds();
|
|
4346
|
+
if (f.length > 0) {
|
|
4347
|
+
writer.writeString(
|
|
3390
4348
|
33,
|
|
3391
|
-
f
|
|
3392
|
-
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
4349
|
+
f
|
|
3393
4350
|
);
|
|
3394
4351
|
}
|
|
3395
|
-
f = message.
|
|
4352
|
+
f = message.getShippingFilesList();
|
|
3396
4353
|
if (f.length > 0) {
|
|
3397
|
-
writer.
|
|
4354
|
+
writer.writeRepeatedMessage(
|
|
3398
4355
|
34,
|
|
3399
|
-
f
|
|
4356
|
+
f,
|
|
4357
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
3400
4358
|
);
|
|
3401
4359
|
}
|
|
3402
|
-
f = message.
|
|
4360
|
+
f = message.getCustomTransaction();
|
|
3403
4361
|
if (f.length > 0) {
|
|
3404
4362
|
writer.writeString(
|
|
3405
4363
|
35,
|
|
3406
4364
|
f
|
|
3407
4365
|
);
|
|
3408
4366
|
}
|
|
3409
|
-
f = message.
|
|
4367
|
+
f = message.getDueDate();
|
|
3410
4368
|
if (f.length > 0) {
|
|
3411
|
-
writer.
|
|
4369
|
+
writer.writeString(
|
|
3412
4370
|
36,
|
|
3413
|
-
f
|
|
3414
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
4371
|
+
f
|
|
3415
4372
|
);
|
|
3416
4373
|
}
|
|
3417
|
-
f = message.
|
|
4374
|
+
f = message.getCreatedByUser();
|
|
3418
4375
|
if (f != null) {
|
|
3419
4376
|
writer.writeMessage(
|
|
3420
4377
|
37,
|
|
3421
4378
|
f,
|
|
3422
|
-
|
|
4379
|
+
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
3423
4380
|
);
|
|
3424
4381
|
}
|
|
3425
|
-
f = message.
|
|
3426
|
-
if (f
|
|
3427
|
-
writer.
|
|
4382
|
+
f = message.getUpdatedByUser();
|
|
4383
|
+
if (f != null) {
|
|
4384
|
+
writer.writeMessage(
|
|
3428
4385
|
38,
|
|
3429
|
-
f
|
|
4386
|
+
f,
|
|
4387
|
+
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
3430
4388
|
);
|
|
3431
4389
|
}
|
|
3432
|
-
f = message.
|
|
4390
|
+
f = message.getInvoiceConditionsList();
|
|
3433
4391
|
if (f.length > 0) {
|
|
3434
|
-
writer.
|
|
4392
|
+
writer.writeRepeatedMessage(
|
|
3435
4393
|
39,
|
|
3436
|
-
f
|
|
4394
|
+
f,
|
|
4395
|
+
proto.InvoiceCondition.serializeBinaryToWriter
|
|
3437
4396
|
);
|
|
3438
4397
|
}
|
|
3439
4398
|
};
|
|
@@ -3800,10 +4759,10 @@ proto.Invoice.prototype.setCreatedBy = function(value) {
|
|
|
3800
4759
|
|
|
3801
4760
|
|
|
3802
4761
|
/**
|
|
3803
|
-
* optional string
|
|
4762
|
+
* optional string updated_by = 21;
|
|
3804
4763
|
* @return {string}
|
|
3805
4764
|
*/
|
|
3806
|
-
proto.Invoice.prototype.
|
|
4765
|
+
proto.Invoice.prototype.getUpdatedBy = function() {
|
|
3807
4766
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
3808
4767
|
};
|
|
3809
4768
|
|
|
@@ -3812,7 +4771,7 @@ proto.Invoice.prototype.getUpdateBy = function() {
|
|
|
3812
4771
|
* @param {string} value
|
|
3813
4772
|
* @return {!proto.Invoice} returns this
|
|
3814
4773
|
*/
|
|
3815
|
-
proto.Invoice.prototype.
|
|
4774
|
+
proto.Invoice.prototype.setUpdatedBy = function(value) {
|
|
3816
4775
|
return jspb.Message.setProto3StringField(this, 21, value);
|
|
3817
4776
|
};
|
|
3818
4777
|
|
|
@@ -4087,21 +5046,243 @@ proto.Invoice.prototype.getItemTransactionsList = function() {
|
|
|
4087
5046
|
|
|
4088
5047
|
|
|
4089
5048
|
/**
|
|
4090
|
-
* @param {!Array<!proto.ItemTransaction>} value
|
|
5049
|
+
* @param {!Array<!proto.ItemTransaction>} value
|
|
5050
|
+
* @return {!proto.Invoice} returns this
|
|
5051
|
+
*/
|
|
5052
|
+
proto.Invoice.prototype.setItemTransactionsList = function(value) {
|
|
5053
|
+
return jspb.Message.setRepeatedWrapperField(this, 31, value);
|
|
5054
|
+
};
|
|
5055
|
+
|
|
5056
|
+
|
|
5057
|
+
/**
|
|
5058
|
+
* @param {!proto.ItemTransaction=} opt_value
|
|
5059
|
+
* @param {number=} opt_index
|
|
5060
|
+
* @return {!proto.ItemTransaction}
|
|
5061
|
+
*/
|
|
5062
|
+
proto.Invoice.prototype.addItemTransactions = function(opt_value, opt_index) {
|
|
5063
|
+
return jspb.Message.addToRepeatedWrapperField(this, 31, opt_value, proto.ItemTransaction, opt_index);
|
|
5064
|
+
};
|
|
5065
|
+
|
|
5066
|
+
|
|
5067
|
+
/**
|
|
5068
|
+
* Clears the list making it empty but non-null.
|
|
5069
|
+
* @return {!proto.Invoice} returns this
|
|
5070
|
+
*/
|
|
5071
|
+
proto.Invoice.prototype.clearItemTransactionsList = function() {
|
|
5072
|
+
return this.setItemTransactionsList([]);
|
|
5073
|
+
};
|
|
5074
|
+
|
|
5075
|
+
|
|
5076
|
+
/**
|
|
5077
|
+
* optional string vendor_name = 32;
|
|
5078
|
+
* @return {string}
|
|
5079
|
+
*/
|
|
5080
|
+
proto.Invoice.prototype.getVendorName = function() {
|
|
5081
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
|
|
5082
|
+
};
|
|
5083
|
+
|
|
5084
|
+
|
|
5085
|
+
/**
|
|
5086
|
+
* @param {string} value
|
|
5087
|
+
* @return {!proto.Invoice} returns this
|
|
5088
|
+
*/
|
|
5089
|
+
proto.Invoice.prototype.setVendorName = function(value) {
|
|
5090
|
+
return jspb.Message.setProto3StringField(this, 32, value);
|
|
5091
|
+
};
|
|
5092
|
+
|
|
5093
|
+
|
|
5094
|
+
/**
|
|
5095
|
+
* optional string shipping_file_ids = 33;
|
|
5096
|
+
* @return {string}
|
|
5097
|
+
*/
|
|
5098
|
+
proto.Invoice.prototype.getShippingFileIds = function() {
|
|
5099
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
|
|
5100
|
+
};
|
|
5101
|
+
|
|
5102
|
+
|
|
5103
|
+
/**
|
|
5104
|
+
* @param {string} value
|
|
5105
|
+
* @return {!proto.Invoice} returns this
|
|
5106
|
+
*/
|
|
5107
|
+
proto.Invoice.prototype.setShippingFileIds = function(value) {
|
|
5108
|
+
return jspb.Message.setProto3StringField(this, 33, value);
|
|
5109
|
+
};
|
|
5110
|
+
|
|
5111
|
+
|
|
5112
|
+
/**
|
|
5113
|
+
* repeated FileUploadReferencesReq shipping_files = 34;
|
|
5114
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
5115
|
+
*/
|
|
5116
|
+
proto.Invoice.prototype.getShippingFilesList = function() {
|
|
5117
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
5118
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 34));
|
|
5119
|
+
};
|
|
5120
|
+
|
|
5121
|
+
|
|
5122
|
+
/**
|
|
5123
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
5124
|
+
* @return {!proto.Invoice} returns this
|
|
5125
|
+
*/
|
|
5126
|
+
proto.Invoice.prototype.setShippingFilesList = function(value) {
|
|
5127
|
+
return jspb.Message.setRepeatedWrapperField(this, 34, value);
|
|
5128
|
+
};
|
|
5129
|
+
|
|
5130
|
+
|
|
5131
|
+
/**
|
|
5132
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
5133
|
+
* @param {number=} opt_index
|
|
5134
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
5135
|
+
*/
|
|
5136
|
+
proto.Invoice.prototype.addShippingFiles = function(opt_value, opt_index) {
|
|
5137
|
+
return jspb.Message.addToRepeatedWrapperField(this, 34, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
5138
|
+
};
|
|
5139
|
+
|
|
5140
|
+
|
|
5141
|
+
/**
|
|
5142
|
+
* Clears the list making it empty but non-null.
|
|
5143
|
+
* @return {!proto.Invoice} returns this
|
|
5144
|
+
*/
|
|
5145
|
+
proto.Invoice.prototype.clearShippingFilesList = function() {
|
|
5146
|
+
return this.setShippingFilesList([]);
|
|
5147
|
+
};
|
|
5148
|
+
|
|
5149
|
+
|
|
5150
|
+
/**
|
|
5151
|
+
* optional string custom_transaction = 35;
|
|
5152
|
+
* @return {string}
|
|
5153
|
+
*/
|
|
5154
|
+
proto.Invoice.prototype.getCustomTransaction = function() {
|
|
5155
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
|
|
5156
|
+
};
|
|
5157
|
+
|
|
5158
|
+
|
|
5159
|
+
/**
|
|
5160
|
+
* @param {string} value
|
|
5161
|
+
* @return {!proto.Invoice} returns this
|
|
5162
|
+
*/
|
|
5163
|
+
proto.Invoice.prototype.setCustomTransaction = function(value) {
|
|
5164
|
+
return jspb.Message.setProto3StringField(this, 35, value);
|
|
5165
|
+
};
|
|
5166
|
+
|
|
5167
|
+
|
|
5168
|
+
/**
|
|
5169
|
+
* optional string due_date = 36;
|
|
5170
|
+
* @return {string}
|
|
5171
|
+
*/
|
|
5172
|
+
proto.Invoice.prototype.getDueDate = function() {
|
|
5173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
|
|
5174
|
+
};
|
|
5175
|
+
|
|
5176
|
+
|
|
5177
|
+
/**
|
|
5178
|
+
* @param {string} value
|
|
5179
|
+
* @return {!proto.Invoice} returns this
|
|
5180
|
+
*/
|
|
5181
|
+
proto.Invoice.prototype.setDueDate = function(value) {
|
|
5182
|
+
return jspb.Message.setProto3StringField(this, 36, value);
|
|
5183
|
+
};
|
|
5184
|
+
|
|
5185
|
+
|
|
5186
|
+
/**
|
|
5187
|
+
* optional prisca.v1.global.meta.Creator created_by_user = 37;
|
|
5188
|
+
* @return {?proto.prisca.v1.global.meta.Creator}
|
|
5189
|
+
*/
|
|
5190
|
+
proto.Invoice.prototype.getCreatedByUser = function() {
|
|
5191
|
+
return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
|
|
5192
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 37));
|
|
5193
|
+
};
|
|
5194
|
+
|
|
5195
|
+
|
|
5196
|
+
/**
|
|
5197
|
+
* @param {?proto.prisca.v1.global.meta.Creator|undefined} value
|
|
5198
|
+
* @return {!proto.Invoice} returns this
|
|
5199
|
+
*/
|
|
5200
|
+
proto.Invoice.prototype.setCreatedByUser = function(value) {
|
|
5201
|
+
return jspb.Message.setWrapperField(this, 37, value);
|
|
5202
|
+
};
|
|
5203
|
+
|
|
5204
|
+
|
|
5205
|
+
/**
|
|
5206
|
+
* Clears the message field making it undefined.
|
|
5207
|
+
* @return {!proto.Invoice} returns this
|
|
5208
|
+
*/
|
|
5209
|
+
proto.Invoice.prototype.clearCreatedByUser = function() {
|
|
5210
|
+
return this.setCreatedByUser(undefined);
|
|
5211
|
+
};
|
|
5212
|
+
|
|
5213
|
+
|
|
5214
|
+
/**
|
|
5215
|
+
* Returns whether this field is set.
|
|
5216
|
+
* @return {boolean}
|
|
5217
|
+
*/
|
|
5218
|
+
proto.Invoice.prototype.hasCreatedByUser = function() {
|
|
5219
|
+
return jspb.Message.getField(this, 37) != null;
|
|
5220
|
+
};
|
|
5221
|
+
|
|
5222
|
+
|
|
5223
|
+
/**
|
|
5224
|
+
* optional prisca.v1.global.meta.Creator updated_by_user = 38;
|
|
5225
|
+
* @return {?proto.prisca.v1.global.meta.Creator}
|
|
5226
|
+
*/
|
|
5227
|
+
proto.Invoice.prototype.getUpdatedByUser = function() {
|
|
5228
|
+
return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
|
|
5229
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 38));
|
|
5230
|
+
};
|
|
5231
|
+
|
|
5232
|
+
|
|
5233
|
+
/**
|
|
5234
|
+
* @param {?proto.prisca.v1.global.meta.Creator|undefined} value
|
|
5235
|
+
* @return {!proto.Invoice} returns this
|
|
5236
|
+
*/
|
|
5237
|
+
proto.Invoice.prototype.setUpdatedByUser = function(value) {
|
|
5238
|
+
return jspb.Message.setWrapperField(this, 38, value);
|
|
5239
|
+
};
|
|
5240
|
+
|
|
5241
|
+
|
|
5242
|
+
/**
|
|
5243
|
+
* Clears the message field making it undefined.
|
|
5244
|
+
* @return {!proto.Invoice} returns this
|
|
5245
|
+
*/
|
|
5246
|
+
proto.Invoice.prototype.clearUpdatedByUser = function() {
|
|
5247
|
+
return this.setUpdatedByUser(undefined);
|
|
5248
|
+
};
|
|
5249
|
+
|
|
5250
|
+
|
|
5251
|
+
/**
|
|
5252
|
+
* Returns whether this field is set.
|
|
5253
|
+
* @return {boolean}
|
|
5254
|
+
*/
|
|
5255
|
+
proto.Invoice.prototype.hasUpdatedByUser = function() {
|
|
5256
|
+
return jspb.Message.getField(this, 38) != null;
|
|
5257
|
+
};
|
|
5258
|
+
|
|
5259
|
+
|
|
5260
|
+
/**
|
|
5261
|
+
* repeated InvoiceCondition invoice_conditions = 39;
|
|
5262
|
+
* @return {!Array<!proto.InvoiceCondition>}
|
|
5263
|
+
*/
|
|
5264
|
+
proto.Invoice.prototype.getInvoiceConditionsList = function() {
|
|
5265
|
+
return /** @type{!Array<!proto.InvoiceCondition>} */ (
|
|
5266
|
+
jspb.Message.getRepeatedWrapperField(this, proto.InvoiceCondition, 39));
|
|
5267
|
+
};
|
|
5268
|
+
|
|
5269
|
+
|
|
5270
|
+
/**
|
|
5271
|
+
* @param {!Array<!proto.InvoiceCondition>} value
|
|
4091
5272
|
* @return {!proto.Invoice} returns this
|
|
4092
5273
|
*/
|
|
4093
|
-
proto.Invoice.prototype.
|
|
4094
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
5274
|
+
proto.Invoice.prototype.setInvoiceConditionsList = function(value) {
|
|
5275
|
+
return jspb.Message.setRepeatedWrapperField(this, 39, value);
|
|
4095
5276
|
};
|
|
4096
5277
|
|
|
4097
5278
|
|
|
4098
5279
|
/**
|
|
4099
|
-
* @param {!proto.
|
|
5280
|
+
* @param {!proto.InvoiceCondition=} opt_value
|
|
4100
5281
|
* @param {number=} opt_index
|
|
4101
|
-
* @return {!proto.
|
|
5282
|
+
* @return {!proto.InvoiceCondition}
|
|
4102
5283
|
*/
|
|
4103
|
-
proto.Invoice.prototype.
|
|
4104
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
5284
|
+
proto.Invoice.prototype.addInvoiceConditions = function(opt_value, opt_index) {
|
|
5285
|
+
return jspb.Message.addToRepeatedWrapperField(this, 39, opt_value, proto.InvoiceCondition, opt_index);
|
|
4105
5286
|
};
|
|
4106
5287
|
|
|
4107
5288
|
|
|
@@ -4109,229 +5290,438 @@ proto.Invoice.prototype.addItemTransactions = function(opt_value, opt_index) {
|
|
|
4109
5290
|
* Clears the list making it empty but non-null.
|
|
4110
5291
|
* @return {!proto.Invoice} returns this
|
|
4111
5292
|
*/
|
|
4112
|
-
proto.Invoice.prototype.
|
|
4113
|
-
return this.
|
|
5293
|
+
proto.Invoice.prototype.clearInvoiceConditionsList = function() {
|
|
5294
|
+
return this.setInvoiceConditionsList([]);
|
|
4114
5295
|
};
|
|
4115
5296
|
|
|
4116
5297
|
|
|
5298
|
+
|
|
5299
|
+
|
|
5300
|
+
|
|
5301
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4117
5302
|
/**
|
|
4118
|
-
*
|
|
4119
|
-
*
|
|
5303
|
+
* Creates an object representation of this proto.
|
|
5304
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5305
|
+
* Optional fields that are not set will be set to undefined.
|
|
5306
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5307
|
+
* For the list of reserved names please see:
|
|
5308
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5309
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5310
|
+
* JSPB instance for transitional soy proto support:
|
|
5311
|
+
* http://goto/soy-param-migration
|
|
5312
|
+
* @return {!Object}
|
|
4120
5313
|
*/
|
|
4121
|
-
proto.
|
|
4122
|
-
return
|
|
4123
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_users_users_pb.Users, 32));
|
|
5314
|
+
proto.InvoiceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
5315
|
+
return proto.InvoiceCondition.toObject(opt_includeInstance, this);
|
|
4124
5316
|
};
|
|
4125
5317
|
|
|
4126
5318
|
|
|
4127
5319
|
/**
|
|
4128
|
-
* @
|
|
4129
|
-
* @
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
5320
|
+
* Static version of the {@see toObject} method.
|
|
5321
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5322
|
+
* the JSPB instance for transitional soy proto support:
|
|
5323
|
+
* http://goto/soy-param-migration
|
|
5324
|
+
* @param {!proto.InvoiceCondition} msg The msg instance to transform.
|
|
5325
|
+
* @return {!Object}
|
|
5326
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5327
|
+
*/
|
|
5328
|
+
proto.InvoiceCondition.toObject = function(includeInstance, msg) {
|
|
5329
|
+
var f, obj = {
|
|
5330
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5331
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5332
|
+
price: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5333
|
+
taxable: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
5334
|
+
entree: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5335
|
+
ppn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5336
|
+
pph: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5337
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
5338
|
+
invoiceReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5339
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5340
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
5341
|
+
};
|
|
5342
|
+
|
|
5343
|
+
if (includeInstance) {
|
|
5344
|
+
obj.$jspbMessageInstance = msg;
|
|
5345
|
+
}
|
|
5346
|
+
return obj;
|
|
4133
5347
|
};
|
|
5348
|
+
}
|
|
4134
5349
|
|
|
4135
5350
|
|
|
4136
5351
|
/**
|
|
4137
|
-
*
|
|
4138
|
-
* @
|
|
5352
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5353
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5354
|
+
* @return {!proto.InvoiceCondition}
|
|
4139
5355
|
*/
|
|
4140
|
-
proto.
|
|
4141
|
-
|
|
5356
|
+
proto.InvoiceCondition.deserializeBinary = function(bytes) {
|
|
5357
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5358
|
+
var msg = new proto.InvoiceCondition;
|
|
5359
|
+
return proto.InvoiceCondition.deserializeBinaryFromReader(msg, reader);
|
|
4142
5360
|
};
|
|
4143
5361
|
|
|
4144
5362
|
|
|
4145
5363
|
/**
|
|
4146
|
-
*
|
|
4147
|
-
*
|
|
5364
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5365
|
+
* given reader into the given message object.
|
|
5366
|
+
* @param {!proto.InvoiceCondition} msg The message object to deserialize into.
|
|
5367
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5368
|
+
* @return {!proto.InvoiceCondition}
|
|
4148
5369
|
*/
|
|
4149
|
-
proto.
|
|
4150
|
-
|
|
5370
|
+
proto.InvoiceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
5371
|
+
while (reader.nextField()) {
|
|
5372
|
+
if (reader.isEndGroup()) {
|
|
5373
|
+
break;
|
|
5374
|
+
}
|
|
5375
|
+
var field = reader.getFieldNumber();
|
|
5376
|
+
switch (field) {
|
|
5377
|
+
case 1:
|
|
5378
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5379
|
+
msg.setId(value);
|
|
5380
|
+
break;
|
|
5381
|
+
case 2:
|
|
5382
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5383
|
+
msg.setName(value);
|
|
5384
|
+
break;
|
|
5385
|
+
case 3:
|
|
5386
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5387
|
+
msg.setPrice(value);
|
|
5388
|
+
break;
|
|
5389
|
+
case 4:
|
|
5390
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5391
|
+
msg.setTaxable(value);
|
|
5392
|
+
break;
|
|
5393
|
+
case 5:
|
|
5394
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5395
|
+
msg.setEntree(value);
|
|
5396
|
+
break;
|
|
5397
|
+
case 6:
|
|
5398
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5399
|
+
msg.setPpn(value);
|
|
5400
|
+
break;
|
|
5401
|
+
case 7:
|
|
5402
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5403
|
+
msg.setPph(value);
|
|
5404
|
+
break;
|
|
5405
|
+
case 8:
|
|
5406
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5407
|
+
msg.setReferencesId(value);
|
|
5408
|
+
break;
|
|
5409
|
+
case 9:
|
|
5410
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5411
|
+
msg.setInvoiceReferencesId(value);
|
|
5412
|
+
break;
|
|
5413
|
+
case 10:
|
|
5414
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5415
|
+
msg.setCreatedAt(value);
|
|
5416
|
+
break;
|
|
5417
|
+
case 11:
|
|
5418
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5419
|
+
msg.setUpdatedAt(value);
|
|
5420
|
+
break;
|
|
5421
|
+
default:
|
|
5422
|
+
reader.skipField();
|
|
5423
|
+
break;
|
|
5424
|
+
}
|
|
5425
|
+
}
|
|
5426
|
+
return msg;
|
|
4151
5427
|
};
|
|
4152
5428
|
|
|
4153
5429
|
|
|
4154
5430
|
/**
|
|
4155
|
-
*
|
|
4156
|
-
* @return {
|
|
5431
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5432
|
+
* @return {!Uint8Array}
|
|
4157
5433
|
*/
|
|
4158
|
-
proto.
|
|
4159
|
-
|
|
4160
|
-
|
|
5434
|
+
proto.InvoiceCondition.prototype.serializeBinary = function() {
|
|
5435
|
+
var writer = new jspb.BinaryWriter();
|
|
5436
|
+
proto.InvoiceCondition.serializeBinaryToWriter(this, writer);
|
|
5437
|
+
return writer.getResultBuffer();
|
|
4161
5438
|
};
|
|
4162
5439
|
|
|
4163
5440
|
|
|
4164
5441
|
/**
|
|
4165
|
-
*
|
|
4166
|
-
*
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
5442
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5443
|
+
* format), writing to the given BinaryWriter.
|
|
5444
|
+
* @param {!proto.InvoiceCondition} message
|
|
5445
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5446
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5447
|
+
*/
|
|
5448
|
+
proto.InvoiceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
5449
|
+
var f = undefined;
|
|
5450
|
+
f = message.getId();
|
|
5451
|
+
if (f !== 0) {
|
|
5452
|
+
writer.writeInt64(
|
|
5453
|
+
1,
|
|
5454
|
+
f
|
|
5455
|
+
);
|
|
5456
|
+
}
|
|
5457
|
+
f = message.getName();
|
|
5458
|
+
if (f.length > 0) {
|
|
5459
|
+
writer.writeString(
|
|
5460
|
+
2,
|
|
5461
|
+
f
|
|
5462
|
+
);
|
|
5463
|
+
}
|
|
5464
|
+
f = message.getPrice();
|
|
5465
|
+
if (f.length > 0) {
|
|
5466
|
+
writer.writeString(
|
|
5467
|
+
3,
|
|
5468
|
+
f
|
|
5469
|
+
);
|
|
5470
|
+
}
|
|
5471
|
+
f = message.getTaxable();
|
|
5472
|
+
if (f) {
|
|
5473
|
+
writer.writeBool(
|
|
5474
|
+
4,
|
|
5475
|
+
f
|
|
5476
|
+
);
|
|
5477
|
+
}
|
|
5478
|
+
f = message.getEntree();
|
|
5479
|
+
if (f.length > 0) {
|
|
5480
|
+
writer.writeString(
|
|
5481
|
+
5,
|
|
5482
|
+
f
|
|
5483
|
+
);
|
|
5484
|
+
}
|
|
5485
|
+
f = message.getPpn();
|
|
5486
|
+
if (f.length > 0) {
|
|
5487
|
+
writer.writeString(
|
|
5488
|
+
6,
|
|
5489
|
+
f
|
|
5490
|
+
);
|
|
5491
|
+
}
|
|
5492
|
+
f = message.getPph();
|
|
5493
|
+
if (f.length > 0) {
|
|
5494
|
+
writer.writeString(
|
|
5495
|
+
7,
|
|
5496
|
+
f
|
|
5497
|
+
);
|
|
5498
|
+
}
|
|
5499
|
+
f = message.getReferencesId();
|
|
5500
|
+
if (f.length > 0) {
|
|
5501
|
+
writer.writeString(
|
|
5502
|
+
8,
|
|
5503
|
+
f
|
|
5504
|
+
);
|
|
5505
|
+
}
|
|
5506
|
+
f = message.getInvoiceReferencesId();
|
|
5507
|
+
if (f.length > 0) {
|
|
5508
|
+
writer.writeString(
|
|
5509
|
+
9,
|
|
5510
|
+
f
|
|
5511
|
+
);
|
|
5512
|
+
}
|
|
5513
|
+
f = message.getCreatedAt();
|
|
5514
|
+
if (f.length > 0) {
|
|
5515
|
+
writer.writeString(
|
|
5516
|
+
10,
|
|
5517
|
+
f
|
|
5518
|
+
);
|
|
5519
|
+
}
|
|
5520
|
+
f = message.getUpdatedAt();
|
|
5521
|
+
if (f.length > 0) {
|
|
5522
|
+
writer.writeString(
|
|
5523
|
+
11,
|
|
5524
|
+
f
|
|
5525
|
+
);
|
|
5526
|
+
}
|
|
4170
5527
|
};
|
|
4171
5528
|
|
|
4172
5529
|
|
|
4173
5530
|
/**
|
|
4174
|
-
*
|
|
4175
|
-
* @return {
|
|
5531
|
+
* optional int64 id = 1;
|
|
5532
|
+
* @return {number}
|
|
4176
5533
|
*/
|
|
4177
|
-
proto.
|
|
4178
|
-
return
|
|
5534
|
+
proto.InvoiceCondition.prototype.getId = function() {
|
|
5535
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4179
5536
|
};
|
|
4180
5537
|
|
|
4181
5538
|
|
|
4182
5539
|
/**
|
|
4183
|
-
*
|
|
4184
|
-
* @return {
|
|
5540
|
+
* @param {number} value
|
|
5541
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
4185
5542
|
*/
|
|
4186
|
-
proto.
|
|
4187
|
-
return jspb.Message.
|
|
5543
|
+
proto.InvoiceCondition.prototype.setId = function(value) {
|
|
5544
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4188
5545
|
};
|
|
4189
5546
|
|
|
4190
5547
|
|
|
4191
5548
|
/**
|
|
4192
|
-
* optional string
|
|
5549
|
+
* optional string name = 2;
|
|
4193
5550
|
* @return {string}
|
|
4194
5551
|
*/
|
|
4195
|
-
proto.
|
|
4196
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5552
|
+
proto.InvoiceCondition.prototype.getName = function() {
|
|
5553
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4197
5554
|
};
|
|
4198
5555
|
|
|
4199
5556
|
|
|
4200
5557
|
/**
|
|
4201
5558
|
* @param {string} value
|
|
4202
|
-
* @return {!proto.
|
|
5559
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
4203
5560
|
*/
|
|
4204
|
-
proto.
|
|
4205
|
-
return jspb.Message.setProto3StringField(this,
|
|
5561
|
+
proto.InvoiceCondition.prototype.setName = function(value) {
|
|
5562
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4206
5563
|
};
|
|
4207
5564
|
|
|
4208
5565
|
|
|
4209
5566
|
/**
|
|
4210
|
-
* optional string
|
|
5567
|
+
* optional string price = 3;
|
|
4211
5568
|
* @return {string}
|
|
4212
5569
|
*/
|
|
4213
|
-
proto.
|
|
4214
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5570
|
+
proto.InvoiceCondition.prototype.getPrice = function() {
|
|
5571
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4215
5572
|
};
|
|
4216
5573
|
|
|
4217
5574
|
|
|
4218
5575
|
/**
|
|
4219
5576
|
* @param {string} value
|
|
4220
|
-
* @return {!proto.
|
|
5577
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
4221
5578
|
*/
|
|
4222
|
-
proto.
|
|
4223
|
-
return jspb.Message.setProto3StringField(this,
|
|
5579
|
+
proto.InvoiceCondition.prototype.setPrice = function(value) {
|
|
5580
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4224
5581
|
};
|
|
4225
5582
|
|
|
4226
5583
|
|
|
4227
5584
|
/**
|
|
4228
|
-
*
|
|
4229
|
-
* @return {
|
|
5585
|
+
* optional bool taxable = 4;
|
|
5586
|
+
* @return {boolean}
|
|
4230
5587
|
*/
|
|
4231
|
-
proto.
|
|
4232
|
-
return /** @type{
|
|
4233
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 36));
|
|
5588
|
+
proto.InvoiceCondition.prototype.getTaxable = function() {
|
|
5589
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
4234
5590
|
};
|
|
4235
5591
|
|
|
4236
5592
|
|
|
4237
5593
|
/**
|
|
4238
|
-
* @param {
|
|
4239
|
-
* @return {!proto.
|
|
4240
|
-
*/
|
|
4241
|
-
proto.
|
|
4242
|
-
return jspb.Message.
|
|
5594
|
+
* @param {boolean} value
|
|
5595
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
5596
|
+
*/
|
|
5597
|
+
proto.InvoiceCondition.prototype.setTaxable = function(value) {
|
|
5598
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
4243
5599
|
};
|
|
4244
5600
|
|
|
4245
5601
|
|
|
4246
5602
|
/**
|
|
4247
|
-
*
|
|
4248
|
-
* @
|
|
4249
|
-
|
|
5603
|
+
* optional string entree = 5;
|
|
5604
|
+
* @return {string}
|
|
5605
|
+
*/
|
|
5606
|
+
proto.InvoiceCondition.prototype.getEntree = function() {
|
|
5607
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5608
|
+
};
|
|
5609
|
+
|
|
5610
|
+
|
|
5611
|
+
/**
|
|
5612
|
+
* @param {string} value
|
|
5613
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
5614
|
+
*/
|
|
5615
|
+
proto.InvoiceCondition.prototype.setEntree = function(value) {
|
|
5616
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
5617
|
+
};
|
|
5618
|
+
|
|
5619
|
+
|
|
5620
|
+
/**
|
|
5621
|
+
* optional string ppn = 6;
|
|
5622
|
+
* @return {string}
|
|
5623
|
+
*/
|
|
5624
|
+
proto.InvoiceCondition.prototype.getPpn = function() {
|
|
5625
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
5626
|
+
};
|
|
5627
|
+
|
|
5628
|
+
|
|
5629
|
+
/**
|
|
5630
|
+
* @param {string} value
|
|
5631
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
5632
|
+
*/
|
|
5633
|
+
proto.InvoiceCondition.prototype.setPpn = function(value) {
|
|
5634
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
5635
|
+
};
|
|
5636
|
+
|
|
5637
|
+
|
|
5638
|
+
/**
|
|
5639
|
+
* optional string pph = 7;
|
|
5640
|
+
* @return {string}
|
|
4250
5641
|
*/
|
|
4251
|
-
proto.
|
|
4252
|
-
return jspb.Message.
|
|
5642
|
+
proto.InvoiceCondition.prototype.getPph = function() {
|
|
5643
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4253
5644
|
};
|
|
4254
5645
|
|
|
4255
5646
|
|
|
4256
5647
|
/**
|
|
4257
|
-
*
|
|
4258
|
-
* @return {!proto.
|
|
5648
|
+
* @param {string} value
|
|
5649
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
4259
5650
|
*/
|
|
4260
|
-
proto.
|
|
4261
|
-
return
|
|
5651
|
+
proto.InvoiceCondition.prototype.setPph = function(value) {
|
|
5652
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4262
5653
|
};
|
|
4263
5654
|
|
|
4264
5655
|
|
|
4265
5656
|
/**
|
|
4266
|
-
* optional
|
|
4267
|
-
* @return {
|
|
5657
|
+
* optional string references_id = 8;
|
|
5658
|
+
* @return {string}
|
|
4268
5659
|
*/
|
|
4269
|
-
proto.
|
|
4270
|
-
return /** @type{
|
|
4271
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_users_users_pb.Users, 37));
|
|
5660
|
+
proto.InvoiceCondition.prototype.getReferencesId = function() {
|
|
5661
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4272
5662
|
};
|
|
4273
5663
|
|
|
4274
5664
|
|
|
4275
5665
|
/**
|
|
4276
|
-
* @param {
|
|
4277
|
-
* @return {!proto.
|
|
4278
|
-
*/
|
|
4279
|
-
proto.
|
|
4280
|
-
return jspb.Message.
|
|
5666
|
+
* @param {string} value
|
|
5667
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
5668
|
+
*/
|
|
5669
|
+
proto.InvoiceCondition.prototype.setReferencesId = function(value) {
|
|
5670
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4281
5671
|
};
|
|
4282
5672
|
|
|
4283
5673
|
|
|
4284
5674
|
/**
|
|
4285
|
-
*
|
|
4286
|
-
* @return {
|
|
5675
|
+
* optional string invoice_references_id = 9;
|
|
5676
|
+
* @return {string}
|
|
4287
5677
|
*/
|
|
4288
|
-
proto.
|
|
4289
|
-
return
|
|
5678
|
+
proto.InvoiceCondition.prototype.getInvoiceReferencesId = function() {
|
|
5679
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4290
5680
|
};
|
|
4291
5681
|
|
|
4292
5682
|
|
|
4293
5683
|
/**
|
|
4294
|
-
*
|
|
4295
|
-
* @return {
|
|
5684
|
+
* @param {string} value
|
|
5685
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
4296
5686
|
*/
|
|
4297
|
-
proto.
|
|
4298
|
-
return jspb.Message.
|
|
5687
|
+
proto.InvoiceCondition.prototype.setInvoiceReferencesId = function(value) {
|
|
5688
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
4299
5689
|
};
|
|
4300
5690
|
|
|
4301
5691
|
|
|
4302
5692
|
/**
|
|
4303
|
-
* optional string
|
|
5693
|
+
* optional string created_at = 10;
|
|
4304
5694
|
* @return {string}
|
|
4305
5695
|
*/
|
|
4306
|
-
proto.
|
|
4307
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5696
|
+
proto.InvoiceCondition.prototype.getCreatedAt = function() {
|
|
5697
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4308
5698
|
};
|
|
4309
5699
|
|
|
4310
5700
|
|
|
4311
5701
|
/**
|
|
4312
5702
|
* @param {string} value
|
|
4313
|
-
* @return {!proto.
|
|
5703
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
4314
5704
|
*/
|
|
4315
|
-
proto.
|
|
4316
|
-
return jspb.Message.setProto3StringField(this,
|
|
5705
|
+
proto.InvoiceCondition.prototype.setCreatedAt = function(value) {
|
|
5706
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
4317
5707
|
};
|
|
4318
5708
|
|
|
4319
5709
|
|
|
4320
5710
|
/**
|
|
4321
|
-
* optional string
|
|
5711
|
+
* optional string updated_at = 11;
|
|
4322
5712
|
* @return {string}
|
|
4323
5713
|
*/
|
|
4324
|
-
proto.
|
|
4325
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5714
|
+
proto.InvoiceCondition.prototype.getUpdatedAt = function() {
|
|
5715
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4326
5716
|
};
|
|
4327
5717
|
|
|
4328
5718
|
|
|
4329
5719
|
/**
|
|
4330
5720
|
* @param {string} value
|
|
4331
|
-
* @return {!proto.
|
|
5721
|
+
* @return {!proto.InvoiceCondition} returns this
|
|
4332
5722
|
*/
|
|
4333
|
-
proto.
|
|
4334
|
-
return jspb.Message.setProto3StringField(this,
|
|
5723
|
+
proto.InvoiceCondition.prototype.setUpdatedAt = function(value) {
|
|
5724
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
4335
5725
|
};
|
|
4336
5726
|
|
|
4337
5727
|
|
|
@@ -4421,7 +5811,8 @@ invoicesList: jspb.Message.toObjectList(msg.getInvoicesList(),
|
|
|
4421
5811
|
goodReceiptsList: jspb.Message.toObjectList(msg.getGoodReceiptsList(),
|
|
4422
5812
|
proto.GoodReceipt.toObject, includeInstance),
|
|
4423
5813
|
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
|
|
4424
|
-
documentTypeReferences: jspb.Message.getFieldWithDefault(msg, 44, "")
|
|
5814
|
+
documentTypeReferences: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
5815
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 45, "")
|
|
4425
5816
|
};
|
|
4426
5817
|
|
|
4427
5818
|
if (includeInstance) {
|
|
@@ -4643,6 +6034,10 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4643
6034
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4644
6035
|
msg.setDocumentTypeReferences(value);
|
|
4645
6036
|
break;
|
|
6037
|
+
case 45:
|
|
6038
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6039
|
+
msg.setCustomTransaction(value);
|
|
6040
|
+
break;
|
|
4646
6041
|
default:
|
|
4647
6042
|
reader.skipField();
|
|
4648
6043
|
break;
|
|
@@ -4989,6 +6384,13 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
|
|
|
4989
6384
|
f
|
|
4990
6385
|
);
|
|
4991
6386
|
}
|
|
6387
|
+
f = message.getCustomTransaction();
|
|
6388
|
+
if (f.length > 0) {
|
|
6389
|
+
writer.writeString(
|
|
6390
|
+
45,
|
|
6391
|
+
f
|
|
6392
|
+
);
|
|
6393
|
+
}
|
|
4992
6394
|
};
|
|
4993
6395
|
|
|
4994
6396
|
|
|
@@ -5959,6 +7361,24 @@ proto.PurchaseOrder.prototype.setDocumentTypeReferences = function(value) {
|
|
|
5959
7361
|
};
|
|
5960
7362
|
|
|
5961
7363
|
|
|
7364
|
+
/**
|
|
7365
|
+
* optional string custom_transaction = 45;
|
|
7366
|
+
* @return {string}
|
|
7367
|
+
*/
|
|
7368
|
+
proto.PurchaseOrder.prototype.getCustomTransaction = function() {
|
|
7369
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 45, ""));
|
|
7370
|
+
};
|
|
7371
|
+
|
|
7372
|
+
|
|
7373
|
+
/**
|
|
7374
|
+
* @param {string} value
|
|
7375
|
+
* @return {!proto.PurchaseOrder} returns this
|
|
7376
|
+
*/
|
|
7377
|
+
proto.PurchaseOrder.prototype.setCustomTransaction = function(value) {
|
|
7378
|
+
return jspb.Message.setProto3StringField(this, 45, value);
|
|
7379
|
+
};
|
|
7380
|
+
|
|
7381
|
+
|
|
5962
7382
|
|
|
5963
7383
|
/**
|
|
5964
7384
|
* List of repeated fields within this message type.
|
|
@@ -6028,7 +7448,8 @@ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
|
6028
7448
|
biddingReferences: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
6029
7449
|
biddingNumber: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
6030
7450
|
purchaseRequisitionReferences: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
6031
|
-
purchaseRequisitionNumber: jspb.Message.getFieldWithDefault(msg, 29, "")
|
|
7451
|
+
purchaseRequisitionNumber: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
7452
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
6032
7453
|
};
|
|
6033
7454
|
|
|
6034
7455
|
if (includeInstance) {
|
|
@@ -6184,6 +7605,10 @@ proto.BasePurchaseOrderRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
6184
7605
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6185
7606
|
msg.setPurchaseRequisitionNumber(value);
|
|
6186
7607
|
break;
|
|
7608
|
+
case 31:
|
|
7609
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7610
|
+
msg.setCustomTransaction(value);
|
|
7611
|
+
break;
|
|
6187
7612
|
default:
|
|
6188
7613
|
reader.skipField();
|
|
6189
7614
|
break;
|
|
@@ -6419,6 +7844,13 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
|
|
|
6419
7844
|
f
|
|
6420
7845
|
);
|
|
6421
7846
|
}
|
|
7847
|
+
f = message.getCustomTransaction();
|
|
7848
|
+
if (f.length > 0) {
|
|
7849
|
+
writer.writeString(
|
|
7850
|
+
31,
|
|
7851
|
+
f
|
|
7852
|
+
);
|
|
7853
|
+
}
|
|
6422
7854
|
};
|
|
6423
7855
|
|
|
6424
7856
|
|
|
@@ -7003,6 +8435,24 @@ proto.BasePurchaseOrderRequest.prototype.setPurchaseRequisitionNumber = function
|
|
|
7003
8435
|
};
|
|
7004
8436
|
|
|
7005
8437
|
|
|
8438
|
+
/**
|
|
8439
|
+
* optional string custom_transaction = 31;
|
|
8440
|
+
* @return {string}
|
|
8441
|
+
*/
|
|
8442
|
+
proto.BasePurchaseOrderRequest.prototype.getCustomTransaction = function() {
|
|
8443
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
|
|
8444
|
+
};
|
|
8445
|
+
|
|
8446
|
+
|
|
8447
|
+
/**
|
|
8448
|
+
* @param {string} value
|
|
8449
|
+
* @return {!proto.BasePurchaseOrderRequest} returns this
|
|
8450
|
+
*/
|
|
8451
|
+
proto.BasePurchaseOrderRequest.prototype.setCustomTransaction = function(value) {
|
|
8452
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
8453
|
+
};
|
|
8454
|
+
|
|
8455
|
+
|
|
7006
8456
|
|
|
7007
8457
|
|
|
7008
8458
|
|
|
@@ -9051,7 +10501,7 @@ proto.GetPurchaseOrderDetailResponse.prototype.clearTransactionBuilderItemsList
|
|
|
9051
10501
|
* @private {!Array<number>}
|
|
9052
10502
|
* @const
|
|
9053
10503
|
*/
|
|
9054
|
-
proto.GetPurchaseOrderItemPreload.repeatedFields_ = [1,2];
|
|
10504
|
+
proto.GetPurchaseOrderItemPreload.repeatedFields_ = [1,2,3];
|
|
9055
10505
|
|
|
9056
10506
|
|
|
9057
10507
|
|
|
@@ -9087,7 +10537,9 @@ proto.GetPurchaseOrderItemPreload.toObject = function(includeInstance, msg) {
|
|
|
9087
10537
|
transactionBuilderItemList: jspb.Message.toObjectList(msg.getTransactionBuilderItemList(),
|
|
9088
10538
|
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
|
|
9089
10539
|
transactionBuilderItemDetailsList: jspb.Message.toObjectList(msg.getTransactionBuilderItemDetailsList(),
|
|
9090
|
-
proto.GetPurchaseOrderItemDetailPreload.toObject, includeInstance)
|
|
10540
|
+
proto.GetPurchaseOrderItemDetailPreload.toObject, includeInstance),
|
|
10541
|
+
transactionBuilderItemServicesList: jspb.Message.toObjectList(msg.getTransactionBuilderItemServicesList(),
|
|
10542
|
+
proto.GetPurchaseOrderItemServicePreload.toObject, includeInstance)
|
|
9091
10543
|
};
|
|
9092
10544
|
|
|
9093
10545
|
if (includeInstance) {
|
|
@@ -9134,6 +10586,11 @@ proto.GetPurchaseOrderItemPreload.deserializeBinaryFromReader = function(msg, re
|
|
|
9134
10586
|
reader.readMessage(value,proto.GetPurchaseOrderItemDetailPreload.deserializeBinaryFromReader);
|
|
9135
10587
|
msg.addTransactionBuilderItemDetails(value);
|
|
9136
10588
|
break;
|
|
10589
|
+
case 3:
|
|
10590
|
+
var value = new proto.GetPurchaseOrderItemServicePreload;
|
|
10591
|
+
reader.readMessage(value,proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader);
|
|
10592
|
+
msg.addTransactionBuilderItemServices(value);
|
|
10593
|
+
break;
|
|
9137
10594
|
default:
|
|
9138
10595
|
reader.skipField();
|
|
9139
10596
|
break;
|
|
@@ -9179,6 +10636,14 @@ proto.GetPurchaseOrderItemPreload.serializeBinaryToWriter = function(message, wr
|
|
|
9179
10636
|
proto.GetPurchaseOrderItemDetailPreload.serializeBinaryToWriter
|
|
9180
10637
|
);
|
|
9181
10638
|
}
|
|
10639
|
+
f = message.getTransactionBuilderItemServicesList();
|
|
10640
|
+
if (f.length > 0) {
|
|
10641
|
+
writer.writeRepeatedMessage(
|
|
10642
|
+
3,
|
|
10643
|
+
f,
|
|
10644
|
+
proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter
|
|
10645
|
+
);
|
|
10646
|
+
}
|
|
9182
10647
|
};
|
|
9183
10648
|
|
|
9184
10649
|
|
|
@@ -9258,6 +10723,44 @@ proto.GetPurchaseOrderItemPreload.prototype.clearTransactionBuilderItemDetailsLi
|
|
|
9258
10723
|
};
|
|
9259
10724
|
|
|
9260
10725
|
|
|
10726
|
+
/**
|
|
10727
|
+
* repeated GetPurchaseOrderItemServicePreload transaction_builder_item_services = 3;
|
|
10728
|
+
* @return {!Array<!proto.GetPurchaseOrderItemServicePreload>}
|
|
10729
|
+
*/
|
|
10730
|
+
proto.GetPurchaseOrderItemPreload.prototype.getTransactionBuilderItemServicesList = function() {
|
|
10731
|
+
return /** @type{!Array<!proto.GetPurchaseOrderItemServicePreload>} */ (
|
|
10732
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GetPurchaseOrderItemServicePreload, 3));
|
|
10733
|
+
};
|
|
10734
|
+
|
|
10735
|
+
|
|
10736
|
+
/**
|
|
10737
|
+
* @param {!Array<!proto.GetPurchaseOrderItemServicePreload>} value
|
|
10738
|
+
* @return {!proto.GetPurchaseOrderItemPreload} returns this
|
|
10739
|
+
*/
|
|
10740
|
+
proto.GetPurchaseOrderItemPreload.prototype.setTransactionBuilderItemServicesList = function(value) {
|
|
10741
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
10742
|
+
};
|
|
10743
|
+
|
|
10744
|
+
|
|
10745
|
+
/**
|
|
10746
|
+
* @param {!proto.GetPurchaseOrderItemServicePreload=} opt_value
|
|
10747
|
+
* @param {number=} opt_index
|
|
10748
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload}
|
|
10749
|
+
*/
|
|
10750
|
+
proto.GetPurchaseOrderItemPreload.prototype.addTransactionBuilderItemServices = function(opt_value, opt_index) {
|
|
10751
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.GetPurchaseOrderItemServicePreload, opt_index);
|
|
10752
|
+
};
|
|
10753
|
+
|
|
10754
|
+
|
|
10755
|
+
/**
|
|
10756
|
+
* Clears the list making it empty but non-null.
|
|
10757
|
+
* @return {!proto.GetPurchaseOrderItemPreload} returns this
|
|
10758
|
+
*/
|
|
10759
|
+
proto.GetPurchaseOrderItemPreload.prototype.clearTransactionBuilderItemServicesList = function() {
|
|
10760
|
+
return this.setTransactionBuilderItemServicesList([]);
|
|
10761
|
+
};
|
|
10762
|
+
|
|
10763
|
+
|
|
9261
10764
|
|
|
9262
10765
|
/**
|
|
9263
10766
|
* List of repeated fields within this message type.
|
|
@@ -9419,6 +10922,166 @@ proto.GetPurchaseOrderItemDetailPreload.prototype.clearTransactionBuilderItemDet
|
|
|
9419
10922
|
|
|
9420
10923
|
|
|
9421
10924
|
|
|
10925
|
+
/**
|
|
10926
|
+
* List of repeated fields within this message type.
|
|
10927
|
+
* @private {!Array<number>}
|
|
10928
|
+
* @const
|
|
10929
|
+
*/
|
|
10930
|
+
proto.GetPurchaseOrderItemServicePreload.repeatedFields_ = [1];
|
|
10931
|
+
|
|
10932
|
+
|
|
10933
|
+
|
|
10934
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10935
|
+
/**
|
|
10936
|
+
* Creates an object representation of this proto.
|
|
10937
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10938
|
+
* Optional fields that are not set will be set to undefined.
|
|
10939
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10940
|
+
* For the list of reserved names please see:
|
|
10941
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10942
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10943
|
+
* JSPB instance for transitional soy proto support:
|
|
10944
|
+
* http://goto/soy-param-migration
|
|
10945
|
+
* @return {!Object}
|
|
10946
|
+
*/
|
|
10947
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.toObject = function(opt_includeInstance) {
|
|
10948
|
+
return proto.GetPurchaseOrderItemServicePreload.toObject(opt_includeInstance, this);
|
|
10949
|
+
};
|
|
10950
|
+
|
|
10951
|
+
|
|
10952
|
+
/**
|
|
10953
|
+
* Static version of the {@see toObject} method.
|
|
10954
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10955
|
+
* the JSPB instance for transitional soy proto support:
|
|
10956
|
+
* http://goto/soy-param-migration
|
|
10957
|
+
* @param {!proto.GetPurchaseOrderItemServicePreload} msg The msg instance to transform.
|
|
10958
|
+
* @return {!Object}
|
|
10959
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10960
|
+
*/
|
|
10961
|
+
proto.GetPurchaseOrderItemServicePreload.toObject = function(includeInstance, msg) {
|
|
10962
|
+
var f, obj = {
|
|
10963
|
+
transactionBuilderItemServiceList: jspb.Message.toObjectList(msg.getTransactionBuilderItemServiceList(),
|
|
10964
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
|
|
10965
|
+
};
|
|
10966
|
+
|
|
10967
|
+
if (includeInstance) {
|
|
10968
|
+
obj.$jspbMessageInstance = msg;
|
|
10969
|
+
}
|
|
10970
|
+
return obj;
|
|
10971
|
+
};
|
|
10972
|
+
}
|
|
10973
|
+
|
|
10974
|
+
|
|
10975
|
+
/**
|
|
10976
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10977
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10978
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload}
|
|
10979
|
+
*/
|
|
10980
|
+
proto.GetPurchaseOrderItemServicePreload.deserializeBinary = function(bytes) {
|
|
10981
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10982
|
+
var msg = new proto.GetPurchaseOrderItemServicePreload;
|
|
10983
|
+
return proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader(msg, reader);
|
|
10984
|
+
};
|
|
10985
|
+
|
|
10986
|
+
|
|
10987
|
+
/**
|
|
10988
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10989
|
+
* given reader into the given message object.
|
|
10990
|
+
* @param {!proto.GetPurchaseOrderItemServicePreload} msg The message object to deserialize into.
|
|
10991
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10992
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload}
|
|
10993
|
+
*/
|
|
10994
|
+
proto.GetPurchaseOrderItemServicePreload.deserializeBinaryFromReader = function(msg, reader) {
|
|
10995
|
+
while (reader.nextField()) {
|
|
10996
|
+
if (reader.isEndGroup()) {
|
|
10997
|
+
break;
|
|
10998
|
+
}
|
|
10999
|
+
var field = reader.getFieldNumber();
|
|
11000
|
+
switch (field) {
|
|
11001
|
+
case 1:
|
|
11002
|
+
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
|
|
11003
|
+
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
|
|
11004
|
+
msg.addTransactionBuilderItemService(value);
|
|
11005
|
+
break;
|
|
11006
|
+
default:
|
|
11007
|
+
reader.skipField();
|
|
11008
|
+
break;
|
|
11009
|
+
}
|
|
11010
|
+
}
|
|
11011
|
+
return msg;
|
|
11012
|
+
};
|
|
11013
|
+
|
|
11014
|
+
|
|
11015
|
+
/**
|
|
11016
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11017
|
+
* @return {!Uint8Array}
|
|
11018
|
+
*/
|
|
11019
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.serializeBinary = function() {
|
|
11020
|
+
var writer = new jspb.BinaryWriter();
|
|
11021
|
+
proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter(this, writer);
|
|
11022
|
+
return writer.getResultBuffer();
|
|
11023
|
+
};
|
|
11024
|
+
|
|
11025
|
+
|
|
11026
|
+
/**
|
|
11027
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11028
|
+
* format), writing to the given BinaryWriter.
|
|
11029
|
+
* @param {!proto.GetPurchaseOrderItemServicePreload} message
|
|
11030
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11031
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11032
|
+
*/
|
|
11033
|
+
proto.GetPurchaseOrderItemServicePreload.serializeBinaryToWriter = function(message, writer) {
|
|
11034
|
+
var f = undefined;
|
|
11035
|
+
f = message.getTransactionBuilderItemServiceList();
|
|
11036
|
+
if (f.length > 0) {
|
|
11037
|
+
writer.writeRepeatedMessage(
|
|
11038
|
+
1,
|
|
11039
|
+
f,
|
|
11040
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
|
|
11041
|
+
);
|
|
11042
|
+
}
|
|
11043
|
+
};
|
|
11044
|
+
|
|
11045
|
+
|
|
11046
|
+
/**
|
|
11047
|
+
* repeated TransactionBuilderFieldsDetail transaction_builder_item_service = 1;
|
|
11048
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
11049
|
+
*/
|
|
11050
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.getTransactionBuilderItemServiceList = function() {
|
|
11051
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
11052
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
11053
|
+
};
|
|
11054
|
+
|
|
11055
|
+
|
|
11056
|
+
/**
|
|
11057
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
11058
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload} returns this
|
|
11059
|
+
*/
|
|
11060
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.setTransactionBuilderItemServiceList = function(value) {
|
|
11061
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
11062
|
+
};
|
|
11063
|
+
|
|
11064
|
+
|
|
11065
|
+
/**
|
|
11066
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
11067
|
+
* @param {number=} opt_index
|
|
11068
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
11069
|
+
*/
|
|
11070
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.addTransactionBuilderItemService = function(opt_value, opt_index) {
|
|
11071
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
11072
|
+
};
|
|
11073
|
+
|
|
11074
|
+
|
|
11075
|
+
/**
|
|
11076
|
+
* Clears the list making it empty but non-null.
|
|
11077
|
+
* @return {!proto.GetPurchaseOrderItemServicePreload} returns this
|
|
11078
|
+
*/
|
|
11079
|
+
proto.GetPurchaseOrderItemServicePreload.prototype.clearTransactionBuilderItemServiceList = function() {
|
|
11080
|
+
return this.setTransactionBuilderItemServiceList([]);
|
|
11081
|
+
};
|
|
11082
|
+
|
|
11083
|
+
|
|
11084
|
+
|
|
9422
11085
|
/**
|
|
9423
11086
|
* List of repeated fields within this message type.
|
|
9424
11087
|
* @private {!Array<number>}
|