@sniipwebmaster/payroll-service-client-grpcweb 26.7.1281 → 26.7.1287
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.
|
@@ -812,6 +812,67 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.updateDisbursement
|
|
|
812
812
|
};
|
|
813
813
|
|
|
814
814
|
|
|
815
|
+
/**
|
|
816
|
+
* @const
|
|
817
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
818
|
+
* !proto.payrollserviceapi.UpdatePayrunSettlementRequest,
|
|
819
|
+
* !proto.payrollserviceapi.ResponseCode>}
|
|
820
|
+
*/
|
|
821
|
+
const methodDescriptor_PayrollService_UpdatePayrunSettlement = new grpc.web.MethodDescriptor(
|
|
822
|
+
'/payrollserviceapi.PayrollService/UpdatePayrunSettlement',
|
|
823
|
+
grpc.web.MethodType.UNARY,
|
|
824
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest,
|
|
825
|
+
proto.payrollserviceapi.ResponseCode,
|
|
826
|
+
/**
|
|
827
|
+
* @param {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} request
|
|
828
|
+
* @return {!Uint8Array}
|
|
829
|
+
*/
|
|
830
|
+
function(request) {
|
|
831
|
+
return request.serializeBinary();
|
|
832
|
+
},
|
|
833
|
+
proto.payrollserviceapi.ResponseCode.deserializeBinary
|
|
834
|
+
);
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* @param {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} request The
|
|
839
|
+
* request proto
|
|
840
|
+
* @param {?Object<string, string>} metadata User defined
|
|
841
|
+
* call metadata
|
|
842
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.ResponseCode)}
|
|
843
|
+
* callback The callback function(error, response)
|
|
844
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.ResponseCode>|undefined}
|
|
845
|
+
* The XHR Node Readable Stream
|
|
846
|
+
*/
|
|
847
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.updatePayrunSettlement =
|
|
848
|
+
function(request, metadata, callback) {
|
|
849
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
850
|
+
'/payrollserviceapi.PayrollService/UpdatePayrunSettlement',
|
|
851
|
+
request,
|
|
852
|
+
metadata || {},
|
|
853
|
+
methodDescriptor_PayrollService_UpdatePayrunSettlement,
|
|
854
|
+
callback);
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* @param {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} request The
|
|
860
|
+
* request proto
|
|
861
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
862
|
+
* call metadata
|
|
863
|
+
* @return {!Promise<!proto.payrollserviceapi.ResponseCode>}
|
|
864
|
+
* Promise that resolves to the response
|
|
865
|
+
*/
|
|
866
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.updatePayrunSettlement =
|
|
867
|
+
function(request, metadata) {
|
|
868
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
869
|
+
'/payrollserviceapi.PayrollService/UpdatePayrunSettlement',
|
|
870
|
+
request,
|
|
871
|
+
metadata || {},
|
|
872
|
+
methodDescriptor_PayrollService_UpdatePayrunSettlement);
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
|
|
815
876
|
/**
|
|
816
877
|
* @const
|
|
817
878
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -161,6 +161,7 @@ goog.exportSymbol('proto.payrollserviceapi.UpdateBusinessStatusResponse', null,
|
|
|
161
161
|
goog.exportSymbol('proto.payrollserviceapi.UpdateDisbursementStatusesRequest', null, global);
|
|
162
162
|
goog.exportSymbol('proto.payrollserviceapi.UpdateEmployeeRequest', null, global);
|
|
163
163
|
goog.exportSymbol('proto.payrollserviceapi.UpdateEmployeeResponse', null, global);
|
|
164
|
+
goog.exportSymbol('proto.payrollserviceapi.UpdatePayrunSettlementRequest', null, global);
|
|
164
165
|
goog.exportSymbol('proto.payrollserviceapi.UserProfile', null, global);
|
|
165
166
|
goog.exportSymbol('proto.payrollserviceapi.ValidateBankAccountRequest', null, global);
|
|
166
167
|
goog.exportSymbol('proto.payrollserviceapi.ValidateBankAccountResponse', null, global);
|
|
@@ -2768,6 +2769,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2768
2769
|
*/
|
|
2769
2770
|
proto.payrollserviceapi.DisbursementStatusUpdate.displayName = 'proto.payrollserviceapi.DisbursementStatusUpdate';
|
|
2770
2771
|
}
|
|
2772
|
+
/**
|
|
2773
|
+
* Generated by JsPbCodeGenerator.
|
|
2774
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2775
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2776
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2777
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2778
|
+
* valid.
|
|
2779
|
+
* @extends {jspb.Message}
|
|
2780
|
+
* @constructor
|
|
2781
|
+
*/
|
|
2782
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest = function(opt_data) {
|
|
2783
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2784
|
+
};
|
|
2785
|
+
goog.inherits(proto.payrollserviceapi.UpdatePayrunSettlementRequest, jspb.Message);
|
|
2786
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2787
|
+
/**
|
|
2788
|
+
* @public
|
|
2789
|
+
* @override
|
|
2790
|
+
*/
|
|
2791
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.displayName = 'proto.payrollserviceapi.UpdatePayrunSettlementRequest';
|
|
2792
|
+
}
|
|
2771
2793
|
/**
|
|
2772
2794
|
* Generated by JsPbCodeGenerator.
|
|
2773
2795
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -35149,6 +35171,196 @@ proto.payrollserviceapi.DisbursementStatusUpdate.prototype.setReason = function(
|
|
|
35149
35171
|
|
|
35150
35172
|
|
|
35151
35173
|
|
|
35174
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35175
|
+
/**
|
|
35176
|
+
* Creates an object representation of this proto.
|
|
35177
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
35178
|
+
* Optional fields that are not set will be set to undefined.
|
|
35179
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
35180
|
+
* For the list of reserved names please see:
|
|
35181
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
35182
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
35183
|
+
* JSPB instance for transitional soy proto support:
|
|
35184
|
+
* http://goto/soy-param-migration
|
|
35185
|
+
* @return {!Object}
|
|
35186
|
+
*/
|
|
35187
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.prototype.toObject = function(opt_includeInstance) {
|
|
35188
|
+
return proto.payrollserviceapi.UpdatePayrunSettlementRequest.toObject(opt_includeInstance, this);
|
|
35189
|
+
};
|
|
35190
|
+
|
|
35191
|
+
|
|
35192
|
+
/**
|
|
35193
|
+
* Static version of the {@see toObject} method.
|
|
35194
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
35195
|
+
* the JSPB instance for transitional soy proto support:
|
|
35196
|
+
* http://goto/soy-param-migration
|
|
35197
|
+
* @param {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} msg The msg instance to transform.
|
|
35198
|
+
* @return {!Object}
|
|
35199
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35200
|
+
*/
|
|
35201
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.toObject = function(includeInstance, msg) {
|
|
35202
|
+
var f, obj = {
|
|
35203
|
+
transactionId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
35204
|
+
settlementId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
35205
|
+
status: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
35206
|
+
};
|
|
35207
|
+
|
|
35208
|
+
if (includeInstance) {
|
|
35209
|
+
obj.$jspbMessageInstance = msg;
|
|
35210
|
+
}
|
|
35211
|
+
return obj;
|
|
35212
|
+
};
|
|
35213
|
+
}
|
|
35214
|
+
|
|
35215
|
+
|
|
35216
|
+
/**
|
|
35217
|
+
* Deserializes binary data (in protobuf wire format).
|
|
35218
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
35219
|
+
* @return {!proto.payrollserviceapi.UpdatePayrunSettlementRequest}
|
|
35220
|
+
*/
|
|
35221
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.deserializeBinary = function(bytes) {
|
|
35222
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
35223
|
+
var msg = new proto.payrollserviceapi.UpdatePayrunSettlementRequest;
|
|
35224
|
+
return proto.payrollserviceapi.UpdatePayrunSettlementRequest.deserializeBinaryFromReader(msg, reader);
|
|
35225
|
+
};
|
|
35226
|
+
|
|
35227
|
+
|
|
35228
|
+
/**
|
|
35229
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
35230
|
+
* given reader into the given message object.
|
|
35231
|
+
* @param {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} msg The message object to deserialize into.
|
|
35232
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
35233
|
+
* @return {!proto.payrollserviceapi.UpdatePayrunSettlementRequest}
|
|
35234
|
+
*/
|
|
35235
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
35236
|
+
while (reader.nextField()) {
|
|
35237
|
+
if (reader.isEndGroup()) {
|
|
35238
|
+
break;
|
|
35239
|
+
}
|
|
35240
|
+
var field = reader.getFieldNumber();
|
|
35241
|
+
switch (field) {
|
|
35242
|
+
case 1:
|
|
35243
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
35244
|
+
msg.setTransactionId(value);
|
|
35245
|
+
break;
|
|
35246
|
+
case 2:
|
|
35247
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
35248
|
+
msg.setSettlementId(value);
|
|
35249
|
+
break;
|
|
35250
|
+
case 3:
|
|
35251
|
+
var value = /** @type {string} */ (reader.readString());
|
|
35252
|
+
msg.setStatus(value);
|
|
35253
|
+
break;
|
|
35254
|
+
default:
|
|
35255
|
+
reader.skipField();
|
|
35256
|
+
break;
|
|
35257
|
+
}
|
|
35258
|
+
}
|
|
35259
|
+
return msg;
|
|
35260
|
+
};
|
|
35261
|
+
|
|
35262
|
+
|
|
35263
|
+
/**
|
|
35264
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
35265
|
+
* @return {!Uint8Array}
|
|
35266
|
+
*/
|
|
35267
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.prototype.serializeBinary = function() {
|
|
35268
|
+
var writer = new jspb.BinaryWriter();
|
|
35269
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.serializeBinaryToWriter(this, writer);
|
|
35270
|
+
return writer.getResultBuffer();
|
|
35271
|
+
};
|
|
35272
|
+
|
|
35273
|
+
|
|
35274
|
+
/**
|
|
35275
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
35276
|
+
* format), writing to the given BinaryWriter.
|
|
35277
|
+
* @param {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} message
|
|
35278
|
+
* @param {!jspb.BinaryWriter} writer
|
|
35279
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35280
|
+
*/
|
|
35281
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.serializeBinaryToWriter = function(message, writer) {
|
|
35282
|
+
var f = undefined;
|
|
35283
|
+
f = message.getTransactionId();
|
|
35284
|
+
if (f !== 0) {
|
|
35285
|
+
writer.writeInt64(
|
|
35286
|
+
1,
|
|
35287
|
+
f
|
|
35288
|
+
);
|
|
35289
|
+
}
|
|
35290
|
+
f = message.getSettlementId();
|
|
35291
|
+
if (f !== 0) {
|
|
35292
|
+
writer.writeInt64(
|
|
35293
|
+
2,
|
|
35294
|
+
f
|
|
35295
|
+
);
|
|
35296
|
+
}
|
|
35297
|
+
f = message.getStatus();
|
|
35298
|
+
if (f.length > 0) {
|
|
35299
|
+
writer.writeString(
|
|
35300
|
+
3,
|
|
35301
|
+
f
|
|
35302
|
+
);
|
|
35303
|
+
}
|
|
35304
|
+
};
|
|
35305
|
+
|
|
35306
|
+
|
|
35307
|
+
/**
|
|
35308
|
+
* optional int64 transaction_id = 1;
|
|
35309
|
+
* @return {number}
|
|
35310
|
+
*/
|
|
35311
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.prototype.getTransactionId = function() {
|
|
35312
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
35313
|
+
};
|
|
35314
|
+
|
|
35315
|
+
|
|
35316
|
+
/**
|
|
35317
|
+
* @param {number} value
|
|
35318
|
+
* @return {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} returns this
|
|
35319
|
+
*/
|
|
35320
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.prototype.setTransactionId = function(value) {
|
|
35321
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
35322
|
+
};
|
|
35323
|
+
|
|
35324
|
+
|
|
35325
|
+
/**
|
|
35326
|
+
* optional int64 settlement_id = 2;
|
|
35327
|
+
* @return {number}
|
|
35328
|
+
*/
|
|
35329
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.prototype.getSettlementId = function() {
|
|
35330
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
35331
|
+
};
|
|
35332
|
+
|
|
35333
|
+
|
|
35334
|
+
/**
|
|
35335
|
+
* @param {number} value
|
|
35336
|
+
* @return {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} returns this
|
|
35337
|
+
*/
|
|
35338
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.prototype.setSettlementId = function(value) {
|
|
35339
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
35340
|
+
};
|
|
35341
|
+
|
|
35342
|
+
|
|
35343
|
+
/**
|
|
35344
|
+
* optional string status = 3;
|
|
35345
|
+
* @return {string}
|
|
35346
|
+
*/
|
|
35347
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.prototype.getStatus = function() {
|
|
35348
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
35349
|
+
};
|
|
35350
|
+
|
|
35351
|
+
|
|
35352
|
+
/**
|
|
35353
|
+
* @param {string} value
|
|
35354
|
+
* @return {!proto.payrollserviceapi.UpdatePayrunSettlementRequest} returns this
|
|
35355
|
+
*/
|
|
35356
|
+
proto.payrollserviceapi.UpdatePayrunSettlementRequest.prototype.setStatus = function(value) {
|
|
35357
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
35358
|
+
};
|
|
35359
|
+
|
|
35360
|
+
|
|
35361
|
+
|
|
35362
|
+
|
|
35363
|
+
|
|
35152
35364
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35153
35365
|
/**
|
|
35154
35366
|
* Creates an object representation of this proto.
|