@sniipwebmaster/email-import-service-client-grpcweb 22.10.2740 → 22.10.2759

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.
@@ -474,6 +474,86 @@ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.getC
474
474
  };
475
475
 
476
476
 
477
+ /**
478
+ * @const
479
+ * @type {!grpc.web.MethodDescriptor<
480
+ * !proto.sniipemailimportapi.GetUserConnectEmailsRequest,
481
+ * !proto.sniipemailimportapi.GetConnectedEmailsResponse>}
482
+ */
483
+ const methodDescriptor_SniipEmailImportAPIService_GetUserConnectEmails = new grpc.web.MethodDescriptor(
484
+ '/sniipemailimportapi.SniipEmailImportAPIService/GetUserConnectEmails',
485
+ grpc.web.MethodType.UNARY,
486
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest,
487
+ proto.sniipemailimportapi.GetConnectedEmailsResponse,
488
+ /**
489
+ * @param {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} request
490
+ * @return {!Uint8Array}
491
+ */
492
+ function(request) {
493
+ return request.serializeBinary();
494
+ },
495
+ proto.sniipemailimportapi.GetConnectedEmailsResponse.deserializeBinary
496
+ );
497
+
498
+
499
+ /**
500
+ * @const
501
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
502
+ * !proto.sniipemailimportapi.GetUserConnectEmailsRequest,
503
+ * !proto.sniipemailimportapi.GetConnectedEmailsResponse>}
504
+ */
505
+ const methodInfo_SniipEmailImportAPIService_GetUserConnectEmails = new grpc.web.AbstractClientBase.MethodInfo(
506
+ proto.sniipemailimportapi.GetConnectedEmailsResponse,
507
+ /**
508
+ * @param {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} request
509
+ * @return {!Uint8Array}
510
+ */
511
+ function(request) {
512
+ return request.serializeBinary();
513
+ },
514
+ proto.sniipemailimportapi.GetConnectedEmailsResponse.deserializeBinary
515
+ );
516
+
517
+
518
+ /**
519
+ * @param {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} request The
520
+ * request proto
521
+ * @param {?Object<string, string>} metadata User defined
522
+ * call metadata
523
+ * @param {function(?grpc.web.Error, ?proto.sniipemailimportapi.GetConnectedEmailsResponse)}
524
+ * callback The callback function(error, response)
525
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipemailimportapi.GetConnectedEmailsResponse>|undefined}
526
+ * The XHR Node Readable Stream
527
+ */
528
+ proto.sniipemailimportapi.SniipEmailImportAPIServiceClient.prototype.getUserConnectEmails =
529
+ function(request, metadata, callback) {
530
+ return this.client_.rpcCall(this.hostname_ +
531
+ '/sniipemailimportapi.SniipEmailImportAPIService/GetUserConnectEmails',
532
+ request,
533
+ metadata || {},
534
+ methodDescriptor_SniipEmailImportAPIService_GetUserConnectEmails,
535
+ callback);
536
+ };
537
+
538
+
539
+ /**
540
+ * @param {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} request The
541
+ * request proto
542
+ * @param {?Object<string, string>} metadata User defined
543
+ * call metadata
544
+ * @return {!Promise<!proto.sniipemailimportapi.GetConnectedEmailsResponse>}
545
+ * Promise that resolves to the response
546
+ */
547
+ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.getUserConnectEmails =
548
+ function(request, metadata) {
549
+ return this.client_.unaryCall(this.hostname_ +
550
+ '/sniipemailimportapi.SniipEmailImportAPIService/GetUserConnectEmails',
551
+ request,
552
+ metadata || {},
553
+ methodDescriptor_SniipEmailImportAPIService_GetUserConnectEmails);
554
+ };
555
+
556
+
477
557
  /**
478
558
  * @const
479
559
  * @type {!grpc.web.MethodDescriptor<
@@ -22,6 +22,7 @@ goog.exportSymbol('proto.sniipemailimportapi.EmailMessagesRequest', null, global
22
22
  goog.exportSymbol('proto.sniipemailimportapi.EmailMessagesResponse', null, global);
23
23
  goog.exportSymbol('proto.sniipemailimportapi.EmailProviders', null, global);
24
24
  goog.exportSymbol('proto.sniipemailimportapi.GetConnectedEmailsResponse', null, global);
25
+ goog.exportSymbol('proto.sniipemailimportapi.GetUserConnectEmailsRequest', null, global);
25
26
  goog.exportSymbol('proto.sniipemailimportapi.HandleMsAuthRediecrtionRequest', null, global);
26
27
  goog.exportSymbol('proto.sniipemailimportapi.InitAuthRequest', null, global);
27
28
  goog.exportSymbol('proto.sniipemailimportapi.InitAuthResponse', null, global);
@@ -2627,6 +2628,165 @@ proto.sniipemailimportapi.GetConnectedEmailsResponse.prototype.setAussiesusingsn
2627
2628
 
2628
2629
 
2629
2630
 
2631
+ /**
2632
+ * Generated by JsPbCodeGenerator.
2633
+ * @param {Array=} opt_data Optional initial data array, typically from a
2634
+ * server response, or constructed directly in Javascript. The array is used
2635
+ * in place and becomes part of the constructed object. It is not cloned.
2636
+ * If no data is provided, the constructed object will be empty, but still
2637
+ * valid.
2638
+ * @extends {jspb.Message}
2639
+ * @constructor
2640
+ */
2641
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest = function(opt_data) {
2642
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2643
+ };
2644
+ goog.inherits(proto.sniipemailimportapi.GetUserConnectEmailsRequest, jspb.Message);
2645
+ if (goog.DEBUG && !COMPILED) {
2646
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.displayName = 'proto.sniipemailimportapi.GetUserConnectEmailsRequest';
2647
+ }
2648
+
2649
+
2650
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2651
+ /**
2652
+ * Creates an object representation of this proto suitable for use in Soy templates.
2653
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2654
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2655
+ * For the list of reserved names please see:
2656
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2657
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2658
+ * for transitional soy proto support: http://goto/soy-param-migration
2659
+ * @return {!Object}
2660
+ */
2661
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.prototype.toObject = function(opt_includeInstance) {
2662
+ return proto.sniipemailimportapi.GetUserConnectEmailsRequest.toObject(opt_includeInstance, this);
2663
+ };
2664
+
2665
+
2666
+ /**
2667
+ * Static version of the {@see toObject} method.
2668
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
2669
+ * instance for transitional soy proto support:
2670
+ * http://goto/soy-param-migration
2671
+ * @param {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} msg The msg instance to transform.
2672
+ * @return {!Object}
2673
+ */
2674
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.toObject = function(includeInstance, msg) {
2675
+ var f, obj = {
2676
+ userid: msg.getUserid()
2677
+ };
2678
+
2679
+ if (includeInstance) {
2680
+ obj.$jspbMessageInstance = msg;
2681
+ }
2682
+ return obj;
2683
+ };
2684
+ }
2685
+
2686
+
2687
+ /**
2688
+ * Deserializes binary data (in protobuf wire format).
2689
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2690
+ * @return {!proto.sniipemailimportapi.GetUserConnectEmailsRequest}
2691
+ */
2692
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.deserializeBinary = function(bytes) {
2693
+ var reader = new jspb.BinaryReader(bytes);
2694
+ var msg = new proto.sniipemailimportapi.GetUserConnectEmailsRequest;
2695
+ return proto.sniipemailimportapi.GetUserConnectEmailsRequest.deserializeBinaryFromReader(msg, reader);
2696
+ };
2697
+
2698
+
2699
+ /**
2700
+ * Deserializes binary data (in protobuf wire format) from the
2701
+ * given reader into the given message object.
2702
+ * @param {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} msg The message object to deserialize into.
2703
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2704
+ * @return {!proto.sniipemailimportapi.GetUserConnectEmailsRequest}
2705
+ */
2706
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.deserializeBinaryFromReader = function(msg, reader) {
2707
+ while (reader.nextField()) {
2708
+ if (reader.isEndGroup()) {
2709
+ break;
2710
+ }
2711
+ var field = reader.getFieldNumber();
2712
+ switch (field) {
2713
+ case 1:
2714
+ var value = /** @type {number} */ (reader.readInt64());
2715
+ msg.setUserid(value);
2716
+ break;
2717
+ default:
2718
+ reader.skipField();
2719
+ break;
2720
+ }
2721
+ }
2722
+ return msg;
2723
+ };
2724
+
2725
+
2726
+ /**
2727
+ * Class method variant: serializes the given message to binary data
2728
+ * (in protobuf wire format), writing to the given BinaryWriter.
2729
+ * @param {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} message
2730
+ * @param {!jspb.BinaryWriter} writer
2731
+ */
2732
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.serializeBinaryToWriter = function(message, writer) {
2733
+ message.serializeBinaryToWriter(writer);
2734
+ };
2735
+
2736
+
2737
+ /**
2738
+ * Serializes the message to binary data (in protobuf wire format).
2739
+ * @return {!Uint8Array}
2740
+ */
2741
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.prototype.serializeBinary = function() {
2742
+ var writer = new jspb.BinaryWriter();
2743
+ this.serializeBinaryToWriter(writer);
2744
+ return writer.getResultBuffer();
2745
+ };
2746
+
2747
+
2748
+ /**
2749
+ * Serializes the message to binary data (in protobuf wire format),
2750
+ * writing to the given BinaryWriter.
2751
+ * @param {!jspb.BinaryWriter} writer
2752
+ */
2753
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.prototype.serializeBinaryToWriter = function (writer) {
2754
+ var f = undefined;
2755
+ f = this.getUserid();
2756
+ if (f !== 0) {
2757
+ writer.writeInt64(
2758
+ 1,
2759
+ f
2760
+ );
2761
+ }
2762
+ };
2763
+
2764
+
2765
+ /**
2766
+ * Creates a deep clone of this proto. No data is shared with the original.
2767
+ * @return {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} The clone.
2768
+ */
2769
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.prototype.cloneMessage = function() {
2770
+ return /** @type {!proto.sniipemailimportapi.GetUserConnectEmailsRequest} */ (jspb.Message.cloneMessage(this));
2771
+ };
2772
+
2773
+
2774
+ /**
2775
+ * optional int64 userId = 1;
2776
+ * @return {number}
2777
+ */
2778
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.prototype.getUserid = function() {
2779
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
2780
+ };
2781
+
2782
+
2783
+ /** @param {number} value */
2784
+ proto.sniipemailimportapi.GetUserConnectEmailsRequest.prototype.setUserid = function(value) {
2785
+ jspb.Message.setField(this, 1, value);
2786
+ };
2787
+
2788
+
2789
+
2630
2790
  /**
2631
2791
  * Generated by JsPbCodeGenerator.
2632
2792
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/email-import-service-client-grpcweb",
3
- "version": "22.10.2740",
3
+ "version": "22.10.2759",
4
4
  "description": "email-import-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",