@aldiokta/protocgen 1.1.39 → 1.1.41
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 +31 -1
- package/prisca/v1/core/access_manager/access_manager_pb.js +221 -142
- package/prisca/v1/core/auth/auth_pb.js +18 -14
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +231 -7
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +407 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +22 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +370 -23
- package/prisca/v1/invoice/invoice_grpc_pb.js +55 -0
- package/prisca/v1/invoice/invoice_pb.js +778 -16
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +22 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +370 -23
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +55 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +673 -1
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +55 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +674 -2
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +9911 -2373
|
@@ -3455,7 +3455,8 @@ token: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
|
3455
3455
|
referencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3456
3456
|
usersRoleList: jspb.Message.toObjectList(msg.getUsersRoleList(),
|
|
3457
3457
|
prisca_v1_core_access_manager_access_manager_pb.UsersRole.toObject, includeInstance),
|
|
3458
|
-
actionsList:
|
|
3458
|
+
actionsList: jspb.Message.toObjectList(msg.getActionsList(),
|
|
3459
|
+
prisca_v1_core_access_manager_access_manager_pb.Action.toObject, includeInstance)
|
|
3459
3460
|
};
|
|
3460
3461
|
|
|
3461
3462
|
if (includeInstance) {
|
|
@@ -3518,7 +3519,8 @@ proto.UserResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3518
3519
|
msg.addUsersRole(value);
|
|
3519
3520
|
break;
|
|
3520
3521
|
case 7:
|
|
3521
|
-
var value =
|
|
3522
|
+
var value = new prisca_v1_core_access_manager_access_manager_pb.Action;
|
|
3523
|
+
reader.readMessage(value,prisca_v1_core_access_manager_access_manager_pb.Action.deserializeBinaryFromReader);
|
|
3522
3524
|
msg.addActions(value);
|
|
3523
3525
|
break;
|
|
3524
3526
|
default:
|
|
@@ -3595,9 +3597,10 @@ proto.UserResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
3595
3597
|
}
|
|
3596
3598
|
f = message.getActionsList();
|
|
3597
3599
|
if (f.length > 0) {
|
|
3598
|
-
writer.
|
|
3600
|
+
writer.writeRepeatedMessage(
|
|
3599
3601
|
7,
|
|
3600
|
-
f
|
|
3602
|
+
f,
|
|
3603
|
+
prisca_v1_core_access_manager_access_manager_pb.Action.serializeBinaryToWriter
|
|
3601
3604
|
);
|
|
3602
3605
|
}
|
|
3603
3606
|
};
|
|
@@ -3732,30 +3735,31 @@ proto.UserResponse.prototype.clearUsersRoleList = function() {
|
|
|
3732
3735
|
|
|
3733
3736
|
|
|
3734
3737
|
/**
|
|
3735
|
-
* repeated
|
|
3736
|
-
* @return {!Array
|
|
3738
|
+
* repeated Action actions = 7;
|
|
3739
|
+
* @return {!Array<!proto.Action>}
|
|
3737
3740
|
*/
|
|
3738
3741
|
proto.UserResponse.prototype.getActionsList = function() {
|
|
3739
|
-
return /** @type
|
|
3742
|
+
return /** @type{!Array<!proto.Action>} */ (
|
|
3743
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_access_manager_access_manager_pb.Action, 7));
|
|
3740
3744
|
};
|
|
3741
3745
|
|
|
3742
3746
|
|
|
3743
3747
|
/**
|
|
3744
|
-
* @param {!Array
|
|
3748
|
+
* @param {!Array<!proto.Action>} value
|
|
3745
3749
|
* @return {!proto.UserResponse} returns this
|
|
3746
|
-
|
|
3750
|
+
*/
|
|
3747
3751
|
proto.UserResponse.prototype.setActionsList = function(value) {
|
|
3748
|
-
return jspb.Message.
|
|
3752
|
+
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
3749
3753
|
};
|
|
3750
3754
|
|
|
3751
3755
|
|
|
3752
3756
|
/**
|
|
3753
|
-
* @param {
|
|
3757
|
+
* @param {!proto.Action=} opt_value
|
|
3754
3758
|
* @param {number=} opt_index
|
|
3755
|
-
* @return {!proto.
|
|
3759
|
+
* @return {!proto.Action}
|
|
3756
3760
|
*/
|
|
3757
|
-
proto.UserResponse.prototype.addActions = function(
|
|
3758
|
-
return jspb.Message.
|
|
3761
|
+
proto.UserResponse.prototype.addActions = function(opt_value, opt_index) {
|
|
3762
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.Action, opt_index);
|
|
3759
3763
|
};
|
|
3760
3764
|
|
|
3761
3765
|
|
|
@@ -17,6 +17,8 @@ var global = globalThis;
|
|
|
17
17
|
|
|
18
18
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
19
19
|
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
20
|
+
var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
|
|
21
|
+
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
20
22
|
goog.exportSymbol('proto.BaseItemTransaction', null, global);
|
|
21
23
|
goog.exportSymbol('proto.BaseItemTransactionDetail', null, global);
|
|
22
24
|
goog.exportSymbol('proto.BaseItemTransactionPriceCondition', null, global);
|
|
@@ -267,12 +269,18 @@ replacement: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
|
267
269
|
itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
|
|
268
270
|
proto.ItemTransactionService.toObject, includeInstance),
|
|
269
271
|
deliveryOrderQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 32, 0.0),
|
|
270
|
-
|
|
272
|
+
goodsReceiptQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 33, 0.0),
|
|
271
273
|
purchaseOrderQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 34, 0.0),
|
|
272
274
|
invoiceQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0),
|
|
273
275
|
includeVat: jspb.Message.getBooleanFieldWithDefault(msg, 36, false),
|
|
274
276
|
incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 37, 0.0),
|
|
275
|
-
priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 38, "")
|
|
277
|
+
priceBeforeTax: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
278
|
+
requestForQuotationQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 39, 0.0),
|
|
279
|
+
quotationQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 40, 0.0),
|
|
280
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 41, ""),
|
|
281
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 42, ""),
|
|
282
|
+
createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
|
|
283
|
+
updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f)
|
|
276
284
|
};
|
|
277
285
|
|
|
278
286
|
if (includeInstance) {
|
|
@@ -439,7 +447,7 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
439
447
|
break;
|
|
440
448
|
case 33:
|
|
441
449
|
var value = /** @type {number} */ (reader.readDouble());
|
|
442
|
-
msg.
|
|
450
|
+
msg.setGoodsReceiptQuantity(value);
|
|
443
451
|
break;
|
|
444
452
|
case 34:
|
|
445
453
|
var value = /** @type {number} */ (reader.readDouble());
|
|
@@ -461,6 +469,32 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
461
469
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
462
470
|
msg.setPriceBeforeTax(value);
|
|
463
471
|
break;
|
|
472
|
+
case 39:
|
|
473
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
474
|
+
msg.setRequestForQuotationQuantity(value);
|
|
475
|
+
break;
|
|
476
|
+
case 40:
|
|
477
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
478
|
+
msg.setQuotationQuantity(value);
|
|
479
|
+
break;
|
|
480
|
+
case 41:
|
|
481
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
482
|
+
msg.setCreatedBy(value);
|
|
483
|
+
break;
|
|
484
|
+
case 42:
|
|
485
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
486
|
+
msg.setUpdatedBy(value);
|
|
487
|
+
break;
|
|
488
|
+
case 43:
|
|
489
|
+
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
490
|
+
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
491
|
+
msg.setCreatedByEmployee(value);
|
|
492
|
+
break;
|
|
493
|
+
case 44:
|
|
494
|
+
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
495
|
+
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
496
|
+
msg.setUpdatedByEmployee(value);
|
|
497
|
+
break;
|
|
464
498
|
default:
|
|
465
499
|
reader.skipField();
|
|
466
500
|
break;
|
|
@@ -711,7 +745,7 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
711
745
|
f
|
|
712
746
|
);
|
|
713
747
|
}
|
|
714
|
-
f = message.
|
|
748
|
+
f = message.getGoodsReceiptQuantity();
|
|
715
749
|
if (f !== 0.0) {
|
|
716
750
|
writer.writeDouble(
|
|
717
751
|
33,
|
|
@@ -753,6 +787,50 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
753
787
|
f
|
|
754
788
|
);
|
|
755
789
|
}
|
|
790
|
+
f = message.getRequestForQuotationQuantity();
|
|
791
|
+
if (f !== 0.0) {
|
|
792
|
+
writer.writeDouble(
|
|
793
|
+
39,
|
|
794
|
+
f
|
|
795
|
+
);
|
|
796
|
+
}
|
|
797
|
+
f = message.getQuotationQuantity();
|
|
798
|
+
if (f !== 0.0) {
|
|
799
|
+
writer.writeDouble(
|
|
800
|
+
40,
|
|
801
|
+
f
|
|
802
|
+
);
|
|
803
|
+
}
|
|
804
|
+
f = message.getCreatedBy();
|
|
805
|
+
if (f.length > 0) {
|
|
806
|
+
writer.writeString(
|
|
807
|
+
41,
|
|
808
|
+
f
|
|
809
|
+
);
|
|
810
|
+
}
|
|
811
|
+
f = message.getUpdatedBy();
|
|
812
|
+
if (f.length > 0) {
|
|
813
|
+
writer.writeString(
|
|
814
|
+
42,
|
|
815
|
+
f
|
|
816
|
+
);
|
|
817
|
+
}
|
|
818
|
+
f = message.getCreatedByEmployee();
|
|
819
|
+
if (f != null) {
|
|
820
|
+
writer.writeMessage(
|
|
821
|
+
43,
|
|
822
|
+
f,
|
|
823
|
+
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
824
|
+
);
|
|
825
|
+
}
|
|
826
|
+
f = message.getUpdatedByEmployee();
|
|
827
|
+
if (f != null) {
|
|
828
|
+
writer.writeMessage(
|
|
829
|
+
44,
|
|
830
|
+
f,
|
|
831
|
+
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
832
|
+
);
|
|
833
|
+
}
|
|
756
834
|
};
|
|
757
835
|
|
|
758
836
|
|
|
@@ -1395,10 +1473,10 @@ proto.ItemTransaction.prototype.setDeliveryOrderQuantity = function(value) {
|
|
|
1395
1473
|
|
|
1396
1474
|
|
|
1397
1475
|
/**
|
|
1398
|
-
* optional double
|
|
1476
|
+
* optional double goods_receipt_quantity = 33;
|
|
1399
1477
|
* @return {number}
|
|
1400
1478
|
*/
|
|
1401
|
-
proto.ItemTransaction.prototype.
|
|
1479
|
+
proto.ItemTransaction.prototype.getGoodsReceiptQuantity = function() {
|
|
1402
1480
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 33, 0.0));
|
|
1403
1481
|
};
|
|
1404
1482
|
|
|
@@ -1407,7 +1485,7 @@ proto.ItemTransaction.prototype.getGoodReceiptQuantity = function() {
|
|
|
1407
1485
|
* @param {number} value
|
|
1408
1486
|
* @return {!proto.ItemTransaction} returns this
|
|
1409
1487
|
*/
|
|
1410
|
-
proto.ItemTransaction.prototype.
|
|
1488
|
+
proto.ItemTransaction.prototype.setGoodsReceiptQuantity = function(value) {
|
|
1411
1489
|
return jspb.Message.setProto3FloatField(this, 33, value);
|
|
1412
1490
|
};
|
|
1413
1491
|
|
|
@@ -1502,6 +1580,152 @@ proto.ItemTransaction.prototype.setPriceBeforeTax = function(value) {
|
|
|
1502
1580
|
};
|
|
1503
1581
|
|
|
1504
1582
|
|
|
1583
|
+
/**
|
|
1584
|
+
* optional double request_for_quotation_quantity = 39;
|
|
1585
|
+
* @return {number}
|
|
1586
|
+
*/
|
|
1587
|
+
proto.ItemTransaction.prototype.getRequestForQuotationQuantity = function() {
|
|
1588
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 39, 0.0));
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* @param {number} value
|
|
1594
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1595
|
+
*/
|
|
1596
|
+
proto.ItemTransaction.prototype.setRequestForQuotationQuantity = function(value) {
|
|
1597
|
+
return jspb.Message.setProto3FloatField(this, 39, value);
|
|
1598
|
+
};
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* optional double quotation_quantity = 40;
|
|
1603
|
+
* @return {number}
|
|
1604
|
+
*/
|
|
1605
|
+
proto.ItemTransaction.prototype.getQuotationQuantity = function() {
|
|
1606
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 40, 0.0));
|
|
1607
|
+
};
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* @param {number} value
|
|
1612
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1613
|
+
*/
|
|
1614
|
+
proto.ItemTransaction.prototype.setQuotationQuantity = function(value) {
|
|
1615
|
+
return jspb.Message.setProto3FloatField(this, 40, value);
|
|
1616
|
+
};
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* optional string created_by = 41;
|
|
1621
|
+
* @return {string}
|
|
1622
|
+
*/
|
|
1623
|
+
proto.ItemTransaction.prototype.getCreatedBy = function() {
|
|
1624
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 41, ""));
|
|
1625
|
+
};
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* @param {string} value
|
|
1630
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1631
|
+
*/
|
|
1632
|
+
proto.ItemTransaction.prototype.setCreatedBy = function(value) {
|
|
1633
|
+
return jspb.Message.setProto3StringField(this, 41, value);
|
|
1634
|
+
};
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* optional string updated_by = 42;
|
|
1639
|
+
* @return {string}
|
|
1640
|
+
*/
|
|
1641
|
+
proto.ItemTransaction.prototype.getUpdatedBy = function() {
|
|
1642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 42, ""));
|
|
1643
|
+
};
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* @param {string} value
|
|
1648
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1649
|
+
*/
|
|
1650
|
+
proto.ItemTransaction.prototype.setUpdatedBy = function(value) {
|
|
1651
|
+
return jspb.Message.setProto3StringField(this, 42, value);
|
|
1652
|
+
};
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* optional Employee created_by_employee = 43;
|
|
1657
|
+
* @return {?proto.Employee}
|
|
1658
|
+
*/
|
|
1659
|
+
proto.ItemTransaction.prototype.getCreatedByEmployee = function() {
|
|
1660
|
+
return /** @type{?proto.Employee} */ (
|
|
1661
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 43));
|
|
1662
|
+
};
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* @param {?proto.Employee|undefined} value
|
|
1667
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1668
|
+
*/
|
|
1669
|
+
proto.ItemTransaction.prototype.setCreatedByEmployee = function(value) {
|
|
1670
|
+
return jspb.Message.setWrapperField(this, 43, value);
|
|
1671
|
+
};
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* Clears the message field making it undefined.
|
|
1676
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1677
|
+
*/
|
|
1678
|
+
proto.ItemTransaction.prototype.clearCreatedByEmployee = function() {
|
|
1679
|
+
return this.setCreatedByEmployee(undefined);
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* Returns whether this field is set.
|
|
1685
|
+
* @return {boolean}
|
|
1686
|
+
*/
|
|
1687
|
+
proto.ItemTransaction.prototype.hasCreatedByEmployee = function() {
|
|
1688
|
+
return jspb.Message.getField(this, 43) != null;
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* optional Employee updated_by_employee = 44;
|
|
1694
|
+
* @return {?proto.Employee}
|
|
1695
|
+
*/
|
|
1696
|
+
proto.ItemTransaction.prototype.getUpdatedByEmployee = function() {
|
|
1697
|
+
return /** @type{?proto.Employee} */ (
|
|
1698
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 44));
|
|
1699
|
+
};
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* @param {?proto.Employee|undefined} value
|
|
1704
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1705
|
+
*/
|
|
1706
|
+
proto.ItemTransaction.prototype.setUpdatedByEmployee = function(value) {
|
|
1707
|
+
return jspb.Message.setWrapperField(this, 44, value);
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* Clears the message field making it undefined.
|
|
1713
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1714
|
+
*/
|
|
1715
|
+
proto.ItemTransaction.prototype.clearUpdatedByEmployee = function() {
|
|
1716
|
+
return this.setUpdatedByEmployee(undefined);
|
|
1717
|
+
};
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* Returns whether this field is set.
|
|
1722
|
+
* @return {boolean}
|
|
1723
|
+
*/
|
|
1724
|
+
proto.ItemTransaction.prototype.hasUpdatedByEmployee = function() {
|
|
1725
|
+
return jspb.Message.getField(this, 44) != null;
|
|
1726
|
+
};
|
|
1727
|
+
|
|
1728
|
+
|
|
1505
1729
|
|
|
1506
1730
|
/**
|
|
1507
1731
|
* List of repeated fields within this message type.
|
|
@@ -28,6 +28,28 @@ function deserialize_CreateTransactionBuilderDefaultRes(buffer_arg) {
|
|
|
28
28
|
return prisca_v1_core_transaction_builder_transaction_builder_pb.CreateTransactionBuilderDefaultRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
function serialize_DeleteTransactionBuilderFieldsRequest(arg) {
|
|
32
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.DeleteTransactionBuilderFieldsRequest)) {
|
|
33
|
+
throw new Error('Expected argument of type DeleteTransactionBuilderFieldsRequest');
|
|
34
|
+
}
|
|
35
|
+
return Buffer.from(arg.serializeBinary());
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function deserialize_DeleteTransactionBuilderFieldsRequest(buffer_arg) {
|
|
39
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.DeleteTransactionBuilderFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function serialize_DeleteTransactionBuilderFieldsRes(arg) {
|
|
43
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.DeleteTransactionBuilderFieldsRes)) {
|
|
44
|
+
throw new Error('Expected argument of type DeleteTransactionBuilderFieldsRes');
|
|
45
|
+
}
|
|
46
|
+
return Buffer.from(arg.serializeBinary());
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function deserialize_DeleteTransactionBuilderFieldsRes(buffer_arg) {
|
|
50
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.DeleteTransactionBuilderFieldsRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
|
+
}
|
|
52
|
+
|
|
31
53
|
function serialize_EditTransactionBuilderById(arg) {
|
|
32
54
|
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.EditTransactionBuilderById)) {
|
|
33
55
|
throw new Error('Expected argument of type EditTransactionBuilderById');
|
|
@@ -614,6 +636,17 @@ createTransactionBuilder: {
|
|
|
614
636
|
responseSerialize: serialize_CreateTransactionBuilderDefaultRes,
|
|
615
637
|
responseDeserialize: deserialize_CreateTransactionBuilderDefaultRes,
|
|
616
638
|
},
|
|
639
|
+
deleteTransactionBuilderFields: {
|
|
640
|
+
path: '/TransactionBuilderService/DeleteTransactionBuilderFields',
|
|
641
|
+
requestStream: false,
|
|
642
|
+
responseStream: false,
|
|
643
|
+
requestType: prisca_v1_core_transaction_builder_transaction_builder_pb.DeleteTransactionBuilderFieldsRequest,
|
|
644
|
+
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.DeleteTransactionBuilderFieldsRes,
|
|
645
|
+
requestSerialize: serialize_DeleteTransactionBuilderFieldsRequest,
|
|
646
|
+
requestDeserialize: deserialize_DeleteTransactionBuilderFieldsRequest,
|
|
647
|
+
responseSerialize: serialize_DeleteTransactionBuilderFieldsRes,
|
|
648
|
+
responseDeserialize: deserialize_DeleteTransactionBuilderFieldsRes,
|
|
649
|
+
},
|
|
617
650
|
};
|
|
618
651
|
|
|
619
652
|
exports.TransactionBuilderServiceClient = grpc.makeGenericClientConstructor(TransactionBuilderServiceService, 'TransactionBuilderService');
|