@sniipwebmaster/agent-billing-client-grpcweb-ts 24.5.1924 → 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.
@@ -1502,6 +1502,49 @@ export class AgentBillingServiceAPIServiceClient {
1502
1502
  this.methodDescriptorGetUploadBatchesInDraft);
1503
1503
  }
1504
1504
 
1505
+ methodDescriptorGetUploadBatchSummary = new grpcWeb.MethodDescriptor(
1506
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchSummary',
1507
+ grpcWeb.MethodType.UNARY,
1508
+ service_pb.GetUploadBatchSummaryRequest,
1509
+ service_pb.GetUploadBatchSummaryResponse,
1510
+ (request: service_pb.GetUploadBatchSummaryRequest) => {
1511
+ return request.serializeBinary();
1512
+ },
1513
+ service_pb.GetUploadBatchSummaryResponse.deserializeBinary
1514
+ );
1515
+
1516
+ getUploadBatchSummary(
1517
+ request: service_pb.GetUploadBatchSummaryRequest,
1518
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.GetUploadBatchSummaryResponse>;
1519
+
1520
+ getUploadBatchSummary(
1521
+ request: service_pb.GetUploadBatchSummaryRequest,
1522
+ metadata: grpcWeb.Metadata | null,
1523
+ callback: (err: grpcWeb.RpcError,
1524
+ response: service_pb.GetUploadBatchSummaryResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetUploadBatchSummaryResponse>;
1525
+
1526
+ getUploadBatchSummary(
1527
+ request: service_pb.GetUploadBatchSummaryRequest,
1528
+ metadata: grpcWeb.Metadata | null,
1529
+ callback?: (err: grpcWeb.RpcError,
1530
+ response: service_pb.GetUploadBatchSummaryResponse) => void) {
1531
+ if (callback !== undefined) {
1532
+ return this.client_.rpcCall(
1533
+ this.hostname_ +
1534
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchSummary',
1535
+ request,
1536
+ metadata || {},
1537
+ this.methodDescriptorGetUploadBatchSummary,
1538
+ callback);
1539
+ }
1540
+ return this.client_.unaryCall(
1541
+ this.hostname_ +
1542
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetUploadBatchSummary',
1543
+ request,
1544
+ metadata || {},
1545
+ this.methodDescriptorGetUploadBatchSummary);
1546
+ }
1547
+
1505
1548
  methodDescriptorProcessCsv = new grpcWeb.MethodDescriptor(
1506
1549
  '/agentbillingserviceapi.AgentBillingServiceAPIService/ProcessCsv',
1507
1550
  grpcWeb.MethodType.UNARY,
@@ -2152,6 +2152,54 @@ export namespace GetUploadBatchesResponse {
2152
2152
  }
2153
2153
  }
2154
2154
 
2155
+ export class GetUploadBatchSummaryRequest extends jspb.Message {
2156
+ getClientuserid(): number;
2157
+ setClientuserid(value: number): GetUploadBatchSummaryRequest;
2158
+
2159
+ getUploadbatchid(): number;
2160
+ setUploadbatchid(value: number): GetUploadBatchSummaryRequest;
2161
+
2162
+ serializeBinary(): Uint8Array;
2163
+ toObject(includeInstance?: boolean): GetUploadBatchSummaryRequest.AsObject;
2164
+ static toObject(includeInstance: boolean, msg: GetUploadBatchSummaryRequest): GetUploadBatchSummaryRequest.AsObject;
2165
+ static serializeBinaryToWriter(message: GetUploadBatchSummaryRequest, writer: jspb.BinaryWriter): void;
2166
+ static deserializeBinary(bytes: Uint8Array): GetUploadBatchSummaryRequest;
2167
+ static deserializeBinaryFromReader(message: GetUploadBatchSummaryRequest, reader: jspb.BinaryReader): GetUploadBatchSummaryRequest;
2168
+ }
2169
+
2170
+ export namespace GetUploadBatchSummaryRequest {
2171
+ export type AsObject = {
2172
+ clientuserid: number,
2173
+ uploadbatchid: number,
2174
+ }
2175
+ }
2176
+
2177
+ export class GetUploadBatchSummaryResponse extends jspb.Message {
2178
+ getResponsecode(): ResponseCode | undefined;
2179
+ setResponsecode(value?: ResponseCode): GetUploadBatchSummaryResponse;
2180
+ hasResponsecode(): boolean;
2181
+ clearResponsecode(): GetUploadBatchSummaryResponse;
2182
+
2183
+ getUploadbatchsummary(): UploadBatch | undefined;
2184
+ setUploadbatchsummary(value?: UploadBatch): GetUploadBatchSummaryResponse;
2185
+ hasUploadbatchsummary(): boolean;
2186
+ clearUploadbatchsummary(): GetUploadBatchSummaryResponse;
2187
+
2188
+ serializeBinary(): Uint8Array;
2189
+ toObject(includeInstance?: boolean): GetUploadBatchSummaryResponse.AsObject;
2190
+ static toObject(includeInstance: boolean, msg: GetUploadBatchSummaryResponse): GetUploadBatchSummaryResponse.AsObject;
2191
+ static serializeBinaryToWriter(message: GetUploadBatchSummaryResponse, writer: jspb.BinaryWriter): void;
2192
+ static deserializeBinary(bytes: Uint8Array): GetUploadBatchSummaryResponse;
2193
+ static deserializeBinaryFromReader(message: GetUploadBatchSummaryResponse, reader: jspb.BinaryReader): GetUploadBatchSummaryResponse;
2194
+ }
2195
+
2196
+ export namespace GetUploadBatchSummaryResponse {
2197
+ export type AsObject = {
2198
+ responsecode?: ResponseCode.AsObject,
2199
+ uploadbatchsummary?: UploadBatch.AsObject,
2200
+ }
2201
+ }
2202
+
2155
2203
  export class ProcessCsvRequest extends jspb.Message {
2156
2204
  getAttachmentid(): number;
2157
2205
  setAttachmentid(value: number): ProcessCsvRequest;
@@ -2536,6 +2584,12 @@ export class UploadBatch extends jspb.Message {
2536
2584
  getTotalbillscount(): number;
2537
2585
  setTotalbillscount(value: number): UploadBatch;
2538
2586
 
2587
+ getClientid(): number;
2588
+ setClientid(value: number): UploadBatch;
2589
+
2590
+ getCansenddeliverybatchreminder(): boolean;
2591
+ setCansenddeliverybatchreminder(value: boolean): UploadBatch;
2592
+
2539
2593
  serializeBinary(): Uint8Array;
2540
2594
  toObject(includeInstance?: boolean): UploadBatch.AsObject;
2541
2595
  static toObject(includeInstance: boolean, msg: UploadBatch): UploadBatch.AsObject;
@@ -2555,6 +2609,8 @@ export namespace UploadBatch {
2555
2609
  type: UploadBatchType,
2556
2610
  totalentriescount: number,
2557
2611
  totalbillscount: number,
2612
+ clientid: number,
2613
+ cansenddeliverybatchreminder: boolean,
2558
2614
  }
2559
2615
  }
2560
2616
 
@@ -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-ts",
3
- "version": "24.5.1924",
3
+ "version": "24.5.1948",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",