@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
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var prisca_v1_core_job_grade_job_grade_pb = require('../../../../prisca/v1/core/job_grade/job_grade_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_CreateJobGradeRequest(arg) {
|
|
9
10
|
if (!(arg instanceof prisca_v1_core_job_grade_job_grade_pb.CreateJobGradeRequest)) {
|
|
@@ -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.BaseJobGrade', null, global);
|
|
27
29
|
goog.exportSymbol('proto.CreateJobGradeRequest', null, global);
|
|
28
30
|
goog.exportSymbol('proto.CreateJobGradeResponse', null, global);
|
|
@@ -319,10 +321,10 @@ proto.JobGrade.prototype.toObject = function(opt_includeInstance) {
|
|
|
319
321
|
*/
|
|
320
322
|
proto.JobGrade.toObject = function(includeInstance, msg) {
|
|
321
323
|
var f, obj = {
|
|
322
|
-
code: jspb.Message.getFieldWithDefault(msg,
|
|
323
|
-
name: jspb.Message.getFieldWithDefault(msg,
|
|
324
|
-
description: jspb.Message.getFieldWithDefault(msg,
|
|
325
|
-
|
|
324
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
325
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
326
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
327
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
326
328
|
};
|
|
327
329
|
|
|
328
330
|
if (includeInstance) {
|
|
@@ -359,21 +361,21 @@ proto.JobGrade.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
359
361
|
}
|
|
360
362
|
var field = reader.getFieldNumber();
|
|
361
363
|
switch (field) {
|
|
362
|
-
case
|
|
364
|
+
case 1:
|
|
363
365
|
var value = /** @type {string} */ (reader.readString());
|
|
364
366
|
msg.setCode(value);
|
|
365
367
|
break;
|
|
366
|
-
case
|
|
368
|
+
case 2:
|
|
367
369
|
var value = /** @type {string} */ (reader.readString());
|
|
368
370
|
msg.setName(value);
|
|
369
371
|
break;
|
|
370
|
-
case
|
|
372
|
+
case 3:
|
|
371
373
|
var value = /** @type {string} */ (reader.readString());
|
|
372
374
|
msg.setDescription(value);
|
|
373
375
|
break;
|
|
374
|
-
case
|
|
375
|
-
var value = /** @type {
|
|
376
|
-
msg.
|
|
376
|
+
case 4:
|
|
377
|
+
var value = /** @type {string} */ (reader.readString());
|
|
378
|
+
msg.setCompaniesReferencesId(value);
|
|
377
379
|
break;
|
|
378
380
|
default:
|
|
379
381
|
reader.skipField();
|
|
@@ -407,28 +409,28 @@ proto.JobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
|
407
409
|
f = message.getCode();
|
|
408
410
|
if (f.length > 0) {
|
|
409
411
|
writer.writeString(
|
|
410
|
-
|
|
412
|
+
1,
|
|
411
413
|
f
|
|
412
414
|
);
|
|
413
415
|
}
|
|
414
416
|
f = message.getName();
|
|
415
417
|
if (f.length > 0) {
|
|
416
418
|
writer.writeString(
|
|
417
|
-
|
|
419
|
+
2,
|
|
418
420
|
f
|
|
419
421
|
);
|
|
420
422
|
}
|
|
421
423
|
f = message.getDescription();
|
|
422
424
|
if (f.length > 0) {
|
|
423
425
|
writer.writeString(
|
|
424
|
-
|
|
426
|
+
3,
|
|
425
427
|
f
|
|
426
428
|
);
|
|
427
429
|
}
|
|
428
|
-
f = message.
|
|
429
|
-
if (f
|
|
430
|
-
writer.
|
|
431
|
-
|
|
430
|
+
f = message.getCompaniesReferencesId();
|
|
431
|
+
if (f.length > 0) {
|
|
432
|
+
writer.writeString(
|
|
433
|
+
4,
|
|
432
434
|
f
|
|
433
435
|
);
|
|
434
436
|
}
|
|
@@ -436,11 +438,11 @@ proto.JobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
|
436
438
|
|
|
437
439
|
|
|
438
440
|
/**
|
|
439
|
-
* optional string code =
|
|
441
|
+
* optional string code = 1;
|
|
440
442
|
* @return {string}
|
|
441
443
|
*/
|
|
442
444
|
proto.JobGrade.prototype.getCode = function() {
|
|
443
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
445
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
444
446
|
};
|
|
445
447
|
|
|
446
448
|
|
|
@@ -449,16 +451,16 @@ proto.JobGrade.prototype.getCode = function() {
|
|
|
449
451
|
* @return {!proto.JobGrade} returns this
|
|
450
452
|
*/
|
|
451
453
|
proto.JobGrade.prototype.setCode = function(value) {
|
|
452
|
-
return jspb.Message.setProto3StringField(this,
|
|
454
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
453
455
|
};
|
|
454
456
|
|
|
455
457
|
|
|
456
458
|
/**
|
|
457
|
-
* optional string name =
|
|
459
|
+
* optional string name = 2;
|
|
458
460
|
* @return {string}
|
|
459
461
|
*/
|
|
460
462
|
proto.JobGrade.prototype.getName = function() {
|
|
461
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
463
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
462
464
|
};
|
|
463
465
|
|
|
464
466
|
|
|
@@ -467,16 +469,16 @@ proto.JobGrade.prototype.getName = function() {
|
|
|
467
469
|
* @return {!proto.JobGrade} returns this
|
|
468
470
|
*/
|
|
469
471
|
proto.JobGrade.prototype.setName = function(value) {
|
|
470
|
-
return jspb.Message.setProto3StringField(this,
|
|
472
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
471
473
|
};
|
|
472
474
|
|
|
473
475
|
|
|
474
476
|
/**
|
|
475
|
-
* optional string description =
|
|
477
|
+
* optional string description = 3;
|
|
476
478
|
* @return {string}
|
|
477
479
|
*/
|
|
478
480
|
proto.JobGrade.prototype.getDescription = function() {
|
|
479
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
481
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
480
482
|
};
|
|
481
483
|
|
|
482
484
|
|
|
@@ -485,25 +487,25 @@ proto.JobGrade.prototype.getDescription = function() {
|
|
|
485
487
|
* @return {!proto.JobGrade} returns this
|
|
486
488
|
*/
|
|
487
489
|
proto.JobGrade.prototype.setDescription = function(value) {
|
|
488
|
-
return jspb.Message.setProto3StringField(this,
|
|
490
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
489
491
|
};
|
|
490
492
|
|
|
491
493
|
|
|
492
494
|
/**
|
|
493
|
-
* optional
|
|
494
|
-
* @return {
|
|
495
|
+
* optional string companies_references_id = 4;
|
|
496
|
+
* @return {string}
|
|
495
497
|
*/
|
|
496
|
-
proto.JobGrade.prototype.
|
|
497
|
-
return /** @type {
|
|
498
|
+
proto.JobGrade.prototype.getCompaniesReferencesId = function() {
|
|
499
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
498
500
|
};
|
|
499
501
|
|
|
500
502
|
|
|
501
503
|
/**
|
|
502
|
-
* @param {
|
|
504
|
+
* @param {string} value
|
|
503
505
|
* @return {!proto.JobGrade} returns this
|
|
504
506
|
*/
|
|
505
|
-
proto.JobGrade.prototype.
|
|
506
|
-
return jspb.Message.
|
|
507
|
+
proto.JobGrade.prototype.setCompaniesReferencesId = function(value) {
|
|
508
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
507
509
|
};
|
|
508
510
|
|
|
509
511
|
|
|
@@ -539,11 +541,12 @@ proto.BaseJobGrade.prototype.toObject = function(opt_includeInstance) {
|
|
|
539
541
|
*/
|
|
540
542
|
proto.BaseJobGrade.toObject = function(includeInstance, msg) {
|
|
541
543
|
var f, obj = {
|
|
542
|
-
|
|
544
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
543
545
|
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
544
546
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
545
547
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
546
|
-
|
|
548
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
549
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
547
550
|
};
|
|
548
551
|
|
|
549
552
|
if (includeInstance) {
|
|
@@ -581,8 +584,8 @@ proto.BaseJobGrade.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
581
584
|
var field = reader.getFieldNumber();
|
|
582
585
|
switch (field) {
|
|
583
586
|
case 1:
|
|
584
|
-
var value = /** @type {
|
|
585
|
-
msg.
|
|
587
|
+
var value = /** @type {string} */ (reader.readString());
|
|
588
|
+
msg.setReferencesId(value);
|
|
586
589
|
break;
|
|
587
590
|
case 2:
|
|
588
591
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -596,9 +599,14 @@ proto.BaseJobGrade.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
596
599
|
var value = /** @type {string} */ (reader.readString());
|
|
597
600
|
msg.setDescription(value);
|
|
598
601
|
break;
|
|
602
|
+
case 5:
|
|
603
|
+
var value = /** @type {string} */ (reader.readString());
|
|
604
|
+
msg.setCompaniesReferencesId(value);
|
|
605
|
+
break;
|
|
599
606
|
case 6:
|
|
600
|
-
var value =
|
|
601
|
-
|
|
607
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
608
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
609
|
+
msg.setCompanies(value);
|
|
602
610
|
break;
|
|
603
611
|
default:
|
|
604
612
|
reader.skipField();
|
|
@@ -629,9 +637,9 @@ proto.BaseJobGrade.prototype.serializeBinary = function() {
|
|
|
629
637
|
*/
|
|
630
638
|
proto.BaseJobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
631
639
|
var f = undefined;
|
|
632
|
-
f = message.
|
|
633
|
-
if (f
|
|
634
|
-
writer.
|
|
640
|
+
f = message.getReferencesId();
|
|
641
|
+
if (f.length > 0) {
|
|
642
|
+
writer.writeString(
|
|
635
643
|
1,
|
|
636
644
|
f
|
|
637
645
|
);
|
|
@@ -657,31 +665,39 @@ proto.BaseJobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
|
657
665
|
f
|
|
658
666
|
);
|
|
659
667
|
}
|
|
660
|
-
f = message.
|
|
661
|
-
if (f
|
|
662
|
-
writer.
|
|
663
|
-
|
|
668
|
+
f = message.getCompaniesReferencesId();
|
|
669
|
+
if (f.length > 0) {
|
|
670
|
+
writer.writeString(
|
|
671
|
+
5,
|
|
664
672
|
f
|
|
665
673
|
);
|
|
666
674
|
}
|
|
675
|
+
f = message.getCompanies();
|
|
676
|
+
if (f != null) {
|
|
677
|
+
writer.writeMessage(
|
|
678
|
+
6,
|
|
679
|
+
f,
|
|
680
|
+
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
681
|
+
);
|
|
682
|
+
}
|
|
667
683
|
};
|
|
668
684
|
|
|
669
685
|
|
|
670
686
|
/**
|
|
671
|
-
* optional
|
|
672
|
-
* @return {
|
|
687
|
+
* optional string references_id = 1;
|
|
688
|
+
* @return {string}
|
|
673
689
|
*/
|
|
674
|
-
proto.BaseJobGrade.prototype.
|
|
675
|
-
return /** @type {
|
|
690
|
+
proto.BaseJobGrade.prototype.getReferencesId = function() {
|
|
691
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
676
692
|
};
|
|
677
693
|
|
|
678
694
|
|
|
679
695
|
/**
|
|
680
|
-
* @param {
|
|
696
|
+
* @param {string} value
|
|
681
697
|
* @return {!proto.BaseJobGrade} returns this
|
|
682
698
|
*/
|
|
683
|
-
proto.BaseJobGrade.prototype.
|
|
684
|
-
return jspb.Message.
|
|
699
|
+
proto.BaseJobGrade.prototype.setReferencesId = function(value) {
|
|
700
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
685
701
|
};
|
|
686
702
|
|
|
687
703
|
|
|
@@ -740,20 +756,57 @@ proto.BaseJobGrade.prototype.setDescription = function(value) {
|
|
|
740
756
|
|
|
741
757
|
|
|
742
758
|
/**
|
|
743
|
-
* optional
|
|
744
|
-
* @return {
|
|
759
|
+
* optional string companies_references_id = 5;
|
|
760
|
+
* @return {string}
|
|
745
761
|
*/
|
|
746
|
-
proto.BaseJobGrade.prototype.
|
|
747
|
-
return /** @type {
|
|
762
|
+
proto.BaseJobGrade.prototype.getCompaniesReferencesId = function() {
|
|
763
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
748
764
|
};
|
|
749
765
|
|
|
750
766
|
|
|
751
767
|
/**
|
|
752
|
-
* @param {
|
|
768
|
+
* @param {string} value
|
|
753
769
|
* @return {!proto.BaseJobGrade} returns this
|
|
754
770
|
*/
|
|
755
|
-
proto.BaseJobGrade.prototype.
|
|
756
|
-
return jspb.Message.
|
|
771
|
+
proto.BaseJobGrade.prototype.setCompaniesReferencesId = function(value) {
|
|
772
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
773
|
+
};
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* optional BaseCompanyParent companies = 6;
|
|
778
|
+
* @return {?proto.BaseCompanyParent}
|
|
779
|
+
*/
|
|
780
|
+
proto.BaseJobGrade.prototype.getCompanies = function() {
|
|
781
|
+
return /** @type{?proto.BaseCompanyParent} */ (
|
|
782
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 6));
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* @param {?proto.BaseCompanyParent|undefined} value
|
|
788
|
+
* @return {!proto.BaseJobGrade} returns this
|
|
789
|
+
*/
|
|
790
|
+
proto.BaseJobGrade.prototype.setCompanies = function(value) {
|
|
791
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Clears the message field making it undefined.
|
|
797
|
+
* @return {!proto.BaseJobGrade} returns this
|
|
798
|
+
*/
|
|
799
|
+
proto.BaseJobGrade.prototype.clearCompanies = function() {
|
|
800
|
+
return this.setCompanies(undefined);
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Returns whether this field is set.
|
|
806
|
+
* @return {boolean}
|
|
807
|
+
*/
|
|
808
|
+
proto.BaseJobGrade.prototype.hasCompanies = function() {
|
|
809
|
+
return jspb.Message.getField(this, 6) != null;
|
|
757
810
|
};
|
|
758
811
|
|
|
759
812
|
|
|
@@ -789,7 +842,7 @@ proto.JobGradeGetByIdRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
789
842
|
*/
|
|
790
843
|
proto.JobGradeGetByIdRequest.toObject = function(includeInstance, msg) {
|
|
791
844
|
var f, obj = {
|
|
792
|
-
|
|
845
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
793
846
|
};
|
|
794
847
|
|
|
795
848
|
if (includeInstance) {
|
|
@@ -827,8 +880,8 @@ proto.JobGradeGetByIdRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
827
880
|
var field = reader.getFieldNumber();
|
|
828
881
|
switch (field) {
|
|
829
882
|
case 1:
|
|
830
|
-
var value = /** @type {
|
|
831
|
-
msg.
|
|
883
|
+
var value = /** @type {string} */ (reader.readString());
|
|
884
|
+
msg.setReferencesId(value);
|
|
832
885
|
break;
|
|
833
886
|
default:
|
|
834
887
|
reader.skipField();
|
|
@@ -859,9 +912,9 @@ proto.JobGradeGetByIdRequest.prototype.serializeBinary = function() {
|
|
|
859
912
|
*/
|
|
860
913
|
proto.JobGradeGetByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
861
914
|
var f = undefined;
|
|
862
|
-
f = message.
|
|
863
|
-
if (f
|
|
864
|
-
writer.
|
|
915
|
+
f = message.getReferencesId();
|
|
916
|
+
if (f.length > 0) {
|
|
917
|
+
writer.writeString(
|
|
865
918
|
1,
|
|
866
919
|
f
|
|
867
920
|
);
|
|
@@ -870,20 +923,20 @@ proto.JobGradeGetByIdRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
870
923
|
|
|
871
924
|
|
|
872
925
|
/**
|
|
873
|
-
* optional
|
|
874
|
-
* @return {
|
|
926
|
+
* optional string references_id = 1;
|
|
927
|
+
* @return {string}
|
|
875
928
|
*/
|
|
876
|
-
proto.JobGradeGetByIdRequest.prototype.
|
|
877
|
-
return /** @type {
|
|
929
|
+
proto.JobGradeGetByIdRequest.prototype.getReferencesId = function() {
|
|
930
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
878
931
|
};
|
|
879
932
|
|
|
880
933
|
|
|
881
934
|
/**
|
|
882
|
-
* @param {
|
|
935
|
+
* @param {string} value
|
|
883
936
|
* @return {!proto.JobGradeGetByIdRequest} returns this
|
|
884
937
|
*/
|
|
885
|
-
proto.JobGradeGetByIdRequest.prototype.
|
|
886
|
-
return jspb.Message.
|
|
938
|
+
proto.JobGradeGetByIdRequest.prototype.setReferencesId = function(value) {
|
|
939
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
887
940
|
};
|
|
888
941
|
|
|
889
942
|
|
|
@@ -1070,7 +1123,7 @@ proto.UpdateJobGradeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
1070
1123
|
*/
|
|
1071
1124
|
proto.UpdateJobGradeRequest.toObject = function(includeInstance, msg) {
|
|
1072
1125
|
var f, obj = {
|
|
1073
|
-
|
|
1126
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1074
1127
|
jobGrade: (f = msg.getJobGrade()) && proto.JobGrade.toObject(includeInstance, f)
|
|
1075
1128
|
};
|
|
1076
1129
|
|
|
@@ -1109,8 +1162,8 @@ proto.UpdateJobGradeRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1109
1162
|
var field = reader.getFieldNumber();
|
|
1110
1163
|
switch (field) {
|
|
1111
1164
|
case 1:
|
|
1112
|
-
var value = /** @type {
|
|
1113
|
-
msg.
|
|
1165
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1166
|
+
msg.setReferencesId(value);
|
|
1114
1167
|
break;
|
|
1115
1168
|
case 2:
|
|
1116
1169
|
var value = new proto.JobGrade;
|
|
@@ -1146,9 +1199,9 @@ proto.UpdateJobGradeRequest.prototype.serializeBinary = function() {
|
|
|
1146
1199
|
*/
|
|
1147
1200
|
proto.UpdateJobGradeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1148
1201
|
var f = undefined;
|
|
1149
|
-
f = message.
|
|
1150
|
-
if (f
|
|
1151
|
-
writer.
|
|
1202
|
+
f = message.getReferencesId();
|
|
1203
|
+
if (f.length > 0) {
|
|
1204
|
+
writer.writeString(
|
|
1152
1205
|
1,
|
|
1153
1206
|
f
|
|
1154
1207
|
);
|
|
@@ -1165,20 +1218,20 @@ proto.UpdateJobGradeRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
1165
1218
|
|
|
1166
1219
|
|
|
1167
1220
|
/**
|
|
1168
|
-
* optional
|
|
1169
|
-
* @return {
|
|
1221
|
+
* optional string references_id = 1;
|
|
1222
|
+
* @return {string}
|
|
1170
1223
|
*/
|
|
1171
|
-
proto.UpdateJobGradeRequest.prototype.
|
|
1172
|
-
return /** @type {
|
|
1224
|
+
proto.UpdateJobGradeRequest.prototype.getReferencesId = function() {
|
|
1225
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1173
1226
|
};
|
|
1174
1227
|
|
|
1175
1228
|
|
|
1176
1229
|
/**
|
|
1177
|
-
* @param {
|
|
1230
|
+
* @param {string} value
|
|
1178
1231
|
* @return {!proto.UpdateJobGradeRequest} returns this
|
|
1179
1232
|
*/
|
|
1180
|
-
proto.UpdateJobGradeRequest.prototype.
|
|
1181
|
-
return jspb.Message.
|
|
1233
|
+
proto.UpdateJobGradeRequest.prototype.setReferencesId = function(value) {
|
|
1234
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1182
1235
|
};
|
|
1183
1236
|
|
|
1184
1237
|
|
|
@@ -1764,7 +1817,7 @@ proto.CreateJobGradeResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
1764
1817
|
*/
|
|
1765
1818
|
proto.CreateJobGradeResponse.toObject = function(includeInstance, msg) {
|
|
1766
1819
|
var f, obj = {
|
|
1767
|
-
jobGrade: (f = msg.getJobGrade()) && proto.
|
|
1820
|
+
jobGrade: (f = msg.getJobGrade()) && proto.BaseJobGrade.toObject(includeInstance, f),
|
|
1768
1821
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1769
1822
|
};
|
|
1770
1823
|
|
|
@@ -1803,8 +1856,8 @@ proto.CreateJobGradeResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1803
1856
|
var field = reader.getFieldNumber();
|
|
1804
1857
|
switch (field) {
|
|
1805
1858
|
case 1:
|
|
1806
|
-
var value = new proto.
|
|
1807
|
-
reader.readMessage(value,proto.
|
|
1859
|
+
var value = new proto.BaseJobGrade;
|
|
1860
|
+
reader.readMessage(value,proto.BaseJobGrade.deserializeBinaryFromReader);
|
|
1808
1861
|
msg.setJobGrade(value);
|
|
1809
1862
|
break;
|
|
1810
1863
|
case 2:
|
|
@@ -1846,7 +1899,7 @@ proto.CreateJobGradeResponse.serializeBinaryToWriter = function(message, writer)
|
|
|
1846
1899
|
writer.writeMessage(
|
|
1847
1900
|
1,
|
|
1848
1901
|
f,
|
|
1849
|
-
proto.
|
|
1902
|
+
proto.BaseJobGrade.serializeBinaryToWriter
|
|
1850
1903
|
);
|
|
1851
1904
|
}
|
|
1852
1905
|
f = message.getMeta();
|
|
@@ -1861,17 +1914,17 @@ proto.CreateJobGradeResponse.serializeBinaryToWriter = function(message, writer)
|
|
|
1861
1914
|
|
|
1862
1915
|
|
|
1863
1916
|
/**
|
|
1864
|
-
* optional
|
|
1865
|
-
* @return {?proto.
|
|
1917
|
+
* optional BaseJobGrade job_grade = 1;
|
|
1918
|
+
* @return {?proto.BaseJobGrade}
|
|
1866
1919
|
*/
|
|
1867
1920
|
proto.CreateJobGradeResponse.prototype.getJobGrade = function() {
|
|
1868
|
-
return /** @type{?proto.
|
|
1869
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1921
|
+
return /** @type{?proto.BaseJobGrade} */ (
|
|
1922
|
+
jspb.Message.getWrapperField(this, proto.BaseJobGrade, 1));
|
|
1870
1923
|
};
|
|
1871
1924
|
|
|
1872
1925
|
|
|
1873
1926
|
/**
|
|
1874
|
-
* @param {?proto.
|
|
1927
|
+
* @param {?proto.BaseJobGrade|undefined} value
|
|
1875
1928
|
* @return {!proto.CreateJobGradeResponse} returns this
|
|
1876
1929
|
*/
|
|
1877
1930
|
proto.CreateJobGradeResponse.prototype.setJobGrade = function(value) {
|
|
@@ -2379,7 +2432,7 @@ proto.JobGradeGetByIdResponse.prototype.toObject = function(opt_includeInstance)
|
|
|
2379
2432
|
*/
|
|
2380
2433
|
proto.JobGradeGetByIdResponse.toObject = function(includeInstance, msg) {
|
|
2381
2434
|
var f, obj = {
|
|
2382
|
-
jobGrade: (f = msg.getJobGrade()) && proto.
|
|
2435
|
+
jobGrade: (f = msg.getJobGrade()) && proto.BaseJobGrade.toObject(includeInstance, f),
|
|
2383
2436
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2384
2437
|
};
|
|
2385
2438
|
|
|
@@ -2418,8 +2471,8 @@ proto.JobGradeGetByIdResponse.deserializeBinaryFromReader = function(msg, reader
|
|
|
2418
2471
|
var field = reader.getFieldNumber();
|
|
2419
2472
|
switch (field) {
|
|
2420
2473
|
case 1:
|
|
2421
|
-
var value = new proto.
|
|
2422
|
-
reader.readMessage(value,proto.
|
|
2474
|
+
var value = new proto.BaseJobGrade;
|
|
2475
|
+
reader.readMessage(value,proto.BaseJobGrade.deserializeBinaryFromReader);
|
|
2423
2476
|
msg.setJobGrade(value);
|
|
2424
2477
|
break;
|
|
2425
2478
|
case 2:
|
|
@@ -2461,7 +2514,7 @@ proto.JobGradeGetByIdResponse.serializeBinaryToWriter = function(message, writer
|
|
|
2461
2514
|
writer.writeMessage(
|
|
2462
2515
|
1,
|
|
2463
2516
|
f,
|
|
2464
|
-
proto.
|
|
2517
|
+
proto.BaseJobGrade.serializeBinaryToWriter
|
|
2465
2518
|
);
|
|
2466
2519
|
}
|
|
2467
2520
|
f = message.getMeta();
|
|
@@ -2476,17 +2529,17 @@ proto.JobGradeGetByIdResponse.serializeBinaryToWriter = function(message, writer
|
|
|
2476
2529
|
|
|
2477
2530
|
|
|
2478
2531
|
/**
|
|
2479
|
-
* optional
|
|
2480
|
-
* @return {?proto.
|
|
2532
|
+
* optional BaseJobGrade job_grade = 1;
|
|
2533
|
+
* @return {?proto.BaseJobGrade}
|
|
2481
2534
|
*/
|
|
2482
2535
|
proto.JobGradeGetByIdResponse.prototype.getJobGrade = function() {
|
|
2483
|
-
return /** @type{?proto.
|
|
2484
|
-
jspb.Message.getWrapperField(this, proto.
|
|
2536
|
+
return /** @type{?proto.BaseJobGrade} */ (
|
|
2537
|
+
jspb.Message.getWrapperField(this, proto.BaseJobGrade, 1));
|
|
2485
2538
|
};
|
|
2486
2539
|
|
|
2487
2540
|
|
|
2488
2541
|
/**
|
|
2489
|
-
* @param {?proto.
|
|
2542
|
+
* @param {?proto.BaseJobGrade|undefined} value
|
|
2490
2543
|
* @return {!proto.JobGradeGetByIdResponse} returns this
|
|
2491
2544
|
*/
|
|
2492
2545
|
proto.JobGradeGetByIdResponse.prototype.setJobGrade = function(value) {
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var prisca_v1_core_job_position_job_position_pb = require('../../../../prisca/v1/core/job_position/job_position_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
var prisca_v1_core_organization_organization_pb = require('../../../../prisca/v1/core/organization/organization_pb.js');
|
|
8
|
+
var prisca_v1_core_work_location_work_location_pb = require('../../../../prisca/v1/core/work_location/work_location_pb.js');
|
|
9
|
+
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
10
|
+
var prisca_v1_core_users_role_users_role_pb = require('../../../../prisca/v1/core/users_role/users_role_pb.js');
|
|
7
11
|
|
|
8
12
|
function serialize_CreateJobPositionRequest(arg) {
|
|
9
13
|
if (!(arg instanceof prisca_v1_core_job_position_job_position_pb.CreateJobPositionRequest)) {
|