@aldiokta/protocgen 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/bidding/bidding_grpc_pb.js +55 -0
- package/prisca/v1/bidding/bidding_pb.js +1042 -63
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +33 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +385 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +103 -3
- package/prisca/v1/core/auth/auth_pb.js +2519 -1181
- package/prisca/v1/core/file_upload/file_upload_pb.js +93 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +183 -33
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +438 -46
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +31 -1
- package/prisca/v1/core/location/location_pb.js +446 -57
- package/prisca/v1/core/messaging/notification_grpc_pb.js +188 -0
- package/prisca/v1/core/messaging/notification_pb.js +2780 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +122 -2
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +234 -168
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +1987 -1775
- package/prisca/v1/delivery_order/delivery_order_pb.js +130 -70
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +228 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +4779 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +174 -0
- package/prisca/v1/invoice/invoice_pb.js +4398 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +11 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +142 -22
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +105 -75
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +55 -177
- package/prisca/v1/quotation/quotation_pb.js +236 -26
- 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 +413 -28
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +55 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +1076 -317
|
@@ -190,6 +190,17 @@ var PurchaseOrderServiceService = exports.PurchaseOrderServiceService = {
|
|
|
190
190
|
responseSerialize: serialize_GetListPurchaseOrderResponse,
|
|
191
191
|
responseDeserialize: deserialize_GetListPurchaseOrderResponse,
|
|
192
192
|
},
|
|
193
|
+
getListPurchaseOrdersToInvoice: {
|
|
194
|
+
path: '/PurchaseOrderService/GetListPurchaseOrdersToInvoice',
|
|
195
|
+
requestStream: false,
|
|
196
|
+
responseStream: false,
|
|
197
|
+
requestType: prisca_v1_purchase_order_purchase_order_pb.GetListPurchaseOrderRequest,
|
|
198
|
+
responseType: prisca_v1_purchase_order_purchase_order_pb.GetListPurchaseOrderResponse,
|
|
199
|
+
requestSerialize: serialize_GetListPurchaseOrderRequest,
|
|
200
|
+
requestDeserialize: deserialize_GetListPurchaseOrderRequest,
|
|
201
|
+
responseSerialize: serialize_GetListPurchaseOrderResponse,
|
|
202
|
+
responseDeserialize: deserialize_GetListPurchaseOrderResponse,
|
|
203
|
+
},
|
|
193
204
|
updatePurchaseOrder: {
|
|
194
205
|
path: '/PurchaseOrderService/UpdatePurchaseOrder',
|
|
195
206
|
requestStream: false,
|
|
@@ -1765,7 +1765,11 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
|
1765
1765
|
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
1766
1766
|
prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.toObject, includeInstance),
|
|
1767
1767
|
vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
|
|
1768
|
-
department: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
1768
|
+
department: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
1769
|
+
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
1770
|
+
salesOrderNumber: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
1771
|
+
deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
1772
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 25, "")
|
|
1769
1773
|
};
|
|
1770
1774
|
|
|
1771
1775
|
if (includeInstance) {
|
|
@@ -1889,6 +1893,22 @@ proto.BasePurchaseOrderRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1889
1893
|
var value = /** @type {string} */ (reader.readString());
|
|
1890
1894
|
msg.setDepartment(value);
|
|
1891
1895
|
break;
|
|
1896
|
+
case 22:
|
|
1897
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1898
|
+
msg.setPurchaseOrderNumber(value);
|
|
1899
|
+
break;
|
|
1900
|
+
case 23:
|
|
1901
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1902
|
+
msg.setSalesOrderNumber(value);
|
|
1903
|
+
break;
|
|
1904
|
+
case 24:
|
|
1905
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1906
|
+
msg.setDeliveryOrderNumber(value);
|
|
1907
|
+
break;
|
|
1908
|
+
case 25:
|
|
1909
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1910
|
+
msg.setCompaniesReferencesId(value);
|
|
1911
|
+
break;
|
|
1892
1912
|
default:
|
|
1893
1913
|
reader.skipField();
|
|
1894
1914
|
break;
|
|
@@ -2068,6 +2088,34 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
|
|
|
2068
2088
|
f
|
|
2069
2089
|
);
|
|
2070
2090
|
}
|
|
2091
|
+
f = message.getPurchaseOrderNumber();
|
|
2092
|
+
if (f.length > 0) {
|
|
2093
|
+
writer.writeString(
|
|
2094
|
+
22,
|
|
2095
|
+
f
|
|
2096
|
+
);
|
|
2097
|
+
}
|
|
2098
|
+
f = message.getSalesOrderNumber();
|
|
2099
|
+
if (f.length > 0) {
|
|
2100
|
+
writer.writeString(
|
|
2101
|
+
23,
|
|
2102
|
+
f
|
|
2103
|
+
);
|
|
2104
|
+
}
|
|
2105
|
+
f = message.getDeliveryOrderNumber();
|
|
2106
|
+
if (f.length > 0) {
|
|
2107
|
+
writer.writeString(
|
|
2108
|
+
24,
|
|
2109
|
+
f
|
|
2110
|
+
);
|
|
2111
|
+
}
|
|
2112
|
+
f = message.getCompaniesReferencesId();
|
|
2113
|
+
if (f.length > 0) {
|
|
2114
|
+
writer.writeString(
|
|
2115
|
+
25,
|
|
2116
|
+
f
|
|
2117
|
+
);
|
|
2118
|
+
}
|
|
2071
2119
|
};
|
|
2072
2120
|
|
|
2073
2121
|
|
|
@@ -2508,6 +2556,78 @@ proto.BasePurchaseOrderRequest.prototype.setDepartment = function(value) {
|
|
|
2508
2556
|
};
|
|
2509
2557
|
|
|
2510
2558
|
|
|
2559
|
+
/**
|
|
2560
|
+
* optional string purchase_order_number = 22;
|
|
2561
|
+
* @return {string}
|
|
2562
|
+
*/
|
|
2563
|
+
proto.BasePurchaseOrderRequest.prototype.getPurchaseOrderNumber = function() {
|
|
2564
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
2565
|
+
};
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
/**
|
|
2569
|
+
* @param {string} value
|
|
2570
|
+
* @return {!proto.BasePurchaseOrderRequest} returns this
|
|
2571
|
+
*/
|
|
2572
|
+
proto.BasePurchaseOrderRequest.prototype.setPurchaseOrderNumber = function(value) {
|
|
2573
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
2574
|
+
};
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
/**
|
|
2578
|
+
* optional string sales_order_number = 23;
|
|
2579
|
+
* @return {string}
|
|
2580
|
+
*/
|
|
2581
|
+
proto.BasePurchaseOrderRequest.prototype.getSalesOrderNumber = function() {
|
|
2582
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
2583
|
+
};
|
|
2584
|
+
|
|
2585
|
+
|
|
2586
|
+
/**
|
|
2587
|
+
* @param {string} value
|
|
2588
|
+
* @return {!proto.BasePurchaseOrderRequest} returns this
|
|
2589
|
+
*/
|
|
2590
|
+
proto.BasePurchaseOrderRequest.prototype.setSalesOrderNumber = function(value) {
|
|
2591
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
2592
|
+
};
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
/**
|
|
2596
|
+
* optional string delivery_order_number = 24;
|
|
2597
|
+
* @return {string}
|
|
2598
|
+
*/
|
|
2599
|
+
proto.BasePurchaseOrderRequest.prototype.getDeliveryOrderNumber = function() {
|
|
2600
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
2601
|
+
};
|
|
2602
|
+
|
|
2603
|
+
|
|
2604
|
+
/**
|
|
2605
|
+
* @param {string} value
|
|
2606
|
+
* @return {!proto.BasePurchaseOrderRequest} returns this
|
|
2607
|
+
*/
|
|
2608
|
+
proto.BasePurchaseOrderRequest.prototype.setDeliveryOrderNumber = function(value) {
|
|
2609
|
+
return jspb.Message.setProto3StringField(this, 24, value);
|
|
2610
|
+
};
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
/**
|
|
2614
|
+
* optional string companies_references_id = 25;
|
|
2615
|
+
* @return {string}
|
|
2616
|
+
*/
|
|
2617
|
+
proto.BasePurchaseOrderRequest.prototype.getCompaniesReferencesId = function() {
|
|
2618
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
|
|
2619
|
+
};
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* @param {string} value
|
|
2624
|
+
* @return {!proto.BasePurchaseOrderRequest} returns this
|
|
2625
|
+
*/
|
|
2626
|
+
proto.BasePurchaseOrderRequest.prototype.setCompaniesReferencesId = function(value) {
|
|
2627
|
+
return jspb.Message.setProto3StringField(this, 25, value);
|
|
2628
|
+
};
|
|
2629
|
+
|
|
2630
|
+
|
|
2511
2631
|
|
|
2512
2632
|
|
|
2513
2633
|
|
|
@@ -4206,17 +4326,17 @@ proto.GetPurchaseOrderDetailResponse.serializeBinaryToWriter = function(message,
|
|
|
4206
4326
|
|
|
4207
4327
|
|
|
4208
4328
|
/**
|
|
4209
|
-
* repeated
|
|
4210
|
-
* @return {!Array<!proto.
|
|
4329
|
+
* repeated TransactionBuilderFieldsDetail transaction_builder = 1;
|
|
4330
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
4211
4331
|
*/
|
|
4212
4332
|
proto.GetPurchaseOrderDetailResponse.prototype.getTransactionBuilderList = function() {
|
|
4213
|
-
return /** @type{!Array<!proto.
|
|
4333
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
4214
4334
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
4215
4335
|
};
|
|
4216
4336
|
|
|
4217
4337
|
|
|
4218
4338
|
/**
|
|
4219
|
-
* @param {!Array<!proto.
|
|
4339
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
4220
4340
|
* @return {!proto.GetPurchaseOrderDetailResponse} returns this
|
|
4221
4341
|
*/
|
|
4222
4342
|
proto.GetPurchaseOrderDetailResponse.prototype.setTransactionBuilderList = function(value) {
|
|
@@ -4225,12 +4345,12 @@ proto.GetPurchaseOrderDetailResponse.prototype.setTransactionBuilderList = funct
|
|
|
4225
4345
|
|
|
4226
4346
|
|
|
4227
4347
|
/**
|
|
4228
|
-
* @param {!proto.
|
|
4348
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
4229
4349
|
* @param {number=} opt_index
|
|
4230
|
-
* @return {!proto.
|
|
4350
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
4231
4351
|
*/
|
|
4232
4352
|
proto.GetPurchaseOrderDetailResponse.prototype.addTransactionBuilder = function(opt_value, opt_index) {
|
|
4233
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
4353
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
4234
4354
|
};
|
|
4235
4355
|
|
|
4236
4356
|
|
|
@@ -4419,17 +4539,17 @@ proto.GetPurchaseOrderItemPreload.serializeBinaryToWriter = function(message, wr
|
|
|
4419
4539
|
|
|
4420
4540
|
|
|
4421
4541
|
/**
|
|
4422
|
-
* repeated
|
|
4423
|
-
* @return {!Array<!proto.
|
|
4542
|
+
* repeated TransactionBuilderFieldsDetail transaction_builder_item = 1;
|
|
4543
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
4424
4544
|
*/
|
|
4425
4545
|
proto.GetPurchaseOrderItemPreload.prototype.getTransactionBuilderItemList = function() {
|
|
4426
|
-
return /** @type{!Array<!proto.
|
|
4546
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
4427
4547
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
4428
4548
|
};
|
|
4429
4549
|
|
|
4430
4550
|
|
|
4431
4551
|
/**
|
|
4432
|
-
* @param {!Array<!proto.
|
|
4552
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
4433
4553
|
* @return {!proto.GetPurchaseOrderItemPreload} returns this
|
|
4434
4554
|
*/
|
|
4435
4555
|
proto.GetPurchaseOrderItemPreload.prototype.setTransactionBuilderItemList = function(value) {
|
|
@@ -4438,12 +4558,12 @@ proto.GetPurchaseOrderItemPreload.prototype.setTransactionBuilderItemList = func
|
|
|
4438
4558
|
|
|
4439
4559
|
|
|
4440
4560
|
/**
|
|
4441
|
-
* @param {!proto.
|
|
4561
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
4442
4562
|
* @param {number=} opt_index
|
|
4443
|
-
* @return {!proto.
|
|
4563
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
4444
4564
|
*/
|
|
4445
4565
|
proto.GetPurchaseOrderItemPreload.prototype.addTransactionBuilderItem = function(opt_value, opt_index) {
|
|
4446
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
4566
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
4447
4567
|
};
|
|
4448
4568
|
|
|
4449
4569
|
|
|
@@ -4617,17 +4737,17 @@ proto.GetPurchaseOrderItemDetailPreload.serializeBinaryToWriter = function(messa
|
|
|
4617
4737
|
|
|
4618
4738
|
|
|
4619
4739
|
/**
|
|
4620
|
-
* repeated
|
|
4621
|
-
* @return {!Array<!proto.
|
|
4740
|
+
* repeated TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
|
|
4741
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
4622
4742
|
*/
|
|
4623
4743
|
proto.GetPurchaseOrderItemDetailPreload.prototype.getTransactionBuilderItemDetailList = function() {
|
|
4624
|
-
return /** @type{!Array<!proto.
|
|
4744
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
4625
4745
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
4626
4746
|
};
|
|
4627
4747
|
|
|
4628
4748
|
|
|
4629
4749
|
/**
|
|
4630
|
-
* @param {!Array<!proto.
|
|
4750
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
4631
4751
|
* @return {!proto.GetPurchaseOrderItemDetailPreload} returns this
|
|
4632
4752
|
*/
|
|
4633
4753
|
proto.GetPurchaseOrderItemDetailPreload.prototype.setTransactionBuilderItemDetailList = function(value) {
|
|
@@ -4636,12 +4756,12 @@ proto.GetPurchaseOrderItemDetailPreload.prototype.setTransactionBuilderItemDetai
|
|
|
4636
4756
|
|
|
4637
4757
|
|
|
4638
4758
|
/**
|
|
4639
|
-
* @param {!proto.
|
|
4759
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
4640
4760
|
* @param {number=} opt_index
|
|
4641
|
-
* @return {!proto.
|
|
4761
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
4642
4762
|
*/
|
|
4643
4763
|
proto.GetPurchaseOrderItemDetailPreload.prototype.addTransactionBuilderItemDetail = function(opt_value, opt_index) {
|
|
4644
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
4764
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
4645
4765
|
};
|
|
4646
4766
|
|
|
4647
4767
|
|