@aldiokta/protocgen 1.0.76 → 1.0.78
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 +63 -63
- package/prisca/v1/core/employee/employee_pb.js +604 -604
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +19 -19
- package/prisca/v1/core/file_upload/file_upload_pb.js +128 -128
- 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_pb.js +14 -14
package/package.json
CHANGED
|
@@ -12,194 +12,194 @@ 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_CreateEmployeeDefaultRequest(arg) {
|
|
16
16
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.CreateEmployeeDefaultRequest)) {
|
|
17
|
-
throw new Error('Expected argument of type
|
|
17
|
+
throw new Error('Expected argument of type CreateEmployeeDefaultRequest');
|
|
18
18
|
}
|
|
19
19
|
return Buffer.from(arg.serializeBinary());
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
function
|
|
22
|
+
function deserialize_CreateEmployeeDefaultRequest(buffer_arg) {
|
|
23
23
|
return prisca_v1_core_employee_employee_pb.CreateEmployeeDefaultRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
function
|
|
26
|
+
function serialize_CreateEmployeeRequest(arg) {
|
|
27
27
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.CreateEmployeeRequest)) {
|
|
28
|
-
throw new Error('Expected argument of type
|
|
28
|
+
throw new Error('Expected argument of type CreateEmployeeRequest');
|
|
29
29
|
}
|
|
30
30
|
return Buffer.from(arg.serializeBinary());
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
function
|
|
33
|
+
function deserialize_CreateEmployeeRequest(buffer_arg) {
|
|
34
34
|
return prisca_v1_core_employee_employee_pb.CreateEmployeeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
function
|
|
37
|
+
function serialize_CreateEmployeeResponse(arg) {
|
|
38
38
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.CreateEmployeeResponse)) {
|
|
39
|
-
throw new Error('Expected argument of type
|
|
39
|
+
throw new Error('Expected argument of type CreateEmployeeResponse');
|
|
40
40
|
}
|
|
41
41
|
return Buffer.from(arg.serializeBinary());
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
function deserialize_CreateEmployeeResponse(buffer_arg) {
|
|
45
45
|
return prisca_v1_core_employee_employee_pb.CreateEmployeeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
function
|
|
48
|
+
function serialize_DeleteEmployeeRequest(arg) {
|
|
49
49
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.DeleteEmployeeRequest)) {
|
|
50
|
-
throw new Error('Expected argument of type
|
|
50
|
+
throw new Error('Expected argument of type DeleteEmployeeRequest');
|
|
51
51
|
}
|
|
52
52
|
return Buffer.from(arg.serializeBinary());
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
function
|
|
55
|
+
function deserialize_DeleteEmployeeRequest(buffer_arg) {
|
|
56
56
|
return prisca_v1_core_employee_employee_pb.DeleteEmployeeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
function
|
|
59
|
+
function serialize_DeleteEmployeeResponse(arg) {
|
|
60
60
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.DeleteEmployeeResponse)) {
|
|
61
|
-
throw new Error('Expected argument of type
|
|
61
|
+
throw new Error('Expected argument of type DeleteEmployeeResponse');
|
|
62
62
|
}
|
|
63
63
|
return Buffer.from(arg.serializeBinary());
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
function
|
|
66
|
+
function deserialize_DeleteEmployeeResponse(buffer_arg) {
|
|
67
67
|
return prisca_v1_core_employee_employee_pb.DeleteEmployeeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
function
|
|
70
|
+
function serialize_EmployeeGetByIdResponse(arg) {
|
|
71
71
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.EmployeeGetByIdResponse)) {
|
|
72
|
-
throw new Error('Expected argument of type
|
|
72
|
+
throw new Error('Expected argument of type EmployeeGetByIdResponse');
|
|
73
73
|
}
|
|
74
74
|
return Buffer.from(arg.serializeBinary());
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
function
|
|
77
|
+
function deserialize_EmployeeGetByIdResponse(buffer_arg) {
|
|
78
78
|
return prisca_v1_core_employee_employee_pb.EmployeeGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
function
|
|
81
|
+
function serialize_GetEmployeeByIdRequest(arg) {
|
|
82
82
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.GetEmployeeByIdRequest)) {
|
|
83
|
-
throw new Error('Expected argument of type
|
|
83
|
+
throw new Error('Expected argument of type GetEmployeeByIdRequest');
|
|
84
84
|
}
|
|
85
85
|
return Buffer.from(arg.serializeBinary());
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
function
|
|
88
|
+
function deserialize_GetEmployeeByIdRequest(buffer_arg) {
|
|
89
89
|
return prisca_v1_core_employee_employee_pb.GetEmployeeByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
function
|
|
92
|
+
function serialize_GetListEmployeeRequest(arg) {
|
|
93
93
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.GetListEmployeeRequest)) {
|
|
94
|
-
throw new Error('Expected argument of type
|
|
94
|
+
throw new Error('Expected argument of type GetListEmployeeRequest');
|
|
95
95
|
}
|
|
96
96
|
return Buffer.from(arg.serializeBinary());
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
function
|
|
99
|
+
function deserialize_GetListEmployeeRequest(buffer_arg) {
|
|
100
100
|
return prisca_v1_core_employee_employee_pb.GetListEmployeeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
function
|
|
103
|
+
function serialize_GetListEmployeeResponse(arg) {
|
|
104
104
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.GetListEmployeeResponse)) {
|
|
105
|
-
throw new Error('Expected argument of type
|
|
105
|
+
throw new Error('Expected argument of type GetListEmployeeResponse');
|
|
106
106
|
}
|
|
107
107
|
return Buffer.from(arg.serializeBinary());
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
function
|
|
110
|
+
function deserialize_GetListEmployeeResponse(buffer_arg) {
|
|
111
111
|
return prisca_v1_core_employee_employee_pb.GetListEmployeeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
function
|
|
114
|
+
function serialize_UpdateEmployeeRequest(arg) {
|
|
115
115
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.UpdateEmployeeRequest)) {
|
|
116
|
-
throw new Error('Expected argument of type
|
|
116
|
+
throw new Error('Expected argument of type UpdateEmployeeRequest');
|
|
117
117
|
}
|
|
118
118
|
return Buffer.from(arg.serializeBinary());
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
function
|
|
121
|
+
function deserialize_UpdateEmployeeRequest(buffer_arg) {
|
|
122
122
|
return prisca_v1_core_employee_employee_pb.UpdateEmployeeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
function
|
|
125
|
+
function serialize_UpdateEmployeeResponse(arg) {
|
|
126
126
|
if (!(arg instanceof prisca_v1_core_employee_employee_pb.UpdateEmployeeResponse)) {
|
|
127
|
-
throw new Error('Expected argument of type
|
|
127
|
+
throw new Error('Expected argument of type UpdateEmployeeResponse');
|
|
128
128
|
}
|
|
129
129
|
return Buffer.from(arg.serializeBinary());
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
function
|
|
132
|
+
function deserialize_UpdateEmployeeResponse(buffer_arg) {
|
|
133
133
|
return prisca_v1_core_employee_employee_pb.UpdateEmployeeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
var EmployeeServiceService = exports.EmployeeServiceService = {
|
|
138
138
|
createEmployee: {
|
|
139
|
-
path: '/
|
|
139
|
+
path: '/EmployeeService/CreateEmployee',
|
|
140
140
|
requestStream: false,
|
|
141
141
|
responseStream: false,
|
|
142
142
|
requestType: prisca_v1_core_employee_employee_pb.CreateEmployeeRequest,
|
|
143
143
|
responseType: prisca_v1_core_employee_employee_pb.CreateEmployeeResponse,
|
|
144
|
-
requestSerialize:
|
|
145
|
-
requestDeserialize:
|
|
146
|
-
responseSerialize:
|
|
147
|
-
responseDeserialize:
|
|
144
|
+
requestSerialize: serialize_CreateEmployeeRequest,
|
|
145
|
+
requestDeserialize: deserialize_CreateEmployeeRequest,
|
|
146
|
+
responseSerialize: serialize_CreateEmployeeResponse,
|
|
147
|
+
responseDeserialize: deserialize_CreateEmployeeResponse,
|
|
148
148
|
},
|
|
149
149
|
createEmployeeDefault: {
|
|
150
|
-
path: '/
|
|
150
|
+
path: '/EmployeeService/CreateEmployeeDefault',
|
|
151
151
|
requestStream: false,
|
|
152
152
|
responseStream: false,
|
|
153
153
|
requestType: prisca_v1_core_employee_employee_pb.CreateEmployeeDefaultRequest,
|
|
154
154
|
responseType: prisca_v1_core_employee_employee_pb.CreateEmployeeResponse,
|
|
155
|
-
requestSerialize:
|
|
156
|
-
requestDeserialize:
|
|
157
|
-
responseSerialize:
|
|
158
|
-
responseDeserialize:
|
|
155
|
+
requestSerialize: serialize_CreateEmployeeDefaultRequest,
|
|
156
|
+
requestDeserialize: deserialize_CreateEmployeeDefaultRequest,
|
|
157
|
+
responseSerialize: serialize_CreateEmployeeResponse,
|
|
158
|
+
responseDeserialize: deserialize_CreateEmployeeResponse,
|
|
159
159
|
},
|
|
160
160
|
getEmployeeById: {
|
|
161
|
-
path: '/
|
|
161
|
+
path: '/EmployeeService/GetEmployeeById',
|
|
162
162
|
requestStream: false,
|
|
163
163
|
responseStream: false,
|
|
164
164
|
requestType: prisca_v1_core_employee_employee_pb.GetEmployeeByIdRequest,
|
|
165
165
|
responseType: prisca_v1_core_employee_employee_pb.EmployeeGetByIdResponse,
|
|
166
|
-
requestSerialize:
|
|
167
|
-
requestDeserialize:
|
|
168
|
-
responseSerialize:
|
|
169
|
-
responseDeserialize:
|
|
166
|
+
requestSerialize: serialize_GetEmployeeByIdRequest,
|
|
167
|
+
requestDeserialize: deserialize_GetEmployeeByIdRequest,
|
|
168
|
+
responseSerialize: serialize_EmployeeGetByIdResponse,
|
|
169
|
+
responseDeserialize: deserialize_EmployeeGetByIdResponse,
|
|
170
170
|
},
|
|
171
171
|
updateEmployee: {
|
|
172
|
-
path: '/
|
|
172
|
+
path: '/EmployeeService/UpdateEmployee',
|
|
173
173
|
requestStream: false,
|
|
174
174
|
responseStream: false,
|
|
175
175
|
requestType: prisca_v1_core_employee_employee_pb.UpdateEmployeeRequest,
|
|
176
176
|
responseType: prisca_v1_core_employee_employee_pb.UpdateEmployeeResponse,
|
|
177
|
-
requestSerialize:
|
|
178
|
-
requestDeserialize:
|
|
179
|
-
responseSerialize:
|
|
180
|
-
responseDeserialize:
|
|
177
|
+
requestSerialize: serialize_UpdateEmployeeRequest,
|
|
178
|
+
requestDeserialize: deserialize_UpdateEmployeeRequest,
|
|
179
|
+
responseSerialize: serialize_UpdateEmployeeResponse,
|
|
180
|
+
responseDeserialize: deserialize_UpdateEmployeeResponse,
|
|
181
181
|
},
|
|
182
182
|
getListEmployee: {
|
|
183
|
-
path: '/
|
|
183
|
+
path: '/EmployeeService/GetListEmployee',
|
|
184
184
|
requestStream: false,
|
|
185
185
|
responseStream: false,
|
|
186
186
|
requestType: prisca_v1_core_employee_employee_pb.GetListEmployeeRequest,
|
|
187
187
|
responseType: prisca_v1_core_employee_employee_pb.GetListEmployeeResponse,
|
|
188
|
-
requestSerialize:
|
|
189
|
-
requestDeserialize:
|
|
190
|
-
responseSerialize:
|
|
191
|
-
responseDeserialize:
|
|
188
|
+
requestSerialize: serialize_GetListEmployeeRequest,
|
|
189
|
+
requestDeserialize: deserialize_GetListEmployeeRequest,
|
|
190
|
+
responseSerialize: serialize_GetListEmployeeResponse,
|
|
191
|
+
responseDeserialize: deserialize_GetListEmployeeResponse,
|
|
192
192
|
},
|
|
193
193
|
deleteEmployee: {
|
|
194
|
-
path: '/
|
|
194
|
+
path: '/EmployeeService/DeleteEmployee',
|
|
195
195
|
requestStream: false,
|
|
196
196
|
responseStream: false,
|
|
197
197
|
requestType: prisca_v1_core_employee_employee_pb.DeleteEmployeeRequest,
|
|
198
198
|
responseType: prisca_v1_core_employee_employee_pb.DeleteEmployeeResponse,
|
|
199
|
-
requestSerialize:
|
|
200
|
-
requestDeserialize:
|
|
201
|
-
responseSerialize:
|
|
202
|
-
responseDeserialize:
|
|
199
|
+
requestSerialize: serialize_DeleteEmployeeRequest,
|
|
200
|
+
requestDeserialize: deserialize_DeleteEmployeeRequest,
|
|
201
|
+
responseSerialize: serialize_DeleteEmployeeResponse,
|
|
202
|
+
responseDeserialize: deserialize_DeleteEmployeeResponse,
|
|
203
203
|
},
|
|
204
204
|
};
|
|
205
205
|
|