@sniipwebmaster/email-import-service-client-grpcweb 0.2.991 → 0.2.1005
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.
- package/dependancies/service_pb.js +88 -3
- package/package.json +1 -1
|
@@ -77,7 +77,8 @@ proto.sniipemailimportapi.AuthRequest.toObject = function(includeInstance, msg)
|
|
|
77
77
|
var f, obj = {
|
|
78
78
|
provider: msg.getProvider(),
|
|
79
79
|
authcode: msg.getAuthcode(),
|
|
80
|
-
idtoken: msg.getIdtoken()
|
|
80
|
+
idtoken: msg.getIdtoken(),
|
|
81
|
+
isreconnection: msg.getIsreconnection()
|
|
81
82
|
};
|
|
82
83
|
|
|
83
84
|
if (includeInstance) {
|
|
@@ -126,6 +127,10 @@ proto.sniipemailimportapi.AuthRequest.deserializeBinaryFromReader = function(msg
|
|
|
126
127
|
var value = /** @type {string} */ (reader.readString());
|
|
127
128
|
msg.setIdtoken(value);
|
|
128
129
|
break;
|
|
130
|
+
case 4:
|
|
131
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
132
|
+
msg.setIsreconnection(value);
|
|
133
|
+
break;
|
|
129
134
|
default:
|
|
130
135
|
reader.skipField();
|
|
131
136
|
break;
|
|
@@ -185,6 +190,13 @@ proto.sniipemailimportapi.AuthRequest.prototype.serializeBinaryToWriter = functi
|
|
|
185
190
|
f
|
|
186
191
|
);
|
|
187
192
|
}
|
|
193
|
+
f = this.getIsreconnection();
|
|
194
|
+
if (f) {
|
|
195
|
+
writer.writeBool(
|
|
196
|
+
4,
|
|
197
|
+
f
|
|
198
|
+
);
|
|
199
|
+
}
|
|
188
200
|
};
|
|
189
201
|
|
|
190
202
|
|
|
@@ -242,6 +254,23 @@ proto.sniipemailimportapi.AuthRequest.prototype.setIdtoken = function(value) {
|
|
|
242
254
|
};
|
|
243
255
|
|
|
244
256
|
|
|
257
|
+
/**
|
|
258
|
+
* optional bool isReconnection = 4;
|
|
259
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
260
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
261
|
+
* @return {boolean}
|
|
262
|
+
*/
|
|
263
|
+
proto.sniipemailimportapi.AuthRequest.prototype.getIsreconnection = function() {
|
|
264
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
/** @param {boolean} value */
|
|
269
|
+
proto.sniipemailimportapi.AuthRequest.prototype.setIsreconnection = function(value) {
|
|
270
|
+
jspb.Message.setField(this, 4, value);
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
|
|
245
274
|
|
|
246
275
|
/**
|
|
247
276
|
* Generated by JsPbCodeGenerator.
|
|
@@ -290,7 +319,8 @@ proto.sniipemailimportapi.AuthResponse.toObject = function(includeInstance, msg)
|
|
|
290
319
|
var f, obj = {
|
|
291
320
|
responsecode: (f = msg.getResponsecode()) && proto.sniipemailimportapi.ResponseCode.toObject(includeInstance, f),
|
|
292
321
|
accesstoken: msg.getAccesstoken(),
|
|
293
|
-
refreshtoken: msg.getRefreshtoken()
|
|
322
|
+
refreshtoken: msg.getRefreshtoken(),
|
|
323
|
+
tokenid: msg.getTokenid()
|
|
294
324
|
};
|
|
295
325
|
|
|
296
326
|
if (includeInstance) {
|
|
@@ -340,6 +370,10 @@ proto.sniipemailimportapi.AuthResponse.deserializeBinaryFromReader = function(ms
|
|
|
340
370
|
var value = /** @type {string} */ (reader.readString());
|
|
341
371
|
msg.setRefreshtoken(value);
|
|
342
372
|
break;
|
|
373
|
+
case 4:
|
|
374
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
375
|
+
msg.setTokenid(value);
|
|
376
|
+
break;
|
|
343
377
|
default:
|
|
344
378
|
reader.skipField();
|
|
345
379
|
break;
|
|
@@ -400,6 +434,13 @@ proto.sniipemailimportapi.AuthResponse.prototype.serializeBinaryToWriter = funct
|
|
|
400
434
|
f
|
|
401
435
|
);
|
|
402
436
|
}
|
|
437
|
+
f = this.getTokenid();
|
|
438
|
+
if (f !== 0) {
|
|
439
|
+
writer.writeInt64(
|
|
440
|
+
4,
|
|
441
|
+
f
|
|
442
|
+
);
|
|
443
|
+
}
|
|
403
444
|
};
|
|
404
445
|
|
|
405
446
|
|
|
@@ -472,6 +513,21 @@ proto.sniipemailimportapi.AuthResponse.prototype.setRefreshtoken = function(valu
|
|
|
472
513
|
};
|
|
473
514
|
|
|
474
515
|
|
|
516
|
+
/**
|
|
517
|
+
* optional int64 tokenId = 4;
|
|
518
|
+
* @return {number}
|
|
519
|
+
*/
|
|
520
|
+
proto.sniipemailimportapi.AuthResponse.prototype.getTokenid = function() {
|
|
521
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 4, 0));
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
/** @param {number} value */
|
|
526
|
+
proto.sniipemailimportapi.AuthResponse.prototype.setTokenid = function(value) {
|
|
527
|
+
jspb.Message.setField(this, 4, value);
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
|
|
475
531
|
|
|
476
532
|
/**
|
|
477
533
|
* Generated by JsPbCodeGenerator.
|
|
@@ -712,7 +768,8 @@ proto.sniipemailimportapi.ConnectedEmail.toObject = function(includeInstance, ms
|
|
|
712
768
|
tokenid: msg.getTokenid(),
|
|
713
769
|
automaticsync: msg.getAutomaticsync(),
|
|
714
770
|
lastrequesttime: msg.getLastrequesttime(),
|
|
715
|
-
syncinprogress: msg.getSyncinprogress()
|
|
771
|
+
syncinprogress: msg.getSyncinprogress(),
|
|
772
|
+
isactive: msg.getIsactive()
|
|
716
773
|
};
|
|
717
774
|
|
|
718
775
|
if (includeInstance) {
|
|
@@ -777,6 +834,10 @@ proto.sniipemailimportapi.ConnectedEmail.deserializeBinaryFromReader = function(
|
|
|
777
834
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
778
835
|
msg.setSyncinprogress(value);
|
|
779
836
|
break;
|
|
837
|
+
case 8:
|
|
838
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
839
|
+
msg.setIsactive(value);
|
|
840
|
+
break;
|
|
780
841
|
default:
|
|
781
842
|
reader.skipField();
|
|
782
843
|
break;
|
|
@@ -864,6 +925,13 @@ proto.sniipemailimportapi.ConnectedEmail.prototype.serializeBinaryToWriter = fun
|
|
|
864
925
|
f
|
|
865
926
|
);
|
|
866
927
|
}
|
|
928
|
+
f = this.getIsactive();
|
|
929
|
+
if (f) {
|
|
930
|
+
writer.writeBool(
|
|
931
|
+
8,
|
|
932
|
+
f
|
|
933
|
+
);
|
|
934
|
+
}
|
|
867
935
|
};
|
|
868
936
|
|
|
869
937
|
|
|
@@ -985,6 +1053,23 @@ proto.sniipemailimportapi.ConnectedEmail.prototype.setSyncinprogress = function(
|
|
|
985
1053
|
};
|
|
986
1054
|
|
|
987
1055
|
|
|
1056
|
+
/**
|
|
1057
|
+
* optional bool isActive = 8;
|
|
1058
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
1059
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
1060
|
+
* @return {boolean}
|
|
1061
|
+
*/
|
|
1062
|
+
proto.sniipemailimportapi.ConnectedEmail.prototype.getIsactive = function() {
|
|
1063
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 8, false));
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
/** @param {boolean} value */
|
|
1068
|
+
proto.sniipemailimportapi.ConnectedEmail.prototype.setIsactive = function(value) {
|
|
1069
|
+
jspb.Message.setField(this, 8, value);
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
|
|
988
1073
|
|
|
989
1074
|
/**
|
|
990
1075
|
* Generated by JsPbCodeGenerator.
|