@aldiokta/protocgen 1.1.61 → 1.1.62
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/budget/budget_pb.js +211 -1
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +33 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +1199 -152
- package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
- package/prisca/v1/core/auth/auth_pb.js +115 -2
- package/prisca/v1/core/employee/employee_grpc_pb.js +22 -0
- package/prisca/v1/core/employee/employee_pb.js +214 -2
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +519 -10
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +22 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +303 -1
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/users/users_pb.js +31 -1
- package/prisca/v1/down_payment/down_payment_grpc_pb.js +201 -0
- package/prisca/v1/down_payment/down_payment_pb.js +3357 -0
- package/prisca/v1/general_configuration/general_configuration_grpc_pb.js +212 -0
- package/prisca/v1/general_configuration/general_configuration_pb.js +2886 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +77 -0
- package/prisca/v1/invoice/invoice_pb.js +2657 -434
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +34 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +2542 -57
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +743 -53
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +72 -12
- package/prisca/v1/webhook_builder/webhook_builder_grpc_pb.js +245 -0
- package/prisca/v1/webhook_builder/webhook_builder_pb.js +5084 -0
- package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_grpc_pb.js +245 -0
- package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_pb.js +3499 -0
- package/prisca/v1/webhook_integration/webhook_integration_grpc_pb.js +212 -0
- package/prisca/v1/webhook_integration/webhook_integration_pb.js +2976 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_general_configuration_general_configuration_pb = require('../../../prisca/v1/general_configuration/general_configuration_pb.js');
|
|
6
|
+
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
8
|
+
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
9
|
+
|
|
10
|
+
function serialize_CreateGeneralConfigurationRequest(arg) {
|
|
11
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.CreateGeneralConfigurationRequest)) {
|
|
12
|
+
throw new Error('Expected argument of type CreateGeneralConfigurationRequest');
|
|
13
|
+
}
|
|
14
|
+
return Buffer.from(arg.serializeBinary());
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function deserialize_CreateGeneralConfigurationRequest(buffer_arg) {
|
|
18
|
+
return prisca_v1_general_configuration_general_configuration_pb.CreateGeneralConfigurationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function serialize_CreateGeneralConfigurationResponse(arg) {
|
|
22
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.CreateGeneralConfigurationResponse)) {
|
|
23
|
+
throw new Error('Expected argument of type CreateGeneralConfigurationResponse');
|
|
24
|
+
}
|
|
25
|
+
return Buffer.from(arg.serializeBinary());
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function deserialize_CreateGeneralConfigurationResponse(buffer_arg) {
|
|
29
|
+
return prisca_v1_general_configuration_general_configuration_pb.CreateGeneralConfigurationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function serialize_DeleteBulkGeneralConfigurationRequest(arg) {
|
|
33
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.DeleteBulkGeneralConfigurationRequest)) {
|
|
34
|
+
throw new Error('Expected argument of type DeleteBulkGeneralConfigurationRequest');
|
|
35
|
+
}
|
|
36
|
+
return Buffer.from(arg.serializeBinary());
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function deserialize_DeleteBulkGeneralConfigurationRequest(buffer_arg) {
|
|
40
|
+
return prisca_v1_general_configuration_general_configuration_pb.DeleteBulkGeneralConfigurationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function serialize_DeleteBulkGeneralConfigurationResponse(arg) {
|
|
44
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.DeleteBulkGeneralConfigurationResponse)) {
|
|
45
|
+
throw new Error('Expected argument of type DeleteBulkGeneralConfigurationResponse');
|
|
46
|
+
}
|
|
47
|
+
return Buffer.from(arg.serializeBinary());
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function deserialize_DeleteBulkGeneralConfigurationResponse(buffer_arg) {
|
|
51
|
+
return prisca_v1_general_configuration_general_configuration_pb.DeleteBulkGeneralConfigurationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function serialize_DeleteGeneralConfigurationRequest(arg) {
|
|
55
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.DeleteGeneralConfigurationRequest)) {
|
|
56
|
+
throw new Error('Expected argument of type DeleteGeneralConfigurationRequest');
|
|
57
|
+
}
|
|
58
|
+
return Buffer.from(arg.serializeBinary());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function deserialize_DeleteGeneralConfigurationRequest(buffer_arg) {
|
|
62
|
+
return prisca_v1_general_configuration_general_configuration_pb.DeleteGeneralConfigurationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function serialize_DeleteGeneralConfigurationResponse(arg) {
|
|
66
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.DeleteGeneralConfigurationResponse)) {
|
|
67
|
+
throw new Error('Expected argument of type DeleteGeneralConfigurationResponse');
|
|
68
|
+
}
|
|
69
|
+
return Buffer.from(arg.serializeBinary());
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function deserialize_DeleteGeneralConfigurationResponse(buffer_arg) {
|
|
73
|
+
return prisca_v1_general_configuration_general_configuration_pb.DeleteGeneralConfigurationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function serialize_GeneralConfigurationGetByIdRequest(arg) {
|
|
77
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.GeneralConfigurationGetByIdRequest)) {
|
|
78
|
+
throw new Error('Expected argument of type GeneralConfigurationGetByIdRequest');
|
|
79
|
+
}
|
|
80
|
+
return Buffer.from(arg.serializeBinary());
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function deserialize_GeneralConfigurationGetByIdRequest(buffer_arg) {
|
|
84
|
+
return prisca_v1_general_configuration_general_configuration_pb.GeneralConfigurationGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function serialize_GeneralConfigurationGetByIdResponse(arg) {
|
|
88
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.GeneralConfigurationGetByIdResponse)) {
|
|
89
|
+
throw new Error('Expected argument of type GeneralConfigurationGetByIdResponse');
|
|
90
|
+
}
|
|
91
|
+
return Buffer.from(arg.serializeBinary());
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function deserialize_GeneralConfigurationGetByIdResponse(buffer_arg) {
|
|
95
|
+
return prisca_v1_general_configuration_general_configuration_pb.GeneralConfigurationGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function serialize_GetListGeneralConfigurationRequest(arg) {
|
|
99
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.GetListGeneralConfigurationRequest)) {
|
|
100
|
+
throw new Error('Expected argument of type GetListGeneralConfigurationRequest');
|
|
101
|
+
}
|
|
102
|
+
return Buffer.from(arg.serializeBinary());
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function deserialize_GetListGeneralConfigurationRequest(buffer_arg) {
|
|
106
|
+
return prisca_v1_general_configuration_general_configuration_pb.GetListGeneralConfigurationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function serialize_GetListGeneralConfigurationResponse(arg) {
|
|
110
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.GetListGeneralConfigurationResponse)) {
|
|
111
|
+
throw new Error('Expected argument of type GetListGeneralConfigurationResponse');
|
|
112
|
+
}
|
|
113
|
+
return Buffer.from(arg.serializeBinary());
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function deserialize_GetListGeneralConfigurationResponse(buffer_arg) {
|
|
117
|
+
return prisca_v1_general_configuration_general_configuration_pb.GetListGeneralConfigurationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function serialize_UpdateGeneralConfigurationRequest(arg) {
|
|
121
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.UpdateGeneralConfigurationRequest)) {
|
|
122
|
+
throw new Error('Expected argument of type UpdateGeneralConfigurationRequest');
|
|
123
|
+
}
|
|
124
|
+
return Buffer.from(arg.serializeBinary());
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function deserialize_UpdateGeneralConfigurationRequest(buffer_arg) {
|
|
128
|
+
return prisca_v1_general_configuration_general_configuration_pb.UpdateGeneralConfigurationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
function serialize_UpdateGeneralConfigurationResponse(arg) {
|
|
132
|
+
if (!(arg instanceof prisca_v1_general_configuration_general_configuration_pb.UpdateGeneralConfigurationResponse)) {
|
|
133
|
+
throw new Error('Expected argument of type UpdateGeneralConfigurationResponse');
|
|
134
|
+
}
|
|
135
|
+
return Buffer.from(arg.serializeBinary());
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
function deserialize_UpdateGeneralConfigurationResponse(buffer_arg) {
|
|
139
|
+
return prisca_v1_general_configuration_general_configuration_pb.UpdateGeneralConfigurationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
var GeneralConfigurationServiceService = exports.GeneralConfigurationServiceService = {
|
|
144
|
+
createGeneralConfiguration: {
|
|
145
|
+
path: '/GeneralConfigurationService/CreateGeneralConfiguration',
|
|
146
|
+
requestStream: false,
|
|
147
|
+
responseStream: false,
|
|
148
|
+
requestType: prisca_v1_general_configuration_general_configuration_pb.CreateGeneralConfigurationRequest,
|
|
149
|
+
responseType: prisca_v1_general_configuration_general_configuration_pb.CreateGeneralConfigurationResponse,
|
|
150
|
+
requestSerialize: serialize_CreateGeneralConfigurationRequest,
|
|
151
|
+
requestDeserialize: deserialize_CreateGeneralConfigurationRequest,
|
|
152
|
+
responseSerialize: serialize_CreateGeneralConfigurationResponse,
|
|
153
|
+
responseDeserialize: deserialize_CreateGeneralConfigurationResponse,
|
|
154
|
+
},
|
|
155
|
+
getGeneralConfigurationById: {
|
|
156
|
+
path: '/GeneralConfigurationService/GetGeneralConfigurationById',
|
|
157
|
+
requestStream: false,
|
|
158
|
+
responseStream: false,
|
|
159
|
+
requestType: prisca_v1_general_configuration_general_configuration_pb.GeneralConfigurationGetByIdRequest,
|
|
160
|
+
responseType: prisca_v1_general_configuration_general_configuration_pb.GeneralConfigurationGetByIdResponse,
|
|
161
|
+
requestSerialize: serialize_GeneralConfigurationGetByIdRequest,
|
|
162
|
+
requestDeserialize: deserialize_GeneralConfigurationGetByIdRequest,
|
|
163
|
+
responseSerialize: serialize_GeneralConfigurationGetByIdResponse,
|
|
164
|
+
responseDeserialize: deserialize_GeneralConfigurationGetByIdResponse,
|
|
165
|
+
},
|
|
166
|
+
updateGeneralConfiguration: {
|
|
167
|
+
path: '/GeneralConfigurationService/UpdateGeneralConfiguration',
|
|
168
|
+
requestStream: false,
|
|
169
|
+
responseStream: false,
|
|
170
|
+
requestType: prisca_v1_general_configuration_general_configuration_pb.UpdateGeneralConfigurationRequest,
|
|
171
|
+
responseType: prisca_v1_general_configuration_general_configuration_pb.UpdateGeneralConfigurationResponse,
|
|
172
|
+
requestSerialize: serialize_UpdateGeneralConfigurationRequest,
|
|
173
|
+
requestDeserialize: deserialize_UpdateGeneralConfigurationRequest,
|
|
174
|
+
responseSerialize: serialize_UpdateGeneralConfigurationResponse,
|
|
175
|
+
responseDeserialize: deserialize_UpdateGeneralConfigurationResponse,
|
|
176
|
+
},
|
|
177
|
+
deleteGeneralConfiguration: {
|
|
178
|
+
path: '/GeneralConfigurationService/DeleteGeneralConfiguration',
|
|
179
|
+
requestStream: false,
|
|
180
|
+
responseStream: false,
|
|
181
|
+
requestType: prisca_v1_general_configuration_general_configuration_pb.DeleteGeneralConfigurationRequest,
|
|
182
|
+
responseType: prisca_v1_general_configuration_general_configuration_pb.DeleteGeneralConfigurationResponse,
|
|
183
|
+
requestSerialize: serialize_DeleteGeneralConfigurationRequest,
|
|
184
|
+
requestDeserialize: deserialize_DeleteGeneralConfigurationRequest,
|
|
185
|
+
responseSerialize: serialize_DeleteGeneralConfigurationResponse,
|
|
186
|
+
responseDeserialize: deserialize_DeleteGeneralConfigurationResponse,
|
|
187
|
+
},
|
|
188
|
+
deleteBulkGeneralConfiguration: {
|
|
189
|
+
path: '/GeneralConfigurationService/DeleteBulkGeneralConfiguration',
|
|
190
|
+
requestStream: false,
|
|
191
|
+
responseStream: false,
|
|
192
|
+
requestType: prisca_v1_general_configuration_general_configuration_pb.DeleteBulkGeneralConfigurationRequest,
|
|
193
|
+
responseType: prisca_v1_general_configuration_general_configuration_pb.DeleteBulkGeneralConfigurationResponse,
|
|
194
|
+
requestSerialize: serialize_DeleteBulkGeneralConfigurationRequest,
|
|
195
|
+
requestDeserialize: deserialize_DeleteBulkGeneralConfigurationRequest,
|
|
196
|
+
responseSerialize: serialize_DeleteBulkGeneralConfigurationResponse,
|
|
197
|
+
responseDeserialize: deserialize_DeleteBulkGeneralConfigurationResponse,
|
|
198
|
+
},
|
|
199
|
+
getListGeneralConfiguration: {
|
|
200
|
+
path: '/GeneralConfigurationService/GetListGeneralConfiguration',
|
|
201
|
+
requestStream: false,
|
|
202
|
+
responseStream: false,
|
|
203
|
+
requestType: prisca_v1_general_configuration_general_configuration_pb.GetListGeneralConfigurationRequest,
|
|
204
|
+
responseType: prisca_v1_general_configuration_general_configuration_pb.GetListGeneralConfigurationResponse,
|
|
205
|
+
requestSerialize: serialize_GetListGeneralConfigurationRequest,
|
|
206
|
+
requestDeserialize: deserialize_GetListGeneralConfigurationRequest,
|
|
207
|
+
responseSerialize: serialize_GetListGeneralConfigurationResponse,
|
|
208
|
+
responseDeserialize: deserialize_GetListGeneralConfigurationResponse,
|
|
209
|
+
},
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
exports.GeneralConfigurationServiceClient = grpc.makeGenericClientConstructor(GeneralConfigurationServiceService, 'GeneralConfigurationService');
|