@sniipwebmaster/payroll-service-client-grpcweb 25.10.264 → 25.10.270
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.
|
@@ -934,6 +934,67 @@ proto.payrollserviceapi.PayrollServicePromiseClient.prototype.listBusinesses =
|
|
|
934
934
|
};
|
|
935
935
|
|
|
936
936
|
|
|
937
|
+
/**
|
|
938
|
+
* @const
|
|
939
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
940
|
+
* !proto.payrollserviceapi.GetUserBusinessSummaryRequest,
|
|
941
|
+
* !proto.payrollserviceapi.GetUserBusinessSummaryResponse>}
|
|
942
|
+
*/
|
|
943
|
+
const methodDescriptor_PayrollService_GetUserBusinessSummary = new grpc.web.MethodDescriptor(
|
|
944
|
+
'/payrollserviceapi.PayrollService/GetUserBusinessSummary',
|
|
945
|
+
grpc.web.MethodType.UNARY,
|
|
946
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest,
|
|
947
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse,
|
|
948
|
+
/**
|
|
949
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryRequest} request
|
|
950
|
+
* @return {!Uint8Array}
|
|
951
|
+
*/
|
|
952
|
+
function(request) {
|
|
953
|
+
return request.serializeBinary();
|
|
954
|
+
},
|
|
955
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.deserializeBinary
|
|
956
|
+
);
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryRequest} request The
|
|
961
|
+
* request proto
|
|
962
|
+
* @param {?Object<string, string>} metadata User defined
|
|
963
|
+
* call metadata
|
|
964
|
+
* @param {function(?grpc.web.RpcError, ?proto.payrollserviceapi.GetUserBusinessSummaryResponse)}
|
|
965
|
+
* callback The callback function(error, response)
|
|
966
|
+
* @return {!grpc.web.ClientReadableStream<!proto.payrollserviceapi.GetUserBusinessSummaryResponse>|undefined}
|
|
967
|
+
* The XHR Node Readable Stream
|
|
968
|
+
*/
|
|
969
|
+
proto.payrollserviceapi.PayrollServiceClient.prototype.getUserBusinessSummary =
|
|
970
|
+
function(request, metadata, callback) {
|
|
971
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
972
|
+
'/payrollserviceapi.PayrollService/GetUserBusinessSummary',
|
|
973
|
+
request,
|
|
974
|
+
metadata || {},
|
|
975
|
+
methodDescriptor_PayrollService_GetUserBusinessSummary,
|
|
976
|
+
callback);
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryRequest} request The
|
|
982
|
+
* request proto
|
|
983
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
984
|
+
* call metadata
|
|
985
|
+
* @return {!Promise<!proto.payrollserviceapi.GetUserBusinessSummaryResponse>}
|
|
986
|
+
* Promise that resolves to the response
|
|
987
|
+
*/
|
|
988
|
+
proto.payrollserviceapi.PayrollServicePromiseClient.prototype.getUserBusinessSummary =
|
|
989
|
+
function(request, metadata) {
|
|
990
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
991
|
+
'/payrollserviceapi.PayrollService/GetUserBusinessSummary',
|
|
992
|
+
request,
|
|
993
|
+
metadata || {},
|
|
994
|
+
methodDescriptor_PayrollService_GetUserBusinessSummary);
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
|
|
937
998
|
/**
|
|
938
999
|
* @const
|
|
939
1000
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -28,6 +28,7 @@ goog.exportSymbol('proto.payrollserviceapi.ABARecordDetail', null, global);
|
|
|
28
28
|
goog.exportSymbol('proto.payrollserviceapi.Agent', null, global);
|
|
29
29
|
goog.exportSymbol('proto.payrollserviceapi.BulkImportEmployeesRequest', null, global);
|
|
30
30
|
goog.exportSymbol('proto.payrollserviceapi.BulkImportEmployeesResponse', null, global);
|
|
31
|
+
goog.exportSymbol('proto.payrollserviceapi.BusinessCountsDetails', null, global);
|
|
31
32
|
goog.exportSymbol('proto.payrollserviceapi.BusinessDetails', null, global);
|
|
32
33
|
goog.exportSymbol('proto.payrollserviceapi.BusinessSummary', null, global);
|
|
33
34
|
goog.exportSymbol('proto.payrollserviceapi.CalculateWomensSalaryResponse', null, global);
|
|
@@ -55,6 +56,8 @@ goog.exportSymbol('proto.payrollserviceapi.GetBusinessRequest', null, global);
|
|
|
55
56
|
goog.exportSymbol('proto.payrollserviceapi.GetBusinessResponse', null, global);
|
|
56
57
|
goog.exportSymbol('proto.payrollserviceapi.GetEmployeeRequest', null, global);
|
|
57
58
|
goog.exportSymbol('proto.payrollserviceapi.GetEmployeeResponse', null, global);
|
|
59
|
+
goog.exportSymbol('proto.payrollserviceapi.GetUserBusinessSummaryRequest', null, global);
|
|
60
|
+
goog.exportSymbol('proto.payrollserviceapi.GetUserBusinessSummaryResponse', null, global);
|
|
58
61
|
goog.exportSymbol('proto.payrollserviceapi.GetUserProfileRequest', null, global);
|
|
59
62
|
goog.exportSymbol('proto.payrollserviceapi.GetUserProfileResponse', null, global);
|
|
60
63
|
goog.exportSymbol('proto.payrollserviceapi.ImportABAFileInternalRequest', null, global);
|
|
@@ -268,6 +271,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
268
271
|
*/
|
|
269
272
|
proto.payrollserviceapi.GetBatchDetailsRequest.displayName = 'proto.payrollserviceapi.GetBatchDetailsRequest';
|
|
270
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* Generated by JsPbCodeGenerator.
|
|
276
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
277
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
278
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
279
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
280
|
+
* valid.
|
|
281
|
+
* @extends {jspb.Message}
|
|
282
|
+
* @constructor
|
|
283
|
+
*/
|
|
284
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest = function(opt_data) {
|
|
285
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
286
|
+
};
|
|
287
|
+
goog.inherits(proto.payrollserviceapi.GetUserBusinessSummaryRequest, jspb.Message);
|
|
288
|
+
if (goog.DEBUG && !COMPILED) {
|
|
289
|
+
/**
|
|
290
|
+
* @public
|
|
291
|
+
* @override
|
|
292
|
+
*/
|
|
293
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.displayName = 'proto.payrollserviceapi.GetUserBusinessSummaryRequest';
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Generated by JsPbCodeGenerator.
|
|
297
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
298
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
299
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
300
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
301
|
+
* valid.
|
|
302
|
+
* @extends {jspb.Message}
|
|
303
|
+
* @constructor
|
|
304
|
+
*/
|
|
305
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse = function(opt_data) {
|
|
306
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.payrollserviceapi.GetUserBusinessSummaryResponse.repeatedFields_, null);
|
|
307
|
+
};
|
|
308
|
+
goog.inherits(proto.payrollserviceapi.GetUserBusinessSummaryResponse, jspb.Message);
|
|
309
|
+
if (goog.DEBUG && !COMPILED) {
|
|
310
|
+
/**
|
|
311
|
+
* @public
|
|
312
|
+
* @override
|
|
313
|
+
*/
|
|
314
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.displayName = 'proto.payrollserviceapi.GetUserBusinessSummaryResponse';
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Generated by JsPbCodeGenerator.
|
|
318
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
319
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
320
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
321
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
322
|
+
* valid.
|
|
323
|
+
* @extends {jspb.Message}
|
|
324
|
+
* @constructor
|
|
325
|
+
*/
|
|
326
|
+
proto.payrollserviceapi.BusinessCountsDetails = function(opt_data) {
|
|
327
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
328
|
+
};
|
|
329
|
+
goog.inherits(proto.payrollserviceapi.BusinessCountsDetails, jspb.Message);
|
|
330
|
+
if (goog.DEBUG && !COMPILED) {
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
* @override
|
|
334
|
+
*/
|
|
335
|
+
proto.payrollserviceapi.BusinessCountsDetails.displayName = 'proto.payrollserviceapi.BusinessCountsDetails';
|
|
336
|
+
}
|
|
271
337
|
/**
|
|
272
338
|
* Generated by JsPbCodeGenerator.
|
|
273
339
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3998,6 +4064,627 @@ proto.payrollserviceapi.GetBatchDetailsRequest.prototype.setClientUserId = funct
|
|
|
3998
4064
|
|
|
3999
4065
|
|
|
4000
4066
|
|
|
4067
|
+
|
|
4068
|
+
|
|
4069
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4070
|
+
/**
|
|
4071
|
+
* Creates an object representation of this proto.
|
|
4072
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4073
|
+
* Optional fields that are not set will be set to undefined.
|
|
4074
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4075
|
+
* For the list of reserved names please see:
|
|
4076
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4077
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4078
|
+
* JSPB instance for transitional soy proto support:
|
|
4079
|
+
* http://goto/soy-param-migration
|
|
4080
|
+
* @return {!Object}
|
|
4081
|
+
*/
|
|
4082
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4083
|
+
return proto.payrollserviceapi.GetUserBusinessSummaryRequest.toObject(opt_includeInstance, this);
|
|
4084
|
+
};
|
|
4085
|
+
|
|
4086
|
+
|
|
4087
|
+
/**
|
|
4088
|
+
* Static version of the {@see toObject} method.
|
|
4089
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4090
|
+
* the JSPB instance for transitional soy proto support:
|
|
4091
|
+
* http://goto/soy-param-migration
|
|
4092
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryRequest} msg The msg instance to transform.
|
|
4093
|
+
* @return {!Object}
|
|
4094
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4095
|
+
*/
|
|
4096
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.toObject = function(includeInstance, msg) {
|
|
4097
|
+
var f, obj = {
|
|
4098
|
+
clientUserId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
4099
|
+
};
|
|
4100
|
+
|
|
4101
|
+
if (includeInstance) {
|
|
4102
|
+
obj.$jspbMessageInstance = msg;
|
|
4103
|
+
}
|
|
4104
|
+
return obj;
|
|
4105
|
+
};
|
|
4106
|
+
}
|
|
4107
|
+
|
|
4108
|
+
|
|
4109
|
+
/**
|
|
4110
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4111
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4112
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryRequest}
|
|
4113
|
+
*/
|
|
4114
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.deserializeBinary = function(bytes) {
|
|
4115
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4116
|
+
var msg = new proto.payrollserviceapi.GetUserBusinessSummaryRequest;
|
|
4117
|
+
return proto.payrollserviceapi.GetUserBusinessSummaryRequest.deserializeBinaryFromReader(msg, reader);
|
|
4118
|
+
};
|
|
4119
|
+
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4123
|
+
* given reader into the given message object.
|
|
4124
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryRequest} msg The message object to deserialize into.
|
|
4125
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4126
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryRequest}
|
|
4127
|
+
*/
|
|
4128
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4129
|
+
while (reader.nextField()) {
|
|
4130
|
+
if (reader.isEndGroup()) {
|
|
4131
|
+
break;
|
|
4132
|
+
}
|
|
4133
|
+
var field = reader.getFieldNumber();
|
|
4134
|
+
switch (field) {
|
|
4135
|
+
case 1:
|
|
4136
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4137
|
+
msg.setClientUserId(value);
|
|
4138
|
+
break;
|
|
4139
|
+
default:
|
|
4140
|
+
reader.skipField();
|
|
4141
|
+
break;
|
|
4142
|
+
}
|
|
4143
|
+
}
|
|
4144
|
+
return msg;
|
|
4145
|
+
};
|
|
4146
|
+
|
|
4147
|
+
|
|
4148
|
+
/**
|
|
4149
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4150
|
+
* @return {!Uint8Array}
|
|
4151
|
+
*/
|
|
4152
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.prototype.serializeBinary = function() {
|
|
4153
|
+
var writer = new jspb.BinaryWriter();
|
|
4154
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.serializeBinaryToWriter(this, writer);
|
|
4155
|
+
return writer.getResultBuffer();
|
|
4156
|
+
};
|
|
4157
|
+
|
|
4158
|
+
|
|
4159
|
+
/**
|
|
4160
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4161
|
+
* format), writing to the given BinaryWriter.
|
|
4162
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryRequest} message
|
|
4163
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4164
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4165
|
+
*/
|
|
4166
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4167
|
+
var f = undefined;
|
|
4168
|
+
f = message.getClientUserId();
|
|
4169
|
+
if (f !== 0) {
|
|
4170
|
+
writer.writeInt64(
|
|
4171
|
+
1,
|
|
4172
|
+
f
|
|
4173
|
+
);
|
|
4174
|
+
}
|
|
4175
|
+
};
|
|
4176
|
+
|
|
4177
|
+
|
|
4178
|
+
/**
|
|
4179
|
+
* optional int64 client_user_id = 1;
|
|
4180
|
+
* @return {number}
|
|
4181
|
+
*/
|
|
4182
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.prototype.getClientUserId = function() {
|
|
4183
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4184
|
+
};
|
|
4185
|
+
|
|
4186
|
+
|
|
4187
|
+
/**
|
|
4188
|
+
* @param {number} value
|
|
4189
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryRequest} returns this
|
|
4190
|
+
*/
|
|
4191
|
+
proto.payrollserviceapi.GetUserBusinessSummaryRequest.prototype.setClientUserId = function(value) {
|
|
4192
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4193
|
+
};
|
|
4194
|
+
|
|
4195
|
+
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* List of repeated fields within this message type.
|
|
4199
|
+
* @private {!Array<number>}
|
|
4200
|
+
* @const
|
|
4201
|
+
*/
|
|
4202
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.repeatedFields_ = [2];
|
|
4203
|
+
|
|
4204
|
+
|
|
4205
|
+
|
|
4206
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4207
|
+
/**
|
|
4208
|
+
* Creates an object representation of this proto.
|
|
4209
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4210
|
+
* Optional fields that are not set will be set to undefined.
|
|
4211
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4212
|
+
* For the list of reserved names please see:
|
|
4213
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4214
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4215
|
+
* JSPB instance for transitional soy proto support:
|
|
4216
|
+
* http://goto/soy-param-migration
|
|
4217
|
+
* @return {!Object}
|
|
4218
|
+
*/
|
|
4219
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4220
|
+
return proto.payrollserviceapi.GetUserBusinessSummaryResponse.toObject(opt_includeInstance, this);
|
|
4221
|
+
};
|
|
4222
|
+
|
|
4223
|
+
|
|
4224
|
+
/**
|
|
4225
|
+
* Static version of the {@see toObject} method.
|
|
4226
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4227
|
+
* the JSPB instance for transitional soy proto support:
|
|
4228
|
+
* http://goto/soy-param-migration
|
|
4229
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryResponse} msg The msg instance to transform.
|
|
4230
|
+
* @return {!Object}
|
|
4231
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4232
|
+
*/
|
|
4233
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.toObject = function(includeInstance, msg) {
|
|
4234
|
+
var f, obj = {
|
|
4235
|
+
responsecode: (f = msg.getResponsecode()) && proto.payrollserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
4236
|
+
businessdetailsList: jspb.Message.toObjectList(msg.getBusinessdetailsList(),
|
|
4237
|
+
proto.payrollserviceapi.BusinessCountsDetails.toObject, includeInstance)
|
|
4238
|
+
};
|
|
4239
|
+
|
|
4240
|
+
if (includeInstance) {
|
|
4241
|
+
obj.$jspbMessageInstance = msg;
|
|
4242
|
+
}
|
|
4243
|
+
return obj;
|
|
4244
|
+
};
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
|
|
4248
|
+
/**
|
|
4249
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4250
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4251
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryResponse}
|
|
4252
|
+
*/
|
|
4253
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.deserializeBinary = function(bytes) {
|
|
4254
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4255
|
+
var msg = new proto.payrollserviceapi.GetUserBusinessSummaryResponse;
|
|
4256
|
+
return proto.payrollserviceapi.GetUserBusinessSummaryResponse.deserializeBinaryFromReader(msg, reader);
|
|
4257
|
+
};
|
|
4258
|
+
|
|
4259
|
+
|
|
4260
|
+
/**
|
|
4261
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4262
|
+
* given reader into the given message object.
|
|
4263
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryResponse} msg The message object to deserialize into.
|
|
4264
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4265
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryResponse}
|
|
4266
|
+
*/
|
|
4267
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4268
|
+
while (reader.nextField()) {
|
|
4269
|
+
if (reader.isEndGroup()) {
|
|
4270
|
+
break;
|
|
4271
|
+
}
|
|
4272
|
+
var field = reader.getFieldNumber();
|
|
4273
|
+
switch (field) {
|
|
4274
|
+
case 1:
|
|
4275
|
+
var value = new proto.payrollserviceapi.ResponseCode;
|
|
4276
|
+
reader.readMessage(value,proto.payrollserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
4277
|
+
msg.setResponsecode(value);
|
|
4278
|
+
break;
|
|
4279
|
+
case 2:
|
|
4280
|
+
var value = new proto.payrollserviceapi.BusinessCountsDetails;
|
|
4281
|
+
reader.readMessage(value,proto.payrollserviceapi.BusinessCountsDetails.deserializeBinaryFromReader);
|
|
4282
|
+
msg.addBusinessdetails(value);
|
|
4283
|
+
break;
|
|
4284
|
+
default:
|
|
4285
|
+
reader.skipField();
|
|
4286
|
+
break;
|
|
4287
|
+
}
|
|
4288
|
+
}
|
|
4289
|
+
return msg;
|
|
4290
|
+
};
|
|
4291
|
+
|
|
4292
|
+
|
|
4293
|
+
/**
|
|
4294
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4295
|
+
* @return {!Uint8Array}
|
|
4296
|
+
*/
|
|
4297
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.serializeBinary = function() {
|
|
4298
|
+
var writer = new jspb.BinaryWriter();
|
|
4299
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.serializeBinaryToWriter(this, writer);
|
|
4300
|
+
return writer.getResultBuffer();
|
|
4301
|
+
};
|
|
4302
|
+
|
|
4303
|
+
|
|
4304
|
+
/**
|
|
4305
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4306
|
+
* format), writing to the given BinaryWriter.
|
|
4307
|
+
* @param {!proto.payrollserviceapi.GetUserBusinessSummaryResponse} message
|
|
4308
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4309
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4310
|
+
*/
|
|
4311
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4312
|
+
var f = undefined;
|
|
4313
|
+
f = message.getResponsecode();
|
|
4314
|
+
if (f != null) {
|
|
4315
|
+
writer.writeMessage(
|
|
4316
|
+
1,
|
|
4317
|
+
f,
|
|
4318
|
+
proto.payrollserviceapi.ResponseCode.serializeBinaryToWriter
|
|
4319
|
+
);
|
|
4320
|
+
}
|
|
4321
|
+
f = message.getBusinessdetailsList();
|
|
4322
|
+
if (f.length > 0) {
|
|
4323
|
+
writer.writeRepeatedMessage(
|
|
4324
|
+
2,
|
|
4325
|
+
f,
|
|
4326
|
+
proto.payrollserviceapi.BusinessCountsDetails.serializeBinaryToWriter
|
|
4327
|
+
);
|
|
4328
|
+
}
|
|
4329
|
+
};
|
|
4330
|
+
|
|
4331
|
+
|
|
4332
|
+
/**
|
|
4333
|
+
* optional ResponseCode responseCode = 1;
|
|
4334
|
+
* @return {?proto.payrollserviceapi.ResponseCode}
|
|
4335
|
+
*/
|
|
4336
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.getResponsecode = function() {
|
|
4337
|
+
return /** @type{?proto.payrollserviceapi.ResponseCode} */ (
|
|
4338
|
+
jspb.Message.getWrapperField(this, proto.payrollserviceapi.ResponseCode, 1));
|
|
4339
|
+
};
|
|
4340
|
+
|
|
4341
|
+
|
|
4342
|
+
/**
|
|
4343
|
+
* @param {?proto.payrollserviceapi.ResponseCode|undefined} value
|
|
4344
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryResponse} returns this
|
|
4345
|
+
*/
|
|
4346
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.setResponsecode = function(value) {
|
|
4347
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
4348
|
+
};
|
|
4349
|
+
|
|
4350
|
+
|
|
4351
|
+
/**
|
|
4352
|
+
* Clears the message field making it undefined.
|
|
4353
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryResponse} returns this
|
|
4354
|
+
*/
|
|
4355
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.clearResponsecode = function() {
|
|
4356
|
+
return this.setResponsecode(undefined);
|
|
4357
|
+
};
|
|
4358
|
+
|
|
4359
|
+
|
|
4360
|
+
/**
|
|
4361
|
+
* Returns whether this field is set.
|
|
4362
|
+
* @return {boolean}
|
|
4363
|
+
*/
|
|
4364
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.hasResponsecode = function() {
|
|
4365
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4366
|
+
};
|
|
4367
|
+
|
|
4368
|
+
|
|
4369
|
+
/**
|
|
4370
|
+
* repeated BusinessCountsDetails businessDetails = 2;
|
|
4371
|
+
* @return {!Array<!proto.payrollserviceapi.BusinessCountsDetails>}
|
|
4372
|
+
*/
|
|
4373
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.getBusinessdetailsList = function() {
|
|
4374
|
+
return /** @type{!Array<!proto.payrollserviceapi.BusinessCountsDetails>} */ (
|
|
4375
|
+
jspb.Message.getRepeatedWrapperField(this, proto.payrollserviceapi.BusinessCountsDetails, 2));
|
|
4376
|
+
};
|
|
4377
|
+
|
|
4378
|
+
|
|
4379
|
+
/**
|
|
4380
|
+
* @param {!Array<!proto.payrollserviceapi.BusinessCountsDetails>} value
|
|
4381
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryResponse} returns this
|
|
4382
|
+
*/
|
|
4383
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.setBusinessdetailsList = function(value) {
|
|
4384
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
4385
|
+
};
|
|
4386
|
+
|
|
4387
|
+
|
|
4388
|
+
/**
|
|
4389
|
+
* @param {!proto.payrollserviceapi.BusinessCountsDetails=} opt_value
|
|
4390
|
+
* @param {number=} opt_index
|
|
4391
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails}
|
|
4392
|
+
*/
|
|
4393
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.addBusinessdetails = function(opt_value, opt_index) {
|
|
4394
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.payrollserviceapi.BusinessCountsDetails, opt_index);
|
|
4395
|
+
};
|
|
4396
|
+
|
|
4397
|
+
|
|
4398
|
+
/**
|
|
4399
|
+
* Clears the list making it empty but non-null.
|
|
4400
|
+
* @return {!proto.payrollserviceapi.GetUserBusinessSummaryResponse} returns this
|
|
4401
|
+
*/
|
|
4402
|
+
proto.payrollserviceapi.GetUserBusinessSummaryResponse.prototype.clearBusinessdetailsList = function() {
|
|
4403
|
+
return this.setBusinessdetailsList([]);
|
|
4404
|
+
};
|
|
4405
|
+
|
|
4406
|
+
|
|
4407
|
+
|
|
4408
|
+
|
|
4409
|
+
|
|
4410
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4411
|
+
/**
|
|
4412
|
+
* Creates an object representation of this proto.
|
|
4413
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4414
|
+
* Optional fields that are not set will be set to undefined.
|
|
4415
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4416
|
+
* For the list of reserved names please see:
|
|
4417
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4418
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4419
|
+
* JSPB instance for transitional soy proto support:
|
|
4420
|
+
* http://goto/soy-param-migration
|
|
4421
|
+
* @return {!Object}
|
|
4422
|
+
*/
|
|
4423
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.toObject = function(opt_includeInstance) {
|
|
4424
|
+
return proto.payrollserviceapi.BusinessCountsDetails.toObject(opt_includeInstance, this);
|
|
4425
|
+
};
|
|
4426
|
+
|
|
4427
|
+
|
|
4428
|
+
/**
|
|
4429
|
+
* Static version of the {@see toObject} method.
|
|
4430
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4431
|
+
* the JSPB instance for transitional soy proto support:
|
|
4432
|
+
* http://goto/soy-param-migration
|
|
4433
|
+
* @param {!proto.payrollserviceapi.BusinessCountsDetails} msg The msg instance to transform.
|
|
4434
|
+
* @return {!Object}
|
|
4435
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4436
|
+
*/
|
|
4437
|
+
proto.payrollserviceapi.BusinessCountsDetails.toObject = function(includeInstance, msg) {
|
|
4438
|
+
var f, obj = {
|
|
4439
|
+
businessId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4440
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4441
|
+
status: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4442
|
+
totalemployees: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
4443
|
+
totalunpaidbatches: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
4444
|
+
totalpaidbatches: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
4445
|
+
};
|
|
4446
|
+
|
|
4447
|
+
if (includeInstance) {
|
|
4448
|
+
obj.$jspbMessageInstance = msg;
|
|
4449
|
+
}
|
|
4450
|
+
return obj;
|
|
4451
|
+
};
|
|
4452
|
+
}
|
|
4453
|
+
|
|
4454
|
+
|
|
4455
|
+
/**
|
|
4456
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4457
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4458
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails}
|
|
4459
|
+
*/
|
|
4460
|
+
proto.payrollserviceapi.BusinessCountsDetails.deserializeBinary = function(bytes) {
|
|
4461
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4462
|
+
var msg = new proto.payrollserviceapi.BusinessCountsDetails;
|
|
4463
|
+
return proto.payrollserviceapi.BusinessCountsDetails.deserializeBinaryFromReader(msg, reader);
|
|
4464
|
+
};
|
|
4465
|
+
|
|
4466
|
+
|
|
4467
|
+
/**
|
|
4468
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4469
|
+
* given reader into the given message object.
|
|
4470
|
+
* @param {!proto.payrollserviceapi.BusinessCountsDetails} msg The message object to deserialize into.
|
|
4471
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4472
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails}
|
|
4473
|
+
*/
|
|
4474
|
+
proto.payrollserviceapi.BusinessCountsDetails.deserializeBinaryFromReader = function(msg, reader) {
|
|
4475
|
+
while (reader.nextField()) {
|
|
4476
|
+
if (reader.isEndGroup()) {
|
|
4477
|
+
break;
|
|
4478
|
+
}
|
|
4479
|
+
var field = reader.getFieldNumber();
|
|
4480
|
+
switch (field) {
|
|
4481
|
+
case 1:
|
|
4482
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4483
|
+
msg.setBusinessId(value);
|
|
4484
|
+
break;
|
|
4485
|
+
case 2:
|
|
4486
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4487
|
+
msg.setName(value);
|
|
4488
|
+
break;
|
|
4489
|
+
case 3:
|
|
4490
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4491
|
+
msg.setStatus(value);
|
|
4492
|
+
break;
|
|
4493
|
+
case 4:
|
|
4494
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4495
|
+
msg.setTotalemployees(value);
|
|
4496
|
+
break;
|
|
4497
|
+
case 5:
|
|
4498
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4499
|
+
msg.setTotalunpaidbatches(value);
|
|
4500
|
+
break;
|
|
4501
|
+
case 6:
|
|
4502
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4503
|
+
msg.setTotalpaidbatches(value);
|
|
4504
|
+
break;
|
|
4505
|
+
default:
|
|
4506
|
+
reader.skipField();
|
|
4507
|
+
break;
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
4510
|
+
return msg;
|
|
4511
|
+
};
|
|
4512
|
+
|
|
4513
|
+
|
|
4514
|
+
/**
|
|
4515
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4516
|
+
* @return {!Uint8Array}
|
|
4517
|
+
*/
|
|
4518
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.serializeBinary = function() {
|
|
4519
|
+
var writer = new jspb.BinaryWriter();
|
|
4520
|
+
proto.payrollserviceapi.BusinessCountsDetails.serializeBinaryToWriter(this, writer);
|
|
4521
|
+
return writer.getResultBuffer();
|
|
4522
|
+
};
|
|
4523
|
+
|
|
4524
|
+
|
|
4525
|
+
/**
|
|
4526
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4527
|
+
* format), writing to the given BinaryWriter.
|
|
4528
|
+
* @param {!proto.payrollserviceapi.BusinessCountsDetails} message
|
|
4529
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4530
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4531
|
+
*/
|
|
4532
|
+
proto.payrollserviceapi.BusinessCountsDetails.serializeBinaryToWriter = function(message, writer) {
|
|
4533
|
+
var f = undefined;
|
|
4534
|
+
f = message.getBusinessId();
|
|
4535
|
+
if (f !== 0) {
|
|
4536
|
+
writer.writeInt64(
|
|
4537
|
+
1,
|
|
4538
|
+
f
|
|
4539
|
+
);
|
|
4540
|
+
}
|
|
4541
|
+
f = message.getName();
|
|
4542
|
+
if (f.length > 0) {
|
|
4543
|
+
writer.writeString(
|
|
4544
|
+
2,
|
|
4545
|
+
f
|
|
4546
|
+
);
|
|
4547
|
+
}
|
|
4548
|
+
f = message.getStatus();
|
|
4549
|
+
if (f.length > 0) {
|
|
4550
|
+
writer.writeString(
|
|
4551
|
+
3,
|
|
4552
|
+
f
|
|
4553
|
+
);
|
|
4554
|
+
}
|
|
4555
|
+
f = message.getTotalemployees();
|
|
4556
|
+
if (f !== 0) {
|
|
4557
|
+
writer.writeInt32(
|
|
4558
|
+
4,
|
|
4559
|
+
f
|
|
4560
|
+
);
|
|
4561
|
+
}
|
|
4562
|
+
f = message.getTotalunpaidbatches();
|
|
4563
|
+
if (f !== 0) {
|
|
4564
|
+
writer.writeInt32(
|
|
4565
|
+
5,
|
|
4566
|
+
f
|
|
4567
|
+
);
|
|
4568
|
+
}
|
|
4569
|
+
f = message.getTotalpaidbatches();
|
|
4570
|
+
if (f !== 0) {
|
|
4571
|
+
writer.writeInt32(
|
|
4572
|
+
6,
|
|
4573
|
+
f
|
|
4574
|
+
);
|
|
4575
|
+
}
|
|
4576
|
+
};
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
/**
|
|
4580
|
+
* optional int64 business_id = 1;
|
|
4581
|
+
* @return {number}
|
|
4582
|
+
*/
|
|
4583
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.getBusinessId = function() {
|
|
4584
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4585
|
+
};
|
|
4586
|
+
|
|
4587
|
+
|
|
4588
|
+
/**
|
|
4589
|
+
* @param {number} value
|
|
4590
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails} returns this
|
|
4591
|
+
*/
|
|
4592
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.setBusinessId = function(value) {
|
|
4593
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4594
|
+
};
|
|
4595
|
+
|
|
4596
|
+
|
|
4597
|
+
/**
|
|
4598
|
+
* optional string name = 2;
|
|
4599
|
+
* @return {string}
|
|
4600
|
+
*/
|
|
4601
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.getName = function() {
|
|
4602
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4603
|
+
};
|
|
4604
|
+
|
|
4605
|
+
|
|
4606
|
+
/**
|
|
4607
|
+
* @param {string} value
|
|
4608
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails} returns this
|
|
4609
|
+
*/
|
|
4610
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.setName = function(value) {
|
|
4611
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4612
|
+
};
|
|
4613
|
+
|
|
4614
|
+
|
|
4615
|
+
/**
|
|
4616
|
+
* optional string status = 3;
|
|
4617
|
+
* @return {string}
|
|
4618
|
+
*/
|
|
4619
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.getStatus = function() {
|
|
4620
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4621
|
+
};
|
|
4622
|
+
|
|
4623
|
+
|
|
4624
|
+
/**
|
|
4625
|
+
* @param {string} value
|
|
4626
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails} returns this
|
|
4627
|
+
*/
|
|
4628
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.setStatus = function(value) {
|
|
4629
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4630
|
+
};
|
|
4631
|
+
|
|
4632
|
+
|
|
4633
|
+
/**
|
|
4634
|
+
* optional int32 totalEmployees = 4;
|
|
4635
|
+
* @return {number}
|
|
4636
|
+
*/
|
|
4637
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.getTotalemployees = function() {
|
|
4638
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
4639
|
+
};
|
|
4640
|
+
|
|
4641
|
+
|
|
4642
|
+
/**
|
|
4643
|
+
* @param {number} value
|
|
4644
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails} returns this
|
|
4645
|
+
*/
|
|
4646
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.setTotalemployees = function(value) {
|
|
4647
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
|
|
4651
|
+
/**
|
|
4652
|
+
* optional int32 totalUnpaidBatches = 5;
|
|
4653
|
+
* @return {number}
|
|
4654
|
+
*/
|
|
4655
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.getTotalunpaidbatches = function() {
|
|
4656
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
4657
|
+
};
|
|
4658
|
+
|
|
4659
|
+
|
|
4660
|
+
/**
|
|
4661
|
+
* @param {number} value
|
|
4662
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails} returns this
|
|
4663
|
+
*/
|
|
4664
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.setTotalunpaidbatches = function(value) {
|
|
4665
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
4666
|
+
};
|
|
4667
|
+
|
|
4668
|
+
|
|
4669
|
+
/**
|
|
4670
|
+
* optional int32 totalPaidBatches = 6;
|
|
4671
|
+
* @return {number}
|
|
4672
|
+
*/
|
|
4673
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.getTotalpaidbatches = function() {
|
|
4674
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
4675
|
+
};
|
|
4676
|
+
|
|
4677
|
+
|
|
4678
|
+
/**
|
|
4679
|
+
* @param {number} value
|
|
4680
|
+
* @return {!proto.payrollserviceapi.BusinessCountsDetails} returns this
|
|
4681
|
+
*/
|
|
4682
|
+
proto.payrollserviceapi.BusinessCountsDetails.prototype.setTotalpaidbatches = function(value) {
|
|
4683
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
4684
|
+
};
|
|
4685
|
+
|
|
4686
|
+
|
|
4687
|
+
|
|
4001
4688
|
/**
|
|
4002
4689
|
* List of repeated fields within this message type.
|
|
4003
4690
|
* @private {!Array<number>}
|