@sniipwebmaster/agent-billing-client-grpcweb 26.11.5439 → 26.12.5473

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.
@@ -3906,6 +3906,67 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
3906
3906
  };
3907
3907
 
3908
3908
 
3909
+ /**
3910
+ * @const
3911
+ * @type {!grpc.web.MethodDescriptor<
3912
+ * !proto.agentbillingserviceapi.CheckAgentClientConnectionRequest,
3913
+ * !proto.agentbillingserviceapi.CheckAgentClientConnectionResponse>}
3914
+ */
3915
+ const methodDescriptor_AgentBillingServiceAPIService_CheckAgentClientConnection = new grpc.web.MethodDescriptor(
3916
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CheckAgentClientConnection',
3917
+ grpc.web.MethodType.UNARY,
3918
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest,
3919
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse,
3920
+ /**
3921
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} request
3922
+ * @return {!Uint8Array}
3923
+ */
3924
+ function(request) {
3925
+ return request.serializeBinary();
3926
+ },
3927
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.deserializeBinary
3928
+ );
3929
+
3930
+
3931
+ /**
3932
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} request The
3933
+ * request proto
3934
+ * @param {?Object<string, string>} metadata User defined
3935
+ * call metadata
3936
+ * @param {function(?grpc.web.RpcError, ?proto.agentbillingserviceapi.CheckAgentClientConnectionResponse)}
3937
+ * callback The callback function(error, response)
3938
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse>|undefined}
3939
+ * The XHR Node Readable Stream
3940
+ */
3941
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.checkAgentClientConnection =
3942
+ function(request, metadata, callback) {
3943
+ return this.client_.rpcCall(this.hostname_ +
3944
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CheckAgentClientConnection',
3945
+ request,
3946
+ metadata || {},
3947
+ methodDescriptor_AgentBillingServiceAPIService_CheckAgentClientConnection,
3948
+ callback);
3949
+ };
3950
+
3951
+
3952
+ /**
3953
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} request The
3954
+ * request proto
3955
+ * @param {?Object<string, string>=} metadata User defined
3956
+ * call metadata
3957
+ * @return {!Promise<!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse>}
3958
+ * Promise that resolves to the response
3959
+ */
3960
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.checkAgentClientConnection =
3961
+ function(request, metadata) {
3962
+ return this.client_.unaryCall(this.hostname_ +
3963
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CheckAgentClientConnection',
3964
+ request,
3965
+ metadata || {},
3966
+ methodDescriptor_AgentBillingServiceAPIService_CheckAgentClientConnection);
3967
+ };
3968
+
3969
+
3909
3970
  /**
3910
3971
  * @const
3911
3972
  * @type {!grpc.web.MethodDescriptor<
@@ -38,6 +38,8 @@ goog.exportSymbol('proto.agentbillingserviceapi.BillConfig', null, global);
38
38
  goog.exportSymbol('proto.agentbillingserviceapi.BillConfigRequest', null, global);
39
39
  goog.exportSymbol('proto.agentbillingserviceapi.BillScanType', null, global);
40
40
  goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
41
+ goog.exportSymbol('proto.agentbillingserviceapi.CheckAgentClientConnectionRequest', null, global);
42
+ goog.exportSymbol('proto.agentbillingserviceapi.CheckAgentClientConnectionResponse', null, global);
41
43
  goog.exportSymbol('proto.agentbillingserviceapi.CheckConnectionRequest', null, global);
42
44
  goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
43
45
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
@@ -2688,6 +2690,48 @@ if (goog.DEBUG && !COMPILED) {
2688
2690
  */
2689
2691
  proto.agentbillingserviceapi.GetUserRelationshipsResponse.displayName = 'proto.agentbillingserviceapi.GetUserRelationshipsResponse';
2690
2692
  }
2693
+ /**
2694
+ * Generated by JsPbCodeGenerator.
2695
+ * @param {Array=} opt_data Optional initial data array, typically from a
2696
+ * server response, or constructed directly in Javascript. The array is used
2697
+ * in place and becomes part of the constructed object. It is not cloned.
2698
+ * If no data is provided, the constructed object will be empty, but still
2699
+ * valid.
2700
+ * @extends {jspb.Message}
2701
+ * @constructor
2702
+ */
2703
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest = function(opt_data) {
2704
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2705
+ };
2706
+ goog.inherits(proto.agentbillingserviceapi.CheckAgentClientConnectionRequest, jspb.Message);
2707
+ if (goog.DEBUG && !COMPILED) {
2708
+ /**
2709
+ * @public
2710
+ * @override
2711
+ */
2712
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.displayName = 'proto.agentbillingserviceapi.CheckAgentClientConnectionRequest';
2713
+ }
2714
+ /**
2715
+ * Generated by JsPbCodeGenerator.
2716
+ * @param {Array=} opt_data Optional initial data array, typically from a
2717
+ * server response, or constructed directly in Javascript. The array is used
2718
+ * in place and becomes part of the constructed object. It is not cloned.
2719
+ * If no data is provided, the constructed object will be empty, but still
2720
+ * valid.
2721
+ * @extends {jspb.Message}
2722
+ * @constructor
2723
+ */
2724
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse = function(opt_data) {
2725
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2726
+ };
2727
+ goog.inherits(proto.agentbillingserviceapi.CheckAgentClientConnectionResponse, jspb.Message);
2728
+ if (goog.DEBUG && !COMPILED) {
2729
+ /**
2730
+ * @public
2731
+ * @override
2732
+ */
2733
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.displayName = 'proto.agentbillingserviceapi.CheckAgentClientConnectionResponse';
2734
+ }
2691
2735
 
2692
2736
 
2693
2737
 
@@ -34003,6 +34047,347 @@ proto.agentbillingserviceapi.GetUserRelationshipsResponse.prototype.clearClients
34003
34047
  };
34004
34048
 
34005
34049
 
34050
+
34051
+
34052
+
34053
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34054
+ /**
34055
+ * Creates an object representation of this proto.
34056
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34057
+ * Optional fields that are not set will be set to undefined.
34058
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34059
+ * For the list of reserved names please see:
34060
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34061
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34062
+ * JSPB instance for transitional soy proto support:
34063
+ * http://goto/soy-param-migration
34064
+ * @return {!Object}
34065
+ */
34066
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.toObject = function(opt_includeInstance) {
34067
+ return proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.toObject(opt_includeInstance, this);
34068
+ };
34069
+
34070
+
34071
+ /**
34072
+ * Static version of the {@see toObject} method.
34073
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34074
+ * the JSPB instance for transitional soy proto support:
34075
+ * http://goto/soy-param-migration
34076
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} msg The msg instance to transform.
34077
+ * @return {!Object}
34078
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34079
+ */
34080
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.toObject = function(includeInstance, msg) {
34081
+ var f, obj = {
34082
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
34083
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0)
34084
+ };
34085
+
34086
+ if (includeInstance) {
34087
+ obj.$jspbMessageInstance = msg;
34088
+ }
34089
+ return obj;
34090
+ };
34091
+ }
34092
+
34093
+
34094
+ /**
34095
+ * Deserializes binary data (in protobuf wire format).
34096
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34097
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest}
34098
+ */
34099
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.deserializeBinary = function(bytes) {
34100
+ var reader = new jspb.BinaryReader(bytes);
34101
+ var msg = new proto.agentbillingserviceapi.CheckAgentClientConnectionRequest;
34102
+ return proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.deserializeBinaryFromReader(msg, reader);
34103
+ };
34104
+
34105
+
34106
+ /**
34107
+ * Deserializes binary data (in protobuf wire format) from the
34108
+ * given reader into the given message object.
34109
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} msg The message object to deserialize into.
34110
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34111
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest}
34112
+ */
34113
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.deserializeBinaryFromReader = function(msg, reader) {
34114
+ while (reader.nextField()) {
34115
+ if (reader.isEndGroup()) {
34116
+ break;
34117
+ }
34118
+ var field = reader.getFieldNumber();
34119
+ switch (field) {
34120
+ case 1:
34121
+ var value = /** @type {number} */ (reader.readInt64());
34122
+ msg.setAgentuserid(value);
34123
+ break;
34124
+ case 2:
34125
+ var value = /** @type {number} */ (reader.readInt64());
34126
+ msg.setClientuserid(value);
34127
+ break;
34128
+ default:
34129
+ reader.skipField();
34130
+ break;
34131
+ }
34132
+ }
34133
+ return msg;
34134
+ };
34135
+
34136
+
34137
+ /**
34138
+ * Serializes the message to binary data (in protobuf wire format).
34139
+ * @return {!Uint8Array}
34140
+ */
34141
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.serializeBinary = function() {
34142
+ var writer = new jspb.BinaryWriter();
34143
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.serializeBinaryToWriter(this, writer);
34144
+ return writer.getResultBuffer();
34145
+ };
34146
+
34147
+
34148
+ /**
34149
+ * Serializes the given message to binary data (in protobuf wire
34150
+ * format), writing to the given BinaryWriter.
34151
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} message
34152
+ * @param {!jspb.BinaryWriter} writer
34153
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34154
+ */
34155
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.serializeBinaryToWriter = function(message, writer) {
34156
+ var f = undefined;
34157
+ f = message.getAgentuserid();
34158
+ if (f !== 0) {
34159
+ writer.writeInt64(
34160
+ 1,
34161
+ f
34162
+ );
34163
+ }
34164
+ f = message.getClientuserid();
34165
+ if (f !== 0) {
34166
+ writer.writeInt64(
34167
+ 2,
34168
+ f
34169
+ );
34170
+ }
34171
+ };
34172
+
34173
+
34174
+ /**
34175
+ * optional int64 agentUserId = 1;
34176
+ * @return {number}
34177
+ */
34178
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.getAgentuserid = function() {
34179
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
34180
+ };
34181
+
34182
+
34183
+ /**
34184
+ * @param {number} value
34185
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} returns this
34186
+ */
34187
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.setAgentuserid = function(value) {
34188
+ return jspb.Message.setProto3IntField(this, 1, value);
34189
+ };
34190
+
34191
+
34192
+ /**
34193
+ * optional int64 clientUserId = 2;
34194
+ * @return {number}
34195
+ */
34196
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.getClientuserid = function() {
34197
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
34198
+ };
34199
+
34200
+
34201
+ /**
34202
+ * @param {number} value
34203
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionRequest} returns this
34204
+ */
34205
+ proto.agentbillingserviceapi.CheckAgentClientConnectionRequest.prototype.setClientuserid = function(value) {
34206
+ return jspb.Message.setProto3IntField(this, 2, value);
34207
+ };
34208
+
34209
+
34210
+
34211
+
34212
+
34213
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34214
+ /**
34215
+ * Creates an object representation of this proto.
34216
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34217
+ * Optional fields that are not set will be set to undefined.
34218
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34219
+ * For the list of reserved names please see:
34220
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34221
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34222
+ * JSPB instance for transitional soy proto support:
34223
+ * http://goto/soy-param-migration
34224
+ * @return {!Object}
34225
+ */
34226
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.toObject = function(opt_includeInstance) {
34227
+ return proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.toObject(opt_includeInstance, this);
34228
+ };
34229
+
34230
+
34231
+ /**
34232
+ * Static version of the {@see toObject} method.
34233
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34234
+ * the JSPB instance for transitional soy proto support:
34235
+ * http://goto/soy-param-migration
34236
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} msg The msg instance to transform.
34237
+ * @return {!Object}
34238
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34239
+ */
34240
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.toObject = function(includeInstance, msg) {
34241
+ var f, obj = {
34242
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
34243
+ connected: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
34244
+ };
34245
+
34246
+ if (includeInstance) {
34247
+ obj.$jspbMessageInstance = msg;
34248
+ }
34249
+ return obj;
34250
+ };
34251
+ }
34252
+
34253
+
34254
+ /**
34255
+ * Deserializes binary data (in protobuf wire format).
34256
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34257
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse}
34258
+ */
34259
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.deserializeBinary = function(bytes) {
34260
+ var reader = new jspb.BinaryReader(bytes);
34261
+ var msg = new proto.agentbillingserviceapi.CheckAgentClientConnectionResponse;
34262
+ return proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.deserializeBinaryFromReader(msg, reader);
34263
+ };
34264
+
34265
+
34266
+ /**
34267
+ * Deserializes binary data (in protobuf wire format) from the
34268
+ * given reader into the given message object.
34269
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} msg The message object to deserialize into.
34270
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34271
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse}
34272
+ */
34273
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.deserializeBinaryFromReader = function(msg, reader) {
34274
+ while (reader.nextField()) {
34275
+ if (reader.isEndGroup()) {
34276
+ break;
34277
+ }
34278
+ var field = reader.getFieldNumber();
34279
+ switch (field) {
34280
+ case 1:
34281
+ var value = new proto.agentbillingserviceapi.ResponseCode;
34282
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
34283
+ msg.setResponsecode(value);
34284
+ break;
34285
+ case 2:
34286
+ var value = /** @type {boolean} */ (reader.readBool());
34287
+ msg.setConnected(value);
34288
+ break;
34289
+ default:
34290
+ reader.skipField();
34291
+ break;
34292
+ }
34293
+ }
34294
+ return msg;
34295
+ };
34296
+
34297
+
34298
+ /**
34299
+ * Serializes the message to binary data (in protobuf wire format).
34300
+ * @return {!Uint8Array}
34301
+ */
34302
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.serializeBinary = function() {
34303
+ var writer = new jspb.BinaryWriter();
34304
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.serializeBinaryToWriter(this, writer);
34305
+ return writer.getResultBuffer();
34306
+ };
34307
+
34308
+
34309
+ /**
34310
+ * Serializes the given message to binary data (in protobuf wire
34311
+ * format), writing to the given BinaryWriter.
34312
+ * @param {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} message
34313
+ * @param {!jspb.BinaryWriter} writer
34314
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34315
+ */
34316
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.serializeBinaryToWriter = function(message, writer) {
34317
+ var f = undefined;
34318
+ f = message.getResponsecode();
34319
+ if (f != null) {
34320
+ writer.writeMessage(
34321
+ 1,
34322
+ f,
34323
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
34324
+ );
34325
+ }
34326
+ f = message.getConnected();
34327
+ if (f) {
34328
+ writer.writeBool(
34329
+ 2,
34330
+ f
34331
+ );
34332
+ }
34333
+ };
34334
+
34335
+
34336
+ /**
34337
+ * optional ResponseCode responseCode = 1;
34338
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
34339
+ */
34340
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.getResponsecode = function() {
34341
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
34342
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
34343
+ };
34344
+
34345
+
34346
+ /**
34347
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
34348
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} returns this
34349
+ */
34350
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.setResponsecode = function(value) {
34351
+ return jspb.Message.setWrapperField(this, 1, value);
34352
+ };
34353
+
34354
+
34355
+ /**
34356
+ * Clears the message field making it undefined.
34357
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} returns this
34358
+ */
34359
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.clearResponsecode = function() {
34360
+ return this.setResponsecode(undefined);
34361
+ };
34362
+
34363
+
34364
+ /**
34365
+ * Returns whether this field is set.
34366
+ * @return {boolean}
34367
+ */
34368
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.hasResponsecode = function() {
34369
+ return jspb.Message.getField(this, 1) != null;
34370
+ };
34371
+
34372
+
34373
+ /**
34374
+ * optional bool connected = 2;
34375
+ * @return {boolean}
34376
+ */
34377
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.getConnected = function() {
34378
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
34379
+ };
34380
+
34381
+
34382
+ /**
34383
+ * @param {boolean} value
34384
+ * @return {!proto.agentbillingserviceapi.CheckAgentClientConnectionResponse} returns this
34385
+ */
34386
+ proto.agentbillingserviceapi.CheckAgentClientConnectionResponse.prototype.setConnected = function(value) {
34387
+ return jspb.Message.setProto3BooleanField(this, 2, value);
34388
+ };
34389
+
34390
+
34006
34391
  /**
34007
34392
  * @enum {number}
34008
34393
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "26.11.5439",
3
+ "version": "26.12.5473",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",