@sniipwebmaster/agent-billing-client-grpcweb 24.14.3351 → 24.14.3363
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.
|
@@ -1237,6 +1237,67 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
|
|
|
1237
1237
|
};
|
|
1238
1238
|
|
|
1239
1239
|
|
|
1240
|
+
/**
|
|
1241
|
+
* @const
|
|
1242
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1243
|
+
* !proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest,
|
|
1244
|
+
* !proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse>}
|
|
1245
|
+
*/
|
|
1246
|
+
const methodDescriptor_AgentBillingServiceAPIService_GetAgentBillDeliveryDetailsByBillIds = new grpc.web.MethodDescriptor(
|
|
1247
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillIds',
|
|
1248
|
+
grpc.web.MethodType.UNARY,
|
|
1249
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest,
|
|
1250
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse,
|
|
1251
|
+
/**
|
|
1252
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} request
|
|
1253
|
+
* @return {!Uint8Array}
|
|
1254
|
+
*/
|
|
1255
|
+
function(request) {
|
|
1256
|
+
return request.serializeBinary();
|
|
1257
|
+
},
|
|
1258
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.deserializeBinary
|
|
1259
|
+
);
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} request The
|
|
1264
|
+
* request proto
|
|
1265
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1266
|
+
* call metadata
|
|
1267
|
+
* @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse)}
|
|
1268
|
+
* callback The callback function(error, response)
|
|
1269
|
+
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse>|undefined}
|
|
1270
|
+
* The XHR Node Readable Stream
|
|
1271
|
+
*/
|
|
1272
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getAgentBillDeliveryDetailsByBillIds =
|
|
1273
|
+
function(request, metadata, callback) {
|
|
1274
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1275
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillIds',
|
|
1276
|
+
request,
|
|
1277
|
+
metadata || {},
|
|
1278
|
+
methodDescriptor_AgentBillingServiceAPIService_GetAgentBillDeliveryDetailsByBillIds,
|
|
1279
|
+
callback);
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} request The
|
|
1285
|
+
* request proto
|
|
1286
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1287
|
+
* call metadata
|
|
1288
|
+
* @return {!Promise<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse>}
|
|
1289
|
+
* Promise that resolves to the response
|
|
1290
|
+
*/
|
|
1291
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getAgentBillDeliveryDetailsByBillIds =
|
|
1292
|
+
function(request, metadata) {
|
|
1293
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1294
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetAgentBillDeliveryDetailsByBillIds',
|
|
1295
|
+
request,
|
|
1296
|
+
metadata || {},
|
|
1297
|
+
methodDescriptor_AgentBillingServiceAPIService_GetAgentBillDeliveryDetailsByBillIds);
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
|
|
1240
1301
|
/**
|
|
1241
1302
|
* @const
|
|
1242
1303
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -74,6 +74,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsReques
|
|
|
74
74
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse', null, global);
|
|
75
75
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest', null, global);
|
|
76
76
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse', null, global);
|
|
77
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest', null, global);
|
|
78
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse', null, global);
|
|
77
79
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillTransactionsResponse', null, global);
|
|
78
80
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsByAgentBillIdsRequest', null, global);
|
|
79
81
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillsForClientRequest', null, global);
|
|
@@ -1069,6 +1071,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1069
1071
|
*/
|
|
1070
1072
|
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.displayName = 'proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest';
|
|
1071
1073
|
}
|
|
1074
|
+
/**
|
|
1075
|
+
* Generated by JsPbCodeGenerator.
|
|
1076
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1077
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1078
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1079
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1080
|
+
* valid.
|
|
1081
|
+
* @extends {jspb.Message}
|
|
1082
|
+
* @constructor
|
|
1083
|
+
*/
|
|
1084
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest = function(opt_data) {
|
|
1085
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.repeatedFields_, null);
|
|
1086
|
+
};
|
|
1087
|
+
goog.inherits(proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest, jspb.Message);
|
|
1088
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1089
|
+
/**
|
|
1090
|
+
* @public
|
|
1091
|
+
* @override
|
|
1092
|
+
*/
|
|
1093
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.displayName = 'proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest';
|
|
1094
|
+
}
|
|
1072
1095
|
/**
|
|
1073
1096
|
* Generated by JsPbCodeGenerator.
|
|
1074
1097
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1090,6 +1113,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1090
1113
|
*/
|
|
1091
1114
|
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse';
|
|
1092
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Generated by JsPbCodeGenerator.
|
|
1118
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1119
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1120
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1121
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1122
|
+
* valid.
|
|
1123
|
+
* @extends {jspb.Message}
|
|
1124
|
+
* @constructor
|
|
1125
|
+
*/
|
|
1126
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse = function(opt_data) {
|
|
1127
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.repeatedFields_, null);
|
|
1128
|
+
};
|
|
1129
|
+
goog.inherits(proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse, jspb.Message);
|
|
1130
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1131
|
+
/**
|
|
1132
|
+
* @public
|
|
1133
|
+
* @override
|
|
1134
|
+
*/
|
|
1135
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.displayName = 'proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse';
|
|
1136
|
+
}
|
|
1093
1137
|
/**
|
|
1094
1138
|
* Generated by JsPbCodeGenerator.
|
|
1095
1139
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -13810,6 +13854,196 @@ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.prototyp
|
|
|
13810
13854
|
|
|
13811
13855
|
|
|
13812
13856
|
|
|
13857
|
+
/**
|
|
13858
|
+
* List of repeated fields within this message type.
|
|
13859
|
+
* @private {!Array<number>}
|
|
13860
|
+
* @const
|
|
13861
|
+
*/
|
|
13862
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.repeatedFields_ = [1];
|
|
13863
|
+
|
|
13864
|
+
|
|
13865
|
+
|
|
13866
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13867
|
+
/**
|
|
13868
|
+
* Creates an object representation of this proto.
|
|
13869
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13870
|
+
* Optional fields that are not set will be set to undefined.
|
|
13871
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13872
|
+
* For the list of reserved names please see:
|
|
13873
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13874
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13875
|
+
* JSPB instance for transitional soy proto support:
|
|
13876
|
+
* http://goto/soy-param-migration
|
|
13877
|
+
* @return {!Object}
|
|
13878
|
+
*/
|
|
13879
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13880
|
+
return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.toObject(opt_includeInstance, this);
|
|
13881
|
+
};
|
|
13882
|
+
|
|
13883
|
+
|
|
13884
|
+
/**
|
|
13885
|
+
* Static version of the {@see toObject} method.
|
|
13886
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13887
|
+
* the JSPB instance for transitional soy proto support:
|
|
13888
|
+
* http://goto/soy-param-migration
|
|
13889
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} msg The msg instance to transform.
|
|
13890
|
+
* @return {!Object}
|
|
13891
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13892
|
+
*/
|
|
13893
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.toObject = function(includeInstance, msg) {
|
|
13894
|
+
var f, obj = {
|
|
13895
|
+
requestdetailsList: jspb.Message.toObjectList(msg.getRequestdetailsList(),
|
|
13896
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.toObject, includeInstance),
|
|
13897
|
+
checkuserrights: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
13898
|
+
};
|
|
13899
|
+
|
|
13900
|
+
if (includeInstance) {
|
|
13901
|
+
obj.$jspbMessageInstance = msg;
|
|
13902
|
+
}
|
|
13903
|
+
return obj;
|
|
13904
|
+
};
|
|
13905
|
+
}
|
|
13906
|
+
|
|
13907
|
+
|
|
13908
|
+
/**
|
|
13909
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13910
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13911
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest}
|
|
13912
|
+
*/
|
|
13913
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.deserializeBinary = function(bytes) {
|
|
13914
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13915
|
+
var msg = new proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest;
|
|
13916
|
+
return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
13917
|
+
};
|
|
13918
|
+
|
|
13919
|
+
|
|
13920
|
+
/**
|
|
13921
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13922
|
+
* given reader into the given message object.
|
|
13923
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} msg The message object to deserialize into.
|
|
13924
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13925
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest}
|
|
13926
|
+
*/
|
|
13927
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13928
|
+
while (reader.nextField()) {
|
|
13929
|
+
if (reader.isEndGroup()) {
|
|
13930
|
+
break;
|
|
13931
|
+
}
|
|
13932
|
+
var field = reader.getFieldNumber();
|
|
13933
|
+
switch (field) {
|
|
13934
|
+
case 1:
|
|
13935
|
+
var value = new proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest;
|
|
13936
|
+
reader.readMessage(value,proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.deserializeBinaryFromReader);
|
|
13937
|
+
msg.addRequestdetails(value);
|
|
13938
|
+
break;
|
|
13939
|
+
case 2:
|
|
13940
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
13941
|
+
msg.setCheckuserrights(value);
|
|
13942
|
+
break;
|
|
13943
|
+
default:
|
|
13944
|
+
reader.skipField();
|
|
13945
|
+
break;
|
|
13946
|
+
}
|
|
13947
|
+
}
|
|
13948
|
+
return msg;
|
|
13949
|
+
};
|
|
13950
|
+
|
|
13951
|
+
|
|
13952
|
+
/**
|
|
13953
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13954
|
+
* @return {!Uint8Array}
|
|
13955
|
+
*/
|
|
13956
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.prototype.serializeBinary = function() {
|
|
13957
|
+
var writer = new jspb.BinaryWriter();
|
|
13958
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.serializeBinaryToWriter(this, writer);
|
|
13959
|
+
return writer.getResultBuffer();
|
|
13960
|
+
};
|
|
13961
|
+
|
|
13962
|
+
|
|
13963
|
+
/**
|
|
13964
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13965
|
+
* format), writing to the given BinaryWriter.
|
|
13966
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} message
|
|
13967
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13968
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13969
|
+
*/
|
|
13970
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13971
|
+
var f = undefined;
|
|
13972
|
+
f = message.getRequestdetailsList();
|
|
13973
|
+
if (f.length > 0) {
|
|
13974
|
+
writer.writeRepeatedMessage(
|
|
13975
|
+
1,
|
|
13976
|
+
f,
|
|
13977
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest.serializeBinaryToWriter
|
|
13978
|
+
);
|
|
13979
|
+
}
|
|
13980
|
+
f = message.getCheckuserrights();
|
|
13981
|
+
if (f) {
|
|
13982
|
+
writer.writeBool(
|
|
13983
|
+
2,
|
|
13984
|
+
f
|
|
13985
|
+
);
|
|
13986
|
+
}
|
|
13987
|
+
};
|
|
13988
|
+
|
|
13989
|
+
|
|
13990
|
+
/**
|
|
13991
|
+
* repeated GetAgentBillDeliveryDetailsByBillIdRequest requestDetails = 1;
|
|
13992
|
+
* @return {!Array<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest>}
|
|
13993
|
+
*/
|
|
13994
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.prototype.getRequestdetailsList = function() {
|
|
13995
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest>} */ (
|
|
13996
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest, 1));
|
|
13997
|
+
};
|
|
13998
|
+
|
|
13999
|
+
|
|
14000
|
+
/**
|
|
14001
|
+
* @param {!Array<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest>} value
|
|
14002
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} returns this
|
|
14003
|
+
*/
|
|
14004
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.prototype.setRequestdetailsList = function(value) {
|
|
14005
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
14006
|
+
};
|
|
14007
|
+
|
|
14008
|
+
|
|
14009
|
+
/**
|
|
14010
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest=} opt_value
|
|
14011
|
+
* @param {number=} opt_index
|
|
14012
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest}
|
|
14013
|
+
*/
|
|
14014
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.prototype.addRequestdetails = function(opt_value, opt_index) {
|
|
14015
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdRequest, opt_index);
|
|
14016
|
+
};
|
|
14017
|
+
|
|
14018
|
+
|
|
14019
|
+
/**
|
|
14020
|
+
* Clears the list making it empty but non-null.
|
|
14021
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} returns this
|
|
14022
|
+
*/
|
|
14023
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.prototype.clearRequestdetailsList = function() {
|
|
14024
|
+
return this.setRequestdetailsList([]);
|
|
14025
|
+
};
|
|
14026
|
+
|
|
14027
|
+
|
|
14028
|
+
/**
|
|
14029
|
+
* optional bool checkUserRights = 2;
|
|
14030
|
+
* @return {boolean}
|
|
14031
|
+
*/
|
|
14032
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.prototype.getCheckuserrights = function() {
|
|
14033
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
14034
|
+
};
|
|
14035
|
+
|
|
14036
|
+
|
|
14037
|
+
/**
|
|
14038
|
+
* @param {boolean} value
|
|
14039
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest} returns this
|
|
14040
|
+
*/
|
|
14041
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsRequest.prototype.setCheckuserrights = function(value) {
|
|
14042
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
14043
|
+
};
|
|
14044
|
+
|
|
14045
|
+
|
|
14046
|
+
|
|
13813
14047
|
|
|
13814
14048
|
|
|
13815
14049
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -14171,6 +14405,217 @@ proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.prototy
|
|
|
14171
14405
|
|
|
14172
14406
|
|
|
14173
14407
|
|
|
14408
|
+
/**
|
|
14409
|
+
* List of repeated fields within this message type.
|
|
14410
|
+
* @private {!Array<number>}
|
|
14411
|
+
* @const
|
|
14412
|
+
*/
|
|
14413
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.repeatedFields_ = [2];
|
|
14414
|
+
|
|
14415
|
+
|
|
14416
|
+
|
|
14417
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14418
|
+
/**
|
|
14419
|
+
* Creates an object representation of this proto.
|
|
14420
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14421
|
+
* Optional fields that are not set will be set to undefined.
|
|
14422
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14423
|
+
* For the list of reserved names please see:
|
|
14424
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14425
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14426
|
+
* JSPB instance for transitional soy proto support:
|
|
14427
|
+
* http://goto/soy-param-migration
|
|
14428
|
+
* @return {!Object}
|
|
14429
|
+
*/
|
|
14430
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14431
|
+
return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.toObject(opt_includeInstance, this);
|
|
14432
|
+
};
|
|
14433
|
+
|
|
14434
|
+
|
|
14435
|
+
/**
|
|
14436
|
+
* Static version of the {@see toObject} method.
|
|
14437
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14438
|
+
* the JSPB instance for transitional soy proto support:
|
|
14439
|
+
* http://goto/soy-param-migration
|
|
14440
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse} msg The msg instance to transform.
|
|
14441
|
+
* @return {!Object}
|
|
14442
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14443
|
+
*/
|
|
14444
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.toObject = function(includeInstance, msg) {
|
|
14445
|
+
var f, obj = {
|
|
14446
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
14447
|
+
agentbillsdetailsList: jspb.Message.toObjectList(msg.getAgentbillsdetailsList(),
|
|
14448
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.toObject, includeInstance)
|
|
14449
|
+
};
|
|
14450
|
+
|
|
14451
|
+
if (includeInstance) {
|
|
14452
|
+
obj.$jspbMessageInstance = msg;
|
|
14453
|
+
}
|
|
14454
|
+
return obj;
|
|
14455
|
+
};
|
|
14456
|
+
}
|
|
14457
|
+
|
|
14458
|
+
|
|
14459
|
+
/**
|
|
14460
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14461
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14462
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse}
|
|
14463
|
+
*/
|
|
14464
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.deserializeBinary = function(bytes) {
|
|
14465
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14466
|
+
var msg = new proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse;
|
|
14467
|
+
return proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.deserializeBinaryFromReader(msg, reader);
|
|
14468
|
+
};
|
|
14469
|
+
|
|
14470
|
+
|
|
14471
|
+
/**
|
|
14472
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14473
|
+
* given reader into the given message object.
|
|
14474
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse} msg The message object to deserialize into.
|
|
14475
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14476
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse}
|
|
14477
|
+
*/
|
|
14478
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
14479
|
+
while (reader.nextField()) {
|
|
14480
|
+
if (reader.isEndGroup()) {
|
|
14481
|
+
break;
|
|
14482
|
+
}
|
|
14483
|
+
var field = reader.getFieldNumber();
|
|
14484
|
+
switch (field) {
|
|
14485
|
+
case 1:
|
|
14486
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
14487
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
14488
|
+
msg.setResponsecode(value);
|
|
14489
|
+
break;
|
|
14490
|
+
case 2:
|
|
14491
|
+
var value = new proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse;
|
|
14492
|
+
reader.readMessage(value,proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.deserializeBinaryFromReader);
|
|
14493
|
+
msg.addAgentbillsdetails(value);
|
|
14494
|
+
break;
|
|
14495
|
+
default:
|
|
14496
|
+
reader.skipField();
|
|
14497
|
+
break;
|
|
14498
|
+
}
|
|
14499
|
+
}
|
|
14500
|
+
return msg;
|
|
14501
|
+
};
|
|
14502
|
+
|
|
14503
|
+
|
|
14504
|
+
/**
|
|
14505
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14506
|
+
* @return {!Uint8Array}
|
|
14507
|
+
*/
|
|
14508
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.serializeBinary = function() {
|
|
14509
|
+
var writer = new jspb.BinaryWriter();
|
|
14510
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.serializeBinaryToWriter(this, writer);
|
|
14511
|
+
return writer.getResultBuffer();
|
|
14512
|
+
};
|
|
14513
|
+
|
|
14514
|
+
|
|
14515
|
+
/**
|
|
14516
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14517
|
+
* format), writing to the given BinaryWriter.
|
|
14518
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse} message
|
|
14519
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14520
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14521
|
+
*/
|
|
14522
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
14523
|
+
var f = undefined;
|
|
14524
|
+
f = message.getResponsecode();
|
|
14525
|
+
if (f != null) {
|
|
14526
|
+
writer.writeMessage(
|
|
14527
|
+
1,
|
|
14528
|
+
f,
|
|
14529
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
14530
|
+
);
|
|
14531
|
+
}
|
|
14532
|
+
f = message.getAgentbillsdetailsList();
|
|
14533
|
+
if (f.length > 0) {
|
|
14534
|
+
writer.writeRepeatedMessage(
|
|
14535
|
+
2,
|
|
14536
|
+
f,
|
|
14537
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse.serializeBinaryToWriter
|
|
14538
|
+
);
|
|
14539
|
+
}
|
|
14540
|
+
};
|
|
14541
|
+
|
|
14542
|
+
|
|
14543
|
+
/**
|
|
14544
|
+
* optional ResponseCode responseCode = 1;
|
|
14545
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
14546
|
+
*/
|
|
14547
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.getResponsecode = function() {
|
|
14548
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
14549
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
14550
|
+
};
|
|
14551
|
+
|
|
14552
|
+
|
|
14553
|
+
/**
|
|
14554
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
14555
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse} returns this
|
|
14556
|
+
*/
|
|
14557
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.setResponsecode = function(value) {
|
|
14558
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
14559
|
+
};
|
|
14560
|
+
|
|
14561
|
+
|
|
14562
|
+
/**
|
|
14563
|
+
* Clears the message field making it undefined.
|
|
14564
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse} returns this
|
|
14565
|
+
*/
|
|
14566
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.clearResponsecode = function() {
|
|
14567
|
+
return this.setResponsecode(undefined);
|
|
14568
|
+
};
|
|
14569
|
+
|
|
14570
|
+
|
|
14571
|
+
/**
|
|
14572
|
+
* Returns whether this field is set.
|
|
14573
|
+
* @return {boolean}
|
|
14574
|
+
*/
|
|
14575
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.hasResponsecode = function() {
|
|
14576
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14577
|
+
};
|
|
14578
|
+
|
|
14579
|
+
|
|
14580
|
+
/**
|
|
14581
|
+
* repeated GetAgentBillDeliveryDetailsByBillIdResponse agentBillsDetails = 2;
|
|
14582
|
+
* @return {!Array<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse>}
|
|
14583
|
+
*/
|
|
14584
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.getAgentbillsdetailsList = function() {
|
|
14585
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse>} */ (
|
|
14586
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse, 2));
|
|
14587
|
+
};
|
|
14588
|
+
|
|
14589
|
+
|
|
14590
|
+
/**
|
|
14591
|
+
* @param {!Array<!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse>} value
|
|
14592
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse} returns this
|
|
14593
|
+
*/
|
|
14594
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.setAgentbillsdetailsList = function(value) {
|
|
14595
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
14596
|
+
};
|
|
14597
|
+
|
|
14598
|
+
|
|
14599
|
+
/**
|
|
14600
|
+
* @param {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse=} opt_value
|
|
14601
|
+
* @param {number=} opt_index
|
|
14602
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse}
|
|
14603
|
+
*/
|
|
14604
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.addAgentbillsdetails = function(opt_value, opt_index) {
|
|
14605
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdResponse, opt_index);
|
|
14606
|
+
};
|
|
14607
|
+
|
|
14608
|
+
|
|
14609
|
+
/**
|
|
14610
|
+
* Clears the list making it empty but non-null.
|
|
14611
|
+
* @return {!proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse} returns this
|
|
14612
|
+
*/
|
|
14613
|
+
proto.agentbillingserviceapi.GetAgentBillDeliveryDetailsByBillIdsResponse.prototype.clearAgentbillsdetailsList = function() {
|
|
14614
|
+
return this.setAgentbillsdetailsList([]);
|
|
14615
|
+
};
|
|
14616
|
+
|
|
14617
|
+
|
|
14618
|
+
|
|
14174
14619
|
|
|
14175
14620
|
|
|
14176
14621
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|