@sniipwebmaster/user-service-client-grpcweb 26.10.15656 → 26.10.15668

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.
@@ -3433,6 +3433,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getTempora
3433
3433
  };
3434
3434
 
3435
3435
 
3436
+ /**
3437
+ * @const
3438
+ * @type {!grpc.web.MethodDescriptor<
3439
+ * !proto.sniipuserservice.RevokeTemporaryAccessTokenRequest,
3440
+ * !proto.sniipuserservice.ResponseCode>}
3441
+ */
3442
+ const methodDescriptor_SniipUserServiceService_RevokeTemporaryAccessToken = new grpc.web.MethodDescriptor(
3443
+ '/sniipuserservice.SniipUserServiceService/RevokeTemporaryAccessToken',
3444
+ grpc.web.MethodType.UNARY,
3445
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest,
3446
+ proto.sniipuserservice.ResponseCode,
3447
+ /**
3448
+ * @param {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest} request
3449
+ * @return {!Uint8Array}
3450
+ */
3451
+ function(request) {
3452
+ return request.serializeBinary();
3453
+ },
3454
+ proto.sniipuserservice.ResponseCode.deserializeBinary
3455
+ );
3456
+
3457
+
3458
+ /**
3459
+ * @param {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest} request The
3460
+ * request proto
3461
+ * @param {?Object<string, string>} metadata User defined
3462
+ * call metadata
3463
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
3464
+ * callback The callback function(error, response)
3465
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
3466
+ * The XHR Node Readable Stream
3467
+ */
3468
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.revokeTemporaryAccessToken =
3469
+ function(request, metadata, callback) {
3470
+ return this.client_.rpcCall(this.hostname_ +
3471
+ '/sniipuserservice.SniipUserServiceService/RevokeTemporaryAccessToken',
3472
+ request,
3473
+ metadata || {},
3474
+ methodDescriptor_SniipUserServiceService_RevokeTemporaryAccessToken,
3475
+ callback);
3476
+ };
3477
+
3478
+
3479
+ /**
3480
+ * @param {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest} request The
3481
+ * request proto
3482
+ * @param {?Object<string, string>=} metadata User defined
3483
+ * call metadata
3484
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
3485
+ * Promise that resolves to the response
3486
+ */
3487
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.revokeTemporaryAccessToken =
3488
+ function(request, metadata) {
3489
+ return this.client_.unaryCall(this.hostname_ +
3490
+ '/sniipuserservice.SniipUserServiceService/RevokeTemporaryAccessToken',
3491
+ request,
3492
+ metadata || {},
3493
+ methodDescriptor_SniipUserServiceService_RevokeTemporaryAccessToken);
3494
+ };
3495
+
3496
+
3436
3497
  /**
3437
3498
  * @const
3438
3499
  * @type {!grpc.web.MethodDescriptor<
@@ -202,6 +202,7 @@ goog.exportSymbol('proto.sniipuserservice.ResetPasswordMobileRequest', null, glo
202
202
  goog.exportSymbol('proto.sniipuserservice.ResetPinRequest', null, global);
203
203
  goog.exportSymbol('proto.sniipuserservice.ResolveMfaApprovalRequestRequest', null, global);
204
204
  goog.exportSymbol('proto.sniipuserservice.ResponseCode', null, global);
205
+ goog.exportSymbol('proto.sniipuserservice.RevokeTemporaryAccessTokenRequest', null, global);
205
206
  goog.exportSymbol('proto.sniipuserservice.RunLocationBackfillRequest', null, global);
206
207
  goog.exportSymbol('proto.sniipuserservice.RunLocationBackfillResponse', null, global);
207
208
  goog.exportSymbol('proto.sniipuserservice.SearchPermissionRequest', null, global);
@@ -1692,6 +1693,27 @@ if (goog.DEBUG && !COMPILED) {
1692
1693
  */
1693
1694
  proto.sniipuserservice.GetTemporaryAccessTokenRequest.displayName = 'proto.sniipuserservice.GetTemporaryAccessTokenRequest';
1694
1695
  }
1696
+ /**
1697
+ * Generated by JsPbCodeGenerator.
1698
+ * @param {Array=} opt_data Optional initial data array, typically from a
1699
+ * server response, or constructed directly in Javascript. The array is used
1700
+ * in place and becomes part of the constructed object. It is not cloned.
1701
+ * If no data is provided, the constructed object will be empty, but still
1702
+ * valid.
1703
+ * @extends {jspb.Message}
1704
+ * @constructor
1705
+ */
1706
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest = function(opt_data) {
1707
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1708
+ };
1709
+ goog.inherits(proto.sniipuserservice.RevokeTemporaryAccessTokenRequest, jspb.Message);
1710
+ if (goog.DEBUG && !COMPILED) {
1711
+ /**
1712
+ * @public
1713
+ * @override
1714
+ */
1715
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.displayName = 'proto.sniipuserservice.RevokeTemporaryAccessTokenRequest';
1716
+ }
1695
1717
  /**
1696
1718
  * Generated by JsPbCodeGenerator.
1697
1719
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -21318,6 +21340,136 @@ proto.sniipuserservice.GetTemporaryAccessTokenRequest.prototype.setUserid = func
21318
21340
 
21319
21341
 
21320
21342
 
21343
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21344
+ /**
21345
+ * Creates an object representation of this proto.
21346
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21347
+ * Optional fields that are not set will be set to undefined.
21348
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21349
+ * For the list of reserved names please see:
21350
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21351
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21352
+ * JSPB instance for transitional soy proto support:
21353
+ * http://goto/soy-param-migration
21354
+ * @return {!Object}
21355
+ */
21356
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.prototype.toObject = function(opt_includeInstance) {
21357
+ return proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.toObject(opt_includeInstance, this);
21358
+ };
21359
+
21360
+
21361
+ /**
21362
+ * Static version of the {@see toObject} method.
21363
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21364
+ * the JSPB instance for transitional soy proto support:
21365
+ * http://goto/soy-param-migration
21366
+ * @param {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest} msg The msg instance to transform.
21367
+ * @return {!Object}
21368
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21369
+ */
21370
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.toObject = function(includeInstance, msg) {
21371
+ var f, obj = {
21372
+ accesstoken: jspb.Message.getFieldWithDefault(msg, 1, "")
21373
+ };
21374
+
21375
+ if (includeInstance) {
21376
+ obj.$jspbMessageInstance = msg;
21377
+ }
21378
+ return obj;
21379
+ };
21380
+ }
21381
+
21382
+
21383
+ /**
21384
+ * Deserializes binary data (in protobuf wire format).
21385
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21386
+ * @return {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest}
21387
+ */
21388
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.deserializeBinary = function(bytes) {
21389
+ var reader = new jspb.BinaryReader(bytes);
21390
+ var msg = new proto.sniipuserservice.RevokeTemporaryAccessTokenRequest;
21391
+ return proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.deserializeBinaryFromReader(msg, reader);
21392
+ };
21393
+
21394
+
21395
+ /**
21396
+ * Deserializes binary data (in protobuf wire format) from the
21397
+ * given reader into the given message object.
21398
+ * @param {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest} msg The message object to deserialize into.
21399
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21400
+ * @return {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest}
21401
+ */
21402
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
21403
+ while (reader.nextField()) {
21404
+ if (reader.isEndGroup()) {
21405
+ break;
21406
+ }
21407
+ var field = reader.getFieldNumber();
21408
+ switch (field) {
21409
+ case 1:
21410
+ var value = /** @type {string} */ (reader.readString());
21411
+ msg.setAccesstoken(value);
21412
+ break;
21413
+ default:
21414
+ reader.skipField();
21415
+ break;
21416
+ }
21417
+ }
21418
+ return msg;
21419
+ };
21420
+
21421
+
21422
+ /**
21423
+ * Serializes the message to binary data (in protobuf wire format).
21424
+ * @return {!Uint8Array}
21425
+ */
21426
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.prototype.serializeBinary = function() {
21427
+ var writer = new jspb.BinaryWriter();
21428
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.serializeBinaryToWriter(this, writer);
21429
+ return writer.getResultBuffer();
21430
+ };
21431
+
21432
+
21433
+ /**
21434
+ * Serializes the given message to binary data (in protobuf wire
21435
+ * format), writing to the given BinaryWriter.
21436
+ * @param {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest} message
21437
+ * @param {!jspb.BinaryWriter} writer
21438
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21439
+ */
21440
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.serializeBinaryToWriter = function(message, writer) {
21441
+ var f = undefined;
21442
+ f = message.getAccesstoken();
21443
+ if (f.length > 0) {
21444
+ writer.writeString(
21445
+ 1,
21446
+ f
21447
+ );
21448
+ }
21449
+ };
21450
+
21451
+
21452
+ /**
21453
+ * optional string accessToken = 1;
21454
+ * @return {string}
21455
+ */
21456
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.prototype.getAccesstoken = function() {
21457
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
21458
+ };
21459
+
21460
+
21461
+ /**
21462
+ * @param {string} value
21463
+ * @return {!proto.sniipuserservice.RevokeTemporaryAccessTokenRequest} returns this
21464
+ */
21465
+ proto.sniipuserservice.RevokeTemporaryAccessTokenRequest.prototype.setAccesstoken = function(value) {
21466
+ return jspb.Message.setProto3StringField(this, 1, value);
21467
+ };
21468
+
21469
+
21470
+
21471
+
21472
+
21321
21473
  if (jspb.Message.GENERATE_TO_OBJECT) {
21322
21474
  /**
21323
21475
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "26.10.15656",
3
+ "version": "26.10.15668",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",