@sniipwebmaster/email-import-service-client-grpcweb 22.16.2979 → 22.16.3002

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.
@@ -554,6 +554,86 @@ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.getU
554
554
  };
555
555
 
556
556
 
557
+ /**
558
+ * @const
559
+ * @type {!grpc.web.MethodDescriptor<
560
+ * !proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest,
561
+ * !proto.google.protobuf.Empty>}
562
+ */
563
+ const methodDescriptor_SniipEmailImportAPIService_HandleGoogleAuthRedirectionPortal = new grpc.web.MethodDescriptor(
564
+ '/sniipemailimportapi.SniipEmailImportAPIService/HandleGoogleAuthRedirectionPortal',
565
+ grpc.web.MethodType.UNARY,
566
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest,
567
+ google_protobuf_empty_pb.Empty,
568
+ /**
569
+ * @param {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} request
570
+ * @return {!Uint8Array}
571
+ */
572
+ function(request) {
573
+ return request.serializeBinary();
574
+ },
575
+ google_protobuf_empty_pb.Empty.deserializeBinary
576
+ );
577
+
578
+
579
+ /**
580
+ * @const
581
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
582
+ * !proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest,
583
+ * !proto.google.protobuf.Empty>}
584
+ */
585
+ const methodInfo_SniipEmailImportAPIService_HandleGoogleAuthRedirectionPortal = new grpc.web.AbstractClientBase.MethodInfo(
586
+ google_protobuf_empty_pb.Empty,
587
+ /**
588
+ * @param {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} request
589
+ * @return {!Uint8Array}
590
+ */
591
+ function(request) {
592
+ return request.serializeBinary();
593
+ },
594
+ google_protobuf_empty_pb.Empty.deserializeBinary
595
+ );
596
+
597
+
598
+ /**
599
+ * @param {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} request The
600
+ * request proto
601
+ * @param {?Object<string, string>} metadata User defined
602
+ * call metadata
603
+ * @param {function(?grpc.web.Error, ?proto.google.protobuf.Empty)}
604
+ * callback The callback function(error, response)
605
+ * @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
606
+ * The XHR Node Readable Stream
607
+ */
608
+ proto.sniipemailimportapi.SniipEmailImportAPIServiceClient.prototype.handleGoogleAuthRedirectionPortal =
609
+ function(request, metadata, callback) {
610
+ return this.client_.rpcCall(this.hostname_ +
611
+ '/sniipemailimportapi.SniipEmailImportAPIService/HandleGoogleAuthRedirectionPortal',
612
+ request,
613
+ metadata || {},
614
+ methodDescriptor_SniipEmailImportAPIService_HandleGoogleAuthRedirectionPortal,
615
+ callback);
616
+ };
617
+
618
+
619
+ /**
620
+ * @param {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} request The
621
+ * request proto
622
+ * @param {?Object<string, string>} metadata User defined
623
+ * call metadata
624
+ * @return {!Promise<!proto.google.protobuf.Empty>}
625
+ * Promise that resolves to the response
626
+ */
627
+ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.handleGoogleAuthRedirectionPortal =
628
+ function(request, metadata) {
629
+ return this.client_.unaryCall(this.hostname_ +
630
+ '/sniipemailimportapi.SniipEmailImportAPIService/HandleGoogleAuthRedirectionPortal',
631
+ request,
632
+ metadata || {},
633
+ methodDescriptor_SniipEmailImportAPIService_HandleGoogleAuthRedirectionPortal);
634
+ };
635
+
636
+
557
637
  /**
558
638
  * @const
559
639
  * @type {!grpc.web.MethodDescriptor<
@@ -23,6 +23,7 @@ goog.exportSymbol('proto.sniipemailimportapi.EmailMessagesResponse', null, globa
23
23
  goog.exportSymbol('proto.sniipemailimportapi.EmailProviders', null, global);
24
24
  goog.exportSymbol('proto.sniipemailimportapi.GetConnectedEmailsResponse', null, global);
25
25
  goog.exportSymbol('proto.sniipemailimportapi.GetUserConnectedEmailsRequest', null, global);
26
+ goog.exportSymbol('proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest', null, global);
26
27
  goog.exportSymbol('proto.sniipemailimportapi.HandleMsAuthRediecrtionRequest', null, global);
27
28
  goog.exportSymbol('proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest', null, global);
28
29
  goog.exportSymbol('proto.sniipemailimportapi.InitAuthRequest', null, global);
@@ -2789,6 +2790,219 @@ proto.sniipemailimportapi.GetUserConnectedEmailsRequest.prototype.setUserid = fu
2789
2790
 
2790
2791
 
2791
2792
 
2793
+ /**
2794
+ * Generated by JsPbCodeGenerator.
2795
+ * @param {Array=} opt_data Optional initial data array, typically from a
2796
+ * server response, or constructed directly in Javascript. The array is used
2797
+ * in place and becomes part of the constructed object. It is not cloned.
2798
+ * If no data is provided, the constructed object will be empty, but still
2799
+ * valid.
2800
+ * @extends {jspb.Message}
2801
+ * @constructor
2802
+ */
2803
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest = function(opt_data) {
2804
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2805
+ };
2806
+ goog.inherits(proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest, jspb.Message);
2807
+ if (goog.DEBUG && !COMPILED) {
2808
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.displayName = 'proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest';
2809
+ }
2810
+
2811
+
2812
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2813
+ /**
2814
+ * Creates an object representation of this proto suitable for use in Soy templates.
2815
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2816
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2817
+ * For the list of reserved names please see:
2818
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2819
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2820
+ * for transitional soy proto support: http://goto/soy-param-migration
2821
+ * @return {!Object}
2822
+ */
2823
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.toObject = function(opt_includeInstance) {
2824
+ return proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.toObject(opt_includeInstance, this);
2825
+ };
2826
+
2827
+
2828
+ /**
2829
+ * Static version of the {@see toObject} method.
2830
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
2831
+ * instance for transitional soy proto support:
2832
+ * http://goto/soy-param-migration
2833
+ * @param {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} msg The msg instance to transform.
2834
+ * @return {!Object}
2835
+ */
2836
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.toObject = function(includeInstance, msg) {
2837
+ var f, obj = {
2838
+ code: msg.getCode(),
2839
+ error: msg.getError(),
2840
+ state: msg.getState()
2841
+ };
2842
+
2843
+ if (includeInstance) {
2844
+ obj.$jspbMessageInstance = msg;
2845
+ }
2846
+ return obj;
2847
+ };
2848
+ }
2849
+
2850
+
2851
+ /**
2852
+ * Deserializes binary data (in protobuf wire format).
2853
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2854
+ * @return {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest}
2855
+ */
2856
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.deserializeBinary = function(bytes) {
2857
+ var reader = new jspb.BinaryReader(bytes);
2858
+ var msg = new proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest;
2859
+ return proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.deserializeBinaryFromReader(msg, reader);
2860
+ };
2861
+
2862
+
2863
+ /**
2864
+ * Deserializes binary data (in protobuf wire format) from the
2865
+ * given reader into the given message object.
2866
+ * @param {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} msg The message object to deserialize into.
2867
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2868
+ * @return {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest}
2869
+ */
2870
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.deserializeBinaryFromReader = function(msg, reader) {
2871
+ while (reader.nextField()) {
2872
+ if (reader.isEndGroup()) {
2873
+ break;
2874
+ }
2875
+ var field = reader.getFieldNumber();
2876
+ switch (field) {
2877
+ case 1:
2878
+ var value = /** @type {string} */ (reader.readString());
2879
+ msg.setCode(value);
2880
+ break;
2881
+ case 2:
2882
+ var value = /** @type {string} */ (reader.readString());
2883
+ msg.setError(value);
2884
+ break;
2885
+ case 3:
2886
+ var value = /** @type {string} */ (reader.readString());
2887
+ msg.setState(value);
2888
+ break;
2889
+ default:
2890
+ reader.skipField();
2891
+ break;
2892
+ }
2893
+ }
2894
+ return msg;
2895
+ };
2896
+
2897
+
2898
+ /**
2899
+ * Class method variant: serializes the given message to binary data
2900
+ * (in protobuf wire format), writing to the given BinaryWriter.
2901
+ * @param {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} message
2902
+ * @param {!jspb.BinaryWriter} writer
2903
+ */
2904
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.serializeBinaryToWriter = function(message, writer) {
2905
+ message.serializeBinaryToWriter(writer);
2906
+ };
2907
+
2908
+
2909
+ /**
2910
+ * Serializes the message to binary data (in protobuf wire format).
2911
+ * @return {!Uint8Array}
2912
+ */
2913
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.serializeBinary = function() {
2914
+ var writer = new jspb.BinaryWriter();
2915
+ this.serializeBinaryToWriter(writer);
2916
+ return writer.getResultBuffer();
2917
+ };
2918
+
2919
+
2920
+ /**
2921
+ * Serializes the message to binary data (in protobuf wire format),
2922
+ * writing to the given BinaryWriter.
2923
+ * @param {!jspb.BinaryWriter} writer
2924
+ */
2925
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.serializeBinaryToWriter = function (writer) {
2926
+ var f = undefined;
2927
+ f = this.getCode();
2928
+ if (f.length > 0) {
2929
+ writer.writeString(
2930
+ 1,
2931
+ f
2932
+ );
2933
+ }
2934
+ f = this.getError();
2935
+ if (f.length > 0) {
2936
+ writer.writeString(
2937
+ 2,
2938
+ f
2939
+ );
2940
+ }
2941
+ f = this.getState();
2942
+ if (f.length > 0) {
2943
+ writer.writeString(
2944
+ 3,
2945
+ f
2946
+ );
2947
+ }
2948
+ };
2949
+
2950
+
2951
+ /**
2952
+ * Creates a deep clone of this proto. No data is shared with the original.
2953
+ * @return {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} The clone.
2954
+ */
2955
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.cloneMessage = function() {
2956
+ return /** @type {!proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest} */ (jspb.Message.cloneMessage(this));
2957
+ };
2958
+
2959
+
2960
+ /**
2961
+ * optional string code = 1;
2962
+ * @return {string}
2963
+ */
2964
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.getCode = function() {
2965
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
2966
+ };
2967
+
2968
+
2969
+ /** @param {string} value */
2970
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.setCode = function(value) {
2971
+ jspb.Message.setField(this, 1, value);
2972
+ };
2973
+
2974
+
2975
+ /**
2976
+ * optional string error = 2;
2977
+ * @return {string}
2978
+ */
2979
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.getError = function() {
2980
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
2981
+ };
2982
+
2983
+
2984
+ /** @param {string} value */
2985
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.setError = function(value) {
2986
+ jspb.Message.setField(this, 2, value);
2987
+ };
2988
+
2989
+
2990
+ /**
2991
+ * optional string state = 3;
2992
+ * @return {string}
2993
+ */
2994
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.getState = function() {
2995
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
2996
+ };
2997
+
2998
+
2999
+ /** @param {string} value */
3000
+ proto.sniipemailimportapi.HandleGoogleAuthRedirectionPortalRequest.prototype.setState = function(value) {
3001
+ jspb.Message.setField(this, 3, value);
3002
+ };
3003
+
3004
+
3005
+
2792
3006
  /**
2793
3007
  * Generated by JsPbCodeGenerator.
2794
3008
  * @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.16.2979",
3
+ "version": "22.16.3002",
4
4
  "description": "email-import-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",