@sniipwebmaster/agent-billing-client-grpcweb 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.
|
@@ -688,6 +688,67 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
|
|
|
688
688
|
};
|
|
689
689
|
|
|
690
690
|
|
|
691
|
+
/**
|
|
692
|
+
* @const
|
|
693
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
694
|
+
* !proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest,
|
|
695
|
+
* !proto.agentbillingserviceapi.DeleteAgentBillsResponse>}
|
|
696
|
+
*/
|
|
697
|
+
const methodDescriptor_AgentBillingServiceAPIService_DeleteAgentBillsByStatus = new grpc.web.MethodDescriptor(
|
|
698
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByStatus',
|
|
699
|
+
grpc.web.MethodType.UNARY,
|
|
700
|
+
proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest,
|
|
701
|
+
proto.agentbillingserviceapi.DeleteAgentBillsResponse,
|
|
702
|
+
/**
|
|
703
|
+
* @param {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest} request
|
|
704
|
+
* @return {!Uint8Array}
|
|
705
|
+
*/
|
|
706
|
+
function(request) {
|
|
707
|
+
return request.serializeBinary();
|
|
708
|
+
},
|
|
709
|
+
proto.agentbillingserviceapi.DeleteAgentBillsResponse.deserializeBinary
|
|
710
|
+
);
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* @param {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest} request The
|
|
715
|
+
* request proto
|
|
716
|
+
* @param {?Object<string, string>} metadata User defined
|
|
717
|
+
* call metadata
|
|
718
|
+
* @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.DeleteAgentBillsResponse)}
|
|
719
|
+
* callback The callback function(error, response)
|
|
720
|
+
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.DeleteAgentBillsResponse>|undefined}
|
|
721
|
+
* The XHR Node Readable Stream
|
|
722
|
+
*/
|
|
723
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.deleteAgentBillsByStatus =
|
|
724
|
+
function(request, metadata, callback) {
|
|
725
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
726
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByStatus',
|
|
727
|
+
request,
|
|
728
|
+
metadata || {},
|
|
729
|
+
methodDescriptor_AgentBillingServiceAPIService_DeleteAgentBillsByStatus,
|
|
730
|
+
callback);
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* @param {!proto.agentbillingserviceapi.DeleteAgentBillsByStatusRequest} request The
|
|
736
|
+
* request proto
|
|
737
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
738
|
+
* call metadata
|
|
739
|
+
* @return {!Promise<!proto.agentbillingserviceapi.DeleteAgentBillsResponse>}
|
|
740
|
+
* Promise that resolves to the response
|
|
741
|
+
*/
|
|
742
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.deleteAgentBillsByStatus =
|
|
743
|
+
function(request, metadata) {
|
|
744
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
745
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DeleteAgentBillsByStatus',
|
|
746
|
+
request,
|
|
747
|
+
metadata || {},
|
|
748
|
+
methodDescriptor_AgentBillingServiceAPIService_DeleteAgentBillsByStatus);
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
|
|
691
752
|
/**
|
|
692
753
|
* @const
|
|
693
754
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -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.
|