@sniipwebmaster/agent-billing-client-grpcweb-ts 23.12.898 → 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.
|
@@ -555,6 +555,49 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
555
555
|
this.methodDescriptorGetAgentBillCategoryCounts);
|
|
556
556
|
}
|
|
557
557
|
|
|
558
|
+
methodDescriptorGetAgentBillDeliveryDetailsByBillId = new grpcWeb.MethodDescriptor(
|
|
559
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
|
|
560
|
+
grpcWeb.MethodType.UNARY,
|
|
561
|
+
service_pb.GetAgentBillDeliveryDetailsByBillIdRequest,
|
|
562
|
+
service_pb.GetAgentBillDeliveryDetailsByBillIdResponse,
|
|
563
|
+
(request: service_pb.GetAgentBillDeliveryDetailsByBillIdRequest) => {
|
|
564
|
+
return request.serializeBinary();
|
|
565
|
+
},
|
|
566
|
+
service_pb.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinary
|
|
567
|
+
);
|
|
568
|
+
|
|
569
|
+
getAgentBillDeliveryDetailsByBillId(
|
|
570
|
+
request: service_pb.GetAgentBillDeliveryDetailsByBillIdRequest,
|
|
571
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillDeliveryDetailsByBillIdResponse>;
|
|
572
|
+
|
|
573
|
+
getAgentBillDeliveryDetailsByBillId(
|
|
574
|
+
request: service_pb.GetAgentBillDeliveryDetailsByBillIdRequest,
|
|
575
|
+
metadata: grpcWeb.Metadata | null,
|
|
576
|
+
callback: (err: grpcWeb.RpcError,
|
|
577
|
+
response: service_pb.GetAgentBillDeliveryDetailsByBillIdResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillDeliveryDetailsByBillIdResponse>;
|
|
578
|
+
|
|
579
|
+
getAgentBillDeliveryDetailsByBillId(
|
|
580
|
+
request: service_pb.GetAgentBillDeliveryDetailsByBillIdRequest,
|
|
581
|
+
metadata: grpcWeb.Metadata | null,
|
|
582
|
+
callback?: (err: grpcWeb.RpcError,
|
|
583
|
+
response: service_pb.GetAgentBillDeliveryDetailsByBillIdResponse) => void) {
|
|
584
|
+
if (callback !== undefined) {
|
|
585
|
+
return this.client_.rpcCall(
|
|
586
|
+
this.hostname_ +
|
|
587
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
|
|
588
|
+
request,
|
|
589
|
+
metadata || {},
|
|
590
|
+
this.methodDescriptorGetAgentBillDeliveryDetailsByBillId,
|
|
591
|
+
callback);
|
|
592
|
+
}
|
|
593
|
+
return this.client_.unaryCall(
|
|
594
|
+
this.hostname_ +
|
|
595
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillId',
|
|
596
|
+
request,
|
|
597
|
+
metadata || {},
|
|
598
|
+
this.methodDescriptorGetAgentBillDeliveryDetailsByBillId);
|
|
599
|
+
}
|
|
600
|
+
|
|
558
601
|
methodDescriptorGetAgentBillsForClient = new grpcWeb.MethodDescriptor(
|
|
559
602
|
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillsForClient',
|
|
560
603
|
grpcWeb.MethodType.UNARY,
|
|
@@ -731,6 +731,72 @@ export namespace GetAgentBillCategoryCountsResponse {
|
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
733
|
|
|
734
|
+
export class GetAgentBillDeliveryDetailsByBillIdRequest extends jspb.Message {
|
|
735
|
+
getBillid(): number;
|
|
736
|
+
setBillid(value: number): GetAgentBillDeliveryDetailsByBillIdRequest;
|
|
737
|
+
|
|
738
|
+
getUserid(): number;
|
|
739
|
+
setUserid(value: number): GetAgentBillDeliveryDetailsByBillIdRequest;
|
|
740
|
+
|
|
741
|
+
serializeBinary(): Uint8Array;
|
|
742
|
+
toObject(includeInstance?: boolean): GetAgentBillDeliveryDetailsByBillIdRequest.AsObject;
|
|
743
|
+
static toObject(includeInstance: boolean, msg: GetAgentBillDeliveryDetailsByBillIdRequest): GetAgentBillDeliveryDetailsByBillIdRequest.AsObject;
|
|
744
|
+
static serializeBinaryToWriter(message: GetAgentBillDeliveryDetailsByBillIdRequest, writer: jspb.BinaryWriter): void;
|
|
745
|
+
static deserializeBinary(bytes: Uint8Array): GetAgentBillDeliveryDetailsByBillIdRequest;
|
|
746
|
+
static deserializeBinaryFromReader(message: GetAgentBillDeliveryDetailsByBillIdRequest, reader: jspb.BinaryReader): GetAgentBillDeliveryDetailsByBillIdRequest;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
export namespace GetAgentBillDeliveryDetailsByBillIdRequest {
|
|
750
|
+
export type AsObject = {
|
|
751
|
+
billid: number,
|
|
752
|
+
userid: number,
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export class GetAgentBillDeliveryDetailsByBillIdResponse extends jspb.Message {
|
|
757
|
+
getResponsecode(): ResponseCode | undefined;
|
|
758
|
+
setResponsecode(value?: ResponseCode): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
759
|
+
hasResponsecode(): boolean;
|
|
760
|
+
clearResponsecode(): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
761
|
+
|
|
762
|
+
getAgentbillid(): number;
|
|
763
|
+
setAgentbillid(value: number): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
764
|
+
|
|
765
|
+
getAgentuserid(): number;
|
|
766
|
+
setAgentuserid(value: number): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
767
|
+
|
|
768
|
+
getAgentfirstname(): string;
|
|
769
|
+
setAgentfirstname(value: string): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
770
|
+
|
|
771
|
+
getAgentlastname(): string;
|
|
772
|
+
setAgentlastname(value: string): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
773
|
+
|
|
774
|
+
getDeliverybatchname(): string;
|
|
775
|
+
setDeliverybatchname(value: string): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
776
|
+
|
|
777
|
+
getDeliverytimestamp(): string;
|
|
778
|
+
setDeliverytimestamp(value: string): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
779
|
+
|
|
780
|
+
serializeBinary(): Uint8Array;
|
|
781
|
+
toObject(includeInstance?: boolean): GetAgentBillDeliveryDetailsByBillIdResponse.AsObject;
|
|
782
|
+
static toObject(includeInstance: boolean, msg: GetAgentBillDeliveryDetailsByBillIdResponse): GetAgentBillDeliveryDetailsByBillIdResponse.AsObject;
|
|
783
|
+
static serializeBinaryToWriter(message: GetAgentBillDeliveryDetailsByBillIdResponse, writer: jspb.BinaryWriter): void;
|
|
784
|
+
static deserializeBinary(bytes: Uint8Array): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
785
|
+
static deserializeBinaryFromReader(message: GetAgentBillDeliveryDetailsByBillIdResponse, reader: jspb.BinaryReader): GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export namespace GetAgentBillDeliveryDetailsByBillIdResponse {
|
|
789
|
+
export type AsObject = {
|
|
790
|
+
responsecode?: ResponseCode.AsObject,
|
|
791
|
+
agentbillid: number,
|
|
792
|
+
agentuserid: number,
|
|
793
|
+
agentfirstname: string,
|
|
794
|
+
agentlastname: string,
|
|
795
|
+
deliverybatchname: string,
|
|
796
|
+
deliverytimestamp: string,
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
|
|
734
800
|
export class GetAgentBillsForClientRequest extends jspb.Message {
|
|
735
801
|
getClientuserid(): number;
|
|
736
802
|
setClientuserid(value: number): GetAgentBillsForClientRequest;
|
|
@@ -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.
|