@sniipwebmaster/payroll-service-client-grpcweb 26.7.1335 → 26.7.1347

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.
@@ -145,6 +145,7 @@ goog.exportSymbol('proto.payrollserviceapi.MismatchRecordEmployeeDetailsRequest'
145
145
  goog.exportSymbol('proto.payrollserviceapi.MismatchRecordEmployeeDetailsResponse', null, global);
146
146
  goog.exportSymbol('proto.payrollserviceapi.PayrollInfo', null, global);
147
147
  goog.exportSymbol('proto.payrollserviceapi.PayrunDetail', null, global);
148
+ goog.exportSymbol('proto.payrollserviceapi.PayrunSummary', null, global);
148
149
  goog.exportSymbol('proto.payrollserviceapi.PdfFileResponse', null, global);
149
150
  goog.exportSymbol('proto.payrollserviceapi.PrepareDisbursementRefundResponse', null, global);
150
151
  goog.exportSymbol('proto.payrollserviceapi.RecordDisbursementRefundRequest', null, global);
@@ -2898,6 +2899,27 @@ if (goog.DEBUG && !COMPILED) {
2898
2899
  */
2899
2900
  proto.payrollserviceapi.DisbursementsResponse.displayName = 'proto.payrollserviceapi.DisbursementsResponse';
2900
2901
  }
2902
+ /**
2903
+ * Generated by JsPbCodeGenerator.
2904
+ * @param {Array=} opt_data Optional initial data array, typically from a
2905
+ * server response, or constructed directly in Javascript. The array is used
2906
+ * in place and becomes part of the constructed object. It is not cloned.
2907
+ * If no data is provided, the constructed object will be empty, but still
2908
+ * valid.
2909
+ * @extends {jspb.Message}
2910
+ * @constructor
2911
+ */
2912
+ proto.payrollserviceapi.PayrunSummary = function(opt_data) {
2913
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2914
+ };
2915
+ goog.inherits(proto.payrollserviceapi.PayrunSummary, jspb.Message);
2916
+ if (goog.DEBUG && !COMPILED) {
2917
+ /**
2918
+ * @public
2919
+ * @override
2920
+ */
2921
+ proto.payrollserviceapi.PayrunSummary.displayName = 'proto.payrollserviceapi.PayrunSummary';
2922
+ }
2901
2923
  /**
2902
2924
  * Generated by JsPbCodeGenerator.
2903
2925
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -36038,7 +36060,8 @@ proto.payrollserviceapi.DisbursementsResponse.toObject = function(includeInstanc
36038
36060
  responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
36039
36061
  payrunId: jspb.Message.getFieldWithDefault(msg, 2, 0),
36040
36062
  disbursementsList: jspb.Message.toObjectList(msg.getDisbursementsList(),
36041
- proto.payrollserviceapi.DisbursementDetail.toObject, includeInstance)
36063
+ proto.payrollserviceapi.DisbursementDetail.toObject, includeInstance),
36064
+ payrun: (f = msg.getPayrun()) && proto.payrollserviceapi.PayrunSummary.toObject(includeInstance, f)
36042
36065
  };
36043
36066
 
36044
36067
  if (includeInstance) {
@@ -36089,6 +36112,11 @@ proto.payrollserviceapi.DisbursementsResponse.deserializeBinaryFromReader = func
36089
36112
  reader.readMessage(value,proto.payrollserviceapi.DisbursementDetail.deserializeBinaryFromReader);
36090
36113
  msg.addDisbursements(value);
36091
36114
  break;
36115
+ case 4:
36116
+ var value = new proto.payrollserviceapi.PayrunSummary;
36117
+ reader.readMessage(value,proto.payrollserviceapi.PayrunSummary.deserializeBinaryFromReader);
36118
+ msg.setPayrun(value);
36119
+ break;
36092
36120
  default:
36093
36121
  reader.skipField();
36094
36122
  break;
@@ -36141,6 +36169,14 @@ proto.payrollserviceapi.DisbursementsResponse.serializeBinaryToWriter = function
36141
36169
  proto.payrollserviceapi.DisbursementDetail.serializeBinaryToWriter
36142
36170
  );
36143
36171
  }
36172
+ f = message.getPayrun();
36173
+ if (f != null) {
36174
+ writer.writeMessage(
36175
+ 4,
36176
+ f,
36177
+ proto.payrollserviceapi.PayrunSummary.serializeBinaryToWriter
36178
+ );
36179
+ }
36144
36180
  };
36145
36181
 
36146
36182
 
@@ -36237,6 +36273,413 @@ proto.payrollserviceapi.DisbursementsResponse.prototype.clearDisbursementsList =
36237
36273
  };
36238
36274
 
36239
36275
 
36276
+ /**
36277
+ * optional PayrunSummary payrun = 4;
36278
+ * @return {?proto.payrollserviceapi.PayrunSummary}
36279
+ */
36280
+ proto.payrollserviceapi.DisbursementsResponse.prototype.getPayrun = function() {
36281
+ return /** @type{?proto.payrollserviceapi.PayrunSummary} */ (
36282
+ jspb.Message.getWrapperField(this, proto.payrollserviceapi.PayrunSummary, 4));
36283
+ };
36284
+
36285
+
36286
+ /**
36287
+ * @param {?proto.payrollserviceapi.PayrunSummary|undefined} value
36288
+ * @return {!proto.payrollserviceapi.DisbursementsResponse} returns this
36289
+ */
36290
+ proto.payrollserviceapi.DisbursementsResponse.prototype.setPayrun = function(value) {
36291
+ return jspb.Message.setWrapperField(this, 4, value);
36292
+ };
36293
+
36294
+
36295
+ /**
36296
+ * Clears the message field making it undefined.
36297
+ * @return {!proto.payrollserviceapi.DisbursementsResponse} returns this
36298
+ */
36299
+ proto.payrollserviceapi.DisbursementsResponse.prototype.clearPayrun = function() {
36300
+ return this.setPayrun(undefined);
36301
+ };
36302
+
36303
+
36304
+ /**
36305
+ * Returns whether this field is set.
36306
+ * @return {boolean}
36307
+ */
36308
+ proto.payrollserviceapi.DisbursementsResponse.prototype.hasPayrun = function() {
36309
+ return jspb.Message.getField(this, 4) != null;
36310
+ };
36311
+
36312
+
36313
+
36314
+
36315
+
36316
+ if (jspb.Message.GENERATE_TO_OBJECT) {
36317
+ /**
36318
+ * Creates an object representation of this proto.
36319
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
36320
+ * Optional fields that are not set will be set to undefined.
36321
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
36322
+ * For the list of reserved names please see:
36323
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
36324
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
36325
+ * JSPB instance for transitional soy proto support:
36326
+ * http://goto/soy-param-migration
36327
+ * @return {!Object}
36328
+ */
36329
+ proto.payrollserviceapi.PayrunSummary.prototype.toObject = function(opt_includeInstance) {
36330
+ return proto.payrollserviceapi.PayrunSummary.toObject(opt_includeInstance, this);
36331
+ };
36332
+
36333
+
36334
+ /**
36335
+ * Static version of the {@see toObject} method.
36336
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
36337
+ * the JSPB instance for transitional soy proto support:
36338
+ * http://goto/soy-param-migration
36339
+ * @param {!proto.payrollserviceapi.PayrunSummary} msg The msg instance to transform.
36340
+ * @return {!Object}
36341
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36342
+ */
36343
+ proto.payrollserviceapi.PayrunSummary.toObject = function(includeInstance, msg) {
36344
+ var f, obj = {
36345
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
36346
+ status: jspb.Message.getFieldWithDefault(msg, 2, ""),
36347
+ totalAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
36348
+ disbursementCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
36349
+ fundedAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
36350
+ completedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
36351
+ companyName: jspb.Message.getFieldWithDefault(msg, 7, ""),
36352
+ reference: jspb.Message.getFieldWithDefault(msg, 8, ""),
36353
+ billId: jspb.Message.getFieldWithDefault(msg, 9, 0)
36354
+ };
36355
+
36356
+ if (includeInstance) {
36357
+ obj.$jspbMessageInstance = msg;
36358
+ }
36359
+ return obj;
36360
+ };
36361
+ }
36362
+
36363
+
36364
+ /**
36365
+ * Deserializes binary data (in protobuf wire format).
36366
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
36367
+ * @return {!proto.payrollserviceapi.PayrunSummary}
36368
+ */
36369
+ proto.payrollserviceapi.PayrunSummary.deserializeBinary = function(bytes) {
36370
+ var reader = new jspb.BinaryReader(bytes);
36371
+ var msg = new proto.payrollserviceapi.PayrunSummary;
36372
+ return proto.payrollserviceapi.PayrunSummary.deserializeBinaryFromReader(msg, reader);
36373
+ };
36374
+
36375
+
36376
+ /**
36377
+ * Deserializes binary data (in protobuf wire format) from the
36378
+ * given reader into the given message object.
36379
+ * @param {!proto.payrollserviceapi.PayrunSummary} msg The message object to deserialize into.
36380
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
36381
+ * @return {!proto.payrollserviceapi.PayrunSummary}
36382
+ */
36383
+ proto.payrollserviceapi.PayrunSummary.deserializeBinaryFromReader = function(msg, reader) {
36384
+ while (reader.nextField()) {
36385
+ if (reader.isEndGroup()) {
36386
+ break;
36387
+ }
36388
+ var field = reader.getFieldNumber();
36389
+ switch (field) {
36390
+ case 1:
36391
+ var value = /** @type {string} */ (reader.readString());
36392
+ msg.setName(value);
36393
+ break;
36394
+ case 2:
36395
+ var value = /** @type {string} */ (reader.readString());
36396
+ msg.setStatus(value);
36397
+ break;
36398
+ case 3:
36399
+ var value = /** @type {number} */ (reader.readDouble());
36400
+ msg.setTotalAmount(value);
36401
+ break;
36402
+ case 4:
36403
+ var value = /** @type {number} */ (reader.readInt32());
36404
+ msg.setDisbursementCount(value);
36405
+ break;
36406
+ case 5:
36407
+ var value = /** @type {string} */ (reader.readString());
36408
+ msg.setFundedAt(value);
36409
+ break;
36410
+ case 6:
36411
+ var value = /** @type {string} */ (reader.readString());
36412
+ msg.setCompletedAt(value);
36413
+ break;
36414
+ case 7:
36415
+ var value = /** @type {string} */ (reader.readString());
36416
+ msg.setCompanyName(value);
36417
+ break;
36418
+ case 8:
36419
+ var value = /** @type {string} */ (reader.readString());
36420
+ msg.setReference(value);
36421
+ break;
36422
+ case 9:
36423
+ var value = /** @type {number} */ (reader.readInt64());
36424
+ msg.setBillId(value);
36425
+ break;
36426
+ default:
36427
+ reader.skipField();
36428
+ break;
36429
+ }
36430
+ }
36431
+ return msg;
36432
+ };
36433
+
36434
+
36435
+ /**
36436
+ * Serializes the message to binary data (in protobuf wire format).
36437
+ * @return {!Uint8Array}
36438
+ */
36439
+ proto.payrollserviceapi.PayrunSummary.prototype.serializeBinary = function() {
36440
+ var writer = new jspb.BinaryWriter();
36441
+ proto.payrollserviceapi.PayrunSummary.serializeBinaryToWriter(this, writer);
36442
+ return writer.getResultBuffer();
36443
+ };
36444
+
36445
+
36446
+ /**
36447
+ * Serializes the given message to binary data (in protobuf wire
36448
+ * format), writing to the given BinaryWriter.
36449
+ * @param {!proto.payrollserviceapi.PayrunSummary} message
36450
+ * @param {!jspb.BinaryWriter} writer
36451
+ * @suppress {unusedLocalVariables} f is only used for nested messages
36452
+ */
36453
+ proto.payrollserviceapi.PayrunSummary.serializeBinaryToWriter = function(message, writer) {
36454
+ var f = undefined;
36455
+ f = message.getName();
36456
+ if (f.length > 0) {
36457
+ writer.writeString(
36458
+ 1,
36459
+ f
36460
+ );
36461
+ }
36462
+ f = message.getStatus();
36463
+ if (f.length > 0) {
36464
+ writer.writeString(
36465
+ 2,
36466
+ f
36467
+ );
36468
+ }
36469
+ f = message.getTotalAmount();
36470
+ if (f !== 0.0) {
36471
+ writer.writeDouble(
36472
+ 3,
36473
+ f
36474
+ );
36475
+ }
36476
+ f = message.getDisbursementCount();
36477
+ if (f !== 0) {
36478
+ writer.writeInt32(
36479
+ 4,
36480
+ f
36481
+ );
36482
+ }
36483
+ f = message.getFundedAt();
36484
+ if (f.length > 0) {
36485
+ writer.writeString(
36486
+ 5,
36487
+ f
36488
+ );
36489
+ }
36490
+ f = message.getCompletedAt();
36491
+ if (f.length > 0) {
36492
+ writer.writeString(
36493
+ 6,
36494
+ f
36495
+ );
36496
+ }
36497
+ f = message.getCompanyName();
36498
+ if (f.length > 0) {
36499
+ writer.writeString(
36500
+ 7,
36501
+ f
36502
+ );
36503
+ }
36504
+ f = message.getReference();
36505
+ if (f.length > 0) {
36506
+ writer.writeString(
36507
+ 8,
36508
+ f
36509
+ );
36510
+ }
36511
+ f = message.getBillId();
36512
+ if (f !== 0) {
36513
+ writer.writeInt64(
36514
+ 9,
36515
+ f
36516
+ );
36517
+ }
36518
+ };
36519
+
36520
+
36521
+ /**
36522
+ * optional string name = 1;
36523
+ * @return {string}
36524
+ */
36525
+ proto.payrollserviceapi.PayrunSummary.prototype.getName = function() {
36526
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
36527
+ };
36528
+
36529
+
36530
+ /**
36531
+ * @param {string} value
36532
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36533
+ */
36534
+ proto.payrollserviceapi.PayrunSummary.prototype.setName = function(value) {
36535
+ return jspb.Message.setProto3StringField(this, 1, value);
36536
+ };
36537
+
36538
+
36539
+ /**
36540
+ * optional string status = 2;
36541
+ * @return {string}
36542
+ */
36543
+ proto.payrollserviceapi.PayrunSummary.prototype.getStatus = function() {
36544
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
36545
+ };
36546
+
36547
+
36548
+ /**
36549
+ * @param {string} value
36550
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36551
+ */
36552
+ proto.payrollserviceapi.PayrunSummary.prototype.setStatus = function(value) {
36553
+ return jspb.Message.setProto3StringField(this, 2, value);
36554
+ };
36555
+
36556
+
36557
+ /**
36558
+ * optional double total_amount = 3;
36559
+ * @return {number}
36560
+ */
36561
+ proto.payrollserviceapi.PayrunSummary.prototype.getTotalAmount = function() {
36562
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
36563
+ };
36564
+
36565
+
36566
+ /**
36567
+ * @param {number} value
36568
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36569
+ */
36570
+ proto.payrollserviceapi.PayrunSummary.prototype.setTotalAmount = function(value) {
36571
+ return jspb.Message.setProto3FloatField(this, 3, value);
36572
+ };
36573
+
36574
+
36575
+ /**
36576
+ * optional int32 disbursement_count = 4;
36577
+ * @return {number}
36578
+ */
36579
+ proto.payrollserviceapi.PayrunSummary.prototype.getDisbursementCount = function() {
36580
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
36581
+ };
36582
+
36583
+
36584
+ /**
36585
+ * @param {number} value
36586
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36587
+ */
36588
+ proto.payrollserviceapi.PayrunSummary.prototype.setDisbursementCount = function(value) {
36589
+ return jspb.Message.setProto3IntField(this, 4, value);
36590
+ };
36591
+
36592
+
36593
+ /**
36594
+ * optional string funded_at = 5;
36595
+ * @return {string}
36596
+ */
36597
+ proto.payrollserviceapi.PayrunSummary.prototype.getFundedAt = function() {
36598
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
36599
+ };
36600
+
36601
+
36602
+ /**
36603
+ * @param {string} value
36604
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36605
+ */
36606
+ proto.payrollserviceapi.PayrunSummary.prototype.setFundedAt = function(value) {
36607
+ return jspb.Message.setProto3StringField(this, 5, value);
36608
+ };
36609
+
36610
+
36611
+ /**
36612
+ * optional string completed_at = 6;
36613
+ * @return {string}
36614
+ */
36615
+ proto.payrollserviceapi.PayrunSummary.prototype.getCompletedAt = function() {
36616
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
36617
+ };
36618
+
36619
+
36620
+ /**
36621
+ * @param {string} value
36622
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36623
+ */
36624
+ proto.payrollserviceapi.PayrunSummary.prototype.setCompletedAt = function(value) {
36625
+ return jspb.Message.setProto3StringField(this, 6, value);
36626
+ };
36627
+
36628
+
36629
+ /**
36630
+ * optional string company_name = 7;
36631
+ * @return {string}
36632
+ */
36633
+ proto.payrollserviceapi.PayrunSummary.prototype.getCompanyName = function() {
36634
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
36635
+ };
36636
+
36637
+
36638
+ /**
36639
+ * @param {string} value
36640
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36641
+ */
36642
+ proto.payrollserviceapi.PayrunSummary.prototype.setCompanyName = function(value) {
36643
+ return jspb.Message.setProto3StringField(this, 7, value);
36644
+ };
36645
+
36646
+
36647
+ /**
36648
+ * optional string reference = 8;
36649
+ * @return {string}
36650
+ */
36651
+ proto.payrollserviceapi.PayrunSummary.prototype.getReference = function() {
36652
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
36653
+ };
36654
+
36655
+
36656
+ /**
36657
+ * @param {string} value
36658
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36659
+ */
36660
+ proto.payrollserviceapi.PayrunSummary.prototype.setReference = function(value) {
36661
+ return jspb.Message.setProto3StringField(this, 8, value);
36662
+ };
36663
+
36664
+
36665
+ /**
36666
+ * optional int64 bill_id = 9;
36667
+ * @return {number}
36668
+ */
36669
+ proto.payrollserviceapi.PayrunSummary.prototype.getBillId = function() {
36670
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
36671
+ };
36672
+
36673
+
36674
+ /**
36675
+ * @param {number} value
36676
+ * @return {!proto.payrollserviceapi.PayrunSummary} returns this
36677
+ */
36678
+ proto.payrollserviceapi.PayrunSummary.prototype.setBillId = function(value) {
36679
+ return jspb.Message.setProto3IntField(this, 9, value);
36680
+ };
36681
+
36682
+
36240
36683
 
36241
36684
 
36242
36685
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payroll-service-client-grpcweb",
3
- "version": "26.7.1335",
3
+ "version": "26.7.1347",
4
4
  "description": "payroll-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",