@aldiokta/protocgen 1.0.8 → 1.0.10

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.
@@ -23,6 +23,7 @@ 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
+ goog.exportSymbol('proto.BaseJobTitle', null, global);
26
27
  goog.exportSymbol('proto.CreateJobTitleRequest', null, global);
27
28
  goog.exportSymbol('proto.CreateJobTitleResponse', null, global);
28
29
  goog.exportSymbol('proto.DeleteJobTitleRequest', null, global);
@@ -55,6 +56,27 @@ if (goog.DEBUG && !COMPILED) {
55
56
  */
56
57
  proto.JobTitle.displayName = 'proto.JobTitle';
57
58
  }
59
+ /**
60
+ * Generated by JsPbCodeGenerator.
61
+ * @param {Array=} opt_data Optional initial data array, typically from a
62
+ * server response, or constructed directly in Javascript. The array is used
63
+ * in place and becomes part of the constructed object. It is not cloned.
64
+ * If no data is provided, the constructed object will be empty, but still
65
+ * valid.
66
+ * @extends {jspb.Message}
67
+ * @constructor
68
+ */
69
+ proto.BaseJobTitle = function(opt_data) {
70
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
71
+ };
72
+ goog.inherits(proto.BaseJobTitle, jspb.Message);
73
+ if (goog.DEBUG && !COMPILED) {
74
+ /**
75
+ * @public
76
+ * @override
77
+ */
78
+ proto.BaseJobTitle.displayName = 'proto.BaseJobTitle';
79
+ }
58
80
  /**
59
81
  * Generated by JsPbCodeGenerator.
60
82
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -518,6 +540,286 @@ proto.JobTitle.prototype.setCompaniesRefId = function(value) {
518
540
 
519
541
 
520
542
 
543
+ if (jspb.Message.GENERATE_TO_OBJECT) {
544
+ /**
545
+ * Creates an object representation of this proto.
546
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
547
+ * Optional fields that are not set will be set to undefined.
548
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
549
+ * For the list of reserved names please see:
550
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
551
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
552
+ * JSPB instance for transitional soy proto support:
553
+ * http://goto/soy-param-migration
554
+ * @return {!Object}
555
+ */
556
+ proto.BaseJobTitle.prototype.toObject = function(opt_includeInstance) {
557
+ return proto.BaseJobTitle.toObject(opt_includeInstance, this);
558
+ };
559
+
560
+
561
+ /**
562
+ * Static version of the {@see toObject} method.
563
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
564
+ * the JSPB instance for transitional soy proto support:
565
+ * http://goto/soy-param-migration
566
+ * @param {!proto.BaseJobTitle} msg The msg instance to transform.
567
+ * @return {!Object}
568
+ * @suppress {unusedLocalVariables} f is only used for nested messages
569
+ */
570
+ proto.BaseJobTitle.toObject = function(includeInstance, msg) {
571
+ var f, obj = {
572
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
573
+ code: jspb.Message.getFieldWithDefault(msg, 2, ""),
574
+ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
575
+ description: jspb.Message.getFieldWithDefault(msg, 4, ""),
576
+ parentRefId: jspb.Message.getFieldWithDefault(msg, 5, 0),
577
+ companiesRefId: jspb.Message.getFieldWithDefault(msg, 6, 0)
578
+ };
579
+
580
+ if (includeInstance) {
581
+ obj.$jspbMessageInstance = msg;
582
+ }
583
+ return obj;
584
+ };
585
+ }
586
+
587
+
588
+ /**
589
+ * Deserializes binary data (in protobuf wire format).
590
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
591
+ * @return {!proto.BaseJobTitle}
592
+ */
593
+ proto.BaseJobTitle.deserializeBinary = function(bytes) {
594
+ var reader = new jspb.BinaryReader(bytes);
595
+ var msg = new proto.BaseJobTitle;
596
+ return proto.BaseJobTitle.deserializeBinaryFromReader(msg, reader);
597
+ };
598
+
599
+
600
+ /**
601
+ * Deserializes binary data (in protobuf wire format) from the
602
+ * given reader into the given message object.
603
+ * @param {!proto.BaseJobTitle} msg The message object to deserialize into.
604
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
605
+ * @return {!proto.BaseJobTitle}
606
+ */
607
+ proto.BaseJobTitle.deserializeBinaryFromReader = function(msg, reader) {
608
+ while (reader.nextField()) {
609
+ if (reader.isEndGroup()) {
610
+ break;
611
+ }
612
+ var field = reader.getFieldNumber();
613
+ switch (field) {
614
+ case 1:
615
+ var value = /** @type {number} */ (reader.readInt64());
616
+ msg.setId(value);
617
+ break;
618
+ case 2:
619
+ var value = /** @type {string} */ (reader.readString());
620
+ msg.setCode(value);
621
+ break;
622
+ case 3:
623
+ var value = /** @type {string} */ (reader.readString());
624
+ msg.setName(value);
625
+ break;
626
+ case 4:
627
+ var value = /** @type {string} */ (reader.readString());
628
+ msg.setDescription(value);
629
+ break;
630
+ case 5:
631
+ var value = /** @type {number} */ (reader.readInt64());
632
+ msg.setParentRefId(value);
633
+ break;
634
+ case 6:
635
+ var value = /** @type {number} */ (reader.readInt64());
636
+ msg.setCompaniesRefId(value);
637
+ break;
638
+ default:
639
+ reader.skipField();
640
+ break;
641
+ }
642
+ }
643
+ return msg;
644
+ };
645
+
646
+
647
+ /**
648
+ * Serializes the message to binary data (in protobuf wire format).
649
+ * @return {!Uint8Array}
650
+ */
651
+ proto.BaseJobTitle.prototype.serializeBinary = function() {
652
+ var writer = new jspb.BinaryWriter();
653
+ proto.BaseJobTitle.serializeBinaryToWriter(this, writer);
654
+ return writer.getResultBuffer();
655
+ };
656
+
657
+
658
+ /**
659
+ * Serializes the given message to binary data (in protobuf wire
660
+ * format), writing to the given BinaryWriter.
661
+ * @param {!proto.BaseJobTitle} message
662
+ * @param {!jspb.BinaryWriter} writer
663
+ * @suppress {unusedLocalVariables} f is only used for nested messages
664
+ */
665
+ proto.BaseJobTitle.serializeBinaryToWriter = function(message, writer) {
666
+ var f = undefined;
667
+ f = message.getId();
668
+ if (f !== 0) {
669
+ writer.writeInt64(
670
+ 1,
671
+ f
672
+ );
673
+ }
674
+ f = message.getCode();
675
+ if (f.length > 0) {
676
+ writer.writeString(
677
+ 2,
678
+ f
679
+ );
680
+ }
681
+ f = message.getName();
682
+ if (f.length > 0) {
683
+ writer.writeString(
684
+ 3,
685
+ f
686
+ );
687
+ }
688
+ f = message.getDescription();
689
+ if (f.length > 0) {
690
+ writer.writeString(
691
+ 4,
692
+ f
693
+ );
694
+ }
695
+ f = message.getParentRefId();
696
+ if (f !== 0) {
697
+ writer.writeInt64(
698
+ 5,
699
+ f
700
+ );
701
+ }
702
+ f = message.getCompaniesRefId();
703
+ if (f !== 0) {
704
+ writer.writeInt64(
705
+ 6,
706
+ f
707
+ );
708
+ }
709
+ };
710
+
711
+
712
+ /**
713
+ * optional int64 id = 1;
714
+ * @return {number}
715
+ */
716
+ proto.BaseJobTitle.prototype.getId = function() {
717
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
718
+ };
719
+
720
+
721
+ /**
722
+ * @param {number} value
723
+ * @return {!proto.BaseJobTitle} returns this
724
+ */
725
+ proto.BaseJobTitle.prototype.setId = function(value) {
726
+ return jspb.Message.setProto3IntField(this, 1, value);
727
+ };
728
+
729
+
730
+ /**
731
+ * optional string code = 2;
732
+ * @return {string}
733
+ */
734
+ proto.BaseJobTitle.prototype.getCode = function() {
735
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
736
+ };
737
+
738
+
739
+ /**
740
+ * @param {string} value
741
+ * @return {!proto.BaseJobTitle} returns this
742
+ */
743
+ proto.BaseJobTitle.prototype.setCode = function(value) {
744
+ return jspb.Message.setProto3StringField(this, 2, value);
745
+ };
746
+
747
+
748
+ /**
749
+ * optional string name = 3;
750
+ * @return {string}
751
+ */
752
+ proto.BaseJobTitle.prototype.getName = function() {
753
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
754
+ };
755
+
756
+
757
+ /**
758
+ * @param {string} value
759
+ * @return {!proto.BaseJobTitle} returns this
760
+ */
761
+ proto.BaseJobTitle.prototype.setName = function(value) {
762
+ return jspb.Message.setProto3StringField(this, 3, value);
763
+ };
764
+
765
+
766
+ /**
767
+ * optional string description = 4;
768
+ * @return {string}
769
+ */
770
+ proto.BaseJobTitle.prototype.getDescription = function() {
771
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
772
+ };
773
+
774
+
775
+ /**
776
+ * @param {string} value
777
+ * @return {!proto.BaseJobTitle} returns this
778
+ */
779
+ proto.BaseJobTitle.prototype.setDescription = function(value) {
780
+ return jspb.Message.setProto3StringField(this, 4, value);
781
+ };
782
+
783
+
784
+ /**
785
+ * optional int64 parent_ref_id = 5;
786
+ * @return {number}
787
+ */
788
+ proto.BaseJobTitle.prototype.getParentRefId = function() {
789
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
790
+ };
791
+
792
+
793
+ /**
794
+ * @param {number} value
795
+ * @return {!proto.BaseJobTitle} returns this
796
+ */
797
+ proto.BaseJobTitle.prototype.setParentRefId = function(value) {
798
+ return jspb.Message.setProto3IntField(this, 5, value);
799
+ };
800
+
801
+
802
+ /**
803
+ * optional int64 companies_ref_id = 6;
804
+ * @return {number}
805
+ */
806
+ proto.BaseJobTitle.prototype.getCompaniesRefId = function() {
807
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
808
+ };
809
+
810
+
811
+ /**
812
+ * @param {number} value
813
+ * @return {!proto.BaseJobTitle} returns this
814
+ */
815
+ proto.BaseJobTitle.prototype.setCompaniesRefId = function(value) {
816
+ return jspb.Message.setProto3IntField(this, 6, value);
817
+ };
818
+
819
+
820
+
821
+
822
+
521
823
  if (jspb.Message.GENERATE_TO_OBJECT) {
522
824
  /**
523
825
  * Creates an object representation of this proto.
@@ -1732,7 +2034,7 @@ proto.GetListJobTitleResponse.prototype.toObject = function(opt_includeInstance)
1732
2034
  proto.GetListJobTitleResponse.toObject = function(includeInstance, msg) {
1733
2035
  var f, obj = {
1734
2036
  jobTitleList: jspb.Message.toObjectList(msg.getJobTitleList(),
1735
- proto.JobTitle.toObject, includeInstance),
2037
+ proto.BaseJobTitle.toObject, includeInstance),
1736
2038
  meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1737
2039
  };
1738
2040
 
@@ -1771,8 +2073,8 @@ proto.GetListJobTitleResponse.deserializeBinaryFromReader = function(msg, reader
1771
2073
  var field = reader.getFieldNumber();
1772
2074
  switch (field) {
1773
2075
  case 1:
1774
- var value = new proto.JobTitle;
1775
- reader.readMessage(value,proto.JobTitle.deserializeBinaryFromReader);
2076
+ var value = new proto.BaseJobTitle;
2077
+ reader.readMessage(value,proto.BaseJobTitle.deserializeBinaryFromReader);
1776
2078
  msg.addJobTitle(value);
1777
2079
  break;
1778
2080
  case 2:
@@ -1814,7 +2116,7 @@ proto.GetListJobTitleResponse.serializeBinaryToWriter = function(message, writer
1814
2116
  writer.writeRepeatedMessage(
1815
2117
  1,
1816
2118
  f,
1817
- proto.JobTitle.serializeBinaryToWriter
2119
+ proto.BaseJobTitle.serializeBinaryToWriter
1818
2120
  );
1819
2121
  }
1820
2122
  f = message.getMeta();
@@ -1829,17 +2131,17 @@ proto.GetListJobTitleResponse.serializeBinaryToWriter = function(message, writer
1829
2131
 
1830
2132
 
1831
2133
  /**
1832
- * repeated JobTitle job_title = 1;
1833
- * @return {!Array<!proto.JobTitle>}
2134
+ * repeated BaseJobTitle job_title = 1;
2135
+ * @return {!Array<!proto.BaseJobTitle>}
1834
2136
  */
1835
2137
  proto.GetListJobTitleResponse.prototype.getJobTitleList = function() {
1836
- return /** @type{!Array<!proto.JobTitle>} */ (
1837
- jspb.Message.getRepeatedWrapperField(this, proto.JobTitle, 1));
2138
+ return /** @type{!Array<!proto.BaseJobTitle>} */ (
2139
+ jspb.Message.getRepeatedWrapperField(this, proto.BaseJobTitle, 1));
1838
2140
  };
1839
2141
 
1840
2142
 
1841
2143
  /**
1842
- * @param {!Array<!proto.JobTitle>} value
2144
+ * @param {!Array<!proto.BaseJobTitle>} value
1843
2145
  * @return {!proto.GetListJobTitleResponse} returns this
1844
2146
  */
1845
2147
  proto.GetListJobTitleResponse.prototype.setJobTitleList = function(value) {
@@ -1848,12 +2150,12 @@ proto.GetListJobTitleResponse.prototype.setJobTitleList = function(value) {
1848
2150
 
1849
2151
 
1850
2152
  /**
1851
- * @param {!proto.JobTitle=} opt_value
2153
+ * @param {!proto.BaseJobTitle=} opt_value
1852
2154
  * @param {number=} opt_index
1853
- * @return {!proto.JobTitle}
2155
+ * @return {!proto.BaseJobTitle}
1854
2156
  */
1855
2157
  proto.GetListJobTitleResponse.prototype.addJobTitle = function(opt_value, opt_index) {
1856
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.JobTitle, opt_index);
2158
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseJobTitle, opt_index);
1857
2159
  };
1858
2160
 
1859
2161
 
@@ -0,0 +1,177 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ 'use strict';
4
+ var grpc = require('@grpc/grpc-js');
5
+ var prisca_v1_core_organization_level_organization_level_pb = require('../../../../prisca/v1/core/organization_level/organization_level_pb.js');
6
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
7
+
8
+ function serialize_CreateOrganizationLevelRequest(arg) {
9
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelRequest)) {
10
+ throw new Error('Expected argument of type CreateOrganizationLevelRequest');
11
+ }
12
+ return Buffer.from(arg.serializeBinary());
13
+ }
14
+
15
+ function deserialize_CreateOrganizationLevelRequest(buffer_arg) {
16
+ return prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelRequest.deserializeBinary(new Uint8Array(buffer_arg));
17
+ }
18
+
19
+ function serialize_CreateOrganizationLevelResponse(arg) {
20
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelResponse)) {
21
+ throw new Error('Expected argument of type CreateOrganizationLevelResponse');
22
+ }
23
+ return Buffer.from(arg.serializeBinary());
24
+ }
25
+
26
+ function deserialize_CreateOrganizationLevelResponse(buffer_arg) {
27
+ return prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelResponse.deserializeBinary(new Uint8Array(buffer_arg));
28
+ }
29
+
30
+ function serialize_DeleteOrganizationLevelRequest(arg) {
31
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelRequest)) {
32
+ throw new Error('Expected argument of type DeleteOrganizationLevelRequest');
33
+ }
34
+ return Buffer.from(arg.serializeBinary());
35
+ }
36
+
37
+ function deserialize_DeleteOrganizationLevelRequest(buffer_arg) {
38
+ return prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelRequest.deserializeBinary(new Uint8Array(buffer_arg));
39
+ }
40
+
41
+ function serialize_DeleteOrganizationLevelResponse(arg) {
42
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelResponse)) {
43
+ throw new Error('Expected argument of type DeleteOrganizationLevelResponse');
44
+ }
45
+ return Buffer.from(arg.serializeBinary());
46
+ }
47
+
48
+ function deserialize_DeleteOrganizationLevelResponse(buffer_arg) {
49
+ return prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelResponse.deserializeBinary(new Uint8Array(buffer_arg));
50
+ }
51
+
52
+ function serialize_GetListOrganizationLevelRequest(arg) {
53
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelRequest)) {
54
+ throw new Error('Expected argument of type GetListOrganizationLevelRequest');
55
+ }
56
+ return Buffer.from(arg.serializeBinary());
57
+ }
58
+
59
+ function deserialize_GetListOrganizationLevelRequest(buffer_arg) {
60
+ return prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelRequest.deserializeBinary(new Uint8Array(buffer_arg));
61
+ }
62
+
63
+ function serialize_GetListOrganizationLevelResponse(arg) {
64
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelResponse)) {
65
+ throw new Error('Expected argument of type GetListOrganizationLevelResponse');
66
+ }
67
+ return Buffer.from(arg.serializeBinary());
68
+ }
69
+
70
+ function deserialize_GetListOrganizationLevelResponse(buffer_arg) {
71
+ return prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelResponse.deserializeBinary(new Uint8Array(buffer_arg));
72
+ }
73
+
74
+ function serialize_OrganizationLevelGetByIdRequest(arg) {
75
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdRequest)) {
76
+ throw new Error('Expected argument of type OrganizationLevelGetByIdRequest');
77
+ }
78
+ return Buffer.from(arg.serializeBinary());
79
+ }
80
+
81
+ function deserialize_OrganizationLevelGetByIdRequest(buffer_arg) {
82
+ return prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
83
+ }
84
+
85
+ function serialize_OrganizationLevelGetByIdResponse(arg) {
86
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdResponse)) {
87
+ throw new Error('Expected argument of type OrganizationLevelGetByIdResponse');
88
+ }
89
+ return Buffer.from(arg.serializeBinary());
90
+ }
91
+
92
+ function deserialize_OrganizationLevelGetByIdResponse(buffer_arg) {
93
+ return prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
94
+ }
95
+
96
+ function serialize_UpdateOrganizationLevelRequest(arg) {
97
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelRequest)) {
98
+ throw new Error('Expected argument of type UpdateOrganizationLevelRequest');
99
+ }
100
+ return Buffer.from(arg.serializeBinary());
101
+ }
102
+
103
+ function deserialize_UpdateOrganizationLevelRequest(buffer_arg) {
104
+ return prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelRequest.deserializeBinary(new Uint8Array(buffer_arg));
105
+ }
106
+
107
+ function serialize_UpdateOrganizationLevelResponse(arg) {
108
+ if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelResponse)) {
109
+ throw new Error('Expected argument of type UpdateOrganizationLevelResponse');
110
+ }
111
+ return Buffer.from(arg.serializeBinary());
112
+ }
113
+
114
+ function deserialize_UpdateOrganizationLevelResponse(buffer_arg) {
115
+ return prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelResponse.deserializeBinary(new Uint8Array(buffer_arg));
116
+ }
117
+
118
+
119
+ var OrganizationLevelServiceService = exports.OrganizationLevelServiceService = {
120
+ createOrganizationLevel: {
121
+ path: '/OrganizationLevelService/CreateOrganizationLevel',
122
+ requestStream: false,
123
+ responseStream: false,
124
+ requestType: prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelRequest,
125
+ responseType: prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelResponse,
126
+ requestSerialize: serialize_CreateOrganizationLevelRequest,
127
+ requestDeserialize: deserialize_CreateOrganizationLevelRequest,
128
+ responseSerialize: serialize_CreateOrganizationLevelResponse,
129
+ responseDeserialize: deserialize_CreateOrganizationLevelResponse,
130
+ },
131
+ getOrganizationLevelById: {
132
+ path: '/OrganizationLevelService/GetOrganizationLevelById',
133
+ requestStream: false,
134
+ responseStream: false,
135
+ requestType: prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdRequest,
136
+ responseType: prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdResponse,
137
+ requestSerialize: serialize_OrganizationLevelGetByIdRequest,
138
+ requestDeserialize: deserialize_OrganizationLevelGetByIdRequest,
139
+ responseSerialize: serialize_OrganizationLevelGetByIdResponse,
140
+ responseDeserialize: deserialize_OrganizationLevelGetByIdResponse,
141
+ },
142
+ updateOrganizationLevel: {
143
+ path: '/OrganizationLevelService/UpdateOrganizationLevel',
144
+ requestStream: false,
145
+ responseStream: false,
146
+ requestType: prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelRequest,
147
+ responseType: prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelResponse,
148
+ requestSerialize: serialize_UpdateOrganizationLevelRequest,
149
+ requestDeserialize: deserialize_UpdateOrganizationLevelRequest,
150
+ responseSerialize: serialize_UpdateOrganizationLevelResponse,
151
+ responseDeserialize: deserialize_UpdateOrganizationLevelResponse,
152
+ },
153
+ deleteOrganizationLevel: {
154
+ path: '/OrganizationLevelService/DeleteOrganizationLevel',
155
+ requestStream: false,
156
+ responseStream: false,
157
+ requestType: prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelRequest,
158
+ responseType: prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelResponse,
159
+ requestSerialize: serialize_DeleteOrganizationLevelRequest,
160
+ requestDeserialize: deserialize_DeleteOrganizationLevelRequest,
161
+ responseSerialize: serialize_DeleteOrganizationLevelResponse,
162
+ responseDeserialize: deserialize_DeleteOrganizationLevelResponse,
163
+ },
164
+ getListOrganizationLevel: {
165
+ path: '/OrganizationLevelService/GetListOrganizationLevel',
166
+ requestStream: false,
167
+ responseStream: false,
168
+ requestType: prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelRequest,
169
+ responseType: prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelResponse,
170
+ requestSerialize: serialize_GetListOrganizationLevelRequest,
171
+ requestDeserialize: deserialize_GetListOrganizationLevelRequest,
172
+ responseSerialize: serialize_GetListOrganizationLevelResponse,
173
+ responseDeserialize: deserialize_GetListOrganizationLevelResponse,
174
+ },
175
+ };
176
+
177
+ exports.OrganizationLevelServiceClient = grpc.makeGenericClientConstructor(OrganizationLevelServiceService);