@sniipwebmaster/agent-billing-client-grpcweb 24.5.1937 → 24.5.1948

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.
@@ -2152,6 +2152,67 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
2152
2152
  };
2153
2153
 
2154
2154
 
2155
+ /**
2156
+ * @const
2157
+ * @type {!grpc.web.MethodDescriptor<
2158
+ * !proto.agentbillingserviceapi.GetUploadBatchSummaryRequest,
2159
+ * !proto.agentbillingserviceapi.GetUploadBatchSummaryResponse>}
2160
+ */
2161
+ const methodDescriptor_AgentBillingServiceAPIService_GetUploadBatchSummary = new grpc.web.MethodDescriptor(
2162
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchSummary',
2163
+ grpc.web.MethodType.UNARY,
2164
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest,
2165
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse,
2166
+ /**
2167
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest} request
2168
+ * @return {!Uint8Array}
2169
+ */
2170
+ function(request) {
2171
+ return request.serializeBinary();
2172
+ },
2173
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.deserializeBinary
2174
+ );
2175
+
2176
+
2177
+ /**
2178
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest} request The
2179
+ * request proto
2180
+ * @param {?Object<string, string>} metadata User defined
2181
+ * call metadata
2182
+ * @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.GetUploadBatchSummaryResponse)}
2183
+ * callback The callback function(error, response)
2184
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse>|undefined}
2185
+ * The XHR Node Readable Stream
2186
+ */
2187
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getUploadBatchSummary =
2188
+ function(request, metadata, callback) {
2189
+ return this.client_.rpcCall(this.hostname_ +
2190
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchSummary',
2191
+ request,
2192
+ metadata || {},
2193
+ methodDescriptor_AgentBillingServiceAPIService_GetUploadBatchSummary,
2194
+ callback);
2195
+ };
2196
+
2197
+
2198
+ /**
2199
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest} request The
2200
+ * request proto
2201
+ * @param {?Object<string, string>=} metadata User defined
2202
+ * call metadata
2203
+ * @return {!Promise<!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse>}
2204
+ * Promise that resolves to the response
2205
+ */
2206
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getUploadBatchSummary =
2207
+ function(request, metadata) {
2208
+ return this.client_.unaryCall(this.hostname_ +
2209
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchSummary',
2210
+ request,
2211
+ metadata || {},
2212
+ methodDescriptor_AgentBillingServiceAPIService_GetUploadBatchSummary);
2213
+ };
2214
+
2215
+
2155
2216
  /**
2156
2217
  * @const
2157
2218
  * @type {!grpc.web.MethodDescriptor<
@@ -85,6 +85,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetImportedBatchesInfoResponse',
85
85
  goog.exportSymbol('proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest', null, global);
86
86
  goog.exportSymbol('proto.agentbillingserviceapi.GetPendingClientsRequest', null, global);
87
87
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftRequest', null, global);
88
+ goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchSummaryRequest', null, global);
89
+ goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchSummaryResponse', null, global);
88
90
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
89
91
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesResponse', null, global);
90
92
  goog.exportSymbol('proto.agentbillingserviceapi.ImportAgentBillRequest', null, global);
@@ -1469,6 +1471,48 @@ if (goog.DEBUG && !COMPILED) {
1469
1471
  */
1470
1472
  proto.agentbillingserviceapi.GetUploadBatchesResponse.displayName = 'proto.agentbillingserviceapi.GetUploadBatchesResponse';
1471
1473
  }
1474
+ /**
1475
+ * Generated by JsPbCodeGenerator.
1476
+ * @param {Array=} opt_data Optional initial data array, typically from a
1477
+ * server response, or constructed directly in Javascript. The array is used
1478
+ * in place and becomes part of the constructed object. It is not cloned.
1479
+ * If no data is provided, the constructed object will be empty, but still
1480
+ * valid.
1481
+ * @extends {jspb.Message}
1482
+ * @constructor
1483
+ */
1484
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest = function(opt_data) {
1485
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1486
+ };
1487
+ goog.inherits(proto.agentbillingserviceapi.GetUploadBatchSummaryRequest, jspb.Message);
1488
+ if (goog.DEBUG && !COMPILED) {
1489
+ /**
1490
+ * @public
1491
+ * @override
1492
+ */
1493
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.displayName = 'proto.agentbillingserviceapi.GetUploadBatchSummaryRequest';
1494
+ }
1495
+ /**
1496
+ * Generated by JsPbCodeGenerator.
1497
+ * @param {Array=} opt_data Optional initial data array, typically from a
1498
+ * server response, or constructed directly in Javascript. The array is used
1499
+ * in place and becomes part of the constructed object. It is not cloned.
1500
+ * If no data is provided, the constructed object will be empty, but still
1501
+ * valid.
1502
+ * @extends {jspb.Message}
1503
+ * @constructor
1504
+ */
1505
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse = function(opt_data) {
1506
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1507
+ };
1508
+ goog.inherits(proto.agentbillingserviceapi.GetUploadBatchSummaryResponse, jspb.Message);
1509
+ if (goog.DEBUG && !COMPILED) {
1510
+ /**
1511
+ * @public
1512
+ * @override
1513
+ */
1514
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.displayName = 'proto.agentbillingserviceapi.GetUploadBatchSummaryResponse';
1515
+ }
1472
1516
  /**
1473
1517
  * Generated by JsPbCodeGenerator.
1474
1518
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -18025,6 +18069,368 @@ proto.agentbillingserviceapi.GetUploadBatchesResponse.prototype.setTotalsize = f
18025
18069
 
18026
18070
 
18027
18071
 
18072
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18073
+ /**
18074
+ * Creates an object representation of this proto.
18075
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18076
+ * Optional fields that are not set will be set to undefined.
18077
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18078
+ * For the list of reserved names please see:
18079
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18080
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18081
+ * JSPB instance for transitional soy proto support:
18082
+ * http://goto/soy-param-migration
18083
+ * @return {!Object}
18084
+ */
18085
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.prototype.toObject = function(opt_includeInstance) {
18086
+ return proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.toObject(opt_includeInstance, this);
18087
+ };
18088
+
18089
+
18090
+ /**
18091
+ * Static version of the {@see toObject} method.
18092
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18093
+ * the JSPB instance for transitional soy proto support:
18094
+ * http://goto/soy-param-migration
18095
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest} msg The msg instance to transform.
18096
+ * @return {!Object}
18097
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18098
+ */
18099
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.toObject = function(includeInstance, msg) {
18100
+ var f, obj = {
18101
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
18102
+ uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0)
18103
+ };
18104
+
18105
+ if (includeInstance) {
18106
+ obj.$jspbMessageInstance = msg;
18107
+ }
18108
+ return obj;
18109
+ };
18110
+ }
18111
+
18112
+
18113
+ /**
18114
+ * Deserializes binary data (in protobuf wire format).
18115
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18116
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest}
18117
+ */
18118
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.deserializeBinary = function(bytes) {
18119
+ var reader = new jspb.BinaryReader(bytes);
18120
+ var msg = new proto.agentbillingserviceapi.GetUploadBatchSummaryRequest;
18121
+ return proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.deserializeBinaryFromReader(msg, reader);
18122
+ };
18123
+
18124
+
18125
+ /**
18126
+ * Deserializes binary data (in protobuf wire format) from the
18127
+ * given reader into the given message object.
18128
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest} msg The message object to deserialize into.
18129
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18130
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest}
18131
+ */
18132
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.deserializeBinaryFromReader = function(msg, reader) {
18133
+ while (reader.nextField()) {
18134
+ if (reader.isEndGroup()) {
18135
+ break;
18136
+ }
18137
+ var field = reader.getFieldNumber();
18138
+ switch (field) {
18139
+ case 1:
18140
+ var value = /** @type {number} */ (reader.readInt64());
18141
+ msg.setClientuserid(value);
18142
+ break;
18143
+ case 2:
18144
+ var value = /** @type {number} */ (reader.readInt64());
18145
+ msg.setUploadbatchid(value);
18146
+ break;
18147
+ default:
18148
+ reader.skipField();
18149
+ break;
18150
+ }
18151
+ }
18152
+ return msg;
18153
+ };
18154
+
18155
+
18156
+ /**
18157
+ * Serializes the message to binary data (in protobuf wire format).
18158
+ * @return {!Uint8Array}
18159
+ */
18160
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.prototype.serializeBinary = function() {
18161
+ var writer = new jspb.BinaryWriter();
18162
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.serializeBinaryToWriter(this, writer);
18163
+ return writer.getResultBuffer();
18164
+ };
18165
+
18166
+
18167
+ /**
18168
+ * Serializes the given message to binary data (in protobuf wire
18169
+ * format), writing to the given BinaryWriter.
18170
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest} message
18171
+ * @param {!jspb.BinaryWriter} writer
18172
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18173
+ */
18174
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.serializeBinaryToWriter = function(message, writer) {
18175
+ var f = undefined;
18176
+ f = message.getClientuserid();
18177
+ if (f !== 0) {
18178
+ writer.writeInt64(
18179
+ 1,
18180
+ f
18181
+ );
18182
+ }
18183
+ f = message.getUploadbatchid();
18184
+ if (f !== 0) {
18185
+ writer.writeInt64(
18186
+ 2,
18187
+ f
18188
+ );
18189
+ }
18190
+ };
18191
+
18192
+
18193
+ /**
18194
+ * optional int64 clientUserId = 1;
18195
+ * @return {number}
18196
+ */
18197
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.prototype.getClientuserid = function() {
18198
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
18199
+ };
18200
+
18201
+
18202
+ /**
18203
+ * @param {number} value
18204
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest} returns this
18205
+ */
18206
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.prototype.setClientuserid = function(value) {
18207
+ return jspb.Message.setProto3IntField(this, 1, value);
18208
+ };
18209
+
18210
+
18211
+ /**
18212
+ * optional int64 uploadBatchId = 2;
18213
+ * @return {number}
18214
+ */
18215
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.prototype.getUploadbatchid = function() {
18216
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
18217
+ };
18218
+
18219
+
18220
+ /**
18221
+ * @param {number} value
18222
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryRequest} returns this
18223
+ */
18224
+ proto.agentbillingserviceapi.GetUploadBatchSummaryRequest.prototype.setUploadbatchid = function(value) {
18225
+ return jspb.Message.setProto3IntField(this, 2, value);
18226
+ };
18227
+
18228
+
18229
+
18230
+
18231
+
18232
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18233
+ /**
18234
+ * Creates an object representation of this proto.
18235
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18236
+ * Optional fields that are not set will be set to undefined.
18237
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18238
+ * For the list of reserved names please see:
18239
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18240
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18241
+ * JSPB instance for transitional soy proto support:
18242
+ * http://goto/soy-param-migration
18243
+ * @return {!Object}
18244
+ */
18245
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.toObject = function(opt_includeInstance) {
18246
+ return proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.toObject(opt_includeInstance, this);
18247
+ };
18248
+
18249
+
18250
+ /**
18251
+ * Static version of the {@see toObject} method.
18252
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18253
+ * the JSPB instance for transitional soy proto support:
18254
+ * http://goto/soy-param-migration
18255
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse} msg The msg instance to transform.
18256
+ * @return {!Object}
18257
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18258
+ */
18259
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.toObject = function(includeInstance, msg) {
18260
+ var f, obj = {
18261
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
18262
+ uploadbatchsummary: (f = msg.getUploadbatchsummary()) && proto.agentbillingserviceapi.UploadBatch.toObject(includeInstance, f)
18263
+ };
18264
+
18265
+ if (includeInstance) {
18266
+ obj.$jspbMessageInstance = msg;
18267
+ }
18268
+ return obj;
18269
+ };
18270
+ }
18271
+
18272
+
18273
+ /**
18274
+ * Deserializes binary data (in protobuf wire format).
18275
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18276
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse}
18277
+ */
18278
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.deserializeBinary = function(bytes) {
18279
+ var reader = new jspb.BinaryReader(bytes);
18280
+ var msg = new proto.agentbillingserviceapi.GetUploadBatchSummaryResponse;
18281
+ return proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.deserializeBinaryFromReader(msg, reader);
18282
+ };
18283
+
18284
+
18285
+ /**
18286
+ * Deserializes binary data (in protobuf wire format) from the
18287
+ * given reader into the given message object.
18288
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse} msg The message object to deserialize into.
18289
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18290
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse}
18291
+ */
18292
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.deserializeBinaryFromReader = function(msg, reader) {
18293
+ while (reader.nextField()) {
18294
+ if (reader.isEndGroup()) {
18295
+ break;
18296
+ }
18297
+ var field = reader.getFieldNumber();
18298
+ switch (field) {
18299
+ case 1:
18300
+ var value = new proto.agentbillingserviceapi.ResponseCode;
18301
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
18302
+ msg.setResponsecode(value);
18303
+ break;
18304
+ case 2:
18305
+ var value = new proto.agentbillingserviceapi.UploadBatch;
18306
+ reader.readMessage(value,proto.agentbillingserviceapi.UploadBatch.deserializeBinaryFromReader);
18307
+ msg.setUploadbatchsummary(value);
18308
+ break;
18309
+ default:
18310
+ reader.skipField();
18311
+ break;
18312
+ }
18313
+ }
18314
+ return msg;
18315
+ };
18316
+
18317
+
18318
+ /**
18319
+ * Serializes the message to binary data (in protobuf wire format).
18320
+ * @return {!Uint8Array}
18321
+ */
18322
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.serializeBinary = function() {
18323
+ var writer = new jspb.BinaryWriter();
18324
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.serializeBinaryToWriter(this, writer);
18325
+ return writer.getResultBuffer();
18326
+ };
18327
+
18328
+
18329
+ /**
18330
+ * Serializes the given message to binary data (in protobuf wire
18331
+ * format), writing to the given BinaryWriter.
18332
+ * @param {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse} message
18333
+ * @param {!jspb.BinaryWriter} writer
18334
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18335
+ */
18336
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.serializeBinaryToWriter = function(message, writer) {
18337
+ var f = undefined;
18338
+ f = message.getResponsecode();
18339
+ if (f != null) {
18340
+ writer.writeMessage(
18341
+ 1,
18342
+ f,
18343
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
18344
+ );
18345
+ }
18346
+ f = message.getUploadbatchsummary();
18347
+ if (f != null) {
18348
+ writer.writeMessage(
18349
+ 2,
18350
+ f,
18351
+ proto.agentbillingserviceapi.UploadBatch.serializeBinaryToWriter
18352
+ );
18353
+ }
18354
+ };
18355
+
18356
+
18357
+ /**
18358
+ * optional ResponseCode responseCode = 1;
18359
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
18360
+ */
18361
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.getResponsecode = function() {
18362
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
18363
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
18364
+ };
18365
+
18366
+
18367
+ /**
18368
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
18369
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse} returns this
18370
+ */
18371
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.setResponsecode = function(value) {
18372
+ return jspb.Message.setWrapperField(this, 1, value);
18373
+ };
18374
+
18375
+
18376
+ /**
18377
+ * Clears the message field making it undefined.
18378
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse} returns this
18379
+ */
18380
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.clearResponsecode = function() {
18381
+ return this.setResponsecode(undefined);
18382
+ };
18383
+
18384
+
18385
+ /**
18386
+ * Returns whether this field is set.
18387
+ * @return {boolean}
18388
+ */
18389
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.hasResponsecode = function() {
18390
+ return jspb.Message.getField(this, 1) != null;
18391
+ };
18392
+
18393
+
18394
+ /**
18395
+ * optional UploadBatch uploadBatchSummary = 2;
18396
+ * @return {?proto.agentbillingserviceapi.UploadBatch}
18397
+ */
18398
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.getUploadbatchsummary = function() {
18399
+ return /** @type{?proto.agentbillingserviceapi.UploadBatch} */ (
18400
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.UploadBatch, 2));
18401
+ };
18402
+
18403
+
18404
+ /**
18405
+ * @param {?proto.agentbillingserviceapi.UploadBatch|undefined} value
18406
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse} returns this
18407
+ */
18408
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.setUploadbatchsummary = function(value) {
18409
+ return jspb.Message.setWrapperField(this, 2, value);
18410
+ };
18411
+
18412
+
18413
+ /**
18414
+ * Clears the message field making it undefined.
18415
+ * @return {!proto.agentbillingserviceapi.GetUploadBatchSummaryResponse} returns this
18416
+ */
18417
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.clearUploadbatchsummary = function() {
18418
+ return this.setUploadbatchsummary(undefined);
18419
+ };
18420
+
18421
+
18422
+ /**
18423
+ * Returns whether this field is set.
18424
+ * @return {boolean}
18425
+ */
18426
+ proto.agentbillingserviceapi.GetUploadBatchSummaryResponse.prototype.hasUploadbatchsummary = function() {
18427
+ return jspb.Message.getField(this, 2) != null;
18428
+ };
18429
+
18430
+
18431
+
18432
+
18433
+
18028
18434
  if (jspb.Message.GENERATE_TO_OBJECT) {
18029
18435
  /**
18030
18436
  * Creates an object representation of this proto.
@@ -20710,7 +21116,9 @@ proto.agentbillingserviceapi.UploadBatch.toObject = function(includeInstance, ms
20710
21116
  status: jspb.Message.getFieldWithDefault(msg, 6, 0),
20711
21117
  type: jspb.Message.getFieldWithDefault(msg, 7, 0),
20712
21118
  totalentriescount: jspb.Message.getFieldWithDefault(msg, 8, 0),
20713
- totalbillscount: jspb.Message.getFieldWithDefault(msg, 9, 0)
21119
+ totalbillscount: jspb.Message.getFieldWithDefault(msg, 9, 0),
21120
+ clientid: jspb.Message.getFieldWithDefault(msg, 10, 0),
21121
+ cansenddeliverybatchreminder: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
20714
21122
  };
20715
21123
 
20716
21124
  if (includeInstance) {
@@ -20783,6 +21191,14 @@ proto.agentbillingserviceapi.UploadBatch.deserializeBinaryFromReader = function(
20783
21191
  var value = /** @type {number} */ (reader.readInt32());
20784
21192
  msg.setTotalbillscount(value);
20785
21193
  break;
21194
+ case 10:
21195
+ var value = /** @type {number} */ (reader.readInt64());
21196
+ msg.setClientid(value);
21197
+ break;
21198
+ case 11:
21199
+ var value = /** @type {boolean} */ (reader.readBool());
21200
+ msg.setCansenddeliverybatchreminder(value);
21201
+ break;
20786
21202
  default:
20787
21203
  reader.skipField();
20788
21204
  break;
@@ -20875,6 +21291,20 @@ proto.agentbillingserviceapi.UploadBatch.serializeBinaryToWriter = function(mess
20875
21291
  f
20876
21292
  );
20877
21293
  }
21294
+ f = message.getClientid();
21295
+ if (f !== 0) {
21296
+ writer.writeInt64(
21297
+ 10,
21298
+ f
21299
+ );
21300
+ }
21301
+ f = message.getCansenddeliverybatchreminder();
21302
+ if (f) {
21303
+ writer.writeBool(
21304
+ 11,
21305
+ f
21306
+ );
21307
+ }
20878
21308
  };
20879
21309
 
20880
21310
 
@@ -21040,6 +21470,42 @@ proto.agentbillingserviceapi.UploadBatch.prototype.setTotalbillscount = function
21040
21470
  };
21041
21471
 
21042
21472
 
21473
+ /**
21474
+ * optional int64 clientId = 10;
21475
+ * @return {number}
21476
+ */
21477
+ proto.agentbillingserviceapi.UploadBatch.prototype.getClientid = function() {
21478
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
21479
+ };
21480
+
21481
+
21482
+ /**
21483
+ * @param {number} value
21484
+ * @return {!proto.agentbillingserviceapi.UploadBatch} returns this
21485
+ */
21486
+ proto.agentbillingserviceapi.UploadBatch.prototype.setClientid = function(value) {
21487
+ return jspb.Message.setProto3IntField(this, 10, value);
21488
+ };
21489
+
21490
+
21491
+ /**
21492
+ * optional bool canSendDeliveryBatchReminder = 11;
21493
+ * @return {boolean}
21494
+ */
21495
+ proto.agentbillingserviceapi.UploadBatch.prototype.getCansenddeliverybatchreminder = function() {
21496
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
21497
+ };
21498
+
21499
+
21500
+ /**
21501
+ * @param {boolean} value
21502
+ * @return {!proto.agentbillingserviceapi.UploadBatch} returns this
21503
+ */
21504
+ proto.agentbillingserviceapi.UploadBatch.prototype.setCansenddeliverybatchreminder = function(value) {
21505
+ return jspb.Message.setProto3BooleanField(this, 11, value);
21506
+ };
21507
+
21508
+
21043
21509
 
21044
21510
  /**
21045
21511
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "24.5.1937",
3
+ "version": "24.5.1948",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",