@aldiokta/protocgen 1.1.4 → 1.1.6

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.
@@ -72,6 +72,17 @@ function deserialize_GetLineOfApprovalByIdResponse(buffer_arg) {
72
72
  return prisca_v1_core_line_of_approval_line_of_approval_pb.GetLineOfApprovalByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
73
73
  }
74
74
 
75
+ function serialize_GetListAllLineOfApprovalResponse(arg) {
76
+ if (!(arg instanceof prisca_v1_core_line_of_approval_line_of_approval_pb.GetListAllLineOfApprovalResponse)) {
77
+ throw new Error('Expected argument of type GetListAllLineOfApprovalResponse');
78
+ }
79
+ return Buffer.from(arg.serializeBinary());
80
+ }
81
+
82
+ function deserialize_GetListAllLineOfApprovalResponse(buffer_arg) {
83
+ return prisca_v1_core_line_of_approval_line_of_approval_pb.GetListAllLineOfApprovalResponse.deserializeBinary(new Uint8Array(buffer_arg));
84
+ }
85
+
75
86
  function serialize_GetListLineOfApprovalRequest(arg) {
76
87
  if (!(arg instanceof prisca_v1_core_line_of_approval_line_of_approval_pb.GetListLineOfApprovalRequest)) {
77
88
  throw new Error('Expected argument of type GetListLineOfApprovalRequest');
@@ -173,6 +184,17 @@ var LineOfApprovalServiceService = exports.LineOfApprovalServiceService = {
173
184
  responseSerialize: serialize_GetListLineOfApprovalResponse,
174
185
  responseDeserialize: deserialize_GetListLineOfApprovalResponse,
175
186
  },
187
+ getListAllLineOfApprovals: {
188
+ path: '/LineOfApprovalService/GetListAllLineOfApprovals',
189
+ requestStream: false,
190
+ responseStream: false,
191
+ requestType: prisca_v1_core_line_of_approval_line_of_approval_pb.GetListLineOfApprovalRequest,
192
+ responseType: prisca_v1_core_line_of_approval_line_of_approval_pb.GetListAllLineOfApprovalResponse,
193
+ requestSerialize: serialize_GetListLineOfApprovalRequest,
194
+ requestDeserialize: deserialize_GetListLineOfApprovalRequest,
195
+ responseSerialize: serialize_GetListAllLineOfApprovalResponse,
196
+ responseDeserialize: deserialize_GetListAllLineOfApprovalResponse,
197
+ },
176
198
  };
177
199
 
178
200
  exports.LineOfApprovalServiceClient = grpc.makeGenericClientConstructor(LineOfApprovalServiceService, 'LineOfApprovalService');
@@ -26,12 +26,14 @@ goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
26
26
  var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
27
27
  goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
28
28
  goog.exportSymbol('proto.BaseLineOfApprovalRequest', null, global);
29
+ goog.exportSymbol('proto.BaseListAllLineOfApproval', null, global);
29
30
  goog.exportSymbol('proto.CreateLineOfApprovalRequest', null, global);
30
31
  goog.exportSymbol('proto.CreateLineOfApprovalResponse', null, global);
31
32
  goog.exportSymbol('proto.DeleteLineOfApprovalRequest', null, global);
32
33
  goog.exportSymbol('proto.DeleteLineOfApprovalResponse', null, global);
33
34
  goog.exportSymbol('proto.GetLineOfApprovalByIdRequest', null, global);
34
35
  goog.exportSymbol('proto.GetLineOfApprovalByIdResponse', null, global);
36
+ goog.exportSymbol('proto.GetListAllLineOfApprovalResponse', null, global);
35
37
  goog.exportSymbol('proto.GetListLineOfApprovalRequest', null, global);
36
38
  goog.exportSymbol('proto.GetListLineOfApprovalResponse', null, global);
37
39
  goog.exportSymbol('proto.LineOfApproval', null, global);
@@ -289,6 +291,48 @@ if (goog.DEBUG && !COMPILED) {
289
291
  */
290
292
  proto.GetListLineOfApprovalResponse.displayName = 'proto.GetListLineOfApprovalResponse';
291
293
  }
294
+ /**
295
+ * Generated by JsPbCodeGenerator.
296
+ * @param {Array=} opt_data Optional initial data array, typically from a
297
+ * server response, or constructed directly in Javascript. The array is used
298
+ * in place and becomes part of the constructed object. It is not cloned.
299
+ * If no data is provided, the constructed object will be empty, but still
300
+ * valid.
301
+ * @extends {jspb.Message}
302
+ * @constructor
303
+ */
304
+ proto.BaseListAllLineOfApproval = function(opt_data) {
305
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
306
+ };
307
+ goog.inherits(proto.BaseListAllLineOfApproval, jspb.Message);
308
+ if (goog.DEBUG && !COMPILED) {
309
+ /**
310
+ * @public
311
+ * @override
312
+ */
313
+ proto.BaseListAllLineOfApproval.displayName = 'proto.BaseListAllLineOfApproval';
314
+ }
315
+ /**
316
+ * Generated by JsPbCodeGenerator.
317
+ * @param {Array=} opt_data Optional initial data array, typically from a
318
+ * server response, or constructed directly in Javascript. The array is used
319
+ * in place and becomes part of the constructed object. It is not cloned.
320
+ * If no data is provided, the constructed object will be empty, but still
321
+ * valid.
322
+ * @extends {jspb.Message}
323
+ * @constructor
324
+ */
325
+ proto.GetListAllLineOfApprovalResponse = function(opt_data) {
326
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListAllLineOfApprovalResponse.repeatedFields_, null);
327
+ };
328
+ goog.inherits(proto.GetListAllLineOfApprovalResponse, jspb.Message);
329
+ if (goog.DEBUG && !COMPILED) {
330
+ /**
331
+ * @public
332
+ * @override
333
+ */
334
+ proto.GetListAllLineOfApprovalResponse.displayName = 'proto.GetListAllLineOfApprovalResponse';
335
+ }
292
336
 
293
337
 
294
338
 
@@ -2692,4 +2736,456 @@ proto.GetListLineOfApprovalResponse.prototype.hasMeta = function() {
2692
2736
  };
2693
2737
 
2694
2738
 
2739
+
2740
+
2741
+
2742
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2743
+ /**
2744
+ * Creates an object representation of this proto.
2745
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2746
+ * Optional fields that are not set will be set to undefined.
2747
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2748
+ * For the list of reserved names please see:
2749
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2750
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2751
+ * JSPB instance for transitional soy proto support:
2752
+ * http://goto/soy-param-migration
2753
+ * @return {!Object}
2754
+ */
2755
+ proto.BaseListAllLineOfApproval.prototype.toObject = function(opt_includeInstance) {
2756
+ return proto.BaseListAllLineOfApproval.toObject(opt_includeInstance, this);
2757
+ };
2758
+
2759
+
2760
+ /**
2761
+ * Static version of the {@see toObject} method.
2762
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2763
+ * the JSPB instance for transitional soy proto support:
2764
+ * http://goto/soy-param-migration
2765
+ * @param {!proto.BaseListAllLineOfApproval} msg The msg instance to transform.
2766
+ * @return {!Object}
2767
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2768
+ */
2769
+ proto.BaseListAllLineOfApproval.toObject = function(includeInstance, msg) {
2770
+ var f, obj = {
2771
+ lineOfApproval: (f = msg.getLineOfApproval()) && proto.LineOfApproval.toObject(includeInstance, f),
2772
+ documentNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
2773
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
2774
+ department: jspb.Message.getFieldWithDefault(msg, 4, "")
2775
+ };
2776
+
2777
+ if (includeInstance) {
2778
+ obj.$jspbMessageInstance = msg;
2779
+ }
2780
+ return obj;
2781
+ };
2782
+ }
2783
+
2784
+
2785
+ /**
2786
+ * Deserializes binary data (in protobuf wire format).
2787
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2788
+ * @return {!proto.BaseListAllLineOfApproval}
2789
+ */
2790
+ proto.BaseListAllLineOfApproval.deserializeBinary = function(bytes) {
2791
+ var reader = new jspb.BinaryReader(bytes);
2792
+ var msg = new proto.BaseListAllLineOfApproval;
2793
+ return proto.BaseListAllLineOfApproval.deserializeBinaryFromReader(msg, reader);
2794
+ };
2795
+
2796
+
2797
+ /**
2798
+ * Deserializes binary data (in protobuf wire format) from the
2799
+ * given reader into the given message object.
2800
+ * @param {!proto.BaseListAllLineOfApproval} msg The message object to deserialize into.
2801
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2802
+ * @return {!proto.BaseListAllLineOfApproval}
2803
+ */
2804
+ proto.BaseListAllLineOfApproval.deserializeBinaryFromReader = function(msg, reader) {
2805
+ while (reader.nextField()) {
2806
+ if (reader.isEndGroup()) {
2807
+ break;
2808
+ }
2809
+ var field = reader.getFieldNumber();
2810
+ switch (field) {
2811
+ case 1:
2812
+ var value = new proto.LineOfApproval;
2813
+ reader.readMessage(value,proto.LineOfApproval.deserializeBinaryFromReader);
2814
+ msg.setLineOfApproval(value);
2815
+ break;
2816
+ case 2:
2817
+ var value = /** @type {string} */ (reader.readString());
2818
+ msg.setDocumentNumber(value);
2819
+ break;
2820
+ case 3:
2821
+ var value = /** @type {string} */ (reader.readString());
2822
+ msg.setTitle(value);
2823
+ break;
2824
+ case 4:
2825
+ var value = /** @type {string} */ (reader.readString());
2826
+ msg.setDepartment(value);
2827
+ break;
2828
+ default:
2829
+ reader.skipField();
2830
+ break;
2831
+ }
2832
+ }
2833
+ return msg;
2834
+ };
2835
+
2836
+
2837
+ /**
2838
+ * Serializes the message to binary data (in protobuf wire format).
2839
+ * @return {!Uint8Array}
2840
+ */
2841
+ proto.BaseListAllLineOfApproval.prototype.serializeBinary = function() {
2842
+ var writer = new jspb.BinaryWriter();
2843
+ proto.BaseListAllLineOfApproval.serializeBinaryToWriter(this, writer);
2844
+ return writer.getResultBuffer();
2845
+ };
2846
+
2847
+
2848
+ /**
2849
+ * Serializes the given message to binary data (in protobuf wire
2850
+ * format), writing to the given BinaryWriter.
2851
+ * @param {!proto.BaseListAllLineOfApproval} message
2852
+ * @param {!jspb.BinaryWriter} writer
2853
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2854
+ */
2855
+ proto.BaseListAllLineOfApproval.serializeBinaryToWriter = function(message, writer) {
2856
+ var f = undefined;
2857
+ f = message.getLineOfApproval();
2858
+ if (f != null) {
2859
+ writer.writeMessage(
2860
+ 1,
2861
+ f,
2862
+ proto.LineOfApproval.serializeBinaryToWriter
2863
+ );
2864
+ }
2865
+ f = message.getDocumentNumber();
2866
+ if (f.length > 0) {
2867
+ writer.writeString(
2868
+ 2,
2869
+ f
2870
+ );
2871
+ }
2872
+ f = message.getTitle();
2873
+ if (f.length > 0) {
2874
+ writer.writeString(
2875
+ 3,
2876
+ f
2877
+ );
2878
+ }
2879
+ f = message.getDepartment();
2880
+ if (f.length > 0) {
2881
+ writer.writeString(
2882
+ 4,
2883
+ f
2884
+ );
2885
+ }
2886
+ };
2887
+
2888
+
2889
+ /**
2890
+ * optional LineOfApproval line_of_approval = 1;
2891
+ * @return {?proto.LineOfApproval}
2892
+ */
2893
+ proto.BaseListAllLineOfApproval.prototype.getLineOfApproval = function() {
2894
+ return /** @type{?proto.LineOfApproval} */ (
2895
+ jspb.Message.getWrapperField(this, proto.LineOfApproval, 1));
2896
+ };
2897
+
2898
+
2899
+ /**
2900
+ * @param {?proto.LineOfApproval|undefined} value
2901
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2902
+ */
2903
+ proto.BaseListAllLineOfApproval.prototype.setLineOfApproval = function(value) {
2904
+ return jspb.Message.setWrapperField(this, 1, value);
2905
+ };
2906
+
2907
+
2908
+ /**
2909
+ * Clears the message field making it undefined.
2910
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2911
+ */
2912
+ proto.BaseListAllLineOfApproval.prototype.clearLineOfApproval = function() {
2913
+ return this.setLineOfApproval(undefined);
2914
+ };
2915
+
2916
+
2917
+ /**
2918
+ * Returns whether this field is set.
2919
+ * @return {boolean}
2920
+ */
2921
+ proto.BaseListAllLineOfApproval.prototype.hasLineOfApproval = function() {
2922
+ return jspb.Message.getField(this, 1) != null;
2923
+ };
2924
+
2925
+
2926
+ /**
2927
+ * optional string document_number = 2;
2928
+ * @return {string}
2929
+ */
2930
+ proto.BaseListAllLineOfApproval.prototype.getDocumentNumber = function() {
2931
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2932
+ };
2933
+
2934
+
2935
+ /**
2936
+ * @param {string} value
2937
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2938
+ */
2939
+ proto.BaseListAllLineOfApproval.prototype.setDocumentNumber = function(value) {
2940
+ return jspb.Message.setProto3StringField(this, 2, value);
2941
+ };
2942
+
2943
+
2944
+ /**
2945
+ * optional string title = 3;
2946
+ * @return {string}
2947
+ */
2948
+ proto.BaseListAllLineOfApproval.prototype.getTitle = function() {
2949
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2950
+ };
2951
+
2952
+
2953
+ /**
2954
+ * @param {string} value
2955
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2956
+ */
2957
+ proto.BaseListAllLineOfApproval.prototype.setTitle = function(value) {
2958
+ return jspb.Message.setProto3StringField(this, 3, value);
2959
+ };
2960
+
2961
+
2962
+ /**
2963
+ * optional string department = 4;
2964
+ * @return {string}
2965
+ */
2966
+ proto.BaseListAllLineOfApproval.prototype.getDepartment = function() {
2967
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2968
+ };
2969
+
2970
+
2971
+ /**
2972
+ * @param {string} value
2973
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2974
+ */
2975
+ proto.BaseListAllLineOfApproval.prototype.setDepartment = function(value) {
2976
+ return jspb.Message.setProto3StringField(this, 4, value);
2977
+ };
2978
+
2979
+
2980
+
2981
+ /**
2982
+ * List of repeated fields within this message type.
2983
+ * @private {!Array<number>}
2984
+ * @const
2985
+ */
2986
+ proto.GetListAllLineOfApprovalResponse.repeatedFields_ = [1];
2987
+
2988
+
2989
+
2990
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2991
+ /**
2992
+ * Creates an object representation of this proto.
2993
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2994
+ * Optional fields that are not set will be set to undefined.
2995
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2996
+ * For the list of reserved names please see:
2997
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2998
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2999
+ * JSPB instance for transitional soy proto support:
3000
+ * http://goto/soy-param-migration
3001
+ * @return {!Object}
3002
+ */
3003
+ proto.GetListAllLineOfApprovalResponse.prototype.toObject = function(opt_includeInstance) {
3004
+ return proto.GetListAllLineOfApprovalResponse.toObject(opt_includeInstance, this);
3005
+ };
3006
+
3007
+
3008
+ /**
3009
+ * Static version of the {@see toObject} method.
3010
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3011
+ * the JSPB instance for transitional soy proto support:
3012
+ * http://goto/soy-param-migration
3013
+ * @param {!proto.GetListAllLineOfApprovalResponse} msg The msg instance to transform.
3014
+ * @return {!Object}
3015
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3016
+ */
3017
+ proto.GetListAllLineOfApprovalResponse.toObject = function(includeInstance, msg) {
3018
+ var f, obj = {
3019
+ lineOfApprovalsList: jspb.Message.toObjectList(msg.getLineOfApprovalsList(),
3020
+ proto.BaseListAllLineOfApproval.toObject, includeInstance),
3021
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3022
+ };
3023
+
3024
+ if (includeInstance) {
3025
+ obj.$jspbMessageInstance = msg;
3026
+ }
3027
+ return obj;
3028
+ };
3029
+ }
3030
+
3031
+
3032
+ /**
3033
+ * Deserializes binary data (in protobuf wire format).
3034
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3035
+ * @return {!proto.GetListAllLineOfApprovalResponse}
3036
+ */
3037
+ proto.GetListAllLineOfApprovalResponse.deserializeBinary = function(bytes) {
3038
+ var reader = new jspb.BinaryReader(bytes);
3039
+ var msg = new proto.GetListAllLineOfApprovalResponse;
3040
+ return proto.GetListAllLineOfApprovalResponse.deserializeBinaryFromReader(msg, reader);
3041
+ };
3042
+
3043
+
3044
+ /**
3045
+ * Deserializes binary data (in protobuf wire format) from the
3046
+ * given reader into the given message object.
3047
+ * @param {!proto.GetListAllLineOfApprovalResponse} msg The message object to deserialize into.
3048
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3049
+ * @return {!proto.GetListAllLineOfApprovalResponse}
3050
+ */
3051
+ proto.GetListAllLineOfApprovalResponse.deserializeBinaryFromReader = function(msg, reader) {
3052
+ while (reader.nextField()) {
3053
+ if (reader.isEndGroup()) {
3054
+ break;
3055
+ }
3056
+ var field = reader.getFieldNumber();
3057
+ switch (field) {
3058
+ case 1:
3059
+ var value = new proto.BaseListAllLineOfApproval;
3060
+ reader.readMessage(value,proto.BaseListAllLineOfApproval.deserializeBinaryFromReader);
3061
+ msg.addLineOfApprovals(value);
3062
+ break;
3063
+ case 2:
3064
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
3065
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
3066
+ msg.setMeta(value);
3067
+ break;
3068
+ default:
3069
+ reader.skipField();
3070
+ break;
3071
+ }
3072
+ }
3073
+ return msg;
3074
+ };
3075
+
3076
+
3077
+ /**
3078
+ * Serializes the message to binary data (in protobuf wire format).
3079
+ * @return {!Uint8Array}
3080
+ */
3081
+ proto.GetListAllLineOfApprovalResponse.prototype.serializeBinary = function() {
3082
+ var writer = new jspb.BinaryWriter();
3083
+ proto.GetListAllLineOfApprovalResponse.serializeBinaryToWriter(this, writer);
3084
+ return writer.getResultBuffer();
3085
+ };
3086
+
3087
+
3088
+ /**
3089
+ * Serializes the given message to binary data (in protobuf wire
3090
+ * format), writing to the given BinaryWriter.
3091
+ * @param {!proto.GetListAllLineOfApprovalResponse} message
3092
+ * @param {!jspb.BinaryWriter} writer
3093
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3094
+ */
3095
+ proto.GetListAllLineOfApprovalResponse.serializeBinaryToWriter = function(message, writer) {
3096
+ var f = undefined;
3097
+ f = message.getLineOfApprovalsList();
3098
+ if (f.length > 0) {
3099
+ writer.writeRepeatedMessage(
3100
+ 1,
3101
+ f,
3102
+ proto.BaseListAllLineOfApproval.serializeBinaryToWriter
3103
+ );
3104
+ }
3105
+ f = message.getMeta();
3106
+ if (f != null) {
3107
+ writer.writeMessage(
3108
+ 2,
3109
+ f,
3110
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
3111
+ );
3112
+ }
3113
+ };
3114
+
3115
+
3116
+ /**
3117
+ * repeated BaseListAllLineOfApproval line_of_approvals = 1;
3118
+ * @return {!Array<!proto.BaseListAllLineOfApproval>}
3119
+ */
3120
+ proto.GetListAllLineOfApprovalResponse.prototype.getLineOfApprovalsList = function() {
3121
+ return /** @type{!Array<!proto.BaseListAllLineOfApproval>} */ (
3122
+ jspb.Message.getRepeatedWrapperField(this, proto.BaseListAllLineOfApproval, 1));
3123
+ };
3124
+
3125
+
3126
+ /**
3127
+ * @param {!Array<!proto.BaseListAllLineOfApproval>} value
3128
+ * @return {!proto.GetListAllLineOfApprovalResponse} returns this
3129
+ */
3130
+ proto.GetListAllLineOfApprovalResponse.prototype.setLineOfApprovalsList = function(value) {
3131
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
3132
+ };
3133
+
3134
+
3135
+ /**
3136
+ * @param {!proto.BaseListAllLineOfApproval=} opt_value
3137
+ * @param {number=} opt_index
3138
+ * @return {!proto.BaseListAllLineOfApproval}
3139
+ */
3140
+ proto.GetListAllLineOfApprovalResponse.prototype.addLineOfApprovals = function(opt_value, opt_index) {
3141
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseListAllLineOfApproval, opt_index);
3142
+ };
3143
+
3144
+
3145
+ /**
3146
+ * Clears the list making it empty but non-null.
3147
+ * @return {!proto.GetListAllLineOfApprovalResponse} returns this
3148
+ */
3149
+ proto.GetListAllLineOfApprovalResponse.prototype.clearLineOfApprovalsList = function() {
3150
+ return this.setLineOfApprovalsList([]);
3151
+ };
3152
+
3153
+
3154
+ /**
3155
+ * optional prisca.v1.global.meta.Meta meta = 2;
3156
+ * @return {?proto.prisca.v1.global.meta.Meta}
3157
+ */
3158
+ proto.GetListAllLineOfApprovalResponse.prototype.getMeta = function() {
3159
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
3160
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
3161
+ };
3162
+
3163
+
3164
+ /**
3165
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
3166
+ * @return {!proto.GetListAllLineOfApprovalResponse} returns this
3167
+ */
3168
+ proto.GetListAllLineOfApprovalResponse.prototype.setMeta = function(value) {
3169
+ return jspb.Message.setWrapperField(this, 2, value);
3170
+ };
3171
+
3172
+
3173
+ /**
3174
+ * Clears the message field making it undefined.
3175
+ * @return {!proto.GetListAllLineOfApprovalResponse} returns this
3176
+ */
3177
+ proto.GetListAllLineOfApprovalResponse.prototype.clearMeta = function() {
3178
+ return this.setMeta(undefined);
3179
+ };
3180
+
3181
+
3182
+ /**
3183
+ * Returns whether this field is set.
3184
+ * @return {boolean}
3185
+ */
3186
+ proto.GetListAllLineOfApprovalResponse.prototype.hasMeta = function() {
3187
+ return jspb.Message.getField(this, 2) != null;
3188
+ };
3189
+
3190
+
2695
3191
  goog.object.extend(exports, proto);
@@ -40,6 +40,17 @@ var MessagingServiceService = exports.MessagingServiceService = {
40
40
  responseSerialize: serialize_SendEmailMessageResponse,
41
41
  responseDeserialize: deserialize_SendEmailMessageResponse,
42
42
  },
43
+ sendTeamsMessageRequest: {
44
+ path: '/MessagingService/SendTeamsMessageRequest',
45
+ requestStream: false,
46
+ responseStream: false,
47
+ requestType: prisca_v1_core_messaging_messaging_pb.SendEmailMessageRequest,
48
+ responseType: prisca_v1_core_messaging_messaging_pb.SendEmailMessageResponse,
49
+ requestSerialize: serialize_SendEmailMessageRequest,
50
+ requestDeserialize: deserialize_SendEmailMessageRequest,
51
+ responseSerialize: serialize_SendEmailMessageResponse,
52
+ responseDeserialize: deserialize_SendEmailMessageResponse,
53
+ },
43
54
  };
44
55
 
45
56
  exports.MessagingServiceClient = grpc.makeGenericClientConstructor(MessagingServiceService, 'MessagingService');
@@ -8,6 +8,7 @@ var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../.
8
8
  var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
9
9
  var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
10
10
  var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
11
+ var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
11
12
 
12
13
  function serialize_CreatePurchaseRequisitionTemplateRequest(arg) {
13
14
  if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.CreatePurchaseRequisitionTemplateRequest)) {
@@ -163,6 +164,28 @@ function deserialize_GetPurchaseRequisitionTrxByIdResponse(buffer_arg) {
163
164
  return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
164
165
  }
165
166
 
167
+ function serialize_GetPurchaseRequisitionTrxByRefRequest(arg) {
168
+ if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByRefRequest)) {
169
+ throw new Error('Expected argument of type GetPurchaseRequisitionTrxByRefRequest');
170
+ }
171
+ return Buffer.from(arg.serializeBinary());
172
+ }
173
+
174
+ function deserialize_GetPurchaseRequisitionTrxByRefRequest(buffer_arg) {
175
+ return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByRefRequest.deserializeBinary(new Uint8Array(buffer_arg));
176
+ }
177
+
178
+ function serialize_GetPurchaseRequisitionTrxByRefResponse(arg) {
179
+ if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByRefResponse)) {
180
+ throw new Error('Expected argument of type GetPurchaseRequisitionTrxByRefResponse');
181
+ }
182
+ return Buffer.from(arg.serializeBinary());
183
+ }
184
+
185
+ function deserialize_GetPurchaseRequisitionTrxByRefResponse(buffer_arg) {
186
+ return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByRefResponse.deserializeBinary(new Uint8Array(buffer_arg));
187
+ }
188
+
166
189
  function serialize_GetPurchaseRequisitionTrxDetailByIdRequest(arg) {
167
190
  if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxDetailByIdRequest)) {
168
191
  throw new Error('Expected argument of type GetPurchaseRequisitionTrxDetailByIdRequest');
@@ -352,6 +375,17 @@ var PurchaseRequisitionTrxServiceService = exports.PurchaseRequisitionTrxService
352
375
  responseSerialize: serialize_GetPurchaseRequisitionTrxByIdResponse,
353
376
  responseDeserialize: deserialize_GetPurchaseRequisitionTrxByIdResponse,
354
377
  },
378
+ getPurchaseRequisitionTrxRefId: {
379
+ path: '/PurchaseRequisitionTrxService/GetPurchaseRequisitionTrxRefId',
380
+ requestStream: false,
381
+ responseStream: false,
382
+ requestType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByRefRequest,
383
+ responseType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByRefResponse,
384
+ requestSerialize: serialize_GetPurchaseRequisitionTrxByRefRequest,
385
+ requestDeserialize: deserialize_GetPurchaseRequisitionTrxByRefRequest,
386
+ responseSerialize: serialize_GetPurchaseRequisitionTrxByRefResponse,
387
+ responseDeserialize: deserialize_GetPurchaseRequisitionTrxByRefResponse,
388
+ },
355
389
  getPurchaseRequisitionTrxList: {
356
390
  path: '/PurchaseRequisitionTrxService/GetPurchaseRequisitionTrxList',
357
391
  requestStream: false,