@aldiokta/protocgen 1.1.60 → 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_grpc_pb.js +1 -0
- package/prisca/v1/budget/budget_pb.js +264 -1
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +112 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +7073 -2008
- 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 +610 -11
- 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 +924 -144
- 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,201 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_down_payment_down_payment_pb = require('../../../prisca/v1/down_payment/down_payment_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_purchase_order_purchase_order_pb = require('../../../prisca/v1/purchase_order/purchase_order_pb.js');
|
|
9
|
+
|
|
10
|
+
function serialize_prisca_v1_down_payment_CreateDownPaymentReq(arg) {
|
|
11
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.CreateDownPaymentReq)) {
|
|
12
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.CreateDownPaymentReq');
|
|
13
|
+
}
|
|
14
|
+
return Buffer.from(arg.serializeBinary());
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function deserialize_prisca_v1_down_payment_CreateDownPaymentReq(buffer_arg) {
|
|
18
|
+
return prisca_v1_down_payment_down_payment_pb.CreateDownPaymentReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function serialize_prisca_v1_down_payment_CreateDownPaymentRes(arg) {
|
|
22
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.CreateDownPaymentRes)) {
|
|
23
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.CreateDownPaymentRes');
|
|
24
|
+
}
|
|
25
|
+
return Buffer.from(arg.serializeBinary());
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function deserialize_prisca_v1_down_payment_CreateDownPaymentRes(buffer_arg) {
|
|
29
|
+
return prisca_v1_down_payment_down_payment_pb.CreateDownPaymentRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function serialize_prisca_v1_down_payment_DeleteDownPaymentReq(arg) {
|
|
33
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.DeleteDownPaymentReq)) {
|
|
34
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.DeleteDownPaymentReq');
|
|
35
|
+
}
|
|
36
|
+
return Buffer.from(arg.serializeBinary());
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function deserialize_prisca_v1_down_payment_DeleteDownPaymentReq(buffer_arg) {
|
|
40
|
+
return prisca_v1_down_payment_down_payment_pb.DeleteDownPaymentReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function serialize_prisca_v1_down_payment_DeleteDownPaymentRes(arg) {
|
|
44
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.DeleteDownPaymentRes)) {
|
|
45
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.DeleteDownPaymentRes');
|
|
46
|
+
}
|
|
47
|
+
return Buffer.from(arg.serializeBinary());
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function deserialize_prisca_v1_down_payment_DeleteDownPaymentRes(buffer_arg) {
|
|
51
|
+
return prisca_v1_down_payment_down_payment_pb.DeleteDownPaymentRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function serialize_prisca_v1_down_payment_GetDownPaymentByIdReq(arg) {
|
|
55
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.GetDownPaymentByIdReq)) {
|
|
56
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.GetDownPaymentByIdReq');
|
|
57
|
+
}
|
|
58
|
+
return Buffer.from(arg.serializeBinary());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function deserialize_prisca_v1_down_payment_GetDownPaymentByIdReq(buffer_arg) {
|
|
62
|
+
return prisca_v1_down_payment_down_payment_pb.GetDownPaymentByIdReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function serialize_prisca_v1_down_payment_GetDownPaymentByIdRes(arg) {
|
|
66
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.GetDownPaymentByIdRes)) {
|
|
67
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.GetDownPaymentByIdRes');
|
|
68
|
+
}
|
|
69
|
+
return Buffer.from(arg.serializeBinary());
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function deserialize_prisca_v1_down_payment_GetDownPaymentByIdRes(buffer_arg) {
|
|
73
|
+
return prisca_v1_down_payment_down_payment_pb.GetDownPaymentByIdRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function serialize_prisca_v1_down_payment_GetListDownPaymentReq(arg) {
|
|
77
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.GetListDownPaymentReq)) {
|
|
78
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.GetListDownPaymentReq');
|
|
79
|
+
}
|
|
80
|
+
return Buffer.from(arg.serializeBinary());
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function deserialize_prisca_v1_down_payment_GetListDownPaymentReq(buffer_arg) {
|
|
84
|
+
return prisca_v1_down_payment_down_payment_pb.GetListDownPaymentReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function serialize_prisca_v1_down_payment_GetListDownPaymentRes(arg) {
|
|
88
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.GetListDownPaymentRes)) {
|
|
89
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.GetListDownPaymentRes');
|
|
90
|
+
}
|
|
91
|
+
return Buffer.from(arg.serializeBinary());
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function deserialize_prisca_v1_down_payment_GetListDownPaymentRes(buffer_arg) {
|
|
95
|
+
return prisca_v1_down_payment_down_payment_pb.GetListDownPaymentRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function serialize_prisca_v1_down_payment_UpdateDownPaymentReq(arg) {
|
|
99
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentReq)) {
|
|
100
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.UpdateDownPaymentReq');
|
|
101
|
+
}
|
|
102
|
+
return Buffer.from(arg.serializeBinary());
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function deserialize_prisca_v1_down_payment_UpdateDownPaymentReq(buffer_arg) {
|
|
106
|
+
return prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function serialize_prisca_v1_down_payment_UpdateDownPaymentRes(arg) {
|
|
110
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentRes)) {
|
|
111
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.UpdateDownPaymentRes');
|
|
112
|
+
}
|
|
113
|
+
return Buffer.from(arg.serializeBinary());
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function deserialize_prisca_v1_down_payment_UpdateDownPaymentRes(buffer_arg) {
|
|
117
|
+
return prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function serialize_prisca_v1_down_payment_UpdateDownPaymentStatusReq(arg) {
|
|
121
|
+
if (!(arg instanceof prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentStatusReq)) {
|
|
122
|
+
throw new Error('Expected argument of type prisca.v1.down_payment.UpdateDownPaymentStatusReq');
|
|
123
|
+
}
|
|
124
|
+
return Buffer.from(arg.serializeBinary());
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function deserialize_prisca_v1_down_payment_UpdateDownPaymentStatusReq(buffer_arg) {
|
|
128
|
+
return prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentStatusReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
var DownPaymentServiceService = exports.DownPaymentServiceService = {
|
|
133
|
+
createDownPayment: {
|
|
134
|
+
path: '/prisca.v1.down_payment.DownPaymentService/CreateDownPayment',
|
|
135
|
+
requestStream: false,
|
|
136
|
+
responseStream: false,
|
|
137
|
+
requestType: prisca_v1_down_payment_down_payment_pb.CreateDownPaymentReq,
|
|
138
|
+
responseType: prisca_v1_down_payment_down_payment_pb.CreateDownPaymentRes,
|
|
139
|
+
requestSerialize: serialize_prisca_v1_down_payment_CreateDownPaymentReq,
|
|
140
|
+
requestDeserialize: deserialize_prisca_v1_down_payment_CreateDownPaymentReq,
|
|
141
|
+
responseSerialize: serialize_prisca_v1_down_payment_CreateDownPaymentRes,
|
|
142
|
+
responseDeserialize: deserialize_prisca_v1_down_payment_CreateDownPaymentRes,
|
|
143
|
+
},
|
|
144
|
+
updateDownPayment: {
|
|
145
|
+
path: '/prisca.v1.down_payment.DownPaymentService/UpdateDownPayment',
|
|
146
|
+
requestStream: false,
|
|
147
|
+
responseStream: false,
|
|
148
|
+
requestType: prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentReq,
|
|
149
|
+
responseType: prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentRes,
|
|
150
|
+
requestSerialize: serialize_prisca_v1_down_payment_UpdateDownPaymentReq,
|
|
151
|
+
requestDeserialize: deserialize_prisca_v1_down_payment_UpdateDownPaymentReq,
|
|
152
|
+
responseSerialize: serialize_prisca_v1_down_payment_UpdateDownPaymentRes,
|
|
153
|
+
responseDeserialize: deserialize_prisca_v1_down_payment_UpdateDownPaymentRes,
|
|
154
|
+
},
|
|
155
|
+
updateDownPaymentStatus: {
|
|
156
|
+
path: '/prisca.v1.down_payment.DownPaymentService/UpdateDownPaymentStatus',
|
|
157
|
+
requestStream: false,
|
|
158
|
+
responseStream: false,
|
|
159
|
+
requestType: prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentStatusReq,
|
|
160
|
+
responseType: prisca_v1_down_payment_down_payment_pb.UpdateDownPaymentRes,
|
|
161
|
+
requestSerialize: serialize_prisca_v1_down_payment_UpdateDownPaymentStatusReq,
|
|
162
|
+
requestDeserialize: deserialize_prisca_v1_down_payment_UpdateDownPaymentStatusReq,
|
|
163
|
+
responseSerialize: serialize_prisca_v1_down_payment_UpdateDownPaymentRes,
|
|
164
|
+
responseDeserialize: deserialize_prisca_v1_down_payment_UpdateDownPaymentRes,
|
|
165
|
+
},
|
|
166
|
+
getDownPaymentById: {
|
|
167
|
+
path: '/prisca.v1.down_payment.DownPaymentService/GetDownPaymentById',
|
|
168
|
+
requestStream: false,
|
|
169
|
+
responseStream: false,
|
|
170
|
+
requestType: prisca_v1_down_payment_down_payment_pb.GetDownPaymentByIdReq,
|
|
171
|
+
responseType: prisca_v1_down_payment_down_payment_pb.GetDownPaymentByIdRes,
|
|
172
|
+
requestSerialize: serialize_prisca_v1_down_payment_GetDownPaymentByIdReq,
|
|
173
|
+
requestDeserialize: deserialize_prisca_v1_down_payment_GetDownPaymentByIdReq,
|
|
174
|
+
responseSerialize: serialize_prisca_v1_down_payment_GetDownPaymentByIdRes,
|
|
175
|
+
responseDeserialize: deserialize_prisca_v1_down_payment_GetDownPaymentByIdRes,
|
|
176
|
+
},
|
|
177
|
+
getListDownPayments: {
|
|
178
|
+
path: '/prisca.v1.down_payment.DownPaymentService/GetListDownPayments',
|
|
179
|
+
requestStream: false,
|
|
180
|
+
responseStream: false,
|
|
181
|
+
requestType: prisca_v1_down_payment_down_payment_pb.GetListDownPaymentReq,
|
|
182
|
+
responseType: prisca_v1_down_payment_down_payment_pb.GetListDownPaymentRes,
|
|
183
|
+
requestSerialize: serialize_prisca_v1_down_payment_GetListDownPaymentReq,
|
|
184
|
+
requestDeserialize: deserialize_prisca_v1_down_payment_GetListDownPaymentReq,
|
|
185
|
+
responseSerialize: serialize_prisca_v1_down_payment_GetListDownPaymentRes,
|
|
186
|
+
responseDeserialize: deserialize_prisca_v1_down_payment_GetListDownPaymentRes,
|
|
187
|
+
},
|
|
188
|
+
deleteDownPayment: {
|
|
189
|
+
path: '/prisca.v1.down_payment.DownPaymentService/DeleteDownPayment',
|
|
190
|
+
requestStream: false,
|
|
191
|
+
responseStream: false,
|
|
192
|
+
requestType: prisca_v1_down_payment_down_payment_pb.DeleteDownPaymentReq,
|
|
193
|
+
responseType: prisca_v1_down_payment_down_payment_pb.DeleteDownPaymentRes,
|
|
194
|
+
requestSerialize: serialize_prisca_v1_down_payment_DeleteDownPaymentReq,
|
|
195
|
+
requestDeserialize: deserialize_prisca_v1_down_payment_DeleteDownPaymentReq,
|
|
196
|
+
responseSerialize: serialize_prisca_v1_down_payment_DeleteDownPaymentRes,
|
|
197
|
+
responseDeserialize: deserialize_prisca_v1_down_payment_DeleteDownPaymentRes,
|
|
198
|
+
},
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
exports.DownPaymentServiceClient = grpc.makeGenericClientConstructor(DownPaymentServiceService, 'DownPaymentService');
|