@sniipwebmaster/payroll-service-client-grpcweb 25.11.770 → 25.11.776
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.
- package/dependancies/service_pb.js +436 -74
- package/package.json +1 -1
|
@@ -55,6 +55,7 @@ goog.exportSymbol('proto.payrollserviceapi.DownloadErrorLogFileRequest', null, g
|
|
|
55
55
|
goog.exportSymbol('proto.payrollserviceapi.DownloadErrorLogFileResponse', null, global);
|
|
56
56
|
goog.exportSymbol('proto.payrollserviceapi.DownloadReceiptCsvForAbaRecordRequest', null, global);
|
|
57
57
|
goog.exportSymbol('proto.payrollserviceapi.DownloadReceiptsCsvForClientInPeriodRequest', null, global);
|
|
58
|
+
goog.exportSymbol('proto.payrollserviceapi.DuplicateEmployeeSummary', null, global);
|
|
58
59
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeBankAccountInfo', null, global);
|
|
59
60
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeBankAccountInfoRequest', null, global);
|
|
60
61
|
goog.exportSymbol('proto.payrollserviceapi.EmployeeCsvFileStatus', null, global);
|
|
@@ -183,7 +184,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
183
184
|
* @constructor
|
|
184
185
|
*/
|
|
185
186
|
proto.payrollserviceapi.ABARecord = function(opt_data) {
|
|
186
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
187
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
187
188
|
};
|
|
188
189
|
goog.inherits(proto.payrollserviceapi.ABARecord, jspb.Message);
|
|
189
190
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1432,6 +1433,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1432
1433
|
*/
|
|
1433
1434
|
proto.payrollserviceapi.EmployeeSummary.displayName = 'proto.payrollserviceapi.EmployeeSummary';
|
|
1434
1435
|
}
|
|
1436
|
+
/**
|
|
1437
|
+
* Generated by JsPbCodeGenerator.
|
|
1438
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1439
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1440
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1441
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1442
|
+
* valid.
|
|
1443
|
+
* @extends {jspb.Message}
|
|
1444
|
+
* @constructor
|
|
1445
|
+
*/
|
|
1446
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary = function(opt_data) {
|
|
1447
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1448
|
+
};
|
|
1449
|
+
goog.inherits(proto.payrollserviceapi.DuplicateEmployeeSummary, jspb.Message);
|
|
1450
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1451
|
+
/**
|
|
1452
|
+
* @public
|
|
1453
|
+
* @override
|
|
1454
|
+
*/
|
|
1455
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.displayName = 'proto.payrollserviceapi.DuplicateEmployeeSummary';
|
|
1456
|
+
}
|
|
1435
1457
|
/**
|
|
1436
1458
|
* Generated by JsPbCodeGenerator.
|
|
1437
1459
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2672,13 +2694,6 @@ proto.payrollserviceapi.ImportABAFileInternalRequest.prototype.setDisplayName =
|
|
|
2672
2694
|
|
|
2673
2695
|
|
|
2674
2696
|
|
|
2675
|
-
/**
|
|
2676
|
-
* List of repeated fields within this message type.
|
|
2677
|
-
* @private {!Array<number>}
|
|
2678
|
-
* @const
|
|
2679
|
-
*/
|
|
2680
|
-
proto.payrollserviceapi.ABARecord.repeatedFields_ = [13];
|
|
2681
|
-
|
|
2682
2697
|
|
|
2683
2698
|
|
|
2684
2699
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2721,9 +2736,7 @@ proto.payrollserviceapi.ABARecord.toObject = function(includeInstance, msg) {
|
|
|
2721
2736
|
employeeNumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2722
2737
|
billerCode: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2723
2738
|
errorMessage: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2724
|
-
reference: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
2725
|
-
duplicateEmployeesList: jspb.Message.toObjectList(msg.getDuplicateEmployeesList(),
|
|
2726
|
-
proto.payrollserviceapi.EmployeeSummary.toObject, includeInstance)
|
|
2739
|
+
reference: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
2727
2740
|
};
|
|
2728
2741
|
|
|
2729
2742
|
if (includeInstance) {
|
|
@@ -2808,11 +2821,6 @@ proto.payrollserviceapi.ABARecord.deserializeBinaryFromReader = function(msg, re
|
|
|
2808
2821
|
var value = /** @type {string} */ (reader.readString());
|
|
2809
2822
|
msg.setReference(value);
|
|
2810
2823
|
break;
|
|
2811
|
-
case 13:
|
|
2812
|
-
var value = new proto.payrollserviceapi.EmployeeSummary;
|
|
2813
|
-
reader.readMessage(value,proto.payrollserviceapi.EmployeeSummary.deserializeBinaryFromReader);
|
|
2814
|
-
msg.addDuplicateEmployees(value);
|
|
2815
|
-
break;
|
|
2816
2824
|
default:
|
|
2817
2825
|
reader.skipField();
|
|
2818
2826
|
break;
|
|
@@ -2926,14 +2934,6 @@ proto.payrollserviceapi.ABARecord.serializeBinaryToWriter = function(message, wr
|
|
|
2926
2934
|
f
|
|
2927
2935
|
);
|
|
2928
2936
|
}
|
|
2929
|
-
f = message.getDuplicateEmployeesList();
|
|
2930
|
-
if (f.length > 0) {
|
|
2931
|
-
writer.writeRepeatedMessage(
|
|
2932
|
-
13,
|
|
2933
|
-
f,
|
|
2934
|
-
proto.payrollserviceapi.EmployeeSummary.serializeBinaryToWriter
|
|
2935
|
-
);
|
|
2936
|
-
}
|
|
2937
2937
|
};
|
|
2938
2938
|
|
|
2939
2939
|
|
|
@@ -3153,44 +3153,6 @@ proto.payrollserviceapi.ABARecord.prototype.setReference = function(value) {
|
|
|
3153
3153
|
};
|
|
3154
3154
|
|
|
3155
3155
|
|
|
3156
|
-
/**
|
|
3157
|
-
* repeated EmployeeSummary duplicate_employees = 13;
|
|
3158
|
-
* @return {!Array<!proto.payrollserviceapi.EmployeeSummary>}
|
|
3159
|
-
*/
|
|
3160
|
-
proto.payrollserviceapi.ABARecord.prototype.getDuplicateEmployeesList = function() {
|
|
3161
|
-
return /** @type{!Array<!proto.payrollserviceapi.EmployeeSummary>} */ (
|
|
3162
|
-
jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.EmployeeSummary, 13));
|
|
3163
|
-
};
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
/**
|
|
3167
|
-
* @param {!Array<!proto.payrollserviceapi.EmployeeSummary>} value
|
|
3168
|
-
* @return {!proto.payrollserviceapi.ABARecord} returns this
|
|
3169
|
-
*/
|
|
3170
|
-
proto.payrollserviceapi.ABARecord.prototype.setDuplicateEmployeesList = function(value) {
|
|
3171
|
-
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
3172
|
-
};
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
/**
|
|
3176
|
-
* @param {!proto.payrollserviceapi.EmployeeSummary=} opt_value
|
|
3177
|
-
* @param {number=} opt_index
|
|
3178
|
-
* @return {!proto.payrollserviceapi.EmployeeSummary}
|
|
3179
|
-
*/
|
|
3180
|
-
proto.payrollserviceapi.ABARecord.prototype.addDuplicateEmployees = function(opt_value, opt_index) {
|
|
3181
|
-
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.payrollserviceapi.EmployeeSummary, opt_index);
|
|
3182
|
-
};
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
/**
|
|
3186
|
-
* Clears the list making it empty but non-null.
|
|
3187
|
-
* @return {!proto.payrollserviceapi.ABARecord} returns this
|
|
3188
|
-
*/
|
|
3189
|
-
proto.payrollserviceapi.ABARecord.prototype.clearDuplicateEmployeesList = function() {
|
|
3190
|
-
return this.setDuplicateEmployeesList([]);
|
|
3191
|
-
};
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
3156
|
|
|
3195
3157
|
|
|
3196
3158
|
|
|
@@ -10139,7 +10101,7 @@ proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse.toObject = functio
|
|
|
10139
10101
|
var f, obj = {
|
|
10140
10102
|
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
10141
10103
|
duplicateEmployeesList: jspb.Message.toObjectList(msg.getDuplicateEmployeesList(),
|
|
10142
|
-
proto.payrollserviceapi.
|
|
10104
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.toObject, includeInstance)
|
|
10143
10105
|
};
|
|
10144
10106
|
|
|
10145
10107
|
if (includeInstance) {
|
|
@@ -10182,8 +10144,8 @@ proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse.deserializeBinaryF
|
|
|
10182
10144
|
msg.setResponsecode(value);
|
|
10183
10145
|
break;
|
|
10184
10146
|
case 2:
|
|
10185
|
-
var value = new proto.payrollserviceapi.
|
|
10186
|
-
reader.readMessage(value,proto.payrollserviceapi.
|
|
10147
|
+
var value = new proto.payrollserviceapi.DuplicateEmployeeSummary;
|
|
10148
|
+
reader.readMessage(value,proto.payrollserviceapi.DuplicateEmployeeSummary.deserializeBinaryFromReader);
|
|
10187
10149
|
msg.addDuplicateEmployees(value);
|
|
10188
10150
|
break;
|
|
10189
10151
|
default:
|
|
@@ -10228,7 +10190,7 @@ proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse.serializeBinaryToW
|
|
|
10228
10190
|
writer.writeRepeatedMessage(
|
|
10229
10191
|
2,
|
|
10230
10192
|
f,
|
|
10231
|
-
proto.payrollserviceapi.
|
|
10193
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.serializeBinaryToWriter
|
|
10232
10194
|
);
|
|
10233
10195
|
}
|
|
10234
10196
|
};
|
|
@@ -10272,17 +10234,17 @@ proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse.prototype.hasRespo
|
|
|
10272
10234
|
|
|
10273
10235
|
|
|
10274
10236
|
/**
|
|
10275
|
-
* repeated
|
|
10276
|
-
* @return {!Array<!proto.payrollserviceapi.
|
|
10237
|
+
* repeated DuplicateEmployeeSummary duplicate_employees = 2;
|
|
10238
|
+
* @return {!Array<!proto.payrollserviceapi.DuplicateEmployeeSummary>}
|
|
10277
10239
|
*/
|
|
10278
10240
|
proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse.prototype.getDuplicateEmployeesList = function() {
|
|
10279
|
-
return /** @type{!Array<!proto.payrollserviceapi.
|
|
10280
|
-
jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.
|
|
10241
|
+
return /** @type{!Array<!proto.payrollserviceapi.DuplicateEmployeeSummary>} */ (
|
|
10242
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.DuplicateEmployeeSummary, 2));
|
|
10281
10243
|
};
|
|
10282
10244
|
|
|
10283
10245
|
|
|
10284
10246
|
/**
|
|
10285
|
-
* @param {!Array<!proto.payrollserviceapi.
|
|
10247
|
+
* @param {!Array<!proto.payrollserviceapi.DuplicateEmployeeSummary>} value
|
|
10286
10248
|
* @return {!proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse} returns this
|
|
10287
10249
|
*/
|
|
10288
10250
|
proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse.prototype.setDuplicateEmployeesList = function(value) {
|
|
@@ -10291,12 +10253,12 @@ proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse.prototype.setDupli
|
|
|
10291
10253
|
|
|
10292
10254
|
|
|
10293
10255
|
/**
|
|
10294
|
-
* @param {!proto.payrollserviceapi.
|
|
10256
|
+
* @param {!proto.payrollserviceapi.DuplicateEmployeeSummary=} opt_value
|
|
10295
10257
|
* @param {number=} opt_index
|
|
10296
|
-
* @return {!proto.payrollserviceapi.
|
|
10258
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary}
|
|
10297
10259
|
*/
|
|
10298
10260
|
proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse.prototype.addDuplicateEmployees = function(opt_value, opt_index) {
|
|
10299
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.
|
|
10261
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.DuplicateEmployeeSummary, opt_index);
|
|
10300
10262
|
};
|
|
10301
10263
|
|
|
10302
10264
|
|
|
@@ -18297,6 +18259,406 @@ proto.payrollserviceapi.EmployeeSummary.prototype.setUpdatedAt = function(value)
|
|
|
18297
18259
|
|
|
18298
18260
|
|
|
18299
18261
|
|
|
18262
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18263
|
+
/**
|
|
18264
|
+
* Creates an object representation of this proto.
|
|
18265
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18266
|
+
* Optional fields that are not set will be set to undefined.
|
|
18267
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18268
|
+
* For the list of reserved names please see:
|
|
18269
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18270
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18271
|
+
* JSPB instance for transitional soy proto support:
|
|
18272
|
+
* http://goto/soy-param-migration
|
|
18273
|
+
* @return {!Object}
|
|
18274
|
+
*/
|
|
18275
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.toObject = function(opt_includeInstance) {
|
|
18276
|
+
return proto.payrollserviceapi.DuplicateEmployeeSummary.toObject(opt_includeInstance, this);
|
|
18277
|
+
};
|
|
18278
|
+
|
|
18279
|
+
|
|
18280
|
+
/**
|
|
18281
|
+
* Static version of the {@see toObject} method.
|
|
18282
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18283
|
+
* the JSPB instance for transitional soy proto support:
|
|
18284
|
+
* http://goto/soy-param-migration
|
|
18285
|
+
* @param {!proto.payrollserviceapi.DuplicateEmployeeSummary} msg The msg instance to transform.
|
|
18286
|
+
* @return {!Object}
|
|
18287
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18288
|
+
*/
|
|
18289
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.toObject = function(includeInstance, msg) {
|
|
18290
|
+
var f, obj = {
|
|
18291
|
+
employeeId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18292
|
+
businessId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
18293
|
+
employeeNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18294
|
+
firstName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18295
|
+
lastName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
18296
|
+
taxFileNumber: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
18297
|
+
bankAccountsCount: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
18298
|
+
employeeBankAccountStatus: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
18299
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
18300
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
18301
|
+
};
|
|
18302
|
+
|
|
18303
|
+
if (includeInstance) {
|
|
18304
|
+
obj.$jspbMessageInstance = msg;
|
|
18305
|
+
}
|
|
18306
|
+
return obj;
|
|
18307
|
+
};
|
|
18308
|
+
}
|
|
18309
|
+
|
|
18310
|
+
|
|
18311
|
+
/**
|
|
18312
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18313
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18314
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary}
|
|
18315
|
+
*/
|
|
18316
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.deserializeBinary = function(bytes) {
|
|
18317
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18318
|
+
var msg = new proto.payrollserviceapi.DuplicateEmployeeSummary;
|
|
18319
|
+
return proto.payrollserviceapi.DuplicateEmployeeSummary.deserializeBinaryFromReader(msg, reader);
|
|
18320
|
+
};
|
|
18321
|
+
|
|
18322
|
+
|
|
18323
|
+
/**
|
|
18324
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18325
|
+
* given reader into the given message object.
|
|
18326
|
+
* @param {!proto.payrollserviceapi.DuplicateEmployeeSummary} msg The message object to deserialize into.
|
|
18327
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18328
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary}
|
|
18329
|
+
*/
|
|
18330
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.deserializeBinaryFromReader = function(msg, reader) {
|
|
18331
|
+
while (reader.nextField()) {
|
|
18332
|
+
if (reader.isEndGroup()) {
|
|
18333
|
+
break;
|
|
18334
|
+
}
|
|
18335
|
+
var field = reader.getFieldNumber();
|
|
18336
|
+
switch (field) {
|
|
18337
|
+
case 1:
|
|
18338
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18339
|
+
msg.setEmployeeId(value);
|
|
18340
|
+
break;
|
|
18341
|
+
case 2:
|
|
18342
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18343
|
+
msg.setBusinessId(value);
|
|
18344
|
+
break;
|
|
18345
|
+
case 3:
|
|
18346
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18347
|
+
msg.setEmployeeNumber(value);
|
|
18348
|
+
break;
|
|
18349
|
+
case 4:
|
|
18350
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18351
|
+
msg.setFirstName(value);
|
|
18352
|
+
break;
|
|
18353
|
+
case 5:
|
|
18354
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18355
|
+
msg.setLastName(value);
|
|
18356
|
+
break;
|
|
18357
|
+
case 6:
|
|
18358
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18359
|
+
msg.setTaxFileNumber(value);
|
|
18360
|
+
break;
|
|
18361
|
+
case 7:
|
|
18362
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
18363
|
+
msg.setBankAccountsCount(value);
|
|
18364
|
+
break;
|
|
18365
|
+
case 8:
|
|
18366
|
+
var value = /** @type {!proto.payrollserviceapi.BankAccountStatus} */ (reader.readEnum());
|
|
18367
|
+
msg.setEmployeeBankAccountStatus(value);
|
|
18368
|
+
break;
|
|
18369
|
+
case 10:
|
|
18370
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18371
|
+
msg.setCreatedAt(value);
|
|
18372
|
+
break;
|
|
18373
|
+
case 11:
|
|
18374
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18375
|
+
msg.setUpdatedAt(value);
|
|
18376
|
+
break;
|
|
18377
|
+
default:
|
|
18378
|
+
reader.skipField();
|
|
18379
|
+
break;
|
|
18380
|
+
}
|
|
18381
|
+
}
|
|
18382
|
+
return msg;
|
|
18383
|
+
};
|
|
18384
|
+
|
|
18385
|
+
|
|
18386
|
+
/**
|
|
18387
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18388
|
+
* @return {!Uint8Array}
|
|
18389
|
+
*/
|
|
18390
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.serializeBinary = function() {
|
|
18391
|
+
var writer = new jspb.BinaryWriter();
|
|
18392
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.serializeBinaryToWriter(this, writer);
|
|
18393
|
+
return writer.getResultBuffer();
|
|
18394
|
+
};
|
|
18395
|
+
|
|
18396
|
+
|
|
18397
|
+
/**
|
|
18398
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18399
|
+
* format), writing to the given BinaryWriter.
|
|
18400
|
+
* @param {!proto.payrollserviceapi.DuplicateEmployeeSummary} message
|
|
18401
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18402
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18403
|
+
*/
|
|
18404
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.serializeBinaryToWriter = function(message, writer) {
|
|
18405
|
+
var f = undefined;
|
|
18406
|
+
f = message.getEmployeeId();
|
|
18407
|
+
if (f !== 0) {
|
|
18408
|
+
writer.writeInt64(
|
|
18409
|
+
1,
|
|
18410
|
+
f
|
|
18411
|
+
);
|
|
18412
|
+
}
|
|
18413
|
+
f = message.getBusinessId();
|
|
18414
|
+
if (f !== 0) {
|
|
18415
|
+
writer.writeInt64(
|
|
18416
|
+
2,
|
|
18417
|
+
f
|
|
18418
|
+
);
|
|
18419
|
+
}
|
|
18420
|
+
f = message.getEmployeeNumber();
|
|
18421
|
+
if (f.length > 0) {
|
|
18422
|
+
writer.writeString(
|
|
18423
|
+
3,
|
|
18424
|
+
f
|
|
18425
|
+
);
|
|
18426
|
+
}
|
|
18427
|
+
f = message.getFirstName();
|
|
18428
|
+
if (f.length > 0) {
|
|
18429
|
+
writer.writeString(
|
|
18430
|
+
4,
|
|
18431
|
+
f
|
|
18432
|
+
);
|
|
18433
|
+
}
|
|
18434
|
+
f = message.getLastName();
|
|
18435
|
+
if (f.length > 0) {
|
|
18436
|
+
writer.writeString(
|
|
18437
|
+
5,
|
|
18438
|
+
f
|
|
18439
|
+
);
|
|
18440
|
+
}
|
|
18441
|
+
f = message.getTaxFileNumber();
|
|
18442
|
+
if (f.length > 0) {
|
|
18443
|
+
writer.writeString(
|
|
18444
|
+
6,
|
|
18445
|
+
f
|
|
18446
|
+
);
|
|
18447
|
+
}
|
|
18448
|
+
f = message.getBankAccountsCount();
|
|
18449
|
+
if (f !== 0) {
|
|
18450
|
+
writer.writeInt32(
|
|
18451
|
+
7,
|
|
18452
|
+
f
|
|
18453
|
+
);
|
|
18454
|
+
}
|
|
18455
|
+
f = message.getEmployeeBankAccountStatus();
|
|
18456
|
+
if (f !== 0.0) {
|
|
18457
|
+
writer.writeEnum(
|
|
18458
|
+
8,
|
|
18459
|
+
f
|
|
18460
|
+
);
|
|
18461
|
+
}
|
|
18462
|
+
f = message.getCreatedAt();
|
|
18463
|
+
if (f.length > 0) {
|
|
18464
|
+
writer.writeString(
|
|
18465
|
+
10,
|
|
18466
|
+
f
|
|
18467
|
+
);
|
|
18468
|
+
}
|
|
18469
|
+
f = message.getUpdatedAt();
|
|
18470
|
+
if (f.length > 0) {
|
|
18471
|
+
writer.writeString(
|
|
18472
|
+
11,
|
|
18473
|
+
f
|
|
18474
|
+
);
|
|
18475
|
+
}
|
|
18476
|
+
};
|
|
18477
|
+
|
|
18478
|
+
|
|
18479
|
+
/**
|
|
18480
|
+
* optional int64 employee_id = 1;
|
|
18481
|
+
* @return {number}
|
|
18482
|
+
*/
|
|
18483
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getEmployeeId = function() {
|
|
18484
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18485
|
+
};
|
|
18486
|
+
|
|
18487
|
+
|
|
18488
|
+
/**
|
|
18489
|
+
* @param {number} value
|
|
18490
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18491
|
+
*/
|
|
18492
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setEmployeeId = function(value) {
|
|
18493
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
18494
|
+
};
|
|
18495
|
+
|
|
18496
|
+
|
|
18497
|
+
/**
|
|
18498
|
+
* optional int64 business_id = 2;
|
|
18499
|
+
* @return {number}
|
|
18500
|
+
*/
|
|
18501
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getBusinessId = function() {
|
|
18502
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
18503
|
+
};
|
|
18504
|
+
|
|
18505
|
+
|
|
18506
|
+
/**
|
|
18507
|
+
* @param {number} value
|
|
18508
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18509
|
+
*/
|
|
18510
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setBusinessId = function(value) {
|
|
18511
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
18512
|
+
};
|
|
18513
|
+
|
|
18514
|
+
|
|
18515
|
+
/**
|
|
18516
|
+
* optional string employee_number = 3;
|
|
18517
|
+
* @return {string}
|
|
18518
|
+
*/
|
|
18519
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getEmployeeNumber = function() {
|
|
18520
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
18521
|
+
};
|
|
18522
|
+
|
|
18523
|
+
|
|
18524
|
+
/**
|
|
18525
|
+
* @param {string} value
|
|
18526
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18527
|
+
*/
|
|
18528
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setEmployeeNumber = function(value) {
|
|
18529
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
18530
|
+
};
|
|
18531
|
+
|
|
18532
|
+
|
|
18533
|
+
/**
|
|
18534
|
+
* optional string first_name = 4;
|
|
18535
|
+
* @return {string}
|
|
18536
|
+
*/
|
|
18537
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getFirstName = function() {
|
|
18538
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
18539
|
+
};
|
|
18540
|
+
|
|
18541
|
+
|
|
18542
|
+
/**
|
|
18543
|
+
* @param {string} value
|
|
18544
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18545
|
+
*/
|
|
18546
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setFirstName = function(value) {
|
|
18547
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
18548
|
+
};
|
|
18549
|
+
|
|
18550
|
+
|
|
18551
|
+
/**
|
|
18552
|
+
* optional string last_name = 5;
|
|
18553
|
+
* @return {string}
|
|
18554
|
+
*/
|
|
18555
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getLastName = function() {
|
|
18556
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
18557
|
+
};
|
|
18558
|
+
|
|
18559
|
+
|
|
18560
|
+
/**
|
|
18561
|
+
* @param {string} value
|
|
18562
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18563
|
+
*/
|
|
18564
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setLastName = function(value) {
|
|
18565
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
18566
|
+
};
|
|
18567
|
+
|
|
18568
|
+
|
|
18569
|
+
/**
|
|
18570
|
+
* optional string tax_file_number = 6;
|
|
18571
|
+
* @return {string}
|
|
18572
|
+
*/
|
|
18573
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getTaxFileNumber = function() {
|
|
18574
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
18575
|
+
};
|
|
18576
|
+
|
|
18577
|
+
|
|
18578
|
+
/**
|
|
18579
|
+
* @param {string} value
|
|
18580
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18581
|
+
*/
|
|
18582
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setTaxFileNumber = function(value) {
|
|
18583
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
18584
|
+
};
|
|
18585
|
+
|
|
18586
|
+
|
|
18587
|
+
/**
|
|
18588
|
+
* optional int32 bank_accounts_count = 7;
|
|
18589
|
+
* @return {number}
|
|
18590
|
+
*/
|
|
18591
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getBankAccountsCount = function() {
|
|
18592
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
18593
|
+
};
|
|
18594
|
+
|
|
18595
|
+
|
|
18596
|
+
/**
|
|
18597
|
+
* @param {number} value
|
|
18598
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18599
|
+
*/
|
|
18600
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setBankAccountsCount = function(value) {
|
|
18601
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
18602
|
+
};
|
|
18603
|
+
|
|
18604
|
+
|
|
18605
|
+
/**
|
|
18606
|
+
* optional BankAccountStatus employee_bank_account_status = 8;
|
|
18607
|
+
* @return {!proto.payrollserviceapi.BankAccountStatus}
|
|
18608
|
+
*/
|
|
18609
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getEmployeeBankAccountStatus = function() {
|
|
18610
|
+
return /** @type {!proto.payrollserviceapi.BankAccountStatus} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
18611
|
+
};
|
|
18612
|
+
|
|
18613
|
+
|
|
18614
|
+
/**
|
|
18615
|
+
* @param {!proto.payrollserviceapi.BankAccountStatus} value
|
|
18616
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18617
|
+
*/
|
|
18618
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setEmployeeBankAccountStatus = function(value) {
|
|
18619
|
+
return jspb.Message.setProto3EnumField(this, 8, value);
|
|
18620
|
+
};
|
|
18621
|
+
|
|
18622
|
+
|
|
18623
|
+
/**
|
|
18624
|
+
* optional string created_at = 10;
|
|
18625
|
+
* @return {string}
|
|
18626
|
+
*/
|
|
18627
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getCreatedAt = function() {
|
|
18628
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
18629
|
+
};
|
|
18630
|
+
|
|
18631
|
+
|
|
18632
|
+
/**
|
|
18633
|
+
* @param {string} value
|
|
18634
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18635
|
+
*/
|
|
18636
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setCreatedAt = function(value) {
|
|
18637
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
18638
|
+
};
|
|
18639
|
+
|
|
18640
|
+
|
|
18641
|
+
/**
|
|
18642
|
+
* optional string updated_at = 11;
|
|
18643
|
+
* @return {string}
|
|
18644
|
+
*/
|
|
18645
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.getUpdatedAt = function() {
|
|
18646
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
18647
|
+
};
|
|
18648
|
+
|
|
18649
|
+
|
|
18650
|
+
/**
|
|
18651
|
+
* @param {string} value
|
|
18652
|
+
* @return {!proto.payrollserviceapi.DuplicateEmployeeSummary} returns this
|
|
18653
|
+
*/
|
|
18654
|
+
proto.payrollserviceapi.DuplicateEmployeeSummary.prototype.setUpdatedAt = function(value) {
|
|
18655
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
18656
|
+
};
|
|
18657
|
+
|
|
18658
|
+
|
|
18659
|
+
|
|
18660
|
+
|
|
18661
|
+
|
|
18300
18662
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
18301
18663
|
/**
|
|
18302
18664
|
* Creates an object representation of this proto.
|