@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
package/package.json
CHANGED
|
@@ -364,7 +364,14 @@ deletedAt: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
|
364
364
|
year: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
365
365
|
budgetPlanningList: jspb.Message.toObjectList(msg.getBudgetPlanningList(),
|
|
366
366
|
prisca_v1_budget_planning_budget_planning_pb.BudgetPlanning.toObject, includeInstance),
|
|
367
|
-
organization: (f = msg.getOrganization()) && prisca_v1_core_organization_organization_pb.Organization.toObject(includeInstance, f)
|
|
367
|
+
organization: (f = msg.getOrganization()) && prisca_v1_core_organization_organization_pb.Organization.toObject(includeInstance, f),
|
|
368
|
+
code: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
369
|
+
type: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
370
|
+
startYear: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
371
|
+
endYear: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
372
|
+
startMonth: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
373
|
+
endMonth: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
374
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 21, false)
|
|
368
375
|
};
|
|
369
376
|
|
|
370
377
|
if (includeInstance) {
|
|
@@ -459,6 +466,34 @@ proto.Budget.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
459
466
|
reader.readMessage(value,prisca_v1_core_organization_organization_pb.Organization.deserializeBinaryFromReader);
|
|
460
467
|
msg.setOrganization(value);
|
|
461
468
|
break;
|
|
469
|
+
case 15:
|
|
470
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
471
|
+
msg.setCode(value);
|
|
472
|
+
break;
|
|
473
|
+
case 16:
|
|
474
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
475
|
+
msg.setType(value);
|
|
476
|
+
break;
|
|
477
|
+
case 17:
|
|
478
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
479
|
+
msg.setStartYear(value);
|
|
480
|
+
break;
|
|
481
|
+
case 18:
|
|
482
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
483
|
+
msg.setEndYear(value);
|
|
484
|
+
break;
|
|
485
|
+
case 19:
|
|
486
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
487
|
+
msg.setStartMonth(value);
|
|
488
|
+
break;
|
|
489
|
+
case 20:
|
|
490
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
491
|
+
msg.setEndMonth(value);
|
|
492
|
+
break;
|
|
493
|
+
case 21:
|
|
494
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
495
|
+
msg.setIsActive(value);
|
|
496
|
+
break;
|
|
462
497
|
default:
|
|
463
498
|
reader.skipField();
|
|
464
499
|
break;
|
|
@@ -588,6 +623,55 @@ proto.Budget.serializeBinaryToWriter = function(message, writer) {
|
|
|
588
623
|
prisca_v1_core_organization_organization_pb.Organization.serializeBinaryToWriter
|
|
589
624
|
);
|
|
590
625
|
}
|
|
626
|
+
f = message.getCode();
|
|
627
|
+
if (f.length > 0) {
|
|
628
|
+
writer.writeString(
|
|
629
|
+
15,
|
|
630
|
+
f
|
|
631
|
+
);
|
|
632
|
+
}
|
|
633
|
+
f = message.getType();
|
|
634
|
+
if (f.length > 0) {
|
|
635
|
+
writer.writeString(
|
|
636
|
+
16,
|
|
637
|
+
f
|
|
638
|
+
);
|
|
639
|
+
}
|
|
640
|
+
f = message.getStartYear();
|
|
641
|
+
if (f !== 0) {
|
|
642
|
+
writer.writeInt32(
|
|
643
|
+
17,
|
|
644
|
+
f
|
|
645
|
+
);
|
|
646
|
+
}
|
|
647
|
+
f = message.getEndYear();
|
|
648
|
+
if (f !== 0) {
|
|
649
|
+
writer.writeInt32(
|
|
650
|
+
18,
|
|
651
|
+
f
|
|
652
|
+
);
|
|
653
|
+
}
|
|
654
|
+
f = message.getStartMonth();
|
|
655
|
+
if (f !== 0) {
|
|
656
|
+
writer.writeInt32(
|
|
657
|
+
19,
|
|
658
|
+
f
|
|
659
|
+
);
|
|
660
|
+
}
|
|
661
|
+
f = message.getEndMonth();
|
|
662
|
+
if (f !== 0) {
|
|
663
|
+
writer.writeInt32(
|
|
664
|
+
20,
|
|
665
|
+
f
|
|
666
|
+
);
|
|
667
|
+
}
|
|
668
|
+
f = message.getIsActive();
|
|
669
|
+
if (f) {
|
|
670
|
+
writer.writeBool(
|
|
671
|
+
21,
|
|
672
|
+
f
|
|
673
|
+
);
|
|
674
|
+
}
|
|
591
675
|
};
|
|
592
676
|
|
|
593
677
|
|
|
@@ -882,6 +966,132 @@ proto.Budget.prototype.hasOrganization = function() {
|
|
|
882
966
|
};
|
|
883
967
|
|
|
884
968
|
|
|
969
|
+
/**
|
|
970
|
+
* optional string code = 15;
|
|
971
|
+
* @return {string}
|
|
972
|
+
*/
|
|
973
|
+
proto.Budget.prototype.getCode = function() {
|
|
974
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* @param {string} value
|
|
980
|
+
* @return {!proto.Budget} returns this
|
|
981
|
+
*/
|
|
982
|
+
proto.Budget.prototype.setCode = function(value) {
|
|
983
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
984
|
+
};
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* optional string type = 16;
|
|
989
|
+
* @return {string}
|
|
990
|
+
*/
|
|
991
|
+
proto.Budget.prototype.getType = function() {
|
|
992
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* @param {string} value
|
|
998
|
+
* @return {!proto.Budget} returns this
|
|
999
|
+
*/
|
|
1000
|
+
proto.Budget.prototype.setType = function(value) {
|
|
1001
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* optional int32 start_year = 17;
|
|
1007
|
+
* @return {number}
|
|
1008
|
+
*/
|
|
1009
|
+
proto.Budget.prototype.getStartYear = function() {
|
|
1010
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* @param {number} value
|
|
1016
|
+
* @return {!proto.Budget} returns this
|
|
1017
|
+
*/
|
|
1018
|
+
proto.Budget.prototype.setStartYear = function(value) {
|
|
1019
|
+
return jspb.Message.setProto3IntField(this, 17, value);
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* optional int32 end_year = 18;
|
|
1025
|
+
* @return {number}
|
|
1026
|
+
*/
|
|
1027
|
+
proto.Budget.prototype.getEndYear = function() {
|
|
1028
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* @param {number} value
|
|
1034
|
+
* @return {!proto.Budget} returns this
|
|
1035
|
+
*/
|
|
1036
|
+
proto.Budget.prototype.setEndYear = function(value) {
|
|
1037
|
+
return jspb.Message.setProto3IntField(this, 18, value);
|
|
1038
|
+
};
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* optional int32 start_month = 19;
|
|
1043
|
+
* @return {number}
|
|
1044
|
+
*/
|
|
1045
|
+
proto.Budget.prototype.getStartMonth = function() {
|
|
1046
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* @param {number} value
|
|
1052
|
+
* @return {!proto.Budget} returns this
|
|
1053
|
+
*/
|
|
1054
|
+
proto.Budget.prototype.setStartMonth = function(value) {
|
|
1055
|
+
return jspb.Message.setProto3IntField(this, 19, value);
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* optional int32 end_month = 20;
|
|
1061
|
+
* @return {number}
|
|
1062
|
+
*/
|
|
1063
|
+
proto.Budget.prototype.getEndMonth = function() {
|
|
1064
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* @param {number} value
|
|
1070
|
+
* @return {!proto.Budget} returns this
|
|
1071
|
+
*/
|
|
1072
|
+
proto.Budget.prototype.setEndMonth = function(value) {
|
|
1073
|
+
return jspb.Message.setProto3IntField(this, 20, value);
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* optional bool is_active = 21;
|
|
1079
|
+
* @return {boolean}
|
|
1080
|
+
*/
|
|
1081
|
+
proto.Budget.prototype.getIsActive = function() {
|
|
1082
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 21, false));
|
|
1083
|
+
};
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* @param {boolean} value
|
|
1088
|
+
* @return {!proto.Budget} returns this
|
|
1089
|
+
*/
|
|
1090
|
+
proto.Budget.prototype.setIsActive = function(value) {
|
|
1091
|
+
return jspb.Message.setProto3BooleanField(this, 21, value);
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
|
|
885
1095
|
|
|
886
1096
|
|
|
887
1097
|
|
|
@@ -187,6 +187,28 @@ function deserialize_ResponseValidateBudget(buffer_arg) {
|
|
|
187
187
|
return prisca_v1_budget_planning_budget_planning_pb.ResponseValidateBudget.deserializeBinary(new Uint8Array(buffer_arg));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
+
function serialize_UpdateBudgetPlanningAmount(arg) {
|
|
191
|
+
if (!(arg instanceof prisca_v1_budget_planning_budget_planning_pb.UpdateBudgetPlanningAmount)) {
|
|
192
|
+
throw new Error('Expected argument of type UpdateBudgetPlanningAmount');
|
|
193
|
+
}
|
|
194
|
+
return Buffer.from(arg.serializeBinary());
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function deserialize_UpdateBudgetPlanningAmount(buffer_arg) {
|
|
198
|
+
return prisca_v1_budget_planning_budget_planning_pb.UpdateBudgetPlanningAmount.deserializeBinary(new Uint8Array(buffer_arg));
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function serialize_UpdateBudgetPlanningAmountRes(arg) {
|
|
202
|
+
if (!(arg instanceof prisca_v1_budget_planning_budget_planning_pb.UpdateBudgetPlanningAmountRes)) {
|
|
203
|
+
throw new Error('Expected argument of type UpdateBudgetPlanningAmountRes');
|
|
204
|
+
}
|
|
205
|
+
return Buffer.from(arg.serializeBinary());
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
function deserialize_UpdateBudgetPlanningAmountRes(buffer_arg) {
|
|
209
|
+
return prisca_v1_budget_planning_budget_planning_pb.UpdateBudgetPlanningAmountRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
210
|
+
}
|
|
211
|
+
|
|
190
212
|
function serialize_UpdateBudgetPlanningRequest(arg) {
|
|
191
213
|
if (!(arg instanceof prisca_v1_budget_planning_budget_planning_pb.UpdateBudgetPlanningRequest)) {
|
|
192
214
|
throw new Error('Expected argument of type UpdateBudgetPlanningRequest');
|
|
@@ -321,6 +343,17 @@ var BudgetPlanningServiceService = exports.BudgetPlanningServiceService = {
|
|
|
321
343
|
responseSerialize: serialize_ResponseValidateBudget,
|
|
322
344
|
responseDeserialize: deserialize_ResponseValidateBudget,
|
|
323
345
|
},
|
|
346
|
+
updateBudgetPlanningAmountRequest: {
|
|
347
|
+
path: '/BudgetPlanningService/UpdateBudgetPlanningAmountRequest',
|
|
348
|
+
requestStream: false,
|
|
349
|
+
responseStream: false,
|
|
350
|
+
requestType: prisca_v1_budget_planning_budget_planning_pb.UpdateBudgetPlanningAmount,
|
|
351
|
+
responseType: prisca_v1_budget_planning_budget_planning_pb.UpdateBudgetPlanningAmountRes,
|
|
352
|
+
requestSerialize: serialize_UpdateBudgetPlanningAmount,
|
|
353
|
+
requestDeserialize: deserialize_UpdateBudgetPlanningAmount,
|
|
354
|
+
responseSerialize: serialize_UpdateBudgetPlanningAmountRes,
|
|
355
|
+
responseDeserialize: deserialize_UpdateBudgetPlanningAmountRes,
|
|
356
|
+
},
|
|
324
357
|
};
|
|
325
358
|
|
|
326
359
|
exports.BudgetPlanningServiceClient = grpc.makeGenericClientConstructor(BudgetPlanningServiceService, 'BudgetPlanningService');
|