@aldiokta/protocgen 1.1.20 → 1.1.22

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 (49) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +97 -8
  3. package/prisca/v1/bidding/bidding_pb.js +1506 -178
  4. package/prisca/v1/core/company/company_pb.js +77 -25
  5. package/prisca/v1/core/employee/employee_pb.js +74 -22
  6. package/prisca/v1/core/file_upload/file_upload_pb.js +183 -3
  7. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +33 -0
  8. package/prisca/v1/core/incoterm/incoterm_pb.js +407 -0
  9. package/prisca/v1/core/item_transaction/item_transaction_pb.js +304 -4
  10. package/prisca/v1/core/job_grade/job_grade_pb.js +80 -28
  11. package/prisca/v1/core/job_position/job_position_pb.js +74 -22
  12. package/prisca/v1/core/job_title/job_title_pb.js +80 -28
  13. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
  14. package/prisca/v1/core/material/material_pb.js +74 -22
  15. package/prisca/v1/core/material_group/material_group_pb.js +77 -25
  16. package/prisca/v1/core/material_type/material_type_grpc_pb.js +33 -0
  17. package/prisca/v1/core/material_type/material_type_pb.js +407 -0
  18. package/prisca/v1/core/number_range/number_range_pb.js +74 -22
  19. package/prisca/v1/core/organization/organization_pb.js +80 -28
  20. package/prisca/v1/core/organization_level/organization_level_pb.js +80 -28
  21. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +33 -0
  22. package/prisca/v1/core/price_condition/price_condition_pb.js +407 -0
  23. package/prisca/v1/core/tax_code/tax_code_pb.js +152 -2
  24. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +33 -0
  25. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +407 -0
  26. package/prisca/v1/core/users/users_grpc_pb.js +33 -0
  27. package/prisca/v1/core/users/users_pb.js +407 -0
  28. package/prisca/v1/core/work_location/work_location_pb.js +74 -22
  29. package/prisca/v1/core/workflow/workflow_pb.js +74 -22
  30. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  31. package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
  32. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
  33. package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
  34. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -1
  35. package/prisca/v1/purchase_order/purchase_order_pb.js +464 -404
  36. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +11 -0
  37. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +13 -13
  38. package/prisca/v1/purchasing_group/purchasing_group_pb.js +80 -28
  39. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +33 -0
  40. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +407 -0
  41. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +33 -0
  42. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +407 -0
  43. package/prisca/v1/quotation/quotation_grpc_pb.js +14 -3
  44. package/prisca/v1/quotation/quotation_pb.js +479 -2
  45. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +1 -0
  46. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +262 -4
  47. package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
  48. package/prisca/v1/valuation/valuation_pb.js +7729 -0
  49. package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
@@ -397,6 +397,17 @@ var PurchaseRequisitionTrxServiceService = exports.PurchaseRequisitionTrxService
397
397
  responseSerialize: serialize_GetPurchaseRequisitionTrxListResponse,
398
398
  responseDeserialize: deserialize_GetPurchaseRequisitionTrxListResponse,
399
399
  },
400
+ getPurchaseRequisitionTrxListStatusApproved: {
401
+ path: '/PurchaseRequisitionTrxService/GetPurchaseRequisitionTrxListStatusApproved',
402
+ requestStream: false,
403
+ responseStream: false,
404
+ requestType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxListRequest,
405
+ responseType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxListResponse,
406
+ requestSerialize: serialize_GetPurchaseRequisitionTrxListRequest,
407
+ requestDeserialize: deserialize_GetPurchaseRequisitionTrxListRequest,
408
+ responseSerialize: serialize_GetPurchaseRequisitionTrxListResponse,
409
+ responseDeserialize: deserialize_GetPurchaseRequisitionTrxListResponse,
410
+ },
400
411
  getPurchaseRequisitionWithTrxId: {
401
412
  path: '/PurchaseRequisitionTrxService/GetPurchaseRequisitionWithTrxId',
402
413
  requestStream: false,
@@ -4437,7 +4437,7 @@ proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.toObject = function(o
4437
4437
  */
4438
4438
  proto.GetPurchaseRequisitionTrxDetailByIdRequest.toObject = function(includeInstance, msg) {
4439
4439
  var f, obj = {
4440
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
4440
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4441
4441
  trxBuilderId: jspb.Message.getFieldWithDefault(msg, 2, 0)
4442
4442
  };
4443
4443
 
@@ -4476,8 +4476,8 @@ proto.GetPurchaseRequisitionTrxDetailByIdRequest.deserializeBinaryFromReader = f
4476
4476
  var field = reader.getFieldNumber();
4477
4477
  switch (field) {
4478
4478
  case 1:
4479
- var value = /** @type {number} */ (reader.readInt64());
4480
- msg.setId(value);
4479
+ var value = /** @type {string} */ (reader.readString());
4480
+ msg.setReferencesId(value);
4481
4481
  break;
4482
4482
  case 2:
4483
4483
  var value = /** @type {number} */ (reader.readInt64());
@@ -4512,9 +4512,9 @@ proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.serializeBinary = fun
4512
4512
  */
4513
4513
  proto.GetPurchaseRequisitionTrxDetailByIdRequest.serializeBinaryToWriter = function(message, writer) {
4514
4514
  var f = undefined;
4515
- f = message.getId();
4516
- if (f !== 0) {
4517
- writer.writeInt64(
4515
+ f = message.getReferencesId();
4516
+ if (f.length > 0) {
4517
+ writer.writeString(
4518
4518
  1,
4519
4519
  f
4520
4520
  );
@@ -4530,20 +4530,20 @@ proto.GetPurchaseRequisitionTrxDetailByIdRequest.serializeBinaryToWriter = funct
4530
4530
 
4531
4531
 
4532
4532
  /**
4533
- * optional int64 id = 1;
4534
- * @return {number}
4533
+ * optional string references_id = 1;
4534
+ * @return {string}
4535
4535
  */
4536
- proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.getId = function() {
4537
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4536
+ proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.getReferencesId = function() {
4537
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4538
4538
  };
4539
4539
 
4540
4540
 
4541
4541
  /**
4542
- * @param {number} value
4542
+ * @param {string} value
4543
4543
  * @return {!proto.GetPurchaseRequisitionTrxDetailByIdRequest} returns this
4544
4544
  */
4545
- proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.setId = function(value) {
4546
- return jspb.Message.setProto3IntField(this, 1, value);
4545
+ proto.GetPurchaseRequisitionTrxDetailByIdRequest.prototype.setReferencesId = function(value) {
4546
+ return jspb.Message.setProto3StringField(this, 1, value);
4547
4547
  };
4548
4548
 
4549
4549
 
@@ -153,7 +153,7 @@ if (goog.DEBUG && !COMPILED) {
153
153
  * @constructor
154
154
  */
155
155
  proto.DeletePurchasingGroupRequest = function(opt_data) {
156
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
156
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeletePurchasingGroupRequest.repeatedFields_, null);
157
157
  };
158
158
  goog.inherits(proto.DeletePurchasingGroupRequest, jspb.Message);
159
159
  if (goog.DEBUG && !COMPILED) {
@@ -279,7 +279,7 @@ if (goog.DEBUG && !COMPILED) {
279
279
  * @constructor
280
280
  */
281
281
  proto.DeletePurchasingGroupResponse = function(opt_data) {
282
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
282
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeletePurchasingGroupResponse.repeatedFields_, null);
283
283
  };
284
284
  goog.inherits(proto.DeletePurchasingGroupResponse, jspb.Message);
285
285
  if (goog.DEBUG && !COMPILED) {
@@ -1543,6 +1543,13 @@ proto.UpdatePurchasingGroupRequest.prototype.hasPurchasingGroup = function() {
1543
1543
 
1544
1544
 
1545
1545
 
1546
+ /**
1547
+ * List of repeated fields within this message type.
1548
+ * @private {!Array<number>}
1549
+ * @const
1550
+ */
1551
+ proto.DeletePurchasingGroupRequest.repeatedFields_ = [1];
1552
+
1546
1553
 
1547
1554
 
1548
1555
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -1574,7 +1581,7 @@ proto.DeletePurchasingGroupRequest.prototype.toObject = function(opt_includeInst
1574
1581
  */
1575
1582
  proto.DeletePurchasingGroupRequest.toObject = function(includeInstance, msg) {
1576
1583
  var f, obj = {
1577
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1584
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1578
1585
  };
1579
1586
 
1580
1587
  if (includeInstance) {
@@ -1612,8 +1619,8 @@ proto.DeletePurchasingGroupRequest.deserializeBinaryFromReader = function(msg, r
1612
1619
  var field = reader.getFieldNumber();
1613
1620
  switch (field) {
1614
1621
  case 1:
1615
- var value = /** @type {number} */ (reader.readInt64());
1616
- msg.setId(value);
1622
+ var value = /** @type {string} */ (reader.readString());
1623
+ msg.addReferenceIds(value);
1617
1624
  break;
1618
1625
  default:
1619
1626
  reader.skipField();
@@ -1644,9 +1651,9 @@ proto.DeletePurchasingGroupRequest.prototype.serializeBinary = function() {
1644
1651
  */
1645
1652
  proto.DeletePurchasingGroupRequest.serializeBinaryToWriter = function(message, writer) {
1646
1653
  var f = undefined;
1647
- f = message.getId();
1648
- if (f !== 0) {
1649
- writer.writeInt64(
1654
+ f = message.getReferenceIdsList();
1655
+ if (f.length > 0) {
1656
+ writer.writeRepeatedString(
1650
1657
  1,
1651
1658
  f
1652
1659
  );
@@ -1655,20 +1662,39 @@ proto.DeletePurchasingGroupRequest.serializeBinaryToWriter = function(message, w
1655
1662
 
1656
1663
 
1657
1664
  /**
1658
- * optional int64 id = 1;
1659
- * @return {number}
1665
+ * repeated string reference_ids = 1;
1666
+ * @return {!Array<string>}
1660
1667
  */
1661
- proto.DeletePurchasingGroupRequest.prototype.getId = function() {
1662
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1668
+ proto.DeletePurchasingGroupRequest.prototype.getReferenceIdsList = function() {
1669
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1663
1670
  };
1664
1671
 
1665
1672
 
1666
1673
  /**
1667
- * @param {number} value
1674
+ * @param {!Array<string>} value
1675
+ * @return {!proto.DeletePurchasingGroupRequest} returns this
1676
+ */
1677
+ proto.DeletePurchasingGroupRequest.prototype.setReferenceIdsList = function(value) {
1678
+ return jspb.Message.setField(this, 1, value || []);
1679
+ };
1680
+
1681
+
1682
+ /**
1683
+ * @param {string} value
1684
+ * @param {number=} opt_index
1685
+ * @return {!proto.DeletePurchasingGroupRequest} returns this
1686
+ */
1687
+ proto.DeletePurchasingGroupRequest.prototype.addReferenceIds = function(value, opt_index) {
1688
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1689
+ };
1690
+
1691
+
1692
+ /**
1693
+ * Clears the list making it empty but non-null.
1668
1694
  * @return {!proto.DeletePurchasingGroupRequest} returns this
1669
1695
  */
1670
- proto.DeletePurchasingGroupRequest.prototype.setId = function(value) {
1671
- return jspb.Message.setProto3IntField(this, 1, value);
1696
+ proto.DeletePurchasingGroupRequest.prototype.clearReferenceIdsList = function() {
1697
+ return this.setReferenceIdsList([]);
1672
1698
  };
1673
1699
 
1674
1700
 
@@ -2692,6 +2718,13 @@ proto.PurchasingGroupGetByIdResponse.prototype.hasMeta = function() {
2692
2718
 
2693
2719
 
2694
2720
 
2721
+ /**
2722
+ * List of repeated fields within this message type.
2723
+ * @private {!Array<number>}
2724
+ * @const
2725
+ */
2726
+ proto.DeletePurchasingGroupResponse.repeatedFields_ = [1];
2727
+
2695
2728
 
2696
2729
 
2697
2730
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2723,7 +2756,7 @@ proto.DeletePurchasingGroupResponse.prototype.toObject = function(opt_includeIns
2723
2756
  */
2724
2757
  proto.DeletePurchasingGroupResponse.toObject = function(includeInstance, msg) {
2725
2758
  var f, obj = {
2726
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2759
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2727
2760
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2728
2761
  };
2729
2762
 
@@ -2762,8 +2795,8 @@ proto.DeletePurchasingGroupResponse.deserializeBinaryFromReader = function(msg,
2762
2795
  var field = reader.getFieldNumber();
2763
2796
  switch (field) {
2764
2797
  case 1:
2765
- var value = /** @type {number} */ (reader.readInt64());
2766
- msg.setId(value);
2798
+ var value = /** @type {string} */ (reader.readString());
2799
+ msg.addReferenceIds(value);
2767
2800
  break;
2768
2801
  case 2:
2769
2802
  var value = new prisca_v1_global_meta_meta_pb.Meta;
@@ -2799,9 +2832,9 @@ proto.DeletePurchasingGroupResponse.prototype.serializeBinary = function() {
2799
2832
  */
2800
2833
  proto.DeletePurchasingGroupResponse.serializeBinaryToWriter = function(message, writer) {
2801
2834
  var f = undefined;
2802
- f = message.getId();
2803
- if (f !== 0) {
2804
- writer.writeInt64(
2835
+ f = message.getReferenceIdsList();
2836
+ if (f.length > 0) {
2837
+ writer.writeRepeatedString(
2805
2838
  1,
2806
2839
  f
2807
2840
  );
@@ -2818,20 +2851,39 @@ proto.DeletePurchasingGroupResponse.serializeBinaryToWriter = function(message,
2818
2851
 
2819
2852
 
2820
2853
  /**
2821
- * optional int64 id = 1;
2822
- * @return {number}
2854
+ * repeated string reference_ids = 1;
2855
+ * @return {!Array<string>}
2823
2856
  */
2824
- proto.DeletePurchasingGroupResponse.prototype.getId = function() {
2825
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2857
+ proto.DeletePurchasingGroupResponse.prototype.getReferenceIdsList = function() {
2858
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2826
2859
  };
2827
2860
 
2828
2861
 
2829
2862
  /**
2830
- * @param {number} value
2863
+ * @param {!Array<string>} value
2864
+ * @return {!proto.DeletePurchasingGroupResponse} returns this
2865
+ */
2866
+ proto.DeletePurchasingGroupResponse.prototype.setReferenceIdsList = function(value) {
2867
+ return jspb.Message.setField(this, 1, value || []);
2868
+ };
2869
+
2870
+
2871
+ /**
2872
+ * @param {string} value
2873
+ * @param {number=} opt_index
2874
+ * @return {!proto.DeletePurchasingGroupResponse} returns this
2875
+ */
2876
+ proto.DeletePurchasingGroupResponse.prototype.addReferenceIds = function(value, opt_index) {
2877
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2878
+ };
2879
+
2880
+
2881
+ /**
2882
+ * Clears the list making it empty but non-null.
2831
2883
  * @return {!proto.DeletePurchasingGroupResponse} returns this
2832
2884
  */
2833
- proto.DeletePurchasingGroupResponse.prototype.setId = function(value) {
2834
- return jspb.Message.setProto3IntField(this, 1, value);
2885
+ proto.DeletePurchasingGroupResponse.prototype.clearReferenceIdsList = function() {
2886
+ return this.setReferenceIdsList([]);
2835
2887
  };
2836
2888
 
2837
2889
 
@@ -28,6 +28,28 @@ function deserialize_CreatePurchasingOrganizationResponse(buffer_arg) {
28
28
  return prisca_v1_purchasing_organization_purchasing_organization_pb.CreatePurchasingOrganizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
29
29
  }
30
30
 
31
+ function serialize_DeletePurchasingOrganizationRequest(arg) {
32
+ if (!(arg instanceof prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationRequest)) {
33
+ throw new Error('Expected argument of type DeletePurchasingOrganizationRequest');
34
+ }
35
+ return Buffer.from(arg.serializeBinary());
36
+ }
37
+
38
+ function deserialize_DeletePurchasingOrganizationRequest(buffer_arg) {
39
+ return prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationRequest.deserializeBinary(new Uint8Array(buffer_arg));
40
+ }
41
+
42
+ function serialize_DeletePurchasingOrganizationResponse(arg) {
43
+ if (!(arg instanceof prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationResponse)) {
44
+ throw new Error('Expected argument of type DeletePurchasingOrganizationResponse');
45
+ }
46
+ return Buffer.from(arg.serializeBinary());
47
+ }
48
+
49
+ function deserialize_DeletePurchasingOrganizationResponse(buffer_arg) {
50
+ return prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
51
+ }
52
+
31
53
  function serialize_GetListPurchasingOrganizationRequest(arg) {
32
54
  if (!(arg instanceof prisca_v1_purchasing_organization_purchasing_organization_pb.GetListPurchasingOrganizationRequest)) {
33
55
  throw new Error('Expected argument of type GetListPurchasingOrganizationRequest');
@@ -140,6 +162,17 @@ var PurchasingOrganizationServiceService = exports.PurchasingOrganizationService
140
162
  responseSerialize: serialize_GetListPurchasingOrganizationResponse,
141
163
  responseDeserialize: deserialize_GetListPurchasingOrganizationResponse,
142
164
  },
165
+ deletePurchasingOrganization: {
166
+ path: '/PurchasingOrganizationService/DeletePurchasingOrganization',
167
+ requestStream: false,
168
+ responseStream: false,
169
+ requestType: prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationRequest,
170
+ responseType: prisca_v1_purchasing_organization_purchasing_organization_pb.DeletePurchasingOrganizationResponse,
171
+ requestSerialize: serialize_DeletePurchasingOrganizationRequest,
172
+ requestDeserialize: deserialize_DeletePurchasingOrganizationRequest,
173
+ responseSerialize: serialize_DeletePurchasingOrganizationResponse,
174
+ responseDeserialize: deserialize_DeletePurchasingOrganizationResponse,
175
+ },
143
176
  };
144
177
 
145
178
  exports.PurchasingOrganizationServiceClient = grpc.makeGenericClientConstructor(PurchasingOrganizationServiceService, 'PurchasingOrganizationService');