@aldiokta/protocgen 1.1.50 → 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/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/item_transaction/item_transaction_pb.js +2303 -1023
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +11 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +237 -2
- package/prisca/v1/invoice/invoice_pb.js +237 -2
- package/prisca/v1/purchase_order/purchase_order_pb.js +237 -2
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +416 -10
|
@@ -48,6 +48,7 @@ goog.exportSymbol('proto.GetPurchaseRequisitionTemplateListResponse', null, glob
|
|
|
48
48
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetail', null, global);
|
|
49
49
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload', null, global);
|
|
50
50
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload', null, global);
|
|
51
|
+
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload', null, global);
|
|
51
52
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailPreloadResponse', null, global);
|
|
52
53
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByGroupRefRequest', null, global);
|
|
53
54
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByIdRequest', null, global);
|
|
@@ -851,6 +852,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
851
852
|
*/
|
|
852
853
|
proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.displayName = 'proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload';
|
|
853
854
|
}
|
|
855
|
+
/**
|
|
856
|
+
* Generated by JsPbCodeGenerator.
|
|
857
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
858
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
859
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
860
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
861
|
+
* valid.
|
|
862
|
+
* @extends {jspb.Message}
|
|
863
|
+
* @constructor
|
|
864
|
+
*/
|
|
865
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload = function(opt_data) {
|
|
866
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.repeatedFields_, null);
|
|
867
|
+
};
|
|
868
|
+
goog.inherits(proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload, jspb.Message);
|
|
869
|
+
if (goog.DEBUG && !COMPILED) {
|
|
870
|
+
/**
|
|
871
|
+
* @public
|
|
872
|
+
* @override
|
|
873
|
+
*/
|
|
874
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.displayName = 'proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload';
|
|
875
|
+
}
|
|
854
876
|
/**
|
|
855
877
|
* Generated by JsPbCodeGenerator.
|
|
856
878
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1128,7 +1150,9 @@ createdBy: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
|
1128
1150
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
1129
1151
|
justification: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
1130
1152
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1131
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
1153
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
1154
|
+
requestedBy: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
1155
|
+
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
|
|
1132
1156
|
};
|
|
1133
1157
|
|
|
1134
1158
|
if (includeInstance) {
|
|
@@ -1276,6 +1300,15 @@ proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1276
1300
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
1277
1301
|
msg.addFiles(value);
|
|
1278
1302
|
break;
|
|
1303
|
+
case 28:
|
|
1304
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1305
|
+
msg.setRequestedBy(value);
|
|
1306
|
+
break;
|
|
1307
|
+
case 29:
|
|
1308
|
+
var value = new prisca_v1_global_meta_meta_pb.Creator;
|
|
1309
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
1310
|
+
msg.setRequestor(value);
|
|
1311
|
+
break;
|
|
1279
1312
|
default:
|
|
1280
1313
|
reader.skipField();
|
|
1281
1314
|
break;
|
|
@@ -1497,6 +1530,21 @@ proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer)
|
|
|
1497
1530
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
1498
1531
|
);
|
|
1499
1532
|
}
|
|
1533
|
+
f = message.getRequestedBy();
|
|
1534
|
+
if (f.length > 0) {
|
|
1535
|
+
writer.writeString(
|
|
1536
|
+
28,
|
|
1537
|
+
f
|
|
1538
|
+
);
|
|
1539
|
+
}
|
|
1540
|
+
f = message.getRequestor();
|
|
1541
|
+
if (f != null) {
|
|
1542
|
+
writer.writeMessage(
|
|
1543
|
+
29,
|
|
1544
|
+
f,
|
|
1545
|
+
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
1546
|
+
);
|
|
1547
|
+
}
|
|
1500
1548
|
};
|
|
1501
1549
|
|
|
1502
1550
|
|
|
@@ -2045,6 +2093,61 @@ proto.PurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
|
2045
2093
|
};
|
|
2046
2094
|
|
|
2047
2095
|
|
|
2096
|
+
/**
|
|
2097
|
+
* optional string requested_by = 28;
|
|
2098
|
+
* @return {string}
|
|
2099
|
+
*/
|
|
2100
|
+
proto.PurchaseRequisitionTrx.prototype.getRequestedBy = function() {
|
|
2101
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
2102
|
+
};
|
|
2103
|
+
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* @param {string} value
|
|
2107
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2108
|
+
*/
|
|
2109
|
+
proto.PurchaseRequisitionTrx.prototype.setRequestedBy = function(value) {
|
|
2110
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
2111
|
+
};
|
|
2112
|
+
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* optional prisca.v1.global.meta.Creator requestor = 29;
|
|
2116
|
+
* @return {?proto.prisca.v1.global.meta.Creator}
|
|
2117
|
+
*/
|
|
2118
|
+
proto.PurchaseRequisitionTrx.prototype.getRequestor = function() {
|
|
2119
|
+
return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
|
|
2120
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 29));
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* @param {?proto.prisca.v1.global.meta.Creator|undefined} value
|
|
2126
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2127
|
+
*/
|
|
2128
|
+
proto.PurchaseRequisitionTrx.prototype.setRequestor = function(value) {
|
|
2129
|
+
return jspb.Message.setWrapperField(this, 29, value);
|
|
2130
|
+
};
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
/**
|
|
2134
|
+
* Clears the message field making it undefined.
|
|
2135
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2136
|
+
*/
|
|
2137
|
+
proto.PurchaseRequisitionTrx.prototype.clearRequestor = function() {
|
|
2138
|
+
return this.setRequestor(undefined);
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* Returns whether this field is set.
|
|
2144
|
+
* @return {boolean}
|
|
2145
|
+
*/
|
|
2146
|
+
proto.PurchaseRequisitionTrx.prototype.hasRequestor = function() {
|
|
2147
|
+
return jspb.Message.getField(this, 29) != null;
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
|
|
2048
2151
|
|
|
2049
2152
|
/**
|
|
2050
2153
|
* List of repeated fields within this message type.
|
|
@@ -2103,7 +2206,8 @@ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
|
2103
2206
|
status: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2104
2207
|
justification: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
2105
2208
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2106
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2209
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2210
|
+
requestedBy: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
2107
2211
|
};
|
|
2108
2212
|
|
|
2109
2213
|
if (includeInstance) {
|
|
@@ -2214,6 +2318,10 @@ proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, rea
|
|
|
2214
2318
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2215
2319
|
msg.addFiles(value);
|
|
2216
2320
|
break;
|
|
2321
|
+
case 19:
|
|
2322
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2323
|
+
msg.setRequestedBy(value);
|
|
2324
|
+
break;
|
|
2217
2325
|
default:
|
|
2218
2326
|
reader.skipField();
|
|
2219
2327
|
break;
|
|
@@ -2371,6 +2479,13 @@ proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, wri
|
|
|
2371
2479
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
2372
2480
|
);
|
|
2373
2481
|
}
|
|
2482
|
+
f = message.getRequestedBy();
|
|
2483
|
+
if (f.length > 0) {
|
|
2484
|
+
writer.writeString(
|
|
2485
|
+
19,
|
|
2486
|
+
f
|
|
2487
|
+
);
|
|
2488
|
+
}
|
|
2374
2489
|
};
|
|
2375
2490
|
|
|
2376
2491
|
|
|
@@ -2738,6 +2853,24 @@ proto.BasePurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
|
2738
2853
|
};
|
|
2739
2854
|
|
|
2740
2855
|
|
|
2856
|
+
/**
|
|
2857
|
+
* optional string requested_by = 19;
|
|
2858
|
+
* @return {string}
|
|
2859
|
+
*/
|
|
2860
|
+
proto.BasePurchaseRequisitionTrx.prototype.getRequestedBy = function() {
|
|
2861
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
2862
|
+
};
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* @param {string} value
|
|
2867
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
2868
|
+
*/
|
|
2869
|
+
proto.BasePurchaseRequisitionTrx.prototype.setRequestedBy = function(value) {
|
|
2870
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
2871
|
+
};
|
|
2872
|
+
|
|
2873
|
+
|
|
2741
2874
|
|
|
2742
2875
|
/**
|
|
2743
2876
|
* List of repeated fields within this message type.
|
|
@@ -2798,7 +2931,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
|
2798
2931
|
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2799
2932
|
justification: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
2800
2933
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2801
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2934
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2935
|
+
requestedBy: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
2802
2936
|
};
|
|
2803
2937
|
|
|
2804
2938
|
if (includeInstance) {
|
|
@@ -2917,6 +3051,10 @@ proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader = function(ms
|
|
|
2917
3051
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2918
3052
|
msg.addFiles(value);
|
|
2919
3053
|
break;
|
|
3054
|
+
case 21:
|
|
3055
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3056
|
+
msg.setRequestedBy(value);
|
|
3057
|
+
break;
|
|
2920
3058
|
default:
|
|
2921
3059
|
reader.skipField();
|
|
2922
3060
|
break;
|
|
@@ -3088,6 +3226,13 @@ proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter = function(messag
|
|
|
3088
3226
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
3089
3227
|
);
|
|
3090
3228
|
}
|
|
3229
|
+
f = message.getRequestedBy();
|
|
3230
|
+
if (f.length > 0) {
|
|
3231
|
+
writer.writeString(
|
|
3232
|
+
21,
|
|
3233
|
+
f
|
|
3234
|
+
);
|
|
3235
|
+
}
|
|
3091
3236
|
};
|
|
3092
3237
|
|
|
3093
3238
|
|
|
@@ -3491,6 +3636,24 @@ proto.BaseUpdatePurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
|
3491
3636
|
};
|
|
3492
3637
|
|
|
3493
3638
|
|
|
3639
|
+
/**
|
|
3640
|
+
* optional string requested_by = 21;
|
|
3641
|
+
* @return {string}
|
|
3642
|
+
*/
|
|
3643
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getRequestedBy = function() {
|
|
3644
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
3645
|
+
};
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
/**
|
|
3649
|
+
* @param {string} value
|
|
3650
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
3651
|
+
*/
|
|
3652
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setRequestedBy = function(value) {
|
|
3653
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
3654
|
+
};
|
|
3655
|
+
|
|
3656
|
+
|
|
3494
3657
|
|
|
3495
3658
|
|
|
3496
3659
|
|
|
@@ -9308,7 +9471,7 @@ proto.GetPurchaseRequisitionTransactionTrxDetailPreloadResponse.prototype.clearP
|
|
|
9308
9471
|
* @private {!Array<number>}
|
|
9309
9472
|
* @const
|
|
9310
9473
|
*/
|
|
9311
|
-
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.repeatedFields_ = [1,2];
|
|
9474
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.repeatedFields_ = [1,2,3];
|
|
9312
9475
|
|
|
9313
9476
|
|
|
9314
9477
|
|
|
@@ -9344,7 +9507,9 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.toObject = function(
|
|
|
9344
9507
|
prTransactionBuilderItemList: jspb.Message.toObjectList(msg.getPrTransactionBuilderItemList(),
|
|
9345
9508
|
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
|
|
9346
9509
|
prTransactionBuilderItemDetailsList: jspb.Message.toObjectList(msg.getPrTransactionBuilderItemDetailsList(),
|
|
9347
|
-
proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.toObject, includeInstance)
|
|
9510
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.toObject, includeInstance),
|
|
9511
|
+
prTransactionBuilderItemServicesList: jspb.Message.toObjectList(msg.getPrTransactionBuilderItemServicesList(),
|
|
9512
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.toObject, includeInstance)
|
|
9348
9513
|
};
|
|
9349
9514
|
|
|
9350
9515
|
if (includeInstance) {
|
|
@@ -9391,6 +9556,11 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.deserializeBinaryFro
|
|
|
9391
9556
|
reader.readMessage(value,proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.deserializeBinaryFromReader);
|
|
9392
9557
|
msg.addPrTransactionBuilderItemDetails(value);
|
|
9393
9558
|
break;
|
|
9559
|
+
case 3:
|
|
9560
|
+
var value = new proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload;
|
|
9561
|
+
reader.readMessage(value,proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.deserializeBinaryFromReader);
|
|
9562
|
+
msg.addPrTransactionBuilderItemServices(value);
|
|
9563
|
+
break;
|
|
9394
9564
|
default:
|
|
9395
9565
|
reader.skipField();
|
|
9396
9566
|
break;
|
|
@@ -9436,6 +9606,14 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.serializeBinaryToWri
|
|
|
9436
9606
|
proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.serializeBinaryToWriter
|
|
9437
9607
|
);
|
|
9438
9608
|
}
|
|
9609
|
+
f = message.getPrTransactionBuilderItemServicesList();
|
|
9610
|
+
if (f.length > 0) {
|
|
9611
|
+
writer.writeRepeatedMessage(
|
|
9612
|
+
3,
|
|
9613
|
+
f,
|
|
9614
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.serializeBinaryToWriter
|
|
9615
|
+
);
|
|
9616
|
+
}
|
|
9439
9617
|
};
|
|
9440
9618
|
|
|
9441
9619
|
|
|
@@ -9515,6 +9693,44 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.clearPrTra
|
|
|
9515
9693
|
};
|
|
9516
9694
|
|
|
9517
9695
|
|
|
9696
|
+
/**
|
|
9697
|
+
* repeated GetPurchaseRequisitionTransactionTrxDetailItemServicePreload pr_transaction_builder_item_services = 3;
|
|
9698
|
+
* @return {!Array<!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload>}
|
|
9699
|
+
*/
|
|
9700
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.getPrTransactionBuilderItemServicesList = function() {
|
|
9701
|
+
return /** @type{!Array<!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload>} */ (
|
|
9702
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload, 3));
|
|
9703
|
+
};
|
|
9704
|
+
|
|
9705
|
+
|
|
9706
|
+
/**
|
|
9707
|
+
* @param {!Array<!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload>} value
|
|
9708
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload} returns this
|
|
9709
|
+
*/
|
|
9710
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.setPrTransactionBuilderItemServicesList = function(value) {
|
|
9711
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
9712
|
+
};
|
|
9713
|
+
|
|
9714
|
+
|
|
9715
|
+
/**
|
|
9716
|
+
* @param {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload=} opt_value
|
|
9717
|
+
* @param {number=} opt_index
|
|
9718
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload}
|
|
9719
|
+
*/
|
|
9720
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.addPrTransactionBuilderItemServices = function(opt_value, opt_index) {
|
|
9721
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload, opt_index);
|
|
9722
|
+
};
|
|
9723
|
+
|
|
9724
|
+
|
|
9725
|
+
/**
|
|
9726
|
+
* Clears the list making it empty but non-null.
|
|
9727
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload} returns this
|
|
9728
|
+
*/
|
|
9729
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.clearPrTransactionBuilderItemServicesList = function() {
|
|
9730
|
+
return this.setPrTransactionBuilderItemServicesList([]);
|
|
9731
|
+
};
|
|
9732
|
+
|
|
9733
|
+
|
|
9518
9734
|
|
|
9519
9735
|
/**
|
|
9520
9736
|
* List of repeated fields within this message type.
|
|
@@ -9676,6 +9892,166 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.prototype.clea
|
|
|
9676
9892
|
|
|
9677
9893
|
|
|
9678
9894
|
|
|
9895
|
+
/**
|
|
9896
|
+
* List of repeated fields within this message type.
|
|
9897
|
+
* @private {!Array<number>}
|
|
9898
|
+
* @const
|
|
9899
|
+
*/
|
|
9900
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.repeatedFields_ = [1];
|
|
9901
|
+
|
|
9902
|
+
|
|
9903
|
+
|
|
9904
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9905
|
+
/**
|
|
9906
|
+
* Creates an object representation of this proto.
|
|
9907
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9908
|
+
* Optional fields that are not set will be set to undefined.
|
|
9909
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9910
|
+
* For the list of reserved names please see:
|
|
9911
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9912
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9913
|
+
* JSPB instance for transitional soy proto support:
|
|
9914
|
+
* http://goto/soy-param-migration
|
|
9915
|
+
* @return {!Object}
|
|
9916
|
+
*/
|
|
9917
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.toObject = function(opt_includeInstance) {
|
|
9918
|
+
return proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.toObject(opt_includeInstance, this);
|
|
9919
|
+
};
|
|
9920
|
+
|
|
9921
|
+
|
|
9922
|
+
/**
|
|
9923
|
+
* Static version of the {@see toObject} method.
|
|
9924
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9925
|
+
* the JSPB instance for transitional soy proto support:
|
|
9926
|
+
* http://goto/soy-param-migration
|
|
9927
|
+
* @param {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} msg The msg instance to transform.
|
|
9928
|
+
* @return {!Object}
|
|
9929
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9930
|
+
*/
|
|
9931
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.toObject = function(includeInstance, msg) {
|
|
9932
|
+
var f, obj = {
|
|
9933
|
+
prTransactionBuilderItemServiceList: jspb.Message.toObjectList(msg.getPrTransactionBuilderItemServiceList(),
|
|
9934
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
|
|
9935
|
+
};
|
|
9936
|
+
|
|
9937
|
+
if (includeInstance) {
|
|
9938
|
+
obj.$jspbMessageInstance = msg;
|
|
9939
|
+
}
|
|
9940
|
+
return obj;
|
|
9941
|
+
};
|
|
9942
|
+
}
|
|
9943
|
+
|
|
9944
|
+
|
|
9945
|
+
/**
|
|
9946
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9947
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9948
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload}
|
|
9949
|
+
*/
|
|
9950
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.deserializeBinary = function(bytes) {
|
|
9951
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9952
|
+
var msg = new proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload;
|
|
9953
|
+
return proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.deserializeBinaryFromReader(msg, reader);
|
|
9954
|
+
};
|
|
9955
|
+
|
|
9956
|
+
|
|
9957
|
+
/**
|
|
9958
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9959
|
+
* given reader into the given message object.
|
|
9960
|
+
* @param {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} msg The message object to deserialize into.
|
|
9961
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9962
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload}
|
|
9963
|
+
*/
|
|
9964
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.deserializeBinaryFromReader = function(msg, reader) {
|
|
9965
|
+
while (reader.nextField()) {
|
|
9966
|
+
if (reader.isEndGroup()) {
|
|
9967
|
+
break;
|
|
9968
|
+
}
|
|
9969
|
+
var field = reader.getFieldNumber();
|
|
9970
|
+
switch (field) {
|
|
9971
|
+
case 1:
|
|
9972
|
+
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
|
|
9973
|
+
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
|
|
9974
|
+
msg.addPrTransactionBuilderItemService(value);
|
|
9975
|
+
break;
|
|
9976
|
+
default:
|
|
9977
|
+
reader.skipField();
|
|
9978
|
+
break;
|
|
9979
|
+
}
|
|
9980
|
+
}
|
|
9981
|
+
return msg;
|
|
9982
|
+
};
|
|
9983
|
+
|
|
9984
|
+
|
|
9985
|
+
/**
|
|
9986
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9987
|
+
* @return {!Uint8Array}
|
|
9988
|
+
*/
|
|
9989
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.serializeBinary = function() {
|
|
9990
|
+
var writer = new jspb.BinaryWriter();
|
|
9991
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.serializeBinaryToWriter(this, writer);
|
|
9992
|
+
return writer.getResultBuffer();
|
|
9993
|
+
};
|
|
9994
|
+
|
|
9995
|
+
|
|
9996
|
+
/**
|
|
9997
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9998
|
+
* format), writing to the given BinaryWriter.
|
|
9999
|
+
* @param {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} message
|
|
10000
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10001
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10002
|
+
*/
|
|
10003
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.serializeBinaryToWriter = function(message, writer) {
|
|
10004
|
+
var f = undefined;
|
|
10005
|
+
f = message.getPrTransactionBuilderItemServiceList();
|
|
10006
|
+
if (f.length > 0) {
|
|
10007
|
+
writer.writeRepeatedMessage(
|
|
10008
|
+
1,
|
|
10009
|
+
f,
|
|
10010
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
|
|
10011
|
+
);
|
|
10012
|
+
}
|
|
10013
|
+
};
|
|
10014
|
+
|
|
10015
|
+
|
|
10016
|
+
/**
|
|
10017
|
+
* repeated TransactionBuilderFieldsDetail pr_transaction_builder_item_service = 1;
|
|
10018
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
10019
|
+
*/
|
|
10020
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.getPrTransactionBuilderItemServiceList = function() {
|
|
10021
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
10022
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
10023
|
+
};
|
|
10024
|
+
|
|
10025
|
+
|
|
10026
|
+
/**
|
|
10027
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
10028
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} returns this
|
|
10029
|
+
*/
|
|
10030
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.setPrTransactionBuilderItemServiceList = function(value) {
|
|
10031
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
10032
|
+
};
|
|
10033
|
+
|
|
10034
|
+
|
|
10035
|
+
/**
|
|
10036
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
10037
|
+
* @param {number=} opt_index
|
|
10038
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
10039
|
+
*/
|
|
10040
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.addPrTransactionBuilderItemService = function(opt_value, opt_index) {
|
|
10041
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
10042
|
+
};
|
|
10043
|
+
|
|
10044
|
+
|
|
10045
|
+
/**
|
|
10046
|
+
* Clears the list making it empty but non-null.
|
|
10047
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} returns this
|
|
10048
|
+
*/
|
|
10049
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.clearPrTransactionBuilderItemServiceList = function() {
|
|
10050
|
+
return this.setPrTransactionBuilderItemServiceList([]);
|
|
10051
|
+
};
|
|
10052
|
+
|
|
10053
|
+
|
|
10054
|
+
|
|
9679
10055
|
|
|
9680
10056
|
|
|
9681
10057
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -10932,6 +11308,7 @@ purchaseOrderCreatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
|
10932
11308
|
goodsReceiptNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
10933
11309
|
goodsReceiptQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
|
|
10934
11310
|
goodsReceiptCreatedAt: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
11311
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
10935
11312
|
createdByUser: (f = msg.getCreatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
|
|
10936
11313
|
};
|
|
10937
11314
|
|
|
@@ -11050,6 +11427,10 @@ proto.PurchaseRequisitionItemTrack.deserializeBinaryFromReader = function(msg, r
|
|
|
11050
11427
|
msg.setGoodsReceiptCreatedAt(value);
|
|
11051
11428
|
break;
|
|
11052
11429
|
case 21:
|
|
11430
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11431
|
+
msg.setUnitOfMeasure(value);
|
|
11432
|
+
break;
|
|
11433
|
+
case 22:
|
|
11053
11434
|
var value = new prisca_v1_global_meta_meta_pb.Creator;
|
|
11054
11435
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
11055
11436
|
msg.setCreatedByUser(value);
|
|
@@ -11223,10 +11604,17 @@ proto.PurchaseRequisitionItemTrack.serializeBinaryToWriter = function(message, w
|
|
|
11223
11604
|
f
|
|
11224
11605
|
);
|
|
11225
11606
|
}
|
|
11607
|
+
f = message.getUnitOfMeasure();
|
|
11608
|
+
if (f.length > 0) {
|
|
11609
|
+
writer.writeString(
|
|
11610
|
+
21,
|
|
11611
|
+
f
|
|
11612
|
+
);
|
|
11613
|
+
}
|
|
11226
11614
|
f = message.getCreatedByUser();
|
|
11227
11615
|
if (f != null) {
|
|
11228
11616
|
writer.writeMessage(
|
|
11229
|
-
|
|
11617
|
+
22,
|
|
11230
11618
|
f,
|
|
11231
11619
|
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
11232
11620
|
);
|
|
@@ -11595,12 +11983,30 @@ proto.PurchaseRequisitionItemTrack.prototype.setGoodsReceiptCreatedAt = function
|
|
|
11595
11983
|
|
|
11596
11984
|
|
|
11597
11985
|
/**
|
|
11598
|
-
* optional
|
|
11986
|
+
* optional string unit_of_measure = 21;
|
|
11987
|
+
* @return {string}
|
|
11988
|
+
*/
|
|
11989
|
+
proto.PurchaseRequisitionItemTrack.prototype.getUnitOfMeasure = function() {
|
|
11990
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
11991
|
+
};
|
|
11992
|
+
|
|
11993
|
+
|
|
11994
|
+
/**
|
|
11995
|
+
* @param {string} value
|
|
11996
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11997
|
+
*/
|
|
11998
|
+
proto.PurchaseRequisitionItemTrack.prototype.setUnitOfMeasure = function(value) {
|
|
11999
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
12000
|
+
};
|
|
12001
|
+
|
|
12002
|
+
|
|
12003
|
+
/**
|
|
12004
|
+
* optional prisca.v1.global.meta.Creator created_by_user = 22;
|
|
11599
12005
|
* @return {?proto.prisca.v1.global.meta.Creator}
|
|
11600
12006
|
*/
|
|
11601
12007
|
proto.PurchaseRequisitionItemTrack.prototype.getCreatedByUser = function() {
|
|
11602
12008
|
return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
|
|
11603
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator,
|
|
12009
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 22));
|
|
11604
12010
|
};
|
|
11605
12011
|
|
|
11606
12012
|
|
|
@@ -11609,7 +12015,7 @@ proto.PurchaseRequisitionItemTrack.prototype.getCreatedByUser = function() {
|
|
|
11609
12015
|
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11610
12016
|
*/
|
|
11611
12017
|
proto.PurchaseRequisitionItemTrack.prototype.setCreatedByUser = function(value) {
|
|
11612
|
-
return jspb.Message.setWrapperField(this,
|
|
12018
|
+
return jspb.Message.setWrapperField(this, 22, value);
|
|
11613
12019
|
};
|
|
11614
12020
|
|
|
11615
12021
|
|
|
@@ -11627,7 +12033,7 @@ proto.PurchaseRequisitionItemTrack.prototype.clearCreatedByUser = function() {
|
|
|
11627
12033
|
* @return {boolean}
|
|
11628
12034
|
*/
|
|
11629
12035
|
proto.PurchaseRequisitionItemTrack.prototype.hasCreatedByUser = function() {
|
|
11630
|
-
return jspb.Message.getField(this,
|
|
12036
|
+
return jspb.Message.getField(this, 22) != null;
|
|
11631
12037
|
};
|
|
11632
12038
|
|
|
11633
12039
|
|