@sniipwebmaster/email-import-service-client-grpcweb 22.16.2926 → 22.16.2944
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.
|
@@ -634,6 +634,86 @@ proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.hand
|
|
|
634
634
|
};
|
|
635
635
|
|
|
636
636
|
|
|
637
|
+
/**
|
|
638
|
+
* @const
|
|
639
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
640
|
+
* !proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest,
|
|
641
|
+
* !proto.google.protobuf.Empty>}
|
|
642
|
+
*/
|
|
643
|
+
const methodDescriptor_SniipEmailImportAPIService_HandleMsAuthRedirectionPortal = new grpc.web.MethodDescriptor(
|
|
644
|
+
'/sniipemailimportapi.SniipEmailImportAPIService/HandleMsAuthRedirectionPortal',
|
|
645
|
+
grpc.web.MethodType.UNARY,
|
|
646
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest,
|
|
647
|
+
google_protobuf_empty_pb.Empty,
|
|
648
|
+
/**
|
|
649
|
+
* @param {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} request
|
|
650
|
+
* @return {!Uint8Array}
|
|
651
|
+
*/
|
|
652
|
+
function(request) {
|
|
653
|
+
return request.serializeBinary();
|
|
654
|
+
},
|
|
655
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
656
|
+
);
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @const
|
|
661
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
662
|
+
* !proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest,
|
|
663
|
+
* !proto.google.protobuf.Empty>}
|
|
664
|
+
*/
|
|
665
|
+
const methodInfo_SniipEmailImportAPIService_HandleMsAuthRedirectionPortal = new grpc.web.AbstractClientBase.MethodInfo(
|
|
666
|
+
google_protobuf_empty_pb.Empty,
|
|
667
|
+
/**
|
|
668
|
+
* @param {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} request
|
|
669
|
+
* @return {!Uint8Array}
|
|
670
|
+
*/
|
|
671
|
+
function(request) {
|
|
672
|
+
return request.serializeBinary();
|
|
673
|
+
},
|
|
674
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
675
|
+
);
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* @param {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} request The
|
|
680
|
+
* request proto
|
|
681
|
+
* @param {?Object<string, string>} metadata User defined
|
|
682
|
+
* call metadata
|
|
683
|
+
* @param {function(?grpc.web.Error, ?proto.google.protobuf.Empty)}
|
|
684
|
+
* callback The callback function(error, response)
|
|
685
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
686
|
+
* The XHR Node Readable Stream
|
|
687
|
+
*/
|
|
688
|
+
proto.sniipemailimportapi.SniipEmailImportAPIServiceClient.prototype.handleMsAuthRedirectionPortal =
|
|
689
|
+
function(request, metadata, callback) {
|
|
690
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
691
|
+
'/sniipemailimportapi.SniipEmailImportAPIService/HandleMsAuthRedirectionPortal',
|
|
692
|
+
request,
|
|
693
|
+
metadata || {},
|
|
694
|
+
methodDescriptor_SniipEmailImportAPIService_HandleMsAuthRedirectionPortal,
|
|
695
|
+
callback);
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* @param {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} request The
|
|
701
|
+
* request proto
|
|
702
|
+
* @param {?Object<string, string>} metadata User defined
|
|
703
|
+
* call metadata
|
|
704
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
705
|
+
* Promise that resolves to the response
|
|
706
|
+
*/
|
|
707
|
+
proto.sniipemailimportapi.SniipEmailImportAPIServicePromiseClient.prototype.handleMsAuthRedirectionPortal =
|
|
708
|
+
function(request, metadata) {
|
|
709
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
710
|
+
'/sniipemailimportapi.SniipEmailImportAPIService/HandleMsAuthRedirectionPortal',
|
|
711
|
+
request,
|
|
712
|
+
metadata || {},
|
|
713
|
+
methodDescriptor_SniipEmailImportAPIService_HandleMsAuthRedirectionPortal);
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
|
|
637
717
|
/**
|
|
638
718
|
* @const
|
|
639
719
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -24,6 +24,7 @@ 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
26
|
goog.exportSymbol('proto.sniipemailimportapi.HandleMsAuthRediecrtionRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest', null, global);
|
|
27
28
|
goog.exportSymbol('proto.sniipemailimportapi.InitAuthRequest', null, global);
|
|
28
29
|
goog.exportSymbol('proto.sniipemailimportapi.InitAuthResponse', null, global);
|
|
29
30
|
goog.exportSymbol('proto.sniipemailimportapi.InitAuthorizationPortalRequest', null, global);
|
|
@@ -3028,6 +3029,246 @@ proto.sniipemailimportapi.HandleMsAuthRediecrtionRequest.prototype.setState = fu
|
|
|
3028
3029
|
|
|
3029
3030
|
|
|
3030
3031
|
|
|
3032
|
+
/**
|
|
3033
|
+
* Generated by JsPbCodeGenerator.
|
|
3034
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3035
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3036
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3037
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3038
|
+
* valid.
|
|
3039
|
+
* @extends {jspb.Message}
|
|
3040
|
+
* @constructor
|
|
3041
|
+
*/
|
|
3042
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest = function(opt_data) {
|
|
3043
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3044
|
+
};
|
|
3045
|
+
goog.inherits(proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest, jspb.Message);
|
|
3046
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3047
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.displayName = 'proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest';
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
|
|
3051
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3052
|
+
/**
|
|
3053
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
3054
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3055
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3056
|
+
* For the list of reserved names please see:
|
|
3057
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
3058
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
3059
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
3060
|
+
* @return {!Object}
|
|
3061
|
+
*/
|
|
3062
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3063
|
+
return proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.toObject(opt_includeInstance, this);
|
|
3064
|
+
};
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
/**
|
|
3068
|
+
* Static version of the {@see toObject} method.
|
|
3069
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
3070
|
+
* instance for transitional soy proto support:
|
|
3071
|
+
* http://goto/soy-param-migration
|
|
3072
|
+
* @param {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} msg The msg instance to transform.
|
|
3073
|
+
* @return {!Object}
|
|
3074
|
+
*/
|
|
3075
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.toObject = function(includeInstance, msg) {
|
|
3076
|
+
var f, obj = {
|
|
3077
|
+
code: msg.getCode(),
|
|
3078
|
+
error: msg.getError(),
|
|
3079
|
+
errorDescription: msg.getErrorDescription(),
|
|
3080
|
+
state: msg.getState()
|
|
3081
|
+
};
|
|
3082
|
+
|
|
3083
|
+
if (includeInstance) {
|
|
3084
|
+
obj.$jspbMessageInstance = msg;
|
|
3085
|
+
}
|
|
3086
|
+
return obj;
|
|
3087
|
+
};
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3093
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3094
|
+
* @return {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest}
|
|
3095
|
+
*/
|
|
3096
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.deserializeBinary = function(bytes) {
|
|
3097
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3098
|
+
var msg = new proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest;
|
|
3099
|
+
return proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.deserializeBinaryFromReader(msg, reader);
|
|
3100
|
+
};
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
/**
|
|
3104
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3105
|
+
* given reader into the given message object.
|
|
3106
|
+
* @param {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} msg The message object to deserialize into.
|
|
3107
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3108
|
+
* @return {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest}
|
|
3109
|
+
*/
|
|
3110
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3111
|
+
while (reader.nextField()) {
|
|
3112
|
+
if (reader.isEndGroup()) {
|
|
3113
|
+
break;
|
|
3114
|
+
}
|
|
3115
|
+
var field = reader.getFieldNumber();
|
|
3116
|
+
switch (field) {
|
|
3117
|
+
case 1:
|
|
3118
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3119
|
+
msg.setCode(value);
|
|
3120
|
+
break;
|
|
3121
|
+
case 2:
|
|
3122
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3123
|
+
msg.setError(value);
|
|
3124
|
+
break;
|
|
3125
|
+
case 3:
|
|
3126
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3127
|
+
msg.setErrorDescription(value);
|
|
3128
|
+
break;
|
|
3129
|
+
case 4:
|
|
3130
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3131
|
+
msg.setState(value);
|
|
3132
|
+
break;
|
|
3133
|
+
default:
|
|
3134
|
+
reader.skipField();
|
|
3135
|
+
break;
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
return msg;
|
|
3139
|
+
};
|
|
3140
|
+
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* Class method variant: serializes the given message to binary data
|
|
3144
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
3145
|
+
* @param {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} message
|
|
3146
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3147
|
+
*/
|
|
3148
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3149
|
+
message.serializeBinaryToWriter(writer);
|
|
3150
|
+
};
|
|
3151
|
+
|
|
3152
|
+
|
|
3153
|
+
/**
|
|
3154
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3155
|
+
* @return {!Uint8Array}
|
|
3156
|
+
*/
|
|
3157
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.serializeBinary = function() {
|
|
3158
|
+
var writer = new jspb.BinaryWriter();
|
|
3159
|
+
this.serializeBinaryToWriter(writer);
|
|
3160
|
+
return writer.getResultBuffer();
|
|
3161
|
+
};
|
|
3162
|
+
|
|
3163
|
+
|
|
3164
|
+
/**
|
|
3165
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
3166
|
+
* writing to the given BinaryWriter.
|
|
3167
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3168
|
+
*/
|
|
3169
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
3170
|
+
var f = undefined;
|
|
3171
|
+
f = this.getCode();
|
|
3172
|
+
if (f.length > 0) {
|
|
3173
|
+
writer.writeString(
|
|
3174
|
+
1,
|
|
3175
|
+
f
|
|
3176
|
+
);
|
|
3177
|
+
}
|
|
3178
|
+
f = this.getError();
|
|
3179
|
+
if (f.length > 0) {
|
|
3180
|
+
writer.writeString(
|
|
3181
|
+
2,
|
|
3182
|
+
f
|
|
3183
|
+
);
|
|
3184
|
+
}
|
|
3185
|
+
f = this.getErrorDescription();
|
|
3186
|
+
if (f.length > 0) {
|
|
3187
|
+
writer.writeString(
|
|
3188
|
+
3,
|
|
3189
|
+
f
|
|
3190
|
+
);
|
|
3191
|
+
}
|
|
3192
|
+
f = this.getState();
|
|
3193
|
+
if (f.length > 0) {
|
|
3194
|
+
writer.writeString(
|
|
3195
|
+
4,
|
|
3196
|
+
f
|
|
3197
|
+
);
|
|
3198
|
+
}
|
|
3199
|
+
};
|
|
3200
|
+
|
|
3201
|
+
|
|
3202
|
+
/**
|
|
3203
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
3204
|
+
* @return {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} The clone.
|
|
3205
|
+
*/
|
|
3206
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.cloneMessage = function() {
|
|
3207
|
+
return /** @type {!proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest} */ (jspb.Message.cloneMessage(this));
|
|
3208
|
+
};
|
|
3209
|
+
|
|
3210
|
+
|
|
3211
|
+
/**
|
|
3212
|
+
* optional string code = 1;
|
|
3213
|
+
* @return {string}
|
|
3214
|
+
*/
|
|
3215
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.getCode = function() {
|
|
3216
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 1, ""));
|
|
3217
|
+
};
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
/** @param {string} value */
|
|
3221
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.setCode = function(value) {
|
|
3222
|
+
jspb.Message.setField(this, 1, value);
|
|
3223
|
+
};
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
/**
|
|
3227
|
+
* optional string error = 2;
|
|
3228
|
+
* @return {string}
|
|
3229
|
+
*/
|
|
3230
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.getError = function() {
|
|
3231
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
|
|
3232
|
+
};
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
/** @param {string} value */
|
|
3236
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.setError = function(value) {
|
|
3237
|
+
jspb.Message.setField(this, 2, value);
|
|
3238
|
+
};
|
|
3239
|
+
|
|
3240
|
+
|
|
3241
|
+
/**
|
|
3242
|
+
* optional string error_description = 3;
|
|
3243
|
+
* @return {string}
|
|
3244
|
+
*/
|
|
3245
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.getErrorDescription = function() {
|
|
3246
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
3247
|
+
};
|
|
3248
|
+
|
|
3249
|
+
|
|
3250
|
+
/** @param {string} value */
|
|
3251
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.setErrorDescription = function(value) {
|
|
3252
|
+
jspb.Message.setField(this, 3, value);
|
|
3253
|
+
};
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
/**
|
|
3257
|
+
* optional string state = 4;
|
|
3258
|
+
* @return {string}
|
|
3259
|
+
*/
|
|
3260
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.getState = function() {
|
|
3261
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
3262
|
+
};
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
/** @param {string} value */
|
|
3266
|
+
proto.sniipemailimportapi.HandleMsAuthRedirectionPortalRequest.prototype.setState = function(value) {
|
|
3267
|
+
jspb.Message.setField(this, 4, value);
|
|
3268
|
+
};
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
|
|
3031
3272
|
/**
|
|
3032
3273
|
* Generated by JsPbCodeGenerator.
|
|
3033
3274
|
* @param {Array=} opt_data Optional initial data array, typically from a
|