@aldiokta/protocgen 1.1.49 → 1.1.51
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/bidding/bidding_pb.js +62 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +180 -0
- package/prisca/v1/business_fields/business_fields_pb.js +4372 -0
- package/prisca/v1/core/bank/bank_grpc_pb.js +156 -0
- package/prisca/v1/core/bank/bank_pb.js +1988 -0
- package/prisca/v1/core/company/company_grpc_pb.js +11 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +11 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +31 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +3400 -930
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +12 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +102 -1
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_grpc_pb.js +180 -0
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +3707 -0
- package/prisca/v1/core/plant/plant_grpc_pb.js +156 -0
- package/prisca/v1/core/plant/plant_pb.js +2078 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/global/meta/meta_pb.js +452 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +11 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +268 -3
- package/prisca/v1/invoice/invoice_grpc_pb.js +11 -0
- package/prisca/v1/invoice/invoice_pb.js +292 -4
- package/prisca/v1/invoice_type/invoice_type_grpc_pb.js +202 -0
- package/prisca/v1/invoice_type/invoice_type_pb.js +3598 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +66 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +1986 -323
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +44 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +2238 -30
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +224 -2
package/package.json
CHANGED
|
@@ -2357,7 +2357,8 @@ termOfPayment: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
|
2357
2357
|
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
2358
2358
|
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
2359
2359
|
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
2360
|
-
biddingDate: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
2360
|
+
biddingDate: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
2361
|
+
requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 32, "")
|
|
2361
2362
|
};
|
|
2362
2363
|
|
|
2363
2364
|
if (includeInstance) {
|
|
@@ -2521,6 +2522,10 @@ proto.Bidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2521
2522
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2522
2523
|
msg.setBiddingDate(value);
|
|
2523
2524
|
break;
|
|
2525
|
+
case 32:
|
|
2526
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2527
|
+
msg.setRequestForQuotationMethod(value);
|
|
2528
|
+
break;
|
|
2524
2529
|
default:
|
|
2525
2530
|
reader.skipField();
|
|
2526
2531
|
break;
|
|
@@ -2770,6 +2775,13 @@ proto.Bidding.serializeBinaryToWriter = function(message, writer) {
|
|
|
2770
2775
|
f
|
|
2771
2776
|
);
|
|
2772
2777
|
}
|
|
2778
|
+
f = message.getRequestForQuotationMethod();
|
|
2779
|
+
if (f.length > 0) {
|
|
2780
|
+
writer.writeString(
|
|
2781
|
+
32,
|
|
2782
|
+
f
|
|
2783
|
+
);
|
|
2784
|
+
}
|
|
2773
2785
|
};
|
|
2774
2786
|
|
|
2775
2787
|
|
|
@@ -3389,6 +3401,24 @@ proto.Bidding.prototype.setBiddingDate = function(value) {
|
|
|
3389
3401
|
};
|
|
3390
3402
|
|
|
3391
3403
|
|
|
3404
|
+
/**
|
|
3405
|
+
* optional string request_for_quotation_method = 32;
|
|
3406
|
+
* @return {string}
|
|
3407
|
+
*/
|
|
3408
|
+
proto.Bidding.prototype.getRequestForQuotationMethod = function() {
|
|
3409
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
|
|
3410
|
+
};
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
/**
|
|
3414
|
+
* @param {string} value
|
|
3415
|
+
* @return {!proto.Bidding} returns this
|
|
3416
|
+
*/
|
|
3417
|
+
proto.Bidding.prototype.setRequestForQuotationMethod = function(value) {
|
|
3418
|
+
return jspb.Message.setProto3StringField(this, 32, value);
|
|
3419
|
+
};
|
|
3420
|
+
|
|
3421
|
+
|
|
3392
3422
|
|
|
3393
3423
|
|
|
3394
3424
|
|
|
@@ -3667,7 +3697,8 @@ groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
|
3667
3697
|
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
3668
3698
|
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
3669
3699
|
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
3670
|
-
biddingDate: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
3700
|
+
biddingDate: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
3701
|
+
requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
3671
3702
|
};
|
|
3672
3703
|
|
|
3673
3704
|
if (includeInstance) {
|
|
@@ -3778,6 +3809,10 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3778
3809
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3779
3810
|
msg.setBiddingDate(value);
|
|
3780
3811
|
break;
|
|
3812
|
+
case 21:
|
|
3813
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3814
|
+
msg.setRequestForQuotationMethod(value);
|
|
3815
|
+
break;
|
|
3781
3816
|
default:
|
|
3782
3817
|
reader.skipField();
|
|
3783
3818
|
break;
|
|
@@ -3935,6 +3970,13 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
|
|
|
3935
3970
|
f
|
|
3936
3971
|
);
|
|
3937
3972
|
}
|
|
3973
|
+
f = message.getRequestForQuotationMethod();
|
|
3974
|
+
if (f.length > 0) {
|
|
3975
|
+
writer.writeString(
|
|
3976
|
+
21,
|
|
3977
|
+
f
|
|
3978
|
+
);
|
|
3979
|
+
}
|
|
3938
3980
|
};
|
|
3939
3981
|
|
|
3940
3982
|
|
|
@@ -4302,6 +4344,24 @@ proto.RequestBiddingBase.prototype.setBiddingDate = function(value) {
|
|
|
4302
4344
|
};
|
|
4303
4345
|
|
|
4304
4346
|
|
|
4347
|
+
/**
|
|
4348
|
+
* optional string request_for_quotation_method = 21;
|
|
4349
|
+
* @return {string}
|
|
4350
|
+
*/
|
|
4351
|
+
proto.RequestBiddingBase.prototype.getRequestForQuotationMethod = function() {
|
|
4352
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
4353
|
+
};
|
|
4354
|
+
|
|
4355
|
+
|
|
4356
|
+
/**
|
|
4357
|
+
* @param {string} value
|
|
4358
|
+
* @return {!proto.RequestBiddingBase} returns this
|
|
4359
|
+
*/
|
|
4360
|
+
proto.RequestBiddingBase.prototype.setRequestForQuotationMethod = function(value) {
|
|
4361
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
4362
|
+
};
|
|
4363
|
+
|
|
4364
|
+
|
|
4305
4365
|
|
|
4306
4366
|
/**
|
|
4307
4367
|
* List of repeated fields within this message type.
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_business_fields_business_fields_pb = require('../../../prisca/v1/business_fields/business_fields_pb.js');
|
|
6
|
+
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_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_CreateBusinessFieldsRequest(arg) {
|
|
11
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsRequest)) {
|
|
12
|
+
throw new Error('Expected argument of type CreateBusinessFieldsRequest');
|
|
13
|
+
}
|
|
14
|
+
return Buffer.from(arg.serializeBinary());
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function deserialize_CreateBusinessFieldsRequest(buffer_arg) {
|
|
18
|
+
return prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function serialize_CreateBusinessFieldsResponse(arg) {
|
|
22
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsResponse)) {
|
|
23
|
+
throw new Error('Expected argument of type CreateBusinessFieldsResponse');
|
|
24
|
+
}
|
|
25
|
+
return Buffer.from(arg.serializeBinary());
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function deserialize_CreateBusinessFieldsResponse(buffer_arg) {
|
|
29
|
+
return prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function serialize_DeleteBusinessFieldsRequest(arg) {
|
|
33
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.DeleteBusinessFieldsRequest)) {
|
|
34
|
+
throw new Error('Expected argument of type DeleteBusinessFieldsRequest');
|
|
35
|
+
}
|
|
36
|
+
return Buffer.from(arg.serializeBinary());
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function deserialize_DeleteBusinessFieldsRequest(buffer_arg) {
|
|
40
|
+
return prisca_v1_business_fields_business_fields_pb.DeleteBusinessFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function serialize_DeleteBusinessFieldsResponse(arg) {
|
|
44
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.DeleteBusinessFieldsResponse)) {
|
|
45
|
+
throw new Error('Expected argument of type DeleteBusinessFieldsResponse');
|
|
46
|
+
}
|
|
47
|
+
return Buffer.from(arg.serializeBinary());
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function deserialize_DeleteBusinessFieldsResponse(buffer_arg) {
|
|
51
|
+
return prisca_v1_business_fields_business_fields_pb.DeleteBusinessFieldsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function serialize_GetBusinessFieldsByIdRequest(arg) {
|
|
55
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.GetBusinessFieldsByIdRequest)) {
|
|
56
|
+
throw new Error('Expected argument of type GetBusinessFieldsByIdRequest');
|
|
57
|
+
}
|
|
58
|
+
return Buffer.from(arg.serializeBinary());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function deserialize_GetBusinessFieldsByIdRequest(buffer_arg) {
|
|
62
|
+
return prisca_v1_business_fields_business_fields_pb.GetBusinessFieldsByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function serialize_GetBusinessFieldsByIdResponse(arg) {
|
|
66
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.GetBusinessFieldsByIdResponse)) {
|
|
67
|
+
throw new Error('Expected argument of type GetBusinessFieldsByIdResponse');
|
|
68
|
+
}
|
|
69
|
+
return Buffer.from(arg.serializeBinary());
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function deserialize_GetBusinessFieldsByIdResponse(buffer_arg) {
|
|
73
|
+
return prisca_v1_business_fields_business_fields_pb.GetBusinessFieldsByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function serialize_GetListBusinessFieldsRequest(arg) {
|
|
77
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.GetListBusinessFieldsRequest)) {
|
|
78
|
+
throw new Error('Expected argument of type GetListBusinessFieldsRequest');
|
|
79
|
+
}
|
|
80
|
+
return Buffer.from(arg.serializeBinary());
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function deserialize_GetListBusinessFieldsRequest(buffer_arg) {
|
|
84
|
+
return prisca_v1_business_fields_business_fields_pb.GetListBusinessFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function serialize_GetListBusinessFieldsResponse(arg) {
|
|
88
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.GetListBusinessFieldsResponse)) {
|
|
89
|
+
throw new Error('Expected argument of type GetListBusinessFieldsResponse');
|
|
90
|
+
}
|
|
91
|
+
return Buffer.from(arg.serializeBinary());
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function deserialize_GetListBusinessFieldsResponse(buffer_arg) {
|
|
95
|
+
return prisca_v1_business_fields_business_fields_pb.GetListBusinessFieldsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function serialize_UpdateBusinessFieldsRequest(arg) {
|
|
99
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.UpdateBusinessFieldsRequest)) {
|
|
100
|
+
throw new Error('Expected argument of type UpdateBusinessFieldsRequest');
|
|
101
|
+
}
|
|
102
|
+
return Buffer.from(arg.serializeBinary());
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function deserialize_UpdateBusinessFieldsRequest(buffer_arg) {
|
|
106
|
+
return prisca_v1_business_fields_business_fields_pb.UpdateBusinessFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function serialize_UpdateBusinessFieldsResponse(arg) {
|
|
110
|
+
if (!(arg instanceof prisca_v1_business_fields_business_fields_pb.UpdateBusinessFieldsResponse)) {
|
|
111
|
+
throw new Error('Expected argument of type UpdateBusinessFieldsResponse');
|
|
112
|
+
}
|
|
113
|
+
return Buffer.from(arg.serializeBinary());
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function deserialize_UpdateBusinessFieldsResponse(buffer_arg) {
|
|
117
|
+
return prisca_v1_business_fields_business_fields_pb.UpdateBusinessFieldsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
// Unit of Measurement Service
|
|
122
|
+
var BusinessFieldsServiceService = exports.BusinessFieldsServiceService = {
|
|
123
|
+
createBusinessFields: {
|
|
124
|
+
path: '/BusinessFieldsService/CreateBusinessFields',
|
|
125
|
+
requestStream: false,
|
|
126
|
+
responseStream: false,
|
|
127
|
+
requestType: prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsRequest,
|
|
128
|
+
responseType: prisca_v1_business_fields_business_fields_pb.CreateBusinessFieldsResponse,
|
|
129
|
+
requestSerialize: serialize_CreateBusinessFieldsRequest,
|
|
130
|
+
requestDeserialize: deserialize_CreateBusinessFieldsRequest,
|
|
131
|
+
responseSerialize: serialize_CreateBusinessFieldsResponse,
|
|
132
|
+
responseDeserialize: deserialize_CreateBusinessFieldsResponse,
|
|
133
|
+
},
|
|
134
|
+
getBusinessFieldsById: {
|
|
135
|
+
path: '/BusinessFieldsService/GetBusinessFieldsById',
|
|
136
|
+
requestStream: false,
|
|
137
|
+
responseStream: false,
|
|
138
|
+
requestType: prisca_v1_business_fields_business_fields_pb.GetBusinessFieldsByIdRequest,
|
|
139
|
+
responseType: prisca_v1_business_fields_business_fields_pb.GetBusinessFieldsByIdResponse,
|
|
140
|
+
requestSerialize: serialize_GetBusinessFieldsByIdRequest,
|
|
141
|
+
requestDeserialize: deserialize_GetBusinessFieldsByIdRequest,
|
|
142
|
+
responseSerialize: serialize_GetBusinessFieldsByIdResponse,
|
|
143
|
+
responseDeserialize: deserialize_GetBusinessFieldsByIdResponse,
|
|
144
|
+
},
|
|
145
|
+
getListBusinessFields: {
|
|
146
|
+
path: '/BusinessFieldsService/GetListBusinessFields',
|
|
147
|
+
requestStream: false,
|
|
148
|
+
responseStream: false,
|
|
149
|
+
requestType: prisca_v1_business_fields_business_fields_pb.GetListBusinessFieldsRequest,
|
|
150
|
+
responseType: prisca_v1_business_fields_business_fields_pb.GetListBusinessFieldsResponse,
|
|
151
|
+
requestSerialize: serialize_GetListBusinessFieldsRequest,
|
|
152
|
+
requestDeserialize: deserialize_GetListBusinessFieldsRequest,
|
|
153
|
+
responseSerialize: serialize_GetListBusinessFieldsResponse,
|
|
154
|
+
responseDeserialize: deserialize_GetListBusinessFieldsResponse,
|
|
155
|
+
},
|
|
156
|
+
updateBusinessFields: {
|
|
157
|
+
path: '/BusinessFieldsService/UpdateBusinessFields',
|
|
158
|
+
requestStream: false,
|
|
159
|
+
responseStream: false,
|
|
160
|
+
requestType: prisca_v1_business_fields_business_fields_pb.UpdateBusinessFieldsRequest,
|
|
161
|
+
responseType: prisca_v1_business_fields_business_fields_pb.UpdateBusinessFieldsResponse,
|
|
162
|
+
requestSerialize: serialize_UpdateBusinessFieldsRequest,
|
|
163
|
+
requestDeserialize: deserialize_UpdateBusinessFieldsRequest,
|
|
164
|
+
responseSerialize: serialize_UpdateBusinessFieldsResponse,
|
|
165
|
+
responseDeserialize: deserialize_UpdateBusinessFieldsResponse,
|
|
166
|
+
},
|
|
167
|
+
deleteBusinessFields: {
|
|
168
|
+
path: '/BusinessFieldsService/DeleteBusinessFields',
|
|
169
|
+
requestStream: false,
|
|
170
|
+
responseStream: false,
|
|
171
|
+
requestType: prisca_v1_business_fields_business_fields_pb.DeleteBusinessFieldsRequest,
|
|
172
|
+
responseType: prisca_v1_business_fields_business_fields_pb.DeleteBusinessFieldsResponse,
|
|
173
|
+
requestSerialize: serialize_DeleteBusinessFieldsRequest,
|
|
174
|
+
requestDeserialize: deserialize_DeleteBusinessFieldsRequest,
|
|
175
|
+
responseSerialize: serialize_DeleteBusinessFieldsResponse,
|
|
176
|
+
responseDeserialize: deserialize_DeleteBusinessFieldsResponse,
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
exports.BusinessFieldsServiceClient = grpc.makeGenericClientConstructor(BusinessFieldsServiceService, 'BusinessFieldsService');
|