@sniipwebmaster/payroll-service-client-grpcweb 25.11.866 → 25.11.878
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.
|
@@ -1849,6 +1849,67 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.listEmployees =
|
|
|
1849
1849
|
};
|
|
1850
1850
|
|
|
1851
1851
|
|
|
1852
|
+
/**
|
|
1853
|
+
* @const
|
|
1854
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1855
|
+
* !proto.payrollserviceapi.GetEmployeesInfoRequest,
|
|
1856
|
+
* !proto.payrollserviceapi.GetEmployeesInfoResponse>}
|
|
1857
|
+
*/
|
|
1858
|
+
const methodDescriptor_PayrollService_GetEmployeesInfo = new grpc.web.MethodDescriptor(
|
|
1859
|
+
'/payrollserviceapi.PayrollService/GetEmployeesInfo',
|
|
1860
|
+
grpc.web.MethodType.UNARY,
|
|
1861
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest,
|
|
1862
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse,
|
|
1863
|
+
/**
|
|
1864
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoRequest} request
|
|
1865
|
+
* @return {!Uint8Array}
|
|
1866
|
+
*/
|
|
1867
|
+
function(request) {
|
|
1868
|
+
return request.serializeBinary();
|
|
1869
|
+
},
|
|
1870
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.deserializeBinary
|
|
1871
|
+
);
|
|
1872
|
+
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoRequest} request The
|
|
1876
|
+
* request proto
|
|
1877
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1878
|
+
* call metadata
|
|
1879
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.GetEmployeesInfoResponse)}
|
|
1880
|
+
* callback The callback function(error, response)
|
|
1881
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.GetEmployeesInfoResponse>|undefined}
|
|
1882
|
+
* The XHR Node Readable Stream
|
|
1883
|
+
*/
|
|
1884
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.getEmployeesInfo =
|
|
1885
|
+
function(request, metadata, callback) {
|
|
1886
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1887
|
+
'/payrollserviceapi.PayrollService/GetEmployeesInfo',
|
|
1888
|
+
request,
|
|
1889
|
+
metadata || {},
|
|
1890
|
+
methodDescriptor_PayrollService_GetEmployeesInfo,
|
|
1891
|
+
callback);
|
|
1892
|
+
};
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoRequest} request The
|
|
1897
|
+
* request proto
|
|
1898
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1899
|
+
* call metadata
|
|
1900
|
+
* @return {!Promise<!proto.payrollserviceapi.GetEmployeesInfoResponse>}
|
|
1901
|
+
* Promise that resolves to the response
|
|
1902
|
+
*/
|
|
1903
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.getEmployeesInfo =
|
|
1904
|
+
function(request, metadata) {
|
|
1905
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1906
|
+
'/payrollserviceapi.PayrollService/GetEmployeesInfo',
|
|
1907
|
+
request,
|
|
1908
|
+
metadata || {},
|
|
1909
|
+
methodDescriptor_PayrollService_GetEmployeesInfo);
|
|
1910
|
+
};
|
|
1911
|
+
|
|
1912
|
+
|
|
1852
1913
|
/**
|
|
1853
1914
|
* @const
|
|
1854
1915
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -61,6 +61,7 @@ goog.exportSymbol('proto.payrollserviceapi.EmployeeBankAccountInfoRequest', null
|
|
|
61
61
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeCsvFileStatus', null, global);
|
|
62
62
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeCsvSummary', null, global);
|
|
63
63
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeDetails', null, global);
|
|
64
|
+
goog.exportSymbol('proto.payrollserviceapi.EmployeeInfo', null, global);
|
|
64
65
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeSummary', null, global);
|
|
65
66
|
goog.exportSymbol('proto.payrollserviceapi.ExecutePayrollInternalRequest', null, global);
|
|
66
67
|
goog.exportSymbol('proto.payrollserviceapi.ExecutePayrollRequest', null, global);
|
|
@@ -77,6 +78,8 @@ goog.exportSymbol('proto.payrollserviceapi.GetBusinessRequest', null, global);
|
|
|
77
78
|
goog.exportSymbol('proto.payrollserviceapi.GetBusinessResponse', null, global);
|
|
78
79
|
goog.exportSymbol('proto.payrollserviceapi.GetEmployeeRequest', null, global);
|
|
79
80
|
goog.exportSymbol('proto.payrollserviceapi.GetEmployeeResponse', null, global);
|
|
81
|
+
goog.exportSymbol('proto.payrollserviceapi.GetEmployeesInfoRequest', null, global);
|
|
82
|
+
goog.exportSymbol('proto.payrollserviceapi.GetEmployeesInfoResponse', null, global);
|
|
80
83
|
goog.exportSymbol('proto.payrollserviceapi.GetUserBusinessSummaryRequest', null, global);
|
|
81
84
|
goog.exportSymbol('proto.payrollserviceapi.GetUserBusinessSummaryResponse', null, global);
|
|
82
85
|
goog.exportSymbol('proto.payrollserviceapi.GetUserProfileRequest', null, global);
|
|
@@ -1412,6 +1415,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1412
1415
|
*/
|
|
1413
1416
|
proto.payrollserviceapi.ListEmployeesResponse.displayName = 'proto.payrollserviceapi.ListEmployeesResponse';
|
|
1414
1417
|
}
|
|
1418
|
+
/**
|
|
1419
|
+
* Generated by JsPbCodeGenerator.
|
|
1420
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1421
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1422
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1423
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1424
|
+
* valid.
|
|
1425
|
+
* @extends {jspb.Message}
|
|
1426
|
+
* @constructor
|
|
1427
|
+
*/
|
|
1428
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest = function(opt_data) {
|
|
1429
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.GetEmployeesInfoRequest.repeatedFields_, null);
|
|
1430
|
+
};
|
|
1431
|
+
goog.inherits(proto.payrollserviceapi.GetEmployeesInfoRequest, jspb.Message);
|
|
1432
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1433
|
+
/**
|
|
1434
|
+
* @public
|
|
1435
|
+
* @override
|
|
1436
|
+
*/
|
|
1437
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.displayName = 'proto.payrollserviceapi.GetEmployeesInfoRequest';
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* Generated by JsPbCodeGenerator.
|
|
1441
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1442
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1443
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1444
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1445
|
+
* valid.
|
|
1446
|
+
* @extends {jspb.Message}
|
|
1447
|
+
* @constructor
|
|
1448
|
+
*/
|
|
1449
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse = function(opt_data) {
|
|
1450
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.GetEmployeesInfoResponse.repeatedFields_, null);
|
|
1451
|
+
};
|
|
1452
|
+
goog.inherits(proto.payrollserviceapi.GetEmployeesInfoResponse, jspb.Message);
|
|
1453
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1454
|
+
/**
|
|
1455
|
+
* @public
|
|
1456
|
+
* @override
|
|
1457
|
+
*/
|
|
1458
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.displayName = 'proto.payrollserviceapi.GetEmployeesInfoResponse';
|
|
1459
|
+
}
|
|
1460
|
+
/**
|
|
1461
|
+
* Generated by JsPbCodeGenerator.
|
|
1462
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1463
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1464
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1465
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1466
|
+
* valid.
|
|
1467
|
+
* @extends {jspb.Message}
|
|
1468
|
+
* @constructor
|
|
1469
|
+
*/
|
|
1470
|
+
proto.payrollserviceapi.EmployeeInfo = function(opt_data) {
|
|
1471
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1472
|
+
};
|
|
1473
|
+
goog.inherits(proto.payrollserviceapi.EmployeeInfo, jspb.Message);
|
|
1474
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1475
|
+
/**
|
|
1476
|
+
* @public
|
|
1477
|
+
* @override
|
|
1478
|
+
*/
|
|
1479
|
+
proto.payrollserviceapi.EmployeeInfo.displayName = 'proto.payrollserviceapi.EmployeeInfo';
|
|
1480
|
+
}
|
|
1415
1481
|
/**
|
|
1416
1482
|
* Generated by JsPbCodeGenerator.
|
|
1417
1483
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -18037,6 +18103,625 @@ proto.payrollserviceapi.ListEmployeesResponse.prototype.setLimit = function(valu
|
|
|
18037
18103
|
|
|
18038
18104
|
|
|
18039
18105
|
|
|
18106
|
+
/**
|
|
18107
|
+
* List of repeated fields within this message type.
|
|
18108
|
+
* @private {!Array<number>}
|
|
18109
|
+
* @const
|
|
18110
|
+
*/
|
|
18111
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.repeatedFields_ = [1];
|
|
18112
|
+
|
|
18113
|
+
|
|
18114
|
+
|
|
18115
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18116
|
+
/**
|
|
18117
|
+
* Creates an object representation of this proto.
|
|
18118
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18119
|
+
* Optional fields that are not set will be set to undefined.
|
|
18120
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18121
|
+
* For the list of reserved names please see:
|
|
18122
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18123
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18124
|
+
* JSPB instance for transitional soy proto support:
|
|
18125
|
+
* http://goto/soy-param-migration
|
|
18126
|
+
* @return {!Object}
|
|
18127
|
+
*/
|
|
18128
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18129
|
+
return proto.payrollserviceapi.GetEmployeesInfoRequest.toObject(opt_includeInstance, this);
|
|
18130
|
+
};
|
|
18131
|
+
|
|
18132
|
+
|
|
18133
|
+
/**
|
|
18134
|
+
* Static version of the {@see toObject} method.
|
|
18135
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18136
|
+
* the JSPB instance for transitional soy proto support:
|
|
18137
|
+
* http://goto/soy-param-migration
|
|
18138
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoRequest} msg The msg instance to transform.
|
|
18139
|
+
* @return {!Object}
|
|
18140
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18141
|
+
*/
|
|
18142
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.toObject = function(includeInstance, msg) {
|
|
18143
|
+
var f, obj = {
|
|
18144
|
+
recordidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
18145
|
+
};
|
|
18146
|
+
|
|
18147
|
+
if (includeInstance) {
|
|
18148
|
+
obj.$jspbMessageInstance = msg;
|
|
18149
|
+
}
|
|
18150
|
+
return obj;
|
|
18151
|
+
};
|
|
18152
|
+
}
|
|
18153
|
+
|
|
18154
|
+
|
|
18155
|
+
/**
|
|
18156
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18157
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18158
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoRequest}
|
|
18159
|
+
*/
|
|
18160
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.deserializeBinary = function(bytes) {
|
|
18161
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18162
|
+
var msg = new proto.payrollserviceapi.GetEmployeesInfoRequest;
|
|
18163
|
+
return proto.payrollserviceapi.GetEmployeesInfoRequest.deserializeBinaryFromReader(msg, reader);
|
|
18164
|
+
};
|
|
18165
|
+
|
|
18166
|
+
|
|
18167
|
+
/**
|
|
18168
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18169
|
+
* given reader into the given message object.
|
|
18170
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoRequest} msg The message object to deserialize into.
|
|
18171
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18172
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoRequest}
|
|
18173
|
+
*/
|
|
18174
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18175
|
+
while (reader.nextField()) {
|
|
18176
|
+
if (reader.isEndGroup()) {
|
|
18177
|
+
break;
|
|
18178
|
+
}
|
|
18179
|
+
var field = reader.getFieldNumber();
|
|
18180
|
+
switch (field) {
|
|
18181
|
+
case 1:
|
|
18182
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
|
|
18183
|
+
for (var i = 0; i < values.length; i++) {
|
|
18184
|
+
msg.addRecordids(values[i]);
|
|
18185
|
+
}
|
|
18186
|
+
break;
|
|
18187
|
+
default:
|
|
18188
|
+
reader.skipField();
|
|
18189
|
+
break;
|
|
18190
|
+
}
|
|
18191
|
+
}
|
|
18192
|
+
return msg;
|
|
18193
|
+
};
|
|
18194
|
+
|
|
18195
|
+
|
|
18196
|
+
/**
|
|
18197
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18198
|
+
* @return {!Uint8Array}
|
|
18199
|
+
*/
|
|
18200
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.prototype.serializeBinary = function() {
|
|
18201
|
+
var writer = new jspb.BinaryWriter();
|
|
18202
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.serializeBinaryToWriter(this, writer);
|
|
18203
|
+
return writer.getResultBuffer();
|
|
18204
|
+
};
|
|
18205
|
+
|
|
18206
|
+
|
|
18207
|
+
/**
|
|
18208
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18209
|
+
* format), writing to the given BinaryWriter.
|
|
18210
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoRequest} message
|
|
18211
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18212
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18213
|
+
*/
|
|
18214
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18215
|
+
var f = undefined;
|
|
18216
|
+
f = message.getRecordidsList();
|
|
18217
|
+
if (f.length > 0) {
|
|
18218
|
+
writer.writePackedInt64(
|
|
18219
|
+
1,
|
|
18220
|
+
f
|
|
18221
|
+
);
|
|
18222
|
+
}
|
|
18223
|
+
};
|
|
18224
|
+
|
|
18225
|
+
|
|
18226
|
+
/**
|
|
18227
|
+
* repeated int64 recordIds = 1;
|
|
18228
|
+
* @return {!Array<number>}
|
|
18229
|
+
*/
|
|
18230
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.prototype.getRecordidsList = function() {
|
|
18231
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
18232
|
+
};
|
|
18233
|
+
|
|
18234
|
+
|
|
18235
|
+
/**
|
|
18236
|
+
* @param {!Array<number>} value
|
|
18237
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoRequest} returns this
|
|
18238
|
+
*/
|
|
18239
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.prototype.setRecordidsList = function(value) {
|
|
18240
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
18241
|
+
};
|
|
18242
|
+
|
|
18243
|
+
|
|
18244
|
+
/**
|
|
18245
|
+
* @param {number} value
|
|
18246
|
+
* @param {number=} opt_index
|
|
18247
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoRequest} returns this
|
|
18248
|
+
*/
|
|
18249
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.prototype.addRecordids = function(value, opt_index) {
|
|
18250
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
18251
|
+
};
|
|
18252
|
+
|
|
18253
|
+
|
|
18254
|
+
/**
|
|
18255
|
+
* Clears the list making it empty but non-null.
|
|
18256
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoRequest} returns this
|
|
18257
|
+
*/
|
|
18258
|
+
proto.payrollserviceapi.GetEmployeesInfoRequest.prototype.clearRecordidsList = function() {
|
|
18259
|
+
return this.setRecordidsList([]);
|
|
18260
|
+
};
|
|
18261
|
+
|
|
18262
|
+
|
|
18263
|
+
|
|
18264
|
+
/**
|
|
18265
|
+
* List of repeated fields within this message type.
|
|
18266
|
+
* @private {!Array<number>}
|
|
18267
|
+
* @const
|
|
18268
|
+
*/
|
|
18269
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.repeatedFields_ = [2];
|
|
18270
|
+
|
|
18271
|
+
|
|
18272
|
+
|
|
18273
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18274
|
+
/**
|
|
18275
|
+
* Creates an object representation of this proto.
|
|
18276
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18277
|
+
* Optional fields that are not set will be set to undefined.
|
|
18278
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18279
|
+
* For the list of reserved names please see:
|
|
18280
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18281
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18282
|
+
* JSPB instance for transitional soy proto support:
|
|
18283
|
+
* http://goto/soy-param-migration
|
|
18284
|
+
* @return {!Object}
|
|
18285
|
+
*/
|
|
18286
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.toObject = function(opt_includeInstance) {
|
|
18287
|
+
return proto.payrollserviceapi.GetEmployeesInfoResponse.toObject(opt_includeInstance, this);
|
|
18288
|
+
};
|
|
18289
|
+
|
|
18290
|
+
|
|
18291
|
+
/**
|
|
18292
|
+
* Static version of the {@see toObject} method.
|
|
18293
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18294
|
+
* the JSPB instance for transitional soy proto support:
|
|
18295
|
+
* http://goto/soy-param-migration
|
|
18296
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoResponse} msg The msg instance to transform.
|
|
18297
|
+
* @return {!Object}
|
|
18298
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18299
|
+
*/
|
|
18300
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.toObject = function(includeInstance, msg) {
|
|
18301
|
+
var f, obj = {
|
|
18302
|
+
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
18303
|
+
infosList: jspb.Message.toObjectList(msg.getInfosList(),
|
|
18304
|
+
proto.payrollserviceapi.EmployeeInfo.toObject, includeInstance)
|
|
18305
|
+
};
|
|
18306
|
+
|
|
18307
|
+
if (includeInstance) {
|
|
18308
|
+
obj.$jspbMessageInstance = msg;
|
|
18309
|
+
}
|
|
18310
|
+
return obj;
|
|
18311
|
+
};
|
|
18312
|
+
}
|
|
18313
|
+
|
|
18314
|
+
|
|
18315
|
+
/**
|
|
18316
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18317
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18318
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoResponse}
|
|
18319
|
+
*/
|
|
18320
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.deserializeBinary = function(bytes) {
|
|
18321
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18322
|
+
var msg = new proto.payrollserviceapi.GetEmployeesInfoResponse;
|
|
18323
|
+
return proto.payrollserviceapi.GetEmployeesInfoResponse.deserializeBinaryFromReader(msg, reader);
|
|
18324
|
+
};
|
|
18325
|
+
|
|
18326
|
+
|
|
18327
|
+
/**
|
|
18328
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18329
|
+
* given reader into the given message object.
|
|
18330
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoResponse} msg The message object to deserialize into.
|
|
18331
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18332
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoResponse}
|
|
18333
|
+
*/
|
|
18334
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
18335
|
+
while (reader.nextField()) {
|
|
18336
|
+
if (reader.isEndGroup()) {
|
|
18337
|
+
break;
|
|
18338
|
+
}
|
|
18339
|
+
var field = reader.getFieldNumber();
|
|
18340
|
+
switch (field) {
|
|
18341
|
+
case 1:
|
|
18342
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
18343
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
18344
|
+
msg.setResponsecode(value);
|
|
18345
|
+
break;
|
|
18346
|
+
case 2:
|
|
18347
|
+
var value = new proto.payrollserviceapi.EmployeeInfo;
|
|
18348
|
+
reader.readMessage(value,proto.payrollserviceapi.EmployeeInfo.deserializeBinaryFromReader);
|
|
18349
|
+
msg.addInfos(value);
|
|
18350
|
+
break;
|
|
18351
|
+
default:
|
|
18352
|
+
reader.skipField();
|
|
18353
|
+
break;
|
|
18354
|
+
}
|
|
18355
|
+
}
|
|
18356
|
+
return msg;
|
|
18357
|
+
};
|
|
18358
|
+
|
|
18359
|
+
|
|
18360
|
+
/**
|
|
18361
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18362
|
+
* @return {!Uint8Array}
|
|
18363
|
+
*/
|
|
18364
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.serializeBinary = function() {
|
|
18365
|
+
var writer = new jspb.BinaryWriter();
|
|
18366
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.serializeBinaryToWriter(this, writer);
|
|
18367
|
+
return writer.getResultBuffer();
|
|
18368
|
+
};
|
|
18369
|
+
|
|
18370
|
+
|
|
18371
|
+
/**
|
|
18372
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18373
|
+
* format), writing to the given BinaryWriter.
|
|
18374
|
+
* @param {!proto.payrollserviceapi.GetEmployeesInfoResponse} message
|
|
18375
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18376
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18377
|
+
*/
|
|
18378
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.serializeBinaryToWriter = function(message, writer) {
|
|
18379
|
+
var f = undefined;
|
|
18380
|
+
f = message.getResponsecode();
|
|
18381
|
+
if (f != null) {
|
|
18382
|
+
writer.writeMessage(
|
|
18383
|
+
1,
|
|
18384
|
+
f,
|
|
18385
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
18386
|
+
);
|
|
18387
|
+
}
|
|
18388
|
+
f = message.getInfosList();
|
|
18389
|
+
if (f.length > 0) {
|
|
18390
|
+
writer.writeRepeatedMessage(
|
|
18391
|
+
2,
|
|
18392
|
+
f,
|
|
18393
|
+
proto.payrollserviceapi.EmployeeInfo.serializeBinaryToWriter
|
|
18394
|
+
);
|
|
18395
|
+
}
|
|
18396
|
+
};
|
|
18397
|
+
|
|
18398
|
+
|
|
18399
|
+
/**
|
|
18400
|
+
* optional ResponseCode responseCode = 1;
|
|
18401
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
18402
|
+
*/
|
|
18403
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.getResponsecode = function() {
|
|
18404
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
18405
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
18406
|
+
};
|
|
18407
|
+
|
|
18408
|
+
|
|
18409
|
+
/**
|
|
18410
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
18411
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoResponse} returns this
|
|
18412
|
+
*/
|
|
18413
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.setResponsecode = function(value) {
|
|
18414
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
18415
|
+
};
|
|
18416
|
+
|
|
18417
|
+
|
|
18418
|
+
/**
|
|
18419
|
+
* Clears the message field making it undefined.
|
|
18420
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoResponse} returns this
|
|
18421
|
+
*/
|
|
18422
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.clearResponsecode = function() {
|
|
18423
|
+
return this.setResponsecode(undefined);
|
|
18424
|
+
};
|
|
18425
|
+
|
|
18426
|
+
|
|
18427
|
+
/**
|
|
18428
|
+
* Returns whether this field is set.
|
|
18429
|
+
* @return {boolean}
|
|
18430
|
+
*/
|
|
18431
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.hasResponsecode = function() {
|
|
18432
|
+
return jspb.Message.getField(this, 1) != null;
|
|
18433
|
+
};
|
|
18434
|
+
|
|
18435
|
+
|
|
18436
|
+
/**
|
|
18437
|
+
* repeated EmployeeInfo infos = 2;
|
|
18438
|
+
* @return {!Array<!proto.payrollserviceapi.EmployeeInfo>}
|
|
18439
|
+
*/
|
|
18440
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.getInfosList = function() {
|
|
18441
|
+
return /** @type{!Array<!proto.payrollserviceapi.EmployeeInfo>} */ (
|
|
18442
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.EmployeeInfo, 2));
|
|
18443
|
+
};
|
|
18444
|
+
|
|
18445
|
+
|
|
18446
|
+
/**
|
|
18447
|
+
* @param {!Array<!proto.payrollserviceapi.EmployeeInfo>} value
|
|
18448
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoResponse} returns this
|
|
18449
|
+
*/
|
|
18450
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.setInfosList = function(value) {
|
|
18451
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
18452
|
+
};
|
|
18453
|
+
|
|
18454
|
+
|
|
18455
|
+
/**
|
|
18456
|
+
* @param {!proto.payrollserviceapi.EmployeeInfo=} opt_value
|
|
18457
|
+
* @param {number=} opt_index
|
|
18458
|
+
* @return {!proto.payrollserviceapi.EmployeeInfo}
|
|
18459
|
+
*/
|
|
18460
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.addInfos = function(opt_value, opt_index) {
|
|
18461
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.EmployeeInfo, opt_index);
|
|
18462
|
+
};
|
|
18463
|
+
|
|
18464
|
+
|
|
18465
|
+
/**
|
|
18466
|
+
* Clears the list making it empty but non-null.
|
|
18467
|
+
* @return {!proto.payrollserviceapi.GetEmployeesInfoResponse} returns this
|
|
18468
|
+
*/
|
|
18469
|
+
proto.payrollserviceapi.GetEmployeesInfoResponse.prototype.clearInfosList = function() {
|
|
18470
|
+
return this.setInfosList([]);
|
|
18471
|
+
};
|
|
18472
|
+
|
|
18473
|
+
|
|
18474
|
+
|
|
18475
|
+
|
|
18476
|
+
|
|
18477
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18478
|
+
/**
|
|
18479
|
+
* Creates an object representation of this proto.
|
|
18480
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18481
|
+
* Optional fields that are not set will be set to undefined.
|
|
18482
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18483
|
+
* For the list of reserved names please see:
|
|
18484
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18485
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18486
|
+
* JSPB instance for transitional soy proto support:
|
|
18487
|
+
* http://goto/soy-param-migration
|
|
18488
|
+
* @return {!Object}
|
|
18489
|
+
*/
|
|
18490
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.toObject = function(opt_includeInstance) {
|
|
18491
|
+
return proto.payrollserviceapi.EmployeeInfo.toObject(opt_includeInstance, this);
|
|
18492
|
+
};
|
|
18493
|
+
|
|
18494
|
+
|
|
18495
|
+
/**
|
|
18496
|
+
* Static version of the {@see toObject} method.
|
|
18497
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18498
|
+
* the JSPB instance for transitional soy proto support:
|
|
18499
|
+
* http://goto/soy-param-migration
|
|
18500
|
+
* @param {!proto.payrollserviceapi.EmployeeInfo} msg The msg instance to transform.
|
|
18501
|
+
* @return {!Object}
|
|
18502
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18503
|
+
*/
|
|
18504
|
+
proto.payrollserviceapi.EmployeeInfo.toObject = function(includeInstance, msg) {
|
|
18505
|
+
var f, obj = {
|
|
18506
|
+
employeeid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18507
|
+
fullname: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18508
|
+
tfn: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18509
|
+
employeenumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18510
|
+
recordid: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
18511
|
+
};
|
|
18512
|
+
|
|
18513
|
+
if (includeInstance) {
|
|
18514
|
+
obj.$jspbMessageInstance = msg;
|
|
18515
|
+
}
|
|
18516
|
+
return obj;
|
|
18517
|
+
};
|
|
18518
|
+
}
|
|
18519
|
+
|
|
18520
|
+
|
|
18521
|
+
/**
|
|
18522
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18523
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18524
|
+
* @return {!proto.payrollserviceapi.EmployeeInfo}
|
|
18525
|
+
*/
|
|
18526
|
+
proto.payrollserviceapi.EmployeeInfo.deserializeBinary = function(bytes) {
|
|
18527
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18528
|
+
var msg = new proto.payrollserviceapi.EmployeeInfo;
|
|
18529
|
+
return proto.payrollserviceapi.EmployeeInfo.deserializeBinaryFromReader(msg, reader);
|
|
18530
|
+
};
|
|
18531
|
+
|
|
18532
|
+
|
|
18533
|
+
/**
|
|
18534
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18535
|
+
* given reader into the given message object.
|
|
18536
|
+
* @param {!proto.payrollserviceapi.EmployeeInfo} msg The message object to deserialize into.
|
|
18537
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18538
|
+
* @return {!proto.payrollserviceapi.EmployeeInfo}
|
|
18539
|
+
*/
|
|
18540
|
+
proto.payrollserviceapi.EmployeeInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
18541
|
+
while (reader.nextField()) {
|
|
18542
|
+
if (reader.isEndGroup()) {
|
|
18543
|
+
break;
|
|
18544
|
+
}
|
|
18545
|
+
var field = reader.getFieldNumber();
|
|
18546
|
+
switch (field) {
|
|
18547
|
+
case 1:
|
|
18548
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18549
|
+
msg.setEmployeeid(value);
|
|
18550
|
+
break;
|
|
18551
|
+
case 2:
|
|
18552
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18553
|
+
msg.setFullname(value);
|
|
18554
|
+
break;
|
|
18555
|
+
case 3:
|
|
18556
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18557
|
+
msg.setTfn(value);
|
|
18558
|
+
break;
|
|
18559
|
+
case 4:
|
|
18560
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18561
|
+
msg.setEmployeenumber(value);
|
|
18562
|
+
break;
|
|
18563
|
+
case 5:
|
|
18564
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18565
|
+
msg.setRecordid(value);
|
|
18566
|
+
break;
|
|
18567
|
+
default:
|
|
18568
|
+
reader.skipField();
|
|
18569
|
+
break;
|
|
18570
|
+
}
|
|
18571
|
+
}
|
|
18572
|
+
return msg;
|
|
18573
|
+
};
|
|
18574
|
+
|
|
18575
|
+
|
|
18576
|
+
/**
|
|
18577
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18578
|
+
* @return {!Uint8Array}
|
|
18579
|
+
*/
|
|
18580
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.serializeBinary = function() {
|
|
18581
|
+
var writer = new jspb.BinaryWriter();
|
|
18582
|
+
proto.payrollserviceapi.EmployeeInfo.serializeBinaryToWriter(this, writer);
|
|
18583
|
+
return writer.getResultBuffer();
|
|
18584
|
+
};
|
|
18585
|
+
|
|
18586
|
+
|
|
18587
|
+
/**
|
|
18588
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18589
|
+
* format), writing to the given BinaryWriter.
|
|
18590
|
+
* @param {!proto.payrollserviceapi.EmployeeInfo} message
|
|
18591
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18592
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18593
|
+
*/
|
|
18594
|
+
proto.payrollserviceapi.EmployeeInfo.serializeBinaryToWriter = function(message, writer) {
|
|
18595
|
+
var f = undefined;
|
|
18596
|
+
f = message.getEmployeeid();
|
|
18597
|
+
if (f !== 0) {
|
|
18598
|
+
writer.writeInt64(
|
|
18599
|
+
1,
|
|
18600
|
+
f
|
|
18601
|
+
);
|
|
18602
|
+
}
|
|
18603
|
+
f = message.getFullname();
|
|
18604
|
+
if (f.length > 0) {
|
|
18605
|
+
writer.writeString(
|
|
18606
|
+
2,
|
|
18607
|
+
f
|
|
18608
|
+
);
|
|
18609
|
+
}
|
|
18610
|
+
f = message.getTfn();
|
|
18611
|
+
if (f.length > 0) {
|
|
18612
|
+
writer.writeString(
|
|
18613
|
+
3,
|
|
18614
|
+
f
|
|
18615
|
+
);
|
|
18616
|
+
}
|
|
18617
|
+
f = message.getEmployeenumber();
|
|
18618
|
+
if (f.length > 0) {
|
|
18619
|
+
writer.writeString(
|
|
18620
|
+
4,
|
|
18621
|
+
f
|
|
18622
|
+
);
|
|
18623
|
+
}
|
|
18624
|
+
f = message.getRecordid();
|
|
18625
|
+
if (f !== 0) {
|
|
18626
|
+
writer.writeInt64(
|
|
18627
|
+
5,
|
|
18628
|
+
f
|
|
18629
|
+
);
|
|
18630
|
+
}
|
|
18631
|
+
};
|
|
18632
|
+
|
|
18633
|
+
|
|
18634
|
+
/**
|
|
18635
|
+
* optional int64 employeeId = 1;
|
|
18636
|
+
* @return {number}
|
|
18637
|
+
*/
|
|
18638
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.getEmployeeid = function() {
|
|
18639
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18640
|
+
};
|
|
18641
|
+
|
|
18642
|
+
|
|
18643
|
+
/**
|
|
18644
|
+
* @param {number} value
|
|
18645
|
+
* @return {!proto.payrollserviceapi.EmployeeInfo} returns this
|
|
18646
|
+
*/
|
|
18647
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.setEmployeeid = function(value) {
|
|
18648
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
18649
|
+
};
|
|
18650
|
+
|
|
18651
|
+
|
|
18652
|
+
/**
|
|
18653
|
+
* optional string fullName = 2;
|
|
18654
|
+
* @return {string}
|
|
18655
|
+
*/
|
|
18656
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.getFullname = function() {
|
|
18657
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
18658
|
+
};
|
|
18659
|
+
|
|
18660
|
+
|
|
18661
|
+
/**
|
|
18662
|
+
* @param {string} value
|
|
18663
|
+
* @return {!proto.payrollserviceapi.EmployeeInfo} returns this
|
|
18664
|
+
*/
|
|
18665
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.setFullname = function(value) {
|
|
18666
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
18667
|
+
};
|
|
18668
|
+
|
|
18669
|
+
|
|
18670
|
+
/**
|
|
18671
|
+
* optional string tfn = 3;
|
|
18672
|
+
* @return {string}
|
|
18673
|
+
*/
|
|
18674
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.getTfn = function() {
|
|
18675
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
18676
|
+
};
|
|
18677
|
+
|
|
18678
|
+
|
|
18679
|
+
/**
|
|
18680
|
+
* @param {string} value
|
|
18681
|
+
* @return {!proto.payrollserviceapi.EmployeeInfo} returns this
|
|
18682
|
+
*/
|
|
18683
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.setTfn = function(value) {
|
|
18684
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
18685
|
+
};
|
|
18686
|
+
|
|
18687
|
+
|
|
18688
|
+
/**
|
|
18689
|
+
* optional string employeeNumber = 4;
|
|
18690
|
+
* @return {string}
|
|
18691
|
+
*/
|
|
18692
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.getEmployeenumber = function() {
|
|
18693
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
18694
|
+
};
|
|
18695
|
+
|
|
18696
|
+
|
|
18697
|
+
/**
|
|
18698
|
+
* @param {string} value
|
|
18699
|
+
* @return {!proto.payrollserviceapi.EmployeeInfo} returns this
|
|
18700
|
+
*/
|
|
18701
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.setEmployeenumber = function(value) {
|
|
18702
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
18703
|
+
};
|
|
18704
|
+
|
|
18705
|
+
|
|
18706
|
+
/**
|
|
18707
|
+
* optional int64 recordId = 5;
|
|
18708
|
+
* @return {number}
|
|
18709
|
+
*/
|
|
18710
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.getRecordid = function() {
|
|
18711
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
18712
|
+
};
|
|
18713
|
+
|
|
18714
|
+
|
|
18715
|
+
/**
|
|
18716
|
+
* @param {number} value
|
|
18717
|
+
* @return {!proto.payrollserviceapi.EmployeeInfo} returns this
|
|
18718
|
+
*/
|
|
18719
|
+
proto.payrollserviceapi.EmployeeInfo.prototype.setRecordid = function(value) {
|
|
18720
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
18721
|
+
};
|
|
18722
|
+
|
|
18723
|
+
|
|
18724
|
+
|
|
18040
18725
|
|
|
18041
18726
|
|
|
18042
18727
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|