@sniipwebmaster/payroll-service-client-grpcweb 25.7.35 → 25.7.47
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_grpc_web_pb.js +61 -0
- package/dependancies/service_pb.js +2102 -35
- package/package.json +1 -1
|
@@ -27,6 +27,7 @@ goog.exportSymbol('proto.payrollserviceapi.ABAFileDetails', null, global);
|
|
|
27
27
|
goog.exportSymbol('proto.payrollserviceapi.ABAFileSummary', null, global);
|
|
28
28
|
goog.exportSymbol('proto.payrollserviceapi.ABARecord', null, global);
|
|
29
29
|
goog.exportSymbol('proto.payrollserviceapi.ABARecordDetail', null, global);
|
|
30
|
+
goog.exportSymbol('proto.payrollserviceapi.AgentUserRelationship', null, global);
|
|
30
31
|
goog.exportSymbol('proto.payrollserviceapi.BulkImportEmployeesRequest', null, global);
|
|
31
32
|
goog.exportSymbol('proto.payrollserviceapi.BulkImportEmployeesResponse', null, global);
|
|
32
33
|
goog.exportSymbol('proto.payrollserviceapi.BusinessDetails', null, global);
|
|
@@ -49,6 +50,8 @@ goog.exportSymbol('proto.payrollserviceapi.ExecutePayrollWorkflowRequest', null,
|
|
|
49
50
|
goog.exportSymbol('proto.payrollserviceapi.ExecutePayrollWorkflowResponse', null, global);
|
|
50
51
|
goog.exportSymbol('proto.payrollserviceapi.GetABAFileDetailsRequest', null, global);
|
|
51
52
|
goog.exportSymbol('proto.payrollserviceapi.GetABAFileDetailsResponse', null, global);
|
|
53
|
+
goog.exportSymbol('proto.payrollserviceapi.GetAgentUserRelationshipsRequest', null, global);
|
|
54
|
+
goog.exportSymbol('proto.payrollserviceapi.GetAgentUserRelationshipsResponse', null, global);
|
|
52
55
|
goog.exportSymbol('proto.payrollserviceapi.GetBatchDetailsRequest', null, global);
|
|
53
56
|
goog.exportSymbol('proto.payrollserviceapi.GetBatchDetailsResponse', null, global);
|
|
54
57
|
goog.exportSymbol('proto.payrollserviceapi.GetBusinessRequest', null, global);
|
|
@@ -1167,6 +1170,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1167
1170
|
*/
|
|
1168
1171
|
proto.payrollserviceapi.CalculateWomensSalaryResponse.displayName = 'proto.payrollserviceapi.CalculateWomensSalaryResponse';
|
|
1169
1172
|
}
|
|
1173
|
+
/**
|
|
1174
|
+
* Generated by JsPbCodeGenerator.
|
|
1175
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1176
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1177
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1178
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1179
|
+
* valid.
|
|
1180
|
+
* @extends {jspb.Message}
|
|
1181
|
+
* @constructor
|
|
1182
|
+
*/
|
|
1183
|
+
proto.payrollserviceapi.AgentUserRelationship = function(opt_data) {
|
|
1184
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1185
|
+
};
|
|
1186
|
+
goog.inherits(proto.payrollserviceapi.AgentUserRelationship, jspb.Message);
|
|
1187
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1188
|
+
/**
|
|
1189
|
+
* @public
|
|
1190
|
+
* @override
|
|
1191
|
+
*/
|
|
1192
|
+
proto.payrollserviceapi.AgentUserRelationship.displayName = 'proto.payrollserviceapi.AgentUserRelationship';
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* Generated by JsPbCodeGenerator.
|
|
1196
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1197
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1198
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1199
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1200
|
+
* valid.
|
|
1201
|
+
* @extends {jspb.Message}
|
|
1202
|
+
* @constructor
|
|
1203
|
+
*/
|
|
1204
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest = function(opt_data) {
|
|
1205
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1206
|
+
};
|
|
1207
|
+
goog.inherits(proto.payrollserviceapi.GetAgentUserRelationshipsRequest, jspb.Message);
|
|
1208
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1209
|
+
/**
|
|
1210
|
+
* @public
|
|
1211
|
+
* @override
|
|
1212
|
+
*/
|
|
1213
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.displayName = 'proto.payrollserviceapi.GetAgentUserRelationshipsRequest';
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* Generated by JsPbCodeGenerator.
|
|
1217
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1218
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1219
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1220
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1221
|
+
* valid.
|
|
1222
|
+
* @extends {jspb.Message}
|
|
1223
|
+
* @constructor
|
|
1224
|
+
*/
|
|
1225
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse = function(opt_data) {
|
|
1226
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.GetAgentUserRelationshipsResponse.repeatedFields_, null);
|
|
1227
|
+
};
|
|
1228
|
+
goog.inherits(proto.payrollserviceapi.GetAgentUserRelationshipsResponse, jspb.Message);
|
|
1229
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1230
|
+
/**
|
|
1231
|
+
* @public
|
|
1232
|
+
* @override
|
|
1233
|
+
*/
|
|
1234
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.displayName = 'proto.payrollserviceapi.GetAgentUserRelationshipsResponse';
|
|
1235
|
+
}
|
|
1170
1236
|
|
|
1171
1237
|
|
|
1172
1238
|
|
|
@@ -1362,7 +1428,9 @@ proto.payrollserviceapi.ImportABAFileRequest.toObject = function(includeInstance
|
|
|
1362
1428
|
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1363
1429
|
userId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1364
1430
|
fileContent: msg.getFileContent_asB64(),
|
|
1365
|
-
fileName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1431
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1432
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1433
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
1366
1434
|
};
|
|
1367
1435
|
|
|
1368
1436
|
if (includeInstance) {
|
|
@@ -1415,6 +1483,14 @@ proto.payrollserviceapi.ImportABAFileRequest.deserializeBinaryFromReader = funct
|
|
|
1415
1483
|
var value = /** @type {string} */ (reader.readString());
|
|
1416
1484
|
msg.setFileName(value);
|
|
1417
1485
|
break;
|
|
1486
|
+
case 5:
|
|
1487
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1488
|
+
msg.setAgentUserId(value);
|
|
1489
|
+
break;
|
|
1490
|
+
case 6:
|
|
1491
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1492
|
+
msg.setClientUserId(value);
|
|
1493
|
+
break;
|
|
1418
1494
|
default:
|
|
1419
1495
|
reader.skipField();
|
|
1420
1496
|
break;
|
|
@@ -1472,6 +1548,20 @@ proto.payrollserviceapi.ImportABAFileRequest.serializeBinaryToWriter = function(
|
|
|
1472
1548
|
f
|
|
1473
1549
|
);
|
|
1474
1550
|
}
|
|
1551
|
+
f = message.getAgentUserId();
|
|
1552
|
+
if (f !== 0) {
|
|
1553
|
+
writer.writeInt64(
|
|
1554
|
+
5,
|
|
1555
|
+
f
|
|
1556
|
+
);
|
|
1557
|
+
}
|
|
1558
|
+
f = message.getClientUserId();
|
|
1559
|
+
if (f !== 0) {
|
|
1560
|
+
writer.writeInt64(
|
|
1561
|
+
6,
|
|
1562
|
+
f
|
|
1563
|
+
);
|
|
1564
|
+
}
|
|
1475
1565
|
};
|
|
1476
1566
|
|
|
1477
1567
|
|
|
@@ -1571,6 +1661,42 @@ proto.payrollserviceapi.ImportABAFileRequest.prototype.setFileName = function(va
|
|
|
1571
1661
|
};
|
|
1572
1662
|
|
|
1573
1663
|
|
|
1664
|
+
/**
|
|
1665
|
+
* optional int64 agent_user_id = 5;
|
|
1666
|
+
* @return {number}
|
|
1667
|
+
*/
|
|
1668
|
+
proto.payrollserviceapi.ImportABAFileRequest.prototype.getAgentUserId = function() {
|
|
1669
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* @param {number} value
|
|
1675
|
+
* @return {!proto.payrollserviceapi.ImportABAFileRequest} returns this
|
|
1676
|
+
*/
|
|
1677
|
+
proto.payrollserviceapi.ImportABAFileRequest.prototype.setAgentUserId = function(value) {
|
|
1678
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* optional int64 client_user_id = 6;
|
|
1684
|
+
* @return {number}
|
|
1685
|
+
*/
|
|
1686
|
+
proto.payrollserviceapi.ImportABAFileRequest.prototype.getClientUserId = function() {
|
|
1687
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* @param {number} value
|
|
1693
|
+
* @return {!proto.payrollserviceapi.ImportABAFileRequest} returns this
|
|
1694
|
+
*/
|
|
1695
|
+
proto.payrollserviceapi.ImportABAFileRequest.prototype.setClientUserId = function(value) {
|
|
1696
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1697
|
+
};
|
|
1698
|
+
|
|
1699
|
+
|
|
1574
1700
|
|
|
1575
1701
|
|
|
1576
1702
|
|
|
@@ -2395,7 +2521,9 @@ proto.payrollserviceapi.MatchEmployeesRequest.prototype.toObject = function(opt_
|
|
|
2395
2521
|
proto.payrollserviceapi.MatchEmployeesRequest.toObject = function(includeInstance, msg) {
|
|
2396
2522
|
var f, obj = {
|
|
2397
2523
|
abaFileId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2398
|
-
businessId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2524
|
+
businessId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2525
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2526
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
2399
2527
|
};
|
|
2400
2528
|
|
|
2401
2529
|
if (includeInstance) {
|
|
@@ -2440,6 +2568,14 @@ proto.payrollserviceapi.MatchEmployeesRequest.deserializeBinaryFromReader = func
|
|
|
2440
2568
|
var value = /** @type {number} */ (reader.readInt64());
|
|
2441
2569
|
msg.setBusinessId(value);
|
|
2442
2570
|
break;
|
|
2571
|
+
case 3:
|
|
2572
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2573
|
+
msg.setAgentUserId(value);
|
|
2574
|
+
break;
|
|
2575
|
+
case 4:
|
|
2576
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2577
|
+
msg.setClientUserId(value);
|
|
2578
|
+
break;
|
|
2443
2579
|
default:
|
|
2444
2580
|
reader.skipField();
|
|
2445
2581
|
break;
|
|
@@ -2483,6 +2619,20 @@ proto.payrollserviceapi.MatchEmployeesRequest.serializeBinaryToWriter = function
|
|
|
2483
2619
|
f
|
|
2484
2620
|
);
|
|
2485
2621
|
}
|
|
2622
|
+
f = message.getAgentUserId();
|
|
2623
|
+
if (f !== 0) {
|
|
2624
|
+
writer.writeInt64(
|
|
2625
|
+
3,
|
|
2626
|
+
f
|
|
2627
|
+
);
|
|
2628
|
+
}
|
|
2629
|
+
f = message.getClientUserId();
|
|
2630
|
+
if (f !== 0) {
|
|
2631
|
+
writer.writeInt64(
|
|
2632
|
+
4,
|
|
2633
|
+
f
|
|
2634
|
+
);
|
|
2635
|
+
}
|
|
2486
2636
|
};
|
|
2487
2637
|
|
|
2488
2638
|
|
|
@@ -2522,6 +2672,42 @@ proto.payrollserviceapi.MatchEmployeesRequest.prototype.setBusinessId = function
|
|
|
2522
2672
|
};
|
|
2523
2673
|
|
|
2524
2674
|
|
|
2675
|
+
/**
|
|
2676
|
+
* optional int64 agent_user_id = 3;
|
|
2677
|
+
* @return {number}
|
|
2678
|
+
*/
|
|
2679
|
+
proto.payrollserviceapi.MatchEmployeesRequest.prototype.getAgentUserId = function() {
|
|
2680
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2681
|
+
};
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* @param {number} value
|
|
2686
|
+
* @return {!proto.payrollserviceapi.MatchEmployeesRequest} returns this
|
|
2687
|
+
*/
|
|
2688
|
+
proto.payrollserviceapi.MatchEmployeesRequest.prototype.setAgentUserId = function(value) {
|
|
2689
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
2690
|
+
};
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
/**
|
|
2694
|
+
* optional int64 client_user_id = 4;
|
|
2695
|
+
* @return {number}
|
|
2696
|
+
*/
|
|
2697
|
+
proto.payrollserviceapi.MatchEmployeesRequest.prototype.getClientUserId = function() {
|
|
2698
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2699
|
+
};
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* @param {number} value
|
|
2704
|
+
* @return {!proto.payrollserviceapi.MatchEmployeesRequest} returns this
|
|
2705
|
+
*/
|
|
2706
|
+
proto.payrollserviceapi.MatchEmployeesRequest.prototype.setClientUserId = function(value) {
|
|
2707
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2710
|
+
|
|
2525
2711
|
|
|
2526
2712
|
/**
|
|
2527
2713
|
* List of repeated fields within this message type.
|
|
@@ -2916,7 +3102,9 @@ proto.payrollserviceapi.GetBatchDetailsRequest.prototype.toObject = function(opt
|
|
|
2916
3102
|
proto.payrollserviceapi.GetBatchDetailsRequest.toObject = function(includeInstance, msg) {
|
|
2917
3103
|
var f, obj = {
|
|
2918
3104
|
abaFileId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2919
|
-
businessId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
3105
|
+
businessId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3106
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
3107
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
2920
3108
|
};
|
|
2921
3109
|
|
|
2922
3110
|
if (includeInstance) {
|
|
@@ -2961,6 +3149,14 @@ proto.payrollserviceapi.GetBatchDetailsRequest.deserializeBinaryFromReader = fun
|
|
|
2961
3149
|
var value = /** @type {number} */ (reader.readInt64());
|
|
2962
3150
|
msg.setBusinessId(value);
|
|
2963
3151
|
break;
|
|
3152
|
+
case 3:
|
|
3153
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3154
|
+
msg.setAgentUserId(value);
|
|
3155
|
+
break;
|
|
3156
|
+
case 4:
|
|
3157
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3158
|
+
msg.setClientUserId(value);
|
|
3159
|
+
break;
|
|
2964
3160
|
default:
|
|
2965
3161
|
reader.skipField();
|
|
2966
3162
|
break;
|
|
@@ -3004,6 +3200,20 @@ proto.payrollserviceapi.GetBatchDetailsRequest.serializeBinaryToWriter = functio
|
|
|
3004
3200
|
f
|
|
3005
3201
|
);
|
|
3006
3202
|
}
|
|
3203
|
+
f = message.getAgentUserId();
|
|
3204
|
+
if (f !== 0) {
|
|
3205
|
+
writer.writeInt64(
|
|
3206
|
+
3,
|
|
3207
|
+
f
|
|
3208
|
+
);
|
|
3209
|
+
}
|
|
3210
|
+
f = message.getClientUserId();
|
|
3211
|
+
if (f !== 0) {
|
|
3212
|
+
writer.writeInt64(
|
|
3213
|
+
4,
|
|
3214
|
+
f
|
|
3215
|
+
);
|
|
3216
|
+
}
|
|
3007
3217
|
};
|
|
3008
3218
|
|
|
3009
3219
|
|
|
@@ -3043,6 +3253,42 @@ proto.payrollserviceapi.GetBatchDetailsRequest.prototype.setBusinessId = functio
|
|
|
3043
3253
|
};
|
|
3044
3254
|
|
|
3045
3255
|
|
|
3256
|
+
/**
|
|
3257
|
+
* optional int64 agent_user_id = 3;
|
|
3258
|
+
* @return {number}
|
|
3259
|
+
*/
|
|
3260
|
+
proto.payrollserviceapi.GetBatchDetailsRequest.prototype.getAgentUserId = function() {
|
|
3261
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3262
|
+
};
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
/**
|
|
3266
|
+
* @param {number} value
|
|
3267
|
+
* @return {!proto.payrollserviceapi.GetBatchDetailsRequest} returns this
|
|
3268
|
+
*/
|
|
3269
|
+
proto.payrollserviceapi.GetBatchDetailsRequest.prototype.setAgentUserId = function(value) {
|
|
3270
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
3271
|
+
};
|
|
3272
|
+
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* optional int64 client_user_id = 4;
|
|
3276
|
+
* @return {number}
|
|
3277
|
+
*/
|
|
3278
|
+
proto.payrollserviceapi.GetBatchDetailsRequest.prototype.getClientUserId = function() {
|
|
3279
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3280
|
+
};
|
|
3281
|
+
|
|
3282
|
+
|
|
3283
|
+
/**
|
|
3284
|
+
* @param {number} value
|
|
3285
|
+
* @return {!proto.payrollserviceapi.GetBatchDetailsRequest} returns this
|
|
3286
|
+
*/
|
|
3287
|
+
proto.payrollserviceapi.GetBatchDetailsRequest.prototype.setClientUserId = function(value) {
|
|
3288
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
3289
|
+
};
|
|
3290
|
+
|
|
3291
|
+
|
|
3046
3292
|
|
|
3047
3293
|
/**
|
|
3048
3294
|
* List of repeated fields within this message type.
|
|
@@ -3468,7 +3714,9 @@ proto.payrollserviceapi.ExecutePayrollRequest.toObject = function(includeInstanc
|
|
|
3468
3714
|
var f, obj = {
|
|
3469
3715
|
abaFileId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3470
3716
|
businessId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3471
|
-
includeUnmatched: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
3717
|
+
includeUnmatched: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
3718
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
3719
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
3472
3720
|
};
|
|
3473
3721
|
|
|
3474
3722
|
if (includeInstance) {
|
|
@@ -3517,6 +3765,14 @@ proto.payrollserviceapi.ExecutePayrollRequest.deserializeBinaryFromReader = func
|
|
|
3517
3765
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3518
3766
|
msg.setIncludeUnmatched(value);
|
|
3519
3767
|
break;
|
|
3768
|
+
case 4:
|
|
3769
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3770
|
+
msg.setAgentUserId(value);
|
|
3771
|
+
break;
|
|
3772
|
+
case 5:
|
|
3773
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3774
|
+
msg.setClientUserId(value);
|
|
3775
|
+
break;
|
|
3520
3776
|
default:
|
|
3521
3777
|
reader.skipField();
|
|
3522
3778
|
break;
|
|
@@ -3567,6 +3823,20 @@ proto.payrollserviceapi.ExecutePayrollRequest.serializeBinaryToWriter = function
|
|
|
3567
3823
|
f
|
|
3568
3824
|
);
|
|
3569
3825
|
}
|
|
3826
|
+
f = message.getAgentUserId();
|
|
3827
|
+
if (f !== 0) {
|
|
3828
|
+
writer.writeInt64(
|
|
3829
|
+
4,
|
|
3830
|
+
f
|
|
3831
|
+
);
|
|
3832
|
+
}
|
|
3833
|
+
f = message.getClientUserId();
|
|
3834
|
+
if (f !== 0) {
|
|
3835
|
+
writer.writeInt64(
|
|
3836
|
+
5,
|
|
3837
|
+
f
|
|
3838
|
+
);
|
|
3839
|
+
}
|
|
3570
3840
|
};
|
|
3571
3841
|
|
|
3572
3842
|
|
|
@@ -3624,6 +3894,42 @@ proto.payrollserviceapi.ExecutePayrollRequest.prototype.setIncludeUnmatched = fu
|
|
|
3624
3894
|
};
|
|
3625
3895
|
|
|
3626
3896
|
|
|
3897
|
+
/**
|
|
3898
|
+
* optional int64 agent_user_id = 4;
|
|
3899
|
+
* @return {number}
|
|
3900
|
+
*/
|
|
3901
|
+
proto.payrollserviceapi.ExecutePayrollRequest.prototype.getAgentUserId = function() {
|
|
3902
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3903
|
+
};
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
/**
|
|
3907
|
+
* @param {number} value
|
|
3908
|
+
* @return {!proto.payrollserviceapi.ExecutePayrollRequest} returns this
|
|
3909
|
+
*/
|
|
3910
|
+
proto.payrollserviceapi.ExecutePayrollRequest.prototype.setAgentUserId = function(value) {
|
|
3911
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
3912
|
+
};
|
|
3913
|
+
|
|
3914
|
+
|
|
3915
|
+
/**
|
|
3916
|
+
* optional int64 client_user_id = 5;
|
|
3917
|
+
* @return {number}
|
|
3918
|
+
*/
|
|
3919
|
+
proto.payrollserviceapi.ExecutePayrollRequest.prototype.getClientUserId = function() {
|
|
3920
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
3921
|
+
};
|
|
3922
|
+
|
|
3923
|
+
|
|
3924
|
+
/**
|
|
3925
|
+
* @param {number} value
|
|
3926
|
+
* @return {!proto.payrollserviceapi.ExecutePayrollRequest} returns this
|
|
3927
|
+
*/
|
|
3928
|
+
proto.payrollserviceapi.ExecutePayrollRequest.prototype.setClientUserId = function(value) {
|
|
3929
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
3930
|
+
};
|
|
3931
|
+
|
|
3932
|
+
|
|
3627
3933
|
|
|
3628
3934
|
|
|
3629
3935
|
|
|
@@ -4248,7 +4554,9 @@ proto.payrollserviceapi.ExecutePayrollWorkflowRequest.toObject = function(includ
|
|
|
4248
4554
|
abaFileId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4249
4555
|
batchName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4250
4556
|
employeePaymentsList: jspb.Message.toObjectList(msg.getEmployeePaymentsList(),
|
|
4251
|
-
proto.payrollserviceapi.EmployeePayment.toObject, includeInstance)
|
|
4557
|
+
proto.payrollserviceapi.EmployeePayment.toObject, includeInstance),
|
|
4558
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
4559
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
4252
4560
|
};
|
|
4253
4561
|
|
|
4254
4562
|
if (includeInstance) {
|
|
@@ -4302,6 +4610,14 @@ proto.payrollserviceapi.ExecutePayrollWorkflowRequest.deserializeBinaryFromReade
|
|
|
4302
4610
|
reader.readMessage(value,proto.payrollserviceapi.EmployeePayment.deserializeBinaryFromReader);
|
|
4303
4611
|
msg.addEmployeePayments(value);
|
|
4304
4612
|
break;
|
|
4613
|
+
case 5:
|
|
4614
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4615
|
+
msg.setAgentUserId(value);
|
|
4616
|
+
break;
|
|
4617
|
+
case 6:
|
|
4618
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4619
|
+
msg.setClientUserId(value);
|
|
4620
|
+
break;
|
|
4305
4621
|
default:
|
|
4306
4622
|
reader.skipField();
|
|
4307
4623
|
break;
|
|
@@ -4360,9 +4676,23 @@ proto.payrollserviceapi.ExecutePayrollWorkflowRequest.serializeBinaryToWriter =
|
|
|
4360
4676
|
proto.payrollserviceapi.EmployeePayment.serializeBinaryToWriter
|
|
4361
4677
|
);
|
|
4362
4678
|
}
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4679
|
+
f = message.getAgentUserId();
|
|
4680
|
+
if (f !== 0) {
|
|
4681
|
+
writer.writeInt64(
|
|
4682
|
+
5,
|
|
4683
|
+
f
|
|
4684
|
+
);
|
|
4685
|
+
}
|
|
4686
|
+
f = message.getClientUserId();
|
|
4687
|
+
if (f !== 0) {
|
|
4688
|
+
writer.writeInt64(
|
|
4689
|
+
6,
|
|
4690
|
+
f
|
|
4691
|
+
);
|
|
4692
|
+
}
|
|
4693
|
+
};
|
|
4694
|
+
|
|
4695
|
+
|
|
4366
4696
|
/**
|
|
4367
4697
|
* optional int64 business_id = 1;
|
|
4368
4698
|
* @return {number}
|
|
@@ -4455,6 +4785,42 @@ proto.payrollserviceapi.ExecutePayrollWorkflowRequest.prototype.clearEmployeePay
|
|
|
4455
4785
|
};
|
|
4456
4786
|
|
|
4457
4787
|
|
|
4788
|
+
/**
|
|
4789
|
+
* optional int64 agent_user_id = 5;
|
|
4790
|
+
* @return {number}
|
|
4791
|
+
*/
|
|
4792
|
+
proto.payrollserviceapi.ExecutePayrollWorkflowRequest.prototype.getAgentUserId = function() {
|
|
4793
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
4794
|
+
};
|
|
4795
|
+
|
|
4796
|
+
|
|
4797
|
+
/**
|
|
4798
|
+
* @param {number} value
|
|
4799
|
+
* @return {!proto.payrollserviceapi.ExecutePayrollWorkflowRequest} returns this
|
|
4800
|
+
*/
|
|
4801
|
+
proto.payrollserviceapi.ExecutePayrollWorkflowRequest.prototype.setAgentUserId = function(value) {
|
|
4802
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
4803
|
+
};
|
|
4804
|
+
|
|
4805
|
+
|
|
4806
|
+
/**
|
|
4807
|
+
* optional int64 client_user_id = 6;
|
|
4808
|
+
* @return {number}
|
|
4809
|
+
*/
|
|
4810
|
+
proto.payrollserviceapi.ExecutePayrollWorkflowRequest.prototype.getClientUserId = function() {
|
|
4811
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
4812
|
+
};
|
|
4813
|
+
|
|
4814
|
+
|
|
4815
|
+
/**
|
|
4816
|
+
* @param {number} value
|
|
4817
|
+
* @return {!proto.payrollserviceapi.ExecutePayrollWorkflowRequest} returns this
|
|
4818
|
+
*/
|
|
4819
|
+
proto.payrollserviceapi.ExecutePayrollWorkflowRequest.prototype.setClientUserId = function(value) {
|
|
4820
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
4821
|
+
};
|
|
4822
|
+
|
|
4823
|
+
|
|
4458
4824
|
|
|
4459
4825
|
|
|
4460
4826
|
|
|
@@ -4731,7 +5097,9 @@ proto.payrollserviceapi.ListABAFilesRequest.toObject = function(includeInstance,
|
|
|
4731
5097
|
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4732
5098
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4733
5099
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
4734
|
-
statusFilter: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
5100
|
+
statusFilter: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5101
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
5102
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
4735
5103
|
};
|
|
4736
5104
|
|
|
4737
5105
|
if (includeInstance) {
|
|
@@ -4784,6 +5152,14 @@ proto.payrollserviceapi.ListABAFilesRequest.deserializeBinaryFromReader = functi
|
|
|
4784
5152
|
var value = /** @type {string} */ (reader.readString());
|
|
4785
5153
|
msg.setStatusFilter(value);
|
|
4786
5154
|
break;
|
|
5155
|
+
case 5:
|
|
5156
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5157
|
+
msg.setAgentUserId(value);
|
|
5158
|
+
break;
|
|
5159
|
+
case 6:
|
|
5160
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5161
|
+
msg.setClientUserId(value);
|
|
5162
|
+
break;
|
|
4787
5163
|
default:
|
|
4788
5164
|
reader.skipField();
|
|
4789
5165
|
break;
|
|
@@ -4841,6 +5217,20 @@ proto.payrollserviceapi.ListABAFilesRequest.serializeBinaryToWriter = function(m
|
|
|
4841
5217
|
f
|
|
4842
5218
|
);
|
|
4843
5219
|
}
|
|
5220
|
+
f = message.getAgentUserId();
|
|
5221
|
+
if (f !== 0) {
|
|
5222
|
+
writer.writeInt64(
|
|
5223
|
+
5,
|
|
5224
|
+
f
|
|
5225
|
+
);
|
|
5226
|
+
}
|
|
5227
|
+
f = message.getClientUserId();
|
|
5228
|
+
if (f !== 0) {
|
|
5229
|
+
writer.writeInt64(
|
|
5230
|
+
6,
|
|
5231
|
+
f
|
|
5232
|
+
);
|
|
5233
|
+
}
|
|
4844
5234
|
};
|
|
4845
5235
|
|
|
4846
5236
|
|
|
@@ -4916,6 +5306,42 @@ proto.payrollserviceapi.ListABAFilesRequest.prototype.setStatusFilter = function
|
|
|
4916
5306
|
};
|
|
4917
5307
|
|
|
4918
5308
|
|
|
5309
|
+
/**
|
|
5310
|
+
* optional int64 agent_user_id = 5;
|
|
5311
|
+
* @return {number}
|
|
5312
|
+
*/
|
|
5313
|
+
proto.payrollserviceapi.ListABAFilesRequest.prototype.getAgentUserId = function() {
|
|
5314
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
5315
|
+
};
|
|
5316
|
+
|
|
5317
|
+
|
|
5318
|
+
/**
|
|
5319
|
+
* @param {number} value
|
|
5320
|
+
* @return {!proto.payrollserviceapi.ListABAFilesRequest} returns this
|
|
5321
|
+
*/
|
|
5322
|
+
proto.payrollserviceapi.ListABAFilesRequest.prototype.setAgentUserId = function(value) {
|
|
5323
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
5324
|
+
};
|
|
5325
|
+
|
|
5326
|
+
|
|
5327
|
+
/**
|
|
5328
|
+
* optional int64 client_user_id = 6;
|
|
5329
|
+
* @return {number}
|
|
5330
|
+
*/
|
|
5331
|
+
proto.payrollserviceapi.ListABAFilesRequest.prototype.getClientUserId = function() {
|
|
5332
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
5333
|
+
};
|
|
5334
|
+
|
|
5335
|
+
|
|
5336
|
+
/**
|
|
5337
|
+
* @param {number} value
|
|
5338
|
+
* @return {!proto.payrollserviceapi.ListABAFilesRequest} returns this
|
|
5339
|
+
*/
|
|
5340
|
+
proto.payrollserviceapi.ListABAFilesRequest.prototype.setClientUserId = function(value) {
|
|
5341
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
5342
|
+
};
|
|
5343
|
+
|
|
5344
|
+
|
|
4919
5345
|
|
|
4920
5346
|
/**
|
|
4921
5347
|
* List of repeated fields within this message type.
|
|
@@ -5710,7 +6136,9 @@ proto.payrollserviceapi.GetABAFileDetailsRequest.prototype.toObject = function(o
|
|
|
5710
6136
|
proto.payrollserviceapi.GetABAFileDetailsRequest.toObject = function(includeInstance, msg) {
|
|
5711
6137
|
var f, obj = {
|
|
5712
6138
|
abaFileId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5713
|
-
businessId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
6139
|
+
businessId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6140
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6141
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
5714
6142
|
};
|
|
5715
6143
|
|
|
5716
6144
|
if (includeInstance) {
|
|
@@ -5755,6 +6183,14 @@ proto.payrollserviceapi.GetABAFileDetailsRequest.deserializeBinaryFromReader = f
|
|
|
5755
6183
|
var value = /** @type {number} */ (reader.readInt64());
|
|
5756
6184
|
msg.setBusinessId(value);
|
|
5757
6185
|
break;
|
|
6186
|
+
case 3:
|
|
6187
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6188
|
+
msg.setAgentUserId(value);
|
|
6189
|
+
break;
|
|
6190
|
+
case 4:
|
|
6191
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6192
|
+
msg.setClientUserId(value);
|
|
6193
|
+
break;
|
|
5758
6194
|
default:
|
|
5759
6195
|
reader.skipField();
|
|
5760
6196
|
break;
|
|
@@ -5798,6 +6234,20 @@ proto.payrollserviceapi.GetABAFileDetailsRequest.serializeBinaryToWriter = funct
|
|
|
5798
6234
|
f
|
|
5799
6235
|
);
|
|
5800
6236
|
}
|
|
6237
|
+
f = message.getAgentUserId();
|
|
6238
|
+
if (f !== 0) {
|
|
6239
|
+
writer.writeInt64(
|
|
6240
|
+
3,
|
|
6241
|
+
f
|
|
6242
|
+
);
|
|
6243
|
+
}
|
|
6244
|
+
f = message.getClientUserId();
|
|
6245
|
+
if (f !== 0) {
|
|
6246
|
+
writer.writeInt64(
|
|
6247
|
+
4,
|
|
6248
|
+
f
|
|
6249
|
+
);
|
|
6250
|
+
}
|
|
5801
6251
|
};
|
|
5802
6252
|
|
|
5803
6253
|
|
|
@@ -5837,6 +6287,42 @@ proto.payrollserviceapi.GetABAFileDetailsRequest.prototype.setBusinessId = funct
|
|
|
5837
6287
|
};
|
|
5838
6288
|
|
|
5839
6289
|
|
|
6290
|
+
/**
|
|
6291
|
+
* optional int64 agent_user_id = 3;
|
|
6292
|
+
* @return {number}
|
|
6293
|
+
*/
|
|
6294
|
+
proto.payrollserviceapi.GetABAFileDetailsRequest.prototype.getAgentUserId = function() {
|
|
6295
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
6296
|
+
};
|
|
6297
|
+
|
|
6298
|
+
|
|
6299
|
+
/**
|
|
6300
|
+
* @param {number} value
|
|
6301
|
+
* @return {!proto.payrollserviceapi.GetABAFileDetailsRequest} returns this
|
|
6302
|
+
*/
|
|
6303
|
+
proto.payrollserviceapi.GetABAFileDetailsRequest.prototype.setAgentUserId = function(value) {
|
|
6304
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
6305
|
+
};
|
|
6306
|
+
|
|
6307
|
+
|
|
6308
|
+
/**
|
|
6309
|
+
* optional int64 client_user_id = 4;
|
|
6310
|
+
* @return {number}
|
|
6311
|
+
*/
|
|
6312
|
+
proto.payrollserviceapi.GetABAFileDetailsRequest.prototype.getClientUserId = function() {
|
|
6313
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
6314
|
+
};
|
|
6315
|
+
|
|
6316
|
+
|
|
6317
|
+
/**
|
|
6318
|
+
* @param {number} value
|
|
6319
|
+
* @return {!proto.payrollserviceapi.GetABAFileDetailsRequest} returns this
|
|
6320
|
+
*/
|
|
6321
|
+
proto.payrollserviceapi.GetABAFileDetailsRequest.prototype.setClientUserId = function(value) {
|
|
6322
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
6323
|
+
};
|
|
6324
|
+
|
|
6325
|
+
|
|
5840
6326
|
|
|
5841
6327
|
/**
|
|
5842
6328
|
* List of repeated fields within this message type.
|
|
@@ -7235,7 +7721,9 @@ proto.payrollserviceapi.CreateBusinessRequest.toObject = function(includeInstanc
|
|
|
7235
7721
|
abn: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7236
7722
|
bsb: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7237
7723
|
accountNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7238
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
7724
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
7725
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
7726
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
7239
7727
|
};
|
|
7240
7728
|
|
|
7241
7729
|
if (includeInstance) {
|
|
@@ -7292,6 +7780,14 @@ proto.payrollserviceapi.CreateBusinessRequest.deserializeBinaryFromReader = func
|
|
|
7292
7780
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
7293
7781
|
msg.setIsActive(value);
|
|
7294
7782
|
break;
|
|
7783
|
+
case 6:
|
|
7784
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7785
|
+
msg.setAgentUserId(value);
|
|
7786
|
+
break;
|
|
7787
|
+
case 7:
|
|
7788
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7789
|
+
msg.setClientUserId(value);
|
|
7790
|
+
break;
|
|
7295
7791
|
default:
|
|
7296
7792
|
reader.skipField();
|
|
7297
7793
|
break;
|
|
@@ -7356,6 +7852,20 @@ proto.payrollserviceapi.CreateBusinessRequest.serializeBinaryToWriter = function
|
|
|
7356
7852
|
f
|
|
7357
7853
|
);
|
|
7358
7854
|
}
|
|
7855
|
+
f = message.getAgentUserId();
|
|
7856
|
+
if (f !== 0) {
|
|
7857
|
+
writer.writeInt64(
|
|
7858
|
+
6,
|
|
7859
|
+
f
|
|
7860
|
+
);
|
|
7861
|
+
}
|
|
7862
|
+
f = message.getClientUserId();
|
|
7863
|
+
if (f !== 0) {
|
|
7864
|
+
writer.writeInt64(
|
|
7865
|
+
7,
|
|
7866
|
+
f
|
|
7867
|
+
);
|
|
7868
|
+
}
|
|
7359
7869
|
};
|
|
7360
7870
|
|
|
7361
7871
|
|
|
@@ -7449,6 +7959,42 @@ proto.payrollserviceapi.CreateBusinessRequest.prototype.setIsActive = function(v
|
|
|
7449
7959
|
};
|
|
7450
7960
|
|
|
7451
7961
|
|
|
7962
|
+
/**
|
|
7963
|
+
* optional int64 agent_user_id = 6;
|
|
7964
|
+
* @return {number}
|
|
7965
|
+
*/
|
|
7966
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.getAgentUserId = function() {
|
|
7967
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
7968
|
+
};
|
|
7969
|
+
|
|
7970
|
+
|
|
7971
|
+
/**
|
|
7972
|
+
* @param {number} value
|
|
7973
|
+
* @return {!proto.payrollserviceapi.CreateBusinessRequest} returns this
|
|
7974
|
+
*/
|
|
7975
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.setAgentUserId = function(value) {
|
|
7976
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
7977
|
+
};
|
|
7978
|
+
|
|
7979
|
+
|
|
7980
|
+
/**
|
|
7981
|
+
* optional int64 client_user_id = 7;
|
|
7982
|
+
* @return {number}
|
|
7983
|
+
*/
|
|
7984
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.getClientUserId = function() {
|
|
7985
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
7986
|
+
};
|
|
7987
|
+
|
|
7988
|
+
|
|
7989
|
+
/**
|
|
7990
|
+
* @param {number} value
|
|
7991
|
+
* @return {!proto.payrollserviceapi.CreateBusinessRequest} returns this
|
|
7992
|
+
*/
|
|
7993
|
+
proto.payrollserviceapi.CreateBusinessRequest.prototype.setClientUserId = function(value) {
|
|
7994
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
7995
|
+
};
|
|
7996
|
+
|
|
7997
|
+
|
|
7452
7998
|
|
|
7453
7999
|
|
|
7454
8000
|
|
|
@@ -7723,7 +8269,9 @@ proto.payrollserviceapi.ListBusinessesRequest.prototype.toObject = function(opt_
|
|
|
7723
8269
|
proto.payrollserviceapi.ListBusinessesRequest.toObject = function(includeInstance, msg) {
|
|
7724
8270
|
var f, obj = {
|
|
7725
8271
|
page: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7726
|
-
limit: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
8272
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8273
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8274
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7727
8275
|
};
|
|
7728
8276
|
|
|
7729
8277
|
if (includeInstance) {
|
|
@@ -7768,6 +8316,14 @@ proto.payrollserviceapi.ListBusinessesRequest.deserializeBinaryFromReader = func
|
|
|
7768
8316
|
var value = /** @type {number} */ (reader.readInt32());
|
|
7769
8317
|
msg.setLimit(value);
|
|
7770
8318
|
break;
|
|
8319
|
+
case 3:
|
|
8320
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8321
|
+
msg.setAgentUserId(value);
|
|
8322
|
+
break;
|
|
8323
|
+
case 4:
|
|
8324
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8325
|
+
msg.setClientUserId(value);
|
|
8326
|
+
break;
|
|
7771
8327
|
default:
|
|
7772
8328
|
reader.skipField();
|
|
7773
8329
|
break;
|
|
@@ -7811,6 +8367,20 @@ proto.payrollserviceapi.ListBusinessesRequest.serializeBinaryToWriter = function
|
|
|
7811
8367
|
f
|
|
7812
8368
|
);
|
|
7813
8369
|
}
|
|
8370
|
+
f = message.getAgentUserId();
|
|
8371
|
+
if (f !== 0) {
|
|
8372
|
+
writer.writeInt64(
|
|
8373
|
+
3,
|
|
8374
|
+
f
|
|
8375
|
+
);
|
|
8376
|
+
}
|
|
8377
|
+
f = message.getClientUserId();
|
|
8378
|
+
if (f !== 0) {
|
|
8379
|
+
writer.writeInt64(
|
|
8380
|
+
4,
|
|
8381
|
+
f
|
|
8382
|
+
);
|
|
8383
|
+
}
|
|
7814
8384
|
};
|
|
7815
8385
|
|
|
7816
8386
|
|
|
@@ -7850,6 +8420,42 @@ proto.payrollserviceapi.ListBusinessesRequest.prototype.setLimit = function(valu
|
|
|
7850
8420
|
};
|
|
7851
8421
|
|
|
7852
8422
|
|
|
8423
|
+
/**
|
|
8424
|
+
* optional int64 agent_user_id = 3;
|
|
8425
|
+
* @return {number}
|
|
8426
|
+
*/
|
|
8427
|
+
proto.payrollserviceapi.ListBusinessesRequest.prototype.getAgentUserId = function() {
|
|
8428
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
8429
|
+
};
|
|
8430
|
+
|
|
8431
|
+
|
|
8432
|
+
/**
|
|
8433
|
+
* @param {number} value
|
|
8434
|
+
* @return {!proto.payrollserviceapi.ListBusinessesRequest} returns this
|
|
8435
|
+
*/
|
|
8436
|
+
proto.payrollserviceapi.ListBusinessesRequest.prototype.setAgentUserId = function(value) {
|
|
8437
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
8438
|
+
};
|
|
8439
|
+
|
|
8440
|
+
|
|
8441
|
+
/**
|
|
8442
|
+
* optional int64 client_user_id = 4;
|
|
8443
|
+
* @return {number}
|
|
8444
|
+
*/
|
|
8445
|
+
proto.payrollserviceapi.ListBusinessesRequest.prototype.getClientUserId = function() {
|
|
8446
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
8447
|
+
};
|
|
8448
|
+
|
|
8449
|
+
|
|
8450
|
+
/**
|
|
8451
|
+
* @param {number} value
|
|
8452
|
+
* @return {!proto.payrollserviceapi.ListBusinessesRequest} returns this
|
|
8453
|
+
*/
|
|
8454
|
+
proto.payrollserviceapi.ListBusinessesRequest.prototype.setClientUserId = function(value) {
|
|
8455
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
8456
|
+
};
|
|
8457
|
+
|
|
8458
|
+
|
|
7853
8459
|
|
|
7854
8460
|
/**
|
|
7855
8461
|
* List of repeated fields within this message type.
|
|
@@ -8523,7 +9129,9 @@ proto.payrollserviceapi.GetBusinessRequest.prototype.toObject = function(opt_inc
|
|
|
8523
9129
|
*/
|
|
8524
9130
|
proto.payrollserviceapi.GetBusinessRequest.toObject = function(includeInstance, msg) {
|
|
8525
9131
|
var f, obj = {
|
|
8526
|
-
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
9132
|
+
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
9133
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9134
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8527
9135
|
};
|
|
8528
9136
|
|
|
8529
9137
|
if (includeInstance) {
|
|
@@ -8564,6 +9172,14 @@ proto.payrollserviceapi.GetBusinessRequest.deserializeBinaryFromReader = functio
|
|
|
8564
9172
|
var value = /** @type {number} */ (reader.readInt64());
|
|
8565
9173
|
msg.setBusinessId(value);
|
|
8566
9174
|
break;
|
|
9175
|
+
case 2:
|
|
9176
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9177
|
+
msg.setAgentUserId(value);
|
|
9178
|
+
break;
|
|
9179
|
+
case 3:
|
|
9180
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9181
|
+
msg.setClientUserId(value);
|
|
9182
|
+
break;
|
|
8567
9183
|
default:
|
|
8568
9184
|
reader.skipField();
|
|
8569
9185
|
break;
|
|
@@ -8600,17 +9216,31 @@ proto.payrollserviceapi.GetBusinessRequest.serializeBinaryToWriter = function(me
|
|
|
8600
9216
|
f
|
|
8601
9217
|
);
|
|
8602
9218
|
}
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
|
|
8609
|
-
|
|
8610
|
-
|
|
8611
|
-
|
|
8612
|
-
|
|
8613
|
-
|
|
9219
|
+
f = message.getAgentUserId();
|
|
9220
|
+
if (f !== 0) {
|
|
9221
|
+
writer.writeInt64(
|
|
9222
|
+
2,
|
|
9223
|
+
f
|
|
9224
|
+
);
|
|
9225
|
+
}
|
|
9226
|
+
f = message.getClientUserId();
|
|
9227
|
+
if (f !== 0) {
|
|
9228
|
+
writer.writeInt64(
|
|
9229
|
+
3,
|
|
9230
|
+
f
|
|
9231
|
+
);
|
|
9232
|
+
}
|
|
9233
|
+
};
|
|
9234
|
+
|
|
9235
|
+
|
|
9236
|
+
/**
|
|
9237
|
+
* optional int64 business_id = 1;
|
|
9238
|
+
* @return {number}
|
|
9239
|
+
*/
|
|
9240
|
+
proto.payrollserviceapi.GetBusinessRequest.prototype.getBusinessId = function() {
|
|
9241
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
9242
|
+
};
|
|
9243
|
+
|
|
8614
9244
|
|
|
8615
9245
|
/**
|
|
8616
9246
|
* @param {number} value
|
|
@@ -8621,6 +9251,42 @@ proto.payrollserviceapi.GetBusinessRequest.prototype.setBusinessId = function(va
|
|
|
8621
9251
|
};
|
|
8622
9252
|
|
|
8623
9253
|
|
|
9254
|
+
/**
|
|
9255
|
+
* optional int64 agent_user_id = 2;
|
|
9256
|
+
* @return {number}
|
|
9257
|
+
*/
|
|
9258
|
+
proto.payrollserviceapi.GetBusinessRequest.prototype.getAgentUserId = function() {
|
|
9259
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
9260
|
+
};
|
|
9261
|
+
|
|
9262
|
+
|
|
9263
|
+
/**
|
|
9264
|
+
* @param {number} value
|
|
9265
|
+
* @return {!proto.payrollserviceapi.GetBusinessRequest} returns this
|
|
9266
|
+
*/
|
|
9267
|
+
proto.payrollserviceapi.GetBusinessRequest.prototype.setAgentUserId = function(value) {
|
|
9268
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
9269
|
+
};
|
|
9270
|
+
|
|
9271
|
+
|
|
9272
|
+
/**
|
|
9273
|
+
* optional int64 client_user_id = 3;
|
|
9274
|
+
* @return {number}
|
|
9275
|
+
*/
|
|
9276
|
+
proto.payrollserviceapi.GetBusinessRequest.prototype.getClientUserId = function() {
|
|
9277
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
9278
|
+
};
|
|
9279
|
+
|
|
9280
|
+
|
|
9281
|
+
/**
|
|
9282
|
+
* @param {number} value
|
|
9283
|
+
* @return {!proto.payrollserviceapi.GetBusinessRequest} returns this
|
|
9284
|
+
*/
|
|
9285
|
+
proto.payrollserviceapi.GetBusinessRequest.prototype.setClientUserId = function(value) {
|
|
9286
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
9287
|
+
};
|
|
9288
|
+
|
|
9289
|
+
|
|
8624
9290
|
|
|
8625
9291
|
|
|
8626
9292
|
|
|
@@ -9200,7 +9866,9 @@ proto.payrollserviceapi.UpdateBusinessRequest.toObject = function(includeInstanc
|
|
|
9200
9866
|
abn: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9201
9867
|
bsb: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9202
9868
|
accountNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9203
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
9869
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
9870
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
9871
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
9204
9872
|
};
|
|
9205
9873
|
|
|
9206
9874
|
if (includeInstance) {
|
|
@@ -9261,6 +9929,14 @@ proto.payrollserviceapi.UpdateBusinessRequest.deserializeBinaryFromReader = func
|
|
|
9261
9929
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
9262
9930
|
msg.setIsActive(value);
|
|
9263
9931
|
break;
|
|
9932
|
+
case 7:
|
|
9933
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9934
|
+
msg.setAgentUserId(value);
|
|
9935
|
+
break;
|
|
9936
|
+
case 8:
|
|
9937
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9938
|
+
msg.setClientUserId(value);
|
|
9939
|
+
break;
|
|
9264
9940
|
default:
|
|
9265
9941
|
reader.skipField();
|
|
9266
9942
|
break;
|
|
@@ -9332,6 +10008,20 @@ proto.payrollserviceapi.UpdateBusinessRequest.serializeBinaryToWriter = function
|
|
|
9332
10008
|
f
|
|
9333
10009
|
);
|
|
9334
10010
|
}
|
|
10011
|
+
f = message.getAgentUserId();
|
|
10012
|
+
if (f !== 0) {
|
|
10013
|
+
writer.writeInt64(
|
|
10014
|
+
7,
|
|
10015
|
+
f
|
|
10016
|
+
);
|
|
10017
|
+
}
|
|
10018
|
+
f = message.getClientUserId();
|
|
10019
|
+
if (f !== 0) {
|
|
10020
|
+
writer.writeInt64(
|
|
10021
|
+
8,
|
|
10022
|
+
f
|
|
10023
|
+
);
|
|
10024
|
+
}
|
|
9335
10025
|
};
|
|
9336
10026
|
|
|
9337
10027
|
|
|
@@ -9443,6 +10133,42 @@ proto.payrollserviceapi.UpdateBusinessRequest.prototype.setIsActive = function(v
|
|
|
9443
10133
|
};
|
|
9444
10134
|
|
|
9445
10135
|
|
|
10136
|
+
/**
|
|
10137
|
+
* optional int64 agent_user_id = 7;
|
|
10138
|
+
* @return {number}
|
|
10139
|
+
*/
|
|
10140
|
+
proto.payrollserviceapi.UpdateBusinessRequest.prototype.getAgentUserId = function() {
|
|
10141
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
10142
|
+
};
|
|
10143
|
+
|
|
10144
|
+
|
|
10145
|
+
/**
|
|
10146
|
+
* @param {number} value
|
|
10147
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessRequest} returns this
|
|
10148
|
+
*/
|
|
10149
|
+
proto.payrollserviceapi.UpdateBusinessRequest.prototype.setAgentUserId = function(value) {
|
|
10150
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
10151
|
+
};
|
|
10152
|
+
|
|
10153
|
+
|
|
10154
|
+
/**
|
|
10155
|
+
* optional int64 client_user_id = 8;
|
|
10156
|
+
* @return {number}
|
|
10157
|
+
*/
|
|
10158
|
+
proto.payrollserviceapi.UpdateBusinessRequest.prototype.getClientUserId = function() {
|
|
10159
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
10160
|
+
};
|
|
10161
|
+
|
|
10162
|
+
|
|
10163
|
+
/**
|
|
10164
|
+
* @param {number} value
|
|
10165
|
+
* @return {!proto.payrollserviceapi.UpdateBusinessRequest} returns this
|
|
10166
|
+
*/
|
|
10167
|
+
proto.payrollserviceapi.UpdateBusinessRequest.prototype.setClientUserId = function(value) {
|
|
10168
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
10169
|
+
};
|
|
10170
|
+
|
|
10171
|
+
|
|
9446
10172
|
|
|
9447
10173
|
|
|
9448
10174
|
|
|
@@ -9686,7 +10412,9 @@ proto.payrollserviceapi.DeleteBusinessRequest.prototype.toObject = function(opt_
|
|
|
9686
10412
|
*/
|
|
9687
10413
|
proto.payrollserviceapi.DeleteBusinessRequest.toObject = function(includeInstance, msg) {
|
|
9688
10414
|
var f, obj = {
|
|
9689
|
-
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
10415
|
+
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10416
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10417
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
9690
10418
|
};
|
|
9691
10419
|
|
|
9692
10420
|
if (includeInstance) {
|
|
@@ -9727,6 +10455,14 @@ proto.payrollserviceapi.DeleteBusinessRequest.deserializeBinaryFromReader = func
|
|
|
9727
10455
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9728
10456
|
msg.setBusinessId(value);
|
|
9729
10457
|
break;
|
|
10458
|
+
case 2:
|
|
10459
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10460
|
+
msg.setAgentUserId(value);
|
|
10461
|
+
break;
|
|
10462
|
+
case 3:
|
|
10463
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10464
|
+
msg.setClientUserId(value);
|
|
10465
|
+
break;
|
|
9730
10466
|
default:
|
|
9731
10467
|
reader.skipField();
|
|
9732
10468
|
break;
|
|
@@ -9763,6 +10499,20 @@ proto.payrollserviceapi.DeleteBusinessRequest.serializeBinaryToWriter = function
|
|
|
9763
10499
|
f
|
|
9764
10500
|
);
|
|
9765
10501
|
}
|
|
10502
|
+
f = message.getAgentUserId();
|
|
10503
|
+
if (f !== 0) {
|
|
10504
|
+
writer.writeInt64(
|
|
10505
|
+
2,
|
|
10506
|
+
f
|
|
10507
|
+
);
|
|
10508
|
+
}
|
|
10509
|
+
f = message.getClientUserId();
|
|
10510
|
+
if (f !== 0) {
|
|
10511
|
+
writer.writeInt64(
|
|
10512
|
+
3,
|
|
10513
|
+
f
|
|
10514
|
+
);
|
|
10515
|
+
}
|
|
9766
10516
|
};
|
|
9767
10517
|
|
|
9768
10518
|
|
|
@@ -9784,6 +10534,42 @@ proto.payrollserviceapi.DeleteBusinessRequest.prototype.setBusinessId = function
|
|
|
9784
10534
|
};
|
|
9785
10535
|
|
|
9786
10536
|
|
|
10537
|
+
/**
|
|
10538
|
+
* optional int64 agent_user_id = 2;
|
|
10539
|
+
* @return {number}
|
|
10540
|
+
*/
|
|
10541
|
+
proto.payrollserviceapi.DeleteBusinessRequest.prototype.getAgentUserId = function() {
|
|
10542
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
10543
|
+
};
|
|
10544
|
+
|
|
10545
|
+
|
|
10546
|
+
/**
|
|
10547
|
+
* @param {number} value
|
|
10548
|
+
* @return {!proto.payrollserviceapi.DeleteBusinessRequest} returns this
|
|
10549
|
+
*/
|
|
10550
|
+
proto.payrollserviceapi.DeleteBusinessRequest.prototype.setAgentUserId = function(value) {
|
|
10551
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
10552
|
+
};
|
|
10553
|
+
|
|
10554
|
+
|
|
10555
|
+
/**
|
|
10556
|
+
* optional int64 client_user_id = 3;
|
|
10557
|
+
* @return {number}
|
|
10558
|
+
*/
|
|
10559
|
+
proto.payrollserviceapi.DeleteBusinessRequest.prototype.getClientUserId = function() {
|
|
10560
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
10561
|
+
};
|
|
10562
|
+
|
|
10563
|
+
|
|
10564
|
+
/**
|
|
10565
|
+
* @param {number} value
|
|
10566
|
+
* @return {!proto.payrollserviceapi.DeleteBusinessRequest} returns this
|
|
10567
|
+
*/
|
|
10568
|
+
proto.payrollserviceapi.DeleteBusinessRequest.prototype.setClientUserId = function(value) {
|
|
10569
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
10570
|
+
};
|
|
10571
|
+
|
|
10572
|
+
|
|
9787
10573
|
|
|
9788
10574
|
|
|
9789
10575
|
|
|
@@ -10004,7 +10790,9 @@ proto.payrollserviceapi.CreateEmployeeRequest.toObject = function(includeInstanc
|
|
|
10004
10790
|
taxFileNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10005
10791
|
bsb: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10006
10792
|
accountNumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
10007
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
10793
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
10794
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
10795
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
10008
10796
|
};
|
|
10009
10797
|
|
|
10010
10798
|
if (includeInstance) {
|
|
@@ -10073,6 +10861,14 @@ proto.payrollserviceapi.CreateEmployeeRequest.deserializeBinaryFromReader = func
|
|
|
10073
10861
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
10074
10862
|
msg.setIsActive(value);
|
|
10075
10863
|
break;
|
|
10864
|
+
case 9:
|
|
10865
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10866
|
+
msg.setAgentUserId(value);
|
|
10867
|
+
break;
|
|
10868
|
+
case 10:
|
|
10869
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
10870
|
+
msg.setClientUserId(value);
|
|
10871
|
+
break;
|
|
10076
10872
|
default:
|
|
10077
10873
|
reader.skipField();
|
|
10078
10874
|
break;
|
|
@@ -10158,6 +10954,20 @@ proto.payrollserviceapi.CreateEmployeeRequest.serializeBinaryToWriter = function
|
|
|
10158
10954
|
f
|
|
10159
10955
|
);
|
|
10160
10956
|
}
|
|
10957
|
+
f = message.getAgentUserId();
|
|
10958
|
+
if (f !== 0) {
|
|
10959
|
+
writer.writeInt64(
|
|
10960
|
+
9,
|
|
10961
|
+
f
|
|
10962
|
+
);
|
|
10963
|
+
}
|
|
10964
|
+
f = message.getClientUserId();
|
|
10965
|
+
if (f !== 0) {
|
|
10966
|
+
writer.writeInt64(
|
|
10967
|
+
10,
|
|
10968
|
+
f
|
|
10969
|
+
);
|
|
10970
|
+
}
|
|
10161
10971
|
};
|
|
10162
10972
|
|
|
10163
10973
|
|
|
@@ -10305,6 +11115,42 @@ proto.payrollserviceapi.CreateEmployeeRequest.prototype.setIsActive = function(v
|
|
|
10305
11115
|
};
|
|
10306
11116
|
|
|
10307
11117
|
|
|
11118
|
+
/**
|
|
11119
|
+
* optional int64 agent_user_id = 9;
|
|
11120
|
+
* @return {number}
|
|
11121
|
+
*/
|
|
11122
|
+
proto.payrollserviceapi.CreateEmployeeRequest.prototype.getAgentUserId = function() {
|
|
11123
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
11124
|
+
};
|
|
11125
|
+
|
|
11126
|
+
|
|
11127
|
+
/**
|
|
11128
|
+
* @param {number} value
|
|
11129
|
+
* @return {!proto.payrollserviceapi.CreateEmployeeRequest} returns this
|
|
11130
|
+
*/
|
|
11131
|
+
proto.payrollserviceapi.CreateEmployeeRequest.prototype.setAgentUserId = function(value) {
|
|
11132
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
11133
|
+
};
|
|
11134
|
+
|
|
11135
|
+
|
|
11136
|
+
/**
|
|
11137
|
+
* optional int64 client_user_id = 10;
|
|
11138
|
+
* @return {number}
|
|
11139
|
+
*/
|
|
11140
|
+
proto.payrollserviceapi.CreateEmployeeRequest.prototype.getClientUserId = function() {
|
|
11141
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
11142
|
+
};
|
|
11143
|
+
|
|
11144
|
+
|
|
11145
|
+
/**
|
|
11146
|
+
* @param {number} value
|
|
11147
|
+
* @return {!proto.payrollserviceapi.CreateEmployeeRequest} returns this
|
|
11148
|
+
*/
|
|
11149
|
+
proto.payrollserviceapi.CreateEmployeeRequest.prototype.setClientUserId = function(value) {
|
|
11150
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
11151
|
+
};
|
|
11152
|
+
|
|
11153
|
+
|
|
10308
11154
|
|
|
10309
11155
|
|
|
10310
11156
|
|
|
@@ -10580,7 +11426,9 @@ proto.payrollserviceapi.ListEmployeesRequest.toObject = function(includeInstance
|
|
|
10580
11426
|
var f, obj = {
|
|
10581
11427
|
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10582
11428
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10583
|
-
limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
11429
|
+
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
11430
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
11431
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
10584
11432
|
};
|
|
10585
11433
|
|
|
10586
11434
|
if (includeInstance) {
|
|
@@ -10629,6 +11477,14 @@ proto.payrollserviceapi.ListEmployeesRequest.deserializeBinaryFromReader = funct
|
|
|
10629
11477
|
var value = /** @type {number} */ (reader.readInt32());
|
|
10630
11478
|
msg.setLimit(value);
|
|
10631
11479
|
break;
|
|
11480
|
+
case 4:
|
|
11481
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11482
|
+
msg.setAgentUserId(value);
|
|
11483
|
+
break;
|
|
11484
|
+
case 5:
|
|
11485
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
11486
|
+
msg.setClientUserId(value);
|
|
11487
|
+
break;
|
|
10632
11488
|
default:
|
|
10633
11489
|
reader.skipField();
|
|
10634
11490
|
break;
|
|
@@ -10679,6 +11535,20 @@ proto.payrollserviceapi.ListEmployeesRequest.serializeBinaryToWriter = function(
|
|
|
10679
11535
|
f
|
|
10680
11536
|
);
|
|
10681
11537
|
}
|
|
11538
|
+
f = message.getAgentUserId();
|
|
11539
|
+
if (f !== 0) {
|
|
11540
|
+
writer.writeInt64(
|
|
11541
|
+
4,
|
|
11542
|
+
f
|
|
11543
|
+
);
|
|
11544
|
+
}
|
|
11545
|
+
f = message.getClientUserId();
|
|
11546
|
+
if (f !== 0) {
|
|
11547
|
+
writer.writeInt64(
|
|
11548
|
+
5,
|
|
11549
|
+
f
|
|
11550
|
+
);
|
|
11551
|
+
}
|
|
10682
11552
|
};
|
|
10683
11553
|
|
|
10684
11554
|
|
|
@@ -10736,6 +11606,42 @@ proto.payrollserviceapi.ListEmployeesRequest.prototype.setLimit = function(value
|
|
|
10736
11606
|
};
|
|
10737
11607
|
|
|
10738
11608
|
|
|
11609
|
+
/**
|
|
11610
|
+
* optional int64 agent_user_id = 4;
|
|
11611
|
+
* @return {number}
|
|
11612
|
+
*/
|
|
11613
|
+
proto.payrollserviceapi.ListEmployeesRequest.prototype.getAgentUserId = function() {
|
|
11614
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
11615
|
+
};
|
|
11616
|
+
|
|
11617
|
+
|
|
11618
|
+
/**
|
|
11619
|
+
* @param {number} value
|
|
11620
|
+
* @return {!proto.payrollserviceapi.ListEmployeesRequest} returns this
|
|
11621
|
+
*/
|
|
11622
|
+
proto.payrollserviceapi.ListEmployeesRequest.prototype.setAgentUserId = function(value) {
|
|
11623
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
11624
|
+
};
|
|
11625
|
+
|
|
11626
|
+
|
|
11627
|
+
/**
|
|
11628
|
+
* optional int64 client_user_id = 5;
|
|
11629
|
+
* @return {number}
|
|
11630
|
+
*/
|
|
11631
|
+
proto.payrollserviceapi.ListEmployeesRequest.prototype.getClientUserId = function() {
|
|
11632
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
11633
|
+
};
|
|
11634
|
+
|
|
11635
|
+
|
|
11636
|
+
/**
|
|
11637
|
+
* @param {number} value
|
|
11638
|
+
* @return {!proto.payrollserviceapi.ListEmployeesRequest} returns this
|
|
11639
|
+
*/
|
|
11640
|
+
proto.payrollserviceapi.ListEmployeesRequest.prototype.setClientUserId = function(value) {
|
|
11641
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
11642
|
+
};
|
|
11643
|
+
|
|
11644
|
+
|
|
10739
11645
|
|
|
10740
11646
|
/**
|
|
10741
11647
|
* List of repeated fields within this message type.
|
|
@@ -11499,7 +12405,9 @@ proto.payrollserviceapi.GetEmployeeRequest.prototype.toObject = function(opt_inc
|
|
|
11499
12405
|
*/
|
|
11500
12406
|
proto.payrollserviceapi.GetEmployeeRequest.toObject = function(includeInstance, msg) {
|
|
11501
12407
|
var f, obj = {
|
|
11502
|
-
employeeId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
12408
|
+
employeeId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
12409
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
12410
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
11503
12411
|
};
|
|
11504
12412
|
|
|
11505
12413
|
if (includeInstance) {
|
|
@@ -11540,6 +12448,14 @@ proto.payrollserviceapi.GetEmployeeRequest.deserializeBinaryFromReader = functio
|
|
|
11540
12448
|
var value = /** @type {number} */ (reader.readInt64());
|
|
11541
12449
|
msg.setEmployeeId(value);
|
|
11542
12450
|
break;
|
|
12451
|
+
case 2:
|
|
12452
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12453
|
+
msg.setAgentUserId(value);
|
|
12454
|
+
break;
|
|
12455
|
+
case 3:
|
|
12456
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
12457
|
+
msg.setClientUserId(value);
|
|
12458
|
+
break;
|
|
11543
12459
|
default:
|
|
11544
12460
|
reader.skipField();
|
|
11545
12461
|
break;
|
|
@@ -11576,9 +12492,23 @@ proto.payrollserviceapi.GetEmployeeRequest.serializeBinaryToWriter = function(me
|
|
|
11576
12492
|
f
|
|
11577
12493
|
);
|
|
11578
12494
|
}
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
|
|
12495
|
+
f = message.getAgentUserId();
|
|
12496
|
+
if (f !== 0) {
|
|
12497
|
+
writer.writeInt64(
|
|
12498
|
+
2,
|
|
12499
|
+
f
|
|
12500
|
+
);
|
|
12501
|
+
}
|
|
12502
|
+
f = message.getClientUserId();
|
|
12503
|
+
if (f !== 0) {
|
|
12504
|
+
writer.writeInt64(
|
|
12505
|
+
3,
|
|
12506
|
+
f
|
|
12507
|
+
);
|
|
12508
|
+
}
|
|
12509
|
+
};
|
|
12510
|
+
|
|
12511
|
+
|
|
11582
12512
|
/**
|
|
11583
12513
|
* optional int64 employee_id = 1;
|
|
11584
12514
|
* @return {number}
|
|
@@ -11597,6 +12527,42 @@ proto.payrollserviceapi.GetEmployeeRequest.prototype.setEmployeeId = function(va
|
|
|
11597
12527
|
};
|
|
11598
12528
|
|
|
11599
12529
|
|
|
12530
|
+
/**
|
|
12531
|
+
* optional int64 agent_user_id = 2;
|
|
12532
|
+
* @return {number}
|
|
12533
|
+
*/
|
|
12534
|
+
proto.payrollserviceapi.GetEmployeeRequest.prototype.getAgentUserId = function() {
|
|
12535
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
12536
|
+
};
|
|
12537
|
+
|
|
12538
|
+
|
|
12539
|
+
/**
|
|
12540
|
+
* @param {number} value
|
|
12541
|
+
* @return {!proto.payrollserviceapi.GetEmployeeRequest} returns this
|
|
12542
|
+
*/
|
|
12543
|
+
proto.payrollserviceapi.GetEmployeeRequest.prototype.setAgentUserId = function(value) {
|
|
12544
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
12545
|
+
};
|
|
12546
|
+
|
|
12547
|
+
|
|
12548
|
+
/**
|
|
12549
|
+
* optional int64 client_user_id = 3;
|
|
12550
|
+
* @return {number}
|
|
12551
|
+
*/
|
|
12552
|
+
proto.payrollserviceapi.GetEmployeeRequest.prototype.getClientUserId = function() {
|
|
12553
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
12554
|
+
};
|
|
12555
|
+
|
|
12556
|
+
|
|
12557
|
+
/**
|
|
12558
|
+
* @param {number} value
|
|
12559
|
+
* @return {!proto.payrollserviceapi.GetEmployeeRequest} returns this
|
|
12560
|
+
*/
|
|
12561
|
+
proto.payrollserviceapi.GetEmployeeRequest.prototype.setClientUserId = function(value) {
|
|
12562
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
12563
|
+
};
|
|
12564
|
+
|
|
12565
|
+
|
|
11600
12566
|
|
|
11601
12567
|
|
|
11602
12568
|
|
|
@@ -12268,7 +13234,9 @@ proto.payrollserviceapi.UpdateEmployeeRequest.toObject = function(includeInstanc
|
|
|
12268
13234
|
taxFileNumber: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12269
13235
|
bsb: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
12270
13236
|
accountNumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
12271
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
13237
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
13238
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
13239
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
12272
13240
|
};
|
|
12273
13241
|
|
|
12274
13242
|
if (includeInstance) {
|
|
@@ -12337,6 +13305,14 @@ proto.payrollserviceapi.UpdateEmployeeRequest.deserializeBinaryFromReader = func
|
|
|
12337
13305
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
12338
13306
|
msg.setIsActive(value);
|
|
12339
13307
|
break;
|
|
13308
|
+
case 9:
|
|
13309
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13310
|
+
msg.setAgentUserId(value);
|
|
13311
|
+
break;
|
|
13312
|
+
case 10:
|
|
13313
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13314
|
+
msg.setClientUserId(value);
|
|
13315
|
+
break;
|
|
12340
13316
|
default:
|
|
12341
13317
|
reader.skipField();
|
|
12342
13318
|
break;
|
|
@@ -12422,6 +13398,20 @@ proto.payrollserviceapi.UpdateEmployeeRequest.serializeBinaryToWriter = function
|
|
|
12422
13398
|
f
|
|
12423
13399
|
);
|
|
12424
13400
|
}
|
|
13401
|
+
f = message.getAgentUserId();
|
|
13402
|
+
if (f !== 0) {
|
|
13403
|
+
writer.writeInt64(
|
|
13404
|
+
9,
|
|
13405
|
+
f
|
|
13406
|
+
);
|
|
13407
|
+
}
|
|
13408
|
+
f = message.getClientUserId();
|
|
13409
|
+
if (f !== 0) {
|
|
13410
|
+
writer.writeInt64(
|
|
13411
|
+
10,
|
|
13412
|
+
f
|
|
13413
|
+
);
|
|
13414
|
+
}
|
|
12425
13415
|
};
|
|
12426
13416
|
|
|
12427
13417
|
|
|
@@ -12569,6 +13559,42 @@ proto.payrollserviceapi.UpdateEmployeeRequest.prototype.setIsActive = function(v
|
|
|
12569
13559
|
};
|
|
12570
13560
|
|
|
12571
13561
|
|
|
13562
|
+
/**
|
|
13563
|
+
* optional int64 agent_user_id = 9;
|
|
13564
|
+
* @return {number}
|
|
13565
|
+
*/
|
|
13566
|
+
proto.payrollserviceapi.UpdateEmployeeRequest.prototype.getAgentUserId = function() {
|
|
13567
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
13568
|
+
};
|
|
13569
|
+
|
|
13570
|
+
|
|
13571
|
+
/**
|
|
13572
|
+
* @param {number} value
|
|
13573
|
+
* @return {!proto.payrollserviceapi.UpdateEmployeeRequest} returns this
|
|
13574
|
+
*/
|
|
13575
|
+
proto.payrollserviceapi.UpdateEmployeeRequest.prototype.setAgentUserId = function(value) {
|
|
13576
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
13577
|
+
};
|
|
13578
|
+
|
|
13579
|
+
|
|
13580
|
+
/**
|
|
13581
|
+
* optional int64 client_user_id = 10;
|
|
13582
|
+
* @return {number}
|
|
13583
|
+
*/
|
|
13584
|
+
proto.payrollserviceapi.UpdateEmployeeRequest.prototype.getClientUserId = function() {
|
|
13585
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
13586
|
+
};
|
|
13587
|
+
|
|
13588
|
+
|
|
13589
|
+
/**
|
|
13590
|
+
* @param {number} value
|
|
13591
|
+
* @return {!proto.payrollserviceapi.UpdateEmployeeRequest} returns this
|
|
13592
|
+
*/
|
|
13593
|
+
proto.payrollserviceapi.UpdateEmployeeRequest.prototype.setClientUserId = function(value) {
|
|
13594
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
13595
|
+
};
|
|
13596
|
+
|
|
13597
|
+
|
|
12572
13598
|
|
|
12573
13599
|
|
|
12574
13600
|
|
|
@@ -12812,7 +13838,9 @@ proto.payrollserviceapi.DeleteEmployeeRequest.prototype.toObject = function(opt_
|
|
|
12812
13838
|
*/
|
|
12813
13839
|
proto.payrollserviceapi.DeleteEmployeeRequest.toObject = function(includeInstance, msg) {
|
|
12814
13840
|
var f, obj = {
|
|
12815
|
-
employeeId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
13841
|
+
employeeId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
13842
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
13843
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
12816
13844
|
};
|
|
12817
13845
|
|
|
12818
13846
|
if (includeInstance) {
|
|
@@ -12853,6 +13881,14 @@ proto.payrollserviceapi.DeleteEmployeeRequest.deserializeBinaryFromReader = func
|
|
|
12853
13881
|
var value = /** @type {number} */ (reader.readInt64());
|
|
12854
13882
|
msg.setEmployeeId(value);
|
|
12855
13883
|
break;
|
|
13884
|
+
case 2:
|
|
13885
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13886
|
+
msg.setAgentUserId(value);
|
|
13887
|
+
break;
|
|
13888
|
+
case 3:
|
|
13889
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
13890
|
+
msg.setClientUserId(value);
|
|
13891
|
+
break;
|
|
12856
13892
|
default:
|
|
12857
13893
|
reader.skipField();
|
|
12858
13894
|
break;
|
|
@@ -12889,6 +13925,20 @@ proto.payrollserviceapi.DeleteEmployeeRequest.serializeBinaryToWriter = function
|
|
|
12889
13925
|
f
|
|
12890
13926
|
);
|
|
12891
13927
|
}
|
|
13928
|
+
f = message.getAgentUserId();
|
|
13929
|
+
if (f !== 0) {
|
|
13930
|
+
writer.writeInt64(
|
|
13931
|
+
2,
|
|
13932
|
+
f
|
|
13933
|
+
);
|
|
13934
|
+
}
|
|
13935
|
+
f = message.getClientUserId();
|
|
13936
|
+
if (f !== 0) {
|
|
13937
|
+
writer.writeInt64(
|
|
13938
|
+
3,
|
|
13939
|
+
f
|
|
13940
|
+
);
|
|
13941
|
+
}
|
|
12892
13942
|
};
|
|
12893
13943
|
|
|
12894
13944
|
|
|
@@ -12910,6 +13960,42 @@ proto.payrollserviceapi.DeleteEmployeeRequest.prototype.setEmployeeId = function
|
|
|
12910
13960
|
};
|
|
12911
13961
|
|
|
12912
13962
|
|
|
13963
|
+
/**
|
|
13964
|
+
* optional int64 agent_user_id = 2;
|
|
13965
|
+
* @return {number}
|
|
13966
|
+
*/
|
|
13967
|
+
proto.payrollserviceapi.DeleteEmployeeRequest.prototype.getAgentUserId = function() {
|
|
13968
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
13969
|
+
};
|
|
13970
|
+
|
|
13971
|
+
|
|
13972
|
+
/**
|
|
13973
|
+
* @param {number} value
|
|
13974
|
+
* @return {!proto.payrollserviceapi.DeleteEmployeeRequest} returns this
|
|
13975
|
+
*/
|
|
13976
|
+
proto.payrollserviceapi.DeleteEmployeeRequest.prototype.setAgentUserId = function(value) {
|
|
13977
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
13978
|
+
};
|
|
13979
|
+
|
|
13980
|
+
|
|
13981
|
+
/**
|
|
13982
|
+
* optional int64 client_user_id = 3;
|
|
13983
|
+
* @return {number}
|
|
13984
|
+
*/
|
|
13985
|
+
proto.payrollserviceapi.DeleteEmployeeRequest.prototype.getClientUserId = function() {
|
|
13986
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
13987
|
+
};
|
|
13988
|
+
|
|
13989
|
+
|
|
13990
|
+
/**
|
|
13991
|
+
* @param {number} value
|
|
13992
|
+
* @return {!proto.payrollserviceapi.DeleteEmployeeRequest} returns this
|
|
13993
|
+
*/
|
|
13994
|
+
proto.payrollserviceapi.DeleteEmployeeRequest.prototype.setClientUserId = function(value) {
|
|
13995
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
13996
|
+
};
|
|
13997
|
+
|
|
13998
|
+
|
|
12913
13999
|
|
|
12914
14000
|
|
|
12915
14001
|
|
|
@@ -13125,7 +14211,9 @@ proto.payrollserviceapi.BulkImportEmployeesRequest.toObject = function(includeIn
|
|
|
13125
14211
|
var f, obj = {
|
|
13126
14212
|
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
13127
14213
|
csvFileContent: msg.getCsvFileContent_asB64(),
|
|
13128
|
-
fileName: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
14214
|
+
fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14215
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
14216
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
13129
14217
|
};
|
|
13130
14218
|
|
|
13131
14219
|
if (includeInstance) {
|
|
@@ -13174,6 +14262,14 @@ proto.payrollserviceapi.BulkImportEmployeesRequest.deserializeBinaryFromReader =
|
|
|
13174
14262
|
var value = /** @type {string} */ (reader.readString());
|
|
13175
14263
|
msg.setFileName(value);
|
|
13176
14264
|
break;
|
|
14265
|
+
case 4:
|
|
14266
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14267
|
+
msg.setAgentUserId(value);
|
|
14268
|
+
break;
|
|
14269
|
+
case 5:
|
|
14270
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
14271
|
+
msg.setClientUserId(value);
|
|
14272
|
+
break;
|
|
13177
14273
|
default:
|
|
13178
14274
|
reader.skipField();
|
|
13179
14275
|
break;
|
|
@@ -13224,6 +14320,20 @@ proto.payrollserviceapi.BulkImportEmployeesRequest.serializeBinaryToWriter = fun
|
|
|
13224
14320
|
f
|
|
13225
14321
|
);
|
|
13226
14322
|
}
|
|
14323
|
+
f = message.getAgentUserId();
|
|
14324
|
+
if (f !== 0) {
|
|
14325
|
+
writer.writeInt64(
|
|
14326
|
+
4,
|
|
14327
|
+
f
|
|
14328
|
+
);
|
|
14329
|
+
}
|
|
14330
|
+
f = message.getClientUserId();
|
|
14331
|
+
if (f !== 0) {
|
|
14332
|
+
writer.writeInt64(
|
|
14333
|
+
5,
|
|
14334
|
+
f
|
|
14335
|
+
);
|
|
14336
|
+
}
|
|
13227
14337
|
};
|
|
13228
14338
|
|
|
13229
14339
|
|
|
@@ -13305,6 +14415,42 @@ proto.payrollserviceapi.BulkImportEmployeesRequest.prototype.setFileName = funct
|
|
|
13305
14415
|
};
|
|
13306
14416
|
|
|
13307
14417
|
|
|
14418
|
+
/**
|
|
14419
|
+
* optional int64 agent_user_id = 4;
|
|
14420
|
+
* @return {number}
|
|
14421
|
+
*/
|
|
14422
|
+
proto.payrollserviceapi.BulkImportEmployeesRequest.prototype.getAgentUserId = function() {
|
|
14423
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
14424
|
+
};
|
|
14425
|
+
|
|
14426
|
+
|
|
14427
|
+
/**
|
|
14428
|
+
* @param {number} value
|
|
14429
|
+
* @return {!proto.payrollserviceapi.BulkImportEmployeesRequest} returns this
|
|
14430
|
+
*/
|
|
14431
|
+
proto.payrollserviceapi.BulkImportEmployeesRequest.prototype.setAgentUserId = function(value) {
|
|
14432
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
14433
|
+
};
|
|
14434
|
+
|
|
14435
|
+
|
|
14436
|
+
/**
|
|
14437
|
+
* optional int64 client_user_id = 5;
|
|
14438
|
+
* @return {number}
|
|
14439
|
+
*/
|
|
14440
|
+
proto.payrollserviceapi.BulkImportEmployeesRequest.prototype.getClientUserId = function() {
|
|
14441
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
14442
|
+
};
|
|
14443
|
+
|
|
14444
|
+
|
|
14445
|
+
/**
|
|
14446
|
+
* @param {number} value
|
|
14447
|
+
* @return {!proto.payrollserviceapi.BulkImportEmployeesRequest} returns this
|
|
14448
|
+
*/
|
|
14449
|
+
proto.payrollserviceapi.BulkImportEmployeesRequest.prototype.setClientUserId = function(value) {
|
|
14450
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
14451
|
+
};
|
|
14452
|
+
|
|
14453
|
+
|
|
13308
14454
|
|
|
13309
14455
|
/**
|
|
13310
14456
|
* List of repeated fields within this message type.
|
|
@@ -15110,4 +16256,925 @@ proto.payrollserviceapi.CalculateWomensSalaryResponse.prototype.setCalculatedAt
|
|
|
15110
16256
|
};
|
|
15111
16257
|
|
|
15112
16258
|
|
|
16259
|
+
|
|
16260
|
+
|
|
16261
|
+
|
|
16262
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16263
|
+
/**
|
|
16264
|
+
* Creates an object representation of this proto.
|
|
16265
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16266
|
+
* Optional fields that are not set will be set to undefined.
|
|
16267
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16268
|
+
* For the list of reserved names please see:
|
|
16269
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16270
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16271
|
+
* JSPB instance for transitional soy proto support:
|
|
16272
|
+
* http://goto/soy-param-migration
|
|
16273
|
+
* @return {!Object}
|
|
16274
|
+
*/
|
|
16275
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.toObject = function(opt_includeInstance) {
|
|
16276
|
+
return proto.payrollserviceapi.AgentUserRelationship.toObject(opt_includeInstance, this);
|
|
16277
|
+
};
|
|
16278
|
+
|
|
16279
|
+
|
|
16280
|
+
/**
|
|
16281
|
+
* Static version of the {@see toObject} method.
|
|
16282
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16283
|
+
* the JSPB instance for transitional soy proto support:
|
|
16284
|
+
* http://goto/soy-param-migration
|
|
16285
|
+
* @param {!proto.payrollserviceapi.AgentUserRelationship} msg The msg instance to transform.
|
|
16286
|
+
* @return {!Object}
|
|
16287
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16288
|
+
*/
|
|
16289
|
+
proto.payrollserviceapi.AgentUserRelationship.toObject = function(includeInstance, msg) {
|
|
16290
|
+
var f, obj = {
|
|
16291
|
+
agentUserId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
16292
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
16293
|
+
agentEmail: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16294
|
+
clientEmail: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
16295
|
+
agentName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
16296
|
+
clientName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
16297
|
+
relationshipStatus: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
16298
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
16299
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
16300
|
+
};
|
|
16301
|
+
|
|
16302
|
+
if (includeInstance) {
|
|
16303
|
+
obj.$jspbMessageInstance = msg;
|
|
16304
|
+
}
|
|
16305
|
+
return obj;
|
|
16306
|
+
};
|
|
16307
|
+
}
|
|
16308
|
+
|
|
16309
|
+
|
|
16310
|
+
/**
|
|
16311
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16312
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16313
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship}
|
|
16314
|
+
*/
|
|
16315
|
+
proto.payrollserviceapi.AgentUserRelationship.deserializeBinary = function(bytes) {
|
|
16316
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16317
|
+
var msg = new proto.payrollserviceapi.AgentUserRelationship;
|
|
16318
|
+
return proto.payrollserviceapi.AgentUserRelationship.deserializeBinaryFromReader(msg, reader);
|
|
16319
|
+
};
|
|
16320
|
+
|
|
16321
|
+
|
|
16322
|
+
/**
|
|
16323
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16324
|
+
* given reader into the given message object.
|
|
16325
|
+
* @param {!proto.payrollserviceapi.AgentUserRelationship} msg The message object to deserialize into.
|
|
16326
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16327
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship}
|
|
16328
|
+
*/
|
|
16329
|
+
proto.payrollserviceapi.AgentUserRelationship.deserializeBinaryFromReader = function(msg, reader) {
|
|
16330
|
+
while (reader.nextField()) {
|
|
16331
|
+
if (reader.isEndGroup()) {
|
|
16332
|
+
break;
|
|
16333
|
+
}
|
|
16334
|
+
var field = reader.getFieldNumber();
|
|
16335
|
+
switch (field) {
|
|
16336
|
+
case 1:
|
|
16337
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16338
|
+
msg.setAgentUserId(value);
|
|
16339
|
+
break;
|
|
16340
|
+
case 2:
|
|
16341
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16342
|
+
msg.setClientUserId(value);
|
|
16343
|
+
break;
|
|
16344
|
+
case 3:
|
|
16345
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16346
|
+
msg.setAgentEmail(value);
|
|
16347
|
+
break;
|
|
16348
|
+
case 4:
|
|
16349
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16350
|
+
msg.setClientEmail(value);
|
|
16351
|
+
break;
|
|
16352
|
+
case 5:
|
|
16353
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16354
|
+
msg.setAgentName(value);
|
|
16355
|
+
break;
|
|
16356
|
+
case 6:
|
|
16357
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16358
|
+
msg.setClientName(value);
|
|
16359
|
+
break;
|
|
16360
|
+
case 7:
|
|
16361
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16362
|
+
msg.setRelationshipStatus(value);
|
|
16363
|
+
break;
|
|
16364
|
+
case 8:
|
|
16365
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16366
|
+
msg.setCreatedAt(value);
|
|
16367
|
+
break;
|
|
16368
|
+
case 9:
|
|
16369
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16370
|
+
msg.setUpdatedAt(value);
|
|
16371
|
+
break;
|
|
16372
|
+
default:
|
|
16373
|
+
reader.skipField();
|
|
16374
|
+
break;
|
|
16375
|
+
}
|
|
16376
|
+
}
|
|
16377
|
+
return msg;
|
|
16378
|
+
};
|
|
16379
|
+
|
|
16380
|
+
|
|
16381
|
+
/**
|
|
16382
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16383
|
+
* @return {!Uint8Array}
|
|
16384
|
+
*/
|
|
16385
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.serializeBinary = function() {
|
|
16386
|
+
var writer = new jspb.BinaryWriter();
|
|
16387
|
+
proto.payrollserviceapi.AgentUserRelationship.serializeBinaryToWriter(this, writer);
|
|
16388
|
+
return writer.getResultBuffer();
|
|
16389
|
+
};
|
|
16390
|
+
|
|
16391
|
+
|
|
16392
|
+
/**
|
|
16393
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16394
|
+
* format), writing to the given BinaryWriter.
|
|
16395
|
+
* @param {!proto.payrollserviceapi.AgentUserRelationship} message
|
|
16396
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16397
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16398
|
+
*/
|
|
16399
|
+
proto.payrollserviceapi.AgentUserRelationship.serializeBinaryToWriter = function(message, writer) {
|
|
16400
|
+
var f = undefined;
|
|
16401
|
+
f = message.getAgentUserId();
|
|
16402
|
+
if (f !== 0) {
|
|
16403
|
+
writer.writeInt64(
|
|
16404
|
+
1,
|
|
16405
|
+
f
|
|
16406
|
+
);
|
|
16407
|
+
}
|
|
16408
|
+
f = message.getClientUserId();
|
|
16409
|
+
if (f !== 0) {
|
|
16410
|
+
writer.writeInt64(
|
|
16411
|
+
2,
|
|
16412
|
+
f
|
|
16413
|
+
);
|
|
16414
|
+
}
|
|
16415
|
+
f = message.getAgentEmail();
|
|
16416
|
+
if (f.length > 0) {
|
|
16417
|
+
writer.writeString(
|
|
16418
|
+
3,
|
|
16419
|
+
f
|
|
16420
|
+
);
|
|
16421
|
+
}
|
|
16422
|
+
f = message.getClientEmail();
|
|
16423
|
+
if (f.length > 0) {
|
|
16424
|
+
writer.writeString(
|
|
16425
|
+
4,
|
|
16426
|
+
f
|
|
16427
|
+
);
|
|
16428
|
+
}
|
|
16429
|
+
f = message.getAgentName();
|
|
16430
|
+
if (f.length > 0) {
|
|
16431
|
+
writer.writeString(
|
|
16432
|
+
5,
|
|
16433
|
+
f
|
|
16434
|
+
);
|
|
16435
|
+
}
|
|
16436
|
+
f = message.getClientName();
|
|
16437
|
+
if (f.length > 0) {
|
|
16438
|
+
writer.writeString(
|
|
16439
|
+
6,
|
|
16440
|
+
f
|
|
16441
|
+
);
|
|
16442
|
+
}
|
|
16443
|
+
f = message.getRelationshipStatus();
|
|
16444
|
+
if (f.length > 0) {
|
|
16445
|
+
writer.writeString(
|
|
16446
|
+
7,
|
|
16447
|
+
f
|
|
16448
|
+
);
|
|
16449
|
+
}
|
|
16450
|
+
f = message.getCreatedAt();
|
|
16451
|
+
if (f.length > 0) {
|
|
16452
|
+
writer.writeString(
|
|
16453
|
+
8,
|
|
16454
|
+
f
|
|
16455
|
+
);
|
|
16456
|
+
}
|
|
16457
|
+
f = message.getUpdatedAt();
|
|
16458
|
+
if (f.length > 0) {
|
|
16459
|
+
writer.writeString(
|
|
16460
|
+
9,
|
|
16461
|
+
f
|
|
16462
|
+
);
|
|
16463
|
+
}
|
|
16464
|
+
};
|
|
16465
|
+
|
|
16466
|
+
|
|
16467
|
+
/**
|
|
16468
|
+
* optional int64 agent_user_id = 1;
|
|
16469
|
+
* @return {number}
|
|
16470
|
+
*/
|
|
16471
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getAgentUserId = function() {
|
|
16472
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
16473
|
+
};
|
|
16474
|
+
|
|
16475
|
+
|
|
16476
|
+
/**
|
|
16477
|
+
* @param {number} value
|
|
16478
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16479
|
+
*/
|
|
16480
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setAgentUserId = function(value) {
|
|
16481
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
16482
|
+
};
|
|
16483
|
+
|
|
16484
|
+
|
|
16485
|
+
/**
|
|
16486
|
+
* optional int64 client_user_id = 2;
|
|
16487
|
+
* @return {number}
|
|
16488
|
+
*/
|
|
16489
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getClientUserId = function() {
|
|
16490
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
16491
|
+
};
|
|
16492
|
+
|
|
16493
|
+
|
|
16494
|
+
/**
|
|
16495
|
+
* @param {number} value
|
|
16496
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16497
|
+
*/
|
|
16498
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setClientUserId = function(value) {
|
|
16499
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
16500
|
+
};
|
|
16501
|
+
|
|
16502
|
+
|
|
16503
|
+
/**
|
|
16504
|
+
* optional string agent_email = 3;
|
|
16505
|
+
* @return {string}
|
|
16506
|
+
*/
|
|
16507
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getAgentEmail = function() {
|
|
16508
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
16509
|
+
};
|
|
16510
|
+
|
|
16511
|
+
|
|
16512
|
+
/**
|
|
16513
|
+
* @param {string} value
|
|
16514
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16515
|
+
*/
|
|
16516
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setAgentEmail = function(value) {
|
|
16517
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
16518
|
+
};
|
|
16519
|
+
|
|
16520
|
+
|
|
16521
|
+
/**
|
|
16522
|
+
* optional string client_email = 4;
|
|
16523
|
+
* @return {string}
|
|
16524
|
+
*/
|
|
16525
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getClientEmail = function() {
|
|
16526
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
16527
|
+
};
|
|
16528
|
+
|
|
16529
|
+
|
|
16530
|
+
/**
|
|
16531
|
+
* @param {string} value
|
|
16532
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16533
|
+
*/
|
|
16534
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setClientEmail = function(value) {
|
|
16535
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
16536
|
+
};
|
|
16537
|
+
|
|
16538
|
+
|
|
16539
|
+
/**
|
|
16540
|
+
* optional string agent_name = 5;
|
|
16541
|
+
* @return {string}
|
|
16542
|
+
*/
|
|
16543
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getAgentName = function() {
|
|
16544
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
16545
|
+
};
|
|
16546
|
+
|
|
16547
|
+
|
|
16548
|
+
/**
|
|
16549
|
+
* @param {string} value
|
|
16550
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16551
|
+
*/
|
|
16552
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setAgentName = function(value) {
|
|
16553
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
16554
|
+
};
|
|
16555
|
+
|
|
16556
|
+
|
|
16557
|
+
/**
|
|
16558
|
+
* optional string client_name = 6;
|
|
16559
|
+
* @return {string}
|
|
16560
|
+
*/
|
|
16561
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getClientName = function() {
|
|
16562
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
16563
|
+
};
|
|
16564
|
+
|
|
16565
|
+
|
|
16566
|
+
/**
|
|
16567
|
+
* @param {string} value
|
|
16568
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16569
|
+
*/
|
|
16570
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setClientName = function(value) {
|
|
16571
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
16572
|
+
};
|
|
16573
|
+
|
|
16574
|
+
|
|
16575
|
+
/**
|
|
16576
|
+
* optional string relationship_status = 7;
|
|
16577
|
+
* @return {string}
|
|
16578
|
+
*/
|
|
16579
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getRelationshipStatus = function() {
|
|
16580
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
16581
|
+
};
|
|
16582
|
+
|
|
16583
|
+
|
|
16584
|
+
/**
|
|
16585
|
+
* @param {string} value
|
|
16586
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16587
|
+
*/
|
|
16588
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setRelationshipStatus = function(value) {
|
|
16589
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
16590
|
+
};
|
|
16591
|
+
|
|
16592
|
+
|
|
16593
|
+
/**
|
|
16594
|
+
* optional string created_at = 8;
|
|
16595
|
+
* @return {string}
|
|
16596
|
+
*/
|
|
16597
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getCreatedAt = function() {
|
|
16598
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
16599
|
+
};
|
|
16600
|
+
|
|
16601
|
+
|
|
16602
|
+
/**
|
|
16603
|
+
* @param {string} value
|
|
16604
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16605
|
+
*/
|
|
16606
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setCreatedAt = function(value) {
|
|
16607
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
16608
|
+
};
|
|
16609
|
+
|
|
16610
|
+
|
|
16611
|
+
/**
|
|
16612
|
+
* optional string updated_at = 9;
|
|
16613
|
+
* @return {string}
|
|
16614
|
+
*/
|
|
16615
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.getUpdatedAt = function() {
|
|
16616
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
16617
|
+
};
|
|
16618
|
+
|
|
16619
|
+
|
|
16620
|
+
/**
|
|
16621
|
+
* @param {string} value
|
|
16622
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
|
|
16623
|
+
*/
|
|
16624
|
+
proto.payrollserviceapi.AgentUserRelationship.prototype.setUpdatedAt = function(value) {
|
|
16625
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
16626
|
+
};
|
|
16627
|
+
|
|
16628
|
+
|
|
16629
|
+
|
|
16630
|
+
|
|
16631
|
+
|
|
16632
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16633
|
+
/**
|
|
16634
|
+
* Creates an object representation of this proto.
|
|
16635
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16636
|
+
* Optional fields that are not set will be set to undefined.
|
|
16637
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16638
|
+
* For the list of reserved names please see:
|
|
16639
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16640
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16641
|
+
* JSPB instance for transitional soy proto support:
|
|
16642
|
+
* http://goto/soy-param-migration
|
|
16643
|
+
* @return {!Object}
|
|
16644
|
+
*/
|
|
16645
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16646
|
+
return proto.payrollserviceapi.GetAgentUserRelationshipsRequest.toObject(opt_includeInstance, this);
|
|
16647
|
+
};
|
|
16648
|
+
|
|
16649
|
+
|
|
16650
|
+
/**
|
|
16651
|
+
* Static version of the {@see toObject} method.
|
|
16652
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16653
|
+
* the JSPB instance for transitional soy proto support:
|
|
16654
|
+
* http://goto/soy-param-migration
|
|
16655
|
+
* @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} msg The msg instance to transform.
|
|
16656
|
+
* @return {!Object}
|
|
16657
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16658
|
+
*/
|
|
16659
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.toObject = function(includeInstance, msg) {
|
|
16660
|
+
var f, obj = {
|
|
16661
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
16662
|
+
relationshipType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16663
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
16664
|
+
limit: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
16665
|
+
};
|
|
16666
|
+
|
|
16667
|
+
if (includeInstance) {
|
|
16668
|
+
obj.$jspbMessageInstance = msg;
|
|
16669
|
+
}
|
|
16670
|
+
return obj;
|
|
16671
|
+
};
|
|
16672
|
+
}
|
|
16673
|
+
|
|
16674
|
+
|
|
16675
|
+
/**
|
|
16676
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16677
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16678
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest}
|
|
16679
|
+
*/
|
|
16680
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinary = function(bytes) {
|
|
16681
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16682
|
+
var msg = new proto.payrollserviceapi.GetAgentUserRelationshipsRequest;
|
|
16683
|
+
return proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinaryFromReader(msg, reader);
|
|
16684
|
+
};
|
|
16685
|
+
|
|
16686
|
+
|
|
16687
|
+
/**
|
|
16688
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16689
|
+
* given reader into the given message object.
|
|
16690
|
+
* @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} msg The message object to deserialize into.
|
|
16691
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16692
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest}
|
|
16693
|
+
*/
|
|
16694
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16695
|
+
while (reader.nextField()) {
|
|
16696
|
+
if (reader.isEndGroup()) {
|
|
16697
|
+
break;
|
|
16698
|
+
}
|
|
16699
|
+
var field = reader.getFieldNumber();
|
|
16700
|
+
switch (field) {
|
|
16701
|
+
case 1:
|
|
16702
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
16703
|
+
msg.setUserId(value);
|
|
16704
|
+
break;
|
|
16705
|
+
case 2:
|
|
16706
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16707
|
+
msg.setRelationshipType(value);
|
|
16708
|
+
break;
|
|
16709
|
+
case 3:
|
|
16710
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16711
|
+
msg.setPage(value);
|
|
16712
|
+
break;
|
|
16713
|
+
case 4:
|
|
16714
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16715
|
+
msg.setLimit(value);
|
|
16716
|
+
break;
|
|
16717
|
+
default:
|
|
16718
|
+
reader.skipField();
|
|
16719
|
+
break;
|
|
16720
|
+
}
|
|
16721
|
+
}
|
|
16722
|
+
return msg;
|
|
16723
|
+
};
|
|
16724
|
+
|
|
16725
|
+
|
|
16726
|
+
/**
|
|
16727
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16728
|
+
* @return {!Uint8Array}
|
|
16729
|
+
*/
|
|
16730
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.serializeBinary = function() {
|
|
16731
|
+
var writer = new jspb.BinaryWriter();
|
|
16732
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.serializeBinaryToWriter(this, writer);
|
|
16733
|
+
return writer.getResultBuffer();
|
|
16734
|
+
};
|
|
16735
|
+
|
|
16736
|
+
|
|
16737
|
+
/**
|
|
16738
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16739
|
+
* format), writing to the given BinaryWriter.
|
|
16740
|
+
* @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} message
|
|
16741
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16742
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16743
|
+
*/
|
|
16744
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16745
|
+
var f = undefined;
|
|
16746
|
+
f = message.getUserId();
|
|
16747
|
+
if (f !== 0) {
|
|
16748
|
+
writer.writeInt64(
|
|
16749
|
+
1,
|
|
16750
|
+
f
|
|
16751
|
+
);
|
|
16752
|
+
}
|
|
16753
|
+
f = message.getRelationshipType();
|
|
16754
|
+
if (f.length > 0) {
|
|
16755
|
+
writer.writeString(
|
|
16756
|
+
2,
|
|
16757
|
+
f
|
|
16758
|
+
);
|
|
16759
|
+
}
|
|
16760
|
+
f = message.getPage();
|
|
16761
|
+
if (f !== 0) {
|
|
16762
|
+
writer.writeInt32(
|
|
16763
|
+
3,
|
|
16764
|
+
f
|
|
16765
|
+
);
|
|
16766
|
+
}
|
|
16767
|
+
f = message.getLimit();
|
|
16768
|
+
if (f !== 0) {
|
|
16769
|
+
writer.writeInt32(
|
|
16770
|
+
4,
|
|
16771
|
+
f
|
|
16772
|
+
);
|
|
16773
|
+
}
|
|
16774
|
+
};
|
|
16775
|
+
|
|
16776
|
+
|
|
16777
|
+
/**
|
|
16778
|
+
* optional int64 user_id = 1;
|
|
16779
|
+
* @return {number}
|
|
16780
|
+
*/
|
|
16781
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getUserId = function() {
|
|
16782
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
16783
|
+
};
|
|
16784
|
+
|
|
16785
|
+
|
|
16786
|
+
/**
|
|
16787
|
+
* @param {number} value
|
|
16788
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
|
|
16789
|
+
*/
|
|
16790
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setUserId = function(value) {
|
|
16791
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
16792
|
+
};
|
|
16793
|
+
|
|
16794
|
+
|
|
16795
|
+
/**
|
|
16796
|
+
* optional string relationship_type = 2;
|
|
16797
|
+
* @return {string}
|
|
16798
|
+
*/
|
|
16799
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getRelationshipType = function() {
|
|
16800
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
16801
|
+
};
|
|
16802
|
+
|
|
16803
|
+
|
|
16804
|
+
/**
|
|
16805
|
+
* @param {string} value
|
|
16806
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
|
|
16807
|
+
*/
|
|
16808
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setRelationshipType = function(value) {
|
|
16809
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
16810
|
+
};
|
|
16811
|
+
|
|
16812
|
+
|
|
16813
|
+
/**
|
|
16814
|
+
* optional int32 page = 3;
|
|
16815
|
+
* @return {number}
|
|
16816
|
+
*/
|
|
16817
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getPage = function() {
|
|
16818
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
16819
|
+
};
|
|
16820
|
+
|
|
16821
|
+
|
|
16822
|
+
/**
|
|
16823
|
+
* @param {number} value
|
|
16824
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
|
|
16825
|
+
*/
|
|
16826
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setPage = function(value) {
|
|
16827
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
16828
|
+
};
|
|
16829
|
+
|
|
16830
|
+
|
|
16831
|
+
/**
|
|
16832
|
+
* optional int32 limit = 4;
|
|
16833
|
+
* @return {number}
|
|
16834
|
+
*/
|
|
16835
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getLimit = function() {
|
|
16836
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
16837
|
+
};
|
|
16838
|
+
|
|
16839
|
+
|
|
16840
|
+
/**
|
|
16841
|
+
* @param {number} value
|
|
16842
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
|
|
16843
|
+
*/
|
|
16844
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setLimit = function(value) {
|
|
16845
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
16846
|
+
};
|
|
16847
|
+
|
|
16848
|
+
|
|
16849
|
+
|
|
16850
|
+
/**
|
|
16851
|
+
* List of repeated fields within this message type.
|
|
16852
|
+
* @private {!Array<number>}
|
|
16853
|
+
* @const
|
|
16854
|
+
*/
|
|
16855
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.repeatedFields_ = [2];
|
|
16856
|
+
|
|
16857
|
+
|
|
16858
|
+
|
|
16859
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16860
|
+
/**
|
|
16861
|
+
* Creates an object representation of this proto.
|
|
16862
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16863
|
+
* Optional fields that are not set will be set to undefined.
|
|
16864
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16865
|
+
* For the list of reserved names please see:
|
|
16866
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16867
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16868
|
+
* JSPB instance for transitional soy proto support:
|
|
16869
|
+
* http://goto/soy-param-migration
|
|
16870
|
+
* @return {!Object}
|
|
16871
|
+
*/
|
|
16872
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16873
|
+
return proto.payrollserviceapi.GetAgentUserRelationshipsResponse.toObject(opt_includeInstance, this);
|
|
16874
|
+
};
|
|
16875
|
+
|
|
16876
|
+
|
|
16877
|
+
/**
|
|
16878
|
+
* Static version of the {@see toObject} method.
|
|
16879
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16880
|
+
* the JSPB instance for transitional soy proto support:
|
|
16881
|
+
* http://goto/soy-param-migration
|
|
16882
|
+
* @param {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} msg The msg instance to transform.
|
|
16883
|
+
* @return {!Object}
|
|
16884
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16885
|
+
*/
|
|
16886
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.toObject = function(includeInstance, msg) {
|
|
16887
|
+
var f, obj = {
|
|
16888
|
+
responseCode: (f = msg.getResponseCode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
16889
|
+
relationshipsList: jspb.Message.toObjectList(msg.getRelationshipsList(),
|
|
16890
|
+
proto.payrollserviceapi.AgentUserRelationship.toObject, includeInstance),
|
|
16891
|
+
totalCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
16892
|
+
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
16893
|
+
limit: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
16894
|
+
message: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
16895
|
+
};
|
|
16896
|
+
|
|
16897
|
+
if (includeInstance) {
|
|
16898
|
+
obj.$jspbMessageInstance = msg;
|
|
16899
|
+
}
|
|
16900
|
+
return obj;
|
|
16901
|
+
};
|
|
16902
|
+
}
|
|
16903
|
+
|
|
16904
|
+
|
|
16905
|
+
/**
|
|
16906
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16907
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16908
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse}
|
|
16909
|
+
*/
|
|
16910
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.deserializeBinary = function(bytes) {
|
|
16911
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16912
|
+
var msg = new proto.payrollserviceapi.GetAgentUserRelationshipsResponse;
|
|
16913
|
+
return proto.payrollserviceapi.GetAgentUserRelationshipsResponse.deserializeBinaryFromReader(msg, reader);
|
|
16914
|
+
};
|
|
16915
|
+
|
|
16916
|
+
|
|
16917
|
+
/**
|
|
16918
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16919
|
+
* given reader into the given message object.
|
|
16920
|
+
* @param {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} msg The message object to deserialize into.
|
|
16921
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16922
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse}
|
|
16923
|
+
*/
|
|
16924
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16925
|
+
while (reader.nextField()) {
|
|
16926
|
+
if (reader.isEndGroup()) {
|
|
16927
|
+
break;
|
|
16928
|
+
}
|
|
16929
|
+
var field = reader.getFieldNumber();
|
|
16930
|
+
switch (field) {
|
|
16931
|
+
case 1:
|
|
16932
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
16933
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
16934
|
+
msg.setResponseCode(value);
|
|
16935
|
+
break;
|
|
16936
|
+
case 2:
|
|
16937
|
+
var value = new proto.payrollserviceapi.AgentUserRelationship;
|
|
16938
|
+
reader.readMessage(value,proto.payrollserviceapi.AgentUserRelationship.deserializeBinaryFromReader);
|
|
16939
|
+
msg.addRelationships(value);
|
|
16940
|
+
break;
|
|
16941
|
+
case 3:
|
|
16942
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16943
|
+
msg.setTotalCount(value);
|
|
16944
|
+
break;
|
|
16945
|
+
case 4:
|
|
16946
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16947
|
+
msg.setPage(value);
|
|
16948
|
+
break;
|
|
16949
|
+
case 5:
|
|
16950
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16951
|
+
msg.setLimit(value);
|
|
16952
|
+
break;
|
|
16953
|
+
case 6:
|
|
16954
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16955
|
+
msg.setMessage(value);
|
|
16956
|
+
break;
|
|
16957
|
+
default:
|
|
16958
|
+
reader.skipField();
|
|
16959
|
+
break;
|
|
16960
|
+
}
|
|
16961
|
+
}
|
|
16962
|
+
return msg;
|
|
16963
|
+
};
|
|
16964
|
+
|
|
16965
|
+
|
|
16966
|
+
/**
|
|
16967
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16968
|
+
* @return {!Uint8Array}
|
|
16969
|
+
*/
|
|
16970
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.serializeBinary = function() {
|
|
16971
|
+
var writer = new jspb.BinaryWriter();
|
|
16972
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.serializeBinaryToWriter(this, writer);
|
|
16973
|
+
return writer.getResultBuffer();
|
|
16974
|
+
};
|
|
16975
|
+
|
|
16976
|
+
|
|
16977
|
+
/**
|
|
16978
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16979
|
+
* format), writing to the given BinaryWriter.
|
|
16980
|
+
* @param {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} message
|
|
16981
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16982
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16983
|
+
*/
|
|
16984
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16985
|
+
var f = undefined;
|
|
16986
|
+
f = message.getResponseCode();
|
|
16987
|
+
if (f != null) {
|
|
16988
|
+
writer.writeMessage(
|
|
16989
|
+
1,
|
|
16990
|
+
f,
|
|
16991
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
16992
|
+
);
|
|
16993
|
+
}
|
|
16994
|
+
f = message.getRelationshipsList();
|
|
16995
|
+
if (f.length > 0) {
|
|
16996
|
+
writer.writeRepeatedMessage(
|
|
16997
|
+
2,
|
|
16998
|
+
f,
|
|
16999
|
+
proto.payrollserviceapi.AgentUserRelationship.serializeBinaryToWriter
|
|
17000
|
+
);
|
|
17001
|
+
}
|
|
17002
|
+
f = message.getTotalCount();
|
|
17003
|
+
if (f !== 0) {
|
|
17004
|
+
writer.writeInt32(
|
|
17005
|
+
3,
|
|
17006
|
+
f
|
|
17007
|
+
);
|
|
17008
|
+
}
|
|
17009
|
+
f = message.getPage();
|
|
17010
|
+
if (f !== 0) {
|
|
17011
|
+
writer.writeInt32(
|
|
17012
|
+
4,
|
|
17013
|
+
f
|
|
17014
|
+
);
|
|
17015
|
+
}
|
|
17016
|
+
f = message.getLimit();
|
|
17017
|
+
if (f !== 0) {
|
|
17018
|
+
writer.writeInt32(
|
|
17019
|
+
5,
|
|
17020
|
+
f
|
|
17021
|
+
);
|
|
17022
|
+
}
|
|
17023
|
+
f = message.getMessage();
|
|
17024
|
+
if (f.length > 0) {
|
|
17025
|
+
writer.writeString(
|
|
17026
|
+
6,
|
|
17027
|
+
f
|
|
17028
|
+
);
|
|
17029
|
+
}
|
|
17030
|
+
};
|
|
17031
|
+
|
|
17032
|
+
|
|
17033
|
+
/**
|
|
17034
|
+
* optional ResponseCode response_code = 1;
|
|
17035
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
17036
|
+
*/
|
|
17037
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getResponseCode = function() {
|
|
17038
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
17039
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
17040
|
+
};
|
|
17041
|
+
|
|
17042
|
+
|
|
17043
|
+
/**
|
|
17044
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
17045
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
|
|
17046
|
+
*/
|
|
17047
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setResponseCode = function(value) {
|
|
17048
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
17049
|
+
};
|
|
17050
|
+
|
|
17051
|
+
|
|
17052
|
+
/**
|
|
17053
|
+
* Clears the message field making it undefined.
|
|
17054
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
|
|
17055
|
+
*/
|
|
17056
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.clearResponseCode = function() {
|
|
17057
|
+
return this.setResponseCode(undefined);
|
|
17058
|
+
};
|
|
17059
|
+
|
|
17060
|
+
|
|
17061
|
+
/**
|
|
17062
|
+
* Returns whether this field is set.
|
|
17063
|
+
* @return {boolean}
|
|
17064
|
+
*/
|
|
17065
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.hasResponseCode = function() {
|
|
17066
|
+
return jspb.Message.getField(this, 1) != null;
|
|
17067
|
+
};
|
|
17068
|
+
|
|
17069
|
+
|
|
17070
|
+
/**
|
|
17071
|
+
* repeated AgentUserRelationship relationships = 2;
|
|
17072
|
+
* @return {!Array<!proto.payrollserviceapi.AgentUserRelationship>}
|
|
17073
|
+
*/
|
|
17074
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getRelationshipsList = function() {
|
|
17075
|
+
return /** @type{!Array<!proto.payrollserviceapi.AgentUserRelationship>} */ (
|
|
17076
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.AgentUserRelationship, 2));
|
|
17077
|
+
};
|
|
17078
|
+
|
|
17079
|
+
|
|
17080
|
+
/**
|
|
17081
|
+
* @param {!Array<!proto.payrollserviceapi.AgentUserRelationship>} value
|
|
17082
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
|
|
17083
|
+
*/
|
|
17084
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setRelationshipsList = function(value) {
|
|
17085
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
17086
|
+
};
|
|
17087
|
+
|
|
17088
|
+
|
|
17089
|
+
/**
|
|
17090
|
+
* @param {!proto.payrollserviceapi.AgentUserRelationship=} opt_value
|
|
17091
|
+
* @param {number=} opt_index
|
|
17092
|
+
* @return {!proto.payrollserviceapi.AgentUserRelationship}
|
|
17093
|
+
*/
|
|
17094
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.addRelationships = function(opt_value, opt_index) {
|
|
17095
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.AgentUserRelationship, opt_index);
|
|
17096
|
+
};
|
|
17097
|
+
|
|
17098
|
+
|
|
17099
|
+
/**
|
|
17100
|
+
* Clears the list making it empty but non-null.
|
|
17101
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
|
|
17102
|
+
*/
|
|
17103
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.clearRelationshipsList = function() {
|
|
17104
|
+
return this.setRelationshipsList([]);
|
|
17105
|
+
};
|
|
17106
|
+
|
|
17107
|
+
|
|
17108
|
+
/**
|
|
17109
|
+
* optional int32 total_count = 3;
|
|
17110
|
+
* @return {number}
|
|
17111
|
+
*/
|
|
17112
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getTotalCount = function() {
|
|
17113
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17114
|
+
};
|
|
17115
|
+
|
|
17116
|
+
|
|
17117
|
+
/**
|
|
17118
|
+
* @param {number} value
|
|
17119
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
|
|
17120
|
+
*/
|
|
17121
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setTotalCount = function(value) {
|
|
17122
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
17123
|
+
};
|
|
17124
|
+
|
|
17125
|
+
|
|
17126
|
+
/**
|
|
17127
|
+
* optional int32 page = 4;
|
|
17128
|
+
* @return {number}
|
|
17129
|
+
*/
|
|
17130
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getPage = function() {
|
|
17131
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
17132
|
+
};
|
|
17133
|
+
|
|
17134
|
+
|
|
17135
|
+
/**
|
|
17136
|
+
* @param {number} value
|
|
17137
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
|
|
17138
|
+
*/
|
|
17139
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setPage = function(value) {
|
|
17140
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
17141
|
+
};
|
|
17142
|
+
|
|
17143
|
+
|
|
17144
|
+
/**
|
|
17145
|
+
* optional int32 limit = 5;
|
|
17146
|
+
* @return {number}
|
|
17147
|
+
*/
|
|
17148
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getLimit = function() {
|
|
17149
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
17150
|
+
};
|
|
17151
|
+
|
|
17152
|
+
|
|
17153
|
+
/**
|
|
17154
|
+
* @param {number} value
|
|
17155
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
|
|
17156
|
+
*/
|
|
17157
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setLimit = function(value) {
|
|
17158
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
17159
|
+
};
|
|
17160
|
+
|
|
17161
|
+
|
|
17162
|
+
/**
|
|
17163
|
+
* optional string message = 6;
|
|
17164
|
+
* @return {string}
|
|
17165
|
+
*/
|
|
17166
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getMessage = function() {
|
|
17167
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
17168
|
+
};
|
|
17169
|
+
|
|
17170
|
+
|
|
17171
|
+
/**
|
|
17172
|
+
* @param {string} value
|
|
17173
|
+
* @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
|
|
17174
|
+
*/
|
|
17175
|
+
proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setMessage = function(value) {
|
|
17176
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
17177
|
+
};
|
|
17178
|
+
|
|
17179
|
+
|
|
15113
17180
|
goog.object.extend(exports, proto.payrollserviceapi);
|