@sniipwebmaster/user-service-client-grpcweb 23.10.10318 → 23.10.10336
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.
|
@@ -7514,6 +7514,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.sendVerifi
|
|
|
7514
7514
|
};
|
|
7515
7515
|
|
|
7516
7516
|
|
|
7517
|
+
/**
|
|
7518
|
+
* @const
|
|
7519
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7520
|
+
* !proto.google.protobuf.Empty,
|
|
7521
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
7522
|
+
*/
|
|
7523
|
+
const methodDescriptor_SniipUserServiceService_SendVerificationCode = new grpc.web.MethodDescriptor(
|
|
7524
|
+
'/sniipuserservice.SniipUserServiceService/SendVerificationCode',
|
|
7525
|
+
grpc.web.MethodType.UNARY,
|
|
7526
|
+
google_protobuf_empty_pb.Empty,
|
|
7527
|
+
proto.sniipuserservice.ResponseCode,
|
|
7528
|
+
/**
|
|
7529
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
7530
|
+
* @return {!Uint8Array}
|
|
7531
|
+
*/
|
|
7532
|
+
function(request) {
|
|
7533
|
+
return request.serializeBinary();
|
|
7534
|
+
},
|
|
7535
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
7536
|
+
);
|
|
7537
|
+
|
|
7538
|
+
|
|
7539
|
+
/**
|
|
7540
|
+
* @const
|
|
7541
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
7542
|
+
* !proto.google.protobuf.Empty,
|
|
7543
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
7544
|
+
*/
|
|
7545
|
+
const methodInfo_SniipUserServiceService_SendVerificationCode = new grpc.web.AbstractClientBase.MethodInfo(
|
|
7546
|
+
proto.sniipuserservice.ResponseCode,
|
|
7547
|
+
/**
|
|
7548
|
+
* @param {!proto.google.protobuf.Empty} request
|
|
7549
|
+
* @return {!Uint8Array}
|
|
7550
|
+
*/
|
|
7551
|
+
function(request) {
|
|
7552
|
+
return request.serializeBinary();
|
|
7553
|
+
},
|
|
7554
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
7555
|
+
);
|
|
7556
|
+
|
|
7557
|
+
|
|
7558
|
+
/**
|
|
7559
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
7560
|
+
* request proto
|
|
7561
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7562
|
+
* call metadata
|
|
7563
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
|
|
7564
|
+
* callback The callback function(error, response)
|
|
7565
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
|
|
7566
|
+
* The XHR Node Readable Stream
|
|
7567
|
+
*/
|
|
7568
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.sendVerificationCode =
|
|
7569
|
+
function(request, metadata, callback) {
|
|
7570
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7571
|
+
'/sniipuserservice.SniipUserServiceService/SendVerificationCode',
|
|
7572
|
+
request,
|
|
7573
|
+
metadata || {},
|
|
7574
|
+
methodDescriptor_SniipUserServiceService_SendVerificationCode,
|
|
7575
|
+
callback);
|
|
7576
|
+
};
|
|
7577
|
+
|
|
7578
|
+
|
|
7579
|
+
/**
|
|
7580
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
7581
|
+
* request proto
|
|
7582
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7583
|
+
* call metadata
|
|
7584
|
+
* @return {!Promise<!proto.sniipuserservice.ResponseCode>}
|
|
7585
|
+
* Promise that resolves to the response
|
|
7586
|
+
*/
|
|
7587
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.sendVerificationCode =
|
|
7588
|
+
function(request, metadata) {
|
|
7589
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7590
|
+
'/sniipuserservice.SniipUserServiceService/SendVerificationCode',
|
|
7591
|
+
request,
|
|
7592
|
+
metadata || {},
|
|
7593
|
+
methodDescriptor_SniipUserServiceService_SendVerificationCode);
|
|
7594
|
+
};
|
|
7595
|
+
|
|
7596
|
+
|
|
7517
7597
|
/**
|
|
7518
7598
|
* @const
|
|
7519
7599
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -8474,6 +8554,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateEmai
|
|
|
8474
8554
|
};
|
|
8475
8555
|
|
|
8476
8556
|
|
|
8557
|
+
/**
|
|
8558
|
+
* @const
|
|
8559
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8560
|
+
* !proto.sniipuserservice.UpdateEmailV3Request,
|
|
8561
|
+
* !proto.sniipuserservice.UserProfile>}
|
|
8562
|
+
*/
|
|
8563
|
+
const methodDescriptor_SniipUserServiceService_UpdateEmailV3 = new grpc.web.MethodDescriptor(
|
|
8564
|
+
'/sniipuserservice.SniipUserServiceService/UpdateEmailV3',
|
|
8565
|
+
grpc.web.MethodType.UNARY,
|
|
8566
|
+
proto.sniipuserservice.UpdateEmailV3Request,
|
|
8567
|
+
proto.sniipuserservice.UserProfile,
|
|
8568
|
+
/**
|
|
8569
|
+
* @param {!proto.sniipuserservice.UpdateEmailV3Request} request
|
|
8570
|
+
* @return {!Uint8Array}
|
|
8571
|
+
*/
|
|
8572
|
+
function(request) {
|
|
8573
|
+
return request.serializeBinary();
|
|
8574
|
+
},
|
|
8575
|
+
proto.sniipuserservice.UserProfile.deserializeBinary
|
|
8576
|
+
);
|
|
8577
|
+
|
|
8578
|
+
|
|
8579
|
+
/**
|
|
8580
|
+
* @const
|
|
8581
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
8582
|
+
* !proto.sniipuserservice.UpdateEmailV3Request,
|
|
8583
|
+
* !proto.sniipuserservice.UserProfile>}
|
|
8584
|
+
*/
|
|
8585
|
+
const methodInfo_SniipUserServiceService_UpdateEmailV3 = new grpc.web.AbstractClientBase.MethodInfo(
|
|
8586
|
+
proto.sniipuserservice.UserProfile,
|
|
8587
|
+
/**
|
|
8588
|
+
* @param {!proto.sniipuserservice.UpdateEmailV3Request} request
|
|
8589
|
+
* @return {!Uint8Array}
|
|
8590
|
+
*/
|
|
8591
|
+
function(request) {
|
|
8592
|
+
return request.serializeBinary();
|
|
8593
|
+
},
|
|
8594
|
+
proto.sniipuserservice.UserProfile.deserializeBinary
|
|
8595
|
+
);
|
|
8596
|
+
|
|
8597
|
+
|
|
8598
|
+
/**
|
|
8599
|
+
* @param {!proto.sniipuserservice.UpdateEmailV3Request} request The
|
|
8600
|
+
* request proto
|
|
8601
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8602
|
+
* call metadata
|
|
8603
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.UserProfile)}
|
|
8604
|
+
* callback The callback function(error, response)
|
|
8605
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.UserProfile>|undefined}
|
|
8606
|
+
* The XHR Node Readable Stream
|
|
8607
|
+
*/
|
|
8608
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.updateEmailV3 =
|
|
8609
|
+
function(request, metadata, callback) {
|
|
8610
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8611
|
+
'/sniipuserservice.SniipUserServiceService/UpdateEmailV3',
|
|
8612
|
+
request,
|
|
8613
|
+
metadata || {},
|
|
8614
|
+
methodDescriptor_SniipUserServiceService_UpdateEmailV3,
|
|
8615
|
+
callback);
|
|
8616
|
+
};
|
|
8617
|
+
|
|
8618
|
+
|
|
8619
|
+
/**
|
|
8620
|
+
* @param {!proto.sniipuserservice.UpdateEmailV3Request} request The
|
|
8621
|
+
* request proto
|
|
8622
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8623
|
+
* call metadata
|
|
8624
|
+
* @return {!Promise<!proto.sniipuserservice.UserProfile>}
|
|
8625
|
+
* Promise that resolves to the response
|
|
8626
|
+
*/
|
|
8627
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateEmailV3 =
|
|
8628
|
+
function(request, metadata) {
|
|
8629
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8630
|
+
'/sniipuserservice.SniipUserServiceService/UpdateEmailV3',
|
|
8631
|
+
request,
|
|
8632
|
+
metadata || {},
|
|
8633
|
+
methodDescriptor_SniipUserServiceService_UpdateEmailV3);
|
|
8634
|
+
};
|
|
8635
|
+
|
|
8636
|
+
|
|
8477
8637
|
/**
|
|
8478
8638
|
* @const
|
|
8479
8639
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -171,6 +171,7 @@ goog.exportSymbol('proto.sniipuserservice.UpdateDobAppRequest', null, global);
|
|
|
171
171
|
goog.exportSymbol('proto.sniipuserservice.UpdateDobRequest', null, global);
|
|
172
172
|
goog.exportSymbol('proto.sniipuserservice.UpdateEmailRequest', null, global);
|
|
173
173
|
goog.exportSymbol('proto.sniipuserservice.UpdateEmailV2Request', null, global);
|
|
174
|
+
goog.exportSymbol('proto.sniipuserservice.UpdateEmailV3Request', null, global);
|
|
174
175
|
goog.exportSymbol('proto.sniipuserservice.UpdateKycUserStatusForTestRequest', null, global);
|
|
175
176
|
goog.exportSymbol('proto.sniipuserservice.UpdateNameRequest', null, global);
|
|
176
177
|
goog.exportSymbol('proto.sniipuserservice.UpdatePermissionRoleRequest', null, global);
|
|
@@ -3352,6 +3353,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3352
3353
|
*/
|
|
3353
3354
|
proto.sniipuserservice.UpdateEmailV2Request.displayName = 'proto.sniipuserservice.UpdateEmailV2Request';
|
|
3354
3355
|
}
|
|
3356
|
+
/**
|
|
3357
|
+
* Generated by JsPbCodeGenerator.
|
|
3358
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3359
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3360
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3361
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3362
|
+
* valid.
|
|
3363
|
+
* @extends {jspb.Message}
|
|
3364
|
+
* @constructor
|
|
3365
|
+
*/
|
|
3366
|
+
proto.sniipuserservice.UpdateEmailV3Request = function(opt_data) {
|
|
3367
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3368
|
+
};
|
|
3369
|
+
goog.inherits(proto.sniipuserservice.UpdateEmailV3Request, jspb.Message);
|
|
3370
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3371
|
+
/**
|
|
3372
|
+
* @public
|
|
3373
|
+
* @override
|
|
3374
|
+
*/
|
|
3375
|
+
proto.sniipuserservice.UpdateEmailV3Request.displayName = 'proto.sniipuserservice.UpdateEmailV3Request';
|
|
3376
|
+
}
|
|
3355
3377
|
/**
|
|
3356
3378
|
* Generated by JsPbCodeGenerator.
|
|
3357
3379
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -36631,6 +36653,166 @@ proto.sniipuserservice.UpdateEmailV2Request.prototype.setPin = function(value) {
|
|
|
36631
36653
|
|
|
36632
36654
|
|
|
36633
36655
|
|
|
36656
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
36657
|
+
/**
|
|
36658
|
+
* Creates an object representation of this proto.
|
|
36659
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
36660
|
+
* Optional fields that are not set will be set to undefined.
|
|
36661
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
36662
|
+
* For the list of reserved names please see:
|
|
36663
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
36664
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
36665
|
+
* JSPB instance for transitional soy proto support:
|
|
36666
|
+
* http://goto/soy-param-migration
|
|
36667
|
+
* @return {!Object}
|
|
36668
|
+
*/
|
|
36669
|
+
proto.sniipuserservice.UpdateEmailV3Request.prototype.toObject = function(opt_includeInstance) {
|
|
36670
|
+
return proto.sniipuserservice.UpdateEmailV3Request.toObject(opt_includeInstance, this);
|
|
36671
|
+
};
|
|
36672
|
+
|
|
36673
|
+
|
|
36674
|
+
/**
|
|
36675
|
+
* Static version of the {@see toObject} method.
|
|
36676
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
36677
|
+
* the JSPB instance for transitional soy proto support:
|
|
36678
|
+
* http://goto/soy-param-migration
|
|
36679
|
+
* @param {!proto.sniipuserservice.UpdateEmailV3Request} msg The msg instance to transform.
|
|
36680
|
+
* @return {!Object}
|
|
36681
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
36682
|
+
*/
|
|
36683
|
+
proto.sniipuserservice.UpdateEmailV3Request.toObject = function(includeInstance, msg) {
|
|
36684
|
+
var f, obj = {
|
|
36685
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
36686
|
+
verificationcode: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
36687
|
+
};
|
|
36688
|
+
|
|
36689
|
+
if (includeInstance) {
|
|
36690
|
+
obj.$jspbMessageInstance = msg;
|
|
36691
|
+
}
|
|
36692
|
+
return obj;
|
|
36693
|
+
};
|
|
36694
|
+
}
|
|
36695
|
+
|
|
36696
|
+
|
|
36697
|
+
/**
|
|
36698
|
+
* Deserializes binary data (in protobuf wire format).
|
|
36699
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
36700
|
+
* @return {!proto.sniipuserservice.UpdateEmailV3Request}
|
|
36701
|
+
*/
|
|
36702
|
+
proto.sniipuserservice.UpdateEmailV3Request.deserializeBinary = function(bytes) {
|
|
36703
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
36704
|
+
var msg = new proto.sniipuserservice.UpdateEmailV3Request;
|
|
36705
|
+
return proto.sniipuserservice.UpdateEmailV3Request.deserializeBinaryFromReader(msg, reader);
|
|
36706
|
+
};
|
|
36707
|
+
|
|
36708
|
+
|
|
36709
|
+
/**
|
|
36710
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
36711
|
+
* given reader into the given message object.
|
|
36712
|
+
* @param {!proto.sniipuserservice.UpdateEmailV3Request} msg The message object to deserialize into.
|
|
36713
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
36714
|
+
* @return {!proto.sniipuserservice.UpdateEmailV3Request}
|
|
36715
|
+
*/
|
|
36716
|
+
proto.sniipuserservice.UpdateEmailV3Request.deserializeBinaryFromReader = function(msg, reader) {
|
|
36717
|
+
while (reader.nextField()) {
|
|
36718
|
+
if (reader.isEndGroup()) {
|
|
36719
|
+
break;
|
|
36720
|
+
}
|
|
36721
|
+
var field = reader.getFieldNumber();
|
|
36722
|
+
switch (field) {
|
|
36723
|
+
case 1:
|
|
36724
|
+
var value = /** @type {string} */ (reader.readString());
|
|
36725
|
+
msg.setEmail(value);
|
|
36726
|
+
break;
|
|
36727
|
+
case 2:
|
|
36728
|
+
var value = /** @type {string} */ (reader.readString());
|
|
36729
|
+
msg.setVerificationcode(value);
|
|
36730
|
+
break;
|
|
36731
|
+
default:
|
|
36732
|
+
reader.skipField();
|
|
36733
|
+
break;
|
|
36734
|
+
}
|
|
36735
|
+
}
|
|
36736
|
+
return msg;
|
|
36737
|
+
};
|
|
36738
|
+
|
|
36739
|
+
|
|
36740
|
+
/**
|
|
36741
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
36742
|
+
* @return {!Uint8Array}
|
|
36743
|
+
*/
|
|
36744
|
+
proto.sniipuserservice.UpdateEmailV3Request.prototype.serializeBinary = function() {
|
|
36745
|
+
var writer = new jspb.BinaryWriter();
|
|
36746
|
+
proto.sniipuserservice.UpdateEmailV3Request.serializeBinaryToWriter(this, writer);
|
|
36747
|
+
return writer.getResultBuffer();
|
|
36748
|
+
};
|
|
36749
|
+
|
|
36750
|
+
|
|
36751
|
+
/**
|
|
36752
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
36753
|
+
* format), writing to the given BinaryWriter.
|
|
36754
|
+
* @param {!proto.sniipuserservice.UpdateEmailV3Request} message
|
|
36755
|
+
* @param {!jspb.BinaryWriter} writer
|
|
36756
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
36757
|
+
*/
|
|
36758
|
+
proto.sniipuserservice.UpdateEmailV3Request.serializeBinaryToWriter = function(message, writer) {
|
|
36759
|
+
var f = undefined;
|
|
36760
|
+
f = message.getEmail();
|
|
36761
|
+
if (f.length > 0) {
|
|
36762
|
+
writer.writeString(
|
|
36763
|
+
1,
|
|
36764
|
+
f
|
|
36765
|
+
);
|
|
36766
|
+
}
|
|
36767
|
+
f = message.getVerificationcode();
|
|
36768
|
+
if (f.length > 0) {
|
|
36769
|
+
writer.writeString(
|
|
36770
|
+
2,
|
|
36771
|
+
f
|
|
36772
|
+
);
|
|
36773
|
+
}
|
|
36774
|
+
};
|
|
36775
|
+
|
|
36776
|
+
|
|
36777
|
+
/**
|
|
36778
|
+
* optional string email = 1;
|
|
36779
|
+
* @return {string}
|
|
36780
|
+
*/
|
|
36781
|
+
proto.sniipuserservice.UpdateEmailV3Request.prototype.getEmail = function() {
|
|
36782
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
36783
|
+
};
|
|
36784
|
+
|
|
36785
|
+
|
|
36786
|
+
/**
|
|
36787
|
+
* @param {string} value
|
|
36788
|
+
* @return {!proto.sniipuserservice.UpdateEmailV3Request} returns this
|
|
36789
|
+
*/
|
|
36790
|
+
proto.sniipuserservice.UpdateEmailV3Request.prototype.setEmail = function(value) {
|
|
36791
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
36792
|
+
};
|
|
36793
|
+
|
|
36794
|
+
|
|
36795
|
+
/**
|
|
36796
|
+
* optional string verificationCode = 2;
|
|
36797
|
+
* @return {string}
|
|
36798
|
+
*/
|
|
36799
|
+
proto.sniipuserservice.UpdateEmailV3Request.prototype.getVerificationcode = function() {
|
|
36800
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
36801
|
+
};
|
|
36802
|
+
|
|
36803
|
+
|
|
36804
|
+
/**
|
|
36805
|
+
* @param {string} value
|
|
36806
|
+
* @return {!proto.sniipuserservice.UpdateEmailV3Request} returns this
|
|
36807
|
+
*/
|
|
36808
|
+
proto.sniipuserservice.UpdateEmailV3Request.prototype.setVerificationcode = function(value) {
|
|
36809
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
36810
|
+
};
|
|
36811
|
+
|
|
36812
|
+
|
|
36813
|
+
|
|
36814
|
+
|
|
36815
|
+
|
|
36634
36816
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
36635
36817
|
/**
|
|
36636
36818
|
* Creates an object representation of this proto.
|