@sniipwebmaster/user-service-client-grpcweb 24.12.11535 → 24.12.11546

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.
@@ -2945,6 +2945,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getPin =
2945
2945
  };
2946
2946
 
2947
2947
 
2948
+ /**
2949
+ * @const
2950
+ * @type {!grpc.web.MethodDescriptor<
2951
+ * !proto.sniipuserservice.GetPinInternalRequest,
2952
+ * !proto.sniipuserservice.PinResponse>}
2953
+ */
2954
+ const methodDescriptor_SniipUserServiceService_GetPinInternal = new grpc.web.MethodDescriptor(
2955
+ '/sniipuserservice.SniipUserServiceService/GetPinInternal',
2956
+ grpc.web.MethodType.UNARY,
2957
+ proto.sniipuserservice.GetPinInternalRequest,
2958
+ proto.sniipuserservice.PinResponse,
2959
+ /**
2960
+ * @param {!proto.sniipuserservice.GetPinInternalRequest} request
2961
+ * @return {!Uint8Array}
2962
+ */
2963
+ function(request) {
2964
+ return request.serializeBinary();
2965
+ },
2966
+ proto.sniipuserservice.PinResponse.deserializeBinary
2967
+ );
2968
+
2969
+
2970
+ /**
2971
+ * @param {!proto.sniipuserservice.GetPinInternalRequest} request The
2972
+ * request proto
2973
+ * @param {?Object<string, string>} metadata User defined
2974
+ * call metadata
2975
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.PinResponse)}
2976
+ * callback The callback function(error, response)
2977
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.PinResponse>|undefined}
2978
+ * The XHR Node Readable Stream
2979
+ */
2980
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.getPinInternal =
2981
+ function(request, metadata, callback) {
2982
+ return this.client_.rpcCall(this.hostname_ +
2983
+ '/sniipuserservice.SniipUserServiceService/GetPinInternal',
2984
+ request,
2985
+ metadata || {},
2986
+ methodDescriptor_SniipUserServiceService_GetPinInternal,
2987
+ callback);
2988
+ };
2989
+
2990
+
2991
+ /**
2992
+ * @param {!proto.sniipuserservice.GetPinInternalRequest} request The
2993
+ * request proto
2994
+ * @param {?Object<string, string>=} metadata User defined
2995
+ * call metadata
2996
+ * @return {!Promise<!proto.sniipuserservice.PinResponse>}
2997
+ * Promise that resolves to the response
2998
+ */
2999
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.getPinInternal =
3000
+ function(request, metadata) {
3001
+ return this.client_.unaryCall(this.hostname_ +
3002
+ '/sniipuserservice.SniipUserServiceService/GetPinInternal',
3003
+ request,
3004
+ metadata || {},
3005
+ methodDescriptor_SniipUserServiceService_GetPinInternal);
3006
+ };
3007
+
3008
+
2948
3009
  /**
2949
3010
  * @const
2950
3011
  * @type {!grpc.web.MethodDescriptor<
@@ -82,6 +82,7 @@ goog.exportSymbol('proto.sniipuserservice.GetNotificationTokenForTestRequest', n
82
82
  goog.exportSymbol('proto.sniipuserservice.GetNotificationTokensRequest', null, global);
83
83
  goog.exportSymbol('proto.sniipuserservice.GetPermissionRolesRequest', null, global);
84
84
  goog.exportSymbol('proto.sniipuserservice.GetPermissionsRequest', null, global);
85
+ goog.exportSymbol('proto.sniipuserservice.GetPinInternalRequest', null, global);
85
86
  goog.exportSymbol('proto.sniipuserservice.GetProfileByUserIdRequest', null, global);
86
87
  goog.exportSymbol('proto.sniipuserservice.GetProfileWithTokenRequest', null, global);
87
88
  goog.exportSymbol('proto.sniipuserservice.GetTempTokenByBillerIdAndBillerRoleRequest', null, global);
@@ -2463,6 +2464,27 @@ if (goog.DEBUG && !COMPILED) {
2463
2464
  */
2464
2465
  proto.sniipuserservice.PinResponse.displayName = 'proto.sniipuserservice.PinResponse';
2465
2466
  }
2467
+ /**
2468
+ * Generated by JsPbCodeGenerator.
2469
+ * @param {Array=} opt_data Optional initial data array, typically from a
2470
+ * server response, or constructed directly in Javascript. The array is used
2471
+ * in place and becomes part of the constructed object. It is not cloned.
2472
+ * If no data is provided, the constructed object will be empty, but still
2473
+ * valid.
2474
+ * @extends {jspb.Message}
2475
+ * @constructor
2476
+ */
2477
+ proto.sniipuserservice.GetPinInternalRequest = function(opt_data) {
2478
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2479
+ };
2480
+ goog.inherits(proto.sniipuserservice.GetPinInternalRequest, jspb.Message);
2481
+ if (goog.DEBUG && !COMPILED) {
2482
+ /**
2483
+ * @public
2484
+ * @override
2485
+ */
2486
+ proto.sniipuserservice.GetPinInternalRequest.displayName = 'proto.sniipuserservice.GetPinInternalRequest';
2487
+ }
2466
2488
  /**
2467
2489
  * Generated by JsPbCodeGenerator.
2468
2490
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -28579,6 +28601,136 @@ proto.sniipuserservice.PinResponse.prototype.hasResponsecode = function() {
28579
28601
 
28580
28602
 
28581
28603
 
28604
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28605
+ /**
28606
+ * Creates an object representation of this proto.
28607
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28608
+ * Optional fields that are not set will be set to undefined.
28609
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28610
+ * For the list of reserved names please see:
28611
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28612
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28613
+ * JSPB instance for transitional soy proto support:
28614
+ * http://goto/soy-param-migration
28615
+ * @return {!Object}
28616
+ */
28617
+ proto.sniipuserservice.GetPinInternalRequest.prototype.toObject = function(opt_includeInstance) {
28618
+ return proto.sniipuserservice.GetPinInternalRequest.toObject(opt_includeInstance, this);
28619
+ };
28620
+
28621
+
28622
+ /**
28623
+ * Static version of the {@see toObject} method.
28624
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28625
+ * the JSPB instance for transitional soy proto support:
28626
+ * http://goto/soy-param-migration
28627
+ * @param {!proto.sniipuserservice.GetPinInternalRequest} msg The msg instance to transform.
28628
+ * @return {!Object}
28629
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28630
+ */
28631
+ proto.sniipuserservice.GetPinInternalRequest.toObject = function(includeInstance, msg) {
28632
+ var f, obj = {
28633
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
28634
+ };
28635
+
28636
+ if (includeInstance) {
28637
+ obj.$jspbMessageInstance = msg;
28638
+ }
28639
+ return obj;
28640
+ };
28641
+ }
28642
+
28643
+
28644
+ /**
28645
+ * Deserializes binary data (in protobuf wire format).
28646
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28647
+ * @return {!proto.sniipuserservice.GetPinInternalRequest}
28648
+ */
28649
+ proto.sniipuserservice.GetPinInternalRequest.deserializeBinary = function(bytes) {
28650
+ var reader = new jspb.BinaryReader(bytes);
28651
+ var msg = new proto.sniipuserservice.GetPinInternalRequest;
28652
+ return proto.sniipuserservice.GetPinInternalRequest.deserializeBinaryFromReader(msg, reader);
28653
+ };
28654
+
28655
+
28656
+ /**
28657
+ * Deserializes binary data (in protobuf wire format) from the
28658
+ * given reader into the given message object.
28659
+ * @param {!proto.sniipuserservice.GetPinInternalRequest} msg The message object to deserialize into.
28660
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28661
+ * @return {!proto.sniipuserservice.GetPinInternalRequest}
28662
+ */
28663
+ proto.sniipuserservice.GetPinInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
28664
+ while (reader.nextField()) {
28665
+ if (reader.isEndGroup()) {
28666
+ break;
28667
+ }
28668
+ var field = reader.getFieldNumber();
28669
+ switch (field) {
28670
+ case 1:
28671
+ var value = /** @type {number} */ (reader.readInt64());
28672
+ msg.setUserid(value);
28673
+ break;
28674
+ default:
28675
+ reader.skipField();
28676
+ break;
28677
+ }
28678
+ }
28679
+ return msg;
28680
+ };
28681
+
28682
+
28683
+ /**
28684
+ * Serializes the message to binary data (in protobuf wire format).
28685
+ * @return {!Uint8Array}
28686
+ */
28687
+ proto.sniipuserservice.GetPinInternalRequest.prototype.serializeBinary = function() {
28688
+ var writer = new jspb.BinaryWriter();
28689
+ proto.sniipuserservice.GetPinInternalRequest.serializeBinaryToWriter(this, writer);
28690
+ return writer.getResultBuffer();
28691
+ };
28692
+
28693
+
28694
+ /**
28695
+ * Serializes the given message to binary data (in protobuf wire
28696
+ * format), writing to the given BinaryWriter.
28697
+ * @param {!proto.sniipuserservice.GetPinInternalRequest} message
28698
+ * @param {!jspb.BinaryWriter} writer
28699
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28700
+ */
28701
+ proto.sniipuserservice.GetPinInternalRequest.serializeBinaryToWriter = function(message, writer) {
28702
+ var f = undefined;
28703
+ f = message.getUserid();
28704
+ if (f !== 0) {
28705
+ writer.writeInt64(
28706
+ 1,
28707
+ f
28708
+ );
28709
+ }
28710
+ };
28711
+
28712
+
28713
+ /**
28714
+ * optional int64 userId = 1;
28715
+ * @return {number}
28716
+ */
28717
+ proto.sniipuserservice.GetPinInternalRequest.prototype.getUserid = function() {
28718
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
28719
+ };
28720
+
28721
+
28722
+ /**
28723
+ * @param {number} value
28724
+ * @return {!proto.sniipuserservice.GetPinInternalRequest} returns this
28725
+ */
28726
+ proto.sniipuserservice.GetPinInternalRequest.prototype.setUserid = function(value) {
28727
+ return jspb.Message.setProto3IntField(this, 1, value);
28728
+ };
28729
+
28730
+
28731
+
28732
+
28733
+
28582
28734
  if (jspb.Message.GENERATE_TO_OBJECT) {
28583
28735
  /**
28584
28736
  * 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": "24.12.11535",
3
+ "version": "24.12.11546",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",