@sniipwebmaster/payroll-service-client-grpcweb 25.11.666 → 25.11.678
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
|
|
@@ -7172,7 +7216,8 @@ proto.payrollserviceapi.ABAFileSummary.toObject = function(includeInstance, msg)
|
|
|
7172
7216
|
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
7173
7217
|
processedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
7174
7218
|
errorMessage: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
7175
|
-
displayname: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
7219
|
+
displayname: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
7220
|
+
rejected: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
|
|
7176
7221
|
};
|
|
7177
7222
|
|
|
7178
7223
|
if (includeInstance) {
|
|
@@ -7257,6 +7302,10 @@ proto.payrollserviceapi.ABAFileSummary.deserializeBinaryFromReader = function(ms
|
|
|
7257
7302
|
var value = /** @type {string} */ (reader.readString());
|
|
7258
7303
|
msg.setDisplayname(value);
|
|
7259
7304
|
break;
|
|
7305
|
+
case 13:
|
|
7306
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
7307
|
+
msg.setRejected(value);
|
|
7308
|
+
break;
|
|
7260
7309
|
default:
|
|
7261
7310
|
reader.skipField();
|
|
7262
7311
|
break;
|
|
@@ -7370,6 +7419,13 @@ proto.payrollserviceapi.ABAFileSummary.serializeBinaryToWriter = function(messag
|
|
|
7370
7419
|
f
|
|
7371
7420
|
);
|
|
7372
7421
|
}
|
|
7422
|
+
f = message.getRejected();
|
|
7423
|
+
if (f) {
|
|
7424
|
+
writer.writeBool(
|
|
7425
|
+
13,
|
|
7426
|
+
f
|
|
7427
|
+
);
|
|
7428
|
+
}
|
|
7373
7429
|
};
|
|
7374
7430
|
|
|
7375
7431
|
|
|
@@ -7589,6 +7645,24 @@ proto.payrollserviceapi.ABAFileSummary.prototype.setDisplayname = function(value
|
|
|
7589
7645
|
};
|
|
7590
7646
|
|
|
7591
7647
|
|
|
7648
|
+
/**
|
|
7649
|
+
* optional bool rejected = 13;
|
|
7650
|
+
* @return {boolean}
|
|
7651
|
+
*/
|
|
7652
|
+
proto.payrollserviceapi.ABAFileSummary.prototype.getRejected = function() {
|
|
7653
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
|
|
7654
|
+
};
|
|
7655
|
+
|
|
7656
|
+
|
|
7657
|
+
/**
|
|
7658
|
+
* @param {boolean} value
|
|
7659
|
+
* @return {!proto.payrollserviceapi.ABAFileSummary} returns this
|
|
7660
|
+
*/
|
|
7661
|
+
proto.payrollserviceapi.ABAFileSummary.prototype.setRejected = function(value) {
|
|
7662
|
+
return jspb.Message.setProto3BooleanField(this, 13, value);
|
|
7663
|
+
};
|
|
7664
|
+
|
|
7665
|
+
|
|
7592
7666
|
|
|
7593
7667
|
|
|
7594
7668
|
|
|
@@ -9127,7 +9201,8 @@ proto.payrollserviceapi.ABARecordDetail.toObject = function(includeInstance, msg
|
|
|
9127
9201
|
employeeNumber: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9128
9202
|
errorMessage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
9129
9203
|
createdAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
9130
|
-
verificationStatus: jspb.Message.getFieldWithDefault(msg, 18, 0)
|
|
9204
|
+
verificationStatus: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
9205
|
+
tfn: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
9131
9206
|
};
|
|
9132
9207
|
|
|
9133
9208
|
if (includeInstance) {
|
|
@@ -9220,6 +9295,10 @@ proto.payrollserviceapi.ABARecordDetail.deserializeBinaryFromReader = function(m
|
|
|
9220
9295
|
var value = /** @type {!proto.payrollserviceapi.BankAccountStatus} */ (reader.readEnum());
|
|
9221
9296
|
msg.setVerificationStatus(value);
|
|
9222
9297
|
break;
|
|
9298
|
+
case 19:
|
|
9299
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9300
|
+
msg.setTfn(value);
|
|
9301
|
+
break;
|
|
9223
9302
|
default:
|
|
9224
9303
|
reader.skipField();
|
|
9225
9304
|
break;
|
|
@@ -9347,6 +9426,13 @@ proto.payrollserviceapi.ABARecordDetail.serializeBinaryToWriter = function(messa
|
|
|
9347
9426
|
f
|
|
9348
9427
|
);
|
|
9349
9428
|
}
|
|
9429
|
+
f = message.getTfn();
|
|
9430
|
+
if (f.length > 0) {
|
|
9431
|
+
writer.writeString(
|
|
9432
|
+
19,
|
|
9433
|
+
f
|
|
9434
|
+
);
|
|
9435
|
+
}
|
|
9350
9436
|
};
|
|
9351
9437
|
|
|
9352
9438
|
|
|
@@ -9602,6 +9688,24 @@ proto.payrollserviceapi.ABARecordDetail.prototype.setVerificationStatus = functi
|
|
|
9602
9688
|
};
|
|
9603
9689
|
|
|
9604
9690
|
|
|
9691
|
+
/**
|
|
9692
|
+
* optional string tfn = 19;
|
|
9693
|
+
* @return {string}
|
|
9694
|
+
*/
|
|
9695
|
+
proto.payrollserviceapi.ABARecordDetail.prototype.getTfn = function() {
|
|
9696
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
9697
|
+
};
|
|
9698
|
+
|
|
9699
|
+
|
|
9700
|
+
/**
|
|
9701
|
+
* @param {string} value
|
|
9702
|
+
* @return {!proto.payrollserviceapi.ABARecordDetail} returns this
|
|
9703
|
+
*/
|
|
9704
|
+
proto.payrollserviceapi.ABARecordDetail.prototype.setTfn = function(value) {
|
|
9705
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
9706
|
+
};
|
|
9707
|
+
|
|
9708
|
+
|
|
9605
9709
|
|
|
9606
9710
|
|
|
9607
9711
|
|
|
@@ -15663,6 +15767,491 @@ proto.payrollserviceapi.ValidateBankAccountRequest.prototype.setAccountName = fu
|
|
|
15663
15767
|
|
|
15664
15768
|
|
|
15665
15769
|
|
|
15770
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15771
|
+
/**
|
|
15772
|
+
* Creates an object representation of this proto.
|
|
15773
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15774
|
+
* Optional fields that are not set will be set to undefined.
|
|
15775
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15776
|
+
* For the list of reserved names please see:
|
|
15777
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15778
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15779
|
+
* JSPB instance for transitional soy proto support:
|
|
15780
|
+
* http://goto/soy-param-migration
|
|
15781
|
+
* @return {!Object}
|
|
15782
|
+
*/
|
|
15783
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15784
|
+
return proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject(opt_includeInstance, this);
|
|
15785
|
+
};
|
|
15786
|
+
|
|
15787
|
+
|
|
15788
|
+
/**
|
|
15789
|
+
* Static version of the {@see toObject} method.
|
|
15790
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15791
|
+
* the JSPB instance for transitional soy proto support:
|
|
15792
|
+
* http://goto/soy-param-migration
|
|
15793
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The msg instance to transform.
|
|
15794
|
+
* @return {!Object}
|
|
15795
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15796
|
+
*/
|
|
15797
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject = function(includeInstance, msg) {
|
|
15798
|
+
var f, obj = {
|
|
15799
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
15800
|
+
businessid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
15801
|
+
startdate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15802
|
+
enddate: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15803
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
15804
|
+
};
|
|
15805
|
+
|
|
15806
|
+
if (includeInstance) {
|
|
15807
|
+
obj.$jspbMessageInstance = msg;
|
|
15808
|
+
}
|
|
15809
|
+
return obj;
|
|
15810
|
+
};
|
|
15811
|
+
}
|
|
15812
|
+
|
|
15813
|
+
|
|
15814
|
+
/**
|
|
15815
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15816
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15817
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
|
|
15818
|
+
*/
|
|
15819
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinary = function(bytes) {
|
|
15820
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15821
|
+
var msg = new proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest;
|
|
15822
|
+
return proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader(msg, reader);
|
|
15823
|
+
};
|
|
15824
|
+
|
|
15825
|
+
|
|
15826
|
+
/**
|
|
15827
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15828
|
+
* given reader into the given message object.
|
|
15829
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The message object to deserialize into.
|
|
15830
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15831
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
|
|
15832
|
+
*/
|
|
15833
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15834
|
+
while (reader.nextField()) {
|
|
15835
|
+
if (reader.isEndGroup()) {
|
|
15836
|
+
break;
|
|
15837
|
+
}
|
|
15838
|
+
var field = reader.getFieldNumber();
|
|
15839
|
+
switch (field) {
|
|
15840
|
+
case 1:
|
|
15841
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
15842
|
+
msg.setClientuserid(value);
|
|
15843
|
+
break;
|
|
15844
|
+
case 2:
|
|
15845
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
15846
|
+
msg.setBusinessid(value);
|
|
15847
|
+
break;
|
|
15848
|
+
case 3:
|
|
15849
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15850
|
+
msg.setStartdate(value);
|
|
15851
|
+
break;
|
|
15852
|
+
case 4:
|
|
15853
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15854
|
+
msg.setEnddate(value);
|
|
15855
|
+
break;
|
|
15856
|
+
case 5:
|
|
15857
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15858
|
+
msg.setTimezone(value);
|
|
15859
|
+
break;
|
|
15860
|
+
default:
|
|
15861
|
+
reader.skipField();
|
|
15862
|
+
break;
|
|
15863
|
+
}
|
|
15864
|
+
}
|
|
15865
|
+
return msg;
|
|
15866
|
+
};
|
|
15867
|
+
|
|
15868
|
+
|
|
15869
|
+
/**
|
|
15870
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15871
|
+
* @return {!Uint8Array}
|
|
15872
|
+
*/
|
|
15873
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.serializeBinary = function() {
|
|
15874
|
+
var writer = new jspb.BinaryWriter();
|
|
15875
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter(this, writer);
|
|
15876
|
+
return writer.getResultBuffer();
|
|
15877
|
+
};
|
|
15878
|
+
|
|
15879
|
+
|
|
15880
|
+
/**
|
|
15881
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15882
|
+
* format), writing to the given BinaryWriter.
|
|
15883
|
+
* @param {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} message
|
|
15884
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15885
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15886
|
+
*/
|
|
15887
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15888
|
+
var f = undefined;
|
|
15889
|
+
f = message.getClientuserid();
|
|
15890
|
+
if (f !== 0) {
|
|
15891
|
+
writer.writeInt64(
|
|
15892
|
+
1,
|
|
15893
|
+
f
|
|
15894
|
+
);
|
|
15895
|
+
}
|
|
15896
|
+
f = message.getBusinessid();
|
|
15897
|
+
if (f !== 0) {
|
|
15898
|
+
writer.writeInt64(
|
|
15899
|
+
2,
|
|
15900
|
+
f
|
|
15901
|
+
);
|
|
15902
|
+
}
|
|
15903
|
+
f = message.getStartdate();
|
|
15904
|
+
if (f.length > 0) {
|
|
15905
|
+
writer.writeString(
|
|
15906
|
+
3,
|
|
15907
|
+
f
|
|
15908
|
+
);
|
|
15909
|
+
}
|
|
15910
|
+
f = message.getEnddate();
|
|
15911
|
+
if (f.length > 0) {
|
|
15912
|
+
writer.writeString(
|
|
15913
|
+
4,
|
|
15914
|
+
f
|
|
15915
|
+
);
|
|
15916
|
+
}
|
|
15917
|
+
f = message.getTimezone();
|
|
15918
|
+
if (f.length > 0) {
|
|
15919
|
+
writer.writeString(
|
|
15920
|
+
5,
|
|
15921
|
+
f
|
|
15922
|
+
);
|
|
15923
|
+
}
|
|
15924
|
+
};
|
|
15925
|
+
|
|
15926
|
+
|
|
15927
|
+
/**
|
|
15928
|
+
* optional int64 clientUserId = 1;
|
|
15929
|
+
* @return {number}
|
|
15930
|
+
*/
|
|
15931
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getClientuserid = function() {
|
|
15932
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15933
|
+
};
|
|
15934
|
+
|
|
15935
|
+
|
|
15936
|
+
/**
|
|
15937
|
+
* @param {number} value
|
|
15938
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15939
|
+
*/
|
|
15940
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setClientuserid = function(value) {
|
|
15941
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
15942
|
+
};
|
|
15943
|
+
|
|
15944
|
+
|
|
15945
|
+
/**
|
|
15946
|
+
* optional int64 businessId = 2;
|
|
15947
|
+
* @return {number}
|
|
15948
|
+
*/
|
|
15949
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getBusinessid = function() {
|
|
15950
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
15951
|
+
};
|
|
15952
|
+
|
|
15953
|
+
|
|
15954
|
+
/**
|
|
15955
|
+
* @param {number} value
|
|
15956
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15957
|
+
*/
|
|
15958
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setBusinessid = function(value) {
|
|
15959
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
15960
|
+
};
|
|
15961
|
+
|
|
15962
|
+
|
|
15963
|
+
/**
|
|
15964
|
+
* optional string startDate = 3;
|
|
15965
|
+
* @return {string}
|
|
15966
|
+
*/
|
|
15967
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getStartdate = function() {
|
|
15968
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
15969
|
+
};
|
|
15970
|
+
|
|
15971
|
+
|
|
15972
|
+
/**
|
|
15973
|
+
* @param {string} value
|
|
15974
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15975
|
+
*/
|
|
15976
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setStartdate = function(value) {
|
|
15977
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
15978
|
+
};
|
|
15979
|
+
|
|
15980
|
+
|
|
15981
|
+
/**
|
|
15982
|
+
* optional string endDate = 4;
|
|
15983
|
+
* @return {string}
|
|
15984
|
+
*/
|
|
15985
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getEnddate = function() {
|
|
15986
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
15987
|
+
};
|
|
15988
|
+
|
|
15989
|
+
|
|
15990
|
+
/**
|
|
15991
|
+
* @param {string} value
|
|
15992
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
15993
|
+
*/
|
|
15994
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setEnddate = function(value) {
|
|
15995
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
15996
|
+
};
|
|
15997
|
+
|
|
15998
|
+
|
|
15999
|
+
/**
|
|
16000
|
+
* optional string timezone = 5;
|
|
16001
|
+
* @return {string}
|
|
16002
|
+
*/
|
|
16003
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getTimezone = function() {
|
|
16004
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
16005
|
+
};
|
|
16006
|
+
|
|
16007
|
+
|
|
16008
|
+
/**
|
|
16009
|
+
* @param {string} value
|
|
16010
|
+
* @return {!proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
|
|
16011
|
+
*/
|
|
16012
|
+
proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setTimezone = function(value) {
|
|
16013
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
16014
|
+
};
|
|
16015
|
+
|
|
16016
|
+
|
|
16017
|
+
|
|
16018
|
+
|
|
16019
|
+
|
|
16020
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16021
|
+
/**
|
|
16022
|
+
* Creates an object representation of this proto.
|
|
16023
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16024
|
+
* Optional fields that are not set will be set to undefined.
|
|
16025
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16026
|
+
* For the list of reserved names please see:
|
|
16027
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16028
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16029
|
+
* JSPB instance for transitional soy proto support:
|
|
16030
|
+
* http://goto/soy-param-migration
|
|
16031
|
+
* @return {!Object}
|
|
16032
|
+
*/
|
|
16033
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16034
|
+
return proto.payrollserviceapi.CsvFileResponse.toObject(opt_includeInstance, this);
|
|
16035
|
+
};
|
|
16036
|
+
|
|
16037
|
+
|
|
16038
|
+
/**
|
|
16039
|
+
* Static version of the {@see toObject} method.
|
|
16040
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16041
|
+
* the JSPB instance for transitional soy proto support:
|
|
16042
|
+
* http://goto/soy-param-migration
|
|
16043
|
+
* @param {!proto.payrollserviceapi.CsvFileResponse} msg The msg instance to transform.
|
|
16044
|
+
* @return {!Object}
|
|
16045
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16046
|
+
*/
|
|
16047
|
+
proto.payrollserviceapi.CsvFileResponse.toObject = function(includeInstance, msg) {
|
|
16048
|
+
var f, obj = {
|
|
16049
|
+
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
16050
|
+
csvFileContent: msg.getCsvFileContent_asB64(),
|
|
16051
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
16052
|
+
};
|
|
16053
|
+
|
|
16054
|
+
if (includeInstance) {
|
|
16055
|
+
obj.$jspbMessageInstance = msg;
|
|
16056
|
+
}
|
|
16057
|
+
return obj;
|
|
16058
|
+
};
|
|
16059
|
+
}
|
|
16060
|
+
|
|
16061
|
+
|
|
16062
|
+
/**
|
|
16063
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16064
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16065
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse}
|
|
16066
|
+
*/
|
|
16067
|
+
proto.payrollserviceapi.CsvFileResponse.deserializeBinary = function(bytes) {
|
|
16068
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16069
|
+
var msg = new proto.payrollserviceapi.CsvFileResponse;
|
|
16070
|
+
return proto.payrollserviceapi.CsvFileResponse.deserializeBinaryFromReader(msg, reader);
|
|
16071
|
+
};
|
|
16072
|
+
|
|
16073
|
+
|
|
16074
|
+
/**
|
|
16075
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16076
|
+
* given reader into the given message object.
|
|
16077
|
+
* @param {!proto.payrollserviceapi.CsvFileResponse} msg The message object to deserialize into.
|
|
16078
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16079
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse}
|
|
16080
|
+
*/
|
|
16081
|
+
proto.payrollserviceapi.CsvFileResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16082
|
+
while (reader.nextField()) {
|
|
16083
|
+
if (reader.isEndGroup()) {
|
|
16084
|
+
break;
|
|
16085
|
+
}
|
|
16086
|
+
var field = reader.getFieldNumber();
|
|
16087
|
+
switch (field) {
|
|
16088
|
+
case 1:
|
|
16089
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
16090
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
16091
|
+
msg.setResponsecode(value);
|
|
16092
|
+
break;
|
|
16093
|
+
case 2:
|
|
16094
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
16095
|
+
msg.setCsvFileContent(value);
|
|
16096
|
+
break;
|
|
16097
|
+
case 3:
|
|
16098
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16099
|
+
msg.setFileName(value);
|
|
16100
|
+
break;
|
|
16101
|
+
default:
|
|
16102
|
+
reader.skipField();
|
|
16103
|
+
break;
|
|
16104
|
+
}
|
|
16105
|
+
}
|
|
16106
|
+
return msg;
|
|
16107
|
+
};
|
|
16108
|
+
|
|
16109
|
+
|
|
16110
|
+
/**
|
|
16111
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16112
|
+
* @return {!Uint8Array}
|
|
16113
|
+
*/
|
|
16114
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.serializeBinary = function() {
|
|
16115
|
+
var writer = new jspb.BinaryWriter();
|
|
16116
|
+
proto.payrollserviceapi.CsvFileResponse.serializeBinaryToWriter(this, writer);
|
|
16117
|
+
return writer.getResultBuffer();
|
|
16118
|
+
};
|
|
16119
|
+
|
|
16120
|
+
|
|
16121
|
+
/**
|
|
16122
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16123
|
+
* format), writing to the given BinaryWriter.
|
|
16124
|
+
* @param {!proto.payrollserviceapi.CsvFileResponse} message
|
|
16125
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16126
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16127
|
+
*/
|
|
16128
|
+
proto.payrollserviceapi.CsvFileResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16129
|
+
var f = undefined;
|
|
16130
|
+
f = message.getResponsecode();
|
|
16131
|
+
if (f != null) {
|
|
16132
|
+
writer.writeMessage(
|
|
16133
|
+
1,
|
|
16134
|
+
f,
|
|
16135
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
16136
|
+
);
|
|
16137
|
+
}
|
|
16138
|
+
f = message.getCsvFileContent_asU8();
|
|
16139
|
+
if (f.length > 0) {
|
|
16140
|
+
writer.writeBytes(
|
|
16141
|
+
2,
|
|
16142
|
+
f
|
|
16143
|
+
);
|
|
16144
|
+
}
|
|
16145
|
+
f = message.getFileName();
|
|
16146
|
+
if (f.length > 0) {
|
|
16147
|
+
writer.writeString(
|
|
16148
|
+
3,
|
|
16149
|
+
f
|
|
16150
|
+
);
|
|
16151
|
+
}
|
|
16152
|
+
};
|
|
16153
|
+
|
|
16154
|
+
|
|
16155
|
+
/**
|
|
16156
|
+
* optional ResponseCode responseCode = 1;
|
|
16157
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
16158
|
+
*/
|
|
16159
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getResponsecode = function() {
|
|
16160
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
16161
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
16162
|
+
};
|
|
16163
|
+
|
|
16164
|
+
|
|
16165
|
+
/**
|
|
16166
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
16167
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse} returns this
|
|
16168
|
+
*/
|
|
16169
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.setResponsecode = function(value) {
|
|
16170
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
16171
|
+
};
|
|
16172
|
+
|
|
16173
|
+
|
|
16174
|
+
/**
|
|
16175
|
+
* Clears the message field making it undefined.
|
|
16176
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse} returns this
|
|
16177
|
+
*/
|
|
16178
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.clearResponsecode = function() {
|
|
16179
|
+
return this.setResponsecode(undefined);
|
|
16180
|
+
};
|
|
16181
|
+
|
|
16182
|
+
|
|
16183
|
+
/**
|
|
16184
|
+
* Returns whether this field is set.
|
|
16185
|
+
* @return {boolean}
|
|
16186
|
+
*/
|
|
16187
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.hasResponsecode = function() {
|
|
16188
|
+
return jspb.Message.getField(this, 1) != null;
|
|
16189
|
+
};
|
|
16190
|
+
|
|
16191
|
+
|
|
16192
|
+
/**
|
|
16193
|
+
* optional bytes csv_file_content = 2;
|
|
16194
|
+
* @return {!(string|Uint8Array)}
|
|
16195
|
+
*/
|
|
16196
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getCsvFileContent = function() {
|
|
16197
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
16198
|
+
};
|
|
16199
|
+
|
|
16200
|
+
|
|
16201
|
+
/**
|
|
16202
|
+
* optional bytes csv_file_content = 2;
|
|
16203
|
+
* This is a type-conversion wrapper around `getCsvFileContent()`
|
|
16204
|
+
* @return {string}
|
|
16205
|
+
*/
|
|
16206
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getCsvFileContent_asB64 = function() {
|
|
16207
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
16208
|
+
this.getCsvFileContent()));
|
|
16209
|
+
};
|
|
16210
|
+
|
|
16211
|
+
|
|
16212
|
+
/**
|
|
16213
|
+
* optional bytes csv_file_content = 2;
|
|
16214
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
16215
|
+
* @see http://caniuse.com/Uint8Array
|
|
16216
|
+
* This is a type-conversion wrapper around `getCsvFileContent()`
|
|
16217
|
+
* @return {!Uint8Array}
|
|
16218
|
+
*/
|
|
16219
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getCsvFileContent_asU8 = function() {
|
|
16220
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
16221
|
+
this.getCsvFileContent()));
|
|
16222
|
+
};
|
|
16223
|
+
|
|
16224
|
+
|
|
16225
|
+
/**
|
|
16226
|
+
* @param {!(string|Uint8Array)} value
|
|
16227
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse} returns this
|
|
16228
|
+
*/
|
|
16229
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.setCsvFileContent = function(value) {
|
|
16230
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
16231
|
+
};
|
|
16232
|
+
|
|
16233
|
+
|
|
16234
|
+
/**
|
|
16235
|
+
* optional string file_name = 3;
|
|
16236
|
+
* @return {string}
|
|
16237
|
+
*/
|
|
16238
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.getFileName = function() {
|
|
16239
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
16240
|
+
};
|
|
16241
|
+
|
|
16242
|
+
|
|
16243
|
+
/**
|
|
16244
|
+
* @param {string} value
|
|
16245
|
+
* @return {!proto.payrollserviceapi.CsvFileResponse} returns this
|
|
16246
|
+
*/
|
|
16247
|
+
proto.payrollserviceapi.CsvFileResponse.prototype.setFileName = function(value) {
|
|
16248
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
16249
|
+
};
|
|
16250
|
+
|
|
16251
|
+
|
|
16252
|
+
|
|
16253
|
+
|
|
16254
|
+
|
|
15666
16255
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15667
16256
|
/**
|
|
15668
16257
|
* Creates an object representation of this proto.
|