@sniipwebmaster/email-import-service-client-grpcweb 0.2.874 → 0.2.883

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.
@@ -530,6 +530,61 @@ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.remo
530
530
  };
531
531
 
532
532
 
533
+ /**
534
+ * @const
535
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
536
+ * !proto.sniipemailimportapi.SyncSuccessRequest,
537
+ * !proto.sniipemailimportapi.ResponseCode>}
538
+ */
539
+ const methodInfo_SniipEmailImportAPIService_SyncSuccess = new grpc.web.AbstractClientBase.MethodInfo(
540
+ proto.sniipemailimportapi.ResponseCode,
541
+ /** @param {!proto.sniipemailimportapi.SyncSuccessRequest} request */
542
+ function(request) {
543
+ return request.serializeBinary();
544
+ },
545
+ proto.sniipemailimportapi.ResponseCode.deserializeBinary
546
+ );
547
+
548
+
549
+ /**
550
+ * @param {!proto.sniipemailimportapi.SyncSuccessRequest} request The
551
+ * request proto
552
+ * @param {?Object<string, string>} metadata User defined
553
+ * call metadata
554
+ * @param {function(?grpc.web.Error, ?proto.sniipemailimportapi.ResponseCode)}
555
+ * callback The callback function(error, response)
556
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipemailimportapi.ResponseCode>|undefined}
557
+ * The XHR Node Readable Stream
558
+ */
559
+ proto.sniipemailimportapi.SniipEmailImportAPIServiceClient.prototype.syncSuccess =
560
+ function(request, metadata, callback) {
561
+ return this.client_.rpcCall(this.hostname_ +
562
+ '/sniipemailimportapi.SniipEmailImportAPIService/SyncSuccess',
563
+ request,
564
+ metadata || {},
565
+ methodInfo_SniipEmailImportAPIService_SyncSuccess,
566
+ callback);
567
+ };
568
+
569
+
570
+ /**
571
+ * @param {!proto.sniipemailimportapi.SyncSuccessRequest} request The
572
+ * request proto
573
+ * @param {?Object<string, string>} metadata User defined
574
+ * call metadata
575
+ * @return {!Promise<!proto.sniipemailimportapi.ResponseCode>}
576
+ * A native promise that resolves to the response
577
+ */
578
+ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.syncSuccess =
579
+ function(request, metadata) {
580
+ return this.client_.unaryCall(this.hostname_ +
581
+ '/sniipemailimportapi.SniipEmailImportAPIService/SyncSuccess',
582
+ request,
583
+ metadata || {},
584
+ methodInfo_SniipEmailImportAPIService_SyncSuccess);
585
+ };
586
+
587
+
533
588
  /**
534
589
  * @const
535
590
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -20,8 +20,10 @@ goog.exportSymbol('proto.sniipemailimportapi.GetConnectedEmailsResponse', null,
20
20
  goog.exportSymbol('proto.sniipemailimportapi.MakeAuthRequestRequest', null, global);
21
21
  goog.exportSymbol('proto.sniipemailimportapi.RefreshTokenRequest', null, global);
22
22
  goog.exportSymbol('proto.sniipemailimportapi.RemoveTokenRequest', null, global);
23
+ goog.exportSymbol('proto.sniipemailimportapi.RequestSyncSuccess', null, global);
23
24
  goog.exportSymbol('proto.sniipemailimportapi.ResponseCode', null, global);
24
25
  goog.exportSymbol('proto.sniipemailimportapi.RevokeRequest', null, global);
26
+ goog.exportSymbol('proto.sniipemailimportapi.SyncSuccessRequest', null, global);
25
27
  goog.exportSymbol('proto.sniipemailimportapi.TokenRefreshRequest', null, global);
26
28
  goog.exportSymbol('proto.sniipemailimportapi.TokenRefreshResponse', null, global);
27
29
  goog.exportSymbol('proto.sniipemailimportapi.UpdateAutomaticSyncRequest', null, global);
@@ -1964,6 +1966,219 @@ proto.sniipemailimportapi.RemoveTokenRequest.prototype.hasData = function() {
1964
1966
 
1965
1967
 
1966
1968
 
1969
+ /**
1970
+ * Generated by JsPbCodeGenerator.
1971
+ * @param {Array=} opt_data Optional initial data array, typically from a
1972
+ * server response, or constructed directly in Javascript. The array is used
1973
+ * in place and becomes part of the constructed object. It is not cloned.
1974
+ * If no data is provided, the constructed object will be empty, but still
1975
+ * valid.
1976
+ * @extends {jspb.Message}
1977
+ * @constructor
1978
+ */
1979
+ proto.sniipemailimportapi.RequestSyncSuccess = function(opt_data) {
1980
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1981
+ };
1982
+ goog.inherits(proto.sniipemailimportapi.RequestSyncSuccess, jspb.Message);
1983
+ if (goog.DEBUG && !COMPILED) {
1984
+ proto.sniipemailimportapi.RequestSyncSuccess.displayName = 'proto.sniipemailimportapi.RequestSyncSuccess';
1985
+ }
1986
+
1987
+
1988
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1989
+ /**
1990
+ * Creates an object representation of this proto suitable for use in Soy templates.
1991
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1992
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1993
+ * For the list of reserved names please see:
1994
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
1995
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
1996
+ * for transitional soy proto support: http://goto/soy-param-migration
1997
+ * @return {!Object}
1998
+ */
1999
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.toObject = function(opt_includeInstance) {
2000
+ return proto.sniipemailimportapi.RequestSyncSuccess.toObject(opt_includeInstance, this);
2001
+ };
2002
+
2003
+
2004
+ /**
2005
+ * Static version of the {@see toObject} method.
2006
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
2007
+ * instance for transitional soy proto support:
2008
+ * http://goto/soy-param-migration
2009
+ * @param {!proto.sniipemailimportapi.RequestSyncSuccess} msg The msg instance to transform.
2010
+ * @return {!Object}
2011
+ */
2012
+ proto.sniipemailimportapi.RequestSyncSuccess.toObject = function(includeInstance, msg) {
2013
+ var f, obj = {
2014
+ billid: msg.getBillid(),
2015
+ billername: msg.getBillername(),
2016
+ numberofbillscreated: msg.getNumberofbillscreated()
2017
+ };
2018
+
2019
+ if (includeInstance) {
2020
+ obj.$jspbMessageInstance = msg;
2021
+ }
2022
+ return obj;
2023
+ };
2024
+ }
2025
+
2026
+
2027
+ /**
2028
+ * Deserializes binary data (in protobuf wire format).
2029
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2030
+ * @return {!proto.sniipemailimportapi.RequestSyncSuccess}
2031
+ */
2032
+ proto.sniipemailimportapi.RequestSyncSuccess.deserializeBinary = function(bytes) {
2033
+ var reader = new jspb.BinaryReader(bytes);
2034
+ var msg = new proto.sniipemailimportapi.RequestSyncSuccess;
2035
+ return proto.sniipemailimportapi.RequestSyncSuccess.deserializeBinaryFromReader(msg, reader);
2036
+ };
2037
+
2038
+
2039
+ /**
2040
+ * Deserializes binary data (in protobuf wire format) from the
2041
+ * given reader into the given message object.
2042
+ * @param {!proto.sniipemailimportapi.RequestSyncSuccess} msg The message object to deserialize into.
2043
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2044
+ * @return {!proto.sniipemailimportapi.RequestSyncSuccess}
2045
+ */
2046
+ proto.sniipemailimportapi.RequestSyncSuccess.deserializeBinaryFromReader = function(msg, reader) {
2047
+ while (reader.nextField()) {
2048
+ if (reader.isEndGroup()) {
2049
+ break;
2050
+ }
2051
+ var field = reader.getFieldNumber();
2052
+ switch (field) {
2053
+ case 1:
2054
+ var value = /** @type {number} */ (reader.readInt64());
2055
+ msg.setBillid(value);
2056
+ break;
2057
+ case 2:
2058
+ var value = /** @type {string} */ (reader.readString());
2059
+ msg.setBillername(value);
2060
+ break;
2061
+ case 3:
2062
+ var value = /** @type {number} */ (reader.readInt32());
2063
+ msg.setNumberofbillscreated(value);
2064
+ break;
2065
+ default:
2066
+ reader.skipField();
2067
+ break;
2068
+ }
2069
+ }
2070
+ return msg;
2071
+ };
2072
+
2073
+
2074
+ /**
2075
+ * Class method variant: serializes the given message to binary data
2076
+ * (in protobuf wire format), writing to the given BinaryWriter.
2077
+ * @param {!proto.sniipemailimportapi.RequestSyncSuccess} message
2078
+ * @param {!jspb.BinaryWriter} writer
2079
+ */
2080
+ proto.sniipemailimportapi.RequestSyncSuccess.serializeBinaryToWriter = function(message, writer) {
2081
+ message.serializeBinaryToWriter(writer);
2082
+ };
2083
+
2084
+
2085
+ /**
2086
+ * Serializes the message to binary data (in protobuf wire format).
2087
+ * @return {!Uint8Array}
2088
+ */
2089
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.serializeBinary = function() {
2090
+ var writer = new jspb.BinaryWriter();
2091
+ this.serializeBinaryToWriter(writer);
2092
+ return writer.getResultBuffer();
2093
+ };
2094
+
2095
+
2096
+ /**
2097
+ * Serializes the message to binary data (in protobuf wire format),
2098
+ * writing to the given BinaryWriter.
2099
+ * @param {!jspb.BinaryWriter} writer
2100
+ */
2101
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.serializeBinaryToWriter = function (writer) {
2102
+ var f = undefined;
2103
+ f = this.getBillid();
2104
+ if (f !== 0) {
2105
+ writer.writeInt64(
2106
+ 1,
2107
+ f
2108
+ );
2109
+ }
2110
+ f = this.getBillername();
2111
+ if (f.length > 0) {
2112
+ writer.writeString(
2113
+ 2,
2114
+ f
2115
+ );
2116
+ }
2117
+ f = this.getNumberofbillscreated();
2118
+ if (f !== 0) {
2119
+ writer.writeInt32(
2120
+ 3,
2121
+ f
2122
+ );
2123
+ }
2124
+ };
2125
+
2126
+
2127
+ /**
2128
+ * Creates a deep clone of this proto. No data is shared with the original.
2129
+ * @return {!proto.sniipemailimportapi.RequestSyncSuccess} The clone.
2130
+ */
2131
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.cloneMessage = function() {
2132
+ return /** @type {!proto.sniipemailimportapi.RequestSyncSuccess} */ (jspb.Message.cloneMessage(this));
2133
+ };
2134
+
2135
+
2136
+ /**
2137
+ * optional int64 billId = 1;
2138
+ * @return {number}
2139
+ */
2140
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.getBillid = function() {
2141
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
2142
+ };
2143
+
2144
+
2145
+ /** @param {number} value */
2146
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.setBillid = function(value) {
2147
+ jspb.Message.setField(this, 1, value);
2148
+ };
2149
+
2150
+
2151
+ /**
2152
+ * optional string billerName = 2;
2153
+ * @return {string}
2154
+ */
2155
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.getBillername = function() {
2156
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
2157
+ };
2158
+
2159
+
2160
+ /** @param {string} value */
2161
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.setBillername = function(value) {
2162
+ jspb.Message.setField(this, 2, value);
2163
+ };
2164
+
2165
+
2166
+ /**
2167
+ * optional int32 numberOfBillsCreated = 3;
2168
+ * @return {number}
2169
+ */
2170
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.getNumberofbillscreated = function() {
2171
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
2172
+ };
2173
+
2174
+
2175
+ /** @param {number} value */
2176
+ proto.sniipemailimportapi.RequestSyncSuccess.prototype.setNumberofbillscreated = function(value) {
2177
+ jspb.Message.setField(this, 3, value);
2178
+ };
2179
+
2180
+
2181
+
1967
2182
  /**
1968
2183
  * Generated by JsPbCodeGenerator.
1969
2184
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2309,6 +2524,182 @@ proto.sniipemailimportapi.RevokeRequest.prototype.setTokenid = function(value) {
2309
2524
 
2310
2525
 
2311
2526
 
2527
+ /**
2528
+ * Generated by JsPbCodeGenerator.
2529
+ * @param {Array=} opt_data Optional initial data array, typically from a
2530
+ * server response, or constructed directly in Javascript. The array is used
2531
+ * in place and becomes part of the constructed object. It is not cloned.
2532
+ * If no data is provided, the constructed object will be empty, but still
2533
+ * valid.
2534
+ * @extends {jspb.Message}
2535
+ * @constructor
2536
+ */
2537
+ proto.sniipemailimportapi.SyncSuccessRequest = function(opt_data) {
2538
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2539
+ };
2540
+ goog.inherits(proto.sniipemailimportapi.SyncSuccessRequest, jspb.Message);
2541
+ if (goog.DEBUG && !COMPILED) {
2542
+ proto.sniipemailimportapi.SyncSuccessRequest.displayName = 'proto.sniipemailimportapi.SyncSuccessRequest';
2543
+ }
2544
+
2545
+
2546
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2547
+ /**
2548
+ * Creates an object representation of this proto suitable for use in Soy templates.
2549
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2550
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2551
+ * For the list of reserved names please see:
2552
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2553
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2554
+ * for transitional soy proto support: http://goto/soy-param-migration
2555
+ * @return {!Object}
2556
+ */
2557
+ proto.sniipemailimportapi.SyncSuccessRequest.prototype.toObject = function(opt_includeInstance) {
2558
+ return proto.sniipemailimportapi.SyncSuccessRequest.toObject(opt_includeInstance, this);
2559
+ };
2560
+
2561
+
2562
+ /**
2563
+ * Static version of the {@see toObject} method.
2564
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
2565
+ * instance for transitional soy proto support:
2566
+ * http://goto/soy-param-migration
2567
+ * @param {!proto.sniipemailimportapi.SyncSuccessRequest} msg The msg instance to transform.
2568
+ * @return {!Object}
2569
+ */
2570
+ proto.sniipemailimportapi.SyncSuccessRequest.toObject = function(includeInstance, msg) {
2571
+ var f, obj = {
2572
+ data: (f = msg.getData()) && proto.sniipemailimportapi.RequestSyncSuccess.toObject(includeInstance, f)
2573
+ };
2574
+
2575
+ if (includeInstance) {
2576
+ obj.$jspbMessageInstance = msg;
2577
+ }
2578
+ return obj;
2579
+ };
2580
+ }
2581
+
2582
+
2583
+ /**
2584
+ * Deserializes binary data (in protobuf wire format).
2585
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2586
+ * @return {!proto.sniipemailimportapi.SyncSuccessRequest}
2587
+ */
2588
+ proto.sniipemailimportapi.SyncSuccessRequest.deserializeBinary = function(bytes) {
2589
+ var reader = new jspb.BinaryReader(bytes);
2590
+ var msg = new proto.sniipemailimportapi.SyncSuccessRequest;
2591
+ return proto.sniipemailimportapi.SyncSuccessRequest.deserializeBinaryFromReader(msg, reader);
2592
+ };
2593
+
2594
+
2595
+ /**
2596
+ * Deserializes binary data (in protobuf wire format) from the
2597
+ * given reader into the given message object.
2598
+ * @param {!proto.sniipemailimportapi.SyncSuccessRequest} msg The message object to deserialize into.
2599
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2600
+ * @return {!proto.sniipemailimportapi.SyncSuccessRequest}
2601
+ */
2602
+ proto.sniipemailimportapi.SyncSuccessRequest.deserializeBinaryFromReader = function(msg, reader) {
2603
+ while (reader.nextField()) {
2604
+ if (reader.isEndGroup()) {
2605
+ break;
2606
+ }
2607
+ var field = reader.getFieldNumber();
2608
+ switch (field) {
2609
+ case 1:
2610
+ var value = new proto.sniipemailimportapi.RequestSyncSuccess;
2611
+ reader.readMessage(value,proto.sniipemailimportapi.RequestSyncSuccess.deserializeBinaryFromReader);
2612
+ msg.setData(value);
2613
+ break;
2614
+ default:
2615
+ reader.skipField();
2616
+ break;
2617
+ }
2618
+ }
2619
+ return msg;
2620
+ };
2621
+
2622
+
2623
+ /**
2624
+ * Class method variant: serializes the given message to binary data
2625
+ * (in protobuf wire format), writing to the given BinaryWriter.
2626
+ * @param {!proto.sniipemailimportapi.SyncSuccessRequest} message
2627
+ * @param {!jspb.BinaryWriter} writer
2628
+ */
2629
+ proto.sniipemailimportapi.SyncSuccessRequest.serializeBinaryToWriter = function(message, writer) {
2630
+ message.serializeBinaryToWriter(writer);
2631
+ };
2632
+
2633
+
2634
+ /**
2635
+ * Serializes the message to binary data (in protobuf wire format).
2636
+ * @return {!Uint8Array}
2637
+ */
2638
+ proto.sniipemailimportapi.SyncSuccessRequest.prototype.serializeBinary = function() {
2639
+ var writer = new jspb.BinaryWriter();
2640
+ this.serializeBinaryToWriter(writer);
2641
+ return writer.getResultBuffer();
2642
+ };
2643
+
2644
+
2645
+ /**
2646
+ * Serializes the message to binary data (in protobuf wire format),
2647
+ * writing to the given BinaryWriter.
2648
+ * @param {!jspb.BinaryWriter} writer
2649
+ */
2650
+ proto.sniipemailimportapi.SyncSuccessRequest.prototype.serializeBinaryToWriter = function (writer) {
2651
+ var f = undefined;
2652
+ f = this.getData();
2653
+ if (f != null) {
2654
+ writer.writeMessage(
2655
+ 1,
2656
+ f,
2657
+ proto.sniipemailimportapi.RequestSyncSuccess.serializeBinaryToWriter
2658
+ );
2659
+ }
2660
+ };
2661
+
2662
+
2663
+ /**
2664
+ * Creates a deep clone of this proto. No data is shared with the original.
2665
+ * @return {!proto.sniipemailimportapi.SyncSuccessRequest} The clone.
2666
+ */
2667
+ proto.sniipemailimportapi.SyncSuccessRequest.prototype.cloneMessage = function() {
2668
+ return /** @type {!proto.sniipemailimportapi.SyncSuccessRequest} */ (jspb.Message.cloneMessage(this));
2669
+ };
2670
+
2671
+
2672
+ /**
2673
+ * optional RequestSyncSuccess data = 1;
2674
+ * @return {proto.sniipemailimportapi.RequestSyncSuccess}
2675
+ */
2676
+ proto.sniipemailimportapi.SyncSuccessRequest.prototype.getData = function() {
2677
+ return /** @type{proto.sniipemailimportapi.RequestSyncSuccess} */ (
2678
+ jspb.Message.getWrapperField(this, proto.sniipemailimportapi.RequestSyncSuccess, 1));
2679
+ };
2680
+
2681
+
2682
+ /** @param {proto.sniipemailimportapi.RequestSyncSuccess|undefined} value */
2683
+ proto.sniipemailimportapi.SyncSuccessRequest.prototype.setData = function(value) {
2684
+ jspb.Message.setWrapperField(this, 1, value);
2685
+ };
2686
+
2687
+
2688
+ proto.sniipemailimportapi.SyncSuccessRequest.prototype.clearData = function() {
2689
+ this.setData(undefined);
2690
+ };
2691
+
2692
+
2693
+ /**
2694
+ * Returns whether this field is set.
2695
+ * @return{!boolean}
2696
+ */
2697
+ proto.sniipemailimportapi.SyncSuccessRequest.prototype.hasData = function() {
2698
+ return jspb.Message.getField(this, 1) != null;
2699
+ };
2700
+
2701
+
2702
+
2312
2703
  /**
2313
2704
  * Generated by JsPbCodeGenerator.
2314
2705
  * @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": "0.2.874",
3
+ "version": "0.2.883",
4
4
  "description": "email-import-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",