@aldiokta/protocgen 1.0.51 → 1.0.53
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/job_grade/job_grade_pb.js +9 -9
- package/prisca/v1/core/job_position/job_position_pb.js +18 -18
- package/prisca/v1/core/job_title/job_title_pb.js +9 -9
- package/prisca/v1/core/organization/organization_pb.js +9 -9
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +1 -0
- package/prisca/v1/core/organization_level/organization_level_pb.js +115 -2
- package/prisca/v1/core/work_location/work_location_pb.js +9 -9
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +1 -1
- package/prisca/v1/core/workflow/workflow_pb.js +40 -40
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +124 -64
package/package.json
CHANGED
|
@@ -546,7 +546,7 @@ code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
546
546
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
547
547
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
548
548
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
549
|
-
|
|
549
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
550
550
|
};
|
|
551
551
|
|
|
552
552
|
if (includeInstance) {
|
|
@@ -606,7 +606,7 @@ proto.BaseJobGrade.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
606
606
|
case 6:
|
|
607
607
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
608
608
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
609
|
-
msg.
|
|
609
|
+
msg.setCompany(value);
|
|
610
610
|
break;
|
|
611
611
|
default:
|
|
612
612
|
reader.skipField();
|
|
@@ -672,7 +672,7 @@ proto.BaseJobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
|
672
672
|
f
|
|
673
673
|
);
|
|
674
674
|
}
|
|
675
|
-
f = message.
|
|
675
|
+
f = message.getCompany();
|
|
676
676
|
if (f != null) {
|
|
677
677
|
writer.writeMessage(
|
|
678
678
|
6,
|
|
@@ -774,10 +774,10 @@ proto.BaseJobGrade.prototype.setCompaniesReferencesId = function(value) {
|
|
|
774
774
|
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
|
-
* optional BaseCompanyParent
|
|
777
|
+
* optional BaseCompanyParent company = 6;
|
|
778
778
|
* @return {?proto.BaseCompanyParent}
|
|
779
779
|
*/
|
|
780
|
-
proto.BaseJobGrade.prototype.
|
|
780
|
+
proto.BaseJobGrade.prototype.getCompany = function() {
|
|
781
781
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
782
782
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 6));
|
|
783
783
|
};
|
|
@@ -787,7 +787,7 @@ proto.BaseJobGrade.prototype.getCompanies = function() {
|
|
|
787
787
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
788
788
|
* @return {!proto.BaseJobGrade} returns this
|
|
789
789
|
*/
|
|
790
|
-
proto.BaseJobGrade.prototype.
|
|
790
|
+
proto.BaseJobGrade.prototype.setCompany = function(value) {
|
|
791
791
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
792
792
|
};
|
|
793
793
|
|
|
@@ -796,8 +796,8 @@ proto.BaseJobGrade.prototype.setCompanies = function(value) {
|
|
|
796
796
|
* Clears the message field making it undefined.
|
|
797
797
|
* @return {!proto.BaseJobGrade} returns this
|
|
798
798
|
*/
|
|
799
|
-
proto.BaseJobGrade.prototype.
|
|
800
|
-
return this.
|
|
799
|
+
proto.BaseJobGrade.prototype.clearCompany = function() {
|
|
800
|
+
return this.setCompany(undefined);
|
|
801
801
|
};
|
|
802
802
|
|
|
803
803
|
|
|
@@ -805,7 +805,7 @@ proto.BaseJobGrade.prototype.clearCompanies = function() {
|
|
|
805
805
|
* Returns whether this field is set.
|
|
806
806
|
* @return {boolean}
|
|
807
807
|
*/
|
|
808
|
-
proto.BaseJobGrade.prototype.
|
|
808
|
+
proto.BaseJobGrade.prototype.hasCompany = function() {
|
|
809
809
|
return jspb.Message.getField(this, 6) != null;
|
|
810
810
|
};
|
|
811
811
|
|
|
@@ -361,7 +361,7 @@ workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
|
361
361
|
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
362
362
|
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
363
363
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
364
|
-
|
|
364
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f),
|
|
365
365
|
usersRoleReferencesId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
366
366
|
role: (f = msg.getRole()) && prisca_v1_core_users_role_users_role_pb.BaseUsersRole.toObject(includeInstance, f),
|
|
367
367
|
referencesId: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
@@ -455,7 +455,7 @@ proto.BaseJobPosition.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
455
455
|
case 13:
|
|
456
456
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
457
457
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
458
|
-
msg.
|
|
458
|
+
msg.setCompany(value);
|
|
459
459
|
break;
|
|
460
460
|
case 14:
|
|
461
461
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -586,7 +586,7 @@ proto.BaseJobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
|
586
586
|
f
|
|
587
587
|
);
|
|
588
588
|
}
|
|
589
|
-
f = message.
|
|
589
|
+
f = message.getCompany();
|
|
590
590
|
if (f != null) {
|
|
591
591
|
writer.writeMessage(
|
|
592
592
|
13,
|
|
@@ -893,10 +893,10 @@ proto.BaseJobPosition.prototype.setCompaniesReferencesId = function(value) {
|
|
|
893
893
|
|
|
894
894
|
|
|
895
895
|
/**
|
|
896
|
-
* optional BaseCompanyParent
|
|
896
|
+
* optional BaseCompanyParent company = 13;
|
|
897
897
|
* @return {?proto.BaseCompanyParent}
|
|
898
898
|
*/
|
|
899
|
-
proto.BaseJobPosition.prototype.
|
|
899
|
+
proto.BaseJobPosition.prototype.getCompany = function() {
|
|
900
900
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
901
901
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 13));
|
|
902
902
|
};
|
|
@@ -906,7 +906,7 @@ proto.BaseJobPosition.prototype.getCompanies = function() {
|
|
|
906
906
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
907
907
|
* @return {!proto.BaseJobPosition} returns this
|
|
908
908
|
*/
|
|
909
|
-
proto.BaseJobPosition.prototype.
|
|
909
|
+
proto.BaseJobPosition.prototype.setCompany = function(value) {
|
|
910
910
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
911
911
|
};
|
|
912
912
|
|
|
@@ -915,8 +915,8 @@ proto.BaseJobPosition.prototype.setCompanies = function(value) {
|
|
|
915
915
|
* Clears the message field making it undefined.
|
|
916
916
|
* @return {!proto.BaseJobPosition} returns this
|
|
917
917
|
*/
|
|
918
|
-
proto.BaseJobPosition.prototype.
|
|
919
|
-
return this.
|
|
918
|
+
proto.BaseJobPosition.prototype.clearCompany = function() {
|
|
919
|
+
return this.setCompany(undefined);
|
|
920
920
|
};
|
|
921
921
|
|
|
922
922
|
|
|
@@ -924,7 +924,7 @@ proto.BaseJobPosition.prototype.clearCompanies = function() {
|
|
|
924
924
|
* Returns whether this field is set.
|
|
925
925
|
* @return {boolean}
|
|
926
926
|
*/
|
|
927
|
-
proto.BaseJobPosition.prototype.
|
|
927
|
+
proto.BaseJobPosition.prototype.hasCompany = function() {
|
|
928
928
|
return jspb.Message.getField(this, 13) != null;
|
|
929
929
|
};
|
|
930
930
|
|
|
@@ -1043,7 +1043,7 @@ jobPositions: (f = msg.getJobPositions()) && proto.BaseJobPosition.toObject(incl
|
|
|
1043
1043
|
organizations: (f = msg.getOrganizations()) && prisca_v1_core_organization_organization_pb.Organization.toObject(includeInstance, f),
|
|
1044
1044
|
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
1045
1045
|
description: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1046
|
-
|
|
1046
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f),
|
|
1047
1047
|
role: (f = msg.getRole()) && prisca_v1_core_users_role_users_role_pb.BaseUsersRole.toObject(includeInstance, f)
|
|
1048
1048
|
};
|
|
1049
1049
|
|
|
@@ -1123,7 +1123,7 @@ proto.BaseJobPositionParent.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1123
1123
|
case 10:
|
|
1124
1124
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
1125
1125
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
1126
|
-
msg.
|
|
1126
|
+
msg.setCompany(value);
|
|
1127
1127
|
break;
|
|
1128
1128
|
case 11:
|
|
1129
1129
|
var value = new prisca_v1_core_users_role_users_role_pb.BaseUsersRole;
|
|
@@ -1225,7 +1225,7 @@ proto.BaseJobPositionParent.serializeBinaryToWriter = function(message, writer)
|
|
|
1225
1225
|
f
|
|
1226
1226
|
);
|
|
1227
1227
|
}
|
|
1228
|
-
f = message.
|
|
1228
|
+
f = message.getCompany();
|
|
1229
1229
|
if (f != null) {
|
|
1230
1230
|
writer.writeMessage(
|
|
1231
1231
|
10,
|
|
@@ -1464,10 +1464,10 @@ proto.BaseJobPositionParent.prototype.setDescription = function(value) {
|
|
|
1464
1464
|
|
|
1465
1465
|
|
|
1466
1466
|
/**
|
|
1467
|
-
* optional BaseCompanyParent
|
|
1467
|
+
* optional BaseCompanyParent company = 10;
|
|
1468
1468
|
* @return {?proto.BaseCompanyParent}
|
|
1469
1469
|
*/
|
|
1470
|
-
proto.BaseJobPositionParent.prototype.
|
|
1470
|
+
proto.BaseJobPositionParent.prototype.getCompany = function() {
|
|
1471
1471
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
1472
1472
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 10));
|
|
1473
1473
|
};
|
|
@@ -1477,7 +1477,7 @@ proto.BaseJobPositionParent.prototype.getCompanies = function() {
|
|
|
1477
1477
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
1478
1478
|
* @return {!proto.BaseJobPositionParent} returns this
|
|
1479
1479
|
*/
|
|
1480
|
-
proto.BaseJobPositionParent.prototype.
|
|
1480
|
+
proto.BaseJobPositionParent.prototype.setCompany = function(value) {
|
|
1481
1481
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
1482
1482
|
};
|
|
1483
1483
|
|
|
@@ -1486,8 +1486,8 @@ proto.BaseJobPositionParent.prototype.setCompanies = function(value) {
|
|
|
1486
1486
|
* Clears the message field making it undefined.
|
|
1487
1487
|
* @return {!proto.BaseJobPositionParent} returns this
|
|
1488
1488
|
*/
|
|
1489
|
-
proto.BaseJobPositionParent.prototype.
|
|
1490
|
-
return this.
|
|
1489
|
+
proto.BaseJobPositionParent.prototype.clearCompany = function() {
|
|
1490
|
+
return this.setCompany(undefined);
|
|
1491
1491
|
};
|
|
1492
1492
|
|
|
1493
1493
|
|
|
@@ -1495,7 +1495,7 @@ proto.BaseJobPositionParent.prototype.clearCompanies = function() {
|
|
|
1495
1495
|
* Returns whether this field is set.
|
|
1496
1496
|
* @return {boolean}
|
|
1497
1497
|
*/
|
|
1498
|
-
proto.BaseJobPositionParent.prototype.
|
|
1498
|
+
proto.BaseJobPositionParent.prototype.hasCompany = function() {
|
|
1499
1499
|
return jspb.Message.getField(this, 10) != null;
|
|
1500
1500
|
};
|
|
1501
1501
|
|
|
@@ -599,7 +599,7 @@ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
|
599
599
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
600
600
|
parentReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
601
601
|
parent: (f = msg.getParent()) && proto.BaseJobTitleParent.toObject(includeInstance, f),
|
|
602
|
-
|
|
602
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
603
603
|
};
|
|
604
604
|
|
|
605
605
|
if (includeInstance) {
|
|
@@ -664,7 +664,7 @@ proto.BaseJobTitle.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
664
664
|
case 7:
|
|
665
665
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
666
666
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
667
|
-
msg.
|
|
667
|
+
msg.setCompany(value);
|
|
668
668
|
break;
|
|
669
669
|
default:
|
|
670
670
|
reader.skipField();
|
|
@@ -738,7 +738,7 @@ proto.BaseJobTitle.serializeBinaryToWriter = function(message, writer) {
|
|
|
738
738
|
proto.BaseJobTitleParent.serializeBinaryToWriter
|
|
739
739
|
);
|
|
740
740
|
}
|
|
741
|
-
f = message.
|
|
741
|
+
f = message.getCompany();
|
|
742
742
|
if (f != null) {
|
|
743
743
|
writer.writeMessage(
|
|
744
744
|
7,
|
|
@@ -877,10 +877,10 @@ proto.BaseJobTitle.prototype.hasParent = function() {
|
|
|
877
877
|
|
|
878
878
|
|
|
879
879
|
/**
|
|
880
|
-
* optional BaseCompanyParent
|
|
880
|
+
* optional BaseCompanyParent company = 7;
|
|
881
881
|
* @return {?proto.BaseCompanyParent}
|
|
882
882
|
*/
|
|
883
|
-
proto.BaseJobTitle.prototype.
|
|
883
|
+
proto.BaseJobTitle.prototype.getCompany = function() {
|
|
884
884
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
885
885
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 7));
|
|
886
886
|
};
|
|
@@ -890,7 +890,7 @@ proto.BaseJobTitle.prototype.getCompanies = function() {
|
|
|
890
890
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
891
891
|
* @return {!proto.BaseJobTitle} returns this
|
|
892
892
|
*/
|
|
893
|
-
proto.BaseJobTitle.prototype.
|
|
893
|
+
proto.BaseJobTitle.prototype.setCompany = function(value) {
|
|
894
894
|
return jspb.Message.setWrapperField(this, 7, value);
|
|
895
895
|
};
|
|
896
896
|
|
|
@@ -899,8 +899,8 @@ proto.BaseJobTitle.prototype.setCompanies = function(value) {
|
|
|
899
899
|
* Clears the message field making it undefined.
|
|
900
900
|
* @return {!proto.BaseJobTitle} returns this
|
|
901
901
|
*/
|
|
902
|
-
proto.BaseJobTitle.prototype.
|
|
903
|
-
return this.
|
|
902
|
+
proto.BaseJobTitle.prototype.clearCompany = function() {
|
|
903
|
+
return this.setCompany(undefined);
|
|
904
904
|
};
|
|
905
905
|
|
|
906
906
|
|
|
@@ -908,7 +908,7 @@ proto.BaseJobTitle.prototype.clearCompanies = function() {
|
|
|
908
908
|
* Returns whether this field is set.
|
|
909
909
|
* @return {boolean}
|
|
910
910
|
*/
|
|
911
|
-
proto.BaseJobTitle.prototype.
|
|
911
|
+
proto.BaseJobTitle.prototype.hasCompany = function() {
|
|
912
912
|
return jspb.Message.getField(this, 7) != null;
|
|
913
913
|
};
|
|
914
914
|
|
|
@@ -337,7 +337,7 @@ workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
|
337
337
|
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
338
338
|
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
339
339
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
340
|
-
|
|
340
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
341
341
|
};
|
|
342
342
|
|
|
343
343
|
if (includeInstance) {
|
|
@@ -428,7 +428,7 @@ proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
428
428
|
case 13:
|
|
429
429
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
430
430
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
431
|
-
msg.
|
|
431
|
+
msg.setCompany(value);
|
|
432
432
|
break;
|
|
433
433
|
default:
|
|
434
434
|
reader.skipField();
|
|
@@ -546,7 +546,7 @@ proto.Organization.serializeBinaryToWriter = function(message, writer) {
|
|
|
546
546
|
f
|
|
547
547
|
);
|
|
548
548
|
}
|
|
549
|
-
f = message.
|
|
549
|
+
f = message.getCompany();
|
|
550
550
|
if (f != null) {
|
|
551
551
|
writer.writeMessage(
|
|
552
552
|
13,
|
|
@@ -831,10 +831,10 @@ proto.Organization.prototype.setCompaniesReferencesId = function(value) {
|
|
|
831
831
|
|
|
832
832
|
|
|
833
833
|
/**
|
|
834
|
-
* optional BaseCompanyParent
|
|
834
|
+
* optional BaseCompanyParent company = 13;
|
|
835
835
|
* @return {?proto.BaseCompanyParent}
|
|
836
836
|
*/
|
|
837
|
-
proto.Organization.prototype.
|
|
837
|
+
proto.Organization.prototype.getCompany = function() {
|
|
838
838
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
839
839
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 13));
|
|
840
840
|
};
|
|
@@ -844,7 +844,7 @@ proto.Organization.prototype.getCompanies = function() {
|
|
|
844
844
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
845
845
|
* @return {!proto.Organization} returns this
|
|
846
846
|
*/
|
|
847
|
-
proto.Organization.prototype.
|
|
847
|
+
proto.Organization.prototype.setCompany = function(value) {
|
|
848
848
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
849
849
|
};
|
|
850
850
|
|
|
@@ -853,8 +853,8 @@ proto.Organization.prototype.setCompanies = function(value) {
|
|
|
853
853
|
* Clears the message field making it undefined.
|
|
854
854
|
* @return {!proto.Organization} returns this
|
|
855
855
|
*/
|
|
856
|
-
proto.Organization.prototype.
|
|
857
|
-
return this.
|
|
856
|
+
proto.Organization.prototype.clearCompany = function() {
|
|
857
|
+
return this.setCompany(undefined);
|
|
858
858
|
};
|
|
859
859
|
|
|
860
860
|
|
|
@@ -862,7 +862,7 @@ proto.Organization.prototype.clearCompanies = function() {
|
|
|
862
862
|
* Returns whether this field is set.
|
|
863
863
|
* @return {boolean}
|
|
864
864
|
*/
|
|
865
|
-
proto.Organization.prototype.
|
|
865
|
+
proto.Organization.prototype.hasCompany = function() {
|
|
866
866
|
return jspb.Message.getField(this, 13) != null;
|
|
867
867
|
};
|
|
868
868
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var prisca_v1_core_organization_level_organization_level_pb = require('../../../../prisca/v1/core/organization_level/organization_level_pb.js');
|
|
6
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');
|
|
7
8
|
|
|
8
9
|
function serialize_CreateOrganizationLevelRequest(arg) {
|
|
9
10
|
if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelRequest)) {
|
|
@@ -23,6 +23,8 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
+
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
26
28
|
goog.exportSymbol('proto.BaseOrganizationLevel', null, global);
|
|
27
29
|
goog.exportSymbol('proto.CreateOrganizationLevelRequest', null, global);
|
|
28
30
|
goog.exportSymbol('proto.CreateOrganizationLevelResponse', null, global);
|
|
@@ -320,7 +322,8 @@ proto.OrganizationLevel.prototype.toObject = function(opt_includeInstance) {
|
|
|
320
322
|
proto.OrganizationLevel.toObject = function(includeInstance, msg) {
|
|
321
323
|
var f, obj = {
|
|
322
324
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
323
|
-
level: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
325
|
+
level: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
326
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
324
327
|
};
|
|
325
328
|
|
|
326
329
|
if (includeInstance) {
|
|
@@ -365,6 +368,10 @@ proto.OrganizationLevel.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
365
368
|
var value = /** @type {number} */ (reader.readInt64());
|
|
366
369
|
msg.setLevel(value);
|
|
367
370
|
break;
|
|
371
|
+
case 3:
|
|
372
|
+
var value = /** @type {string} */ (reader.readString());
|
|
373
|
+
msg.setCompaniesReferencesId(value);
|
|
374
|
+
break;
|
|
368
375
|
default:
|
|
369
376
|
reader.skipField();
|
|
370
377
|
break;
|
|
@@ -408,6 +415,13 @@ proto.OrganizationLevel.serializeBinaryToWriter = function(message, writer) {
|
|
|
408
415
|
f
|
|
409
416
|
);
|
|
410
417
|
}
|
|
418
|
+
f = message.getCompaniesReferencesId();
|
|
419
|
+
if (f.length > 0) {
|
|
420
|
+
writer.writeString(
|
|
421
|
+
3,
|
|
422
|
+
f
|
|
423
|
+
);
|
|
424
|
+
}
|
|
411
425
|
};
|
|
412
426
|
|
|
413
427
|
|
|
@@ -447,6 +461,24 @@ proto.OrganizationLevel.prototype.setLevel = function(value) {
|
|
|
447
461
|
};
|
|
448
462
|
|
|
449
463
|
|
|
464
|
+
/**
|
|
465
|
+
* optional string companies_references_id = 3;
|
|
466
|
+
* @return {string}
|
|
467
|
+
*/
|
|
468
|
+
proto.OrganizationLevel.prototype.getCompaniesReferencesId = function() {
|
|
469
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @param {string} value
|
|
475
|
+
* @return {!proto.OrganizationLevel} returns this
|
|
476
|
+
*/
|
|
477
|
+
proto.OrganizationLevel.prototype.setCompaniesReferencesId = function(value) {
|
|
478
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
|
|
450
482
|
|
|
451
483
|
|
|
452
484
|
|
|
@@ -481,7 +513,9 @@ proto.BaseOrganizationLevel.toObject = function(includeInstance, msg) {
|
|
|
481
513
|
var f, obj = {
|
|
482
514
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
483
515
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
484
|
-
level: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
516
|
+
level: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
517
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
518
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
485
519
|
};
|
|
486
520
|
|
|
487
521
|
if (includeInstance) {
|
|
@@ -530,6 +564,15 @@ proto.BaseOrganizationLevel.deserializeBinaryFromReader = function(msg, reader)
|
|
|
530
564
|
var value = /** @type {number} */ (reader.readInt64());
|
|
531
565
|
msg.setLevel(value);
|
|
532
566
|
break;
|
|
567
|
+
case 4:
|
|
568
|
+
var value = /** @type {string} */ (reader.readString());
|
|
569
|
+
msg.setCompaniesReferencesId(value);
|
|
570
|
+
break;
|
|
571
|
+
case 5:
|
|
572
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
573
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
574
|
+
msg.setCompany(value);
|
|
575
|
+
break;
|
|
533
576
|
default:
|
|
534
577
|
reader.skipField();
|
|
535
578
|
break;
|
|
@@ -580,6 +623,21 @@ proto.BaseOrganizationLevel.serializeBinaryToWriter = function(message, writer)
|
|
|
580
623
|
f
|
|
581
624
|
);
|
|
582
625
|
}
|
|
626
|
+
f = message.getCompaniesReferencesId();
|
|
627
|
+
if (f.length > 0) {
|
|
628
|
+
writer.writeString(
|
|
629
|
+
4,
|
|
630
|
+
f
|
|
631
|
+
);
|
|
632
|
+
}
|
|
633
|
+
f = message.getCompany();
|
|
634
|
+
if (f != null) {
|
|
635
|
+
writer.writeMessage(
|
|
636
|
+
5,
|
|
637
|
+
f,
|
|
638
|
+
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
639
|
+
);
|
|
640
|
+
}
|
|
583
641
|
};
|
|
584
642
|
|
|
585
643
|
|
|
@@ -637,6 +695,61 @@ proto.BaseOrganizationLevel.prototype.setLevel = function(value) {
|
|
|
637
695
|
};
|
|
638
696
|
|
|
639
697
|
|
|
698
|
+
/**
|
|
699
|
+
* optional string companies_references_id = 4;
|
|
700
|
+
* @return {string}
|
|
701
|
+
*/
|
|
702
|
+
proto.BaseOrganizationLevel.prototype.getCompaniesReferencesId = function() {
|
|
703
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* @param {string} value
|
|
709
|
+
* @return {!proto.BaseOrganizationLevel} returns this
|
|
710
|
+
*/
|
|
711
|
+
proto.BaseOrganizationLevel.prototype.setCompaniesReferencesId = function(value) {
|
|
712
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* optional BaseCompanyParent company = 5;
|
|
718
|
+
* @return {?proto.BaseCompanyParent}
|
|
719
|
+
*/
|
|
720
|
+
proto.BaseOrganizationLevel.prototype.getCompany = function() {
|
|
721
|
+
return /** @type{?proto.BaseCompanyParent} */ (
|
|
722
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 5));
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* @param {?proto.BaseCompanyParent|undefined} value
|
|
728
|
+
* @return {!proto.BaseOrganizationLevel} returns this
|
|
729
|
+
*/
|
|
730
|
+
proto.BaseOrganizationLevel.prototype.setCompany = function(value) {
|
|
731
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Clears the message field making it undefined.
|
|
737
|
+
* @return {!proto.BaseOrganizationLevel} returns this
|
|
738
|
+
*/
|
|
739
|
+
proto.BaseOrganizationLevel.prototype.clearCompany = function() {
|
|
740
|
+
return this.setCompany(undefined);
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Returns whether this field is set.
|
|
746
|
+
* @return {boolean}
|
|
747
|
+
*/
|
|
748
|
+
proto.BaseOrganizationLevel.prototype.hasCompany = function() {
|
|
749
|
+
return jspb.Message.getField(this, 5) != null;
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
|
|
640
753
|
|
|
641
754
|
|
|
642
755
|
|
|
@@ -1141,7 +1141,7 @@ areaReferencesId: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
|
1141
1141
|
taxOfficeLocation: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
1142
1142
|
referencesId: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
1143
1143
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
1144
|
-
|
|
1144
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
1145
1145
|
};
|
|
1146
1146
|
|
|
1147
1147
|
if (includeInstance) {
|
|
@@ -1298,7 +1298,7 @@ proto.BaseWorkLocation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1298
1298
|
case 29:
|
|
1299
1299
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
1300
1300
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
1301
|
-
msg.
|
|
1301
|
+
msg.setCompany(value);
|
|
1302
1302
|
break;
|
|
1303
1303
|
default:
|
|
1304
1304
|
reader.skipField();
|
|
@@ -1530,7 +1530,7 @@ proto.BaseWorkLocation.serializeBinaryToWriter = function(message, writer) {
|
|
|
1530
1530
|
f
|
|
1531
1531
|
);
|
|
1532
1532
|
}
|
|
1533
|
-
f = message.
|
|
1533
|
+
f = message.getCompany();
|
|
1534
1534
|
if (f != null) {
|
|
1535
1535
|
writer.writeMessage(
|
|
1536
1536
|
29,
|
|
@@ -2141,10 +2141,10 @@ proto.BaseWorkLocation.prototype.setCompaniesReferencesId = function(value) {
|
|
|
2141
2141
|
|
|
2142
2142
|
|
|
2143
2143
|
/**
|
|
2144
|
-
* optional BaseCompanyParent
|
|
2144
|
+
* optional BaseCompanyParent company = 29;
|
|
2145
2145
|
* @return {?proto.BaseCompanyParent}
|
|
2146
2146
|
*/
|
|
2147
|
-
proto.BaseWorkLocation.prototype.
|
|
2147
|
+
proto.BaseWorkLocation.prototype.getCompany = function() {
|
|
2148
2148
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
2149
2149
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 29));
|
|
2150
2150
|
};
|
|
@@ -2154,7 +2154,7 @@ proto.BaseWorkLocation.prototype.getCompanies = function() {
|
|
|
2154
2154
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
2155
2155
|
* @return {!proto.BaseWorkLocation} returns this
|
|
2156
2156
|
*/
|
|
2157
|
-
proto.BaseWorkLocation.prototype.
|
|
2157
|
+
proto.BaseWorkLocation.prototype.setCompany = function(value) {
|
|
2158
2158
|
return jspb.Message.setWrapperField(this, 29, value);
|
|
2159
2159
|
};
|
|
2160
2160
|
|
|
@@ -2163,8 +2163,8 @@ proto.BaseWorkLocation.prototype.setCompanies = function(value) {
|
|
|
2163
2163
|
* Clears the message field making it undefined.
|
|
2164
2164
|
* @return {!proto.BaseWorkLocation} returns this
|
|
2165
2165
|
*/
|
|
2166
|
-
proto.BaseWorkLocation.prototype.
|
|
2167
|
-
return this.
|
|
2166
|
+
proto.BaseWorkLocation.prototype.clearCompany = function() {
|
|
2167
|
+
return this.setCompany(undefined);
|
|
2168
2168
|
};
|
|
2169
2169
|
|
|
2170
2170
|
|
|
@@ -2172,7 +2172,7 @@ proto.BaseWorkLocation.prototype.clearCompanies = function() {
|
|
|
2172
2172
|
* Returns whether this field is set.
|
|
2173
2173
|
* @return {boolean}
|
|
2174
2174
|
*/
|
|
2175
|
-
proto.BaseWorkLocation.prototype.
|
|
2175
|
+
proto.BaseWorkLocation.prototype.hasCompany = function() {
|
|
2176
2176
|
return jspb.Message.getField(this, 29) != null;
|
|
2177
2177
|
};
|
|
2178
2178
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var prisca_v1_core_workflow_workflow_pb = require('../../../../prisca/v1/core/workflow/workflow_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
-
var
|
|
7
|
+
var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
|
|
8
8
|
var prisca_v1_core_job_position_job_position_pb = require('../../../../prisca/v1/core/job_position/job_position_pb.js');
|
|
9
9
|
var prisca_v1_core_recipient_roles_recipient_roles_pb = require('../../../../prisca/v1/core/recipient_roles/recipient_roles_pb.js');
|
|
10
10
|
|
|
@@ -23,8 +23,8 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
-
var
|
|
27
|
-
goog.object.extend(proto,
|
|
26
|
+
var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
28
28
|
var prisca_v1_core_job_position_job_position_pb = require('../../../../prisca/v1/core/job_position/job_position_pb.js');
|
|
29
29
|
goog.object.extend(proto, prisca_v1_core_job_position_job_position_pb);
|
|
30
30
|
var prisca_v1_core_recipient_roles_recipient_roles_pb = require('../../../../prisca/v1/core/recipient_roles/recipient_roles_pb.js');
|
|
@@ -2808,12 +2808,12 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
|
2808
2808
|
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2809
2809
|
workflowStepsRefId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2810
2810
|
jobPositionRefId: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
|
2811
|
-
|
|
2811
|
+
employeesRefIdList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
2812
2812
|
createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2813
2813
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2814
2814
|
jobPosition: (f = msg.getJobPosition()) && prisca_v1_core_job_position_job_position_pb.JobPosition.toObject(includeInstance, f),
|
|
2815
|
-
|
|
2816
|
-
|
|
2815
|
+
employeesList: jspb.Message.toObjectList(msg.getEmployeesList(),
|
|
2816
|
+
prisca_v1_core_employee_employee_pb.Employee.toObject, includeInstance)
|
|
2817
2817
|
};
|
|
2818
2818
|
|
|
2819
2819
|
if (includeInstance) {
|
|
@@ -2868,7 +2868,7 @@ proto.WorkflowStepsRecipients.deserializeBinaryFromReader = function(msg, reader
|
|
|
2868
2868
|
break;
|
|
2869
2869
|
case 5:
|
|
2870
2870
|
var value = /** @type {string} */ (reader.readString());
|
|
2871
|
-
msg.
|
|
2871
|
+
msg.addEmployeesRefId(value);
|
|
2872
2872
|
break;
|
|
2873
2873
|
case 6:
|
|
2874
2874
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -2884,9 +2884,9 @@ proto.WorkflowStepsRecipients.deserializeBinaryFromReader = function(msg, reader
|
|
|
2884
2884
|
msg.setJobPosition(value);
|
|
2885
2885
|
break;
|
|
2886
2886
|
case 9:
|
|
2887
|
-
var value = new
|
|
2888
|
-
reader.readMessage(value,
|
|
2889
|
-
msg.
|
|
2887
|
+
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
2888
|
+
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
2889
|
+
msg.addEmployees(value);
|
|
2890
2890
|
break;
|
|
2891
2891
|
default:
|
|
2892
2892
|
reader.skipField();
|
|
@@ -2945,7 +2945,7 @@ proto.WorkflowStepsRecipients.serializeBinaryToWriter = function(message, writer
|
|
|
2945
2945
|
f
|
|
2946
2946
|
);
|
|
2947
2947
|
}
|
|
2948
|
-
f = message.
|
|
2948
|
+
f = message.getEmployeesRefIdList();
|
|
2949
2949
|
if (f.length > 0) {
|
|
2950
2950
|
writer.writeRepeatedString(
|
|
2951
2951
|
5,
|
|
@@ -2974,12 +2974,12 @@ proto.WorkflowStepsRecipients.serializeBinaryToWriter = function(message, writer
|
|
|
2974
2974
|
prisca_v1_core_job_position_job_position_pb.JobPosition.serializeBinaryToWriter
|
|
2975
2975
|
);
|
|
2976
2976
|
}
|
|
2977
|
-
f = message.
|
|
2977
|
+
f = message.getEmployeesList();
|
|
2978
2978
|
if (f.length > 0) {
|
|
2979
2979
|
writer.writeRepeatedMessage(
|
|
2980
2980
|
9,
|
|
2981
2981
|
f,
|
|
2982
|
-
|
|
2982
|
+
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
2983
2983
|
);
|
|
2984
2984
|
}
|
|
2985
2985
|
};
|
|
@@ -3076,10 +3076,10 @@ proto.WorkflowStepsRecipients.prototype.hasJobPositionRefId = function() {
|
|
|
3076
3076
|
|
|
3077
3077
|
|
|
3078
3078
|
/**
|
|
3079
|
-
* repeated string
|
|
3079
|
+
* repeated string employees_ref_id = 5;
|
|
3080
3080
|
* @return {!Array<string>}
|
|
3081
3081
|
*/
|
|
3082
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3082
|
+
proto.WorkflowStepsRecipients.prototype.getEmployeesRefIdList = function() {
|
|
3083
3083
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
3084
3084
|
};
|
|
3085
3085
|
|
|
@@ -3088,7 +3088,7 @@ proto.WorkflowStepsRecipients.prototype.getUsersRefIdList = function() {
|
|
|
3088
3088
|
* @param {!Array<string>} value
|
|
3089
3089
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3090
3090
|
*/
|
|
3091
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3091
|
+
proto.WorkflowStepsRecipients.prototype.setEmployeesRefIdList = function(value) {
|
|
3092
3092
|
return jspb.Message.setField(this, 5, value || []);
|
|
3093
3093
|
};
|
|
3094
3094
|
|
|
@@ -3098,7 +3098,7 @@ proto.WorkflowStepsRecipients.prototype.setUsersRefIdList = function(value) {
|
|
|
3098
3098
|
* @param {number=} opt_index
|
|
3099
3099
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3100
3100
|
*/
|
|
3101
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3101
|
+
proto.WorkflowStepsRecipients.prototype.addEmployeesRefId = function(value, opt_index) {
|
|
3102
3102
|
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
3103
3103
|
};
|
|
3104
3104
|
|
|
@@ -3107,8 +3107,8 @@ proto.WorkflowStepsRecipients.prototype.addUsersRefId = function(value, opt_inde
|
|
|
3107
3107
|
* Clears the list making it empty but non-null.
|
|
3108
3108
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3109
3109
|
*/
|
|
3110
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3111
|
-
return this.
|
|
3110
|
+
proto.WorkflowStepsRecipients.prototype.clearEmployeesRefIdList = function() {
|
|
3111
|
+
return this.setEmployeesRefIdList([]);
|
|
3112
3112
|
};
|
|
3113
3113
|
|
|
3114
3114
|
|
|
@@ -3186,31 +3186,31 @@ proto.WorkflowStepsRecipients.prototype.hasJobPosition = function() {
|
|
|
3186
3186
|
|
|
3187
3187
|
|
|
3188
3188
|
/**
|
|
3189
|
-
* repeated
|
|
3190
|
-
* @return {!Array<!proto.
|
|
3189
|
+
* repeated Employee employees = 9;
|
|
3190
|
+
* @return {!Array<!proto.Employee>}
|
|
3191
3191
|
*/
|
|
3192
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3193
|
-
return /** @type{!Array<!proto.
|
|
3194
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
3192
|
+
proto.WorkflowStepsRecipients.prototype.getEmployeesList = function() {
|
|
3193
|
+
return /** @type{!Array<!proto.Employee>} */ (
|
|
3194
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 9));
|
|
3195
3195
|
};
|
|
3196
3196
|
|
|
3197
3197
|
|
|
3198
3198
|
/**
|
|
3199
|
-
* @param {!Array<!proto.
|
|
3199
|
+
* @param {!Array<!proto.Employee>} value
|
|
3200
3200
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3201
3201
|
*/
|
|
3202
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3202
|
+
proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
|
|
3203
3203
|
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
3204
3204
|
};
|
|
3205
3205
|
|
|
3206
3206
|
|
|
3207
3207
|
/**
|
|
3208
|
-
* @param {!proto.
|
|
3208
|
+
* @param {!proto.Employee=} opt_value
|
|
3209
3209
|
* @param {number=} opt_index
|
|
3210
|
-
* @return {!proto.
|
|
3210
|
+
* @return {!proto.Employee}
|
|
3211
3211
|
*/
|
|
3212
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3213
|
-
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.
|
|
3212
|
+
proto.WorkflowStepsRecipients.prototype.addEmployees = function(opt_value, opt_index) {
|
|
3213
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.Employee, opt_index);
|
|
3214
3214
|
};
|
|
3215
3215
|
|
|
3216
3216
|
|
|
@@ -3218,8 +3218,8 @@ proto.WorkflowStepsRecipients.prototype.addUsers = function(opt_value, opt_index
|
|
|
3218
3218
|
* Clears the list making it empty but non-null.
|
|
3219
3219
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3220
3220
|
*/
|
|
3221
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3222
|
-
return this.
|
|
3221
|
+
proto.WorkflowStepsRecipients.prototype.clearEmployeesList = function() {
|
|
3222
|
+
return this.setEmployeesList([]);
|
|
3223
3223
|
};
|
|
3224
3224
|
|
|
3225
3225
|
|
|
@@ -4630,7 +4630,7 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.toObject = function(opt_includ
|
|
|
4630
4630
|
proto.BaseWorkflowStepsRecipientRequest.toObject = function(includeInstance, msg) {
|
|
4631
4631
|
var f, obj = {
|
|
4632
4632
|
jobPositionRefId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
4633
|
-
|
|
4633
|
+
employeesRefIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
4634
4634
|
};
|
|
4635
4635
|
|
|
4636
4636
|
if (includeInstance) {
|
|
@@ -4673,7 +4673,7 @@ proto.BaseWorkflowStepsRecipientRequest.deserializeBinaryFromReader = function(m
|
|
|
4673
4673
|
break;
|
|
4674
4674
|
case 2:
|
|
4675
4675
|
var value = /** @type {string} */ (reader.readString());
|
|
4676
|
-
msg.
|
|
4676
|
+
msg.addEmployeesRefId(value);
|
|
4677
4677
|
break;
|
|
4678
4678
|
default:
|
|
4679
4679
|
reader.skipField();
|
|
@@ -4711,7 +4711,7 @@ proto.BaseWorkflowStepsRecipientRequest.serializeBinaryToWriter = function(messa
|
|
|
4711
4711
|
f
|
|
4712
4712
|
);
|
|
4713
4713
|
}
|
|
4714
|
-
f = message.
|
|
4714
|
+
f = message.getEmployeesRefIdList();
|
|
4715
4715
|
if (f.length > 0) {
|
|
4716
4716
|
writer.writeRepeatedString(
|
|
4717
4717
|
2,
|
|
@@ -4758,10 +4758,10 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.hasJobPositionRefId = function
|
|
|
4758
4758
|
|
|
4759
4759
|
|
|
4760
4760
|
/**
|
|
4761
|
-
* repeated string
|
|
4761
|
+
* repeated string employees_ref_id = 2;
|
|
4762
4762
|
* @return {!Array<string>}
|
|
4763
4763
|
*/
|
|
4764
|
-
proto.BaseWorkflowStepsRecipientRequest.prototype.
|
|
4764
|
+
proto.BaseWorkflowStepsRecipientRequest.prototype.getEmployeesRefIdList = function() {
|
|
4765
4765
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
4766
4766
|
};
|
|
4767
4767
|
|
|
@@ -4770,7 +4770,7 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.getUsersRefIdList = function()
|
|
|
4770
4770
|
* @param {!Array<string>} value
|
|
4771
4771
|
* @return {!proto.BaseWorkflowStepsRecipientRequest} returns this
|
|
4772
4772
|
*/
|
|
4773
|
-
proto.BaseWorkflowStepsRecipientRequest.prototype.
|
|
4773
|
+
proto.BaseWorkflowStepsRecipientRequest.prototype.setEmployeesRefIdList = function(value) {
|
|
4774
4774
|
return jspb.Message.setField(this, 2, value || []);
|
|
4775
4775
|
};
|
|
4776
4776
|
|
|
@@ -4780,7 +4780,7 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.setUsersRefIdList = function(v
|
|
|
4780
4780
|
* @param {number=} opt_index
|
|
4781
4781
|
* @return {!proto.BaseWorkflowStepsRecipientRequest} returns this
|
|
4782
4782
|
*/
|
|
4783
|
-
proto.BaseWorkflowStepsRecipientRequest.prototype.
|
|
4783
|
+
proto.BaseWorkflowStepsRecipientRequest.prototype.addEmployeesRefId = function(value, opt_index) {
|
|
4784
4784
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
4785
4785
|
};
|
|
4786
4786
|
|
|
@@ -4789,8 +4789,8 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.addUsersRefId = function(value
|
|
|
4789
4789
|
* Clears the list making it empty but non-null.
|
|
4790
4790
|
* @return {!proto.BaseWorkflowStepsRecipientRequest} returns this
|
|
4791
4791
|
*/
|
|
4792
|
-
proto.BaseWorkflowStepsRecipientRequest.prototype.
|
|
4793
|
-
return this.
|
|
4792
|
+
proto.BaseWorkflowStepsRecipientRequest.prototype.clearEmployeesRefIdList = function() {
|
|
4793
|
+
return this.setEmployeesRefIdList([]);
|
|
4794
4794
|
};
|
|
4795
4795
|
|
|
4796
4796
|
|
|
@@ -324,11 +324,12 @@ proto.PurchasingGroup.toObject = function(includeInstance, msg) {
|
|
|
324
324
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
325
325
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
326
326
|
telephone: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
327
|
+
telephoneNoPurchasingGroup: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
328
|
+
faxNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
329
|
+
extension: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
330
|
+
emailAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
331
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
332
|
+
code: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
332
333
|
};
|
|
333
334
|
|
|
334
335
|
if (includeInstance) {
|
|
@@ -379,21 +380,25 @@ proto.PurchasingGroup.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
379
380
|
break;
|
|
380
381
|
case 4:
|
|
381
382
|
var value = /** @type {string} */ (reader.readString());
|
|
382
|
-
msg.
|
|
383
|
+
msg.setTelephoneNoPurchasingGroup(value);
|
|
383
384
|
break;
|
|
384
385
|
case 5:
|
|
386
|
+
var value = /** @type {string} */ (reader.readString());
|
|
387
|
+
msg.setFaxNumber(value);
|
|
388
|
+
break;
|
|
389
|
+
case 6:
|
|
385
390
|
var value = /** @type {number} */ (reader.readInt64());
|
|
386
391
|
msg.setExtension$(value);
|
|
387
392
|
break;
|
|
388
|
-
case
|
|
393
|
+
case 7:
|
|
389
394
|
var value = /** @type {string} */ (reader.readString());
|
|
390
395
|
msg.setEmailAddress(value);
|
|
391
396
|
break;
|
|
392
|
-
case
|
|
397
|
+
case 8:
|
|
393
398
|
var value = /** @type {string} */ (reader.readString());
|
|
394
399
|
msg.setCompaniesReferencesId(value);
|
|
395
400
|
break;
|
|
396
|
-
case
|
|
401
|
+
case 9:
|
|
397
402
|
var value = /** @type {string} */ (reader.readString());
|
|
398
403
|
msg.setCode(value);
|
|
399
404
|
break;
|
|
@@ -447,38 +452,45 @@ proto.PurchasingGroup.serializeBinaryToWriter = function(message, writer) {
|
|
|
447
452
|
f
|
|
448
453
|
);
|
|
449
454
|
}
|
|
450
|
-
f = message.
|
|
455
|
+
f = message.getTelephoneNoPurchasingGroup();
|
|
451
456
|
if (f.length > 0) {
|
|
452
457
|
writer.writeString(
|
|
453
458
|
4,
|
|
454
459
|
f
|
|
455
460
|
);
|
|
456
461
|
}
|
|
462
|
+
f = message.getFaxNumber();
|
|
463
|
+
if (f.length > 0) {
|
|
464
|
+
writer.writeString(
|
|
465
|
+
5,
|
|
466
|
+
f
|
|
467
|
+
);
|
|
468
|
+
}
|
|
457
469
|
f = message.getExtension$();
|
|
458
470
|
if (f !== 0) {
|
|
459
471
|
writer.writeInt64(
|
|
460
|
-
|
|
472
|
+
6,
|
|
461
473
|
f
|
|
462
474
|
);
|
|
463
475
|
}
|
|
464
476
|
f = message.getEmailAddress();
|
|
465
477
|
if (f.length > 0) {
|
|
466
478
|
writer.writeString(
|
|
467
|
-
|
|
479
|
+
7,
|
|
468
480
|
f
|
|
469
481
|
);
|
|
470
482
|
}
|
|
471
483
|
f = message.getCompaniesReferencesId();
|
|
472
484
|
if (f.length > 0) {
|
|
473
485
|
writer.writeString(
|
|
474
|
-
|
|
486
|
+
8,
|
|
475
487
|
f
|
|
476
488
|
);
|
|
477
489
|
}
|
|
478
490
|
f = message.getCode();
|
|
479
491
|
if (f.length > 0) {
|
|
480
492
|
writer.writeString(
|
|
481
|
-
|
|
493
|
+
9,
|
|
482
494
|
f
|
|
483
495
|
);
|
|
484
496
|
}
|
|
@@ -540,10 +552,10 @@ proto.PurchasingGroup.prototype.setTelephone = function(value) {
|
|
|
540
552
|
|
|
541
553
|
|
|
542
554
|
/**
|
|
543
|
-
* optional string
|
|
555
|
+
* optional string telephone_no_purchasing_group = 4;
|
|
544
556
|
* @return {string}
|
|
545
557
|
*/
|
|
546
|
-
proto.PurchasingGroup.prototype.
|
|
558
|
+
proto.PurchasingGroup.prototype.getTelephoneNoPurchasingGroup = function() {
|
|
547
559
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
548
560
|
};
|
|
549
561
|
|
|
@@ -552,17 +564,35 @@ proto.PurchasingGroup.prototype.getFaxNumber = function() {
|
|
|
552
564
|
* @param {string} value
|
|
553
565
|
* @return {!proto.PurchasingGroup} returns this
|
|
554
566
|
*/
|
|
555
|
-
proto.PurchasingGroup.prototype.
|
|
567
|
+
proto.PurchasingGroup.prototype.setTelephoneNoPurchasingGroup = function(value) {
|
|
556
568
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
557
569
|
};
|
|
558
570
|
|
|
559
571
|
|
|
560
572
|
/**
|
|
561
|
-
* optional
|
|
573
|
+
* optional string fax_number = 5;
|
|
574
|
+
* @return {string}
|
|
575
|
+
*/
|
|
576
|
+
proto.PurchasingGroup.prototype.getFaxNumber = function() {
|
|
577
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @param {string} value
|
|
583
|
+
* @return {!proto.PurchasingGroup} returns this
|
|
584
|
+
*/
|
|
585
|
+
proto.PurchasingGroup.prototype.setFaxNumber = function(value) {
|
|
586
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* optional int64 extension = 6;
|
|
562
592
|
* @return {number}
|
|
563
593
|
*/
|
|
564
594
|
proto.PurchasingGroup.prototype.getExtension$ = function() {
|
|
565
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
595
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
566
596
|
};
|
|
567
597
|
|
|
568
598
|
|
|
@@ -571,16 +601,16 @@ proto.PurchasingGroup.prototype.getExtension$ = function() {
|
|
|
571
601
|
* @return {!proto.PurchasingGroup} returns this
|
|
572
602
|
*/
|
|
573
603
|
proto.PurchasingGroup.prototype.setExtension$ = function(value) {
|
|
574
|
-
return jspb.Message.setProto3IntField(this,
|
|
604
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
575
605
|
};
|
|
576
606
|
|
|
577
607
|
|
|
578
608
|
/**
|
|
579
|
-
* optional string email_address =
|
|
609
|
+
* optional string email_address = 7;
|
|
580
610
|
* @return {string}
|
|
581
611
|
*/
|
|
582
612
|
proto.PurchasingGroup.prototype.getEmailAddress = function() {
|
|
583
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
613
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
584
614
|
};
|
|
585
615
|
|
|
586
616
|
|
|
@@ -589,16 +619,16 @@ proto.PurchasingGroup.prototype.getEmailAddress = function() {
|
|
|
589
619
|
* @return {!proto.PurchasingGroup} returns this
|
|
590
620
|
*/
|
|
591
621
|
proto.PurchasingGroup.prototype.setEmailAddress = function(value) {
|
|
592
|
-
return jspb.Message.setProto3StringField(this,
|
|
622
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
593
623
|
};
|
|
594
624
|
|
|
595
625
|
|
|
596
626
|
/**
|
|
597
|
-
* optional string companies_references_id =
|
|
627
|
+
* optional string companies_references_id = 8;
|
|
598
628
|
* @return {string}
|
|
599
629
|
*/
|
|
600
630
|
proto.PurchasingGroup.prototype.getCompaniesReferencesId = function() {
|
|
601
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
631
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
602
632
|
};
|
|
603
633
|
|
|
604
634
|
|
|
@@ -607,16 +637,16 @@ proto.PurchasingGroup.prototype.getCompaniesReferencesId = function() {
|
|
|
607
637
|
* @return {!proto.PurchasingGroup} returns this
|
|
608
638
|
*/
|
|
609
639
|
proto.PurchasingGroup.prototype.setCompaniesReferencesId = function(value) {
|
|
610
|
-
return jspb.Message.setProto3StringField(this,
|
|
640
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
611
641
|
};
|
|
612
642
|
|
|
613
643
|
|
|
614
644
|
/**
|
|
615
|
-
* optional string code =
|
|
645
|
+
* optional string code = 9;
|
|
616
646
|
* @return {string}
|
|
617
647
|
*/
|
|
618
648
|
proto.PurchasingGroup.prototype.getCode = function() {
|
|
619
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
620
650
|
};
|
|
621
651
|
|
|
622
652
|
|
|
@@ -625,7 +655,7 @@ proto.PurchasingGroup.prototype.getCode = function() {
|
|
|
625
655
|
* @return {!proto.PurchasingGroup} returns this
|
|
626
656
|
*/
|
|
627
657
|
proto.PurchasingGroup.prototype.setCode = function(value) {
|
|
628
|
-
return jspb.Message.setProto3StringField(this,
|
|
658
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
629
659
|
};
|
|
630
660
|
|
|
631
661
|
|
|
@@ -664,12 +694,13 @@ proto.BasePurchasingGroup.toObject = function(includeInstance, msg) {
|
|
|
664
694
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
665
695
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
666
696
|
telephone: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
697
|
+
telephoneNoPurchasingGroup: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
698
|
+
faxNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
699
|
+
extension: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
700
|
+
emailAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
701
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
671
702
|
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.Company.toObject(includeInstance, f),
|
|
672
|
-
code: jspb.Message.getFieldWithDefault(msg,
|
|
703
|
+
code: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
673
704
|
};
|
|
674
705
|
|
|
675
706
|
if (includeInstance) {
|
|
@@ -720,26 +751,30 @@ proto.BasePurchasingGroup.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
720
751
|
break;
|
|
721
752
|
case 4:
|
|
722
753
|
var value = /** @type {string} */ (reader.readString());
|
|
723
|
-
msg.
|
|
754
|
+
msg.setTelephoneNoPurchasingGroup(value);
|
|
724
755
|
break;
|
|
725
756
|
case 5:
|
|
757
|
+
var value = /** @type {string} */ (reader.readString());
|
|
758
|
+
msg.setFaxNumber(value);
|
|
759
|
+
break;
|
|
760
|
+
case 6:
|
|
726
761
|
var value = /** @type {number} */ (reader.readInt64());
|
|
727
762
|
msg.setExtension$(value);
|
|
728
763
|
break;
|
|
729
|
-
case
|
|
764
|
+
case 7:
|
|
730
765
|
var value = /** @type {string} */ (reader.readString());
|
|
731
766
|
msg.setEmailAddress(value);
|
|
732
767
|
break;
|
|
733
|
-
case
|
|
768
|
+
case 8:
|
|
734
769
|
var value = /** @type {string} */ (reader.readString());
|
|
735
770
|
msg.setCompaniesReferencesId(value);
|
|
736
771
|
break;
|
|
737
|
-
case
|
|
772
|
+
case 9:
|
|
738
773
|
var value = new prisca_v1_core_company_company_pb.Company;
|
|
739
774
|
reader.readMessage(value,prisca_v1_core_company_company_pb.Company.deserializeBinaryFromReader);
|
|
740
775
|
msg.setCompany(value);
|
|
741
776
|
break;
|
|
742
|
-
case
|
|
777
|
+
case 10:
|
|
743
778
|
var value = /** @type {string} */ (reader.readString());
|
|
744
779
|
msg.setCode(value);
|
|
745
780
|
break;
|
|
@@ -793,38 +828,45 @@ proto.BasePurchasingGroup.serializeBinaryToWriter = function(message, writer) {
|
|
|
793
828
|
f
|
|
794
829
|
);
|
|
795
830
|
}
|
|
796
|
-
f = message.
|
|
831
|
+
f = message.getTelephoneNoPurchasingGroup();
|
|
797
832
|
if (f.length > 0) {
|
|
798
833
|
writer.writeString(
|
|
799
834
|
4,
|
|
800
835
|
f
|
|
801
836
|
);
|
|
802
837
|
}
|
|
838
|
+
f = message.getFaxNumber();
|
|
839
|
+
if (f.length > 0) {
|
|
840
|
+
writer.writeString(
|
|
841
|
+
5,
|
|
842
|
+
f
|
|
843
|
+
);
|
|
844
|
+
}
|
|
803
845
|
f = message.getExtension$();
|
|
804
846
|
if (f !== 0) {
|
|
805
847
|
writer.writeInt64(
|
|
806
|
-
|
|
848
|
+
6,
|
|
807
849
|
f
|
|
808
850
|
);
|
|
809
851
|
}
|
|
810
852
|
f = message.getEmailAddress();
|
|
811
853
|
if (f.length > 0) {
|
|
812
854
|
writer.writeString(
|
|
813
|
-
|
|
855
|
+
7,
|
|
814
856
|
f
|
|
815
857
|
);
|
|
816
858
|
}
|
|
817
859
|
f = message.getCompaniesReferencesId();
|
|
818
860
|
if (f.length > 0) {
|
|
819
861
|
writer.writeString(
|
|
820
|
-
|
|
862
|
+
8,
|
|
821
863
|
f
|
|
822
864
|
);
|
|
823
865
|
}
|
|
824
866
|
f = message.getCompany();
|
|
825
867
|
if (f != null) {
|
|
826
868
|
writer.writeMessage(
|
|
827
|
-
|
|
869
|
+
9,
|
|
828
870
|
f,
|
|
829
871
|
prisca_v1_core_company_company_pb.Company.serializeBinaryToWriter
|
|
830
872
|
);
|
|
@@ -832,7 +874,7 @@ proto.BasePurchasingGroup.serializeBinaryToWriter = function(message, writer) {
|
|
|
832
874
|
f = message.getCode();
|
|
833
875
|
if (f.length > 0) {
|
|
834
876
|
writer.writeString(
|
|
835
|
-
|
|
877
|
+
10,
|
|
836
878
|
f
|
|
837
879
|
);
|
|
838
880
|
}
|
|
@@ -894,10 +936,10 @@ proto.BasePurchasingGroup.prototype.setTelephone = function(value) {
|
|
|
894
936
|
|
|
895
937
|
|
|
896
938
|
/**
|
|
897
|
-
* optional string
|
|
939
|
+
* optional string telephone_no_purchasing_group = 4;
|
|
898
940
|
* @return {string}
|
|
899
941
|
*/
|
|
900
|
-
proto.BasePurchasingGroup.prototype.
|
|
942
|
+
proto.BasePurchasingGroup.prototype.getTelephoneNoPurchasingGroup = function() {
|
|
901
943
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
902
944
|
};
|
|
903
945
|
|
|
@@ -906,17 +948,35 @@ proto.BasePurchasingGroup.prototype.getFaxNumber = function() {
|
|
|
906
948
|
* @param {string} value
|
|
907
949
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
908
950
|
*/
|
|
909
|
-
proto.BasePurchasingGroup.prototype.
|
|
951
|
+
proto.BasePurchasingGroup.prototype.setTelephoneNoPurchasingGroup = function(value) {
|
|
910
952
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
911
953
|
};
|
|
912
954
|
|
|
913
955
|
|
|
914
956
|
/**
|
|
915
|
-
* optional
|
|
957
|
+
* optional string fax_number = 5;
|
|
958
|
+
* @return {string}
|
|
959
|
+
*/
|
|
960
|
+
proto.BasePurchasingGroup.prototype.getFaxNumber = function() {
|
|
961
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* @param {string} value
|
|
967
|
+
* @return {!proto.BasePurchasingGroup} returns this
|
|
968
|
+
*/
|
|
969
|
+
proto.BasePurchasingGroup.prototype.setFaxNumber = function(value) {
|
|
970
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* optional int64 extension = 6;
|
|
916
976
|
* @return {number}
|
|
917
977
|
*/
|
|
918
978
|
proto.BasePurchasingGroup.prototype.getExtension$ = function() {
|
|
919
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
979
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
920
980
|
};
|
|
921
981
|
|
|
922
982
|
|
|
@@ -925,16 +985,16 @@ proto.BasePurchasingGroup.prototype.getExtension$ = function() {
|
|
|
925
985
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
926
986
|
*/
|
|
927
987
|
proto.BasePurchasingGroup.prototype.setExtension$ = function(value) {
|
|
928
|
-
return jspb.Message.setProto3IntField(this,
|
|
988
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
929
989
|
};
|
|
930
990
|
|
|
931
991
|
|
|
932
992
|
/**
|
|
933
|
-
* optional string email_address =
|
|
993
|
+
* optional string email_address = 7;
|
|
934
994
|
* @return {string}
|
|
935
995
|
*/
|
|
936
996
|
proto.BasePurchasingGroup.prototype.getEmailAddress = function() {
|
|
937
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
997
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
938
998
|
};
|
|
939
999
|
|
|
940
1000
|
|
|
@@ -943,16 +1003,16 @@ proto.BasePurchasingGroup.prototype.getEmailAddress = function() {
|
|
|
943
1003
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
944
1004
|
*/
|
|
945
1005
|
proto.BasePurchasingGroup.prototype.setEmailAddress = function(value) {
|
|
946
|
-
return jspb.Message.setProto3StringField(this,
|
|
1006
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
947
1007
|
};
|
|
948
1008
|
|
|
949
1009
|
|
|
950
1010
|
/**
|
|
951
|
-
* optional string companies_references_id =
|
|
1011
|
+
* optional string companies_references_id = 8;
|
|
952
1012
|
* @return {string}
|
|
953
1013
|
*/
|
|
954
1014
|
proto.BasePurchasingGroup.prototype.getCompaniesReferencesId = function() {
|
|
955
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
956
1016
|
};
|
|
957
1017
|
|
|
958
1018
|
|
|
@@ -961,17 +1021,17 @@ proto.BasePurchasingGroup.prototype.getCompaniesReferencesId = function() {
|
|
|
961
1021
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
962
1022
|
*/
|
|
963
1023
|
proto.BasePurchasingGroup.prototype.setCompaniesReferencesId = function(value) {
|
|
964
|
-
return jspb.Message.setProto3StringField(this,
|
|
1024
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
965
1025
|
};
|
|
966
1026
|
|
|
967
1027
|
|
|
968
1028
|
/**
|
|
969
|
-
* optional Company company =
|
|
1029
|
+
* optional Company company = 9;
|
|
970
1030
|
* @return {?proto.Company}
|
|
971
1031
|
*/
|
|
972
1032
|
proto.BasePurchasingGroup.prototype.getCompany = function() {
|
|
973
1033
|
return /** @type{?proto.Company} */ (
|
|
974
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.Company,
|
|
1034
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.Company, 9));
|
|
975
1035
|
};
|
|
976
1036
|
|
|
977
1037
|
|
|
@@ -980,7 +1040,7 @@ proto.BasePurchasingGroup.prototype.getCompany = function() {
|
|
|
980
1040
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
981
1041
|
*/
|
|
982
1042
|
proto.BasePurchasingGroup.prototype.setCompany = function(value) {
|
|
983
|
-
return jspb.Message.setWrapperField(this,
|
|
1043
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
984
1044
|
};
|
|
985
1045
|
|
|
986
1046
|
|
|
@@ -998,16 +1058,16 @@ proto.BasePurchasingGroup.prototype.clearCompany = function() {
|
|
|
998
1058
|
* @return {boolean}
|
|
999
1059
|
*/
|
|
1000
1060
|
proto.BasePurchasingGroup.prototype.hasCompany = function() {
|
|
1001
|
-
return jspb.Message.getField(this,
|
|
1061
|
+
return jspb.Message.getField(this, 9) != null;
|
|
1002
1062
|
};
|
|
1003
1063
|
|
|
1004
1064
|
|
|
1005
1065
|
/**
|
|
1006
|
-
* optional string code =
|
|
1066
|
+
* optional string code = 10;
|
|
1007
1067
|
* @return {string}
|
|
1008
1068
|
*/
|
|
1009
1069
|
proto.BasePurchasingGroup.prototype.getCode = function() {
|
|
1010
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1070
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1011
1071
|
};
|
|
1012
1072
|
|
|
1013
1073
|
|
|
@@ -1016,7 +1076,7 @@ proto.BasePurchasingGroup.prototype.getCode = function() {
|
|
|
1016
1076
|
* @return {!proto.BasePurchasingGroup} returns this
|
|
1017
1077
|
*/
|
|
1018
1078
|
proto.BasePurchasingGroup.prototype.setCode = function(value) {
|
|
1019
|
-
return jspb.Message.setProto3StringField(this,
|
|
1079
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1020
1080
|
};
|
|
1021
1081
|
|
|
1022
1082
|
|