@sniipwebmaster/agent-billing-client-grpcweb-ts 25.5.4219 → 25.7.4251
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.
|
@@ -2514,5 +2514,48 @@ export class AgentBillingServiceAPIServiceClient {
|
|
|
2514
2514
|
this.methodDescriptorGetClientUserIdsSharingPaidBillsFromOtherSourcesToAgent);
|
|
2515
2515
|
}
|
|
2516
2516
|
|
|
2517
|
+
methodDescriptorGetUserRelationships = new grpcWeb.MethodDescriptor(
|
|
2518
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetUserRelationships',
|
|
2519
|
+
grpcWeb.MethodType.UNARY,
|
|
2520
|
+
service_pb.GetUserRelationshipsRequest,
|
|
2521
|
+
service_pb.GetUserRelationshipsResponse,
|
|
2522
|
+
(request: service_pb.GetUserRelationshipsRequest) => {
|
|
2523
|
+
return request.serializeBinary();
|
|
2524
|
+
},
|
|
2525
|
+
service_pb.GetUserRelationshipsResponse.deserializeBinary
|
|
2526
|
+
);
|
|
2527
|
+
|
|
2528
|
+
getUserRelationships(
|
|
2529
|
+
request: service_pb.GetUserRelationshipsRequest,
|
|
2530
|
+
metadata?: grpcWeb.Metadata | null): Promise<service_pb.GetUserRelationshipsResponse>;
|
|
2531
|
+
|
|
2532
|
+
getUserRelationships(
|
|
2533
|
+
request: service_pb.GetUserRelationshipsRequest,
|
|
2534
|
+
metadata: grpcWeb.Metadata | null,
|
|
2535
|
+
callback: (err: grpcWeb.RpcError,
|
|
2536
|
+
response: service_pb.GetUserRelationshipsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetUserRelationshipsResponse>;
|
|
2537
|
+
|
|
2538
|
+
getUserRelationships(
|
|
2539
|
+
request: service_pb.GetUserRelationshipsRequest,
|
|
2540
|
+
metadata?: grpcWeb.Metadata | null,
|
|
2541
|
+
callback?: (err: grpcWeb.RpcError,
|
|
2542
|
+
response: service_pb.GetUserRelationshipsResponse) => void) {
|
|
2543
|
+
if (callback !== undefined) {
|
|
2544
|
+
return this.client_.rpcCall(
|
|
2545
|
+
this.hostname_ +
|
|
2546
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetUserRelationships',
|
|
2547
|
+
request,
|
|
2548
|
+
metadata || {},
|
|
2549
|
+
this.methodDescriptorGetUserRelationships,
|
|
2550
|
+
callback);
|
|
2551
|
+
}
|
|
2552
|
+
return this.client_.unaryCall(
|
|
2553
|
+
this.hostname_ +
|
|
2554
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/GetUserRelationships',
|
|
2555
|
+
request,
|
|
2556
|
+
metadata || {},
|
|
2557
|
+
this.methodDescriptorGetUserRelationships);
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2517
2560
|
}
|
|
2518
2561
|
|
|
@@ -3711,6 +3711,56 @@ export namespace GetClientUserIdsSharingPaidBillsFromOtherSourcesToAgentResponse
|
|
|
3711
3711
|
}
|
|
3712
3712
|
}
|
|
3713
3713
|
|
|
3714
|
+
export class GetUserRelationshipsRequest extends jspb.Message {
|
|
3715
|
+
getUserid(): number;
|
|
3716
|
+
setUserid(value: number): GetUserRelationshipsRequest;
|
|
3717
|
+
|
|
3718
|
+
serializeBinary(): Uint8Array;
|
|
3719
|
+
toObject(includeInstance?: boolean): GetUserRelationshipsRequest.AsObject;
|
|
3720
|
+
static toObject(includeInstance: boolean, msg: GetUserRelationshipsRequest): GetUserRelationshipsRequest.AsObject;
|
|
3721
|
+
static serializeBinaryToWriter(message: GetUserRelationshipsRequest, writer: jspb.BinaryWriter): void;
|
|
3722
|
+
static deserializeBinary(bytes: Uint8Array): GetUserRelationshipsRequest;
|
|
3723
|
+
static deserializeBinaryFromReader(message: GetUserRelationshipsRequest, reader: jspb.BinaryReader): GetUserRelationshipsRequest;
|
|
3724
|
+
}
|
|
3725
|
+
|
|
3726
|
+
export namespace GetUserRelationshipsRequest {
|
|
3727
|
+
export type AsObject = {
|
|
3728
|
+
userid: number,
|
|
3729
|
+
}
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
export class GetUserRelationshipsResponse extends jspb.Message {
|
|
3733
|
+
getResponsecode(): ResponseCode | undefined;
|
|
3734
|
+
setResponsecode(value?: ResponseCode): GetUserRelationshipsResponse;
|
|
3735
|
+
hasResponsecode(): boolean;
|
|
3736
|
+
clearResponsecode(): GetUserRelationshipsResponse;
|
|
3737
|
+
|
|
3738
|
+
getAgentsList(): Array<Agent>;
|
|
3739
|
+
setAgentsList(value: Array<Agent>): GetUserRelationshipsResponse;
|
|
3740
|
+
clearAgentsList(): GetUserRelationshipsResponse;
|
|
3741
|
+
addAgents(value?: Agent, index?: number): Agent;
|
|
3742
|
+
|
|
3743
|
+
getClientsList(): Array<Client>;
|
|
3744
|
+
setClientsList(value: Array<Client>): GetUserRelationshipsResponse;
|
|
3745
|
+
clearClientsList(): GetUserRelationshipsResponse;
|
|
3746
|
+
addClients(value?: Client, index?: number): Client;
|
|
3747
|
+
|
|
3748
|
+
serializeBinary(): Uint8Array;
|
|
3749
|
+
toObject(includeInstance?: boolean): GetUserRelationshipsResponse.AsObject;
|
|
3750
|
+
static toObject(includeInstance: boolean, msg: GetUserRelationshipsResponse): GetUserRelationshipsResponse.AsObject;
|
|
3751
|
+
static serializeBinaryToWriter(message: GetUserRelationshipsResponse, writer: jspb.BinaryWriter): void;
|
|
3752
|
+
static deserializeBinary(bytes: Uint8Array): GetUserRelationshipsResponse;
|
|
3753
|
+
static deserializeBinaryFromReader(message: GetUserRelationshipsResponse, reader: jspb.BinaryReader): GetUserRelationshipsResponse;
|
|
3754
|
+
}
|
|
3755
|
+
|
|
3756
|
+
export namespace GetUserRelationshipsResponse {
|
|
3757
|
+
export type AsObject = {
|
|
3758
|
+
responsecode?: ResponseCode.AsObject,
|
|
3759
|
+
agentsList: Array<Agent.AsObject>,
|
|
3760
|
+
clientsList: Array<Client.AsObject>,
|
|
3761
|
+
}
|
|
3762
|
+
}
|
|
3763
|
+
|
|
3714
3764
|
export enum BillScanType {
|
|
3715
3765
|
SNIIP = 0,
|
|
3716
3766
|
BPAY = 1,
|
|
@@ -116,6 +116,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchSummaryRequest', n
|
|
|
116
116
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchSummaryResponse', null, global);
|
|
117
117
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
|
|
118
118
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesResponse', null, global);
|
|
119
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetUserRelationshipsRequest', null, global);
|
|
120
|
+
goog.exportSymbol('proto.agentbillingserviceapi.GetUserRelationshipsResponse', null, global);
|
|
119
121
|
goog.exportSymbol('proto.agentbillingserviceapi.ImportAgentBillRequest', null, global);
|
|
120
122
|
goog.exportSymbol('proto.agentbillingserviceapi.ImportedBatchInfo', null, global);
|
|
121
123
|
goog.exportSymbol('proto.agentbillingserviceapi.InviteAgentRequest', null, global);
|
|
@@ -2444,6 +2446,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2444
2446
|
*/
|
|
2445
2447
|
proto.agentbillingserviceapi.GetClientUserIdsSharingPaidBillsFromOtherSourcesToAgentResponse.displayName = 'proto.agentbillingserviceapi.GetClientUserIdsSharingPaidBillsFromOtherSourcesToAgentResponse';
|
|
2446
2448
|
}
|
|
2449
|
+
/**
|
|
2450
|
+
* Generated by JsPbCodeGenerator.
|
|
2451
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2452
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2453
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2454
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2455
|
+
* valid.
|
|
2456
|
+
* @extends {jspb.Message}
|
|
2457
|
+
* @constructor
|
|
2458
|
+
*/
|
|
2459
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest = function(opt_data) {
|
|
2460
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2461
|
+
};
|
|
2462
|
+
goog.inherits(proto.agentbillingserviceapi.GetUserRelationshipsRequest, jspb.Message);
|
|
2463
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2464
|
+
/**
|
|
2465
|
+
* @public
|
|
2466
|
+
* @override
|
|
2467
|
+
*/
|
|
2468
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.displayName = 'proto.agentbillingserviceapi.GetUserRelationshipsRequest';
|
|
2469
|
+
}
|
|
2470
|
+
/**
|
|
2471
|
+
* Generated by JsPbCodeGenerator.
|
|
2472
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2473
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2474
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2475
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2476
|
+
* valid.
|
|
2477
|
+
* @extends {jspb.Message}
|
|
2478
|
+
* @constructor
|
|
2479
|
+
*/
|
|
2480
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse = function(opt_data) {
|
|
2481
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.GetUserRelationshipsResponse.repeatedFields_, null);
|
|
2482
|
+
};
|
|
2483
|
+
goog.inherits(proto.agentbillingserviceapi.GetUserRelationshipsResponse, jspb.Message);
|
|
2484
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2485
|
+
/**
|
|
2486
|
+
* @public
|
|
2487
|
+
* @override
|
|
2488
|
+
*/
|
|
2489
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.displayName = 'proto.agentbillingserviceapi.GetUserRelationshipsResponse';
|
|
2490
|
+
}
|
|
2447
2491
|
|
|
2448
2492
|
|
|
2449
2493
|
|
|
@@ -30358,6 +30402,400 @@ proto.agentbillingserviceapi.GetClientUserIdsSharingPaidBillsFromOtherSourcesToA
|
|
|
30358
30402
|
};
|
|
30359
30403
|
|
|
30360
30404
|
|
|
30405
|
+
|
|
30406
|
+
|
|
30407
|
+
|
|
30408
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30409
|
+
/**
|
|
30410
|
+
* Creates an object representation of this proto.
|
|
30411
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30412
|
+
* Optional fields that are not set will be set to undefined.
|
|
30413
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30414
|
+
* For the list of reserved names please see:
|
|
30415
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30416
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30417
|
+
* JSPB instance for transitional soy proto support:
|
|
30418
|
+
* http://goto/soy-param-migration
|
|
30419
|
+
* @return {!Object}
|
|
30420
|
+
*/
|
|
30421
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
30422
|
+
return proto.agentbillingserviceapi.GetUserRelationshipsRequest.toObject(opt_includeInstance, this);
|
|
30423
|
+
};
|
|
30424
|
+
|
|
30425
|
+
|
|
30426
|
+
/**
|
|
30427
|
+
* Static version of the {@see toObject} method.
|
|
30428
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30429
|
+
* the JSPB instance for transitional soy proto support:
|
|
30430
|
+
* http://goto/soy-param-migration
|
|
30431
|
+
* @param {!proto.agentbillingserviceapi.GetUserRelationshipsRequest} msg The msg instance to transform.
|
|
30432
|
+
* @return {!Object}
|
|
30433
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30434
|
+
*/
|
|
30435
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.toObject = function(includeInstance, msg) {
|
|
30436
|
+
var f, obj = {
|
|
30437
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
30438
|
+
};
|
|
30439
|
+
|
|
30440
|
+
if (includeInstance) {
|
|
30441
|
+
obj.$jspbMessageInstance = msg;
|
|
30442
|
+
}
|
|
30443
|
+
return obj;
|
|
30444
|
+
};
|
|
30445
|
+
}
|
|
30446
|
+
|
|
30447
|
+
|
|
30448
|
+
/**
|
|
30449
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30450
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30451
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsRequest}
|
|
30452
|
+
*/
|
|
30453
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.deserializeBinary = function(bytes) {
|
|
30454
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30455
|
+
var msg = new proto.agentbillingserviceapi.GetUserRelationshipsRequest;
|
|
30456
|
+
return proto.agentbillingserviceapi.GetUserRelationshipsRequest.deserializeBinaryFromReader(msg, reader);
|
|
30457
|
+
};
|
|
30458
|
+
|
|
30459
|
+
|
|
30460
|
+
/**
|
|
30461
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30462
|
+
* given reader into the given message object.
|
|
30463
|
+
* @param {!proto.agentbillingserviceapi.GetUserRelationshipsRequest} msg The message object to deserialize into.
|
|
30464
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30465
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsRequest}
|
|
30466
|
+
*/
|
|
30467
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
30468
|
+
while (reader.nextField()) {
|
|
30469
|
+
if (reader.isEndGroup()) {
|
|
30470
|
+
break;
|
|
30471
|
+
}
|
|
30472
|
+
var field = reader.getFieldNumber();
|
|
30473
|
+
switch (field) {
|
|
30474
|
+
case 1:
|
|
30475
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
30476
|
+
msg.setUserid(value);
|
|
30477
|
+
break;
|
|
30478
|
+
default:
|
|
30479
|
+
reader.skipField();
|
|
30480
|
+
break;
|
|
30481
|
+
}
|
|
30482
|
+
}
|
|
30483
|
+
return msg;
|
|
30484
|
+
};
|
|
30485
|
+
|
|
30486
|
+
|
|
30487
|
+
/**
|
|
30488
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30489
|
+
* @return {!Uint8Array}
|
|
30490
|
+
*/
|
|
30491
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.prototype.serializeBinary = function() {
|
|
30492
|
+
var writer = new jspb.BinaryWriter();
|
|
30493
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.serializeBinaryToWriter(this, writer);
|
|
30494
|
+
return writer.getResultBuffer();
|
|
30495
|
+
};
|
|
30496
|
+
|
|
30497
|
+
|
|
30498
|
+
/**
|
|
30499
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30500
|
+
* format), writing to the given BinaryWriter.
|
|
30501
|
+
* @param {!proto.agentbillingserviceapi.GetUserRelationshipsRequest} message
|
|
30502
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30503
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30504
|
+
*/
|
|
30505
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
30506
|
+
var f = undefined;
|
|
30507
|
+
f = message.getUserid();
|
|
30508
|
+
if (f !== 0) {
|
|
30509
|
+
writer.writeInt64(
|
|
30510
|
+
1,
|
|
30511
|
+
f
|
|
30512
|
+
);
|
|
30513
|
+
}
|
|
30514
|
+
};
|
|
30515
|
+
|
|
30516
|
+
|
|
30517
|
+
/**
|
|
30518
|
+
* optional int64 userId = 1;
|
|
30519
|
+
* @return {number}
|
|
30520
|
+
*/
|
|
30521
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.prototype.getUserid = function() {
|
|
30522
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
30523
|
+
};
|
|
30524
|
+
|
|
30525
|
+
|
|
30526
|
+
/**
|
|
30527
|
+
* @param {number} value
|
|
30528
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsRequest} returns this
|
|
30529
|
+
*/
|
|
30530
|
+
proto.agentbillingserviceapi.GetUserRelationshipsRequest.prototype.setUserid = function(value) {
|
|
30531
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
30532
|
+
};
|
|
30533
|
+
|
|
30534
|
+
|
|
30535
|
+
|
|
30536
|
+
/**
|
|
30537
|
+
* List of repeated fields within this message type.
|
|
30538
|
+
* @private {!Array<number>}
|
|
30539
|
+
* @const
|
|
30540
|
+
*/
|
|
30541
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.repeatedFields_ = [2,3];
|
|
30542
|
+
|
|
30543
|
+
|
|
30544
|
+
|
|
30545
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30546
|
+
/**
|
|
30547
|
+
* Creates an object representation of this proto.
|
|
30548
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30549
|
+
* Optional fields that are not set will be set to undefined.
|
|
30550
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30551
|
+
* For the list of reserved names please see:
|
|
30552
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30553
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30554
|
+
* JSPB instance for transitional soy proto support:
|
|
30555
|
+
* http://goto/soy-param-migration
|
|
30556
|
+
* @return {!Object}
|
|
30557
|
+
*/
|
|
30558
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
30559
|
+
return proto.agentbillingserviceapi.GetUserRelationshipsResponse.toObject(opt_includeInstance, this);
|
|
30560
|
+
};
|
|
30561
|
+
|
|
30562
|
+
|
|
30563
|
+
/**
|
|
30564
|
+
* Static version of the {@see toObject} method.
|
|
30565
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30566
|
+
* the JSPB instance for transitional soy proto support:
|
|
30567
|
+
* http://goto/soy-param-migration
|
|
30568
|
+
* @param {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} msg The msg instance to transform.
|
|
30569
|
+
* @return {!Object}
|
|
30570
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30571
|
+
*/
|
|
30572
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.toObject = function(includeInstance, msg) {
|
|
30573
|
+
var f, obj = {
|
|
30574
|
+
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
30575
|
+
agentsList: jspb.Message.toObjectList(msg.getAgentsList(),
|
|
30576
|
+
proto.agentbillingserviceapi.Agent.toObject, includeInstance),
|
|
30577
|
+
clientsList: jspb.Message.toObjectList(msg.getClientsList(),
|
|
30578
|
+
proto.agentbillingserviceapi.Client.toObject, includeInstance)
|
|
30579
|
+
};
|
|
30580
|
+
|
|
30581
|
+
if (includeInstance) {
|
|
30582
|
+
obj.$jspbMessageInstance = msg;
|
|
30583
|
+
}
|
|
30584
|
+
return obj;
|
|
30585
|
+
};
|
|
30586
|
+
}
|
|
30587
|
+
|
|
30588
|
+
|
|
30589
|
+
/**
|
|
30590
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30591
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30592
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsResponse}
|
|
30593
|
+
*/
|
|
30594
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.deserializeBinary = function(bytes) {
|
|
30595
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30596
|
+
var msg = new proto.agentbillingserviceapi.GetUserRelationshipsResponse;
|
|
30597
|
+
return proto.agentbillingserviceapi.GetUserRelationshipsResponse.deserializeBinaryFromReader(msg, reader);
|
|
30598
|
+
};
|
|
30599
|
+
|
|
30600
|
+
|
|
30601
|
+
/**
|
|
30602
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30603
|
+
* given reader into the given message object.
|
|
30604
|
+
* @param {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} msg The message object to deserialize into.
|
|
30605
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30606
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsResponse}
|
|
30607
|
+
*/
|
|
30608
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
30609
|
+
while (reader.nextField()) {
|
|
30610
|
+
if (reader.isEndGroup()) {
|
|
30611
|
+
break;
|
|
30612
|
+
}
|
|
30613
|
+
var field = reader.getFieldNumber();
|
|
30614
|
+
switch (field) {
|
|
30615
|
+
case 1:
|
|
30616
|
+
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
30617
|
+
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
30618
|
+
msg.setResponsecode(value);
|
|
30619
|
+
break;
|
|
30620
|
+
case 2:
|
|
30621
|
+
var value = new proto.agentbillingserviceapi.Agent;
|
|
30622
|
+
reader.readMessage(value,proto.agentbillingserviceapi.Agent.deserializeBinaryFromReader);
|
|
30623
|
+
msg.addAgents(value);
|
|
30624
|
+
break;
|
|
30625
|
+
case 3:
|
|
30626
|
+
var value = new proto.agentbillingserviceapi.Client;
|
|
30627
|
+
reader.readMessage(value,proto.agentbillingserviceapi.Client.deserializeBinaryFromReader);
|
|
30628
|
+
msg.addClients(value);
|
|
30629
|
+
break;
|
|
30630
|
+
default:
|
|
30631
|
+
reader.skipField();
|
|
30632
|
+
break;
|
|
30633
|
+
}
|
|
30634
|
+
}
|
|
30635
|
+
return msg;
|
|
30636
|
+
};
|
|
30637
|
+
|
|
30638
|
+
|
|
30639
|
+
/**
|
|
30640
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30641
|
+
* @return {!Uint8Array}
|
|
30642
|
+
*/
|
|
30643
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.serializeBinary = function() {
|
|
30644
|
+
var writer = new jspb.BinaryWriter();
|
|
30645
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.serializeBinaryToWriter(this, writer);
|
|
30646
|
+
return writer.getResultBuffer();
|
|
30647
|
+
};
|
|
30648
|
+
|
|
30649
|
+
|
|
30650
|
+
/**
|
|
30651
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30652
|
+
* format), writing to the given BinaryWriter.
|
|
30653
|
+
* @param {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} message
|
|
30654
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30655
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30656
|
+
*/
|
|
30657
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
30658
|
+
var f = undefined;
|
|
30659
|
+
f = message.getResponsecode();
|
|
30660
|
+
if (f != null) {
|
|
30661
|
+
writer.writeMessage(
|
|
30662
|
+
1,
|
|
30663
|
+
f,
|
|
30664
|
+
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
30665
|
+
);
|
|
30666
|
+
}
|
|
30667
|
+
f = message.getAgentsList();
|
|
30668
|
+
if (f.length > 0) {
|
|
30669
|
+
writer.writeRepeatedMessage(
|
|
30670
|
+
2,
|
|
30671
|
+
f,
|
|
30672
|
+
proto.agentbillingserviceapi.Agent.serializeBinaryToWriter
|
|
30673
|
+
);
|
|
30674
|
+
}
|
|
30675
|
+
f = message.getClientsList();
|
|
30676
|
+
if (f.length > 0) {
|
|
30677
|
+
writer.writeRepeatedMessage(
|
|
30678
|
+
3,
|
|
30679
|
+
f,
|
|
30680
|
+
proto.agentbillingserviceapi.Client.serializeBinaryToWriter
|
|
30681
|
+
);
|
|
30682
|
+
}
|
|
30683
|
+
};
|
|
30684
|
+
|
|
30685
|
+
|
|
30686
|
+
/**
|
|
30687
|
+
* optional ResponseCode responseCode = 1;
|
|
30688
|
+
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
30689
|
+
*/
|
|
30690
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.getResponsecode = function() {
|
|
30691
|
+
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
30692
|
+
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
30693
|
+
};
|
|
30694
|
+
|
|
30695
|
+
|
|
30696
|
+
/**
|
|
30697
|
+
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
30698
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} returns this
|
|
30699
|
+
*/
|
|
30700
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.setResponsecode = function(value) {
|
|
30701
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
30702
|
+
};
|
|
30703
|
+
|
|
30704
|
+
|
|
30705
|
+
/**
|
|
30706
|
+
* Clears the message field making it undefined.
|
|
30707
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} returns this
|
|
30708
|
+
*/
|
|
30709
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.clearResponsecode = function() {
|
|
30710
|
+
return this.setResponsecode(undefined);
|
|
30711
|
+
};
|
|
30712
|
+
|
|
30713
|
+
|
|
30714
|
+
/**
|
|
30715
|
+
* Returns whether this field is set.
|
|
30716
|
+
* @return {boolean}
|
|
30717
|
+
*/
|
|
30718
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.hasResponsecode = function() {
|
|
30719
|
+
return jspb.Message.getField(this, 1) != null;
|
|
30720
|
+
};
|
|
30721
|
+
|
|
30722
|
+
|
|
30723
|
+
/**
|
|
30724
|
+
* repeated Agent agents = 2;
|
|
30725
|
+
* @return {!Array<!proto.agentbillingserviceapi.Agent>}
|
|
30726
|
+
*/
|
|
30727
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.getAgentsList = function() {
|
|
30728
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.Agent>} */ (
|
|
30729
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.Agent, 2));
|
|
30730
|
+
};
|
|
30731
|
+
|
|
30732
|
+
|
|
30733
|
+
/**
|
|
30734
|
+
* @param {!Array<!proto.agentbillingserviceapi.Agent>} value
|
|
30735
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} returns this
|
|
30736
|
+
*/
|
|
30737
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.setAgentsList = function(value) {
|
|
30738
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
30739
|
+
};
|
|
30740
|
+
|
|
30741
|
+
|
|
30742
|
+
/**
|
|
30743
|
+
* @param {!proto.agentbillingserviceapi.Agent=} opt_value
|
|
30744
|
+
* @param {number=} opt_index
|
|
30745
|
+
* @return {!proto.agentbillingserviceapi.Agent}
|
|
30746
|
+
*/
|
|
30747
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.addAgents = function(opt_value, opt_index) {
|
|
30748
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.agentbillingserviceapi.Agent, opt_index);
|
|
30749
|
+
};
|
|
30750
|
+
|
|
30751
|
+
|
|
30752
|
+
/**
|
|
30753
|
+
* Clears the list making it empty but non-null.
|
|
30754
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} returns this
|
|
30755
|
+
*/
|
|
30756
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.clearAgentsList = function() {
|
|
30757
|
+
return this.setAgentsList([]);
|
|
30758
|
+
};
|
|
30759
|
+
|
|
30760
|
+
|
|
30761
|
+
/**
|
|
30762
|
+
* repeated Client clients = 3;
|
|
30763
|
+
* @return {!Array<!proto.agentbillingserviceapi.Client>}
|
|
30764
|
+
*/
|
|
30765
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.getClientsList = function() {
|
|
30766
|
+
return /** @type{!Array<!proto.agentbillingserviceapi.Client>} */ (
|
|
30767
|
+
jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.Client, 3));
|
|
30768
|
+
};
|
|
30769
|
+
|
|
30770
|
+
|
|
30771
|
+
/**
|
|
30772
|
+
* @param {!Array<!proto.agentbillingserviceapi.Client>} value
|
|
30773
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} returns this
|
|
30774
|
+
*/
|
|
30775
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.setClientsList = function(value) {
|
|
30776
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
30777
|
+
};
|
|
30778
|
+
|
|
30779
|
+
|
|
30780
|
+
/**
|
|
30781
|
+
* @param {!proto.agentbillingserviceapi.Client=} opt_value
|
|
30782
|
+
* @param {number=} opt_index
|
|
30783
|
+
* @return {!proto.agentbillingserviceapi.Client}
|
|
30784
|
+
*/
|
|
30785
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.addClients = function(opt_value, opt_index) {
|
|
30786
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.agentbillingserviceapi.Client, opt_index);
|
|
30787
|
+
};
|
|
30788
|
+
|
|
30789
|
+
|
|
30790
|
+
/**
|
|
30791
|
+
* Clears the list making it empty but non-null.
|
|
30792
|
+
* @return {!proto.agentbillingserviceapi.GetUserRelationshipsResponse} returns this
|
|
30793
|
+
*/
|
|
30794
|
+
proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.clearClientsList = function() {
|
|
30795
|
+
return this.setClientsList([]);
|
|
30796
|
+
};
|
|
30797
|
+
|
|
30798
|
+
|
|
30361
30799
|
/**
|
|
30362
30800
|
* @enum {number}
|
|
30363
30801
|
*/
|