@aldiokta/protocgen 1.1.63 → 1.1.64
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/accurate_oauth/accurate_oauth_grpc_pb.js +210 -0
- package/prisca/v1/accurate_oauth/accurate_oauth_pb.js +2330 -0
- package/prisca/v1/bidding/bidding_pb.js +43 -13
- package/prisca/v1/core/messaging/notification_event_grpc_pb.js +211 -0
- package/prisca/v1/core/messaging/notification_event_pb.js +3015 -0
- package/prisca/v1/core/user_device/user_device_grpc_pb.js +144 -0
- package/prisca/v1/core/user_device/user_device_pb.js +2255 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +41 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +991 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +61 -1
- package/prisca/v1/invoice/invoice_pb.js +61 -1
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -1
- package/prisca/v1/purchase_order/purchase_order_pb.js +154 -138
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -1
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +18 -71
- package/prisca/v1/quotation/quotation_grpc_pb.js +33 -0
- package/prisca/v1/quotation/quotation_pb.js +1030 -131
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +603 -4
|
@@ -464,7 +464,9 @@ deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
|
464
464
|
deliveryOrderDate: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
465
465
|
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
466
466
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
467
|
-
requestedBy: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
467
|
+
requestedBy: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
468
|
+
department: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
469
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
468
470
|
};
|
|
469
471
|
|
|
470
472
|
if (includeInstance) {
|
|
@@ -582,6 +584,14 @@ proto.BaseGoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
582
584
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
583
585
|
msg.setRequestedBy(value);
|
|
584
586
|
break;
|
|
587
|
+
case 20:
|
|
588
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
589
|
+
msg.setDepartment(value);
|
|
590
|
+
break;
|
|
591
|
+
case 21:
|
|
592
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
593
|
+
msg.setDocumentType(value);
|
|
594
|
+
break;
|
|
585
595
|
default:
|
|
586
596
|
reader.skipField();
|
|
587
597
|
break;
|
|
@@ -749,6 +759,20 @@ proto.BaseGoodReceipt.serializeBinaryToWriter = function(message, writer) {
|
|
|
749
759
|
f
|
|
750
760
|
);
|
|
751
761
|
}
|
|
762
|
+
f = message.getDepartment();
|
|
763
|
+
if (f.length > 0) {
|
|
764
|
+
writer.writeString(
|
|
765
|
+
20,
|
|
766
|
+
f
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
f = message.getDocumentType();
|
|
770
|
+
if (f.length > 0) {
|
|
771
|
+
writer.writeString(
|
|
772
|
+
21,
|
|
773
|
+
f
|
|
774
|
+
);
|
|
775
|
+
}
|
|
752
776
|
};
|
|
753
777
|
|
|
754
778
|
|
|
@@ -1191,6 +1215,42 @@ proto.BaseGoodReceipt.prototype.setRequestedBy = function(value) {
|
|
|
1191
1215
|
};
|
|
1192
1216
|
|
|
1193
1217
|
|
|
1218
|
+
/**
|
|
1219
|
+
* optional string department = 20;
|
|
1220
|
+
* @return {string}
|
|
1221
|
+
*/
|
|
1222
|
+
proto.BaseGoodReceipt.prototype.getDepartment = function() {
|
|
1223
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
1224
|
+
};
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* @param {string} value
|
|
1229
|
+
* @return {!proto.BaseGoodReceipt} returns this
|
|
1230
|
+
*/
|
|
1231
|
+
proto.BaseGoodReceipt.prototype.setDepartment = function(value) {
|
|
1232
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* optional string document_type = 21;
|
|
1238
|
+
* @return {string}
|
|
1239
|
+
*/
|
|
1240
|
+
proto.BaseGoodReceipt.prototype.getDocumentType = function() {
|
|
1241
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* @param {string} value
|
|
1247
|
+
* @return {!proto.BaseGoodReceipt} returns this
|
|
1248
|
+
*/
|
|
1249
|
+
proto.BaseGoodReceipt.prototype.setDocumentType = function(value) {
|
|
1250
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
|
|
1194
1254
|
|
|
1195
1255
|
|
|
1196
1256
|
|
|
@@ -1342,7 +1342,9 @@ shippingFilesList: jspb.Message.toObjectList(msg.getShippingFilesList(),
|
|
|
1342
1342
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
1343
1343
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1344
1344
|
invoiceConditionsList: jspb.Message.toObjectList(msg.getInvoiceConditionsList(),
|
|
1345
|
-
prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.toObject, includeInstance)
|
|
1345
|
+
prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.toObject, includeInstance),
|
|
1346
|
+
department: jspb.Message.getFieldWithDefault(msg, 40, ""),
|
|
1347
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 41, "")
|
|
1346
1348
|
};
|
|
1347
1349
|
|
|
1348
1350
|
if (includeInstance) {
|
|
@@ -1447,6 +1449,14 @@ proto.BaseInvoice.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1447
1449
|
reader.readMessage(value,prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.deserializeBinaryFromReader);
|
|
1448
1450
|
msg.addInvoiceConditions(value);
|
|
1449
1451
|
break;
|
|
1452
|
+
case 40:
|
|
1453
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1454
|
+
msg.setDepartment(value);
|
|
1455
|
+
break;
|
|
1456
|
+
case 41:
|
|
1457
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1458
|
+
msg.setDocumentType(value);
|
|
1459
|
+
break;
|
|
1450
1460
|
default:
|
|
1451
1461
|
reader.skipField();
|
|
1452
1462
|
break;
|
|
@@ -1592,6 +1602,20 @@ proto.BaseInvoice.serializeBinaryToWriter = function(message, writer) {
|
|
|
1592
1602
|
prisca_v1_purchase_order_purchase_order_pb.InvoiceCondition.serializeBinaryToWriter
|
|
1593
1603
|
);
|
|
1594
1604
|
}
|
|
1605
|
+
f = message.getDepartment();
|
|
1606
|
+
if (f.length > 0) {
|
|
1607
|
+
writer.writeString(
|
|
1608
|
+
40,
|
|
1609
|
+
f
|
|
1610
|
+
);
|
|
1611
|
+
}
|
|
1612
|
+
f = message.getDocumentType();
|
|
1613
|
+
if (f.length > 0) {
|
|
1614
|
+
writer.writeString(
|
|
1615
|
+
41,
|
|
1616
|
+
f
|
|
1617
|
+
);
|
|
1618
|
+
}
|
|
1595
1619
|
};
|
|
1596
1620
|
|
|
1597
1621
|
|
|
@@ -1963,6 +1987,42 @@ proto.BaseInvoice.prototype.clearInvoiceConditionsList = function() {
|
|
|
1963
1987
|
};
|
|
1964
1988
|
|
|
1965
1989
|
|
|
1990
|
+
/**
|
|
1991
|
+
* optional string department = 40;
|
|
1992
|
+
* @return {string}
|
|
1993
|
+
*/
|
|
1994
|
+
proto.BaseInvoice.prototype.getDepartment = function() {
|
|
1995
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 40, ""));
|
|
1996
|
+
};
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
/**
|
|
2000
|
+
* @param {string} value
|
|
2001
|
+
* @return {!proto.BaseInvoice} returns this
|
|
2002
|
+
*/
|
|
2003
|
+
proto.BaseInvoice.prototype.setDepartment = function(value) {
|
|
2004
|
+
return jspb.Message.setProto3StringField(this, 40, value);
|
|
2005
|
+
};
|
|
2006
|
+
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* optional string document_type = 41;
|
|
2010
|
+
* @return {string}
|
|
2011
|
+
*/
|
|
2012
|
+
proto.BaseInvoice.prototype.getDocumentType = function() {
|
|
2013
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 41, ""));
|
|
2014
|
+
};
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* @param {string} value
|
|
2019
|
+
* @return {!proto.BaseInvoice} returns this
|
|
2020
|
+
*/
|
|
2021
|
+
proto.BaseInvoice.prototype.setDocumentType = function(value) {
|
|
2022
|
+
return jspb.Message.setProto3StringField(this, 41, value);
|
|
2023
|
+
};
|
|
2024
|
+
|
|
2025
|
+
|
|
1966
2026
|
|
|
1967
2027
|
/**
|
|
1968
2028
|
* List of repeated fields within this message type.
|
|
@@ -11,7 +11,6 @@ var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendo
|
|
|
11
11
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
12
12
|
var prisca_v1_core_users_users_pb = require('../../../prisca/v1/core/users/users_pb.js');
|
|
13
13
|
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
14
|
-
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
15
14
|
|
|
16
15
|
function serialize_CheckAvailableReq(arg) {
|
|
17
16
|
if (!(arg instanceof prisca_v1_purchase_order_purchase_order_pb.CheckAvailableReq)) {
|
|
@@ -31,8 +31,6 @@ var prisca_v1_core_users_users_pb = require('../../../prisca/v1/core/users/users
|
|
|
31
31
|
goog.object.extend(proto, prisca_v1_core_users_users_pb);
|
|
32
32
|
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
33
33
|
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
34
|
-
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
35
|
-
goog.object.extend(proto, prisca_v1_document_type_document_type_pb);
|
|
36
34
|
goog.exportSymbol('proto.BasePurchaseOrderRequest', null, global);
|
|
37
35
|
goog.exportSymbol('proto.CheckAvailableReq', null, global);
|
|
38
36
|
goog.exportSymbol('proto.CheckAvailableRes', null, global);
|
|
@@ -1789,10 +1787,10 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
|
1789
1787
|
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
1790
1788
|
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
1791
1789
|
documentReferences: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
1792
|
-
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
|
|
1793
1790
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
1794
1791
|
requestedBy: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
1795
|
-
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
|
|
1792
|
+
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
|
|
1793
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 34, "")
|
|
1796
1794
|
};
|
|
1797
1795
|
|
|
1798
1796
|
if (includeInstance) {
|
|
@@ -1952,11 +1950,6 @@ proto.DeliveryOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1952
1950
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1953
1951
|
msg.setDocumentReferences(value);
|
|
1954
1952
|
break;
|
|
1955
|
-
case 30:
|
|
1956
|
-
var value = new prisca_v1_document_type_document_type_pb.DocumentType;
|
|
1957
|
-
reader.readMessage(value,prisca_v1_document_type_document_type_pb.DocumentType.deserializeBinaryFromReader);
|
|
1958
|
-
msg.setDocumentType(value);
|
|
1959
|
-
break;
|
|
1960
1953
|
case 31:
|
|
1961
1954
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1962
1955
|
msg.setCustomTransaction(value);
|
|
@@ -1970,6 +1963,10 @@ proto.DeliveryOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1970
1963
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
1971
1964
|
msg.setRequestor(value);
|
|
1972
1965
|
break;
|
|
1966
|
+
case 34:
|
|
1967
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1968
|
+
msg.setDocumentType(value);
|
|
1969
|
+
break;
|
|
1973
1970
|
default:
|
|
1974
1971
|
reader.skipField();
|
|
1975
1972
|
break;
|
|
@@ -2209,14 +2206,6 @@ proto.DeliveryOrder.serializeBinaryToWriter = function(message, writer) {
|
|
|
2209
2206
|
f
|
|
2210
2207
|
);
|
|
2211
2208
|
}
|
|
2212
|
-
f = message.getDocumentType();
|
|
2213
|
-
if (f != null) {
|
|
2214
|
-
writer.writeMessage(
|
|
2215
|
-
30,
|
|
2216
|
-
f,
|
|
2217
|
-
prisca_v1_document_type_document_type_pb.DocumentType.serializeBinaryToWriter
|
|
2218
|
-
);
|
|
2219
|
-
}
|
|
2220
2209
|
f = message.getCustomTransaction();
|
|
2221
2210
|
if (f.length > 0) {
|
|
2222
2211
|
writer.writeString(
|
|
@@ -2239,6 +2228,13 @@ proto.DeliveryOrder.serializeBinaryToWriter = function(message, writer) {
|
|
|
2239
2228
|
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
2240
2229
|
);
|
|
2241
2230
|
}
|
|
2231
|
+
f = message.getDocumentType();
|
|
2232
|
+
if (f.length > 0) {
|
|
2233
|
+
writer.writeString(
|
|
2234
|
+
34,
|
|
2235
|
+
f
|
|
2236
|
+
);
|
|
2237
|
+
}
|
|
2242
2238
|
};
|
|
2243
2239
|
|
|
2244
2240
|
|
|
@@ -2899,43 +2895,6 @@ proto.DeliveryOrder.prototype.setDocumentReferences = function(value) {
|
|
|
2899
2895
|
};
|
|
2900
2896
|
|
|
2901
2897
|
|
|
2902
|
-
/**
|
|
2903
|
-
* optional DocumentType document_type = 30;
|
|
2904
|
-
* @return {?proto.DocumentType}
|
|
2905
|
-
*/
|
|
2906
|
-
proto.DeliveryOrder.prototype.getDocumentType = function() {
|
|
2907
|
-
return /** @type{?proto.DocumentType} */ (
|
|
2908
|
-
jspb.Message.getWrapperField(this, prisca_v1_document_type_document_type_pb.DocumentType, 30));
|
|
2909
|
-
};
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
/**
|
|
2913
|
-
* @param {?proto.DocumentType|undefined} value
|
|
2914
|
-
* @return {!proto.DeliveryOrder} returns this
|
|
2915
|
-
*/
|
|
2916
|
-
proto.DeliveryOrder.prototype.setDocumentType = function(value) {
|
|
2917
|
-
return jspb.Message.setWrapperField(this, 30, value);
|
|
2918
|
-
};
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
/**
|
|
2922
|
-
* Clears the message field making it undefined.
|
|
2923
|
-
* @return {!proto.DeliveryOrder} returns this
|
|
2924
|
-
*/
|
|
2925
|
-
proto.DeliveryOrder.prototype.clearDocumentType = function() {
|
|
2926
|
-
return this.setDocumentType(undefined);
|
|
2927
|
-
};
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
/**
|
|
2931
|
-
* Returns whether this field is set.
|
|
2932
|
-
* @return {boolean}
|
|
2933
|
-
*/
|
|
2934
|
-
proto.DeliveryOrder.prototype.hasDocumentType = function() {
|
|
2935
|
-
return jspb.Message.getField(this, 30) != null;
|
|
2936
|
-
};
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
2898
|
/**
|
|
2940
2899
|
* optional string custom_transaction = 31;
|
|
2941
2900
|
* @return {string}
|
|
@@ -3009,6 +2968,24 @@ proto.DeliveryOrder.prototype.hasRequestor = function() {
|
|
|
3009
2968
|
};
|
|
3010
2969
|
|
|
3011
2970
|
|
|
2971
|
+
/**
|
|
2972
|
+
* optional string document_type = 34;
|
|
2973
|
+
* @return {string}
|
|
2974
|
+
*/
|
|
2975
|
+
proto.DeliveryOrder.prototype.getDocumentType = function() {
|
|
2976
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
|
|
2977
|
+
};
|
|
2978
|
+
|
|
2979
|
+
|
|
2980
|
+
/**
|
|
2981
|
+
* @param {string} value
|
|
2982
|
+
* @return {!proto.DeliveryOrder} returns this
|
|
2983
|
+
*/
|
|
2984
|
+
proto.DeliveryOrder.prototype.setDocumentType = function(value) {
|
|
2985
|
+
return jspb.Message.setProto3StringField(this, 34, value);
|
|
2986
|
+
};
|
|
2987
|
+
|
|
2988
|
+
|
|
3012
2989
|
|
|
3013
2990
|
/**
|
|
3014
2991
|
* List of repeated fields within this message type.
|
|
@@ -3083,7 +3060,9 @@ deliveryOrderDate: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
|
3083
3060
|
deliveryOrder: (f = msg.getDeliveryOrder()) && proto.DeliveryOrder.toObject(includeInstance, f),
|
|
3084
3061
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
3085
3062
|
requestedBy: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
3086
|
-
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
|
|
3063
|
+
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
|
|
3064
|
+
department: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
3065
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
3087
3066
|
};
|
|
3088
3067
|
|
|
3089
3068
|
if (includeInstance) {
|
|
@@ -3264,6 +3243,14 @@ proto.GoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3264
3243
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
3265
3244
|
msg.setRequestor(value);
|
|
3266
3245
|
break;
|
|
3246
|
+
case 35:
|
|
3247
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3248
|
+
msg.setDepartment(value);
|
|
3249
|
+
break;
|
|
3250
|
+
case 36:
|
|
3251
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3252
|
+
msg.setDocumentType(value);
|
|
3253
|
+
break;
|
|
3267
3254
|
default:
|
|
3268
3255
|
reader.skipField();
|
|
3269
3256
|
break;
|
|
@@ -3539,6 +3526,20 @@ proto.GoodReceipt.serializeBinaryToWriter = function(message, writer) {
|
|
|
3539
3526
|
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
3540
3527
|
);
|
|
3541
3528
|
}
|
|
3529
|
+
f = message.getDepartment();
|
|
3530
|
+
if (f.length > 0) {
|
|
3531
|
+
writer.writeString(
|
|
3532
|
+
35,
|
|
3533
|
+
f
|
|
3534
|
+
);
|
|
3535
|
+
}
|
|
3536
|
+
f = message.getDocumentType();
|
|
3537
|
+
if (f.length > 0) {
|
|
3538
|
+
writer.writeString(
|
|
3539
|
+
36,
|
|
3540
|
+
f
|
|
3541
|
+
);
|
|
3542
|
+
}
|
|
3542
3543
|
};
|
|
3543
3544
|
|
|
3544
3545
|
|
|
@@ -4308,6 +4309,42 @@ proto.GoodReceipt.prototype.hasRequestor = function() {
|
|
|
4308
4309
|
};
|
|
4309
4310
|
|
|
4310
4311
|
|
|
4312
|
+
/**
|
|
4313
|
+
* optional string department = 35;
|
|
4314
|
+
* @return {string}
|
|
4315
|
+
*/
|
|
4316
|
+
proto.GoodReceipt.prototype.getDepartment = function() {
|
|
4317
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
|
|
4318
|
+
};
|
|
4319
|
+
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* @param {string} value
|
|
4323
|
+
* @return {!proto.GoodReceipt} returns this
|
|
4324
|
+
*/
|
|
4325
|
+
proto.GoodReceipt.prototype.setDepartment = function(value) {
|
|
4326
|
+
return jspb.Message.setProto3StringField(this, 35, value);
|
|
4327
|
+
};
|
|
4328
|
+
|
|
4329
|
+
|
|
4330
|
+
/**
|
|
4331
|
+
* optional string document_type = 36;
|
|
4332
|
+
* @return {string}
|
|
4333
|
+
*/
|
|
4334
|
+
proto.GoodReceipt.prototype.getDocumentType = function() {
|
|
4335
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
|
|
4336
|
+
};
|
|
4337
|
+
|
|
4338
|
+
|
|
4339
|
+
/**
|
|
4340
|
+
* @param {string} value
|
|
4341
|
+
* @return {!proto.GoodReceipt} returns this
|
|
4342
|
+
*/
|
|
4343
|
+
proto.GoodReceipt.prototype.setDocumentType = function(value) {
|
|
4344
|
+
return jspb.Message.setProto3StringField(this, 36, value);
|
|
4345
|
+
};
|
|
4346
|
+
|
|
4347
|
+
|
|
4311
4348
|
|
|
4312
4349
|
/**
|
|
4313
4350
|
* List of repeated fields within this message type.
|
|
@@ -4400,7 +4437,8 @@ dpPercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 45, 0.0),
|
|
|
4400
4437
|
dpAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 46, 0.0),
|
|
4401
4438
|
dpInvoiceRef: jspb.Message.getFieldWithDefault(msg, 47, ""),
|
|
4402
4439
|
isDownPayment: jspb.Message.getBooleanFieldWithDefault(msg, 48, false),
|
|
4403
|
-
department: jspb.Message.getFieldWithDefault(msg, 49, "")
|
|
4440
|
+
department: jspb.Message.getFieldWithDefault(msg, 49, ""),
|
|
4441
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 50, "")
|
|
4404
4442
|
};
|
|
4405
4443
|
|
|
4406
4444
|
if (includeInstance) {
|
|
@@ -4644,6 +4682,10 @@ proto.Invoice.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4644
4682
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4645
4683
|
msg.setDepartment(value);
|
|
4646
4684
|
break;
|
|
4685
|
+
case 50:
|
|
4686
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4687
|
+
msg.setDocumentType(value);
|
|
4688
|
+
break;
|
|
4647
4689
|
default:
|
|
4648
4690
|
reader.skipField();
|
|
4649
4691
|
break;
|
|
@@ -5027,6 +5069,13 @@ proto.Invoice.serializeBinaryToWriter = function(message, writer) {
|
|
|
5027
5069
|
f
|
|
5028
5070
|
);
|
|
5029
5071
|
}
|
|
5072
|
+
f = message.getDocumentType();
|
|
5073
|
+
if (f.length > 0) {
|
|
5074
|
+
writer.writeString(
|
|
5075
|
+
50,
|
|
5076
|
+
f
|
|
5077
|
+
);
|
|
5078
|
+
}
|
|
5030
5079
|
};
|
|
5031
5080
|
|
|
5032
5081
|
|
|
@@ -6126,6 +6175,24 @@ proto.Invoice.prototype.setDepartment = function(value) {
|
|
|
6126
6175
|
};
|
|
6127
6176
|
|
|
6128
6177
|
|
|
6178
|
+
/**
|
|
6179
|
+
* optional string document_type = 50;
|
|
6180
|
+
* @return {string}
|
|
6181
|
+
*/
|
|
6182
|
+
proto.Invoice.prototype.getDocumentType = function() {
|
|
6183
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 50, ""));
|
|
6184
|
+
};
|
|
6185
|
+
|
|
6186
|
+
|
|
6187
|
+
/**
|
|
6188
|
+
* @param {string} value
|
|
6189
|
+
* @return {!proto.Invoice} returns this
|
|
6190
|
+
*/
|
|
6191
|
+
proto.Invoice.prototype.setDocumentType = function(value) {
|
|
6192
|
+
return jspb.Message.setProto3StringField(this, 50, value);
|
|
6193
|
+
};
|
|
6194
|
+
|
|
6195
|
+
|
|
6129
6196
|
|
|
6130
6197
|
|
|
6131
6198
|
|
|
@@ -6641,8 +6708,6 @@ invoicesList: jspb.Message.toObjectList(msg.getInvoicesList(),
|
|
|
6641
6708
|
proto.Invoice.toObject, includeInstance),
|
|
6642
6709
|
goodReceiptsList: jspb.Message.toObjectList(msg.getGoodReceiptsList(),
|
|
6643
6710
|
proto.GoodReceipt.toObject, includeInstance),
|
|
6644
|
-
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
|
|
6645
|
-
documentTypeReferences: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
6646
6711
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 45, ""),
|
|
6647
6712
|
requestedBy: jspb.Message.getFieldWithDefault(msg, 46, ""),
|
|
6648
6713
|
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
|
|
@@ -6651,7 +6716,8 @@ retentionPercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 49, 0.0)
|
|
|
6651
6716
|
retentionAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 50, 0.0),
|
|
6652
6717
|
dpInvoiceApproved: jspb.Message.getBooleanFieldWithDefault(msg, 51, false),
|
|
6653
6718
|
dpInvoiceRef: jspb.Message.getFieldWithDefault(msg, 52, ""),
|
|
6654
|
-
dpAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 53, 0.0)
|
|
6719
|
+
dpAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 53, 0.0),
|
|
6720
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 54, "")
|
|
6655
6721
|
};
|
|
6656
6722
|
|
|
6657
6723
|
if (includeInstance) {
|
|
@@ -6864,15 +6930,6 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6864
6930
|
reader.readMessage(value,proto.GoodReceipt.deserializeBinaryFromReader);
|
|
6865
6931
|
msg.addGoodReceipts(value);
|
|
6866
6932
|
break;
|
|
6867
|
-
case 43:
|
|
6868
|
-
var value = new prisca_v1_document_type_document_type_pb.DocumentType;
|
|
6869
|
-
reader.readMessage(value,prisca_v1_document_type_document_type_pb.DocumentType.deserializeBinaryFromReader);
|
|
6870
|
-
msg.setDocumentType(value);
|
|
6871
|
-
break;
|
|
6872
|
-
case 44:
|
|
6873
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6874
|
-
msg.setDocumentTypeReferences(value);
|
|
6875
|
-
break;
|
|
6876
6933
|
case 45:
|
|
6877
6934
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6878
6935
|
msg.setCustomTransaction(value);
|
|
@@ -6910,6 +6967,10 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6910
6967
|
var value = /** @type {number} */ (reader.readDouble());
|
|
6911
6968
|
msg.setDpAmount(value);
|
|
6912
6969
|
break;
|
|
6970
|
+
case 54:
|
|
6971
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6972
|
+
msg.setDocumentType(value);
|
|
6973
|
+
break;
|
|
6913
6974
|
default:
|
|
6914
6975
|
reader.skipField();
|
|
6915
6976
|
break;
|
|
@@ -7241,21 +7302,6 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
|
|
|
7241
7302
|
proto.GoodReceipt.serializeBinaryToWriter
|
|
7242
7303
|
);
|
|
7243
7304
|
}
|
|
7244
|
-
f = message.getDocumentType();
|
|
7245
|
-
if (f != null) {
|
|
7246
|
-
writer.writeMessage(
|
|
7247
|
-
43,
|
|
7248
|
-
f,
|
|
7249
|
-
prisca_v1_document_type_document_type_pb.DocumentType.serializeBinaryToWriter
|
|
7250
|
-
);
|
|
7251
|
-
}
|
|
7252
|
-
f = message.getDocumentTypeReferences();
|
|
7253
|
-
if (f.length > 0) {
|
|
7254
|
-
writer.writeString(
|
|
7255
|
-
44,
|
|
7256
|
-
f
|
|
7257
|
-
);
|
|
7258
|
-
}
|
|
7259
7305
|
f = message.getCustomTransaction();
|
|
7260
7306
|
if (f.length > 0) {
|
|
7261
7307
|
writer.writeString(
|
|
@@ -7320,6 +7366,13 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
|
|
|
7320
7366
|
f
|
|
7321
7367
|
);
|
|
7322
7368
|
}
|
|
7369
|
+
f = message.getDocumentType();
|
|
7370
|
+
if (f.length > 0) {
|
|
7371
|
+
writer.writeString(
|
|
7372
|
+
54,
|
|
7373
|
+
f
|
|
7374
|
+
);
|
|
7375
|
+
}
|
|
7323
7376
|
};
|
|
7324
7377
|
|
|
7325
7378
|
|
|
@@ -8235,61 +8288,6 @@ proto.PurchaseOrder.prototype.clearGoodReceiptsList = function() {
|
|
|
8235
8288
|
};
|
|
8236
8289
|
|
|
8237
8290
|
|
|
8238
|
-
/**
|
|
8239
|
-
* optional DocumentType document_type = 43;
|
|
8240
|
-
* @return {?proto.DocumentType}
|
|
8241
|
-
*/
|
|
8242
|
-
proto.PurchaseOrder.prototype.getDocumentType = function() {
|
|
8243
|
-
return /** @type{?proto.DocumentType} */ (
|
|
8244
|
-
jspb.Message.getWrapperField(this, prisca_v1_document_type_document_type_pb.DocumentType, 43));
|
|
8245
|
-
};
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
/**
|
|
8249
|
-
* @param {?proto.DocumentType|undefined} value
|
|
8250
|
-
* @return {!proto.PurchaseOrder} returns this
|
|
8251
|
-
*/
|
|
8252
|
-
proto.PurchaseOrder.prototype.setDocumentType = function(value) {
|
|
8253
|
-
return jspb.Message.setWrapperField(this, 43, value);
|
|
8254
|
-
};
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
/**
|
|
8258
|
-
* Clears the message field making it undefined.
|
|
8259
|
-
* @return {!proto.PurchaseOrder} returns this
|
|
8260
|
-
*/
|
|
8261
|
-
proto.PurchaseOrder.prototype.clearDocumentType = function() {
|
|
8262
|
-
return this.setDocumentType(undefined);
|
|
8263
|
-
};
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
/**
|
|
8267
|
-
* Returns whether this field is set.
|
|
8268
|
-
* @return {boolean}
|
|
8269
|
-
*/
|
|
8270
|
-
proto.PurchaseOrder.prototype.hasDocumentType = function() {
|
|
8271
|
-
return jspb.Message.getField(this, 43) != null;
|
|
8272
|
-
};
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
/**
|
|
8276
|
-
* optional string document_type_references = 44;
|
|
8277
|
-
* @return {string}
|
|
8278
|
-
*/
|
|
8279
|
-
proto.PurchaseOrder.prototype.getDocumentTypeReferences = function() {
|
|
8280
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 44, ""));
|
|
8281
|
-
};
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
/**
|
|
8285
|
-
* @param {string} value
|
|
8286
|
-
* @return {!proto.PurchaseOrder} returns this
|
|
8287
|
-
*/
|
|
8288
|
-
proto.PurchaseOrder.prototype.setDocumentTypeReferences = function(value) {
|
|
8289
|
-
return jspb.Message.setProto3StringField(this, 44, value);
|
|
8290
|
-
};
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
8291
|
/**
|
|
8294
8292
|
* optional string custom_transaction = 45;
|
|
8295
8293
|
* @return {string}
|
|
@@ -8471,6 +8469,24 @@ proto.PurchaseOrder.prototype.setDpAmount = function(value) {
|
|
|
8471
8469
|
};
|
|
8472
8470
|
|
|
8473
8471
|
|
|
8472
|
+
/**
|
|
8473
|
+
* optional string document_type = 54;
|
|
8474
|
+
* @return {string}
|
|
8475
|
+
*/
|
|
8476
|
+
proto.PurchaseOrder.prototype.getDocumentType = function() {
|
|
8477
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 54, ""));
|
|
8478
|
+
};
|
|
8479
|
+
|
|
8480
|
+
|
|
8481
|
+
/**
|
|
8482
|
+
* @param {string} value
|
|
8483
|
+
* @return {!proto.PurchaseOrder} returns this
|
|
8484
|
+
*/
|
|
8485
|
+
proto.PurchaseOrder.prototype.setDocumentType = function(value) {
|
|
8486
|
+
return jspb.Message.setProto3StringField(this, 54, value);
|
|
8487
|
+
};
|
|
8488
|
+
|
|
8489
|
+
|
|
8474
8490
|
|
|
8475
8491
|
/**
|
|
8476
8492
|
* List of repeated fields within this message type.
|
|
@@ -5,7 +5,6 @@ var grpc = require('@grpc/grpc-js');
|
|
|
5
5
|
var prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb = require('../../../prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
7
|
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
8
|
-
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
9
8
|
var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
|
|
10
9
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
11
10
|
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|