@sniipwebmaster/agent-billing-client-grpcweb 23.12.909 → 23.13.926
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.
|
@@ -1032,6 +1032,86 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
|
|
|
1032
1032
|
};
|
|
1033
1033
|
|
|
1034
1034
|
|
|
1035
|
+
/**
|
|
1036
|
+
* @const
|
|
1037
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1038
|
+
* !proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest,
|
|
1039
|
+
* !proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse>}
|
|
1040
|
+
*/
|
|
1041
|
+
const methodDescriptor_AgentBillingServiceAPIService_GetAgentBillDeliveryDetailsByBillId = new grpc.web.MethodDescriptor(
|
|
1042
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
|
|
1043
|
+
grpc.web.MethodType.UNARY,
|
|
1044
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest,
|
|
1045
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse,
|
|
1046
|
+
/**
|
|
1047
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} request
|
|
1048
|
+
* @return {!Uint8Array}
|
|
1049
|
+
*/
|
|
1050
|
+
function(request) {
|
|
1051
|
+
return request.serializeBinary();
|
|
1052
|
+
},
|
|
1053
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinary
|
|
1054
|
+
);
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* @const
|
|
1059
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1060
|
+
* !proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest,
|
|
1061
|
+
* !proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse>}
|
|
1062
|
+
*/
|
|
1063
|
+
const methodInfo_AgentBillingServiceAPIService_GetAgentBillDeliveryDetailsByBillId = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1064
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse,
|
|
1065
|
+
/**
|
|
1066
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} request
|
|
1067
|
+
* @return {!Uint8Array}
|
|
1068
|
+
*/
|
|
1069
|
+
function(request) {
|
|
1070
|
+
return request.serializeBinary();
|
|
1071
|
+
},
|
|
1072
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinary
|
|
1073
|
+
);
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} request The
|
|
1078
|
+
* request proto
|
|
1079
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1080
|
+
* call metadata
|
|
1081
|
+
* @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse)}
|
|
1082
|
+
* callback The callback function(error, response)
|
|
1083
|
+
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse>|undefined}
|
|
1084
|
+
* The XHR Node Readable Stream
|
|
1085
|
+
*/
|
|
1086
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getAgentBillDeliveryDetailsByBillId =
|
|
1087
|
+
function(request, metadata, callback) {
|
|
1088
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1089
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
|
|
1090
|
+
request,
|
|
1091
|
+
metadata || {},
|
|
1092
|
+
methodDescriptor_AgentBillingServiceAPIService_GetAgentBillDeliveryDetailsByBillId,
|
|
1093
|
+
callback);
|
|
1094
|
+
};
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} request The
|
|
1099
|
+
* request proto
|
|
1100
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1101
|
+
* call metadata
|
|
1102
|
+
* @return {!Promise<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse>}
|
|
1103
|
+
* Promise that resolves to the response
|
|
1104
|
+
*/
|
|
1105
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getAgentBillDeliveryDetailsByBillId =
|
|
1106
|
+
function(request, metadata) {
|
|
1107
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1108
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
|
|
1109
|
+
request,
|
|
1110
|
+
metadata || {},
|
|
1111
|
+
methodDescriptor_AgentBillingServiceAPIService_GetAgentBillDeliveryDetailsByBillId);
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
|
|
1035
1115
|
/**
|
|
1036
1116
|
* @const
|
|
1037
1117
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -38,6 +38,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, g
|
|
|
38
38
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
|
|
39
39
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
|
|
40
40
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse', null, global);
|
|
41
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest', null, global);
|
|
42
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse', null, global);
|
|
41
43
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsForClientRequest', null, global);
|
|
42
44
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsResponse', null, global);
|
|
43
45
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentRequest', null, global);
|
|
@@ -570,6 +572,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
570
572
|
*/
|
|
571
573
|
proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse';
|
|
572
574
|
}
|
|
575
|
+
/**
|
|
576
|
+
* Generated by JsPbCodeGenerator.
|
|
577
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
578
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
579
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
580
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
581
|
+
* valid.
|
|
582
|
+
* @extends {jspb.Message}
|
|
583
|
+
* @constructor
|
|
584
|
+
*/
|
|
585
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest = function(opt_data) {
|
|
586
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
587
|
+
};
|
|
588
|
+
goog.inherits(proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest, jspb.Message);
|
|
589
|
+
if (goog.DEBUG && !COMPILED) {
|
|
590
|
+
/**
|
|
591
|
+
* @public
|
|
592
|
+
* @override
|
|
593
|
+
*/
|
|
594
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.displayName = 'proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest';
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* Generated by JsPbCodeGenerator.
|
|
598
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
599
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
600
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
601
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
602
|
+
* valid.
|
|
603
|
+
* @extends {jspb.Message}
|
|
604
|
+
* @constructor
|
|
605
|
+
*/
|
|
606
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse = function(opt_data) {
|
|
607
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
608
|
+
};
|
|
609
|
+
goog.inherits(proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse, jspb.Message);
|
|
610
|
+
if (goog.DEBUG && !COMPILED) {
|
|
611
|
+
/**
|
|
612
|
+
* @public
|
|
613
|
+
* @override
|
|
614
|
+
*/
|
|
615
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse';
|
|
616
|
+
}
|
|
573
617
|
/**
|
|
574
618
|
* Generated by JsPbCodeGenerator.
|
|
575
619
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6594,6 +6638,497 @@ proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse.prototype.setArc
|
|
|
6594
6638
|
|
|
6595
6639
|
|
|
6596
6640
|
|
|
6641
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6642
|
+
/**
|
|
6643
|
+
* Creates an object representation of this proto.
|
|
6644
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6645
|
+
* Optional fields that are not set will be set to undefined.
|
|
6646
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6647
|
+
* For the list of reserved names please see:
|
|
6648
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6649
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6650
|
+
* JSPB instance for transitional soy proto support:
|
|
6651
|
+
* http://goto/soy-param-migration
|
|
6652
|
+
* @return {!Object}
|
|
6653
|
+
*/
|
|
6654
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6655
|
+
return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.toObject(opt_includeInstance, this);
|
|
6656
|
+
};
|
|
6657
|
+
|
|
6658
|
+
|
|
6659
|
+
/**
|
|
6660
|
+
* Static version of the {@see toObject} method.
|
|
6661
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6662
|
+
* the JSPB instance for transitional soy proto support:
|
|
6663
|
+
* http://goto/soy-param-migration
|
|
6664
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} msg The msg instance to transform.
|
|
6665
|
+
* @return {!Object}
|
|
6666
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6667
|
+
*/
|
|
6668
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.toObject = function(includeInstance, msg) {
|
|
6669
|
+
var f, obj = {
|
|
6670
|
+
billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6671
|
+
userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
6672
|
+
};
|
|
6673
|
+
|
|
6674
|
+
if (includeInstance) {
|
|
6675
|
+
obj.$jspbMessageInstance = msg;
|
|
6676
|
+
}
|
|
6677
|
+
return obj;
|
|
6678
|
+
};
|
|
6679
|
+
}
|
|
6680
|
+
|
|
6681
|
+
|
|
6682
|
+
/**
|
|
6683
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6684
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6685
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest}
|
|
6686
|
+
*/
|
|
6687
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.deserializeBinary = function(bytes) {
|
|
6688
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6689
|
+
var msg = new proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest;
|
|
6690
|
+
return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
6691
|
+
};
|
|
6692
|
+
|
|
6693
|
+
|
|
6694
|
+
/**
|
|
6695
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6696
|
+
* given reader into the given message object.
|
|
6697
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} msg The message object to deserialize into.
|
|
6698
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6699
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest}
|
|
6700
|
+
*/
|
|
6701
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6702
|
+
while (reader.nextField()) {
|
|
6703
|
+
if (reader.isEndGroup()) {
|
|
6704
|
+
break;
|
|
6705
|
+
}
|
|
6706
|
+
var field = reader.getFieldNumber();
|
|
6707
|
+
switch (field) {
|
|
6708
|
+
case 1:
|
|
6709
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6710
|
+
msg.setBillid(value);
|
|
6711
|
+
break;
|
|
6712
|
+
case 2:
|
|
6713
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6714
|
+
msg.setUserid(value);
|
|
6715
|
+
break;
|
|
6716
|
+
default:
|
|
6717
|
+
reader.skipField();
|
|
6718
|
+
break;
|
|
6719
|
+
}
|
|
6720
|
+
}
|
|
6721
|
+
return msg;
|
|
6722
|
+
};
|
|
6723
|
+
|
|
6724
|
+
|
|
6725
|
+
/**
|
|
6726
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6727
|
+
* @return {!Uint8Array}
|
|
6728
|
+
*/
|
|
6729
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.serializeBinary = function() {
|
|
6730
|
+
var writer = new jspb.BinaryWriter();
|
|
6731
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.serializeBinaryToWriter(this, writer);
|
|
6732
|
+
return writer.getResultBuffer();
|
|
6733
|
+
};
|
|
6734
|
+
|
|
6735
|
+
|
|
6736
|
+
/**
|
|
6737
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6738
|
+
* format), writing to the given BinaryWriter.
|
|
6739
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} message
|
|
6740
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6741
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6742
|
+
*/
|
|
6743
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6744
|
+
var f = undefined;
|
|
6745
|
+
f = message.getBillid();
|
|
6746
|
+
if (f !== 0) {
|
|
6747
|
+
writer.writeInt64(
|
|
6748
|
+
1,
|
|
6749
|
+
f
|
|
6750
|
+
);
|
|
6751
|
+
}
|
|
6752
|
+
f = message.getUserid();
|
|
6753
|
+
if (f !== 0) {
|
|
6754
|
+
writer.writeInt64(
|
|
6755
|
+
2,
|
|
6756
|
+
f
|
|
6757
|
+
);
|
|
6758
|
+
}
|
|
6759
|
+
};
|
|
6760
|
+
|
|
6761
|
+
|
|
6762
|
+
/**
|
|
6763
|
+
* optional int64 billId = 1;
|
|
6764
|
+
* @return {number}
|
|
6765
|
+
*/
|
|
6766
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.getBillid = function() {
|
|
6767
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6768
|
+
};
|
|
6769
|
+
|
|
6770
|
+
|
|
6771
|
+
/**
|
|
6772
|
+
* @param {number} value
|
|
6773
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} returns this
|
|
6774
|
+
*/
|
|
6775
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.setBillid = function(value) {
|
|
6776
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6777
|
+
};
|
|
6778
|
+
|
|
6779
|
+
|
|
6780
|
+
/**
|
|
6781
|
+
* optional int64 userId = 2;
|
|
6782
|
+
* @return {number}
|
|
6783
|
+
*/
|
|
6784
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.getUserid = function() {
|
|
6785
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6786
|
+
};
|
|
6787
|
+
|
|
6788
|
+
|
|
6789
|
+
/**
|
|
6790
|
+
* @param {number} value
|
|
6791
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest} returns this
|
|
6792
|
+
*/
|
|
6793
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototype.setUserid = function(value) {
|
|
6794
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
6795
|
+
};
|
|
6796
|
+
|
|
6797
|
+
|
|
6798
|
+
|
|
6799
|
+
|
|
6800
|
+
|
|
6801
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6802
|
+
/**
|
|
6803
|
+
* Creates an object representation of this proto.
|
|
6804
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6805
|
+
* Optional fields that are not set will be set to undefined.
|
|
6806
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6807
|
+
* For the list of reserved names please see:
|
|
6808
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6809
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6810
|
+
* JSPB instance for transitional soy proto support:
|
|
6811
|
+
* http://goto/soy-param-migration
|
|
6812
|
+
* @return {!Object}
|
|
6813
|
+
*/
|
|
6814
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6815
|
+
return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.toObject(opt_includeInstance, this);
|
|
6816
|
+
};
|
|
6817
|
+
|
|
6818
|
+
|
|
6819
|
+
/**
|
|
6820
|
+
* Static version of the {@see toObject} method.
|
|
6821
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6822
|
+
* the JSPB instance for transitional soy proto support:
|
|
6823
|
+
* http://goto/soy-param-migration
|
|
6824
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} msg The msg instance to transform.
|
|
6825
|
+
* @return {!Object}
|
|
6826
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6827
|
+
*/
|
|
6828
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.toObject = function(includeInstance, msg) {
|
|
6829
|
+
var f, obj = {
|
|
6830
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
6831
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6832
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6833
|
+
agentfirstname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6834
|
+
agentlastname: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6835
|
+
deliverybatchname: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6836
|
+
deliverytimestamp: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
6837
|
+
};
|
|
6838
|
+
|
|
6839
|
+
if (includeInstance) {
|
|
6840
|
+
obj.$jspbMessageInstance = msg;
|
|
6841
|
+
}
|
|
6842
|
+
return obj;
|
|
6843
|
+
};
|
|
6844
|
+
}
|
|
6845
|
+
|
|
6846
|
+
|
|
6847
|
+
/**
|
|
6848
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6849
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6850
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse}
|
|
6851
|
+
*/
|
|
6852
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinary = function(bytes) {
|
|
6853
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6854
|
+
var msg = new proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
6855
|
+
return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
6856
|
+
};
|
|
6857
|
+
|
|
6858
|
+
|
|
6859
|
+
/**
|
|
6860
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6861
|
+
* given reader into the given message object.
|
|
6862
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} msg The message object to deserialize into.
|
|
6863
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6864
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse}
|
|
6865
|
+
*/
|
|
6866
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6867
|
+
while (reader.nextField()) {
|
|
6868
|
+
if (reader.isEndGroup()) {
|
|
6869
|
+
break;
|
|
6870
|
+
}
|
|
6871
|
+
var field = reader.getFieldNumber();
|
|
6872
|
+
switch (field) {
|
|
6873
|
+
case 1:
|
|
6874
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
6875
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
6876
|
+
msg.setResponsecode(value);
|
|
6877
|
+
break;
|
|
6878
|
+
case 2:
|
|
6879
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6880
|
+
msg.setAgentbillid(value);
|
|
6881
|
+
break;
|
|
6882
|
+
case 3:
|
|
6883
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6884
|
+
msg.setAgentuserid(value);
|
|
6885
|
+
break;
|
|
6886
|
+
case 4:
|
|
6887
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6888
|
+
msg.setAgentfirstname(value);
|
|
6889
|
+
break;
|
|
6890
|
+
case 5:
|
|
6891
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6892
|
+
msg.setAgentlastname(value);
|
|
6893
|
+
break;
|
|
6894
|
+
case 6:
|
|
6895
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6896
|
+
msg.setDeliverybatchname(value);
|
|
6897
|
+
break;
|
|
6898
|
+
case 7:
|
|
6899
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6900
|
+
msg.setDeliverytimestamp(value);
|
|
6901
|
+
break;
|
|
6902
|
+
default:
|
|
6903
|
+
reader.skipField();
|
|
6904
|
+
break;
|
|
6905
|
+
}
|
|
6906
|
+
}
|
|
6907
|
+
return msg;
|
|
6908
|
+
};
|
|
6909
|
+
|
|
6910
|
+
|
|
6911
|
+
/**
|
|
6912
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6913
|
+
* @return {!Uint8Array}
|
|
6914
|
+
*/
|
|
6915
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.serializeBinary = function() {
|
|
6916
|
+
var writer = new jspb.BinaryWriter();
|
|
6917
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.serializeBinaryToWriter(this, writer);
|
|
6918
|
+
return writer.getResultBuffer();
|
|
6919
|
+
};
|
|
6920
|
+
|
|
6921
|
+
|
|
6922
|
+
/**
|
|
6923
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6924
|
+
* format), writing to the given BinaryWriter.
|
|
6925
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} message
|
|
6926
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6927
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6928
|
+
*/
|
|
6929
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6930
|
+
var f = undefined;
|
|
6931
|
+
f = message.getResponsecode();
|
|
6932
|
+
if (f != null) {
|
|
6933
|
+
writer.writeMessage(
|
|
6934
|
+
1,
|
|
6935
|
+
f,
|
|
6936
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
6937
|
+
);
|
|
6938
|
+
}
|
|
6939
|
+
f = message.getAgentbillid();
|
|
6940
|
+
if (f !== 0) {
|
|
6941
|
+
writer.writeInt64(
|
|
6942
|
+
2,
|
|
6943
|
+
f
|
|
6944
|
+
);
|
|
6945
|
+
}
|
|
6946
|
+
f = message.getAgentuserid();
|
|
6947
|
+
if (f !== 0) {
|
|
6948
|
+
writer.writeInt64(
|
|
6949
|
+
3,
|
|
6950
|
+
f
|
|
6951
|
+
);
|
|
6952
|
+
}
|
|
6953
|
+
f = message.getAgentfirstname();
|
|
6954
|
+
if (f.length > 0) {
|
|
6955
|
+
writer.writeString(
|
|
6956
|
+
4,
|
|
6957
|
+
f
|
|
6958
|
+
);
|
|
6959
|
+
}
|
|
6960
|
+
f = message.getAgentlastname();
|
|
6961
|
+
if (f.length > 0) {
|
|
6962
|
+
writer.writeString(
|
|
6963
|
+
5,
|
|
6964
|
+
f
|
|
6965
|
+
);
|
|
6966
|
+
}
|
|
6967
|
+
f = message.getDeliverybatchname();
|
|
6968
|
+
if (f.length > 0) {
|
|
6969
|
+
writer.writeString(
|
|
6970
|
+
6,
|
|
6971
|
+
f
|
|
6972
|
+
);
|
|
6973
|
+
}
|
|
6974
|
+
f = message.getDeliverytimestamp();
|
|
6975
|
+
if (f.length > 0) {
|
|
6976
|
+
writer.writeString(
|
|
6977
|
+
7,
|
|
6978
|
+
f
|
|
6979
|
+
);
|
|
6980
|
+
}
|
|
6981
|
+
};
|
|
6982
|
+
|
|
6983
|
+
|
|
6984
|
+
/**
|
|
6985
|
+
* optional ResponseCode responseCode = 1;
|
|
6986
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
6987
|
+
*/
|
|
6988
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getResponsecode = function() {
|
|
6989
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
6990
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
6991
|
+
};
|
|
6992
|
+
|
|
6993
|
+
|
|
6994
|
+
/**
|
|
6995
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
6996
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
|
|
6997
|
+
*/
|
|
6998
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setResponsecode = function(value) {
|
|
6999
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
7000
|
+
};
|
|
7001
|
+
|
|
7002
|
+
|
|
7003
|
+
/**
|
|
7004
|
+
* Clears the message field making it undefined.
|
|
7005
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
|
|
7006
|
+
*/
|
|
7007
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.clearResponsecode = function() {
|
|
7008
|
+
return this.setResponsecode(undefined);
|
|
7009
|
+
};
|
|
7010
|
+
|
|
7011
|
+
|
|
7012
|
+
/**
|
|
7013
|
+
* Returns whether this field is set.
|
|
7014
|
+
* @return {boolean}
|
|
7015
|
+
*/
|
|
7016
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.hasResponsecode = function() {
|
|
7017
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7018
|
+
};
|
|
7019
|
+
|
|
7020
|
+
|
|
7021
|
+
/**
|
|
7022
|
+
* optional int64 agentBillId = 2;
|
|
7023
|
+
* @return {number}
|
|
7024
|
+
*/
|
|
7025
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getAgentbillid = function() {
|
|
7026
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
7027
|
+
};
|
|
7028
|
+
|
|
7029
|
+
|
|
7030
|
+
/**
|
|
7031
|
+
* @param {number} value
|
|
7032
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
|
|
7033
|
+
*/
|
|
7034
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setAgentbillid = function(value) {
|
|
7035
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
7036
|
+
};
|
|
7037
|
+
|
|
7038
|
+
|
|
7039
|
+
/**
|
|
7040
|
+
* optional int64 agentUserId = 3;
|
|
7041
|
+
* @return {number}
|
|
7042
|
+
*/
|
|
7043
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getAgentuserid = function() {
|
|
7044
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
7045
|
+
};
|
|
7046
|
+
|
|
7047
|
+
|
|
7048
|
+
/**
|
|
7049
|
+
* @param {number} value
|
|
7050
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
|
|
7051
|
+
*/
|
|
7052
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setAgentuserid = function(value) {
|
|
7053
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
7054
|
+
};
|
|
7055
|
+
|
|
7056
|
+
|
|
7057
|
+
/**
|
|
7058
|
+
* optional string agentFirstName = 4;
|
|
7059
|
+
* @return {string}
|
|
7060
|
+
*/
|
|
7061
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getAgentfirstname = function() {
|
|
7062
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7063
|
+
};
|
|
7064
|
+
|
|
7065
|
+
|
|
7066
|
+
/**
|
|
7067
|
+
* @param {string} value
|
|
7068
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
|
|
7069
|
+
*/
|
|
7070
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setAgentfirstname = function(value) {
|
|
7071
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7072
|
+
};
|
|
7073
|
+
|
|
7074
|
+
|
|
7075
|
+
/**
|
|
7076
|
+
* optional string agentLastName = 5;
|
|
7077
|
+
* @return {string}
|
|
7078
|
+
*/
|
|
7079
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getAgentlastname = function() {
|
|
7080
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7081
|
+
};
|
|
7082
|
+
|
|
7083
|
+
|
|
7084
|
+
/**
|
|
7085
|
+
* @param {string} value
|
|
7086
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
|
|
7087
|
+
*/
|
|
7088
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setAgentlastname = function(value) {
|
|
7089
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
7090
|
+
};
|
|
7091
|
+
|
|
7092
|
+
|
|
7093
|
+
/**
|
|
7094
|
+
* optional string deliveryBatchName = 6;
|
|
7095
|
+
* @return {string}
|
|
7096
|
+
*/
|
|
7097
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getDeliverybatchname = function() {
|
|
7098
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
7099
|
+
};
|
|
7100
|
+
|
|
7101
|
+
|
|
7102
|
+
/**
|
|
7103
|
+
* @param {string} value
|
|
7104
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
|
|
7105
|
+
*/
|
|
7106
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setDeliverybatchname = function(value) {
|
|
7107
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
7108
|
+
};
|
|
7109
|
+
|
|
7110
|
+
|
|
7111
|
+
/**
|
|
7112
|
+
* optional string deliveryTimestamp = 7;
|
|
7113
|
+
* @return {string}
|
|
7114
|
+
*/
|
|
7115
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.getDeliverytimestamp = function() {
|
|
7116
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7117
|
+
};
|
|
7118
|
+
|
|
7119
|
+
|
|
7120
|
+
/**
|
|
7121
|
+
* @param {string} value
|
|
7122
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse} returns this
|
|
7123
|
+
*/
|
|
7124
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototype.setDeliverytimestamp = function(value) {
|
|
7125
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7126
|
+
};
|
|
7127
|
+
|
|
7128
|
+
|
|
7129
|
+
|
|
7130
|
+
|
|
7131
|
+
|
|
6597
7132
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6598
7133
|
/**
|
|
6599
7134
|
* Creates an object representation of this proto.
|