@aldiokta/protocgen 1.0.71 → 1.0.72
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/employee/employee_grpc_pb.js +55 -55
- package/prisca/v1/core/employee/employee_pb.js +540 -540
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +4 -4
- package/prisca/v1/core/material/material_pb.js +8 -8
- package/prisca/v1/core/material_group/material_group_pb.js +8 -8
- package/prisca/v1/core/material_type/material_type_pb.js +8 -8
- package/prisca/v1/core/number_range/number_range_pb.js +8 -8
- package/prisca/v1/core/workflow/workflow_pb.js +15 -15
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +1 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +94 -2
package/package.json
CHANGED
|
@@ -12,172 +12,172 @@ var prisca_v1_core_job_title_job_title_pb = require('../../../../prisca/v1/core/
|
|
|
12
12
|
var prisca_v1_core_location_location_pb = require('../../../../prisca/v1/core/location/location_pb.js');
|
|
13
13
|
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
14
14
|
|
|
15
|
-
function
|
|
15
|
+
function serialize_prisca_v1_core_employee_CreateEmployeeRequest(arg) {
|
|
16
16
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.CreateEmployeeRequest)) {
|
|
17
|
-
throw new Error('Expected argument of type CreateEmployeeRequest');
|
|
17
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.CreateEmployeeRequest');
|
|
18
18
|
}
|
|
19
19
|
return Buffer.from(arg.serializeBinary());
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
function
|
|
22
|
+
function deserialize_prisca_v1_core_employee_CreateEmployeeRequest(buffer_arg) {
|
|
23
23
|
return prisca_v1_core_employee_employee_pb.CreateEmployeeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
function
|
|
26
|
+
function serialize_prisca_v1_core_employee_CreateEmployeeResponse(arg) {
|
|
27
27
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.CreateEmployeeResponse)) {
|
|
28
|
-
throw new Error('Expected argument of type CreateEmployeeResponse');
|
|
28
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.CreateEmployeeResponse');
|
|
29
29
|
}
|
|
30
30
|
return Buffer.from(arg.serializeBinary());
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
function
|
|
33
|
+
function deserialize_prisca_v1_core_employee_CreateEmployeeResponse(buffer_arg) {
|
|
34
34
|
return prisca_v1_core_employee_employee_pb.CreateEmployeeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
function
|
|
37
|
+
function serialize_prisca_v1_core_employee_DeleteEmployeeRequest(arg) {
|
|
38
38
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.DeleteEmployeeRequest)) {
|
|
39
|
-
throw new Error('Expected argument of type DeleteEmployeeRequest');
|
|
39
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.DeleteEmployeeRequest');
|
|
40
40
|
}
|
|
41
41
|
return Buffer.from(arg.serializeBinary());
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
function deserialize_prisca_v1_core_employee_DeleteEmployeeRequest(buffer_arg) {
|
|
45
45
|
return prisca_v1_core_employee_employee_pb.DeleteEmployeeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
function
|
|
48
|
+
function serialize_prisca_v1_core_employee_DeleteEmployeeResponse(arg) {
|
|
49
49
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.DeleteEmployeeResponse)) {
|
|
50
|
-
throw new Error('Expected argument of type DeleteEmployeeResponse');
|
|
50
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.DeleteEmployeeResponse');
|
|
51
51
|
}
|
|
52
52
|
return Buffer.from(arg.serializeBinary());
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
function
|
|
55
|
+
function deserialize_prisca_v1_core_employee_DeleteEmployeeResponse(buffer_arg) {
|
|
56
56
|
return prisca_v1_core_employee_employee_pb.DeleteEmployeeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function serialize_prisca_v1_core_employee_EmployeeGetByIdResponse(arg) {
|
|
60
60
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.EmployeeGetByIdResponse)) {
|
|
61
|
-
throw new Error('Expected argument of type EmployeeGetByIdResponse');
|
|
61
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.EmployeeGetByIdResponse');
|
|
62
62
|
}
|
|
63
63
|
return Buffer.from(arg.serializeBinary());
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
function
|
|
66
|
+
function deserialize_prisca_v1_core_employee_EmployeeGetByIdResponse(buffer_arg) {
|
|
67
67
|
return prisca_v1_core_employee_employee_pb.EmployeeGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
function
|
|
70
|
+
function serialize_prisca_v1_core_employee_GetEmployeeByIdRequest(arg) {
|
|
71
71
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.GetEmployeeByIdRequest)) {
|
|
72
|
-
throw new Error('Expected argument of type GetEmployeeByIdRequest');
|
|
72
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.GetEmployeeByIdRequest');
|
|
73
73
|
}
|
|
74
74
|
return Buffer.from(arg.serializeBinary());
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
function
|
|
77
|
+
function deserialize_prisca_v1_core_employee_GetEmployeeByIdRequest(buffer_arg) {
|
|
78
78
|
return prisca_v1_core_employee_employee_pb.GetEmployeeByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
function
|
|
81
|
+
function serialize_prisca_v1_core_employee_GetListEmployeeRequest(arg) {
|
|
82
82
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.GetListEmployeeRequest)) {
|
|
83
|
-
throw new Error('Expected argument of type GetListEmployeeRequest');
|
|
83
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.GetListEmployeeRequest');
|
|
84
84
|
}
|
|
85
85
|
return Buffer.from(arg.serializeBinary());
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
function
|
|
88
|
+
function deserialize_prisca_v1_core_employee_GetListEmployeeRequest(buffer_arg) {
|
|
89
89
|
return prisca_v1_core_employee_employee_pb.GetListEmployeeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
function
|
|
92
|
+
function serialize_prisca_v1_core_employee_GetListEmployeeResponse(arg) {
|
|
93
93
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.GetListEmployeeResponse)) {
|
|
94
|
-
throw new Error('Expected argument of type GetListEmployeeResponse');
|
|
94
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.GetListEmployeeResponse');
|
|
95
95
|
}
|
|
96
96
|
return Buffer.from(arg.serializeBinary());
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
function
|
|
99
|
+
function deserialize_prisca_v1_core_employee_GetListEmployeeResponse(buffer_arg) {
|
|
100
100
|
return prisca_v1_core_employee_employee_pb.GetListEmployeeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
function
|
|
103
|
+
function serialize_prisca_v1_core_employee_UpdateEmployeeRequest(arg) {
|
|
104
104
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.UpdateEmployeeRequest)) {
|
|
105
|
-
throw new Error('Expected argument of type UpdateEmployeeRequest');
|
|
105
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.UpdateEmployeeRequest');
|
|
106
106
|
}
|
|
107
107
|
return Buffer.from(arg.serializeBinary());
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
function
|
|
110
|
+
function deserialize_prisca_v1_core_employee_UpdateEmployeeRequest(buffer_arg) {
|
|
111
111
|
return prisca_v1_core_employee_employee_pb.UpdateEmployeeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
function
|
|
114
|
+
function serialize_prisca_v1_core_employee_UpdateEmployeeResponse(arg) {
|
|
115
115
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.UpdateEmployeeResponse)) {
|
|
116
|
-
throw new Error('Expected argument of type UpdateEmployeeResponse');
|
|
116
|
+
throw new Error('Expected argument of type prisca.v1.core.employee.UpdateEmployeeResponse');
|
|
117
117
|
}
|
|
118
118
|
return Buffer.from(arg.serializeBinary());
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
function
|
|
121
|
+
function deserialize_prisca_v1_core_employee_UpdateEmployeeResponse(buffer_arg) {
|
|
122
122
|
return prisca_v1_core_employee_employee_pb.UpdateEmployeeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
var EmployeeServiceService = exports.EmployeeServiceService = {
|
|
127
127
|
createEmployee: {
|
|
128
|
-
path: '/EmployeeService/CreateEmployee',
|
|
128
|
+
path: '/prisca.v1.core.employee.EmployeeService/CreateEmployee',
|
|
129
129
|
requestStream: false,
|
|
130
130
|
responseStream: false,
|
|
131
131
|
requestType: prisca_v1_core_employee_employee_pb.CreateEmployeeRequest,
|
|
132
132
|
responseType: prisca_v1_core_employee_employee_pb.CreateEmployeeResponse,
|
|
133
|
-
requestSerialize:
|
|
134
|
-
requestDeserialize:
|
|
135
|
-
responseSerialize:
|
|
136
|
-
responseDeserialize:
|
|
133
|
+
requestSerialize: serialize_prisca_v1_core_employee_CreateEmployeeRequest,
|
|
134
|
+
requestDeserialize: deserialize_prisca_v1_core_employee_CreateEmployeeRequest,
|
|
135
|
+
responseSerialize: serialize_prisca_v1_core_employee_CreateEmployeeResponse,
|
|
136
|
+
responseDeserialize: deserialize_prisca_v1_core_employee_CreateEmployeeResponse,
|
|
137
137
|
},
|
|
138
138
|
getEmployeeById: {
|
|
139
|
-
path: '/EmployeeService/GetEmployeeById',
|
|
139
|
+
path: '/prisca.v1.core.employee.EmployeeService/GetEmployeeById',
|
|
140
140
|
requestStream: false,
|
|
141
141
|
responseStream: false,
|
|
142
142
|
requestType: prisca_v1_core_employee_employee_pb.GetEmployeeByIdRequest,
|
|
143
143
|
responseType: prisca_v1_core_employee_employee_pb.EmployeeGetByIdResponse,
|
|
144
|
-
requestSerialize:
|
|
145
|
-
requestDeserialize:
|
|
146
|
-
responseSerialize:
|
|
147
|
-
responseDeserialize:
|
|
144
|
+
requestSerialize: serialize_prisca_v1_core_employee_GetEmployeeByIdRequest,
|
|
145
|
+
requestDeserialize: deserialize_prisca_v1_core_employee_GetEmployeeByIdRequest,
|
|
146
|
+
responseSerialize: serialize_prisca_v1_core_employee_EmployeeGetByIdResponse,
|
|
147
|
+
responseDeserialize: deserialize_prisca_v1_core_employee_EmployeeGetByIdResponse,
|
|
148
148
|
},
|
|
149
149
|
updateEmployee: {
|
|
150
|
-
path: '/EmployeeService/UpdateEmployee',
|
|
150
|
+
path: '/prisca.v1.core.employee.EmployeeService/UpdateEmployee',
|
|
151
151
|
requestStream: false,
|
|
152
152
|
responseStream: false,
|
|
153
153
|
requestType: prisca_v1_core_employee_employee_pb.UpdateEmployeeRequest,
|
|
154
154
|
responseType: prisca_v1_core_employee_employee_pb.UpdateEmployeeResponse,
|
|
155
|
-
requestSerialize:
|
|
156
|
-
requestDeserialize:
|
|
157
|
-
responseSerialize:
|
|
158
|
-
responseDeserialize:
|
|
155
|
+
requestSerialize: serialize_prisca_v1_core_employee_UpdateEmployeeRequest,
|
|
156
|
+
requestDeserialize: deserialize_prisca_v1_core_employee_UpdateEmployeeRequest,
|
|
157
|
+
responseSerialize: serialize_prisca_v1_core_employee_UpdateEmployeeResponse,
|
|
158
|
+
responseDeserialize: deserialize_prisca_v1_core_employee_UpdateEmployeeResponse,
|
|
159
159
|
},
|
|
160
160
|
getListEmployee: {
|
|
161
|
-
path: '/EmployeeService/GetListEmployee',
|
|
161
|
+
path: '/prisca.v1.core.employee.EmployeeService/GetListEmployee',
|
|
162
162
|
requestStream: false,
|
|
163
163
|
responseStream: false,
|
|
164
164
|
requestType: prisca_v1_core_employee_employee_pb.GetListEmployeeRequest,
|
|
165
165
|
responseType: prisca_v1_core_employee_employee_pb.GetListEmployeeResponse,
|
|
166
|
-
requestSerialize:
|
|
167
|
-
requestDeserialize:
|
|
168
|
-
responseSerialize:
|
|
169
|
-
responseDeserialize:
|
|
166
|
+
requestSerialize: serialize_prisca_v1_core_employee_GetListEmployeeRequest,
|
|
167
|
+
requestDeserialize: deserialize_prisca_v1_core_employee_GetListEmployeeRequest,
|
|
168
|
+
responseSerialize: serialize_prisca_v1_core_employee_GetListEmployeeResponse,
|
|
169
|
+
responseDeserialize: deserialize_prisca_v1_core_employee_GetListEmployeeResponse,
|
|
170
170
|
},
|
|
171
171
|
deleteEmployee: {
|
|
172
|
-
path: '/EmployeeService/DeleteEmployee',
|
|
172
|
+
path: '/prisca.v1.core.employee.EmployeeService/DeleteEmployee',
|
|
173
173
|
requestStream: false,
|
|
174
174
|
responseStream: false,
|
|
175
175
|
requestType: prisca_v1_core_employee_employee_pb.DeleteEmployeeRequest,
|
|
176
176
|
responseType: prisca_v1_core_employee_employee_pb.DeleteEmployeeResponse,
|
|
177
|
-
requestSerialize:
|
|
178
|
-
requestDeserialize:
|
|
179
|
-
responseSerialize:
|
|
180
|
-
responseDeserialize:
|
|
177
|
+
requestSerialize: serialize_prisca_v1_core_employee_DeleteEmployeeRequest,
|
|
178
|
+
requestDeserialize: deserialize_prisca_v1_core_employee_DeleteEmployeeRequest,
|
|
179
|
+
responseSerialize: serialize_prisca_v1_core_employee_DeleteEmployeeResponse,
|
|
180
|
+
responseDeserialize: deserialize_prisca_v1_core_employee_DeleteEmployeeResponse,
|
|
181
181
|
},
|
|
182
182
|
};
|
|
183
183
|
|