@sniipwebmaster/agent-billing-client-grpcweb-ts 24.14.3456 → 24.14.3476

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.
@@ -470,6 +470,49 @@ export class AgentBillingServiceAPIServiceClient {
470
470
  this.methodDescriptorDeleteAgentBillsByAgentBillIds);
471
471
  }
472
472
 
473
+ methodDescriptorDeleteAgentBillsByStatus = new grpcWeb.MethodDescriptor(
474
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByStatus',
475
+ grpcWeb.MethodType.UNARY,
476
+ service_pb.DeleteAgentBillsByStatusRequest,
477
+ service_pb.DeleteAgentBillsResponse,
478
+ (request: service_pb.DeleteAgentBillsByStatusRequest) => {
479
+ return request.serializeBinary();
480
+ },
481
+ service_pb.DeleteAgentBillsResponse.deserializeBinary
482
+ );
483
+
484
+ deleteAgentBillsByStatus(
485
+ request: service_pb.DeleteAgentBillsByStatusRequest,
486
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.DeleteAgentBillsResponse>;
487
+
488
+ deleteAgentBillsByStatus(
489
+ request: service_pb.DeleteAgentBillsByStatusRequest,
490
+ metadata: grpcWeb.Metadata | null,
491
+ callback: (err: grpcWeb.RpcError,
492
+ response: service_pb.DeleteAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.DeleteAgentBillsResponse>;
493
+
494
+ deleteAgentBillsByStatus(
495
+ request: service_pb.DeleteAgentBillsByStatusRequest,
496
+ metadata?: grpcWeb.Metadata | null,
497
+ callback?: (err: grpcWeb.RpcError,
498
+ response: service_pb.DeleteAgentBillsResponse) => void) {
499
+ if (callback !== undefined) {
500
+ return this.client_.rpcCall(
501
+ this.hostname_ +
502
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByStatus',
503
+ request,
504
+ metadata || {},
505
+ this.methodDescriptorDeleteAgentBillsByStatus,
506
+ callback);
507
+ }
508
+ return this.client_.unaryCall(
509
+ this.hostname_ +
510
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByStatus',
511
+ request,
512
+ metadata || {},
513
+ this.methodDescriptorDeleteAgentBillsByStatus);
514
+ }
515
+
473
516
  methodDescriptorDeleteAgentBillsByUploadBatchId = new grpcWeb.MethodDescriptor(
474
517
  '/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByUploadBatchId',
475
518
  grpcWeb.MethodType.UNARY,
@@ -1227,6 +1227,28 @@ export namespace DeleteAgentBillsByAgentBillIdsRequest {
1227
1227
  }
1228
1228
  }
1229
1229
 
1230
+ export class DeleteAgentBillsByStatusRequest extends jspb.Message {
1231
+ getStatus(): AgentBillStatus;
1232
+ setStatus(value: AgentBillStatus): DeleteAgentBillsByStatusRequest;
1233
+
1234
+ getClientid(): number;
1235
+ setClientid(value: number): DeleteAgentBillsByStatusRequest;
1236
+
1237
+ serializeBinary(): Uint8Array;
1238
+ toObject(includeInstance?: boolean): DeleteAgentBillsByStatusRequest.AsObject;
1239
+ static toObject(includeInstance: boolean, msg: DeleteAgentBillsByStatusRequest): DeleteAgentBillsByStatusRequest.AsObject;
1240
+ static serializeBinaryToWriter(message: DeleteAgentBillsByStatusRequest, writer: jspb.BinaryWriter): void;
1241
+ static deserializeBinary(bytes: Uint8Array): DeleteAgentBillsByStatusRequest;
1242
+ static deserializeBinaryFromReader(message: DeleteAgentBillsByStatusRequest, reader: jspb.BinaryReader): DeleteAgentBillsByStatusRequest;
1243
+ }
1244
+
1245
+ export namespace DeleteAgentBillsByStatusRequest {
1246
+ export type AsObject = {
1247
+ status: AgentBillStatus,
1248
+ clientid: number,
1249
+ }
1250
+ }
1251
+
1230
1252
  export class DeleteAgentBillsByUploadBatchIdRequest extends jspb.Message {
1231
1253
  getUploadbatchid(): number;
1232
1254
  setUploadbatchid(value: number): DeleteAgentBillsByUploadBatchIdRequest;
@@ -54,6 +54,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeclineAgentInvitationRequest',
54
54
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillResult', null, global);
55
55
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest', null, global);
56
56
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsByPartialImportIdsRequest', null, global);
57
+ goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest', null, global);
57
58
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsByUploadBatchIdRequest', null, global);
58
59
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillsResponse', null, global);
59
60
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteAttachmentsRequest', null, global);
@@ -819,6 +820,27 @@ if (goog.DEBUG && !COMPILED) {
819
820
  */
820
821
  proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.displayName = 'proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest';
821
822
  }
823
+ /**
824
+ * Generated by JsPbCodeGenerator.
825
+ * @param {Array=} opt_data Optional initial data array, typically from a
826
+ * server response, or constructed directly in Javascript. The array is used
827
+ * in place and becomes part of the constructed object. It is not cloned.
828
+ * If no data is provided, the constructed object will be empty, but still
829
+ * valid.
830
+ * @extends {jspb.Message}
831
+ * @constructor
832
+ */
833
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest = function(opt_data) {
834
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
835
+ };
836
+ goog.inherits(proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest, jspb.Message);
837
+ if (goog.DEBUG && !COMPILED) {
838
+ /**
839
+ * @public
840
+ * @override
841
+ */
842
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.displayName = 'proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest';
843
+ }
822
844
  /**
823
845
  * Generated by JsPbCodeGenerator.
824
846
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11464,6 +11486,166 @@ proto.agentbillingserviceapi.DeleteAgentBillsByAgentBillIdsRequest.prototype.cle
11464
11486
 
11465
11487
 
11466
11488
 
11489
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11490
+ /**
11491
+ * Creates an object representation of this proto.
11492
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11493
+ * Optional fields that are not set will be set to undefined.
11494
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11495
+ * For the list of reserved names please see:
11496
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11497
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11498
+ * JSPB instance for transitional soy proto support:
11499
+ * http://goto/soy-param-migration
11500
+ * @return {!Object}
11501
+ */
11502
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.prototype.toObject = function(opt_includeInstance) {
11503
+ return proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.toObject(opt_includeInstance, this);
11504
+ };
11505
+
11506
+
11507
+ /**
11508
+ * Static version of the {@see toObject} method.
11509
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11510
+ * the JSPB instance for transitional soy proto support:
11511
+ * http://goto/soy-param-migration
11512
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest} msg The msg instance to transform.
11513
+ * @return {!Object}
11514
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11515
+ */
11516
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.toObject = function(includeInstance, msg) {
11517
+ var f, obj = {
11518
+ status: jspb.Message.getFieldWithDefault(msg, 1, 0),
11519
+ clientid: jspb.Message.getFieldWithDefault(msg, 2, 0)
11520
+ };
11521
+
11522
+ if (includeInstance) {
11523
+ obj.$jspbMessageInstance = msg;
11524
+ }
11525
+ return obj;
11526
+ };
11527
+ }
11528
+
11529
+
11530
+ /**
11531
+ * Deserializes binary data (in protobuf wire format).
11532
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11533
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest}
11534
+ */
11535
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.deserializeBinary = function(bytes) {
11536
+ var reader = new jspb.BinaryReader(bytes);
11537
+ var msg = new proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest;
11538
+ return proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.deserializeBinaryFromReader(msg, reader);
11539
+ };
11540
+
11541
+
11542
+ /**
11543
+ * Deserializes binary data (in protobuf wire format) from the
11544
+ * given reader into the given message object.
11545
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest} msg The message object to deserialize into.
11546
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11547
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest}
11548
+ */
11549
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
11550
+ while (reader.nextField()) {
11551
+ if (reader.isEndGroup()) {
11552
+ break;
11553
+ }
11554
+ var field = reader.getFieldNumber();
11555
+ switch (field) {
11556
+ case 1:
11557
+ var value = /** @type {!proto.agentbillingserviceapi.AgentBillStatus} */ (reader.readEnum());
11558
+ msg.setStatus(value);
11559
+ break;
11560
+ case 2:
11561
+ var value = /** @type {number} */ (reader.readInt64());
11562
+ msg.setClientid(value);
11563
+ break;
11564
+ default:
11565
+ reader.skipField();
11566
+ break;
11567
+ }
11568
+ }
11569
+ return msg;
11570
+ };
11571
+
11572
+
11573
+ /**
11574
+ * Serializes the message to binary data (in protobuf wire format).
11575
+ * @return {!Uint8Array}
11576
+ */
11577
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.prototype.serializeBinary = function() {
11578
+ var writer = new jspb.BinaryWriter();
11579
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.serializeBinaryToWriter(this, writer);
11580
+ return writer.getResultBuffer();
11581
+ };
11582
+
11583
+
11584
+ /**
11585
+ * Serializes the given message to binary data (in protobuf wire
11586
+ * format), writing to the given BinaryWriter.
11587
+ * @param {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest} message
11588
+ * @param {!jspb.BinaryWriter} writer
11589
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11590
+ */
11591
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.serializeBinaryToWriter = function(message, writer) {
11592
+ var f = undefined;
11593
+ f = message.getStatus();
11594
+ if (f !== 0.0) {
11595
+ writer.writeEnum(
11596
+ 1,
11597
+ f
11598
+ );
11599
+ }
11600
+ f = message.getClientid();
11601
+ if (f !== 0) {
11602
+ writer.writeInt64(
11603
+ 2,
11604
+ f
11605
+ );
11606
+ }
11607
+ };
11608
+
11609
+
11610
+ /**
11611
+ * optional AgentBillStatus status = 1;
11612
+ * @return {!proto.agentbillingserviceapi.AgentBillStatus}
11613
+ */
11614
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.prototype.getStatus = function() {
11615
+ return /** @type {!proto.agentbillingserviceapi.AgentBillStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
11616
+ };
11617
+
11618
+
11619
+ /**
11620
+ * @param {!proto.agentbillingserviceapi.AgentBillStatus} value
11621
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest} returns this
11622
+ */
11623
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.prototype.setStatus = function(value) {
11624
+ return jspb.Message.setProto3EnumField(this, 1, value);
11625
+ };
11626
+
11627
+
11628
+ /**
11629
+ * optional int64 clientId = 2;
11630
+ * @return {number}
11631
+ */
11632
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.prototype.getClientid = function() {
11633
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11634
+ };
11635
+
11636
+
11637
+ /**
11638
+ * @param {number} value
11639
+ * @return {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest} returns this
11640
+ */
11641
+ proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest.prototype.setClientid = function(value) {
11642
+ return jspb.Message.setProto3IntField(this, 2, value);
11643
+ };
11644
+
11645
+
11646
+
11647
+
11648
+
11467
11649
  if (jspb.Message.GENERATE_TO_OBJECT) {
11468
11650
  /**
11469
11651
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb-ts",
3
- "version": "24.14.3456",
3
+ "version": "24.14.3476",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",