@sniipwebmaster/agent-billing-client-grpcweb-ts 26.1.4978 → 26.2.5006
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.
|
@@ -2643,5 +2643,48 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
2643
2643
|
this.methodDescriptorGetUserRelationships);
|
|
2644
2644
|
}
|
|
2645
2645
|
|
|
2646
|
+
methodDescriptorGetClientDeliveryBatchTypes = new grpcWeb.MethodDescriptor(
|
|
2647
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetClientDeliveryBatchTypes',
|
|
2648
|
+
grpcWeb.MethodType.UNARY,
|
|
2649
|
+
service_pb.GetClientDeliveryBatchTypesRequest,
|
|
2650
|
+
service_pb.GetClientDeliveryBatchTypesResponse,
|
|
2651
|
+
(request: service_pb.GetClientDeliveryBatchTypesRequest) => {
|
|
2652
|
+
return request.serializeBinary();
|
|
2653
|
+
},
|
|
2654
|
+
service_pb.GetClientDeliveryBatchTypesResponse.deserializeBinary
|
|
2655
|
+
);
|
|
2656
|
+
|
|
2657
|
+
getClientDeliveryBatchTypes(
|
|
2658
|
+
request: service_pb.GetClientDeliveryBatchTypesRequest,
|
|
2659
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.GetClientDeliveryBatchTypesResponse>;
|
|
2660
|
+
|
|
2661
|
+
getClientDeliveryBatchTypes(
|
|
2662
|
+
request: service_pb.GetClientDeliveryBatchTypesRequest,
|
|
2663
|
+
metadata: grpcWeb.Metadata | null,
|
|
2664
|
+
callback: (err: grpcWeb.RpcError,
|
|
2665
|
+
response: service_pb.GetClientDeliveryBatchTypesResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetClientDeliveryBatchTypesResponse>;
|
|
2666
|
+
|
|
2667
|
+
getClientDeliveryBatchTypes(
|
|
2668
|
+
request: service_pb.GetClientDeliveryBatchTypesRequest,
|
|
2669
|
+
metadata?: grpcWeb.Metadata | null,
|
|
2670
|
+
callback?: (err: grpcWeb.RpcError,
|
|
2671
|
+
response: service_pb.GetClientDeliveryBatchTypesResponse) => void) {
|
|
2672
|
+
if (callback !== undefined) {
|
|
2673
|
+
return this.client_.rpcCall(
|
|
2674
|
+
this.hostname_ +
|
|
2675
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetClientDeliveryBatchTypes',
|
|
2676
|
+
request,
|
|
2677
|
+
metadata || {},
|
|
2678
|
+
this.methodDescriptorGetClientDeliveryBatchTypes,
|
|
2679
|
+
callback);
|
|
2680
|
+
}
|
|
2681
|
+
return this.client_.unaryCall(
|
|
2682
|
+
this.hostname_ +
|
|
2683
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetClientDeliveryBatchTypes',
|
|
2684
|
+
request,
|
|
2685
|
+
metadata || {},
|
|
2686
|
+
this.methodDescriptorGetClientDeliveryBatchTypes);
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2646
2689
|
}
|
|
2647
2690
|
|
|
@@ -4025,6 +4025,50 @@ export namespace GetClientUserIdsSharingPaidBillsFromOtherSourcesToAgentResponse
|
|
|
4025
4025
|
}
|
|
4026
4026
|
}
|
|
4027
4027
|
|
|
4028
|
+
export class GetClientDeliveryBatchTypesRequest extends jspb.Message {
|
|
4029
|
+
getClientuserid(): number;
|
|
4030
|
+
setClientuserid(value: number): GetClientDeliveryBatchTypesRequest;
|
|
4031
|
+
|
|
4032
|
+
serializeBinary(): Uint8Array;
|
|
4033
|
+
toObject(includeInstance?: boolean): GetClientDeliveryBatchTypesRequest.AsObject;
|
|
4034
|
+
static toObject(includeInstance: boolean, msg: GetClientDeliveryBatchTypesRequest): GetClientDeliveryBatchTypesRequest.AsObject;
|
|
4035
|
+
static serializeBinaryToWriter(message: GetClientDeliveryBatchTypesRequest, writer: jspb.BinaryWriter): void;
|
|
4036
|
+
static deserializeBinary(bytes: Uint8Array): GetClientDeliveryBatchTypesRequest;
|
|
4037
|
+
static deserializeBinaryFromReader(message: GetClientDeliveryBatchTypesRequest, reader: jspb.BinaryReader): GetClientDeliveryBatchTypesRequest;
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4040
|
+
export namespace GetClientDeliveryBatchTypesRequest {
|
|
4041
|
+
export type AsObject = {
|
|
4042
|
+
clientuserid: number,
|
|
4043
|
+
}
|
|
4044
|
+
}
|
|
4045
|
+
|
|
4046
|
+
export class GetClientDeliveryBatchTypesResponse extends jspb.Message {
|
|
4047
|
+
getResponsecode(): ResponseCode | undefined;
|
|
4048
|
+
setResponsecode(value?: ResponseCode): GetClientDeliveryBatchTypesResponse;
|
|
4049
|
+
hasResponsecode(): boolean;
|
|
4050
|
+
clearResponsecode(): GetClientDeliveryBatchTypesResponse;
|
|
4051
|
+
|
|
4052
|
+
getDeliverybatchtypesList(): Array<DeliveryBatchType>;
|
|
4053
|
+
setDeliverybatchtypesList(value: Array<DeliveryBatchType>): GetClientDeliveryBatchTypesResponse;
|
|
4054
|
+
clearDeliverybatchtypesList(): GetClientDeliveryBatchTypesResponse;
|
|
4055
|
+
addDeliverybatchtypes(value: DeliveryBatchType, index?: number): GetClientDeliveryBatchTypesResponse;
|
|
4056
|
+
|
|
4057
|
+
serializeBinary(): Uint8Array;
|
|
4058
|
+
toObject(includeInstance?: boolean): GetClientDeliveryBatchTypesResponse.AsObject;
|
|
4059
|
+
static toObject(includeInstance: boolean, msg: GetClientDeliveryBatchTypesResponse): GetClientDeliveryBatchTypesResponse.AsObject;
|
|
4060
|
+
static serializeBinaryToWriter(message: GetClientDeliveryBatchTypesResponse, writer: jspb.BinaryWriter): void;
|
|
4061
|
+
static deserializeBinary(bytes: Uint8Array): GetClientDeliveryBatchTypesResponse;
|
|
4062
|
+
static deserializeBinaryFromReader(message: GetClientDeliveryBatchTypesResponse, reader: jspb.BinaryReader): GetClientDeliveryBatchTypesResponse;
|
|
4063
|
+
}
|
|
4064
|
+
|
|
4065
|
+
export namespace GetClientDeliveryBatchTypesResponse {
|
|
4066
|
+
export type AsObject = {
|
|
4067
|
+
responsecode?: ResponseCode.AsObject,
|
|
4068
|
+
deliverybatchtypesList: Array<DeliveryBatchType>,
|
|
4069
|
+
}
|
|
4070
|
+
}
|
|
4071
|
+
|
|
4028
4072
|
export class GetUserRelationshipsRequest extends jspb.Message {
|
|
4029
4073
|
getUserid(): number;
|
|
4030
4074
|
setUserid(value: number): GetUserRelationshipsRequest;
|
|
@@ -99,6 +99,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsRequest', nu
|
|
|
99
99
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsResponse', null, global);
|
|
100
100
|
goog.exportSymbol('proto.agentbillingserviceapi.GetBillerCrnNicknameRequest', null, global);
|
|
101
101
|
goog.exportSymbol('proto.agentbillingserviceapi.GetBillerCrnNicknameResponse', null, global);
|
|
102
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest', null, global);
|
|
103
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse', null, global);
|
|
102
104
|
goog.exportSymbol('proto.agentbillingserviceapi.GetClientUserIdsSharingPaidBillsFromOtherSourcesToAgentRequest', null, global);
|
|
103
105
|
goog.exportSymbol('proto.agentbillingserviceapi.GetClientUserIdsSharingPaidBillsFromOtherSourcesToAgentResponse', null, global);
|
|
104
106
|
goog.exportSymbol('proto.agentbillingserviceapi.GetConnectedClientsRequest', null, global);
|
|
@@ -2558,6 +2560,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2558
2560
|
*/
|
|
2559
2561
|
proto.agentbillingserviceapi.GetClientUserIdsSharingPaidBillsFromOtherSourcesToAgentResponse.displayName = 'proto.agentbillingserviceapi.GetClientUserIdsSharingPaidBillsFromOtherSourcesToAgentResponse';
|
|
2560
2562
|
}
|
|
2563
|
+
/**
|
|
2564
|
+
* Generated by JsPbCodeGenerator.
|
|
2565
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2566
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2567
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2568
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2569
|
+
* valid.
|
|
2570
|
+
* @extends {jspb.Message}
|
|
2571
|
+
* @constructor
|
|
2572
|
+
*/
|
|
2573
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest = function(opt_data) {
|
|
2574
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2575
|
+
};
|
|
2576
|
+
goog.inherits(proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest, jspb.Message);
|
|
2577
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2578
|
+
/**
|
|
2579
|
+
* @public
|
|
2580
|
+
* @override
|
|
2581
|
+
*/
|
|
2582
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.displayName = 'proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest';
|
|
2583
|
+
}
|
|
2584
|
+
/**
|
|
2585
|
+
* Generated by JsPbCodeGenerator.
|
|
2586
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2587
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2588
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2589
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2590
|
+
* valid.
|
|
2591
|
+
* @extends {jspb.Message}
|
|
2592
|
+
* @constructor
|
|
2593
|
+
*/
|
|
2594
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse = function(opt_data) {
|
|
2595
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.repeatedFields_, null);
|
|
2596
|
+
};
|
|
2597
|
+
goog.inherits(proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse, jspb.Message);
|
|
2598
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2599
|
+
/**
|
|
2600
|
+
* @public
|
|
2601
|
+
* @override
|
|
2602
|
+
*/
|
|
2603
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.displayName = 'proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse';
|
|
2604
|
+
}
|
|
2561
2605
|
/**
|
|
2562
2606
|
* Generated by JsPbCodeGenerator.
|
|
2563
2607
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -32814,6 +32858,345 @@ proto.agentbillingserviceapi.GetClientUserIdsSharingPaidBillsFromOtherSourcesToA
|
|
|
32814
32858
|
|
|
32815
32859
|
|
|
32816
32860
|
|
|
32861
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
32862
|
+
/**
|
|
32863
|
+
* Creates an object representation of this proto.
|
|
32864
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
32865
|
+
* Optional fields that are not set will be set to undefined.
|
|
32866
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
32867
|
+
* For the list of reserved names please see:
|
|
32868
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
32869
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
32870
|
+
* JSPB instance for transitional soy proto support:
|
|
32871
|
+
* http://goto/soy-param-migration
|
|
32872
|
+
* @return {!Object}
|
|
32873
|
+
*/
|
|
32874
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
32875
|
+
return proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.toObject(opt_includeInstance, this);
|
|
32876
|
+
};
|
|
32877
|
+
|
|
32878
|
+
|
|
32879
|
+
/**
|
|
32880
|
+
* Static version of the {@see toObject} method.
|
|
32881
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
32882
|
+
* the JSPB instance for transitional soy proto support:
|
|
32883
|
+
* http://goto/soy-param-migration
|
|
32884
|
+
* @param {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest} msg The msg instance to transform.
|
|
32885
|
+
* @return {!Object}
|
|
32886
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32887
|
+
*/
|
|
32888
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.toObject = function(includeInstance, msg) {
|
|
32889
|
+
var f, obj = {
|
|
32890
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
32891
|
+
};
|
|
32892
|
+
|
|
32893
|
+
if (includeInstance) {
|
|
32894
|
+
obj.$jspbMessageInstance = msg;
|
|
32895
|
+
}
|
|
32896
|
+
return obj;
|
|
32897
|
+
};
|
|
32898
|
+
}
|
|
32899
|
+
|
|
32900
|
+
|
|
32901
|
+
/**
|
|
32902
|
+
* Deserializes binary data (in protobuf wire format).
|
|
32903
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
32904
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest}
|
|
32905
|
+
*/
|
|
32906
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.deserializeBinary = function(bytes) {
|
|
32907
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
32908
|
+
var msg = new proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest;
|
|
32909
|
+
return proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.deserializeBinaryFromReader(msg, reader);
|
|
32910
|
+
};
|
|
32911
|
+
|
|
32912
|
+
|
|
32913
|
+
/**
|
|
32914
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
32915
|
+
* given reader into the given message object.
|
|
32916
|
+
* @param {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest} msg The message object to deserialize into.
|
|
32917
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
32918
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest}
|
|
32919
|
+
*/
|
|
32920
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
32921
|
+
while (reader.nextField()) {
|
|
32922
|
+
if (reader.isEndGroup()) {
|
|
32923
|
+
break;
|
|
32924
|
+
}
|
|
32925
|
+
var field = reader.getFieldNumber();
|
|
32926
|
+
switch (field) {
|
|
32927
|
+
case 1:
|
|
32928
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
32929
|
+
msg.setClientuserid(value);
|
|
32930
|
+
break;
|
|
32931
|
+
default:
|
|
32932
|
+
reader.skipField();
|
|
32933
|
+
break;
|
|
32934
|
+
}
|
|
32935
|
+
}
|
|
32936
|
+
return msg;
|
|
32937
|
+
};
|
|
32938
|
+
|
|
32939
|
+
|
|
32940
|
+
/**
|
|
32941
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
32942
|
+
* @return {!Uint8Array}
|
|
32943
|
+
*/
|
|
32944
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.prototype.serializeBinary = function() {
|
|
32945
|
+
var writer = new jspb.BinaryWriter();
|
|
32946
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.serializeBinaryToWriter(this, writer);
|
|
32947
|
+
return writer.getResultBuffer();
|
|
32948
|
+
};
|
|
32949
|
+
|
|
32950
|
+
|
|
32951
|
+
/**
|
|
32952
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
32953
|
+
* format), writing to the given BinaryWriter.
|
|
32954
|
+
* @param {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest} message
|
|
32955
|
+
* @param {!jspb.BinaryWriter} writer
|
|
32956
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32957
|
+
*/
|
|
32958
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
32959
|
+
var f = undefined;
|
|
32960
|
+
f = message.getClientuserid();
|
|
32961
|
+
if (f !== 0) {
|
|
32962
|
+
writer.writeInt64(
|
|
32963
|
+
1,
|
|
32964
|
+
f
|
|
32965
|
+
);
|
|
32966
|
+
}
|
|
32967
|
+
};
|
|
32968
|
+
|
|
32969
|
+
|
|
32970
|
+
/**
|
|
32971
|
+
* optional int64 clientUserId = 1;
|
|
32972
|
+
* @return {number}
|
|
32973
|
+
*/
|
|
32974
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.prototype.getClientuserid = function() {
|
|
32975
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
32976
|
+
};
|
|
32977
|
+
|
|
32978
|
+
|
|
32979
|
+
/**
|
|
32980
|
+
* @param {number} value
|
|
32981
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest} returns this
|
|
32982
|
+
*/
|
|
32983
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesRequest.prototype.setClientuserid = function(value) {
|
|
32984
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
32985
|
+
};
|
|
32986
|
+
|
|
32987
|
+
|
|
32988
|
+
|
|
32989
|
+
/**
|
|
32990
|
+
* List of repeated fields within this message type.
|
|
32991
|
+
* @private {!Array<number>}
|
|
32992
|
+
* @const
|
|
32993
|
+
*/
|
|
32994
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.repeatedFields_ = [2];
|
|
32995
|
+
|
|
32996
|
+
|
|
32997
|
+
|
|
32998
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
32999
|
+
/**
|
|
33000
|
+
* Creates an object representation of this proto.
|
|
33001
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
33002
|
+
* Optional fields that are not set will be set to undefined.
|
|
33003
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
33004
|
+
* For the list of reserved names please see:
|
|
33005
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
33006
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
33007
|
+
* JSPB instance for transitional soy proto support:
|
|
33008
|
+
* http://goto/soy-param-migration
|
|
33009
|
+
* @return {!Object}
|
|
33010
|
+
*/
|
|
33011
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
33012
|
+
return proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.toObject(opt_includeInstance, this);
|
|
33013
|
+
};
|
|
33014
|
+
|
|
33015
|
+
|
|
33016
|
+
/**
|
|
33017
|
+
* Static version of the {@see toObject} method.
|
|
33018
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33019
|
+
* the JSPB instance for transitional soy proto support:
|
|
33020
|
+
* http://goto/soy-param-migration
|
|
33021
|
+
* @param {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse} msg The msg instance to transform.
|
|
33022
|
+
* @return {!Object}
|
|
33023
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33024
|
+
*/
|
|
33025
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.toObject = function(includeInstance, msg) {
|
|
33026
|
+
var f, obj = {
|
|
33027
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
33028
|
+
deliverybatchtypesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
33029
|
+
};
|
|
33030
|
+
|
|
33031
|
+
if (includeInstance) {
|
|
33032
|
+
obj.$jspbMessageInstance = msg;
|
|
33033
|
+
}
|
|
33034
|
+
return obj;
|
|
33035
|
+
};
|
|
33036
|
+
}
|
|
33037
|
+
|
|
33038
|
+
|
|
33039
|
+
/**
|
|
33040
|
+
* Deserializes binary data (in protobuf wire format).
|
|
33041
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33042
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse}
|
|
33043
|
+
*/
|
|
33044
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.deserializeBinary = function(bytes) {
|
|
33045
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
33046
|
+
var msg = new proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse;
|
|
33047
|
+
return proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.deserializeBinaryFromReader(msg, reader);
|
|
33048
|
+
};
|
|
33049
|
+
|
|
33050
|
+
|
|
33051
|
+
/**
|
|
33052
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
33053
|
+
* given reader into the given message object.
|
|
33054
|
+
* @param {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse} msg The message object to deserialize into.
|
|
33055
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33056
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse}
|
|
33057
|
+
*/
|
|
33058
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
33059
|
+
while (reader.nextField()) {
|
|
33060
|
+
if (reader.isEndGroup()) {
|
|
33061
|
+
break;
|
|
33062
|
+
}
|
|
33063
|
+
var field = reader.getFieldNumber();
|
|
33064
|
+
switch (field) {
|
|
33065
|
+
case 1:
|
|
33066
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
33067
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
33068
|
+
msg.setResponsecode(value);
|
|
33069
|
+
break;
|
|
33070
|
+
case 2:
|
|
33071
|
+
var values = /** @type {!Array<!proto.agentbillingserviceapi.DeliveryBatchType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
33072
|
+
for (var i = 0; i < values.length; i++) {
|
|
33073
|
+
msg.addDeliverybatchtypes(values[i]);
|
|
33074
|
+
}
|
|
33075
|
+
break;
|
|
33076
|
+
default:
|
|
33077
|
+
reader.skipField();
|
|
33078
|
+
break;
|
|
33079
|
+
}
|
|
33080
|
+
}
|
|
33081
|
+
return msg;
|
|
33082
|
+
};
|
|
33083
|
+
|
|
33084
|
+
|
|
33085
|
+
/**
|
|
33086
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
33087
|
+
* @return {!Uint8Array}
|
|
33088
|
+
*/
|
|
33089
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.serializeBinary = function() {
|
|
33090
|
+
var writer = new jspb.BinaryWriter();
|
|
33091
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.serializeBinaryToWriter(this, writer);
|
|
33092
|
+
return writer.getResultBuffer();
|
|
33093
|
+
};
|
|
33094
|
+
|
|
33095
|
+
|
|
33096
|
+
/**
|
|
33097
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
33098
|
+
* format), writing to the given BinaryWriter.
|
|
33099
|
+
* @param {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse} message
|
|
33100
|
+
* @param {!jspb.BinaryWriter} writer
|
|
33101
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33102
|
+
*/
|
|
33103
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
33104
|
+
var f = undefined;
|
|
33105
|
+
f = message.getResponsecode();
|
|
33106
|
+
if (f != null) {
|
|
33107
|
+
writer.writeMessage(
|
|
33108
|
+
1,
|
|
33109
|
+
f,
|
|
33110
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
33111
|
+
);
|
|
33112
|
+
}
|
|
33113
|
+
f = message.getDeliverybatchtypesList();
|
|
33114
|
+
if (f.length > 0) {
|
|
33115
|
+
writer.writePackedEnum(
|
|
33116
|
+
2,
|
|
33117
|
+
f
|
|
33118
|
+
);
|
|
33119
|
+
}
|
|
33120
|
+
};
|
|
33121
|
+
|
|
33122
|
+
|
|
33123
|
+
/**
|
|
33124
|
+
* optional ResponseCode responseCode = 1;
|
|
33125
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
33126
|
+
*/
|
|
33127
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.getResponsecode = function() {
|
|
33128
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
33129
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
33130
|
+
};
|
|
33131
|
+
|
|
33132
|
+
|
|
33133
|
+
/**
|
|
33134
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
33135
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse} returns this
|
|
33136
|
+
*/
|
|
33137
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.setResponsecode = function(value) {
|
|
33138
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
33139
|
+
};
|
|
33140
|
+
|
|
33141
|
+
|
|
33142
|
+
/**
|
|
33143
|
+
* Clears the message field making it undefined.
|
|
33144
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse} returns this
|
|
33145
|
+
*/
|
|
33146
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.clearResponsecode = function() {
|
|
33147
|
+
return this.setResponsecode(undefined);
|
|
33148
|
+
};
|
|
33149
|
+
|
|
33150
|
+
|
|
33151
|
+
/**
|
|
33152
|
+
* Returns whether this field is set.
|
|
33153
|
+
* @return {boolean}
|
|
33154
|
+
*/
|
|
33155
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.hasResponsecode = function() {
|
|
33156
|
+
return jspb.Message.getField(this, 1) != null;
|
|
33157
|
+
};
|
|
33158
|
+
|
|
33159
|
+
|
|
33160
|
+
/**
|
|
33161
|
+
* repeated DeliveryBatchType deliveryBatchTypes = 2;
|
|
33162
|
+
* @return {!Array<!proto.agentbillingserviceapi.DeliveryBatchType>}
|
|
33163
|
+
*/
|
|
33164
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.getDeliverybatchtypesList = function() {
|
|
33165
|
+
return /** @type {!Array<!proto.agentbillingserviceapi.DeliveryBatchType>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
33166
|
+
};
|
|
33167
|
+
|
|
33168
|
+
|
|
33169
|
+
/**
|
|
33170
|
+
* @param {!Array<!proto.agentbillingserviceapi.DeliveryBatchType>} value
|
|
33171
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse} returns this
|
|
33172
|
+
*/
|
|
33173
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.setDeliverybatchtypesList = function(value) {
|
|
33174
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
33175
|
+
};
|
|
33176
|
+
|
|
33177
|
+
|
|
33178
|
+
/**
|
|
33179
|
+
* @param {!proto.agentbillingserviceapi.DeliveryBatchType} value
|
|
33180
|
+
* @param {number=} opt_index
|
|
33181
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse} returns this
|
|
33182
|
+
*/
|
|
33183
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.addDeliverybatchtypes = function(value, opt_index) {
|
|
33184
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
33185
|
+
};
|
|
33186
|
+
|
|
33187
|
+
|
|
33188
|
+
/**
|
|
33189
|
+
* Clears the list making it empty but non-null.
|
|
33190
|
+
* @return {!proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse} returns this
|
|
33191
|
+
*/
|
|
33192
|
+
proto.agentbillingserviceapi.GetClientDeliveryBatchTypesResponse.prototype.clearDeliverybatchtypesList = function() {
|
|
33193
|
+
return this.setDeliverybatchtypesList([]);
|
|
33194
|
+
};
|
|
33195
|
+
|
|
33196
|
+
|
|
33197
|
+
|
|
33198
|
+
|
|
33199
|
+
|
|
32817
33200
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
32818
33201
|
/**
|
|
32819
33202
|
* Creates an object representation of this proto.
|