@sniipwebmaster/agent-billing-client-grpcweb 23.6.48 → 23.6.57
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.
- package/dependancies/service_grpc_web_pb.js +80 -0
- package/dependancies/service_pb.js +140 -138
- package/package.json +1 -1
|
@@ -312,6 +312,86 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
|
|
|
312
312
|
};
|
|
313
313
|
|
|
314
314
|
|
|
315
|
+
/**
|
|
316
|
+
* @const
|
|
317
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
318
|
+
* !proto.agentbillingserviceapi.DisconnectClientRequest,
|
|
319
|
+
* !proto.agentbillingserviceapi.ResponseCode>}
|
|
320
|
+
*/
|
|
321
|
+
const methodDescriptor_AgentBillingServiceAPIService_DisconnectClient = new grpc.web.MethodDescriptor(
|
|
322
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectClient',
|
|
323
|
+
grpc.web.MethodType.UNARY,
|
|
324
|
+
proto.agentbillingserviceapi.DisconnectClientRequest,
|
|
325
|
+
proto.agentbillingserviceapi.ResponseCode,
|
|
326
|
+
/**
|
|
327
|
+
* @param {!proto.agentbillingserviceapi.DisconnectClientRequest} request
|
|
328
|
+
* @return {!Uint8Array}
|
|
329
|
+
*/
|
|
330
|
+
function(request) {
|
|
331
|
+
return request.serializeBinary();
|
|
332
|
+
},
|
|
333
|
+
proto.agentbillingserviceapi.ResponseCode.deserializeBinary
|
|
334
|
+
);
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @const
|
|
339
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
340
|
+
* !proto.agentbillingserviceapi.DisconnectClientRequest,
|
|
341
|
+
* !proto.agentbillingserviceapi.ResponseCode>}
|
|
342
|
+
*/
|
|
343
|
+
const methodInfo_AgentBillingServiceAPIService_DisconnectClient = new grpc.web.AbstractClientBase.MethodInfo(
|
|
344
|
+
proto.agentbillingserviceapi.ResponseCode,
|
|
345
|
+
/**
|
|
346
|
+
* @param {!proto.agentbillingserviceapi.DisconnectClientRequest} request
|
|
347
|
+
* @return {!Uint8Array}
|
|
348
|
+
*/
|
|
349
|
+
function(request) {
|
|
350
|
+
return request.serializeBinary();
|
|
351
|
+
},
|
|
352
|
+
proto.agentbillingserviceapi.ResponseCode.deserializeBinary
|
|
353
|
+
);
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @param {!proto.agentbillingserviceapi.DisconnectClientRequest} request The
|
|
358
|
+
* request proto
|
|
359
|
+
* @param {?Object<string, string>} metadata User defined
|
|
360
|
+
* call metadata
|
|
361
|
+
* @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
|
|
362
|
+
* callback The callback function(error, response)
|
|
363
|
+
* @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
|
|
364
|
+
* The XHR Node Readable Stream
|
|
365
|
+
*/
|
|
366
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.disconnectClient =
|
|
367
|
+
function(request, metadata, callback) {
|
|
368
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
369
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectClient',
|
|
370
|
+
request,
|
|
371
|
+
metadata || {},
|
|
372
|
+
methodDescriptor_AgentBillingServiceAPIService_DisconnectClient,
|
|
373
|
+
callback);
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @param {!proto.agentbillingserviceapi.DisconnectClientRequest} request The
|
|
379
|
+
* request proto
|
|
380
|
+
* @param {?Object<string, string>} metadata User defined
|
|
381
|
+
* call metadata
|
|
382
|
+
* @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
|
|
383
|
+
* Promise that resolves to the response
|
|
384
|
+
*/
|
|
385
|
+
proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.disconnectClient =
|
|
386
|
+
function(request, metadata) {
|
|
387
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
388
|
+
'/agentbillingserviceapi.AgentBillingServiceAPIService/DisconnectClient',
|
|
389
|
+
request,
|
|
390
|
+
metadata || {},
|
|
391
|
+
methodDescriptor_AgentBillingServiceAPIService_DisconnectClient);
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
|
|
315
395
|
/**
|
|
316
396
|
* @const
|
|
317
397
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -19,6 +19,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null,
|
|
|
19
19
|
goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
|
|
20
20
|
goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
|
|
21
21
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
|
|
22
|
+
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
|
|
22
23
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentsRequest', null, global);
|
|
23
24
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentsResponse', null, global);
|
|
24
25
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsResponse', null, global);
|
|
@@ -131,6 +132,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
131
132
|
*/
|
|
132
133
|
proto.agentbillingserviceapi.DisconnectAgentRequest.displayName = 'proto.agentbillingserviceapi.DisconnectAgentRequest';
|
|
133
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Generated by JsPbCodeGenerator.
|
|
137
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
138
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
139
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
140
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
141
|
+
* valid.
|
|
142
|
+
* @extends {jspb.Message}
|
|
143
|
+
* @constructor
|
|
144
|
+
*/
|
|
145
|
+
proto.agentbillingserviceapi.DisconnectClientRequest = function(opt_data) {
|
|
146
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
147
|
+
};
|
|
148
|
+
goog.inherits(proto.agentbillingserviceapi.DisconnectClientRequest, jspb.Message);
|
|
149
|
+
if (goog.DEBUG && !COMPILED) {
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
* @override
|
|
153
|
+
*/
|
|
154
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.displayName = 'proto.agentbillingserviceapi.DisconnectClientRequest';
|
|
155
|
+
}
|
|
134
156
|
/**
|
|
135
157
|
* Generated by JsPbCodeGenerator.
|
|
136
158
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -650,8 +672,7 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.toObject = funct
|
|
|
650
672
|
*/
|
|
651
673
|
proto.agentbillingserviceapi.CancelAgentInviteRequest.toObject = function(includeInstance, msg) {
|
|
652
674
|
var f, obj = {
|
|
653
|
-
agentemail: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
654
|
-
clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
675
|
+
agentemail: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
655
676
|
};
|
|
656
677
|
|
|
657
678
|
if (includeInstance) {
|
|
@@ -692,10 +713,6 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.deserializeBinaryFromReade
|
|
|
692
713
|
var value = /** @type {string} */ (reader.readString());
|
|
693
714
|
msg.setAgentemail(value);
|
|
694
715
|
break;
|
|
695
|
-
case 2:
|
|
696
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
697
|
-
msg.setClientuserid(value);
|
|
698
|
-
break;
|
|
699
716
|
default:
|
|
700
717
|
reader.skipField();
|
|
701
718
|
break;
|
|
@@ -732,13 +749,6 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.serializeBinaryToWriter =
|
|
|
732
749
|
f
|
|
733
750
|
);
|
|
734
751
|
}
|
|
735
|
-
f = message.getClientuserid();
|
|
736
|
-
if (f !== 0) {
|
|
737
|
-
writer.writeInt64(
|
|
738
|
-
2,
|
|
739
|
-
f
|
|
740
|
-
);
|
|
741
|
-
}
|
|
742
752
|
};
|
|
743
753
|
|
|
744
754
|
|
|
@@ -760,24 +770,6 @@ proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.setAgentemail =
|
|
|
760
770
|
};
|
|
761
771
|
|
|
762
772
|
|
|
763
|
-
/**
|
|
764
|
-
* optional int64 clientUserId = 2;
|
|
765
|
-
* @return {number}
|
|
766
|
-
*/
|
|
767
|
-
proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.getClientuserid = function() {
|
|
768
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
769
|
-
};
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
/**
|
|
773
|
-
* @param {number} value
|
|
774
|
-
* @return {!proto.agentbillingserviceapi.CancelAgentInviteRequest} returns this
|
|
775
|
-
*/
|
|
776
|
-
proto.agentbillingserviceapi.CancelAgentInviteRequest.prototype.setClientuserid = function(value) {
|
|
777
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
778
|
-
};
|
|
779
|
-
|
|
780
|
-
|
|
781
773
|
|
|
782
774
|
|
|
783
775
|
|
|
@@ -1270,8 +1262,7 @@ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.toObject = function(o
|
|
|
1270
1262
|
*/
|
|
1271
1263
|
proto.agentbillingserviceapi.ConnectAgentRequest.toObject = function(includeInstance, msg) {
|
|
1272
1264
|
var f, obj = {
|
|
1273
|
-
|
|
1274
|
-
clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
1265
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1275
1266
|
};
|
|
1276
1267
|
|
|
1277
1268
|
if (includeInstance) {
|
|
@@ -1309,10 +1300,6 @@ proto.agentbillingserviceapi.ConnectAgentRequest.deserializeBinaryFromReader = f
|
|
|
1309
1300
|
var field = reader.getFieldNumber();
|
|
1310
1301
|
switch (field) {
|
|
1311
1302
|
case 1:
|
|
1312
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1313
|
-
msg.setAgentuserid(value);
|
|
1314
|
-
break;
|
|
1315
|
-
case 2:
|
|
1316
1303
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1317
1304
|
msg.setClientuserid(value);
|
|
1318
1305
|
break;
|
|
@@ -1345,17 +1332,10 @@ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.serializeBinary = fun
|
|
|
1345
1332
|
*/
|
|
1346
1333
|
proto.agentbillingserviceapi.ConnectAgentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1347
1334
|
var f = undefined;
|
|
1348
|
-
f = message.getAgentuserid();
|
|
1349
|
-
if (f !== 0) {
|
|
1350
|
-
writer.writeInt64(
|
|
1351
|
-
1,
|
|
1352
|
-
f
|
|
1353
|
-
);
|
|
1354
|
-
}
|
|
1355
1335
|
f = message.getClientuserid();
|
|
1356
1336
|
if (f !== 0) {
|
|
1357
1337
|
writer.writeInt64(
|
|
1358
|
-
|
|
1338
|
+
1,
|
|
1359
1339
|
f
|
|
1360
1340
|
);
|
|
1361
1341
|
}
|
|
@@ -1363,29 +1343,11 @@ proto.agentbillingserviceapi.ConnectAgentRequest.serializeBinaryToWriter = funct
|
|
|
1363
1343
|
|
|
1364
1344
|
|
|
1365
1345
|
/**
|
|
1366
|
-
* optional int64
|
|
1367
|
-
* @return {number}
|
|
1368
|
-
*/
|
|
1369
|
-
proto.agentbillingserviceapi.ConnectAgentRequest.prototype.getAgentuserid = function() {
|
|
1370
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1371
|
-
};
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* @param {number} value
|
|
1376
|
-
* @return {!proto.agentbillingserviceapi.ConnectAgentRequest} returns this
|
|
1377
|
-
*/
|
|
1378
|
-
proto.agentbillingserviceapi.ConnectAgentRequest.prototype.setAgentuserid = function(value) {
|
|
1379
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1380
|
-
};
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
/**
|
|
1384
|
-
* optional int64 clientUserId = 2;
|
|
1346
|
+
* optional int64 clientUserId = 1;
|
|
1385
1347
|
* @return {number}
|
|
1386
1348
|
*/
|
|
1387
1349
|
proto.agentbillingserviceapi.ConnectAgentRequest.prototype.getClientuserid = function() {
|
|
1388
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1350
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1389
1351
|
};
|
|
1390
1352
|
|
|
1391
1353
|
|
|
@@ -1394,7 +1356,7 @@ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.getClientuserid = fun
|
|
|
1394
1356
|
* @return {!proto.agentbillingserviceapi.ConnectAgentRequest} returns this
|
|
1395
1357
|
*/
|
|
1396
1358
|
proto.agentbillingserviceapi.ConnectAgentRequest.prototype.setClientuserid = function(value) {
|
|
1397
|
-
return jspb.Message.setProto3IntField(this,
|
|
1359
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1398
1360
|
};
|
|
1399
1361
|
|
|
1400
1362
|
|
|
@@ -1430,9 +1392,7 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.toObject = functio
|
|
|
1430
1392
|
*/
|
|
1431
1393
|
proto.agentbillingserviceapi.DisconnectAgentRequest.toObject = function(includeInstance, msg) {
|
|
1432
1394
|
var f, obj = {
|
|
1433
|
-
agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1434
|
-
clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1435
|
-
triggeredbyagent: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
1395
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1436
1396
|
};
|
|
1437
1397
|
|
|
1438
1398
|
if (includeInstance) {
|
|
@@ -1473,14 +1433,6 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.deserializeBinaryFromReader
|
|
|
1473
1433
|
var value = /** @type {number} */ (reader.readInt64());
|
|
1474
1434
|
msg.setAgentuserid(value);
|
|
1475
1435
|
break;
|
|
1476
|
-
case 2:
|
|
1477
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
1478
|
-
msg.setClientuserid(value);
|
|
1479
|
-
break;
|
|
1480
|
-
case 3:
|
|
1481
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
1482
|
-
msg.setTriggeredbyagent(value);
|
|
1483
|
-
break;
|
|
1484
1436
|
default:
|
|
1485
1437
|
reader.skipField();
|
|
1486
1438
|
break;
|
|
@@ -1517,20 +1469,6 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.serializeBinaryToWriter = fu
|
|
|
1517
1469
|
f
|
|
1518
1470
|
);
|
|
1519
1471
|
}
|
|
1520
|
-
f = message.getClientuserid();
|
|
1521
|
-
if (f !== 0) {
|
|
1522
|
-
writer.writeInt64(
|
|
1523
|
-
2,
|
|
1524
|
-
f
|
|
1525
|
-
);
|
|
1526
|
-
}
|
|
1527
|
-
f = message.getTriggeredbyagent();
|
|
1528
|
-
if (f) {
|
|
1529
|
-
writer.writeBool(
|
|
1530
|
-
3,
|
|
1531
|
-
f
|
|
1532
|
-
);
|
|
1533
|
-
}
|
|
1534
1472
|
};
|
|
1535
1473
|
|
|
1536
1474
|
|
|
@@ -1552,39 +1490,133 @@ proto.agentbillingserviceapi.DisconnectAgentRequest.prototype.setAgentuserid = f
|
|
|
1552
1490
|
};
|
|
1553
1491
|
|
|
1554
1492
|
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1555
1497
|
/**
|
|
1556
|
-
*
|
|
1557
|
-
*
|
|
1498
|
+
* Creates an object representation of this proto.
|
|
1499
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1500
|
+
* Optional fields that are not set will be set to undefined.
|
|
1501
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1502
|
+
* For the list of reserved names please see:
|
|
1503
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1504
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1505
|
+
* JSPB instance for transitional soy proto support:
|
|
1506
|
+
* http://goto/soy-param-migration
|
|
1507
|
+
* @return {!Object}
|
|
1558
1508
|
*/
|
|
1559
|
-
proto.agentbillingserviceapi.
|
|
1560
|
-
return
|
|
1509
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1510
|
+
return proto.agentbillingserviceapi.DisconnectClientRequest.toObject(opt_includeInstance, this);
|
|
1561
1511
|
};
|
|
1562
1512
|
|
|
1563
1513
|
|
|
1564
1514
|
/**
|
|
1565
|
-
* @
|
|
1566
|
-
* @
|
|
1515
|
+
* Static version of the {@see toObject} method.
|
|
1516
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1517
|
+
* the JSPB instance for transitional soy proto support:
|
|
1518
|
+
* http://goto/soy-param-migration
|
|
1519
|
+
* @param {!proto.agentbillingserviceapi.DisconnectClientRequest} msg The msg instance to transform.
|
|
1520
|
+
* @return {!Object}
|
|
1521
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1567
1522
|
*/
|
|
1568
|
-
proto.agentbillingserviceapi.
|
|
1569
|
-
|
|
1523
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.toObject = function(includeInstance, msg) {
|
|
1524
|
+
var f, obj = {
|
|
1525
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
if (includeInstance) {
|
|
1529
|
+
obj.$jspbMessageInstance = msg;
|
|
1530
|
+
}
|
|
1531
|
+
return obj;
|
|
1570
1532
|
};
|
|
1533
|
+
}
|
|
1571
1534
|
|
|
1572
1535
|
|
|
1573
1536
|
/**
|
|
1574
|
-
*
|
|
1575
|
-
* @
|
|
1537
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1538
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1539
|
+
* @return {!proto.agentbillingserviceapi.DisconnectClientRequest}
|
|
1576
1540
|
*/
|
|
1577
|
-
proto.agentbillingserviceapi.
|
|
1578
|
-
|
|
1541
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinary = function(bytes) {
|
|
1542
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1543
|
+
var msg = new proto.agentbillingserviceapi.DisconnectClientRequest;
|
|
1544
|
+
return proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinaryFromReader(msg, reader);
|
|
1579
1545
|
};
|
|
1580
1546
|
|
|
1581
1547
|
|
|
1582
1548
|
/**
|
|
1583
|
-
*
|
|
1584
|
-
*
|
|
1549
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1550
|
+
* given reader into the given message object.
|
|
1551
|
+
* @param {!proto.agentbillingserviceapi.DisconnectClientRequest} msg The message object to deserialize into.
|
|
1552
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1553
|
+
* @return {!proto.agentbillingserviceapi.DisconnectClientRequest}
|
|
1554
|
+
*/
|
|
1555
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1556
|
+
while (reader.nextField()) {
|
|
1557
|
+
if (reader.isEndGroup()) {
|
|
1558
|
+
break;
|
|
1559
|
+
}
|
|
1560
|
+
var field = reader.getFieldNumber();
|
|
1561
|
+
switch (field) {
|
|
1562
|
+
case 1:
|
|
1563
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1564
|
+
msg.setClientuserid(value);
|
|
1565
|
+
break;
|
|
1566
|
+
default:
|
|
1567
|
+
reader.skipField();
|
|
1568
|
+
break;
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
return msg;
|
|
1572
|
+
};
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1577
|
+
* @return {!Uint8Array}
|
|
1578
|
+
*/
|
|
1579
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.prototype.serializeBinary = function() {
|
|
1580
|
+
var writer = new jspb.BinaryWriter();
|
|
1581
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.serializeBinaryToWriter(this, writer);
|
|
1582
|
+
return writer.getResultBuffer();
|
|
1583
|
+
};
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1588
|
+
* format), writing to the given BinaryWriter.
|
|
1589
|
+
* @param {!proto.agentbillingserviceapi.DisconnectClientRequest} message
|
|
1590
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1591
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1592
|
+
*/
|
|
1593
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1594
|
+
var f = undefined;
|
|
1595
|
+
f = message.getClientuserid();
|
|
1596
|
+
if (f !== 0) {
|
|
1597
|
+
writer.writeInt64(
|
|
1598
|
+
1,
|
|
1599
|
+
f
|
|
1600
|
+
);
|
|
1601
|
+
}
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* optional int64 clientUserId = 1;
|
|
1607
|
+
* @return {number}
|
|
1585
1608
|
*/
|
|
1586
|
-
proto.agentbillingserviceapi.
|
|
1587
|
-
return jspb.Message.
|
|
1609
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.prototype.getClientuserid = function() {
|
|
1610
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* @param {number} value
|
|
1616
|
+
* @return {!proto.agentbillingserviceapi.DisconnectClientRequest} returns this
|
|
1617
|
+
*/
|
|
1618
|
+
proto.agentbillingserviceapi.DisconnectClientRequest.prototype.setClientuserid = function(value) {
|
|
1619
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1588
1620
|
};
|
|
1589
1621
|
|
|
1590
1622
|
|
|
@@ -2472,8 +2504,7 @@ proto.agentbillingserviceapi.InviteAgentRequest.prototype.toObject = function(op
|
|
|
2472
2504
|
*/
|
|
2473
2505
|
proto.agentbillingserviceapi.InviteAgentRequest.toObject = function(includeInstance, msg) {
|
|
2474
2506
|
var f, obj = {
|
|
2475
|
-
agentemail: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2476
|
-
clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2507
|
+
agentemail: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2477
2508
|
};
|
|
2478
2509
|
|
|
2479
2510
|
if (includeInstance) {
|
|
@@ -2514,10 +2545,6 @@ proto.agentbillingserviceapi.InviteAgentRequest.deserializeBinaryFromReader = fu
|
|
|
2514
2545
|
var value = /** @type {string} */ (reader.readString());
|
|
2515
2546
|
msg.setAgentemail(value);
|
|
2516
2547
|
break;
|
|
2517
|
-
case 2:
|
|
2518
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
2519
|
-
msg.setClientuserid(value);
|
|
2520
|
-
break;
|
|
2521
2548
|
default:
|
|
2522
2549
|
reader.skipField();
|
|
2523
2550
|
break;
|
|
@@ -2554,13 +2581,6 @@ proto.agentbillingserviceapi.InviteAgentRequest.serializeBinaryToWriter = functi
|
|
|
2554
2581
|
f
|
|
2555
2582
|
);
|
|
2556
2583
|
}
|
|
2557
|
-
f = message.getClientuserid();
|
|
2558
|
-
if (f !== 0) {
|
|
2559
|
-
writer.writeInt64(
|
|
2560
|
-
2,
|
|
2561
|
-
f
|
|
2562
|
-
);
|
|
2563
|
-
}
|
|
2564
2584
|
};
|
|
2565
2585
|
|
|
2566
2586
|
|
|
@@ -2582,24 +2602,6 @@ proto.agentbillingserviceapi.InviteAgentRequest.prototype.setAgentemail = functi
|
|
|
2582
2602
|
};
|
|
2583
2603
|
|
|
2584
2604
|
|
|
2585
|
-
/**
|
|
2586
|
-
* optional int64 clientUserId = 2;
|
|
2587
|
-
* @return {number}
|
|
2588
|
-
*/
|
|
2589
|
-
proto.agentbillingserviceapi.InviteAgentRequest.prototype.getClientuserid = function() {
|
|
2590
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2591
|
-
};
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
/**
|
|
2595
|
-
* @param {number} value
|
|
2596
|
-
* @return {!proto.agentbillingserviceapi.InviteAgentRequest} returns this
|
|
2597
|
-
*/
|
|
2598
|
-
proto.agentbillingserviceapi.InviteAgentRequest.prototype.setClientuserid = function(value) {
|
|
2599
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2600
|
-
};
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
2605
|
|
|
2604
2606
|
|
|
2605
2607
|
|