@sniipwebmaster/payroll-service-client-grpcweb 25.7.53 → 25.7.63

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.
@@ -27,12 +27,13 @@ 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
+ goog.exportSymbol('proto.payrollserviceapi.Agent', null, global);
31
31
  goog.exportSymbol('proto.payrollserviceapi.BulkImportEmployeesRequest', null, global);
32
32
  goog.exportSymbol('proto.payrollserviceapi.BulkImportEmployeesResponse', null, global);
33
33
  goog.exportSymbol('proto.payrollserviceapi.BusinessDetails', null, global);
34
34
  goog.exportSymbol('proto.payrollserviceapi.BusinessSummary', null, global);
35
35
  goog.exportSymbol('proto.payrollserviceapi.CalculateWomensSalaryResponse', null, global);
36
+ goog.exportSymbol('proto.payrollserviceapi.Client', null, global);
36
37
  goog.exportSymbol('proto.payrollserviceapi.CreateBusinessRequest', null, global);
37
38
  goog.exportSymbol('proto.payrollserviceapi.CreateBusinessResponse', null, global);
38
39
  goog.exportSymbol('proto.payrollserviceapi.CreateEmployeeRequest', null, global);
@@ -1180,16 +1181,37 @@ if (goog.DEBUG && !COMPILED) {
1180
1181
  * @extends {jspb.Message}
1181
1182
  * @constructor
1182
1183
  */
1183
- proto.payrollserviceapi.AgentUserRelationship = function(opt_data) {
1184
+ proto.payrollserviceapi.Agent = function(opt_data) {
1184
1185
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1185
1186
  };
1186
- goog.inherits(proto.payrollserviceapi.AgentUserRelationship, jspb.Message);
1187
+ goog.inherits(proto.payrollserviceapi.Agent, jspb.Message);
1187
1188
  if (goog.DEBUG && !COMPILED) {
1188
1189
  /**
1189
1190
  * @public
1190
1191
  * @override
1191
1192
  */
1192
- proto.payrollserviceapi.AgentUserRelationship.displayName = 'proto.payrollserviceapi.AgentUserRelationship';
1193
+ proto.payrollserviceapi.Agent.displayName = 'proto.payrollserviceapi.Agent';
1194
+ }
1195
+ /**
1196
+ * Generated by JsPbCodeGenerator.
1197
+ * @param {Array=} opt_data Optional initial data array, typically from a
1198
+ * server response, or constructed directly in Javascript. The array is used
1199
+ * in place and becomes part of the constructed object. It is not cloned.
1200
+ * If no data is provided, the constructed object will be empty, but still
1201
+ * valid.
1202
+ * @extends {jspb.Message}
1203
+ * @constructor
1204
+ */
1205
+ proto.payrollserviceapi.Client = function(opt_data) {
1206
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1207
+ };
1208
+ goog.inherits(proto.payrollserviceapi.Client, jspb.Message);
1209
+ if (goog.DEBUG && !COMPILED) {
1210
+ /**
1211
+ * @public
1212
+ * @override
1213
+ */
1214
+ proto.payrollserviceapi.Client.displayName = 'proto.payrollserviceapi.Client';
1193
1215
  }
1194
1216
  /**
1195
1217
  * Generated by JsPbCodeGenerator.
@@ -16272,8 +16294,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
16272
16294
  * http://goto/soy-param-migration
16273
16295
  * @return {!Object}
16274
16296
  */
16275
- proto.payrollserviceapi.AgentUserRelationship.prototype.toObject = function(opt_includeInstance) {
16276
- return proto.payrollserviceapi.AgentUserRelationship.toObject(opt_includeInstance, this);
16297
+ proto.payrollserviceapi.Agent.prototype.toObject = function(opt_includeInstance) {
16298
+ return proto.payrollserviceapi.Agent.toObject(opt_includeInstance, this);
16277
16299
  };
16278
16300
 
16279
16301
 
@@ -16282,21 +16304,20 @@ proto.payrollserviceapi.AgentUserRelationship.prototype.toObject = function(opt_
16282
16304
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16283
16305
  * the JSPB instance for transitional soy proto support:
16284
16306
  * http://goto/soy-param-migration
16285
- * @param {!proto.payrollserviceapi.AgentUserRelationship} msg The msg instance to transform.
16307
+ * @param {!proto.payrollserviceapi.Agent} msg The msg instance to transform.
16286
16308
  * @return {!Object}
16287
16309
  * @suppress {unusedLocalVariables} f is only used for nested messages
16288
16310
  */
16289
- proto.payrollserviceapi.AgentUserRelationship.toObject = function(includeInstance, msg) {
16311
+ proto.payrollserviceapi.Agent.toObject = function(includeInstance, msg) {
16290
16312
  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, "")
16313
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
16314
+ connectionstatus: jspb.Message.getFieldWithDefault(msg, 2, ""),
16315
+ email: jspb.Message.getFieldWithDefault(msg, 3, ""),
16316
+ phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
16317
+ firstname: jspb.Message.getFieldWithDefault(msg, 5, ""),
16318
+ lastname: jspb.Message.getFieldWithDefault(msg, 6, ""),
16319
+ imageurl: jspb.Message.getFieldWithDefault(msg, 7, ""),
16320
+ iscustomimage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
16300
16321
  };
16301
16322
 
16302
16323
  if (includeInstance) {
@@ -16310,23 +16331,23 @@ proto.payrollserviceapi.AgentUserRelationship.toObject = function(includeInstanc
16310
16331
  /**
16311
16332
  * Deserializes binary data (in protobuf wire format).
16312
16333
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
16313
- * @return {!proto.payrollserviceapi.AgentUserRelationship}
16334
+ * @return {!proto.payrollserviceapi.Agent}
16314
16335
  */
16315
- proto.payrollserviceapi.AgentUserRelationship.deserializeBinary = function(bytes) {
16336
+ proto.payrollserviceapi.Agent.deserializeBinary = function(bytes) {
16316
16337
  var reader = new jspb.BinaryReader(bytes);
16317
- var msg = new proto.payrollserviceapi.AgentUserRelationship;
16318
- return proto.payrollserviceapi.AgentUserRelationship.deserializeBinaryFromReader(msg, reader);
16338
+ var msg = new proto.payrollserviceapi.Agent;
16339
+ return proto.payrollserviceapi.Agent.deserializeBinaryFromReader(msg, reader);
16319
16340
  };
16320
16341
 
16321
16342
 
16322
16343
  /**
16323
16344
  * Deserializes binary data (in protobuf wire format) from the
16324
16345
  * given reader into the given message object.
16325
- * @param {!proto.payrollserviceapi.AgentUserRelationship} msg The message object to deserialize into.
16346
+ * @param {!proto.payrollserviceapi.Agent} msg The message object to deserialize into.
16326
16347
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16327
- * @return {!proto.payrollserviceapi.AgentUserRelationship}
16348
+ * @return {!proto.payrollserviceapi.Agent}
16328
16349
  */
16329
- proto.payrollserviceapi.AgentUserRelationship.deserializeBinaryFromReader = function(msg, reader) {
16350
+ proto.payrollserviceapi.Agent.deserializeBinaryFromReader = function(msg, reader) {
16330
16351
  while (reader.nextField()) {
16331
16352
  if (reader.isEndGroup()) {
16332
16353
  break;
@@ -16335,39 +16356,35 @@ proto.payrollserviceapi.AgentUserRelationship.deserializeBinaryFromReader = func
16335
16356
  switch (field) {
16336
16357
  case 1:
16337
16358
  var value = /** @type {number} */ (reader.readInt64());
16338
- msg.setAgentUserId(value);
16359
+ msg.setUserid(value);
16339
16360
  break;
16340
16361
  case 2:
16341
- var value = /** @type {number} */ (reader.readInt64());
16342
- msg.setClientUserId(value);
16362
+ var value = /** @type {string} */ (reader.readString());
16363
+ msg.setConnectionstatus(value);
16343
16364
  break;
16344
16365
  case 3:
16345
16366
  var value = /** @type {string} */ (reader.readString());
16346
- msg.setAgentEmail(value);
16367
+ msg.setEmail(value);
16347
16368
  break;
16348
16369
  case 4:
16349
16370
  var value = /** @type {string} */ (reader.readString());
16350
- msg.setClientEmail(value);
16371
+ msg.setPhone(value);
16351
16372
  break;
16352
16373
  case 5:
16353
16374
  var value = /** @type {string} */ (reader.readString());
16354
- msg.setAgentName(value);
16375
+ msg.setFirstname(value);
16355
16376
  break;
16356
16377
  case 6:
16357
16378
  var value = /** @type {string} */ (reader.readString());
16358
- msg.setClientName(value);
16379
+ msg.setLastname(value);
16359
16380
  break;
16360
16381
  case 7:
16361
16382
  var value = /** @type {string} */ (reader.readString());
16362
- msg.setRelationshipStatus(value);
16383
+ msg.setImageurl(value);
16363
16384
  break;
16364
16385
  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);
16386
+ var value = /** @type {boolean} */ (reader.readBool());
16387
+ msg.setIscustomimage(value);
16371
16388
  break;
16372
16389
  default:
16373
16390
  reader.skipField();
@@ -16382,9 +16399,9 @@ proto.payrollserviceapi.AgentUserRelationship.deserializeBinaryFromReader = func
16382
16399
  * Serializes the message to binary data (in protobuf wire format).
16383
16400
  * @return {!Uint8Array}
16384
16401
  */
16385
- proto.payrollserviceapi.AgentUserRelationship.prototype.serializeBinary = function() {
16402
+ proto.payrollserviceapi.Agent.prototype.serializeBinary = function() {
16386
16403
  var writer = new jspb.BinaryWriter();
16387
- proto.payrollserviceapi.AgentUserRelationship.serializeBinaryToWriter(this, writer);
16404
+ proto.payrollserviceapi.Agent.serializeBinaryToWriter(this, writer);
16388
16405
  return writer.getResultBuffer();
16389
16406
  };
16390
16407
 
@@ -16392,237 +16409,212 @@ proto.payrollserviceapi.AgentUserRelationship.prototype.serializeBinary = functi
16392
16409
  /**
16393
16410
  * Serializes the given message to binary data (in protobuf wire
16394
16411
  * format), writing to the given BinaryWriter.
16395
- * @param {!proto.payrollserviceapi.AgentUserRelationship} message
16412
+ * @param {!proto.payrollserviceapi.Agent} message
16396
16413
  * @param {!jspb.BinaryWriter} writer
16397
16414
  * @suppress {unusedLocalVariables} f is only used for nested messages
16398
16415
  */
16399
- proto.payrollserviceapi.AgentUserRelationship.serializeBinaryToWriter = function(message, writer) {
16416
+ proto.payrollserviceapi.Agent.serializeBinaryToWriter = function(message, writer) {
16400
16417
  var f = undefined;
16401
- f = message.getAgentUserId();
16418
+ f = message.getUserid();
16402
16419
  if (f !== 0) {
16403
16420
  writer.writeInt64(
16404
16421
  1,
16405
16422
  f
16406
16423
  );
16407
16424
  }
16408
- f = message.getClientUserId();
16409
- if (f !== 0) {
16410
- writer.writeInt64(
16425
+ f = message.getConnectionstatus();
16426
+ if (f.length > 0) {
16427
+ writer.writeString(
16411
16428
  2,
16412
16429
  f
16413
16430
  );
16414
16431
  }
16415
- f = message.getAgentEmail();
16432
+ f = message.getEmail();
16416
16433
  if (f.length > 0) {
16417
16434
  writer.writeString(
16418
16435
  3,
16419
16436
  f
16420
16437
  );
16421
16438
  }
16422
- f = message.getClientEmail();
16439
+ f = message.getPhone();
16423
16440
  if (f.length > 0) {
16424
16441
  writer.writeString(
16425
16442
  4,
16426
16443
  f
16427
16444
  );
16428
16445
  }
16429
- f = message.getAgentName();
16446
+ f = message.getFirstname();
16430
16447
  if (f.length > 0) {
16431
16448
  writer.writeString(
16432
16449
  5,
16433
16450
  f
16434
16451
  );
16435
16452
  }
16436
- f = message.getClientName();
16453
+ f = message.getLastname();
16437
16454
  if (f.length > 0) {
16438
16455
  writer.writeString(
16439
16456
  6,
16440
16457
  f
16441
16458
  );
16442
16459
  }
16443
- f = message.getRelationshipStatus();
16460
+ f = message.getImageurl();
16444
16461
  if (f.length > 0) {
16445
16462
  writer.writeString(
16446
16463
  7,
16447
16464
  f
16448
16465
  );
16449
16466
  }
16450
- f = message.getCreatedAt();
16451
- if (f.length > 0) {
16452
- writer.writeString(
16467
+ f = message.getIscustomimage();
16468
+ if (f) {
16469
+ writer.writeBool(
16453
16470
  8,
16454
16471
  f
16455
16472
  );
16456
16473
  }
16457
- f = message.getUpdatedAt();
16458
- if (f.length > 0) {
16459
- writer.writeString(
16460
- 9,
16461
- f
16462
- );
16463
- }
16464
16474
  };
16465
16475
 
16466
16476
 
16467
16477
  /**
16468
- * optional int64 agent_user_id = 1;
16478
+ * optional int64 userId = 1;
16469
16479
  * @return {number}
16470
16480
  */
16471
- proto.payrollserviceapi.AgentUserRelationship.prototype.getAgentUserId = function() {
16481
+ proto.payrollserviceapi.Agent.prototype.getUserid = function() {
16472
16482
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16473
16483
  };
16474
16484
 
16475
16485
 
16476
16486
  /**
16477
16487
  * @param {number} value
16478
- * @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
16488
+ * @return {!proto.payrollserviceapi.Agent} returns this
16479
16489
  */
16480
- proto.payrollserviceapi.AgentUserRelationship.prototype.setAgentUserId = function(value) {
16490
+ proto.payrollserviceapi.Agent.prototype.setUserid = function(value) {
16481
16491
  return jspb.Message.setProto3IntField(this, 1, value);
16482
16492
  };
16483
16493
 
16484
16494
 
16485
16495
  /**
16486
- * optional int64 client_user_id = 2;
16487
- * @return {number}
16496
+ * optional string connectionStatus = 2;
16497
+ * @return {string}
16488
16498
  */
16489
- proto.payrollserviceapi.AgentUserRelationship.prototype.getClientUserId = function() {
16490
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
16499
+ proto.payrollserviceapi.Agent.prototype.getConnectionstatus = function() {
16500
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16491
16501
  };
16492
16502
 
16493
16503
 
16494
16504
  /**
16495
- * @param {number} value
16496
- * @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
16505
+ * @param {string} value
16506
+ * @return {!proto.payrollserviceapi.Agent} returns this
16497
16507
  */
16498
- proto.payrollserviceapi.AgentUserRelationship.prototype.setClientUserId = function(value) {
16499
- return jspb.Message.setProto3IntField(this, 2, value);
16508
+ proto.payrollserviceapi.Agent.prototype.setConnectionstatus = function(value) {
16509
+ return jspb.Message.setProto3StringField(this, 2, value);
16500
16510
  };
16501
16511
 
16502
16512
 
16503
16513
  /**
16504
- * optional string agent_email = 3;
16514
+ * optional string email = 3;
16505
16515
  * @return {string}
16506
16516
  */
16507
- proto.payrollserviceapi.AgentUserRelationship.prototype.getAgentEmail = function() {
16517
+ proto.payrollserviceapi.Agent.prototype.getEmail = function() {
16508
16518
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16509
16519
  };
16510
16520
 
16511
16521
 
16512
16522
  /**
16513
16523
  * @param {string} value
16514
- * @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
16524
+ * @return {!proto.payrollserviceapi.Agent} returns this
16515
16525
  */
16516
- proto.payrollserviceapi.AgentUserRelationship.prototype.setAgentEmail = function(value) {
16526
+ proto.payrollserviceapi.Agent.prototype.setEmail = function(value) {
16517
16527
  return jspb.Message.setProto3StringField(this, 3, value);
16518
16528
  };
16519
16529
 
16520
16530
 
16521
16531
  /**
16522
- * optional string client_email = 4;
16532
+ * optional string phone = 4;
16523
16533
  * @return {string}
16524
16534
  */
16525
- proto.payrollserviceapi.AgentUserRelationship.prototype.getClientEmail = function() {
16535
+ proto.payrollserviceapi.Agent.prototype.getPhone = function() {
16526
16536
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
16527
16537
  };
16528
16538
 
16529
16539
 
16530
16540
  /**
16531
16541
  * @param {string} value
16532
- * @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
16542
+ * @return {!proto.payrollserviceapi.Agent} returns this
16533
16543
  */
16534
- proto.payrollserviceapi.AgentUserRelationship.prototype.setClientEmail = function(value) {
16544
+ proto.payrollserviceapi.Agent.prototype.setPhone = function(value) {
16535
16545
  return jspb.Message.setProto3StringField(this, 4, value);
16536
16546
  };
16537
16547
 
16538
16548
 
16539
16549
  /**
16540
- * optional string agent_name = 5;
16550
+ * optional string firstName = 5;
16541
16551
  * @return {string}
16542
16552
  */
16543
- proto.payrollserviceapi.AgentUserRelationship.prototype.getAgentName = function() {
16553
+ proto.payrollserviceapi.Agent.prototype.getFirstname = function() {
16544
16554
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
16545
16555
  };
16546
16556
 
16547
16557
 
16548
16558
  /**
16549
16559
  * @param {string} value
16550
- * @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
16560
+ * @return {!proto.payrollserviceapi.Agent} returns this
16551
16561
  */
16552
- proto.payrollserviceapi.AgentUserRelationship.prototype.setAgentName = function(value) {
16562
+ proto.payrollserviceapi.Agent.prototype.setFirstname = function(value) {
16553
16563
  return jspb.Message.setProto3StringField(this, 5, value);
16554
16564
  };
16555
16565
 
16556
16566
 
16557
16567
  /**
16558
- * optional string client_name = 6;
16568
+ * optional string lastName = 6;
16559
16569
  * @return {string}
16560
16570
  */
16561
- proto.payrollserviceapi.AgentUserRelationship.prototype.getClientName = function() {
16571
+ proto.payrollserviceapi.Agent.prototype.getLastname = function() {
16562
16572
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
16563
16573
  };
16564
16574
 
16565
16575
 
16566
16576
  /**
16567
16577
  * @param {string} value
16568
- * @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
16578
+ * @return {!proto.payrollserviceapi.Agent} returns this
16569
16579
  */
16570
- proto.payrollserviceapi.AgentUserRelationship.prototype.setClientName = function(value) {
16580
+ proto.payrollserviceapi.Agent.prototype.setLastname = function(value) {
16571
16581
  return jspb.Message.setProto3StringField(this, 6, value);
16572
16582
  };
16573
16583
 
16574
16584
 
16575
16585
  /**
16576
- * optional string relationship_status = 7;
16586
+ * optional string imageUrl = 7;
16577
16587
  * @return {string}
16578
16588
  */
16579
- proto.payrollserviceapi.AgentUserRelationship.prototype.getRelationshipStatus = function() {
16589
+ proto.payrollserviceapi.Agent.prototype.getImageurl = function() {
16580
16590
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
16581
16591
  };
16582
16592
 
16583
16593
 
16584
16594
  /**
16585
16595
  * @param {string} value
16586
- * @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
16596
+ * @return {!proto.payrollserviceapi.Agent} returns this
16587
16597
  */
16588
- proto.payrollserviceapi.AgentUserRelationship.prototype.setRelationshipStatus = function(value) {
16598
+ proto.payrollserviceapi.Agent.prototype.setImageurl = function(value) {
16589
16599
  return jspb.Message.setProto3StringField(this, 7, value);
16590
16600
  };
16591
16601
 
16592
16602
 
16593
16603
  /**
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}
16604
+ * optional bool isCustomImage = 8;
16605
+ * @return {boolean}
16614
16606
  */
16615
- proto.payrollserviceapi.AgentUserRelationship.prototype.getUpdatedAt = function() {
16616
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
16607
+ proto.payrollserviceapi.Agent.prototype.getIscustomimage = function() {
16608
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
16617
16609
  };
16618
16610
 
16619
16611
 
16620
16612
  /**
16621
- * @param {string} value
16622
- * @return {!proto.payrollserviceapi.AgentUserRelationship} returns this
16613
+ * @param {boolean} value
16614
+ * @return {!proto.payrollserviceapi.Agent} returns this
16623
16615
  */
16624
- proto.payrollserviceapi.AgentUserRelationship.prototype.setUpdatedAt = function(value) {
16625
- return jspb.Message.setProto3StringField(this, 9, value);
16616
+ proto.payrollserviceapi.Agent.prototype.setIscustomimage = function(value) {
16617
+ return jspb.Message.setProto3BooleanField(this, 8, value);
16626
16618
  };
16627
16619
 
16628
16620
 
@@ -16642,8 +16634,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
16642
16634
  * http://goto/soy-param-migration
16643
16635
  * @return {!Object}
16644
16636
  */
16645
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.toObject = function(opt_includeInstance) {
16646
- return proto.payrollserviceapi.GetAgentUserRelationshipsRequest.toObject(opt_includeInstance, this);
16637
+ proto.payrollserviceapi.Client.prototype.toObject = function(opt_includeInstance) {
16638
+ return proto.payrollserviceapi.Client.toObject(opt_includeInstance, this);
16647
16639
  };
16648
16640
 
16649
16641
 
@@ -16652,16 +16644,25 @@ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.toObject = fu
16652
16644
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16653
16645
  * the JSPB instance for transitional soy proto support:
16654
16646
  * http://goto/soy-param-migration
16655
- * @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} msg The msg instance to transform.
16647
+ * @param {!proto.payrollserviceapi.Client} msg The msg instance to transform.
16656
16648
  * @return {!Object}
16657
16649
  * @suppress {unusedLocalVariables} f is only used for nested messages
16658
16650
  */
16659
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.toObject = function(includeInstance, msg) {
16651
+ proto.payrollserviceapi.Client.toObject = function(includeInstance, msg) {
16660
16652
  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)
16653
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
16654
+ connectionstatus: jspb.Message.getFieldWithDefault(msg, 2, ""),
16655
+ email: jspb.Message.getFieldWithDefault(msg, 3, ""),
16656
+ phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
16657
+ firstname: jspb.Message.getFieldWithDefault(msg, 5, ""),
16658
+ lastname: jspb.Message.getFieldWithDefault(msg, 6, ""),
16659
+ imageurl: jspb.Message.getFieldWithDefault(msg, 7, ""),
16660
+ iscustomimage: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
16661
+ abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
16662
+ abnentityname: jspb.Message.getFieldWithDefault(msg, 10, ""),
16663
+ lastconnectedtimestamp: jspb.Message.getFieldWithDefault(msg, 11, ""),
16664
+ lastdisconnectedtimestamp: jspb.Message.getFieldWithDefault(msg, 12, ""),
16665
+ lastinvitationsenttimestamp: jspb.Message.getFieldWithDefault(msg, 13, "")
16665
16666
  };
16666
16667
 
16667
16668
  if (includeInstance) {
@@ -16675,23 +16676,23 @@ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.toObject = function(inc
16675
16676
  /**
16676
16677
  * Deserializes binary data (in protobuf wire format).
16677
16678
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
16678
- * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest}
16679
+ * @return {!proto.payrollserviceapi.Client}
16679
16680
  */
16680
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinary = function(bytes) {
16681
+ proto.payrollserviceapi.Client.deserializeBinary = function(bytes) {
16681
16682
  var reader = new jspb.BinaryReader(bytes);
16682
- var msg = new proto.payrollserviceapi.GetAgentUserRelationshipsRequest;
16683
- return proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinaryFromReader(msg, reader);
16683
+ var msg = new proto.payrollserviceapi.Client;
16684
+ return proto.payrollserviceapi.Client.deserializeBinaryFromReader(msg, reader);
16684
16685
  };
16685
16686
 
16686
16687
 
16687
16688
  /**
16688
16689
  * Deserializes binary data (in protobuf wire format) from the
16689
16690
  * given reader into the given message object.
16690
- * @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} msg The message object to deserialize into.
16691
+ * @param {!proto.payrollserviceapi.Client} msg The message object to deserialize into.
16691
16692
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16692
- * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest}
16693
+ * @return {!proto.payrollserviceapi.Client}
16693
16694
  */
16694
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinaryFromReader = function(msg, reader) {
16695
+ proto.payrollserviceapi.Client.deserializeBinaryFromReader = function(msg, reader) {
16695
16696
  while (reader.nextField()) {
16696
16697
  if (reader.isEndGroup()) {
16697
16698
  break;
@@ -16700,19 +16701,55 @@ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinaryFromRe
16700
16701
  switch (field) {
16701
16702
  case 1:
16702
16703
  var value = /** @type {number} */ (reader.readInt64());
16703
- msg.setUserId(value);
16704
+ msg.setUserid(value);
16704
16705
  break;
16705
16706
  case 2:
16706
16707
  var value = /** @type {string} */ (reader.readString());
16707
- msg.setRelationshipType(value);
16708
+ msg.setConnectionstatus(value);
16708
16709
  break;
16709
16710
  case 3:
16710
- var value = /** @type {number} */ (reader.readInt32());
16711
- msg.setPage(value);
16711
+ var value = /** @type {string} */ (reader.readString());
16712
+ msg.setEmail(value);
16712
16713
  break;
16713
16714
  case 4:
16714
- var value = /** @type {number} */ (reader.readInt32());
16715
- msg.setLimit(value);
16715
+ var value = /** @type {string} */ (reader.readString());
16716
+ msg.setPhone(value);
16717
+ break;
16718
+ case 5:
16719
+ var value = /** @type {string} */ (reader.readString());
16720
+ msg.setFirstname(value);
16721
+ break;
16722
+ case 6:
16723
+ var value = /** @type {string} */ (reader.readString());
16724
+ msg.setLastname(value);
16725
+ break;
16726
+ case 7:
16727
+ var value = /** @type {string} */ (reader.readString());
16728
+ msg.setImageurl(value);
16729
+ break;
16730
+ case 8:
16731
+ var value = /** @type {boolean} */ (reader.readBool());
16732
+ msg.setIscustomimage(value);
16733
+ break;
16734
+ case 9:
16735
+ var value = /** @type {string} */ (reader.readString());
16736
+ msg.setAbn(value);
16737
+ break;
16738
+ case 10:
16739
+ var value = /** @type {string} */ (reader.readString());
16740
+ msg.setAbnentityname(value);
16741
+ break;
16742
+ case 11:
16743
+ var value = /** @type {string} */ (reader.readString());
16744
+ msg.setLastconnectedtimestamp(value);
16745
+ break;
16746
+ case 12:
16747
+ var value = /** @type {string} */ (reader.readString());
16748
+ msg.setLastdisconnectedtimestamp(value);
16749
+ break;
16750
+ case 13:
16751
+ var value = /** @type {string} */ (reader.readString());
16752
+ msg.setLastinvitationsenttimestamp(value);
16716
16753
  break;
16717
16754
  default:
16718
16755
  reader.skipField();
@@ -16727,9 +16764,9 @@ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinaryFromRe
16727
16764
  * Serializes the message to binary data (in protobuf wire format).
16728
16765
  * @return {!Uint8Array}
16729
16766
  */
16730
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.serializeBinary = function() {
16767
+ proto.payrollserviceapi.Client.prototype.serializeBinary = function() {
16731
16768
  var writer = new jspb.BinaryWriter();
16732
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.serializeBinaryToWriter(this, writer);
16769
+ proto.payrollserviceapi.Client.serializeBinaryToWriter(this, writer);
16733
16770
  return writer.getResultBuffer();
16734
16771
  };
16735
16772
 
@@ -16737,146 +16774,501 @@ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.serializeBina
16737
16774
  /**
16738
16775
  * Serializes the given message to binary data (in protobuf wire
16739
16776
  * format), writing to the given BinaryWriter.
16740
- * @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} message
16777
+ * @param {!proto.payrollserviceapi.Client} message
16741
16778
  * @param {!jspb.BinaryWriter} writer
16742
16779
  * @suppress {unusedLocalVariables} f is only used for nested messages
16743
16780
  */
16744
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.serializeBinaryToWriter = function(message, writer) {
16781
+ proto.payrollserviceapi.Client.serializeBinaryToWriter = function(message, writer) {
16745
16782
  var f = undefined;
16746
- f = message.getUserId();
16783
+ f = message.getUserid();
16747
16784
  if (f !== 0) {
16748
16785
  writer.writeInt64(
16749
16786
  1,
16750
16787
  f
16751
16788
  );
16752
16789
  }
16753
- f = message.getRelationshipType();
16790
+ f = message.getConnectionstatus();
16754
16791
  if (f.length > 0) {
16755
16792
  writer.writeString(
16756
16793
  2,
16757
16794
  f
16758
16795
  );
16759
16796
  }
16760
- f = message.getPage();
16761
- if (f !== 0) {
16762
- writer.writeInt32(
16797
+ f = message.getEmail();
16798
+ if (f.length > 0) {
16799
+ writer.writeString(
16763
16800
  3,
16764
16801
  f
16765
16802
  );
16766
16803
  }
16767
- f = message.getLimit();
16768
- if (f !== 0) {
16769
- writer.writeInt32(
16804
+ f = message.getPhone();
16805
+ if (f.length > 0) {
16806
+ writer.writeString(
16770
16807
  4,
16771
16808
  f
16772
16809
  );
16773
16810
  }
16811
+ f = message.getFirstname();
16812
+ if (f.length > 0) {
16813
+ writer.writeString(
16814
+ 5,
16815
+ f
16816
+ );
16817
+ }
16818
+ f = message.getLastname();
16819
+ if (f.length > 0) {
16820
+ writer.writeString(
16821
+ 6,
16822
+ f
16823
+ );
16824
+ }
16825
+ f = message.getImageurl();
16826
+ if (f.length > 0) {
16827
+ writer.writeString(
16828
+ 7,
16829
+ f
16830
+ );
16831
+ }
16832
+ f = message.getIscustomimage();
16833
+ if (f) {
16834
+ writer.writeBool(
16835
+ 8,
16836
+ f
16837
+ );
16838
+ }
16839
+ f = message.getAbn();
16840
+ if (f.length > 0) {
16841
+ writer.writeString(
16842
+ 9,
16843
+ f
16844
+ );
16845
+ }
16846
+ f = message.getAbnentityname();
16847
+ if (f.length > 0) {
16848
+ writer.writeString(
16849
+ 10,
16850
+ f
16851
+ );
16852
+ }
16853
+ f = message.getLastconnectedtimestamp();
16854
+ if (f.length > 0) {
16855
+ writer.writeString(
16856
+ 11,
16857
+ f
16858
+ );
16859
+ }
16860
+ f = message.getLastdisconnectedtimestamp();
16861
+ if (f.length > 0) {
16862
+ writer.writeString(
16863
+ 12,
16864
+ f
16865
+ );
16866
+ }
16867
+ f = message.getLastinvitationsenttimestamp();
16868
+ if (f.length > 0) {
16869
+ writer.writeString(
16870
+ 13,
16871
+ f
16872
+ );
16873
+ }
16774
16874
  };
16775
16875
 
16776
16876
 
16777
16877
  /**
16778
- * optional int64 user_id = 1;
16878
+ * optional int64 userId = 1;
16779
16879
  * @return {number}
16780
16880
  */
16781
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getUserId = function() {
16881
+ proto.payrollserviceapi.Client.prototype.getUserid = function() {
16782
16882
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16783
16883
  };
16784
16884
 
16785
16885
 
16786
16886
  /**
16787
16887
  * @param {number} value
16788
- * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
16888
+ * @return {!proto.payrollserviceapi.Client} returns this
16789
16889
  */
16790
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setUserId = function(value) {
16890
+ proto.payrollserviceapi.Client.prototype.setUserid = function(value) {
16791
16891
  return jspb.Message.setProto3IntField(this, 1, value);
16792
16892
  };
16793
16893
 
16794
16894
 
16795
16895
  /**
16796
- * optional string relationship_type = 2;
16896
+ * optional string connectionStatus = 2;
16797
16897
  * @return {string}
16798
16898
  */
16799
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getRelationshipType = function() {
16899
+ proto.payrollserviceapi.Client.prototype.getConnectionstatus = function() {
16800
16900
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16801
16901
  };
16802
16902
 
16803
16903
 
16804
16904
  /**
16805
16905
  * @param {string} value
16806
- * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
16906
+ * @return {!proto.payrollserviceapi.Client} returns this
16807
16907
  */
16808
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setRelationshipType = function(value) {
16908
+ proto.payrollserviceapi.Client.prototype.setConnectionstatus = function(value) {
16809
16909
  return jspb.Message.setProto3StringField(this, 2, value);
16810
16910
  };
16811
16911
 
16812
16912
 
16813
16913
  /**
16814
- * optional int32 page = 3;
16815
- * @return {number}
16914
+ * optional string email = 3;
16915
+ * @return {string}
16816
16916
  */
16817
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getPage = function() {
16818
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
16917
+ proto.payrollserviceapi.Client.prototype.getEmail = function() {
16918
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16819
16919
  };
16820
16920
 
16821
16921
 
16822
16922
  /**
16823
- * @param {number} value
16824
- * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
16923
+ * @param {string} value
16924
+ * @return {!proto.payrollserviceapi.Client} returns this
16825
16925
  */
16826
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setPage = function(value) {
16827
- return jspb.Message.setProto3IntField(this, 3, value);
16926
+ proto.payrollserviceapi.Client.prototype.setEmail = function(value) {
16927
+ return jspb.Message.setProto3StringField(this, 3, value);
16828
16928
  };
16829
16929
 
16830
16930
 
16831
16931
  /**
16832
- * optional int32 limit = 4;
16833
- * @return {number}
16932
+ * optional string phone = 4;
16933
+ * @return {string}
16834
16934
  */
16835
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getLimit = function() {
16836
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
16935
+ proto.payrollserviceapi.Client.prototype.getPhone = function() {
16936
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
16837
16937
  };
16838
16938
 
16839
16939
 
16840
16940
  /**
16841
- * @param {number} value
16842
- * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
16941
+ * @param {string} value
16942
+ * @return {!proto.payrollserviceapi.Client} returns this
16843
16943
  */
16844
- proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setLimit = function(value) {
16845
- return jspb.Message.setProto3IntField(this, 4, value);
16944
+ proto.payrollserviceapi.Client.prototype.setPhone = function(value) {
16945
+ return jspb.Message.setProto3StringField(this, 4, value);
16846
16946
  };
16847
16947
 
16848
16948
 
16949
+ /**
16950
+ * optional string firstName = 5;
16951
+ * @return {string}
16952
+ */
16953
+ proto.payrollserviceapi.Client.prototype.getFirstname = function() {
16954
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
16955
+ };
16956
+
16849
16957
 
16850
16958
  /**
16851
- * List of repeated fields within this message type.
16852
- * @private {!Array<number>}
16853
- * @const
16959
+ * @param {string} value
16960
+ * @return {!proto.payrollserviceapi.Client} returns this
16854
16961
  */
16855
- proto.payrollserviceapi.GetAgentUserRelationshipsResponse.repeatedFields_ = [2];
16962
+ proto.payrollserviceapi.Client.prototype.setFirstname = function(value) {
16963
+ return jspb.Message.setProto3StringField(this, 5, value);
16964
+ };
16965
+
16856
16966
 
16967
+ /**
16968
+ * optional string lastName = 6;
16969
+ * @return {string}
16970
+ */
16971
+ proto.payrollserviceapi.Client.prototype.getLastname = function() {
16972
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
16973
+ };
16857
16974
 
16858
16975
 
16859
- if (jspb.Message.GENERATE_TO_OBJECT) {
16860
16976
  /**
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}
16977
+ * @param {string} value
16978
+ * @return {!proto.payrollserviceapi.Client} returns this
16871
16979
  */
16872
- proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.toObject = function(opt_includeInstance) {
16873
- return proto.payrollserviceapi.GetAgentUserRelationshipsResponse.toObject(opt_includeInstance, this);
16980
+ proto.payrollserviceapi.Client.prototype.setLastname = function(value) {
16981
+ return jspb.Message.setProto3StringField(this, 6, value);
16874
16982
  };
16875
16983
 
16876
16984
 
16877
16985
  /**
16878
- * Static version of the {@see toObject} method.
16879
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16986
+ * optional string imageUrl = 7;
16987
+ * @return {string}
16988
+ */
16989
+ proto.payrollserviceapi.Client.prototype.getImageurl = function() {
16990
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
16991
+ };
16992
+
16993
+
16994
+ /**
16995
+ * @param {string} value
16996
+ * @return {!proto.payrollserviceapi.Client} returns this
16997
+ */
16998
+ proto.payrollserviceapi.Client.prototype.setImageurl = function(value) {
16999
+ return jspb.Message.setProto3StringField(this, 7, value);
17000
+ };
17001
+
17002
+
17003
+ /**
17004
+ * optional bool isCustomImage = 8;
17005
+ * @return {boolean}
17006
+ */
17007
+ proto.payrollserviceapi.Client.prototype.getIscustomimage = function() {
17008
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
17009
+ };
17010
+
17011
+
17012
+ /**
17013
+ * @param {boolean} value
17014
+ * @return {!proto.payrollserviceapi.Client} returns this
17015
+ */
17016
+ proto.payrollserviceapi.Client.prototype.setIscustomimage = function(value) {
17017
+ return jspb.Message.setProto3BooleanField(this, 8, value);
17018
+ };
17019
+
17020
+
17021
+ /**
17022
+ * optional string abn = 9;
17023
+ * @return {string}
17024
+ */
17025
+ proto.payrollserviceapi.Client.prototype.getAbn = function() {
17026
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
17027
+ };
17028
+
17029
+
17030
+ /**
17031
+ * @param {string} value
17032
+ * @return {!proto.payrollserviceapi.Client} returns this
17033
+ */
17034
+ proto.payrollserviceapi.Client.prototype.setAbn = function(value) {
17035
+ return jspb.Message.setProto3StringField(this, 9, value);
17036
+ };
17037
+
17038
+
17039
+ /**
17040
+ * optional string abnEntityName = 10;
17041
+ * @return {string}
17042
+ */
17043
+ proto.payrollserviceapi.Client.prototype.getAbnentityname = function() {
17044
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
17045
+ };
17046
+
17047
+
17048
+ /**
17049
+ * @param {string} value
17050
+ * @return {!proto.payrollserviceapi.Client} returns this
17051
+ */
17052
+ proto.payrollserviceapi.Client.prototype.setAbnentityname = function(value) {
17053
+ return jspb.Message.setProto3StringField(this, 10, value);
17054
+ };
17055
+
17056
+
17057
+ /**
17058
+ * optional string lastConnectedTimestamp = 11;
17059
+ * @return {string}
17060
+ */
17061
+ proto.payrollserviceapi.Client.prototype.getLastconnectedtimestamp = function() {
17062
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
17063
+ };
17064
+
17065
+
17066
+ /**
17067
+ * @param {string} value
17068
+ * @return {!proto.payrollserviceapi.Client} returns this
17069
+ */
17070
+ proto.payrollserviceapi.Client.prototype.setLastconnectedtimestamp = function(value) {
17071
+ return jspb.Message.setProto3StringField(this, 11, value);
17072
+ };
17073
+
17074
+
17075
+ /**
17076
+ * optional string lastDisconnectedTimestamp = 12;
17077
+ * @return {string}
17078
+ */
17079
+ proto.payrollserviceapi.Client.prototype.getLastdisconnectedtimestamp = function() {
17080
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
17081
+ };
17082
+
17083
+
17084
+ /**
17085
+ * @param {string} value
17086
+ * @return {!proto.payrollserviceapi.Client} returns this
17087
+ */
17088
+ proto.payrollserviceapi.Client.prototype.setLastdisconnectedtimestamp = function(value) {
17089
+ return jspb.Message.setProto3StringField(this, 12, value);
17090
+ };
17091
+
17092
+
17093
+ /**
17094
+ * optional string lastInvitationSentTimestamp = 13;
17095
+ * @return {string}
17096
+ */
17097
+ proto.payrollserviceapi.Client.prototype.getLastinvitationsenttimestamp = function() {
17098
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
17099
+ };
17100
+
17101
+
17102
+ /**
17103
+ * @param {string} value
17104
+ * @return {!proto.payrollserviceapi.Client} returns this
17105
+ */
17106
+ proto.payrollserviceapi.Client.prototype.setLastinvitationsenttimestamp = function(value) {
17107
+ return jspb.Message.setProto3StringField(this, 13, value);
17108
+ };
17109
+
17110
+
17111
+
17112
+
17113
+
17114
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17115
+ /**
17116
+ * Creates an object representation of this proto.
17117
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17118
+ * Optional fields that are not set will be set to undefined.
17119
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17120
+ * For the list of reserved names please see:
17121
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17122
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17123
+ * JSPB instance for transitional soy proto support:
17124
+ * http://goto/soy-param-migration
17125
+ * @return {!Object}
17126
+ */
17127
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.toObject = function(opt_includeInstance) {
17128
+ return proto.payrollserviceapi.GetAgentUserRelationshipsRequest.toObject(opt_includeInstance, this);
17129
+ };
17130
+
17131
+
17132
+ /**
17133
+ * Static version of the {@see toObject} method.
17134
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17135
+ * the JSPB instance for transitional soy proto support:
17136
+ * http://goto/soy-param-migration
17137
+ * @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} msg The msg instance to transform.
17138
+ * @return {!Object}
17139
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17140
+ */
17141
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.toObject = function(includeInstance, msg) {
17142
+ var f, obj = {
17143
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
17144
+ };
17145
+
17146
+ if (includeInstance) {
17147
+ obj.$jspbMessageInstance = msg;
17148
+ }
17149
+ return obj;
17150
+ };
17151
+ }
17152
+
17153
+
17154
+ /**
17155
+ * Deserializes binary data (in protobuf wire format).
17156
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17157
+ * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest}
17158
+ */
17159
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinary = function(bytes) {
17160
+ var reader = new jspb.BinaryReader(bytes);
17161
+ var msg = new proto.payrollserviceapi.GetAgentUserRelationshipsRequest;
17162
+ return proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinaryFromReader(msg, reader);
17163
+ };
17164
+
17165
+
17166
+ /**
17167
+ * Deserializes binary data (in protobuf wire format) from the
17168
+ * given reader into the given message object.
17169
+ * @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} msg The message object to deserialize into.
17170
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17171
+ * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest}
17172
+ */
17173
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.deserializeBinaryFromReader = function(msg, reader) {
17174
+ while (reader.nextField()) {
17175
+ if (reader.isEndGroup()) {
17176
+ break;
17177
+ }
17178
+ var field = reader.getFieldNumber();
17179
+ switch (field) {
17180
+ case 1:
17181
+ var value = /** @type {number} */ (reader.readInt64());
17182
+ msg.setUserId(value);
17183
+ break;
17184
+ default:
17185
+ reader.skipField();
17186
+ break;
17187
+ }
17188
+ }
17189
+ return msg;
17190
+ };
17191
+
17192
+
17193
+ /**
17194
+ * Serializes the message to binary data (in protobuf wire format).
17195
+ * @return {!Uint8Array}
17196
+ */
17197
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.serializeBinary = function() {
17198
+ var writer = new jspb.BinaryWriter();
17199
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.serializeBinaryToWriter(this, writer);
17200
+ return writer.getResultBuffer();
17201
+ };
17202
+
17203
+
17204
+ /**
17205
+ * Serializes the given message to binary data (in protobuf wire
17206
+ * format), writing to the given BinaryWriter.
17207
+ * @param {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} message
17208
+ * @param {!jspb.BinaryWriter} writer
17209
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17210
+ */
17211
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.serializeBinaryToWriter = function(message, writer) {
17212
+ var f = undefined;
17213
+ f = message.getUserId();
17214
+ if (f !== 0) {
17215
+ writer.writeInt64(
17216
+ 1,
17217
+ f
17218
+ );
17219
+ }
17220
+ };
17221
+
17222
+
17223
+ /**
17224
+ * optional int64 user_id = 1;
17225
+ * @return {number}
17226
+ */
17227
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.getUserId = function() {
17228
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
17229
+ };
17230
+
17231
+
17232
+ /**
17233
+ * @param {number} value
17234
+ * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsRequest} returns this
17235
+ */
17236
+ proto.payrollserviceapi.GetAgentUserRelationshipsRequest.prototype.setUserId = function(value) {
17237
+ return jspb.Message.setProto3IntField(this, 1, value);
17238
+ };
17239
+
17240
+
17241
+
17242
+ /**
17243
+ * List of repeated fields within this message type.
17244
+ * @private {!Array<number>}
17245
+ * @const
17246
+ */
17247
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.repeatedFields_ = [2,3];
17248
+
17249
+
17250
+
17251
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17252
+ /**
17253
+ * Creates an object representation of this proto.
17254
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17255
+ * Optional fields that are not set will be set to undefined.
17256
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17257
+ * For the list of reserved names please see:
17258
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17259
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17260
+ * JSPB instance for transitional soy proto support:
17261
+ * http://goto/soy-param-migration
17262
+ * @return {!Object}
17263
+ */
17264
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.toObject = function(opt_includeInstance) {
17265
+ return proto.payrollserviceapi.GetAgentUserRelationshipsResponse.toObject(opt_includeInstance, this);
17266
+ };
17267
+
17268
+
17269
+ /**
17270
+ * Static version of the {@see toObject} method.
17271
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16880
17272
  * the JSPB instance for transitional soy proto support:
16881
17273
  * http://goto/soy-param-migration
16882
17274
  * @param {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} msg The msg instance to transform.
@@ -16886,12 +17278,11 @@ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.toObject = f
16886
17278
  proto.payrollserviceapi.GetAgentUserRelationshipsResponse.toObject = function(includeInstance, msg) {
16887
17279
  var f, obj = {
16888
17280
  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, "")
17281
+ agentsList: jspb.Message.toObjectList(msg.getAgentsList(),
17282
+ proto.payrollserviceapi.Agent.toObject, includeInstance),
17283
+ clientsList: jspb.Message.toObjectList(msg.getClientsList(),
17284
+ proto.payrollserviceapi.Client.toObject, includeInstance),
17285
+ message: jspb.Message.getFieldWithDefault(msg, 4, "")
16895
17286
  };
16896
17287
 
16897
17288
  if (includeInstance) {
@@ -16934,23 +17325,16 @@ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.deserializeBinaryFromR
16934
17325
  msg.setResponseCode(value);
16935
17326
  break;
16936
17327
  case 2:
16937
- var value = new proto.payrollserviceapi.AgentUserRelationship;
16938
- reader.readMessage(value,proto.payrollserviceapi.AgentUserRelationship.deserializeBinaryFromReader);
16939
- msg.addRelationships(value);
17328
+ var value = new proto.payrollserviceapi.Agent;
17329
+ reader.readMessage(value,proto.payrollserviceapi.Agent.deserializeBinaryFromReader);
17330
+ msg.addAgents(value);
16940
17331
  break;
16941
17332
  case 3:
16942
- var value = /** @type {number} */ (reader.readInt32());
16943
- msg.setTotalCount(value);
17333
+ var value = new proto.payrollserviceapi.Client;
17334
+ reader.readMessage(value,proto.payrollserviceapi.Client.deserializeBinaryFromReader);
17335
+ msg.addClients(value);
16944
17336
  break;
16945
17337
  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
17338
  var value = /** @type {string} */ (reader.readString());
16955
17339
  msg.setMessage(value);
16956
17340
  break;
@@ -16991,39 +17375,26 @@ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.serializeBinaryToWrite
16991
17375
  proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
16992
17376
  );
16993
17377
  }
16994
- f = message.getRelationshipsList();
17378
+ f = message.getAgentsList();
16995
17379
  if (f.length > 0) {
16996
17380
  writer.writeRepeatedMessage(
16997
17381
  2,
16998
17382
  f,
16999
- proto.payrollserviceapi.AgentUserRelationship.serializeBinaryToWriter
17383
+ proto.payrollserviceapi.Agent.serializeBinaryToWriter
17000
17384
  );
17001
17385
  }
17002
- f = message.getTotalCount();
17003
- if (f !== 0) {
17004
- writer.writeInt32(
17386
+ f = message.getClientsList();
17387
+ if (f.length > 0) {
17388
+ writer.writeRepeatedMessage(
17005
17389
  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
17390
+ f,
17391
+ proto.payrollserviceapi.Client.serializeBinaryToWriter
17021
17392
  );
17022
17393
  }
17023
17394
  f = message.getMessage();
17024
17395
  if (f.length > 0) {
17025
17396
  writer.writeString(
17026
- 6,
17397
+ 4,
17027
17398
  f
17028
17399
  );
17029
17400
  }
@@ -17068,31 +17439,31 @@ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.hasResponseC
17068
17439
 
17069
17440
 
17070
17441
  /**
17071
- * repeated AgentUserRelationship relationships = 2;
17072
- * @return {!Array<!proto.payrollserviceapi.AgentUserRelationship>}
17442
+ * repeated Agent agents = 2;
17443
+ * @return {!Array<!proto.payrollserviceapi.Agent>}
17073
17444
  */
17074
- proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getRelationshipsList = function() {
17075
- return /** @type{!Array<!proto.payrollserviceapi.AgentUserRelationship>} */ (
17076
- jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.AgentUserRelationship, 2));
17445
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getAgentsList = function() {
17446
+ return /** @type{!Array<!proto.payrollserviceapi.Agent>} */ (
17447
+ jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.Agent, 2));
17077
17448
  };
17078
17449
 
17079
17450
 
17080
17451
  /**
17081
- * @param {!Array<!proto.payrollserviceapi.AgentUserRelationship>} value
17452
+ * @param {!Array<!proto.payrollserviceapi.Agent>} value
17082
17453
  * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
17083
17454
  */
17084
- proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setRelationshipsList = function(value) {
17455
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setAgentsList = function(value) {
17085
17456
  return jspb.Message.setRepeatedWrapperField(this, 2, value);
17086
17457
  };
17087
17458
 
17088
17459
 
17089
17460
  /**
17090
- * @param {!proto.payrollserviceapi.AgentUserRelationship=} opt_value
17461
+ * @param {!proto.payrollserviceapi.Agent=} opt_value
17091
17462
  * @param {number=} opt_index
17092
- * @return {!proto.payrollserviceapi.AgentUserRelationship}
17463
+ * @return {!proto.payrollserviceapi.Agent}
17093
17464
  */
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);
17465
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.addAgents = function(opt_value, opt_index) {
17466
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.Agent, opt_index);
17096
17467
  };
17097
17468
 
17098
17469
 
@@ -17100,71 +17471,55 @@ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.addRelations
17100
17471
  * Clears the list making it empty but non-null.
17101
17472
  * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
17102
17473
  */
17103
- proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.clearRelationshipsList = function() {
17104
- return this.setRelationshipsList([]);
17474
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.clearAgentsList = function() {
17475
+ return this.setAgentsList([]);
17105
17476
  };
17106
17477
 
17107
17478
 
17108
17479
  /**
17109
- * optional int32 total_count = 3;
17110
- * @return {number}
17480
+ * repeated Client clients = 3;
17481
+ * @return {!Array<!proto.payrollserviceapi.Client>}
17111
17482
  */
17112
- proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getTotalCount = function() {
17113
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
17483
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getClientsList = function() {
17484
+ return /** @type{!Array<!proto.payrollserviceapi.Client>} */ (
17485
+ jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.Client, 3));
17114
17486
  };
17115
17487
 
17116
17488
 
17117
17489
  /**
17118
- * @param {number} value
17490
+ * @param {!Array<!proto.payrollserviceapi.Client>} value
17119
17491
  * @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);
17492
+ */
17493
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setClientsList = function(value) {
17494
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
17141
17495
  };
17142
17496
 
17143
17497
 
17144
17498
  /**
17145
- * optional int32 limit = 5;
17146
- * @return {number}
17499
+ * @param {!proto.payrollserviceapi.Client=} opt_value
17500
+ * @param {number=} opt_index
17501
+ * @return {!proto.payrollserviceapi.Client}
17147
17502
  */
17148
- proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getLimit = function() {
17149
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
17503
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.addClients = function(opt_value, opt_index) {
17504
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.payrollserviceapi.Client, opt_index);
17150
17505
  };
17151
17506
 
17152
17507
 
17153
17508
  /**
17154
- * @param {number} value
17509
+ * Clears the list making it empty but non-null.
17155
17510
  * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
17156
17511
  */
17157
- proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setLimit = function(value) {
17158
- return jspb.Message.setProto3IntField(this, 5, value);
17512
+ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.clearClientsList = function() {
17513
+ return this.setClientsList([]);
17159
17514
  };
17160
17515
 
17161
17516
 
17162
17517
  /**
17163
- * optional string message = 6;
17518
+ * optional string message = 4;
17164
17519
  * @return {string}
17165
17520
  */
17166
17521
  proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getMessage = function() {
17167
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
17522
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17168
17523
  };
17169
17524
 
17170
17525
 
@@ -17173,7 +17528,7 @@ proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.getMessage =
17173
17528
  * @return {!proto.payrollserviceapi.GetAgentUserRelationshipsResponse} returns this
17174
17529
  */
17175
17530
  proto.payrollserviceapi.GetAgentUserRelationshipsResponse.prototype.setMessage = function(value) {
17176
- return jspb.Message.setProto3StringField(this, 6, value);
17531
+ return jspb.Message.setProto3StringField(this, 4, value);
17177
17532
  };
17178
17533
 
17179
17534