@sniipwebmaster/payroll-service-client-grpcweb 25.11.660 → 25.11.672
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.
|
@@ -1666,6 +1666,67 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.validateBankAccoun
|
|
|
1666
1666
|
};
|
|
1667
1667
|
|
|
1668
1668
|
|
|
1669
|
+
/**
|
|
1670
|
+
* @const
|
|
1671
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1672
|
+
* !proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest,
|
|
1673
|
+
* !proto.payrollserviceapi.CsvFileResponse>}
|
|
1674
|
+
*/
|
|
1675
|
+
const methodDescriptor_PayrollService_DownloadReceiptsCsvForClientInPeriod = new grpc.web.MethodDescriptor(
|
|
1676
|
+
'/payrollserviceapi.PayrollService/DownloadReceiptsCsvForClientInPeriod',
|
|
1677
|
+
grpc.web.MethodType.UNARY,
|
|
1678
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest,
|
|
1679
|
+
proto.payrollserviceapi.CsvFileResponse,
|
|
1680
|
+
/**
|
|
1681
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request
|
|
1682
|
+
* @return {!Uint8Array}
|
|
1683
|
+
*/
|
|
1684
|
+
function(request) {
|
|
1685
|
+
return request.serializeBinary();
|
|
1686
|
+
},
|
|
1687
|
+
proto.payrollserviceapi.CsvFileResponse.deserializeBinary
|
|
1688
|
+
);
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request The
|
|
1693
|
+
* request proto
|
|
1694
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1695
|
+
* call metadata
|
|
1696
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.CsvFileResponse)}
|
|
1697
|
+
* callback The callback function(error, response)
|
|
1698
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.CsvFileResponse>|undefined}
|
|
1699
|
+
* The XHR Node Readable Stream
|
|
1700
|
+
*/
|
|
1701
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.downloadReceiptsCsvForClientInPeriod =
|
|
1702
|
+
function(request, metadata, callback) {
|
|
1703
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1704
|
+
'/payrollserviceapi.PayrollService/DownloadReceiptsCsvForClientInPeriod',
|
|
1705
|
+
request,
|
|
1706
|
+
metadata || {},
|
|
1707
|
+
methodDescriptor_PayrollService_DownloadReceiptsCsvForClientInPeriod,
|
|
1708
|
+
callback);
|
|
1709
|
+
};
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request The
|
|
1714
|
+
* request proto
|
|
1715
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1716
|
+
* call metadata
|
|
1717
|
+
* @return {!Promise<!proto.payrollserviceapi.CsvFileResponse>}
|
|
1718
|
+
* Promise that resolves to the response
|
|
1719
|
+
*/
|
|
1720
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.downloadReceiptsCsvForClientInPeriod =
|
|
1721
|
+
function(request, metadata) {
|
|
1722
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1723
|
+
'/payrollserviceapi.PayrollService/DownloadReceiptsCsvForClientInPeriod',
|
|
1724
|
+
request,
|
|
1725
|
+
metadata || {},
|
|
1726
|
+
methodDescriptor_PayrollService_DownloadReceiptsCsvForClientInPeriod);
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
|
|
1669
1730
|
/**
|
|
1670
1731
|
* @const
|
|
1671
1732
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -42,6 +42,7 @@ goog.exportSymbol('proto.payrollserviceapi.CreateBusinessRequest', null, global)
|
|
|
42
42
|
goog.exportSymbol('proto.payrollserviceapi.CreateBusinessResponse', null, global);
|
|
43
43
|
goog.exportSymbol('proto.payrollserviceapi.CreateEmployeeRequest', null, global);
|
|
44
44
|
goog.exportSymbol('proto.payrollserviceapi.CreateEmployeeResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.payrollserviceapi.CsvFileResponse', null, global);
|
|
45
46
|
goog.exportSymbol('proto.payrollserviceapi.DeleteAbaFileRequest', null, global);
|
|
46
47
|
goog.exportSymbol('proto.payrollserviceapi.DeleteBusinessRequest', null, global);
|
|
47
48
|
goog.exportSymbol('proto.payrollserviceapi.DeleteBusinessResponse', null, global);
|
|
@@ -52,6 +53,7 @@ goog.exportSymbol('proto.payrollserviceapi.DownloadAbaErrorLogFileRequest', null
|
|
|
52
53
|
goog.exportSymbol('proto.payrollserviceapi.DownloadAbaErrorLogFileResponse', null, global);
|
|
53
54
|
goog.exportSymbol('proto.payrollserviceapi.DownloadErrorLogFileRequest', null, global);
|
|
54
55
|
goog.exportSymbol('proto.payrollserviceapi.DownloadErrorLogFileResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest', null, global);
|
|
55
57
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeBankAccountInfo', null, global);
|
|
56
58
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeBankAccountInfoRequest', null, global);
|
|
57
59
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeCsvFileStatus', null, global);
|
|
@@ -1240,6 +1242,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1240
1242
|
*/
|
|
1241
1243
|
proto.payrollserviceapi.ValidateBankAccountRequest.displayName = 'proto.payrollserviceapi.ValidateBankAccountRequest';
|
|
1242
1244
|
}
|
|
1245
|
+
/**
|
|
1246
|
+
* Generated by JsPbCodeGenerator.
|
|
1247
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1248
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1249
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1250
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1251
|
+
* valid.
|
|
1252
|
+
* @extends {jspb.Message}
|
|
1253
|
+
* @constructor
|
|
1254
|
+
*/
|
|
1255
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest = function(opt_data) {
|
|
1256
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1257
|
+
};
|
|
1258
|
+
goog.inherits(proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest, jspb.Message);
|
|
1259
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1260
|
+
/**
|
|
1261
|
+
* @public
|
|
1262
|
+
* @override
|
|
1263
|
+
*/
|
|
1264
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.displayName = 'proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest';
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* Generated by JsPbCodeGenerator.
|
|
1268
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1269
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1270
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1271
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1272
|
+
* valid.
|
|
1273
|
+
* @extends {jspb.Message}
|
|
1274
|
+
* @constructor
|
|
1275
|
+
*/
|
|
1276
|
+
proto.payrollserviceapi.CsvFileResponse = function(opt_data) {
|
|
1277
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1278
|
+
};
|
|
1279
|
+
goog.inherits(proto.payrollserviceapi.CsvFileResponse, jspb.Message);
|
|
1280
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1281
|
+
/**
|
|
1282
|
+
* @public
|
|
1283
|
+
* @override
|
|
1284
|
+
*/
|
|
1285
|
+
proto.payrollserviceapi.CsvFileResponse.displayName = 'proto.payrollserviceapi.CsvFileResponse';
|
|
1286
|
+
}
|
|
1243
1287
|
/**
|
|
1244
1288
|
* Generated by JsPbCodeGenerator.
|
|
1245
1289
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -15663,6 +15707,491 @@ proto.payrollserviceapi.ValidateBankAccountRequest.prototype.setAccountName = fu
|
|
|
15663
15707
|
|
|
15664
15708
|
|
|
15665
15709
|
|
|
15710
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15711
|
+
/**
|
|
15712
|
+
* Creates an object representation of this proto.
|
|
15713
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15714
|
+
* Optional fields that are not set will be set to undefined.
|
|
15715
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15716
|
+
* For the list of reserved names please see:
|
|
15717
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15718
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15719
|
+
* JSPB instance for transitional soy proto support:
|
|
15720
|
+
* http://goto/soy-param-migration
|
|
15721
|
+
* @return {!Object}
|
|
15722
|
+
*/
|
|
15723
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15724
|
+
return proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject(opt_includeInstance, this);
|
|
15725
|
+
};
|
|
15726
|
+
|
|
15727
|
+
|
|
15728
|
+
/**
|
|
15729
|
+
* Static version of the {@see toObject} method.
|
|
15730
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15731
|
+
* the JSPB instance for transitional soy proto support:
|
|
15732
|
+
* http://goto/soy-param-migration
|
|
15733
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The msg instance to transform.
|
|
15734
|
+
* @return {!Object}
|
|
15735
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15736
|
+
*/
|
|
15737
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject = function(includeInstance, msg) {
|
|
15738
|
+
var f, obj = {
|
|
15739
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
15740
|
+
businessid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
15741
|
+
startdate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15742
|
+
enddate: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15743
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
15744
|
+
};
|
|
15745
|
+
|
|
15746
|
+
if (includeInstance) {
|
|
15747
|
+
obj.$jspbMessageInstance = msg;
|
|
15748
|
+
}
|
|
15749
|
+
return obj;
|
|
15750
|
+
};
|
|
15751
|
+
}
|
|
15752
|
+
|
|
15753
|
+
|
|
15754
|
+
/**
|
|
15755
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15756
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15757
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
|
|
15758
|
+
*/
|
|
15759
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinary = function(bytes) {
|
|
15760
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15761
|
+
var msg = new proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest;
|
|
15762
|
+
return proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader(msg, reader);
|
|
15763
|
+
};
|
|
15764
|
+
|
|
15765
|
+
|
|
15766
|
+
/**
|
|
15767
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15768
|
+
* given reader into the given message object.
|
|
15769
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The message object to deserialize into.
|
|
15770
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15771
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
|
|
15772
|
+
*/
|
|
15773
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15774
|
+
while (reader.nextField()) {
|
|
15775
|
+
if (reader.isEndGroup()) {
|
|
15776
|
+
break;
|
|
15777
|
+
}
|
|
15778
|
+
var field = reader.getFieldNumber();
|
|
15779
|
+
switch (field) {
|
|
15780
|
+
case 1:
|
|
15781
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
15782
|
+
msg.setClientuserid(value);
|
|
15783
|
+
break;
|
|
15784
|
+
case 2:
|
|
15785
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
15786
|
+
msg.setBusinessid(value);
|
|
15787
|
+
break;
|
|
15788
|
+
case 3:
|
|
15789
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15790
|
+
msg.setStartdate(value);
|
|
15791
|
+
break;
|
|
15792
|
+
case 4:
|
|
15793
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15794
|
+
msg.setEnddate(value);
|
|
15795
|
+
break;
|
|
15796
|
+
case 5:
|
|
15797
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15798
|
+
msg.setTimezone(value);
|
|
15799
|
+
break;
|
|
15800
|
+
default:
|
|
15801
|
+
reader.skipField();
|
|
15802
|
+
break;
|
|
15803
|
+
}
|
|
15804
|
+
}
|
|
15805
|
+
return msg;
|
|
15806
|
+
};
|
|
15807
|
+
|
|
15808
|
+
|
|
15809
|
+
/**
|
|
15810
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15811
|
+
* @return {!Uint8Array}
|
|
15812
|
+
*/
|
|
15813
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.serializeBinary = function() {
|
|
15814
|
+
var writer = new jspb.BinaryWriter();
|
|
15815
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter(this, writer);
|
|
15816
|
+
return writer.getResultBuffer();
|
|
15817
|
+
};
|
|
15818
|
+
|
|
15819
|
+
|
|
15820
|
+
/**
|
|
15821
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15822
|
+
* format), writing to the given BinaryWriter.
|
|
15823
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} message
|
|
15824
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15825
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15826
|
+
*/
|
|
15827
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15828
|
+
var f = undefined;
|
|
15829
|
+
f = message.getClientuserid();
|
|
15830
|
+
if (f !== 0) {
|
|
15831
|
+
writer.writeInt64(
|
|
15832
|
+
1,
|
|
15833
|
+
f
|
|
15834
|
+
);
|
|
15835
|
+
}
|
|
15836
|
+
f = message.getBusinessid();
|
|
15837
|
+
if (f !== 0) {
|
|
15838
|
+
writer.writeInt64(
|
|
15839
|
+
2,
|
|
15840
|
+
f
|
|
15841
|
+
);
|
|
15842
|
+
}
|
|
15843
|
+
f = message.getStartdate();
|
|
15844
|
+
if (f.length > 0) {
|
|
15845
|
+
writer.writeString(
|
|
15846
|
+
3,
|
|
15847
|
+
f
|
|
15848
|
+
);
|
|
15849
|
+
}
|
|
15850
|
+
f = message.getEnddate();
|
|
15851
|
+
if (f.length > 0) {
|
|
15852
|
+
writer.writeString(
|
|
15853
|
+
4,
|
|
15854
|
+
f
|
|
15855
|
+
);
|
|
15856
|
+
}
|
|
15857
|
+
f = message.getTimezone();
|
|
15858
|
+
if (f.length > 0) {
|
|
15859
|
+
writer.writeString(
|
|
15860
|
+
5,
|
|
15861
|
+
f
|
|
15862
|
+
);
|
|
15863
|
+
}
|
|
15864
|
+
};
|
|
15865
|
+
|
|
15866
|
+
|
|
15867
|
+
/**
|
|
15868
|
+
* optional int64 clientUserId = 1;
|
|
15869
|
+
* @return {number}
|
|
15870
|
+
*/
|
|
15871
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getClientuserid = function() {
|
|
15872
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15873
|
+
};
|
|
15874
|
+
|
|
15875
|
+
|
|
15876
|
+
/**
|
|
15877
|
+
* @param {number} value
|
|
15878
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15879
|
+
*/
|
|
15880
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setClientuserid = function(value) {
|
|
15881
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
15882
|
+
};
|
|
15883
|
+
|
|
15884
|
+
|
|
15885
|
+
/**
|
|
15886
|
+
* optional int64 businessId = 2;
|
|
15887
|
+
* @return {number}
|
|
15888
|
+
*/
|
|
15889
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getBusinessid = function() {
|
|
15890
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
15891
|
+
};
|
|
15892
|
+
|
|
15893
|
+
|
|
15894
|
+
/**
|
|
15895
|
+
* @param {number} value
|
|
15896
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15897
|
+
*/
|
|
15898
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setBusinessid = function(value) {
|
|
15899
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
15900
|
+
};
|
|
15901
|
+
|
|
15902
|
+
|
|
15903
|
+
/**
|
|
15904
|
+
* optional string startDate = 3;
|
|
15905
|
+
* @return {string}
|
|
15906
|
+
*/
|
|
15907
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getStartdate = function() {
|
|
15908
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
15909
|
+
};
|
|
15910
|
+
|
|
15911
|
+
|
|
15912
|
+
/**
|
|
15913
|
+
* @param {string} value
|
|
15914
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15915
|
+
*/
|
|
15916
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setStartdate = function(value) {
|
|
15917
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
15918
|
+
};
|
|
15919
|
+
|
|
15920
|
+
|
|
15921
|
+
/**
|
|
15922
|
+
* optional string endDate = 4;
|
|
15923
|
+
* @return {string}
|
|
15924
|
+
*/
|
|
15925
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getEnddate = function() {
|
|
15926
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
15927
|
+
};
|
|
15928
|
+
|
|
15929
|
+
|
|
15930
|
+
/**
|
|
15931
|
+
* @param {string} value
|
|
15932
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15933
|
+
*/
|
|
15934
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setEnddate = function(value) {
|
|
15935
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
15936
|
+
};
|
|
15937
|
+
|
|
15938
|
+
|
|
15939
|
+
/**
|
|
15940
|
+
* optional string timezone = 5;
|
|
15941
|
+
* @return {string}
|
|
15942
|
+
*/
|
|
15943
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getTimezone = function() {
|
|
15944
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
15945
|
+
};
|
|
15946
|
+
|
|
15947
|
+
|
|
15948
|
+
/**
|
|
15949
|
+
* @param {string} value
|
|
15950
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15951
|
+
*/
|
|
15952
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setTimezone = function(value) {
|
|
15953
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
15954
|
+
};
|
|
15955
|
+
|
|
15956
|
+
|
|
15957
|
+
|
|
15958
|
+
|
|
15959
|
+
|
|
15960
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15961
|
+
/**
|
|
15962
|
+
* Creates an object representation of this proto.
|
|
15963
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15964
|
+
* Optional fields that are not set will be set to undefined.
|
|
15965
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15966
|
+
* For the list of reserved names please see:
|
|
15967
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15968
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15969
|
+
* JSPB instance for transitional soy proto support:
|
|
15970
|
+
* http://goto/soy-param-migration
|
|
15971
|
+
* @return {!Object}
|
|
15972
|
+
*/
|
|
15973
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15974
|
+
return proto.payrollserviceapi.CsvFileResponse.toObject(opt_includeInstance, this);
|
|
15975
|
+
};
|
|
15976
|
+
|
|
15977
|
+
|
|
15978
|
+
/**
|
|
15979
|
+
* Static version of the {@see toObject} method.
|
|
15980
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15981
|
+
* the JSPB instance for transitional soy proto support:
|
|
15982
|
+
* http://goto/soy-param-migration
|
|
15983
|
+
* @param {!proto.payrollserviceapi.CsvFileResponse} msg The msg instance to transform.
|
|
15984
|
+
* @return {!Object}
|
|
15985
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15986
|
+
*/
|
|
15987
|
+
proto.payrollserviceapi.CsvFileResponse.toObject = function(includeInstance, msg) {
|
|
15988
|
+
var f, obj = {
|
|
15989
|
+
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
15990
|
+
csvFileContent: msg.getCsvFileContent_asB64(),
|
|
15991
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
15992
|
+
};
|
|
15993
|
+
|
|
15994
|
+
if (includeInstance) {
|
|
15995
|
+
obj.$jspbMessageInstance = msg;
|
|
15996
|
+
}
|
|
15997
|
+
return obj;
|
|
15998
|
+
};
|
|
15999
|
+
}
|
|
16000
|
+
|
|
16001
|
+
|
|
16002
|
+
/**
|
|
16003
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16004
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16005
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse}
|
|
16006
|
+
*/
|
|
16007
|
+
proto.payrollserviceapi.CsvFileResponse.deserializeBinary = function(bytes) {
|
|
16008
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16009
|
+
var msg = new proto.payrollserviceapi.CsvFileResponse;
|
|
16010
|
+
return proto.payrollserviceapi.CsvFileResponse.deserializeBinaryFromReader(msg, reader);
|
|
16011
|
+
};
|
|
16012
|
+
|
|
16013
|
+
|
|
16014
|
+
/**
|
|
16015
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16016
|
+
* given reader into the given message object.
|
|
16017
|
+
* @param {!proto.payrollserviceapi.CsvFileResponse} msg The message object to deserialize into.
|
|
16018
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16019
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse}
|
|
16020
|
+
*/
|
|
16021
|
+
proto.payrollserviceapi.CsvFileResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16022
|
+
while (reader.nextField()) {
|
|
16023
|
+
if (reader.isEndGroup()) {
|
|
16024
|
+
break;
|
|
16025
|
+
}
|
|
16026
|
+
var field = reader.getFieldNumber();
|
|
16027
|
+
switch (field) {
|
|
16028
|
+
case 1:
|
|
16029
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
16030
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
16031
|
+
msg.setResponsecode(value);
|
|
16032
|
+
break;
|
|
16033
|
+
case 2:
|
|
16034
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
16035
|
+
msg.setCsvFileContent(value);
|
|
16036
|
+
break;
|
|
16037
|
+
case 3:
|
|
16038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16039
|
+
msg.setFileName(value);
|
|
16040
|
+
break;
|
|
16041
|
+
default:
|
|
16042
|
+
reader.skipField();
|
|
16043
|
+
break;
|
|
16044
|
+
}
|
|
16045
|
+
}
|
|
16046
|
+
return msg;
|
|
16047
|
+
};
|
|
16048
|
+
|
|
16049
|
+
|
|
16050
|
+
/**
|
|
16051
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16052
|
+
* @return {!Uint8Array}
|
|
16053
|
+
*/
|
|
16054
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.serializeBinary = function() {
|
|
16055
|
+
var writer = new jspb.BinaryWriter();
|
|
16056
|
+
proto.payrollserviceapi.CsvFileResponse.serializeBinaryToWriter(this, writer);
|
|
16057
|
+
return writer.getResultBuffer();
|
|
16058
|
+
};
|
|
16059
|
+
|
|
16060
|
+
|
|
16061
|
+
/**
|
|
16062
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16063
|
+
* format), writing to the given BinaryWriter.
|
|
16064
|
+
* @param {!proto.payrollserviceapi.CsvFileResponse} message
|
|
16065
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16066
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16067
|
+
*/
|
|
16068
|
+
proto.payrollserviceapi.CsvFileResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16069
|
+
var f = undefined;
|
|
16070
|
+
f = message.getResponsecode();
|
|
16071
|
+
if (f != null) {
|
|
16072
|
+
writer.writeMessage(
|
|
16073
|
+
1,
|
|
16074
|
+
f,
|
|
16075
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
16076
|
+
);
|
|
16077
|
+
}
|
|
16078
|
+
f = message.getCsvFileContent_asU8();
|
|
16079
|
+
if (f.length > 0) {
|
|
16080
|
+
writer.writeBytes(
|
|
16081
|
+
2,
|
|
16082
|
+
f
|
|
16083
|
+
);
|
|
16084
|
+
}
|
|
16085
|
+
f = message.getFileName();
|
|
16086
|
+
if (f.length > 0) {
|
|
16087
|
+
writer.writeString(
|
|
16088
|
+
3,
|
|
16089
|
+
f
|
|
16090
|
+
);
|
|
16091
|
+
}
|
|
16092
|
+
};
|
|
16093
|
+
|
|
16094
|
+
|
|
16095
|
+
/**
|
|
16096
|
+
* optional ResponseCode responseCode = 1;
|
|
16097
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
16098
|
+
*/
|
|
16099
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getResponsecode = function() {
|
|
16100
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
16101
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
16102
|
+
};
|
|
16103
|
+
|
|
16104
|
+
|
|
16105
|
+
/**
|
|
16106
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
16107
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse} returns this
|
|
16108
|
+
*/
|
|
16109
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.setResponsecode = function(value) {
|
|
16110
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
16111
|
+
};
|
|
16112
|
+
|
|
16113
|
+
|
|
16114
|
+
/**
|
|
16115
|
+
* Clears the message field making it undefined.
|
|
16116
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse} returns this
|
|
16117
|
+
*/
|
|
16118
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.clearResponsecode = function() {
|
|
16119
|
+
return this.setResponsecode(undefined);
|
|
16120
|
+
};
|
|
16121
|
+
|
|
16122
|
+
|
|
16123
|
+
/**
|
|
16124
|
+
* Returns whether this field is set.
|
|
16125
|
+
* @return {boolean}
|
|
16126
|
+
*/
|
|
16127
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.hasResponsecode = function() {
|
|
16128
|
+
return jspb.Message.getField(this, 1) != null;
|
|
16129
|
+
};
|
|
16130
|
+
|
|
16131
|
+
|
|
16132
|
+
/**
|
|
16133
|
+
* optional bytes csv_file_content = 2;
|
|
16134
|
+
* @return {!(string|Uint8Array)}
|
|
16135
|
+
*/
|
|
16136
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getCsvFileContent = function() {
|
|
16137
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
16138
|
+
};
|
|
16139
|
+
|
|
16140
|
+
|
|
16141
|
+
/**
|
|
16142
|
+
* optional bytes csv_file_content = 2;
|
|
16143
|
+
* This is a type-conversion wrapper around `getCsvFileContent()`
|
|
16144
|
+
* @return {string}
|
|
16145
|
+
*/
|
|
16146
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getCsvFileContent_asB64 = function() {
|
|
16147
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
16148
|
+
this.getCsvFileContent()));
|
|
16149
|
+
};
|
|
16150
|
+
|
|
16151
|
+
|
|
16152
|
+
/**
|
|
16153
|
+
* optional bytes csv_file_content = 2;
|
|
16154
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
16155
|
+
* @see http://caniuse.com/Uint8Array
|
|
16156
|
+
* This is a type-conversion wrapper around `getCsvFileContent()`
|
|
16157
|
+
* @return {!Uint8Array}
|
|
16158
|
+
*/
|
|
16159
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getCsvFileContent_asU8 = function() {
|
|
16160
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
16161
|
+
this.getCsvFileContent()));
|
|
16162
|
+
};
|
|
16163
|
+
|
|
16164
|
+
|
|
16165
|
+
/**
|
|
16166
|
+
* @param {!(string|Uint8Array)} value
|
|
16167
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse} returns this
|
|
16168
|
+
*/
|
|
16169
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.setCsvFileContent = function(value) {
|
|
16170
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
16171
|
+
};
|
|
16172
|
+
|
|
16173
|
+
|
|
16174
|
+
/**
|
|
16175
|
+
* optional string file_name = 3;
|
|
16176
|
+
* @return {string}
|
|
16177
|
+
*/
|
|
16178
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getFileName = function() {
|
|
16179
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
16180
|
+
};
|
|
16181
|
+
|
|
16182
|
+
|
|
16183
|
+
/**
|
|
16184
|
+
* @param {string} value
|
|
16185
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse} returns this
|
|
16186
|
+
*/
|
|
16187
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.setFileName = function(value) {
|
|
16188
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
16189
|
+
};
|
|
16190
|
+
|
|
16191
|
+
|
|
16192
|
+
|
|
16193
|
+
|
|
16194
|
+
|
|
15666
16195
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15667
16196
|
/**
|
|
15668
16197
|
* Creates an object representation of this proto.
|