@aldiokta/protocgen 1.1.49 → 1.1.50

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 (27) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_pb.js +62 -2
  3. package/prisca/v1/business_fields/business_fields_grpc_pb.js +180 -0
  4. package/prisca/v1/business_fields/business_fields_pb.js +4372 -0
  5. package/prisca/v1/core/bank/bank_grpc_pb.js +156 -0
  6. package/prisca/v1/core/bank/bank_pb.js +1988 -0
  7. package/prisca/v1/core/file_upload/file_upload_pb.js +31 -1
  8. package/prisca/v1/core/item_transaction/item_transaction_pb.js +1783 -593
  9. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +1 -0
  10. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +102 -1
  11. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_grpc_pb.js +180 -0
  12. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +3707 -0
  13. package/prisca/v1/core/plant/plant_grpc_pb.js +156 -0
  14. package/prisca/v1/core/plant/plant_pb.js +2078 -0
  15. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  16. package/prisca/v1/global/meta/meta_pb.js +452 -0
  17. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +11 -0
  18. package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
  19. package/prisca/v1/invoice/invoice_grpc_pb.js +11 -0
  20. package/prisca/v1/invoice/invoice_pb.js +55 -2
  21. package/prisca/v1/invoice_type/invoice_type_grpc_pb.js +202 -0
  22. package/prisca/v1/invoice_type/invoice_type_pb.js +3598 -0
  23. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +66 -0
  24. package/prisca/v1/purchase_order/purchase_order_pb.js +3670 -2242
  25. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +44 -0
  26. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +1802 -0
  27. package/prisca/v1/vendor_domain/vendor_domain_pb.js +224 -2
@@ -5,6 +5,7 @@ var grpc = require('@grpc/grpc-js');
5
5
  var prisca_v1_core_line_of_approval_line_of_approval_pb = require('../../../../prisca/v1/core/line_of_approval/line_of_approval_pb.js');
6
6
  var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
7
7
  var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
8
+ var prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb = require('../../../../prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js');
8
9
 
9
10
  function serialize_CreateLineOfApprovalRequest(arg) {
10
11
  if (!(arg instanceof prisca_v1_core_line_of_approval_line_of_approval_pb.CreateLineOfApprovalRequest)) {
@@ -19,6 +19,8 @@ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/m
19
19
  goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
20
20
  var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
21
21
  goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
22
+ var prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb = require('../../../../prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js');
23
+ goog.object.extend(proto, prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb);
22
24
  goog.exportSymbol('proto.BaseLineOfApprovalRequest', null, global);
23
25
  goog.exportSymbol('proto.BaseListAllLineOfApproval', null, global);
24
26
  goog.exportSymbol('proto.CreateLineOfApprovalRequest', null, global);
@@ -417,7 +419,9 @@ approvalNote: jspb.Message.getFieldWithDefault(msg, 11, ""),
417
419
  companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
418
420
  groupReference: jspb.Message.getFieldWithDefault(msg, 13, ""),
419
421
  sequence: jspb.Message.getFieldWithDefault(msg, 14, 0),
420
- editAccess: jspb.Message.getFieldWithDefault(msg, 15, "")
422
+ editAccess: jspb.Message.getFieldWithDefault(msg, 15, ""),
423
+ lineOfApprovalDelegationReferencesId: (f = jspb.Message.getField(msg, 16)) == null ? undefined : f,
424
+ lineOfApprovalDelegation: (f = msg.getLineOfApprovalDelegation()) && prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.LineOfApprovalDelegation.toObject(includeInstance, f)
421
425
  };
422
426
 
423
427
  if (includeInstance) {
@@ -515,6 +519,15 @@ proto.LineOfApproval.deserializeBinaryFromReader = function(msg, reader) {
515
519
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
516
520
  msg.setEditAccess(value);
517
521
  break;
522
+ case 16:
523
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
524
+ msg.setLineOfApprovalDelegationReferencesId(value);
525
+ break;
526
+ case 17:
527
+ var value = new prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.LineOfApprovalDelegation;
528
+ reader.readMessage(value,prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.LineOfApprovalDelegation.deserializeBinaryFromReader);
529
+ msg.setLineOfApprovalDelegation(value);
530
+ break;
518
531
  default:
519
532
  reader.skipField();
520
533
  break;
@@ -650,6 +663,21 @@ proto.LineOfApproval.serializeBinaryToWriter = function(message, writer) {
650
663
  f
651
664
  );
652
665
  }
666
+ f = /** @type {string} */ (jspb.Message.getField(message, 16));
667
+ if (f != null) {
668
+ writer.writeString(
669
+ 16,
670
+ f
671
+ );
672
+ }
673
+ f = message.getLineOfApprovalDelegation();
674
+ if (f != null) {
675
+ writer.writeMessage(
676
+ 17,
677
+ f,
678
+ prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.LineOfApprovalDelegation.serializeBinaryToWriter
679
+ );
680
+ }
653
681
  };
654
682
 
655
683
 
@@ -942,6 +970,79 @@ proto.LineOfApproval.prototype.setEditAccess = function(value) {
942
970
  };
943
971
 
944
972
 
973
+ /**
974
+ * optional string line_of_approval_delegation_references_id = 16;
975
+ * @return {string}
976
+ */
977
+ proto.LineOfApproval.prototype.getLineOfApprovalDelegationReferencesId = function() {
978
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
979
+ };
980
+
981
+
982
+ /**
983
+ * @param {string} value
984
+ * @return {!proto.LineOfApproval} returns this
985
+ */
986
+ proto.LineOfApproval.prototype.setLineOfApprovalDelegationReferencesId = function(value) {
987
+ return jspb.Message.setField(this, 16, value);
988
+ };
989
+
990
+
991
+ /**
992
+ * Clears the field making it undefined.
993
+ * @return {!proto.LineOfApproval} returns this
994
+ */
995
+ proto.LineOfApproval.prototype.clearLineOfApprovalDelegationReferencesId = function() {
996
+ return jspb.Message.setField(this, 16, undefined);
997
+ };
998
+
999
+
1000
+ /**
1001
+ * Returns whether this field is set.
1002
+ * @return {boolean}
1003
+ */
1004
+ proto.LineOfApproval.prototype.hasLineOfApprovalDelegationReferencesId = function() {
1005
+ return jspb.Message.getField(this, 16) != null;
1006
+ };
1007
+
1008
+
1009
+ /**
1010
+ * optional LineOfApprovalDelegation line_of_approval_delegation = 17;
1011
+ * @return {?proto.LineOfApprovalDelegation}
1012
+ */
1013
+ proto.LineOfApproval.prototype.getLineOfApprovalDelegation = function() {
1014
+ return /** @type{?proto.LineOfApprovalDelegation} */ (
1015
+ jspb.Message.getWrapperField(this, prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.LineOfApprovalDelegation, 17));
1016
+ };
1017
+
1018
+
1019
+ /**
1020
+ * @param {?proto.LineOfApprovalDelegation|undefined} value
1021
+ * @return {!proto.LineOfApproval} returns this
1022
+ */
1023
+ proto.LineOfApproval.prototype.setLineOfApprovalDelegation = function(value) {
1024
+ return jspb.Message.setWrapperField(this, 17, value);
1025
+ };
1026
+
1027
+
1028
+ /**
1029
+ * Clears the message field making it undefined.
1030
+ * @return {!proto.LineOfApproval} returns this
1031
+ */
1032
+ proto.LineOfApproval.prototype.clearLineOfApprovalDelegation = function() {
1033
+ return this.setLineOfApprovalDelegation(undefined);
1034
+ };
1035
+
1036
+
1037
+ /**
1038
+ * Returns whether this field is set.
1039
+ * @return {boolean}
1040
+ */
1041
+ proto.LineOfApproval.prototype.hasLineOfApprovalDelegation = function() {
1042
+ return jspb.Message.getField(this, 17) != null;
1043
+ };
1044
+
1045
+
945
1046
 
946
1047
 
947
1048
 
@@ -0,0 +1,180 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ 'use strict';
4
+ var grpc = require('@grpc/grpc-js');
5
+ var prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb = require('../../../../prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js');
6
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
7
+ var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
8
+ var prisca_v1_core_job_position_job_position_pb = require('../../../../prisca/v1/core/job_position/job_position_pb.js');
9
+ var prisca_v1_core_job_title_job_title_pb = require('../../../../prisca/v1/core/job_title/job_title_pb.js');
10
+
11
+ function serialize_CreateLineOfApprovalDelegationRequest(arg) {
12
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.CreateLineOfApprovalDelegationRequest)) {
13
+ throw new Error('Expected argument of type CreateLineOfApprovalDelegationRequest');
14
+ }
15
+ return Buffer.from(arg.serializeBinary());
16
+ }
17
+
18
+ function deserialize_CreateLineOfApprovalDelegationRequest(buffer_arg) {
19
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.CreateLineOfApprovalDelegationRequest.deserializeBinary(new Uint8Array(buffer_arg));
20
+ }
21
+
22
+ function serialize_CreateLineOfApprovalDelegationResponse(arg) {
23
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.CreateLineOfApprovalDelegationResponse)) {
24
+ throw new Error('Expected argument of type CreateLineOfApprovalDelegationResponse');
25
+ }
26
+ return Buffer.from(arg.serializeBinary());
27
+ }
28
+
29
+ function deserialize_CreateLineOfApprovalDelegationResponse(buffer_arg) {
30
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.CreateLineOfApprovalDelegationResponse.deserializeBinary(new Uint8Array(buffer_arg));
31
+ }
32
+
33
+ function serialize_DeleteLineOfApprovalDelegationRequest(arg) {
34
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.DeleteLineOfApprovalDelegationRequest)) {
35
+ throw new Error('Expected argument of type DeleteLineOfApprovalDelegationRequest');
36
+ }
37
+ return Buffer.from(arg.serializeBinary());
38
+ }
39
+
40
+ function deserialize_DeleteLineOfApprovalDelegationRequest(buffer_arg) {
41
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.DeleteLineOfApprovalDelegationRequest.deserializeBinary(new Uint8Array(buffer_arg));
42
+ }
43
+
44
+ function serialize_DeleteLineOfApprovalDelegationResponse(arg) {
45
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.DeleteLineOfApprovalDelegationResponse)) {
46
+ throw new Error('Expected argument of type DeleteLineOfApprovalDelegationResponse');
47
+ }
48
+ return Buffer.from(arg.serializeBinary());
49
+ }
50
+
51
+ function deserialize_DeleteLineOfApprovalDelegationResponse(buffer_arg) {
52
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.DeleteLineOfApprovalDelegationResponse.deserializeBinary(new Uint8Array(buffer_arg));
53
+ }
54
+
55
+ function serialize_GetLineOfApprovalDelegationByIdRequest(arg) {
56
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetLineOfApprovalDelegationByIdRequest)) {
57
+ throw new Error('Expected argument of type GetLineOfApprovalDelegationByIdRequest');
58
+ }
59
+ return Buffer.from(arg.serializeBinary());
60
+ }
61
+
62
+ function deserialize_GetLineOfApprovalDelegationByIdRequest(buffer_arg) {
63
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetLineOfApprovalDelegationByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
64
+ }
65
+
66
+ function serialize_GetLineOfApprovalDelegationByIdResponse(arg) {
67
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetLineOfApprovalDelegationByIdResponse)) {
68
+ throw new Error('Expected argument of type GetLineOfApprovalDelegationByIdResponse');
69
+ }
70
+ return Buffer.from(arg.serializeBinary());
71
+ }
72
+
73
+ function deserialize_GetLineOfApprovalDelegationByIdResponse(buffer_arg) {
74
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetLineOfApprovalDelegationByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
75
+ }
76
+
77
+ function serialize_GetListLineOfApprovalDelegationRequest(arg) {
78
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetListLineOfApprovalDelegationRequest)) {
79
+ throw new Error('Expected argument of type GetListLineOfApprovalDelegationRequest');
80
+ }
81
+ return Buffer.from(arg.serializeBinary());
82
+ }
83
+
84
+ function deserialize_GetListLineOfApprovalDelegationRequest(buffer_arg) {
85
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetListLineOfApprovalDelegationRequest.deserializeBinary(new Uint8Array(buffer_arg));
86
+ }
87
+
88
+ function serialize_GetListLineOfApprovalDelegationResponse(arg) {
89
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetListLineOfApprovalDelegationResponse)) {
90
+ throw new Error('Expected argument of type GetListLineOfApprovalDelegationResponse');
91
+ }
92
+ return Buffer.from(arg.serializeBinary());
93
+ }
94
+
95
+ function deserialize_GetListLineOfApprovalDelegationResponse(buffer_arg) {
96
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetListLineOfApprovalDelegationResponse.deserializeBinary(new Uint8Array(buffer_arg));
97
+ }
98
+
99
+ function serialize_UpdateLineOfApprovalDelegationRequest(arg) {
100
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.UpdateLineOfApprovalDelegationRequest)) {
101
+ throw new Error('Expected argument of type UpdateLineOfApprovalDelegationRequest');
102
+ }
103
+ return Buffer.from(arg.serializeBinary());
104
+ }
105
+
106
+ function deserialize_UpdateLineOfApprovalDelegationRequest(buffer_arg) {
107
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.UpdateLineOfApprovalDelegationRequest.deserializeBinary(new Uint8Array(buffer_arg));
108
+ }
109
+
110
+ function serialize_UpdateLineOfApprovalDelegationResponse(arg) {
111
+ if (!(arg instanceof prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.UpdateLineOfApprovalDelegationResponse)) {
112
+ throw new Error('Expected argument of type UpdateLineOfApprovalDelegationResponse');
113
+ }
114
+ return Buffer.from(arg.serializeBinary());
115
+ }
116
+
117
+ function deserialize_UpdateLineOfApprovalDelegationResponse(buffer_arg) {
118
+ return prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.UpdateLineOfApprovalDelegationResponse.deserializeBinary(new Uint8Array(buffer_arg));
119
+ }
120
+
121
+
122
+ var LineOfApprovalDelegationServiceService = exports.LineOfApprovalDelegationServiceService = {
123
+ createLineOfApprovalDelegation: {
124
+ path: '/LineOfApprovalDelegationService/CreateLineOfApprovalDelegation',
125
+ requestStream: false,
126
+ responseStream: false,
127
+ requestType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.CreateLineOfApprovalDelegationRequest,
128
+ responseType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.CreateLineOfApprovalDelegationResponse,
129
+ requestSerialize: serialize_CreateLineOfApprovalDelegationRequest,
130
+ requestDeserialize: deserialize_CreateLineOfApprovalDelegationRequest,
131
+ responseSerialize: serialize_CreateLineOfApprovalDelegationResponse,
132
+ responseDeserialize: deserialize_CreateLineOfApprovalDelegationResponse,
133
+ },
134
+ updateLineOfApprovalDelegation: {
135
+ path: '/LineOfApprovalDelegationService/UpdateLineOfApprovalDelegation',
136
+ requestStream: false,
137
+ responseStream: false,
138
+ requestType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.UpdateLineOfApprovalDelegationRequest,
139
+ responseType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.UpdateLineOfApprovalDelegationResponse,
140
+ requestSerialize: serialize_UpdateLineOfApprovalDelegationRequest,
141
+ requestDeserialize: deserialize_UpdateLineOfApprovalDelegationRequest,
142
+ responseSerialize: serialize_UpdateLineOfApprovalDelegationResponse,
143
+ responseDeserialize: deserialize_UpdateLineOfApprovalDelegationResponse,
144
+ },
145
+ deleteLineOfApprovalDelegation: {
146
+ path: '/LineOfApprovalDelegationService/DeleteLineOfApprovalDelegation',
147
+ requestStream: false,
148
+ responseStream: false,
149
+ requestType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.DeleteLineOfApprovalDelegationRequest,
150
+ responseType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.DeleteLineOfApprovalDelegationResponse,
151
+ requestSerialize: serialize_DeleteLineOfApprovalDelegationRequest,
152
+ requestDeserialize: deserialize_DeleteLineOfApprovalDelegationRequest,
153
+ responseSerialize: serialize_DeleteLineOfApprovalDelegationResponse,
154
+ responseDeserialize: deserialize_DeleteLineOfApprovalDelegationResponse,
155
+ },
156
+ getLineOfApprovalDelegationById: {
157
+ path: '/LineOfApprovalDelegationService/GetLineOfApprovalDelegationById',
158
+ requestStream: false,
159
+ responseStream: false,
160
+ requestType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetLineOfApprovalDelegationByIdRequest,
161
+ responseType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetLineOfApprovalDelegationByIdResponse,
162
+ requestSerialize: serialize_GetLineOfApprovalDelegationByIdRequest,
163
+ requestDeserialize: deserialize_GetLineOfApprovalDelegationByIdRequest,
164
+ responseSerialize: serialize_GetLineOfApprovalDelegationByIdResponse,
165
+ responseDeserialize: deserialize_GetLineOfApprovalDelegationByIdResponse,
166
+ },
167
+ getListLineOfApprovalDelegations: {
168
+ path: '/LineOfApprovalDelegationService/GetListLineOfApprovalDelegations',
169
+ requestStream: false,
170
+ responseStream: false,
171
+ requestType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetListLineOfApprovalDelegationRequest,
172
+ responseType: prisca_v1_core_line_of_approval_delegation_line_of_approval_delegation_pb.GetListLineOfApprovalDelegationResponse,
173
+ requestSerialize: serialize_GetListLineOfApprovalDelegationRequest,
174
+ requestDeserialize: deserialize_GetListLineOfApprovalDelegationRequest,
175
+ responseSerialize: serialize_GetListLineOfApprovalDelegationResponse,
176
+ responseDeserialize: deserialize_GetListLineOfApprovalDelegationResponse,
177
+ },
178
+ };
179
+
180
+ exports.LineOfApprovalDelegationServiceClient = grpc.makeGenericClientConstructor(LineOfApprovalDelegationServiceService, 'LineOfApprovalDelegationService');