@sniipwebmaster/agent-billing-client-grpcweb 24.2.1616 → 24.3.1654

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.
@@ -1542,6 +1542,67 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
1542
1542
  };
1543
1543
 
1544
1544
 
1545
+ /**
1546
+ * @const
1547
+ * @type {!grpc.web.MethodDescriptor<
1548
+ * !proto.agentbillingserviceapi.CheckConnectionRequest,
1549
+ * !proto.agentbillingserviceapi.ResponseCode>}
1550
+ */
1551
+ const methodDescriptor_AgentBillingServiceAPIService_CheckConnection = new grpc.web.MethodDescriptor(
1552
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CheckConnection',
1553
+ grpc.web.MethodType.UNARY,
1554
+ proto.agentbillingserviceapi.CheckConnectionRequest,
1555
+ proto.agentbillingserviceapi.ResponseCode,
1556
+ /**
1557
+ * @param {!proto.agentbillingserviceapi.CheckConnectionRequest} request
1558
+ * @return {!Uint8Array}
1559
+ */
1560
+ function(request) {
1561
+ return request.serializeBinary();
1562
+ },
1563
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
1564
+ );
1565
+
1566
+
1567
+ /**
1568
+ * @param {!proto.agentbillingserviceapi.CheckConnectionRequest} request The
1569
+ * request proto
1570
+ * @param {?Object<string, string>} metadata User defined
1571
+ * call metadata
1572
+ * @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.ResponseCode)}
1573
+ * callback The callback function(error, response)
1574
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
1575
+ * The XHR Node Readable Stream
1576
+ */
1577
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.checkConnection =
1578
+ function(request, metadata, callback) {
1579
+ return this.client_.rpcCall(this.hostname_ +
1580
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CheckConnection',
1581
+ request,
1582
+ metadata || {},
1583
+ methodDescriptor_AgentBillingServiceAPIService_CheckConnection,
1584
+ callback);
1585
+ };
1586
+
1587
+
1588
+ /**
1589
+ * @param {!proto.agentbillingserviceapi.CheckConnectionRequest} request The
1590
+ * request proto
1591
+ * @param {?Object<string, string>=} metadata User defined
1592
+ * call metadata
1593
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
1594
+ * Promise that resolves to the response
1595
+ */
1596
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.checkConnection =
1597
+ function(request, metadata) {
1598
+ return this.client_.unaryCall(this.hostname_ +
1599
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CheckConnection',
1600
+ request,
1601
+ metadata || {},
1602
+ methodDescriptor_AgentBillingServiceAPIService_CheckConnection);
1603
+ };
1604
+
1605
+
1545
1606
  /**
1546
1607
  * @const
1547
1608
  * @type {!grpc.web.MethodDescriptor<
@@ -31,6 +31,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.BillConfig', null, global);
31
31
  goog.exportSymbol('proto.agentbillingserviceapi.BillConfigRequest', null, global);
32
32
  goog.exportSymbol('proto.agentbillingserviceapi.BillScanType', null, global);
33
33
  goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
34
+ goog.exportSymbol('proto.agentbillingserviceapi.CheckConnectionRequest', null, global);
34
35
  goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
35
36
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
36
37
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillRequest', null, global);
@@ -476,6 +477,27 @@ if (goog.DEBUG && !COMPILED) {
476
477
  */
477
478
  proto.agentbillingserviceapi.BillConfigRequest.displayName = 'proto.agentbillingserviceapi.BillConfigRequest';
478
479
  }
480
+ /**
481
+ * Generated by JsPbCodeGenerator.
482
+ * @param {Array=} opt_data Optional initial data array, typically from a
483
+ * server response, or constructed directly in Javascript. The array is used
484
+ * in place and becomes part of the constructed object. It is not cloned.
485
+ * If no data is provided, the constructed object will be empty, but still
486
+ * valid.
487
+ * @extends {jspb.Message}
488
+ * @constructor
489
+ */
490
+ proto.agentbillingserviceapi.CheckConnectionRequest = function(opt_data) {
491
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
492
+ };
493
+ goog.inherits(proto.agentbillingserviceapi.CheckConnectionRequest, jspb.Message);
494
+ if (goog.DEBUG && !COMPILED) {
495
+ /**
496
+ * @public
497
+ * @override
498
+ */
499
+ proto.agentbillingserviceapi.CheckConnectionRequest.displayName = 'proto.agentbillingserviceapi.CheckConnectionRequest';
500
+ }
479
501
  /**
480
502
  * Generated by JsPbCodeGenerator.
481
503
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7421,6 +7443,166 @@ proto.agentbillingserviceapi.BillConfigRequest.prototype.setBillerconfigid = fun
7421
7443
 
7422
7444
 
7423
7445
 
7446
+
7447
+
7448
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7449
+ /**
7450
+ * Creates an object representation of this proto.
7451
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7452
+ * Optional fields that are not set will be set to undefined.
7453
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7454
+ * For the list of reserved names please see:
7455
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7456
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7457
+ * JSPB instance for transitional soy proto support:
7458
+ * http://goto/soy-param-migration
7459
+ * @return {!Object}
7460
+ */
7461
+ proto.agentbillingserviceapi.CheckConnectionRequest.prototype.toObject = function(opt_includeInstance) {
7462
+ return proto.agentbillingserviceapi.CheckConnectionRequest.toObject(opt_includeInstance, this);
7463
+ };
7464
+
7465
+
7466
+ /**
7467
+ * Static version of the {@see toObject} method.
7468
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7469
+ * the JSPB instance for transitional soy proto support:
7470
+ * http://goto/soy-param-migration
7471
+ * @param {!proto.agentbillingserviceapi.CheckConnectionRequest} msg The msg instance to transform.
7472
+ * @return {!Object}
7473
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7474
+ */
7475
+ proto.agentbillingserviceapi.CheckConnectionRequest.toObject = function(includeInstance, msg) {
7476
+ var f, obj = {
7477
+ agentid: jspb.Message.getFieldWithDefault(msg, 1, 0),
7478
+ clientid: jspb.Message.getFieldWithDefault(msg, 2, 0)
7479
+ };
7480
+
7481
+ if (includeInstance) {
7482
+ obj.$jspbMessageInstance = msg;
7483
+ }
7484
+ return obj;
7485
+ };
7486
+ }
7487
+
7488
+
7489
+ /**
7490
+ * Deserializes binary data (in protobuf wire format).
7491
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7492
+ * @return {!proto.agentbillingserviceapi.CheckConnectionRequest}
7493
+ */
7494
+ proto.agentbillingserviceapi.CheckConnectionRequest.deserializeBinary = function(bytes) {
7495
+ var reader = new jspb.BinaryReader(bytes);
7496
+ var msg = new proto.agentbillingserviceapi.CheckConnectionRequest;
7497
+ return proto.agentbillingserviceapi.CheckConnectionRequest.deserializeBinaryFromReader(msg, reader);
7498
+ };
7499
+
7500
+
7501
+ /**
7502
+ * Deserializes binary data (in protobuf wire format) from the
7503
+ * given reader into the given message object.
7504
+ * @param {!proto.agentbillingserviceapi.CheckConnectionRequest} msg The message object to deserialize into.
7505
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7506
+ * @return {!proto.agentbillingserviceapi.CheckConnectionRequest}
7507
+ */
7508
+ proto.agentbillingserviceapi.CheckConnectionRequest.deserializeBinaryFromReader = function(msg, reader) {
7509
+ while (reader.nextField()) {
7510
+ if (reader.isEndGroup()) {
7511
+ break;
7512
+ }
7513
+ var field = reader.getFieldNumber();
7514
+ switch (field) {
7515
+ case 1:
7516
+ var value = /** @type {number} */ (reader.readInt64());
7517
+ msg.setAgentid(value);
7518
+ break;
7519
+ case 2:
7520
+ var value = /** @type {number} */ (reader.readInt64());
7521
+ msg.setClientid(value);
7522
+ break;
7523
+ default:
7524
+ reader.skipField();
7525
+ break;
7526
+ }
7527
+ }
7528
+ return msg;
7529
+ };
7530
+
7531
+
7532
+ /**
7533
+ * Serializes the message to binary data (in protobuf wire format).
7534
+ * @return {!Uint8Array}
7535
+ */
7536
+ proto.agentbillingserviceapi.CheckConnectionRequest.prototype.serializeBinary = function() {
7537
+ var writer = new jspb.BinaryWriter();
7538
+ proto.agentbillingserviceapi.CheckConnectionRequest.serializeBinaryToWriter(this, writer);
7539
+ return writer.getResultBuffer();
7540
+ };
7541
+
7542
+
7543
+ /**
7544
+ * Serializes the given message to binary data (in protobuf wire
7545
+ * format), writing to the given BinaryWriter.
7546
+ * @param {!proto.agentbillingserviceapi.CheckConnectionRequest} message
7547
+ * @param {!jspb.BinaryWriter} writer
7548
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7549
+ */
7550
+ proto.agentbillingserviceapi.CheckConnectionRequest.serializeBinaryToWriter = function(message, writer) {
7551
+ var f = undefined;
7552
+ f = message.getAgentid();
7553
+ if (f !== 0) {
7554
+ writer.writeInt64(
7555
+ 1,
7556
+ f
7557
+ );
7558
+ }
7559
+ f = message.getClientid();
7560
+ if (f !== 0) {
7561
+ writer.writeInt64(
7562
+ 2,
7563
+ f
7564
+ );
7565
+ }
7566
+ };
7567
+
7568
+
7569
+ /**
7570
+ * optional int64 agentId = 1;
7571
+ * @return {number}
7572
+ */
7573
+ proto.agentbillingserviceapi.CheckConnectionRequest.prototype.getAgentid = function() {
7574
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7575
+ };
7576
+
7577
+
7578
+ /**
7579
+ * @param {number} value
7580
+ * @return {!proto.agentbillingserviceapi.CheckConnectionRequest} returns this
7581
+ */
7582
+ proto.agentbillingserviceapi.CheckConnectionRequest.prototype.setAgentid = function(value) {
7583
+ return jspb.Message.setProto3IntField(this, 1, value);
7584
+ };
7585
+
7586
+
7587
+ /**
7588
+ * optional int64 clientId = 2;
7589
+ * @return {number}
7590
+ */
7591
+ proto.agentbillingserviceapi.CheckConnectionRequest.prototype.getClientid = function() {
7592
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
7593
+ };
7594
+
7595
+
7596
+ /**
7597
+ * @param {number} value
7598
+ * @return {!proto.agentbillingserviceapi.CheckConnectionRequest} returns this
7599
+ */
7600
+ proto.agentbillingserviceapi.CheckConnectionRequest.prototype.setClientid = function(value) {
7601
+ return jspb.Message.setProto3IntField(this, 2, value);
7602
+ };
7603
+
7604
+
7605
+
7424
7606
  /**
7425
7607
  * List of repeated fields within this message type.
7426
7608
  * @private {!Array<number>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "24.2.1616",
3
+ "version": "24.3.1654",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",