@aldiokta/protocgen 1.0.60 → 1.0.61
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/core/line_of_approval/line_of_approval_grpc_pb.js +1 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +116 -33
- package/prisca/v1/core/material_type/material_type_pb.js +136 -25
- package/prisca/v1/core/messaging/email_template_pb.js +6 -6
- package/prisca/v1/core/report/report_grpc_pb.js +178 -0
- package/prisca/v1/core/report/report_pb.js +2642 -0
- package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
- package/prisca/v1/core/report/user_report_pb.js +2516 -0
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +55 -55
- package/prisca/v1/core/tax_code/tax_code_pb.js +402 -402
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +132 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +2556 -941
|
@@ -5,172 +5,172 @@ var grpc = require('@grpc/grpc-js');
|
|
|
5
5
|
var prisca_v1_core_tax_code_tax_code_pb = require('../../../../prisca/v1/core/tax_code/tax_code_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
7
|
|
|
8
|
-
function
|
|
8
|
+
function serialize_CreateTaxCodeRequest(arg) {
|
|
9
9
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.CreateTaxCodeRequest)) {
|
|
10
|
-
throw new Error('Expected argument of type
|
|
10
|
+
throw new Error('Expected argument of type CreateTaxCodeRequest');
|
|
11
11
|
}
|
|
12
12
|
return Buffer.from(arg.serializeBinary());
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
function
|
|
15
|
+
function deserialize_CreateTaxCodeRequest(buffer_arg) {
|
|
16
16
|
return prisca_v1_core_tax_code_tax_code_pb.CreateTaxCodeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
function
|
|
19
|
+
function serialize_CreateTaxCodeResponse(arg) {
|
|
20
20
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.CreateTaxCodeResponse)) {
|
|
21
|
-
throw new Error('Expected argument of type
|
|
21
|
+
throw new Error('Expected argument of type CreateTaxCodeResponse');
|
|
22
22
|
}
|
|
23
23
|
return Buffer.from(arg.serializeBinary());
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
function
|
|
26
|
+
function deserialize_CreateTaxCodeResponse(buffer_arg) {
|
|
27
27
|
return prisca_v1_core_tax_code_tax_code_pb.CreateTaxCodeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
function
|
|
30
|
+
function serialize_DeleteTaxCodeRequest(arg) {
|
|
31
31
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.DeleteTaxCodeRequest)) {
|
|
32
|
-
throw new Error('Expected argument of type
|
|
32
|
+
throw new Error('Expected argument of type DeleteTaxCodeRequest');
|
|
33
33
|
}
|
|
34
34
|
return Buffer.from(arg.serializeBinary());
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
function
|
|
37
|
+
function deserialize_DeleteTaxCodeRequest(buffer_arg) {
|
|
38
38
|
return prisca_v1_core_tax_code_tax_code_pb.DeleteTaxCodeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
function
|
|
41
|
+
function serialize_DeleteTaxCodeResponse(arg) {
|
|
42
42
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.DeleteTaxCodeResponse)) {
|
|
43
|
-
throw new Error('Expected argument of type
|
|
43
|
+
throw new Error('Expected argument of type DeleteTaxCodeResponse');
|
|
44
44
|
}
|
|
45
45
|
return Buffer.from(arg.serializeBinary());
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
function
|
|
48
|
+
function deserialize_DeleteTaxCodeResponse(buffer_arg) {
|
|
49
49
|
return prisca_v1_core_tax_code_tax_code_pb.DeleteTaxCodeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
function
|
|
52
|
+
function serialize_GetListTaxCodeRequest(arg) {
|
|
53
53
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.GetListTaxCodeRequest)) {
|
|
54
|
-
throw new Error('Expected argument of type
|
|
54
|
+
throw new Error('Expected argument of type GetListTaxCodeRequest');
|
|
55
55
|
}
|
|
56
56
|
return Buffer.from(arg.serializeBinary());
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function deserialize_GetListTaxCodeRequest(buffer_arg) {
|
|
60
60
|
return prisca_v1_core_tax_code_tax_code_pb.GetListTaxCodeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
function
|
|
63
|
+
function serialize_GetListTaxCodeResponse(arg) {
|
|
64
64
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.GetListTaxCodeResponse)) {
|
|
65
|
-
throw new Error('Expected argument of type
|
|
65
|
+
throw new Error('Expected argument of type GetListTaxCodeResponse');
|
|
66
66
|
}
|
|
67
67
|
return Buffer.from(arg.serializeBinary());
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
function
|
|
70
|
+
function deserialize_GetListTaxCodeResponse(buffer_arg) {
|
|
71
71
|
return prisca_v1_core_tax_code_tax_code_pb.GetListTaxCodeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
function
|
|
74
|
+
function serialize_GetTaxCodeByIdRequest(arg) {
|
|
75
75
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.GetTaxCodeByIdRequest)) {
|
|
76
|
-
throw new Error('Expected argument of type
|
|
76
|
+
throw new Error('Expected argument of type GetTaxCodeByIdRequest');
|
|
77
77
|
}
|
|
78
78
|
return Buffer.from(arg.serializeBinary());
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
function
|
|
81
|
+
function deserialize_GetTaxCodeByIdRequest(buffer_arg) {
|
|
82
82
|
return prisca_v1_core_tax_code_tax_code_pb.GetTaxCodeByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
function
|
|
85
|
+
function serialize_GetTaxCodeByIdResponse(arg) {
|
|
86
86
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.GetTaxCodeByIdResponse)) {
|
|
87
|
-
throw new Error('Expected argument of type
|
|
87
|
+
throw new Error('Expected argument of type GetTaxCodeByIdResponse');
|
|
88
88
|
}
|
|
89
89
|
return Buffer.from(arg.serializeBinary());
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
function
|
|
92
|
+
function deserialize_GetTaxCodeByIdResponse(buffer_arg) {
|
|
93
93
|
return prisca_v1_core_tax_code_tax_code_pb.GetTaxCodeByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function
|
|
96
|
+
function serialize_UpdateTaxCodeRequest(arg) {
|
|
97
97
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.UpdateTaxCodeRequest)) {
|
|
98
|
-
throw new Error('Expected argument of type
|
|
98
|
+
throw new Error('Expected argument of type UpdateTaxCodeRequest');
|
|
99
99
|
}
|
|
100
100
|
return Buffer.from(arg.serializeBinary());
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
function
|
|
103
|
+
function deserialize_UpdateTaxCodeRequest(buffer_arg) {
|
|
104
104
|
return prisca_v1_core_tax_code_tax_code_pb.UpdateTaxCodeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
function
|
|
107
|
+
function serialize_UpdateTaxCodeResponse(arg) {
|
|
108
108
|
if (!(arg instanceof prisca_v1_core_tax_code_tax_code_pb.UpdateTaxCodeResponse)) {
|
|
109
|
-
throw new Error('Expected argument of type
|
|
109
|
+
throw new Error('Expected argument of type UpdateTaxCodeResponse');
|
|
110
110
|
}
|
|
111
111
|
return Buffer.from(arg.serializeBinary());
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
function
|
|
114
|
+
function deserialize_UpdateTaxCodeResponse(buffer_arg) {
|
|
115
115
|
return prisca_v1_core_tax_code_tax_code_pb.UpdateTaxCodeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
var TaxCodeServiceService = exports.TaxCodeServiceService = {
|
|
120
120
|
createTaxCode: {
|
|
121
|
-
path: '/
|
|
121
|
+
path: '/TaxCodeService/CreateTaxCode',
|
|
122
122
|
requestStream: false,
|
|
123
123
|
responseStream: false,
|
|
124
124
|
requestType: prisca_v1_core_tax_code_tax_code_pb.CreateTaxCodeRequest,
|
|
125
125
|
responseType: prisca_v1_core_tax_code_tax_code_pb.CreateTaxCodeResponse,
|
|
126
|
-
requestSerialize:
|
|
127
|
-
requestDeserialize:
|
|
128
|
-
responseSerialize:
|
|
129
|
-
responseDeserialize:
|
|
126
|
+
requestSerialize: serialize_CreateTaxCodeRequest,
|
|
127
|
+
requestDeserialize: deserialize_CreateTaxCodeRequest,
|
|
128
|
+
responseSerialize: serialize_CreateTaxCodeResponse,
|
|
129
|
+
responseDeserialize: deserialize_CreateTaxCodeResponse,
|
|
130
130
|
},
|
|
131
131
|
updateTaxCode: {
|
|
132
|
-
path: '/
|
|
132
|
+
path: '/TaxCodeService/UpdateTaxCode',
|
|
133
133
|
requestStream: false,
|
|
134
134
|
responseStream: false,
|
|
135
135
|
requestType: prisca_v1_core_tax_code_tax_code_pb.UpdateTaxCodeRequest,
|
|
136
136
|
responseType: prisca_v1_core_tax_code_tax_code_pb.UpdateTaxCodeResponse,
|
|
137
|
-
requestSerialize:
|
|
138
|
-
requestDeserialize:
|
|
139
|
-
responseSerialize:
|
|
140
|
-
responseDeserialize:
|
|
137
|
+
requestSerialize: serialize_UpdateTaxCodeRequest,
|
|
138
|
+
requestDeserialize: deserialize_UpdateTaxCodeRequest,
|
|
139
|
+
responseSerialize: serialize_UpdateTaxCodeResponse,
|
|
140
|
+
responseDeserialize: deserialize_UpdateTaxCodeResponse,
|
|
141
141
|
},
|
|
142
142
|
getTaxCodeById: {
|
|
143
|
-
path: '/
|
|
143
|
+
path: '/TaxCodeService/GetTaxCodeById',
|
|
144
144
|
requestStream: false,
|
|
145
145
|
responseStream: false,
|
|
146
146
|
requestType: prisca_v1_core_tax_code_tax_code_pb.GetTaxCodeByIdRequest,
|
|
147
147
|
responseType: prisca_v1_core_tax_code_tax_code_pb.GetTaxCodeByIdResponse,
|
|
148
|
-
requestSerialize:
|
|
149
|
-
requestDeserialize:
|
|
150
|
-
responseSerialize:
|
|
151
|
-
responseDeserialize:
|
|
148
|
+
requestSerialize: serialize_GetTaxCodeByIdRequest,
|
|
149
|
+
requestDeserialize: deserialize_GetTaxCodeByIdRequest,
|
|
150
|
+
responseSerialize: serialize_GetTaxCodeByIdResponse,
|
|
151
|
+
responseDeserialize: deserialize_GetTaxCodeByIdResponse,
|
|
152
152
|
},
|
|
153
153
|
getListTaxCode: {
|
|
154
|
-
path: '/
|
|
154
|
+
path: '/TaxCodeService/GetListTaxCode',
|
|
155
155
|
requestStream: false,
|
|
156
156
|
responseStream: false,
|
|
157
157
|
requestType: prisca_v1_core_tax_code_tax_code_pb.GetListTaxCodeRequest,
|
|
158
158
|
responseType: prisca_v1_core_tax_code_tax_code_pb.GetListTaxCodeResponse,
|
|
159
|
-
requestSerialize:
|
|
160
|
-
requestDeserialize:
|
|
161
|
-
responseSerialize:
|
|
162
|
-
responseDeserialize:
|
|
159
|
+
requestSerialize: serialize_GetListTaxCodeRequest,
|
|
160
|
+
requestDeserialize: deserialize_GetListTaxCodeRequest,
|
|
161
|
+
responseSerialize: serialize_GetListTaxCodeResponse,
|
|
162
|
+
responseDeserialize: deserialize_GetListTaxCodeResponse,
|
|
163
163
|
},
|
|
164
164
|
deleteTaxCode: {
|
|
165
|
-
path: '/
|
|
165
|
+
path: '/TaxCodeService/DeleteTaxCode',
|
|
166
166
|
requestStream: false,
|
|
167
167
|
responseStream: false,
|
|
168
168
|
requestType: prisca_v1_core_tax_code_tax_code_pb.DeleteTaxCodeRequest,
|
|
169
169
|
responseType: prisca_v1_core_tax_code_tax_code_pb.DeleteTaxCodeResponse,
|
|
170
|
-
requestSerialize:
|
|
171
|
-
requestDeserialize:
|
|
172
|
-
responseSerialize:
|
|
173
|
-
responseDeserialize:
|
|
170
|
+
requestSerialize: serialize_DeleteTaxCodeRequest,
|
|
171
|
+
requestDeserialize: deserialize_DeleteTaxCodeRequest,
|
|
172
|
+
responseSerialize: serialize_DeleteTaxCodeResponse,
|
|
173
|
+
responseDeserialize: deserialize_DeleteTaxCodeResponse,
|
|
174
174
|
},
|
|
175
175
|
};
|
|
176
176
|
|