@aldiokta/protocgen 1.1.51 → 1.1.53

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.
Files changed (54) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
  3. package/prisca/v1/bidding/bidding_pb.js +463 -2
  4. package/prisca/v1/budget/budget_grpc_pb.js +213 -0
  5. package/prisca/v1/budget/budget_pb.js +3008 -0
  6. package/prisca/v1/budget_activity/budget_activity_grpc_pb.js +212 -0
  7. package/prisca/v1/budget_activity/budget_activity_pb.js +2886 -0
  8. package/prisca/v1/budget_categories/budget_categories_grpc_pb.js +212 -0
  9. package/prisca/v1/budget_categories/budget_categories_pb.js +2916 -0
  10. package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +214 -0
  11. package/prisca/v1/budget_planning/budget_planning_pb.js +3682 -0
  12. package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
  13. package/prisca/v1/business_fields/business_fields_pb.js +356 -0
  14. package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
  15. package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
  16. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
  17. package/prisca/v1/core/access_manager/access_manager_pb.js +1758 -19
  18. package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
  19. package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
  20. package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
  21. package/prisca/v1/core/auth/auth_pb.js +152 -0
  22. package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
  23. package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
  24. package/prisca/v1/core/employee/employee_grpc_pb.js +14 -3
  25. package/prisca/v1/core/employee/employee_pb.js +203 -0
  26. package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
  27. package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
  28. package/prisca/v1/core/item_transaction/item_transaction_pb.js +102 -12
  29. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
  30. package/prisca/v1/core/material/material_grpc_pb.js +2 -0
  31. package/prisca/v1/core/material/material_pb.js +420 -2
  32. package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
  33. package/prisca/v1/core/messaging/email_template_pb.js +385 -0
  34. package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
  35. package/prisca/v1/core/number_range/number_range_pb.js +385 -0
  36. package/prisca/v1/core/report/report_pb.js +31 -1
  37. package/prisca/v1/core/tax_code/tax_code_pb.js +14 -14
  38. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
  39. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
  40. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  41. package/prisca/v1/core/users/users_pb.js +2 -0
  42. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
  43. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  44. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
  45. package/prisca/v1/good_receipt/good_receipt_pb.js +36 -6
  46. package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
  47. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
  48. package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
  49. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
  50. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +112 -57
  51. package/prisca/v1/quotation/quotation_pb.js +55 -2
  52. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
  53. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
  54. package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
@@ -27,6 +27,10 @@ var prisca_v1_core_unit_of_measurement_unit_of_measurement_pb = require('../../.
27
27
  goog.object.extend(proto, prisca_v1_core_unit_of_measurement_unit_of_measurement_pb);
28
28
  var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
29
29
  goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
30
+ var prisca_v1_core_currency_currency_pb = require('../../../../prisca/v1/core/currency/currency_pb.js');
31
+ goog.object.extend(proto, prisca_v1_core_currency_currency_pb);
32
+ var prisca_v1_core_commodity_commodity_pb = require('../../../../prisca/v1/core/commodity/commodity_pb.js');
33
+ goog.object.extend(proto, prisca_v1_core_commodity_commodity_pb);
30
34
  goog.exportSymbol('proto.BaseMaterialRequest', null, global);
31
35
  goog.exportSymbol('proto.CreateMaterialRequest', null, global);
32
36
  goog.exportSymbol('proto.CreateMaterialResponse', null, global);
@@ -421,7 +425,13 @@ materialTypeCodeRef: jspb.Message.getFieldWithDefault(msg, 20, ""),
421
425
  numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 21, ""),
422
426
  companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 22, ""),
423
427
  createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
424
- updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f)
428
+ updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
429
+ unitOfProduction: (f = msg.getUnitOfProduction()) && prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure.toObject(includeInstance, f),
430
+ unitOfIssued: (f = msg.getUnitOfIssued()) && prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure.toObject(includeInstance, f),
431
+ quantityConversion: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
432
+ currency: (f = msg.getCurrency()) && prisca_v1_core_currency_currency_pb.Currency.toObject(includeInstance, f),
433
+ brand: jspb.Message.getFieldWithDefault(msg, 29, ""),
434
+ commodity: (f = msg.getCommodity()) && prisca_v1_core_commodity_commodity_pb.Commodity.toObject(includeInstance, f)
425
435
  };
426
436
 
427
437
  if (includeInstance) {
@@ -562,6 +572,34 @@ proto.Material.deserializeBinaryFromReader = function(msg, reader) {
562
572
  reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
563
573
  msg.setUpdatedByEmployee(value);
564
574
  break;
575
+ case 25:
576
+ var value = new prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure;
577
+ reader.readMessage(value,prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure.deserializeBinaryFromReader);
578
+ msg.setUnitOfProduction(value);
579
+ break;
580
+ case 26:
581
+ var value = new prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure;
582
+ reader.readMessage(value,prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure.deserializeBinaryFromReader);
583
+ msg.setUnitOfIssued(value);
584
+ break;
585
+ case 27:
586
+ var value = /** @type {number} */ (reader.readDouble());
587
+ msg.setQuantityConversion(value);
588
+ break;
589
+ case 28:
590
+ var value = new prisca_v1_core_currency_currency_pb.Currency;
591
+ reader.readMessage(value,prisca_v1_core_currency_currency_pb.Currency.deserializeBinaryFromReader);
592
+ msg.setCurrency(value);
593
+ break;
594
+ case 29:
595
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
596
+ msg.setBrand(value);
597
+ break;
598
+ case 30:
599
+ var value = new prisca_v1_core_commodity_commodity_pb.Commodity;
600
+ reader.readMessage(value,prisca_v1_core_commodity_commodity_pb.Commodity.deserializeBinaryFromReader);
601
+ msg.setCommodity(value);
602
+ break;
565
603
  default:
566
604
  reader.skipField();
567
605
  break;
@@ -767,6 +805,52 @@ proto.Material.serializeBinaryToWriter = function(message, writer) {
767
805
  prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
768
806
  );
769
807
  }
808
+ f = message.getUnitOfProduction();
809
+ if (f != null) {
810
+ writer.writeMessage(
811
+ 25,
812
+ f,
813
+ prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure.serializeBinaryToWriter
814
+ );
815
+ }
816
+ f = message.getUnitOfIssued();
817
+ if (f != null) {
818
+ writer.writeMessage(
819
+ 26,
820
+ f,
821
+ prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure.serializeBinaryToWriter
822
+ );
823
+ }
824
+ f = message.getQuantityConversion();
825
+ if (f !== 0.0) {
826
+ writer.writeDouble(
827
+ 27,
828
+ f
829
+ );
830
+ }
831
+ f = message.getCurrency();
832
+ if (f != null) {
833
+ writer.writeMessage(
834
+ 28,
835
+ f,
836
+ prisca_v1_core_currency_currency_pb.Currency.serializeBinaryToWriter
837
+ );
838
+ }
839
+ f = message.getBrand();
840
+ if (f.length > 0) {
841
+ writer.writeString(
842
+ 29,
843
+ f
844
+ );
845
+ }
846
+ f = message.getCommodity();
847
+ if (f != null) {
848
+ writer.writeMessage(
849
+ 30,
850
+ f,
851
+ prisca_v1_core_commodity_commodity_pb.Commodity.serializeBinaryToWriter
852
+ );
853
+ }
770
854
  };
771
855
 
772
856
 
@@ -1356,6 +1440,190 @@ proto.Material.prototype.hasUpdatedByEmployee = function() {
1356
1440
  };
1357
1441
 
1358
1442
 
1443
+ /**
1444
+ * optional UnitOfMeasure unit_of_production = 25;
1445
+ * @return {?proto.UnitOfMeasure}
1446
+ */
1447
+ proto.Material.prototype.getUnitOfProduction = function() {
1448
+ return /** @type{?proto.UnitOfMeasure} */ (
1449
+ jspb.Message.getWrapperField(this, prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure, 25));
1450
+ };
1451
+
1452
+
1453
+ /**
1454
+ * @param {?proto.UnitOfMeasure|undefined} value
1455
+ * @return {!proto.Material} returns this
1456
+ */
1457
+ proto.Material.prototype.setUnitOfProduction = function(value) {
1458
+ return jspb.Message.setWrapperField(this, 25, value);
1459
+ };
1460
+
1461
+
1462
+ /**
1463
+ * Clears the message field making it undefined.
1464
+ * @return {!proto.Material} returns this
1465
+ */
1466
+ proto.Material.prototype.clearUnitOfProduction = function() {
1467
+ return this.setUnitOfProduction(undefined);
1468
+ };
1469
+
1470
+
1471
+ /**
1472
+ * Returns whether this field is set.
1473
+ * @return {boolean}
1474
+ */
1475
+ proto.Material.prototype.hasUnitOfProduction = function() {
1476
+ return jspb.Message.getField(this, 25) != null;
1477
+ };
1478
+
1479
+
1480
+ /**
1481
+ * optional UnitOfMeasure unit_of_issued = 26;
1482
+ * @return {?proto.UnitOfMeasure}
1483
+ */
1484
+ proto.Material.prototype.getUnitOfIssued = function() {
1485
+ return /** @type{?proto.UnitOfMeasure} */ (
1486
+ jspb.Message.getWrapperField(this, prisca_v1_core_unit_of_measurement_unit_of_measurement_pb.UnitOfMeasure, 26));
1487
+ };
1488
+
1489
+
1490
+ /**
1491
+ * @param {?proto.UnitOfMeasure|undefined} value
1492
+ * @return {!proto.Material} returns this
1493
+ */
1494
+ proto.Material.prototype.setUnitOfIssued = function(value) {
1495
+ return jspb.Message.setWrapperField(this, 26, value);
1496
+ };
1497
+
1498
+
1499
+ /**
1500
+ * Clears the message field making it undefined.
1501
+ * @return {!proto.Material} returns this
1502
+ */
1503
+ proto.Material.prototype.clearUnitOfIssued = function() {
1504
+ return this.setUnitOfIssued(undefined);
1505
+ };
1506
+
1507
+
1508
+ /**
1509
+ * Returns whether this field is set.
1510
+ * @return {boolean}
1511
+ */
1512
+ proto.Material.prototype.hasUnitOfIssued = function() {
1513
+ return jspb.Message.getField(this, 26) != null;
1514
+ };
1515
+
1516
+
1517
+ /**
1518
+ * optional double quantity_conversion = 27;
1519
+ * @return {number}
1520
+ */
1521
+ proto.Material.prototype.getQuantityConversion = function() {
1522
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 27, 0.0));
1523
+ };
1524
+
1525
+
1526
+ /**
1527
+ * @param {number} value
1528
+ * @return {!proto.Material} returns this
1529
+ */
1530
+ proto.Material.prototype.setQuantityConversion = function(value) {
1531
+ return jspb.Message.setProto3FloatField(this, 27, value);
1532
+ };
1533
+
1534
+
1535
+ /**
1536
+ * optional Currency Currency = 28;
1537
+ * @return {?proto.Currency}
1538
+ */
1539
+ proto.Material.prototype.getCurrency = function() {
1540
+ return /** @type{?proto.Currency} */ (
1541
+ jspb.Message.getWrapperField(this, prisca_v1_core_currency_currency_pb.Currency, 28));
1542
+ };
1543
+
1544
+
1545
+ /**
1546
+ * @param {?proto.Currency|undefined} value
1547
+ * @return {!proto.Material} returns this
1548
+ */
1549
+ proto.Material.prototype.setCurrency = function(value) {
1550
+ return jspb.Message.setWrapperField(this, 28, value);
1551
+ };
1552
+
1553
+
1554
+ /**
1555
+ * Clears the message field making it undefined.
1556
+ * @return {!proto.Material} returns this
1557
+ */
1558
+ proto.Material.prototype.clearCurrency = function() {
1559
+ return this.setCurrency(undefined);
1560
+ };
1561
+
1562
+
1563
+ /**
1564
+ * Returns whether this field is set.
1565
+ * @return {boolean}
1566
+ */
1567
+ proto.Material.prototype.hasCurrency = function() {
1568
+ return jspb.Message.getField(this, 28) != null;
1569
+ };
1570
+
1571
+
1572
+ /**
1573
+ * optional string brand = 29;
1574
+ * @return {string}
1575
+ */
1576
+ proto.Material.prototype.getBrand = function() {
1577
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
1578
+ };
1579
+
1580
+
1581
+ /**
1582
+ * @param {string} value
1583
+ * @return {!proto.Material} returns this
1584
+ */
1585
+ proto.Material.prototype.setBrand = function(value) {
1586
+ return jspb.Message.setProto3StringField(this, 29, value);
1587
+ };
1588
+
1589
+
1590
+ /**
1591
+ * optional Commodity commodity = 30;
1592
+ * @return {?proto.Commodity}
1593
+ */
1594
+ proto.Material.prototype.getCommodity = function() {
1595
+ return /** @type{?proto.Commodity} */ (
1596
+ jspb.Message.getWrapperField(this, prisca_v1_core_commodity_commodity_pb.Commodity, 30));
1597
+ };
1598
+
1599
+
1600
+ /**
1601
+ * @param {?proto.Commodity|undefined} value
1602
+ * @return {!proto.Material} returns this
1603
+ */
1604
+ proto.Material.prototype.setCommodity = function(value) {
1605
+ return jspb.Message.setWrapperField(this, 30, value);
1606
+ };
1607
+
1608
+
1609
+ /**
1610
+ * Clears the message field making it undefined.
1611
+ * @return {!proto.Material} returns this
1612
+ */
1613
+ proto.Material.prototype.clearCommodity = function() {
1614
+ return this.setCommodity(undefined);
1615
+ };
1616
+
1617
+
1618
+ /**
1619
+ * Returns whether this field is set.
1620
+ * @return {boolean}
1621
+ */
1622
+ proto.Material.prototype.hasCommodity = function() {
1623
+ return jspb.Message.getField(this, 30) != null;
1624
+ };
1625
+
1626
+
1359
1627
 
1360
1628
 
1361
1629
 
@@ -1976,7 +2244,12 @@ languageDescriptionList: jspb.Message.toObjectList(msg.getLanguageDescriptionLis
1976
2244
  unitOfMeasureList: jspb.Message.toObjectList(msg.getUnitOfMeasureList(),
1977
2245
  proto.MaterialUOMRequest.toObject, includeInstance),
1978
2246
  materialPlantRef: jspb.Message.getFieldWithDefault(msg, 9, ""),
1979
- baseUnitOfMeasureRef: jspb.Message.getFieldWithDefault(msg, 10, "")
2247
+ baseUnitOfMeasureRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
2248
+ unitOfProductionRef: jspb.Message.getFieldWithDefault(msg, 11, ""),
2249
+ unitOfIssuedRef: jspb.Message.getFieldWithDefault(msg, 12, ""),
2250
+ currencyRef: jspb.Message.getFieldWithDefault(msg, 13, ""),
2251
+ commodityCode: jspb.Message.getFieldWithDefault(msg, 14, ""),
2252
+ brand: jspb.Message.getFieldWithDefault(msg, 15, "")
1980
2253
  };
1981
2254
 
1982
2255
  if (includeInstance) {
@@ -2055,6 +2328,26 @@ proto.BaseMaterialRequest.deserializeBinaryFromReader = function(msg, reader) {
2055
2328
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
2056
2329
  msg.setBaseUnitOfMeasureRef(value);
2057
2330
  break;
2331
+ case 11:
2332
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2333
+ msg.setUnitOfProductionRef(value);
2334
+ break;
2335
+ case 12:
2336
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2337
+ msg.setUnitOfIssuedRef(value);
2338
+ break;
2339
+ case 13:
2340
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2341
+ msg.setCurrencyRef(value);
2342
+ break;
2343
+ case 14:
2344
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2345
+ msg.setCommodityCode(value);
2346
+ break;
2347
+ case 15:
2348
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2349
+ msg.setBrand(value);
2350
+ break;
2058
2351
  default:
2059
2352
  reader.skipField();
2060
2353
  break;
@@ -2156,6 +2449,41 @@ proto.BaseMaterialRequest.serializeBinaryToWriter = function(message, writer) {
2156
2449
  f
2157
2450
  );
2158
2451
  }
2452
+ f = message.getUnitOfProductionRef();
2453
+ if (f.length > 0) {
2454
+ writer.writeString(
2455
+ 11,
2456
+ f
2457
+ );
2458
+ }
2459
+ f = message.getUnitOfIssuedRef();
2460
+ if (f.length > 0) {
2461
+ writer.writeString(
2462
+ 12,
2463
+ f
2464
+ );
2465
+ }
2466
+ f = message.getCurrencyRef();
2467
+ if (f.length > 0) {
2468
+ writer.writeString(
2469
+ 13,
2470
+ f
2471
+ );
2472
+ }
2473
+ f = message.getCommodityCode();
2474
+ if (f.length > 0) {
2475
+ writer.writeString(
2476
+ 14,
2477
+ f
2478
+ );
2479
+ }
2480
+ f = message.getBrand();
2481
+ if (f.length > 0) {
2482
+ writer.writeString(
2483
+ 15,
2484
+ f
2485
+ );
2486
+ }
2159
2487
  };
2160
2488
 
2161
2489
 
@@ -2379,6 +2707,96 @@ proto.BaseMaterialRequest.prototype.setBaseUnitOfMeasureRef = function(value) {
2379
2707
  };
2380
2708
 
2381
2709
 
2710
+ /**
2711
+ * optional string unit_of_production_ref = 11;
2712
+ * @return {string}
2713
+ */
2714
+ proto.BaseMaterialRequest.prototype.getUnitOfProductionRef = function() {
2715
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2716
+ };
2717
+
2718
+
2719
+ /**
2720
+ * @param {string} value
2721
+ * @return {!proto.BaseMaterialRequest} returns this
2722
+ */
2723
+ proto.BaseMaterialRequest.prototype.setUnitOfProductionRef = function(value) {
2724
+ return jspb.Message.setProto3StringField(this, 11, value);
2725
+ };
2726
+
2727
+
2728
+ /**
2729
+ * optional string unit_of_issued_ref = 12;
2730
+ * @return {string}
2731
+ */
2732
+ proto.BaseMaterialRequest.prototype.getUnitOfIssuedRef = function() {
2733
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
2734
+ };
2735
+
2736
+
2737
+ /**
2738
+ * @param {string} value
2739
+ * @return {!proto.BaseMaterialRequest} returns this
2740
+ */
2741
+ proto.BaseMaterialRequest.prototype.setUnitOfIssuedRef = function(value) {
2742
+ return jspb.Message.setProto3StringField(this, 12, value);
2743
+ };
2744
+
2745
+
2746
+ /**
2747
+ * optional string currency_ref = 13;
2748
+ * @return {string}
2749
+ */
2750
+ proto.BaseMaterialRequest.prototype.getCurrencyRef = function() {
2751
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
2752
+ };
2753
+
2754
+
2755
+ /**
2756
+ * @param {string} value
2757
+ * @return {!proto.BaseMaterialRequest} returns this
2758
+ */
2759
+ proto.BaseMaterialRequest.prototype.setCurrencyRef = function(value) {
2760
+ return jspb.Message.setProto3StringField(this, 13, value);
2761
+ };
2762
+
2763
+
2764
+ /**
2765
+ * optional string commodity_code = 14;
2766
+ * @return {string}
2767
+ */
2768
+ proto.BaseMaterialRequest.prototype.getCommodityCode = function() {
2769
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2770
+ };
2771
+
2772
+
2773
+ /**
2774
+ * @param {string} value
2775
+ * @return {!proto.BaseMaterialRequest} returns this
2776
+ */
2777
+ proto.BaseMaterialRequest.prototype.setCommodityCode = function(value) {
2778
+ return jspb.Message.setProto3StringField(this, 14, value);
2779
+ };
2780
+
2781
+
2782
+ /**
2783
+ * optional string brand = 15;
2784
+ * @return {string}
2785
+ */
2786
+ proto.BaseMaterialRequest.prototype.getBrand = function() {
2787
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
2788
+ };
2789
+
2790
+
2791
+ /**
2792
+ * @param {string} value
2793
+ * @return {!proto.BaseMaterialRequest} returns this
2794
+ */
2795
+ proto.BaseMaterialRequest.prototype.setBrand = function(value) {
2796
+ return jspb.Message.setProto3StringField(this, 15, value);
2797
+ };
2798
+
2799
+
2382
2800
 
2383
2801
 
2384
2802
 
@@ -16,6 +16,17 @@ function deserialize_CreateEmailTemplateRequest(buffer_arg) {
16
16
  return prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateRequest.deserializeBinary(new Uint8Array(buffer_arg));
17
17
  }
18
18
 
19
+ function serialize_CreateEmailTemplateRequestDefault(arg) {
20
+ if (!(arg instanceof prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateRequestDefault)) {
21
+ throw new Error('Expected argument of type CreateEmailTemplateRequestDefault');
22
+ }
23
+ return Buffer.from(arg.serializeBinary());
24
+ }
25
+
26
+ function deserialize_CreateEmailTemplateRequestDefault(buffer_arg) {
27
+ return prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateRequestDefault.deserializeBinary(new Uint8Array(buffer_arg));
28
+ }
29
+
19
30
  function serialize_CreateEmailTemplateResponse(arg) {
20
31
  if (!(arg instanceof prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateResponse)) {
21
32
  throw new Error('Expected argument of type CreateEmailTemplateResponse');
@@ -27,6 +38,17 @@ function deserialize_CreateEmailTemplateResponse(buffer_arg) {
27
38
  return prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateResponse.deserializeBinary(new Uint8Array(buffer_arg));
28
39
  }
29
40
 
41
+ function serialize_CreateEmailTemplateResponseDefault(arg) {
42
+ if (!(arg instanceof prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateResponseDefault)) {
43
+ throw new Error('Expected argument of type CreateEmailTemplateResponseDefault');
44
+ }
45
+ return Buffer.from(arg.serializeBinary());
46
+ }
47
+
48
+ function deserialize_CreateEmailTemplateResponseDefault(buffer_arg) {
49
+ return prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateResponseDefault.deserializeBinary(new Uint8Array(buffer_arg));
50
+ }
51
+
30
52
  function serialize_DeleteEmailTemplateRequest(arg) {
31
53
  if (!(arg instanceof prisca_v1_core_messaging_email_template_pb.DeleteEmailTemplateRequest)) {
32
54
  throw new Error('Expected argument of type DeleteEmailTemplateRequest');
@@ -128,6 +150,17 @@ var EmailTemplateServiceService = exports.EmailTemplateServiceService = {
128
150
  responseSerialize: serialize_CreateEmailTemplateResponse,
129
151
  responseDeserialize: deserialize_CreateEmailTemplateResponse,
130
152
  },
153
+ createEmailTemplateDefault: {
154
+ path: '/EmailTemplateService/CreateEmailTemplateDefault',
155
+ requestStream: false,
156
+ responseStream: false,
157
+ requestType: prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateRequestDefault,
158
+ responseType: prisca_v1_core_messaging_email_template_pb.CreateEmailTemplateResponseDefault,
159
+ requestSerialize: serialize_CreateEmailTemplateRequestDefault,
160
+ requestDeserialize: deserialize_CreateEmailTemplateRequestDefault,
161
+ responseSerialize: serialize_CreateEmailTemplateResponseDefault,
162
+ responseDeserialize: deserialize_CreateEmailTemplateResponseDefault,
163
+ },
131
164
  getEmailTemplateById: {
132
165
  path: '/EmailTemplateService/GetEmailTemplateById',
133
166
  requestStream: false,