@aldiokta/protocgen 1.0.71 → 1.0.73

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.
@@ -686,17 +686,17 @@ proto.LineOfApproval.prototype.setDocumentType = function(value) {
686
686
 
687
687
 
688
688
  /**
689
- * optional Employee employees = 10;
690
- * @return {?proto.Employee}
689
+ * optional prisca.v1.core.employee.Employee employees = 10;
690
+ * @return {?proto.prisca.v1.core.employee.Employee}
691
691
  */
692
692
  proto.LineOfApproval.prototype.getEmployees = function() {
693
- return /** @type{?proto.Employee} */ (
693
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
694
694
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 10));
695
695
  };
696
696
 
697
697
 
698
698
  /**
699
- * @param {?proto.Employee|undefined} value
699
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
700
700
  * @return {!proto.LineOfApproval} returns this
701
701
  */
702
702
  proto.LineOfApproval.prototype.setEmployees = function(value) {
@@ -1289,17 +1289,17 @@ proto.Material.prototype.setCompaniesReferencesId = function(value) {
1289
1289
 
1290
1290
 
1291
1291
  /**
1292
- * optional Employee created_by_employee = 23;
1293
- * @return {?proto.Employee}
1292
+ * optional prisca.v1.core.employee.Employee created_by_employee = 23;
1293
+ * @return {?proto.prisca.v1.core.employee.Employee}
1294
1294
  */
1295
1295
  proto.Material.prototype.getCreatedByEmployee = function() {
1296
- return /** @type{?proto.Employee} */ (
1296
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
1297
1297
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 23));
1298
1298
  };
1299
1299
 
1300
1300
 
1301
1301
  /**
1302
- * @param {?proto.Employee|undefined} value
1302
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
1303
1303
  * @return {!proto.Material} returns this
1304
1304
  */
1305
1305
  proto.Material.prototype.setCreatedByEmployee = function(value) {
@@ -1326,17 +1326,17 @@ proto.Material.prototype.hasCreatedByEmployee = function() {
1326
1326
 
1327
1327
 
1328
1328
  /**
1329
- * optional Employee updated_by_employee = 24;
1330
- * @return {?proto.Employee}
1329
+ * optional prisca.v1.core.employee.Employee updated_by_employee = 24;
1330
+ * @return {?proto.prisca.v1.core.employee.Employee}
1331
1331
  */
1332
1332
  proto.Material.prototype.getUpdatedByEmployee = function() {
1333
- return /** @type{?proto.Employee} */ (
1333
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
1334
1334
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 24));
1335
1335
  };
1336
1336
 
1337
1337
 
1338
1338
  /**
1339
- * @param {?proto.Employee|undefined} value
1339
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
1340
1340
  * @return {!proto.Material} returns this
1341
1341
  */
1342
1342
  proto.Material.prototype.setUpdatedByEmployee = function(value) {
@@ -718,17 +718,17 @@ proto.MaterialGroup.prototype.setCompaniesReferencesId = function(value) {
718
718
 
719
719
 
720
720
  /**
721
- * optional Employee created_by_employee = 11;
722
- * @return {?proto.Employee}
721
+ * optional prisca.v1.core.employee.Employee created_by_employee = 11;
722
+ * @return {?proto.prisca.v1.core.employee.Employee}
723
723
  */
724
724
  proto.MaterialGroup.prototype.getCreatedByEmployee = function() {
725
- return /** @type{?proto.Employee} */ (
725
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
726
726
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 11));
727
727
  };
728
728
 
729
729
 
730
730
  /**
731
- * @param {?proto.Employee|undefined} value
731
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
732
732
  * @return {!proto.MaterialGroup} returns this
733
733
  */
734
734
  proto.MaterialGroup.prototype.setCreatedByEmployee = function(value) {
@@ -755,17 +755,17 @@ proto.MaterialGroup.prototype.hasCreatedByEmployee = function() {
755
755
 
756
756
 
757
757
  /**
758
- * optional Employee updated_by_employee = 12;
759
- * @return {?proto.Employee}
758
+ * optional prisca.v1.core.employee.Employee updated_by_employee = 12;
759
+ * @return {?proto.prisca.v1.core.employee.Employee}
760
760
  */
761
761
  proto.MaterialGroup.prototype.getUpdatedByEmployee = function() {
762
- return /** @type{?proto.Employee} */ (
762
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
763
763
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 12));
764
764
  };
765
765
 
766
766
 
767
767
  /**
768
- * @param {?proto.Employee|undefined} value
768
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
769
769
  * @return {!proto.MaterialGroup} returns this
770
770
  */
771
771
  proto.MaterialGroup.prototype.setUpdatedByEmployee = function(value) {
@@ -864,17 +864,17 @@ proto.MaterialType.prototype.setCompaniesReferencesId = function(value) {
864
864
 
865
865
 
866
866
  /**
867
- * optional Employee created_by_employee = 15;
868
- * @return {?proto.Employee}
867
+ * optional prisca.v1.core.employee.Employee created_by_employee = 15;
868
+ * @return {?proto.prisca.v1.core.employee.Employee}
869
869
  */
870
870
  proto.MaterialType.prototype.getCreatedByEmployee = function() {
871
- return /** @type{?proto.Employee} */ (
871
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
872
872
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 15));
873
873
  };
874
874
 
875
875
 
876
876
  /**
877
- * @param {?proto.Employee|undefined} value
877
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
878
878
  * @return {!proto.MaterialType} returns this
879
879
  */
880
880
  proto.MaterialType.prototype.setCreatedByEmployee = function(value) {
@@ -901,17 +901,17 @@ proto.MaterialType.prototype.hasCreatedByEmployee = function() {
901
901
 
902
902
 
903
903
  /**
904
- * optional Employee updated_by_employee = 16;
905
- * @return {?proto.Employee}
904
+ * optional prisca.v1.core.employee.Employee updated_by_employee = 16;
905
+ * @return {?proto.prisca.v1.core.employee.Employee}
906
906
  */
907
907
  proto.MaterialType.prototype.getUpdatedByEmployee = function() {
908
- return /** @type{?proto.Employee} */ (
908
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
909
909
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 16));
910
910
  };
911
911
 
912
912
 
913
913
  /**
914
- * @param {?proto.Employee|undefined} value
914
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
915
915
  * @return {!proto.MaterialType} returns this
916
916
  */
917
917
  proto.MaterialType.prototype.setUpdatedByEmployee = function(value) {
@@ -808,17 +808,17 @@ proto.NumberRange.prototype.setCompaniesReferencesId = function(value) {
808
808
 
809
809
 
810
810
  /**
811
- * optional Employee created_by_employee = 14;
812
- * @return {?proto.Employee}
811
+ * optional prisca.v1.core.employee.Employee created_by_employee = 14;
812
+ * @return {?proto.prisca.v1.core.employee.Employee}
813
813
  */
814
814
  proto.NumberRange.prototype.getCreatedByEmployee = function() {
815
- return /** @type{?proto.Employee} */ (
815
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
816
816
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 14));
817
817
  };
818
818
 
819
819
 
820
820
  /**
821
- * @param {?proto.Employee|undefined} value
821
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
822
822
  * @return {!proto.NumberRange} returns this
823
823
  */
824
824
  proto.NumberRange.prototype.setCreatedByEmployee = function(value) {
@@ -845,17 +845,17 @@ proto.NumberRange.prototype.hasCreatedByEmployee = function() {
845
845
 
846
846
 
847
847
  /**
848
- * optional Employee updated_by_employee = 15;
849
- * @return {?proto.Employee}
848
+ * optional prisca.v1.core.employee.Employee updated_by_employee = 15;
849
+ * @return {?proto.prisca.v1.core.employee.Employee}
850
850
  */
851
851
  proto.NumberRange.prototype.getUpdatedByEmployee = function() {
852
- return /** @type{?proto.Employee} */ (
852
+ return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
853
853
  jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 15));
854
854
  };
855
855
 
856
856
 
857
857
  /**
858
- * @param {?proto.Employee|undefined} value
858
+ * @param {?proto.prisca.v1.core.employee.Employee|undefined} value
859
859
  * @return {!proto.NumberRange} returns this
860
860
  */
861
861
  proto.NumberRange.prototype.setUpdatedByEmployee = function(value) {
@@ -19,6 +19,17 @@ function deserialize_CreateWorkflowRequest(buffer_arg) {
19
19
  return prisca_v1_core_workflow_workflow_pb.CreateWorkflowRequest.deserializeBinary(new Uint8Array(buffer_arg));
20
20
  }
21
21
 
22
+ function serialize_CreateWorkflowRequestDefault(arg) {
23
+ if (!(arg instanceof prisca_v1_core_workflow_workflow_pb.CreateWorkflowRequestDefault)) {
24
+ throw new Error('Expected argument of type CreateWorkflowRequestDefault');
25
+ }
26
+ return Buffer.from(arg.serializeBinary());
27
+ }
28
+
29
+ function deserialize_CreateWorkflowRequestDefault(buffer_arg) {
30
+ return prisca_v1_core_workflow_workflow_pb.CreateWorkflowRequestDefault.deserializeBinary(new Uint8Array(buffer_arg));
31
+ }
32
+
22
33
  function serialize_CreateWorkflowResponse(arg) {
23
34
  if (!(arg instanceof prisca_v1_core_workflow_workflow_pb.CreateWorkflowResponse)) {
24
35
  throw new Error('Expected argument of type CreateWorkflowResponse');
@@ -131,6 +142,17 @@ var WorkflowServiceService = exports.WorkflowServiceService = {
131
142
  responseSerialize: serialize_CreateWorkflowResponse,
132
143
  responseDeserialize: deserialize_CreateWorkflowResponse,
133
144
  },
145
+ createWorkflowDefault: {
146
+ path: '/WorkflowService/CreateWorkflowDefault',
147
+ requestStream: false,
148
+ responseStream: false,
149
+ requestType: prisca_v1_core_workflow_workflow_pb.CreateWorkflowRequestDefault,
150
+ responseType: prisca_v1_core_workflow_workflow_pb.CreateWorkflowResponse,
151
+ requestSerialize: serialize_CreateWorkflowRequestDefault,
152
+ requestDeserialize: deserialize_CreateWorkflowRequestDefault,
153
+ responseSerialize: serialize_CreateWorkflowResponse,
154
+ responseDeserialize: deserialize_CreateWorkflowResponse,
155
+ },
134
156
  updateWorkflow: {
135
157
  path: '/WorkflowService/UpdateWorkflow',
136
158
  requestStream: false,