@aldiokta/protocgen 1.0.17 → 1.0.18
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/core/company/company_pb.js +362 -99
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +1 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +157 -104
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +4 -0
- package/prisca/v1/core/job_position/job_position_pb.js +955 -285
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +1 -0
- package/prisca/v1/core/job_title/job_title_pb.js +417 -101
- package/prisca/v1/core/material/material_pb.js +159 -129
- package/prisca/v1/core/material_group/material_group_pb.js +39 -39
- package/prisca/v1/core/material_type/material_type_pb.js +55 -25
- package/prisca/v1/core/organization/organization_grpc_pb.js +3 -0
- package/prisca/v1/core/organization/organization_pb.js +814 -242
- package/prisca/v1/core/organization_level/organization_level_pb.js +40 -70
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +52 -52
- package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
- package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
- package/prisca/v1/core/work_location/work_location_pb.js +221 -221
- package/prisca/v1/core/workflow/workflow_pb.js +59 -59
|
@@ -2599,7 +2599,7 @@ proto.WorkflowStepsRecipients.deserializeBinaryFromReader = function(msg, reader
|
|
|
2599
2599
|
msg.setWorkflowStepsRefId(value);
|
|
2600
2600
|
break;
|
|
2601
2601
|
case 4:
|
|
2602
|
-
var value = /** @type {
|
|
2602
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2603
2603
|
msg.setRolesRefId(value);
|
|
2604
2604
|
break;
|
|
2605
2605
|
case 5:
|
|
@@ -2674,9 +2674,9 @@ proto.WorkflowStepsRecipients.serializeBinaryToWriter = function(message, writer
|
|
|
2674
2674
|
f
|
|
2675
2675
|
);
|
|
2676
2676
|
}
|
|
2677
|
-
f = /** @type {
|
|
2677
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
2678
2678
|
if (f != null) {
|
|
2679
|
-
writer.
|
|
2679
|
+
writer.writeInt32(
|
|
2680
2680
|
4,
|
|
2681
2681
|
f
|
|
2682
2682
|
);
|
|
@@ -2776,16 +2776,16 @@ proto.WorkflowStepsRecipients.prototype.setWorkflowStepsRefId = function(value)
|
|
|
2776
2776
|
|
|
2777
2777
|
|
|
2778
2778
|
/**
|
|
2779
|
-
* optional
|
|
2780
|
-
* @return {
|
|
2779
|
+
* optional int32 roles_ref_id = 4;
|
|
2780
|
+
* @return {number}
|
|
2781
2781
|
*/
|
|
2782
2782
|
proto.WorkflowStepsRecipients.prototype.getRolesRefId = function() {
|
|
2783
|
-
return /** @type {
|
|
2783
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2784
2784
|
};
|
|
2785
2785
|
|
|
2786
2786
|
|
|
2787
2787
|
/**
|
|
2788
|
-
* @param {
|
|
2788
|
+
* @param {number} value
|
|
2789
2789
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
2790
2790
|
*/
|
|
2791
2791
|
proto.WorkflowStepsRecipients.prototype.setRolesRefId = function(value) {
|
|
@@ -4706,7 +4706,7 @@ proto.UpdateWorkflowRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
4706
4706
|
*/
|
|
4707
4707
|
proto.UpdateWorkflowRequest.toObject = function(includeInstance, msg) {
|
|
4708
4708
|
var f, obj = {
|
|
4709
|
-
|
|
4709
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4710
4710
|
baseWorkflow: (f = msg.getBaseWorkflow()) && proto.BaseWorkflowRequest.toObject(includeInstance, f)
|
|
4711
4711
|
};
|
|
4712
4712
|
|
|
@@ -4745,8 +4745,8 @@ proto.UpdateWorkflowRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4745
4745
|
var field = reader.getFieldNumber();
|
|
4746
4746
|
switch (field) {
|
|
4747
4747
|
case 1:
|
|
4748
|
-
var value = /** @type {
|
|
4749
|
-
msg.
|
|
4748
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4749
|
+
msg.setReferencesId(value);
|
|
4750
4750
|
break;
|
|
4751
4751
|
case 2:
|
|
4752
4752
|
var value = new proto.BaseWorkflowRequest;
|
|
@@ -4782,9 +4782,9 @@ proto.UpdateWorkflowRequest.prototype.serializeBinary = function() {
|
|
|
4782
4782
|
*/
|
|
4783
4783
|
proto.UpdateWorkflowRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4784
4784
|
var f = undefined;
|
|
4785
|
-
f = message.
|
|
4786
|
-
if (f
|
|
4787
|
-
writer.
|
|
4785
|
+
f = message.getReferencesId();
|
|
4786
|
+
if (f.length > 0) {
|
|
4787
|
+
writer.writeString(
|
|
4788
4788
|
1,
|
|
4789
4789
|
f
|
|
4790
4790
|
);
|
|
@@ -4801,20 +4801,20 @@ proto.UpdateWorkflowRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
4801
4801
|
|
|
4802
4802
|
|
|
4803
4803
|
/**
|
|
4804
|
-
* optional
|
|
4805
|
-
* @return {
|
|
4804
|
+
* optional string references_id = 1;
|
|
4805
|
+
* @return {string}
|
|
4806
4806
|
*/
|
|
4807
|
-
proto.UpdateWorkflowRequest.prototype.
|
|
4808
|
-
return /** @type {
|
|
4807
|
+
proto.UpdateWorkflowRequest.prototype.getReferencesId = function() {
|
|
4808
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4809
4809
|
};
|
|
4810
4810
|
|
|
4811
4811
|
|
|
4812
4812
|
/**
|
|
4813
|
-
* @param {
|
|
4813
|
+
* @param {string} value
|
|
4814
4814
|
* @return {!proto.UpdateWorkflowRequest} returns this
|
|
4815
4815
|
*/
|
|
4816
|
-
proto.UpdateWorkflowRequest.prototype.
|
|
4817
|
-
return jspb.Message.
|
|
4816
|
+
proto.UpdateWorkflowRequest.prototype.setReferencesId = function(value) {
|
|
4817
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4818
4818
|
};
|
|
4819
4819
|
|
|
4820
4820
|
|
|
@@ -4887,7 +4887,7 @@ proto.DeleteWorkflowRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
4887
4887
|
*/
|
|
4888
4888
|
proto.DeleteWorkflowRequest.toObject = function(includeInstance, msg) {
|
|
4889
4889
|
var f, obj = {
|
|
4890
|
-
|
|
4890
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4891
4891
|
};
|
|
4892
4892
|
|
|
4893
4893
|
if (includeInstance) {
|
|
@@ -4925,8 +4925,8 @@ proto.DeleteWorkflowRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4925
4925
|
var field = reader.getFieldNumber();
|
|
4926
4926
|
switch (field) {
|
|
4927
4927
|
case 1:
|
|
4928
|
-
var value = /** @type {
|
|
4929
|
-
msg.
|
|
4928
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4929
|
+
msg.setReferencesId(value);
|
|
4930
4930
|
break;
|
|
4931
4931
|
default:
|
|
4932
4932
|
reader.skipField();
|
|
@@ -4957,9 +4957,9 @@ proto.DeleteWorkflowRequest.prototype.serializeBinary = function() {
|
|
|
4957
4957
|
*/
|
|
4958
4958
|
proto.DeleteWorkflowRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4959
4959
|
var f = undefined;
|
|
4960
|
-
f = message.
|
|
4961
|
-
if (f
|
|
4962
|
-
writer.
|
|
4960
|
+
f = message.getReferencesId();
|
|
4961
|
+
if (f.length > 0) {
|
|
4962
|
+
writer.writeString(
|
|
4963
4963
|
1,
|
|
4964
4964
|
f
|
|
4965
4965
|
);
|
|
@@ -4968,20 +4968,20 @@ proto.DeleteWorkflowRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
4968
4968
|
|
|
4969
4969
|
|
|
4970
4970
|
/**
|
|
4971
|
-
* optional
|
|
4972
|
-
* @return {
|
|
4971
|
+
* optional string references_id = 1;
|
|
4972
|
+
* @return {string}
|
|
4973
4973
|
*/
|
|
4974
|
-
proto.DeleteWorkflowRequest.prototype.
|
|
4975
|
-
return /** @type {
|
|
4974
|
+
proto.DeleteWorkflowRequest.prototype.getReferencesId = function() {
|
|
4975
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4976
4976
|
};
|
|
4977
4977
|
|
|
4978
4978
|
|
|
4979
4979
|
/**
|
|
4980
|
-
* @param {
|
|
4980
|
+
* @param {string} value
|
|
4981
4981
|
* @return {!proto.DeleteWorkflowRequest} returns this
|
|
4982
4982
|
*/
|
|
4983
|
-
proto.DeleteWorkflowRequest.prototype.
|
|
4984
|
-
return jspb.Message.
|
|
4983
|
+
proto.DeleteWorkflowRequest.prototype.setReferencesId = function(value) {
|
|
4984
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4985
4985
|
};
|
|
4986
4986
|
|
|
4987
4987
|
|
|
@@ -5017,7 +5017,7 @@ proto.GetWorkflowByIdRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
5017
5017
|
*/
|
|
5018
5018
|
proto.GetWorkflowByIdRequest.toObject = function(includeInstance, msg) {
|
|
5019
5019
|
var f, obj = {
|
|
5020
|
-
|
|
5020
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5021
5021
|
};
|
|
5022
5022
|
|
|
5023
5023
|
if (includeInstance) {
|
|
@@ -5055,8 +5055,8 @@ proto.GetWorkflowByIdRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5055
5055
|
var field = reader.getFieldNumber();
|
|
5056
5056
|
switch (field) {
|
|
5057
5057
|
case 1:
|
|
5058
|
-
var value = /** @type {
|
|
5059
|
-
msg.
|
|
5058
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5059
|
+
msg.setReferencesId(value);
|
|
5060
5060
|
break;
|
|
5061
5061
|
default:
|
|
5062
5062
|
reader.skipField();
|
|
@@ -5087,9 +5087,9 @@ proto.GetWorkflowByIdRequest.prototype.serializeBinary = function() {
|
|
|
5087
5087
|
*/
|
|
5088
5088
|
proto.GetWorkflowByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5089
5089
|
var f = undefined;
|
|
5090
|
-
f = message.
|
|
5091
|
-
if (f
|
|
5092
|
-
writer.
|
|
5090
|
+
f = message.getReferencesId();
|
|
5091
|
+
if (f.length > 0) {
|
|
5092
|
+
writer.writeString(
|
|
5093
5093
|
1,
|
|
5094
5094
|
f
|
|
5095
5095
|
);
|
|
@@ -5098,20 +5098,20 @@ proto.GetWorkflowByIdRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
5098
5098
|
|
|
5099
5099
|
|
|
5100
5100
|
/**
|
|
5101
|
-
* optional
|
|
5102
|
-
* @return {
|
|
5101
|
+
* optional string references_id = 1;
|
|
5102
|
+
* @return {string}
|
|
5103
5103
|
*/
|
|
5104
|
-
proto.GetWorkflowByIdRequest.prototype.
|
|
5105
|
-
return /** @type {
|
|
5104
|
+
proto.GetWorkflowByIdRequest.prototype.getReferencesId = function() {
|
|
5105
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5106
5106
|
};
|
|
5107
5107
|
|
|
5108
5108
|
|
|
5109
5109
|
/**
|
|
5110
|
-
* @param {
|
|
5110
|
+
* @param {string} value
|
|
5111
5111
|
* @return {!proto.GetWorkflowByIdRequest} returns this
|
|
5112
5112
|
*/
|
|
5113
|
-
proto.GetWorkflowByIdRequest.prototype.
|
|
5114
|
-
return jspb.Message.
|
|
5113
|
+
proto.GetWorkflowByIdRequest.prototype.setReferencesId = function(value) {
|
|
5114
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5115
5115
|
};
|
|
5116
5116
|
|
|
5117
5117
|
|
|
@@ -5753,7 +5753,7 @@ proto.DeleteWorkflowResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
5753
5753
|
*/
|
|
5754
5754
|
proto.DeleteWorkflowResponse.toObject = function(includeInstance, msg) {
|
|
5755
5755
|
var f, obj = {
|
|
5756
|
-
|
|
5756
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5757
5757
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
5758
5758
|
};
|
|
5759
5759
|
|
|
@@ -5792,8 +5792,8 @@ proto.DeleteWorkflowResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
5792
5792
|
var field = reader.getFieldNumber();
|
|
5793
5793
|
switch (field) {
|
|
5794
5794
|
case 1:
|
|
5795
|
-
var value = /** @type {
|
|
5796
|
-
msg.
|
|
5795
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5796
|
+
msg.setReferencesId(value);
|
|
5797
5797
|
break;
|
|
5798
5798
|
case 2:
|
|
5799
5799
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
@@ -5829,9 +5829,9 @@ proto.DeleteWorkflowResponse.prototype.serializeBinary = function() {
|
|
|
5829
5829
|
*/
|
|
5830
5830
|
proto.DeleteWorkflowResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5831
5831
|
var f = undefined;
|
|
5832
|
-
f = message.
|
|
5833
|
-
if (f
|
|
5834
|
-
writer.
|
|
5832
|
+
f = message.getReferencesId();
|
|
5833
|
+
if (f.length > 0) {
|
|
5834
|
+
writer.writeString(
|
|
5835
5835
|
1,
|
|
5836
5836
|
f
|
|
5837
5837
|
);
|
|
@@ -5848,20 +5848,20 @@ proto.DeleteWorkflowResponse.serializeBinaryToWriter = function(message, writer)
|
|
|
5848
5848
|
|
|
5849
5849
|
|
|
5850
5850
|
/**
|
|
5851
|
-
* optional
|
|
5852
|
-
* @return {
|
|
5851
|
+
* optional string references_id = 1;
|
|
5852
|
+
* @return {string}
|
|
5853
5853
|
*/
|
|
5854
|
-
proto.DeleteWorkflowResponse.prototype.
|
|
5855
|
-
return /** @type {
|
|
5854
|
+
proto.DeleteWorkflowResponse.prototype.getReferencesId = function() {
|
|
5855
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5856
5856
|
};
|
|
5857
5857
|
|
|
5858
5858
|
|
|
5859
5859
|
/**
|
|
5860
|
-
* @param {
|
|
5860
|
+
* @param {string} value
|
|
5861
5861
|
* @return {!proto.DeleteWorkflowResponse} returns this
|
|
5862
5862
|
*/
|
|
5863
|
-
proto.DeleteWorkflowResponse.prototype.
|
|
5864
|
-
return jspb.Message.
|
|
5863
|
+
proto.DeleteWorkflowResponse.prototype.setReferencesId = function(value) {
|
|
5864
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5865
5865
|
};
|
|
5866
5866
|
|
|
5867
5867
|
|