@sniipwebmaster/payroll-service-client-grpcweb 26.7.1353 → 26.7.1365
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.
|
@@ -934,6 +934,67 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.getDisbursementDis
|
|
|
934
934
|
};
|
|
935
935
|
|
|
936
936
|
|
|
937
|
+
/**
|
|
938
|
+
* @const
|
|
939
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
940
|
+
* !proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest,
|
|
941
|
+
* !proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse>}
|
|
942
|
+
*/
|
|
943
|
+
const methodDescriptor_PayrollService_GetOutstandingDisbursementAmounts = new grpc.web.MethodDescriptor(
|
|
944
|
+
'/payrollserviceapi.PayrollService/GetOutstandingDisbursementAmounts',
|
|
945
|
+
grpc.web.MethodType.UNARY,
|
|
946
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest,
|
|
947
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse,
|
|
948
|
+
/**
|
|
949
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} request
|
|
950
|
+
* @return {!Uint8Array}
|
|
951
|
+
*/
|
|
952
|
+
function(request) {
|
|
953
|
+
return request.serializeBinary();
|
|
954
|
+
},
|
|
955
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.deserializeBinary
|
|
956
|
+
);
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} request The
|
|
961
|
+
* request proto
|
|
962
|
+
* @param {?Object<string, string>} metadata User defined
|
|
963
|
+
* call metadata
|
|
964
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse)}
|
|
965
|
+
* callback The callback function(error, response)
|
|
966
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse>|undefined}
|
|
967
|
+
* The XHR Node Readable Stream
|
|
968
|
+
*/
|
|
969
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.getOutstandingDisbursementAmounts =
|
|
970
|
+
function(request, metadata, callback) {
|
|
971
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
972
|
+
'/payrollserviceapi.PayrollService/GetOutstandingDisbursementAmounts',
|
|
973
|
+
request,
|
|
974
|
+
metadata || {},
|
|
975
|
+
methodDescriptor_PayrollService_GetOutstandingDisbursementAmounts,
|
|
976
|
+
callback);
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} request The
|
|
982
|
+
* request proto
|
|
983
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
984
|
+
* call metadata
|
|
985
|
+
* @return {!Promise<!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse>}
|
|
986
|
+
* Promise that resolves to the response
|
|
987
|
+
*/
|
|
988
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.getOutstandingDisbursementAmounts =
|
|
989
|
+
function(request, metadata) {
|
|
990
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
991
|
+
'/payrollserviceapi.PayrollService/GetOutstandingDisbursementAmounts',
|
|
992
|
+
request,
|
|
993
|
+
metadata || {},
|
|
994
|
+
methodDescriptor_PayrollService_GetOutstandingDisbursementAmounts);
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
|
|
937
998
|
/**
|
|
938
999
|
* @const
|
|
939
1000
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -107,6 +107,8 @@ goog.exportSymbol('proto.payrollserviceapi.GetEmployeeRequest', null, global);
|
|
|
107
107
|
goog.exportSymbol('proto.payrollserviceapi.GetEmployeeResponse', null, global);
|
|
108
108
|
goog.exportSymbol('proto.payrollserviceapi.GetEmployeesInfoRequest', null, global);
|
|
109
109
|
goog.exportSymbol('proto.payrollserviceapi.GetEmployeesInfoResponse', null, global);
|
|
110
|
+
goog.exportSymbol('proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest', null, global);
|
|
111
|
+
goog.exportSymbol('proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse', null, global);
|
|
110
112
|
goog.exportSymbol('proto.payrollserviceapi.GetPayrollInfoRequest', null, global);
|
|
111
113
|
goog.exportSymbol('proto.payrollserviceapi.GetPayrollInfoResponse', null, global);
|
|
112
114
|
goog.exportSymbol('proto.payrollserviceapi.GetPayrunForAdminRequest', null, global);
|
|
@@ -143,6 +145,7 @@ goog.exportSymbol('proto.payrollserviceapi.MatchEmployeesResponse', null, global
|
|
|
143
145
|
goog.exportSymbol('proto.payrollserviceapi.MensSalary', null, global);
|
|
144
146
|
goog.exportSymbol('proto.payrollserviceapi.MismatchRecordEmployeeDetailsRequest', null, global);
|
|
145
147
|
goog.exportSymbol('proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse', null, global);
|
|
148
|
+
goog.exportSymbol('proto.payrollserviceapi.OutstandingDisbursementAmount', null, global);
|
|
146
149
|
goog.exportSymbol('proto.payrollserviceapi.PayrollInfo', null, global);
|
|
147
150
|
goog.exportSymbol('proto.payrollserviceapi.PayrunDetail', null, global);
|
|
148
151
|
goog.exportSymbol('proto.payrollserviceapi.PayrunSummary', null, global);
|
|
@@ -2815,6 +2818,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2815
2818
|
*/
|
|
2816
2819
|
proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.displayName = 'proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse';
|
|
2817
2820
|
}
|
|
2821
|
+
/**
|
|
2822
|
+
* Generated by JsPbCodeGenerator.
|
|
2823
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2824
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2825
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2826
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2827
|
+
* valid.
|
|
2828
|
+
* @extends {jspb.Message}
|
|
2829
|
+
* @constructor
|
|
2830
|
+
*/
|
|
2831
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest = function(opt_data) {
|
|
2832
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.repeatedFields_, null);
|
|
2833
|
+
};
|
|
2834
|
+
goog.inherits(proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest, jspb.Message);
|
|
2835
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2836
|
+
/**
|
|
2837
|
+
* @public
|
|
2838
|
+
* @override
|
|
2839
|
+
*/
|
|
2840
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.displayName = 'proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest';
|
|
2841
|
+
}
|
|
2842
|
+
/**
|
|
2843
|
+
* Generated by JsPbCodeGenerator.
|
|
2844
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2845
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2846
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2847
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2848
|
+
* valid.
|
|
2849
|
+
* @extends {jspb.Message}
|
|
2850
|
+
* @constructor
|
|
2851
|
+
*/
|
|
2852
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount = function(opt_data) {
|
|
2853
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2854
|
+
};
|
|
2855
|
+
goog.inherits(proto.payrollserviceapi.OutstandingDisbursementAmount, jspb.Message);
|
|
2856
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2857
|
+
/**
|
|
2858
|
+
* @public
|
|
2859
|
+
* @override
|
|
2860
|
+
*/
|
|
2861
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.displayName = 'proto.payrollserviceapi.OutstandingDisbursementAmount';
|
|
2862
|
+
}
|
|
2863
|
+
/**
|
|
2864
|
+
* Generated by JsPbCodeGenerator.
|
|
2865
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2866
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2867
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2868
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2869
|
+
* valid.
|
|
2870
|
+
* @extends {jspb.Message}
|
|
2871
|
+
* @constructor
|
|
2872
|
+
*/
|
|
2873
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse = function(opt_data) {
|
|
2874
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.repeatedFields_, null);
|
|
2875
|
+
};
|
|
2876
|
+
goog.inherits(proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse, jspb.Message);
|
|
2877
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2878
|
+
/**
|
|
2879
|
+
* @public
|
|
2880
|
+
* @override
|
|
2881
|
+
*/
|
|
2882
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.displayName = 'proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse';
|
|
2883
|
+
}
|
|
2818
2884
|
/**
|
|
2819
2885
|
* Generated by JsPbCodeGenerator.
|
|
2820
2886
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -35569,6 +35635,565 @@ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.setTota
|
|
|
35569
35635
|
|
|
35570
35636
|
|
|
35571
35637
|
|
|
35638
|
+
/**
|
|
35639
|
+
* List of repeated fields within this message type.
|
|
35640
|
+
* @private {!Array<number>}
|
|
35641
|
+
* @const
|
|
35642
|
+
*/
|
|
35643
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.repeatedFields_ = [1];
|
|
35644
|
+
|
|
35645
|
+
|
|
35646
|
+
|
|
35647
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35648
|
+
/**
|
|
35649
|
+
* Creates an object representation of this proto.
|
|
35650
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
35651
|
+
* Optional fields that are not set will be set to undefined.
|
|
35652
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
35653
|
+
* For the list of reserved names please see:
|
|
35654
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
35655
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
35656
|
+
* JSPB instance for transitional soy proto support:
|
|
35657
|
+
* http://goto/soy-param-migration
|
|
35658
|
+
* @return {!Object}
|
|
35659
|
+
*/
|
|
35660
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
35661
|
+
return proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.toObject(opt_includeInstance, this);
|
|
35662
|
+
};
|
|
35663
|
+
|
|
35664
|
+
|
|
35665
|
+
/**
|
|
35666
|
+
* Static version of the {@see toObject} method.
|
|
35667
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
35668
|
+
* the JSPB instance for transitional soy proto support:
|
|
35669
|
+
* http://goto/soy-param-migration
|
|
35670
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} msg The msg instance to transform.
|
|
35671
|
+
* @return {!Object}
|
|
35672
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35673
|
+
*/
|
|
35674
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.toObject = function(includeInstance, msg) {
|
|
35675
|
+
var f, obj = {
|
|
35676
|
+
transactionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
35677
|
+
};
|
|
35678
|
+
|
|
35679
|
+
if (includeInstance) {
|
|
35680
|
+
obj.$jspbMessageInstance = msg;
|
|
35681
|
+
}
|
|
35682
|
+
return obj;
|
|
35683
|
+
};
|
|
35684
|
+
}
|
|
35685
|
+
|
|
35686
|
+
|
|
35687
|
+
/**
|
|
35688
|
+
* Deserializes binary data (in protobuf wire format).
|
|
35689
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
35690
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest}
|
|
35691
|
+
*/
|
|
35692
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.deserializeBinary = function(bytes) {
|
|
35693
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
35694
|
+
var msg = new proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest;
|
|
35695
|
+
return proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.deserializeBinaryFromReader(msg, reader);
|
|
35696
|
+
};
|
|
35697
|
+
|
|
35698
|
+
|
|
35699
|
+
/**
|
|
35700
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
35701
|
+
* given reader into the given message object.
|
|
35702
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} msg The message object to deserialize into.
|
|
35703
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
35704
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest}
|
|
35705
|
+
*/
|
|
35706
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
35707
|
+
while (reader.nextField()) {
|
|
35708
|
+
if (reader.isEndGroup()) {
|
|
35709
|
+
break;
|
|
35710
|
+
}
|
|
35711
|
+
var field = reader.getFieldNumber();
|
|
35712
|
+
switch (field) {
|
|
35713
|
+
case 1:
|
|
35714
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
35715
|
+
for (var i = 0; i < values.length; i++) {
|
|
35716
|
+
msg.addTransactionIds(values[i]);
|
|
35717
|
+
}
|
|
35718
|
+
break;
|
|
35719
|
+
default:
|
|
35720
|
+
reader.skipField();
|
|
35721
|
+
break;
|
|
35722
|
+
}
|
|
35723
|
+
}
|
|
35724
|
+
return msg;
|
|
35725
|
+
};
|
|
35726
|
+
|
|
35727
|
+
|
|
35728
|
+
/**
|
|
35729
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
35730
|
+
* @return {!Uint8Array}
|
|
35731
|
+
*/
|
|
35732
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.prototype.serializeBinary = function() {
|
|
35733
|
+
var writer = new jspb.BinaryWriter();
|
|
35734
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.serializeBinaryToWriter(this, writer);
|
|
35735
|
+
return writer.getResultBuffer();
|
|
35736
|
+
};
|
|
35737
|
+
|
|
35738
|
+
|
|
35739
|
+
/**
|
|
35740
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
35741
|
+
* format), writing to the given BinaryWriter.
|
|
35742
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} message
|
|
35743
|
+
* @param {!jspb.BinaryWriter} writer
|
|
35744
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35745
|
+
*/
|
|
35746
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
35747
|
+
var f = undefined;
|
|
35748
|
+
f = message.getTransactionIdsList();
|
|
35749
|
+
if (f.length > 0) {
|
|
35750
|
+
writer.writePackedInt64(
|
|
35751
|
+
1,
|
|
35752
|
+
f
|
|
35753
|
+
);
|
|
35754
|
+
}
|
|
35755
|
+
};
|
|
35756
|
+
|
|
35757
|
+
|
|
35758
|
+
/**
|
|
35759
|
+
* repeated int64 transaction_ids = 1;
|
|
35760
|
+
* @return {!Array<number>}
|
|
35761
|
+
*/
|
|
35762
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.prototype.getTransactionIdsList = function() {
|
|
35763
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
35764
|
+
};
|
|
35765
|
+
|
|
35766
|
+
|
|
35767
|
+
/**
|
|
35768
|
+
* @param {!Array<number>} value
|
|
35769
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} returns this
|
|
35770
|
+
*/
|
|
35771
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.prototype.setTransactionIdsList = function(value) {
|
|
35772
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
35773
|
+
};
|
|
35774
|
+
|
|
35775
|
+
|
|
35776
|
+
/**
|
|
35777
|
+
* @param {number} value
|
|
35778
|
+
* @param {number=} opt_index
|
|
35779
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} returns this
|
|
35780
|
+
*/
|
|
35781
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.prototype.addTransactionIds = function(value, opt_index) {
|
|
35782
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
35783
|
+
};
|
|
35784
|
+
|
|
35785
|
+
|
|
35786
|
+
/**
|
|
35787
|
+
* Clears the list making it empty but non-null.
|
|
35788
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest} returns this
|
|
35789
|
+
*/
|
|
35790
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsRequest.prototype.clearTransactionIdsList = function() {
|
|
35791
|
+
return this.setTransactionIdsList([]);
|
|
35792
|
+
};
|
|
35793
|
+
|
|
35794
|
+
|
|
35795
|
+
|
|
35796
|
+
|
|
35797
|
+
|
|
35798
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35799
|
+
/**
|
|
35800
|
+
* Creates an object representation of this proto.
|
|
35801
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
35802
|
+
* Optional fields that are not set will be set to undefined.
|
|
35803
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
35804
|
+
* For the list of reserved names please see:
|
|
35805
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
35806
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
35807
|
+
* JSPB instance for transitional soy proto support:
|
|
35808
|
+
* http://goto/soy-param-migration
|
|
35809
|
+
* @return {!Object}
|
|
35810
|
+
*/
|
|
35811
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.prototype.toObject = function(opt_includeInstance) {
|
|
35812
|
+
return proto.payrollserviceapi.OutstandingDisbursementAmount.toObject(opt_includeInstance, this);
|
|
35813
|
+
};
|
|
35814
|
+
|
|
35815
|
+
|
|
35816
|
+
/**
|
|
35817
|
+
* Static version of the {@see toObject} method.
|
|
35818
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
35819
|
+
* the JSPB instance for transitional soy proto support:
|
|
35820
|
+
* http://goto/soy-param-migration
|
|
35821
|
+
* @param {!proto.payrollserviceapi.OutstandingDisbursementAmount} msg The msg instance to transform.
|
|
35822
|
+
* @return {!Object}
|
|
35823
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35824
|
+
*/
|
|
35825
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.toObject = function(includeInstance, msg) {
|
|
35826
|
+
var f, obj = {
|
|
35827
|
+
transactionId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
35828
|
+
recordCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
35829
|
+
totalAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
|
|
35830
|
+
};
|
|
35831
|
+
|
|
35832
|
+
if (includeInstance) {
|
|
35833
|
+
obj.$jspbMessageInstance = msg;
|
|
35834
|
+
}
|
|
35835
|
+
return obj;
|
|
35836
|
+
};
|
|
35837
|
+
}
|
|
35838
|
+
|
|
35839
|
+
|
|
35840
|
+
/**
|
|
35841
|
+
* Deserializes binary data (in protobuf wire format).
|
|
35842
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
35843
|
+
* @return {!proto.payrollserviceapi.OutstandingDisbursementAmount}
|
|
35844
|
+
*/
|
|
35845
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.deserializeBinary = function(bytes) {
|
|
35846
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
35847
|
+
var msg = new proto.payrollserviceapi.OutstandingDisbursementAmount;
|
|
35848
|
+
return proto.payrollserviceapi.OutstandingDisbursementAmount.deserializeBinaryFromReader(msg, reader);
|
|
35849
|
+
};
|
|
35850
|
+
|
|
35851
|
+
|
|
35852
|
+
/**
|
|
35853
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
35854
|
+
* given reader into the given message object.
|
|
35855
|
+
* @param {!proto.payrollserviceapi.OutstandingDisbursementAmount} msg The message object to deserialize into.
|
|
35856
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
35857
|
+
* @return {!proto.payrollserviceapi.OutstandingDisbursementAmount}
|
|
35858
|
+
*/
|
|
35859
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.deserializeBinaryFromReader = function(msg, reader) {
|
|
35860
|
+
while (reader.nextField()) {
|
|
35861
|
+
if (reader.isEndGroup()) {
|
|
35862
|
+
break;
|
|
35863
|
+
}
|
|
35864
|
+
var field = reader.getFieldNumber();
|
|
35865
|
+
switch (field) {
|
|
35866
|
+
case 1:
|
|
35867
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
35868
|
+
msg.setTransactionId(value);
|
|
35869
|
+
break;
|
|
35870
|
+
case 2:
|
|
35871
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
35872
|
+
msg.setRecordCount(value);
|
|
35873
|
+
break;
|
|
35874
|
+
case 3:
|
|
35875
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
35876
|
+
msg.setTotalAmount(value);
|
|
35877
|
+
break;
|
|
35878
|
+
default:
|
|
35879
|
+
reader.skipField();
|
|
35880
|
+
break;
|
|
35881
|
+
}
|
|
35882
|
+
}
|
|
35883
|
+
return msg;
|
|
35884
|
+
};
|
|
35885
|
+
|
|
35886
|
+
|
|
35887
|
+
/**
|
|
35888
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
35889
|
+
* @return {!Uint8Array}
|
|
35890
|
+
*/
|
|
35891
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.prototype.serializeBinary = function() {
|
|
35892
|
+
var writer = new jspb.BinaryWriter();
|
|
35893
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.serializeBinaryToWriter(this, writer);
|
|
35894
|
+
return writer.getResultBuffer();
|
|
35895
|
+
};
|
|
35896
|
+
|
|
35897
|
+
|
|
35898
|
+
/**
|
|
35899
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
35900
|
+
* format), writing to the given BinaryWriter.
|
|
35901
|
+
* @param {!proto.payrollserviceapi.OutstandingDisbursementAmount} message
|
|
35902
|
+
* @param {!jspb.BinaryWriter} writer
|
|
35903
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35904
|
+
*/
|
|
35905
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.serializeBinaryToWriter = function(message, writer) {
|
|
35906
|
+
var f = undefined;
|
|
35907
|
+
f = message.getTransactionId();
|
|
35908
|
+
if (f !== 0) {
|
|
35909
|
+
writer.writeInt64(
|
|
35910
|
+
1,
|
|
35911
|
+
f
|
|
35912
|
+
);
|
|
35913
|
+
}
|
|
35914
|
+
f = message.getRecordCount();
|
|
35915
|
+
if (f !== 0) {
|
|
35916
|
+
writer.writeInt64(
|
|
35917
|
+
2,
|
|
35918
|
+
f
|
|
35919
|
+
);
|
|
35920
|
+
}
|
|
35921
|
+
f = message.getTotalAmount();
|
|
35922
|
+
if (f !== 0.0) {
|
|
35923
|
+
writer.writeDouble(
|
|
35924
|
+
3,
|
|
35925
|
+
f
|
|
35926
|
+
);
|
|
35927
|
+
}
|
|
35928
|
+
};
|
|
35929
|
+
|
|
35930
|
+
|
|
35931
|
+
/**
|
|
35932
|
+
* optional int64 transaction_id = 1;
|
|
35933
|
+
* @return {number}
|
|
35934
|
+
*/
|
|
35935
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.prototype.getTransactionId = function() {
|
|
35936
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
35937
|
+
};
|
|
35938
|
+
|
|
35939
|
+
|
|
35940
|
+
/**
|
|
35941
|
+
* @param {number} value
|
|
35942
|
+
* @return {!proto.payrollserviceapi.OutstandingDisbursementAmount} returns this
|
|
35943
|
+
*/
|
|
35944
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.prototype.setTransactionId = function(value) {
|
|
35945
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
35946
|
+
};
|
|
35947
|
+
|
|
35948
|
+
|
|
35949
|
+
/**
|
|
35950
|
+
* optional int64 record_count = 2;
|
|
35951
|
+
* @return {number}
|
|
35952
|
+
*/
|
|
35953
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.prototype.getRecordCount = function() {
|
|
35954
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
35955
|
+
};
|
|
35956
|
+
|
|
35957
|
+
|
|
35958
|
+
/**
|
|
35959
|
+
* @param {number} value
|
|
35960
|
+
* @return {!proto.payrollserviceapi.OutstandingDisbursementAmount} returns this
|
|
35961
|
+
*/
|
|
35962
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.prototype.setRecordCount = function(value) {
|
|
35963
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
35964
|
+
};
|
|
35965
|
+
|
|
35966
|
+
|
|
35967
|
+
/**
|
|
35968
|
+
* optional double total_amount = 3;
|
|
35969
|
+
* @return {number}
|
|
35970
|
+
*/
|
|
35971
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.prototype.getTotalAmount = function() {
|
|
35972
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
35973
|
+
};
|
|
35974
|
+
|
|
35975
|
+
|
|
35976
|
+
/**
|
|
35977
|
+
* @param {number} value
|
|
35978
|
+
* @return {!proto.payrollserviceapi.OutstandingDisbursementAmount} returns this
|
|
35979
|
+
*/
|
|
35980
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.prototype.setTotalAmount = function(value) {
|
|
35981
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
35982
|
+
};
|
|
35983
|
+
|
|
35984
|
+
|
|
35985
|
+
|
|
35986
|
+
/**
|
|
35987
|
+
* List of repeated fields within this message type.
|
|
35988
|
+
* @private {!Array<number>}
|
|
35989
|
+
* @const
|
|
35990
|
+
*/
|
|
35991
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.repeatedFields_ = [2];
|
|
35992
|
+
|
|
35993
|
+
|
|
35994
|
+
|
|
35995
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35996
|
+
/**
|
|
35997
|
+
* Creates an object representation of this proto.
|
|
35998
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
35999
|
+
* Optional fields that are not set will be set to undefined.
|
|
36000
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
36001
|
+
* For the list of reserved names please see:
|
|
36002
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
36003
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
36004
|
+
* JSPB instance for transitional soy proto support:
|
|
36005
|
+
* http://goto/soy-param-migration
|
|
36006
|
+
* @return {!Object}
|
|
36007
|
+
*/
|
|
36008
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
36009
|
+
return proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.toObject(opt_includeInstance, this);
|
|
36010
|
+
};
|
|
36011
|
+
|
|
36012
|
+
|
|
36013
|
+
/**
|
|
36014
|
+
* Static version of the {@see toObject} method.
|
|
36015
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
36016
|
+
* the JSPB instance for transitional soy proto support:
|
|
36017
|
+
* http://goto/soy-param-migration
|
|
36018
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse} msg The msg instance to transform.
|
|
36019
|
+
* @return {!Object}
|
|
36020
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
36021
|
+
*/
|
|
36022
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.toObject = function(includeInstance, msg) {
|
|
36023
|
+
var f, obj = {
|
|
36024
|
+
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
36025
|
+
outstandingList: jspb.Message.toObjectList(msg.getOutstandingList(),
|
|
36026
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.toObject, includeInstance)
|
|
36027
|
+
};
|
|
36028
|
+
|
|
36029
|
+
if (includeInstance) {
|
|
36030
|
+
obj.$jspbMessageInstance = msg;
|
|
36031
|
+
}
|
|
36032
|
+
return obj;
|
|
36033
|
+
};
|
|
36034
|
+
}
|
|
36035
|
+
|
|
36036
|
+
|
|
36037
|
+
/**
|
|
36038
|
+
* Deserializes binary data (in protobuf wire format).
|
|
36039
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
36040
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse}
|
|
36041
|
+
*/
|
|
36042
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.deserializeBinary = function(bytes) {
|
|
36043
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
36044
|
+
var msg = new proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse;
|
|
36045
|
+
return proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.deserializeBinaryFromReader(msg, reader);
|
|
36046
|
+
};
|
|
36047
|
+
|
|
36048
|
+
|
|
36049
|
+
/**
|
|
36050
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
36051
|
+
* given reader into the given message object.
|
|
36052
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse} msg The message object to deserialize into.
|
|
36053
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
36054
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse}
|
|
36055
|
+
*/
|
|
36056
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
36057
|
+
while (reader.nextField()) {
|
|
36058
|
+
if (reader.isEndGroup()) {
|
|
36059
|
+
break;
|
|
36060
|
+
}
|
|
36061
|
+
var field = reader.getFieldNumber();
|
|
36062
|
+
switch (field) {
|
|
36063
|
+
case 1:
|
|
36064
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
36065
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
36066
|
+
msg.setResponsecode(value);
|
|
36067
|
+
break;
|
|
36068
|
+
case 2:
|
|
36069
|
+
var value = new proto.payrollserviceapi.OutstandingDisbursementAmount;
|
|
36070
|
+
reader.readMessage(value,proto.payrollserviceapi.OutstandingDisbursementAmount.deserializeBinaryFromReader);
|
|
36071
|
+
msg.addOutstanding(value);
|
|
36072
|
+
break;
|
|
36073
|
+
default:
|
|
36074
|
+
reader.skipField();
|
|
36075
|
+
break;
|
|
36076
|
+
}
|
|
36077
|
+
}
|
|
36078
|
+
return msg;
|
|
36079
|
+
};
|
|
36080
|
+
|
|
36081
|
+
|
|
36082
|
+
/**
|
|
36083
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
36084
|
+
* @return {!Uint8Array}
|
|
36085
|
+
*/
|
|
36086
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.serializeBinary = function() {
|
|
36087
|
+
var writer = new jspb.BinaryWriter();
|
|
36088
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.serializeBinaryToWriter(this, writer);
|
|
36089
|
+
return writer.getResultBuffer();
|
|
36090
|
+
};
|
|
36091
|
+
|
|
36092
|
+
|
|
36093
|
+
/**
|
|
36094
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
36095
|
+
* format), writing to the given BinaryWriter.
|
|
36096
|
+
* @param {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse} message
|
|
36097
|
+
* @param {!jspb.BinaryWriter} writer
|
|
36098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
36099
|
+
*/
|
|
36100
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
36101
|
+
var f = undefined;
|
|
36102
|
+
f = message.getResponsecode();
|
|
36103
|
+
if (f != null) {
|
|
36104
|
+
writer.writeMessage(
|
|
36105
|
+
1,
|
|
36106
|
+
f,
|
|
36107
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
36108
|
+
);
|
|
36109
|
+
}
|
|
36110
|
+
f = message.getOutstandingList();
|
|
36111
|
+
if (f.length > 0) {
|
|
36112
|
+
writer.writeRepeatedMessage(
|
|
36113
|
+
2,
|
|
36114
|
+
f,
|
|
36115
|
+
proto.payrollserviceapi.OutstandingDisbursementAmount.serializeBinaryToWriter
|
|
36116
|
+
);
|
|
36117
|
+
}
|
|
36118
|
+
};
|
|
36119
|
+
|
|
36120
|
+
|
|
36121
|
+
/**
|
|
36122
|
+
* optional ResponseCode responseCode = 1;
|
|
36123
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
36124
|
+
*/
|
|
36125
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.getResponsecode = function() {
|
|
36126
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
36127
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
36128
|
+
};
|
|
36129
|
+
|
|
36130
|
+
|
|
36131
|
+
/**
|
|
36132
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
36133
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse} returns this
|
|
36134
|
+
*/
|
|
36135
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.setResponsecode = function(value) {
|
|
36136
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
36137
|
+
};
|
|
36138
|
+
|
|
36139
|
+
|
|
36140
|
+
/**
|
|
36141
|
+
* Clears the message field making it undefined.
|
|
36142
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse} returns this
|
|
36143
|
+
*/
|
|
36144
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.clearResponsecode = function() {
|
|
36145
|
+
return this.setResponsecode(undefined);
|
|
36146
|
+
};
|
|
36147
|
+
|
|
36148
|
+
|
|
36149
|
+
/**
|
|
36150
|
+
* Returns whether this field is set.
|
|
36151
|
+
* @return {boolean}
|
|
36152
|
+
*/
|
|
36153
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.hasResponsecode = function() {
|
|
36154
|
+
return jspb.Message.getField(this, 1) != null;
|
|
36155
|
+
};
|
|
36156
|
+
|
|
36157
|
+
|
|
36158
|
+
/**
|
|
36159
|
+
* repeated OutstandingDisbursementAmount outstanding = 2;
|
|
36160
|
+
* @return {!Array<!proto.payrollserviceapi.OutstandingDisbursementAmount>}
|
|
36161
|
+
*/
|
|
36162
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.getOutstandingList = function() {
|
|
36163
|
+
return /** @type{!Array<!proto.payrollserviceapi.OutstandingDisbursementAmount>} */ (
|
|
36164
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.OutstandingDisbursementAmount, 2));
|
|
36165
|
+
};
|
|
36166
|
+
|
|
36167
|
+
|
|
36168
|
+
/**
|
|
36169
|
+
* @param {!Array<!proto.payrollserviceapi.OutstandingDisbursementAmount>} value
|
|
36170
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse} returns this
|
|
36171
|
+
*/
|
|
36172
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.setOutstandingList = function(value) {
|
|
36173
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
36174
|
+
};
|
|
36175
|
+
|
|
36176
|
+
|
|
36177
|
+
/**
|
|
36178
|
+
* @param {!proto.payrollserviceapi.OutstandingDisbursementAmount=} opt_value
|
|
36179
|
+
* @param {number=} opt_index
|
|
36180
|
+
* @return {!proto.payrollserviceapi.OutstandingDisbursementAmount}
|
|
36181
|
+
*/
|
|
36182
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.addOutstanding = function(opt_value, opt_index) {
|
|
36183
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.OutstandingDisbursementAmount, opt_index);
|
|
36184
|
+
};
|
|
36185
|
+
|
|
36186
|
+
|
|
36187
|
+
/**
|
|
36188
|
+
* Clears the list making it empty but non-null.
|
|
36189
|
+
* @return {!proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse} returns this
|
|
36190
|
+
*/
|
|
36191
|
+
proto.payrollserviceapi.GetOutstandingDisbursementAmountsResponse.prototype.clearOutstandingList = function() {
|
|
36192
|
+
return this.setOutstandingList([]);
|
|
36193
|
+
};
|
|
36194
|
+
|
|
36195
|
+
|
|
36196
|
+
|
|
35572
36197
|
|
|
35573
36198
|
|
|
35574
36199
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|