@sniipwebmaster/payroll-service-client-grpcweb 26.7.1287 → 26.7.1293

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.
@@ -873,6 +873,67 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.updatePayrunSettle
873
873
  };
874
874
 
875
875
 
876
+ /**
877
+ * @const
878
+ * @type {!grpc.web.MethodDescriptor<
879
+ * !proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest,
880
+ * !proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse>}
881
+ */
882
+ const methodDescriptor_PayrollService_GetDisbursementDispatchSummary = new grpc.web.MethodDescriptor(
883
+ '/payrollserviceapi.PayrollService/GetDisbursementDispatchSummary',
884
+ grpc.web.MethodType.UNARY,
885
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest,
886
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse,
887
+ /**
888
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest} request
889
+ * @return {!Uint8Array}
890
+ */
891
+ function(request) {
892
+ return request.serializeBinary();
893
+ },
894
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.deserializeBinary
895
+ );
896
+
897
+
898
+ /**
899
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest} request The
900
+ * request proto
901
+ * @param {?Object<string, string>} metadata User defined
902
+ * call metadata
903
+ * @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse)}
904
+ * callback The callback function(error, response)
905
+ * @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse>|undefined}
906
+ * The XHR Node Readable Stream
907
+ */
908
+ proto.payrollserviceapi.PayrollServiceClient.prototype.getDisbursementDispatchSummary =
909
+ function(request, metadata, callback) {
910
+ return this.client_.rpcCall(this.hostname_ +
911
+ '/payrollserviceapi.PayrollService/GetDisbursementDispatchSummary',
912
+ request,
913
+ metadata || {},
914
+ methodDescriptor_PayrollService_GetDisbursementDispatchSummary,
915
+ callback);
916
+ };
917
+
918
+
919
+ /**
920
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest} request The
921
+ * request proto
922
+ * @param {?Object<string, string>=} metadata User defined
923
+ * call metadata
924
+ * @return {!Promise<!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse>}
925
+ * Promise that resolves to the response
926
+ */
927
+ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.getDisbursementDispatchSummary =
928
+ function(request, metadata) {
929
+ return this.client_.unaryCall(this.hostname_ +
930
+ '/payrollserviceapi.PayrollService/GetDisbursementDispatchSummary',
931
+ request,
932
+ metadata || {},
933
+ methodDescriptor_PayrollService_GetDisbursementDispatchSummary);
934
+ };
935
+
936
+
876
937
  /**
877
938
  * @const
878
939
  * @type {!grpc.web.MethodDescriptor<
@@ -97,6 +97,8 @@ goog.exportSymbol('proto.payrollserviceapi.GetBusinessForReviewRequest', null, g
97
97
  goog.exportSymbol('proto.payrollserviceapi.GetBusinessForReviewResponse', null, global);
98
98
  goog.exportSymbol('proto.payrollserviceapi.GetBusinessRequest', null, global);
99
99
  goog.exportSymbol('proto.payrollserviceapi.GetBusinessResponse', null, global);
100
+ goog.exportSymbol('proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest', null, global);
101
+ goog.exportSymbol('proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse', null, global);
100
102
  goog.exportSymbol('proto.payrollserviceapi.GetDisbursementsForPayrunRequest', null, global);
101
103
  goog.exportSymbol('proto.payrollserviceapi.GetDisbursementsForTransactionRequest', null, global);
102
104
  goog.exportSymbol('proto.payrollserviceapi.GetEmployeeDetailsByBillerConfigIdsRequest', null, global);
@@ -2769,6 +2771,48 @@ if (goog.DEBUG && !COMPILED) {
2769
2771
  */
2770
2772
  proto.payrollserviceapi.DisbursementStatusUpdate.displayName = 'proto.payrollserviceapi.DisbursementStatusUpdate';
2771
2773
  }
2774
+ /**
2775
+ * Generated by JsPbCodeGenerator.
2776
+ * @param {Array=} opt_data Optional initial data array, typically from a
2777
+ * server response, or constructed directly in Javascript. The array is used
2778
+ * in place and becomes part of the constructed object. It is not cloned.
2779
+ * If no data is provided, the constructed object will be empty, but still
2780
+ * valid.
2781
+ * @extends {jspb.Message}
2782
+ * @constructor
2783
+ */
2784
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest = function(opt_data) {
2785
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2786
+ };
2787
+ goog.inherits(proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest, jspb.Message);
2788
+ if (goog.DEBUG && !COMPILED) {
2789
+ /**
2790
+ * @public
2791
+ * @override
2792
+ */
2793
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.displayName = 'proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest';
2794
+ }
2795
+ /**
2796
+ * Generated by JsPbCodeGenerator.
2797
+ * @param {Array=} opt_data Optional initial data array, typically from a
2798
+ * server response, or constructed directly in Javascript. The array is used
2799
+ * in place and becomes part of the constructed object. It is not cloned.
2800
+ * If no data is provided, the constructed object will be empty, but still
2801
+ * valid.
2802
+ * @extends {jspb.Message}
2803
+ * @constructor
2804
+ */
2805
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse = function(opt_data) {
2806
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2807
+ };
2808
+ goog.inherits(proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse, jspb.Message);
2809
+ if (goog.DEBUG && !COMPILED) {
2810
+ /**
2811
+ * @public
2812
+ * @override
2813
+ */
2814
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.displayName = 'proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse';
2815
+ }
2772
2816
  /**
2773
2817
  * Generated by JsPbCodeGenerator.
2774
2818
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -35171,6 +35215,318 @@ proto.payrollserviceapi.DisbursementStatusUpdate.prototype.setReason = function(
35171
35215
 
35172
35216
 
35173
35217
 
35218
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35219
+ /**
35220
+ * Creates an object representation of this proto.
35221
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35222
+ * Optional fields that are not set will be set to undefined.
35223
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35224
+ * For the list of reserved names please see:
35225
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35226
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35227
+ * JSPB instance for transitional soy proto support:
35228
+ * http://goto/soy-param-migration
35229
+ * @return {!Object}
35230
+ */
35231
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.prototype.toObject = function(opt_includeInstance) {
35232
+ return proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.toObject(opt_includeInstance, this);
35233
+ };
35234
+
35235
+
35236
+ /**
35237
+ * Static version of the {@see toObject} method.
35238
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
35239
+ * the JSPB instance for transitional soy proto support:
35240
+ * http://goto/soy-param-migration
35241
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest} msg The msg instance to transform.
35242
+ * @return {!Object}
35243
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35244
+ */
35245
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.toObject = function(includeInstance, msg) {
35246
+ var f, obj = {
35247
+
35248
+ };
35249
+
35250
+ if (includeInstance) {
35251
+ obj.$jspbMessageInstance = msg;
35252
+ }
35253
+ return obj;
35254
+ };
35255
+ }
35256
+
35257
+
35258
+ /**
35259
+ * Deserializes binary data (in protobuf wire format).
35260
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
35261
+ * @return {!proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest}
35262
+ */
35263
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.deserializeBinary = function(bytes) {
35264
+ var reader = new jspb.BinaryReader(bytes);
35265
+ var msg = new proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest;
35266
+ return proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.deserializeBinaryFromReader(msg, reader);
35267
+ };
35268
+
35269
+
35270
+ /**
35271
+ * Deserializes binary data (in protobuf wire format) from the
35272
+ * given reader into the given message object.
35273
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest} msg The message object to deserialize into.
35274
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
35275
+ * @return {!proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest}
35276
+ */
35277
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.deserializeBinaryFromReader = function(msg, reader) {
35278
+ while (reader.nextField()) {
35279
+ if (reader.isEndGroup()) {
35280
+ break;
35281
+ }
35282
+ var field = reader.getFieldNumber();
35283
+ switch (field) {
35284
+ default:
35285
+ reader.skipField();
35286
+ break;
35287
+ }
35288
+ }
35289
+ return msg;
35290
+ };
35291
+
35292
+
35293
+ /**
35294
+ * Serializes the message to binary data (in protobuf wire format).
35295
+ * @return {!Uint8Array}
35296
+ */
35297
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.prototype.serializeBinary = function() {
35298
+ var writer = new jspb.BinaryWriter();
35299
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.serializeBinaryToWriter(this, writer);
35300
+ return writer.getResultBuffer();
35301
+ };
35302
+
35303
+
35304
+ /**
35305
+ * Serializes the given message to binary data (in protobuf wire
35306
+ * format), writing to the given BinaryWriter.
35307
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest} message
35308
+ * @param {!jspb.BinaryWriter} writer
35309
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35310
+ */
35311
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryRequest.serializeBinaryToWriter = function(message, writer) {
35312
+ var f = undefined;
35313
+ };
35314
+
35315
+
35316
+
35317
+
35318
+
35319
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35320
+ /**
35321
+ * Creates an object representation of this proto.
35322
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35323
+ * Optional fields that are not set will be set to undefined.
35324
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35325
+ * For the list of reserved names please see:
35326
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35327
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35328
+ * JSPB instance for transitional soy proto support:
35329
+ * http://goto/soy-param-migration
35330
+ * @return {!Object}
35331
+ */
35332
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.toObject = function(opt_includeInstance) {
35333
+ return proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.toObject(opt_includeInstance, this);
35334
+ };
35335
+
35336
+
35337
+ /**
35338
+ * Static version of the {@see toObject} method.
35339
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
35340
+ * the JSPB instance for transitional soy proto support:
35341
+ * http://goto/soy-param-migration
35342
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse} msg The msg instance to transform.
35343
+ * @return {!Object}
35344
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35345
+ */
35346
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.toObject = function(includeInstance, msg) {
35347
+ var f, obj = {
35348
+ responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
35349
+ recordCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
35350
+ totalAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
35351
+ };
35352
+
35353
+ if (includeInstance) {
35354
+ obj.$jspbMessageInstance = msg;
35355
+ }
35356
+ return obj;
35357
+ };
35358
+ }
35359
+
35360
+
35361
+ /**
35362
+ * Deserializes binary data (in protobuf wire format).
35363
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
35364
+ * @return {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse}
35365
+ */
35366
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.deserializeBinary = function(bytes) {
35367
+ var reader = new jspb.BinaryReader(bytes);
35368
+ var msg = new proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse;
35369
+ return proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.deserializeBinaryFromReader(msg, reader);
35370
+ };
35371
+
35372
+
35373
+ /**
35374
+ * Deserializes binary data (in protobuf wire format) from the
35375
+ * given reader into the given message object.
35376
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse} msg The message object to deserialize into.
35377
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
35378
+ * @return {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse}
35379
+ */
35380
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.deserializeBinaryFromReader = function(msg, reader) {
35381
+ while (reader.nextField()) {
35382
+ if (reader.isEndGroup()) {
35383
+ break;
35384
+ }
35385
+ var field = reader.getFieldNumber();
35386
+ switch (field) {
35387
+ case 1:
35388
+ var value = new proto.payrollserviceapi.ResponseCode;
35389
+ reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
35390
+ msg.setResponsecode(value);
35391
+ break;
35392
+ case 2:
35393
+ var value = /** @type {number} */ (reader.readInt64());
35394
+ msg.setRecordCount(value);
35395
+ break;
35396
+ case 3:
35397
+ var value = /** @type {number} */ (reader.readDouble());
35398
+ msg.setTotalAmount(value);
35399
+ break;
35400
+ default:
35401
+ reader.skipField();
35402
+ break;
35403
+ }
35404
+ }
35405
+ return msg;
35406
+ };
35407
+
35408
+
35409
+ /**
35410
+ * Serializes the message to binary data (in protobuf wire format).
35411
+ * @return {!Uint8Array}
35412
+ */
35413
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.serializeBinary = function() {
35414
+ var writer = new jspb.BinaryWriter();
35415
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.serializeBinaryToWriter(this, writer);
35416
+ return writer.getResultBuffer();
35417
+ };
35418
+
35419
+
35420
+ /**
35421
+ * Serializes the given message to binary data (in protobuf wire
35422
+ * format), writing to the given BinaryWriter.
35423
+ * @param {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse} message
35424
+ * @param {!jspb.BinaryWriter} writer
35425
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35426
+ */
35427
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.serializeBinaryToWriter = function(message, writer) {
35428
+ var f = undefined;
35429
+ f = message.getResponsecode();
35430
+ if (f != null) {
35431
+ writer.writeMessage(
35432
+ 1,
35433
+ f,
35434
+ proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
35435
+ );
35436
+ }
35437
+ f = message.getRecordCount();
35438
+ if (f !== 0) {
35439
+ writer.writeInt64(
35440
+ 2,
35441
+ f
35442
+ );
35443
+ }
35444
+ f = message.getTotalAmount();
35445
+ if (f !== 0.0) {
35446
+ writer.writeDouble(
35447
+ 3,
35448
+ f
35449
+ );
35450
+ }
35451
+ };
35452
+
35453
+
35454
+ /**
35455
+ * optional ResponseCode responseCode = 1;
35456
+ * @return {?proto.payrollserviceapi.ResponseCode}
35457
+ */
35458
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.getResponsecode = function() {
35459
+ return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
35460
+ jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
35461
+ };
35462
+
35463
+
35464
+ /**
35465
+ * @param {?proto.payrollserviceapi.ResponseCode|undefined} value
35466
+ * @return {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse} returns this
35467
+ */
35468
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.setResponsecode = function(value) {
35469
+ return jspb.Message.setWrapperField(this, 1, value);
35470
+ };
35471
+
35472
+
35473
+ /**
35474
+ * Clears the message field making it undefined.
35475
+ * @return {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse} returns this
35476
+ */
35477
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.clearResponsecode = function() {
35478
+ return this.setResponsecode(undefined);
35479
+ };
35480
+
35481
+
35482
+ /**
35483
+ * Returns whether this field is set.
35484
+ * @return {boolean}
35485
+ */
35486
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.hasResponsecode = function() {
35487
+ return jspb.Message.getField(this, 1) != null;
35488
+ };
35489
+
35490
+
35491
+ /**
35492
+ * optional int64 record_count = 2;
35493
+ * @return {number}
35494
+ */
35495
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.getRecordCount = function() {
35496
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
35497
+ };
35498
+
35499
+
35500
+ /**
35501
+ * @param {number} value
35502
+ * @return {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse} returns this
35503
+ */
35504
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.setRecordCount = function(value) {
35505
+ return jspb.Message.setProto3IntField(this, 2, value);
35506
+ };
35507
+
35508
+
35509
+ /**
35510
+ * optional double total_amount = 3;
35511
+ * @return {number}
35512
+ */
35513
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.getTotalAmount = function() {
35514
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
35515
+ };
35516
+
35517
+
35518
+ /**
35519
+ * @param {number} value
35520
+ * @return {!proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse} returns this
35521
+ */
35522
+ proto.payrollserviceapi.GetDisbursementDispatchSummaryResponse.prototype.setTotalAmount = function(value) {
35523
+ return jspb.Message.setProto3FloatField(this, 3, value);
35524
+ };
35525
+
35526
+
35527
+
35528
+
35529
+
35174
35530
  if (jspb.Message.GENERATE_TO_OBJECT) {
35175
35531
  /**
35176
35532
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payroll-service-client-grpcweb",
3
- "version": "26.7.1287",
3
+ "version": "26.7.1293",
4
4
  "description": "payroll-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",