@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.
Files changed (31) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/budget/budget_grpc_pb.js +1 -0
  3. package/prisca/v1/budget/budget_pb.js +264 -1
  4. package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +112 -0
  5. package/prisca/v1/budget_planning/budget_planning_pb.js +7073 -2008
  6. package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
  7. package/prisca/v1/core/auth/auth_pb.js +115 -2
  8. package/prisca/v1/core/employee/employee_grpc_pb.js +22 -0
  9. package/prisca/v1/core/employee/employee_pb.js +214 -2
  10. package/prisca/v1/core/item_transaction/item_transaction_pb.js +610 -11
  11. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +22 -0
  12. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +303 -1
  13. package/prisca/v1/core/report/report_pb.js +31 -1
  14. package/prisca/v1/core/users/users_pb.js +31 -1
  15. package/prisca/v1/down_payment/down_payment_grpc_pb.js +201 -0
  16. package/prisca/v1/down_payment/down_payment_pb.js +3357 -0
  17. package/prisca/v1/general_configuration/general_configuration_grpc_pb.js +212 -0
  18. package/prisca/v1/general_configuration/general_configuration_pb.js +2886 -0
  19. package/prisca/v1/invoice/invoice_grpc_pb.js +77 -0
  20. package/prisca/v1/invoice/invoice_pb.js +2657 -434
  21. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +34 -0
  22. package/prisca/v1/purchase_order/purchase_order_pb.js +2542 -57
  23. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
  24. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +924 -144
  25. package/prisca/v1/vendor_domain/vendor_domain_pb.js +72 -12
  26. package/prisca/v1/webhook_builder/webhook_builder_grpc_pb.js +245 -0
  27. package/prisca/v1/webhook_builder/webhook_builder_pb.js +5084 -0
  28. package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_grpc_pb.js +245 -0
  29. package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_pb.js +3499 -0
  30. package/prisca/v1/webhook_integration/webhook_integration_grpc_pb.js +212 -0
  31. 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_webhook_integration_webhook_integration_pb = require('../../../prisca/v1/webhook_integration/webhook_integration_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_CreateWebhookIntegrationRequest(arg) {
11
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.CreateWebhookIntegrationRequest)) {
12
+ throw new Error('Expected argument of type CreateWebhookIntegrationRequest');
13
+ }
14
+ return Buffer.from(arg.serializeBinary());
15
+ }
16
+
17
+ function deserialize_CreateWebhookIntegrationRequest(buffer_arg) {
18
+ return prisca_v1_webhook_integration_webhook_integration_pb.CreateWebhookIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
19
+ }
20
+
21
+ function serialize_CreateWebhookIntegrationResponse(arg) {
22
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.CreateWebhookIntegrationResponse)) {
23
+ throw new Error('Expected argument of type CreateWebhookIntegrationResponse');
24
+ }
25
+ return Buffer.from(arg.serializeBinary());
26
+ }
27
+
28
+ function deserialize_CreateWebhookIntegrationResponse(buffer_arg) {
29
+ return prisca_v1_webhook_integration_webhook_integration_pb.CreateWebhookIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
30
+ }
31
+
32
+ function serialize_DeleteBulkWebhookIntegrationRequest(arg) {
33
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.DeleteBulkWebhookIntegrationRequest)) {
34
+ throw new Error('Expected argument of type DeleteBulkWebhookIntegrationRequest');
35
+ }
36
+ return Buffer.from(arg.serializeBinary());
37
+ }
38
+
39
+ function deserialize_DeleteBulkWebhookIntegrationRequest(buffer_arg) {
40
+ return prisca_v1_webhook_integration_webhook_integration_pb.DeleteBulkWebhookIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
41
+ }
42
+
43
+ function serialize_DeleteBulkWebhookIntegrationResponse(arg) {
44
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.DeleteBulkWebhookIntegrationResponse)) {
45
+ throw new Error('Expected argument of type DeleteBulkWebhookIntegrationResponse');
46
+ }
47
+ return Buffer.from(arg.serializeBinary());
48
+ }
49
+
50
+ function deserialize_DeleteBulkWebhookIntegrationResponse(buffer_arg) {
51
+ return prisca_v1_webhook_integration_webhook_integration_pb.DeleteBulkWebhookIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
52
+ }
53
+
54
+ function serialize_DeleteWebhookIntegrationRequest(arg) {
55
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.DeleteWebhookIntegrationRequest)) {
56
+ throw new Error('Expected argument of type DeleteWebhookIntegrationRequest');
57
+ }
58
+ return Buffer.from(arg.serializeBinary());
59
+ }
60
+
61
+ function deserialize_DeleteWebhookIntegrationRequest(buffer_arg) {
62
+ return prisca_v1_webhook_integration_webhook_integration_pb.DeleteWebhookIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
63
+ }
64
+
65
+ function serialize_DeleteWebhookIntegrationResponse(arg) {
66
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.DeleteWebhookIntegrationResponse)) {
67
+ throw new Error('Expected argument of type DeleteWebhookIntegrationResponse');
68
+ }
69
+ return Buffer.from(arg.serializeBinary());
70
+ }
71
+
72
+ function deserialize_DeleteWebhookIntegrationResponse(buffer_arg) {
73
+ return prisca_v1_webhook_integration_webhook_integration_pb.DeleteWebhookIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
74
+ }
75
+
76
+ function serialize_GetListWebhookIntegrationRequest(arg) {
77
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.GetListWebhookIntegrationRequest)) {
78
+ throw new Error('Expected argument of type GetListWebhookIntegrationRequest');
79
+ }
80
+ return Buffer.from(arg.serializeBinary());
81
+ }
82
+
83
+ function deserialize_GetListWebhookIntegrationRequest(buffer_arg) {
84
+ return prisca_v1_webhook_integration_webhook_integration_pb.GetListWebhookIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
85
+ }
86
+
87
+ function serialize_GetListWebhookIntegrationResponse(arg) {
88
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.GetListWebhookIntegrationResponse)) {
89
+ throw new Error('Expected argument of type GetListWebhookIntegrationResponse');
90
+ }
91
+ return Buffer.from(arg.serializeBinary());
92
+ }
93
+
94
+ function deserialize_GetListWebhookIntegrationResponse(buffer_arg) {
95
+ return prisca_v1_webhook_integration_webhook_integration_pb.GetListWebhookIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
96
+ }
97
+
98
+ function serialize_UpdateWebhookIntegrationRequest(arg) {
99
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.UpdateWebhookIntegrationRequest)) {
100
+ throw new Error('Expected argument of type UpdateWebhookIntegrationRequest');
101
+ }
102
+ return Buffer.from(arg.serializeBinary());
103
+ }
104
+
105
+ function deserialize_UpdateWebhookIntegrationRequest(buffer_arg) {
106
+ return prisca_v1_webhook_integration_webhook_integration_pb.UpdateWebhookIntegrationRequest.deserializeBinary(new Uint8Array(buffer_arg));
107
+ }
108
+
109
+ function serialize_UpdateWebhookIntegrationResponse(arg) {
110
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.UpdateWebhookIntegrationResponse)) {
111
+ throw new Error('Expected argument of type UpdateWebhookIntegrationResponse');
112
+ }
113
+ return Buffer.from(arg.serializeBinary());
114
+ }
115
+
116
+ function deserialize_UpdateWebhookIntegrationResponse(buffer_arg) {
117
+ return prisca_v1_webhook_integration_webhook_integration_pb.UpdateWebhookIntegrationResponse.deserializeBinary(new Uint8Array(buffer_arg));
118
+ }
119
+
120
+ function serialize_WebhookIntegrationGetByIdRequest(arg) {
121
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.WebhookIntegrationGetByIdRequest)) {
122
+ throw new Error('Expected argument of type WebhookIntegrationGetByIdRequest');
123
+ }
124
+ return Buffer.from(arg.serializeBinary());
125
+ }
126
+
127
+ function deserialize_WebhookIntegrationGetByIdRequest(buffer_arg) {
128
+ return prisca_v1_webhook_integration_webhook_integration_pb.WebhookIntegrationGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
129
+ }
130
+
131
+ function serialize_WebhookIntegrationGetByIdResponse(arg) {
132
+ if (!(arg instanceof prisca_v1_webhook_integration_webhook_integration_pb.WebhookIntegrationGetByIdResponse)) {
133
+ throw new Error('Expected argument of type WebhookIntegrationGetByIdResponse');
134
+ }
135
+ return Buffer.from(arg.serializeBinary());
136
+ }
137
+
138
+ function deserialize_WebhookIntegrationGetByIdResponse(buffer_arg) {
139
+ return prisca_v1_webhook_integration_webhook_integration_pb.WebhookIntegrationGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
140
+ }
141
+
142
+
143
+ var WebhookIntegrationServiceService = exports.WebhookIntegrationServiceService = {
144
+ createWebhookIntegration: {
145
+ path: '/WebhookIntegrationService/CreateWebhookIntegration',
146
+ requestStream: false,
147
+ responseStream: false,
148
+ requestType: prisca_v1_webhook_integration_webhook_integration_pb.CreateWebhookIntegrationRequest,
149
+ responseType: prisca_v1_webhook_integration_webhook_integration_pb.CreateWebhookIntegrationResponse,
150
+ requestSerialize: serialize_CreateWebhookIntegrationRequest,
151
+ requestDeserialize: deserialize_CreateWebhookIntegrationRequest,
152
+ responseSerialize: serialize_CreateWebhookIntegrationResponse,
153
+ responseDeserialize: deserialize_CreateWebhookIntegrationResponse,
154
+ },
155
+ getWebhookIntegrationById: {
156
+ path: '/WebhookIntegrationService/GetWebhookIntegrationById',
157
+ requestStream: false,
158
+ responseStream: false,
159
+ requestType: prisca_v1_webhook_integration_webhook_integration_pb.WebhookIntegrationGetByIdRequest,
160
+ responseType: prisca_v1_webhook_integration_webhook_integration_pb.WebhookIntegrationGetByIdResponse,
161
+ requestSerialize: serialize_WebhookIntegrationGetByIdRequest,
162
+ requestDeserialize: deserialize_WebhookIntegrationGetByIdRequest,
163
+ responseSerialize: serialize_WebhookIntegrationGetByIdResponse,
164
+ responseDeserialize: deserialize_WebhookIntegrationGetByIdResponse,
165
+ },
166
+ updateWebhookIntegration: {
167
+ path: '/WebhookIntegrationService/UpdateWebhookIntegration',
168
+ requestStream: false,
169
+ responseStream: false,
170
+ requestType: prisca_v1_webhook_integration_webhook_integration_pb.UpdateWebhookIntegrationRequest,
171
+ responseType: prisca_v1_webhook_integration_webhook_integration_pb.UpdateWebhookIntegrationResponse,
172
+ requestSerialize: serialize_UpdateWebhookIntegrationRequest,
173
+ requestDeserialize: deserialize_UpdateWebhookIntegrationRequest,
174
+ responseSerialize: serialize_UpdateWebhookIntegrationResponse,
175
+ responseDeserialize: deserialize_UpdateWebhookIntegrationResponse,
176
+ },
177
+ deleteWebhookIntegration: {
178
+ path: '/WebhookIntegrationService/DeleteWebhookIntegration',
179
+ requestStream: false,
180
+ responseStream: false,
181
+ requestType: prisca_v1_webhook_integration_webhook_integration_pb.DeleteWebhookIntegrationRequest,
182
+ responseType: prisca_v1_webhook_integration_webhook_integration_pb.DeleteWebhookIntegrationResponse,
183
+ requestSerialize: serialize_DeleteWebhookIntegrationRequest,
184
+ requestDeserialize: deserialize_DeleteWebhookIntegrationRequest,
185
+ responseSerialize: serialize_DeleteWebhookIntegrationResponse,
186
+ responseDeserialize: deserialize_DeleteWebhookIntegrationResponse,
187
+ },
188
+ deleteBulkWebhookIntegration: {
189
+ path: '/WebhookIntegrationService/DeleteBulkWebhookIntegration',
190
+ requestStream: false,
191
+ responseStream: false,
192
+ requestType: prisca_v1_webhook_integration_webhook_integration_pb.DeleteBulkWebhookIntegrationRequest,
193
+ responseType: prisca_v1_webhook_integration_webhook_integration_pb.DeleteBulkWebhookIntegrationResponse,
194
+ requestSerialize: serialize_DeleteBulkWebhookIntegrationRequest,
195
+ requestDeserialize: deserialize_DeleteBulkWebhookIntegrationRequest,
196
+ responseSerialize: serialize_DeleteBulkWebhookIntegrationResponse,
197
+ responseDeserialize: deserialize_DeleteBulkWebhookIntegrationResponse,
198
+ },
199
+ getListWebhookIntegration: {
200
+ path: '/WebhookIntegrationService/GetListWebhookIntegration',
201
+ requestStream: false,
202
+ responseStream: false,
203
+ requestType: prisca_v1_webhook_integration_webhook_integration_pb.GetListWebhookIntegrationRequest,
204
+ responseType: prisca_v1_webhook_integration_webhook_integration_pb.GetListWebhookIntegrationResponse,
205
+ requestSerialize: serialize_GetListWebhookIntegrationRequest,
206
+ requestDeserialize: deserialize_GetListWebhookIntegrationRequest,
207
+ responseSerialize: serialize_GetListWebhookIntegrationResponse,
208
+ responseDeserialize: deserialize_GetListWebhookIntegrationResponse,
209
+ },
210
+ };
211
+
212
+ exports.WebhookIntegrationServiceClient = grpc.makeGenericClientConstructor(WebhookIntegrationServiceService, 'WebhookIntegrationService');