@sniipwebmaster/agent-billing-client-grpcweb 23.6.256 → 23.6.265

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.
@@ -232,6 +232,86 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
232
232
  };
233
233
 
234
234
 
235
+ /**
236
+ * @const
237
+ * @type {!grpc.web.MethodDescriptor<
238
+ * !proto.agentbillingserviceapi.DeclineAgentInvitationRequest,
239
+ * !proto.agentbillingserviceapi.ResponseCode>}
240
+ */
241
+ const methodDescriptor_AgentBillingServiceAPIService_DeclineAgentInvitation = new grpc.web.MethodDescriptor(
242
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DeclineAgentInvitation',
243
+ grpc.web.MethodType.UNARY,
244
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest,
245
+ proto.agentbillingserviceapi.ResponseCode,
246
+ /**
247
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} request
248
+ * @return {!Uint8Array}
249
+ */
250
+ function(request) {
251
+ return request.serializeBinary();
252
+ },
253
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
254
+ );
255
+
256
+
257
+ /**
258
+ * @const
259
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
260
+ * !proto.agentbillingserviceapi.DeclineAgentInvitationRequest,
261
+ * !proto.agentbillingserviceapi.ResponseCode>}
262
+ */
263
+ const methodInfo_AgentBillingServiceAPIService_DeclineAgentInvitation = new grpc.web.AbstractClientBase.MethodInfo(
264
+ proto.agentbillingserviceapi.ResponseCode,
265
+ /**
266
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} request
267
+ * @return {!Uint8Array}
268
+ */
269
+ function(request) {
270
+ return request.serializeBinary();
271
+ },
272
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
273
+ );
274
+
275
+
276
+ /**
277
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} request The
278
+ * request proto
279
+ * @param {?Object<string, string>} metadata User defined
280
+ * call metadata
281
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
282
+ * callback The callback function(error, response)
283
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
284
+ * The XHR Node Readable Stream
285
+ */
286
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.declineAgentInvitation =
287
+ function(request, metadata, callback) {
288
+ return this.client_.rpcCall(this.hostname_ +
289
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DeclineAgentInvitation',
290
+ request,
291
+ metadata || {},
292
+ methodDescriptor_AgentBillingServiceAPIService_DeclineAgentInvitation,
293
+ callback);
294
+ };
295
+
296
+
297
+ /**
298
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} request The
299
+ * request proto
300
+ * @param {?Object<string, string>} metadata User defined
301
+ * call metadata
302
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
303
+ * Promise that resolves to the response
304
+ */
305
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.declineAgentInvitation =
306
+ function(request, metadata) {
307
+ return this.client_.unaryCall(this.hostname_ +
308
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DeclineAgentInvitation',
309
+ request,
310
+ metadata || {},
311
+ methodDescriptor_AgentBillingServiceAPIService_DeclineAgentInvitation);
312
+ };
313
+
314
+
235
315
  /**
236
316
  * @const
237
317
  * @type {!grpc.web.MethodDescriptor<
@@ -18,6 +18,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.Agent', null, global);
18
18
  goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
19
19
  goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
20
20
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
21
+ goog.exportSymbol('proto.agentbillingserviceapi.DeclineAgentInvitationRequest', null, global);
21
22
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
22
23
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
23
24
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedAgentRequest', null, global);
@@ -115,6 +116,27 @@ if (goog.DEBUG && !COMPILED) {
115
116
  */
116
117
  proto.agentbillingserviceapi.ConnectAgentRequest.displayName = 'proto.agentbillingserviceapi.ConnectAgentRequest';
117
118
  }
119
+ /**
120
+ * Generated by JsPbCodeGenerator.
121
+ * @param {Array=} opt_data Optional initial data array, typically from a
122
+ * server response, or constructed directly in Javascript. The array is used
123
+ * in place and becomes part of the constructed object. It is not cloned.
124
+ * If no data is provided, the constructed object will be empty, but still
125
+ * valid.
126
+ * @extends {jspb.Message}
127
+ * @constructor
128
+ */
129
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest = function(opt_data) {
130
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
131
+ };
132
+ goog.inherits(proto.agentbillingserviceapi.DeclineAgentInvitationRequest, jspb.Message);
133
+ if (goog.DEBUG && !COMPILED) {
134
+ /**
135
+ * @public
136
+ * @override
137
+ */
138
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.displayName = 'proto.agentbillingserviceapi.DeclineAgentInvitationRequest';
139
+ }
118
140
  /**
119
141
  * Generated by JsPbCodeGenerator.
120
142
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1451,6 +1473,136 @@ proto.agentbillingserviceapi.ConnectAgentRequest.prototype.setClientuserid = fun
1451
1473
 
1452
1474
 
1453
1475
 
1476
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1477
+ /**
1478
+ * Creates an object representation of this proto.
1479
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1480
+ * Optional fields that are not set will be set to undefined.
1481
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1482
+ * For the list of reserved names please see:
1483
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1484
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1485
+ * JSPB instance for transitional soy proto support:
1486
+ * http://goto/soy-param-migration
1487
+ * @return {!Object}
1488
+ */
1489
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.toObject = function(opt_includeInstance) {
1490
+ return proto.agentbillingserviceapi.DeclineAgentInvitationRequest.toObject(opt_includeInstance, this);
1491
+ };
1492
+
1493
+
1494
+ /**
1495
+ * Static version of the {@see toObject} method.
1496
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1497
+ * the JSPB instance for transitional soy proto support:
1498
+ * http://goto/soy-param-migration
1499
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} msg The msg instance to transform.
1500
+ * @return {!Object}
1501
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1502
+ */
1503
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.toObject = function(includeInstance, msg) {
1504
+ var f, obj = {
1505
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0)
1506
+ };
1507
+
1508
+ if (includeInstance) {
1509
+ obj.$jspbMessageInstance = msg;
1510
+ }
1511
+ return obj;
1512
+ };
1513
+ }
1514
+
1515
+
1516
+ /**
1517
+ * Deserializes binary data (in protobuf wire format).
1518
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1519
+ * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest}
1520
+ */
1521
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinary = function(bytes) {
1522
+ var reader = new jspb.BinaryReader(bytes);
1523
+ var msg = new proto.agentbillingserviceapi.DeclineAgentInvitationRequest;
1524
+ return proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinaryFromReader(msg, reader);
1525
+ };
1526
+
1527
+
1528
+ /**
1529
+ * Deserializes binary data (in protobuf wire format) from the
1530
+ * given reader into the given message object.
1531
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} msg The message object to deserialize into.
1532
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1533
+ * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest}
1534
+ */
1535
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.deserializeBinaryFromReader = function(msg, reader) {
1536
+ while (reader.nextField()) {
1537
+ if (reader.isEndGroup()) {
1538
+ break;
1539
+ }
1540
+ var field = reader.getFieldNumber();
1541
+ switch (field) {
1542
+ case 1:
1543
+ var value = /** @type {number} */ (reader.readInt64());
1544
+ msg.setClientuserid(value);
1545
+ break;
1546
+ default:
1547
+ reader.skipField();
1548
+ break;
1549
+ }
1550
+ }
1551
+ return msg;
1552
+ };
1553
+
1554
+
1555
+ /**
1556
+ * Serializes the message to binary data (in protobuf wire format).
1557
+ * @return {!Uint8Array}
1558
+ */
1559
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.serializeBinary = function() {
1560
+ var writer = new jspb.BinaryWriter();
1561
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.serializeBinaryToWriter(this, writer);
1562
+ return writer.getResultBuffer();
1563
+ };
1564
+
1565
+
1566
+ /**
1567
+ * Serializes the given message to binary data (in protobuf wire
1568
+ * format), writing to the given BinaryWriter.
1569
+ * @param {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} message
1570
+ * @param {!jspb.BinaryWriter} writer
1571
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1572
+ */
1573
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.serializeBinaryToWriter = function(message, writer) {
1574
+ var f = undefined;
1575
+ f = message.getClientuserid();
1576
+ if (f !== 0) {
1577
+ writer.writeInt64(
1578
+ 1,
1579
+ f
1580
+ );
1581
+ }
1582
+ };
1583
+
1584
+
1585
+ /**
1586
+ * optional int64 clientUserId = 1;
1587
+ * @return {number}
1588
+ */
1589
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.getClientuserid = function() {
1590
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1591
+ };
1592
+
1593
+
1594
+ /**
1595
+ * @param {number} value
1596
+ * @return {!proto.agentbillingserviceapi.DeclineAgentInvitationRequest} returns this
1597
+ */
1598
+ proto.agentbillingserviceapi.DeclineAgentInvitationRequest.prototype.setClientuserid = function(value) {
1599
+ return jspb.Message.setProto3IntField(this, 1, value);
1600
+ };
1601
+
1602
+
1603
+
1604
+
1605
+
1454
1606
  if (jspb.Message.GENERATE_TO_OBJECT) {
1455
1607
  /**
1456
1608
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "23.6.256",
3
+ "version": "23.6.265",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",