@sniipwebmaster/user-service-client-grpcweb 25.10.13585 → 25.10.13607
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.
|
@@ -8252,6 +8252,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.internalVa
|
|
|
8252
8252
|
};
|
|
8253
8253
|
|
|
8254
8254
|
|
|
8255
|
+
/**
|
|
8256
|
+
* @const
|
|
8257
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8258
|
+
* !proto.sniipuserservice.InternalValidateMfaOtpRequest,
|
|
8259
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
8260
|
+
*/
|
|
8261
|
+
const methodDescriptor_SniipUserServiceService_InternalValidateMfaOtp = new grpc.web.MethodDescriptor(
|
|
8262
|
+
'/sniipuserservice.SniipUserServiceService/InternalValidateMfaOtp',
|
|
8263
|
+
grpc.web.MethodType.UNARY,
|
|
8264
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest,
|
|
8265
|
+
proto.sniipuserservice.ResponseCode,
|
|
8266
|
+
/**
|
|
8267
|
+
* @param {!proto.sniipuserservice.InternalValidateMfaOtpRequest} request
|
|
8268
|
+
* @return {!Uint8Array}
|
|
8269
|
+
*/
|
|
8270
|
+
function(request) {
|
|
8271
|
+
return request.serializeBinary();
|
|
8272
|
+
},
|
|
8273
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
8274
|
+
);
|
|
8275
|
+
|
|
8276
|
+
|
|
8277
|
+
/**
|
|
8278
|
+
* @param {!proto.sniipuserservice.InternalValidateMfaOtpRequest} request The
|
|
8279
|
+
* request proto
|
|
8280
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8281
|
+
* call metadata
|
|
8282
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
|
|
8283
|
+
* callback The callback function(error, response)
|
|
8284
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
|
|
8285
|
+
* The XHR Node Readable Stream
|
|
8286
|
+
*/
|
|
8287
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.internalValidateMfaOtp =
|
|
8288
|
+
function(request, metadata, callback) {
|
|
8289
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8290
|
+
'/sniipuserservice.SniipUserServiceService/InternalValidateMfaOtp',
|
|
8291
|
+
request,
|
|
8292
|
+
metadata || {},
|
|
8293
|
+
methodDescriptor_SniipUserServiceService_InternalValidateMfaOtp,
|
|
8294
|
+
callback);
|
|
8295
|
+
};
|
|
8296
|
+
|
|
8297
|
+
|
|
8298
|
+
/**
|
|
8299
|
+
* @param {!proto.sniipuserservice.InternalValidateMfaOtpRequest} request The
|
|
8300
|
+
* request proto
|
|
8301
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8302
|
+
* call metadata
|
|
8303
|
+
* @return {!Promise<!proto.sniipuserservice.ResponseCode>}
|
|
8304
|
+
* Promise that resolves to the response
|
|
8305
|
+
*/
|
|
8306
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.internalValidateMfaOtp =
|
|
8307
|
+
function(request, metadata) {
|
|
8308
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8309
|
+
'/sniipuserservice.SniipUserServiceService/InternalValidateMfaOtp',
|
|
8310
|
+
request,
|
|
8311
|
+
metadata || {},
|
|
8312
|
+
methodDescriptor_SniipUserServiceService_InternalValidateMfaOtp);
|
|
8313
|
+
};
|
|
8314
|
+
|
|
8315
|
+
|
|
8255
8316
|
/**
|
|
8256
8317
|
* @const
|
|
8257
8318
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -103,6 +103,7 @@ goog.exportSymbol('proto.sniipuserservice.GetUserPassportsResponse', null, globa
|
|
|
103
103
|
goog.exportSymbol('proto.sniipuserservice.GetUserStatusRequest', null, global);
|
|
104
104
|
goog.exportSymbol('proto.sniipuserservice.GetUserStatusResponse', null, global);
|
|
105
105
|
goog.exportSymbol('proto.sniipuserservice.GiveFeedbackRequest', null, global);
|
|
106
|
+
goog.exportSymbol('proto.sniipuserservice.InternalValidateMfaOtpRequest', null, global);
|
|
106
107
|
goog.exportSymbol('proto.sniipuserservice.InternalValidatePasswordRequest', null, global);
|
|
107
108
|
goog.exportSymbol('proto.sniipuserservice.InternalValidatePinRequest', null, global);
|
|
108
109
|
goog.exportSymbol('proto.sniipuserservice.IsEmailVerifiedRequest', null, global);
|
|
@@ -4294,6 +4295,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4294
4295
|
*/
|
|
4295
4296
|
proto.sniipuserservice.InternalValidatePinRequest.displayName = 'proto.sniipuserservice.InternalValidatePinRequest';
|
|
4296
4297
|
}
|
|
4298
|
+
/**
|
|
4299
|
+
* Generated by JsPbCodeGenerator.
|
|
4300
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4301
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4302
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4303
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4304
|
+
* valid.
|
|
4305
|
+
* @extends {jspb.Message}
|
|
4306
|
+
* @constructor
|
|
4307
|
+
*/
|
|
4308
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest = function(opt_data) {
|
|
4309
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4310
|
+
};
|
|
4311
|
+
goog.inherits(proto.sniipuserservice.InternalValidateMfaOtpRequest, jspb.Message);
|
|
4312
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4313
|
+
/**
|
|
4314
|
+
* @public
|
|
4315
|
+
* @override
|
|
4316
|
+
*/
|
|
4317
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.displayName = 'proto.sniipuserservice.InternalValidateMfaOtpRequest';
|
|
4318
|
+
}
|
|
4297
4319
|
/**
|
|
4298
4320
|
* Generated by JsPbCodeGenerator.
|
|
4299
4321
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -44722,7 +44744,8 @@ proto.sniipuserservice.UserProfile.toObject = function(includeInstance, msg) {
|
|
|
44722
44744
|
appaccounttype: jspb.Message.getFieldWithDefault(msg, 28, 0),
|
|
44723
44745
|
wexusername: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
44724
44746
|
wexuserid: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
44725
|
-
wexaccountnumber: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
44747
|
+
wexaccountnumber: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
44748
|
+
mfasecretstatus: jspb.Message.getFieldWithDefault(msg, 32, 0)
|
|
44726
44749
|
};
|
|
44727
44750
|
|
|
44728
44751
|
if (includeInstance) {
|
|
@@ -44884,6 +44907,10 @@ proto.sniipuserservice.UserProfile.deserializeBinaryFromReader = function(msg, r
|
|
|
44884
44907
|
var value = /** @type {string} */ (reader.readString());
|
|
44885
44908
|
msg.setWexaccountnumber(value);
|
|
44886
44909
|
break;
|
|
44910
|
+
case 32:
|
|
44911
|
+
var value = /** @type {!proto.sniipuserservice.MfaSecretStatus} */ (reader.readEnum());
|
|
44912
|
+
msg.setMfasecretstatus(value);
|
|
44913
|
+
break;
|
|
44887
44914
|
default:
|
|
44888
44915
|
reader.skipField();
|
|
44889
44916
|
break;
|
|
@@ -45131,6 +45158,13 @@ proto.sniipuserservice.UserProfile.serializeBinaryToWriter = function(message, w
|
|
|
45131
45158
|
f
|
|
45132
45159
|
);
|
|
45133
45160
|
}
|
|
45161
|
+
f = message.getMfasecretstatus();
|
|
45162
|
+
if (f !== 0.0) {
|
|
45163
|
+
writer.writeEnum(
|
|
45164
|
+
32,
|
|
45165
|
+
f
|
|
45166
|
+
);
|
|
45167
|
+
}
|
|
45134
45168
|
};
|
|
45135
45169
|
|
|
45136
45170
|
|
|
@@ -45712,6 +45746,24 @@ proto.sniipuserservice.UserProfile.prototype.setWexaccountnumber = function(valu
|
|
|
45712
45746
|
};
|
|
45713
45747
|
|
|
45714
45748
|
|
|
45749
|
+
/**
|
|
45750
|
+
* optional MfaSecretStatus mfaSecretStatus = 32;
|
|
45751
|
+
* @return {!proto.sniipuserservice.MfaSecretStatus}
|
|
45752
|
+
*/
|
|
45753
|
+
proto.sniipuserservice.UserProfile.prototype.getMfasecretstatus = function() {
|
|
45754
|
+
return /** @type {!proto.sniipuserservice.MfaSecretStatus} */ (jspb.Message.getFieldWithDefault(this, 32, 0));
|
|
45755
|
+
};
|
|
45756
|
+
|
|
45757
|
+
|
|
45758
|
+
/**
|
|
45759
|
+
* @param {!proto.sniipuserservice.MfaSecretStatus} value
|
|
45760
|
+
* @return {!proto.sniipuserservice.UserProfile} returns this
|
|
45761
|
+
*/
|
|
45762
|
+
proto.sniipuserservice.UserProfile.prototype.setMfasecretstatus = function(value) {
|
|
45763
|
+
return jspb.Message.setProto3EnumField(this, 32, value);
|
|
45764
|
+
};
|
|
45765
|
+
|
|
45766
|
+
|
|
45715
45767
|
|
|
45716
45768
|
/**
|
|
45717
45769
|
* List of repeated fields within this message type.
|
|
@@ -47973,6 +48025,196 @@ proto.sniipuserservice.InternalValidatePinRequest.prototype.setUserid = function
|
|
|
47973
48025
|
|
|
47974
48026
|
|
|
47975
48027
|
|
|
48028
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
48029
|
+
/**
|
|
48030
|
+
* Creates an object representation of this proto.
|
|
48031
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
48032
|
+
* Optional fields that are not set will be set to undefined.
|
|
48033
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
48034
|
+
* For the list of reserved names please see:
|
|
48035
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
48036
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
48037
|
+
* JSPB instance for transitional soy proto support:
|
|
48038
|
+
* http://goto/soy-param-migration
|
|
48039
|
+
* @return {!Object}
|
|
48040
|
+
*/
|
|
48041
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.prototype.toObject = function(opt_includeInstance) {
|
|
48042
|
+
return proto.sniipuserservice.InternalValidateMfaOtpRequest.toObject(opt_includeInstance, this);
|
|
48043
|
+
};
|
|
48044
|
+
|
|
48045
|
+
|
|
48046
|
+
/**
|
|
48047
|
+
* Static version of the {@see toObject} method.
|
|
48048
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
48049
|
+
* the JSPB instance for transitional soy proto support:
|
|
48050
|
+
* http://goto/soy-param-migration
|
|
48051
|
+
* @param {!proto.sniipuserservice.InternalValidateMfaOtpRequest} msg The msg instance to transform.
|
|
48052
|
+
* @return {!Object}
|
|
48053
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48054
|
+
*/
|
|
48055
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.toObject = function(includeInstance, msg) {
|
|
48056
|
+
var f, obj = {
|
|
48057
|
+
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
48058
|
+
otp: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
48059
|
+
otpsource: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
48060
|
+
};
|
|
48061
|
+
|
|
48062
|
+
if (includeInstance) {
|
|
48063
|
+
obj.$jspbMessageInstance = msg;
|
|
48064
|
+
}
|
|
48065
|
+
return obj;
|
|
48066
|
+
};
|
|
48067
|
+
}
|
|
48068
|
+
|
|
48069
|
+
|
|
48070
|
+
/**
|
|
48071
|
+
* Deserializes binary data (in protobuf wire format).
|
|
48072
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
48073
|
+
* @return {!proto.sniipuserservice.InternalValidateMfaOtpRequest}
|
|
48074
|
+
*/
|
|
48075
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.deserializeBinary = function(bytes) {
|
|
48076
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
48077
|
+
var msg = new proto.sniipuserservice.InternalValidateMfaOtpRequest;
|
|
48078
|
+
return proto.sniipuserservice.InternalValidateMfaOtpRequest.deserializeBinaryFromReader(msg, reader);
|
|
48079
|
+
};
|
|
48080
|
+
|
|
48081
|
+
|
|
48082
|
+
/**
|
|
48083
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
48084
|
+
* given reader into the given message object.
|
|
48085
|
+
* @param {!proto.sniipuserservice.InternalValidateMfaOtpRequest} msg The message object to deserialize into.
|
|
48086
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
48087
|
+
* @return {!proto.sniipuserservice.InternalValidateMfaOtpRequest}
|
|
48088
|
+
*/
|
|
48089
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
48090
|
+
while (reader.nextField()) {
|
|
48091
|
+
if (reader.isEndGroup()) {
|
|
48092
|
+
break;
|
|
48093
|
+
}
|
|
48094
|
+
var field = reader.getFieldNumber();
|
|
48095
|
+
switch (field) {
|
|
48096
|
+
case 1:
|
|
48097
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
48098
|
+
msg.setUserid(value);
|
|
48099
|
+
break;
|
|
48100
|
+
case 2:
|
|
48101
|
+
var value = /** @type {string} */ (reader.readString());
|
|
48102
|
+
msg.setOtp(value);
|
|
48103
|
+
break;
|
|
48104
|
+
case 3:
|
|
48105
|
+
var value = /** @type {!proto.sniipuserservice.OtpSource} */ (reader.readEnum());
|
|
48106
|
+
msg.setOtpsource(value);
|
|
48107
|
+
break;
|
|
48108
|
+
default:
|
|
48109
|
+
reader.skipField();
|
|
48110
|
+
break;
|
|
48111
|
+
}
|
|
48112
|
+
}
|
|
48113
|
+
return msg;
|
|
48114
|
+
};
|
|
48115
|
+
|
|
48116
|
+
|
|
48117
|
+
/**
|
|
48118
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
48119
|
+
* @return {!Uint8Array}
|
|
48120
|
+
*/
|
|
48121
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.prototype.serializeBinary = function() {
|
|
48122
|
+
var writer = new jspb.BinaryWriter();
|
|
48123
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.serializeBinaryToWriter(this, writer);
|
|
48124
|
+
return writer.getResultBuffer();
|
|
48125
|
+
};
|
|
48126
|
+
|
|
48127
|
+
|
|
48128
|
+
/**
|
|
48129
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
48130
|
+
* format), writing to the given BinaryWriter.
|
|
48131
|
+
* @param {!proto.sniipuserservice.InternalValidateMfaOtpRequest} message
|
|
48132
|
+
* @param {!jspb.BinaryWriter} writer
|
|
48133
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
48134
|
+
*/
|
|
48135
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.serializeBinaryToWriter = function(message, writer) {
|
|
48136
|
+
var f = undefined;
|
|
48137
|
+
f = message.getUserid();
|
|
48138
|
+
if (f !== 0) {
|
|
48139
|
+
writer.writeInt64(
|
|
48140
|
+
1,
|
|
48141
|
+
f
|
|
48142
|
+
);
|
|
48143
|
+
}
|
|
48144
|
+
f = message.getOtp();
|
|
48145
|
+
if (f.length > 0) {
|
|
48146
|
+
writer.writeString(
|
|
48147
|
+
2,
|
|
48148
|
+
f
|
|
48149
|
+
);
|
|
48150
|
+
}
|
|
48151
|
+
f = message.getOtpsource();
|
|
48152
|
+
if (f !== 0.0) {
|
|
48153
|
+
writer.writeEnum(
|
|
48154
|
+
3,
|
|
48155
|
+
f
|
|
48156
|
+
);
|
|
48157
|
+
}
|
|
48158
|
+
};
|
|
48159
|
+
|
|
48160
|
+
|
|
48161
|
+
/**
|
|
48162
|
+
* optional int64 userId = 1;
|
|
48163
|
+
* @return {number}
|
|
48164
|
+
*/
|
|
48165
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.prototype.getUserid = function() {
|
|
48166
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
48167
|
+
};
|
|
48168
|
+
|
|
48169
|
+
|
|
48170
|
+
/**
|
|
48171
|
+
* @param {number} value
|
|
48172
|
+
* @return {!proto.sniipuserservice.InternalValidateMfaOtpRequest} returns this
|
|
48173
|
+
*/
|
|
48174
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.prototype.setUserid = function(value) {
|
|
48175
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
48176
|
+
};
|
|
48177
|
+
|
|
48178
|
+
|
|
48179
|
+
/**
|
|
48180
|
+
* optional string otp = 2;
|
|
48181
|
+
* @return {string}
|
|
48182
|
+
*/
|
|
48183
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.prototype.getOtp = function() {
|
|
48184
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
48185
|
+
};
|
|
48186
|
+
|
|
48187
|
+
|
|
48188
|
+
/**
|
|
48189
|
+
* @param {string} value
|
|
48190
|
+
* @return {!proto.sniipuserservice.InternalValidateMfaOtpRequest} returns this
|
|
48191
|
+
*/
|
|
48192
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.prototype.setOtp = function(value) {
|
|
48193
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
48194
|
+
};
|
|
48195
|
+
|
|
48196
|
+
|
|
48197
|
+
/**
|
|
48198
|
+
* optional OtpSource otpSource = 3;
|
|
48199
|
+
* @return {!proto.sniipuserservice.OtpSource}
|
|
48200
|
+
*/
|
|
48201
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.prototype.getOtpsource = function() {
|
|
48202
|
+
return /** @type {!proto.sniipuserservice.OtpSource} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
48203
|
+
};
|
|
48204
|
+
|
|
48205
|
+
|
|
48206
|
+
/**
|
|
48207
|
+
* @param {!proto.sniipuserservice.OtpSource} value
|
|
48208
|
+
* @return {!proto.sniipuserservice.InternalValidateMfaOtpRequest} returns this
|
|
48209
|
+
*/
|
|
48210
|
+
proto.sniipuserservice.InternalValidateMfaOtpRequest.prototype.setOtpsource = function(value) {
|
|
48211
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
48212
|
+
};
|
|
48213
|
+
|
|
48214
|
+
|
|
48215
|
+
|
|
48216
|
+
|
|
48217
|
+
|
|
47976
48218
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
47977
48219
|
/**
|
|
47978
48220
|
* Creates an object representation of this proto.
|