@sniipwebmaster/payroll-service-client-grpcweb 26.5.1185 → 26.6.1206

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.
@@ -629,6 +629,67 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.executePayrollInte
629
629
  };
630
630
 
631
631
 
632
+ /**
633
+ * @const
634
+ * @type {!grpc.web.MethodDescriptor<
635
+ * !proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest,
636
+ * !proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse>}
637
+ */
638
+ const methodDescriptor_PayrollService_GetEmployeeDetailsByBillerConfigIds = new grpc.web.MethodDescriptor(
639
+ '/payrollserviceapi.PayrollService/GetEmployeeDetailsByBillerConfigIds',
640
+ grpc.web.MethodType.UNARY,
641
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest,
642
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse,
643
+ /**
644
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} request
645
+ * @return {!Uint8Array}
646
+ */
647
+ function(request) {
648
+ return request.serializeBinary();
649
+ },
650
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.deserializeBinary
651
+ );
652
+
653
+
654
+ /**
655
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} request The
656
+ * request proto
657
+ * @param {?Object<string, string>} metadata User defined
658
+ * call metadata
659
+ * @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse)}
660
+ * callback The callback function(error, response)
661
+ * @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse>|undefined}
662
+ * The XHR Node Readable Stream
663
+ */
664
+ proto.payrollserviceapi.PayrollServiceClient.prototype.getEmployeeDetailsByBillerConfigIds =
665
+ function(request, metadata, callback) {
666
+ return this.client_.rpcCall(this.hostname_ +
667
+ '/payrollserviceapi.PayrollService/GetEmployeeDetailsByBillerConfigIds',
668
+ request,
669
+ metadata || {},
670
+ methodDescriptor_PayrollService_GetEmployeeDetailsByBillerConfigIds,
671
+ callback);
672
+ };
673
+
674
+
675
+ /**
676
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} request The
677
+ * request proto
678
+ * @param {?Object<string, string>=} metadata User defined
679
+ * call metadata
680
+ * @return {!Promise<!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse>}
681
+ * Promise that resolves to the response
682
+ */
683
+ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.getEmployeeDetailsByBillerConfigIds =
684
+ function(request, metadata) {
685
+ return this.client_.unaryCall(this.hostname_ +
686
+ '/payrollserviceapi.PayrollService/GetEmployeeDetailsByBillerConfigIds',
687
+ request,
688
+ metadata || {},
689
+ methodDescriptor_PayrollService_GetEmployeeDetailsByBillerConfigIds);
690
+ };
691
+
692
+
632
693
  /**
633
694
  * @const
634
695
  * @type {!grpc.web.MethodDescriptor<
@@ -69,6 +69,7 @@ goog.exportSymbol('proto.payrollserviceapi.EmployeeBankAccountInfoRequest', null
69
69
  goog.exportSymbol('proto.payrollserviceapi.EmployeeCsvFileStatus', null, global);
70
70
  goog.exportSymbol('proto.payrollserviceapi.EmployeeCsvSummary', null, global);
71
71
  goog.exportSymbol('proto.payrollserviceapi.EmployeeDetails', null, global);
72
+ goog.exportSymbol('proto.payrollserviceapi.EmployeeDetailsForBillerConfig', null, global);
72
73
  goog.exportSymbol('proto.payrollserviceapi.EmployeeInfo', null, global);
73
74
  goog.exportSymbol('proto.payrollserviceapi.EmployeeSummary', null, global);
74
75
  goog.exportSymbol('proto.payrollserviceapi.ExecutePayrollInternalRequest', null, global);
@@ -88,6 +89,8 @@ goog.exportSymbol('proto.payrollserviceapi.GetBusinessForReviewRequest', null, g
88
89
  goog.exportSymbol('proto.payrollserviceapi.GetBusinessForReviewResponse', null, global);
89
90
  goog.exportSymbol('proto.payrollserviceapi.GetBusinessRequest', null, global);
90
91
  goog.exportSymbol('proto.payrollserviceapi.GetBusinessResponse', null, global);
92
+ goog.exportSymbol('proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest', null, global);
93
+ goog.exportSymbol('proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse', null, global);
91
94
  goog.exportSymbol('proto.payrollserviceapi.GetEmployeeRequest', null, global);
92
95
  goog.exportSymbol('proto.payrollserviceapi.GetEmployeeResponse', null, global);
93
96
  goog.exportSymbol('proto.payrollserviceapi.GetEmployeesInfoRequest', null, global);
@@ -2580,6 +2583,69 @@ if (goog.DEBUG && !COMPILED) {
2580
2583
  */
2581
2584
  proto.payrollserviceapi.CreateBusinessActivityCommentRequest.displayName = 'proto.payrollserviceapi.CreateBusinessActivityCommentRequest';
2582
2585
  }
2586
+ /**
2587
+ * Generated by JsPbCodeGenerator.
2588
+ * @param {Array=} opt_data Optional initial data array, typically from a
2589
+ * server response, or constructed directly in Javascript. The array is used
2590
+ * in place and becomes part of the constructed object. It is not cloned.
2591
+ * If no data is provided, the constructed object will be empty, but still
2592
+ * valid.
2593
+ * @extends {jspb.Message}
2594
+ * @constructor
2595
+ */
2596
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest = function(opt_data) {
2597
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.repeatedFields_, null);
2598
+ };
2599
+ goog.inherits(proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest, jspb.Message);
2600
+ if (goog.DEBUG && !COMPILED) {
2601
+ /**
2602
+ * @public
2603
+ * @override
2604
+ */
2605
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.displayName = 'proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest';
2606
+ }
2607
+ /**
2608
+ * Generated by JsPbCodeGenerator.
2609
+ * @param {Array=} opt_data Optional initial data array, typically from a
2610
+ * server response, or constructed directly in Javascript. The array is used
2611
+ * in place and becomes part of the constructed object. It is not cloned.
2612
+ * If no data is provided, the constructed object will be empty, but still
2613
+ * valid.
2614
+ * @extends {jspb.Message}
2615
+ * @constructor
2616
+ */
2617
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig = function(opt_data) {
2618
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2619
+ };
2620
+ goog.inherits(proto.payrollserviceapi.EmployeeDetailsForBillerConfig, jspb.Message);
2621
+ if (goog.DEBUG && !COMPILED) {
2622
+ /**
2623
+ * @public
2624
+ * @override
2625
+ */
2626
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.displayName = 'proto.payrollserviceapi.EmployeeDetailsForBillerConfig';
2627
+ }
2628
+ /**
2629
+ * Generated by JsPbCodeGenerator.
2630
+ * @param {Array=} opt_data Optional initial data array, typically from a
2631
+ * server response, or constructed directly in Javascript. The array is used
2632
+ * in place and becomes part of the constructed object. It is not cloned.
2633
+ * If no data is provided, the constructed object will be empty, but still
2634
+ * valid.
2635
+ * @extends {jspb.Message}
2636
+ * @constructor
2637
+ */
2638
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse = function(opt_data) {
2639
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.repeatedFields_, null);
2640
+ };
2641
+ goog.inherits(proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse, jspb.Message);
2642
+ if (goog.DEBUG && !COMPILED) {
2643
+ /**
2644
+ * @public
2645
+ * @override
2646
+ */
2647
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.displayName = 'proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse';
2648
+ }
2583
2649
  /**
2584
2650
  * Generated by JsPbCodeGenerator.
2585
2651
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -32757,6 +32823,835 @@ proto.payrollserviceapi.CreateBusinessActivityCommentRequest.prototype.hasAttach
32757
32823
 
32758
32824
 
32759
32825
 
32826
+ /**
32827
+ * List of repeated fields within this message type.
32828
+ * @private {!Array<number>}
32829
+ * @const
32830
+ */
32831
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.repeatedFields_ = [1];
32832
+
32833
+
32834
+
32835
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32836
+ /**
32837
+ * Creates an object representation of this proto.
32838
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32839
+ * Optional fields that are not set will be set to undefined.
32840
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32841
+ * For the list of reserved names please see:
32842
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32843
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32844
+ * JSPB instance for transitional soy proto support:
32845
+ * http://goto/soy-param-migration
32846
+ * @return {!Object}
32847
+ */
32848
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.prototype.toObject = function(opt_includeInstance) {
32849
+ return proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.toObject(opt_includeInstance, this);
32850
+ };
32851
+
32852
+
32853
+ /**
32854
+ * Static version of the {@see toObject} method.
32855
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32856
+ * the JSPB instance for transitional soy proto support:
32857
+ * http://goto/soy-param-migration
32858
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} msg The msg instance to transform.
32859
+ * @return {!Object}
32860
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32861
+ */
32862
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.toObject = function(includeInstance, msg) {
32863
+ var f, obj = {
32864
+ billerConfigIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
32865
+ };
32866
+
32867
+ if (includeInstance) {
32868
+ obj.$jspbMessageInstance = msg;
32869
+ }
32870
+ return obj;
32871
+ };
32872
+ }
32873
+
32874
+
32875
+ /**
32876
+ * Deserializes binary data (in protobuf wire format).
32877
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32878
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest}
32879
+ */
32880
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.deserializeBinary = function(bytes) {
32881
+ var reader = new jspb.BinaryReader(bytes);
32882
+ var msg = new proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest;
32883
+ return proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.deserializeBinaryFromReader(msg, reader);
32884
+ };
32885
+
32886
+
32887
+ /**
32888
+ * Deserializes binary data (in protobuf wire format) from the
32889
+ * given reader into the given message object.
32890
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} msg The message object to deserialize into.
32891
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32892
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest}
32893
+ */
32894
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
32895
+ while (reader.nextField()) {
32896
+ if (reader.isEndGroup()) {
32897
+ break;
32898
+ }
32899
+ var field = reader.getFieldNumber();
32900
+ switch (field) {
32901
+ case 1:
32902
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
32903
+ for (var i = 0; i < values.length; i++) {
32904
+ msg.addBillerConfigIds(values[i]);
32905
+ }
32906
+ break;
32907
+ default:
32908
+ reader.skipField();
32909
+ break;
32910
+ }
32911
+ }
32912
+ return msg;
32913
+ };
32914
+
32915
+
32916
+ /**
32917
+ * Serializes the message to binary data (in protobuf wire format).
32918
+ * @return {!Uint8Array}
32919
+ */
32920
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.prototype.serializeBinary = function() {
32921
+ var writer = new jspb.BinaryWriter();
32922
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.serializeBinaryToWriter(this, writer);
32923
+ return writer.getResultBuffer();
32924
+ };
32925
+
32926
+
32927
+ /**
32928
+ * Serializes the given message to binary data (in protobuf wire
32929
+ * format), writing to the given BinaryWriter.
32930
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} message
32931
+ * @param {!jspb.BinaryWriter} writer
32932
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32933
+ */
32934
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.serializeBinaryToWriter = function(message, writer) {
32935
+ var f = undefined;
32936
+ f = message.getBillerConfigIdsList();
32937
+ if (f.length > 0) {
32938
+ writer.writePackedInt64(
32939
+ 1,
32940
+ f
32941
+ );
32942
+ }
32943
+ };
32944
+
32945
+
32946
+ /**
32947
+ * repeated int64 biller_config_ids = 1;
32948
+ * @return {!Array<number>}
32949
+ */
32950
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.prototype.getBillerConfigIdsList = function() {
32951
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
32952
+ };
32953
+
32954
+
32955
+ /**
32956
+ * @param {!Array<number>} value
32957
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} returns this
32958
+ */
32959
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.prototype.setBillerConfigIdsList = function(value) {
32960
+ return jspb.Message.setField(this, 1, value || []);
32961
+ };
32962
+
32963
+
32964
+ /**
32965
+ * @param {number} value
32966
+ * @param {number=} opt_index
32967
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} returns this
32968
+ */
32969
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.prototype.addBillerConfigIds = function(value, opt_index) {
32970
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
32971
+ };
32972
+
32973
+
32974
+ /**
32975
+ * Clears the list making it empty but non-null.
32976
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest} returns this
32977
+ */
32978
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest.prototype.clearBillerConfigIdsList = function() {
32979
+ return this.setBillerConfigIdsList([]);
32980
+ };
32981
+
32982
+
32983
+
32984
+
32985
+
32986
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32987
+ /**
32988
+ * Creates an object representation of this proto.
32989
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32990
+ * Optional fields that are not set will be set to undefined.
32991
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32992
+ * For the list of reserved names please see:
32993
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32994
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32995
+ * JSPB instance for transitional soy proto support:
32996
+ * http://goto/soy-param-migration
32997
+ * @return {!Object}
32998
+ */
32999
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.toObject = function(opt_includeInstance) {
33000
+ return proto.payrollserviceapi.EmployeeDetailsForBillerConfig.toObject(opt_includeInstance, this);
33001
+ };
33002
+
33003
+
33004
+ /**
33005
+ * Static version of the {@see toObject} method.
33006
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33007
+ * the JSPB instance for transitional soy proto support:
33008
+ * http://goto/soy-param-migration
33009
+ * @param {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} msg The msg instance to transform.
33010
+ * @return {!Object}
33011
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33012
+ */
33013
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.toObject = function(includeInstance, msg) {
33014
+ var f, obj = {
33015
+ billerConfigId: jspb.Message.getFieldWithDefault(msg, 1, 0),
33016
+ employeeId: jspb.Message.getFieldWithDefault(msg, 2, 0),
33017
+ employeeNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
33018
+ businessId: jspb.Message.getFieldWithDefault(msg, 4, 0),
33019
+ firstName: jspb.Message.getFieldWithDefault(msg, 5, ""),
33020
+ lastName: jspb.Message.getFieldWithDefault(msg, 6, ""),
33021
+ taxFileNumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
33022
+ bsb: jspb.Message.getFieldWithDefault(msg, 8, ""),
33023
+ accountNumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
33024
+ accountName: jspb.Message.getFieldWithDefault(msg, 10, ""),
33025
+ bankAccountVerificationStatus: jspb.Message.getFieldWithDefault(msg, 11, ""),
33026
+ businessName: jspb.Message.getFieldWithDefault(msg, 12, "")
33027
+ };
33028
+
33029
+ if (includeInstance) {
33030
+ obj.$jspbMessageInstance = msg;
33031
+ }
33032
+ return obj;
33033
+ };
33034
+ }
33035
+
33036
+
33037
+ /**
33038
+ * Deserializes binary data (in protobuf wire format).
33039
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33040
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig}
33041
+ */
33042
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.deserializeBinary = function(bytes) {
33043
+ var reader = new jspb.BinaryReader(bytes);
33044
+ var msg = new proto.payrollserviceapi.EmployeeDetailsForBillerConfig;
33045
+ return proto.payrollserviceapi.EmployeeDetailsForBillerConfig.deserializeBinaryFromReader(msg, reader);
33046
+ };
33047
+
33048
+
33049
+ /**
33050
+ * Deserializes binary data (in protobuf wire format) from the
33051
+ * given reader into the given message object.
33052
+ * @param {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} msg The message object to deserialize into.
33053
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33054
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig}
33055
+ */
33056
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.deserializeBinaryFromReader = function(msg, reader) {
33057
+ while (reader.nextField()) {
33058
+ if (reader.isEndGroup()) {
33059
+ break;
33060
+ }
33061
+ var field = reader.getFieldNumber();
33062
+ switch (field) {
33063
+ case 1:
33064
+ var value = /** @type {number} */ (reader.readInt64());
33065
+ msg.setBillerConfigId(value);
33066
+ break;
33067
+ case 2:
33068
+ var value = /** @type {number} */ (reader.readInt64());
33069
+ msg.setEmployeeId(value);
33070
+ break;
33071
+ case 3:
33072
+ var value = /** @type {string} */ (reader.readString());
33073
+ msg.setEmployeeNumber(value);
33074
+ break;
33075
+ case 4:
33076
+ var value = /** @type {number} */ (reader.readInt64());
33077
+ msg.setBusinessId(value);
33078
+ break;
33079
+ case 5:
33080
+ var value = /** @type {string} */ (reader.readString());
33081
+ msg.setFirstName(value);
33082
+ break;
33083
+ case 6:
33084
+ var value = /** @type {string} */ (reader.readString());
33085
+ msg.setLastName(value);
33086
+ break;
33087
+ case 7:
33088
+ var value = /** @type {string} */ (reader.readString());
33089
+ msg.setTaxFileNumber(value);
33090
+ break;
33091
+ case 8:
33092
+ var value = /** @type {string} */ (reader.readString());
33093
+ msg.setBsb(value);
33094
+ break;
33095
+ case 9:
33096
+ var value = /** @type {string} */ (reader.readString());
33097
+ msg.setAccountNumber(value);
33098
+ break;
33099
+ case 10:
33100
+ var value = /** @type {string} */ (reader.readString());
33101
+ msg.setAccountName(value);
33102
+ break;
33103
+ case 11:
33104
+ var value = /** @type {string} */ (reader.readString());
33105
+ msg.setBankAccountVerificationStatus(value);
33106
+ break;
33107
+ case 12:
33108
+ var value = /** @type {string} */ (reader.readString());
33109
+ msg.setBusinessName(value);
33110
+ break;
33111
+ default:
33112
+ reader.skipField();
33113
+ break;
33114
+ }
33115
+ }
33116
+ return msg;
33117
+ };
33118
+
33119
+
33120
+ /**
33121
+ * Serializes the message to binary data (in protobuf wire format).
33122
+ * @return {!Uint8Array}
33123
+ */
33124
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.serializeBinary = function() {
33125
+ var writer = new jspb.BinaryWriter();
33126
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.serializeBinaryToWriter(this, writer);
33127
+ return writer.getResultBuffer();
33128
+ };
33129
+
33130
+
33131
+ /**
33132
+ * Serializes the given message to binary data (in protobuf wire
33133
+ * format), writing to the given BinaryWriter.
33134
+ * @param {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} message
33135
+ * @param {!jspb.BinaryWriter} writer
33136
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33137
+ */
33138
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.serializeBinaryToWriter = function(message, writer) {
33139
+ var f = undefined;
33140
+ f = message.getBillerConfigId();
33141
+ if (f !== 0) {
33142
+ writer.writeInt64(
33143
+ 1,
33144
+ f
33145
+ );
33146
+ }
33147
+ f = message.getEmployeeId();
33148
+ if (f !== 0) {
33149
+ writer.writeInt64(
33150
+ 2,
33151
+ f
33152
+ );
33153
+ }
33154
+ f = message.getEmployeeNumber();
33155
+ if (f.length > 0) {
33156
+ writer.writeString(
33157
+ 3,
33158
+ f
33159
+ );
33160
+ }
33161
+ f = message.getBusinessId();
33162
+ if (f !== 0) {
33163
+ writer.writeInt64(
33164
+ 4,
33165
+ f
33166
+ );
33167
+ }
33168
+ f = message.getFirstName();
33169
+ if (f.length > 0) {
33170
+ writer.writeString(
33171
+ 5,
33172
+ f
33173
+ );
33174
+ }
33175
+ f = message.getLastName();
33176
+ if (f.length > 0) {
33177
+ writer.writeString(
33178
+ 6,
33179
+ f
33180
+ );
33181
+ }
33182
+ f = message.getTaxFileNumber();
33183
+ if (f.length > 0) {
33184
+ writer.writeString(
33185
+ 7,
33186
+ f
33187
+ );
33188
+ }
33189
+ f = message.getBsb();
33190
+ if (f.length > 0) {
33191
+ writer.writeString(
33192
+ 8,
33193
+ f
33194
+ );
33195
+ }
33196
+ f = message.getAccountNumber();
33197
+ if (f.length > 0) {
33198
+ writer.writeString(
33199
+ 9,
33200
+ f
33201
+ );
33202
+ }
33203
+ f = message.getAccountName();
33204
+ if (f.length > 0) {
33205
+ writer.writeString(
33206
+ 10,
33207
+ f
33208
+ );
33209
+ }
33210
+ f = message.getBankAccountVerificationStatus();
33211
+ if (f.length > 0) {
33212
+ writer.writeString(
33213
+ 11,
33214
+ f
33215
+ );
33216
+ }
33217
+ f = message.getBusinessName();
33218
+ if (f.length > 0) {
33219
+ writer.writeString(
33220
+ 12,
33221
+ f
33222
+ );
33223
+ }
33224
+ };
33225
+
33226
+
33227
+ /**
33228
+ * optional int64 biller_config_id = 1;
33229
+ * @return {number}
33230
+ */
33231
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getBillerConfigId = function() {
33232
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
33233
+ };
33234
+
33235
+
33236
+ /**
33237
+ * @param {number} value
33238
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33239
+ */
33240
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setBillerConfigId = function(value) {
33241
+ return jspb.Message.setProto3IntField(this, 1, value);
33242
+ };
33243
+
33244
+
33245
+ /**
33246
+ * optional int64 employee_id = 2;
33247
+ * @return {number}
33248
+ */
33249
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getEmployeeId = function() {
33250
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
33251
+ };
33252
+
33253
+
33254
+ /**
33255
+ * @param {number} value
33256
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33257
+ */
33258
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setEmployeeId = function(value) {
33259
+ return jspb.Message.setProto3IntField(this, 2, value);
33260
+ };
33261
+
33262
+
33263
+ /**
33264
+ * optional string employee_number = 3;
33265
+ * @return {string}
33266
+ */
33267
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getEmployeeNumber = function() {
33268
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
33269
+ };
33270
+
33271
+
33272
+ /**
33273
+ * @param {string} value
33274
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33275
+ */
33276
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setEmployeeNumber = function(value) {
33277
+ return jspb.Message.setProto3StringField(this, 3, value);
33278
+ };
33279
+
33280
+
33281
+ /**
33282
+ * optional int64 business_id = 4;
33283
+ * @return {number}
33284
+ */
33285
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getBusinessId = function() {
33286
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
33287
+ };
33288
+
33289
+
33290
+ /**
33291
+ * @param {number} value
33292
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33293
+ */
33294
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setBusinessId = function(value) {
33295
+ return jspb.Message.setProto3IntField(this, 4, value);
33296
+ };
33297
+
33298
+
33299
+ /**
33300
+ * optional string first_name = 5;
33301
+ * @return {string}
33302
+ */
33303
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getFirstName = function() {
33304
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
33305
+ };
33306
+
33307
+
33308
+ /**
33309
+ * @param {string} value
33310
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33311
+ */
33312
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setFirstName = function(value) {
33313
+ return jspb.Message.setProto3StringField(this, 5, value);
33314
+ };
33315
+
33316
+
33317
+ /**
33318
+ * optional string last_name = 6;
33319
+ * @return {string}
33320
+ */
33321
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getLastName = function() {
33322
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
33323
+ };
33324
+
33325
+
33326
+ /**
33327
+ * @param {string} value
33328
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33329
+ */
33330
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setLastName = function(value) {
33331
+ return jspb.Message.setProto3StringField(this, 6, value);
33332
+ };
33333
+
33334
+
33335
+ /**
33336
+ * optional string tax_file_number = 7;
33337
+ * @return {string}
33338
+ */
33339
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getTaxFileNumber = function() {
33340
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
33341
+ };
33342
+
33343
+
33344
+ /**
33345
+ * @param {string} value
33346
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33347
+ */
33348
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setTaxFileNumber = function(value) {
33349
+ return jspb.Message.setProto3StringField(this, 7, value);
33350
+ };
33351
+
33352
+
33353
+ /**
33354
+ * optional string bsb = 8;
33355
+ * @return {string}
33356
+ */
33357
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getBsb = function() {
33358
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
33359
+ };
33360
+
33361
+
33362
+ /**
33363
+ * @param {string} value
33364
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33365
+ */
33366
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setBsb = function(value) {
33367
+ return jspb.Message.setProto3StringField(this, 8, value);
33368
+ };
33369
+
33370
+
33371
+ /**
33372
+ * optional string account_number = 9;
33373
+ * @return {string}
33374
+ */
33375
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getAccountNumber = function() {
33376
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
33377
+ };
33378
+
33379
+
33380
+ /**
33381
+ * @param {string} value
33382
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33383
+ */
33384
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setAccountNumber = function(value) {
33385
+ return jspb.Message.setProto3StringField(this, 9, value);
33386
+ };
33387
+
33388
+
33389
+ /**
33390
+ * optional string account_name = 10;
33391
+ * @return {string}
33392
+ */
33393
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getAccountName = function() {
33394
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
33395
+ };
33396
+
33397
+
33398
+ /**
33399
+ * @param {string} value
33400
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33401
+ */
33402
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setAccountName = function(value) {
33403
+ return jspb.Message.setProto3StringField(this, 10, value);
33404
+ };
33405
+
33406
+
33407
+ /**
33408
+ * optional string bank_account_verification_status = 11;
33409
+ * @return {string}
33410
+ */
33411
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getBankAccountVerificationStatus = function() {
33412
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
33413
+ };
33414
+
33415
+
33416
+ /**
33417
+ * @param {string} value
33418
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33419
+ */
33420
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setBankAccountVerificationStatus = function(value) {
33421
+ return jspb.Message.setProto3StringField(this, 11, value);
33422
+ };
33423
+
33424
+
33425
+ /**
33426
+ * optional string business_name = 12;
33427
+ * @return {string}
33428
+ */
33429
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.getBusinessName = function() {
33430
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
33431
+ };
33432
+
33433
+
33434
+ /**
33435
+ * @param {string} value
33436
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig} returns this
33437
+ */
33438
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.prototype.setBusinessName = function(value) {
33439
+ return jspb.Message.setProto3StringField(this, 12, value);
33440
+ };
33441
+
33442
+
33443
+
33444
+ /**
33445
+ * List of repeated fields within this message type.
33446
+ * @private {!Array<number>}
33447
+ * @const
33448
+ */
33449
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.repeatedFields_ = [2];
33450
+
33451
+
33452
+
33453
+ if (jspb.Message.GENERATE_TO_OBJECT) {
33454
+ /**
33455
+ * Creates an object representation of this proto.
33456
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
33457
+ * Optional fields that are not set will be set to undefined.
33458
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33459
+ * For the list of reserved names please see:
33460
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33461
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33462
+ * JSPB instance for transitional soy proto support:
33463
+ * http://goto/soy-param-migration
33464
+ * @return {!Object}
33465
+ */
33466
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.toObject = function(opt_includeInstance) {
33467
+ return proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.toObject(opt_includeInstance, this);
33468
+ };
33469
+
33470
+
33471
+ /**
33472
+ * Static version of the {@see toObject} method.
33473
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33474
+ * the JSPB instance for transitional soy proto support:
33475
+ * http://goto/soy-param-migration
33476
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse} msg The msg instance to transform.
33477
+ * @return {!Object}
33478
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33479
+ */
33480
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.toObject = function(includeInstance, msg) {
33481
+ var f, obj = {
33482
+ responseCode: (f = msg.getResponseCode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
33483
+ detailsList: jspb.Message.toObjectList(msg.getDetailsList(),
33484
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.toObject, includeInstance)
33485
+ };
33486
+
33487
+ if (includeInstance) {
33488
+ obj.$jspbMessageInstance = msg;
33489
+ }
33490
+ return obj;
33491
+ };
33492
+ }
33493
+
33494
+
33495
+ /**
33496
+ * Deserializes binary data (in protobuf wire format).
33497
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33498
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse}
33499
+ */
33500
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.deserializeBinary = function(bytes) {
33501
+ var reader = new jspb.BinaryReader(bytes);
33502
+ var msg = new proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse;
33503
+ return proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.deserializeBinaryFromReader(msg, reader);
33504
+ };
33505
+
33506
+
33507
+ /**
33508
+ * Deserializes binary data (in protobuf wire format) from the
33509
+ * given reader into the given message object.
33510
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse} msg The message object to deserialize into.
33511
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33512
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse}
33513
+ */
33514
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
33515
+ while (reader.nextField()) {
33516
+ if (reader.isEndGroup()) {
33517
+ break;
33518
+ }
33519
+ var field = reader.getFieldNumber();
33520
+ switch (field) {
33521
+ case 1:
33522
+ var value = new proto.payrollserviceapi.ResponseCode;
33523
+ reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
33524
+ msg.setResponseCode(value);
33525
+ break;
33526
+ case 2:
33527
+ var value = new proto.payrollserviceapi.EmployeeDetailsForBillerConfig;
33528
+ reader.readMessage(value,proto.payrollserviceapi.EmployeeDetailsForBillerConfig.deserializeBinaryFromReader);
33529
+ msg.addDetails(value);
33530
+ break;
33531
+ default:
33532
+ reader.skipField();
33533
+ break;
33534
+ }
33535
+ }
33536
+ return msg;
33537
+ };
33538
+
33539
+
33540
+ /**
33541
+ * Serializes the message to binary data (in protobuf wire format).
33542
+ * @return {!Uint8Array}
33543
+ */
33544
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.serializeBinary = function() {
33545
+ var writer = new jspb.BinaryWriter();
33546
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.serializeBinaryToWriter(this, writer);
33547
+ return writer.getResultBuffer();
33548
+ };
33549
+
33550
+
33551
+ /**
33552
+ * Serializes the given message to binary data (in protobuf wire
33553
+ * format), writing to the given BinaryWriter.
33554
+ * @param {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse} message
33555
+ * @param {!jspb.BinaryWriter} writer
33556
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33557
+ */
33558
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.serializeBinaryToWriter = function(message, writer) {
33559
+ var f = undefined;
33560
+ f = message.getResponseCode();
33561
+ if (f != null) {
33562
+ writer.writeMessage(
33563
+ 1,
33564
+ f,
33565
+ proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
33566
+ );
33567
+ }
33568
+ f = message.getDetailsList();
33569
+ if (f.length > 0) {
33570
+ writer.writeRepeatedMessage(
33571
+ 2,
33572
+ f,
33573
+ proto.payrollserviceapi.EmployeeDetailsForBillerConfig.serializeBinaryToWriter
33574
+ );
33575
+ }
33576
+ };
33577
+
33578
+
33579
+ /**
33580
+ * optional ResponseCode response_code = 1;
33581
+ * @return {?proto.payrollserviceapi.ResponseCode}
33582
+ */
33583
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.getResponseCode = function() {
33584
+ return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
33585
+ jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
33586
+ };
33587
+
33588
+
33589
+ /**
33590
+ * @param {?proto.payrollserviceapi.ResponseCode|undefined} value
33591
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse} returns this
33592
+ */
33593
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.setResponseCode = function(value) {
33594
+ return jspb.Message.setWrapperField(this, 1, value);
33595
+ };
33596
+
33597
+
33598
+ /**
33599
+ * Clears the message field making it undefined.
33600
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse} returns this
33601
+ */
33602
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.clearResponseCode = function() {
33603
+ return this.setResponseCode(undefined);
33604
+ };
33605
+
33606
+
33607
+ /**
33608
+ * Returns whether this field is set.
33609
+ * @return {boolean}
33610
+ */
33611
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.hasResponseCode = function() {
33612
+ return jspb.Message.getField(this, 1) != null;
33613
+ };
33614
+
33615
+
33616
+ /**
33617
+ * repeated EmployeeDetailsForBillerConfig details = 2;
33618
+ * @return {!Array<!proto.payrollserviceapi.EmployeeDetailsForBillerConfig>}
33619
+ */
33620
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.getDetailsList = function() {
33621
+ return /** @type{!Array<!proto.payrollserviceapi.EmployeeDetailsForBillerConfig>} */ (
33622
+ jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.EmployeeDetailsForBillerConfig, 2));
33623
+ };
33624
+
33625
+
33626
+ /**
33627
+ * @param {!Array<!proto.payrollserviceapi.EmployeeDetailsForBillerConfig>} value
33628
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse} returns this
33629
+ */
33630
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.setDetailsList = function(value) {
33631
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
33632
+ };
33633
+
33634
+
33635
+ /**
33636
+ * @param {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig=} opt_value
33637
+ * @param {number=} opt_index
33638
+ * @return {!proto.payrollserviceapi.EmployeeDetailsForBillerConfig}
33639
+ */
33640
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.addDetails = function(opt_value, opt_index) {
33641
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.EmployeeDetailsForBillerConfig, opt_index);
33642
+ };
33643
+
33644
+
33645
+ /**
33646
+ * Clears the list making it empty but non-null.
33647
+ * @return {!proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse} returns this
33648
+ */
33649
+ proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsResponse.prototype.clearDetailsList = function() {
33650
+ return this.setDetailsList([]);
33651
+ };
33652
+
33653
+
33654
+
32760
33655
 
32761
33656
 
32762
33657
  if (jspb.Message.GENERATE_TO_OBJECT) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payroll-service-client-grpcweb",
3
- "version": "26.5.1185",
3
+ "version": "26.6.1206",
4
4
  "description": "payroll-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",